blob: 0e1ecf55d1994deefc2a5218c63fdb99da4ec8da [file] [log] [blame]
Bram Moolenaar1588bc82022-03-08 21:35:07 +00001*version9.txt* For Vim version 8.2. Last change: 2022 Mar 08
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
6
7 *vim-9.0* *vim-9* *version-9.0* *version9.0*
8Welcome to Vim 9! Several years have passed since the previous release.
9A large number of bugs have been fixed, many nice features have been added
10and Vim9 script syntax is introduced. This file mentions all the new items
11and changes to existing features since Vim 8.2.0. The patches up to Vim 8.2
12can be found here: |vim-8.2|.
13
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
38
39Vim 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"
78'guiligatures' GTK GUI: ASCII characters that can form shapes
79'quickfixtextfunc' function for the text in the quickfix window
80'spelloptions' options for spell checking
81'thesaurusfunc' function to be used for thesaurus completion
82'xtermcodes' request terminal codes from an xterm
83
84
85Ex commands: ~
86
87|:abstract|
88|:argdedupe| remove duplicates from the argument list
89|:balt| like ":badd" but also set the alternate file
90|:class| reserved for future use
91|:def| define a Vim9 user function
92|:defcompile| compile Vim9 user functions in current script
93|:disassemble| disassemble Vim9 user function
94|:echoconsole| like :echomsg but write to stdout
95|:endinterface| reserved for future use
96|:endclass| reserved for future use
97|:enddef| end of a user function started with :def
98|:endenum| reserved for future use
99|:enum| reserved for future use
100|:export| Vim9: export an item from a script
101|:final| declare an immutable variable in Vim9
102|:import| Vim9: import an item from another script
103|:interface| reserved for future use
104|:static| reserved for future use
105|:type| reserved for future use
106|:var| variable declaration in Vim9
107|:vim9script| indicates Vim9 script file
108
109
110Ex command modifiers: ~
111
112|:legacy| make following command use legacy script syntax
113|:vim9cmd| make following command use Vim9 script syntax
114
115
116New and extended functions: ~
117
118|assert_nobeep()| assert that a command does not cause a beep
119|blob2list()| get a list of numbers from a blob
120|charclass()| class of a character
121|charcol()| character number of the cursor or a mark
122|charidx()| character index of a byte in a string
123|digraph_get()| get digraph
124|digraph_getlist()| get all digraphs
125|digraph_set()| register digraph
126|digraph_setlist()| register multiple digraphs
127|echoraw()| output characters as-is
128|exists_compiled()| like exists() but check at compile time
129|extendnew()| make a new Dictionary and append items
130|flatten()| flatten a List
131|flattennew()| flatten a copy of a List
132|fullcommand()| get full command name
133|getcharpos()| get character position of cursor, mark, etc.
134|getcharstr()| get a character from the user as a string
135|getcursorcharpos()| get character position of the cursor
136|getmarklist()| list of global/local marks
137|getreginfo()| get information about a register
138|gettext()| lookup message translation
139|hlget()| get highlight group attributes
140|hlset()| set highlight group attributes
141|list2blob()| get a blob from a list of numbers
142|mapnew()| make a new List with changed items
143|mapset()| restore a mapping
144|matchfuzzy()| fuzzy matches a string in a list of strings
145|matchfuzzypos()| fuzzy matches a string in a list of strings
146|menu_info()| get information about a menu item
147|popup_list()| get list of all popup window IDs
148|prompt_getprompt()| get the effective prompt text for a buffer
149|prop_add_list()| attach a property at multiple positions
150|prop_find()| search for a property
151|readblob()| read a file into a Blob
152|readdirex()| get a List of file information in a directory
153|reduce()| reduce a List to a value
154|searchcount()| get number of matches before/after the cursor
155|setcellwidths()| set character cell width overrides
156|setcharpos()| set character position of cursor, mark, etc.
157|setcursorcharpos()| set character position of the cursor
158|slice()| take a slice of a List
159|strcharlen()| length of a string in characters
160|terminalprops()| properties of the terminal
161|test_gui_event()| generate a GUI event for testing
162|test_null_function()| return a null Funcref
163|test_srand_seed()| set the seed value for srand()
164|test_unknown()| return a value with unknown type
165|test_void()| return a value with void type
166|typename()| type of a variable as text
167|win_gettype()| get type of window
168|win_move_separator()| move window vertical separator
169|win_move_statusline()| move window status line
170|windowsversion()| get MS-Windows version
171
172
173New Vim variables: ~
174
175|v:numbermax| maximum value of a number
176|v:numbermin| minimum value of a number (negative)
177|v:numbersize| number of bits in a Number
178|v:collate| current locale setting for collation order
179|v:exiting| vim exit code
180|v:colornames| dictionary that maps color names to hex color strings
181|v:sizeofint| number of bytes in an int
182|v:sizeoflong| number of bytes in a long
183|v:sizeofpointer| number of bytes in a pointer
184|v:maxcol| maximum line length
185
186
187New autocommand events: ~
188
189|CompleteDonePre| after Insert mode completion is done, before clearing
190 info
191|DirChangedPre| before the working directory will change
192|InsertLeavePre| just before leaving Insert mode
193|ModeChanged| after changing the mode
194|SigUSR1| after the SIGUSR1 signal has been detected
195|WinClosed| after closing a window
196|VimSuspend| when suspending Vim
197|VimResume| when Vim is resumed after being suspended
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000198
199
200New runtime files: ~
201
202Too many to list here.
203
204==============================================================================
205INCOMPATIBLE CHANGES *incompatible-9*
206
207These changes are incompatible with previous releases. Check this list if you
208run into a problem when upgrading from Vim 8.2.0 to 9.0.
209
210TODO
211
212==============================================================================
213IMPROVEMENTS *improvements-9*
214
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000215Many memory leaks, invalid memory accesses and crashes have been fixed.
216See the list of patches below.
217
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000218TODO
219
220==============================================================================
221COMPILE TIME CHANGES *compile-changes-9*
222
223TODO
224
225==============================================================================
226PATCHES *patches-9* *bug-fixes-9*
227 *patches-after-8.2*
228
229The list of patches that got included since 8.2.0. This includes all the new
230features, but does not include runtime file changes (syntax, indent, help,
231etc.)
232
233Patch 8.2.0001
234Problem: #endif comments do not reflect corresponding #ifdef.
235Solution: Update the comments. (Rene Nyffenegger, closes #5351)
236Files: src/ui.c
237
238Patch 8.2.0002
239Problem: "dj" only deletes first line of closed fold.
240Solution: Adjust last line of operator for linewise motion. (closes #5354)
241Files: src/ops.c, src/testdir/test_fold.vim
242
243Patch 8.2.0003
244Problem: Build file dependencies are incomplete.
245Solution: Fix the dependencies. (Ken Takata, closes #5356)
246Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
247 src/Makefile
248
249Patch 8.2.0004
250Problem: Get E685 and E931 if buffer reload is interrupted.
251Solution: Do not abort deleting a dummy buffer. (closes #5361)
252Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
253 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
254 src/window.c, src/vim.h
255
256Patch 8.2.0005
257Problem: Duplication in version info.
258Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
259Files: src/version.h
260
261Patch 8.2.0006
262Problem: Test using long file name may fail. (Vladimir Lomov)
263Solution: Limit the name length. (Christian Brabandt, closes #5358)
264Files: src/testdir/test_display.vim
265
266Patch 8.2.0007
267Problem: Popup menu positioned wrong with folding in two tabs.
268Solution: Update the cursor line height. (closes #5353)
269Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
270 src/testdir/test_ins_complete.vim,
271 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
272
273Patch 8.2.0008
274Problem: Test72 is old style.
275Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
276Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
277 src/testdir/test72.in, src/testdir/test72.ok,
278 src/testdir/test_undo.vim
279
280Patch 8.2.0009
281Problem: VMS: terminal version doesn't build.
282Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
283Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
284
285Patch 8.2.0010
286Problem: Test64 is old style.
287Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
288Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
289 src/testdir/test64.in, src/testdir/test64.ok,
290 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
291
292Patch 8.2.0011
293Problem: Screen updating wrong when opening preview window.
294Solution: Redraw the window when the preview window opens.
295Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
296 src/testdir/dumps/Test_pum_with_preview_win.dump
297
298Patch 8.2.0012
299Problem: Some undo functionality is not tested.
300Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
301Files: src/testdir/test_undo.vim
302
303Patch 8.2.0013
304Problem: Not using a typedef for condstack.
305Solution: Add a typedef.
306Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
307 src/ex_cmds.h, src/proto/ex_eval.pro
308
309Patch 8.2.0014
310Problem: Test69 and test95 are old style.
311Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
312Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
313 src/testdir/test69.in, src/testdir/test69.ok,
314 src/testdir/test95.in, src/testdir/test95.ok,
315 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
316
317Patch 8.2.0015
318Problem: Not all modeline variants are tested.
319Solution: Add modeline tests. (Dominique Pellé, closes #5369)
320Files: src/testdir/test_modeline.vim
321
322Patch 8.2.0016
323Problem: Test name used twice, option not restored properly.
324Solution: Rename function, restore option with "&".
325Files: src/testdir/test_textformat.vim
326
327Patch 8.2.0017
328Problem: OS/2 and MS-DOS are still mentioned, even though support was
329 removed long ago.
330Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
331Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
332 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
333 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
334 runtime/doc/options.txt, runtime/doc/print.txt,
335 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
336 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
337 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
338 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
339 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
340
341Patch 8.2.0018
342Problem: :join does not add white space where it should. (Zdenek Dohnal)
343Solution: Handle joining multiple lines properly.
344Files: src/ops.c, src/testdir/test_join.vim
345
346Patch 8.2.0019
347Problem: Cannot get number of lines of another buffer.
348Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
349 closes #5370)
350Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
351 runtime/doc/eval.txt
352
353Patch 8.2.0020
354Problem: Mouse clicks in the command line not tested.
355Solution: Add tests. (Dominique Pellé, closes #5366)
356Files: src/testdir/test_termcodes.vim
357
358Patch 8.2.0021
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000359Problem: Timer test fails too often on Travis with macOS.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000360Solution: Be less strict with the time.
361Files: src/testdir/test_timers.vim
362
363Patch 8.2.0022
364Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
365Solution: When processing the selection also send a button release event.
366 (closes #5367)
367Files: src/gui.c
368
369Patch 8.2.0023
370Problem: Command line editing not sufficiently tested.
371Solution: Add more tests. (Dominique Pellé, closes #5374)
372Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
373 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
374
375Patch 8.2.0024
376Problem: Filetype Rego not recognized.
377Solution: Add *.rego. (Matt Dunford, closes #5376)
378Files: runtime/filetype.vim, src/testdir/test_filetype.vim
379
380Patch 8.2.0025
381Problem: Repeated word in comment.
382Solution: Remove one. (Rene Nyffenegger, closes #5384)
383Files: src/structs.h
384
385Patch 8.2.0026
386Problem: Still some /* */ comments.
387Solution: Convert to // comments.
388Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
389 src/move.c
390
391Patch 8.2.0027
392Problem: Still some /* */ comments.
393Solution: Convert to // comments.
394Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
395 src/version.c
396
397Patch 8.2.0028
398Problem: Searchpairpos() is not tested.
399Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
400 closes #5388)
401Files: src/testdir/test_search.vim
402
403Patch 8.2.0029
404Problem: MS-Windows: crash with empty job command.
405Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
406Files: src/channel.c, src/testdir/test_channel.vim
407
408Patch 8.2.0030
409Problem: "gF" does not work on output of "verbose command".
410Solution: Recognize " line " and translations. (closes #5391)
411Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
412
413Patch 8.2.0031 (after 8.2.0029)
414Problem: MS-Windows: test for empty job fails
415Solution: Check for error message, make it also fail on Unix.
416Files: src/channel.c, src/testdir/test_channel.vim
417
418Patch 8.2.0032 (after 8.2.0031)
419Problem: MS-Windows: test for blank job fails
420Solution: Check before escaping.
421Files: src/channel.c, src/testdir/test_channel.vim
422
423Patch 8.2.0033
424Problem: Crash when make_extmatch() runs out of memory.
425Solution: Check for NULL. (Dominique Pellé, closes #5392)
426Files: src/regexp_bt.c, src/regexp_nfa.c
427
428Patch 8.2.0034
429Problem: Missing check for out of memory.
430Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
431 closes #5393)
432Files: src/filepath.c
433
434Patch 8.2.0035
435Problem: Saving and restoring called_emsg is clumsy.
436Solution: Count the number of error messages.
437Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
438 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
439 src/regexp.c, src/search.c, src/testing.c, src/globals.h
440
441Patch 8.2.0036
442Problem: Not enough test coverage for match functions.
443Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
444 Add error number.
445Files: src/testdir/test_match.vim
446
447Patch 8.2.0037
448Problem: Missing renamed message.
449Solution: Now really add the error number.
450Files: src/highlight.c
451
452Patch 8.2.0038
453Problem: Spell suggestions insufficiently tested.
454Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
455Files: src/testdir/test_spell.vim
456
457Patch 8.2.0039
458Problem: Memory access error when "z=" has no suggestions.
459Solution: Check for negative index.
460Files: src/testdir/test_spell.vim, src/spellsuggest.c
461
462Patch 8.2.0040
463Problem: Timers test is still flaky on Travis for Mac.
464Solution: Run separately instead of as part of test_alot.
465Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
466
467Patch 8.2.0041
468Problem: Leaking memory when selecting spell suggestion.
469Solution: Free previous value at the right time.
470Files: src/spellsuggest.c
471
472Patch 8.2.0042
473Problem: Clearing funccal values twice.
474Solution: Remove clearing individual fields.
475Files: src/userfunc.c
476
477Patch 8.2.0043
478Problem: Timers test is still flaky on Travis for Mac.
479Solution: Increase maximum expected time.
480Files: src/testdir/test_timers.vim
481
482Patch 8.2.0044
483Problem: Expression type is used inconsistently.
484Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
485 "TYPE_" to "ETYPE_" to avoid confusion.
486Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
487
488Patch 8.2.0045 (after 8.2.0044)
489Problem: Script test fails.
490Solution: For numbers "is" and "isnot" work like "==" and "!=".
491Files: src/eval.c
492
493Patch 8.2.0046
494Problem: Tests for spell suggestions are slow.
495Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
496 (Dominique Pellé, closes #5399)
497Files: src/testdir/test_spell.vim
498
499Patch 8.2.0047
500Problem: Cannot skip tests for specific MS-Windows platform.
501Solution: Add windowsversion().
502Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
503 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
504 src/testdir/test_options.vim
505
506Patch 8.2.0048
507Problem: Another timers test is flaky on Travis for Mac.
508Solution: Increase maximum expected time.
509Files: src/testdir/test_timers.vim
510
511Patch 8.2.0049
512Problem: Command line completion not fully tested.
513Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
514 closes #5402)
515Files: src/ex_cmds.c, src/testdir/test_cd.vim,
516 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
517 src/testdir/test_menu.vim, src/testdir/test_options.vim,
518 src/testdir/test_syntax.vim
519
520Patch 8.2.0050
521Problem: After deleting a file mark it is still in viminfo.
522Solution: When a file mark was deleted more recently than the mark in the
523 merged viminfo file was updated, do not store the mark. (Pavol
524 Juhas, closes #5401, closes #1339)
525Files: src/mark.c, src/testdir/test_marks.vim,
526 src/testdir/test_viminfo.vim, src/viminfo.c
527
528Patch 8.2.0051 (after 8.2.0049)
529Problem: Command line completion test skipped. (Christian Brabandt)
530Solution: Invert condition.
531Files: src/testdir/test_cmdline.vim
532
533Patch 8.2.0052
534Problem: More-prompt not properly tested.
535Solution: Add a test case. (Dominique Pellé, closes #5404)
536Files: src/testdir/test_messages.vim
537
538Patch 8.2.0053
539Problem: windowsversion() does not always return the right value.
540Solution: Add a compatibility section in the manifest. (Ken Takata,
541 closes #5407)
542Files: src/gvim.exe.mnf
543
544Patch 8.2.0054
545Problem: :diffget and :diffput don't have good completion.
546Solution: Add proper completion. (Dominique Pellé, closes #5409)
547Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
548 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
549
550Patch 8.2.0055
551Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
552Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
553Files: src/gui.c
554
555Patch 8.2.0056
556Problem: Execution stack is incomplete and inefficient.
557Solution: Introduce a proper execution stack and use it instead of
558 sourcing_name/sourcing_lnum. Create a string only when used.
559Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
560 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
561 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
562 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
563 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
564 src/kword_test.c, src/testdir/test_debugger.vim
565
566Patch 8.2.0057 (after 8.2.0056)
567Problem: Cannot build with small features.
568Solution: Add #ifdefs.
569Files: src/scriptfile.c
570
571Patch 8.2.0058
572Problem: Running tests changes ~/.viminfo.
573Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
574Files: src/testdir/summarize.vim
575
576Patch 8.2.0059
577Problem: Compiler warnings for unused variables in small build. (Tony
578 Mechelynck)
579Solution: Add #ifdef.
580Files: src/scriptfile.c
581
582Patch 8.2.0060
583Problem: Message test only runs with one encoding. (Dominique Pellé)
584Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
585 to #5410)
586Files: src/message_test.c, src/message.c
587
588Patch 8.2.0061
589Problem: The execute stack can grow big and never shrinks.
590Solution: Reduce the size in garbage collect.
591Files: src/eval.c
592
593Patch 8.2.0062
594Problem: Memory test is flaky on FreeBSD.
595Solution: Add a short sleep before getting the first size.
596Files: src/testdir/test_memory_usage.vim
597
598Patch 8.2.0063
599Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
600Solution: Reduce the size by the length. (related to #5410)
601Files: src/ops.c
602
603Patch 8.2.0064
604Problem: Diffmode completion doesn't use per-window setting.
605Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
606Files: src/buffer.c, src/testdir/test_diffmode.vim
607
608Patch 8.2.0065
609Problem: Amiga and alikes: autoopen only used on Amiga OS4.
610Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
611Files: src/os_amiga.c
612
613Patch 8.2.0066
614Problem: Some corners of vim_snprintf() are not tested.
615Solution: Add a test in C. (Dominique Pellé, closes #5422)
616Files: src/message_test.c
617
618Patch 8.2.0067
619Problem: ERROR_UNKNOWN clashes on some systems.
620Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
621Files: src/evalfunc.c, src/userfunc.c, src/vim.h
622
623Patch 8.2.0068
624Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
625Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
626Files: src/testdir/test_python3.vim, src/if_py_both.h
627
628Patch 8.2.0069
629Problem: ETYPE_ is used for two different enums.
630Solution: Rename one to use EXPR_.
631Files: src/structs.h, src/eval.c, src/debugger.c
632
633Patch 8.2.0070
634Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
635Solution: Use "euc-jp" whenever enc_dbcs is set.
636Files: src/testdir/test_python3.vim, src/if_py_both.h
637
638Patch 8.2.0071
639Problem: Memory test often fails on Cirrus CI.
640Solution: Allow for more tolerance in the upper limit. Remove sleep.
641Files: src/testdir/test_memory_usage.vim
642
643Patch 8.2.0072 (after 8.2.0071)
644Problem: Memory test still fails on Cirrus CI.
645Solution: Allow for a tiny bit more tolerance in the upper limit.
646Files: src/testdir/test_memory_usage.vim
647
648Patch 8.2.0073
649Problem: Initializing globals with COMMA is clumsy.
650Solution: Use INIT2(), INIT3(), etc.
651Files: src/vim.h, src/globals.h
652
653Patch 8.2.0074
654Problem: Python 3 unicode test sometimes fails.
655Solution: Make 'termencoding' empty. Correct number of error message.
656Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
657 src/testdir/test_python3.vim
658
659Patch 8.2.0075
660Problem: Python 3 unicode test still sometimes fails.
661Solution: Skip the test when 'termencoding' is not empty.
662Files: src/testdir/test_python3.vim
663
664Patch 8.2.0076
665Problem: Python 3 unicode test fails on MS-Windows.
666Solution: Do not set 'encoding' to "debug" on MS-Windows.
667Files: src/testdir/test_python3.vim
668
669Patch 8.2.0077
670Problem: settagstack() cannot truncate at current index.
671Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
672Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
673 src/testdir/test_tagjump.vim
674
675Patch 8.2.0078
676Problem: Expanding <sfile> works differently the second time.
677Solution: Keep the expanded name when redefining a function. (closes #5425)
678Files: src/testdir/test_vimscript.vim, src/userfunc.c
679
680Patch 8.2.0079
681Problem: Python 3 unicode test still fails on MS-Windows.
682Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
683Files: src/testdir/test_python3.vim
684
685Patch 8.2.0080
686Problem: Globals using INIT4() are not in the tags file.
687Solution: Adjust the tags command.
688Files: src/configure.ac, src/auto/configure
689
690Patch 8.2.0081
691Problem: MS-Windows also need the change to support INIT4().
692Solution: Add the ctags arguments. (Ken Takata)
693Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
694
695Patch 8.2.0082
696Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
697Solution: Clear listeners when reusing a buffer. (closes #5431)
698Files: src/testdir/test_listener.vim, src/buffer.c
699
700Patch 8.2.0083
701Problem: Text properties wrong when tabs and spaces are exchanged.
702Solution: Take text properties into account. (Nobuhiro Takasaki,
703 closes #5427)
704Files: src/edit.c, src/testdir/test_textprop.vim
705
706Patch 8.2.0084
707Problem: Complete item "user_data" can only be a string.
708Solution: Accept any type of variable. (closes #5412)
709Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
710 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
711
712Patch 8.2.0085
713Problem: Dead code in builtin functions.
714Solution: Clean up the code.
715Files: src/evalvars.c, src/sound.c, src/textprop.c
716
717Patch 8.2.0086 (after 8.2.0084)
718Problem: Build error for small version. (Tony Mechelynck)
719Solution: Only use "user_data" with the +eval feature. Remove unused
720 variable.
721Files: src/insexpand.c, src/dict.c
722
723Patch 8.2.0087
724Problem: Crash in command line expansion when out of memory.
725Solution: Check for NULL pointer. Also make ExpandGeneric() static.
726 (Dominique Pellé, closes #5437)
727Files: src/cmdexpand.c, src/proto/cmdexpand.pro
728
729Patch 8.2.0088
730Problem: Insufficient tests for tags; bug in using extra tag field when
731 using an ex command to position the cursor.
732Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
733Files: runtime/doc/tagsrch.txt, src/tag.c,
734 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
735 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
736
737Patch 8.2.0089
738Problem: Crash when running out of memory in :setfiletype completion.
739Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
740Files: src/cmdexpand.c
741
742Patch 8.2.0090
743Problem: Generated files show up in git status.
744Solution: Ignore a few more files.
745Files: .gitignore
746
747Patch 8.2.0091
748Problem: Compiler warnings for size_t / int types.
749Solution: Change type to size_t. (Mike Williams)
750Files: src/scriptfile.c
751
752Patch 8.2.0092
753Problem: Tags functionality insufficiently tested.
754Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
755Files: src/testdir/test_tagjump.vim
756
757Patch 8.2.0093
758Problem: win_splitmove() can make Vim hang.
759Solution: Check windows exists in the current tab page. (closes #5444)
760Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
761
762Patch 8.2.0094
763Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
764Solution: Define __builtin_expect() as a workaround. (Ken Takata,
765 closes #5267)
766Files: src/if_perl.xs
767
768Patch 8.2.0095
769Problem: Cannot specify exit code for :cquit.
770Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
771Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
772 src/testdir/test_quickfix.vim
773
774Patch 8.2.0096
775Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
776Solution: Remove position limit. (closes #5447)
777Files: src/popupwin.c, src/testdir/test_popupwin.vim,
778 src/testdir/dumps/Test_popupwin_20.dump,
779 src/testdir/dumps/Test_popupwin_21.dump
780
781Patch 8.2.0097
782Problem: Crash with autocommand and spellfile. (Tim Pope)
783Solution: Do not pop exestack when not pushed. (closes #5450)
784Files: src/testdir/test_autocmd.vim, src/spellfile.c
785
786Patch 8.2.0098
787Problem: Exe stack length can be wrong without being detected.
788Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
789Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
790 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
791 src/userfunc.c
792
793Patch 8.2.0099
794Problem: Use of NULL pointer when out of memory.
795Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
796Files: src/cmdexpand.c
797
798Patch 8.2.0100
799Problem: Macros for Ruby are too complicated.
800Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
801 closes #5452)
802Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
803 src/configure.ac, src/if_ruby.c
804
805Patch 8.2.0101
806Problem: Crash when passing null object to ":echomsg".
807Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
808Files: src/eval.c, src/testdir/test_messages.vim
809
810Patch 8.2.0102
811Problem: Messages test fails in small version.
812Solution: Only use test_null_job() when available.
813Files: src/testdir/test_messages.vim
814
815Patch 8.2.0103
816Problem: Using null object with execute() has strange effects.
817Solution: Give an error message for Job and Channel.
818Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
819 src/evalfunc.c
820
821Patch 8.2.0104
822Problem: Using channel or job with ":execute" has strange effects.
823Solution: Give an error message for Job and Channel.
824Files: src/testdir/test_eval_stuff.vim, src/eval.c
825
826Patch 8.2.0105
827Problem: Vim license not easy to find on github.
828Solution: Add a separate LICENCE file. (closes #5458)
829Files: LICENSE, Filelist
830
831Patch 8.2.0106
832Problem: Printf formats are not exactly right.
833Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
834Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
835 src/libvterm/src/pen.c, src/ui.c
836
837Patch 8.2.0107
838Problem: Hgignore is out of sync from gitignore.
839Solution: Add lines to hgignore. (Ken Takata)
840Files: .hgigmore
841
842Patch 8.2.0108
843Problem: When sign text is changed a manual redraw is needed. (Pontus
844 Lietzler)
845Solution: Redraw automatically. (closes #5455)
846Files: src/testdir/test_signs.vim, src/sign.c,
847 src/testdir/dumps/Test_sign_cursor_1.dump,
848 src/testdir/dumps/Test_sign_cursor_2.dump,
849 src/testdir/dumps/Test_sign_cursor_3.dump,
850 src/testdir/dumps/Test_sign_cursor_01.dump,
851 src/testdir/dumps/Test_sign_cursor_02.dump
852
853Patch 8.2.0109
854Problem: Corrupted text properties when expanding spaces.
855Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
856Files: src/edit.c, src/testdir/test_textprop.vim
857
858Patch 8.2.0110
859Problem: prop_find() is not implemented.
860Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
861Files: src/evalfunc.c, src/proto/textprop.pro,
862 src/testdir/test_textprop.vim, src/textprop.c,
863 runtime/doc/textprop.txt
864
865Patch 8.2.0111
866Problem: VAR_SPECIAL is also used for booleans.
867Solution: Add VAR_BOOL for better type checking.
868Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
869 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
870 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
871 src/testing.c, src/vim.h, src/viminfo.c
872
873Patch 8.2.0112
874Problem: Illegal memory access when using 'cindent'.
875Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
876Files: src/cindent.c, src/testdir/test_cindent.vim
877
878Patch 8.2.0113 (after 8.2.0095)
879Problem: "make cmdidxs" fails.
880Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
881Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
882 src/Make_mvc.mak
883
884Patch 8.2.0114
885Problem: Info about sourced scripts is scattered.
886Solution: Use scriptitem_T for info about a script, including s: variables.
887 Drop ga_scripts.
888Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
889
890Patch 8.2.0115
891Problem: Byte2line() does not work correctly with text properties. (Billie
892 Cleek)
893Solution: Take the bytes of the text properties into account.
894 (closes #5334)
895Files: src/testdir/test_textprop.vim, src/memline.c
896
897Patch 8.2.0116
898Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
899Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
900 closes #5473)
901Files: src/arglist.c, src/testdir/test_tabpage.vim
902
903Patch 8.2.0117
904Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
905 Yang)
906Solution: Use "curtab" if "tp" is NULL. (closes #5475)
907Files: src/evalwindow.c, src/testdir/test_getvar.vim
908
909Patch 8.2.0118
910Problem: Crash when cycling to buffers involving popup window .
911Solution: Do not decrement buffer reference count.
912Files: src/popupwin.c, src/testdir/test_popupwin.vim,
913 src/testdir/dumps/Test_popupwin_infopopup_7.dump
914
915Patch 8.2.0119
916Problem: Message test fails on some platforms. (Elimar Riesebieter)
917Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
918Files: src/message_test.c
919
920Patch 8.2.0120
921Problem: virtcol() does not check arguments to be valid, which may lead to
922 a crash.
923Solution: Check the column to be valid. Do not decrement MAXCOL.
924 (closes #5480)
925Files: src/evalfunc.c, src/testdir/test_marks.vim
926
927Patch 8.2.0121
928Problem: filter() and map() on blob don't work.
929Solution: Correct the code. (closes #5483)
930Files: src/list.c, src/testdir/test_blob.vim
931
932Patch 8.2.0122
933Problem: Readme files still mention MS-DOS.
934Solution: Update readme files. (Ken Takata, closes #5486)
935Files: README.md, README.txt, READMEdir/README_dos.txt,
936 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
937 runtime/doc/os_win32.txt
938
939Patch 8.2.0123
940Problem: complete_info() does not work when CompleteDone is triggered.
941Solution: Trigger CompleteDone before clearing the info.
942Files: src/insexpand.c, runtime/doc/autocmd.txt,
943 src/testdir/test_ins_complete.vim
944
945Patch 8.2.0124
946Problem: Compiler warnings for variable types.
947Solution: Change type, add type cast. (Mike Williams)
948Files: src/memline.c
949
950Patch 8.2.0125
951Problem: :mode no longer works for any system.
952Solution: Always give an error message.
953Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
954 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
955 src/os_unix.c, src/proto/os_unix.pro
956
957Patch 8.2.0126 (after 8.2.0124)
958Problem: Textprop test fails.
959Solution: Fix sign in computation.
960Files: src/memline.c
961
962Patch 8.2.0127
963Problem: Some buffer commands work in a popup window.
964Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
965Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
966
967Patch 8.2.0128
968Problem: Cannot list options one per line.
969Solution: Use ":set!" to list one option per line.
970Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
971 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
972 runtime/doc/options.txt
973
974Patch 8.2.0129
975Problem: MS-Windows installer doesn't use Turkish translations.
976Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
977 closes #5493)
978Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
979
980Patch 8.2.0130
981Problem: Python3 ranges are not tested.
982Solution: Add test. (Dominique Pellé, closes #5498)
983Files: src/testdir/test_python3.vim
984
985Patch 8.2.0131
986Problem: Command line is not cleared when switching tabs and the command
987 line height differs.
988Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
989 closes #5495)
990Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
991 src/testdir/test_cmdline.vim, src/window.c
992
993Patch 8.2.0132
994Problem: Script may be re-used when deleting and creating a new one.
995Solution: When the inode matches, also check the file name.
996Files: src/scriptfile.c, src/testdir/test_source.vim
997
998Patch 8.2.0133
999Problem: Invalid memory access with search command.
1000Solution: When :normal runs out of characters in bracketed paste mode break
1001 out of the loop.(closes #5511)
1002Files: src/testdir/test_search.vim, src/edit.c
1003
1004Patch 8.2.0134
1005Problem: Some map functionality not covered by tests.
1006Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
1007Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
1008
1009Patch 8.2.0135 (after 8.2.0133)
1010Problem: Bracketed paste can still cause invalid memory access. (Dominique
1011 Pellé)
1012Solution: Check for NULL pointer.
1013Files: src/edit.c, src/testdir/test_search.vim
1014
1015Patch 8.2.0136
1016Problem: Stray ch_logfile() call.
1017Solution: Remove it. (closes #5503)
1018Files: src/testdir/test_source.vim
1019
1020Patch 8.2.0137
1021Problem: Crash when using win_execute() from a new tab.
1022Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
1023Files: src/testdir/test_winbuf_close.vim, src/window.c
1024
1025Patch 8.2.0138
1026Problem: Memory leak when starting a job fails.
1027Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
1028Files: src/channel.c, src/testdir/test_channel.vim
1029
1030Patch 8.2.0139
1031Problem: MS-Windows: default for IME is inconsistent.
1032Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
1033Files: src/Make_mvc.mak
1034
1035Patch 8.2.0140
1036Problem: CI does not test building doc tags.
1037Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
1038 closes #5513)
1039Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
1040 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
1041 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
1042
1043Patch 8.2.0141
1044Problem: No swift filetype detection.
1045Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
1046Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1047
1048Patch 8.2.0142
1049Problem: Possible to enter popup window with CTRL-W p. (John Devin)
1050Solution: Check entered window is not a popup window. (closes #5515)
1051Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
1052 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
1053 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
1054
1055Patch 8.2.0143
1056Problem: Coverity warning for possible use of NULL pointer.
1057Solution: Check argv is not NULL.
1058Files: src/channel.c
1059
1060Patch 8.2.0144
1061Problem: Some mapping code is not fully tested.
1062Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
1063Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
1064 src/testdir/test_mapping.vim
1065
1066Patch 8.2.0145
1067Problem: Using #error for compilation errors should be OK now.
1068Solution: Use #error. (Ken Takata, closes #5299)
1069Files: src/blowfish.c, src/vim.h
1070
1071Patch 8.2.0146
1072Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
1073 'briopt' includes "sbr".
1074Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
1075Files: src/drawline.c, src/testdir/test_breakindent.vim
1076
1077Patch 8.2.0147
1078Problem: Block Visual mode operators not correct when 'linebreak' set.
1079Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
1080Files: src/ops.c, src/testdir/test_listlbr.vim
1081
1082Patch 8.2.0148
1083Problem: Mapping related function in wrong source file.
1084Solution: Move the function. Add a few more test cases. (Yegappan
1085 Lakshmanan, closes #5528)
1086Files: src/map.c, src/proto/term.pro, src/term.c,
1087 src/testdir/test_mapping.vim
1088
1089Patch 8.2.0149
1090Problem: Maintaining a Vim9 branch separately is more work.
1091Solution: Merge the Vim9 script changes.
1092Files: README.md, README_VIM9.md, runtime/doc/Makefile,
1093 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
1094 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
1095 runtime/indent/vim.vim, runtime/syntax/vim.vim,
1096 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
1097 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
1098 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
1099 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
1100 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
1101 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
1102 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
1103 src/proto/evalfunc.pro, src/proto/evalvars.pro,
1104 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
1105 src/proto/message.pro, src/proto/scriptfile.pro,
1106 src/proto/userfunc.pro, src/proto/vim9compile.pro,
1107 src/proto/vim9execute.pro, src/proto/vim9script.pro,
1108 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
1109 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
1110 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
1111 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
1112 src/vim9script.c, src/viminfo.c
1113
1114Patch 8.2.0150
1115Problem: Cannot define python function when using :execute. (Yasuhiro
1116 Matsumoto)
1117Solution: Do not recognize "def" inside "function.
1118Files: src/testdir/test_vim9_script.vim, src/userfunc.c
1119
1120Patch 8.2.0151
1121Problem: Detecting a script was already sourced is unreliable.
1122Solution: Do not use the inode number.
1123Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
1124
1125Patch 8.2.0152
1126Problem: Restoring ctrl_x_mode is not needed.
1127Solution: Remove restoring the old value, it's changed again soon.
1128Files: src/insexpand.c
1129
1130Patch 8.2.0153
1131Problem: Warning shows when listing version info.
1132Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1133Files: .travis.yml
1134
1135Patch 8.2.0154
1136Problem: Reallocating the list of scripts is inefficient.
1137Solution: Instead of using a growarray of scriptitem_T, store pointers and
1138 allocate each scriptitem_T separately. Also avoids that the
1139 growarray pointers change when sourcing a new script.
1140Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1141 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1142 src/vim9execute.c, src/vim9script.c
1143
1144Patch 8.2.0155
1145Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1146 building without +float feature.
1147Solution: Init variables. Fix Json parsing. Skip a few tests that require
1148 the +float feature.
1149Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1150 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1151
1152Patch 8.2.0156
1153Problem: Various typos in source files and tests.
1154Solution: Fix the typos. (Emir Sarı, closes #5532)
1155Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1156 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1157 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1158 src/gui_photon.c, src/if_perl.xs,
1159 src/libvterm/t/11state_movecursor.test,
1160 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1161 src/normal.c, src/ops.c, src/option.c, src/option.h,
1162 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1163 src/spell.c, src/tag.c, src/term.c,
1164 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1165 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1166 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1167 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1168 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1169
1170Patch 8.2.0157
1171Problem: Vim9 script files not in list of distributed files.
1172Solution: Add the entries.
1173Files: Filelist
1174
1175Patch 8.2.0158 (after 8.2.0123)
1176Problem: Triggering CompleteDone earlier is not backwards compatible.
1177 (Daniel Hahler)
1178Solution: Add CompleteDonePre instead.
1179Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1180 src/vim.h, src/testdir/test_ins_complete.vim
1181
1182Patch 8.2.0159
1183Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1184Solution: Materialize the list where needed.
1185Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1186 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1187 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1188 src/eval.c
1189
1190Patch 8.2.0160 (after 8.2.0159)
1191Problem: Range test fails.
1192Solution: Include change in list code. (#5541)
1193Files: src/list.c
1194
1195Patch 8.2.0161
1196Problem: Not recognizing .gv file as dot filetype.
1197Solution: Add *.gv to dot pattern. (closes #5544)
1198Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1199
1200Patch 8.2.0162
1201Problem: Balloon test fails in the GUI.
1202Solution: Skip test in the GUI.
1203Files: src/testdir/test_functions.vim
1204
1205Patch 8.2.0163
1206Problem: Test hangs on MS-Windows console.
1207Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1208Files: src/testdir/test_functions.vim, src/testing.c
1209
1210Patch 8.2.0164
1211Problem: Test_alot takes too long.
1212Solution: Run several tests individually.
1213Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1214
1215Patch 8.2.0165
1216Problem: Coverity warning for using NULL pointer.
1217Solution: Add missing "else".
1218Files: src/vim9compile.c
1219
1220Patch 8.2.0166
1221Problem: Coverity warning for using uninitialized variable.
1222Solution: Check for failure.
1223Files: src/vim9execute.c
1224
1225Patch 8.2.0167
1226Problem: Coverity warning for ignoring return value.
1227Solution: Check the return value and jump if failed.
1228Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1229
1230Patch 8.2.0168
1231Problem: Coverity warning for assigning NULL to an option.
1232Solution: Use empty string instead of NULL.
1233Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1234
1235Patch 8.2.0169
1236Problem: Coverity warning for dead code.
1237Solution: Check if inside try-finally.
1238Files: src/vim9execute.c
1239
1240Patch 8.2.0170
1241Problem: Coverity warning for ignoring return value.
1242Solution: Check the return value and return if failed.
1243Files: src/vim9compile.c
1244
1245Patch 8.2.0171
1246Problem: Coverity warning for using uninitialized buffer.
1247Solution: Check the skip flag.
1248Files: src/userfunc.c
1249
1250Patch 8.2.0172
1251Problem: Coverity warning for not restoring character.
1252Solution: Restore the character also in case of failure.
1253Files: src/vim9script.c
1254
1255Patch 8.2.0173
1256Problem: Build fails with old compiler.
1257Solution: Do not use anonymous unions. (John Marriott)
1258Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1259 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1260
1261Patch 8.2.0174
1262Problem: Various commands not completely tested.
1263Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1264Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1265 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1266 src/testdir/test_move.vim, src/testdir/test_options.vim,
1267 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1268 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1269 src/testdir/test_writefile.vim
1270
1271Patch 8.2.0175
1272Problem: Crash when removing list element in map().
1273Solution: Lock the list. (closes #2652)
1274Files: src/testdir/test_filter_map.vim, src/list.c
1275
1276Patch 8.2.0176
1277Problem: Generating os headers does not work for Swedish.
1278Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1279Files: src/osdef.sh
1280
1281Patch 8.2.0177
1282Problem: Memory leak in get_tags().
1283Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1284 closes #5553)
1285Files: src/tag.c
1286
1287Patch 8.2.0178
1288Problem: With VTP the screen may not be restored properly.
1289Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1290 closes #5548)
1291Files: src/os_win32.c
1292
1293Patch 8.2.0179
1294Problem: Still a few places where range() does not work.
1295Solution: Fix using range() causing problems.
1296Files: src/terminal.c, src/testdir/test_functions.vim,
1297 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1298 src/testdir/dumps/Test_popupwin_20.dump,
1299 src/testdir/dumps/Test_popupwin_21.dump,
1300 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1301
1302Patch 8.2.0180
1303Problem: Test for wrapmargin fails if terminal is not 80 columns.
1304Solution: Vertical split the window. (Ken Takata, closes #5554)
1305Files: src/testdir/test_textformat.vim
1306
1307Patch 8.2.0181
1308Problem: Problems parsing :term arguments.
1309Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1310 closes #5536)
1311Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1312 src/terminal.c, src/testdir/test_terminal.vim
1313
1314Patch 8.2.0182
1315Problem: Min() and max() materialize a range() list.
1316Solution: Compute the result without materializing the list. (#5541)
1317Files: src/evalfunc.c
1318
1319Patch 8.2.0183
1320Problem: Tests fail when the float feature is disabled.
1321Solution: Skip tests that don't work without float support.
1322Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1323 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1324 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1325 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1326 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1327 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1328 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1329 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1330 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1331 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1332 src/testdir/test_glob2regpat.vim
1333
1334Patch 8.2.0184
1335Problem: Blob test fails.
1336Solution: Check for different error when float feature is missing.
1337Files: src/testdir/test_blob.vim
1338
1339Patch 8.2.0185
1340Problem: Vim9 script: cannot use "if has()" to skip lines.
1341Solution: Evaluate constant expression at runtime.
1342Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1343 src/userfunc.c, src/testdir/test_vim9_script.vim
1344
1345Patch 8.2.0186
1346Problem: A couple of tests may fail when features are missing.
1347Solution: Check for features. (Dominique Pellé, closes #5561)
1348Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1349
1350Patch 8.2.0187
1351Problem: Redundant code.
1352Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1353Files: src/vim9compile.c
1354
1355Patch 8.2.0188
1356Problem: Check commands don't work well with Vim9 script.
1357Solution: Improve constant expression handling.
1358Files: src/vim9compile.c, src/testdir/check.vim,
1359 src/testdir/test_vim9_expr.vim
1360
1361Patch 8.2.0189
1362Problem: cd() with NULL argument crashes.
1363Solution: Check for NULL. (Ken Takata, closes #5558)
1364Files: src/testdir/test_cd.vim, src/ex_docmd.c
1365
1366Patch 8.2.0190
1367Problem: Kotlin files are not recognized.
1368Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1369Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1370
1371Patch 8.2.0191
1372Problem: Cannot put a terminal in a popup window.
1373Solution: Allow opening a terminal in a popup window. It will always have
1374 keyboard focus until closed.
1375Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1376 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1377 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1378 src/testdir/test_terminal.vim,
1379 src/testdir/dumps/Test_terminal_popup_1.dump,
1380 src/testdir/dumps/Test_terminal_popup_2.dump,
1381 src/testdir/dumps/Test_terminal_popup_3.dump
1382
1383Patch 8.2.0192 (after 8.2.0191)
1384Problem: Build failure without +terminal feature.
1385Solution: Add #ifdefs.
1386Files: src/popupwin.c
1387
1388Patch 8.2.0193 (after 8.2.0191)
1389Problem: Still build failure without +terminal feature.
1390Solution: Add more #ifdefs.
1391Files: src/macros.h
1392
1393Patch 8.2.0194 (after 8.2.0193)
1394Problem: Some commands can cause problems in terminal popup.
1395Solution: Disallow more commands.
1396Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1397 src/arglist.c, src/ex_docmd.c, src/window.c,
1398 src/testdir/test_terminal.vim
1399
1400Patch 8.2.0195
1401Problem: Some tests fail when run in the GUI.
1402Solution: Make sure the window width is enough. In the GUI run terminal Vim
1403 in the terminal, if possible.
1404Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1405 src/testdir/test_terminal.vim
1406
1407Patch 8.2.0196
1408Problem: Blocking commands for a finished job in a popup window.
1409Solution: Do not block commands if the job has finished. Adjust test.
1410Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1411 src/terminal.c, src/proto/terminal.pro
1412
1413Patch 8.2.0197
1414Problem: Some Ex commands not sufficiently tested.
1415Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1416Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1417 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1418 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1419 src/testdir/test_writefile.vim
1420
1421Patch 8.2.0198
1422Problem: No tests for y/n prompt.
1423Solution: Add tests. (Dominique Pellé, closes #5564)
1424Files: src/testdir/test_messages.vim
1425
1426Patch 8.2.0199
1427Problem: Vim9 script commands not sufficiently tested.
1428Solution: Add more tests. Fix script-local function use.
1429Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1430 src/userfunc.c
1431
1432Patch 8.2.0200
1433Problem: Vim9 script commands not sufficiently tested.
1434Solution: Add more tests. Fix storing global variable. Make script
1435 variables work.
1436Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1437 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1438 src/misc1.c, src/proto/misc1.pro
1439
1440Patch 8.2.0201
1441Problem: Cannot assign to an imported variable.
1442Solution: Make it work.
1443Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1444 src/userfunc.c, src/testdir/test_vim9_script.vim
1445
1446Patch 8.2.0202
1447Problem: When 'lazyredraw' is set the window title may not be updated.
1448Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1449Files: src/main.c
1450
1451Patch 8.2.0203
1452Problem: :helptags and some other functionality not tested.
1453Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1454Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1455 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1456 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1457 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1458
1459Patch 8.2.0204
1460Problem: Crash when using winnr('j') in a popup window.
1461Solution: Do not search for neighbors in a popup window. (closes #5568)
1462Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1463
1464Patch 8.2.0205
1465Problem: Error code E899 used twice.
1466Solution: Use E863 for the terminal in popup error.
1467Files: src/popupwin.c
1468
1469Patch 8.2.0206
1470Problem: Calling Vim9 function using default argument fails.
1471Solution: Give an appropriate error. (closes #5572)
1472Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1473 src/vim9execute.c
1474
1475Patch 8.2.0207
1476Problem: Crash when missing member type on list argument.
1477Solution: Check for invalid type. (closes #5572)
1478Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1479
1480Patch 8.2.0208
1481Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1482Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1483 Matsumoto, closes #5577)
1484Files: runtime/doc/cmdline.txt, src/filepath.c,
1485 src/testdir/test_fnamemodify.vim
1486
1487Patch 8.2.0209
1488Problem: Function a bit far away from where it's used.
1489Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1490Files: src/fileio.c, src/filepath.c
1491
1492Patch 8.2.0210
1493Problem: Coverity complains about uninitialized field.
1494Solution: Initialize the field.
1495Files: src/vim9compile.c
1496
1497Patch 8.2.0211
1498Problem: Test for ANSI colors fails without an "ls" command.
1499Solution: Use "dir". (Ken Takata, closes #5582)
1500Files: src/testdir/test_functions.vim
1501
1502Patch 8.2.0212
1503Problem: Missing search/substitute pattern hardly tested.
1504Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1505 closes #5579)
1506Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1507 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1508 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1509 src/search.c, src/testdir/test_quickfix.vim,
1510 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1511 src/testdir/test_substitute.vim, src/testing.c
1512
1513Patch 8.2.0213
1514Problem: Configure does not recognize gcc 10.0 and later.
1515Solution: Adjust the pattern matching the version number. (Sergei
1516 Trofimovich, closes #5580)
1517Files: src/configure.ac, src/auto/configure
1518
1519Patch 8.2.0214
1520Problem: A popup window with a terminal can be made hidden.
1521Solution: Disallow hiding a terminal popup.
1522Files: src/testdir/test_terminal.vim, src/popupwin.c,
1523 src/testdir/dumps/Test_terminal_popup_4.dump
1524
1525Patch 8.2.0215 (after 8.2.0208)
1526Problem: Wrong file name shortening. (Ingo Karkat)
1527Solution: Better check for path separator. (Yasuhiro Matsumoto,
1528 closes #5583, closes #5584)
1529Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1530
1531Patch 8.2.0216
1532Problem: Several Vim9 instructions are not tested.
1533Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1534 work.
1535Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1536 src/vim9compile.c
1537
1538Patch 8.2.0217 (after 8.2.0214)
1539Problem: Terminal test fails on Mac.
1540Solution: Add a short wait.
1541Files: src/testdir/test_terminal.vim
1542
1543Patch 8.2.0218
1544Problem: Several Vim9 instructions are not tested.
1545Solution: Add more tests.
1546Files: src/testdir/test_vim9_script.vim
1547
1548Patch 8.2.0219 (after 8.2.0217)
1549Problem: Terminal test still fails on Mac.
1550Solution: Skip part of the test on Mac.
1551Files: src/testdir/test_terminal.vim
1552
1553Patch 8.2.0220
1554Problem: Terminal test did pass on Mac.
1555Solution: Remove the skip again.
1556Files: src/testdir/test_terminal.vim
1557
1558Patch 8.2.0221
1559Problem: No test for Vim9 += and ..=.
1560Solution: Add tests.
1561Files: src/testdir/test_vim9_script.vim
1562
1563Patch 8.2.0222
1564Problem: Vim9: optional function arguments don't work yet.
1565Solution: Implement optional function arguments.
1566Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1567 src/structs.h, src/testdir/test_vim9_script.vim
1568
1569Patch 8.2.0223
1570Problem: Some instructions not yet tested.
1571Solution: Disassemble more instructions. Move tests to a new file. Compile
1572 call to s:function().
1573Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1574 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1575 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1576
1577Patch 8.2.0224
1578Problem: compiling :elseif not tested yet.
1579Solution: Add test for :elseif. Fix generating jumps.
1580Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1581 src/testdir/test_vim9_disassemble.vim
1582
1583Patch 8.2.0225
1584Problem: compiling lambda not tested yet.
1585Solution: Add test for lambda and funcref. Drop unused instruction arg.
1586Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1587 src/vim9execute.c
1588
1589Patch 8.2.0226
1590Problem: Compiling for loop not tested.
1591Solution: Add a test. Make variable initialization work for more types.
1592Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1593
1594Patch 8.2.0227
1595Problem: Compiling a few instructions not tested.
1596Solution: Add more test cases.
1597Files: src/testdir/test_vim9_disassemble.vim
1598
1599Patch 8.2.0228
1600Problem: Configure does not recognize gcc version on BSD.
1601Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1602 Kiichi, closes #5590)
1603Files: src/configure.ac, src/auto/configure
1604
1605Patch 8.2.0229
1606Problem: Compare instructions not tested.
1607Solution: Add test cases. Fix disassemble with line continuation.
1608Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1609 src/vim9compile.c
1610
1611Patch 8.2.0230
1612Problem: Terminal popup test is flaky.
1613Solution: Increase wait time a bit.
1614Files: src/testdir/test_terminal.vim
1615
1616Patch 8.2.0231
1617Problem: Silent system command may clear the screen.
1618Solution: Do not clear the screen in t_te.
1619Files: src/term.c
1620
1621Patch 8.2.0232
1622Problem: The :compiler command causes a crash. (Daniel Steinberg)
1623Solution: Do not use the script index if it isn't set.
1624Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1625
1626Patch 8.2.0233
1627Problem: Crash when using garbagecollect() in between rand().
1628Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1629 Matsumoto, closes #5587, closes #5588)
1630Files: src/evalfunc.c, src/testdir/test_random.vim,
1631 runtime/doc/testing.txt, runtime/doc/eval.txt
1632
1633Patch 8.2.0234
1634Problem: Message test fails on SunOS.
1635Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1636Files: src/message_test.c
1637
1638Patch 8.2.0235
1639Problem: Draw error when an empty group is removed from 'statusline'.
1640Solution: Do not use highlighting from a removed group.
1641Files: src/buffer.c, src/testdir/test_statusline.vim,
1642 src/testdir/dumps/Test_statusline_1.dump
1643
1644Patch 8.2.0236
1645Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1646Solution: Change directory before deletion. (Ken Takata, closes #5603)
1647Files: src/uninstall.c
1648
1649Patch 8.2.0237
1650Problem: Crash when setting 'wincolor' on finished terminal window.
1651 (Bakudankun)
1652Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1653 #5607, closes #5610)
1654Files: src/terminal.c, src/testdir/test_terminal.vim
1655
1656Patch 8.2.0238
1657Problem: MS-Windows: job_stop() results in exit value zero.
1658Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1659 Matsumoto, closes #5150, closes #5614)
1660Files: src/os_win32.c, src/testdir/test_channel.vim
1661
1662Patch 8.2.0239
1663Problem: MS-Windows: 'env' job option does not override existing
1664 environment variables. (Tim Pope)
1665Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1666 closes #5485, closes #5608)
1667Files: src/os_win32.c, src/testdir/test_channel.vim
1668
1669Patch 8.2.0240
1670Problem: Using memory after it was freed. (Dominique Pellé)
1671Solution: Do not mix conversion buffer with other buffer.
1672Files: src/viminfo.c, src/vim.h
1673
1674Patch 8.2.0241
1675Problem: Crash when setting 'buftype' to "quickfix".
1676Solution: Check that error list is not NULL. (closes #5613)
1677Files: src/quickfix.c, src/testdir/test_quickfix.vim
1678
1679Patch 8.2.0242
1680Problem: Preview popup window test fails with long directory name. (Jakub
1681 Kądziołka)
1682Solution: Use "silent cd". (closes #5615)
1683Files: src/testdir/test_popupwin.vim
1684
1685Patch 8.2.0243
1686Problem: Insufficient code coverage for ex_docmd.c functions.
1687Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1688Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1689 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1690 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1691 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1692 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1693 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1694 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1695 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1696 src/testdir/test_writefile.vim
1697
1698Patch 8.2.0244
1699Problem: Compiler warning in Lua interface.
1700Solution: Add type cast. (Ken Takata, closes #5621)
1701Files: src/if_lua.c
1702
1703Patch 8.2.0245
1704Problem: MSVC: error message if the auto directory already exists.
1705Solution: Add "if not exists". (Ken Takata, closes #5620)
1706Files: src/Make_mvc.mak
1707
1708Patch 8.2.0246
1709Problem: MSVC: deprecation warnings with Ruby.
1710Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
1711 closes #5622)
1712Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
1713 src/vimio.h
1714
1715Patch 8.2.0247
1716Problem: Misleading comment in NSIS installer script.
1717Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
1718Files: nsis/gvim.nsi
1719
1720Patch 8.2.0248
1721Problem: MS-Windows: dealing with deprecation is too complicated.
1722Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
1723 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
1724 Takata, closes #5626)
1725Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
1726 src/winclip.c, Filelist
1727
1728Patch 8.2.0249
1729Problem: MS-Windows: various warnings.
1730Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
1731 (Ken Takata, closes #5625)
1732Files: src/GvimExt/Makefile, src/Make_mvc.mak
1733
1734Patch 8.2.0250
1735Problem: test_clear_search_pat() is unused.
1736Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
1737Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1738 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1739 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1740 src/search.c, src/testdir/test_writefile.vim, src/testing.c
1741
1742Patch 8.2.0251
1743Problem: A couple of function return types can be more specific.
1744Solution: Use a better return type. (Ken Takata, closes #5629)
1745Files: src/evalfunc.c, src/globals.h
1746
1747Patch 8.2.0252
1748Problem: Windows compiler warns for using size_t.
1749Solution: Change to int. (Mike Williams)
1750Files: src/vim9compile.c
1751
1752Patch 8.2.0253
1753Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
1754Solution: Check for missing argument. (Dominique Pellé, closes #5635,
1755 closes #5637)
1756Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
1757 src/ex_cmds.h
1758
1759Patch 8.2.0254
1760Problem: Compiler warning for checking size_t to be negative.
1761Solution: Only check for zero. (Zoltan Arpadffy)
1762Files: src/vim9compile.c
1763
1764Patch 8.2.0255
1765Problem: VMS: missing files in build.
1766Solution: Add the files. (Zoltan Arpadffy)
1767Files: src/Make_vms.mms
1768
1769Patch 8.2.0256
1770Problem: Time and timer related code is spread out.
1771Solution: Move time and timer related code to a new file. (Yegappan
1772 Lakshmanan, closes #5604)
1773Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
1774 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
1775 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
1776 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
1777 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
1778 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
1779 src/proto/time.pro, src/time.c
1780
1781Patch 8.2.0257
1782Problem: Cannot recognize a terminal in a popup window.
1783Solution: Add the win_gettype() function.
1784Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
1785 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
1786 src/testdir/test_terminal.vim,
1787 src/testdir/dumps/Test_terminal_popup_1.dump
1788
1789Patch 8.2.0258
1790Problem: ModifyOtherKeys cannot be temporarily disabled.
1791Solution: Add echoraw() with an example for modifyOtherKeys.
1792Files: runtime/doc/eval.txt, src/evalfunc.c,
1793 src/testdir/test_functions.vim,
1794 src/testdir/dumps/Test_functions_echoraw.dump
1795
1796Patch 8.2.0259
1797Problem: Terminal in popup test sometimes fails.
1798Solution: Clear the command line.
1799Files: src/testdir/test_terminal.vim,
1800 src/testdir/dumps/Test_terminal_popup_1.dump
1801
1802Patch 8.2.0260
1803Problem: Several lines of code are duplicated.
1804Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
1805 closes #5330)
1806Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
1807 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
1808 src/term.c
1809
1810Patch 8.2.0261
1811Problem: Some code not covered by tests.
1812Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
1813Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
1814 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
1815 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
1816 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
1817 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
1818 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
1819 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
1820
1821Patch 8.2.0262 (after 8.2.0261)
1822Problem: Fileformat test fails on MS-Windows.
1823Solution: Set fileformat of buffer.
1824Files: src/testdir/test_fileformat.vim
1825
1826Patch 8.2.0263
1827Problem: A few new Vim9 messages are not localized.
1828Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
1829Files: src/vim9compile.c, src/vim9execute.c
1830
1831Patch 8.2.0264 (after 8.2.0262)
1832Problem: Fileformat test still fails on MS-Windows.
1833Solution: Set fileformat of buffer in the right place.
1834Files: src/testdir/test_fileformat.vim
1835
1836Patch 8.2.0265
1837Problem: "eval" after "if 0" doesn't check for following command.
1838Solution: Add "eval" to list of commands that check for a following command.
1839 (closes #5640)
1840Files: src/ex_docmd.c, src/testdir/test_expr.vim
1841
1842Patch 8.2.0266
1843Problem: Terminal in popup test sometimes fails on Mac.
1844Solution: Add a short delay.
1845Files: src/testdir/test_terminal.vim
1846
1847Patch 8.2.0267
1848Problem: No check for a following command when calling a function fails.
1849Solution: Also check for a following command when inside a try block.
1850 (closes #5642)
1851Files: src/userfunc.c, src/testdir/test_user_func.vim
1852
1853Patch 8.2.0268 (after 8.2.0267)
1854Problem: Trycatch test fails.
1855Solution: When calling function fails only check for following command, do
1856 not give another error.
1857Files: src/userfunc.c
1858
1859Patch 8.2.0269
1860Problem: Vim9: operator after list index does not work. (Yasuhiro
1861 Matsumoto)
1862Solution: After indexing a list change the type to the list member type.
1863 (closes #5651)
1864Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
1865
1866Patch 8.2.0270
1867Problem: Some code not covered by tests.
1868Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
1869Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
1870 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
1871 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
1872 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
1873 src/testdir/test_join.vim, src/testdir/test_move.vim,
1874 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
1875 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
1876 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
1877 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
1878 src/testdir/test_writefile.vim
1879
1880Patch 8.2.0271
1881Problem: The "num64" feature is available everywhere and building without
1882 it causes problems.
1883Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
1884Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
1885 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
1886 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
1887 src/version.c
1888
1889Patch 8.2.0272
1890Problem: ":helptags ALL" gives error for directories without write
1891 permission. (Matěj Cepl)
1892Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
1893 closes #5652)
1894Files: src/ex_cmds.c, src/testdir/test_help.vim
1895
1896Patch 8.2.0273
1897Problem: MS-Windows uninstall may delete wrong batch file.
1898Solution: Add specific marker in the generated batch file. (Ken Takata,
1899 closes #5654)
1900Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
1901
1902Patch 8.2.0274
1903Problem: Hang with combination of feedkeys(), Ex mode and :global.
1904 (Yegappan Lakshmanan)
1905Solution: Add the pending_exmode_active flag.
1906Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
1907 src/testdir/test_ex_mode.vim
1908
1909Patch 8.2.0275
1910Problem: Some Ex code not covered by tests.
1911Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
1912Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
1913 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
1914 src/testdir/test_search.vim, src/testdir/test_swap.vim,
1915 src/testdir/test_window_cmd.vim
1916
1917Patch 8.2.0276
1918Problem: Vim9: not allowing space before ")" in function call is too
1919 restrictive. (Ben Jackson)
1920Solution: Skip space before the ")". Adjust other space checks.
1921Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
1922
1923Patch 8.2.0277
1924Problem: Vim9: not all instructions covered by tests.
1925Solution: Add more test cases.
1926Files: src/testdir/test_vim9_disassemble.vim
1927
1928Patch 8.2.0278
1929Problem: Channel test is flaky on Mac.
1930Solution: Reset variable before sending message.
1931Files: src/testdir/test_channel.vim
1932
1933Patch 8.2.0279
1934Problem: Vim9: no test for deleted :def function.
1935Solution: Add a test. Clear uf_cleared flag when redefining a function.
1936Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1937
1938Patch 8.2.0280
1939Problem: Vim9: throw in :def function not caught higher up.
1940Solution: Set "need_rethrow".
1941Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
1942
1943Patch 8.2.0281
1944Problem: Two placed signs in the same line are not combined. E.g. in the
1945 terminal debugger a breakpoint and the PC cannot be both be
1946 displayed.
1947Solution: Combine the sign column and line highlight attributes.
1948Files: src/sign.c, src/testdir/test_signs.vim,
1949 src/testdir/dumps/Test_sign_cursor_3.dump,
1950 src/testdir/dumps/Test_sign_cursor_4.dump
1951
1952Patch 8.2.0282
1953Problem: Vim9: setting number option not tested.
1954Solution: Add more tests. Fix assigning to global variable.
1955Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
1956 src/vim9execute.c
1957
1958Patch 8.2.0283
1959Problem: Vim9: failing to load script var not tested.
1960Solution: Add more tests. Fix using s: in old script.
1961Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
1962 src/testdir/test_vim9_script.vim
1963
1964Patch 8.2.0284
1965Problem: Vim9: assignment test fails.
1966Solution: Avoid duplicating "s:".
1967Files: src/vim9compile.c
1968
1969Patch 8.2.0285
1970Problem: Unused error message. Cannot create s:var.
1971Solution: Remove the error message. Make assignment to s:var work.
1972Files: src/vim9compile.c, src/vim9execute.c,
1973 src/testdir/test_vim9_script.vim
1974
1975Patch 8.2.0286
1976Problem: Cannot use popup_close() for a terminal popup.
1977Solution: Allow using popup_close(). (closes #5666)
1978Files: src/popupwin.c, runtime/doc/popup.txt,
1979 src/testdir/test_terminal.vim,
1980 src/testdir/dumps/Test_terminal_popup_5.dump,
1981 src/testdir/dumps/Test_terminal_popup_6.dump
1982
1983Patch 8.2.0287
1984Problem: Vim9: return in try block not tested; catch with pattern not
1985 tested.
1986Solution: Add tests. Make it work.
1987Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
1988
1989Patch 8.2.0288
1990Problem: Vim9: some float and blob operators not tested.
1991Solution: Add float and blob tests. Fix addition.
1992Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
1993
1994Patch 8.2.0289
1995Problem: Vim9: :echo did not clear the rest of the line.
1996Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
1997Files: src/vim9execute.c
1998
1999Patch 8.2.0290
2000Problem: Running individual test differs from all tests.
2001Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
2002Files: src/testdir/Makefile, src/testdir/README.txt
2003
2004Patch 8.2.0291
2005Problem: Vim9: assigning [] to list<string> doesn't work.
2006Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
2007Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
2008
2009Patch 8.2.0292
2010Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
2011Solution: Add tests.
2012Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2013
2014Patch 8.2.0293
2015Problem: Various Ex commands not sufficiently tested.
2016Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2017Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
2018 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
2019 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
2020 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
2021 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
2022 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
2023 src/testdir/test_vimscript.vim
2024
2025Patch 8.2.0294
2026Problem: Cannot use Ex command that is also a function name.
2027Solution: Recognize an Ex command by a colon prefix.
2028Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
2029 runtime/doc/vim9.txt
2030
2031Patch 8.2.0295
2032Problem: Highlighting for :s wrong when using different separator.
2033Solution: Use separate argument for search direction and separator. (Rob
2034 Pilling, closes #5665)
2035Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
2036 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
2037 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
2038 src/testdir/test_search.vim
2039
2040Patch 8.2.0296
2041Problem: Mixing up "long long" and __int64 may cause problems. (John
2042 Marriott)
2043Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2044Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
2045 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
2046 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
2047
2048Patch 8.2.0297
2049Problem: Compiler warnings for the Ruby interface.
2050Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
2051 closes #5677)
2052Files: src/if_ruby.c
2053
2054Patch 8.2.0298
2055Problem: Vim9 script: cannot start command with a string constant.
2056Solution: Recognize expression starting with '('.
2057Files: src/ex_docmd.c, src/vim9compile.c,
2058 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
2059
2060Patch 8.2.0299
2061Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
2062 not tested.
2063Solution: Add tests. Add test_unknown() and test_void().
2064Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
2065 src/testdir/test_vim9_disassemble.vim,
2066 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
2067 runtime/doc/testing.txt
2068
2069Patch 8.2.0300
2070Problem: Vim9: expression test fails without channel support.
2071Solution: Add has('channel') check.
2072Files: src/testdir/test_vim9_expr.vim
2073
2074Patch 8.2.0301
2075Problem: Insufficient testing for exception handling and the "attention"
2076 prompt.
2077Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
2078Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
2079
2080Patch 8.2.0302
2081Problem: Setting 'term' may cause error in TermChanged autocommand.
2082Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
2083 is to be executed. (closes #5682)
2084Files: src/term.c, src/testdir/test_autocmd.vim
2085
2086Patch 8.2.0303
2087Problem: TermChanged test fails in the GUI.
2088Solution: Skip the test when running the GUI.
2089Files: src/testdir/test_autocmd.vim
2090
2091Patch 8.2.0304
2092Problem: Terminal test if failing on some systems.
2093Solution: Wait for the job to finish. (James McCoy)
2094Files: src/testdir/test_terminal.vim
2095
2096Patch 8.2.0305
2097Problem: Relativenumber test fails on some systems. (James McCoy)
2098Solution: Clear the command line.
2099Files: src/testdir/test_number.vim,
2100 src/testdir/dumps/Test_relnr_colors_2.dump,
2101 src/testdir/dumps/Test_relnr_colors_3.dump
2102
2103Patch 8.2.0306
2104Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
2105Solution: Remember starting with a colon. (closes #5676)
2106Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
2107
2108Patch 8.2.0307
2109Problem: Python 3 vim.eval not well tested.
2110Solution: Add a test. (Dominique Pellé, closes #5680)
2111Files: src/testdir/test_python3.vim
2112
2113Patch 8.2.0308
2114Problem: 'showbreak' does not work for a very long line. (John Little)
2115Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
2116 closes #5684)
2117Files: src/drawline.c, src/testdir/test_breakindent.vim
2118
2119Patch 8.2.0309
2120Problem: Window-local values have confusing name.
2121Solution: Rename w_p_bri* to w_briopt_*.
2122Files: src/structs.h, src/indent.c, src/drawline.c
2123
2124Patch 8.2.0310
2125Problem: Autocmd test fails on a slow system.
2126Solution: Adjust the expectations. (James McCoy, closes #5685)
2127Files: src/testdir/test_autocmd.vim
2128
2129Patch 8.2.0311
2130Problem: Vim9: insufficient script tests.
2131Solution: Add tests. Free imports when re-using a script.
2132Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2133
2134Patch 8.2.0312
2135Problem: Vim9: insufficient script tests.
2136Solution: Add more tests. Make "import * as Name" work.
2137Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2138 src/proto/vim9script.pro, src/vim9compile.c
2139
2140Patch 8.2.0313
2141Problem: Vim9: insufficient script tests.
2142Solution: Add tests. Make import of alphanumeric name work.
2143Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2144
2145Patch 8.2.0314
2146Problem: Short name not set for terminal buffer.
2147Solution: Set the short name. (closes #5687)
2148Files: src/terminal.c, src/testdir/test_terminal.vim
2149
2150Patch 8.2.0315
2151Problem: Build failure on HP-UX system.
2152Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2153 statement. (John Marriott)
2154Files: src/structs.h, src/json.c
2155
2156Patch 8.2.0316
2157Problem: ex_getln.c code has insufficient test coverage.
2158Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2159Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2160 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2161 src/testdir/test_menu.vim
2162
2163Patch 8.2.0317
2164Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2165Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2166Files: src/Make_mvc.mak
2167
2168Patch 8.2.0318
2169Problem: Vim9: types not sufficiently tested.
2170Solution: Add tests with more types.
2171Files: src/globals.h, src/vim9compile.c,
2172 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2173
2174Patch 8.2.0319
2175Problem: File missing in distribution, comments outdated.
2176Solution: Correct path of README file. Update comments.
2177Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2178
2179Patch 8.2.0320
2180Problem: No Haiku support.
2181Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2182Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2183 runtime/doc/gui.txt, runtime/doc/help.txt,
2184 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2185 runtime/doc/starting.txt, runtime/doc/tags,
2186 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2187 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2188 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2189 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2190 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2191 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2192 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2193 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2194
2195Patch 8.2.0321
2196Problem: Vim9: ":execute" does not work yet.
2197Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2198 than one argument.
2199Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2200 src/testdir/test_vim9_disassemble.vim,
2201 src/testdir/test_vim9_script.vim
2202
2203Patch 8.2.0322
2204Problem: Vim9: error checks not tested.
2205Solution: Add more test cases. Avoid error for function loaded later.
2206Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2207
2208Patch 8.2.0323
2209Problem: Vim9: calling a function that is defined later is slow.
2210Solution: Once the function is found update the instruction so it can be
2211 called directly.
2212Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2213 src/testdir/test_vim9_disassemble.vim
2214
2215Patch 8.2.0324
2216Problem: Text property not updated correctly when inserting/deleting.
2217Solution: Use the right column when deleting. Make zero-width text
2218 properties respect start_incl and end_incl. (Axel Forsman,
2219 closes #5696, closes #5679)
2220Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2221 src/testdir/test_textprop.vim
2222
2223Patch 8.2.0325
2224Problem: Ex_getln.c code not covered by tests.
2225Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2226Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2227 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2228 src/testdir/test_options.vim
2229
2230Patch 8.2.0326
2231Problem: Compiler warning for using uninitialized variable. (Yegappan
2232 Lakshmanan)
2233Solution: Do not jump to failed but return.
2234Files: src/vim9execute.c
2235
2236Patch 8.2.0327
2237Problem: Crash when opening and closing two popup terminal windows.
2238Solution: Check that prevwin is valid. (closes #5707)
2239Files: src/popupwin.c, src/testdir/test_terminal.vim
2240
2241Patch 8.2.0328
2242Problem: No redraw when leaving terminal-normal mode in a terminal popup
2243 window.
2244Solution: Redraw the popup window. (closes #5708)
2245Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2246 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2247 src/testdir/dumps/Test_terminal_popup_7.dump,
2248 src/testdir/dumps/Test_terminal_popup_8.dump
2249
2250Patch 8.2.0329
2251Problem: Popup filter converts 0x80 bytes.
2252Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2253Files: src/popupwin.c, src/testdir/test_popupwin.vim
2254
2255Patch 8.2.0330
2256Problem: Build error with popup window but without terminal.
2257Solution: Add #ifdef.
2258Files: src/popupwin.c
2259
2260Patch 8.2.0331
2261Problem: Internal error when using test_void() and test_unknown().
2262 (Dominique Pellé)
2263Solution: Give a normal error.
2264Files: src/evalfunc.c, src/testdir/test_functions.vim,
2265 src/testdir/test_vimscript.vim
2266
2267Patch 8.2.0332
2268Problem: Some code in ex_getln.c not covered by tests.
2269Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2270Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2271
2272Patch 8.2.0333
2273Problem: Terminal in popup test is flaky.
2274Solution: Make sure redraw is done before opening the popup.
2275Files: src/testdir/test_terminal.vim,
2276 src/testdir/dumps/Test_terminal_popup_1.dump
2277
2278Patch 8.2.0334
2279Problem: Abort called when using test_void(). (Dominique Pellé)
2280Solution: Only give an error, don't abort.
2281Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2282 src/eval.c, src/json.c, src/testdir/test_functions.vim
2283
2284Patch 8.2.0335
2285Problem: No completion for :disassemble.
2286Solution: Make completion work. Also complete script-local functions if the
2287 name starts with "s:".
2288Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2289 runtime/doc/vim9.txt
2290
2291Patch 8.2.0336
2292Problem: Vim9: insufficient test coverage for compiling.
2293Solution: Add more tests.
2294Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2295 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2296
2297Patch 8.2.0337
2298Problem: Build fails on a few systems.
2299Solution: Use vim_snprintf() instead of snprintf().
2300Files: src/cmdexpand.c
2301
2302Patch 8.2.0338
2303Problem: Build failure without the channel feature.
2304Solution: Add #ifdef
2305Files: src/vim9compile.c
2306
2307Patch 8.2.0339
2308Problem: Vim9: function return type may depend on arguments.
2309Solution: Instead of a fixed return type use a function to figure out the
2310 return type.
2311Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2312 src/evalbuffer.c, src/proto/evalbuffer.pro,
2313 src/testdir/test_vim9_script.vim
2314
2315Patch 8.2.0340
2316Problem: Vim9: function and partial types not tested.
2317Solution: Support more for partial, add tests.
2318Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2319 src/testdir/test_vim9_script.vim
2320
2321Patch 8.2.0341
2322Problem: Using ":for" in Vim9 script gives an error.
2323Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2324Files: src/eval.c, src/testdir/test_vim9_script.vim
2325
2326Patch 8.2.0342
2327Problem: Some code in ex_getln.c not covered by tests.
2328Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2329Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2330 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2331
2332Patch 8.2.0343
2333Problem: Vim9: using wrong instruction, limited test coverage.
2334Solution: Use ISN_PUSHJOB. Add a few more tests.
2335Files: src/vim9compile.c, src/vim9execute.c,
2336 src/testdir/test_vim9_script.vim,
2337 src/testdir/test_vim9_disassemble.vim
2338
2339Patch 8.2.0344
2340Problem: ":def" not skipped properly.
2341Solution: Add CMD_def to list of commands the require evaluation even when
2342 not being executed.
2343Files: src/ex_docmd.c
2344
2345Patch 8.2.0345
2346Problem: Compiler warning when building without the float feature.
2347Solution: Add #ifdef. (John Marriott)
2348Files: src/evalfunc.c
2349
2350Patch 8.2.0346
2351Problem: Vim9: finding common list type not tested.
2352Solution: Add more tests. Fix listing function. Fix overwriting type.
2353Files: src/vim9compile.c, src/userfunc.c,
2354 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2355 src/testdir/test_vim9_disassemble.vim
2356
2357Patch 8.2.0347
2358Problem: Various code not covered by tests.
2359Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2360Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2361 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2362 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2363
2364Patch 8.2.0348
2365Problem: Vim9: not all code tested.
2366Solution: Add a few more tests. fix using "b:" in literal dictionary.
2367Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2368 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2369
2370Patch 8.2.0349
2371Problem: Vim9: constant expression not well tested.
2372Solution: Add tests for "if" with constant expression.
2373Files: src/testdir/test_vim9_script.vim
2374
2375Patch 8.2.0350
2376Problem: Vim9: expression tests don't use recognized constants.
2377Solution: Recognize "true" and "false" as constants. Make skipping work for
2378 assignment and expression evaluation.
2379Files: src/vim9compile.c
2380
2381Patch 8.2.0351
2382Problem: Terminal in popup test is still a bit flaky.
2383Solution: Clear and redraw before opening the popup.
2384Files: src/testdir/test_terminal.vim
2385
2386Patch 8.2.0352
2387Problem: FreeBSD: test for sourcing utf-8 is skipped.
2388Solution: Run the matchadd_conceal test separately to avoid that setting
2389 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2390 closes #5721)
2391Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2392 src/testdir/test_source_utf8.vim
2393
2394Patch 8.2.0353
2395Problem: Vim9: while loop not tested.
2396Solution: Add test with "while", "break" and "continue"
2397Files: src/testdir/test_vim9_script.vim
2398
2399Patch 8.2.0354
2400Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2401Solution: Remove it, it was only for debugging.
2402Files: src/if_python3.c
2403
2404Patch 8.2.0355
2405Problem: Vim9: str_val is confusing, it's a number
2406Solution: Rename to stnr_val.
2407Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2408
2409Patch 8.2.0356
2410Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2411Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2412 Takata, closes #5726)
2413Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2414
2415Patch 8.2.0357
2416Problem: Cannot delete a text property matching both id and type. (Axel
2417 Forsman)
2418Solution: Add the "both" argument.
2419Files: src/textprop.c, runtime/doc/textprop.txt,
2420 src/testdir/test_textprop.vim
2421
2422Patch 8.2.0358
2423Problem: Insufficient testing for indent.c.
2424Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2425Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2426 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2427 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2428 src/testdir/test_vartabs.vim
2429
2430Patch 8.2.0359
2431Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2432Solution: Take the decoration into account. (closes #5728)
2433Files: src/popupwin.c, src/testdir/test_popupwin.vim
2434
2435Patch 8.2.0360
2436Problem: Yaml files are only recognized by the file extension.
2437Solution: Check for a line starting with "%YAML". (Jason Franklin)
2438Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2439
2440Patch 8.2.0361
2441Problem: Internal error when using "0" for a callback.
2442Solution: Give a normal error. (closes #5743)
2443Files: src/evalvars.c, src/testdir/test_timers.vim
2444
2445Patch 8.2.0362
2446Problem: MS-Windows: channel test fails if grep is not available.
2447Solution: Use another command. (Ken Takata, closes #5739)
2448Files: src/testdir/test_channel.vim
2449
2450Patch 8.2.0363
2451Problem: Some Normal mode commands not tested.
2452Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2453Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2454 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2455 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2456 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2457
2458Patch 8.2.0364
2459Problem: Printf test failing on Haiku.
2460Solution: Make a difference between int and short. (Dominique Pellé,
2461 closes #5749)
2462Files: src/message.c
2463
2464Patch 8.2.0365
2465Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2466Solution: Recognize multibyte character. (closes #5724)
2467Files: src/tag.c, src/testdir/test_taglist.vim
2468
2469Patch 8.2.0366
2470Problem: Hardcopy command not tested enough.
2471Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2472Files: src/testdir/test_hardcopy.vim
2473
2474Patch 8.2.0367
2475Problem: Can use :pedit in a popup window.
2476Solution: Disallow it.
2477Files: src/ex_docmd.c, src/testdir/test_popuwin.vim
2478
2479Patch 8.2.0368
2480Problem: Vim9: import that redefines local variable does not fail.
2481Solution: Check for already defined symbols.
2482Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2483 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2484
2485Patch 8.2.0369
2486Problem: Various Normal mode commands not fully tested.
2487Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2488Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2489 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2490 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2491 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2492 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2493 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2494 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2495 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2496 src/testdir/test_visual.vim
2497
2498Patch 8.2.0370
2499Problem: The typebuf_was_filled flag is sometimes not reset, which may
2500 cause a hang.
2501Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2502 empty.
2503Files: src/edit.c, src/getchar.c,
2504
2505Patch 8.2.0371
2506Problem: Crash with combination of terminal popup and autocmd.
2507Solution: Disallow closing a popup that is the current window. Add a check
2508 that the current buffer is valid. (closes #5754)
2509Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2510 src/testdir/test_terminal.vim
2511
2512Patch 8.2.0372
2513Problem: Prop_find() may not find text property at start of the line.
2514Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2515 closes #5663)
2516Files: src/testprop.c, src/testdir/test_textprop.vim
2517
2518Patch 8.2.0373
2519Problem: Type of term_sendkeys() is unknown.
2520Solution: Just return zero. (closes #5762)
2521Files: src/terminal.c, src/testdir/test_terminal.vim
2522
2523Patch 8.2.0374
2524Problem: Using wrong printf directive for jump location.
2525Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2526Files: src/vim9execute.c
2527
2528Patch 8.2.0375
2529Problem: Coverity warning for not using return value.
2530Solution: Move error message to separate function.
2531Files: src/popupwin.c
2532
2533Patch 8.2.0376
2534Problem: Nasty callback test fails on some systems.
2535Solution: Increase the sleep time.
2536Files: src/testdir/test_terminal.vim
2537
2538Patch 8.2.0377
2539Problem: No CI test for a big-endian system.
2540Solution: Test with s390x. (James McCoy, closes #5772)
2541Files: .travis.yml
2542
2543Patch 8.2.0378
2544Problem: prop_find() does not find all props.
2545Solution: Check being in the start line. (Axel Forsman, closes #5776)
2546Files: src/textprop.c, src/testdir/test_textprop.vim
2547
2548Patch 8.2.0379
2549Problem: Gcc warns for ambiguous else.
2550Solution: Add braces. (Dominique Pellé, closes #5778)
2551Files: src/textprop.c
2552
2553Patch 8.2.0380
2554Problem: Tiny popup when creating a terminal popup without minwidth.
2555Solution: Use a default minimum size of 5 lines of 20 characters.
2556Files: src/popupwin.c, src/testdir/test_terminal.vim,
2557 src/testdir/dumps/Test_terminal_popup_m1.dump
2558
2559Patch 8.2.0381
2560Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2561 POC by Dominique Pellé)
2562Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2563Files: src/quickfix.c, src/testdir/test_quickfix.vim
2564
2565Patch 8.2.0382
2566Problem: Some tests fail when run under valgrind.
2567Solution: Increase timeouts.
2568Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2569 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2570 src/testdir/test_terminal.vim,
2571 src/testdir/dumps/Test_terminal_popup_1.dump,
2572 src/testdir/dumps/Test_terminal_popup_2.dump,
2573 src/testdir/dumps/Test_terminal_popup_3.dump,
2574 src/testdir/dumps/Test_terminal_popup_5.dump,
2575 src/testdir/dumps/Test_terminal_popup_6.dump,
2576 src/testdir/dumps/Test_terminal_popup_7.dump,
2577 src/testdir/dumps/Test_terminal_popup_8.dump,
2578 src/testdir/dumps/Test_terminal_popup_m1.dump
2579
2580Patch 8.2.0383
2581Problem: Wrong feature check causes test not to be run.
2582Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2583 closes #5781)
2584Files: src/testdir/test_channel.vim
2585
2586Patch 8.2.0384
2587Problem: Travis CI has warnings.
2588Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2589Files: .travis.yml
2590
2591Patch 8.2.0385
2592Problem: Menu functionality insufficiently tested.
2593Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2594Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2595 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2596 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2597 src/testdir/test_termcodes.vim
2598
2599Patch 8.2.0386 (after 8.2.0385)
2600Problem: Part from unfinished patch got included.
2601Solution: Undo that part.
2602Files: src/evalfunc.c
2603
2604Patch 8.2.0387
2605Problem: Error for possible NULL argument to qsort().
2606Solution: Don't call qsort() when there is nothing to sort. (Dominique
2607 Pellé, closes #5780)
2608Files: src/spellsuggest.c
2609
2610Patch 8.2.0388
2611Problem: Printmbcharset option not tested.
2612Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2613 Pellé, closes #5783)
2614Files: appveyor.yml, src/testdir/test_hardcopy.vim
2615
2616Patch 8.2.0389
2617Problem: Delayed redraw when shifting text from Insert mode.
2618Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2619Files: src/ops.c
2620
2621Patch 8.2.0390
2622Problem: Terminal postponed scrollback test is flaky.
2623Solution: Add delay in between sending keys. Rename dump files.
2624Files: src/testdir/test_terminal.vim,
2625 src/testdir/dumps/Test_terminal_01.dump,
2626 src/testdir/dumps/Test_terminal_02.dump,
2627 src/testdir/dumps/Test_terminal_03.dump,
2628 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2629 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2630 src/testdir/dumps/Test_terminal_scrollback_3.dump
2631
2632Patch 8.2.0391 (after 8.2.0377)
2633Problem: CI test coverage dropped.
2634Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2635Files: .travis.yml
2636
2637Patch 8.2.0392
2638Problem: Coverity warns for using array index out of range.
2639Solution: Add extra "if" to avoid warning.
2640Files: src/menu.c
2641
2642Patch 8.2.0393
2643Problem: Coverity warns for not using return value.
2644Solution: Add (void).
2645Files: src/popupmenu.c
2646
2647Patch 8.2.0394
2648Problem: Coverity complains about using NULL pointer.
2649Solution: Use empty string when option value is NULL.
2650Files: src/optionstr.c
2651
2652Patch 8.2.0395
2653Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2654Solution: Add #ifdef. (John Marriott)
2655Files: src/evalfunc.c
2656
2657Patch 8.2.0396
2658Problem: Cmdexpand.c insufficiently tested.
2659Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2660Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2661 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2662
2663Patch 8.2.0397
2664Problem: Delayed screen update when using undo from Insert mode.
2665Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2666Files: src/normal.c
2667
2668Patch 8.2.0398
2669Problem: Profile test fails when two functions take same time.
2670Solution: Add a short sleep in once function. (closes #5797)
2671Files: src/testdir/test_profile.vim
2672
2673Patch 8.2.0399
2674Problem: Various memory leaks.
2675Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2676Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2677 src/scriptfile.c, src/userfunc.c
2678
2679Patch 8.2.0400
2680Problem: Not all tests using a terminal are in the list of flaky tests.
2681Solution: Introduce the test_is_flaky flag.
2682Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2683 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2684
2685Patch 8.2.0401
2686Problem: Not enough test coverage for evalvars.c.
2687Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2688Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2689 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2690 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2691 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2692 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2693 src/testdir/test_vimscript.vim
2694
2695Patch 8.2.0402 (after 8.2.0401)
2696Problem: Setting local instead of global flag.
2697Solution: Prepend "g:" to "test_is_flaky".
2698Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2699 src/testdir/test_autocmd.vim
2700
2701Patch 8.2.0403
2702Problem: When 'buftype' is "nofile" there is no overwrite check.
2703Solution: Also check for existing file when 'buftype' is set.
2704 (closes #5807)
2705Files: src/ex_cmds.c, src/testdir/test_options.vim
2706
2707Patch 8.2.0404
2708Problem: Writefile() error does not give a hint.
2709Solution: Add remark about first argument.
2710Files: src/filepath.c, src/testdir/test_writefile.vim
2711
2712Patch 8.2.0405
2713Problem: MSVC: build fails with some combination of features.
2714Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2715Files: src/Make_mvc.mak
2716
2717Patch 8.2.0406
2718Problem: FileReadCmd event not well tested.
2719Solution: Add a test.
2720Files: src/testdir/test_autocmd.vim
2721
2722Patch 8.2.0407
2723Problem: No early check if :find and :sfind have an argument.
2724Solution: Add EX_NEEDARG.
2725Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
2726 src/testdir/test_find_complete.vim
2727
2728Patch 8.2.0408
2729Problem: Delete() commented out for testing.
2730Solution: Undo commenting-out.
2731Files: src/testdir/test_vim9_disassemble.vim
2732
2733Patch 8.2.0409
2734Problem: Search test leaves file behind.
2735Solution: Delete the file. Also use Check commands.
2736Files: src/testdir/test_search.vim
2737
2738Patch 8.2.0410
2739Problem: Channel test fails too often on slow Mac.
2740Solution: Increase waiting time to 10 seconds.
2741Files: src/testdir/test_channel.vim
2742
2743Patch 8.2.0411
2744Problem: Mac: breakcheck is using a value from the stone ages.
2745Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
2746Files: src/os_mac.h
2747
2748Patch 8.2.0412
2749Problem: MS-Windows: cannot use vimtutor from the start menu.
2750Solution: Better check for writable directory. Use the right path for the
2751 executable. (Wu Yongwei, closes #5774, closes #5756)
2752Files: vimtutor.bat
2753
2754Patch 8.2.0413
2755Problem: Buffer menu does not handle special buffers properly.
2756Solution: Keep a dictionary with buffer names to reliably keep track of
2757 entries.
2758 Also trigger BufFilePre and BufFilePost for command-line and
2759 terminal buffers when the name changes.
2760Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
2761 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
2762 src/testdir/test_menu.vim
2763
2764Patch 8.2.0414
2765Problem: Channel connect_waittime() test is flaky.
2766Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
2767Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
2768 src/testdir/runtest.vim
2769
2770Patch 8.2.0415
2771Problem: Bsdl filetype is not detected.
2772Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
2773Files: runtime/filetype.vim, src/testdir/test_filetype.vim
2774
2775Patch 8.2.0416
2776Problem: Test leaves file behind.
2777Solution: Delete the file.
2778Files: src/testdir/test_indent.vim
2779
2780Patch 8.2.0417
2781Problem: Travis CI config can be improved.
2782Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
2783 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
2784Files: .travis.yml, ci/load-snd-dummy.sh
2785
2786Patch 8.2.0418
2787Problem: Code in eval.c not sufficiently covered by tests.
2788Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
2789Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
2790 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
2791 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
2792 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
2793 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
2794 src/testdir/test_marks.vim, src/testdir/test_method.vim,
2795 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
2796 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
2797 src/testdir/test_window_cmd.vim
2798
2799Patch 8.2.0419
2800Problem: Various memory leaks in Vim9 script code.
2801Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
2802Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
2803 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
2804 src/vim9execute.c, src/vim9script.c
2805
2806Patch 8.2.0420
2807Problem: Vim9: cannot interrupt a loop with CTRL-C.
2808Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
2809Files: src/misc1.c, src/proto/misc1.pro,
2810 src/testdir/test_vim9_script.vim
2811
2812Patch 8.2.0421
2813Problem: Interrupting with CTRL-C does not always work.
2814Solution: Recognize CTRL-C while modifyOtherKeys is set.
2815Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
2816
2817Patch 8.2.0422
2818Problem: Crash when passing popup window to win_splitmove(). (john Devin)
2819Solution: Disallow moving a popup window. (closes #5816)
2820Files: src/testdir/test_popupwin.vim, src/evalwindow.c
2821
2822Patch 8.2.0423
2823Problem: In some environments a few tests are expected to fail.
2824Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
2825 fail.
2826Files: src/testdir/runtest.vim
2827
2828Patch 8.2.0424
2829Problem: Checking for wrong return value. (Tom)
2830Solution: Invert the check and fix the test.
2831Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2832
2833Patch 8.2.0425
2834Problem: Code for modeless selection not sufficiently tested.
2835Solution: Add tests. Move mouse code functionality to a common script file.
2836 (Yegappan Lakshmanan, closes #5821)
2837Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
2838 src/testdir/mouse.vim, src/testdir/test_edit.vim,
2839 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
2840 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
2841 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
2842 src/ui.c
2843
2844Patch 8.2.0426
2845Problem: Some errors were not tested for.
2846Solution: Add tests. (Dominique Pellé, closes #5824)
2847Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
2848 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
2849 src/testdir/test_window_cmd.vim
2850
2851Patch 8.2.0427
2852Problem: It is not possible to check for a typo in a feature name.
2853Solution: Add an extra argument to has().
2854Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
2855 src/testdir/test_functions.vim
2856
2857Patch 8.2.0428
2858Problem: Buffer name may leak.
2859Solution: Free the buffer name before overwriting it.
2860Files: src/terminal.c
2861
2862Patch 8.2.0429
2863Problem: No warning when test checks for option that never exists.
2864Solution: In tests check that the option can exist.
2865Files: src/testdir/check.vim
2866
2867Patch 8.2.0430
2868Problem: Window creation failure not properly tested.
2869Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
2870Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
2871
2872Patch 8.2.0431
2873Problem: Some compilers don't support using \e for Esc. (Yegappan
2874 Lakshmanan)
2875Solution: use \033 instead.
2876Files: src/ui.c
2877
2878Patch 8.2.0432
2879Problem: A few tests fail in a huge terminal.
2880Solution: Make the tests pass. (Dominique Pellé, closes #5829)
2881Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
2882 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
2883 src/testdir/test_window_cmd.vim
2884
2885Patch 8.2.0433
2886Problem: INT signal not properly tested.
2887Solution: Add a test. Also clean up some unnecessary lines. (Dominique
2888 Pellé, closes #5828)
2889Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
2890 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
2891 src/testdir/test_signals.vim
2892
2893Patch 8.2.0434
2894Problem: MS-Windows with VTP: Normal color not working.
2895Solution: After changing the Normal color update the VTP console color.
2896 (Nobuhiro Takasaki, closes #5836)
2897Files: src/highlight.c
2898
2899Patch 8.2.0435
2900Problem: Channel contents might be freed twice.
2901Solution: Call either channel_free_channel() or channel_free(), not both.
2902 (Nobuhiro Takasaki, closes #5835)
2903Files: src/channel.c
2904
2905Patch 8.2.0436
2906Problem: No warnings for incorrect printf arguments.
2907Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
2908 Pellé, closes #5834)
2909Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
2910 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
2911
2912Patch 8.2.0437
2913Problem: MS-Windows installer contains old stuff.
2914Solution: Rely on Windows NT. (Ken Takata, closes #5832)
2915Files: src/dosinst.c
2916
2917Patch 8.2.0438
2918Problem: Terminal noblock test is very flaky on BSD.
2919Solution: Change WaitFor() to WaitForAssert() to be able to see why it
2920 failed. Add a short wait in between sending keys.
2921Files: src/testdir/test_terminal.vim
2922
2923Patch 8.2.0439
2924Problem: :disassemble has minor flaws.
2925Solution: Format the code. Use (int) instead of (char) for %c.
2926 (also by James McCoy, closes #5831)
2927Files: src/vim9execute.c
2928
2929Patch 8.2.0440
2930Problem: Terminal noblock test is still very flaky on BSD.
2931Solution: Increase the waiting time.
2932Files: src/testdir/test_terminal.vim
2933
2934Patch 8.2.0441
2935Problem: Terminal noblock test is still failing on BSD.
2936Solution: Reduce the amount of text.
2937Files: src/testdir/test_terminal.vim
2938
2939Patch 8.2.0442
2940Problem: Channel contents might be used after being freed.
2941Solution: Reset the job channel before freeing the channel.
2942Files: src/channel.c
2943
2944Patch 8.2.0443
2945Problem: Clipboard code is spread out.
2946Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
2947 closes #5827)
2948Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
2949 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
2950 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
2951 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
2952 src/register.c, src/ui.c
2953
2954Patch 8.2.0444
2955Problem: Swap file test fails on some systems.
2956Solution: Preserve the swap file. Send NL terminated keys.
2957Files: src/testdir/test_swap.vim
2958
2959Patch 8.2.0445
2960Problem: Png and xpm files not in MS-Windows zip file.
2961Solution: Move files to shared between Unix and Windows target.
2962Files: Filelist
2963
2964Patch 8.2.0446
2965Problem: Listener with undo of deleting all lines not tested.
2966Solution: Add a test.
2967Files: src/testdir/test_listener.vim
2968
2969Patch 8.2.0447
2970Problem: Terminal scroll tests fails on some systems.
2971Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
2972 scrolling has finished. (James McCoy, closes #5842)
2973Files: src/testdir/test_terminal.vim
2974
2975Patch 8.2.0448
2976Problem: Various functions not properly tested.
2977Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
2978 closes #5843)
2979Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
2980 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
2981 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
2982 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
2983 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
2984 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
2985 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
2986 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
2987 src/testdir/test_search.vim, src/testdir/test_spell.vim,
2988 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
2989 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
2990 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
2991 src/testdir/test_window_cmd.vim
2992
2993Patch 8.2.0449
2994Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
2995Solution: Always return some type, not NULL.
2996Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
2997
2998Patch 8.2.0450
2999Problem: Not enough testing for restricted mode and function calls.
3000Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
3001Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
3002 src/testdir/test_vim9_script.vim
3003
3004Patch 8.2.0451
3005Problem: Win32: double-width character displayed incorrectly.
3006Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
3007 closes #5848)
3008Files: src/os_win32.c
3009
3010Patch 8.2.0452
3011Problem: channel_parse_messages() fails when called recursively.
3012Solution: Return for a recursive call. (closes #5835)
3013Files: src/channel.c
3014
3015Patch 8.2.0453
3016Problem: Trailing space in job_start() command causes empty argument.
3017Solution: Ignore trailing space. (closes #5851)
3018Files: src/misc2.c, src/testdir/test_channel.vim
3019
3020Patch 8.2.0454
3021Problem: Some tests fail when the system is slow.
3022Solution: Make the run number global, use in the test to increase the
3023 waiting time. (closes #5841)
3024Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
3025
3026Patch 8.2.0455
3027Problem: Cannot set the highlight group for a specific terminal.
3028Solution: Add the "highlight" option to term_start(). (closes #5818)
3029Files: src/terminal.c, src/structs.h, src/channel.c,
3030 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
3031 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
3032 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
3033
3034Patch 8.2.0456
3035Problem: Test_confirm_cmd is flaky.
3036Solution: Add a term_wait() call. (closes #5854)
3037Files: src/testdir/test_excmd.vim
3038
3039Patch 8.2.0457
3040Problem: Test_quotestar() often fails when run under valgrind.
3041Solution: Wait longer for the GUI to start.
3042Files: src/testdir/test_quotestar.vim
3043
3044Patch 8.2.0458
3045Problem: Missing feature check in test function.
3046Solution: Add check commands.
3047Files: src/testdir/test_excmd.vim
3048
3049Patch 8.2.0459
3050Problem: Cannot check if a function name is correct.
3051Solution: Add "?funcname" to exists().
3052Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
3053 src/testdir/check.vim
3054
3055Patch 8.2.0460 (after 8.2.0459)
3056Problem: Build failure because of wrong feature name.
3057Solution: Correct feature name.
3058Files: src/evalfunc.c
3059
3060Patch 8.2.0461
3061Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
3062Solution: Add an extra WaitForAssert(). (Dominique Pellé)
3063Files: src/testdir/test_excmd.vim
3064
3065Patch 8.2.0462
3066Problem: Previewwindow test fails on some systems. (James McCoy)
3067Solution: Wait a bit after sending the "o". (closes #5849)
3068Files: src/testdir/test_popup.vim,
3069 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
3070
3071Patch 8.2.0463
3072Problem: Build error without float and channel feature. (John Marriott)
3073Solution: Define return types always.
3074Files: src/globals.h, src/evalfunc.c
3075
3076Patch 8.2.0464
3077Problem: Typos and other small problems.
3078Solution: Fix the typos. Add missing files to the distribution.
3079Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
3080 src/os_unixx.h, src/proto/popupwin.pro
3081
3082Patch 8.2.0465
3083Problem: Vim9: dead code and wrong return type.
3084Solution: Remove dead code. Fix return type. Add more tests.
3085Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3086
3087Patch 8.2.0466 (after 8.2.0452)
3088Problem: Not parsing messages recursively breaks the govim plugin.
3089Solution: When called recursively do handle messages but do not close
3090 channels.
3091Files: src/channel.c
3092
3093Patch 8.2.0467
3094Problem: Vim9: some errors are not tested
3095Solution: Add more tests. Fix that Vim9 script flag is not reset.
3096Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
3097 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3098
3099Patch 8.2.0468
3100Problem: GUI: pixel dust with some fonts and characters.
3101Solution: Always redraw the character before the cursor. (Nir Lichtman,
3102 closes #5549, closes #5856)
3103Files: src/gui.c, src/proto/gui.pro, src/screen.c
3104
3105Patch 8.2.0469
3106Problem: Vim9: no error for missing ] after list.
3107Solution: Add error message. Add more tests.
3108Files: src/globals.h, src/list.c, src/userfunc.c,
3109 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
3110
3111Patch 8.2.0470
3112Problem: Test_confirm_cmd_cancel() can fail on a slow system.
3113Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
3114Files: src/testdir/test_excmd.vim
3115
3116Patch 8.2.0471
3117Problem: Missing change to compile_list().
3118Solution: Add error message.
3119Files: src/vim9compile.c
3120
3121Patch 8.2.0472
3122Problem: Terminal highlight name is set twice, leaking memory.
3123Solution: Delete one.
3124Files: src/terminal.c
3125
3126Patch 8.2.0473
3127Problem: Variables declared in an outer scope.
3128Solution: Declare variables only in the scope where they are used.
3129Files: src/evalvars.c
3130
3131Patch 8.2.0474 (after 8.2.0403)
3132Problem: Cannot use :write when using a plugin with BufWriteCmd.
3133Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3134Files: src/fileio.c, src/testdir/test_autocmd.vim
3135
3136Patch 8.2.0475
3137Problem: Channel out_cb test still fails sometimes on Mac.
3138Solution: Use an even longer timeout.
3139Files: src/testdir/test_channel.vim
3140
3141Patch 8.2.0476
3142Problem: Terminal nasty callback test fails sometimes.
3143Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3144Files: src/testdir/test_terminal.vim
3145
3146Patch 8.2.0477
3147Problem: Vim9: error messages not tested.
3148Solution: Add more tests.
3149Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3150
3151Patch 8.2.0478
3152Problem: New buffers are not added to the Buffers menu.
3153Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3154Files: runtime/menu.vim, src/testdir/test_menu.vim
3155
3156Patch 8.2.0479
3157Problem: Unloading shared libraries on exit has no purpose.
3158Solution: Do not unload shared libraries on exit.
3159Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3160 src/if_ruby.c, src/if_tcl.c
3161
3162Patch 8.2.0480
3163Problem: Vim9: some code is not tested.
3164Solution: Add more tests.
3165Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3166
3167Patch 8.2.0481
3168Problem: Travis is still using trusty.
3169Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3170Files: .travis.yml, src/testdir/lsan-suppress.txt
3171
3172Patch 8.2.0482
3173Problem: Channel and sandbox code not sufficiently tested.
3174Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3175Files: src/option.h, src/testdir/test_channel.vim,
3176 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3177 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3178 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3179 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3180 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3181 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3182
3183Patch 8.2.0483
3184Problem: Vim9: "let x = x + 1" does not give an error.
3185Solution: Hide the variable when compiling the expression.
3186Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3187
3188Patch 8.2.0484
3189Problem: Vim9: some error messages not tested.
3190Solution: Add more tests.
3191Files: src/testdir/test_vim9_expr.vim
3192
3193Patch 8.2.0485 (after 8.2.0483)
3194Problem: Vim9 script test fails.
3195Solution: Stricter condition for adding new local variable.
3196Files: Stricter condition for adding new local variable.
3197
3198Patch 8.2.0486
3199Problem: Vim9: some code and error messages not tested.
3200Solution: Add more tests.
3201Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3202 src/testdir/test_vim9_script.vim
3203
3204Patch 8.2.0487
3205Problem: Vim9: compiling not sufficiently tested.
3206Solution: Add more tests. Fix bug with PCALL.
3207Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3208 src/testdir/test_vim9_script.vim,
3209 src/testdir/test_vim9_disassemble.vim
3210
3211Patch 8.2.0488
3212Problem: Vim9: Compiling can break when using a lambda inside :def.
3213Solution: Do not keep a pointer to the dfunc_T for longer time.
3214Files: src/vim9compile.c, src/vim9.h
3215
3216Patch 8.2.0489
3217Problem: Vim9: memory leaks.
3218Solution: Free memory in the right place. Add hints for using asan.
3219Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3220
3221Patch 8.2.0490
3222Problem: Win32: VTP doesn't respect 'restorescreen'.
3223Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3224 Takasaki, closes #5872)
3225Files: src/os_win32.c
3226
3227Patch 8.2.0491
3228Problem: Cannot recognize a <script> mapping using maparg().
3229Solution: Add the "script" key. (closes #5873)
3230Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3231
3232Patch 8.2.0492
3233Problem: Vim9: some error messages not tested.
3234Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3235Files: src/vim9compile.c, src/vim9execute.c,
3236 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3237
3238Patch 8.2.0493
3239Problem: Vim9: some error messages not tested.
3240Solution: Add more tests. Fix uncovered bugs.
3241Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3242 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3243 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3244
3245Patch 8.2.0494
3246Problem: Vim9: asan error.
3247Solution: Only get the type when there is one.
3248Files: src/vim9compile.c
3249
3250Patch 8.2.0495
3251Problem: Vim9: some code not tested.
3252Solution: Add more tests. Support more const expressions.
3253Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3254
3255Patch 8.2.0496
3256Problem: Vim9: disassemble test fails.
3257Solution: Separate test cases with recognized constant expressions.
3258Files: src/testdir/test_vim9_disassemble.vim
3259
3260Patch 8.2.0497
3261Problem: Too verbose output from the asan build in Travis.
3262Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3263Files: .travis.yml
3264
3265Patch 8.2.0498
3266Problem: Coverity complains about uninitialized field.
3267Solution: Initialize the whole typval_T.
3268Files: src/vim9compile.c
3269
3270Patch 8.2.0499
3271Problem: Calling a lambda is slower than evaluating a string.
3272Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3273Files: src/userfunc.c
3274
3275Patch 8.2.0500
3276Problem: Using the same loop in many places.
3277Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3278Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3279 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3280 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3281 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3282 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3283 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3284 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3285 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3286 src/userfunc.c, src/window.c
3287
3288Patch 8.2.0501
3289Problem: Vim9: script test fails when channel feature is missing.
3290Solution: Add a has() condition.
3291Files: src/testdir/test_vim9_script.vim
3292
3293Patch 8.2.0502
3294Problem: Vim9: some code is not tested.
3295Solution: Add more tests. Fix uncovered problems.
3296Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3297 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3298 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3299 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3300 src/testdir/test_vim9_disassemble.vim
3301
3302Patch 8.2.0503
3303Problem: Vim9: some code is not tested.
3304Solution: Add tests. Fix uncovered problems.
3305Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3306
3307Patch 8.2.0504
3308Problem: Vim9: leaking scope memory when compilation fails.
3309Solution: Cleanup the scope list.
3310Files: src/vim9compile.c
3311
3312Patch 8.2.0505
3313Problem: term_gettty() not sufficiently tested.
3314Solution: Add more asserts. (Dominique Pellé, closes #5877)
3315Files: src/testdir/test_terminal.vim
3316
3317Patch 8.2.0506
3318Problem: Coverity complains about ignoring return value.
3319Solution: Add (void).
3320Files: src/userfunc.c
3321
3322Patch 8.2.0507 (after 8.2.0472)
3323Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3324Solution: Check for empty name. (closes #5878)
3325Files: src/evalvars.c, src/testdir/test_functions.vim
3326
3327Patch 8.2.0508
3328Problem: Vim9: func and partial types not done yet
3329Solution: Fill in details about func declaration, drop a separate partial
3330 declaration.
3331Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3332 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3333 src/testdir/test_vim9_script.vim,
3334 src/testdir/test_vim9_disassemble.vim
3335
3336Patch 8.2.0509
3337Problem: various code is not properly tested.
3338Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3339Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3340 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3341 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3342 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3343 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3344 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3345
3346Patch 8.2.0510
3347Problem: Coverity complains about using uninitialized variable.
3348Solution: Assign a value to "scol". Move code inside NULL check.
3349Files: src/beval.c, src/popupwin.c
3350
3351Patch 8.2.0511
3352Problem: Cscope code not fully tested.
3353Solution: Add more test cases. (Dominique Pellé, closes #5886)
3354Files: src/testdir/test_cscope.vim
3355
3356Patch 8.2.0512
3357Problem: Vim9: no optional arguments in func type.
3358Solution: Check for question mark after type. Find function reference
3359 without function().
3360Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3361 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3362 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3363 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3364 src/testdir/test_vim9_disassemble.vim
3365
3366Patch 8.2.0513
3367Problem: Reading past allocated memory when using varargs.
3368Solution: Fix copying function argument types.
3369Files: src/vim9compile.c
3370
3371Patch 8.2.0514
3372Problem: Several global functions are used in only one file.
3373Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3374Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3375 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3376 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3377 src/version.c
3378
3379Patch 8.2.0515
3380Problem: Some compilers cannot add to "void *".
3381Solution: Cast to "char *".
3382Files: src/vim9compile.c
3383
3384Patch 8.2.0516
3385Problem: Client-server code is spread out.
3386Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3387 closes #5885)
3388Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3389 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3390 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3391 src/proto/clientserver.pro, src/proto/main.pro
3392
3393Patch 8.2.0517
3394Problem: Vim9: cannot separate "func" and "func(): void".
3395Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3396Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3397 src/evalvars.c, src/testing.c, src/vim9compile.c,
3398 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3399 src/testdir/test_vim9_func.vim
3400
3401Patch 8.2.0518
3402Problem: A terminal falls back to setting $TERM to "xterm".
3403Solution: Use "xterm-color" if more than 16 colors are supported and
3404 "xterm-256color" if at least 256 colors are supported.
3405 (closes #5887)
3406Files: src/os_unix.c
3407
3408Patch 8.2.0519
3409Problem: Vim9: return type not properly checked.
3410Solution: Check type properly, also at runtime.
3411Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3412
3413Patch 8.2.0520
3414Problem: Tests are not listed in sorted order.
3415Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3416Files: src/testdir/Make_all.mak
3417
3418Patch 8.2.0521
3419Problem: Crash when reading a blob fails.
3420Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3421 closes #5890) Adjust error messages.
3422Files: src/filepath.c, src/testdir/test_blob.vim
3423
3424Patch 8.2.0522
3425Problem: Several errors are not tested for.
3426Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3427Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3428 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3429 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3430 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3431 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3432 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3433 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3434 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3435 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3436 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3437
3438Patch 8.2.0523
3439Problem: Loops are repeated.
3440Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3441Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3442 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3443 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3444 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3445 src/userfunc.c, src/vim9compile.c
3446
3447Patch 8.2.0524
3448Problem: Win32: searching for file matches is slow.
3449Solution: Instead of making another round to find any short filename, check
3450 for the short name right away. Avoid using an ordinary file like a
3451 directory. (Nir Lichtman, closes #5883)
3452Files: src/filepath.c
3453
3454Patch 8.2.0525 (after 8.2.0524)
3455Problem: Win32: typo in assignment and misplaced paren.
3456Solution: Fix the syntax.
3457Files: src/filepath.c
3458
3459Patch 8.2.0526
3460Problem: Gcc 9 complains about empty statement.
3461Solution: Add {}. (Dominique Pellé, closes #5894)
3462Files: src/evalfunc.c
3463
3464Patch 8.2.0527
3465Problem: Vim9: function types insufficiently tested.
3466Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3467Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3468 src/testdir/Makefile, src/testdir/Make_all.mak
3469
3470Patch 8.2.0528
3471Problem: Vim9: function arguments insufficiently tested.
3472Solution: Check types. Add more tests. Fix function with varargs only.
3473Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3474
3475Patch 8.2.0529
3476Problem: Vim9: function argument with default not checked.
3477Solution: Check type of argument with default value.
3478Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3479
3480Patch 8.2.0530
3481Problem: Test crashes on s390. (James McCoy)
3482Solution: Explicitly define an 8 big signed type. (closes #5897)
3483Files: src/structs.h
3484
3485Patch 8.2.0531
3486Problem: Various errors not tested.
3487Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3488Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3489 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3490 src/testdir/test_vimscript.vim
3491
3492Patch 8.2.0532
3493Problem: Cannot use simplify() as a method.
3494Solution: Add FEARG_1. (closes #5896)
3495Files: runtime/doc/eval.txt, src/evalfunc.c,
3496 src/testdir/test_functions.vim
3497
3498Patch 8.2.0533
3499Problem: Tests using term_wait() can still be flaky.
3500Solution: Increase the wait time when rerunning a test. (James McCoy,
3501 closes #5899) Halve the initial times to make tests run faster
3502 when there is no rerun.
3503Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3504 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3505 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3506 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3507 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3508 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3509 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3510 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3511 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3512 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3513 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3514 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3515 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3516 src/testdir/test_startup_utf8.vim,
3517 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3518 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3519 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3520 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3521
3522Patch 8.2.0534
3523Problem: Client-server test fails under valgrind.
3524Solution: Use WaitForAssert().
3525Files: src/testdir/test_clientserver.vim
3526
3527Patch 8.2.0535
3528Problem: Regexp patterns not fully tested.
3529Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3530 closes #5901)
3531Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3532 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3533
3534Patch 8.2.0536
3535Problem: Vim9: some compilation code not tested.
3536Solution: Add more test cases.
3537Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3538 src/testdir/test_vim9_expr.vim
3539
3540Patch 8.2.0537
3541Problem: Vim9: no check for sandbox when setting v:var.
3542Solution: Check for sandbox.
3543Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3544
3545Patch 8.2.0538
3546Problem: Vim9: VAR_PARTIAL is not used during compilation.
3547Solution: Remove VAR_PARTIAL.
3548Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3549
3550Patch 8.2.0539
3551Problem: Comparing two NULL list fails.
3552Solution: Change the order of comparing two lists.
3553Files: src/list.c, src/testdir/test_assert.vim
3554
3555Patch 8.2.0540
3556Problem: Regexp and other code not tested.
3557Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3558Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3559 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3560 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3561 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3562 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3563
3564Patch 8.2.0541
3565Problem: Travis CI does not give compiler warnings.
3566Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3567 closes #5898)
3568Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3569 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3570 src/libvterm/t/harness.c
3571
3572Patch 8.2.0542
3573Problem: No test for E386.
3574Solution: Add a test. (Dominique Pellé, closes #5911)
3575Files: src/testdir/test_search.vim
3576
3577Patch 8.2.0543
3578Problem: Vim9: function with varargs does not work properly.
3579Solution: Improve function type spec and add tests. Fix bugs.
3580Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3581 src/structs.h, src/testdir/test_vim9_func.vim
3582
3583Patch 8.2.0544
3584Problem: Memory leak in search test.
3585Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3586Files: src/search.c
3587
3588Patch 8.2.0545
3589Problem: Unused arguments ignored in non-standard way.
3590Solution: Add UNUSED instead of (void).
3591Files: src/libvterm/t/harness.c
3592
3593Patch 8.2.0546
3594Problem: Vim9: varargs implementation is inefficient.
3595Solution: Create list without moving the arguments.
3596Files: src/vim9compile.c, src/vim9execute.c
3597
3598Patch 8.2.0547
3599Problem: Win32: restoring screen not always done right.
3600Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3601Files: src/os_win32.c
3602
3603Patch 8.2.0548
3604Problem: Vim9: not all possible func type errors tested.
3605Solution: Add more tests.
3606Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3607
3608Patch 8.2.0549
3609Problem: User systemd files not recognized.
3610Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3611Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3612
3613Patch 8.2.0550
3614Problem: Some changes in the libvterm upstream code.
3615Solution: Include some changes.
3616Files: src/libvterm/t/harness.c
3617
3618Patch 8.2.0551
3619Problem: Not all code for options is tested.
3620Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3621Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3622 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3623
3624Patch 8.2.0552
3625Problem: Vim9: some errors not covered by tests.
3626Solution: Add more tests. Check Funcref argument types.
3627Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3628
3629Patch 8.2.0553 (after 8.2.0550)
3630Problem: Error for unused argument.
3631Solution: Add UNUSED.
3632Files: src/libvterm/t/harness.c
3633
3634Patch 8.2.0554
3635Problem: The GUI doesn't set t_Co.
3636Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3637Files: src/term.c, src/proto/term.pro, src/gui.c,
3638 src/testdir/test_gui.vim
3639
3640Patch 8.2.0555
3641Problem: Vim9: line continuation is not always needed.
3642Solution: Recognize continuation lines automatically in list and dict.
3643Files: runtime/doc/vim9.txt, src/vim9compile.c,
3644 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3645
3646Patch 8.2.0556
3647Problem: Vim9: memory leak when finding common type.
3648Solution: Store allocated memory in type growarray.
3649Files: src/vim9compile.c
3650
3651Patch 8.2.0557
3652Problem: No IPv6 support for channels.
3653Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3654Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3655 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3656 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3657 src/proto/channel.pro, src/testdir/check.vim,
3658 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3659 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3660 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3661 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3662
3663Patch 8.2.0558
3664Problem: Vim9: dict code not covered by tests.
3665Solution: Remove dead code, adjust test case.
3666Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3667
3668Patch 8.2.0559
3669Problem: Clearing a struct is verbose.
3670Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3671Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3672 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3673 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3674 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3675 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3676 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3677 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3678 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3679 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3680 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3681 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3682 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3683 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3684 src/vim9execute.c, src/if_py_both.h
3685
3686Patch 8.2.0560
3687Problem: Compiler warning in tiny build.
3688Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3689Files: src/ex_docmd.c
3690
3691Patch 8.2.0561
3692Problem: Vim9: cannot split function call in multiple lines.
3693Solution: Find more arguments in following lines.
3694Files: runtime/doc/vim9.txt, src/vim9compile.c,
3695 src/testdir/test_vim9_script.vim
3696
3697Patch 8.2.0562
3698Problem: Vim9: cannot split an expression into multiple lines.
3699Solution: Continue in next line after an operator.
3700Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3701 src/testdir/test_vim9_expr.vim
3702
3703Patch 8.2.0563
3704Problem: Vim9: cannot split a function line.
3705Solution: Continue in next line so long as the function isn't done.
3706Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
3707 src/vim9compile.c, src/testdir/test_vim9_func.vim
3708
3709Patch 8.2.0564
3710Problem: Vim9: calling a def function from non-vim9 may fail.
3711Solution: Convert varargs to a list.
3712Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
3713
3714Patch 8.2.0565
3715Problem: Vim9: tests contain superfluous line continuation.
3716Solution: Remove line continuation no longer needed. Skip empty lines.
3717Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
3718 src/testdir/test_vim9_disassemble.vim
3719
3720Patch 8.2.0566
3721Problem: Vim9: variable can be used uninitialized.
3722Solution: Jump to after where variable is used.
3723Files: src/vim9execute.c
3724
3725Patch 8.2.0567
3726Problem: Vim9: cannot put comments halfway expressions.
3727Solution: Support # comments in many places.
3728Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
3729 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
3730 src/testdir/test_vim9_script.vim
3731
3732Patch 8.2.0568
3733Problem: The man filetype plugin overwrites the unnamed register.
3734Solution: Use the black hole register. (Jason Franklin)
3735Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
3736
3737Patch 8.2.0569
3738Problem: Build failure with tiny version.
3739Solution: Add #ifdef.
3740Files: src/ex_docmd.c
3741
3742Patch 8.2.0570
3743Problem: Vim9: no error when omitting type from argument.
3744Solution: Enforce specifying argument types.
3745Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
3746 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim
3747 src/testdir/test_vim9_disassemble.vim
3748
3749Patch 8.2.0571
3750Problem: Double free when passing invalid argument to job_start().
3751Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
3752Files: src/misc2.c, src/testdir/test_channel.vim
3753
3754Patch 8.2.0572 (after 8.2.0571)
3755Problem: Using two lines for free and reset.
3756Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
3757Files: src/misc2.c
3758
3759Patch 8.2.0573
3760Problem: using :version twice leaks memory
3761Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
3762Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
3763 src/testdir/test_version.vim, src/version.c, src/globals.h
3764
3765Patch 8.2.0574
3766Problem: Ipv6 feature not shown in :version output.
3767Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
3768Files: runtime/doc/eval.txt, src/version.c
3769
3770Patch 8.2.0575
3771Problem: :digraph! not tested.
3772Solution: Add a test. (Dominique Pellé, closes #5925)
3773Files: src/testdir/test_digraph.vim
3774
3775Patch 8.2.0576
3776Problem: Some errors are not covered by tests.
3777Solution: Add a few more tests. (Dominique Pellé, closes #5920)
3778Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
3779 src/testdir/test_expr.vim, src/testdir/test_messages.vim
3780
3781Patch 8.2.0577
3782Problem: Not all modifiers supported for :options.
3783Solution: Use all cmdmod.split flags. (closes #4401)
3784Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
3785 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
3786
3787Patch 8.2.0578
3788Problem: Heredoc for interfaces does not support "trim".
3789Solution: Update the script heredoc support to be same as the :let command.
3790 (Yegappan Lakshmanan, closes #5916)
3791Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
3792 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
3793 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
3794 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
3795 src/testdir/test87.in, src/testdir/test_lua.vim,
3796 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
3797 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
3798 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
3799 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
3800
3801Patch 8.2.0579
3802Problem: Coverity warns for unused value.
3803Solution: Change order and use "else if".
3804Files: src/os_unix.c
3805
3806Patch 8.2.0580
3807Problem: Window size wrong if 'ea' is off and 'splitright' is on and
3808 splitting then closing a window.
3809Solution: Put abandoned window space in the right place. (Mark Waggoner)
3810Files: src/testdir/test_winbuf_close.vim, src/window.c
3811
3812Patch 8.2.0581 (after 8.2.0547)
3813Problem: Win32 console: the cursor position is always top-left.
3814Solution: Revert the patch for restoring screen.
3815Files: src/os_win32.c
3816
3817Patch 8.2.0582
3818Problem: Color ramp test does not show text colors.
3819Solution: Add a row of 16 text colors and 16 bold text colors.
3820Files: src/testdir/color_ramp.vim
3821
3822Patch 8.2.0583
3823Problem: Vim9: # comment not recognized in :def function.
3824Solution: Recognize and skip # comment.
3825Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3826
3827Patch 8.2.0584
3828Problem: Viminfo file uses obsolete function file_readable().
3829Solution: Use filereadable(). (closes #5934)
3830Files: src/session.c
3831
3832Patch 8.2.0585
3833Problem: Vim9: # comment not recognized after :vim9script.
3834Solution: Check script type. Make comment after ":echo" work. And in
3835 several other places.
3836Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
3837 src/vim9compile.c, src/testdir/test_vim9_script.vim
3838
3839Patch 8.2.0586
3840Problem: Vim9: # comment not sufficiently tested
3841Solution: Check for preceding white space.
3842Files: src/eval.c, src/testdir/test_vim9_script.vim
3843
3844Patch 8.2.0587
3845Problem: Compiler warning for unused variable.
3846Solution: Add UNUSED.
3847Files: src/ex_docmd.c
3848
3849Patch 8.2.0588
3850Problem: Putty does not use "sgr" 'ttymouse' by default.
3851Solution: Make "sgr" the default for Putty. (Christian Brabandt,
3852 closes #5942)
3853Files: src/term.c
3854
3855Patch 8.2.0589
3856Problem: .bsd file type not recognized.
3857Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
3858Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3859
3860Patch 8.2.0590
3861Problem: No 'backspace' value allows ignoring the insertion point.
3862Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
3863Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
3864 src/optionstr.c, src/testdir/gen_opt_test.vim,
3865 src/testdir/test_backspace_opt.vim
3866
3867Patch 8.2.0591
3868Problem: MS-Windows: should always support IPv6
3869Solution: Add build flag. (Ozaki Kiichi, closes #5944)
3870Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
3871
3872Patch 8.2.0592
3873Problem: MS-Windows with VTP: cursor is not made invisible.
3874Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
3875 Takasaki, closes #5941)
3876Files: src/os_win32.c
3877
3878Patch 8.2.0593
3879Problem: Finding a user command is not optimal.
3880Solution: Start further down in the list of commands.
3881Files: src/ex_cmds.h, src/ex_docmd.c
3882
3883Patch 8.2.0594
3884Problem: MS-Windows: cannot build with WINVER set to 0x0501.
3885Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
3886Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3887 src/channel.c, src/config.h.in, src/configure.ac
3888
3889Patch 8.2.0595
3890Problem: Vim9: not all commands using ends_excmd() tested.
3891Solution: Find # comment after regular commands. Add more tests. Report
3892 error for where it was caused.
3893Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
3894 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
3895 src/testdir/test_vim9_script.vim,
3896 src/testdir/test_vim9_disassemble.vim
3897
3898Patch 8.2.0596
3899Problem: Crash in test49.
3900Solution: Check the right pointer.
3901Files: src/userfunc.c, src/testdir/test_eval.ok
3902
3903Patch 8.2.0597
3904Problem: Test_eval is old style.
3905Solution: Change some tests to a new style test.
3906Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
3907 src/testdir/test_eval_stuff.vim
3908
3909Patch 8.2.0598
3910Problem: Test_eval_stuff fails in normal terminal.
3911Solution: Close the new window.
3912Files: src/testdir/test_eval_stuff.vim
3913
3914Patch 8.2.0599
3915Problem: Netbeans interface insufficiently tested.
3916Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
3917Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
3918 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
3919 src/testdir/test_netbeans.vim
3920
3921Patch 8.2.0600
3922Problem: Vim9: cannot read or write w:, t: and b: variables.
3923Solution: Implement load and store for w:, t: and b: variables.
3924 (closes #5950)
3925Files: src/testdir/test_vim9_disassemble.vim,
3926 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
3927 src/vim9.h, src/vim9compile.c, src/vim9execute.c
3928
3929Patch 8.2.0601
3930Problem: Vim9: :unlet is not compiled.
3931Solution: Implement :unlet instruction and check for errors.
3932Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
3933 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
3934 src/eval.c, src/testdir/test_vim9_script.vim,
3935 src/testdir/test_vim9_disassemble.vim
3936
3937Patch 8.2.0602
3938Problem: :unlet $VAR does not work properly.
3939Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
3940Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
3941
3942Patch 8.2.0603
3943Problem: Configure does not detect moonjit.
3944Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
3945Files: src/configure.ac, src/auto/configure
3946
3947Patch 8.2.0604
3948Problem: :startinsert in a terminal window used later.
3949Solution: Ignore :startinsert in a terminal window. (closes #5952)
3950Files: src/ex_docmd.c, src/testdir/test_terminal.vim
3951
3952Patch 8.2.0605
3953Problem: Vim9: cannot unlet an environment variable.
3954Solution: Implement unlet for $VAR.
3955Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
3956 src/testdir/test_vim9_script.vim,
3957 src/testdir/test_vim9_disassemble.vim
3958
3959Patch 8.2.0606
3960Problem: Several syntax HL errors not checked.
3961Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
3962Files: src/testdir/test_syntax.vim
3963
3964Patch 8.2.0607
3965Problem: Gcc warns for using uninitialized variable. (John Marriott)
3966Solution: Set name_end also for environment variables.
3967Files: src/evalvars.c
3968
3969Patch 8.2.0608
3970Problem: Warning from clang when building message test.
3971Solution: Use a void pointer. (Dominique Pellé, closes #5958)
3972Files: src/message_test.c
3973
3974Patch 8.2.0609
3975Problem: Configure does not detect moonjit correctly.
3976Solution: Double the brackets. (Ozaki Kiichi)
3977Files: src/configure.ac, src/auto/configure
3978
3979Patch 8.2.0610
3980Problem: Some tests are still old style.
3981Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
3982Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
3983 src/testdir/test_eval.in, src/testdir/test_eval.ok,
3984 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
3985 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
3986 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
3987 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
3988 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
3989
3990Patch 8.2.0611
3991Problem: Vim9: no check for space before #comment.
3992Solution: Add space checks.
3993Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
3994 src/testdir/test_vim9_script.vim
3995
3996Patch 8.2.0612
3997Problem: Vim9: no check for space before #comment.
3998Solution: Add space checks.
3999Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
4000 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
4001 src/testdir/test_sort.vim
4002
4003Patch 8.2.0613
4004Problem: Vim9: no check for space before #comment.
4005Solution: Add space checks.
4006Files: src/highlight.c, src/menu.c, src/syntax.c,
4007 src/testdir/test_vim9_script.vim,
4008 runtime/lang/menu_de_de.latin1.vim
4009
4010Patch 8.2.0614
4011Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
4012 Lakshmanan)
4013Solution: Lock the text while evaluating 'completefunc'.
4014Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
4015 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
4016 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
4017 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
4018
4019Patch 8.2.0615
4020Problem: Regexp benchmark test is old style.
4021Solution: Make it a new style test. Fix using a NULL list. Add more tests.
4022 (Yegappan Lakshmanan, closes #5963)
4023Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
4024 src/testdir/Make_ming.mak, src/testdir/Makefile,
4025 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
4026 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
4027 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
4028 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
4029 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
4030 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
4031 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
4032
4033Patch 8.2.0616
4034Problem: Build error when disabling the diff feature.
4035Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
4036Files: src/drawline.c
4037
4038Patch 8.2.0617
4039Problem: New error check triggers in Swedish menu.
4040Solution: Insert backslash. (Mats Tegner, closes #5966)
4041Files: runtime/lang/menu_sv_se.latin1.vim
4042
4043Patch 8.2.0618
4044Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
4045Solution: Return "[]" instead of NULL in echo_string_core().
4046Files: src/eval.c, src/testdir/test_messages.vim
4047
4048Patch 8.2.0619
4049Problem: Null dict is not handled like an empty dict.
4050Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
4051Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
4052 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4053 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
4054 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
4055 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
4056
4057Patch 8.2.0620
4058Problem: Error in menu translations.
4059Solution: Insert a backslash before a space.
4060Files: runtime/lang/menu_it_it.latin1.vim,
4061 runtime/lang/menu_chinese_gb.936.vim
4062
4063Patch 8.2.0621
4064Problem: After running tests asan files may remain.
4065Solution: Clean up asan files with "make testclean".
4066Files: src/testdir/Makefile, src/Makefile
4067
4068Patch 8.2.0622
4069Problem: Haiku: GUI does not compile.
4070Solution: Various fixes. (Emir Sarı, closes #5961)
4071Files: Filelist, README.md, READMEdir/README_haiku.txt,
4072 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
4073 src/gui_haiku.cc, src/proto/gui_haiku.pro
4074
4075Patch 8.2.0623
4076Problem: Typo in test comment. (Christ van Willegen)
4077Solution: Avoid mixing up a data structure with a body part.
4078Files: src/testdir/test_listdict.vim
4079
4080Patch 8.2.0624
4081Problem: Vim9: no check for space before #comment.
4082Solution: Add space checks. Fix :throw with double quoted string.
4083Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
4084 src/testdir/test_vim9_script.vim
4085
4086Patch 8.2.0625
4087Problem: Vim9: confusing error when calling unknown function.
4088Solution: Give error while compiling.
4089Files: src/vim9compile.c, src/vim9execute.c,
4090 src/testdir/test_vim9_func.vim
4091
4092Patch 8.2.0626
4093Problem: Vim9: wrong syntax of function in Vim9 script.
4094Solution: Give error for missing space. Implement :echomsg and :echoerr.
4095 (closes #5670)
4096Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
4097 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
4098 src/testdir/test_vim9_disassemble.vim
4099 src/testdir/test_vim9_script.vim
4100
4101Patch 8.2.0627
4102Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
4103Solution: Swap lines.
4104Files: src/userfunc.c
4105
4106Patch 8.2.0628
4107Problem: Error in menu translations.
4108Solution: Insert a backslash before a space in one more file. (Shun Bai,
4109 Emir Sarı)
4110Files: runtime/lang/menu_zh_cn.utf-8.vim,
4111 runtime/lang/menu_ca_es.latin1.vim,
4112 runtime/lang/menu_cs_cz.iso_8859-2.vim,
4113 runtime/lang/menu_cs_cz.utf-8.vim,
4114 runtime/lang/menu_czech_czech_republic.1250.vim,
4115 runtime/lang/menu_czech_czech_republic.ascii.vim,
4116 runtime/lang/menu_da.utf-8.vim,
4117 runtime/lang/menu_fi_fi.latin1.vim,
4118 runtime/lang/menu_hu_hu.iso_8859-2.vim,
4119 runtime/lang/menu_hu_hu.utf-8.vim,
4120 runtime/lang/menu_is_is.latin1.vim,
4121 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
4122 runtime/lang/menu_pt_pt.vim,
4123 runtime/lang/menu_sk_sk.iso_8859-2.vim,
4124 runtime/lang/menu_sl_si.latin2.vim,
4125 runtime/lang/menu_slovak_slovak_republic.1250.vim,
4126 runtime/lang/menu_tr_tr.cp1254.vim,
4127 runtime/lang/menu_tr_tr.iso_8859-9.vim,
4128 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4129
4130Patch 8.2.0629
4131Problem: Setting a boolean option to v:false does not work.
4132Solution: Do not use the string representation of the value. (Christian
4133 Brabandt, closes #5974)
4134Files: src/evalvars.c, src/testdir/test_options.vim
4135
4136Patch 8.2.0630
4137Problem: "make tags" does not cover Haiku GUI file.
4138Solution: Add *.cc files.
4139Files: src/Make_all.mak
4140
4141Patch 8.2.0631
4142Problem: Haiku file formatted with wrong tabstop.
4143Solution: Use normal tabstop. Fix white space.
4144Files: src/gui_haiku.cc
4145
4146Patch 8.2.0632
4147Problem: Crash when using Haiku.
4148Solution: Lock the screen. (closes #5975, closes #5973)
4149Files: src/screen.c
4150
4151Patch 8.2.0633
4152Problem: Crash when using null partial in filter().
4153Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4154Files: src/eval.c, src/testdir/test_blob.vim,
4155 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4156 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4157 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4158 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4159 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4160 src/testdir/test_usercommands.vim
4161
4162Patch 8.2.0634
4163Problem: Crash with null partial and blob.
4164Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4165 closes #5984)
4166Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4167 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4168 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4169 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4170 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4171 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4172 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4173 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4174 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4175 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4176 src/testdir/test_writefile.vim
4177
4178Patch 8.2.0635
4179Problem: When using 256 colors DarkYellow does not show expected color.
4180Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4181Files: src/highlight.c
4182
4183Patch 8.2.0636
4184Problem: :messages does not show the maintainer when $LANG is unset.
4185Solution: Call get_mess_lang() if available. (closes #5978)
4186Files: src/message.c
4187
4188Patch 8.2.0637
4189Problem: Incsearch highlighting does not work for ":sort!".
4190Solution: Skip over the exclamation point. (closes #5983)
4191Files: src/ex_getln.c, src/testdir/test_search.vim,
4192 src/testdir/dumps/Test_incsearch_sort_02.dump
4193
4194Patch 8.2.0638
4195Problem: MS-Windows: messages test fails.
4196Solution: Clear environment variables.
4197Files: src/testdir/test_messages.vim
4198
4199Patch 8.2.0639
4200Problem: MS-Windows: messages test still fails.
4201Solution: Filter out the maintainer message.
4202Files: src/testdir/test_messages.vim
4203
4204Patch 8.2.0640
4205Problem: Vim9: expanding `=expr` does not work.
4206Solution: Find wildcards in not compiled commands. Reorganize test files.
4207Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4208 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4209 src/testdir/test_vim9_disassemble.vim,
4210 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4211 src/testdir/Make_all.mak
4212
4213Patch 8.2.0641
4214Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4215Solution: Add the EX_EXPAND flag. Expend "syntax include".
4216Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4217 src/testdir/test_vim9_cmd.vim
4218
4219Patch 8.2.0642
4220Problem: Vim9: using invalid index.
4221Solution: Check index for being valid. Fix memory leak.
4222Files: src/vim9compile.c, src/clientserver.c
4223
4224Patch 8.2.0643 (after 8.2.0635)
4225Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4226Solution: Use color index 3 instead of 130. (closes #5993)
4227Files: src/terminal.c
4228
4229Patch 8.2.0644
4230Problem: Insufficient testing for invalid function arguments.
4231Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4232Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4233 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4234 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4235 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4236 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4237 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4238 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4239 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4240 src/testdir/test_writefile.vim
4241
4242Patch 8.2.0645
4243Problem: MS-Windows terminal: CTRL-C does not get to child job.
4244Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4245 Takasaki, closes #5987)
4246Files: src/terminal.c
4247
4248Patch 8.2.0646
4249Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4250Solution: Ignore $COLORS for the GUI. (closes #5992)
4251Files: src/os_unix.c, src/term.c
4252
4253Patch 8.2.0647
4254Problem: MS-Windows: repeat count for events was not used.
4255Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4256Files: src/os_win32.c
4257
4258Patch 8.2.0648
4259Problem: Semicolon search does not work in first line.
4260Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4261 closes #5996)
4262Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4263
4264Patch 8.2.0649
4265Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4266 Kaplan)
4267Solution: Do not create a new undo block when leaving Insert mode.
4268Files: src/edit.c, src/testdir/test_edit.vim
4269
4270Patch 8.2.0650
4271Problem: Vim9: script function can be deleted.
4272Solution: Disallow deleting script function. Delete functions when sourcing
4273 a script again.
4274Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4275 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4276 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4277 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4278
4279Patch 8.2.0651
4280Problem: Old style benchmark test still in list of distributed files.
4281Solution: Remove the files from the list.
4282Files: Filelist
4283
4284Patch 8.2.0652 (after 8.2.0650)
4285Problem: Compiler warning for char conversion.
4286Solution: Use unsigned char buffer.
4287Files: src/userfunc.c
4288
4289Patch 8.2.0653 (after 8.2.0650)
4290Problem: using uninitialized pointer.
4291Solution: Move assignment up. (John Marriott)
4292Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4293
4294Patch 8.2.0654
4295Problem: Building with Python fails.
4296Solution: Add missing argument.
4297Files: src/if_py_both.h
4298
4299Patch 8.2.0655
4300Problem: Search code not sufficiently tested.
4301Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4302Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4303 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4304 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4305 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4306 src/testdir/test_visual.vim
4307
4308Patch 8.2.0656
4309Problem: MS-Windows: redrawing right screen edge may not be needed.
4310Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4311Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4312
4313Patch 8.2.0657
4314Problem: Vim9: no check if called variable is a FuncRef.
4315Solution: Add a type check.
4316Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4317 src/testdir/test_vim9_expr.vim
4318
4319Patch 8.2.0658 (after 8.2.0646)
4320Problem: HP-UX build fails when setenv() is not defined.
4321Solution: Change "colors" to "t_colors". (John Marriott)
4322Files: src/os_unix.c
4323
4324Patch 8.2.0659
4325Problem: Vim9: no test for equal func type.
4326Solution: Add a test. Improve type check.
4327Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4328
4329Patch 8.2.0660
4330Problem: The search.c file is a bit big.
4331Solution: Split off the text object code to a separate file. (Yegappan
4332 Lakshmanan, closes #6007)
4333Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4334 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4335 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4336 src/search.c, src/textobject.c
4337
4338Patch 8.2.0661
4339Problem: Eval test is still old style.
4340Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4341Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4342 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4343 src/testdir/test_eval_stuff.vim
4344
4345Patch 8.2.0662
4346Problem: Cannot use input() in a channel callback.
4347Solution: Reset vgetc_busy. (closes #6010)
4348Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4349 src/testdir/test_channel.vim
4350
4351Patch 8.2.0663
4352Problem: Not all systemd temp files are recognized.
4353Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4354Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4355
4356Patch 8.2.0664
4357Problem: Included undesired changes in Makefile.
4358Solution: Revert the changes.
4359Files: src/Makefile
4360
4361Patch 8.2.0665
4362Problem: Wrongly assuming Python executable is called "python".
4363Solution: Use detected python command. (Ken Takata, closes #6016)
4364 Also use CheckFunction if possible.
4365Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4366
4367Patch 8.2.0666
4368Problem: Ruby test fails on MS-Windows.
4369Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4370Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4371 src/testdir/test_ruby.vim
4372
4373Patch 8.2.0667
4374Problem: Cannot install Haiku version from source.
4375Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4376Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4377 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4378
4379Patch 8.2.0668
4380Problem: Compiler warning for int/size_t usage.
4381Solution: Change "int" to "size_t". (Mike Williams)
4382Files: src/vim9execute.c
4383
4384Patch 8.2.0669
4385Problem: MS-Windows: display in VTP is a bit slow.
4386Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4387Files: src/os_win32.c, src/screen.c
4388
4389Patch 8.2.0670
4390Problem: Cannot change window when evaluating 'completefunc'.
4391Solution: Make a difference between not changing text or buffers and also
4392 not changing window.
4393Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4394 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4395 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4396 src/undo.c, src/testdir/test_edit.vim,
4397 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4398
4399Patch 8.2.0671
4400Problem: Haiku: compiler warnings.
4401Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4402 closes #6018)
4403Files: .gitignore, src/gui.c, src/gui_haiku.cc
4404
4405Patch 8.2.0672
4406Problem: Heredoc in scripts does not accept lower case marker.
4407Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4408 closes #6019)
4409Files: src/evalvars.c, src/testdir/test_lua.vim,
4410 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4411 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4412 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4413
4414Patch 8.2.0673
4415Problem: Cannot build Haiku in shadow directory.
4416Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4417Files: src/Makefile
4418
4419Patch 8.2.0674
4420Problem: Some source files are too big.
4421Solution: Move text formatting functions to a new file. (Yegappan
4422 Lakshmanan, closes #6021)
4423Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4424 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4425 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4426 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4427 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4428
4429Patch 8.2.0675
4430Problem: Vim9: no support for closures.
4431Solution: Do not re-use stack entries.
4432Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4433 src/evalvars.c, src/proto/evalvars.pro
4434
4435Patch 8.2.0676
4436Problem: Pattern in list of distributed files does not match.
4437Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4438Files: Filelist
4439
4440Patch 8.2.0677
4441Problem: Vim9: no support for closures.
4442Solution: Find variables in the outer function scope, so long as the scope
4443 exists.
4444Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4445 src/vim9execute.c, src/structs.h, src/vim9.h,
4446 src/testdir/test_vim9_func.vim
4447
4448Patch 8.2.0678
4449Problem: Rare crash for popup menu.
4450Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4451Files: src/popupmenu.c
4452
4453Patch 8.2.0679
4454Problem: Vim9: incomplete support for closures.
4455Solution: At the end of a function copy arguments and local variables if
4456 they are still used by a referenced closure.
4457Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4458 src/testdir/test_vim9_func.vim
4459
4460Patch 8.2.0680
4461Problem: PTYGROUP and PTYMODE are unused.
4462Solution: Remove from autoconf. (closes #6024)
4463Files: src/configure.ac, src/auto/configure, src/config.h.in
4464
4465Patch 8.2.0681
4466Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4467Solution: Call end_search_hl() to make sure the previous pattern is freed.
4468 (closes #6028)
4469Files: src/screen.c
4470
4471Patch 8.2.0682
4472Problem: Vim9: parsing function argument type can get stuck.
4473Solution: Bail out when not making progress.
4474Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4475
4476Patch 8.2.0683
4477Problem: Vim9: parsing type does not always work.
4478Solution: Handle func type without return value. Test more closures.
4479 Fix type check offset. Fix garbage collection.
4480Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4481 src/userfunc.c, src/testdir/test_vim9_func.vim
4482
4483Patch 8.2.0684
4484Problem: Vim9: memory leak when using lambda.
4485Solution: Move the funccal context to the partial. Free the function when
4486 exiting.
4487Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4488 src/eval.c, src/testdir/test_vim9_func.vim
4489
4490Patch 8.2.0685 (after 8.2.0684)
4491Problem: Build failure.
4492Solution: Include missing changes.
4493Files: src/vim9compile.c
4494
4495Patch 8.2.0686
4496Problem: Formatoptions not sufficiently tested.
4497Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4498Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4499
4500Patch 8.2.0687
4501Problem: Some tests do not work on FreeBSD.
4502Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4503 closes #6036)
4504Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4505
4506Patch 8.2.0688
4507Problem: Output clobbered if setting 'verbose' to see shell commands.
4508Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4509Files: src/scriptfile.c, runtime/doc/options.txt
4510
4511Patch 8.2.0689
4512Problem: When using getaddrinfo() the error message is unclear.
4513Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4514 closes #6034)
4515Files: src/channel.c
4516
4517Patch 8.2.0690
4518Problem: Line number of option set by modeline is wrong.
4519Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4520Files: src/option.c, src/testdir/test_modeline.vim
4521
4522Patch 8.2.0691
4523Problem: Startup test fails.
4524Solution: Adjust expected output from -V2 argument.
4525Files: src/testdir/test_startup.vim
4526
4527Patch 8.2.0692
4528Problem: Startup test fails on MS-Windows.
4529Solution: Allow for any path.
4530Files: src/testdir/test_startup.vim
4531
4532Patch 8.2.0693
4533Problem: Closure using argument not tested.
4534Solution: Add a test, make it work.
4535Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4536
4537Patch 8.2.0694
4538Problem: Haiku: channel and terminal do not work.
4539Solution: Close files when the job has finished. (Ozaki Kiichi,
4540 closes #6039)
4541Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4542
4543Patch 8.2.0695
4544Problem: Vim9: cannot define a function inside a function.
4545Solution: Initial support for :def inside :def.
4546Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4547 src/vim9execute.c, src/testdir/test_vim9_func.vim
4548
4549Patch 8.2.0696
4550Problem: Vim9: nested function does not work properly
4551Solution: Create a function reference. Check argument count.
4552Files: src/vim9compile.c, src/vim9execute.c,
4553 src/testdir/test_vim9_func.vim
4554
4555Patch 8.2.0697
4556Problem: Vim9: memory leak when using nested function.
4557Solution: Unreference function when deleting instructions. Adjust reference
4558 count for local variables.
4559Files: src/vim9compile.c, src/vim9execute.c
4560
4561Patch 8.2.0698
4562Problem: Insert mode completion not fully tested.
4563Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4564Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4565 src/testdir/test_textformat.vim
4566
4567Patch 8.2.0699
4568Problem: Vim9: not all errors tested.
4569Solution: Add test for deleted function. Bail out on first error.
4570Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4571 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4572
4573Patch 8.2.0700
4574Problem: Vim9: converting error message to exception not tested.
4575Solution: Test exception from error. Do not continue after :echoerr.
4576Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4577
4578Patch 8.2.0701
4579Problem: Vim9 test fails without job feature.
4580Solution: Add feature check.
4581Files: src/testdir/test_vim9_script.vim
4582
4583Patch 8.2.0702
4584Problem: Running channel tests may leave running process behind.
4585Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4586 part of #6046)
4587Files: src/testdir/test_channel_pipe.py
4588
4589Patch 8.2.0703
4590Problem: Vim9: closure cannot store value in outer context.
4591Solution: Make storing value in outer context work. Make :disassemble
4592 accept a function reference.
4593Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4594 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4595 src/testdir/test_vim9_func.vim
4596
4597Patch 8.2.0704
4598Problem: Vim9: memory leak in disassemble test.
4599Solution: Decrement refcount when creating funccal.
4600Files: src/vim9execute.c
4601
4602Patch 8.2.0705
4603Problem: Indent tests don't run on CI for FreeBSD.
4604Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4605Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4606
4607Patch 8.2.0706
4608Problem: Vim9: using assert_fails() causes function to finish.
4609Solution: Check did_emsg instead of called_emsg.
4610Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4611 src/testdir/test_vim9_script.vim
4612
4613Patch 8.2.0707
4614Problem: Vim9 function test fails.
4615Solution: Adjust expected error code.
4616Files: src/testdir/test_vim9_func.vim
4617
4618Patch 8.2.0708
4619Problem: Vim9: constant expressions are not simplified.
4620Solution: Simplify string concatenation.
4621Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4622 src/testdir/test_vim9_expr.vim
4623
4624Patch 8.2.0709
4625Problem: MS-Windows: compiler warning for int vs size_t.
4626Solution: Add type cast. (Mike Williams)
4627Files: src/channel.c
4628
4629Patch 8.2.0710
4630Problem: Netbeans test sometimes fails.
4631Solution: Mark any test using an external command as flaky.
4632Files: src/testdir/shared.vim
4633
4634Patch 8.2.0711
4635Problem: With a long running Vim the temp directory might be cleared on
4636 some systems.
4637Solution: Lock the temp directory. (closes #6044)
4638Files: src/config.h.in, src/configure.ac, src/auto/configure,
4639 src/fileio.c, src/globals.h, src/os_unix.h
4640
4641Patch 8.2.0712
4642Problem: Various code not fully tested.
4643Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4644Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4645 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4646
4647Patch 8.2.0713
4648Problem: The pam_environment file is not recognized.
4649Solution: Add a filetype pattern for pamenv. (closes #6051)
4650Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4651
4652Patch 8.2.0714
4653Problem: Vim9: handling constant expression does not scale.
4654Solution: Use another solution, passing typval_T.
4655Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4656
4657Patch 8.2.0715
4658Problem: Vim9: leaking memory.
4659Solution: Free strings after concatenating them.
4660Files: src/vim9compile.c
4661
4662Patch 8.2.0716
4663Problem: Vim9: another memory leak.
4664Solution: Clear typval when failing.
4665Files: src/vim9compile.c
4666
4667Patch 8.2.0717
4668Problem: Vim9: postponed constant expressions does not scale.
4669Solution: Add a structure to pass around postponed constants.
4670Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4671
4672Patch 8.2.0718
4673Problem: Gcc warning for returning pointer to local variable. (John
4674 Marriott)
4675Solution: Return another pointer.
4676Files: src/evalvars.c
4677
4678Patch 8.2.0719
4679Problem: Vim9: more expressions can be evaluated at compile time
4680Solution: Recognize has('name').
4681Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4682 src/testdir/test_vim9_expr.vim
4683
4684Patch 8.2.0720
4685Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4686Solution: On an X error do not exit, do preserve files.
4687Files: src/os_unix.c
4688
4689Patch 8.2.0721
4690Problem: Vim9: leaking memory when skipping.
4691Solution: Disable skipping in generate_ppconst().
4692Files: src/vim9compile.c
4693
4694Patch 8.2.0722
4695Problem: Vim9: not handling constant expression for elseif.
4696Solution: Use postponed constants. Delete the code for evaluating a
4697 constant expression.
4698Files: src/vim9compile.c
4699
4700Patch 8.2.0723
4701Problem: Vim9: nested constant expression not evaluated compile time.
4702Solution: Use compile_expr1() for parenthesis.
4703Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4704
4705Patch 8.2.0724
4706Problem: Vim9: appending to buffer/window/tab variable not tested
4707Solution: Add a test.
4708Files: src/testdir/test_vim9_script.vim
4709
4710Patch 8.2.0725
4711Problem: Vim9: cannot call a function declared later in Vim9 script.
4712Solution: Make two passes through the script file.
4713Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
4714 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
4715 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
4716 src/proto/evalvars.pro, src/vim.h,
4717 src/testdir/test_vim9_disassemble.vim
4718
4719Patch 8.2.0726
4720Problem: Vim9: leaking memory when calling not compiled :def function.
4721Solution: Check if function is compiled earlier.
4722Files: src/vim9execute.c
4723
4724Patch 8.2.0727
4725Problem: MS-Windows: new gcc compiler does not support scanf format.
4726Solution: Use "%ll" instead of "%I". (Ken Takata)
4727Files: src/vim.h
4728
4729Patch 8.2.0728
4730Problem: Messages about a deadly signal are not left aligned.
4731Solution: Output a CR before the NL. (Dominique Pellé, #6055)
4732Files: src/misc1.c, src/os_unix.c
4733
4734Patch 8.2.0729
4735Problem: Vim9: When reloading a script variables are not cleared.
4736Solution: When sourcing a script again clear all script-local variables.
4737Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
4738 src/testdir/test_vim9_script.vim
4739
4740Patch 8.2.0730
4741Problem: Vim9: Assignment to dict member does not work.
4742Solution: Parse dict assignment. Implement getting dict member.
4743Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
4744 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
4745 src/testdir/test_vim9_script.vim
4746
4747Patch 8.2.0731
4748Problem: Vim9: parsing declarations continues after :finish.
4749Solution: Bail out when encountering :finish.
4750Files: src/vim9script.c, src/testdir/test_vim9_script.vim
4751
4752Patch 8.2.0732
4753Problem: Vim9: storing value in dict messes up stack.
4754Solution: Correct item count of stack.
4755Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
4756
4757Patch 8.2.0733
4758Problem: Vim9: assigning to dict or list argument does not work.
4759Solution: Recognize an argument as assignment target.
4760Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4761
4762Patch 8.2.0734
4763Problem: Vim9: leaking memory when using :finish.
4764Solution: Do not check for next line in third pass.
4765Files: src/scriptfile.c
4766
4767Patch 8.2.0735
4768Problem: Vim9: using uninitialized memory.
4769Solution: Clear the arg_lvar field.
4770Files: src/vim9compile.c
4771
4772Patch 8.2.0736
4773Problem: Some files not recognized as pamenv.
4774Solution: Add pam_inv.conf. (closes #6065)
4775Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4776
4777Patch 8.2.0737
4778Problem: When shell doesn't support CTRL-Z Vim still handles it.
4779Solution: Ignore the STOP signal if it was ignored on startup.
4780 (Kurtis Rader, closes #5990, closes #6058)
4781Files: src/os_unix.c
4782
4783Patch 8.2.0738
4784Problem: Mouse handling in a terminal window not well tested.
4785Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
4786Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
4787 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
4788
4789Patch 8.2.0739
4790Problem: Incomplete profiling when exiting because of a deadly signal.
4791Solution: Call __gcov_flush() if available.
4792Files: src/os_unix.c, src/Makefile, .travis.yml
4793
4794Patch 8.2.0740
4795Problem: Minor message mistakes.
4796Solution: Change vim to Vim and other fixes.
4797Files: src/if_py_both.h, src/if_tcl.c, src/main.c
4798
4799Patch 8.2.0741
4800Problem: Python tests fail because of changed message.
4801Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
4802Files: src/testdir/test86.ok, src/testdir/test87.ok
4803
4804Patch 8.2.0742
4805Problem: Handling of a TERM signal not tested.
4806Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
4807Files: src/testdir/test_signals.vim
4808
4809Patch 8.2.0743
4810Problem: Can move to another buffer from a terminal in popup window.
4811Solution: Do not allow "gf" or editing a file. (closes #6072)
4812Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
4813
4814Patch 8.2.0744
4815Problem: The name vim is not capitalized in a message.
4816Solution: Use "Vim" instead of "vim".
4817Files: src/main.c
4818
4819Patch 8.2.0745
4820Problem: Crash on exit when not all popups are closed.
4821Solution: Close popups when freeing all memory. Disable checking for popup
4822 when editing a file for now.
4823Files: src/misc2.c, src/ex_cmds.c
4824
4825Patch 8.2.0746
4826Problem: popup_clear() hangs when a popup can't be closed.
4827Solution: Bail out when a popup can't be closed.
4828Files: src/popupwin.c, src/proto/popupwin.pro
4829
4830Patch 8.2.0747
4831Problem: Cannot forcefully close all popups.
4832Solution: Add the "force" argument to popup_clear(). Use it after running a
4833 test. Put back the check for a popup when editing a file.
4834Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
4835 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
4836 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
4837 src/testdir/test_terminal.vim
4838
4839Patch 8.2.0748
4840Problem: Cannot get a list of all popups.
4841Solution: Add popup_list(). Use it in the test runner.
4842Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
4843 src/proto/popupwin.pro, src/evalfunc.c,
4844 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
4845
4846Patch 8.2.0749
4847Problem: TERM signal test fails on FreeBSD.
4848Solution: Do not check the messages, the may appear anywhere. (Dominique
4849 Pellé, closes #6075)
4850Files: src/testdir/test_signals.vim
4851
4852Patch 8.2.0750
4853Problem: Netbeans test is a bit flaky.
4854Solution: Allow for standard sign to be defined. Use WaitForAssert().
4855Files: src/testdir/test_netbeans.vim
4856
4857Patch 8.2.0751
4858Problem: Vim9: performance can be improved.
4859Solution: Don't call break. Inline check for list materialize. Make an
4860 inline version of ga_grow().
4861Files: src/macros.h, src/evalfunc.c, src/misc2.c,
4862 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
4863 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
4864 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
4865 src/userfunc.c, src/if_py_both.h
4866
4867Patch 8.2.0752
4868Problem: Terminal in popup window test is a bit flaky.
4869Solution: Wait for shell job status to be "run". Mark as flaky test.
4870Files: src/testdir/test_popupwin.vim
4871
4872Patch 8.2.0753
4873Problem: Vim9: expressions are evaluated in the discovery phase.
4874Solution: Bail out if an expression is not a constant. Require a type for
4875 declared constants.
4876Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
4877 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
4878 src/vim9compile.c, src/testdir/test_vim9_script.vim,
4879 src/testdir/test_vim9_disassemble.vim
4880
4881Patch 8.2.0754
4882Problem: Vim9: No test for forward declaration.
4883Solution: Add a test.
4884Files: src/testdir/test_vim9_script.vim
4885
4886Patch 8.2.0755
4887Problem: Vim9: No error when variable initializer is not a constant.
4888Solution: Return FAIL when trying to get a variable value. Do not execute a
4889 script when an error is detected in the first or second phase.
4890Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
4891
4892Patch 8.2.0756 (after 8.2.0249)
4893Problem: MS-Windows: still a compiler warning.
4894Solution: Move flag to another place in the Makefile. (Ken Takata,
4895 closes #6083)
4896Files: src/Make_mvc.mak
4897
4898Patch 8.2.0757
4899Problem: Vim9: no test for MEMBER instruction.
4900Solution: Add a test. Make matches stricter.
4901Files: src/testdir/test_vim9_disassemble.vim
4902
4903Patch 8.2.0758
4904Problem: Vim9: no test for STORELIST and STOREDICT.
4905Solution: Add a test. Make matches stricter.
4906Files: src/testdir/test_vim9_disassemble.vim
4907
4908Patch 8.2.0759 (after 8.2.0751)
4909Problem: Vim9: missing changes for performance improvements
4910Solution: Use GA_GROW(). Don't call breakcheck so often.
4911Files: src/vim9execute.c
4912
4913Patch 8.2.0760
4914Problem: Vim9: dict member errors not tested.
4915Solution: Delete unreachable error. Add tests.
4916Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
4917
4918Patch 8.2.0761
4919Problem: Vim9: instructions not tested
4920Solution: Use a variable instead of a constant.
4921Files: src/testdir/test_vim9_expr.vim
4922
4923Patch 8.2.0762
4924Problem: Buffer is not considered modified after setting crypt key.
4925Solution: Set the modified flag. (Christian Brabandt, closes #6082)
4926Files: src/optionstr.c, src/testdir/test_crypt.vim
4927
4928Patch 8.2.0763
4929Problem: GUI test fails without the terminal feature.
4930Solution: Check the terminal feature is supported. (Ken Takata,
4931 closes #6084)
4932Files: src/testdir/test_gui.vim
4933
4934Patch 8.2.0764
4935Problem: Vim9: assigning to option not fully tested.
4936Solution: Add more test cases. Allow using any type for assignment.
4937Files: src/vim9compile.c, src/vim9execute.c,
4938 src/testdir/test_vim9_script.vim
4939
4940Patch 8.2.0765
4941Problem: In the GUI can't use all the modifiers. (Andri Möll)
4942Solution: Do not apply Alt/Meta early, do it later like with the terminal.
4943 Avoid the Motif test from crashing.
4944Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
4945 src/gui_motif.c
4946
4947Patch 8.2.0766
4948Problem: Display error when using 'number' and 'breakindent'.
4949Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
4950 closes #5986)
4951Files: src/drawline.c, src/testdir/test_breakindent.vim
4952
4953Patch 8.2.0767
4954Problem: ModifyOtherKeys active when using a shell command in autocmd.
4955Solution: Output T_CTE when going to cooked mode. (closes 5617)
4956Files: src/term.c
4957
4958Patch 8.2.0768
4959Problem: Vim9: memory leak in script test.
4960Solution: Clear typval before giving an error message.
4961Files: src/vim9execute.c
4962
4963Patch 8.2.0769
4964Problem: VimLeavePre not triggered when Vim is terminated.
4965Solution: Unblock autocommands.
4966Files: src/main.c, src/testdir/test_signals.vim
4967
4968Patch 8.2.0770
4969Problem: Cannot map CTRL-B when using the GUI.
4970Solution: Reset the CTRL modifier when used. (closes #6092)
4971Files: src/gui_gtk_x11.c
4972
4973Patch 8.2.0771
4974Problem: Vim9: cannot call a compiled closure from not compiled code.
4975Solution: Pass funcexe to call_user_func().
4976Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
4977 src/eval.c, src/testdir/test_vim9_func.vim
4978
4979Patch 8.2.0772
4980Problem: Vim9: some variable initializations not tested.
4981Solution: Add a few more tests
4982Files: src/testdir/test_vim9_script.vim
4983
4984Patch 8.2.0773
4985Problem: Switching to raw mode every time ":" is used.
4986Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
4987 next time TMODE_RAW is used it is set, but not every time.
4988Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
4989 src/os_win32.c
4990
4991Patch 8.2.0774
4992Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
4993 Pellé)
4994Solution: Do not change the terminal mode for a short sleep. Do not output
4995 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
4996 enum.
4997Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
4998 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
4999 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
5000 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
5001
5002Patch 8.2.0775
5003Problem: Not easy to call a Vim function from Lua.
5004Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
5005Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
5006
5007Patch 8.2.0776
5008Problem: Libvterm code lags behind the upstream version.
5009Solution: Include revision 719.
5010Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
5011 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
5012 src/libvterm/src/unicode.c
5013
5014Patch 8.2.0777 (after 8.2.0776)
5015Problem: Terminal test fails.
5016Solution: Adjust character position for double-wide characters.
5017Files: src/testdir/test_terminal.vim
5018
5019Patch 8.2.0778
5020Problem: Libvterm code lags behind the upstream version.
5021Solution: Include revisions 720 - 723.
5022Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
5023 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
5024 src/libvterm/t/92lp1805050.test
5025
5026Patch 8.2.0779
5027Problem: Tmode_T not used everywhere.
5028Solution: Also use tmode_T for settmode().
5029Files: src/term.c, src/proto/term.pro
5030
5031Patch 8.2.0780
5032Problem: Libvterm code lags behind the upstream version.
5033Solution: Include revisions 724 - 726.
5034Files: Filelist, src/libvterm/t/40screen_ascii.test,
5035 src/libvterm/t/60screen_ascii.test,
5036 src/libvterm/t/41screen_unicode.test,
5037 src/libvterm/t/61screen_unicode.test,
5038 src/libvterm/t/42screen_damage.test,
5039 src/libvterm/t/62screen_damage.test,
5040 src/libvterm/t/43screen_resize.test,
5041 src/libvterm/t/63screen_resize.test,
5042 src/libvterm/t/44screen_pen.test,
5043 src/libvterm/t/64screen_pen.test,
5044 src/libvterm/t/45screen_protect.test,
5045 src/libvterm/t/65screen_protect.test,
5046 src/libvterm/t/46screen_extent.test,
5047 src/libvterm/t/66screen_extent.test,
5048 src/libvterm/t/47screen_dbl_wh.test,
5049 src/libvterm/t/67screen_dbl_wh.test,
5050 src/libvterm/t/48screen_termprops.test,
5051 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
5052 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
5053 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
5054
5055Patch 8.2.0781 (after 8.2.0775)
5056Problem: Compiler warning for not using value in Lua.
5057Solution: Add "(void)".
5058Files: src/if_lua.c
5059
5060Patch 8.2.0782
5061Problem: Cannot build with Lua on MS-Windows.
5062Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
5063Files: src/if_lua.c
5064
5065Patch 8.2.0783
5066Problem: Libvterm code lags behind the upstream version.
5067Solution: Include revisions 728 - 729.
5068Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
5069 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
5070 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
5071 src/libvterm/src/vterm_internal.h,
5072 src/libvterm/t/26state_query.test
5073
5074Patch 8.2.0784
5075Problem: Libvterm code lags behind the upstream version.
5076Solution: Include revisions 730 - 733.
5077Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
5078 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
5079 src/libvterm/t/harness.c
5080
5081Patch 8.2.0785
5082Problem: Libvterm code lags behind the upstream version.
5083Solution: Include revisions 734 - 740.
5084Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5085 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
5086 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
5087 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
5088
5089Patch 8.2.0786
5090Problem: Channel test is flaky on FreeBSD.
5091Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
5092 netbeans test. (Ozaki Kiichi, closes #6097)
5093Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
5094
5095Patch 8.2.0787
5096Problem: Libvterm code lags behind the upstream version.
5097Solution: Include revisions 741 - 742.
5098Files: Filelist, src/libvterm/src/screen.c
5099
5100Patch 8.2.0788
5101Problem: Memory leak in libvterm.
5102Solution: free tmpbuffer.
5103Files: src/libvterm/src/vterm.c
5104
5105Patch 8.2.0789
5106Problem: Vim9: expression testing lost coverage using constants.
5107Solution: Use a few variables instead of constants.
5108Files: src/testdir/test_vim9_expr.vim
5109
5110Patch 8.2.0790
5111Problem: Vim9: list index not well tested.
5112Solution: Add a few more tests.
5113Files: src/testdir/test_vim9_script.vim
5114
5115Patch 8.2.0791
5116Problem: A second popup window with terminal causes trouble.
5117Solution: Disallow opening a second terminal-popup window. (closes #6101,
5118 closes #6103) Avoid defaulting to an invalid line number.
5119Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
5120 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
5121
5122Patch 8.2.0792
5123Problem: Build failure with small features.
5124Solution: Add #ifdef.
5125Files: src/popupwin.c
5126
5127Patch 8.2.0793
5128Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5129Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5130Files: src/os_win32.c
5131
5132Patch 8.2.0794
5133Problem: Libvterm code lags behind the upstream version.
5134Solution: Include revisions 743 - 747.
5135Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5136 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5137 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5138
5139Patch 8.2.0795
5140Problem: Libvterm code lags behind the upstream version.
5141Solution: Include revisions 748 - 754.
5142Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5143 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5144 src/libvterm/t/60screen_ascii.test,
5145 src/libvterm/t/62screen_damage.test,
5146 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5147 src/libvterm/t/run-test.pl
5148
5149Patch 8.2.0796
5150Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5151Solution: Change to C90 construct.
5152Files: src/libvterm/src/state.c
5153
5154Patch 8.2.0797
5155Problem: MS-Windows: compiler still can't handle C99 construct.
5156Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5157Files: src/libvterm/src/state.c
5158
5159Patch 8.2.0798
5160Problem: Libvterm code lags behind the upstream version.
5161Solution: Include revisions 755 - 758.
5162Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5163 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5164 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5165 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5166 src/libvterm/t/02parser.test,
5167 src/libvterm/t/18state_termprops.test,
5168 src/libvterm/t/29state_fallback.test,
5169 src/libvterm/t/68screen_termprops.test, src/terminal.c
5170
5171Patch 8.2.0799
5172Problem: Build fails if snprintf is not available.
5173Solution: Use vim_snprintf().
5174Files: src/libvterm/src/state.c
5175
5176Patch 8.2.0800
5177Problem: Errors from failing test are unclear.
5178Solution: Include text where parsing failed.
5179Files: src/json.c, src/testdir/test_json.vim
5180
5181Patch 8.2.0801
5182Problem: Terminal test fails on Mac.
5183Solution: Concatenate OSC pieces.
5184Files: src/terminal.c
5185
5186Patch 8.2.0802
5187Problem: Libvterm code lags behind the upstream version.
5188Solution: Include revisions 759 - 762.
5189Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5190 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5191 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5192 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5193 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5194
5195Patch 8.2.0803
5196Problem: Libvterm code lags behind the upstream version.
5197Solution: Include revisions 764 - 767
5198Files: src/Makefile, src/libvterm/src/parser.c,
5199 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5200 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5201 src/libvterm/src/fullwidth.inc
5202
5203Patch 8.2.0804
5204Problem: Libvterm code lags behind the upstream version.
5205Solution: Include revision 727, but add the index instead of switching
5206 between RGB and indexed.
5207Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
5208 src/libvterm/src/pen.c src/libvterm/src/screen.c
5209 src/libvterm/src/vterm_internal.h src/libvterm/t/30state_pen.test
5210 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5211 src/libvterm/t/26state_query.test,
5212 src/libvterm/t/64screen_pen.test
5213
5214Patch 8.2.0805
5215Problem: Terminal key codes test fails on some systems.
5216Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5217Files: src/testdir/test_terminal.vim
5218
5219Patch 8.2.0806
5220Problem: using "func!" after vim9script gives confusing error.
5221Solution: Give E477. (closes #6107)
5222Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5223
5224Patch 8.2.0807
5225Problem: Cannot easily restore a mapping.
5226Solution: Add mapset().
5227Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5228 src/testdir/test_maparg.vim
5229
5230Patch 8.2.0808
5231Problem: Not enough testing for the terminal window.
5232Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5233 leak.
5234Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5235 src/terminal.c
5236
5237Patch 8.2.0809
5238Problem: Build failure with small features. (Tony Mechelynck)
5239Solution: Move "expr" inside #ifdef.
5240Files: src/map.c
5241
5242Patch 8.2.0810
5243Problem: Error when appending "tagfile" to 'wildoptions'.
5244Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5245 closes #6105)
5246Files: src/optiondefs.h, src/testdir/test_options.vim
5247
5248Patch 8.2.0811
5249Problem: Terminal keycode test is flaky.
5250Solution: Use WaitForAssert()
5251Files: src/testdir/test_terminal.vim
5252
5253Patch 8.2.0812
5254Problem: mapset() does not properly handle <> notation.
5255Solution: Convert <> codes. (closes #6116)
5256Files: src/map.c, src/testdir/test_maparg.vim
5257
5258Patch 8.2.0813
5259Problem: libvterm code is slightly different from upstream.
5260Solution: Use upstream text to avoid future merge problems. Mainly comment
5261 style changes.
5262Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5263 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5264 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5265 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5266 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5267 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5268 src/libvterm/src/vterm.c
5269
5270Patch 8.2.0814
5271Problem: Clang warning for implicit conversion.
5272Solution: Add type cast. (Dominique Pellé, closes #6124)
5273Files: src/evalfunc.c
5274
5275Patch 8.2.0815
5276Problem: maparg() does not provide enough information for mapset().
5277Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5278Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5279
5280Patch 8.2.0816
5281Problem: Terminal test fails when compiled with Athena.
5282Solution: Do give an error when the GUI is not running. (hint by Dominique
5283 Pellé, closes #5928, closes #6132)
5284Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5285 src/testdir/test_terminal.vim
5286
5287Patch 8.2.0817
5288Problem: Not enough memory allocated when converting string with special
5289 character.
5290Solution: Reserve space for modifier code. (closes #6130)
5291Files: src/eval.c, src/testdir/test_functions.vim
5292
5293Patch 8.2.0818
5294Problem: Vim9: using a discovery phase doesn't work well.
5295Solution: Remove the discovery phase, instead compile a function only when
5296 it is used. Add :defcompile to compile def functions earlier.
5297Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5298 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5299 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5300 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5301 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
5302 src/testdir/test_vim9_disassemble.vim
5303 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5304
5305Patch 8.2.0819
5306Problem: Compiler warning for unused variable.
5307Solution: Remove the variable.
5308Files: src/evalvars.c
5309
5310Patch 8.2.0820
5311Problem: Vim9: function type isn't set until compiled.
5312Solution: Set function type early.
5313Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5314 src/testdir/test_vim9_func.vim
5315
5316Patch 8.2.0821
5317Problem: Vim9: memory leak in expr test.
5318Solution: Do not decrement the length of the list of functions if the
5319 current function is not at the end.
5320Files: src/vim9compile.c
5321
5322Patch 8.2.0822
5323Problem: Vim9: code left over from discovery phase.
5324Solution: Remove the dead code.
5325Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5326 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5327
5328Patch 8.2.0823
5329Problem: Vim9: script reload test is disabled.
5330Solution: Compile a function in the context of the script where it was
5331 defined. Set execution stack for compiled function. Add a test
5332 that an error is reported for the right file/function.
5333Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5334 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5335 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5336 src/testdir/test_vim9_script.vim
5337
5338Patch 8.2.0824 (after 8.2.0817)
5339Problem: Still not enough memory allocated when converting string with
5340 special character.
5341Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5342Files: src/eval.c, src/testdir/test_functions.vim
5343
5344Patch 8.2.0825
5345Problem: def_function() may return pointer that was freed.
5346Solution: Set "fp" to NULL after freeing it.
5347Files: src/userfunc.c
5348
5349Patch 8.2.0826
5350Problem: Vim9: crash in :defcompile.
5351Solution: Restart the loop after a call to compile_def_function() caused the
5352 hash table to resize.
5353Files: src/userfunc.c
5354
5355Patch 8.2.0827
5356Problem: Vim9: crash in :defcompile.
5357Solution: Fix off-by-one error.
5358Files: src/userfunc.c
5359
5360Patch 8.2.0828
5361Problem: Travis: regexp pattern doesn't work everywhere.
5362Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5363Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5364 ci/config.mk.sed, src/if_ruby.c
5365
5366Patch 8.2.0829
5367Problem: filter() may give misleading error message.
5368Solution: Also mention Blob as an allowed argument.
5369Files: src/list.c, src/testdir/test_filter_map.vim
5370
5371Patch 8.2.0830
5372Problem: Motif: can't map "!". (Ben Jackson)
5373Solution: Remove the shift modifier if it's already included in the key.
5374 (closes #6147)
5375Files: src/gui_x11.c
5376
5377Patch 8.2.0831
5378Problem: Compiler warnings for integer sizes.
5379Solution: Add type casts. (Mike Williams)
5380Files: src/libvterm/src/pen.c, src/terminal.c
5381
5382Patch 8.2.0832
5383Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5384Solution: Add initial value.
5385Files: src/map.c
5386
5387Patch 8.2.0833
5388Problem: Mapping <C-bslash> doesn't work in the GUI.
5389Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5390Files: src/gui.c
5391
5392Patch 8.2.0834
5393Problem: :drop command in terminal popup causes problems.
5394Solution: Check for using a popup window. (closes #6151)
5395Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5396
5397Patch 8.2.0835
5398Problem: Motif: mapping <C-bslash> still doesn't work.
5399Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5400 early. (closes #6150)
5401Files: src/getchar.c, src/gui_x11.c
5402
5403Patch 8.2.0836
5404Problem: Not all :cdo output is visible.
5405Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5406Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5407
5408Patch 8.2.0837
5409Problem: Compiler warning for value set but not used.
5410Solution: Move variable inside #ifdef.
5411Files: src/channel.c
5412
5413Patch 8.2.0838
5414Problem: MS-Windows: compiler warning for uninitialized variables.
5415Solution: Initialize variables.
5416Files: src/screen.c
5417
5418Patch 8.2.0839
5419Problem: Dropping modifier when putting a character back in typeahead.
5420Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5421Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5422 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5423
5424Patch 8.2.0840
5425Problem: Search match count wrong when only match is in fold.
5426Solution: Update search stats when in a closed fold. (Christian Brabandt,
5427 closes #6160, closes #6152)
5428Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5429 src/testdir/test_search_stat.vim
5430
5431Patch 8.2.0841
5432Problem: 'verbose' value 16 causes duplicate output.
5433Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5434 closes #6153)
5435Files: runtime/doc/options.txt, src/ex_docmd.c
5436
5437Patch 8.2.0842 (after 8.2.0837)
5438Problem: MS-Windows: channel tests fail.
5439Solution: Adjust #ifdefs. (closes #6162)
5440Files: src/channel.c
5441
5442Patch 8.2.0843
5443Problem: Filetype elm not detected.
5444Solution: Recognize *.elm files. (closes #6157)
5445Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5446
5447Patch 8.2.0844
5448Problem: Text properties crossing lines not handled correctly.
5449Solution: When saving for undo include an extra line when needed and do not
5450 adjust properties when undoing. (Axel Forsman, closes #5875)
5451Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5452
5453Patch 8.2.0845
5454Problem: Text properties crossing lines not handled correctly.
5455Solution: When joining lines merge text properties if possible.
5456 (Axel Forsman, closes #5839, closes #5683)
5457Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5458 src/proto/textprop.pro, src/textprop.c,
5459 src/testdir/dumps/Test_textprop_01.dump
5460
5461Patch 8.2.0846
5462Problem: Build failure with small features.
5463Solution: Add #ifdef.
5464Files: src/undo.c
5465
5466Patch 8.2.0847
5467Problem: Typval related code is spread out.
5468Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5469Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5470 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5471 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5472 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5473 src/typval.c
5474
5475Patch 8.2.0848
5476Problem: MS-Windows: the Windows terminal code has some flaws.
5477Solution: Do not redraw the right edge of the screen. Remove the background
5478 color trick. Flush the screen output buffer often. (Nobuhiro
5479 Takasaki, #5546)
5480Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5481
5482Patch 8.2.0849
5483Problem: BeOS code is not maintained and probably unused.
5484Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5485Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5486 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5487 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5488 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5489 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5490
5491Patch 8.2.0850
5492Problem: MS-Windows: exepath() works differently from cmd.exe.
5493Solution: Make exepath() work better on MS-Windows. (closes #6115)
5494Files: runtime/doc/eval.txt, src/os_win32.c,
5495 src/testdir/test_functions.vim
5496
5497Patch 8.2.0851 (after 8.2.0833)
5498Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5499Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5500Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5501
5502Patch 8.2.0852
5503Problem: Cannot map CTRL-S on some systems.
5504Solution: Do not use CTRL-S for flow control.
5505Files: src/os_unix.c
5506
5507Patch 8.2.0853
5508Problem: ml_delete() often called with FALSE argument.
5509Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5510Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5511 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5512 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5513 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5514 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5515 src/proto/memline.pro
5516
5517Patch 8.2.0854
5518Problem: Xxd cannot show offset as a decimal number.
5519Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5520Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5521
5522Patch 8.2.0855
5523Problem: GUI tests fail because the test doesn't use a modifier.
5524Solution: Add "\{xxx}" to be able to encode a modifier.
5525Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5526 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5527 src/term.c, src/testdir/test_backspace_opt.vim,
5528 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5529
5530Patch 8.2.0856 (after 8.2.0852)
5531Problem: CTRL-S stops output.
5532Solution: Invert the IXON flag. (closes #6166)
5533Files: src/os_unix.c
5534
5535Patch 8.2.0857
5536Problem: GTK cell height can be a pixel too much.
5537Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5538Files: src/gui_gtk_x11.c
5539
5540Patch 8.2.0858
5541Problem: Not easy to require Lua modules.
5542Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5543Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5544 src/testdir/test_lua.vim,
5545 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5546 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5547
5548Patch 8.2.0859
5549Problem: No Turkish translation of the manual.
5550Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5551Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5552 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5553 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5554 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5555 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5556
5557Patch 8.2.0860
5558Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5559Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5560Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5561 src/testdir/test_increment.vim
5562
5563Patch 8.2.0861
5564Problem: Cannot easily get all the current marks.
5565Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5566Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5567 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5568
5569Patch 8.2.0862
5570Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5571 Hennepe)
5572Solution: Do not hide the current buffer. (closes #6170)
5573Files: src/terminal.c, src/testdir/test_terminal.vim
5574
5575Patch 8.2.0863
5576Problem: Cannot set a separate color for underline/undercurl.
5577Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5578Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5579 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5580 src/screen.c, src/structs.h, src/term.c, src/term.h,
5581 src/testdir/test_options.vim
5582
5583Patch 8.2.0864
5584Problem: Pragmas are indented all the way to the left.
5585Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5586 closes #5468)
5587Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5588 src/testdir/test_cindent.vim
5589
5590Patch 8.2.0865
5591Problem: Syntax foldlevel is taken from the start of the line.
5592Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5593 the line. (Brad King, closes #6087)
5594Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5595 src/testdir/test_syntax.vim
5596
5597Patch 8.2.0866
5598Problem: Not enough tests for buffer writing.
5599Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5600 (Yegappan Lakshmanan, closes #6167)
5601Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5602 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5603 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5604 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5605 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5606 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5607 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5608 src/testdir/test_writefile.vim
5609
5610Patch 8.2.0867
5611Problem: Using \{xxx} for encoding a modifier is not nice.
5612Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5613 different code.
5614Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5615 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5616 src/testdir/test_messages.vim
5617
5618Patch 8.2.0868
5619Problem: trim() always trims both ends.
5620Solution: Add an argument to only trim the beginning or end. (Yegappan
5621 Lakshmanan, closes #6126)
5622Files: runtime/doc/eval.txt, src/evalfunc.c,
5623 src/testdir/test_functions.vim
5624
5625Patch 8.2.0869
5626Problem: It is not possible to customize the quickfix window contents.
5627Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5628Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5629 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5630 src/quickfix.c, src/testdir/test_quickfix.vim
5631
5632Patch 8.2.0870
5633Problem: MS-Windows: Control keys don't work in the GUI.
5634Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5635 closes #6175)
5636Files: src/gui.c
5637
5638Patch 8.2.0871
5639Problem: Cannot use getmarklist() as a method.
5640Solution: Make getmarklist() work as a method. Add one to the column
5641 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5642Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5643 src/testdir/test_marks.vim
5644
5645Patch 8.2.0872
5646Problem: XIM code is mixed with multibyte code.
5647Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5648 closes #6177)
5649Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5650 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5651 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5652 src/proto/mbyte.pro
5653
5654Patch 8.2.0873
5655Problem: A .jl file can be sawfish (lisp) or Julia.
5656Solution: Do not recognize *.jl as lisp, since it might be Julia.
5657 (closes #6178)
5658Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5659
5660Patch 8.2.0874
5661Problem: Signals test is a bit flaky.
5662Solution: Flush the XautoOut file. Delete files that may be left behind
5663 from a failure. (Dominique Pellé, closes #6179)
5664Files: src/testdir/test_signals.vim
5665
5666Patch 8.2.0875
5667Problem: Getting attributes for directory entries is slow.
5668Solution: Add readdirex(). (Ken Takata, closes #5619)
5669Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5670 src/fileio.c, src/filepath.c src/proto/fileio.pro,
5671 src/proto/filepath.pro, src/testdir/test_functions.vim
5672
5673Patch 8.2.0876
5674Problem: :pwd does not give a hint about the scope of the directory
5675Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5676Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5677
5678Patch 8.2.0877
5679Problem: Cannot get the search statistics.
5680Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5681Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5682 src/proto/search.pro, src/search.c,
5683 src/testdir/test_search_stat.vim
5684
5685Patch 8.2.0878
5686Problem: No reduce() function.
5687Solution: Add a reduce() function. (closes #5481)
5688Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5689 src/proto/list.pro, src/testdir/test_listdict.vim
5690
5691Patch 8.2.0879
5692Problem: Compiler warning for unused function argument.
5693Solution: Add UNUSED.
5694Files: src/search.c
5695
5696Patch 8.2.0880 (after 8.2.0877)
5697Problem: Leaking memory when using searchcount().
5698Solution: Free the last used search pattern.
5699Files: src/search.c
5700
5701Patch 8.2.0881
5702Problem: Compiler warning for argument type.
5703Solution: Add type cast. (Mike Williams)
5704Files: src/ops.c
5705
5706Patch 8.2.0882
5707Problem: Leaking memory when using reduce().
5708Solution: Free the intermediate value.
5709Files: src/list.c
5710
5711Patch 8.2.0883
5712Problem: Memory leak in test 49.
5713Solution: Free "sfile" from the exception.
5714Files: src/ex_docmd.c
5715
5716Patch 8.2.0884
5717Problem: Searchcount() test fails on slower systems.
5718Solution: Set a longer timeout.
5719Files: src/search.c, src/testdir/test_search_stat.vim
5720
5721Patch 8.2.0885
5722Problem: "make shadow" does not link new lua test dir.
5723Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
5724Files: src/Makefile
5725
5726Patch 8.2.0886
5727Problem: Cannot use octal numbers in scriptversion 4.
5728Solution: Add the "0o" notation. (Ken Takata, closes #5304)
5729Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
5730 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
5731 src/vim.h
5732
5733Patch 8.2.0887
5734Problem: Searchcount().exact_match is 1 right after a match.
5735Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
5736Files: src/search.c, src/testdir/test_search_stat.vim
5737
5738Patch 8.2.0888
5739Problem: Readdirex() returns size -2 for a directory.
5740Solution: Add missing "else". (Ken Takata, closes #6185)
5741Files: src/fileio.c, src/testdir/test_functions.vim
5742
5743Patch 8.2.0889
5744Problem: Using old style comments.
5745Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
5746Files: src/gui_xim.c
5747
5748Patch 8.2.0890
5749Problem: No color in terminal window when 'termguicolors' is set.
5750Solution: Clear the underline color. (closes #6186)
5751Files: src/highlight.c
5752
5753Patch 8.2.0891
5754Problem: Clang warns for invalid conversion.
5755Solution: Use zero instead of INVALCOLOR.
5756Files: src/highlight.c
5757
5758Patch 8.2.0892
5759Problem: Ubsan warns for undefined behavior.
5760Solution: Use unsigned instead of signed variable. (Dominique Pellé,
5761 closes #6193)
5762Files: src/regexp_nfa.c
5763
5764Patch 8.2.0893
5765Problem: Assert_equalfile() does not take a third argument.
5766Solution: Implement the third argument. (Gary Johnson)
5767Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
5768 src/testdir/test_assert.vim, src/testing.c
5769
5770Patch 8.2.0894
5771Problem: :mkspell can take very long if the word count is high.
5772Solution: Use long to avoid negative numbers. Increase the limits by 20% if
5773 the compression did not have effect.
5774Files: src/spellfile.c
5775
5776Patch 8.2.0895
5777Problem: :mkspell output does not mention the tree type.
5778Solution: Back out increasing the limits, it has no effect. Mention the
5779 tree being compressed. Only give a message once per second.
5780Files: src/spellfile.c
5781
5782Patch 8.2.0896
5783Problem: Crash when calling searchcount() with a string.
5784Solution: Check the argument is a dict. (closes #6192)
5785Files: src/search.c, src/testdir/test_search_stat.vim
5786
5787Patch 8.2.0897
5788Problem: List of functions in patched version is outdated.
5789Solution: Update the function lists only.
5790Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
5791
5792Patch 8.2.0898
5793Problem: Missing help for a function goes unnoticed.
5794Solution: Add a test. (Gary Johnson)
5795Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
5796
5797Patch 8.2.0899
5798Problem: Assert_equalfile() does not give a hint about the difference.
5799Solution: Display the last seen text.
5800Files: src/testing.c, src/testdir/test_assert.vim
5801
5802Patch 8.2.0900
5803Problem: Function list test fails on MS-Windows.
5804Solution: Make sure the fileformat is "unix"
5805Files: src/testdir/test_function_lists.vim
5806
5807Patch 8.2.0901
5808Problem: Formatting CJK text isn't optimal.
5809Solution: Properly break CJK lines. (closes #3875)
5810Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
5811 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
5812 src/testdir/test_cjk_linebreak.vim
5813
5814Patch 8.2.0902
5815Problem: Using searchcount() in 'statusline' causes an error.
5816Solution: Avoid saving/restoring the search pattern recursively.
5817 (closes #6194)
5818Files: src/search.c, src/testdir/test_search_stat.vim,
5819 src/testdir/dumps/Test_searchstat_4.dump
5820
5821Patch 8.2.0903
5822Problem: comparing WINVER does not work correctly.
5823Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
5824Files: src/Make_cyg_ming.mak
5825
5826Patch 8.2.0904
5827Problem: Assuming modifyOtherKeys for rhs of mapping.
5828Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
5829Files: src/getchar.c, src/testdir/test_gui.vim
5830
5831Patch 8.2.0905
5832Problem: Test coverage could be better.
5833Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
5834Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
5835
5836Patch 8.2.0906
5837Problem: When setting 'termguicolors' SpellBad is no longer red.
5838Solution: Only use the RGB guisp color for cterm when using the "underline"
5839 or "undercurl" attributes to avoid the background color to be
5840 cleared. Also make t_8u empty when the termresponse indicates a
5841 real xterm. (closes #6207)
5842Files: src/highlight.c, src/term.c
5843
5844Patch 8.2.0907
5845Problem: When using :global clipboard isn't set correctly.
5846Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
5847 Brabandt, closes #6203, closes #6198)
5848Files: src/clipboard.c, src/testdir/test_global.vim
5849
5850Patch 8.2.0908
5851Problem: Crash when changing the function table while listing it.
5852Solution: Bail out when the function table changes. (closes #6209)
5853Files: src/userfunc.c, src/testdir/test_timers.vim
5854
5855Patch 8.2.0909
5856Problem: Cannot go back to the previous local directory.
5857Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
5858Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
5859 src/structs.h, src/testdir/test_cd.vim, src/window.c
5860
5861Patch 8.2.0910
5862Problem: Vim is not reproducibly buildable.
5863Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
5864 (James McCoy, closes #513) Give a warning about using it.
5865Files: src/config.h.in, src/config.mk.in, src/configure.ac,
5866 src/auto/configure, src/version.c, src/Makefile
5867
5868Patch 8.2.0911
5869Problem: Crash when opening a buffer for the cmdline window fails. (Chris
5870 Barber)
5871Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
5872 more prompt. (closes #6211)
5873Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
5874 src/testdir/dumps/Test_cmdwin_interrupted.dump
5875
5876Patch 8.2.0912
5877Problem: A few test cases for CJK formatting are disabled.
5878Solution: Fix the tests and enable them. (closes #6212)
5879Files: src/testdir/test_cjk_linebreak.vim
5880
5881Patch 8.2.0913
5882Problem: Code for resetting v:register is duplicated.
5883Solution: Add reset_reg_var().
5884Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
5885
5886Patch 8.2.0914
5887Problem: MS-Windows: cannot specify a "modified by" text.
5888Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
5889Files: src/Make_mvc.mak
5890
5891Patch 8.2.0915
5892Problem: Search() cannot skip over matches like searchpair() can.
5893Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
5894Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
5895 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
5896
5897Patch 8.2.0916
5898Problem: Mapping with partly modifyOtherKeys code does not work.
5899Solution: If there is no mapping with a separate modifier include the
5900 modifier in the key and then try mapping again. (closes #6200)
5901Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
5902 src/proto/term.pro, src/testdir/test_termcodes.vim
5903
5904Patch 8.2.0917
5905Problem: Quickfix entries do not support a "note" type.
5906Solution: Add support for "note". (partly by Yegappan Lakshmanan,
5907 closes #5527, closes #6216)
5908Files: runtime/doc/quickfix.txt, src/quickfix.c,
5909 src/testdir/test_quickfix.vim
5910
5911Patch 8.2.0918
5912Problem: Duplicate code for evaluating expression argument.
5913Solution: Merge the code and make the use more flexible.
5914Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
5915 src/proto/evalvars.pro, src/structs.h
5916
5917Patch 8.2.0919
5918Problem: Merging modifier for modifyOtherKeys is done twice.
5919Solution: Remove the merging done in vgetc().
5920Files: src/getchar.c, src/ex_getln.c
5921
5922Patch 8.2.0920
5923Problem: Writing viminfo fails with a circular reference.
5924Solution: Use copyID to detect the cycle. (closes #6217)
5925Files: src/testdir/test_viminfo.vim, src/viminfo.c
5926
5927Patch 8.2.0921
5928Problem: CTRL-W T in cmdline window causes trouble.
5929Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
5930 (Naruhiko Nishino, closes #6219)
5931Files: src/testdir/test_cmdline.vim, src/window.c
5932
5933Patch 8.2.0922
5934Problem: Search test fails.
5935Solution: Remove failure tests for calls that no longer fail.
5936Files: src/testdir/test_search.vim
5937
5938Patch 8.2.0923
5939Problem: Cmdline test is slow.
5940Solution: Use WaitForAssert().
5941Files: src/testdir/test_cmdline.vim
5942
5943Patch 8.2.0924
5944Problem: Cannot save and restore a register properly.
5945Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
5946 Massimino, closes #3370)
5947Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5948 src/proto/register.pro, src/register.c,
5949 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
5950
5951Patch 8.2.0925
5952Problem: Getcompletion() does not return command line arguments.
5953Solution: Add the "cmdline" option. (Shougo, closes #1140)
5954Files: runtime/doc/eval.txt, src/cmdexpand.c,
5955 src/testdir/test_cmdline.vim
5956
5957Patch 8.2.0926
5958Problem: Cmdline test fails on Appveyor.
5959Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
5960Files: src/testdir/test_cmdline.vim
5961
5962Patch 8.2.0927
5963Problem: Some sshconfig and ssdhconfig files are not recognized.
5964Solution: Add filetype patterns.
5965Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5966
5967Patch 8.2.0928
5968Problem: Many type casts are used for vim_strnsave().
5969Solution: Make the length argument size_t instead of int. (Ken Takata,
5970 closes #5633) Remove some type casts.
5971Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
5972 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
5973 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
5974
5975Patch 8.2.0929
5976Problem: v:register is not cleared after an operator was executed.
5977Solution: Clear v:register after finishing an operator (Andy Massimino,
5978 closes #5305)
5979Files: src/normal.c, src/testdir/test_registers.vim
5980
5981Patch 8.2.0930
5982Problem: Script filetype detection trips over env -S argument.
5983Solution: Remove "-S" and "--ignore-environment". (closes #5013)
5984 Add tests.
5985Files: runtime/scripts.vim, src/testdir/test_filetype.vim
5986
5987Patch 8.2.0931
5988Problem: Some remarks about BeOS remain.
5989Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
5990 closes #6221)
5991Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
5992 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
5993 runtime/doc/vi_diff.txt, src/INSTALL
5994
5995Patch 8.2.0932
5996Problem: Misspelling spelllang.
5997Solution: Add an "l". (Dominique Pellé)
5998Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
5999
6000Patch 8.2.0933
6001Problem: 'quickfixtextfunc' does not get window ID of location list.
6002Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6003 closes #6222)
6004Files: runtime/doc/quickfix.txt, src/quickfix.c,
6005 src/testdir/test_quickfix.vim
6006
6007Patch 8.2.0934
6008Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6009 topic.
6010Solution: Check whether any window with the location list is present.
6011 (Yegappan Lakshmanan, closes #6215)
6012Files: src/quickfix.c, src/testdir/test_quickfix.vim
6013
6014Patch 8.2.0935
6015Problem: Flattening a list with existing code is slow.
6016Solution: Add flatten(). (Mopp, closes #3676)
6017Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6018 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6019 src/testdir/test_flatten.vim
6020
6021Patch 8.2.0936
6022Problem: Some terminals misinterpret the code for getting cursor style.
6023Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6024 Kouichi, closes #2126) Merged with current code.
6025Files: src/main.c, src/term.c, src/proto/term.pro,
6026 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6027 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6028 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6029 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6030 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6031 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6032
6033Patch 8.2.0937
6034Problem: Asan failure in the flatten() test.
6035Solution: Free the flattened list.
6036Files: src/list.c
6037
6038Patch 8.2.0938
6039Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6040Solution: Use utf_fold() when possible. (ref. neovim #12456)
6041Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6042 src/testdir/test_regexp_utf8.vim
6043
6044Patch 8.2.0939
6045Problem: checking for term escape sequences is long and confusing
6046Solution: Refactor code into separate functions.
6047Files: src/term.c
6048
6049Patch 8.2.0940 (after 8.2.0939)
6050Problem: Build failure with tiny features.
6051Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6052Files: src/term.c
6053
6054Patch 8.2.0941
6055Problem: Detecting terminal properties is unstructured.
6056Solution: Add a table with terminal properties. Set properties when a
6057 terminal is detected.
6058Files: src/term.c
6059
6060Patch 8.2.0942
6061Problem: Expanding to local dir after homedir keeps "~/".
6062Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6063 closes #5979)
6064Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6065
6066Patch 8.2.0943
6067Problem: Displaying ^M or ^J depends on current buffer.
6068Solution: Pass the displayed buffer to transchar(). (closes #6225)
6069Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6070 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6071 src/testdir/test_display.vim,
6072 src/testdir/dumps/Test_display_unprintable_01.dump,
6073 src/testdir/dumps/Test_display_unprintable_02.dump
6074
6075Patch 8.2.0944
6076Problem: Xxd test leaves file behind.
6077Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6078Files: src/testdir/test_xxd.vim
6079
6080Patch 8.2.0945
6081Problem: Cannot use "z=" when 'spell' is off.
6082Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6083 Gary Johnson, closes #6227)
6084Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6085 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6086
6087Patch 8.2.0946
6088Problem: Cannot use "q" to cancel a number prompt.
6089Solution: Recognize "q" instead of ignoring it.
6090Files: src/misc1.c, src/testdir/test_functions.vim
6091
6092Patch 8.2.0947
6093Problem: Readdirex() doesn't handle broken link properly.
6094Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6095 closes #6213)
6096Files: src/fileio.c, src/testdir/test_functions.vim
6097
6098Patch 8.2.0948
6099Problem: Spell test fails.
6100Solution: Adjust expected text of the prompt.
6101Files: src/testdir/test_spell.vim
6102
6103Patch 8.2.0949
6104Problem: Strptime() does not use DST.
6105Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6106Files: src/time.c, src/testdir/test_functions.vim
6107
6108Patch 8.2.0950
6109Problem: Tagjump test fails.
6110Solution: Adjust expected text of the prompt.
6111Files: src/testdir/test_tagjump.vim
6112
6113Patch 8.2.0951
6114Problem: Search stat test has leftover from debugging.
6115Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6116Files: src/testdir/test_search_stat.vim
6117
6118Patch 8.2.0952
6119Problem: No simple way to interrupt Vim.
6120Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6121 closes #1718)
6122Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6123 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6124
6125Patch 8.2.0953
6126Problem: Spell checking doesn't work for CamelCased words.
6127Solution: Add the "camel" value in the new option 'spelloptions'.
6128 (closes #1235)
6129Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6130 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6131 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6132
6133Patch 8.2.0954
6134Problem: Not all desktop files are recognized.
6135Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6136Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6137
6138Patch 8.2.0955 (after 8.2.0953)
6139Problem: Build fails.
6140Solution: Add missing struct change.
6141Files: src/structs.h
6142
6143Patch 8.2.0956 (after 8.2.0953)
6144Problem: Spell test fails.
6145Solution: Add missing change the spell checking.
6146Files: src/spell.c
6147
6148Patch 8.2.0957
6149Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6150Solution: Initialize one variable.
6151Files: src/spell.c
6152
6153Patch 8.2.0958
6154Problem: Not sufficient testing for buffer writing.
6155Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6156Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6157
6158Patch 8.2.0959
6159Problem: Using 'quickfixtextfunc' is a bit slow.
6160Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6161Files: runtime/doc/quickfix.txt, src/quickfix.c,
6162 src/testdir/test_quickfix.vim
6163
6164Patch 8.2.0960
6165Problem: Cannot use :import in legacy Vim script.
6166Solution: Support :import in any Vim script.
6167Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6168 src/testdir/test_vim9_script.vim
6169
6170Patch 8.2.0961
6171Problem: MS-Windows: no completion for locales.
6172Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6173 (Christian Brabandt, closes 36248)
6174Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6175
6176Patch 8.2.0962
6177Problem: Terminal test sometimes hangs on Travis.
6178Solution: Do show output for this test temporarily.
6179Files: src/testdir/Makefile
6180
6181Patch 8.2.0963
6182Problem: Number increment/decrement does not work with 'virtualedit'.
6183Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6184 closes #923)
6185Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6186 src/testdir/test_increment.vim
6187
6188Patch 8.2.0964
6189Problem: TextYankPost does not provide info about Visual selection.
6190Solution: Add the 'visual' key in v:event. (closes #6249)
6191Files: runtime/doc/autocmd.txt, src/register.c,
6192 src/testdir/test_autocmd.vim
6193
6194Patch 8.2.0965
6195Problem: Has_funcundefined() is not used.
6196Solution: Delete the function. (Dominique Pellé, closes #6242)
6197Files: src/autocmd.c, src/proto/autocmd.pro
6198
6199Patch 8.2.0966
6200Problem: 'shortmess' flag "n" not used in two places.
6201Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6202 closes #6244)
6203Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6204 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6205 src/testdir/dumps/Test_start_with_tabs.dump
6206
6207Patch 8.2.0967
6208Problem: Unnecessary type casts for vim_strnsave().
6209Solution: Remove the type casts.
6210Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6211 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6212 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6213 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6214 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6215 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6216 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6217
6218Patch 8.2.0968
6219Problem: No proper testing of the 'cpoptions' flags.
6220Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6221Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6222 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6223
6224Patch 8.2.0969
6225Problem: Assert_equal() output for dicts is hard to figure out.
6226Solution: Only show the different items.
6227Files: src/testing.c, src/testdir/test_assert.vim
6228
6229Patch 8.2.0970
6230Problem: Terminal properties are not available in Vim script.
6231Solution: Add the terminalprops() function.
6232Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6233 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6234 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6235 runtime/doc/testing.txt
6236
6237Patch 8.2.0971
6238Problem: Build with tiny features fails.
6239Solution: Add #ifdef.
6240Files: src/term.c
6241
6242Patch 8.2.0972
6243Problem: Vim9 script variable declarations need a type.
6244Solution: Make "let var: type" declare a script-local variable.
6245Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6246 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6247
6248Patch 8.2.0973
6249Problem: Vim9: type is not checked when assigning to a script variable.
6250Solution: Check the type.
6251Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6252 src/vim9compile.c, src/proto/vim9compile.pro,
6253 src/testdir/test_vim9_script.vim
6254
6255Patch 8.2.0974
6256Problem: Vim9: memory leak when script var has wrong type.
6257Solution: Free the variable name.
6258Files: src/vim9script.vim
6259
6260Patch 8.2.0975
6261Problem: Vim9: script variable does not accept optional s: prefix.
6262Solution: Adjust the accepted syntax.
6263Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6264
6265Patch 8.2.0976
6266Problem: Some 'cpoptions' not tested.
6267Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6268Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6269 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6270
6271Patch 8.2.0977
6272Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6273Solution: Invert the check for TPR_YES. (closes #6254)
6274Files: src/term.c, src/testdir/test_termcodes.vim
6275
6276Patch 8.2.0978
6277Problem: Leaking memory in termcodes test.
6278Solution: Set t_8u with set_option_value().
6279Files: src/term.c
6280
6281Patch 8.2.0979
6282Problem: A couple of screendump tests fail.
6283Solution: Do not redraw when clearing t_8u.
6284Files: src/term.c
6285
6286Patch 8.2.0980
6287Problem: Raku file extension not recognized. (Steven Penny)
6288Solution: Recognize .raku and .rakumod. (closes #6255)
6289Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6290
6291Patch 8.2.0981
6292Problem: Vim9: cannot compile "[var, var] = list".
6293Solution: Implement list assignment.
6294Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
6295 src/proto/evalvars.pro src/eval.c, src/testdir/test_vim9_script.vim
6296
6297Patch 8.2.0982
6298Problem: Insufficient testing for reading/writing files.
6299Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6300 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6301Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6302 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6303 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6304
6305Patch 8.2.0983
6306Problem: SConstruct file type not recognized.
6307Solution: Use python for SConstruct files. (Roland Hieber)
6308Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6309
6310Patch 8.2.0984
6311Problem: Not using previous window when closing a shell popup window.
6312Solution: Use "prevwin" if it was set. (closes #6267)
6313Files: src/popupwin.c, src/testdir/test_popupwin.vim
6314
6315Patch 8.2.0985
6316Problem: Simplify() does not remove slashes from "///path".
6317Solution: Reduce > 2 slashes to one. (closes #6263)
6318Files: src/findfile.c, src/testdir/test_functions.vim
6319
6320Patch 8.2.0986 (after 8.2.0985)
6321Problem: MS-Windows: functions test fails.
6322Solution: Only simplify ///path on Unix.
6323Files: src/testdir/test_functions.vim
6324
6325Patch 8.2.0987
6326Problem: Vim9: cannot assign to [var; var].
6327Solution: Assign rest of items to a list.
6328Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6329 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6330
6331Patch 8.2.0988
6332Problem: Getting directory contents is always case sorted.
6333Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6334Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6335 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6336 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6337 src/filepath.c, src/globals.h, src/proto/fileio.pro,
6338 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim
6339 src/vim.h
6340
6341Patch 8.2.0989
6342Problem: Crash after resizing a terminal window. (August Masquelier)
6343Solution: Add check for valid row in libvterm. (closes #6273)
6344Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6345
6346Patch 8.2.0990 (after 8.2.0988)
6347Problem: Using duplicate error number.
6348Solution: Use an unused error number. Add a test for it.
6349Files: src/globals.h, src/testdir/test_functions.vim
6350
6351Patch 8.2.0991
6352Problem: Cannot get window type for autocmd and preview window.
6353Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6354Files: runtime/doc/eval.txt, src/evalwindow.c,
6355 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6356
6357Patch 8.2.0992
6358Problem: Vim9: crash when using :import in the Vim command.
6359Solution: Give an error when using :import outside of a script.
6360 (closes #6271)
6361Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6362 src/testdir/term_util.vim
6363
6364Patch 8.2.0993
6365Problem: Vim9 script test fails with normal features.
6366Solution: Use :func instead of :def for now.
6367Files: src/testdir/test_vim9_script.vim
6368
6369Patch 8.2.0994
6370Problem: Vim9: missing function causes compilation error.
6371Solution: Call test function indirectly.
6372Files: src/testdir/test_vim9_script.vim
6373
6374Patch 8.2.0995
6375Problem: Insufficient testing for the readdir() sort option.
6376Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6377Files: src/testdir/test_functions.vim
6378
6379Patch 8.2.0996
6380Problem: Using "aucmdwin" in win_gettype() is not ideal.
6381Solution: Rename to "autocmd".
6382Files: runtime/doc/eval.txt, src/evalwindow.c,
6383 src/testdir/test_autocmd.vim
6384
6385Patch 8.2.0997
6386Problem: Cannot execute a register containing line continuation.
6387Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6388 closes #6272)
6389Files: runtime/doc/repeat.txt, src/register.c,
6390 src/testdir/test_registers.vim
6391
6392Patch 8.2.0998
6393Problem: Not all tag code is tested.
6394Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6395Files: src/testdir/test_tagjump.vim
6396
6397Patch 8.2.0999
6398Problem: Moving to next sentence gets stuck on quote.
6399Solution: When moving to the next sentence doesn't result in moving, advance
6400 a character and try again. (closes #6291)
6401Files: src/textobject.c, src/testdir/test_textobjects.vim
6402
6403Patch 8.2.1000
6404Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6405 autocommand was used.
6406Solution: Reset ex_pressedreturn. (closes #6293)
6407Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6408
6409Patch 8.2.1001
6410Problem: Vim9: crash with nested "if" and assignment.
6411Solution: Skip more of the assignment. Do not set ctx_skip when code is
6412 reachable.
6413Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6414
6415Patch 8.2.1002
6416Problem: Test may fail when run directly.
6417Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6418Files: src/testdir/term_util.vim
6419
6420Patch 8.2.1003
6421Problem: Vim9: return type of sort() is too generic.
6422Solution: Get type from the first argument. (closes #6292)
6423Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6424
6425Patch 8.2.1004
6426Problem: Line numbers below filler lines not always updated.
6427Solution: Don't break out of the win_line() loop too early. (Christian
6428 Brabandt, closes #6294, closes #6138)
6429Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6430 src/testdir/dumps/Test_diff_rnu_02.dump,
6431 src/testdir/dumps/Test_diff_rnu_03.dump,
6432 src/testdir/test_diffmode.vim
6433
6434Patch 8.2.1005
6435Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6436Solution: Use an enum value.
6437Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6438
6439Patch 8.2.1006
6440Problem: Vim9: require unnecessary return statement.
6441Solution: Improve the use of the had_return flag. (closes #6270)
6442Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6443 src/testdir/test_vim9_func.vim
6444
6445Patch 8.2.1007
6446Problem: Completion doesn't work after ":r ++arg !".
6447Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6448 closes #6258)
6449Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6450
6451Patch 8.2.1008
6452Problem: Vim9: no test for disassembling newly added instructions.
6453Solution: Add a function and check disassembly.
6454Files: src/testdir/test_vim9_disassemble.vim
6455
6456Patch 8.2.1009
6457Problem: Vim9: some failures not checked for.
6458Solution: Add test cases. Remove unused code.
6459Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6460
6461Patch 8.2.1010
6462Problem: Build failure in libvterm with debug enabled. (John Little)
6463Solution: Use "->" instead of ".".
6464Files: src/libvterm/src/state.c
6465
6466Patch 8.2.1011
6467Problem: Vim9: some code not tested.
6468Solution: Add a few more test cases. Reorder checks for clearer error.
6469 Remove unreachable code.
6470Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6471 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6472 src/testdir/test_vim9_expr.vim
6473
6474Patch 8.2.1012
6475Problem: Vim9: cannot declare single character script variables.
6476Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6477 sn_var_vals.
6478Files: src/vim9script.c, src/scriptfile.c,
6479 src/testdir/test_vim9_script.vim
6480
6481Patch 8.2.1013
6482Problem: Channel tests can be a bit flaky.
6483Solution: Set the g:test_is_flaky flag in SetUp().
6484Files: src/testdir/test_channel.vim
6485
6486Patch 8.2.1014
6487Problem: Using "name" for a string result is confusing.
6488Solution: Rename to "end".
6489Files: src/typval.c
6490
6491Patch 8.2.1015
6492Problem: Popup filter gets key with modifier prepended when using
6493 modifyOtherKeys.
6494Solution: Remove the shift modifier when it is included in the key, also
6495 when the Alt or Meta modifier is used.
6496Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6497
6498Patch 8.2.1016
6499Problem: Vim9: test fails when channel feature is missing.
6500Solution: Process an :if command when skipping
6501Files: src/vim9compile.c
6502
6503Patch 8.2.1017
6504Problem: Appveyor output doesn't show MinGW console features.
6505Solution: List the features of the console build.
6506Files: ci/appveyor.bat
6507
6508Patch 8.2.1018
6509Problem: Typo in enum value. (James McCoy)
6510Solution: Fix the typo.
6511Files: src/vim9compile.c
6512
6513Patch 8.2.1019
6514Problem: Mapping <M-S-a> does not work in the GUI.
6515Solution: Move the logic to remove the shift modifier to
6516 may_remove_shift_modifier() and also use it in the GUI.
6517Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6518
6519Patch 8.2.1020
6520Problem: Popupwin test fails in the GUI.
6521Solution: Send GUI byte sequence for <C-S-a>.
6522Files: src/testdir/test_popupwin.vim
6523
6524Patch 8.2.1021
6525Problem: Ruby interface not tested enough.
6526Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6527Files: src/testdir/test_ruby.vim
6528
6529Patch 8.2.1022
6530Problem: Various parts of code not covered by tests.
6531Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6532Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6533 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6534 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6535 src/testdir/test_prompt_buffer.vim,
6536 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6537 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6538 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6539 src/testdir/test_visual.vim
6540
6541Patch 8.2.1023
6542Problem: Vim9: redefining a function uses a new index every time.
6543Solution: When redefining a function clear the contents and re-use the
6544 index.
6545Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6546 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6547
6548Patch 8.2.1024
6549Problem: Vim9: no error for using "let g:var = val".
6550Solution: Add an error.
6551Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6552 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6553 src/testdir/test_vim9_disassemble.vim,
6554 src/testdir/test_vim9_func.vim
6555
6556Patch 8.2.1025
6557Problem: Tabpage menu and tabline not sufficiently tested.
6558Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6559Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6560
6561Patch 8.2.1026
6562Problem: Vim9: cannot break the line after "->".
6563Solution: Check for a continuation line after "->", "[" and ".". Ignore
6564 trailing white space.
6565Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6566
6567Patch 8.2.1027
6568Problem: GUI: multibyte characters do not work in a terminal.
6569Solution: Do not assume a key is one byte. (closes #6304)
6570Files: src/gui_gtk_x11.c, src/gui_x11.c
6571
6572Patch 8.2.1028
6573Problem: Vim9: no error for declaring buffer, window, etc. variable.
6574Solution: Give an error. Unify the error messages.
6575Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6576 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6577 src/testdir/test_vim9_script.vim
6578
6579Patch 8.2.1029
6580Problem: Vim9: cannot chain function calls with -> at line start.
6581Solution: Peek ahead for a following line starting with "->". (closes #6306)
6582Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6583
6584Patch 8.2.1030
6585Problem: Reducing size of a terminal window may cause a crash.
6586Solution: Make sure the row and column don't become negative. (closes #6273)
6587Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6588
6589Patch 8.2.1031
6590Problem: Build failure with Perl5.32.
6591Solution: Define a few more functions. (Felix Yan, closes #6310)
6592Files: src/if_perl.xs
6593
6594Patch 8.2.1032
6595Problem: Error message for declaring a variable cannot be translated.
6596Solution: Enclose in _(). Make environment variable a separate message.
6597Files: src/globals.h, src/vim9compile.c
6598
6599Patch 8.2.1033
6600Problem: Not easy to read the test time in the test output.
6601Solution: Align the times. Make slow tests bold.
6602Files: src/testdir/runtest.vim
6603
6604Patch 8.2.1034
6605Problem: Compiler warning for uninitialized variables.
6606Solution: Add initializations. (John Marriott)
6607Files: src/vim9compile.c
6608
6609Patch 8.2.1035
6610Problem: setreg() does not always clear the register.
6611Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6612 closes #3370)
6613Files: src/evalfunc.c, src/testdir/test_registers.vim
6614
6615Patch 8.2.1036
6616Problem: Popupwin test fails sometimes.
6617Solution: Use WaitForAssert() instead of a sleep.
6618Files: src/testdir/test_popupwin.vim
6619
6620Patch 8.2.1037
6621Problem: Vim9: crash when using line continuation inside :def.
6622Solution: Check for no more lines available.
6623Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6624
6625Patch 8.2.1038
6626Problem: Popupwin test fails.
6627Solution: Fix WaitForAssert() argument.
6628Files: src/testdir/test_popupwin.vim
6629
6630Patch 8.2.1039
6631Problem: Cannot put NUL byte on clipboard.
6632Solution: Use the text length. (Christian Brabandt, closes #6312,
6633 closes #6149)
6634Files: src/winclip.c, src/testdir/test_registers.vim
6635
6636Patch 8.2.1040
6637Problem: Not enough testing for movement commands.
6638Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6639Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6640 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6641 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6642
6643Patch 8.2.1041
6644Problem: Test summary is missing executed count.
6645Solution: Adjust pattern used for counting.
6646Files: src/testdir/summarize.vim
6647
6648Patch 8.2.1042
6649Problem: Vim9: cannot put an operator on the next line.
6650Solution: Require a colon before a range to see if that causes problems.
6651Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6652 src/globals.h, src/testdir/test_vim9_script.vim,
6653 src/testdir/test_vim9_expr.vim
6654
6655Patch 8.2.1043
6656Problem: %a item in 'statusline' not tested.
6657Solution: Add a test. (Dominique Pellé, closes #6318)
6658Files: src/testdir/test_statusline.vim
6659
6660Patch 8.2.1044
6661Problem: Not all systemd file types are recognized.
6662Solution: Match several more files. (Guido Cella, closes #6319)
6663Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6664
6665Patch 8.2.1045
6666Problem: Vim9: line break before operator does not work.
6667Solution: Peek the next line for an operator.
6668Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6669
6670Patch 8.2.1046
6671Problem: Insufficient tests for src/buffer.c.
6672Solution: Add more tests. Move comments related tests to a separate file.
6673 (Yegappan Lakshmanan, closes #6325)
6674Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6675 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6676 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6677
6678Patch 8.2.1047
6679Problem: Vim9: script cannot use line continuation like in a :def function.
6680Solution: Pass the getline function pointer to the eval() functions. Use it
6681 for addition and multiplication operators.
6682Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6683 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6684 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6685 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6686
6687Patch 8.2.1048 (after 8.2.1047)
6688Problem: Build failure without the eval feature.
6689Solution: Add dummy typedef.
6690Files: src/structs.h
6691
6692Patch 8.2.1049 (after 8.2.1047)
6693Problem: Vim9: leaking memory when using continuation line.
6694Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6695 checking for a next command.
6696Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6697 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6698 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6699 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6700 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6701 src/screen.c, src/userfunc.c
6702
6703Patch 8.2.1050 (after 8.2.1049)
6704Problem: Missing change in struct.
6705Solution: Add missing change.
6706Files: src/ex_cmds.h
6707
6708Patch 8.2.1051
6709Problem: Crash when changing a list while using reduce() on it.
6710Solution: Lock the list. (closes #6330)
6711Files: src/list.c, src/testdir/test_listdict.vim
6712
6713Patch 8.2.1052
6714Problem: Build failure with older compilers.
6715Solution: Move declaration to start of block.
6716Files: src/eval.c
6717
6718Patch 8.2.1053
6719Problem: Insufficient testing for 'statusline' and 'tabline'.
6720Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
6721Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
6722 src/testdir/test_tabline.vim
6723
6724Patch 8.2.1054
6725Problem: Not so easy to pass a lua function to Vim.
6726Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
6727 Shrestha, closes #6246)
6728Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
6729 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
6730
6731Patch 8.2.1055
6732Problem: No filetype set for pacman config files.
6733Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
6734Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6735
6736Patch 8.2.1056
6737Problem: Wrong display when mixing match conceal and syntax conceal.
6738Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
6739Files: src/drawline.c, src/highlight.c,
6740 src/testdir/test_matchadd_conceal.vim
6741
6742Patch 8.2.1057 (after 8.2.1054)
6743Problem: Cannot build with dynamic Lua.
6744Solution: Add dll variables.
6745Files: src/if_lua.c
6746
6747Patch 8.2.1058
6748Problem: Multiline conceal causes display errors.
6749Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
6750 closes #6302)
6751Files: src/drawline.c, src/testdir/test_conceal.vim,
6752 src/testdir/test_diffmode.vim
6753
6754Patch 8.2.1059
6755Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
6756Solution: Do not allow the autocommand window to be closed.
6757Files: src/ex_docmd.c, src/window.c, src/globals.h,
6758 src/testdir/test_autocmd.vim
6759
6760Patch 8.2.1060
6761Problem: Not all elinks files are recognized.
6762Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
6763Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6764
6765Patch 8.2.1061
6766Problem: Insufficient testing for src/window.c.
6767Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
6768Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
6769 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
6770 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
6771 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
6772 src/window.c
6773
6774Patch 8.2.1062
6775Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
6776Solution: Check for operator after line break.
6777Files: src/eval.c, src/testdir/test_vim9_expr.vim
6778
6779Patch 8.2.1063
6780Problem: Vim9: no line break allowed before || or &&.
6781Solution: Check for operator after line break.
6782Files: src/eval.c, src/testdir/test_vim9_expr.vim
6783
6784Patch 8.2.1064
6785Problem: Vim9: no line break allowed before comparators.
6786Solution: Check for comparator after line break.
6787Files: src/eval.c, src/testdir/test_vim9_expr.vim
6788
6789Patch 8.2.1065
6790Problem: Vim9: no line break allowed inside a list.
6791Solution: Handle line break inside a list in Vim9 script.
6792Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
6793 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
6794 src/testdir/test_arglist.vim
6795
6796Patch 8.2.1066
6797Problem: Lua arrays are zero based.
6798Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
6799 Note: this is not backwards compatible.
6800Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
6801
6802Patch 8.2.1067
6803Problem: Expression "!expr->func()" does not work.
6804Solution: Apply plus and minus earlier. (closes #6348)
6805Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
6806 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
6807
6808Patch 8.2.1068
6809Problem: Vim9: no line break allowed inside a dict.
6810Solution: Handle line break inside a dict in Vim9 script.
6811Files: src/eval.c, src/dict.c, src/proto/dict.pro,
6812 src/vim9compile.c, src/testdir/test_vim9_expr.vim
6813
6814Patch 8.2.1069
6815Problem: Vim9: fail to check for white space in list.
6816Solution: Add check for white space.
6817Files: src/list.c
6818
6819Patch 8.2.1070
6820Problem: Vim9: leaking memory when lacking white space in dict.
6821Solution: Clear the typval.
6822Files: src/dict.c
6823
6824Patch 8.2.1071
6825Problem: Vim9: no line break allowed inside a lambda.
6826Solution: Handle line break inside a lambda in Vim9 script.
6827Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
6828 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
6829 src/ex_eval.c, src/globals.h, src/structs.h,
6830 src/testdir/test_vim9_expr.vim
6831
6832Patch 8.2.1072
6833Problem: Missing libvterm test.
6834Solution: Sync with libvterm revision 768.
6835Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
6836
6837Patch 8.2.1073
6838Problem: Vim9: no line break allowed in () expression.
6839Solution: Skip a line break.
6840Files: src/eval.c, src/testdir/test_vim9_expr.vim
6841
6842Patch 8.2.1074
6843Problem: Vim9: no line break allowed after some operators.
6844Solution: Skip a line break after the operator. Add
6845 eval_may_get_next_line() to simplify checking for a line break.
6846Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
6847 src/userfunc.c, src/testdir/test_vim9_expr.vim
6848
6849Patch 8.2.1075
6850Problem: Vim9: no line break allowed in :echo expression.
6851Solution: Skip linebreak.
6852Files: src/eval.c, src/testdir/test_vim9_cmd.vim
6853
6854Patch 8.2.1076
6855Problem: Vim9: no line break allowed in :if expression.
6856Solution: Skip linebreak.
6857Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
6858 src/testdir/test_vim9_cmd.vim
6859
6860Patch 8.2.1077
6861Problem: No enough test coverage for highlighting.
6862Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
6863Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
6864 src/testdir/test_highlight.vim, src/testdir/test_match.vim
6865
6866Patch 8.2.1078
6867Problem: Highlight and match functionality together in one file.
6868Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
6869 closes #6352)
6870Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
6871 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
6872 src/highlight.c, src/match.c, src/proto.h,
6873 src/proto/highlight.pro, src/proto/match.pro
6874
6875Patch 8.2.1079
6876Problem: Vim9: no line break allowed in a while loop.
6877Solution: Update stored loop lines when finding line breaks.
6878Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
6879 src/ex_docmd.c, src/proto/ex_docmd.pro,
6880 src/testdir/test_vim9_cmd.vim
6881
6882Patch 8.2.1080
6883Problem: Vim9: no line break allowed in a for loop.
6884Solution: Skip line breaks in for command.
6885Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
6886 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
6887
6888Patch 8.2.1081
6889Problem: Lua: cannot use table.insert() and table.remove().
6890Solution: Add the list functions. (Prabir Shrestha, closes #6353)
6891Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
6892
6893Patch 8.2.1082
6894Problem: Coverity complains about ignoring dict_add() return value.
6895Solution: Add (void).
6896Files: src/evalfunc.c
6897
6898Patch 8.2.1083
6899Problem: Crash when using reduce() on a NULL list.
6900Solution: Only access the list when not NULL.
6901Files: src/list.c, src/testdir/test_listdict.vim
6902
6903Patch 8.2.1084
6904Problem: Lua: registering function has useless code.
6905Solution: Remove clearing grow arrays.
6906Files: src/userfunc.c
6907
6908Patch 8.2.1085
6909Problem: Coverity complains about ignoring dict_add() return value.
6910Solution: Add (void).
6911Files: src/register.c
6912
6913Patch 8.2.1086
6914Problem: Possibly using freed memory when text properties used when
6915 changing indent of a line.
6916Solution: Compute the offset before calling ml_replace().
6917Files: src/indent.c
6918
6919Patch 8.2.1087
6920Problem: Possible memory leak when file expansion fails.
6921Solution: Clear the grow array when returning FAIL. Use an error message
6922 instead of an empty string.
6923Files: src/filepath.c
6924
6925Patch 8.2.1088
6926Problem: A very long translation might cause a buffer overflow.
6927Solution: Truncate the message if needed.
6928Files: src/fileio.c
6929
6930Patch 8.2.1089
6931Problem: Coverity warns for pointer computation.
6932Solution: Avoid computing a pointer to invalid memory.
6933Files: src/spellfile.c
6934
6935Patch 8.2.1090
6936Problem: May use NULL pointer when skipping over name.
6937Solution: Always set ll_name_end.
6938Files: src/eval.c
6939
6940Patch 8.2.1091
6941Problem: No check if opening a pty works.
6942Solution: Check for invalid file descriptor.
6943Files: src/os_unix.c
6944
6945Patch 8.2.1092
6946Problem: Not checking if saving for undo succeeds.
6947Solution: Bail out if u_savesub() returns FAIL.
6948Files: src/textprop.c
6949
6950Patch 8.2.1093
6951Problem: Python: double free when adding item to dict fails.
6952Solution: Remove vim_free() call.
6953Files: src/if_py_both.h
6954
6955Patch 8.2.1094
6956Problem: Dead code in libvterm.
6957Solution: Remove condition that is always true.
6958Files: src/libvterm/src/pen.c
6959
6960Patch 8.2.1095
6961Problem: May use pointer after freeing it when text properties are used.
6962Solution: Update redo buffer before calling ml_replace().
6963Files: src/spellsuggest.c
6964
6965Patch 8.2.1096
6966Problem: Vim9: return type of getqflist() is wrong.
6967Solution: Let the return type depend on the arguments. Also for
6968 getloclist(). (closes #6357)
6969Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6970
6971Patch 8.2.1097
6972Problem: Highlight code not sufficiently tested.
6973Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
6974Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
6975
6976Patch 8.2.1098
6977Problem: Vim9: cannot use line break in :throw argument.
6978Solution: Check for line break.
6979Files: src/eval.c, src/testdir/test_vim9_script.vim
6980
6981Patch 8.2.1099
6982Problem: Vim9: cannot use line break in :cexpr argument.
6983Solution: Check for line break.
6984Files: src/eval.c, src/testdir/test_vim9_script.vim
6985
6986Patch 8.2.1100
6987Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
6988 argument.
6989Solution: Check for line break.
6990Files: src/eval.c, src/testdir/test_vim9_script.vim
6991
6992Patch 8.2.1101
6993Problem: No error when using wrong arguments for setqflist() or
6994 setloclist().
6995Solution: Check for the error.
6996Files: src/quickfix.c, src/testdir/test_quickfix.vim
6997
6998Patch 8.2.1102
6999Problem: Coverity gets confused by an unnecessary NULL check.
7000Solution: Remove the check for NULL.
7001Files: src/quickfix.c
7002
7003Patch 8.2.1103
7004Problem: Coverity reports an unnecessary NULL check.
7005Solution: Remove the check for NULL.
7006Files: src/eval.c
7007
7008Patch 8.2.1104
7009Problem: Coverity warns for possible NULL pointer use.
7010Solution: Check "pbyts" is not NULL.
7011Files: src/spellsuggest.c
7012
7013Patch 8.2.1105
7014Problem: Insufficient test coverage for Lua.
7015Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7016 memory leak. Avoid unnecessary copy/free.
7017Files: src/if_lua.c, src/testdir/test_lua.vim
7018
7019Patch 8.2.1106
7020Problem: Crash when trying to use s: variable in typed command.
7021Solution: Don't use the script index when not set. (Ken Takata,
7022 closes #6366)
7023Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7024
7025Patch 8.2.1107
7026Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7027Solution: Adjust the #ifdefs. (closes #6367)
7028Files: runtime/doc/options.txt, src/gui_xim.c,
7029 src/testdir/test_iminsert.vim
7030
7031Patch 8.2.1108
7032Problem: Mouse left-right scroll is not supported in terminal window.
7033Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7034Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7035 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7036
7037Patch 8.2.1109 (after 8.2.1106)
7038Problem: Still crashing when using s:variable.
7039Solution: Remove assignment. (Ken Takata)
7040Files: src/vim9compile.c
7041
7042Patch 8.2.1110
7043Problem: Vim9: line continuation does not work in function arguments.
7044Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7045 as comment.
7046Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7047 src/list.c, src/dict.c, src/proto/eval.pro,
7048 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7049
7050Patch 8.2.1111
7051Problem: Inconsistent naming of get_list_tv() and eval_dict().
7052Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7053 eval_string(), eval_lit_string() and a few others.
7054Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7055 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7056 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7057 src/vim9execute.c
7058
7059Patch 8.2.1112
7060Problem: Vim9: no line continuation allowed in method call.
7061Solution: Handle line continuation in expression before method call.
7062Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7063 src/testdir/test_vim9_script.vim,
7064 src/testdir/test_vim9_expr.vim
7065
7066Patch 8.2.1113
7067Problem: No test for verbose output of :call.
7068Solution: Add a test.
7069Files: src/testdir/test_user_func.vim
7070
7071Patch 8.2.1114
7072Problem: Terminal test sometimes times out.
7073Solution: Split the test in two parts.
7074Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7075 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7076 src/testdir/test_terminal2.vim
7077
7078Patch 8.2.1115
7079Problem: Iminsert test fails when compiled with VIMDLL.
7080Solution: Change condition. (Ken Takata, closes #6376)
7081Files: src/testdir/test_iminsert.vim
7082
7083Patch 8.2.1116
7084Problem: Vim9: parsing command checks for list twice.
7085Solution: Adjust how a command is parsed.
7086Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7087
7088Patch 8.2.1117
7089Problem: Coverity warns for using uninitialized field.
7090Solution: Initialize v_lock.
7091Files: src/if_lua.c
7092
7093Patch 8.2.1118
7094Problem: Condition can never be true, dead code.
7095Solution: Remove the dead code.
7096Files: src/move.c
7097
7098Patch 8.2.1119
7099Problem: Configure fails with Xcode 12 beta.
7100Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7101Files: src/configure.ac, src/auto/configure
7102
7103Patch 8.2.1120
7104Problem: Python code not tested properly.
7105Solution: Add more tests and convert old-style test into new-style test.
7106 (Yegappan Lakshmanan, closes #6370)
7107Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7108 src/testdir/test86.in, src/testdir/test86.ok,
7109 src/testdir/test_python2.vim
7110
7111Patch 8.2.1121
7112Problem: Command completion not working after ++arg.
7113Solution: Move skipping up. (Christian Brabandt, closes #6382)
7114Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7115
7116Patch 8.2.1122
7117Problem: Vim9: line continuation in dict member not recognized.
7118Solution: Check for line continuation.
7119Files: src/eval.c, src/testdir/test_vim9_expr.vim
7120
7121Patch 8.2.1123
7122Problem: Python 3 test is old style.
7123Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7124Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7125 src/testdir/test87.in, src/testdir/test87.ok,
7126 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7127
7128Patch 8.2.1124
7129Problem: Vim9: no line break allowed in :import command.
7130Solution: Skip over line breaks.
7131Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7132 src/testdir/test_vim9_script.vim
7133
7134Patch 8.2.1125
7135Problem: Vim9: double quote can be a string or a comment.
7136Solution: Only support comments starting with # to avoid confusion.
7137Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7138 src/vim9script.c
7139
7140Patch 8.2.1126
7141Problem: Vim9: using :copen causes an error.
7142Solution: Add flag LET_NO_COMMAND in set_var().
7143Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7144
7145Patch 8.2.1127
7146Problem: Vim9: getting a dict member may not work.
7147Solution: Clear the dict only after copying the item. (closes #6390)
7148Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7149
7150Patch 8.2.1128
7151Problem: The write message mentions characters, but it's actually bytes.
7152Solution: Change "C" to "B" and "characters" to "bytes".
7153Files: runtime/doc/options.txt, src/fileio.c,
7154 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7155 src/testdir/dumps/Test_diff_syntax_1.dump,
7156 src/testdir/dumps/Test_long_file_name_1.dump,
7157 src/testdir/dumps/Test_display_unprintable_01.dump,
7158 src/testdir/dumps/Test_tselect_1.dump
7159
7160Patch 8.2.1129
7161Problem: Vim9: bar not recognized after not compiled command.
7162Solution: Check for bar for commands where this is possible. (closes #6391)
7163Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7164
7165Patch 8.2.1130
7166Problem: Vim9: bar not recognized after function call
7167Solution: Skip whitespace. (closes #6391)
7168Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7169
7170Patch 8.2.1131
7171Problem: Vim9: error message for returning a value in a function that does
7172 not return anything is not clear.
7173Solution: Add a specific message.
7174Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7175
7176Patch 8.2.1132
7177Problem: Vim9: return type of repeat() is not specific enough.
7178Solution: Return the type of the first argument. (closes #6395)
7179Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7180
7181Patch 8.2.1133
7182Problem: Vim9: return type of add() is not specific enough.
7183Solution: Return the type of the first argument. (closes #6395)
7184Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7185
7186Patch 8.2.1134
7187Problem: Vim9: getting a list member may not work.
7188Solution: Clear the list only after copying the item. (closes #6393)
7189Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7190
7191Patch 8.2.1135
7192Problem: Vim9: getting a dict member may not work.
7193Solution: Clear the dict only after copying the item.
7194Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7195
7196Patch 8.2.1136
7197Problem: Vim9: return type of argv() is always any.
7198Solution: Use list<string> if there is no argument.
7199Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7200
7201Patch 8.2.1137
7202Problem: Vim9: modifiers not cleared after compiling function.
7203Solution: Clear command modifiers. (closes #6396)
7204Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7205 src/testdir/test_vim9_func.vim,
7206 src/testdir/dumps/Test_vim9_silent_echo.dump
7207
7208Patch 8.2.1138
7209Problem: Vim9: return type of copy() and deepcopy() is any.
7210Solution: Use type of the argument.
7211Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7212
7213Patch 8.2.1139 (after 8.2.1137)
7214Problem: Vim9: test for silent echo fails in some environments.
7215Solution: Use :function instead of :def.
7216Files: src/testdir/test_vim9_func.vim
7217
7218Patch 8.2.1140
7219Problem: Vim9: return type of extend() is any.
7220Solution: Use type of the argument.
7221Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7222
7223Patch 8.2.1141
7224Problem: Vim9: return type of filter() is any.
7225Solution: Use type of the argument.
7226Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7227
7228Patch 8.2.1142
7229Problem: Vim9: return type of insert() is any.
7230Solution: Use type of the first argument.
7231Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7232
7233Patch 8.2.1143
7234Problem: Vim9: return type of remove() is any.
7235Solution: Use the member type of the first argument, if known.
7236Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7237
7238Patch 8.2.1144
7239Problem: Vim9: return type of reverse() is any.
7240Solution: Use the type of the first argument.
7241Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7242
7243Patch 8.2.1145
7244Problem: Vim9: "for" only accepts a list at compile time.
7245Solution: Also accept a list at runtime.
7246Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7247 src/testdir/test_vim9_disassemble.vim
7248
7249Patch 8.2.1146
7250Problem: Not enough testing for Python.
7251Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7252 closes #6392)
7253Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7254 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7255
7256Patch 8.2.1147
7257Problem: :confirm may happen in cooked mode. (Jason Franklin)
7258Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7259Files: src/message.c, src/testdir/test_excmd.vim
7260
7261Patch 8.2.1148
7262Problem: Warning for using int instead of size_t.
7263Solution: Change "len" argument to size_t. (Mike Williams)
7264Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7265
7266Patch 8.2.1149
7267Problem: Vim9: :eval command not handled properly.
7268Solution: Compile the :eval command. (closes #6408)
7269Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7270
7271Patch 8.2.1150
7272Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7273Solution: Check the line number is not out of range. Call "Check" with
7274 "fromObj" instead of "from".
7275Files: src/if_py_both.h, src/testdir/test_python2.vim,
7276 src/testdir/test_python3.vim
7277
7278Patch 8.2.1151
7279Problem: Insufficient test coverage for Python.
7280Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7281Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7282
7283Patch 8.2.1152
7284Problem: Vim9: function reference is missing script prefix.
7285Solution: Use the actual function name instead of the name searched for in
7286 the script context. (closes #6412)
7287Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7288
7289Patch 8.2.1153
7290Problem: Vim9: script test fails on some systems.
7291Solution: Return proper value from Compare().
7292Files: src/testdir/test_vim9_script.vim
7293
7294Patch 8.2.1154
7295Problem: Vim9: crash when using imported function.
7296Solution: Check for a function type. Set the script context when calling a
7297 function. (closes #6412)
7298Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7299 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7300
7301Patch 8.2.1155
7302Problem: Vim9: cannot handle line break inside lambda.
7303Solution: Pass the compilation context through. (closes #6407, closes #6409)
7304Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7305 src/eval.c, src/testdir/test_vim9_func.vim
7306
7307Patch 8.2.1156
7308Problem: Vim9: No error for invalid command in compiled function.
7309Solution: Handle CMD_SIZE.
7310Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7311
7312Patch 8.2.1157
7313Problem: Vim9: dict.name is not recognized as an expression.
7314Solution: Recognize ".name". (closes #6418)
7315Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7316
7317Patch 8.2.1158 (after 8.2.1155)
7318Problem: Build error.
7319Solution: Add missing change to globals.
7320Files: src/globals.h
7321
7322Patch 8.2.1159
7323Problem: Vim9: no error for missing space after a comma.
7324Solution: Check for white space.
7325Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7326 src/testdir/test_vim9_script.vim
7327
7328Patch 8.2.1160
7329Problem: Vim9: memory leak in allocated types.
7330Solution: Free the type pointers.
7331Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7332 src/proto/vim9compile.pro
7333
7334Patch 8.2.1161
7335Problem: Vim9: using freed memory.
7336Solution: Put pointer back in evalarg instead of freeing it.
7337Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7338 src/structs.h
7339
7340Patch 8.2.1162
7341Problem: Crash when using a lambda.
7342Solution: Check for evalarg to be NULL.
7343Files: src/userfunc.c
7344
7345Patch 8.2.1163 (after 8.2.1161)
7346Problem: Build error.
7347Solution: Add missing change to globals.
7348Files: src/globals.h
7349
7350Patch 8.2.1164
7351Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7352 Radkov)
7353Solution: Mark the screen characters as invalid. (closes #6422)
7354Files: src/screen.c, src/proto/screen.pro, src/term.c
7355
7356Patch 8.2.1165
7357Problem: Insufficient testing for the Tcl interface.
7358Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7359Files: src/testdir/test_tcl.vim
7360
7361Patch 8.2.1166
7362Problem: Once mouse move events are enabled getchar() returns them.
7363Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7364Files: runtime/doc/eval.txt, src/getchar.c
7365
7366Patch 8.2.1167
7367Problem: Vim9: builtin function method call only supports first argument.
7368Solution: Shift arguments when needed. (closes #6305, closes #6419)
7369Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7370 src/vim9.h, src/testdir/test_vim9_expr.vim,
7371 src/testdir/test_vim9_disassemble.vim
7372
7373Patch 8.2.1168
7374Problem: Wrong method argument for appendbufline().
7375Solution: Use FEARG_3.
7376Files: src/evalfunc.c
7377
7378Patch 8.2.1169
7379Problem: Write NUL past allocated space using corrupted spell file.
7380 (Markus Vervier)
7381Solution: Init "c" every time.
7382Files: src/spellfile.c
7383
7384Patch 8.2.1170
7385Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7386Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7387Files: src/register.c, src/testdir/test_registers.vim
7388
7389Patch 8.2.1171
7390Problem: Possible crash when out of memory.
7391Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7392Files: src/syntax.c
7393
7394Patch 8.2.1172
7395Problem: Error messages when doing "make clean" in the runtime/doc or
7396 src/tee directories.
7397Solution: Use "rm -f".
7398Files: runtime/doc/Makefile, src/tee/Makefile
7399
7400Patch 8.2.1173
7401Problem: Tee doesn't build on some systems.
7402Solution: Include header files. (Dominique Pelle, closes #6431)
7403Files: src/tee/tee.c
7404
7405Patch 8.2.1174
7406Problem: No test for the "recording @x" message.
7407Solution: Add a test. (Dominique Pellé, closes #6427)
7408Files: src/testdir/test_registers.vim
7409
7410Patch 8.2.1175
7411Problem: Vim9: Cannot split a line before ".member".
7412Solution: Check for ".member" after line break.
7413Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7414
7415Patch 8.2.1176
7416Problem: Vim9: not enough type checking in Vim9 script.
7417Solution: Use same type checking as in a :def function.
7418Files: src/vim9compile.c, src/proto/vim9compile.pro,
7419 src/eval.c, src/testdir/test_vim9_expr.vim
7420
7421Patch 8.2.1177
7422Problem: Terminal2 test sometimes hangs in the GUI.
7423Solution: Move some tests to other files to further locate the problem.
7424 Set the GUI to a fixed screen size.
7425Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7426 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7427 src/testdir/runtest.vim
7428
7429Patch 8.2.1178
7430Problem: Vim9: filter function recognized as command modifier, leading to a
7431 crash.
7432Solution: Clear cmdmod after freeing items. Do not recognize a command
7433 modifier followed by non-white space. (closes #6434)
7434Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7435
7436Patch 8.2.1179
7437Problem: Test_termwinscroll() sometimes hangs in the GUI.
7438Solution: Skip the test in the GUI.
7439Files: src/testdir/test_terminal2.vim
7440
7441Patch 8.2.1180
7442Problem: Build failure in small version.
7443Solution: Add #ifdef.
7444Files: src/ex_docmd.c
7445
7446Patch 8.2.1181
7447Problem: Json code not fully tested.
7448Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7449Files: src/testdir/test_json.vim
7450
7451Patch 8.2.1182
7452Problem: Vim9: no check for whitespace after comma in lambda.
7453Solution: Give error if white space is missing.
7454Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7455 src/testdir/test_vim9_func.vim
7456
7457Patch 8.2.1183
7458Problem: assert_fails() checks the last error message.
7459Solution: Check the first error, it is more relevant. Fix all the tests
7460 that rely on the old behavior.
7461Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7462 src/testing.c, src/testdir/test_autocmd.vim,
7463 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7464 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7465 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7466 src/testdir/test_cscope.vim, src/if_cscope.c,
7467 src/testdir/test_excmd.vim, src/evalvars.c,
7468 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7469 src/testdir/test_json.vim, src/testdir/test_let.vim,
7470 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7471 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7472 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7473 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7474 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7475 src/testdir/test_random.vim, src/testdir/test_search.vim,
7476 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7477 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7478 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7479 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7480 src/testdir/test_trycatch.vim,
7481 src/testdir/test_vim9_disassemble.vim,
7482 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7483 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7484 src/testdir/test_winbuf_close.vim,
7485 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7486 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7487 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7488
7489Patch 8.2.1184 (after 8.2.1183)
7490Problem: Some tests fail.
7491Solution: Adjust tests for different assert_fails() behavior. Remove unused
7492 variable.
7493Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7494 src/evalvars.c
7495
7496Patch 8.2.1185 (after 8.2.1183)
7497Problem: Some other tests fail.
7498Solution: Adjust tests for different assert_fails() behavior.
7499Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7500
7501Patch 8.2.1186
7502Problem: With SGR mouse codes balloon doesn't show up after click.
7503Solution: Add the MOUSE_RELEASE bits to mouse_code.
7504Files: src/mouse.c
7505
7506Patch 8.2.1187
7507Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7508Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7509Files: src/testdir/test_terminal2.vim
7510
7511Patch 8.2.1188
7512Problem: Memory leak with invalid json input.
7513Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7514 closes #6442)
7515Files: src/json.c, src/testdir/test_json.vim
7516
7517Patch 8.2.1189
7518Problem: Vim9: line continuation in lambda doesn't always work.
7519Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7520Files: src/eval.c, src/testdir/test_vim9_expr.vim
7521
7522Patch 8.2.1190
7523Problem: Vim9: checking for Vim9 syntax is spread out.
7524Solution: Use in_vim9script().
7525Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7526 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7527
7528Patch 8.2.1191
7529Problem: Vim9: crash when function calls itself.
7530Solution: Add status UF_COMPILING. (closes #6441)
7531Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7532
7533Patch 8.2.1192
7534Problem: Lua test fails with older Lua version.
7535Solution: Adjust expected error messages. (closes #6444)
7536Files: src/testdir/test_lua.vim
7537
7538Patch 8.2.1193
7539Problem: Terminal window not redrawn when dragging a popup window over it.
7540Solution: Redraw terminal window. (fixes #6438)
7541Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7542 src/testdir/dumps/Test_popupwin_term_01.dump,
7543 src/testdir/dumps/Test_popupwin_term_02.dump
7544
7545Patch 8.2.1194
7546Problem: Test failure because shell prompt differs.
7547Solution: Set the shell prompt.
7548Files: src/testdir/test_popupwin.vim,
7549 src/testdir/dumps/Test_popupwin_term_01.dump,
7550 src/testdir/dumps/Test_popupwin_term_02.dump
7551
7552Patch 8.2.1195
7553Problem: Clientserver test fails on MS-Windows.
7554Solution: Expect a different error message.
7555Files: src/testdir/test_clientserver.vim
7556
7557Patch 8.2.1196
7558Problem: Build failure with normal features.
7559Solution: Add #ifdef.
7560Files: src/popupwin.c
7561
7562Patch 8.2.1197
7563Problem: Clientserver test still fails on MS-Windows.
7564Solution: Expect a different error message.
7565Files: src/testdir/test_clientserver.vim
7566
7567Patch 8.2.1198
7568Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7569Solution: Move test function to terminal3 to see if the problem moves too.
7570Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7571
7572Patch 8.2.1199
7573Problem: Not all assert functions are fully tested.
7574Solution: Test more assert functions.
7575Files: src/testing.c, src/testdir/test_assert.vim
7576
7577Patch 8.2.1200
7578Problem: Vim9: cannot disassemble a lambda function.
7579Solution: Recognize "<lambda>123" as a function name.
7580Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7581
7582Patch 8.2.1201
7583Problem: Vim9: crash when passing number as dict key.
7584Solution: Check key type to be string. (closes #6449)
7585Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7586
7587Patch 8.2.1202
7588Problem: Vim9: crash when calling a closure from a builtin function.
7589Solution: Use the current execution context. (closes #6441)
7590Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7591
7592Patch 8.2.1203
7593Problem: Unused assignments in expression evaluation.
7594Solution: Move declarations and assignments to inner blocks where possible.
7595Files: src/eval.c
7596
7597Patch 8.2.1204
7598Problem: Vim9: true and false not recognized in Vim9 script.
7599Solution: Recognize true and false.
7600Files: src/eval.c, src/testdir/test_vim9_expr.vim
7601
7602Patch 8.2.1205
7603Problem: Vim9: && and || work differently when not compiled.
7604Solution: Keep the value.
7605Files: src/eval.c, src/testdir/test_vim9_expr.vim
7606
7607Patch 8.2.1206
7608Problem: Vim9: crash in expr test when run in the GUI.
7609Solution: Temporarily comment out two test lines.
7610Files: src/testdir/test_vim9_expr.vim
7611
7612Patch 8.2.1207
7613Problem: Vim9: crash in expr test when run in the GUI.
7614Solution: Break out of loop over hashtab also when function got removed and
7615 added.
7616Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7617
7618Patch 8.2.1208
7619Problem: Build failure.
7620Solution: Add missing change.
7621Files: src/structs.h
7622
7623Patch 8.2.1209
7624Problem: Vim9: test failure.
7625Solution: Add missing changes to hashtab.
7626Files: src/hashtab.c
7627
7628Patch 8.2.1210
7629Problem: Using ht_used when looping through a hashtab is less reliable.
7630Solution: Use ht_changed in a few more places.
7631Files: src/userfunc.c, src/if_py_both.h
7632
7633Patch 8.2.1211 (after 8.2.1118)
7634Problem: Removed more than dead code.
7635Solution: Put back the decrement.
7636Files: src/move.c, src/testdir/test_diffmode.vim
7637
7638Patch 8.2.1212
7639Problem: Cannot build with Lua 5.4.
7640Solution: Use luaL_typeerror instead defining it. (closes #6454)
7641Files: src/if_lua.c
7642
7643Patch 8.2.1213
7644Problem: Mouse codes not tested sufficiently.
7645Solution: Add more tests for mouse codes. (closes #6436)
7646Files: src/testdir/test_termcodes.vim
7647
7648Patch 8.2.1214
7649Problem: MS-Windows: default _vimrc not correct in silent install mode.
7650Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7651Files: nsis/gvim.nsi
7652
7653Patch 8.2.1215
7654Problem: Atari MiNT support is outdated.
7655Solution: Nobody responded this code is still useful, so let's delete it.
7656Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7657 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7658 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7659 src/INSTALL
7660
7661Patch 8.2.1216
7662Problem: Startup test fails.
7663Solution: Adjust expected values for deleted lines.
7664Files: src/testdir/test_startup.vim
7665
7666Patch 8.2.1217
7667Problem: Startup test depends on random source file.
7668Solution: Write a test file to find quickfix errors in.
7669Files: src/testdir/test_startup.vim
7670
7671Patch 8.2.1218
7672Problem: Vim9: cannot use 'text'->func().
7673Solution: Recognize string at start of command.
7674Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7675
7676Patch 8.2.1219
7677Problem: Symlink not followed if dirname ends in //.
7678Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7679Files: src/memline.c, src/testdir/test_swap.vim
7680
7681Patch 8.2.1220
7682Problem: memory access error when dragging a popup window over a buffer
7683 with folding.
7684Solution: Avoid going over the end of the cache. (closes #6438)
7685Files: src/mouse.c, src/testdir/test_popupwin.vim,
7686 src/testdir/dumps/Test_popupwin_term_01.dump,
7687 src/testdir/dumps/Test_popupwin_term_02.dump,
7688 src/testdir/dumps/Test_popupwin_term_03.dump,
7689 src/testdir/dumps/Test_popupwin_term_04.dump
7690
7691Patch 8.2.1221
7692Problem: Memory leak when updating popup window.
7693Solution: Clear search highlighting.
7694Files: src/popupwin.c
7695
7696Patch 8.2.1222
7697Problem: When using valgrind a Vim command started by a test uses the same
7698 log file name which gets overwritten.
7699Solution: Fix regexp to rename the log file.
7700Files: src/testdir/shared.vim
7701
7702Patch 8.2.1223
7703Problem: Vim9: invalid type error for function default value.
7704Solution: Use right argument index. (closes #6458)
7705Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7706
7707Patch 8.2.1224
7708Problem: Vim9: arguments from partial are not used.
7709Solution: Put the partial arguments on the stack. (closes #6460)
7710Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7711
7712Patch 8.2.1225
7713Problem: Linker errors when building with dynamic Python 3.9.
7714Solution: Add #defined items. (closes #6461)
7715Files: src/if_python3.c
7716
7717Patch 8.2.1226
7718Problem: MS-Windows: windows positioning wrong when the taskbar is placed
7719 at the top or left of the screen.
7720Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
7721 Ken Takata, closes #6455)
7722Files: src/gui_w32.c
7723
7724Patch 8.2.1227
7725Problem: Vim9: allowing both quoted and # comments is confusing.
7726Solution: Only support # comments in Vim9 script.
7727Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
7728 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
7729 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
7730 src/testdir/test_vim9_script.vim
7731
7732Patch 8.2.1228
7733Problem: Scrollbars not flush against the window edges when maximised.
7734Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
7735Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
7736 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
7737 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
7738 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
7739 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
7740 src/proto/gui_w32.pro
7741
7742Patch 8.2.1229
7743Problem: Build error without the eval feature.
7744Solution: Declare starts_with_colon. Make function local.
7745Files: src/ex_docmd.c, src/proto/ex_docmd.pro
7746
7747Patch 8.2.1230
7748Problem: Vim9: list index error not caught by try/catch.
7749Solution: Do not bail out if an error is inside try/catch. (closes #6462)
7750Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7751
7752Patch 8.2.1231
7753Problem: MS-Windows: GUI code can be cleaned up.
7754Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
7755Files: src/gui_w32.c, src/proto/gui_w32.pro
7756
7757Patch 8.2.1232
7758Problem: MS-Windows GUI: Snap cancelled by split command.
7759Solution: Do not cancel Snap when splitting a window. (Ken Takata,
7760 closes #6467)
7761Files: src/gui_w32.c
7762
7763Patch 8.2.1233
7764Problem: Vim9: various errors not caught by try/catch.
7765Solution: Do not bail out if an error is inside try/catch.
7766Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7767
7768Patch 8.2.1234
7769Problem: Lua build problem with old compiler.
7770Solution: Move declarations to start of the block. (Taro Muraoka,
7771 closes #6477)
7772Files: src/if_lua.c
7773
7774Patch 8.2.1235
7775Problem: Not all mouse codes covered by tests.
7776Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
7777Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7778
7779Patch 8.2.1236
7780Problem: Vim9: a few errors not caught by try/catch.
7781Solution: Do not bail out if an error is inside try/catch. Fix that a not
7782 matching catch doesn't jump to :endtry.
7783Files: src/vim9compile.c, src/vim9execute.c,
7784 src/testdir/test_vim9_script.vim
7785
7786Patch 8.2.1237
7787Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
7788 Sitter)
7789Solution: Close the popup when the options are changed. (closes #6471)
7790Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
7791 src/optionstr.c, src/testdir/test_popupwin.vim,
7792 src/testdir/dumps/Test_popupwin_infopopup_8.dump
7793
7794Patch 8.2.1238
7795Problem: Vim9: a few remaining errors not caught by try/catch.
7796Solution: Do not bail out if an error is inside try/catch.
7797Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7798
7799Patch 8.2.1239
7800Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
7801Solution: Add separate field for value from option. (closes #6470)
7802Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
7803 src/testdir/dumps/Test_popupwin_infopopup_9.dump
7804
7805Patch 8.2.1240
7806Problem: GUI tests sometimes fail because of translations.
7807Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
7808Files: src/testdir/runtest.vim
7809
7810Patch 8.2.1241
7811Problem: Cannot use getbufinfo() as a method.
7812Solution: Support using getbufinfo() as a method. (closes #6458)
7813Files: runtime/doc/eval.txt, src/evalfunc.c,
7814 src/testdir/test_bufwintabinfo.vim
7815
7816Patch 8.2.1242
7817Problem: Vim9: no error if calling a function with wrong argument type.
7818Solution: Check types of arguments. (closes #6469)
7819Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
7820 src/testdir/test_vim9_func.vim
7821
7822Patch 8.2.1243
7823Problem: Vim9: cannot have a comment or empty line halfway a list at script
7824 level.
7825Solution: Skip more than one line if needed.
7826Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
7827 src/scriptfile.c
7828
7829Patch 8.2.1244
7830Problem: Vim9: in lambda index assumes a list.
7831Solution: Use the value type to decide about list or dict. (closes #6479)
7832Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7833
7834Patch 8.2.1245
7835Problem: Build failure in tiny version.
7836Solution: Add #ifdef.
7837Files: src/scriptfile.c
7838
7839Patch 8.2.1246
7840Problem: Vim9: comment after assignment doesn't work.
7841Solution: Skip over white space. (closes #6481)
7842Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7843
7844Patch 8.2.1247
7845Problem: Vim9: cannot index a character in a string.
7846Solution: Add ISN_STRINDEX instruction. (closes #6478)
7847Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
7848 src/testdir/test_vim9_expr.vim
7849
7850Patch 8.2.1248
7851Problem: Netbeans test is flaky in the GUI.
7852Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
7853Files: src/testdir/test_netbeans.vim
7854
7855Patch 8.2.1249
7856Problem: Vim9: disassemble test fails.
7857Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
7858Files: src/testdir/test_vim9_disassemble.vim
7859
7860Patch 8.2.1250
7861Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
7862Solution: Add instructions to push a dict for the namespaces. (closes #6480)
7863Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
7864 src/testdir/test_vim9_disassemble.vim,
7865 src/testdir/test_vim9_expr.vim
7866
7867Patch 8.2.1251
7868Problem: Vim9: warning for pointer usage, test failure undetected.
7869Solution: Fix pointer indirection. Give error when executing function
7870 failed for any reason. Fix instruction names.
7871Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
7872
7873Patch 8.2.1252
7874Problem: ":marks" may show '< and '> mixed up.
7875Solution: Show the mark position as where '< and '> would jump.
7876Files: src/mark.c, src/testdir/test_marks.vim
7877
7878Patch 8.2.1253
7879Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
7880 Puntaier)
7881Solution: Do not reset did_cursorhold, restore it. (closes #6447)
7882Files: src/normal.c
7883
7884Patch 8.2.1254
7885Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
7886Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
7887Files: src/testdir/test_regexp_utf8.vim
7888
7889Patch 8.2.1255
7890Problem: Cannot use a lambda with quickfix functions.
7891Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
7892Files: runtime/doc/eval.txt, runtime/doc/options.txt,
7893 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
7894 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
7895 src/quickfix.c, src/testdir/test_quickfix.vim
7896
7897Patch 8.2.1256
7898Problem: Vim9: type wrong after getting dict item in lambda.
7899Solution: Set the type to "any" after enforcing dict type. (closes #6491)
7900Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7901
7902Patch 8.2.1257
7903Problem: Vim9: list unpack doesn't work at the script level.
7904Solution: Detect unpack assignment better. (closes #6494)
7905Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
7906
7907Patch 8.2.1258 (after 8.2.1253)
7908Problem: CursorHold does not work well.a (Shane-XB-Qian)
7909Solution: Only restore did_cursorhold when using :normal.
7910Files: src/normal.c
7911
7912Patch 8.2.1259
7913Problem: Empty group in 'tabline' may cause using an invalid pointer.
7914Solution: Set the group start position. (closes #6505)
7915Files: src/buffer.c, src/testdir/test_tabline.vim
7916
7917Patch 8.2.1260
7918Problem: There is no good test for CursorHold.
7919Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
7920 closes #6503)
7921Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
7922 src/testdir/test_normal.vim
7923
7924Patch 8.2.1261
7925Problem: Vim9: common type of function not tested.
7926Solution: Add a test. Fix uncovered problems.
7927Files: src/vim9compile.c, src/vim9execute.c,
7928 src/testdir/test_vim9_expr.vim
7929
7930Patch 8.2.1262
7931Problem: src/ex_cmds.c file is too big.
7932Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
7933 closes #6506)
7934Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7935 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7936 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
7937 src/proto/ex_cmds.pro, src/proto/help.pro
7938
7939Patch 8.2.1263
7940Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
7941Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
7942 (closes #6497)
7943Files: src/eval.c, src/typval.c, src/vim9execute.c,
7944 src/testdir/test_vim9_expr.vim
7945
7946Patch 8.2.1264
7947Problem: Terminal getwinpos() test is a bit flaky.
7948Solution: Call getwinpos() a bit later.
7949Files: src/testdir/test_terminal3.vim
7950
7951Patch 8.2.1265
7952Problem: Crash with EXITFREE when split() fails.
7953Solution: Restore 'cpoptions'.
7954Files: src/evalfunc.c
7955
7956Patch 8.2.1266 (after 8.2.1262)
7957Problem: Makefile preference were accidentally included.
7958Solution: Revert the Makefile changes.
7959Files: src/Makefile
7960
7961Patch 8.2.1267
7962Problem: MS-Windows: tests may fail due to $PROMPT value.
7963Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
7964Files: src/testdir/runtest/vim
7965
7966Patch 8.2.1268
7967Problem: Vim9: no error for using double quote comment after :func or :def.
7968Solution: Only accept double quote when not in Vim9 script and not after
7969 :def. (closes #6483)
7970Files: src/userfunc.c, src/testdir/test_vim9_script.vim
7971
7972Patch 8.2.1269
7973Problem: Language and locale code spread out.
7974Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
7975 closes #6509)
7976Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7977 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7978 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
7979 src/proto/ex_cmds2.pro, src/proto/locale.pro
7980
7981Patch 8.2.1270
7982Problem: Vim9: not skipping over function type declaration with only a
7983 return type.
7984Solution: Skip over the return type. (issue #6507)
7985Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7986
7987Patch 8.2.1271
7988Problem: Vim9: Error for Funcref function argument type.
7989Solution: Find the actual function type if possible. (issue #6507)
7990Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7991
7992Patch 8.2.1272
7993Problem: Vim9: type not checked if declaration also assigns value.
7994Solution: Check the type. (issue #6507)
7995Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
7996 src/vim9script.c, src/vim9execute.c,
7997 src/testdir/test_vim9_script.vim
7998
7999Patch 8.2.1273
8000Problem: MS-Windows: terminal test may leave file behind.
8001Solution: Wait a moment for process to end before deleting the file.
8002 (Taro Muraoka, closes #6513)
8003Files: src/testdir/test_terminal.vim
8004
8005Patch 8.2.1274
8006Problem: Vim9: no error for missing white space in assignment at script
8007 level.
8008Solution: Check for white space. (closes #6495)
8009Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8010 src/testdir/test_let.vim
8011
8012Patch 8.2.1275
8013Problem: Vim9: compiler warning for buffer size.
8014Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8015Files: src/vim9script.c
8016
8017Patch 8.2.1276
8018Problem: MS-Windows: system test may fail if more.exe is installed.
8019Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8020Files: src/testdir/test_system.vim
8021
8022Patch 8.2.1277
8023Problem: Tests on Travis do not run with EXITFREE.
8024Solution: Add EXITFREE to all builds to uncover any mistakes.
8025Files: .travis.yml
8026
8027Patch 8.2.1278
8028Problem: Vim9: line break after "->" only allowed in :def function.
8029Solution: Only allow line break after "->". (closes #6492)
8030Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8031
8032Patch 8.2.1279
8033Problem: Some tests on Travis have EXITFREE duplicated.
8034Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8035Files: .travis.yml
8036
8037Patch 8.2.1280
8038Problem: Ex command error cannot contain an argument.
8039Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8040 possible.
8041Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8042 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8043
8044Patch 8.2.1281
8045Problem: The "trailing characters" error can be hard to understand.
8046Solution: Add the trailing characters to the message.
8047Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8048 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8049 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8050
8051Patch 8.2.1282
8052Problem: Vim9: crash when using CheckScriptFailure() in
8053 Test_vim9script_call_fail_decl().
8054Solution: Do not decrement the def_functions len unless the function was
8055 newly added.
8056Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8057
8058Patch 8.2.1283
8059Problem: Vim9: error for misplaced -> lacks argument.
8060Solution: Use the pointer before it was advanced.
8061Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8062
8063Patch 8.2.1284
8064Problem: Vim9: skipping over type includes following white space, leading
8065 to an error for missing white space.
8066Solution: Do not skip over white space after the type.
8067Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8068
8069Patch 8.2.1285
8070Problem: Vim9: argument types are not checked on assignment.
8071Solution: Check function argument types. (issue #6507)
8072Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8073
8074Patch 8.2.1286
8075Problem: Vim9: No error when using a type on a window variable
8076Solution: Recognize the syntax and give an error. (closes #6521)
8077Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8078
8079Patch 8.2.1287
8080Problem: Vim9: crash when using an imported function.
8081Solution: Add the function type to the imported entry. (closes #6522)
8082Files: src/vim9script.c, src/vim9compile.c,
8083 src/testdir/test_vim9_script.vim
8084
8085Patch 8.2.1288
8086Problem: Vim9: cannot use mark in range.
8087Solution: Use the flag that a colon was seen. (closes #6528)
8088Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8089
8090Patch 8.2.1289
8091Problem: Crash when using a custom completion function.
8092Solution: Initialize all of the expand_T. (closes #6532)
8093Files: src/cmdexpand.c
8094
8095Patch 8.2.1290
8096Problem: Vim9: cannot replace a global function.
8097Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8098 :delfunc on a :def function only made it empty.
8099Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8100
8101Patch 8.2.1291
8102Problem: Vim9: type of varargs items is not checked.
8103Solution: Check the list item types. (closes #6523)
8104Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8105
8106Patch 8.2.1292
8107Problem: AIDL filetype not recognized.
8108Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8109Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8110
8111Patch 8.2.1293
8112Problem: Vim9: :execute mixes up () expression and function call.
8113Solution: Do not skip white space when looking for the "(". (closes #6531)
8114Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8115
8116Patch 8.2.1294
8117Problem: Vim9: error when using vim9script in TextYankPost.
8118Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8119 be used when text is locked. (closes #6529)
8120Files: src/ex_cmds.h, src/ex_docmd.c
8121
8122Patch 8.2.1295
8123Problem: Tests 44 and 99 are old style.
8124Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8125Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8126 src/testdir/test44.in, src/testdir/test44.ok,
8127 src/testdir/test99.in, src/testdir/test99.ok,
8128 src/testdir/test_regexp_utf8.vim
8129
8130Patch 8.2.1296
8131Problem: Some part of using 'smartcase' was not tested.
8132Solution: Add more tests. (Dominique Pellé, closes #6538)
8133Files: src/testdir/test_search.vim
8134
8135Patch 8.2.1297
8136Problem: When a test fails it's often not easy to see what the call stack
8137 is.
8138Solution: Add more entries from the call stack in the exception message.
8139Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8140 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8141 src/ex_eval.c, src/message.c, src/testing.c,
8142 src/testdir/test_expand_func.vim
8143
8144Patch 8.2.1298
8145Problem: Compiler warning for unused argument in small version.
8146Solution: Add UNUSED.
8147Files: src/scriptfile.c
8148
8149Patch 8.2.1299
8150Problem: Compiler warning for using size_t for int and void pointer.
8151Solution: Add type casts.
8152Files: src/scriptfile.c
8153
8154Patch 8.2.1300
8155Problem: Vim9: optional argument type not parsed properly.
8156Solution: Skip over the "?". (issue #6507)
8157Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8158 src/userfunc.c, src/testdir/test_vim9_func.vim
8159
8160Patch 8.2.1301
8161Problem: Vim9: varargs argument type not parsed properly.
8162Solution: Skip over the "...". (issue #6507)
8163Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8164
8165Patch 8.2.1302
8166Problem: Vim9: varargs arg after optional arg does not work
8167Solution: Check for the "..." first. (issue #6507)
8168Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8169
8170Patch 8.2.1303
8171Problem: Calling popup_setoptions() resets 'signcolumn'.
8172Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8173Files: src/popupwin.c, src/testdir/test_popupwin.vim
8174
8175Patch 8.2.1304
8176Problem: Debug backtrace isn't tested much.
8177Solution: Add more specific tests. (Ben Jackson, closes #6540)
8178Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8179
8180Patch 8.2.1305
8181Problem: Some tests are still old style.
8182Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8183 closes #6544) Fix error in FinishTesting().
8184Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8185 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8186 src/testdir/test52.in, src/testdir/test52.ok,
8187 src/testdir/test70.in, src/testdir/test70.ok,
8188 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8189
8190Patch 8.2.1306
8191Problem: Checking for first character of dict key is inconsistent.
8192Solution: Add eval_isdictc(). (closes #6546)
8193Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8194 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8195 src/testdir/test_let.vim
8196
8197Patch 8.2.1307
8198Problem: popup window width does not include number, fold of sign column
8199 width.
8200Solution: Take number, fold and sign column with into account.
8201Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8202 src/testdir/dumps/Test_popupwin_sign_2.dump
8203
8204Patch 8.2.1308
8205Problem: Vim9: accidentally using "x" causes Vim to exit.
8206Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8207Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8208 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8209 src/testdir/test_vim9_script.vim
8210
8211Patch 8.2.1309
8212Problem: Build failure with tiny version.
8213Solution: Add #ifdef.
8214Files: src/ex_cmds.c, src/ex_docmd.c
8215
8216Patch 8.2.1310
8217Problem: Configure with Xcode 12 fails to check for tgetent.
8218Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8219Files: src/configure.ac, src/auto/configure
8220
8221Patch 8.2.1311
8222Problem: Test failures with legacy Vim script.
8223Solution: Actually check for Vim9 script.
8224Files: src/vim9script.c
8225
8226Patch 8.2.1312
8227Problem: MS-Windows: terminal test may fail if dir.exe exists.
8228Solution: Use dir.com. (Ken Takata, closes #6557)
8229Files: src/testdir/test_terminal3.vim
8230
8231Patch 8.2.1313
8232Problem: Vim9 script: cannot assign to environment variable.
8233Solution: Recognize environment variable assignment. (closes #6548)
8234 Also options and registers.
8235Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8236
8237Patch 8.2.1314
8238Problem: Vim9: rule for comment after :function is confusing.
8239Solution: Allow double quoted comment after :function in vim9script.
8240 (closes #6556)
8241Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8242
8243Patch 8.2.1315
8244Problem: MS-Windows: test log contains escape sequences.
8245Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8246 closes #6559)
8247Files: src/testdir/runtest.vim
8248
8249Patch 8.2.1316
8250Problem: Test 42 is still old style.
8251Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8252Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8253 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8254 src/testdir/test42.in, src/testdir/test42.ok,
8255 src/testdir/test_writefile.vim
8256
8257Patch 8.2.1317
8258Problem: MS-Windows tests on AppVeyor are slow.
8259Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8260Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8261 ci/appveyor.bat
8262
8263Patch 8.2.1318
8264Problem: No status badge for Github CI.
8265Solution: Add a badge.
8266Files: README.md
8267
8268Patch 8.2.1319
8269Problem: Status badge for Github CI has wrong link.
8270Solution: Rename and use the right link
8271Files: README.md, .github/workflows/ci-windows.yaml
8272
8273Patch 8.2.1320
8274Problem: Vim9: cannot declare some single letter variables.
8275Solution: Do not recognize a colon for a namespace for single letter
8276 variables. (closes #6547)
8277Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8278
8279Patch 8.2.1321
8280Problem: GitHub CI also runs on tag push.
8281Solution: Skip CI on push. (Ken Takata, closes #6571)
8282Files: .github/workflows/ci-windows.yaml
8283
8284Patch 8.2.1322
8285Problem: Vim9: method on double quoted string doesn't work.
8286Solution: Recognize double quoted string. (closes #6562)
8287Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8288 src/testdir/test_vim9_expr.vim
8289
8290Patch 8.2.1323
8291Problem: Vim9: invalid operators only rejected in :def function.
8292Solution: Also reject them at script level. (closes #6564)
8293Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8294 src/testdir/test_vim9_expr.vim
8295
8296Patch 8.2.1324
8297Problem: Vim9: line break after "=" does not work.
8298Solution: Also allow for NUL after "=". (closes #6549)
8299Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8300
8301Patch 8.2.1325
8302Problem: Vim9: using Vim9 script for autoload not tested.
8303Solution: Add a test. Update help.
8304Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8305 src/testdir/sautest/autoload/auto9.vim
8306
8307Patch 8.2.1326
8308Problem: Vim9: skipping over white space after list.
8309Solution: Do not skip white space, a following [] would be misinterpreted.
8310 (closes #6552) Fix a few side effects.
8311Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8312 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8313 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8314 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8315
8316Patch 8.2.1327
8317Problem: Mac: configure can't find Tcl libraries.
8318Solution: Adjust configure check. (closes #6575)
8319Files: src/configure.ac, src/auto/configure
8320
8321Patch 8.2.1328
8322Problem: No space allowed before comma in list.
8323Solution: Legacy Vim script allows it. (closes #6577)
8324Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8325
8326Patch 8.2.1329
8327Problem: Vim9: cannot define global function inside :def function.
8328Solution: Assign to global variable instead of local. (closes #6584)
8329Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8330 src/vim9.h, src/vim9execute.c, src/structs.h,
8331 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8332 src/testdir/test_vim9_disassemble.vim
8333
8334Patch 8.2.1330
8335Problem: Github workflow takes longer than needed.
8336Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8337 closes #6579)
8338Files: .github/workflows/ci-windows.yaml
8339
8340Patch 8.2.1331
8341Problem: Vim9: :echo with two lists doesn't work.
8342Solution: Do not skip white space before []. (closes #6552)
8343Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8344
8345Patch 8.2.1332
8346Problem: Vim9: memory leak when using nested global function.
8347Solution: Delete the function when deleting the instruction. Disable test
8348 that still causes a leak.
8349Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8350 src/testdir/test_vim9_func.vim
8351
8352Patch 8.2.1333
8353Problem: Vim9: memory leak when using nested global function.
8354Solution: Swap from and to when copying the lines.
8355Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8356
8357Patch 8.2.1334
8358Problem: Github workflow timeout needs tuning
8359Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8360 closes #6590)
8361Files: .github/workflows/ci-windows.yaml
8362
8363Patch 8.2.1335
8364Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8365Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8366Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8367 src/gui_photon.c
8368
8369Patch 8.2.1336 (after 8.2.1335)
8370Problem: Build failure on non-Unix systems.
8371Solution: Add #ifdef.
8372Files: src/gui.c
8373
8374Patch 8.2.1337
8375Problem: Vim9: cannot use empty key in dict assignment.
8376Solution: Allow empty key. (closes #6591)
8377Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8378
8379Patch 8.2.1338
8380Problem: Vim9: assigning to script-local variable doesn't check type.
8381Solution: Use the type. (issue #6591)
8382Files: src/vim9compile.c, src/vim9execute.c,
8383 src/testdir/test_vim9_script.vim
8384
8385Patch 8.2.1339
8386Problem: Vim9: assigning to global dict variable doesn't work.
8387Solution: Guess variable type based in index type. (issue #6591)
8388Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8389
8390Patch 8.2.1340
8391Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8392Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8393 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8394Files: .cirrus.yml, src/testdir/test_backup.vim,
8395 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8396 src/testdir/test_writefile.vim, src/viminfo.c
8397
8398Patch 8.2.1341
8399Problem: Build failures.
8400Solution: Add missing error message.
8401Files: src/globals.h
8402
8403Patch 8.2.1342
8404Problem: Vim9: accidentally using "x" gives a confusing error.
8405Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8406Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8407 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8408
8409Patch 8.2.1343
8410Problem: Vim9: cannot find global function when using g: when local
8411 function with the same name exists.
8412Solution: Find global function when using g:.
8413Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8414
8415Patch 8.2.1344
8416Problem: Vim9: No test for trying to redefine global function.
8417Solution: Add a test.
8418Files: src/testdir/test_vim9_func.vim
8419
8420Patch 8.2.1345
8421Problem: Redraw error when using visual block and scroll.
8422Solution: Add check for w_topline. (closes #6597)
8423Files: src/drawscreen.c, src/testdir/test_display.vim,
8424 src/testdir/dumps/Test_display_visual_block_scroll.dump
8425
8426Patch 8.2.1346
8427Problem: Small build fails.
8428Solution: Add #ifdef.
8429Files: src/ex_docmd.c
8430
8431Patch 8.2.1347
8432Problem: Cannot easily get the script ID.
8433Solution: Support expand('<SID>').
8434Files: runtime/doc/map.txt, src/ex_docmd.c,
8435 src/testdir/test_expand_func.vim
8436
8437Patch 8.2.1348
8438Problem: Build failure without the eval feature.
8439Solution: Add #ifdef.
8440Files: src/ex_docmd.c
8441
8442Patch 8.2.1349
8443Problem: Vim9: can define a function with the name of an import.
8444Solution: Disallow using an existing name. (closes #6585)
8445Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8446 src/testdir/test_vim9_script.vim
8447
8448Patch 8.2.1350
8449Problem: Vim9: no test for error message when redefining function.
8450Solution: Add a test.
8451Files: src/testdir/test_vim9_script.vim
8452
8453Patch 8.2.1351
8454Problem: Vim9: no proper error if using namespace for nested function.
8455Solution: Specifically check for a namespace. (closes #6582)
8456Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8457
8458Patch 8.2.1352
8459Problem: Vim9: no error for shadowing a script-local function by a nested
8460 function.
8461Solution: Check for script-local function. (closes #6586)
8462Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8463
8464Patch 8.2.1353
8465Problem: Crash when drawing double-wide character in terminal window.
8466 (Masato Nishihata)
8467Solution: Check getcell() returning NULL. (issue #6141)
8468Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8469
8470Patch 8.2.1354
8471Problem: Test 59 is old style.
8472Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8473Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8474 src/testdir/Make_vms.mms, src/testdir/test59.in,
8475 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8476
8477Patch 8.2.1355
8478Problem: Vim9: no error using :let for options and registers.
8479Solution: Give an error. (closes #6568)
8480Files: src/evalvars.c, src/vim9compile.c,
8481 src/testdir/test_vim9_script.vim
8482
8483Patch 8.2.1356
8484Problem: Vim9: cannot get the percent register.
8485Solution: Check for readable registers instead of writable. (closes #6566)
8486Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8487
8488Patch 8.2.1357
8489Problem: Vim9: cannot assign to / register.
8490Solution: Adjust check for assignment. (issue #6566)
8491Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8492 src/testdir/test_vim9_script.vim
8493
8494Patch 8.2.1358
8495Problem: Vim9: test fails with +dnd is not available.
8496Solution: Add condition.
8497Files: src/testdir/test_vim9_script.vim
8498
8499Patch 8.2.1359
8500Problem: Vim9: cannot assign to / register in Vim9 script.
8501Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8502Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8503
8504Patch 8.2.1360
8505Problem: Stray error for white space after expression.
8506Solution: Ignore trailing white space. (closes #6608)
8507Files: src/eval.c, src/testdir/test_filter_map.vim
8508
8509Patch 8.2.1361
8510Problem: Error for white space after expression in assignment.
8511Solution: Skip over white space. (closes #6617)
8512Files: src/eval.c, src/testdir/test_expr.vim
8513
8514Patch 8.2.1362
8515Problem: Last entry of ":set term=xxx" overwritten by error message when
8516 'cmdheight' is two or more. (Tony Mechelynck)
8517Solution: Output extra line breaks.
8518Files: src/term.c, src/testdir/test_termcodes.vim
8519
8520Patch 8.2.1363
8521Problem: Test trying to run terminal when it is not supported.
8522Solution: Check if Vim can be run in a terminal.
8523Files: src/testdir/test_termcodes.vim
8524
8525Patch 8.2.1364
8526Problem: Invalid memory access when searching for raw string.
8527Solution: Check for delimiter match before following quote. (closes #6578)
8528Files: src/search.c
8529
8530Patch 8.2.1365
8531Problem: Vim9: no error for missing white space around operator.
8532Solution: Check for white space. (closes #6618)
8533Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8534 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8535 src/testdir/test_vim9_func.vim
8536
8537Patch 8.2.1366
8538Problem: Test 49 is old style.
8539Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8540 closes #6629)
8541Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8542 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8543
8544Patch 8.2.1367
8545Problem: Vim9: no error for missing white space around operator.
8546Solution: Check for white space around *, / and %.
8547Files: src/eval.c, src/testdir/test_vim9_expr.vim
8548
8549Patch 8.2.1368
8550Problem: Vim9: no error for missing white space around operator.
8551Solution: Check for white space around <, !=, etc.
8552Files: src/eval.c, src/testdir/test_vim9_expr.vim
8553
8554Patch 8.2.1369
8555Problem: MS-Windows: autocommand test sometimes fails.
8556Solution: Do not rely on the cat command.
8557Files: src/testdir/test_autocmd.vim
8558
8559Patch 8.2.1370
8560Problem: MS-Windows: warning for using fstat() with stat_T.
8561Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8562Files: src/macros.h
8563
8564Patch 8.2.1371
8565Problem: Vim9: no error for missing white space around operator.
8566Solution: Check for white space around && and ||.
8567Files: src/eval.c, src/testdir/test_vim9_expr.vim
8568
8569Patch 8.2.1372
8570Problem: Vim9: no error for missing white space around operator.
8571Solution: Check for white space around ? and :.
8572Files: src/eval.c, src/testdir/test_vim9_expr.vim
8573
8574Patch 8.2.1373
8575Problem: Vim9: no error for assigning to non-existing script var.
8576Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8577Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8578 src/testdir/test_vim9_script.vim
8579
8580Patch 8.2.1374
8581Problem: Vim9: error for assigning empty list to script variable.
8582Solution: Use t_unknown for empty list member. (closes #6595)
8583Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8584
8585Patch 8.2.1375
8586Problem: Vim9: method name with digit not accepted.
8587Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8588Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8589
8590Patch 8.2.1376
8591Problem: Vim9: expression mapping causes error for using :import.
8592Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8593Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8594
8595Patch 8.2.1377
8596Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8597Solution: Increment tb_change_cnt. (closes #6541)
8598Files: src/getchar.c
8599
8600Patch 8.2.1378
8601Problem: Cannot put space between function name and paren.
8602Solution: Allow this for backwards compatibility.
8603Files: src/eval.c, src/testdir/test_expr.vim,
8604 src/testdir/test_vim9_expr.vim
8605
8606Patch 8.2.1379
8607Problem: Curly braces expression ending in " }" does not work.
8608Solution: Skip over white space when checking for "}". (closes #6634)
8609Files: src/dict.c, src/testdir/test_eval_stuff.vim
8610
8611Patch 8.2.1380
8612Problem: Vim9: return type of getreg() is always a string.
8613Solution: Use list of strings when there are three arguments. (closes #6633)
8614Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8615
8616Patch 8.2.1381
8617Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8618Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8619Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8620
8621Patch 8.2.1382
8622Problem: Vim9: using :import in filetype plugin gives an error.
8623Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8624Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8625
8626Patch 8.2.1383
8627Problem: Test 49 is old style.
8628Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8629 closes #6638)
8630Files: src/testdir/test49.ok, src/testdir/test49.vim,
8631 src/testdir/test_vimscript.vim
8632
8633Patch 8.2.1384
8634Problem: No ATTENTION prompt for :vimgrep first match file.
8635Solution: When there is an existing swap file do not keep the dummy buffer.
8636 (closes #6649)
8637Files: src/quickfix.c, src/testdir/runtest.vim,
8638 src/testdir/test_quickfix.vim
8639
8640Patch 8.2.1385
8641Problem: No testing on ARM.
8642Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8643Files: .travis.yml
8644
8645Patch 8.2.1386
8646Problem: Backslash not removed after space in option with space in
8647 'isfname'.
8648Solution: Do remove backslash before space, also when it is in 'isfname'.
8649 (Yasuhiro Matsumoto, closes #6651)
8650Files: src/option.c, src/testdir/test_options.vim
8651
8652Patch 8.2.1387
8653Problem: Vim9: cannot assign to single letter variable with type.
8654Solution: Exclude the colon from the variable name. (closes #6647)
8655Files: src/eval.c, src/testdir/test_vim9_script.vim
8656
8657Patch 8.2.1388
8658Problem: Vim9: += only works for numbers.
8659Solution: Use += as concatenate for a list. (closes #6646)
8660Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8661
8662Patch 8.2.1389
8663Problem: File missing from the distribution.
8664Solution: Add script_util.vim to the list of distributes files.
8665Files: Filelist
8666
8667Patch 8.2.1390
8668Problem: Vim9: type error after storing an option value.
8669Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8670Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8671
8672Patch 8.2.1391
8673Problem: Vim9: no error for shadowing a script function.
8674Solution: Check for already defined items. (closes #6652)
8675Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8676
8677Patch 8.2.1392
8678Problem: Vim9: error line number incorrect after skipping over comment
8679 lines.
8680Solution: Insert empty lines for skipped lines.
8681Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8682
8683Patch 8.2.1393
8684Problem: Insufficient testing for script debugging.
8685Solution: Add more tests. (Ben Jackson)
8686Files: src/testdir/test_debugger.vim
8687
8688Patch 8.2.1394
8689Problem: Vim9: compiling a function interferes with command modifiers.
8690Solution: Save and restore command modifiers. (closes #6658)
8691Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8692 src/testdir/test_vim9_script.vim
8693
8694Patch 8.2.1395
8695Problem: Vim9: no error if declaring a funcref with a lower case letter.
8696Solution: Check the name after the type is inferred. Fix confusing name.
8697Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8698 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8699 src/testdir/test_vim9_expr.vim
8700
8701Patch 8.2.1396
8702Problem: Vim9: no error for unexpectedly returning a value.
8703Solution: Only set the return type for lambda's. Make using function type
8704 in a function reference work.
8705Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8706
8707Patch 8.2.1397
8708Problem: Vim9: return type of maparg() not adjusted for fourth argument.
8709Solution: Check if fourth argument is present. (closes #6645)
8710Files: src/evalfunc.c, src/testdir/test_maparg.vim
8711
8712Patch 8.2.1398
8713Problem: Autoload script sourced twice if sourced directly.
8714Solution: Do not source an autoload script again. (issue #6644)
8715Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
8716
8717Patch 8.2.1399
8718Problem: Vim9: may find imported item in wrong script.
8719Solution: When looking up script-local function use the embedded script ID.
8720 (issue #6644)
8721Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
8722 src/testdir/test_vim9_script.vim
8723
8724Patch 8.2.1400
8725Problem: Vim9: test does not delete written files.
8726Solution: Correct file names.
8727Files: src/testdir/test_vim9_script.vim
8728
8729Patch 8.2.1401
8730Problem: Cannot jump to the last used tabpage.
8731Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
8732 neovim #11626)
8733Files: runtime/doc/eval.txt, runtime/doc/index.txt,
8734 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
8735 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
8736 src/window.c
8737
8738Patch 8.2.1402
8739Problem: s390x tests always fail.
8740Solution: Temporarily disable s390x tests.
8741Files: .travis.yml
8742
8743Patch 8.2.1403
8744Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
8745 commands.
8746Solution: Allow using :vim9script, :import and :export while in the cmdline
8747 window. (closes #6656)
8748Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8749
8750Patch 8.2.1404
8751Problem: Vim9: script test fails in the GUI.
8752Solution: Use another key to map. Improve cleanup.
8753Files: src/testdir/test_vim9_script.vim
8754
8755Patch 8.2.1405
8756Problem: Vim9: vim9compile.c is getting too big.
8757Solution: Split off type code to vim9type.c.
8758Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
8759 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
8760 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
8761
8762Patch 8.2.1406
8763Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
8764Solution: Compute the max height depending on the position. (closes #6664)
8765Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8766 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
8767 src/testdir/dumps/Test_popupwin_toohigh_2.dump
8768
8769Patch 8.2.1407
8770Problem: Vim9: type of list and dict only depends on first item.
8771Solution: Use all items to decide about the type.
8772Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
8773 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
8774
8775Patch 8.2.1408
8776Problem: Vim9: type casting not supported.
8777Solution: Introduce type casting.
8778Files: runtime/doc/vim9.txt, src/vim9compile.c,
8779 src/testdir/test_vim9_expr.vim,
8780 src/testdir/test_vim9_disassemble.vim
8781
8782Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00008783Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00008784Solution: Add filetype detection. (Doug Kearns)
8785Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8786
8787Patch 8.2.1410
8788Problem: Adding compiler plugin requires test change.
8789Solution: Include compiler plugin and adjust test.
8790Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
8791
8792Patch 8.2.1411
8793Problem: when splitting a window localdir is copied but prevdir is not.
8794Solution: Also copy prevdir. (closes #6667)
8795Files: src/window.c, src/testdir/test_cd.vim
8796
8797Patch 8.2.1412
8798Problem: Vim: not operator does not result in boolean.
8799Solution: Make type depend on operator. (issue 6678) Fix using "false" and
8800 "true" in Vim9 script.
8801Files: src/eval.c, src/testdir/test_vim9_expr.vim
8802
8803Patch 8.2.1413 (after 8.2.1401)
8804Problem: Previous tab page not usable from an Ex command.
8805Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
8806 closes #6677)
8807Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
8808 src/testdir/test_tabpage.vim
8809
8810Patch 8.2.1414
8811Problem: Popupwindow missing last couple of lines when cursor is in the
8812 first line.
8813Solution: Compute the max height also when top aligned. (closes #6664)
8814Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8815 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
8816 src/testdir/dumps/Test_popupwin_nospace.dump
8817
8818Patch 8.2.1415
8819Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
8820 calls a function.
8821Solution: Reset got_int while redrawing. (closes #6675)
8822Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8823 src/testdir/dumps/Test_popupwin_ctrl_c.dump
8824
8825Patch 8.2.1416
8826Problem: Vim9: boolean evaluation does not work as intended.
8827Solution: Use tv2bool() in Vim9 script. (closes #6681)
8828Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
8829
8830Patch 8.2.1417
8831Problem: Test 49 is old style.
8832Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
8833 closes #6682)
8834Files: src/testdir/test49.ok, src/testdir/test49.vim,
8835 src/testdir/test_vimscript.vim
8836
8837Patch 8.2.1418
8838Problem: Vim9: invalid error for missing white space after function.
8839Solution: Do not skip over white space. (closes #6679)
8840Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
8841
8842Patch 8.2.1419
8843Problem: Vim9: not operator applied too early.
8844Solution: Implement the "numeric_only" argument. (closes #6680)
8845Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8846
8847Patch 8.2.1420
8848Problem: Test 49 is old style.
8849Solution: Convert remaining parts to new style. Remove obsolete items.
8850 (Yegappan Lakshmanan, closes #6683)
8851Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
8852 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
8853 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
8854 src/testdir/Make_vms.mms, src/testdir/Makefile,
8855 src/testdir/README.txt, src/testdir/test49.in,
8856 src/testdir/test49.ok, src/testdir/test49.vim,
8857 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
8858
8859Patch 8.2.1421
8860Problem: Vim9: handling "+" and "-" before number differs from Vim script.
8861Solution: Use the same sequence of commands.
8862Files: src/vim9compile.c
8863
8864Patch 8.2.1422
8865Problem: The Mac GUI implementation is outdated and probably doesn't even
8866 work.
8867Solution: Remove the Mac GUI code. The MacVim project provides the
8868 supported Vim GUI version.
8869Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
8870 src/Makefile, src/configure.ac, src/auto/configure,
8871 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
8872 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
8873 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
8874 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
8875 src/vim.h, src/INSTALLmac.txt
8876
8877Patch 8.2.1423
8878Problem: Vim9: find global function when looking for script-local.
8879Solution: Don't strip prefix if name starts with "s:". (closes #6688)
8880Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8881
8882Patch 8.2.1424 (after 8.2.1422)
8883Problem: Mac build fails.
8884Solution: Adjust configure to not fall back to Athena. Adjust some other
8885 files.
8886Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
8887 src/version.c
8888
8889Patch 8.2.1425
8890Problem: Vim9: cannot use call() without :call.
8891Solution: Do not skip over "call(". (closes #6689)
8892Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8893
8894Patch 8.2.1426
8895Problem: Vim9: cannot call autoload function in :def function.
8896Solution: Load the autoload script. (closes #6690)
8897Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
8898 src/testdir/test_vim9_expr.vim
8899
8900Patch 8.2.1427
8901Problem: Vim9: cannot use a range with marks in :def function.
8902Solution: Parse range after colon. (closes #6686)
8903Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
8904
8905Patch 8.2.1428
8906Problem: Vim9: :def function does not abort on nested function error.
8907Solution: Check whether an error message was given. (closes #6691)
8908Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8909
8910Patch 8.2.1429
8911Problem: Vim9: no error for missing white after : in dict.
8912Solution: Check for white space. (closes #6671) Also check that there is no
8913 white before the :.
8914Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8915 src/testdir/test_vim9_func.vim
8916
8917Patch 8.2.1430
8918Problem: Vim9: error for missing comma instead of extra white space.
8919Solution: Check if comma can be found after white space. (closes #6668)
8920 Also check for extra white space in literal dict. (closes #6670)
8921Files: src/list.c, src/dict.c, src/vim9compile.c,
8922 src/testdir/test_vim9_expr.vim
8923
8924Patch 8.2.1431
8925Problem: Vim9: no error for white space before comma in dict.
8926Solution: Check for extra white space. (closes #6674)
8927Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
8928
8929Patch 8.2.1432
8930Problem: Various inconsistencies in test files.
8931Solution: Add modelines where they were missing. Use Check commands instead
8932 of silently skipping over tests. Adjust indents and comments.
8933 (Ken Takata, closes #6695)
8934Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
8935 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
8936 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
8937 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
8938 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
8939 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
8940 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
8941 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
8942 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
8943 src/testdir/test_cjk_linebreak.vim,
8944 src/testdir/test_clientserver.vim,
8945 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
8946 src/testdir/test_command_count.vim,
8947 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
8948 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
8949 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
8950 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
8951 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
8952 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
8953 src/testdir/test_erasebackword.vim,
8954 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
8955 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
8956 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
8957 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
8958 src/testdir/test_expand_dllpath.vim,
8959 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
8960 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
8961 src/testdir/test_filter_cmd.vim,
8962 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
8963 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
8964 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
8965 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
8966 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
8967 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
8968 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
8969 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
8970 src/testdir/test_iminsert.vim,
8971 src/testdir/test_increment_dbcs.vim,
8972 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
8973 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
8974 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
8975 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
8976 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
8977 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
8978 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
8979 src/testdir/test_listlbr_utf8.vim,
8980 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
8981 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
8982 src/testdir/test_matchadd_conceal.vim,
8983 src/testdir/test_matchadd_conceal_utf8.vim,
8984 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
8985 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
8986 src/testdir/test_modeline.vim,
8987 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
8988 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
8989 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
8990 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
8991 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
8992 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
8993 src/testdir/test_random.vim, src/testdir/test_recover.vim,
8994 src/testdir/test_regex_char_classes.vim,
8995 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
8996 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
8997 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
8998 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
8999 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9000 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9001 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9002 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9003 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9004 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9005 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9006 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9007 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9008 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9009 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9010 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9011 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9012 src/testdir/test_terminal_fail.vim,
9013 src/testdir/test_true_false.vim,
9014 src/testdir/test_utf8_comparisons.vim,
9015 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9016 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9017 src/testdir/test_winbuf_close.vim,
9018 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9019 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9020 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9021 src/testdir/test_xxd.vim
9022
9023Patch 8.2.1433
9024Problem: Vim9: cannot mingle comments in multi-line lambda.
9025Solution: Skip over NULL lines. (closes #6694)
9026Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9027
9028Patch 8.2.1434
9029Problem: Vim9: crash when lambda uses outer function argument.
9030Solution: Set the flag that the outer context is used.
9031Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9032
9033Patch 8.2.1435
9034Problem: Vim9: always converting to string for ".." leads to mistakes.
9035Solution: Only automatically convert simple types.
9036Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9037 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9038 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9039 src/testdir/test_vim9_disassemble.vim
9040
9041Patch 8.2.1436
9042Problem: Function implementing :substitute has unexpected name.
9043Solution: Rename from do_sub() to ex_substitute().
9044Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9045 src/ex_cmds.h
9046
9047Patch 8.2.1437
9048Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9049Solution: Always use legacy script syntax.
9050Files: src/eval.c, src/testdir/test_vim9_script.vim
9051
9052Patch 8.2.1438
9053Problem: Missing tests for interrupting script execution from debugger.
9054Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9055Files: src/testdir/test_debugger.vim
9056
9057Patch 8.2.1439
9058Problem: Tiny and small builds have no test coverage.
9059Solution: Restore tests that do not depend on the +eval feature.
9060 (Ken Takata, closes #6696)
9061Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9062 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9063 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9064 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9065 src/testdir/Makefile, src/testdir/runtest.vim,
9066 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9067 src/testdir/test20.ok, src/testdir/test21.in,
9068 src/testdir/test21.ok, src/testdir/test22.in,
9069 src/testdir/test22.ok, src/testdir/test23.in,
9070 src/testdir/test23.ok, src/testdir/test24.in,
9071 src/testdir/test24.ok, src/testdir/test25.in,
9072 src/testdir/test25.ok, src/testdir/test26.in,
9073 src/testdir/test26.ok, src/testdir/test27.in,
9074 src/testdir/test27.ok, src/testdir/test_options.vim
9075
9076Patch 8.2.1440
9077Problem: Debugger code insufficiently tested.
9078Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9079Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9080
9081Patch 8.2.1441
9082Problem: Running tests in tiny version gives error for summarize.vim.
9083Solution: Set 'cpoptions' to allow for line continuation. Restore
9084 redirecting test output to /dev/null.
9085Files: src/testdir/summarize.vim, src/testdir/Makefile
9086
9087Patch 8.2.1442
9088Problem: Outdated references to the Mac Carbon GUI.
9089Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9090Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9091 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9092 src/testdir/test_iminsert.vim, src/vim.h
9093
9094Patch 8.2.1443
9095Problem: Vim9: crash when interrupting a nested :def function.
9096Solution: Push a dummy return value onto the stack. (closes #6701)
9097Files: src/vim9execute.c
9098
9099Patch 8.2.1444
9100Problem: Error messages are spread out and names can be confusing.
9101Solution: Start moving error messages to a separate file and use clear
9102 names.
9103Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9104 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9105 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9106 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9107 src/vim9script.c, src/vim9type.c
9108
9109Patch 8.2.1445
9110Problem: Vim9: function expanded name is cleared when sourcing a script
9111 again.
9112Solution: Only clear the expanded name when deleting the function.
9113 (closes #6707)
9114Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9115
9116Patch 8.2.1446
9117Problem: Vim9: line number in error message is not correct.
9118Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9119Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9120
9121Patch 8.2.1447
9122Problem: Vim9: return type of keys() is list<any>.
9123Solution: Should be list<string>. (closes #6711)
9124Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9125
9126Patch 8.2.1448
9127Problem: Test 77a for VMS depends on small.vim which does not exist.
9128Solution: Use the 'silent while 0" trick. (issue #6696)
9129Files: src/testdir/test77a.in
9130
9131Patch 8.2.1449
9132Problem: Some test makefiles delete files that are not generated.
9133Solution: Remove the deletion commands.
9134Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9135 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9136
9137Patch 8.2.1450
9138Problem: Vim9: no check that script-local items don't become global.
9139Solution: Add a test.
9140Files: src/testdir/test_vim9_script.vim
9141
9142Patch 8.2.1451
9143Problem: Vim9: list type at script level only uses first item.
9144Solution: Use all members, like in a compiled function. (closes #6712)
9145 Also for dictionary.
9146Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9147
9148Patch 8.2.1452
9149Problem: Vim9: dead code in to_name_end().
9150Solution: Remove check for lambda and dict, it won't be used.
9151Files: src/vim9compile.c
9152
9153Patch 8.2.1453
9154Problem: Vim9: failure to compile lambda not tested.
9155Solution: Add a test case.
9156Files: src/testdir/test_vim9_expr.vim
9157
9158Patch 8.2.1454
9159Problem: Vim9: failure invoking lambda with wrong arguments.
9160Solution: Handle invalid arguments. Add a test.
9161Files: src/vim9compile.c, src/vim9execute.c,
9162 src/testdir/test_vim9_expr.vim
9163
9164Patch 8.2.1455
9165Problem: Vim9: crash when using typecast before constant.
9166Solution: Generate constant before checking type. Add tets.
9167Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9168
9169Patch 8.2.1456
9170Problem: MS-Windows: test files are not deleted.
9171Solution: use "del" instead of $(DEL).
9172Files: src/testdir/Make_dos.mak
9173
9174Patch 8.2.1457
9175Problem: Vim9: the output of :disassemble cannot be interrupted.
9176Solution: Check got_int. (closes #6715)
9177Files: src/vim9execute.c
9178
9179Patch 8.2.1458
9180Problem: .gawk files not recognized.
9181Solution: Recognize .gawk files. (Doug Kearns)
9182Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9183
9184Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009185Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009186 infer the type.
9187Solution: Get the type from the value. (closes #6716)
9188Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9189
9190Patch 8.2.1460
9191Problem: Error messages are spread out.
9192Solution: Move more messages into errors.h.
9193Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9194 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9195 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9196 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9197 src/testdir/test_vim9_disassemble.vim,
9198 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9199
9200Patch 8.2.1461
9201Problem: Vim9: string indexes are counted in bytes.
9202Solution: Use character indexes. (closes #6574)
9203Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9204 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9205
9206Patch 8.2.1462
9207Problem: Vim9: string slice not supported yet.
9208Solution: Add support for string slicing.
9209Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9210 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9211 src/testdir/test_vim9_disassemble.vim
9212
9213Patch 8.2.1463
9214Problem: Vim9: list slice not supported yet.
9215Solution: Add support for list slicing.
9216Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9217 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9218 src/testdir/test_vim9_disassemble.vim
9219
9220Patch 8.2.1464
9221Problem: Vim9: build warning for unused variable.
9222Solution: Delete the variable declaration.
9223Files: src/vim9execute.c
9224
9225Patch 8.2.1465
9226Problem: Vim9: subscript not handled properly.
9227Solution: Adjust error message. Remove dead code. Disallow string to
9228 number conversion in scripts.
9229Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9230 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9231 src/testdir/test_vim9_script.vim
9232
9233Patch 8.2.1466
9234Problem: Vim9: cannot index or slice a variable with type "any".
9235Solution: Add runtime index and slice.
9236Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9237 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9238 src/testdir/test_vim9_expr.vim,
9239 src/testdir/test_vim9_disassemble.vim,
9240 src/testdir/test_vim9_script.vim
9241
9242Patch 8.2.1467
9243Problem: Vim9: :echomsg doesn't like a dict argument.
9244Solution: Convert arguments like in legacy script. (closes #6717)
9245Files: src/vim9compile.c, src/vim9execute.c,
9246 src/testdir/test_vim9_script.vim
9247
9248Patch 8.2.1468
9249Problem: Vim9: invalid error for missing white space.
9250Solution: Don't skip over white space after index. (closes #6718)
9251Files: src/eval.c, src/testdir/test_vim9_expr.vim
9252
9253Patch 8.2.1469
9254Problem: Vim9: cannot assign string to string option.
9255Solution: Change checks for option value. (closes #6720)
9256Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9257
9258Patch 8.2.1470
9259Problem: Errors in spell file not tested.
9260Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9261 closes #6721)
9262Files: src/testdir/test_spellfile.vim
9263
9264Patch 8.2.1471
9265Problem: :const only locks the variable, not the value.
9266Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9267Files: src/evalvars.c, src/testdir/test_const.vim
9268
9269Patch 8.2.1472
9270Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9271 Demin)
9272Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9273 Also fix giving the error "0 more files to edit".
9274Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9275
9276Patch 8.2.1473
9277Problem: Items in a list given to :const can still be modified.
9278Solution: Work like ":lockvar! name" but don't lock referenced items.
9279 Make locking a blob work.
9280Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9281 src/testdir/test_const.vim
9282
9283Patch 8.2.1474
9284Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9285Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9286Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9287
9288Patch 8.2.1475
9289Problem: Vim9: can't use v:true for option flags.
9290Solution: Add tv_get_bool_chk(). (closes #6725)
9291Files: src/typval.c, src/proto/typval.pro, src/channel.c
9292
9293Patch 8.2.1476 (after 8.2.1474)
9294Problem: Filetype test fails on MS-Windows.
9295Solution: Remove "^" from pattern.
9296Files: runtime/autoload/dist/ft.vim
9297
9298Patch 8.2.1477
9299Problem: Vim9: error when using bufnr('%').
9300Solution: Don't give an error for using a string argument. (closes #6723)
9301Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9302
9303Patch 8.2.1478
9304Problem: Vim9: cannot use "true" for some popup options.
9305Solution: Add dict_get_bool(). (closes #6725)
9306Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9307
9308Patch 8.2.1479
9309Problem: Vim9: error for list index uses wrong line number.
9310Solution: Set source line number. (closes #6724) Add a way to assert the
9311 line number of the error with assert_fails().
9312Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9313 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9314 src/testdir/test_vim9_expr.vim
9315
9316Patch 8.2.1480
9317Problem: Vim9: skip expression in search() gives error.
9318Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9319Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9320 src/testdir/test_vim9_func.vim
9321
9322Patch 8.2.1481
9323Problem: Vim9: line number reported with error may be wrong.
9324Solution: Check line number in tests.
9325Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9326 src/vim9execute.c
9327
9328Patch 8.2.1482
9329Problem: Vim9: crash when using a nested lambda.
9330Solution: Do not clear the growarray when not evaluating. Correct pointer
9331 when getting the next line. (closes #6731)
9332Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9333
9334Patch 8.2.1483
9335Problem: Vim9: error for using special as number when returning "false"
9336 from a popup filter.
9337Solution: Use tv_get_bool(). (closes #6733)
9338Files: src/popupwin.c
9339
9340Patch 8.2.1484
9341Problem: Flaky failure in assert_fails().
9342Solution: Only used fourth argument if there is a third argument.
9343Files: src/testing.c
9344
9345Patch 8.2.1485
9346Problem: Vim9: readdirex() expression doesn't accept bool.
9347Solution: Accept both -1 and bool. (closes #6737)
9348Files: src/filepath.c, src/testdir/test_vim9_func.vim
9349
9350Patch 8.2.1486
9351Problem: Vim9: readdir() expression doesn't accept bool.
9352Solution: Merge with code for readdirex(). (closes #6737)
9353Files: src/filepath.c, src/testdir/test_vim9_func.vim
9354
9355Patch 8.2.1487
9356Problem: Travis: installing snd-dummy is not always useful.
9357Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9358Files: .travis.yml, ci/load-snd-dummy.sh
9359
9360Patch 8.2.1488
9361Problem: Text does not scroll when inserting above first line.
9362Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9363Files: src/drawscreen.c, src/testdir/test_display.vim,
9364 src/testdir/dumps/Test_display_scroll_at_topline.dump
9365
9366Patch 8.2.1489
9367Problem: Vim9: error when setting an option with setbufvar().
9368Solution: Do not get a number from a string value. (closes #6740)
9369Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9370
9371Patch 8.2.1490
9372Problem: Vim9: using /= with float and number doesn't work.
9373Solution: Better support assignment with operator. (closes #6742)
9374Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9375
9376Patch 8.2.1491
9377Problem: Vim9: crash when compiling heredoc lines start with comment.
9378Solution: Skip over NULL pointers. Do not remove comment and empty lines
9379 when fetching function lines. (closes #6743)
9380Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9381 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9382 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9383 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9384 src/proto/userfunc.pro, src/evalfunc.c,
9385 src/testdir/test_vim9_script.vim
9386
9387Patch 8.2.1492
9388Problem: Build failures.
9389Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9390 America.
9391Files: src/structs.h, src/ex_docmd.c
9392
9393Patch 8.2.1493
9394Problem: Not enough test coverage for the spell file handling.
9395Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9396Files: src/spellfile.c, src/testdir/test_spellfile.vim
9397
9398Patch 8.2.1494
9399Problem: Missing change to calling eval_getline().
9400Solution: Change last argument.
9401Files: src/eval.c
9402
9403Patch 8.2.1495
9404Problem: "make clean" may delete too many files.
9405Solution: Do not delete $APPDIR. (closes #6751)
9406Files: src/Makefile
9407
9408Patch 8.2.1496
9409Problem: Vim9: cannot use " #" in a mapping.
9410Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9411Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9412
9413Patch 8.2.1497
9414Problem: CursorHold test is flaky. (Jakub Kądziołka)
9415Solution: Use WaitForAssert() (closes #6754)
9416Files: src/testdir/test_autocmd.vim
9417
9418Patch 8.2.1498
9419Problem: On slow systems tests can be flaky.
9420Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9421 closes #6756)
9422Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9423 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9424 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9425 src/testdir/test_writefile.vim
9426
9427Patch 8.2.1499
9428Problem: Vim9: error when using "$" with col().
9429Solution: Reorder getting the column value. (closes #6744)
9430Files: src/eval.c, src/testdir/test_vim9_func.vim
9431
9432Patch 8.2.1500
9433Problem: Vim9: error when using address without a command.
9434Solution: Execute the range itself. (closes #6747)
9435Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9436
9437Patch 8.2.1501
9438Problem: Vim9: concatenating to constant reverses order.
9439Solution: Generate constant before option, register and environment
9440 variable. (closes #6757)
9441Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9442
9443Patch 8.2.1502
9444Problem: Vim9: can use += with a :let command at script level.
9445Solution: Give an error.
9446Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9447 src/testdir/test_vim9_expr.vim
9448
9449Patch 8.2.1503
9450Problem: Vim9: error for an autocmd defined in a :def function in legacy
9451 Vim script.
9452Solution: Don't check the variable type. (closes #6758)
9453Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9454
9455Patch 8.2.1504
9456Problem: Vim9: white space checks are only done for a :def function.
9457Solution: Also do checks at the script level. Adjust the name of a few
9458 error messages.
9459Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9460 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9461 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9462 src/testdir/vim9.vim
9463
9464Patch 8.2.1505
9465Problem: Not all file read and writecode is tested.
9466Solution: Add a few tests. (Dominique Pellé, closes #6764)
9467Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9468 src/testdir/test_functions.vim
9469
9470Patch 8.2.1506
9471Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9472Solution: Check the number is 0 or 1.
9473Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9474
9475Patch 8.2.1507
9476Problem: Using malloc() directly.
9477Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9478 closes #6768)
9479Files: src/eval.c, src/memline.c, src/vimrun.c
9480
9481Patch 8.2.1508
9482Problem: Not all debugger commands covered by tests.
9483Solution: Add tests for going up/down in the stack. (Ben Jackson,
9484 closes #6765)
9485Files: src/testdir/test_debugger.vim
9486
9487Patch 8.2.1509
9488Problem: Vertical separator is cleared when dragging a popup window using a
9489 multi-byte character for the border.
9490Solution: Only clear the character before the window if it is using a
9491 multi-byte character. (closes #6766)
9492Files: src/screen.c
9493
9494Patch 8.2.1510
9495Problem: Using "var" in a :def function may refer to a legacy Vim script
9496 variable.
9497Solution: Require using "s:" to refer to a legacy Vim script variable.
9498 (closes #6771)
9499Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9500
9501Patch 8.2.1511
9502Problem: Putting a string in Visual block mode ignores multi-byte
9503 characters.
9504Solution: Adjust the column for Visual block mode. (closes #6767)
9505Files: src/register.c, src/testdir/test_visual.vim
9506
9507Patch 8.2.1512
9508Problem: Failure after ternary expression fails.
9509Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9510Files: src/eval.c, src/testdir/test_vimscript.vim,
9511 src/testdir/test_vim9_expr.vim
9512
9513Patch 8.2.1513
9514Problem: Cannot interrupt shell used for filename expansion. (Dominique
9515 Pellé)
9516Solution: Do set tmode in mch_delay(). (closes #6770)
9517Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9518 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9519 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9520
9521Patch 8.2.1514
9522Problem: Multibyte vertical separator is cleared when dragging a popup
9523 window using a multi-byte character for the border.
9524Solution: Only clear the character before the window if it is double width.
9525 (closes #6766)
9526Files: src/screen.c
9527
9528Patch 8.2.1515
9529Problem: Vim9: can create s:var in legacy script but cannot unlet.
9530Solution: Allow :unlet for legacy script var.
9531Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9532
9533Patch 8.2.1516
9534Problem: Vim9: error for :exe has wrong line number.
9535Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9536Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9537
9538Patch 8.2.1517
9539Problem: Cannot easily get the character under the cursor.
9540Solution: Add the {chars} argument to strpart().
9541Files: runtime/doc/eval.txt, src/evalfunc.c,
9542 src/testdir/test_functions.vim
9543
9544Patch 8.2.1518
9545Problem: Vim9: cannot assign to local option.
9546Solution: Skip over "&l:" and "&g:". (closes #6749)
9547Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
9548 src/vim9compile.c src/testdir/test_vim9_script.vim
9549
9550Patch 8.2.1519
9551Problem: Vim9: Ex command default range is not set.
9552Solution: When range is not given use default. (closes #6779)
9553Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9554
9555Patch 8.2.1520
9556Problem: Vim9: CTRL-] used in :def function does not work.
9557Solution: Omit count or prepend colon. (closes #6769)
9558Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9559
9560Patch 8.2.1521
9561Problem: Reading past end of buffer when reading spellfile. (Yegappan
9562 Lakshmanan)
9563Solution: Store the byte length and check for it.
9564Files: src/spellfile.c, src/spell.h
9565
9566Patch 8.2.1522
9567Problem: Not enough test coverage for the spell file handling.
9568Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9569Files: src/testdir/test_spellfile.vim
9570
9571Patch 8.2.1523
9572Problem: Still not enough test coverage for the spell file handling.
9573Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9574Files: src/testdir/test_spellfile.vim
9575
9576Patch 8.2.1524
9577Problem: No longer get an error for string concatenation with float.
9578 (Tsuyoshi Cho)
9579Solution: Only convert float for Vim9 script. (closes #6787)
9580Files: src/eval.c, src/testdir/test_eval_stuff.vim
9581
9582Patch 8.2.1525
9583Problem: Messages from tests were not always displayed.
9584Solution: Always show messages, the timing is always useful. (Ken Takata,
9585 closes #6792)
9586Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9587 src/testdir/Makefile
9588
9589Patch 8.2.1526
9590Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9591Solution: Revert.
9592Files: src/testdir/Makefile
9593
9594Patch 8.2.1527
9595Problem: Vim9: cannot use a function name as a function reference at script
9596 level.
9597Solution: Check if a name is a function name. (closes #6789)
9598Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9599 src/testdir/test_vim9_script.vim
9600
9601Patch 8.2.1528
9602Problem: Vim9: :endif not found after "if false".
9603Solution: When skipping still check for a following command. (closes #6797)
9604Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9605
9606Patch 8.2.1529
9607Problem: Vim9: :elseif may be compiled when not needed.
9608Solution: Do evaluate the :elseif expression.
9609Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9610
9611Patch 8.2.1530
9612Problem: Vim9: test fails on MS-Windows.
9613Solution: Skip Ex command inside "if false".
9614Files: src/vim9compile.c
9615
9616Patch 8.2.1531
9617Problem: Vim9: test still fails on MS-Windows.
9618Solution: When skipping expect function to be NULL.
9619Files: src/vim9compile.c
9620
9621Patch 8.2.1532
9622Problem: Compiler warning for conversion of size_t to long.
9623Solution: Add type cast.
9624Files: src/eval.c
9625
9626Patch 8.2.1533
9627Problem: Vim9: error when passing getreginfo() result to setreg().
9628Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9629Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9630
9631Patch 8.2.1534
9632Problem: Vim9: type error for argument type is not at call position.
9633Solution: Set the context and stack after checking the arguments.
9634 (issue #6785)
9635Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9636
9637Patch 8.2.1535
9638Problem: It is not possible to specify cell widths of characters.
9639Solution: Add setcellwidths().
9640Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9641 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9642 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9643
9644Patch 8.2.1536
9645Problem: Cannot get the class of a character; emoji widths are wrong in
9646 some environments.
9647Solution: Add charclass(). Update some emoji widths. Add script to check
9648 emoji widths.
9649Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9650 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9651 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9652
9653Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009654Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009655Solution: Use array and pointers correctly.
9656Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9657
9658Patch 8.2.1538
9659Problem: Python: iteration over vim objects fails to keep reference.
9660Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9661 closes #6806)
9662Files: src/if_py_both.h, src/testdir/test_python3.vim
9663
9664Patch 8.2.1539
9665Problem: Using invalid script ID causes a crash.
9666Solution: Check the script ID to be valid. (closes #6804)
9667Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9668 src/vim9compile.c, src/testdir/test_vim9_script.vim
9669
9670Patch 8.2.1540
9671Problem: The user cannot try out emoji character widths.
9672Solution: Move the emoji script to the runtime/tools directory.
9673Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9674
9675Patch 8.2.1541
9676Problem: Vim9: cannot find function reference for s:Func.
9677Solution: Recognize <SNR> prefix. (closes #6805)
9678Files: src/userfunc.c, src/vim9execute.c,
9679 src/testdir/test_vim9_script.vim
9680
9681Patch 8.2.1542
9682Problem: Vim9: test with invalid SID does not work in the GUI.
9683Solution: Skip the test in the GUI.
9684Files: src/testdir/test_vim9_script.vim
9685
9686Patch 8.2.1543
9687Problem: Vim9: test with invalid SID is skipped in the GUI.
9688Solution: Read the CTRL-C that feedkeys() put in typeahead.
9689Files: src/testdir/test_vim9_script.vim
9690
9691Patch 8.2.1544
9692Problem: Cannot translate messages in a Vim script.
9693Solution: Add gettext(). Try it out for a few messages in the options
9694 window.
9695Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9696 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9697 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9698
9699Patch 8.2.1545
9700Problem: ch_logfile() is unclear about closing when forking.
9701Solution: Adjust the log messages.
9702Files: src/channel.c, src/os_unix.c
9703
9704Patch 8.2.1546
9705Problem: Build rule for Vim.app is unused.
9706Solution: Delete the related build rules.
9707Files: src/Makefile
9708
9709Patch 8.2.1547
9710Problem: Various comment problems.
9711Solution: Update comments.
9712Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
9713 src/testdir/README.txt, src/testdir/test_put.vim,
9714 src/libvterm/README
9715
9716Patch 8.2.1548
9717Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
9718Solution: Improve the check script.
9719Files: src/po/check.vim
9720
9721Patch 8.2.1549
9722Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
9723 and modifyOtherKeys is used. (Lauri Tirkkonen)
9724Solution: Temporarily disable bracketed paste and modifyOtherKeys if
9725 'esckeys' is off. (closes #6809)
9726Files: src/normal.c
9727
9728Patch 8.2.1550
9729Problem: Vim9: bufname('%') gives an error.
9730Solution: Only give an error for wrong argument type. (closes #6807)
9731Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9732
9733Patch 8.2.1551
9734Problem: Vim9: error for argument type does not mention the number.
9735Solution: Pass the argument number to where the error is given.
9736Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
9737 src/vim9execute.c, src/vim9script.c, src/eval.c,
9738 src/testdir/test_vim9_func.vim
9739
9740Patch 8.2.1552
9741Problem: Warnings from asan with clang-11. (James McCoy)
9742Solution: Avoid using a NULL pointer. (issue #6811)
9743Files: src/fold.c
9744
9745Patch 8.2.1553 (after 8.2.1552)
9746Problem: Crash in edit test.
9747Solution: Avoid using invalid pointer.
9748Files: src/fold.c
9749
9750Patch 8.2.1554
9751Problem: Crash in normal test.
9752Solution: Skip adjusting marks if there are no folds.
9753Files: src/fold.c
9754
9755Patch 8.2.1555
9756Problem: Not all tests are executed on Github Actions.
9757Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
9758 places. Add two tests to the list of flaky tests. (Ken Takata,
9759 closes #6798)
9760Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
9761 src/testdir/test_python2.vim, src/testdir/test_python3.vim
9762
9763Patch 8.2.1556
9764Problem: Cursorline highlighting always overrules sign highlighting.
9765Solution: Combine the highlighting, use the priority to decide how.
9766 (closes #6812)
9767Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
9768 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
9769 src/testdir/test_signs.vim,
9770 src/testdir/dumps/Test_sign_cursor_5.dump,
9771 src/testdir/dumps/Test_sign_cursor_6.dump
9772
9773Patch 8.2.1557
9774Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
9775Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
9776Files: src/quickfix.c, src/testdir/test_quickfix.vim
9777
9778Patch 8.2.1558
9779Problem: Signs test fails.
9780Solution: Add missing change to sign.c.
9781Files: src/sign.c
9782
9783Patch 8.2.1559
9784Problem: s390x tests work again.
9785Solution: re-enable s390x tests. (James McCoy, closes #6829)
9786Files: .travis.yml
9787
9788Patch 8.2.1560
9789Problem: Using NULL pointers in some code. (James McCoy)
9790Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
9791Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
9792 src/vim9compile.c
9793
9794Patch 8.2.1561
9795Problem: Using NULL pointers in fold code.
9796Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
9797 closes #6831)
9798Files: src/fold.c
9799
9800Patch 8.2.1562
9801Problem: Vim9: error when using "%" where a buffer is expected.
9802Solution: Add tv_get_buf_from_arg(). (closes #6814)
9803Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
9804 src/testdir/test_vim9_func.vim
9805
9806Patch 8.2.1563
9807Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
9808Solution: Use tv_get_buf_from_arg(). (closes #6816)
9809Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9810
9811Patch 8.2.1564
9812Problem: A few remaining errors from ubsan.
9813Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
9814Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
9815
9816Patch 8.2.1565
9817Problem: Spellfile test sometimes fails.
9818Solution: Check running into the end of the file.
9819Files: src/spellfile.c
9820
9821Patch 8.2.1566
9822Problem: Not all Bazel files are recognized.
9823Solution: Add *.bazel and *.BUILD. (closes #6836)
9824Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9825
9826Patch 8.2.1567
9827Problem: No example to use ubsan with clang.
9828Solution: Add example commands. (Dominique Pellé, issue #6811)
9829Files: src/Makefile
9830
9831Patch 8.2.1568
9832Problem: prop_find() skips properties in the same line if "skipstart" is
9833 used.
9834Solution: Use "continue" instead of "break". (closes #6840)
9835Files: src/textprop.c, src/testdir/test_textprop.vim
9836
9837Patch 8.2.1569
9838Problem: Vim9: fixes for functions not tested; failure in getchangelist().
9839Solution: Add tests. (closes #6813, closes #6815, closes #6817)
9840Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9841
9842Patch 8.2.1570
9843Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
9844Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
9845Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
9846
9847Patch 8.2.1571
9848Problem: Vim9: count() third argument cannot be "true".
9849Solution: Use tv_get_bool_chk(). (closes #6818)
9850Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
9851
9852Patch 8.2.1572
9853Problem: Vim9: expand() does not take "true" as argument.
9854Solution: Use tv_get_bool_chk(). (closes #6819)
9855Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9856
9857Patch 8.2.1573
9858Problem: Vim9: getreg() does not take "true" as argument.
9859Solution: Use tv_get_bool_chk(). (closes #6820)
9860Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9861
9862Patch 8.2.1574
9863Problem: Vim9: glob() does not take "true" as argument.
9864Solution: Use tv_get_bool_chk(). (closes #6821)
9865Files: src/filepath.c, src/testdir/test_vim9_func.vim
9866
9867Patch 8.2.1575
9868Problem: Vim9: globpath() does not take "true" as argument.
9869Solution: Use tv_get_bool_chk(). (closes #6821)
9870Files: src/filepath.c, src/testdir/test_vim9_func.vim
9871
9872Patch 8.2.1576
9873Problem: Vim9: index() does not take "true" as argument.
9874Solution: Use tv_get_bool_chk(). (closes #6823)
9875Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9876
9877Patch 8.2.1577
9878Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
9879 argument.
9880Solution: Use tv_get_bool(). (closes #6822, closes #6824)
9881Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
9882
9883Patch 8.2.1578
9884Problem: Vim9: popup_clear() does not take "true" as argument.
9885Solution: Use tv_get_bool(). (closes #6826)
9886Files: src/popupwin.c, src/testdir/test_popupwin.vim
9887
9888Patch 8.2.1579
9889Problem: Reports from asan are not optimal.
9890Solution: Use clang with ubsan. (James McCoy, closes #6811)
9891Files: .travis.yml
9892
9893Patch 8.2.1580
9894Problem: Wildmenu does not work properly.
9895Solution: Do not call may_do_incsearch_highlighting() if completion is in
9896 progress.
9897Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
9898 src/testdir/dumps/Test_wildmenu_1.dump,
9899 src/testdir/dumps/Test_wildmenu_2.dump,
9900 src/testdir/dumps/Test_wildmenu_3.dump,
9901 src/testdir/dumps/Test_wildmenu_4.dump
9902
9903Patch 8.2.1581
9904Problem: Using line() for global popup window doesn't work.
9905Solution: Set tabpage to "curtab". (closes #6847)
9906Files: src/evalwindow.c, src/testdir/test_popupwin.vim
9907
9908Patch 8.2.1582
9909Problem: The channel log does not show typed text.
9910Solution: Add raw typed text to the log file.
9911Files: src/ui.c, src/os_win32.c
9912
9913Patch 8.2.1583
9914Problem: MS-Windows: cannot easily measure code coverage.
9915Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
9916Files: src/Make_cyg_ming.mak
9917
9918Patch 8.2.1584
9919Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
9920Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
9921Files: src/textprop.c, src/testdir/test_textprop.vim
9922
9923Patch 8.2.1585
9924Problem: Messages in errors.h not translated, xgettext on MS-Windows not
9925 fully supported.
9926Solution: Add errors.h to list of input files. Update MS-Windows makefiles
9927 to improve message translations. (Ken Takata, closes #6858)
9928Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
9929 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
9930
9931Patch 8.2.1586
9932Problem: :resize command not fully tested.
9933Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
9934Files: src/testdir/test_window_cmd.vim
9935
9936Patch 8.2.1587
9937Problem: Loop for handling keys for the command line is too long.
9938Solution: Move wild menu handling to separate functions. (Yegappan
9939 Lakshmanan, closes #6856)
9940Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
9941
9942Patch 8.2.1588
9943Problem: Cannot read back the prompt of a prompt buffer.
9944Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
9945Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
9946 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
9947 src/proto/channel.pro, src/proto/edit.pro,
9948 src/testdir/test_prompt_buffer.vim
9949
9950Patch 8.2.1589
9951Problem: Term_start() options for size are overruled by 'termwinsize'.
9952 (Sergey Vlasov)
9953Solution: Set 'termwinsize' to the specified size.
9954Files: src/terminal.c, src/testdir/test_terminal2.vim,
9955 src/testdir/term_util.vim
9956
9957Patch 8.2.1590
9958Problem: Vim9: bufnr() doesn't take "true" argument.
9959Solution: use tv_get_bool_chk(). (closes #6863)
9960Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9961
9962Patch 8.2.1591
9963Problem: Using winheight('.') in tests works but is wrong.
9964Solution: Use winheight(0). (issue #6863)
9965Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
9966
9967Patch 8.2.1592
9968Problem: Vim9: passing "true" to char2nr() fails.
9969Solution: Use tv_get_bool_chk(). (closes #6865)
9970Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9971
9972Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009973Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009974Solution: Add a colon after the error number. (closes #6869)
9975Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
9976 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
9977 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
9978 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
9979 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
9980 src/testdir/test_global.vim, src/testdir/test_gui.vim,
9981 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
9982 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
9983 src/testdir/test_move.vim, src/testdir/test_normal.vim,
9984 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
9985 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
9986 src/testdir/test_search.vim, src/testdir/test_signs.vim,
9987 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
9988 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
9989 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
9990 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
9991 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
9992 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
9993 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
9994 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
9995 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
9996
9997Patch 8.2.1594
9998Problem: Pull requests on github do not notify a maintainer.
9999Solution: Add a CODEOWNERS file with a few initial entries.
10000Files: Filelist, .github/CODEOWNERS
10001
10002Patch 8.2.1595
10003Problem: Cannot easily see what Vim sends to the terminal.
10004Solution: Write output to the channel log if it contains terminal control
10005 sequences. Avoid warnings for tputs() argument.
10006Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10007 src/optionstr.c
10008
10009Patch 8.2.1596
10010Problem: Using win_screenpos('.') in tests works but is wrong.
10011Solution: Use win_screenpos(0).
10012Files: src/testdir/test_terminal3.vim
10013
10014Patch 8.2.1597
10015Problem: The channel source file is too big.
10016Solution: Move job related code to a new source file.
10017Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10018 src/channel.c, src/proto/channel.pro, src/job.c,
10019 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10020 src/globals.h, src/configure.ac, src/auto/configure
10021
10022Patch 8.2.1598
10023Problem: Starting a hidden terminal resizes the current window.
10024Solution: Do not resize the current window for a hidden terminal.
10025 (closes #6872)
10026Files: src/terminal.c, src/testdir/test_terminal2.vim
10027
10028Patch 8.2.1599
10029Problem: Missing line end when skipping a long line with :cgetfile.
10030Solution: Fix off-by-one error. (closes #6870)
10031Files: src/quickfix.c, src/testdir/test_quickfix.vim
10032
10033Patch 8.2.1600
10034Problem: Vim9: cannot use "true" with deepcopy().
10035Solution: Use tv_get_bool_chk(). (closes #6867)
10036Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10037 src/testdir/test_listdict.vim
10038
10039Patch 8.2.1601
10040Problem: Vim9: cannot use "true" with garbagecollect().
10041Solution: Use tv_get_bool(). (closes #6871)
10042Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10043
10044Patch 8.2.1602
10045Problem: Vim9: cannot use "true" with getbufinfo().
10046Solution: Use dict_get_bool(). (closes #6873)
10047Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10048
10049Patch 8.2.1603
10050Problem: Vim9: cannot use "true" with getchar().
10051Solution: use tv_get_bool_chk(). (closes #6874)
10052Files: src/getchar.c, src/testdir/test_vim9_func.vim
10053
10054Patch 8.2.1604
10055Problem: Vim9: cannot use "true" with getcompletion().
10056Solution: use tv_get_bool_chk(). (closes #6875)
10057Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10058
10059Patch 8.2.1605
10060Problem: Default maintainer on github is wrong.
10061Solution: Use Bram's account.
10062Files: .github/CODEOWNERS
10063
10064Patch 8.2.1606
10065Problem: Vim9: cannot use "true" with has().
10066Solution: Use tv_get_bool(). (closes #6876)
10067Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10068
10069Patch 8.2.1607
10070Problem: Vim9: getchar() test fails on MS-Windows.
10071Solution: First consume any available input.
10072Files: src/testdir/test_vim9_func.vim
10073
10074Patch 8.2.1608
10075Problem: Vim9: getchar() test fails with GUI.
10076Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10077Files: src/getchar.c
10078
10079Patch 8.2.1609
10080Problem: Vim9: test fails when build without +channel.
10081Solution: Add check for +channel. (closes #6879)
10082Files: src/testdir/test_vim9_expr.vim
10083
10084Patch 8.2.1610
10085Problem: Vim9: cannot pass "true" to list2str() and str2list().
10086Solution: Use tv_get_bool_chk(). (closes #6877)
10087Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10088
10089Patch 8.2.1611
10090Problem: Vim9: cannot pass "true" to nr2char().
10091Solution: use tv_get_bool_chk(). (closes #6878)
10092Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10093
10094Patch 8.2.1612
10095Problem: Vim9: cannot pass "true" to prop_remove().
10096Solution: Use dict_get_bool(). (closes #6853)
10097Files: src/textprop.c, src/testdir/test_textprop.vim
10098
10099Patch 8.2.1613
10100Problem: Vim9: cannot pass "true" to prop_type_add().
10101Solution: Use tv_get_bool(). (closes #6850)
10102Files: src/textprop.c, src/testdir/test_textprop.vim
10103
10104Patch 8.2.1614
10105Problem: Vim9: cannot pass "true" to searchcount().
10106Solution: Use tv_get_bool_chk(). (closes #6854)
10107Files: src/search.c, src/testdir/test_vim9_func.vim
10108
10109Patch 8.2.1615
10110Problem: Vim9: cannot pass "true" to searchdecl().
10111Solution: use tv_get_bool_chk(). (closes #6881)
10112Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10113
10114Patch 8.2.1616
10115Problem: Vim9: cannot pass "true" to synID().
10116Solution: Use tv_get_bool_chk(). (closes #6860)
10117Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10118
10119Patch 8.2.1617
10120Problem: Vim9: cannot pass "true" to win_splitmove().
10121Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10122Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10123
10124Patch 8.2.1618
10125Problem: Vim9: cannot pass "true" to setloclist().
10126Solution: Use dict_get_bool(). (closes #6882)
10127Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10128
10129Patch 8.2.1619
10130Problem: Vim9: cannot pass "true" to spellsuggest().
10131Solution: Use tv_get_bool_chk(). (closes #6883)
10132Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10133
10134Patch 8.2.1620
10135Problem: searchcount() test fails.
10136Solution: Restore default flag value.
10137Files: src/search.c
10138
10139Patch 8.2.1621
10140Problem: Crash when using submatch(0, 1) in substitute().
10141Solution: Increment reference count. (closes #6887)
10142Files: src/regexp.c, src/testdir/test_substitute.vim
10143
10144Patch 8.2.1622
10145Problem: Loop to handle keys for the command line is too long.
10146Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10147Files: src/ex_getln.c
10148
10149Patch 8.2.1623
10150Problem: Vim9: using :call where it is not needed.
10151Solution: Remove :call. (closes #6892)
10152Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10153 src/testdir/test_vim9_disassemble.vim,
10154 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10155 src/testdir/test_vim9_script.vim
10156
10157Patch 8.2.1624
10158Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10159Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10160Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10161
10162Patch 8.2.1625
10163Problem: Compiler warning for use of fptr_T.
10164Solution: Make the type less strict.
10165Files: src/regexp.c
10166
10167Patch 8.2.1626
10168Problem: Test for strchars() fails with different error number.
10169Solution: Adjust the error number.
10170Files: src/testdir/test_utf8.vim
10171
10172Patch 8.2.1627
10173Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10174 term_start()
10175Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10176Files: src/evalfunc.c, src/terminal.c, src/job.c,
10177 src/testdir/test_vim9_func.vim
10178
10179Patch 8.2.1628
10180Problem: Vim9: cannot pass "true" to timer_paused().
10181Solution: Use tv_get_bool(). (closes #6891)
10182Files: src/time.c, src/testdir/test_vim9_func.vim
10183
10184Patch 8.2.1629
10185Problem: Test fails without terminal feature.
10186Solution: Check for terminal feature.
10187Files: src/testdir/test_vim9_func.vim
10188
10189Patch 8.2.1630
10190Problem: Terminal test fails.
10191Solution: Correct argument to term_start(). Correct error number.
10192Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10193
10194Patch 8.2.1631
10195Problem: test_fails() does not check the context of the line number.
10196Solution: Use another argument to specify the context of the line number.
10197Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10198 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10199 src/evalfunc.c, src/message.c
10200
10201Patch 8.2.1632
10202Problem: Not checking the context of test_fails().
10203Solution: Add the line number and context arguments. Give error if
10204 assert_fails() argument types are wrong.
10205Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10206 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10207
10208Patch 8.2.1633
10209Problem: Some error messages are internal but do not use iemsg().
10210Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10211Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10212
10213Patch 8.2.1634
10214Problem: Loop to handle keys for the command line is too long.
10215Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10216 closes #6895)
10217Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10218
10219Patch 8.2.1635
10220Problem: No digraph for 0x2022 BULLET.
10221Solution: Use "oo". (Hans Ginzel, closes #6904)
10222Files: src/digraph.c, runtime/doc/digraph.txt
10223
10224Patch 8.2.1636
10225Problem: Get stuck if a popup filter causes an error.
10226Solution: Check whether the function can be called and does not cause an
10227 error. (closes #6902)
10228Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10229 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10230 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10231 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10232
10233Patch 8.2.1637
10234Problem: Vim9: :put ={expr} does not work inside :def function.
10235Solution: Add ISN_PUT. (closes #6397)
10236Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10237 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10238 src/normal.c, src/testdir/test_vim9_cmd.vim,
10239 src/testdir/test_vim9_disassemble.vim
10240
10241Patch 8.2.1638
10242Problem: Leaking memory when popup filter function can't be called.
10243Solution: Don't return too soon.
10244Files: src/popupwin.c
10245
10246Patch 8.2.1639
10247Problem: Options window cannot be translated.
10248Solution: Get the translation for "local to" texts once and use them in many
10249 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10250Files: runtime/optwin.vim
10251
10252Patch 8.2.1640
10253Problem: Amiga: missing header for getgrgid().
10254Solution: Add the grp.h header. (Ola Söder, closes #6906)
10255Files: src/os_amiga.h
10256
10257Patch 8.2.1641
10258Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10259Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10260Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10261 src/structs.h, src/testdir/test_vim9_script.vim
10262
10263Patch 8.2.1642
10264Problem: Options test fails.
10265Solution: Correct call to OptionG().
10266Files: runtime/optwin.vim
10267
10268Patch 8.2.1643
10269Problem: Vim9: :defcompile compiles dead functions.
10270Solution: Skip over dead functions.
10271Files: src/userfunc.c
10272
10273Patch 8.2.1644
10274Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10275Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10276 function.
10277Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10278 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10279
10280Patch 8.2.1645
10281Problem: GTK3: icons become broken images when resized.
10282Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10283 Fix compiler warnings.
10284Files: src/gui_gtk_x11.c
10285
10286Patch 8.2.1646
10287Problem: Amiga: Unnecessary #include.
10288Solution: Remove the #include. (Ola Söder, closes #6908)
10289Files: src/version.c
10290
10291Patch 8.2.1647
10292Problem: Vim9: result of expression with && and || cannot be assigned to a
10293 bool variable.
10294Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10295Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10296 src/testdir/test_vim9_disassemble.vim
10297
10298Patch 8.2.1648
10299Problem: Amiga: no common build file for Amiga (-like) systems.
10300Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10301Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10302
10303Patch 8.2.1649
10304Problem: GTK3: using old file chooser.
10305Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10306 Velingker, closes #6909)
10307Files: src/gui_gtk.c
10308
10309Patch 8.2.1650
10310Problem: Vim9: result of && and || expression cannot be assigned to a bool
10311 at the script level.
10312Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10313Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10314 src/vim9script.c, src/evalvars.c, src/eval.c,
10315 src/testdir/test_vim9_script.vim
10316
10317Patch 8.2.1651
10318Problem: Spellfile code not completely tested.
10319Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10320Files: src/testdir/test_spellfile.vim
10321
10322Patch 8.2.1652
10323Problem: Cannot translate lines in the options window.
10324Solution: Use the AddOption() function to split descriptions where indicated
10325 by a line break. (issue #6800)
10326Files: runtime/optwin.vim
10327
10328Patch 8.2.1653
10329Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010330Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010331Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10332 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10333 src/testing.c, src/testdir/test_expand_func.vim
10334
10335Patch 8.2.1654
10336Problem: When job writes to hidden buffer current window has display
10337 errors. (Johnny McArthur)
10338Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10339 (closes #6925)
10340Files: src/channel.c
10341
10342Patch 8.2.1655
10343Problem: Cannot build with Strawberry Perl 5.32.0.
10344Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10345Files: src/if_perl.xs
10346
10347Patch 8.2.1656
10348Problem: Vim9: callstack wrong if :def function calls :def function.
10349Solution: Set the line number before calling. (closes #6914)
10350Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10351
10352Patch 8.2.1657
10353Problem: Vim9: no proper error for nested ":def!".
10354Solution: Check for "!". (closes #6920)
10355Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10356
10357Patch 8.2.1658
10358Problem: Expand('<stack>') has trailing "..".
10359Solution: Remove the "..". (closes #6927)
10360Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10361
10362Patch 8.2.1659
10363Problem: Spellfile code not completely tested.
10364Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10365Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10366
10367Patch 8.2.1660
10368Problem: Assert functions require passing expected result as the first
10369 argument, which isn't obvious.
10370Solution: Use a method, as in "runtest()->assert_equal(expected)".
10371Files: src/testdir/test_vim9_func.vim
10372
10373Patch 8.2.1661
10374Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10375Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10376 closes #6931)
10377Files: src/channel.c
10378
10379Patch 8.2.1662
10380Problem: :mksession does not restore shared terminal buffer properly.
10381Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10382Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10383 src/terminal.c, src/testdir/test_mksession.vim
10384
10385Patch 8.2.1663
10386Problem: Options window entries cannot be translated.
10387Solution: Use AddOption() for all explanations. (closes #6800)
10388Files: runtime/optwin.vim
10389
10390Patch 8.2.1664
10391Problem: Memory leak when using :mkview with a terminal buffer.
10392Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10393Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10394
10395Patch 8.2.1665
10396Problem: Cannot do fuzzy string matching.
10397Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10398Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10399 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10400
10401Patch 8.2.1666
10402Problem: The initial value of 'backupskip' can have duplicate items.
10403Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10404 closes #6940)
10405Files: src/option.c, src/testdir/test_options.vim
10406
10407Patch 8.2.1667
10408Problem: Local function name cannot shadow a global function name.
10409Solution: Ignore global functions when checking a script-local or scoped
10410 function name. (closes #6926)
10411Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10412 src/testdir/test_vim9_func.vim
10413
10414Patch 8.2.1668
10415Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10416Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10417Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10418
10419Patch 8.2.1669
10420Problem: Vim9: memory leak when storing a value fails.
10421Solution: Free the value when not storing it.
10422Files: src/evalvars.c
10423
10424Patch 8.2.1670
10425Problem: A couple of gcc compiler warnings.
10426Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10427Files: src/memline.c, src/option.c
10428
10429Patch 8.2.1671
10430Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010431Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010432Files: src/eval.c, src/testdir/test_vim9_expr.vim
10433
10434Patch 8.2.1672
10435Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10436Solution: Initialize the typval in eval1().
10437Files: src/eval.c
10438
10439Patch 8.2.1673
10440Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10441Solution: Set the index when there is only one match. (closes #6945)
10442 Add test for complete_info().
10443Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10444
10445Patch 8.2.1674
10446Problem: Vim9: internal error when using variable that was not set.
10447Solution: Give a meaningful error. (closes #6937)
10448Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10449
10450Patch 8.2.1675
10451Problem: MinGW: testdir makefile deletes non-existing file.
10452Solution: Use another way to delete the output file if it already exists.
10453 (Michael Soyka)
10454Files: src/testdir/Make_ming.mak
10455
10456Patch 8.2.1676
10457Problem: Compiler warnings for function typecast.
10458Solution: Add an intermediate cast to "void *".
10459Files: src/os_unix.c
10460
10461Patch 8.2.1677
10462Problem: Memory access errors when calling setloclist() in an autocommand.
10463Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10464Files: src/quickfix.c, src/testdir/test_quickfix.vim
10465
10466Patch 8.2.1678
10467Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10468Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10469Files: src/syntax.c, src/testdir/test_syntax.vim
10470
10471Patch 8.2.1679
10472Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010473Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010474Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10475 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10476 src/testdir/test_vim9_cmd.vim
10477
10478Patch 8.2.1680
10479Problem: Vim9: line number for compare error is wrong.
10480Solution: Set SOURCING_LNUM. (closes #6936)
10481Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10482
10483Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010484Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010485Solution: Remove the commands. (issue #6936)
10486Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10487
10488Patch 8.2.1682
10489Problem: Vim9: const works in an unexpected way.
10490Solution: ":const" only disallows changing the variable, not the value.
10491 Make "list[0] = 9" work at the script level.
10492Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10493
10494Patch 8.2.1683
10495Problem: Vim9: assignment test fails.
10496Solution: Include changes to find Ex command.
10497Files: src/ex_docmd.c
10498
10499Patch 8.2.1684
10500Problem: "gF" does not use line number after file in Visual mode.
10501Solution: Look for ":123" after the Visual area. (closes #6952)
10502Files: src/findfile.c, src/testdir/test_gf.vim
10503
10504Patch 8.2.1685
10505Problem: Vim9: cannot declare a constant value.
10506Solution: Introduce ":const!".
10507Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10508 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10509 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10510 src/testdir/test_vim9_script.vim
10511
10512Patch 8.2.1686
10513Problem: Vim9: "const!" not sufficiently tested.
10514Solution: Add a few more test cases. Fix type checking.
10515Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10516
10517Patch 8.2.1687
10518Problem: Vim9: out of bounds error.
10519Solution: Check that cmdidx is not negative.
10520Files: src/vim9compile.c
10521
10522Patch 8.2.1688
10523Problem: Increment/decrement removes text property.
10524Solution: Insert the new number before deleting the old one. (closes #6962)
10525Files: src/ops.c, src/testdir/test_textprop.vim
10526
10527Patch 8.2.1689
10528Problem: 'colorcolumn' doesn't show in indent.
10529Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10530 (Alexey Demin, closes #6948, closes #6619)
10531Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10532 src/testdir/dumps/Test_colorcolumn_3.dump,
10533 src/testdir/test_highlight.vim
10534
10535Patch 8.2.1690
10536Problem: Text properties not adjusted for "I" in Visual block mode.
10537Solution: Call inserted_bytes(). (closes #6961)
10538Files: src/ops.c, src/change.c, src/proto/change.pro,
10539 src/testdir/test_textprop.vim
10540
10541Patch 8.2.1691
10542Problem: Vim9: list<any> is not accepted where list<number> is expected.
10543Solution: Add functions to allocate and free a type_T, use it in
10544 ISN_CHECKTYPE. (closes #6959)
10545Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10546 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10547 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10548 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10549 src/testdir/test_vim9_script.vim
10550
10551Patch 8.2.1692
10552Problem: Build fails because TTFLAG_STATIC is missing.
10553Solution: Include missing change.
10554Files: src/structs.h
10555
10556Patch 8.2.1693
10557Problem: "hi def" does not work for cleared highlight.
10558Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10559 closes #4405)
10560Files: src/highlight.c, src/testdir/test_highlight.vim
10561
10562Patch 8.2.1694
10563Problem: Compiler warning for loss if data.
10564Solution: Add typecast.
10565Files: src/ops.c
10566
10567Patch 8.2.1695
10568Problem: Vim9: crash when using varargs type "any".
10569Solution: Check if uf_va_type is &t_any. (closes #6957)
10570Files: src/vim9compile.c, src/vim9execute.c,
10571 src/testdir/test_vim9_func.vim
10572
10573Patch 8.2.1696
10574Problem: Unused (duplicate) macros.
10575Solution: Remove the macros.
10576Files: src/spell.c
10577
10578Patch 8.2.1697
10579Problem: Inconsistent capitalization of error messages.
10580Solution: Always start with a capital.
10581Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10582 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10583 src/testdir/test_assert.vim
10584
10585Patch 8.2.1698
10586Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10587Solution: Make ":lockvar 0" work.
10588Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10589 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10590 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10591
10592Patch 8.2.1699
10593Problem: Build failure due to missing error message.
10594Solution: Add error message.
10595Files: src/errors.h
10596
10597Patch 8.2.1700
10598Problem: Vim9: try/catch causes wrong value to be returned.
10599Solution: Reset tcd_return. (closes #6964)
10600Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10601
10602Patch 8.2.1701
10603Problem: Vim9: sort("i") does not work.
10604Solution: Don't try getting a number for a string argument. (closes #6958)
10605Files: src/list.c, src/testdir/test_vim9_func.vim
10606
10607Patch 8.2.1702
10608Problem: Crash when using undo after deleting folded lines.
10609Solution: Check for NULL pointer. (closes #6968)
10610Files: src/fold.c, src/testdir/test_fold.vim
10611
10612Patch 8.2.1703
10613Problem: ":highlight clear" does not restore default link.
10614Solution: Remember the default link and restore it. (Antony Scriven,
10615 closes #6970, closes #4405)
10616Files: runtime/doc/syntax.txt, src/highlight.c,
10617 src/testdir/test_highlight.vim
10618
10619Patch 8.2.1704
10620Problem: Vim9: crash in for loop when autoload script has an error.
10621Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10622Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10623
10624Patch 8.2.1705
10625Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10626Solution: Store the script context. (Antony Scriven, closes #6975)
10627Files: src/highlight.c, src/testdir/test_highlight.vim
10628
10629Patch 8.2.1706
10630Problem: Vim9: crash after running into the "Multiple closures" error.
10631Solution: When a function fails still update any closures. (closes #6973)
10632Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10633
10634Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010635Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010636Solution: Use one argument for :execute. (Antony Scriven, #6975)
10637Files: src/testdir/test_highlight.vim
10638
10639Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010640Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010641Solution: use printable_func_name(). (closes #6965)
10642Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10643
10644Patch 8.2.1709
10645Problem: Vim9: memory leak when using multiple closures.
10646Solution: Free the partial.
10647Files: src/vim9execute.c
10648
10649Patch 8.2.1710
10650Problem: Vim9: list of list type can be wrong.
10651Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10652 looking for a common type. (closes #6979)
10653Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10654
10655Patch 8.2.1711
10656Problem: Vim9: leaking memory when using partial.
10657Solution: Do delete the function even when it was compiled.
10658Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10659 src/vim9execute.c
10660
10661Patch 8.2.1712
10662Problem: Vim9: leaking memory when calling a lambda.
10663Solution: Decrement function reference from ISN_DCALL.
10664Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10665
10666Patch 8.2.1713
10667Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10668Solution: Add {} to make "n" incremented correctly. (closes #6989,
10669 closes #5948)
10670Files: src/gui_motif.c
10671
10672Patch 8.2.1714
10673Problem: Text properties corrupted with substitute command. (Filipe
10674 Brandenburger)
10675Solution: Get the changed line again after using u_savesub(). (closes #6984)
10676Files: src/textprop.c, src/testdir/test_textprop.vim
10677
10678Patch 8.2.1715
10679Problem: Motif GUI: commented out code missed {}.
10680Solution: Add {} and reenable the code. (similar to #6989)
10681Files: src/gui_motif.c
10682
10683Patch 8.2.1716
10684Problem: Options window has duplicate translations.
10685Solution: Make one entry for "global or local to buffer". Fix wrong text.
10686 (closes #6983)
10687Files: runtime/optwin.vim
10688
10689Patch 8.2.1717
10690Problem: MS-Windows installer doesn't have Russian translations.
10691Solution: Add Russian translations. (closes #6985)
10692Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10693
10694Patch 8.2.1718
10695Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10696 names for no good reason.
10697Solution: Don't check the arguments for a :def function. (closes #6986)
10698Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10699
10700Patch 8.2.1719
10701Problem: Vim9: no error if comma is missing in between arguments.
10702Solution: Give an error message.
10703Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10704
10705Patch 8.2.1720
10706Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10707 Pellé)
10708Solution: Don't clear the list items. (closes #6991)
10709Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10710
10711Patch 8.2.1721
10712Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010713Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010714Files: nsis/lang/russian.nsi
10715
10716Patch 8.2.1722
10717Problem: Vim9: cannot assign a lambda to a variable of type function.
10718Solution: Allow for assigning a partial to a variable of type function.
10719 (Naruhiko Nishino, closes #6996)
10720Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10721
10722Patch 8.2.1723
10723Problem: Vim9: Variable argument name cannot start with underscore.
10724Solution: Use eval_isnamec1(). (closes #6988)
10725Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10726
10727Patch 8.2.1724
10728Problem: Vim9: assignment tests spread out.
10729Solution: Create new test file for assignment tests.
10730Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
10731 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
10732 src/testdir/Make_all.mak
10733
10734Patch 8.2.1725
10735Problem: Not all Pascal files are recognized.
10736Solution: Add filetype patterns. (Doug Kearns)
10737Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10738
10739Patch 8.2.1726
10740Problem: Fuzzy matching only works on strings.
10741Solution: Support passing a dict. Add matchfuzzypos() to also get the match
10742 positions. (Yegappan Lakshmanan, closes #6947)
10743Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10744 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
10745 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
10746
10747Patch 8.2.1727
10748Problem: A popup created with "cursorline" will ignore "firstline".
10749Solution: When both "cursorline" and "firstline" are present put the cursor
10750 on "firstline". (closes #7000) Add the "winid" argument to
10751 getcurpos().
10752Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
10753 src/evalwindow.c, src/testdir/test_popupwin.vim,
10754 src/testdir/test_functions.vim
10755
10756Patch 8.2.1728
10757Problem: Compiler warning for using uninitialized variable. (John Marriott)
10758Solution: Initialize "neighbor".
10759Files: src/search.c
10760
10761Patch 8.2.1729
10762Problem: Endless loop when ":normal" feeds popup window filter.
10763Solution: Add the ex_normal_busy_done flag.
10764Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
10765 src/menu.c, src/testdir/test_popupwin.vim,
10766 src/testdir/dumps/Test_popupwin_normal_cmd.dump
10767
10768Patch 8.2.1730
10769Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010770Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010771Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10772
10773Patch 8.2.1731
10774Problem: Vim9: cannot use += to append to empty NULL list.
10775Solution: Copy the list instead of extending it. (closes #6998)
10776Files: src/eval.c, src/testdir/test_vim9_assign.vim
10777
10778Patch 8.2.1732
10779Problem: Stuck when win_execute() for a popup causes an error.
10780Solution: Disable the filter callback on error. (issue #6999)
10781Files: src/popupwin.c, src/testdir/term_util.vim,
10782 src/testdir/test_popupwin.vim,
10783 src/testdir/dumps/Test_popupwin_win_execute.dump
10784
10785Patch 8.2.1733
10786Problem: Vim9: memory leaks when using nested function.
10787Solution: Free function when compilation fails.
10788Files: src/vim9compile.c
10789
10790Patch 8.2.1734
10791Problem: Vim9: cannot use a funcref for a closure twice.
10792Solution: Instead of putting the funcref on the stack use a growarray on the
10793 execution context.
10794Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
10795 src/testdir/test_vim9_func.vim,
10796 src/testdir/test_vim9_disassemble.vim
10797
10798Patch 8.2.1735
10799Problem: Github actions appear to timeout too soon.
10800Solution: use "timeout" instead of "ping".
10801Files: .github/workflows/ci-windows.yaml
10802
10803Patch 8.2.1736
10804Problem: Failure to compile a pattern not tested much.
10805Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
10806 closes #7004)
10807Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
10808 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
10809 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
10810 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
10811 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
10812 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
10813 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
10814 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
10815 src/testdir/test_user_func.vim
10816
10817Patch 8.2.1737
10818Problem: Cursor line highlight in popup window is not always updated.
10819Solution: Check if the cursor has moved. (closes #7010)
10820Files: src/popupwin.c, src/testdir/test_popupwin.vim
10821 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
10822
10823Patch 8.2.1738
10824Problem: Mac: str2float() recognizes comma instead of decimal point.
10825Solution: Set LC_NUMERIC to "C". (closes #7003)
10826Files: src/os_mac_conv.c
10827
10828Patch 8.2.1739
10829Problem: Vim9: crash when compiling a manually defined function. (Antony
10830 Scriven)
10831Solution: Check that the script ID is positive. (closes #7012)
10832Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10833
10834Patch 8.2.1740
10835Problem: Test fails without the terminal feature.
10836Solution: Skip test if the terminal feature is not available.
10837Files: src/testdir/test_vim9_script.vim
10838
10839Patch 8.2.1741
10840Problem: pathshorten() only supports using one character.
10841Solution: Add an argument to control the length. (closes #7006)
10842Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
10843 src/proto/filepath.pro, src/testdir/test_functions.vim
10844
10845Patch 8.2.1742
10846Problem: Test still fails without the terminal feature.
10847Solution: Put check for terminal feature in separate function.
10848Files: src/testdir/test_vim9_script.vim
10849
10850Patch 8.2.1743
10851Problem: Cannot build without the eval feature.
10852Solution: Move shorten_dir outside of #ifdef.
10853Files: src/filepath.c
10854
10855Patch 8.2.1744
10856Problem: Vim9: using ":const!" is weird.
10857Solution: Use "var" - "final" - "const" like Dart. "let" still works for
10858 now.
10859Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
10860 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
10861 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
10862 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
10863 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
10864
10865Patch 8.2.1745
10866Problem: Tiny version doesn't build.
10867Solution: Add dummy ex_var() function.
10868Files: src/ex_docmd.c
10869
10870Patch 8.2.1746
10871Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
10872Solution: Specifically check for "fina". (closes #7020)
10873Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
10874 src/testdir/test_vim9_script.vim
10875
10876Patch 8.2.1747
10877Problem: Result of expand() unexpectedly depends on 'completeslash'.
10878Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
10879 closes #7021)
10880Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
10881
10882Patch 8.2.1748
10883Problem: Closing split window in other tab may cause a crash.
10884Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
10885Files: src/window.c, src/testdir/test_winbuf_close.vim
10886
10887Patch 8.2.1749
10888Problem: Vim9: crash when closure fails in nested function.
10889Solution: Handle function returns before dereferencing remaining closures.
10890 (closes #7008)
10891Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10892
10893Patch 8.2.1750
10894Problem: Setting firstline with popup_setoptions() fails if cursorline is
10895 set.
10896Solution: Use apply_options(). Update the popup before applying "zz".
10897 (closes #7010)
10898Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
10899 src/testdir/test_popupwin.vim,
10900 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
10901 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
10902 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
10903
10904Patch 8.2.1751
10905Problem: Using 2 where bool is expected may throw an error.
10906Solution: Make this backwards compatible.
10907Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
10908 src/testdir/test_terminal2.vim
10909
10910Patch 8.2.1752
10911Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
10912Solution: Adjust the characters for which the shift modifier is removed.
10913 (closes #7016) Make Motif and Win32 use the same function as GTK.
10914Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
10915 src/testdir/test_termcodes.vim
10916
10917Patch 8.2.1753
10918Problem: Vim9: crash when using import at script level.
10919Solution: Give a "not implemented yet" error. (closes #7026)
10920Files: src/evalvars.c
10921
10922Patch 8.2.1754
10923Problem: Completion with spell checking not tested.
10924Solution: Add a test case. (Dominique Pellé, closes #7024)
10925Files: src/testdir/test_spell.vim
10926
10927Patch 8.2.1755
10928Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
10929Solution: Check for NULL list. (closes #7027) Fix comment character.
10930Files: src/vim9compile.c, src/evalvars.c,
10931 src/testdir/test_vim9_assign.vim
10932
10933Patch 8.2.1756
10934Problem: Vim9: :let will soon be disallowed.
10935Solution: Add v:disallow_let temporarily. Fix tests.
10936Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
10937 src/userfunc.c, src/testdir/test_vim9_script.vim
10938
10939Patch 8.2.1757
10940Problem: Mac: default locale is lacking the encoding.
10941Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
10942Files: src/os_mac_conv.c, src/testdir/test_environ.vim
10943
10944Patch 8.2.1758
10945Problem: Vim9: type of unmaterialized list is wrong.
10946Solution: Use list<number>.
10947Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10948
10949Patch 8.2.1759
10950Problem: Vim9: Some tests are still using :let.
10951Solution: Change more declarations to use :var.
10952Files: src/testdir/test_vim9_expr.vim
10953
10954Patch 8.2.1760
10955Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
10956Solution: Check for end of function lines. (closes #7031)
10957Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10958
10959Patch 8.2.1761
10960Problem: Vim9: Some tests are still using :let.
10961Solution: Change more declarations to use :var.
10962Files: src/testdir/test_vim9_assign.vim,
10963 src/testdir/test_vim9_cmd.vim,
10964 src/testdir/test_vim9_disassemble.vim
10965
10966Patch 8.2.1762
10967Problem: When a timer uses :stopinsert Insert mode completion isn't
10968 stopped. (Stanley Chan)
10969Solution: Call ins_compl_prep(ESC).
10970Files: src/edit.c, src/testdir/test_ins_complete.vim,
10971 src/testdir/dumps/Test_pum_stopped_by_timer.dump
10972
10973Patch 8.2.1763
10974Problem: Vim9: cannot use "true" for popup window scrollbar option.
10975Solution: use dict_get_bool(). (closes #7029)
10976Files: src/popupwin.c, src/testdir/test_popupwin.vim
10977
10978Patch 8.2.1764
10979Problem: Vim9: no error when assigning to script var with wrong type.
10980Solution: Fix off-by-one error. (closes #7028)
10981Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10982
10983Patch 8.2.1765
10984Problem: Vim9: some tests use "var var".
10985Solution: Use "var name". (closes #7032)
10986Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
10987
10988Patch 8.2.1766
10989Problem: Vim9: Some tests are still using :let.
10990Solution: Change the last few declarations to use :var.
10991Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
10992 src/testdir/test_vim9_cmd.vim,
10993 src/testdir/test_vim9_disassemble.vim,
10994 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10995 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
10996 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
10997
10998Patch 8.2.1767
10999Problem: Vim9: test fails with python support.
11000Solution: Use "let" in legacy function.
11001Files: src/testdir/test_vim9_func.vim
11002
11003Patch 8.2.1768
11004Problem: Cannot use the help menu from a terminal window.
11005Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11006Files: runtime/menu.vim, src/testdir/test_gui.vim
11007
11008Patch 8.2.1769
11009Problem: A popup filter interferes with using :normal to move the cursor in
11010 a popup.
11011Solution: Do not invoke the filter when ex_normal_busy is set.
11012Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11013 src/ex_docmd.c, src/menu.c, src/globals.h,
11014 src/testdir/test_popupwin.vim,
11015 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11016
11017Patch 8.2.1770
11018Problem: Invalid memory use when using SpellFileMissing autocmd.
11019Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11020 that was closed.
11021Files: src/spell.c, src/testdir/test_spell.vim
11022
11023Patch 8.2.1771
11024Problem: synIDattr() cannot get the value of ctermul.
11025Solution: Add the "ul" value for "what". (closes #7037)
11026Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11027 src/testdir/test_highlight.vim
11028
11029Patch 8.2.1772
11030Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11031Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11032Files: src/terminal.c, src/testdir/test_terminal.vim
11033
11034Patch 8.2.1773
11035Problem: Crash when calling mapset() with a list as first argument.
11036Solution: Check for NULL. (closes #7040)
11037Files: src/map.c, src/testdir/test_maparg.vim
11038
11039Patch 8.2.1774
11040Problem: GTK: hang when forced to exit.
11041Solution: Do not clean up "mainwin" when really_exiting is set.
11042 (Zdenek Dohnal, closes #7042)
11043Files: src/gui_gtk_x11.c
11044
11045Patch 8.2.1775
11046Problem: MS-Windows: adding a long quickfix list is slow.
11047Solution: Shorten the buffer name only for the first entry. (Yegappan
11048 Lakshmanan, closes #7039, closes #7033)
11049Files: src/quickfix.c, src/testdir/test_quickfix.vim
11050
11051Patch 8.2.1776
11052Problem: Filetype.vim may be loaded twice.
11053Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11054 closes #7049)
11055Files: runtime/defaults.vim
11056
11057Patch 8.2.1777
11058Problem: Vim9: some assignment tests in the wrong file.
11059Solution: Move assignment tests to test_vim9_assign.
11060Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11061
11062Patch 8.2.1778
11063Problem: Vim9: returning from a partial call clears outer context, causing
11064 a crash.
11065Solution: Put the outer context in the stack frame. (closes #7044)
11066Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11067
11068Patch 8.2.1779
11069Problem: Some debian changelog files are not recognized.
11070Solution: Add */debian/changelog. (Jason Franklin)
11071Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11072
11073Patch 8.2.1780
11074Problem: Statusline not updated when splitting windows.
11075Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11076Files: src/window.c, src/testdir/test_statusline.vim
11077
11078Patch 8.2.1781
11079Problem: Writing to prompt buffer interferes with insert mode.
11080Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11081 closes #7035)
11082Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11083
11084Patch 8.2.1782
11085Problem: Vim9: cannot pass boolean to mapset().
11086Solution: Use get_tv_bool(). (closes #7041)
11087Files: src/map.c, src/testdir/test_vim9_func.vim
11088
11089Patch 8.2.1783 (after 8.2.1781)
11090Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011091Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011092Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11093 src/testdir/runtest.vim
11094
11095Patch 8.2.1784
11096Problem: commits are not scanned for security problems
11097Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11098Files: .github/workflows/codeql-analysis.yml
11099
11100Patch 8.2.1785
11101Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11102Solution: use memmove() instead.
11103Files: src/dict.c
11104
11105Patch 8.2.1786
11106Problem: Various Normal mode commands not fully tested.
11107Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11108Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11109 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11110 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11111
11112Patch 8.2.1787
11113Problem: Crash with 'incsearch' and very long line.
11114Solution: Check whether regprog becomes NULL. (closes #7063)
11115Files: src/search.c, src/testdir/test_search.vim
11116
11117Patch 8.2.1788
11118Problem: Vim9: still allows :let for declarations.
11119Solution: Make the default for v:disallow_let one. It can still be set to
11120 zero to allow for using :let.
11121Files: src/evalvars.c, src/testdir/runtest.vim
11122
11123Patch 8.2.1789
11124Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11125Solution: Return FAIL when compiling the list fails. (closes #7066)
11126Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11127
11128Patch 8.2.1790
11129Problem: MS-Windows with Python: crash when executed from Vifm.
11130Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11131Files: src/if_python3.c
11132
11133Patch 8.2.1791
11134Problem: Vim9: debugger test fails.
11135Solution: Use "var" instead of "let".
11136Files: src/testdir/test_debugger.vim
11137
11138Patch 8.2.1792
11139Problem: Configure does not recognize Racket 6.1+.
11140Solution: Add a check for "rktio". (closes #7062)
11141Files: src/configure.ac, src/auto/configure
11142
11143Patch 8.2.1793
11144Problem: Not consistently giving the "is a directory" warning.
11145Solution: Adjust check for illegal file name and directory. (Yasuhiro
11146 Matsumoto, closes #7067)
11147Files: src/fileio.c, src/testdir/test_edit.vim
11148
11149Patch 8.2.1794
11150Problem: No falsy Coalescing operator.
11151Solution: Add the "??" operator. Fix mistake with function argument count.
11152Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11153 src/vim9type.c, src/testdir/test_expr.vim,
11154 src/testdir/test_vim9_expr.vim,
11155 src/testdir/test_vim9_disassemble.vim
11156
11157Patch 8.2.1795
11158Problem: Vim9: operators && and || have a confusing result.
11159Solution: Make the result a boolean.
11160Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11161 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11162 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11163 src/testdir/test_vim9_cmd.vim,
11164 src/testdir/test_vim9_disassemble.vim
11165
11166Patch 8.2.1796
11167Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11168 Mishra)
11169Solution: Check the name is valid. Add a test.
11170Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11171
11172Patch 8.2.1797
11173Problem: Vim9: some parts of the code not tested.
11174Solution: Add a few tests.
11175Files: src/testdir/test_vim9_func.vim
11176
11177Patch 8.2.1798
11178Problem: Vim9: ternary operator condition is too permissive.
11179Solution: Use tv_get_bool_chk().
11180Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11181 src/vim9execute.c, src/testdir/vim9.vim,
11182 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11183 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11184
11185Patch 8.2.1799
11186Problem: Some Normal mode commands not fully tested.
11187Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11188Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11189 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11190 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11191 src/testdir/test_visual.vim
11192
11193Patch 8.2.1800
11194Problem: Vim9: memory leak if "if" condition is invalid.
11195Solution: Free ppconst earlier.
11196Files: src/vim9compile.c
11197
11198Patch 8.2.1801
11199Problem: Undo file not found when using ":args" or ":next".
11200Solution: Handle like editing another file. (closes #7072)
11201Files: src/ex_cmds.c, src/testdir/test_undo.vim
11202
11203Patch 8.2.1802
11204Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11205Solution: Return empty string instead of NULL. (closes #7084)
11206Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11207
11208Patch 8.2.1803
11209Problem: A few failures are not tested.
11210Solution: Test a few failures. (Dominique Pellé, closes #7075)
11211Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11212 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11213
11214Patch 8.2.1804
11215Problem: resolve('/') returns an empty string.
11216Solution: Don't remove single slash. (closes #7074)
11217Files: src/filepath.c, src/testdir/test_functions.vim
11218
11219Patch 8.2.1805
11220Problem: Unix: terminal mode changed when using ":shell".
11221Solution: Avoid calling settmode() when not needed. (issue #7079)
11222Files: src/os_unix.c
11223
11224Patch 8.2.1806
11225Problem: MS-Windows with Python: Vim freezes after import command.
11226Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11227 Matsumoto, closes #7083)
11228Files: src/if_python3.c
11229
11230Patch 8.2.1807
11231Problem: Can use :help in a terminal popup window.
11232Solution: Give an error. (closes #7088)
11233Files: src/help.c, src/testdir/test_popupwin.vim
11234
11235Patch 8.2.1808
11236Problem: No test coverage for ":spelldump!".
11237Solution: Add a test. (Dominique Pellé, closes #7089)
11238Files: src/testdir/test_spell.vim
11239
11240Patch 8.2.1809
11241Problem: Mapping some keys with Ctrl does not work properly.
11242Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11243Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11244 src/gui_x11.c, src/testdir/test_termcodes.vim
11245
11246Patch 8.2.1810
11247Problem: Some code in normal.c not covered by tests.
11248Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11249Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11250
11251Patch 8.2.1811
11252Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11253Solution: Remove the shift modifier. (closes #6457)
11254Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11255
11256Patch 8.2.1812
11257Problem: Vim9: nested closure throws an internal error.
11258Solution: Do not skip a local variable with a partial. (closes #7065)
11259Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11260
11261Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011262Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011263Solution: Check the type if known.
11264Files: src/structs.h, src/eval.c, src/vim9script.c,
11265 src/proto/vim9script.pro, src/proto/evalvars.pro,
11266 src/testdir/test_vim9_script.vim
11267
11268Patch 8.2.1814 (after 8.2.1813)
11269Problem: Missing change to remove "static".
11270Solution: Add the change.
11271Files: src/evalvars.c
11272
11273Patch 8.2.1815
11274Problem: Vim9: memory leak when using function reference.
11275Solution: Temporarily disable the test.
11276Files: src/testdir/test_vim9_disassemble.vim
11277
11278Patch 8.2.1816
11279Problem: Vim9: another memory leak when using function reference.
11280Solution: Temporarily disable the tests.
11281Files: src/testdir/test_vim9_func.vim
11282
11283Patch 8.2.1817
11284Problem: Vim9: wrong instruction when reusing a local variable spot.
11285Solution: Clear a newly allocated local variable. (closes #7080)
11286Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11287
11288Patch 8.2.1818
11289Problem: SE Linux: deprecation warning for security_context_t.
11290Solution: Use "char *" instead. (James McCoy, closes #7093)
11291Files: src/os_unix.c
11292
11293Patch 8.2.1819
11294Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011295Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011296 tests.
11297Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11298 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11299 src/testdir/test_vim9_func.vim
11300
11301Patch 8.2.1820
11302Problem: Vim9: crash when error happens in timer callback.
11303Solution: Check that current_exception is not NULL. (closes #7100)
11304Files: src/ex_docmd.c
11305
11306Patch 8.2.1821
11307Problem: Vim9: concatenating to a NULL list doesn't work.
11308Solution: Handle a NULL list like an empty list. (closes #7064)
11309Files: src/list.c, src/testdir/test_vim9_assign.vim
11310
11311Patch 8.2.1822 (after 8.2.1821)
11312Problem: List test doesn't fail.
11313Solution: Adjust the test for NULL list handling.
11314Files: src/testdir/test_listdict.vim
11315
11316Patch 8.2.1823
11317Problem: "gN" does not select the matched string.
11318Solution: Move the cursor to the start of the match.
11319Files: src/search.c, src/testdir/test_gn.vim
11320
11321Patch 8.2.1824
11322Problem: Vim9: variables at the script level escape their scope.
11323Solution: When leaving a scope remove variables declared in it.
11324Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11325 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11326
11327Patch 8.2.1825
11328Problem: Vim9: accessing freed memory.
11329Solution: Clear sv_name when the variable is deleted.
11330Files: src/ex_eval.c
11331
11332Patch 8.2.1826
11333Problem: Vim9: cannot use a {} block at script level.
11334Solution: Recognize a {} block.
11335Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11336 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11337 src/testdir/test_vim9_script.vim
11338
11339Patch 8.2.1827
11340Problem: Filetype detection does not test enough file names.
11341Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11342Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11343
11344Patch 8.2.1828
11345Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011346Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011347Files: src/ex_docmd.c
11348
11349Patch 8.2.1829
11350Problem: Warnings when executing Github actions.
11351Solution: Use another method to set environment variables. (Ken Takata,
11352 closes #7107)
11353Files: .github/workflows/ci-windows.yaml
11354
11355Patch 8.2.1830
11356Problem: MS-Windows: Python3 issue with stdin.
11357Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11358Files: src/if_python3.c
11359
11360Patch 8.2.1831
11361Problem: File missing from distribution.
11362Solution: Add the github code analyses file.
11363Files: Filelist
11364
11365Patch 8.2.1832
11366Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11367Solution: Use semsg() instead of smsg().
11368Files: src/fileio.c, src/testdir/test_functions.vim
11369
11370Patch 8.2.1833
11371Problem: When reading from stdin dup() is called twice.
11372Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11373Files: src/main.c
11374
11375Patch 8.2.1834
11376Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11377Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11378 Takata, closes #7113) Avoid warnings for functions.
11379Files: src/if_python3.c, src/if_py_both.h
11380
11381Patch 8.2.1835
11382Problem: ":help ??" finds the "!!" tag.
11383Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11384 closes #7115)
11385Files: src/help.c, src/testdir/test_help_tagjump.vim
11386
11387Patch 8.2.1836
11388Problem: Autocmd test fails on pacifist systems.
11389Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11390 Tune the timing, make the autocmd test run faster.
11391Files: src/testdir/test_autocmd.vim
11392
11393Patch 8.2.1837
11394Problem: Using "gn" after "gN" does not work.
11395Solution: Extend the other end of the Visual area. (closes #7109)
11396Files: src/search.c, src/testdir/test_gn.vim
11397
11398Patch 8.2.1838
11399Problem: Vim9: cannot insert a comment line in an expression.
11400Solution: Skip comment lines at the script level. (closes #7111)
11401Files: src/eval.c, src/testdir/test_vim9_expr.vim
11402
11403Patch 8.2.1839
11404Problem: Vim9: memory leaks reported in assign test.
11405Solution: Move the failing job_start() call to separate test files, it
11406 causes false leak reports.
11407Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11408 src/testdir/Make_all.mak
11409
11410Patch 8.2.1840
11411Problem: Vim9: error message is not clear about compilation error.
11412Solution: Say "compiling" instead of "processing".
11413Files: src/vim9compile.c, src/message.c, src/globals.h,
11414 src/testdir/test_vim9_func.vim
11415
11416Patch 8.2.1841
11417Problem: Vim9: test for compilation error fails in normal build.
11418Solution: Invoke CheckRunVimInTerminal in a separate function.
11419Files: src/testdir/test_vim9_func.vim
11420
11421Patch 8.2.1842
11422Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11423Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11424 closes #7123)
11425Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11426
11427Patch 8.2.1843
11428Problem: Netbeans: with huge buffer number memory allocation may fail.
11429Solution: Check for size overflow.
11430Files: src/netbeans.c
11431
11432Patch 8.2.1844
11433Problem: Using "q" at the more prompt doesn't stop a long message.
11434Solution: Check for "got_int". (closes #7122)
11435Files: src/message.c, src/testdir/test_messages.vim,
11436 src/testdir/dumps/Test_quit_long_message.dump
11437
11438Patch 8.2.1845
11439Problem: Vim9: function defined in a block can't use variables defined in
11440 that block.
11441Solution: First step: Make a second hashtab that holds all script variables,
11442 also block-local ones, with more information.
11443Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11444 src/proto/vim9script.pro, src/scriptfile.c
11445
11446Patch 8.2.1846
11447Problem: Vim9: variables declared in a local block are not found in
11448 when a function is compiled.
11449Solution: Look for script variables in sn_all_vars.
11450Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11451 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11452 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11453 src/testdir/test_vim9_script.vim
11454
11455Patch 8.2.1847
11456Problem: Vim9: using negative value for unsigned type.
11457Solution: Use zero instead of -1.
11458Files: src/vim9compile.c
11459
11460Patch 8.2.1848
11461Problem: Crash when passing a NULL string or list to popup_settext().
11462Solution: Check for NULL pointers. (closes #7132)
11463Files: src/popupwin.c, src/testdir/test_popupwin.vim
11464
11465Patch 8.2.1849
11466Problem: Vim9: garbage collection frees block-local variables.
11467Solution: Mark all script variables as used.
11468Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11469
11470Patch 8.2.1850
11471Problem: "vat" does not select tags correctly over line break.
11472Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11473Files: src/textobject.c, src/testdir/test_textobjects.vim
11474
11475Patch 8.2.1851
11476Problem: Vim9: "!" followed by space incorrectly used.
11477Solution: Skip over trailing spaces. (closes #7131)
11478Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11479
11480Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011481Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011482Solution: Return the empty list. (closes #7133)
11483Files: src/list.c, src/testdir/test_filter_map.vim,
11484 src/testdir/test_blob.vim
11485
11486Patch 8.2.1853
11487Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011488Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011489Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11490
11491Patch 8.2.1854
11492Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11493 Mishra)
11494Solution: Handle NULL string like empty string. (closes #7139)
11495Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11496
11497Patch 8.2.1855
11498Problem: Vim9: get error message when nothing is wrong.
11499Solution: Check called_emsg instead of did_emsg. (closes #7143)
11500Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11501
11502Patch 8.2.1856
11503Problem: "2resize" uses size of current window. (Daniel Steinberg)
11504Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11505Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11506
11507Patch 8.2.1857
11508Problem: Vim9: using job_status() on an unused var gives an error.
11509Solution: Return "fail". (closes #7158)
11510Files: src/job.c, src/testdir/test_vim9_assign.vim
11511
11512Patch 8.2.1858
11513Problem: Vim9: filter functions return number instead of bool.
11514Solution: Return v:true instead of one. (closes #7144)
11515Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11516
11517Patch 8.2.1859
11518Problem: Vim9: crash in unpack assignment.
11519Solution: Make sure an error message is turned into an exception.
11520 (closes #7159)
11521Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11522 src/testdir/test_vim9_script.vim
11523
11524Patch 8.2.1860
11525Problem: Vim9: memory leak when throwing empty string.
11526Solution: Free the empty string.
11527Files: src/vim9execute.c
11528
11529Patch 8.2.1861
11530Problem: Vim9: no specific error when parsing lambda fails.
11531Solution: Also give syntax errors when not evaluating. (closes #7154)
11532Files: src/dict.c, src/testdir/test_vim9_expr.vim
11533
11534Patch 8.2.1862
11535Problem: vim9: memory leak when compiling lambda fails.
11536Solution: Call clear_evalarg().
11537Files: src/vim9compile.c
11538
11539Patch 8.2.1863
11540Problem: Json code not sufficiently tested.
11541Solution: Add more test cases. (Dominique Pellé, closes #7166)
11542Files: src/testdir/test_json.vim
11543
11544Patch 8.2.1864
11545Problem: Vim9: no error for wrong list type.
11546Solution: Add flag to indicate a constant. (closes #7160)
11547Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11548
11549Patch 8.2.1865
11550Problem: Vim9: add() does not check type of argument.
11551Solution: Inline the add() call. (closes #7160)
11552Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11553 src/testdir/test_vim9_func.vim,
11554 src/testdir/test_vim9_disassemble.vim
11555
11556Patch 8.2.1866
11557Problem: Vim9: appending to pushed blob gives wrong result.
11558Solution: Set ga_maxlen when copying a blob.
11559Files: src/blob.c, src/testdir/test_vim9_func.vim
11560
11561Patch 8.2.1867
11562Problem: Vim9: argument to add() not checked for blob.
11563Solution: Add the BLOBAPPEND instruction.
11564Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11565 src/testdir/test_vim9_func.vim,
11566 src/testdir/test_vim9_disassemble.vim
11567
11568Patch 8.2.1868
11569Problem: Vim9: no error for missing space after comma in dict.
11570Solution: Check for white space. (closes #6672)
11571Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11572
11573Patch 8.2.1869
11574Problem: Vim9: memory leak when using add().
11575Solution: Free the added item.
11576Files: src/vim9execute.c
11577
11578Patch 8.2.1870
11579Problem: Vim9: no need to keep all script variables.
11580Solution: Only keep script variables when a function was defined that could
11581 use them. Fix freeing static string on exit.
11582Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11583 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11584
11585Patch 8.2.1871
11586Problem: Using %v in 'errorformat' may fail before %Z.
11587Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11588Files: src/quickfix.c, src/testdir/test_quickfix.vim
11589
11590Patch 8.2.1872
11591Problem: Matchfuzzy() does not prefer sequential matches.
11592Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11593 closes #7140)
11594Files: src/search.c, src/testdir/test_matchfuzzy.vim
11595
11596Patch 8.2.1873
11597Problem: Vim9: missing white space when using <f-args>.
11598Solution: Add spaces. (Christian J. Robinson)
11599Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11600
11601Patch 8.2.1874
11602Problem: Can't do something just before leaving Insert mode.
11603Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11604Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11605 src/autocmd.c, src/testdir/test_edit.vim
11606
11607Patch 8.2.1875
11608Problem: Warning when building GTK gui.
11609Solution: Add missing function parameter.
11610Files: src/gui_gtk_f.c
11611
11612Patch 8.2.1876
11613Problem: Vim9: argument types for builtin functions are not checked at
11614 compile time.
11615Solution: Add an argument type checking mechanism. Implement type checks for
11616 one function.
11617Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11618 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11619 src/testdir/Make_all.mak
11620
11621Patch 8.2.1877 (after 8.2.1876)
11622Problem: Test for function list fails.
11623Solution: Move "obsolete" comments one line up.
11624Files: src/evalfunc.c
11625
11626Patch 8.2.1878
11627Problem: GTK: error for redefining function. (Tony Mechelynck)
11628Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11629 global functions.
11630Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11631
11632Patch 8.2.1879
11633Problem: Vim9: argument types of insert() not checked when compiling.
11634Solution: Add argument type checks for insert().
11635Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11636 src/testdir/test_vim9_builtin.vim
11637
11638Patch 8.2.1880
11639Problem: Vim9: Asan complains about adding zero to NULL.
11640Solution: Check for argument count first.
11641Files: src/vim9compile.c
11642
11643Patch 8.2.1881
11644Problem: Cannot build with GTK3.
11645Solution: Adjust form functions.
11646Files: src/gui_gtk_f.c
11647
11648Patch 8.2.1882
11649Problem: Vim9: v:disallow_let is no longer needed.
11650Solution: Remove v:disallow_let.
11651Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11652
11653Patch 8.2.1883
11654Problem: Compiler warnings when using Python.
11655Solution: Adjust PyCFunction to also have the second argument. Use "int"
11656 return type for some functions. Insert "(void *)" to get rid of
11657 the remaining warnings.
11658Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11659
11660Patch 8.2.1884
11661Problem: Compiler warning for uninitialized variable. (John Marriott)
11662Solution: Initialize with NULL.
11663Files: src/vim9compile.c, src/evalfunc.c
11664
11665Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011666Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011667Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11668Files: src/testdir/test_filetype.vim
11669
11670Patch 8.2.1886
11671Problem: Using ":silent!" in a popup filter has unexpected effect.
11672Solution: Use did_emsg instead of called_emsg. (closes #7178)
11673Files: src/popupwin.c, src/testdir/test_popupwin.vim
11674
11675Patch 8.2.1887
11676Problem: Github actions not optimally configured.
11677Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11678 closes #7184)
11679Files: .github/workflows/ci-windows.yaml
11680
11681Patch 8.2.1888
11682Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11683Solution: Return an empty list. (closes #7180)
11684Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11685
11686Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011687Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011688Solution: Don't skip over white space after {}. (issue #7167)
11689Files: src/dict.c, src/testdir/test_vim9_expr.vim
11690
11691Patch 8.2.1890
11692Problem: Vim9: strange error for subtracting from a list.
11693Solution: Check getting a number, not a string. (closes #7167)
11694Files: src/eval.c, src/testdir/test_vim9_expr.vim
11695
11696Patch 8.2.1891
11697Problem: Vim9: skipping over expression doesn't handle line breaks.
11698Solution: Pass evalarg to skip_expr(). (closes #7157)
11699Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11700 src/misc1.c, src/testdir/test_vim9_cmd.vim
11701
11702Patch 8.2.1892
11703Problem: Valgrind warns for using uninitialized access in tests.
11704Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11705 closes #7187)
11706Files: src/terminal.c
11707
11708Patch 8.2.1893
11709Problem: Fuzzy matching does not support multiple words.
11710Solution: Add support for matching white space separated words. (Yegappan
11711 Lakshmanan, closes #7163)
11712Files: runtime/doc/eval.txt, src/search.c,
11713 src/testdir/test_matchfuzzy.vim
11714
11715Patch 8.2.1894
11716Problem: Vim9: command modifiers are not supported.
11717Solution: Support "silent" and "silent!".
11718Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
11719 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
11720 src/testdir/test_vim9_cmd.vim
11721
11722Patch 8.2.1895 (after 8.2.1894)
11723Problem: Vim9: silent command modifier test fails.
11724Solution: Add missing changes.
11725Files: src/ex_docmd.c
11726
11727Patch 8.2.1896
11728Problem: Valgrind warns for using uninitialized memory.
11729Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
11730 Pellé, closes #7194)
11731Files: src/os_unix.c
11732
11733Patch 8.2.1897
11734Problem: Command modifiers are saved and set inconsistently.
11735Solution: Separate parsing and applying command modifiers. Save values in
11736 cmdmod_T.
11737Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
11738 src/ex_cmds.h, src/vim9compile.c
11739
11740Patch 8.2.1898
11741Problem: Command modifier parsing always uses global cmdmod.
11742Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
11743Files: src/structs.h, src/arglist.c src/buffer.c, src/bufwrite.c,
11744 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
11745 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
11746 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
11747 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
11748 src/memline.c, src/message.c, src/option.c, src/ops.c,
11749 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
11750 src/search.c, src/session.c, src/tag.c, src/terminal.c,
11751 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
11752 src/proto/ex_docmd.pro
11753
11754Patch 8.2.1899
11755Problem: Crash in out-of-memory situation.
11756Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
11757Files: src/ex_cmds.c
11758
11759Patch 8.2.1900
11760Problem: Vim9: command modifiers do not work.
11761Solution: Make most command modifiers work.
11762Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11763 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
11764 src/testdir/test_vim9_disassemble.vim
11765
11766Patch 8.2.1901
11767Problem: Variable completion does not work in command line window.
11768Solution: Use the "prevwin". (closes #7198)
11769Files: src/evalvars.c, src/testdir/test_ins_complete.vim
11770
11771Patch 8.2.1902
11772Problem: Default option values are changed when using :badd for an existing
11773 buffer.
11774Solution: When calling buflist_new() pass a zero line number. (closes #7195)
11775Files: src/ex_cmds.c, src/testdir/test_buffer.vim
11776
11777Patch 8.2.1903 (after 8.2.1902)
11778Problem: Buffer test fails with normal features.
11779Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
11780Files: src/testdir/test_buffer.vim
11781
11782Patch 8.2.1904
11783Problem: Still using default option values after using ":badd +1".
11784Solution: Find a window where options were set. Don't set the window when
11785 using ":badd".
11786Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
11787 src/testdir/test_buffer.vim
11788
11789Patch 8.2.1905
11790Problem: The wininfo list may contain stale entries.
11791Solution: When closing a window remove any other entry where the window
11792 pointer is NULL.
11793Files: src/buffer.c, src/proto/buffer.pro, src/window.c
11794
11795Patch 8.2.1906
11796Problem: Warning for signed/unsigned.
11797Solution: Use size_t instead of int. (Mike Williams)
11798Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
11799
11800Patch 8.2.1907
11801Problem: Complete_info().selected may be wrong.
11802Solution: Update cp_number if it was never set. (issue #6945)
11803Files: src/insexpand.c, src/testdir/test_ins_complete.vim
11804
11805Patch 8.2.1908
11806Problem: Lua is initialized even when not used.
11807Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
11808 closes #7191). Avoid compiler warnings.
11809Files: src/if_lua.c, src/testdir/test_lua.vim
11810
11811Patch 8.2.1909
11812Problem: Number of status line items is limited to 80.
11813Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
11814Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
11815 src/proto/buffer.pro, src/screen.c, src/structs.h,
11816 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
11817 src/vim.h
11818
11819Patch 8.2.1910
11820Problem: Reading past the end of the command line.
11821Solution: Check for NUL. (closes #7204)
11822Files: src/ex_docmd.c, src/testdir/test_edit.vim
11823
11824Patch 8.2.1911
11825Problem: Tiny build fails.
11826Solution: Add #ifdef.
11827Files: src/insexpand.c
11828
11829Patch 8.2.1912
11830Problem: With Python 3.9 some tests fail.
11831Solution: Take into account the different error message. (James McCoy,
11832 closes #7210)
11833Files: src/testdir/test_python3.vim
11834
11835Patch 8.2.1913
11836Problem: GTK GUI: rounding for the cell height is too strict.
11837Solution: Round up above 15/16 of a pixel. (closes #7203)
11838Files: src/gui_gtk_x11.c
11839
11840Patch 8.2.1914
11841Problem: Vim9: cannot put line break in expression for '=' register.
11842Solution: Pass fgetline to set_expr_line(). (closes #7209)
11843Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
11844 src/eval.c, src/proto/eval.pro, src/misc2.c,
11845 src/testdir/test_vim9_script.vim
11846
11847Patch 8.2.1915
11848Problem: Vim9: error for wrong number of arguments is not useful.
11849Solution: Mention whatever we have for the name. (closes #7208)
11850Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11851
11852Patch 8.2.1916
11853Problem: Vim9: function call is aborted even when "silent!" is used.
11854Solution: Use did_emsg instead of called_emsg. (closes #7213)
11855Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11856
11857Patch 8.2.1917
11858Problem: No test for improved Man command.
11859Solution: Test that shell arguments are properly escaped.
11860Files: src/testdir/test_man.vim
11861
11862Patch 8.2.1918
11863Problem: Vim9: E1100 mentions :let.
11864Solution: Mention "var". (closes #7207)
11865Files: src/vim9script.c, src/errors.h
11866
11867Patch 8.2.1919
11868Problem: Assert_fails() setting emsg_silent changes normal execution.
11869Solution: Use a separate flag in_assert_fails.
11870Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
11871 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
11872 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
11873 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
11874 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
11875 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
11876
11877Patch 8.2.1920
11878Problem: Listlbr test fails when run after another test.
11879Solution: Add test separately to list of test targets.
11880Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
11881
11882Patch 8.2.1921
11883Problem: Fuzzy matching does not recognize path separators.
11884Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
11885 closes #7225)
11886Files: src/search.c, src/testdir/test_matchfuzzy.vim
11887
11888Patch 8.2.1922
11889Problem: Win32: scrolling doesn't work properly when part of window is
11890 off-screen.
11891Solution: Fall back to GDI scrolling if part of the window is off-screen.
11892 Handle multi-monitor setup better. (Ken Takata, closes #7219)
11893Files: src/gui_w32.c
11894
11895Patch 8.2.1923
11896Problem: Vim9: "filter" command modifier doesn't work.
11897Solution: Check for space on char before argument. (closes #7216,
11898 closes #7222)
11899Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
11900
11901Patch 8.2.1924
11902Problem: Vim9: crash when indexing dict with NULL key.
11903Solution: Use empty string instead of NULL. (closes #7229) Make error
11904 message more useful for empty string.
11905Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
11906
11907Patch 8.2.1925 (after 8.2.1924)
11908Problem: List/dict test fails.
11909Solution: Correct expected exception.
11910File: src/testdir/test_listdict.vim
11911
11912Patch 8.2.1926
11913Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
11914Solution: Permit using a space. (closes #7230)
11915Files: src/spell.c, src/testdir/gen_opt_test.vim
11916
11917Patch 8.2.1927
11918Problem: Vim9: get unknown error with an error in a timer function.
11919Solution: Use did_emsg instead of called_emsg. (closes #7231)
11920Files: src/vim9compile.c, src/vim9execute.c
11921
11922Patch 8.2.1928
11923Problem: Vim9: "silent!" not effective when list index is wrong.
11924Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
11925Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11926
11927Patch 8.2.1929
11928Problem: MS-Windows: problem loading Perl 5.32.
11929Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
11930Files: src/if_perl.xs
11931
11932Patch 8.2.1930
11933Problem: Wrong input if removing shift results in special key code.
11934Solution: Handle special key codes. (closes #7189)
11935Files: src/term.c, src/testdir/test_termcodes.vim
11936
11937Patch 8.2.1931
11938Problem: Vim9: arguments of extend() not checked at compile time.
11939Solution: Add argument type checking for extend().
11940Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
11941
11942Patch 8.2.1932
11943Problem: Compiler warnings when building with Athena GUI.
11944Solution: Fix function signatures.
11945Files: src/gui_at_fs.c
11946
11947Patch 8.2.1933
11948Problem: Cannot sort using locale ordering.
11949Solution: Add a flag for :sort and sort() to use the locale. (Dominique
11950 Pellé, closes #7237)
11951Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
11952 src/list.c, src/testdir/test_sort.vim
11953
11954Patch 8.2.1934
11955Problem: Vim9: command modifiers in :def function not tested.
11956Solution: Add tests. Fix using modifier before filter command.
11957Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
11958
11959Patch 8.2.1935 (after 8.2.1933)
11960Problem: Sort test fails on Mac.
11961Solution: Disable the sort test with locale on Mac.
11962Files: src/testdir/test_sort.vim
11963
11964Patch 8.2.1936
11965Problem: Session sets the local 'scrolloff' value to the global value.
11966Solution: Do not let restoring the global option value change the local
11967 value.
11968Files: src/session.c, src/testdir/test_mksession.vim
11969
11970Patch 8.2.1937
11971Problem: Vim9: test for confirm modifier fails in some situations.
11972Solution: Add a short wait. Handle failure better.
11973Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
11974
11975Patch 8.2.1938
11976Problem: Wiping out a terminal buffer makes some tests fail.
11977Solution: Do not wipe out the terminal buffer unless wanted.
11978Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
11979 src/testdir/test_terminal3.vim
11980
11981Patch 8.2.1939
11982Problem: Invalid memory access in Ex mode with global command.
11983Solution: Make sure the cursor is on a valid line. (closes #7238)
11984Files: src/move.c, src/testdir/test_ex_mode.vim
11985
11986Patch 8.2.1940
11987Problem: Vim9: browse modifier test fails on Mac.
11988Solution: Only test when the +browse feature is available.
11989Files: src/testdir/test_vim9_cmd.vim
11990
11991Patch 8.2.1941
11992Problem: Ex mode test fails on MS-Windows with GUI.
11993Solution: Skip the test when using gvim.
11994Files: src/testdir/test_ex_mode.vim
11995
11996Patch 8.2.1942
11997Problem: Insufficient test coverage for the Netbeans interface.
11998Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
11999 closes #7240)
12000Files: runtime/doc/netbeans.txt, src/mouse.c,
12001 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12002 src/testdir/test_quickfix.vim
12003
12004Patch 8.2.1943
12005Problem: Vim9: wrong error message when colon is missing.
12006Solution: Check for a missing colon. (issue #7239)
12007Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12008
12009Patch 8.2.1944
12010Problem: Netbeans test is flaky.
12011Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12012Files: src/testdir/test_netbeans.vim
12013
12014Patch 8.2.1945
12015Problem: Crash when passing NULL function to reduce().
12016Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12017 closes #7243)
12018Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12019
12020Patch 8.2.1946
12021Problem: sort() with NULL string not tested.
12022Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12023Files: src/testdir/test_sort.vim
12024
12025Patch 8.2.1947
12026Problem: Crash when using "zj" without folds. (Sean Dewar)
12027Solution: Check for at least one fold. (closes #7245)
12028Files: src/fold.c, src/testdir/test_fold.vim
12029
12030Patch 8.2.1948
12031Problem: GUI: crash when handling message while closing a window. (Srinath
12032 Avadhanula)
12033Solution: Don't handle message while closing a window. (closes #7250)
12034Files: src/window.c, src/globals.h, src/getchar.c
12035
12036Patch 8.2.1949
12037Problem: Vim9: using extend() on null dict is silently ignored.
12038Solution: Give an error message. Initialize a dict variable with an empty
12039 dictionary. (closes #7251)
12040Files: src/errors.h, src/list.c, src/evalvars.c,
12041 src/testdir/test_vim9_assign.vim
12042
12043Patch 8.2.1950
12044Problem: Vim9: crash when compiling function fails when getting type.
12045Solution: Handle NULL type. (closes #7253)
12046Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12047
12048Patch 8.2.1951 (after 8.2.1949)
12049Problem: Test for list and dict fails.
12050Solution: Adjust for using an empty list/dict for a null one.
12051Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12052 src/testdir/test_python3.vim
12053
12054Patch 8.2.1952
12055Problem: Vim9: crash when using a NULL dict key.
12056Solution: Use a NULL dict key like an empty string. (closes #7249)
12057Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12058
12059Patch 8.2.1953
12060Problem: Vim9: extra "unknown" error after other error.
12061Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12062 Improve error message from assert_fails()
12063Files: src/vim9execute.c, src/testing.c,
12064 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12065
12066Patch 8.2.1954
12067Problem: Vim9: not all command modifiers are tested.
12068Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12069 though ":lockmarks" is used.
12070Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12071
12072Patch 8.2.1955
12073Problem: Vim9: not all command modifiers are tested.
12074Solution: Add tests for remaining modifiers.
12075Files: src/testdir/test_vim9_cmd.vim
12076
12077Patch 8.2.1956
12078Problem: Vim9: cannot specify argument types for lambda.
12079Solution: Allow adding argument types. Check arguments when calling a
12080 function reference.
12081Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12082 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12083 src/testdir/test_vim9_func.vim
12084
12085Patch 8.2.1957
12086Problem: Diff and cursorcolumn highlighting don't mix.
12087Solution: Fix condition for what attribute to use. (Christian Brabandt,
12088 closes #7258, closes #7260)
12089Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12090 src/testdir/dumps/Test_diff_cuc_02.dump,
12091 src/testdir/dumps/Test_diff_cuc_03.dump,
12092 src/testdir/dumps/Test_diff_cuc_04.dump,
12093 src/testdir/test_diffmode.vim
12094
12095Patch 8.2.1958 (after 8.2.1956)
12096Problem: Build failure with timers.
12097Solution: Add missing change.
12098Files: src/popupwin.c
12099
12100Patch 8.2.1959
12101Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12102Solution: Fall back to "[No Name]". (closes #7262)
12103Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12104 src/testdir/test_terminal.vim
12105
12106Patch 8.2.1960
12107Problem: Warning for uninitialized variable.
12108Solution: Initialize the variable.
12109Files: src/evalfunc.c
12110
12111Patch 8.2.1961
12112Problem: Various comments can be improved.
12113Solution: Various comment adjustments.
12114Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12115 src/testdir/test_netbeans.vim, src/gui_motif.c
12116
12117Patch 8.2.1962
12118Problem: Netbeans may access freed memory.
12119Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12120 Lakshmanan, closes #7248)
12121Files: src/netbeans.c, src/testdir/test_netbeans.vim
12122
12123Patch 8.2.1963
12124Problem: Crash when using a popup window with "latin1" encoding.
12125Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12126Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12127
12128Patch 8.2.1964
12129Problem: Not all ConTeXt files are recognized.
12130Solution: Add two patterns. (closes #7263)
12131Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12132
12133Patch 8.2.1965
12134Problem: Vim9: tests fail without the channel feature.
12135Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012136 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012137Files: src/testdir/test_vim9_expr.vim
12138
12139Patch 8.2.1966
12140Problem: Popup becomes current window after closing a terminal window.
12141Solution: When restoring the window after executing autocommands, check that
12142 the window ID is still the same. (Naruhiko Nishino,
12143 closes #7272)
12144Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12145 src/testdir/test_popupwin.vim
12146
12147Patch 8.2.1967
12148Problem: The session file does not restore the alternate file.
12149Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12150 alternate file. Use it in the session file. (closes #7269,
12151 closes #6714)
12152Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12153 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12154 src/testdir/test_buffer.vim
12155
12156Patch 8.2.1968
12157Problem: Vim9: has() assumes a feature does not change dynamically.
12158Solution: Check whether a feature may change dynamically. (closes #7265)
12159Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12160 src/testdir/test_vim9_disassemble.vim
12161
12162Patch 8.2.1969
12163Problem: Vim9: map() may change the list or dict item type.
12164Solution: Add mapnew().
12165Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12166 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12167
12168Patch 8.2.1970
12169Problem: It is easy to make mistakes when cleaning up swap files after the
12170 system crashed.
12171Solution: Warn for the process still running after recovery. Do not
12172 automatically delete a swap file created on another system.
12173 (David Fries, closes #7273)
12174Files: src/memline.c, src/testdir/test_swap.vim
12175
12176Patch 8.2.1971
12177Problem: Memory leak when map() fails.
12178Solution: Clear the typval.
12179Files: src/list.c
12180
12181Patch 8.2.1972
12182Problem: Crash when recreating nested fold.
12183Solution: Check for empty growarray. (closes #7278)
12184Files: src/fold.c, src/testdir/test_fold.vim
12185
12186Patch 8.2.1973
12187Problem: Finding a patch number can be a bit slow.
12188Solution: Use binary search. (closes #7279)
12189Files: src/version.c
12190
12191Patch 8.2.1974
12192Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12193Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12194Files: src/evalfunc.c
12195
12196Patch 8.2.1975
12197Problem: Win32: memory leak when encoding conversion fails.
12198Solution: Free the allocated memory. (Ken Takata, closes #7277)
12199Files: src/os_win32.c
12200
12201Patch 8.2.1976
12202Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12203 Kim)
12204Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12205Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12206
12207Patch 8.2.1977
12208Problem: Vim9: error for using a string in a condition is confusing.
12209Solution: Give a more specific error. Also adjust the compile time type
12210 checking for || and &&.
12211Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12212 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12213 src/testdir/test_vim9_disassemble.vim,
12214 src/testdir/test_vim9_expr.vim
12215
12216Patch 8.2.1978
12217Problem: Making a mapping work in all modes is complicated.
12218Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12219 closes 4784, based on patch by Bjorn Linse)
12220Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12221 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12222 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12223 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12224 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12225 src/testdir/test_mapping.vim
12226
12227Patch 8.2.1979
12228Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12229 Vlasov)
12230Solution: Allocate the buffer to hold the command. (closes #7284)
12231Files: src/terminal.c, src/testdir/test_terminal.vim
12232
12233Patch 8.2.1980
12234Problem: Vim9: some tests are not done at the script level.
12235Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12236 problems.
12237Files: src/eval.c, src/list.c, src/scriptfile.c,
12238 src/testdir/test_vim9_expr.vim
12239
12240Patch 8.2.1981
12241Problem: MinGW: parallel compilation might fail.
12242Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12243Files: src/Make_cyg_ming.mak
12244
12245Patch 8.2.1982
12246Problem: Quickfix window not updated when adding invalid entries.
12247Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12248 #7291, closes #7271)
12249Files: src/quickfix.c, src/testdir/test_quickfix.vim
12250
12251Patch 8.2.1983
12252Problem: ml_get error when using <Cmd> to open a terminal.
12253Solution: If the window changed reset the incsearch state. (closes #7289)
12254Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12255 src/testdir/dumps/Test_terminal_from_cmd.dump
12256
12257Patch 8.2.1984
12258Problem: Cannot use :vimgrep in omni completion, causing C completion to
12259 fail.
12260Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12261Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12262
12263Patch 8.2.1985
12264Problem: Crash when closing terminal popup with <Cmd> mapping.
12265Solution: Check b_term is not NULL. (closes #7294)
12266Files: src/terminal.c, src/testdir/test_terminal.vim
12267
12268Patch 8.2.1986
12269Problem: Expression test is flaky on Appveyor.
12270Solution: Temporarily disable the test in MS-Windows.
12271Files: src/testdir/test_vim9_expr.vim
12272
12273Patch 8.2.1987
12274Problem: MS-Windows: Win32.mak is no longer needed.
12275Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12276Files: src/Make_mvc.mak, src/INSTALLpc.txt
12277
12278Patch 8.2.1988
12279Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12280 mapping in Insert mode.
12281Solution: Exit Insert mode. (closes #7295)
12282Files: src/edit.c, src/testdir/test_terminal.vim
12283
12284Patch 8.2.1989
12285Problem: Info popup triggers WinEnter and WinLeave autocommands.
12286Solution: Suppress autocommands for the info popup. (closes #7296)
12287Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12288
12289Patch 8.2.1990
12290Problem: Cursor position wrong in terminal popup with finished job.
12291Solution: Only add the top and left offset when not done already.
12292 (closes #7298)
12293Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12294 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12295
12296Patch 8.2.1991
12297Problem: Coverity warns for not using the ga_grow() return value.
12298Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12299Files: src/getchar.c
12300
12301Patch 8.2.1992
12302Problem: Build fails with small features.
12303Solution: Add #ifdef.
12304Files: src/move.c
12305
12306Patch 8.2.1993
12307Problem: Occasional failure of the netbeans test.
12308Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12309Files: src/testdir/test_netbeans.vim
12310
12311Patch 8.2.1994 (after 8.2.1981)
12312Problem: MS-Windows: MinGW always does a full build.
12313Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12314Files: src/Make_cyg_ming.mak
12315
12316Patch 8.2.1995
12317Problem: The popup menu can cause too much redrawing.
12318Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12319 closes #7306)
12320Files: src/popupmenu.c
12321
12322Patch 8.2.1996
12323Problem: Vim9: invalid error for argument of extend().
12324Solution: Check if the type could match. (closes #7299)
12325Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12326 src/vim9type.c, src/proto/vim9type.pro,
12327 src/testdir/test_vim9_builtin.vim
12328
12329Patch 8.2.1997
12330Problem: Window changes when using bufload() while in a terminal popup.
12331Solution: When searching for a window by ID also find a popup window.
12332 (closes #7307)
12333Files: src/window.c, src/testdir/test_terminal.vim
12334
12335Patch 8.2.1998
12336Problem: Terminal Cmd test sometimes fails to close popup.
12337Solution: Add "term_finish" option.
12338Files: src/testdir/test_terminal.vim
12339
12340Patch 8.2.1999
12341Problem: Terminal popup test sometimes fails.
12342Solution: Wait for the popup to close.
12343Files: src/testdir/test_terminal.vim
12344
12345Patch 8.2.2000
12346Problem: Vim9: dict.key assignment not implemented yet.
12347Solution: Implement dict.key assignment. (closes #7312)
12348Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12349
12350Patch 8.2.2001
12351Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12352Solution: Use 'maxfuncdepth'. (issue #7313)
12353Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12354 src/testdir/test_vim9_func.vim
12355
12356Patch 8.2.2002
12357Problem: Vim9: lambda argument shadowed by function name.
12358Solution: Let function name be shadowed by lambda argument. (closes #7313)
12359Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12360
12361Patch 8.2.2003
12362Problem: Build error with +conceal but without +popupwin.
12363Solution: Add #ifdef. (Tom Ryder, closes #7316)
12364Files: src/drawline.c
12365
12366Patch 8.2.2004 (after 8.2.2002)
12367Problem: Compiler warning for uninitialized variable.
12368Solution: Initialize "ufunc". (John Marriott)
12369Files: src/vim9compile.c
12370
12371Patch 8.2.2005
12372Problem: Redoing a mapping with <Cmd> doesn't work properly.
12373Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12374 (closes #7282)
12375Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12376
12377Patch 8.2.2006
12378Problem: .pbtxt files are not recognized.
12379Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12380Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12381
12382Patch 8.2.2007
12383Problem: Test for insert mode in popup is not reliable.
12384Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12385Files: src/testdir/test_terminal.vim
12386
12387Patch 8.2.2008
12388Problem: MS-Windows GUI: handling channel messages lags.
12389Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12390Files: src/gui_w32.c
12391
12392Patch 8.2.2009
12393Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12394Solution: Do not set $LANG. (Ken Takata, closes #7325)
12395Files: src/GvimExt/gvimext.cpp
12396
12397Patch 8.2.2010
12398Problem: Vim9: compiling fails for unreachable return statement.
12399Solution: Fix it. (closes #7319)
12400Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12401
12402Patch 8.2.2011
12403Problem: "syn sync" reports a very large number.
12404Solution: Use "at the first line".
12405Files: src/syntax.c, src/testdir/test_syntax.vim
12406
12407Patch 8.2.2012
12408Problem: Vim9: confusing error message when using bool wrongly.
12409Solution: Mention "Bool" instead of "Special". (closes #7323)
12410Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12411
12412Patch 8.2.2013
12413Problem: Vim9: not skipping white space after unary minus.
12414Solution: Skip whitespace. (closes #7324)
12415Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12416
12417Patch 8.2.2014
12418Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12419Solution: Do not move the cursor when restarting edit. (closes #7330)
12420Files: src/job.c, src/testdir/test_prompt_buffer.vim
12421
12422Patch 8.2.2015
12423Problem: Vim9: literal dict #{} is not like any other language.
12424Solution: Support the JavaScript syntax.
12425Files: runtime/doc/vim9.txt, src/vim9compile.c,
12426 src/proto/vim9compile.pro, src/errors.h,
12427 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12428 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12429
12430Patch 8.2.2016
12431Problem: Swap file test is a little flaky.
12432Solution: Don't set a byte to a fixed value, increment it.
12433Files: src/testdir/test_swap.vim
12434
12435Patch 8.2.2017 (after 8.2.2015)
12436Problem: Missing part of the dict change.
12437Solution: Also change the script level dict.
12438Files: src/dict.c
12439
12440Patch 8.2.2018
12441Problem: Vim9: script variable not found from lambda.
12442Solution: In a lambda also check the script hashtab for a variable without a
12443 scope. (closes #7329)
12444Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12445
12446Patch 8.2.2019 (after 8.2.2016)
12447Problem: Swap file test fails on MS-Windows.
12448Solution: Add four to the process ID. (Ken Takata, closes #7333)
12449Files: src/testdir/test_swap.vim
12450
12451Patch 8.2.2020
12452Problem: Some compilers do not like the "namespace" argument.
12453Solution: Rename to "use_namespace". (closes #7332)
12454Files: src/vim9compile.c, src/proto/vim9compile.pro
12455
12456Patch 8.2.2021
12457Problem: Vim9: get E1099 when autocommand resets did_emsg.
12458Solution: Add did_emsg_cumul. (closes #7336)
12459Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12460 src/testdir/test_vim9_func.vim
12461
12462Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012463Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012464Solution: Give an error for missing colon. (issue #7335)
12465Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12466
12467Patch 8.2.2023
12468Problem: Vim: memory leak when :execute fails.
12469Solution: Clear the growarray.
12470Files: src/vim9execute.c
12471
12472Patch 8.2.2024
12473Problem: Flicker when redrawing a popup with a title and border.
12474Solution: Do not redraw the border where the title is displayed. (Naruhiko
12475 Nishino, closes #7334)
12476Files: src/popupwin.c
12477
12478Patch 8.2.2025
12479Problem: Amiga: Not all colors are used on OS4.
12480Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12481 closes #7328)
12482Files: src/term.c
12483
12484Patch 8.2.2026
12485Problem: Coverity warns for possibly using not NUL terminated string.
12486Solution: Put a NUL in b0_hname just in case.
12487Files: src/memline.c
12488
12489Patch 8.2.2027
12490Problem: Coverity warns for uninitialized field.
12491Solution: Set "v_lock".
12492Files: src/list.c
12493
12494Patch 8.2.2028
12495Problem: Coverity warns for using an uninitialized variable.
12496Solution: Initialize to NULL.
12497Files: src/eval.c
12498
12499Patch 8.2.2029
12500Problem: Coverity warns for not checking return value.
12501Solution: Check that u_save_cursor() returns OK.
12502Files: src/ops.c
12503
12504Patch 8.2.2030
12505Problem: Some tests fail on Mac.
12506Solution: Avoid Mac test failures. Add additional test for wildmenu.
12507 (Yegappan Lakshmanan, closes #7341)
12508Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12509 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12510
12511Patch 8.2.2031
12512Problem: Some tests fail when run under valgrind.
12513Solution: Avoid timing problems.
12514Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12515 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12516 src/testdir/test_quotestar.vim
12517
12518Patch 8.2.2032
12519Problem: Cabalconfig and cabalproject filetypes not recognized.
12520Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12521Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12522
12523Patch 8.2.2033
12524Problem: Vim9: :def without argument gives compilation error.
12525Solution: Add the DEF instruction. (closes #7344)
12526Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12527 src/userfunc.c, src/proto/userfunc.pro,
12528 src/testdir/test_vim9_disassemble.vim,
12529 src/testdir/test_vim9_func.vim
12530
12531Patch 8.2.2034
12532Problem: Vim9: list unpack in for statement not compiled yet.
12533Solution: Compile list unpack. (closes #7345)
12534Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12535 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12536 src/testdir/test_vim9_script.vim
12537
12538Patch 8.2.2035
12539Problem: MS-Windows: some tests may fail.
12540Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12541Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12542 src/testdir/test_functions.vim
12543
12544Patch 8.2.2036
12545Problem: Current buffer is messed up if creating a new buffer for the
12546 quickfix window fails.
12547Solution: Check that creating the buffer succeeds. (closes #7352)
12548Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12549 src/testdir/dumps/Test_quickfix_window_fails.dump
12550
12551Patch 8.2.2037
12552Problem: Compiler test depends on list of compiler plugins.
12553Solution: Compare with the actual list of compiler plugins.
12554Files: src/testdir/test_compiler.vim
12555
12556Patch 8.2.2038
12557Problem: Compiler test fails on MS-Windows.
12558Solution: Sort the found compiler plugin names.
12559Files: src/testdir/test_compiler.vim
12560
12561Patch 8.2.2039
12562Problem: Viminfo is not written when creating a new file.
12563Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12564 closes #7350)
12565Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12566
12567Patch 8.2.2040
12568Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12569 (Sergey Vlasov)
12570Solution: Check 'bufhiddden' when a terminal buffer becomes hidden.
12571 (closes #7358)
12572Files: src/buffer.c, src/testdir/test_terminal.vim
12573
12574Patch 8.2.2041
12575Problem: Haskell filetype not optimally recognized.
12576Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12577 closes #7354)
12578Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12579
12580Patch 8.2.2042
12581Problem: Build failure with +profile but without +reltime.
12582Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12583Files: src/syntax.c
12584
12585Patch 8.2.2043
12586Problem: GTK3: white border around text stands out.
12587Solution: Use current theme color. (closes #7357, issue #349)
12588Files: src/gui_gtk_x11.c
12589
12590Patch 8.2.2044
12591Problem: MS-Windows: swap file test sometimes fails.
12592Solution: Use a more reliable way to change the process ID. When "timeout"
12593 fails use "ping" to wait up to ten minutes. (Ken Takata,
12594 closes #7365)
12595Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12596
12597Patch 8.2.2045
12598Problem: Highlighting a character too much with incsearch.
12599Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12600Files: src/drawline.c, src/testdir/test_search.vim,
12601 src/testdir/dumps/Test_incsearch_newline1.dump,
12602 src/testdir/dumps/Test_incsearch_newline2.dump,
12603 src/testdir/dumps/Test_incsearch_newline3.dump,
12604 src/testdir/dumps/Test_incsearch_newline4.dump,
12605 src/testdir/dumps/Test_incsearch_newline5.dump
12606
12607Patch 8.2.2046
12608Problem: Some test failures don't give a clear error.
12609Solution: Use assert_match() and assert_fails() instead of assert_true().
12610 (Ken Takata, closes #7368)
12611Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12612
12613Patch 8.2.2047
12614Problem: Amiga: FEAT_ARP defined when it should not.
12615Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12616Files: src/feature.h
12617
12618Patch 8.2.2048
12619Problem: Amiga: obsolete code.
12620Solution: Remove the unused lines. (Ola Söder, closes #7373)
12621Files: src/gui.c
12622
12623Patch 8.2.2049
12624Problem: Amiga: obsolete function.
12625Solution: Remove the function. (Ola Söder, closes #7374)
12626Files: src/memfile.c
12627
12628Patch 8.2.2050
12629Problem: Search test contains unneeded sleeps.
12630Solution: Rename the function, remove sleeps. (Christian Brabandt,
12631 closes #7369)
12632Files: src/testdir/test_search.vim
12633
12634Patch 8.2.2051
12635Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012636Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012637Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12638
12639Patch 8.2.2052
12640Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12641Solution: Allow using a range in the +cmd argument. (closes #7364)
12642Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12643 src/testdir/test_vim9_cmd.vim
12644
12645Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012646Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012647Solution: Optionally accept argument types at the script level.
12648Files: src/eval.c, src/testdir/test_vim9_expr.vim
12649
12650Patch 8.2.2054
12651Problem: Amiga: FEAT_ARP defined when it should not.
12652Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12653Files: src/feature.h
12654
12655Patch 8.2.2055
12656Problem: MS-Windows: two Vim instances may use the same temp file.
12657Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12658Files: src/fileio.c
12659
12660Patch 8.2.2056
12661Problem: Configure fails when building with the
12662 "implicit-function-declaration" error enabled, specifically on Mac.
12663Solution: Declear the functions like in the source code. (suggestion by
12664 Clemens Lang, closes #7380)
12665Files: src/configure.ac, src/auto/configure
12666
12667Patch 8.2.2057
12668Problem: Getting the selection may trigger TextYankPost autocmd.
12669Solution: Only trigger the autocommand when yanking in Vim, not for getting
12670 the selection. (closes #7367)
12671Files: src/clipboard.c, src/normal.c, src/register.c,
12672 src/testdir/test_autocmd.vim
12673
12674Patch 8.2.2058
12675Problem: Using mkview/loadview changes the jumplist.
12676Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12677 jumplist. (closes #7371)
12678Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12679
12680Patch 8.2.2059
12681Problem: Amiga: can't find plugins.
12682Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12683Files: src/main.c
12684
12685Patch 8.2.2060
12686Problem: Check for features implemented with "if".
12687Solution: Use the Check commands. (Ken Takata, closes #7383)
12688Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12689 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12690 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12691
12692Patch 8.2.2061
12693Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12694Solution: Don't check for an invalid type unless the terminal can't be
12695 found. (closes #7382)
12696Files: src/terminal.c, src/testdir/test_termcodes.vim
12697
12698Patch 8.2.2062
12699Problem: <Cmd> does not handle CTRL-V.
12700Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12701Files: src/getchar.c, src/testdir/test_mapping.vim
12702
12703Patch 8.2.2063
12704Problem: Vim9: only one level of indexing supported.
12705Solution: Handle more than one index in an assignment.
12706Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12707
12708Patch 8.2.2064
12709Problem: terminal: cursor is on while redrawing, causing flicker.
12710Solution: Switch the cursor off while redrawing. Always add the top and
12711 left offset to the cursor position when not done already.
12712 (closes #5943)
12713Files: src/terminal.c, src/popupwin.c
12714
12715Patch 8.2.2065
12716Problem: Using map() and filter() on a range() is inefficient.
12717Solution: Do not materialize the range. (closes #7388)
12718Files: src/list.c, src/testdir/test_functions.vim
12719
12720Patch 8.2.2066
12721Problem: Vim9: assignment with += doesn't work.
12722Solution: Do not see the "+" as an addition operator.
12723Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12724
12725Patch 8.2.2067 (after 8.2.2064)
12726Problem: Cursor position in popup terminal is wrong.
12727Solution: Don't check the flags.
12728Files: src/terminal.c, src/testdir/test_popupwin.vim
12729
12730Patch 8.2.2068
12731Problem: Transparent syntax item uses start/end of containing region.
12732Solution: Do not change the startpos and endpos of a transparent region to
12733 that of its containing region. (Adrian Ghizaru, closes #7349,
12734 closes #7391)
12735Files: src/syntax.c, src/testdir/test_syntax.vim
12736
12737Patch 8.2.2069
12738Problem: The quickfix window is not updated after setqflist().
12739Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
12740 closes #7385)
12741Files: src/quickfix.c, src/testdir/test_quickfix.vim
12742
12743Patch 8.2.2070
12744Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
12745Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
12746Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
12747 src/main.c, src/testdir/test_exit.vim, src/vim.h
12748
12749Patch 8.2.2071
12750Problem: Vim9: list assign doesn't accept an empty remainder list.
12751Solution: Recognize list assignment with ";".
12752Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12753
12754Patch 8.2.2072
12755Problem: Vim9: list assign not well tested.
12756Solution: Test with different destinations. Fix white space error.
12757Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12758
12759Patch 8.2.2073
12760Problem: Vim9: for with unpack only works for local variables.
12761Solution: Recognize different destinations.
12762Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12763
12764Patch 8.2.2074
12765Problem: Vim9: using :normal from Vim9 script can't handle range.
12766Solution: Execute a :normal command in legacy script context. (closes #7401)
12767Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
12768
12769Patch 8.2.2075
12770Problem: Error for const argument to mapnew().
12771Solution: Don't give an error. (closes #7400)
12772Files: src/list.c, src/testdir/test_filter_map.vim
12773
12774Patch 8.2.2076
12775Problem: MS-Windows console: sometimes drops typed characters.
12776Solution: Do not wait longer than 10 msec for input. (issue #7164)
12777Files: src/os_win32.c
12778
12779Patch 8.2.2077
12780Problem: Build failure with small features.
12781Solution: Add #ifdef.
12782Files: src/structs.h, src/ex_docmd.c
12783
12784Patch 8.2.2078
12785Problem: Illegal memory access when using :print on invalid text. (Dhiraj
12786 Mishra)
12787Solution: Check for more composing characters than supported. (closes #7399)
12788Files: src/message.c, src/testdir/test_utf8.vim
12789
12790Patch 8.2.2079
12791Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
12792Solution: Skip over linebreak.
12793Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12794
12795Patch 8.2.2080
12796Problem: Vim9: no proper error message for using s:var in for loop.
12797Solution: Give a specific error.
12798Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12799
12800Patch 8.2.2081
12801Problem: Vim9: cannot handle a linebreak after "=" in assignment.
12802Solution: Skip over linebreak. (closes #7407)
12803Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
12804 src/testdir/test_vim9_expr.vim
12805
12806Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012807Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012808Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
12809Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
12810 src/testdir/test_vim9_assign.vim,
12811 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
12812 src/testdir/test_vim9_disassemble.vim,
12813 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
12814 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
12815 src/testdir/test_textprop.vim
12816
12817Patch 8.2.2083
12818Problem: Vim9: crash when using ":silent!" and getting member fails.
12819Solution: Jump to on_fatal_error. (closes #7412)
12820Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12821
12822Patch 8.2.2084
12823Problem: CTRL-V U doesn't work to enter a Unicode character when
12824 modifyOtherKeys is effective. (Ken Takata)
12825Solution: Add a flag to get_literal() for the shift key. (closes #7413)
12826Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
12827 src/normal.c, src/testdir/test_termcodes.vim
12828
12829Patch 8.2.2085
12830Problem: Qt translation file is recognized as typescript.
12831Solution: Check the first line for "<?xml". (closes #7418)
12832Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12833
12834Patch 8.2.2086
12835Problem: Libvterm tests are only run on Linux.
12836Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
12837Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
12838 src/libvterm/t/run-test.pl
12839
12840Patch 8.2.2087
12841Problem: Vim9: memory leak when statement is truncated.
12842Solution: Increment the number of local variables.
12843Files: src/vim9compile.c
12844
12845Patch 8.2.2088
12846Problem: Vim9: script test sometimes fails.
12847Solution: Unlet variables.
12848Files: src/testdir/test_vim9_script.vim
12849
12850Patch 8.2.2089
12851Problem: Libvterm test fails to build on Mac.
12852Solution: Adjust configure to remove a space between -L and the path that
12853 follows.
12854Files: src/configure.ac, src/auto/configure
12855
12856Patch 8.2.2090
12857Problem: Vim9: dict does not accept a key in quotes.
12858Solution: Recognize a key in single or double quotes.
12859Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
12860 src/vim9compile.c, src/testdir/test_vim9_expr.vim
12861
12862Patch 8.2.2091
12863Problem: MS-Windows: build warnings.
12864Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
12865 Avoid using a non-ASCII character. (closes #7421)
12866Files: src/message.c, src/os_win32.c
12867
12868Patch 8.2.2092
12869Problem: Vim9: unpredictable errors for script tests.
12870Solution: Use a different script file name for each run.
12871Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
12872 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
12873 src/testdir/test_vim9_assign.vim
12874
12875Patch 8.2.2093
12876Problem: Vim9: script test sometimes fails.
12877Solution: Do not find a script variable by its typval if the name was
12878 cleared.
12879Files: src/vim9script.c
12880
12881Patch 8.2.2094
12882Problem: When an expression fails getting the next command may be wrong.
12883Solution: Do not check for a next command after :eval fails. (closes #7415)
12884Files: src/eval.c, src/testdir/test_vim9_cmd.vim
12885
12886Patch 8.2.2095
12887Problem: Vim9: crash when failed dict member is followed by concatenation.
12888Solution: Remove the dict from the stack. (closes #7416)
12889Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12890
12891Patch 8.2.2096
12892Problem: Vim9: command modifiers not restored after assignment.
12893Solution: Jump to nextline instead of using continue.
12894Files: src/vim9compile.c, src/vim9execute.c,
12895 src/testdir/test_vim9_func.vim
12896
12897Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012898Problem: Vim9: using :silent! when calling a function prevents aborting
12899 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012900Solution: Add emsg_silent_def and did_emsg_def.
12901Files: src/globals.h, src/message.c, src/vim9execute.c,
12902 src/testdir/test_vim9_func.vim
12903
12904Patch 8.2.2098
12905Problem: Vim9: function argument of sort() and map() not tested.
12906Solution: Add a couple of tests.
12907Files: src/testdir/test_vim9_builtin.vim
12908
12909Patch 8.2.2099
12910Problem: Vim9: some checks are not tested.
12911Solution: Add a few more tests. Give better error messages.
12912Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
12913 src/testdir/test_vim9_expr.vim
12914
12915Patch 8.2.2100
12916Problem: Insufficient testing for function range and dict.
12917Solution: Add a few tests. (Dominique Pellé, closes #7428)
12918Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
12919 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
12920
12921Patch 8.2.2101
12922Problem: Vim9: memory leak when literal dict has an error and when an
12923 expression is not complete.
12924Solution: Clear the typval and the growarray.
12925Files: src/dict.c, src/vim9compile.c
12926
12927Patch 8.2.2102
12928Problem: Vim9: not all error messages tested.
12929Solution: Add a few test cases.
12930Files: src/testdir/test_vim9_func.vim
12931
12932Patch 8.2.2103
12933Problem: Vim9: unreachable code.
12934Solution: Remove the code to prepend s: to the variable name
12935Files: src/vim9compile.c
12936
12937Patch 8.2.2104
12938Problem: Build problem with Ruby 2.7.
12939Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
12940Files: src/configure.ac, src/auto/configure, src/if_ruby.c
12941
12942Patch 8.2.2105
12943Problem: Sound test is a bit flaky.
12944Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
12945Files: src/testdir/test_sound.vim
12946
12947Patch 8.2.2106
12948Problem: TOML files are not recognized.
12949Solution: Match *.toml. (issue #7432)
12950Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12951
12952Patch 8.2.2107
12953Problem: Vim9: some errors not tested.
12954Solution: Add tests. Fix getting the right error.
12955Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
12956 src/testdir/test_vim9_expr.vim
12957
12958Patch 8.2.2108
12959Problem: Vim9: no test to check for :let error.
12960Solution: Add a test. Rename tests from _let_ to _var_.
12961Files: src/testdir/test_vim9_assign.vim
12962
12963Patch 8.2.2109
12964Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
12965 shell command is executed on startup.
12966Solution: Only change modifyOtherKeys when executing a shell command in raw
12967 mode.
12968Files: src/os_unix.c
12969
12970Patch 8.2.2110
12971Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
12972Solution: Revert patch 8.2.1833.
12973Files: src/main.c
12974
12975Patch 8.2.2111
12976Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012977Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012978 closes #7427)
12979Files: src/gui_gtk_x11.c
12980
12981Patch 8.2.2112
12982Problem: Running tests may leave some files behind.
12983Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012984 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012985Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
12986 src/testdir/test_mksession.vim
12987
12988Patch 8.2.2113
12989Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
12990Solution: Check for NULL pointer. (Ken Takata, closes #7434)
12991Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
12992
12993Patch 8.2.2114
12994Problem: Vim9: unreachable code in assignment.
12995Solution: Remove impossible condition and code.
12996Files: src/vim9compile.c
12997
12998Patch 8.2.2115
12999Problem: Vim9: some errors not tested for; dead code.
13000Solution: Add a test. Remove dead code.
13001Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13002
13003Patch 8.2.2116
13004Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13005Solution: Set 'renderoptions'. (Christian Brabandt)
13006Files: src/testdir/test_gui.vim
13007
13008Patch 8.2.2117
13009Problem: Some functions use any value as a string.
13010Solution: Check that the value is a non-empty string.
13011Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13012 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13013
13014Patch 8.2.2118
13015Problem: Dead code in the job support. (Dominique Pellé)
13016Solution: Define USE_ARGV before checking for it.
13017Files: src/job.c
13018
13019Patch 8.2.2119
13020Problem: GTK3: status line background color is wrong.
13021Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13022Files: src/gui_gtk_x11.c
13023
13024Patch 8.2.2120
13025Problem: Not all Perl functionality is tested.
13026Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13027Files: src/testdir/test_perl.vim
13028
13029Patch 8.2.2121
13030Problem: Internal error when using \ze before \zs in a pattern.
13031Solution: Check the end is never before the start. (closes #7442)
13032Files: src/regexp_bt.c, src/regexp_nfa.c,
13033 src/testdir/test_regexp_latin.vim
13034
13035Patch 8.2.2122
13036Problem: Vim9: crash when sourcing vim9script early.
13037Solution: Use set_option_value() instead of setting p_cpo directly.
13038 (closes #7441)
13039Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13040
13041Patch 8.2.2123
13042Problem: After using a complete popup the buffer is listed. (Boris
13043 Staletic)
13044Solution: Make the buffer unlisted.
13045Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13046
13047Patch 8.2.2124
13048Problem: Vim9: a range cannot be computed at runtime.
13049Solution: Add the ISN_RANGE instruction.
13050Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13051 src/testdir/test_vim9_script.vim,
13052 src/testdir/test_vim9_disassemble.vim
13053
13054Patch 8.2.2125 (after 8.2.2122)
13055Problem: Vim9: leaking memory.
13056Solution: Free the saved 'cpo' value.
13057Files: src/scriptfile.c
13058
13059Patch 8.2.2126
13060Problem: Ruby: missing function prototype.
13061Solution: Add the prototype.
13062Files: src/if_ruby.c
13063
13064Patch 8.2.2127
13065Problem: Vim9: executing user command defined in Vim9 script not tested.
13066Solution: Add a test.
13067Files: src/testdir/test_vim9_script.vim
13068
13069Patch 8.2.2128
13070Problem: There is no way to do something on CTRL-Z.
13071Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13072Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13073 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13074
13075Patch 8.2.2129
13076Problem: MS-Windows: Checking if a file name is absolute is slow.
13077Solution: Do not use mch_FullName(). (closes #7033)
13078Files: src/os_mswin.c
13079
13080Patch 8.2.2130
13081Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013082Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013083Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13084
13085Patch 8.2.2131
13086Problem: Vim9: crash when lambda uses same var as assignment.
13087Solution: Do not let lookup_local change lv_from_outer, make a copy.
13088 (closes #7461)
13089Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13090 src/evalvars.c, src/proto/evalvars.pro,
13091 src/testdir/test_vim9_func.vim
13092
13093Patch 8.2.2132
13094Problem: Padding not drawn properly for popup window with title.
13095Solution: Draw the padding below the title. (closes #7460)
13096Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13097 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13098 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13099
13100Patch 8.2.2133
13101Problem: Vim9: checking for a non-empty string is too strict.
13102Solution: Check for any string. (closes #7447)
13103Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13104 src/testdir/test_vim9_builtin.vim
13105
13106Patch 8.2.2134
13107Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13108Solution: Check that did_emsg increased instead of checking that it changed.
13109 (closes #7448)
13110Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13111
13112Patch 8.2.2135
13113Problem: Vim9: #{ still seen as start of dict in some places.
13114Solution: Remove check for { after #. (closes #7456)
13115Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13116
13117Patch 8.2.2136
13118Problem: Vim9: Using uninitialized variable.
13119Solution: Initialize "len" to zero. Clean up fnamemodify().
13120Files: src/filepath.c
13121
13122Patch 8.2.2137
13123Problem: Vim9: :echo and :execute give error for empty argument.
13124Solution: Ignore an empty argument. (closes #7468)
13125Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13126 src/testdir/test_vim9_disassemble.vim
13127
13128Patch 8.2.2138
13129Problem: Vim9: "exit_cb" causes Vim to exit.
13130Solution: Require white space after a command in Vim9 script. (closes #7467)
13131 Also fix that Vim9 style heredoc was not always recognized.
13132Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13133 src/testdir/test_vim9_assign.vim,
13134 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13135
13136Patch 8.2.2139
13137Problem: Vim9: unreachable code in assignment.
13138Solution: Don't check "new_local" when "has_index" is set. Add test for
13139 wrong type of list index.
13140Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13141
13142Patch 8.2.2140
13143Problem: Build failure with tiny features.
13144Solution: Add #ifdef.
13145Files: src/ex_docmd.c
13146
13147Patch 8.2.2141
13148Problem: A user command with try/catch may not catch an expression error.
13149Solution: When an expression fails check for following "|". (closes #7469)
13150Files: src/eval.c, src/testdir/test_trycatch.vim,
13151 src/testdir/test_vimscript.vim
13152
13153Patch 8.2.2142
13154Problem: Memory leak when heredoc is not terminated.
13155Solution: Free heredoc_trimmed.
13156Files: src/userfunc.c
13157
13158Patch 8.2.2143
13159Problem: Vim9: dead code in compiling :unlet.
13160Solution: Don't check for "!" a second time.
13161Files: src/vim9compile.c
13162
13163Patch 8.2.2144
13164Problem: Vim9: some corner cases not tested.
13165Solution: Add a few tests.
13166Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13167
13168Patch 8.2.2145
13169Problem: Vim9: concatenating lists does not adjust type of result.
13170Solution: When list member types differ use "any" member type.
13171 (closes #7473)
13172Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13173
13174Patch 8.2.2146
13175Problem: Vim9: automatic conversion of number to string for dict key.
13176Solution: Do not convert number to string. (closes #7474)
13177Files: src/dict.c, src/testdir/test_vim9_expr.vim
13178
13179Patch 8.2.2147
13180Problem: Quickfix window title not updated in all tab pages.
13181Solution: Update the quickfix window title in all tab pages. (Yegappan
13182 Lakshmanan, closes #7481, closes #7466)
13183Files: src/quickfix.c, src/testdir/test_quickfix.vim
13184
13185Patch 8.2.2148
13186Problem: Vim9: crash when user command doesn't match.
13187Solution: Adjust command index. (closes #7479)
13188Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13189
13190Patch 8.2.2149
13191Problem: Popupwin test for latin1 sometimes fails.
13192Solution: Wait for the script to finish.
13193Files: src/testdir/test_popupwin.vim
13194
13195Patch 8.2.2150
13196Problem: Github actions CI isn't used for all available platforms.
13197Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13198Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13199 .github/workflows/ci.yml, .travis.yml, README.md,
13200 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13201
13202Patch 8.2.2151
13203Problem: $dir not expanded when configure checks for moonjit.
13204Solution: Use double quotes instead of single quotes. (closes #7478)
13205Files: src/configure.ac, src/auto/configure
13206
13207Patch 8.2.2152
13208Problem: screenpos() does not include the WinBar offset.
13209Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13210Files: src/move.c, src/testdir/test_cursor_func.vim
13211
13212Patch 8.2.2153
13213Problem: Popupwin test for latin1 still fails sometimes.
13214Solution: Wait for the "cat" command to finish.
13215Files: src/testdir/test_popupwin.vim
13216
13217Patch 8.2.2154
13218Problem: Popupwin test for terminal buffer fails sometimes.
13219Solution: Wait for the prompt to appear.
13220Files: src/testdir/test_popupwin.vim
13221
13222Patch 8.2.2155
13223Problem: Warning from Github actions for code analysis.
13224Solution: Remove the "git checkout HEAD^2" block.
13225Files: .github/workflows/codeql-analysis.yml
13226
13227Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013228Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013229Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13230 (Ozaki Kiichi, closes #7489)
13231Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13232
13233Patch 8.2.2157
13234Problem: Vim9: can delete a Vim9 script variable from a function.
13235Solution: Check the variable is defined in Vim9 script. (closes #7483)
13236Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13237
13238Patch 8.2.2158
13239Problem: CI on cirrus times out, coveralls doesn't always run.
13240Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13241Files: .cirrus.yml, .github/workflows/ci.yml
13242
13243Patch 8.2.2159
13244Problem: Vim9: when declaring a list it is not allocated yet, causing a
13245 following extend() to fail.
13246Solution: When fetching a variable value for a list or dict that is null
13247 allocate the list or dict, so it can be used. (closes #7491)
13248Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13249
13250Patch 8.2.2160
13251Problem: Various typos.
13252Solution: Fix spelling mistakes. (closes #7494)
13253Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13254 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13255 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13256 src/list.c, src/map.c, src/memline.c, src/normal.c,
13257 src/os_win32.c, src/search.c, src/term.c,
13258 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13259 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13260 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13261 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13262 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13263 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13264 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13265 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13266 src/vim9execute.c
13267
13268Patch 8.2.2161
13269Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013270Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013271Files: src/testdir/test_startup.vim
13272
13273Patch 8.2.2162
13274Problem: Vim9: Cannot load or store autoload variables.
13275Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13276Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13277 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13278 src/testdir/test_vim9_disassemble.vim,
13279 src/testdir/test_vim9_script.vim
13280
13281Patch 8.2.2163
13282Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013283Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013284Files: src/ex_eval.c
13285
13286Patch 8.2.2164
13287Problem: Vim9: autoload function doesn't work in script that starts with
13288 an upper case letter.
13289Solution: Check for the autoload character. (closes #7502)
13290Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13291
13292Patch 8.2.2165
13293Problem: Vim9: assignment to dict member does not work.
13294Solution: Fix recognizing dict member. (closes #7484)
13295Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13296
13297Patch 8.2.2166
13298Problem: Auto format doesn't work when deleting text.
13299Solution: Make "x" trigger auto format. (closes #7504)
13300Files: src/ops.c, src/testdir/test_textformat.vim
13301
13302Patch 8.2.2167
13303Problem: Vim9: assign test fails. (Elimar Riesebieter)
13304Solution: Adjust the test for dict assignment.
13305Files: src/testdir/test_vim9_assign.vim
13306
13307Patch 8.2.2168
13308Problem: Vim9: error for assigning to dict of dict.
13309Solution: Remember the destination type. (closes #7506)
13310Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13311
13312Patch 8.2.2169
13313Problem: Vim9: test leaves file behind.
13314Solution: Rename script files. (Dominique Pellé, closes #7511)
13315 Use try/finally.
13316Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13317
13318Patch 8.2.2170
13319Problem: Vim9: a global function defined in a :def function fails if it
13320 uses the context.
13321Solution: Create a partial to store the closure context. (see #7410)
13322Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13323 src/structs.h, src/testdir/test_vim9_func.vim
13324
13325Patch 8.2.2171
13326Problem: Valgrind warning for using uninitialized value.
13327Solution: Do not use "startp" or "endp" unless there is a match.
13328Files: src/regexp_nfa.c
13329
13330Patch 8.2.2172
13331Problem: Vim9: number of arguments is not always checked. (Yegappan
13332 Lakshmanan)
13333Solution: Check number of arguments when calling function by name.
13334Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13335 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13336
13337Patch 8.2.2173
13338Problem: Vim9: get internal error when assigning to undefined variable.
13339Solution: Add error message. (closes #7475)
13340Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13341 src/testdir/test_vim9_cmd.vim
13342
13343Patch 8.2.2174
13344Problem: Mac version doesn't specify the CPU architecture.
13345Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13346Files: src/version.c
13347
13348Patch 8.2.2175
13349Problem: Github actions: clang-11 handling suboptimal.
13350Solution: Separate step of installing clang-11. Get ubuntu release name
13351 dynamically. (Ozaki Kiichi, closes #7514)
13352Files: .github/workflows/ci.yml
13353
13354Patch 8.2.2176
13355Problem: Crash with a sequence of fold commands.
13356Solution: Bail out when there are no folds at all. Add a test (Dominique
13357 Pellé) (closes #7515)
13358Files: src/fold.c, src/testdir/test_fold.vim
13359
13360Patch 8.2.2177
13361Problem: Pattern "^" does not match if the first character in the line is
13362 combining. (Rene Kita)
13363Solution: Do accept a match at the start of the line. (closes #6963)
13364Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13365
13366Patch 8.2.2178
13367Problem: Python 3: non-utf8 character cannot be handled.
13368Solution: Change the string decode. (Björn Linse, closes #1053)
13369Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13370 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13371
13372Patch 8.2.2179
13373Problem: Vim9: crash when indexing a dict with a number.
13374Solution: Add ISN_STOREINDEX. (closes #7513)
13375Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13376 src/errors.h, src/testdir/test_vim9_assign.vim,
13377 src/testdir/test_vim9_disassemble.vim
13378
13379Patch 8.2.2180
13380Problem: Vim9: test for error after error is flaky.
13381Solution: Wait for job to finish instead of a fixed delay.
13382Files: src/testdir/test_vim9_script.vim
13383
13384Patch 8.2.2181
13385Problem: Valgrind warnings for using uninitialized value.
13386Solution: Do not use "start" or "end" unless there is a match.
13387Files: src/regexp_nfa.c, src/regexp_bt.c
13388
13389Patch 8.2.2182
13390Problem: Vim9: value of 'magic' is still relevant.
13391Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13392Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13393 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13394 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13395 src/structs.h, src/globals.h, src/ex_cmds.h,
13396 src/testdir/test_vim9_cmd.vim
13397
13398Patch 8.2.2183
13399Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13400Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13401Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13402
13403Patch 8.2.2184
13404Problem: Vim9: no error when using "2" for a line number.
13405Solution: Give an error message if the line number is invalid. (closes #7492)
13406Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13407 src/testdir/test_cursor_func.vim
13408
13409Patch 8.2.2185
13410Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013411Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013412 Fix white space around "=".
13413Files: src/quickfix.c, src/testdir/test_autocmd.vim
13414
13415Patch 8.2.2186
13416Problem: Vim9: error when using 'opfunc'.
13417Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13418Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13419 src/testdir/test_vim9_func.vim
13420
13421Patch 8.2.2187
13422Problem: Python 3 test fails sometimes. (Christian Brabandt)
13423Solution: Accept two SystemError messages.
13424Files: src/testdir/test_python3.vim
13425
13426Patch 8.2.2188
13427Problem: Vim9: crash when calling global function from :def function.
13428Solution: Set the outer context. Define the partial for the context on the
13429 original function. Use a refcount to keep track of which ufunc is
13430 using a dfunc. (closes #7525)
13431Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13432 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13433 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13434
13435Patch 8.2.2189
13436Problem: Cannot repeat a command that uses the small delete register.
13437Solution: Store the register name instead of the contents. (Christian
13438 Brabandt, closes #7527)
13439Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13440
13441Patch 8.2.2190
13442Problem: Vim9: crash when compiled with EXITFREE.
13443Solution: Check that df_ufunc is not NULL.
13444Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13445
13446Patch 8.2.2191
13447Problem: Vim9: using wrong name with lambda in nested function.
13448Solution: Copy the lambda name earlier. (closes #7525)
13449Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13450
13451Patch 8.2.2192
13452Problem: Codecov on github actions fails.
13453Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13454Files: Filelist, .github/workflows/ci.yml
13455
13456Patch 8.2.2193
13457Problem: Vim9: can change constant in :def function.
13458Solution: Check if a variable is locked. (issue #7526)
13459Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13460 src/testdir/test_vim9_func.vim
13461
13462Patch 8.2.2194
13463Problem: Vim9: cannot use :const or :final at the script level.
13464Solution: Support using :const and :final. (closes #7526)
13465Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13466 src/testdir/test_vim9_func.vim
13467
13468Patch 8.2.2195
13469Problem: Failing tests for :const.
13470Solution: Add missing check for ASSIGN_FINAL.
13471Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13472
13473Patch 8.2.2196
13474Problem: :version output has extra spaces in compile and link command.
13475Solution: Adjust QUOTESED. (closes #7505)
13476Files: src/configure.ac, src/auto/configure
13477
13478Patch 8.2.2197
13479Problem: Assert arguments order reversed.
13480Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13481Files: src/testdir/test_registers.vim
13482
13483Patch 8.2.2198
13484Problem: ml_get error when resizing window and using text property.
13485Solution: Validate botline of the right window. (closes #7528)
13486Files: src/move.c, src/proto/move.pro, src/textprop.c,
13487 src/testdir/test_textprop.vim
13488
13489Patch 8.2.2199
13490Problem: First write after setting 'eol' does not have NL added. (Tomáš
13491 Janoušek)
13492Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13493Files: src/bufwrite.c, src/testdir/test_writefile.vim
13494
13495Patch 8.2.2200
13496Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013497Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013498Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13499 src/testdir/test_vim9_disassemble.vim
13500
13501Patch 8.2.2201
13502Problem: Write file test fails on MS-Windows.
13503Solution: Force edit after setting 'fileformat'.
13504Files: src/testdir/test_writefile.vim
13505
13506Patch 8.2.2202
13507Problem: Write file test still fails on MS-Windows.
13508Solution: Set fileformat with the :edit command
13509Files: src/testdir/test_writefile.vim
13510
13511Patch 8.2.2203
13512Problem: Moodle gift files are not recognized.
13513Solution: Add a filetype pattern. (Delim Temizer)
13514Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13515
13516Patch 8.2.2204
13517Problem: Vim9: using -> both for method and lambda is confusing.
13518Solution: Use => for lambda in :def function.
13519Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13520 src/testdir/test_vim9_expr.vim
13521
13522Patch 8.2.2205
13523Problem: Vim9: memory leak when parsing lambda fails.
13524Solution: Clear growarrays.
13525Files: src/userfunc.c
13526
13527Patch 8.2.2206
13528Problem: :exe command line completion only works for first argument.
13529Solution: Skip over text if more is following. (closes #7546)
13530Files: src/eval.c, src/testdir/test_cmdline.vim
13531
13532Patch 8.2.2207
13533Problem: Illegal memory access if popup menu items are changed while the
13534 menu is visible. (Tomáš Janoušek)
13535Solution: Make a copy of the text. (closes #7537)
13536Files: src/popupmenu.c, src/testdir/test_popup.vim,
13537 src/testdir/dumps/Test_popup_command_04.dump,
13538 src/testdir/dumps/Test_popup_command_05.dump
13539
13540Patch 8.2.2208
13541Problem: Vim9: after reloading a script variable index may be invalid.
13542Solution: When the sequence number doesn't match give an error for using a
13543 script-local variable from a compiled function. (closes #7547)
13544Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13545 src/vim9execute.c, src/scriptfile.c,
13546 src/testdir/test_vim9_script.vim
13547
13548Patch 8.2.2209
13549Problem: Vim9: return type of => lambda not parsed.
13550Solution: Parse and use the return type.
13551Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
13552 src/proto/vim9type.pro, src/vim9script.c, src/eval.c
13553 src/testdir/test_vim9_expr.vim
13554
13555Patch 8.2.2210
13556Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13557Solution: Add t_number_bool.
13558Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13559
13560Patch 8.2.2211
13561Problem: MS-Windows: can't load Python dll if not in the path.
13562Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13563Files: src/if_python3.c
13564
13565Patch 8.2.2212
13566Problem: Vim9: lambda with => does not work at the script level.
13567Solution: Make it work.
13568Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13569 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13570
13571Patch 8.2.2213
13572Problem: Checking white space around -> is not backwards compatible.
13573Solution: Only check white space around =>.
13574Files: src/userfunc.c
13575
13576Patch 8.2.2214
13577Problem: ":e#" does not give a warning for missing white space.
13578Solution: Adjust the check for white space. (closes #7545)
13579Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13580
13581Patch 8.2.2215
13582Problem: Vim9: `=expr` not recognized in global command.
13583Solution: Skip over pattern. (issue #7541)
13584Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13585
13586Patch 8.2.2216
13587Problem: Vim9: range with missing colon can be hard to spot.
13588Solution: Include the start of the range in the error. (closes #7543)
13589Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13590 src/testdir/test_vim9_cmd.vim
13591
13592Patch 8.2.2217
13593Problem: Vim9: command modifiers not restored in catch block.
13594Solution: Restore command modifiers. (closes #7542)
13595Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13596
13597Patch 8.2.2218
13598Problem: Vim9: failure if passing more arguments to a lambda than expected.
13599Solution: Only put expected arguments on the stack. (closes #7548)
13600Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13601
13602Patch 8.2.2219
13603Problem: Vim9: method call with expression not supported.
13604Solution: Implement expr->(expr)().
13605Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13606
13607Patch 8.2.2220
13608Problem: Vim9: memory leak when parsing nested parenthesis.
13609Solution: Clear newargs.
13610Files: src/userfunc.c
13611
13612Patch 8.2.2221
13613Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13614Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13615Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13616
13617Patch 8.2.2222
13618Problem: Vim9: cannot keep script variables when reloading.
13619Solution: Add the "noclear" argument to :vim9script.
13620Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13621 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13622 src/testdir/test_vim9_script.vim
13623
13624Patch 8.2.2223
13625Problem: Vim9: Reloading marks a :def function as deleted.
13626Solution: Clear the function contents but keep the index.
13627Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13628 src/testdir/test_vim9_script.vim
13629
13630Patch 8.2.2224
13631Problem: Vim9: crash if script reloaded with different variable type.
13632Solution: Check the type when accessing the variable.
13633Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13634 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13635 src/vim9script.c, src/proto/vim9script.pro,
13636 src/testdir/test_vim9_script.vim
13637
13638Patch 8.2.2225
13639Problem: Vim9: error when using :import in legacy script twice.
13640Solution: Make it possible to redefine an import when reloading.
13641Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13642 src/evalvars.c, src/vim9compile.c,
13643 src/testdir/test_vim9_script.vim
13644
13645Patch 8.2.2226
13646Problem: Vim9: script test fails.
13647Solution: Add missing change.
13648Files: src/scriptfile.c
13649
13650Patch 8.2.2227
13651Problem: Vim9: recognizing lambda is too complicated.
13652Solution: Call compile_lambda() and check for NOTDONE.
13653Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13654
13655Patch 8.2.2228
13656Problem: Vim9: cannot use ":e #" because # starts a comment.
13657Solution: Support using %% instead of #.
13658Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13659
13660Patch 8.2.2229
13661Problem: build failure without the +eval feature.
13662Solution: Add #ifdef.
13663Files: src/ex_docmd.c
13664
13665Patch 8.2.2230
13666Problem: Vim9: insert completion runs into error.
13667Solution: Insert colon before range. (closes #7556)
13668Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13669
13670Patch 8.2.2231
13671Problem: When "--remote file" is used "file" is not reloaded.
13672Solution: When a :drop command is used for a file that is already displayed
13673 in a window and it has not been changed, check if it needs to be
13674 reloaded. (closes #7560)
13675Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13676
13677Patch 8.2.2232
13678Problem: Compiler error for falling through into next case.
13679Solution: Move FALLTHROUGH below the #endif
13680Files: src/ex_docmd.c
13681
13682Patch 8.2.2233
13683Problem: Cannot convert a byte index into a character index.
13684Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13685Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13686 src/testdir/test_functions.vim
13687
13688Patch 8.2.2234
13689Problem: Command line wildmenu test often fails with Unix GUI.
13690Solution: Skip the test where it is expected to fail.
13691Files: src/testdir/test_cmdline.vim
13692
13693Patch 8.2.2235
13694Problem: Build failure with some Ruby versions.
13695Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13696Files: ci/config.mk.clang.sed, src/if_ruby.c
13697
13698Patch 8.2.2236
13699Problem: 'scroll' option can change when setting the statusline or tabline
13700 but the option context is not updated.
13701Solution: Update the script context when the scroll option is changed as a
13702 side effect. (Christian Brabandt, closes #7533)
13703Files: runtime/doc/options.txt, src/scriptfile.c,
13704 src/testdir/test_options.vim, src/vim.h, src/window.c
13705
13706Patch 8.2.2237
13707Problem: CI on Mac fails in sed command.
13708Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
13709Files: .github/workflows/ci.yml
13710
13711Patch 8.2.2238
13712Problem: Vim9: cannot load a Vim9 script without the +eval feature.
13713Solution: Support Vim9 script syntax without the +eval feature.
13714Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
13715 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
13716 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
13717
13718Patch 8.2.2239
13719Problem: Vim9: concatenating lines with backslash is inconvenient.
13720Solution: Support concatenating lines starting with '|', useful for
13721 :autocmd, :command, etc. (closes #6702)
13722Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
13723 src/proto/vim9script.pro, src/vim9compile.c,
13724 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
13725 src/testdir/test_vim9_cmd.vim
13726
13727Patch 8.2.2240
13728Problem: Clientserver test fails if full path is used.
13729Solution: Ignore the path preceding the file name.
13730Files: src/testdir/test_clientserver.vim
13731
13732Patch 8.2.2241
13733Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013734Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013735Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
13736
13737Patch 8.2.2242
13738Problem: Vim9: line continuation with bar does not work at script level.
13739Solution: Check for Vim9 script.
13740Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
13741 src/testdir/test_vim9_cmd.vim
13742
13743Patch 8.2.2243
13744Problem: Crash when popup mask contains zeroes.
13745Solution: Check boundaries properly. (closes #7569)
13746Files: src/popupwin.c, src/testdir/test_popupwin.vim
13747
13748Patch 8.2.2244
13749Problem: Crash when making the window width of the not-current window
13750 negative.
13751Solution: Make sure the window width is not negative. (closes #7568)
13752Files: src/window.c, src/testdir/test_window_cmd.vim
13753
13754Patch 8.2.2245
13755Problem: Vim9: return value of winrestcmd() cannot be executed.
13756Solution: Put colons before each range. (closes #7571)
13757Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
13758
13759Patch 8.2.2246
13760Problem: Cursor keys not recognized at the hit-Enter prompt after executing
13761 an external command.
13762Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013763 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013764Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
13765
13766Patch 8.2.2247
13767Problem: VMS: various smaller problems.
13768Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
13769Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
13770 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
13771
13772Patch 8.2.2248
13773Problem: ASAN error on exit with GUI.
13774Solution: Check the window still has lines. (Christian Brabandt,
13775 closes #7573)
13776Files: src/term.c
13777
13778Patch 8.2.2249
13779Problem: Termcodes test is flaky when used over ssh with X forwarding.
13780Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
13781 closes #7563)
13782Files: src/testdir/test_termcodes.vim
13783
13784Patch 8.2.2250
13785Problem: Vim9: sublist is ambiguous.
13786Solution: Require white space around the colon. (closes #7409)
13787Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
13788 src/testdir/test_vim9_disassemble.vim
13789
13790Patch 8.2.2251
13791Problem: Test failures in legacy script.
13792Solution: Check for Vim9 script.
13793Files: src/eval.c
13794
13795Patch 8.2.2252
13796Problem: Vim9: crash when using lambda without return type in dict.
13797Solution: Without a return type use t_unknown. (closes #7587)
13798Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
13799
13800Patch 8.2.2253
13801Problem: Vim9: expr test fails.
13802Solution: Add missing assignment.
13803Files: src/userfunc.c
13804
13805Patch 8.2.2254
13806Problem: Vim9: bool option type is number.
13807Solution: Have get_option_value() return a different value for bool and
13808 number options. (closes #7583)
13809Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
13810 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
13811 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13812 src/testdir/test_vim9_cmd.vim
13813
13814Patch 8.2.2255 (after 8.2.2254)
13815Problem: Tcl test fails.
13816Solution: Change option handling.
13817Files: src/if_tcl.c
13818
13819Patch 8.2.2256
13820Problem: Vim9: cannot use function( after line break in :def function.
13821Solution: Check for "(" after "function". (closes #7581)
13822Files: src/userfunc.c, src/testdir/test_vim9_func.vim
13823
13824Patch 8.2.2257
13825Problem: Vim9: using -> for lambda is ambiguous.
13826Solution: Stop supporting ->, must use =>.
13827Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13828 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13829 src/testdir/test_vim9_disassemble.vim,
13830 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13831 src/testdir/test_vim9_script.vim
13832
13833Patch 8.2.2258
13834Problem: Not all OCaml related files are detected.
13835Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
13836Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13837
13838Patch 8.2.2259
13839Problem: Test_Executable() fails when using chroot.
13840Solution: Ignore the difference between "sbin" and "bin".
13841Files: src/testdir/test_functions.vim
13842
13843Patch 8.2.2260
13844Problem: Window resize test fails in very wide terminal.
13845Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
13846Files: src/testdir/test_window_cmd.vim
13847
13848Patch 8.2.2261
13849Problem: Vim9: boolean option gets string type.
13850Solution: Check for VAR_BOOL. (closes #7588)
13851Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13852
13853Patch 8.2.2262
13854Problem: Vim9: converting bool to string prefixes v:.
13855Solution: Do not use the v: prefix.
13856Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
13857 src/testdir/test_vim9_disassemble.vim
13858
13859Patch 8.2.2263
13860Problem: Vim9: compilation error with try-catch in skipped block.
13861Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
13862Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13863
13864Patch 8.2.2264
13865Problem: Vim9: no error for mismatched :endfunc or :enddef.
13866Solution: Check for the mismatch. (issue #7582)
13867Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
13868
13869Patch 8.2.2265
13870Problem: Error message for missing endfunc/enddef is last line.
13871Solution: Report the line where the function starts. (closes #7582)
13872Files: src/userfunc.c, src/testdir/test_vim9_func.vim
13873
13874Patch 8.2.2266
13875Problem: Vim9: it can be hard to see where white space is missing.
13876Solution: Mention the text where the error was seen. (closes #7580)
13877Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
13878 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13879
13880Patch 8.2.2267
13881Problem: Vim9: cannot use unlet for a dict member.
13882Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
13883Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13884
13885Patch 8.2.2268
13886Problem: Vim9: list unpack seen as declaration.
13887Solution: Check for "var". (closes #7594)
13888Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
13889 src/vim9execute.c, src/testdir/test_vim9_assign.vim
13890
13891Patch 8.2.2269
13892Problem: Not all :hardcopy code covered by tests.
13893Solution: Test more combinations. (Dominique Pellé, closes #7595)
13894Files: src/testdir/test_hardcopy.vim
13895
13896Patch 8.2.2270
13897Problem: Warning for size_t to int conversion. (Randall W. Morris)
13898Solution: Add a type cast.
13899Files: src/vim9execute.c
13900
13901Patch 8.2.2271
13902Problem: ml_get error when changing hidden buffer in Python.
13903Solution: Block updating folds. (closes #7598)
13904Files: src/evalbuffer.c, src/testdir/test_python3.vim
13905
13906Patch 8.2.2272
13907Problem: Vim9: extend() can violate the type of a variable.
13908Solution: Add the type to the dictionary or list and check items against it.
13909 (closes #7593)
13910Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
13911 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
13912 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
13913 src/testdir/test_vim9_disassemble.vim
13914
13915Patch 8.2.2273
13916Problem: Build failure.
13917Solution: Add missing changes to header file.
13918Files: src/vim9.h
13919
13920Patch 8.2.2274
13921Problem: badge for Travis is outdated.
13922Solution: Update badge for move from travis-ci.org to travis-ci.com.
13923Files: README.md
13924
13925Patch 8.2.2275
13926Problem: CTRL-C not recognized in Mintty.
13927Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
13928 Brabandt, closes #7575)
13929Files: src/ui.c
13930
13931Patch 8.2.2276
13932Problem: List of distributed files is outdated.
13933Solution: Update the file list. Minor comment updates.
13934Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
13935 src/screen.c, src/testdir/test_signals.vim,
13936 src/testdir/Make_vms.mms
13937
13938Patch 8.2.2277
13939Problem: Missing backslash.
13940Solution: Add backslash.
13941Files: Filelist
13942
13943Patch 8.2.2278
13944Problem: Falling back to old regexp engine can some patterns.
13945Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
13946 (Christian Brabandt, closes #7572)
13947Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13948
13949Patch 8.2.2279
13950Problem: Vim9: memory leak with catch in skipped block.
13951Solution: Free the pattern if not used.
13952Files: src/vim9compile.c
13953
13954Patch 8.2.2280
13955Problem: Fuzzy matching doesn't give access to the scores.
13956Solution: Return the scores with a third list. (Yegappan Lakshmanan,
13957 closes #7596)
13958Files: runtime/doc/eval.txt, src/search.c,
13959 src/testdir/test_matchfuzzy.vim
13960
13961Patch 8.2.2281
13962Problem: Vim9: compiled "wincmd" cannot be followed by bar.
13963Solution: Check for bar after "wincmd". (closes #7599)
13964Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13965
13966Patch 8.2.2282
13967Problem: Length check mismatch with argument of strncmp(). (Christian
13968 Brabandt)
13969Solution: Adjust length check.
13970Files: src/ui.c
13971
13972Patch 8.2.2283
13973Problem: Vim9: crash when lambda has fewer arguments than expected.
13974Solution: Don't check arguments when already failed. (closes #7606)
13975Files: src/vim9type.c, src/testdir/test_vim9_func.vim
13976
13977Patch 8.2.2284
13978Problem: Vim9: cannot set an option to a boolean value.
13979Solution: Check for VAR_BOOL. (closes #7603)
13980Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
13981
13982Patch 8.2.2285
13983Problem: Vim9: cannot set an option to a false.
13984Solution: For VAR_BOOL use string "0". (closes #7603)
13985Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
13986
13987Patch 8.2.2286
13988Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
13989Solution: Expect a different sort order. (closes #7609)
13990Files: src/testdir/test_sort.vim
13991
13992Patch 8.2.2287
13993Problem: Sort test fails when locale is French Canadian.
13994Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
13995Files: src/testdir/test_sort.vim
13996
13997Patch 8.2.2288
13998Problem: Vim9: line break and comment not always skipped.
13999Solution: Skip over white space and then line break more consistently.
14000 (closes #7610)
14001Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14002
14003Patch 8.2.2289
14004Problem: Vim9: 'cpo' can become empty.
14005Solution: Use empty_option instead of an empty string. Update quickfix
14006 buffer after restoring 'cpo'. (closes #7608)
14007Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14008 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14009 src/testdir/test_quickfix.vim
14010
14011Patch 8.2.2290
14012Problem: Vim9: unlet of global variable cannot be compiled.
14013Solution: Skip over variables that might be defined later. Give an error if
14014 a subscript is found. (closes #7585)
14015Files: src/eval.c, src/vim9compile.c, src/vim.h,
14016 src/testdir/test_vim9_assign.vim
14017
14018Patch 8.2.2291
14019Problem: Vim9: cannot use "null" for v:null.
14020Solution: Support "null" like "true" and "false". (closes #7495)
14021Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14022 src/testdir/test_vim9_expr.vim
14023
14024Patch 8.2.2292
14025Problem: Vim: expr test fails.
14026Solution: Add missing part of "null" support.
14027Files: src/eval.c
14028
14029Patch 8.2.2293
14030Problem: Build failure with Motif. (Tony Mechelynck)
14031Solution: Use empty_option instead of empty_options.
14032Files: src/gui_motif.c
14033
14034Patch 8.2.2294
14035Problem: VMS: a few remaining problems.
14036Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14037Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14038 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14039
14040Patch 8.2.2295
14041Problem: Incsearch does not detect empty pattern properly.
14042Solution: Return magic state when skipping over a pattern. (Christian
14043 Brabandt, closes #7612, closes #6420)
14044Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14045 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14046 src/search.c, src/structs.h, src/vim9compile.c,
14047 src/testdir/dumps/Test_incsearch_sub_01.dump,
14048 src/testdir/dumps/Test_incsearch_sub_02.dump,
14049 src/testdir/test_search.vim
14050
14051Patch 8.2.2296
14052Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14053Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14054Files: runtime/doc/popup.txt, src/popupwin.c,
14055 src/testdir/test_popupwin.vim
14056
14057Patch 8.2.2297
14058Problem: Vim9: cannot set 'number' to a boolean value.
14059Solution: Use tv_get_bool(). (closes #7615)
14060Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14061
14062Patch 8.2.2298
14063Problem: Vim9: comment right after "(" of function not recognized.
14064Solution: Do not skip over white space before calling get_function_args().
14065 (closes #7613)
14066Files: src/userfunc.c, src/proto/userfunc.pro,
14067 src/testdir/test_vim9_func.vim
14068
14069Patch 8.2.2299
14070Problem: Vim9: invalid memory access making error message flaky.
14071Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14072Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14073 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14074
14075Patch 8.2.2300
14076Problem: Vim9: wrong order on type stack when using dict.
14077Solution: Generate constants before a dict. (closes #7619)
14078Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14079
14080Patch 8.2.2301
14081Problem: Vim9: cannot unlet a dict or list item.
14082Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14083Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14084 src/testdir/test_vim9_assign.vim
14085
14086Patch 8.2.2302
14087Problem: Vim9: using an option value may use uninitialized memory.
14088Solution: Clear v_lock. (closes #7620)
14089Files: src/typval.c, src/testdir/test_vim9_expr.vim
14090
14091Patch 8.2.2303
14092Problem: Vim9: backtick expansion doesn't work for :foldopen.
14093Solution: Do recognize backtick expansion. (closes #7621)
14094Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14095
14096Patch 8.2.2304
14097Problem: Vim9: no test for unletting an imported variable.
14098Solution: Add a test. Fix line number in error.
14099Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14100
14101Patch 8.2.2305
14102Problem: Vim9: "++var" and "--var" are silently accepted.
14103Solution: Give an error message.
14104Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14105 src/testdir/test_vim9_expr.vim
14106
14107Patch 8.2.2306
14108Problem: Vim9: when using function reference type is not checked.
14109Solution: When using a function reference lookup the type and check the
14110 argument types. (issue #7629)
14111Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14112 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14113 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14114 src/testdir/test_vim9_func.vim
14115
14116Patch 8.2.2307
14117Problem: A shell command in the vimrc causes terminal output.
14118Solution: Do not call starttermcap() after a shell command if the termcap
14119 wasn't active before.
14120Files: src/ex_cmds.c
14121
14122Patch 8.2.2308
14123Problem: Vim9: no error when assigning lambda to funcref without return
14124 value.
14125Solution: Default return value to "any". (closes #7629)
14126Files: src/userfunc.c, src/vim9compile.c,
14127 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14128
14129Patch 8.2.2309
14130Problem: 0o777 not recognized as octal.
14131Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14132Files: src/charset.c, src/testdir/test_eval_stuff.vim
14133
14134Patch 8.2.2310
14135Problem: Vim9: winsaveview() return type is too generic.
14136Solution: use dict<number> instead of dict<any>. (closes #7626)
14137Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14138
14139Patch 8.2.2311
14140Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14141Solution: Check for assignment after possible command modifier.
14142 (closes #7632)
14143Files: src/vim9compile.c, src/ex_docmd.c,
14144 src/testdir/test_vim9_assign.vim
14145
14146Patch 8.2.2312
14147Problem: Build failure with Ruby 3.0 and 32 bits.
14148Solution: Add #ifdef. (closes #7638)
14149Files: src/if_ruby.c
14150
14151Patch 8.2.2313
14152Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14153 respected when parsing range fails.
14154Solution: Initialize ea.skip. On pattern failure handle it like an error.
14155 (closes #7636)
14156Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14157
14158Patch 8.2.2314
14159Problem: Vim9: returning zero takes two instructions.
14160Solution: Add ISN_RETURN_ZERO.
14161Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14162 src/testdir/test_vim9_disassemble.vim
14163
14164Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014165Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014166Solution: Check for following colon. (closes #7640)
14167Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14168
14169Patch 8.2.2316
14170Problem: Vim9: cannot list a lambda function.
14171Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14172Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14173
14174Patch 8.2.2317
14175Problem: Vim9: command modifier before list unpack doesn't work.
14176Solution: Only recognize "[" directly after the name. (closes #7641)
14177Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14178
14179Patch 8.2.2318
14180Problem: Vim9: string and list index work differently.
14181Solution: Make string index work like list index. (closes #7643)
14182Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14183 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14184
14185Patch 8.2.2319
14186Problem: "exptype_T" can be read as "expected type".
14187Solution: Rename to "exprtype_T", expression type.
14188Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14189 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14190 src/vim9.h
14191
14192Patch 8.2.2320
14193Problem: Vim9: no error for comparing bool with string.
14194Solution: Check for wrong types when comparing. (closes #7639)
14195Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14196
14197Patch 8.2.2321
14198Problem: Vim9: cannot nest closures.
14199Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14200 (closes #7150, closes #7635)
14201Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14202 src/testdir/test_vim9_disassemble.vim,
14203 src/testdir/test_vim9_func.vim
14204
14205Patch 8.2.2322
14206Problem: Vim9: closure nested limiting to one level.
14207Solution: Add outer_T. Also make STOREOUTER work.
14208Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14209 src/testdir/test_vim9_func.vim
14210
14211Patch 8.2.2323
14212Problem: Vim9: error when inferring type from empty dict/list.
14213Solution: When the member is t_unknown use t_any. (closes #7009)
14214Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14215
14216Patch 8.2.2324
14217Problem: Not easy to get mark en cursor position by character count.
14218Solution: Add functions that use character index. (Yegappan Lakshmanan,
14219 closes #7648)
14220Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14221 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14222 src/testdir/test_cursor_func.vim, src/typval.c
14223
14224Patch 8.2.2325
14225Problem: Vim9: crash if map() changes the item type.
14226Solution: Check that the item type is still OK. (closes #7652)
14227 Fix problem with mapnew() on range list.
14228Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14229 src/list.c, src/testdir/test_vim9_builtin.vim,
14230 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14231
14232Patch 8.2.2326
14233Problem: Build error with +eval feature but without +spell.
14234Solution: Adjust #ifdef. (John Marriott)
14235Files: src/mbyte.c
14236
14237Patch 8.2.2327
14238Problem: Debugging code included.
14239Solution: Remove the debugging code.
14240Files: src/vim9execute.c
14241
14242Patch 8.2.2328
14243Problem: Some test files may not be deleted.
14244Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14245Files: src/testdir/test_clientserver.vim,
14246 src/testdir/test_vim9_script.vim
14247
14248Patch 8.2.2329
14249Problem: Not all ways Vim can be started are tested.
14250Solution: Add a test for different program names. (Dominique Pellé,
14251 closes #7651)
14252Files: src/testdir/test_startup.vim
14253
14254Patch 8.2.2330
14255Problem: Vim9: crash when using :trow in a not executed block.
14256Solution: Don't generate the instruction when skipping. (closes #7659)
14257Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14258
14259Patch 8.2.2331
14260Problem: Vim9: wrong error when modifying dict declared with :final.
14261Solution: Do not check for writable variable when an index follows.
14262 (closes #7657)
14263Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14264 src/proto/vim9script.pro, src/evalvars.c,
14265 src/testdir/test_vim9_assign.vim
14266
14267Patch 8.2.2332
14268Problem: Vim9: missing :endif not reported when using :windo.
14269Solution: Pass a getline function to do_cmdline(). (closes #7650)
14270Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14271 src/testdir/test_vim9_cmd.vim
14272
14273Patch 8.2.2333
14274Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14275Solution: Initialize "res".
14276Files: src/vim9execute.c
14277
14278Patch 8.2.2334
14279Problem: Pascal-like filetypes not always detected.
14280Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14281 closes #7662)
14282Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14283 runtime/scripts.vim, src/testdir/test_filetype.vim
14284
14285Patch 8.2.2335
14286Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014287Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014288Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14289
14290Patch 8.2.2336
14291Problem: Vim9: it is not possible to extend a dictionary with different
14292 item types.
14293Solution: Add extendnew(). (closes #7666)
14294Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14295 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14296 src/testdir/test_vim9_builtin.vim
14297
14298Patch 8.2.2337
14299Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14300Solution: Hint that a -def package is needed. (closes #5229)
14301Files: src/configure.ac, src/auto/configure
14302
14303Patch 8.2.2338
14304Problem: Vim9: no error if using job_info() result wrongly.
14305Solution: Adjust return type on number of arguments. (closes #7667)
14306Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14307
14308Patch 8.2.2339
14309Problem: Cannot get the type of a value as a string.
14310Solution: Add typename().
14311Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14312 src/vim9type.c, src/proto/vim9type.pro,
14313 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14314
14315Patch 8.2.2340
14316Problem: win_execute() unexpectedly returns number zero when failing.
14317Solution: Return an empty string. (closes #7665)
14318Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14319 src/testdir/test_execute_func.vim
14320
14321Patch 8.2.2341
14322Problem: Expression command line completion shows variables but not
14323 functions after "g:". (Gary Johnson)
14324Solution: Prefix "g:" when needed to a global function.
14325Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14326 src/testdir/test_cmdline.vim
14327
14328Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014329Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014330 cursor is beyond the end of the line.
14331Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14332Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14333
14334Patch 8.2.2343
14335Problem: Vim9: return type of readfile() is any.
14336Solution: Add readblob() so that readfile() can be expected to always
14337 return a list of strings. (closes #7671)
14338Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14339 src/filepath.c, src/proto/filepath.pro,
14340 src/testdir/test_vim9_builtin.vim
14341
14342Patch 8.2.2344
14343Problem: Using inclusive index for slice is not always desired.
14344Solution: Add the slice() method, which has an exclusive index. (closes
14345 #7408)
14346Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14347 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14348 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14349 src/testdir/test_vim9_builtin.vim
14350
14351Patch 8.2.2345
14352Problem: No focus events in a terminal.
14353Solution: Add the t_fd and t_fe termcap entries and implement detecting
14354 focus events. (Hayaki Saito, Magnus Groß, closes #7673,
14355 closes #609, closes #5526)
14356Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14357
14358Patch 8.2.2346
14359Problem: Codecov reports every little coverage drop.
14360Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14361 Kiichi, closes #7678)
14362Files: .appveyor.yml, appveyor.yml, .codecov.yml
14363
14364Patch 8.2.2347
14365Problem: Build failure without GUI.
14366Solution: Add #ifdef.
14367Files: src/term.c
14368
14369Patch 8.2.2348 (after 8.2.2345)
14370Problem: No check for modified files after focus gained. (Mathias Stearn)
14371Solution: Call ui_focus_change().
14372Files: src/term.c, src/ui.c
14373
14374Patch 8.2.2349
14375Problem: Vim9: cannot handle line break after parenthesis at line end.
14376Solution: Skip over line break. (closes #7677)
14377Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14378
14379Patch 8.2.2350
14380Problem: Using "void" for no reason.
14381Solution: Use "char *".
14382Files: src/ex_docmd.c
14383
14384Patch 8.2.2351
14385Problem: Vim9: error message for "throw" in function that was called with
14386 "silent!".
14387Solution: Do not throw the exception when not caught or displayed.
14388 (closes #7672)
14389Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14390
14391Patch 8.2.2352
14392Problem: If the focus lost/gained escape sequence is received twice it is
14393 not ignored. (Christ van Willigen)
14394Solution: Adjust the logic to ignore the escape code.
14395Files: src/term.c
14396
14397Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014398Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014399Solution: Add the sparql filetype. (closes #7679)
14400Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14401
14402Patch 8.2.2354
14403Problem: Crash with a weird combination of autocommands.
14404Solution: Increment b_nwindows when needed. (closes #7674)
14405Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14406 src/testdir/test_autocmd.vim
14407
14408Patch 8.2.2355
14409Problem: Stray test failure on Appveyor.
14410Solution: Finish insert command.
14411Files: src/testdir/test_autocmd.vim
14412
14413Patch 8.2.2356
14414Problem: Vim9: ":put =expr" does not handle a list properly.
14415Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14416Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14417 src/testdir/test_vim9_cmd.vim
14418
14419Patch 8.2.2357
14420Problem: Vim9: crash when parsing function return type fails.
14421Solution: Bail out and set return type to "unknown". (closes #7685)
14422Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14423
14424Patch 8.2.2358
14425Problem: Wrong #ifdef for use_xterm_like_mouse().
14426Solution: Use FEAT_MOUSE_XTERM.
14427Files: src/term.c
14428
14429Patch 8.2.2359
14430Problem: Strange test failure with MS-Windows.
14431Solution: Skip the system() call for now.
14432Files: src/testdir/test_autocmd.vim
14433
14434Patch 8.2.2360
14435Problem: Test leaves file behind.
14436Solution: Delete the right file. (Dominique Pellé, closes #7689)
14437Files: src/testdir/test_filetype.vim
14438
14439Patch 8.2.2361
14440Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14441Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14442Files: src/ex_cmds.c
14443
14444Patch 8.2.2362
14445Problem: Vim9: check of builtin function argument type is incomplete.
14446Solution: Use need_type() instead of check_arg_type().
14447Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14448 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14449 src/testdir/test_vim9_builtin.vim
14450
14451Patch 8.2.2363
14452Problem: curpos() does not accept a string argument as before.
14453solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014454 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014455Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14456
14457Patch 8.2.2364
14458Problem: Vim9: line break in lambda accesses freed memory.
14459Solution: Make a copy of the return type. (closes #7664)
14460Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14461
14462Patch 8.2.2365
14463Problem: Vim9: no check for map() changing item type at script level.
14464Solution: Check the new value type.
14465Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14466 src/testdir/test_vim9_assign.vim
14467
14468Patch 8.2.2366
14469Problem: When using ":sleep" the cursor is always displayed.
14470Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14471 closes #7688)
14472Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14473 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14474 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14475
14476Patch 8.2.2367
14477Problem: Test failures on some less often used systems.
14478Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14479Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14480
14481Patch 8.2.2368
14482Problem: Insufficient tests for setting options.
14483Solution: Add a few tests. (Dominique Pellé, closes #7695)
14484Files: src/testdir/test_options.vim
14485
14486Patch 8.2.2369
14487Problem: Vim9: functions return true/false but can't be used as bool.
14488Solution: Add ret_number_bool(). (closes #7693)
14489Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14490 src/testdir/test_vim9_disassemble.vim
14491
14492Patch 8.2.2370
14493Problem: Vim9: command fails in catch block.
14494Solution: Reset force_abort and need_rethrow. (closes #7692)
14495Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14496
14497Patch 8.2.2371
14498Problem: Vim9: crash when using types in :for with unpack.
14499Solution: Check for skip_var_list() failing. Pass include_type to
14500 skip_var_one(). Skip type when compiling. (closes #7694)
14501Files: src/vim9compile.c, src/evalvars.c,
14502 src/testdir/test_vim9_script.vim
14503
14504Patch 8.2.2372 (after 8.2.2371)
14505Problem: Confusing error message for wrong :let command.
14506Solution: Only check for type in Vim9 script.
14507Files: src/evalvars.c
14508
14509Patch 8.2.2373
14510Problem: Vim9: list assignment only accepts a number index.
14511Solution: Accept "any" and do a runtime type check. (closes #7694)
14512Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14513
14514Patch 8.2.2374
14515Problem: Accessing uninitialized memory in test_undo.
14516Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14517 closes #7697)
14518Files: src/edit.c
14519
14520Patch 8.2.2375
14521Problem: Test for RGB color skipped in the terminal.
14522Solution: Run the GUI if possible.
14523Files: src/testdir/test_highlight.vim
14524
14525Patch 8.2.2376
14526Problem: Vim9: crash when dividing by zero in compiled code using
14527 constants.
14528Solution: Call num_divide() and num_modulus(). (closes #7704)
14529Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14530
14531Patch 8.2.2377
14532Problem: Vim9: crash when using a range after another expression.
14533Solution: Set the variable type to number. Fix using :put with a range and
14534 the "=" register. (closes #7706)
14535Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14536
14537Patch 8.2.2378
14538Problem: Vim9: no error message for dividing by zero.
14539Solution: Give an error message. (issue #7704)
14540Files: src/errors.h, src/eval.c, src/vim9execute.c,
14541 src/testdir/test_vim9_expr.vim
14542
14543Patch 8.2.2379
14544Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14545Solution: Only do internal suggestions once. (closes #7713)
14546Files: src/spellsuggest.c
14547
14548Patch 8.2.2380
14549Problem: Vim9: occasional crash when using try/catch and a timer.
14550Solution: Save and restore "need_rethrow" when invoking a timer callback.
14551 (closes #7708)
14552Files: src/time.c
14553
14554Patch 8.2.2381
14555Problem: Vim9: divide by zero does not abort expression execution.
14556Solution: Use a "failed" flag. (issue #7704)
14557Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14558 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14559
14560Patch 8.2.2382 (after 8.2.2381)
14561Problem: Build failure.
14562Solution: Add missing changes.
14563Files: src/vim9execute.c
14564
14565Patch 8.2.2383
14566Problem: Focus escape sequences are not named in ":set termcap" output.
14567Solution: Add the names to the list. (closes #7718)
14568Files: src/misc2.c
14569
14570Patch 8.2.2384
14571Problem: Turtle filetype not recognized.
14572Solution: Add a rule to detect turtle files. (closes #7722)
14573Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14574
14575Patch 8.2.2385
14576Problem: "gj" and "gk" do not work correctly when inside a fold.
14577Solution: Move check for folding. (closes #7724, closes #4095)
14578Files: src/normal.c, src/testdir/test_fold.vim
14579
14580Patch 8.2.2386
14581Problem: Vim9: crash when using ":silent! put".
14582Solution: When ignoring an error for ":silent!" rewind the stack and skip
14583 ahead to restoring the cmdmod. (closes #7717)
14584Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14585
14586Patch 8.2.2387
14587Problem: Runtime type check does not mention argument index.
14588Solution: Add ct_arg_idx. (closes #7720)
14589Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14590 src/testdir/test_vim9_builtin.vim,
14591 src/testdir/test_vim9_disassemble.vim,
14592 src/testdir/test_vim9_func.vim
14593
14594Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014595Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014596Solution: Add v:numbermax and v:numbermin.
14597Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14598 runtime/doc/eval.txt
14599
14600Patch 8.2.2389
14601Problem: Test failure on a few systems.
14602Solution: Avoid that "char" value is negative.
14603Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14604
14605Patch 8.2.2390
14606Problem: Vim9: using positive offset is unexpected.
14607Solution: Use int8_T instead of char. (James McCoy)
14608Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14609
14610Patch 8.2.2391
14611Problem: Memory leak when creating a global function with closure.
14612Solution: Create a separate partial for every instantiated function.
14613Files: src/userfunc.c, src/vim9execute.c
14614
14615Patch 8.2.2392
14616Problem: Fennel filetype not recognized.
14617Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14618Files: runtime/filetype.vim, runtime/scripts.vim,
14619 src/testdir/test_filetype.vim
14620
14621Patch 8.2.2393
14622Problem: Vim9: error message when script line starts with "[{".
14623Solution: Do not give an error for checking for end of list.
14624Files: src/dict.c, src/testdir/test_vim9_script.vim
14625
14626Patch 8.2.2394
14627Problem: Vim9: min() and max() return type is "any".
14628Solution: Use return type "number". (closes #7728)
14629Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14630
14631Patch 8.2.2395
14632Problem: Vim9: error for wrong type may report wrong line number.
14633Solution: Save and restore the line number when evaluating the expression.
14634 (closes #7727)
14635Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14636
14637Patch 8.2.2396
14638Problem: Vim9: no white space allowed before "->".
14639Solution: Allow for white space. (closes #7725)
14640Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14641
14642Patch 8.2.2397
14643Problem: Vim9: "%%" not seen as alternate file name for commands with a
14644 buffer name argument.
14645Solution: Recognize "%%" like "#". (closes #7732)
14646Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14647
14648Patch 8.2.2398 (after 8.2.2396)
14649Problem: Method test fails.
14650Solution: Adjust test for allowed white space.
14651Files: src/testdir/test_method.vim
14652
14653Patch 8.2.2399 (after 8.2.2385)
14654Problem: Fold test fails in wide terminal.
14655Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14656Files: src/testdir/test_fold.vim
14657
14658Patch 8.2.2400
14659Problem: Vim9: compiled functions are not profiled.
14660Solution: Add initial changes to profile compiled functions. Fix that a
14661 script-local function was hard to debug.
14662Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14663 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14664 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14665 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14666 src/testdir/test_vim9_disassemble.vim,
14667 src/testdir/test_profile.vim
14668
14669Patch 8.2.2401
14670Problem: Build fails without +profiling feature.
14671Solution: Add #ifdefs.
14672Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14673 src/testdir/test_vim9_disassemble.vim
14674
14675Patch 8.2.2402
14676Problem: Some filetypes not detected.
14677Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14678Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14679
14680Patch 8.2.2403
14681Problem: Vim9: profiling if/elseif/endif not correct.
14682Solution: Add profile instructions. Fix that "elseif" was wrong.
14683Files: src/vim9compile.c, src/testdir/test_profile.vim,
14684 src/testdir/test_vim9_script.vim,
14685 src/testdir/test_vim9_disassemble.vim
14686
14687Patch 8.2.2404
14688Problem: Vim9: profiling try/catch not correct.
14689Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014690 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014691Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14692
14693Patch 8.2.2405
14694Problem: Vim9: no need to allow white space before "(" for :def.
14695Solution: Give an error for stray white space. (issue #7734)
14696Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14697
14698Patch 8.2.2406
14699Problem: Vim9: profiled :def function leaks memory.
14700Solution: Delete the profiled instructions.
14701Files: src/vim9compile.c
14702
14703Patch 8.2.2407
14704Problem: Old jumplist code is never used.
14705Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14706Files: src/mark.c
14707
14708Patch 8.2.2408
14709Problem: MinGW: "--preprocessor" flag no longer supported.
14710Solution: Remove the flag, use the defaults. (Christopher Wellons,
14711 closes #7741)
14712Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
14713
14714Patch 8.2.2409
14715Problem: Vim9: profiling only works for one function.
14716Solution: Select the right instructions when calling and returning.
14717 (closes #7743)
14718Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
14719 src/testdir/test_profile.vim
14720
14721Patch 8.2.2410
14722Problem: Build failure without the +profiling feature.
14723Solution: Add dummy argument to macro.
14724Files: src/vim9.h
14725
14726Patch 8.2.2411
14727Problem: Profile test fails on MS-Windows.
14728Solution: Do the profiling in a separate Vim command.
14729Files: src/testdir/test_profile.vim
14730
14731Patch 8.2.2412
14732Problem: Not all fields in "cstack" are initialized which might cause a
14733 crash.
14734Solution: Use CLEAR_FIELD().
14735Files: src/ex_docmd.c
14736
14737Patch 8.2.2413
14738Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
14739Solution: Disallow :all from the cmdline window.
14740Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
14741
14742Patch 8.2.2414
14743Problem: Using freed memory when closing the cmdline window.
14744Solution: Check the window is still valid.
14745Files: src/ex_getln.c
14746
14747Patch 8.2.2415
14748Problem: No way to check for the cmdwin feature, cmdline_hist is now always
14749 enabled.
14750Solution: Add has('cmdwin') support. Skip arglist test on Windows
14751 temporarily.
14752Files: runtime/doc/cmdline.txt, src/evalfunc.c,
14753 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
14754 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
14755 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
14756 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
14757
14758Patch 8.2.2416
14759Problem: May get stuck in command line window state.
14760Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
14761 pass on MS-Windows.
14762Files: src/ex_getln.c, src/testdir/test_arglist.vim
14763
14764Patch 8.2.2417
14765Problem: Condition stack values may be used when not set.
14766Solution: Clear cs_script_var_len and cs_block_id just in case they get used
14767 later. (issue #7733)
14768Files: src/ex_eval.c
14769
14770Patch 8.2.2418
14771Problem: Color not changed if ModeMsg highlight is set in InsertEnter
14772 autocmd event. (Paul Swanson)
14773Solution: Call highlight_changed() after triggering InsertEnter.
14774 (closes #7751)
14775Files: src/edit.c
14776
14777Patch 8.2.2419
14778Problem: Autocmd test was failing on MS-Windows with GUI.
14779Solution: Remove stray feedkeys().
14780Files: src/testdir/test_autocmd.vim
14781
14782Patch 8.2.2420
14783Problem: Too many problems with using all autocommand events.
14784Solution: Disallow defining an autocommand for all events.
14785Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
14786 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
14787
14788Patch 8.2.2421
14789Problem: Double free when using autocommand with "argdel". (Houyunsong)
14790Solution: Add the arglist_locked flag.
14791Files: src/arglist.c, src/testdir/test_autocmd.vim
14792
14793Patch 8.2.2422
14794Problem: Crash when deleting with line number out of range. (Houyunsong)
14795Solution: Avoid using a negative line number.
14796Files: src/normal.c, src/testdir/test_ex_mode.vim
14797
14798Patch 8.2.2423 (after 8.2.2422)
14799Problem: Missing error message.
14800Solution: Add the error message.
14801Files: src/errors.h
14802
14803Patch 8.2.2424
14804Problem: Some tests are known to cause an error with ASAN.
14805Solution: Add CheckNotAsan.
14806Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
14807 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
14808
14809Patch 8.2.2425
14810Problem: Cursor on invalid line with range and :substitute.
14811Solution: Do not move the cursor when skipping commands. (closes #3434)
14812Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
14813
14814Patch 8.2.2426
14815Problem: Allowing 'completefunc' to switch windows causes trouble.
14816Solution: use "textwinlock" instead of "textlock".
14817Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14818 src/testdir/test_popup.vim
14819
14820Patch 8.2.2427
14821Problem: Can still switch windows for 'completefunc'.
14822Solution: Also disallow switching windows for other completions.
14823Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14824 src/testdir/test_popup.vim
14825
14826Patch 8.2.2428
14827Problem: FocusGained does not work when 'ttymouse' is empty.
14828Solution: Don't use the short mouse code if there is a longer matching code.
14829 (closes #7755) Add a test.
14830Files: src/term.c, src/testdir/test_termcodes.vim
14831
14832Patch 8.2.2429
14833Problem: :goto does not work correctly with text properties. (Sam McCall)
14834Solution: Add a test. (Andrew Radev) Also use the text property size when
14835 computing the remaining offset. (closes #5930)
14836Files: src/memline.c, src/testdir/test_textprop.vim
14837
14838Patch 8.2.2430
14839Problem: :vimgrep expands wildcards twice.
14840Solution: Do not expand wildcards a second time.
14841Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
14842
14843Patch 8.2.2431
14844Problem: Warning for -fno-strength-reduce with Clang 11.
14845Solution: Adjust check for clang version number.
14846Files: src/configure.ac, src/auto/configure
14847
14848Patch 8.2.2432
14849Problem: Libvterm tests are executed even when libtool doesn't work.
14850Solution: Only run libvterm tests if /usr/bin/gcc exists.
14851Files: src/Makefile
14852
14853Patch 8.2.2433
14854Problem: Opening cmdline window gives error in BufLeave autocommand.
14855Solution: Reset cmdwin_type when triggering the autocommand.
14856Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
14857
14858Patch 8.2.2434
14859Problem: Vim9: no error when compiling str2nr() with a number.
14860Solution: Add argument type checks. (closes #7759)
14861Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
14862 src/testdir/test_vim9_builtin.vim
14863
14864Patch 8.2.2435
14865Problem: setline() gives an error for some types.
14866Solution: Allow any type, convert each item to a string.
14867Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
14868 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
14869 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
14870
14871Patch 8.2.2436
14872Problem: Vim9 script test is a bit flaky.
14873Solution: Wait longer for exit callback.
14874Files: src/testdir/test_vim9_script.vim
14875
14876Patch 8.2.2437
14877Problem: Deprecation warnings with default configuration.
14878Solution: Add -Wno-deprecated-declarations.
14879Files: src/configure.ac, src/auto/configure
14880
14881Patch 8.2.2438
14882Problem: Out of bounds compiler warning.
14883Solution: Increase the size of uf_name.
14884Files: src/structs.h
14885
14886Patch 8.2.2439
14887Problem: Not easy to figure out what packages to get when installing Vim on
14888 a new Ubuntu system.
14889Solution: Mention explicit commands that are easy to follow.
14890Files: src/INSTALL
14891
14892Patch 8.2.2440
14893Problem: Documentation based on patches is outdated.
14894Solution: Add changes to documentation in a patch.
14895Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
14896 runtime/doc/change.txt, runtime/doc/channel.txt,
14897 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
14898 runtime/doc/develop.txt, runtime/doc/digraph.txt,
14899 runtime/doc/editing.txt, runtime/doc/eval.txt,
14900 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
14901 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
14902 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
14903 runtime/doc/helphelp.txt, runtime/doc/help.txt,
14904 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
14905 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
14906 runtime/doc/index.txt, runtime/doc/insert.txt,
14907 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
14908 runtime/doc/message.txt, runtime/doc/mlang.txt,
14909 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
14910 runtime/doc/options.txt, runtime/doc/os_dos.txt,
14911 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
14912 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
14913 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
14914 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
14915 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
14916 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
14917 runtime/doc/print.txt, runtime/doc/quickfix.txt,
14918 runtime/doc/quickref.txt, runtime/doc/recover.txt,
14919 runtime/doc/remote.txt, runtime/doc/repeat.txt,
14920 runtime/doc/rileft.txt, runtime/doc/sign.txt,
14921 runtime/doc/spell.txt, runtime/doc/starting.txt,
14922 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
14923 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
14924 runtime/doc/term.txt, runtime/doc/testing.txt,
14925 runtime/doc/textprop.txt, runtime/doc/tips.txt,
14926 runtime/doc/todo.txt, runtime/doc/uganda.txt,
14927 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
14928 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
14929 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
14930 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
14931 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
14932 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
14933 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
14934 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
14935 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
14936 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
14937 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
14938 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
14939 runtime/doc/various.txt, runtime/doc/version5.txt,
14940 runtime/doc/version6.txt, runtime/doc/version7.txt,
14941 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
14942 runtime/doc/vim9.txt, runtime/doc/visual.txt,
14943 runtime/doc/windows.txt
14944
14945Patch 8.2.2441
14946Problem: Vim9: extend() does not give an error for a type mismatch.
14947Solution: Check the type of the second argument. (closes #7760)
14948Files: src/list.c, src/testdir/test_vim9_builtin.vim
14949
14950Patch 8.2.2442
14951Problem: Automatic GUI selection does not check for GTK 3.
14952Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
14953 YES when checking for GTK2.
14954Files: src/configure.ac, src/auto/configure
14955
14956Patch 8.2.2443
14957Problem: Vim9: no compile time error for wrong str2float argument.
14958Solution: Check argument type. (closes #7759)
14959Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14960
14961Patch 8.2.2444
14962Problem: Vim9: compile error with combination of operator and list.
14963Solution: Generate constants before parsing a list or dict. (closes #7757)
14964Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14965
14966Patch 8.2.2445
14967Problem: Vim9: no proper error for lambda missing return type.
14968Solution: Check for this error. (closes #7758)
14969Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14970
14971Patch 8.2.2446
14972Problem: Setting 'term' empty has different error if compiled with GUI.
14973Solution: Insert "else". (closes #7766)
14974Files: src/optionstr.c, src/testdir/test_options.vim
14975
14976Patch 8.2.2447
14977Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014978Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014979Files: src/fold.c, src/testdir/test_mksession.vim
14980
14981Patch 8.2.2448
14982Problem: Compilation error with Ruby 3.0.
14983Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
14984Files: src/if_ruby.c
14985
14986Patch 8.2.2449
14987Problem: Vim9: flatten() always changes the list type.
14988Solution: Disallow using flatten() and add flattennew().
14989Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14990 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
14991 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
14992
14993Patch 8.2.2450
14994Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
14995Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
14996Files: src/bufwrite.c
14997
14998Patch 8.2.2451
14999Problem: MS-Windows: Extended Attributes not preserved.
15000Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15001 closes #7765)
15002Files: src/os_win32.c
15003
15004Patch 8.2.2452
15005Problem: No completion for the 'filetype' option.
15006Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15007Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15008
15009Patch 8.2.2453
15010Problem: Vim9: a variable name with "->" in the next line doesn't work.
15011Solution: Recognize a variable name by itself. (closes #7770)
15012Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15013
15014Patch 8.2.2454
15015Problem: Leading space can not be made visible.
15016Solution: Add "lead:" to 'listchars'. (closes #7772)
15017Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15018 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15019
15020Patch 8.2.2455
15021Problem: Vim9: key type that can be used for literal dict and indexing is
15022 inconsistent.
15023Solution: Allow using number and bool as key for a literal dict. (#7771)
15024Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15025 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15026 src/testdir/test_vim9_script.vim
15027
15028Patch 8.2.2456
15029Problem: Coverity warning for strcpy() into fixed size array.
15030Solution: Add a type cast to hopefully silence the bogus warning.
15031Files: src/userfunc.c
15032
15033Patch 8.2.2457
15034Problem: Coverity warns for memory leak.
15035Solution: Free memory when out of memory.
15036Files: src/if_cscope.c
15037
15038Patch 8.2.2458
15039Problem: Coverity warns for :retab using freed memory.
15040Solution: Use the updated line pointer when moving text properties.
15041Files: src/indent.c
15042
15043Patch 8.2.2459
15044Problem: Coverity reports dead code.
15045Solution: Remove the dead code.
15046Files: src/eval.c
15047
15048Patch 8.2.2460
15049Problem: Coverity warns for unused value.
15050Solution: Do not reset the return value to OK.
15051Files: src/vim9compile.c
15052
15053Patch 8.2.2461
15054Problem: Coverity warns for unchecked return value.
15055Solution: Add "(void)" to avoid the warning.
15056Files: src/vim9execute.c
15057
15058Patch 8.2.2462
15059Problem: Coverity warns for not checking for fseek() error.
15060Solution: Give an error message if fseek() fails.
15061Files: src/spellfile.c
15062
15063Patch 8.2.2463
15064Problem: Using :arglocal in an autocommand may use freed memory.
15065 (houyunsong)
15066Solution: Check if the arglist is locked.
15067Files: src/arglist.c, src/testdir/test_autocmd.vim
15068
15069Patch 8.2.2464
15070Problem: Using freed memory if window closed in autocommand. (houyunsong)
15071Solution: Check the window still exists.
15072Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15073
15074Patch 8.2.2465
15075Problem: Using freed memory in :psearch. (houyunsong)
15076Solution: Check the current window is still valid. Fix flaky test.
15077Files: src/search.c, src/testdir/test_autocmd.vim
15078
15079Patch 8.2.2466
15080Problem: Max() and min() can give many error messages.
15081Solution: Bail out at the first error. (closes #1039, closes #7778)
15082Files: src/evalfunc.c, src/testdir/test_functions.vim
15083
15084Patch 8.2.2467
15085Problem: Script generated by :mkview changes alternate file.
15086Solution: Only write :balt in the session file. (Harish Rajagopal,
15087 closes #7779)
15088Files: src/session.c, src/testdir/test_mksession.vim
15089
15090Patch 8.2.2468
15091Problem: Not easy to get the full command name from a shortened one.
15092Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15093Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15094 src/ex_docmd.c, src/proto/evalfunc.pro,
15095 src/testdir/test_cmdline.vim
15096
15097Patch 8.2.2469
15098Problem: Confusing error if :winsize has a wrong argument.
15099Solution: Quote the argument in the error. (closes #2523)
15100Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15101
15102Patch 8.2.2470
15103Problem: Popup_getoptions() does not get textprop from other tab.
15104Solution: use win_valid_any_tab(). (closes #7786)
15105Files: src/popupwin.c, src/testdir/test_popupwin.vim
15106
15107Patch 8.2.2471
15108Problem: Popup_setoptions() does not set textprop in other tab.
15109Solution: use win_valid_any_tab(). (closes #7788)
15110Files: src/popupwin.c, src/testdir/test_popupwin.vim
15111
15112Patch 8.2.2472
15113Problem: Crash when using command line window in an autocommand.
15114 (houyunsong)
15115Solution: Save and restore au_new_curbuf.
15116Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15117
15118Patch 8.2.2473
15119Problem: Crash when leaving command line window triggers autocommand.
15120 (houyunsong)
15121Solution: Make sure not to close the current window or buffer.
15122Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15123
15124Patch 8.2.2474
15125Problem: Using freed memory when window is closed by autocommand.
15126 (houyunsong)
15127Solution: Check the window pointer is still valid.
15128Files: src/quickfix.c, src/testdir/test_autocmd.vim
15129
15130Patch 8.2.2475
15131Problem: Autocommand tests hangs on MS-Windows.
15132Solution: Skip one test.
15133Files: src/testdir/test_autocmd.vim
15134
15135Patch 8.2.2476
15136Problem: Using freed memory when using an autocommand to split a window
15137 while a buffer is being closed.
15138Solution: Disallow splitting when the buffer has b_locked_split set.
15139Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15140 src/popupwin.c, src/testdir/test_autocmd.vim
15141
15142Patch 8.2.2477
15143Problem: Autocommand tests hang on MS-Windows.
15144Solution: Skip a couple of tests. Fix file name.
15145Files: src/testdir/test_autocmd.vim
15146
15147Patch 8.2.2478
15148Problem: MS-Windows: backup files for plugins are loaded.
15149Solution: Do not use the alternate file name for files ending in "~".
15150Files: src/filepath.c
15151
15152Patch 8.2.2479
15153Problem: set/getbufline test fails without the job feature.
15154Solution: Check whether the job feature is supported. (Dominique Pellé,
15155 closes #7790)
15156Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15157
15158Patch 8.2.2480
15159Problem: Vim9: some errors for white space do not show context.
15160Solution: Include the text at the error.
15161Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15162 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15163
15164Patch 8.2.2481
15165Problem: Vim9: confusing error when variable arguments have a default
15166 value.
15167Solution: Give a specific error message. (closes #7793)
15168Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15169
15170Patch 8.2.2482
15171Problem: Build error.
15172Solution: Add new error message.
15173Files: src/errors.h
15174
15175Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015176Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015177Solution: Check for end of command before checking type. (closes #7795)
15178Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15179
15180Patch 8.2.2484
15181Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15182Solution: Remove the check for "{" since #{ dictionaries are not supported.
15183Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15184
15185Patch 8.2.2485
15186Problem: When sourcing a script again the script version isn't reset.
15187Solution: Set sn_version to one when sourcing a script again. Clear
15188 sn_save_cpo properly. (closes #7608)
15189Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15190
15191Patch 8.2.2486
15192Problem: Vim9: some errors for white space do not show context.
15193Solution: Include the text at the error.
15194Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15195 src/vim9compile.c, src/vim9type.c
15196
15197Patch 8.2.2487
15198Problem: Terminal shows garbage after double-wide character with a
15199 combining character. (Kyoichiro Yamada)
15200Solution: Libvterm: do not add the width of the combining character to the
15201 glyph width. (closes #7801)
15202Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15203 src/testdir/dumps/Test_terminal_combining.dump
15204
15205Patch 8.2.2488
15206Problem: json_encode() gives generic argument error.
15207Solution: Mention the type that can't be encoded. (issue #7802)
15208Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15209
15210Patch 8.2.2489
15211Problem: current buffer is wrong after deletebufline() fails to delete a
15212 line in another buffer.
15213Solution: Restore the current buffer.
15214Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15215
15216Patch 8.2.2490
15217Problem: 'wrap' option is always reset when starting diff mode.
15218Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15219Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15220 src/testdir/test_diffmode.vim
15221
15222Patch 8.2.2491
15223Problem: Popup window for text property may show in first screen line.
15224Solution: If the text position is invisible do not show the popup window.
15225 (closes #7807)
15226Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15227 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15228 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15229 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15230
15231Patch 8.2.2492
15232Problem: Command line buffer name cannot be translated.
15233Solution: Add _(). (Gabriel Dupras, closes #7812)
15234Files: src/ex_getln.c
15235
15236Patch 8.2.2493
15237Problem: Text property for text left of window shows up.
15238Solution: Check if the text property ends before the current column.
15239 (closes #7806)
15240Files: src/drawline.c, src/testdir/test_textprop.vim,
15241 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15242 src/testdir/dumps/Test_textprop_nowrap_02.dump
15243
15244Patch 8.2.2494
15245Problem: ":rviminfo!" clears most of oldfiles.
15246Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15247Files: src/viminfo.c, src/vim.h
15248
15249Patch 8.2.2495
15250Problem: Text jumps up and down when moving the cursor in a small window
15251 with wrapping text and 'scrolloff' set.
15252Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15253 closes #7813)
15254Files: src/move.c, src/testdir/test_breakindent.vim
15255
15256Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015257Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015258Solution: Add another test case.
15259Files: src/testdir/test_breakindent.vim
15260
15261Patch 8.2.2497
15262Problem: No error when using more than one character for a register name.
15263Solution: In Vim9 script check for a single character string. (closes #7814)
15264 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15265Files: src/errors.h, src/evalfunc.c, src/typval.c,
15266 src/testdir/test_vim9_builtin.vim
15267
15268Patch 8.2.2498
15269Problem: No test for what 8.2.2494 fixes.
15270Solution: Add a simple change to test the fix. (closes #7818)
15271Files: src/testdir/test_viminfo.vim
15272
15273Patch 8.2.2499
15274Problem: "vim -g --version" does not redirect output.
15275Solution: Reset gui.starting when showing version info. (closes #7815)
15276Files: src/main.c, src/testdir/test_version.vim
15277
15278Patch 8.2.2500 (after 8.2.2499)
15279Problem: Build fails without the GUI feature.
15280Solution: Add #ifdef.
15281Files: src/main.c
15282
15283Patch 8.2.2501
15284Problem: Not always clear where an error is reported.
15285Solution: Add the where_T structure and pass it around. (closes #7796)
15286Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15287 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15288 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15289 src/proto/vim9script.pro, src/dict.c, src/list.c,
15290 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15291
15292Patch 8.2.2502
15293Problem: A few github actions are failing.
15294Solution: Install setuptools-rust. (closes #7823)
15295Files: .github/workflows/ci.yml
15296
15297Patch 8.2.2503
15298Problem: Vim9: a caught error may leave something on the stack.
15299Solution: Drop items from the stack if needed. (closes #7826)
15300Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15301
15302Patch 8.2.2504
15303Problem: Vim9: crash when using an argument from a closure.
15304Solution: Check if gen_load_outer is NULL. (closes #7821)
15305Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15306
15307Patch 8.2.2505
15308Problem: Vim9: crash after defining function with invalid return type.
15309Solution: Clear function growarrays. Fix memory leak.
15310Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15311
15312Patch 8.2.2506
15313Problem: Vim9: :continue does not work correctly in a :try block
15314Solution: Add the TRYCLEANUP instruction. (closes #7827)
15315Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15316 src/testdir/test_vim9_script.vim,
15317 src/testdir/test_vim9_disassemble.vim
15318
15319Patch 8.2.2507
15320Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15321 not needed.
15322Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15323 installing rust. (Ozaki Kiichi, closes #7820)
15324Files: .github/workflows/ci.yml
15325
15326Patch 8.2.2508
15327Problem: Cannot change the character displayed in non existing lines.
15328Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15329Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15330 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15331 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15332
15333Patch 8.2.2509
15334Problem: Tests fail on s390 build.
15335Solution: Initialize trycmd_T.
15336Files: src/vim9execute.c
15337
15338Patch 8.2.2510
15339Problem: Internal error when popup with mask is zero height or width.
15340Solution: Bail out if width or height is zero. (closes #7831)
15341Files: src/popupwin.c, src/testdir/test_popupwin.vim
15342
15343Patch 8.2.2511
15344Problem: Vim9: cannot use Vim9 script syntax in some places.
15345Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15346 mean ":vim9cmd" instead of ":vim9script".
15347Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15348 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15349 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15350 src/testdir/dumps/Test_wildmenu_1.dump,
15351 src/testdir/dumps/Test_wildmenu_2.dump,
15352 src/testdir/dumps/Test_wildmenu_3.dump,
15353 src/testdir/dumps/Test_wildmenu_4.dump,
15354 src/testdir/test_quickfix.vim
15355
15356Patch 8.2.2512
15357Problem: Vim9: compiling error test sometimes fails.
15358Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15359 Pellé, closes #7837)
15360Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15361 src/testdir/test_vim9_script.vim
15362
15363Patch 8.2.2513 (after 8.2.2511)
15364Problem: Vim9: missing part of :vim9cmd change.
15365Solution: Use command modifier in in_vim9script().
15366Files: src/vim9script.c
15367
15368Patch 8.2.2514 (after 8.2.2511)
15369Problem: Vim9: build error in tiny version.
15370Solution: Add #ifdef.
15371Files: src/ex_docmd.c
15372
15373Patch 8.2.2515
15374Problem: Memory access error when truncating an empty message.
15375Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15376Files: src/message.c, src/message_test.c
15377
15378Patch 8.2.2516
15379Problem: Test failure on s390. (analyses by James McCoy)
15380Solution: Only set the try_finally label when not skipping.
15381Files: src/vim9compile.c
15382
15383Patch 8.2.2517
15384Problem: Vim9: fix for s390 not tested on other systems.
15385Solution: Add a test.
15386Files: src/testdir/test_vim9_script.vim
15387
15388Patch 8.2.2518
15389Problem: 'listchars' should be window-local.
15390Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15391 closes #5206, closes #7850)
15392Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15393 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15394 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15395 src/option.h, src/optiondefs.h, src/optionstr.c,
15396 src/proto/screen.pro, src/screen.c, src/structs.h,
15397 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15398
15399Patch 8.2.2519
15400Problem: Vim9: no reason to keep strange Vi behavior.
15401Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15402 (closes #7840)
15403Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15404
15405Patch 8.2.2520
15406Problem: Missing tests for 'listchars'.
15407Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15408Files: src/testdir/test_listchars.vim
15409
15410Patch 8.2.2521
15411Problem: Some compilers can't handle pointer initialization. (John
15412 Marriott)
15413Solution: Use a local struct and assign it afterwards.
15414Files: src/screen.c
15415
15416Patch 8.2.2522
15417Problem: Beancount filetype not recognized.
15418Solution: Add a detection rule. (Brian Ryall, closes #7859)
15419Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15420
15421Patch 8.2.2523
15422Problem: Svelte filetype not recognized.
15423Solution: Add a detection rule. (Brian Ryall, closes #7858)
15424Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15425
15426Patch 8.2.2524
15427Problem: Cannot change the characters displayed in the foldcolumn.
15428Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15429 closes #7860)
15430Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15431 src/testdir/test_display.vim
15432
15433Patch 8.2.2525
15434Problem: Vim9: only local variables checked for a name.
15435Solution: Also check arguments and script variables. (closes #7838)
15436Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15437 src/testdir/test_vim9_cmd.vim
15438
15439Patch 8.2.2526 (after 8.2.2525)
15440Problem: Build failure.
15441Solution: Change lookup_scriptvar() arguments.
15442Files: src/evalvars.c, src/proto/evalvars.pro
15443
15444Patch 8.2.2527
15445Problem: Vim9: lambda return type is not determined at script level.
15446Solution: Compile the lambda to get the return type. (closes #7843)
15447Files: src/eval.c, src/vim.h, src/vim9.h,
15448 src/testdir/test_vim9_assign.vim
15449
15450Patch 8.2.2528
15451Problem: Vim9: crash when compiling lambda fails.
15452Solution: Bail out after compilation fails. (closes #7862)
15453Files: src/eval.c, src/testdir/test_vim9_assign.vim
15454
15455Patch 8.2.2529
15456Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15457Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15458Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15459 src/testdir/test_vim9_script.vim
15460
15461Patch 8.2.2530
15462Problem: Vim9: not enough testing for profiling.
15463Solution: Add a test with nested functions and a lambda. Fix profiling
15464 for calling a compiled function.
15465Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15466 src/vim9execute.c, src/testdir/test_profile.vim
15467
15468Patch 8.2.2531
15469Problem: Vim9: the :k command is obscure.
15470Solution: Disallow using :k, can use :mark instead. (closes #7874)
15471Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15472 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15473
15474Patch 8.2.2532
15475Problem: Vim9: confusing error if :k is used with a range.
15476Solution: Give an error about the range. (issue #7874)
15477Files: src/vim9script.c, src/vim9compile.c,
15478 src/testdir/test_vim9_script.vim
15479
15480Patch 8.2.2533
15481Problem: Vim9: cannot use a range with :unlet.
15482Solution: Implement ISN_UNLETRANGE.
15483Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15484 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
15485 src/vim9compile.c, src/vim9execute.c
15486 src/testdir/test_vim9_assign.vim
15487
15488Patch 8.2.2534
15489Problem: Missing test coverage.
15490Solution: Improve test coverage for completion with different encodings,
15491 mapset(), and term function failures. (Dominique Pellé,
15492 closes #7877)
15493Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15494 src/testdir/test_terminal3.vim
15495
15496Patch 8.2.2535
15497Problem: MS-Windows: cannot run all vim9 tests.
15498Solution: Make test_vim9 target work.
15499Files: src/Make_mvc.mak
15500
15501Patch 8.2.2536
15502Problem: Coverity complains about unchecked return value.
15503Solution: Add (void).
15504Files: src/userfunc.c
15505
15506Patch 8.2.2537
15507Problem: Vim9: crash when map() fails.
15508Solution: Clear typval before using it. (closes #7884)
15509Files: src/list.c, src/testdir/test_vim9_builtin.vim
15510
15511Patch 8.2.2538
15512Problem: Crash when using Python list iterator.
15513Solution: Increment the list reference count. (closes #7886)
15514Files: src/if_py_both.h, src/testdir/test_python3.vim
15515
15516Patch 8.2.2539
15517Problem: Vim9: return from finally block causes a hang.
15518Solution: Store both the finally and endtry indexes. (closes #7885)
15519Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15520 src/testdir/test_vim9_script.vim,
15521
15522Patch 8.2.2540
15523Problem: Vim9: no error for using script var name for argument.
15524Solution: Check for this error. (closes #7868)
15525Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15526 src/testdir/test_vim9_func.vim
15527
15528Patch 8.2.2541
15529Problem: Popup_create() does not allow boolean for "cursorline".
15530Solution: Use dict_get_bool(). (issue #7869)
15531Files: src/popupwin.c, src/testdir/test_popupwin.vim
15532
15533Patch 8.2.2542
15534Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15535Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15536 is part of the match. (closes #7883)
15537Files: src/match.c, src/testdir/test_search.vim,
15538 src/testdir/dumps/Test_hlsearch_1.dump,
15539 src/testdir/dumps/Test_hlsearch_2.dump
15540
15541Patch 8.2.2543
15542Problem: Vim9: a return inside try/catch does not restore exception state
15543 properly.
15544Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15545Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15546
15547Patch 8.2.2544
15548Problem: Vim9: error for argument when checking for lambda.
15549Solution: Respect the skip flag. (closes #7887)
15550Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15551
15552Patch 8.2.2545
15553Problem: Errors and crash when terminal window is zero height. (Leonid V.
15554 Fedorenchik)
15555Solution: Do not resize when width or height is zero. (closes #7890)
15556Files: src/terminal.c, src/testdir/test_terminal.vim
15557
15558Patch 8.2.2546
15559Problem: Typo in mouse key name.
15560Solution: Fix the typo. (issue #4725)
15561Files: src/misc2.c
15562
15563Patch 8.2.2547
15564Problem: "%" command not accurate for big files.
15565Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15566 closes #7889)
15567Files: src/normal.c
15568
15569Patch 8.2.2548
15570Problem: May get stuck in the cmdline window using :normal.
15571Solution: Have nv_esc() return K_IGNORE.
15572Files: src/normal.c
15573
15574Patch 8.2.2549
15575Problem: Crash after using "g:" in a for loop.
15576Solution: Increment the reference count. (closes #7892)
15577Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15578
15579Patch 8.2.2550
15580Problem: Signal stack size is wrong with latest glibc 2.34.
15581Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15582 #7895)
15583Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15584 src/auto/configure
15585
15586Patch 8.2.2551
15587Problem: MS-Windows: colors test file is not installed.
15588Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15589Files: nsis/gvim.nsi
15590
15591Patch 8.2.2552
15592Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15593Solution: Just use "{". (issue #7904)
15594Files: src/ex_cmds.h
15595
15596Patch 8.2.2553
15597Problem: Vim9: Cannot put "|" after "{".
15598Solution: Add the EX_TRLBAR flag. (issue #7904)
15599Files: src/ex_cmds.h, src/ex_eval.c
15600
15601Patch 8.2.2554
15602Problem: Vim9: exporting a final is not tested.
15603Solution: Add a test.
15604Files: src/testdir/test_vim9_script.vim
15605
15606Patch 8.2.2555
15607Problem: Vim9: missing test for 8.2.2553.
15608Solution: Add a simple test.
15609Files: src/testdir/test_vim9_script.vim
15610
15611Patch 8.2.2556
15612Problem: Vim9: :import with "as" not fully supported.
15613Solution: Implement "as" for more cases.
15614Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15615
15616Patch 8.2.2557
15617Problem: Compiler warning for shadowed variable.
15618Solution: Declare "p" only once.
15619Files: src/vim9script.c
15620
15621Patch 8.2.2558
15622Problem: No error if a lambda argument shadows a variable.
15623Solution: Check that the argument name shadows a local, argument or script
15624 variable. (closes #7898)
15625Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15626 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15627 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15628
15629Patch 8.2.2559
15630Problem: MS-Windows: guifont test fails on Windows XP.
15631Solution: Check windowsversion().
15632Files: src/testdir/test_gui.vim
15633
15634Patch 8.2.2560
15635Problem: Setting 'winminheigt' does not take tabline into account.
15636Solution: Subtract the tabline from the available height. (closes #7899)
15637Files: src/window.c, src/testdir/test_options.vim
15638
15639Patch 8.2.2561
15640Problem: Not all textprop code is covered by tests.
15641Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15642Files: src/testdir/test_textprop.vim
15643
15644Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015645Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015646 Karkat)
15647Solution: Do not change the star register when 'clipboard' contains
15648 "unnamedplus" and not "unnamed". (closes #1516)
15649Files: src/register.c
15650
15651Patch 8.2.2563
15652Problem: Cannot use multibyte characters for folding in 'fillchars'.
15653Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15654 closes #7924)
15655Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15656 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15657 src/testdir/test_profile.vim
15658
15659Patch 8.2.2564
15660Problem: Focus events end Insert mode if 'esckeys' is not set.
15661Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15662Files: src/term.c
15663
15664Patch 8.2.2565
15665Problem: Vim9: "..=" not always recognized.
15666Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15667Files: src/eval.c, src/testdir/test_vim9_assign.vim
15668
15669Patch 8.2.2566
15670Problem: Vim9: Function name is not recognized.
15671Solution: Change lookup_scriptvar() to also find function names.
15672 (closes #7770)
15673Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15674 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15675
15676Patch 8.2.2567
15677Problem: Vim9: no error if variable is defined for existing function.
15678Solution: Check if name isn't already in use. (closes #7897)
15679Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15680
15681Patch 8.2.2568
15682Problem: Second time a preview popup is opened highlight is not set.
15683 (Gabriel Dupras)
15684Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15685Files: src/tag.c, src/testdir/test_popupwin.vim,
15686 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15687 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15688 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15689 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15690
15691Patch 8.2.2569
15692Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15693Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15694 Lakshmanan, closes #7927)
15695Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15696 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15697
15698Patch 8.2.2570
15699Problem: Tests fail when run as root.
15700Solution: Add a comment mentioning the expected failure. (issue #7919)
15701Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15702 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15703
15704Patch 8.2.2571
15705Problem: Test may leave file behind.
15706Solution: Delete the temporary file. Don't profile in the running Vim
15707 instance.
15708Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
15709
15710Patch 8.2.2572
15711Problem: Vim9: crash when getting the types for a legacy function.
15712Solution: Initialize the type list growarray. (closes #7929)
15713Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15714
15715Patch 8.2.2573
15716Problem: Vim9: using invalid pointer for error message.
15717Solution: Use the right pointer. (closes #7921)
15718Files: src/eval.c, src/testdir/test_vim9_expr.vim
15719
15720Patch 8.2.2574
15721Problem: Vim9: crash when calling partial with wrong function.
15722Solution: Check argument types of called function. (closes #7912)
15723Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
15724
15725Patch 8.2.2575
15726Problem: Vim9: a function name with "->" in the next line doesn't work.
15727Solution: Recognize a function name by itself. (closes #7770)
15728Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
15729
15730Patch 8.2.2576
15731Problem: Vim9: defining a :func function checks for white space after a
15732 comma in the arguments.
15733Solution: Only check for white space in a :def function. (closes #7930)
15734Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15735
15736Patch 8.2.2577
15737Problem: Compiler warning for type conversion.
15738Solution: Add a typecast. (Mike Williams)
15739Files: src/drawline.c
15740
15741Patch 8.2.2578
15742Problem: Lua cannot handle a passed in lambda.
15743Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
15744Files: src/if_lua.c, src/testdir/test_lua.vim
15745
15746Patch 8.2.2579
15747Problem: Vim9: crash in garbagecollect after for loop.
15748Solution: Do not set a reference in script item when the name was cleared.
15749 (closes #7935)
15750Files: src/evalvars.c
15751
15752Patch 8.2.2580
15753Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
15754Solution: Use the member type. (closes #7933)
15755Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15756
15757Patch 8.2.2581
15758Problem: Vim9: sourcing Vim9 script triggers a redraw.
15759Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
15760 (closes #7920)
15761Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
15762 src/vim9script.c, src/testdir/test_vim9_script.vim,
15763 src/testdir/dumps/Test_vim9_no_redraw.dump
15764
15765Patch 8.2.2582 (after 8.2.2581)
15766Problem: Vim9: screendump test fails on MS-Windows.
15767Solution: Use :function instead of :def.
15768Files: src/testdir/test_vim9_script.vim
15769
15770Patch 8.2.2583
15771Problem: Vim9: cannot compare result of getenv() with null.
15772Solution: Make the return type of getenv() "any". (closes #7943)
15773Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15774
15775Patch 8.2.2584
15776Problem: Vim9: type error for assigning the result of list concatenation to
15777 a list.
15778Solution: Do not consider concatenation result in a constant. (closes #7942)
15779Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15780
15781Patch 8.2.2585
15782Problem: Vim9: illegal memory access.
15783Solution: Check byte right after "null", not one more.
15784Files: src/vim9compile.c
15785
15786Patch 8.2.2586
15787Problem: Process id may be invalid.
15788Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
15789 van der Sanden, closes #7947)
15790Files: src/configure.ac, src/auto/configure, src/config.h.in,
15791 src/memline.c, src/testing.c, src/globals.h,
15792 src/testdir/test_recover.vim
15793
15794Patch 8.2.2587 (after 8.2.2586)
15795Problem: Recover test fails on FreeBSD.
15796Solution: Check for Linux.
15797Files: src/testdir/check.vim, src/testdir/test_recover.vim
15798
15799Patch 8.2.2588 (after 8.2.2586)
15800Problem: Build failure with tiny features.
15801Solution: Add #ifdef. Run recover test separately.
15802Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
15803
15804Patch 8.2.2589 (after 8.2.2586)
15805Problem: Recover test hangs in the GUI.
15806Solution: Add g:skipped_reason to skip a _nocatch_ test.
15807Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
15808
15809Patch 8.2.2590
15810Problem: Vim9: default argument value may cause internal error.
15811Solution: Hide later function arguments when compiling the expression.
15812 (closes #7948)
15813Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15814
15815Patch 8.2.2591
15816Problem: Poke files are not recognized.
15817Solution: Add a filetype entry. (Matt Ihlenfield)
15818Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15819
15820Patch 8.2.2592
15821Problem: Code coverage could be improved.
15822Solution: Add a few more tests. (Dominique Pellé, closes #7957)
15823Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
15824 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
15825 src/testdir/test_viminfo.vim
15826
15827Patch 8.2.2593
15828Problem: List of distributed files is incomplete.
15829Solution: Add a file and rename another.
15830Files: Filelist
15831
15832Patch 8.2.2594
15833Problem: Alternate buffer added to session file even when it's hidden.
15834Solution: Check the 'buflisted' option. (closes #7951)
15835Files: src/session.c, src/testdir/test_mksession.vim
15836
15837Patch 8.2.2595
15838Problem: Setting 'winminheight' may cause 'lines' to change.
15839Solution: Also take minimal height of other tabpages into account. (#7899)
15840Files: src/window.c, src/testdir/test_options.vim
15841
15842Patch 8.2.2596
15843Problem: :doautocmd may confuse scripts listening to WinEnter.
15844Solution: Do the current buffer last. (closes #7958)
15845Files: src/autocmd.c, src/testdir/test_autocmd.vim
15846
15847Patch 8.2.2597
15848Problem: Vim9: "import * as" does not work at script level.
15849Solution: Implement using an imported namespace.
15850Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
15851 src/vim9execute.c, src/errors.h, src/vim9script.c,
15852 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
15853
15854Patch 8.2.2598
15855Problem: Vim9: :open does not need to be supported.
15856Solution: Do not support :open in Vim9 script.
15857Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
15858
15859Patch 8.2.2599 (after 8.2.2597)
15860Problem: Build failure.
15861Solution: Add missing change.
15862Files: src/vim9compile.c
15863
15864Patch 8.2.2600
15865Problem: Vim9: crash when putting an unknown type in a dictionary.
15866 (Yegappan Lakshmanan)
15867Solution: Handle a NULL type pointer.
15868Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
15869
15870Patch 8.2.2601
15871Problem: Memory usage test often fails on FreeBSD.
15872Solution: Increase multiplier for upper limit.
15873Files: src/testdir/test_memory_usage.vim
15874
15875Patch 8.2.2602
15876Problem: Vim9: continue doesn't work if :while is very first command.
15877 (Yegappan Lakshmanan)
15878Solution: Add one to the continue instruction index.
15879Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15880
15881Patch 8.2.2603
15882Problem: Vim9: no effect if user command is also a function.
15883Solution: Check for paren following. (closes #7960)
15884Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
15885 src/proto/ex_docmd.pro, src/vim9compile.c,
15886 src/testdir/test_vim9_cmd.vim
15887
15888Patch 8.2.2604
15889Problem: GUI-specific command line arguments not tested.
15890Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
15891Files: src/testdir/test_startup.vim
15892
15893Patch 8.2.2605
15894Problem: Vim9: string index and slice does not include composing chars.
15895Solution: Include composing characters. (issue #6563)
15896Files: runtime/doc/vim9.txt, src/vim9execute.c,
15897 src/testdir/test_vim9_expr.vim
15898
15899Patch 8.2.2606
15900Problem: strchars() defaults to counting composing characters.
15901Solution: Add strcharlen() which ignores composing characters.
15902Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15903 src/testdir/test_utf8.vim
15904
15905Patch 8.2.2607
15906Problem: strcharpart() cannot include composing characters.
15907Solution: Add the {skipcc} argument.
15908Files: runtime/doc/eval.txt, src/evalfunc.c,
15909 src/testdir/test_expr_utf8.vim
15910
15911Patch 8.2.2608
15912Problem: Character input not fully tested.
15913Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
15914Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
15915 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
15916 src/testdir/test_undo.vim
15917
15918Patch 8.2.2609
15919Problem: Test disabled on MS-Windows even though it should work.
15920Solution: Restore the condition for skipping the test. (Ken Takata,
15921 closes #7970)
15922Files: src/testdir/test_startup.vim
15923
15924Patch 8.2.2610
15925Problem: Mouse click test fails when using remote connection.
15926Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
15927Files: src/testdir/test_selectmode.vim
15928
15929Patch 8.2.2611
15930Problem: Conditions for startup tests are not exactly right.
15931Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
15932 closes #7976)
15933Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
15934
15935Patch 8.2.2612
15936Problem: col('.') may get outdated column value.
15937Solution: Add a note to the help how to make this work and add a test for
15938 it. (closes #7971)
15939Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
15940
15941Patch 8.2.2613 (after 8.2.2612)
15942Problem: New test throws exception.
15943Solution: Adjust the function cleanup.
15944Files: src/testdir/test_mapping.vim
15945
15946Patch 8.2.2614
15947Problem: Vim9: function is deleted while executing.
15948Solution: increment the call count, when more than zero do not delete the
15949 function but mark it as dead. (closes #7977)
15950Files: src/vim9execute.c, src/userfunc.c,
15951 src/testdir/test_vim9_script.vim
15952
15953Patch 8.2.2615 (after 8.2.2614)
15954Problem: Test is sourcing the wrong file.
15955Solution: Correct the file name.
15956Files: src/testdir/test_vim9_script.vim
15957
15958Patch 8.2.2616
15959Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
15960Solution: Apply the changes to 'cpo' to the restored value.
15961Files: runtime/doc/vim9.txt, src/scriptfile.c,
15962 src/testdir/test_vim9_script.vim
15963
15964Patch 8.2.2617
15965Problem: Vim9: script variable in a block scope not found by a nested
15966 function.
15967Solution: Copy the block scope IDs before compiling the function.
15968Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
15969 src/testdir/test_vim9_disassemble.vim
15970
15971Patch 8.2.2618
15972Problem: Vim9: cannot use a normal list name to store function refs.
15973Solution: Allow a lower case name if it is indexed.
15974Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
15975
15976Patch 8.2.2619
15977Problem: Vim9: no test for return type of lambda.
15978Solution: Add a test.
15979Files: src/testdir/test_vim9_func.vim
15980
15981Patch 8.2.2620
15982Problem: Vim9: Using #{ for a dictionary gives strange errors.
15983Solution: Give an error when using #{ for a comment after a command.
15984Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
15985 src/errors.h, src/testdir/test_vim9_expr.vim,
15986 src/testdir/test_vim9_script.vim
15987
15988Patch 8.2.2621
15989Problem: typval2type() cannot handle recursive structures.
15990Solution: Use copyID. (closes #7979)
15991Files: src/list.c, src/vim9script.c, src/vim9type.c,
15992 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
15993
15994Patch 8.2.2622
15995Problem: GTK: error when starting up and -geometry is given. (Dominique
15996 Pellé)
15997Solution: Use another function to get the monitor if the window has not been
15998 created yet. (closes #7978)
15999Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16000 src/gui_xim.c
16001
16002Patch 8.2.2623
16003Problem: Some tests fail when run as root.
16004Solution: Use CheckNotRoot.
16005Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16006 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16007
16008Patch 8.2.2624
16009Problem: Atom files not recognized.
16010Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16011Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16012
16013Patch 8.2.2625
16014Problem: Rss files not recognized.
16015Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16016Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16017
16018Patch 8.2.2626
16019Problem: GTK3: error when starting up and -geometry is given. (Dominique
16020 Pellé)
16021Solution: Use another function to get the monitor if the window has not been
16022 created yet. (closes #7978)
16023Files: src/gui_gtk_x11.c
16024
16025Patch 8.2.2627
16026Problem: No need to check for BSD after checking for not root.
16027Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16028Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16029 src/testdir/check.vim
16030
16031Patch 8.2.2628
16032Problem: Vim9: #{ can still be used at the script level.
16033Solution: Give an error for #{ like in a :def function.
16034Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16035
16036Patch 8.2.2629
16037Problem: Vim9: error for #{{ is not desired.
16038Solution: Adjust the checks. (closes #7990)
16039Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16040 src/testdir/test_vim9_expr.vim
16041
16042Patch 8.2.2630
16043Problem: Hard to see where a test gets stuck.
16044Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16045Files: src/testdir/Makefile
16046
16047Patch 8.2.2631
16048Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16049 Fedorenchik)
16050Solution: Repeat the size commands twice. (closes #7988)
16051Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16052
16053Patch 8.2.2632
16054Problem: Not all command line arguments are tested.
16055Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16056Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16057
16058Patch 8.2.2633
16059Problem: Multi-byte 'fillchars' for folding do not show properly.
16060Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16061 closes #7983, closes #7955)
16062Files: src/screen.c, src/testdir/test_fold.vim
16063
16064Patch 8.2.2634
16065Problem: 'tagfunc' does not indicate using a pattern.
16066Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16067Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16068
16069Patch 8.2.2635
16070Problem: Vim9: cannot define an inline function.
16071Solution: Make an inline function mostly work.
16072Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16073 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16074
16075Patch 8.2.2636 (after 8.2.2635)
16076Problem: Memory leak when compiling inline function.
16077Solution: Free the prefetched line.
16078Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16079 src/eval.c
16080
16081Patch 8.2.2637
16082Problem: prop_remove() causes a redraw even when nothing changed.
16083Solution: Only redraw if a property was removed. (Dominique Pellé)
16084Files: src/textprop.c
16085
16086Patch 8.2.2638
16087Problem: Cannot write a message to the terminal from the GUI.
16088Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16089Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16090 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16091 src/term.c, src/testdir/runtest.vim
16092
16093Patch 8.2.2639 (after 8.2.2638)
16094Problem: Build failure when fsync() is not available.
16095Solution: Add #ifdef.
16096Files: src/ui.c
16097
16098Patch 8.2.2640
16099Problem: screenstring() returns non-existing composing characters.
16100Solution: Only use composing characters if there is a base character.
16101Files: src/evalfunc.c, src/testdir/test_listchars.vim
16102
16103Patch 8.2.2641
16104Problem: Display test fails because of lacking redraw.
16105Solution: Add a redraw command.
16106Files: src/testdir/test_display.vim
16107
16108Patch 8.2.2642
16109Problem: Vim9: no clear error for wrong inline function.
16110Solution: Check for something following the "{".
16111Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16112
16113Patch 8.2.2643
16114Problem: Various code not covered by tests.
16115Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16116Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16117 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16118 src/testdir/test_undo.vim
16119
16120Patch 8.2.2644
16121Problem: prop_clear() causes a screen update even when nothing changed.
16122Solution: Only redraw when a property was cleared. (Dominique Pellé)
16123Files: src/textprop.c
16124
16125Patch 8.2.2645
16126Problem: Using inline function is not properly tested.
16127Solution: Add test cases, esp. for errors. Minor code improvements.
16128Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16129 src/testdir/test_vim9_func.vim
16130
16131Patch 8.2.2646
16132Problem: Vim9: error for not using string doesn't mention argument.
16133Solution: Add argument number.
16134Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16135 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16136
16137Patch 8.2.2647
16138Problem: Terminal test sometimes hangs.
16139Solution: Wait for the shell to display a prompt.
16140Files: src/testdir/test_terminal.vim
16141
16142Patch 8.2.2648
16143Problem: Terminal resize test sometimes hangs.
16144Solution: Wait for the shell to display a prompt and other output.
16145Files: src/testdir/test_terminal2.vim
16146
16147Patch 8.2.2649
16148Problem: Vim9: some wincmd arguments cause a white space error.
16149Solution: Insert a space before the count. (closes #8001)
16150Files: src/window.c, src/testdir/test_vim9_cmd.vim
16151
16152Patch 8.2.2650
16153Problem: Vim9: command modifiers not handled in nested function.
16154Solution: Keep function-local info in a structure and save it on the stack.
16155Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16156
16157Patch 8.2.2651
16158Problem: Vim9: restoring command modifiers happens after jump.
16159Solution: Move the restore instruction to before the jump. (closes #8006)
16160 Also handle for and while.
16161Files: src/vim9compile.c, src/vim9execute.c,
16162 src/testdir/test_vim9_disassemble.vim
16163
16164Patch 8.2.2652
16165Problem: Vim9: can use command modifier without an effect.
16166Solution: Give an error for a misplaced command modifier. Fix error message
16167 number.
16168Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16169 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16170 src/testdir/test_vim9_builtin.vim,
16171 src/testdir/test_vim9_disassemble.vim
16172
16173Patch 8.2.2653
16174Problem: Build failure.
16175Solution: Add missing changes.
16176Files: src/errors.h
16177
16178Patch 8.2.2654
16179Problem: Vim9: getting a character from a string can be slow.
16180Solution: Avoid a function call to get the character byte size. (#8000)
16181Files: src/vim9execute.vim
16182
16183Patch 8.2.2655
16184Problem: The -w command line argument doesn't work.
16185Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16186Files: src/term.c, src/testdir/test_startup.vim
16187
16188Patch 8.2.2656
16189Problem: Some command line arguments and regexp errors not tested.
16190Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16191Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16192
16193Patch 8.2.2657
16194Problem: Vim9: error message for declaring variable in for loop.
16195Solution: Clear variables when entering block again. (closes #8012)
16196Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16197
16198Patch 8.2.2658
16199Problem: :for cannot loop over a string.
16200Solution: Accept a string argument and iterate over its characters.
16201Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16202 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16203 src/testdir/test_vim9_disassemble.vim,
16204 src/testdir/test_vim9_script.vim
16205
16206Patch 8.2.2659 (after 8.2.2658)
16207Problem: Eval test fails because for loop on string works.
16208Solution: Check looping over function reference fails.
16209Files: src/testdir/test_eval_stuff.vim
16210
16211Patch 8.2.2660
16212Problem: Vim9: no error for declaration with trailing text.
16213Solution: Give an error. (closes #8014)
16214Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16215
16216Patch 8.2.2661
16217Problem: Leaking memory when looping over a string.
16218Solution: Free the memory.
16219Files: src/eval.c
16220
16221Patch 8.2.2662
16222Problem: There is no way to avoid some escape sequences.
16223Solution: Suppress escape sequences when the --not-a-term argument is used.
16224 (Gary Johnson)
16225Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16226
16227Patch 8.2.2663
16228Problem: Vim9: leaking memory when inline function has an error.
16229Solution: Free the partially allocated function.
16230Files: src/userfunc.c
16231
16232Patch 8.2.2664
16233Problem: Vim9: not enough function arguments checked for string.
16234Solution: Check in balloon functions. Refactor function arguments.
16235Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16236 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16237
16238Patch 8.2.2665 (after 8.2.2664)
16239Problem: Test failures.
16240Solution: Check more specific feature. Add missing change.
16241Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16242
16243Patch 8.2.2666
16244Problem: Vim9: not enough function arguments checked for string.
16245Solution: Check in ch_logfile(), char2nr() and others.
16246Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16247 src/testdir/test_vim9_builtin.vim
16248
16249Patch 8.2.2667
16250Problem: prop_find() cannot find item matching both id and type.
16251Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16252Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16253 src/textprop.c
16254
16255Patch 8.2.2668
16256Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16257Solution: Do not recognize a modifier followed by "(".
16258Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16259
16260Patch 8.2.2669
16261Problem: Command line completion does not work after "vim9".
16262Solution: Include the "9". (Naohiro Ono, closes #8025)
16263Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16264
16265Patch 8.2.2670
16266Problem: Vim9: error for append(0, text).
16267Solution: Check for negative number. (closes #8022)
16268Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16269
16270Patch 8.2.2671 (after 8.2.2670)
16271Problem: Error for line number in legacy script.
16272Solution: Check for number type.
16273Files: src/typval.c
16274
16275Patch 8.2.2672
16276Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16277Solution: Implement locking support.
16278Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16279
16280Patch 8.2.2673
16281Problem: Vim9: script-local funcref can have lower case name.
16282Solution: Require an upper case name.
16283Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16284
16285Patch 8.2.2674
16286Problem: Motif: cancelling the font dialog resets the font.
16287Solution: When no font is selected to not change the font. (closes #7825,
16288 closes #8035) Fix compiler warnings.
16289Files: src/gui_x11.c, src/gui_motif.c
16290
16291Patch 8.2.2675
16292Problem: Directory change in a terminal window shell is not followed.
16293Solution: Add the 'autoshelldir' option. (closes #6290)
16294Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16295 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16296 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16297 src/testdir/test_terminal3.vim
16298
16299Patch 8.2.2676
16300Problem: Missing error message.
16301Solution: Add new error message.
16302Files: src/errors.h
16303
16304Patch 8.2.2677
16305Problem: Vim9: cannot use only some of the default arguments.
16306Solution: Use v:none to use default argument value. Remove
16307 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16308Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16309 src/userfunc.c, src/structs.h, src/vim9.h,
16310 src/testdir/test_vim9_disassemble.vim,
16311 src/testdir/test_vim9_func.vim
16312
16313Patch 8.2.2678
16314Problem: Test for 'autoshelldir' does not reset the option.
16315Solution: Reset the option after testing.
16316Files: src/testdir/test_terminal3.vim
16317
16318Patch 8.2.2679
16319Problem: Winbar drawn over status line for non-current window with winbar
16320 if frame is zero height. (Leonid V. Fedorenchik)
16321Solution: Do not draw the window if the frame height is zero. (closes #8037)
16322Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16323 src/testdir/dumps/Test_winbar_not_visible.dump
16324
16325Patch 8.2.2680
16326Problem: Vim9: problem defining a script variable from legacy function.
16327Solution: Check if the script is Vim9, not the current syntax.
16328 (closes #8032)
16329Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16330 src/testdir/test_vim9_script.vim
16331
16332Patch 8.2.2681
16333Problem: Vim9: test fails for redeclaring script variable.
16334Solution: It's OK to assign to an existing script variable in legacy.
16335Files: src/evalvars.c
16336
16337Patch 8.2.2682
16338Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16339 Goussas)
16340Solution: When no variable found try finding a function. (closes #8045)
16341 Check that the function was exported.
16342Files: src/vim9compile.c, src/vim9script.c,
16343 src/testdir/test_vim9_script.vim
16344
16345Patch 8.2.2683
16346Problem: Build failure without the +eval feature.
16347Solution: Add #ifdef.
16348Files: src/vim9script.c
16349
16350Patch 8.2.2684
16351Problem: Not enough folding code is tested.
16352Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16353Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16354 src/testdir/test_source.vim
16355
16356Patch 8.2.2685 (after 8.2.2152)
16357Problem: Custom statusline not drawn correctly with WinBar.
16358Solution: Also adjust the column for the custom status line. (Yee Cheng
16359 Chin, closes #8047)
16360Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16361 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16362 src/testdir/test_winbar.vim
16363
16364Patch 8.2.2686
16365Problem: Status line is not updated when going to cmdline mode.
16366Solution: Redraw status lines if 'statusline' is set and going to status
16367 line mode. (based on patch from Justin M. Keyes et al.,
16368 closes #8044)
16369Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16370 src/testdir/dumps/Test_statusline_mode_1.dump,
16371 src/testdir/dumps/Test_statusline_mode_2.dump
16372
16373Patch 8.2.2687
16374Problem: Vim9: cannot use "const" for global variable in :def function.
16375Solution: Do allow using :const for a global variable. (closes #8030)
16376Files: src/vim9compile.c, src/vim9execute.c,
16377 src/testdir/test_vim9_assign.vim
16378
16379Patch 8.2.2688
16380Problem: Vim9: crash when using s: for script variable.
16381Solution: Pass the end pointer. (closes #8045)
16382Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16383
16384Patch 8.2.2689
16385Problem: Tiny build fails.
16386Solution: Add #ifdef around use of p_stl.
16387Files: src/ex_getln.c
16388
16389Patch 8.2.2690
16390Problem: PowerShell files are not recognized.
16391Solution: Recognize several PowerShell extension. (Heath Stewart,
16392 closes #8051)
16393Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16394
16395Patch 8.2.2691
16396Problem: Autoconf may mess up compiler flags.
16397Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16398 closes #8049)
16399Files: src/configure.ac, src/auto/configure
16400
16401Patch 8.2.2692
16402Problem: Vim9: locked script variable can be changed.
16403Solution: Check for locked value. (closes #8031)
16404Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16405
16406Patch 8.2.2693
16407Problem: Vim9: locked script variable can be changed.
16408Solution: Check legacy script variable for being locked. (issue #8031)
16409Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16410
16411Patch 8.2.2694
16412Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16413Solution: Bail out when no character in 'matchpairs' was found.
16414 (closes #8053) Add assert_nobeep().
16415Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16416 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16417 src/testdir/test_textformat.vim
16418
16419Patch 8.2.2695
16420Problem: Cursor position reset with nested autocommands.
16421Solution: Only check and reset line numbers for not nested autocommands.
16422 (closes #5820)
16423Files: src/autocmd.c, src/testdir/test_terminal.vim
16424
16425Patch 8.2.2696
16426Problem: Lua test fails with Lua 5.4.3 and later.
16427Solution: Check for different error messages. (Yegappan Lakshmanan,
16428 closes #8050)
16429Files: src/testdir/test_lua.vim
16430
16431Patch 8.2.2697
16432Problem: Function list test fails.
16433Solution: Add missing function. (Yegappan Lakshmanan)
16434Files: runtime/doc/usr_41.txt
16435
16436Patch 8.2.2698 (after 8.2.2696)
16437Problem: Lua test fails on MS-Windows.
16438Solution: Fall back to old method if "lua -v" doesn't work.
16439Files: src/testdir/test_lua.vim
16440
16441Patch 8.2.2699
16442Problem: Lua test fails.
16443Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16444Files: src/testdir/test_lua.vim
16445
16446Patch 8.2.2700
16447Problem: Nested autocmd test fails sometimes.
16448Solution: Wait for the job to finish.
16449Files: src/testdir/test_terminal.vim
16450
16451Patch 8.2.2701
16452Problem: Order of removing FORTIFY_SOURCE is wrong.
16453Solution: Use the more specific pattern first.
16454Files: src/configure.ac, src/auto/configure
16455
16456Patch 8.2.2702
16457Problem: Compiler completion test fails when more scripts are added.
16458Solution: Add a more generic pattern.
16459Files: src/testdir/test_compiler.vim
16460
16461Patch 8.2.2703
16462Problem: Vim9: memory leak when failing on locked variable.
16463Solution: Free the memory.
16464Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16465
16466Patch 8.2.2704
16467Problem: Adding a lot of completions can be a bit slow.
16468Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16469 list of completions. (Ben Jackson, closes #8061)
16470Files: src/insexpand.c
16471
16472Patch 8.2.2705
16473Problem: Vim9: misleading reported line number for wrong type.
16474Solution: Remember and use the line number at the start. (closes #8059)
16475Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16476
16477Patch 8.2.2706
16478Problem: Vim9: wrong line number reported for boolean operator.
16479Solution: Use the line number before skipping over line break.
16480 (closes #8058)
16481Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16482
16483Patch 8.2.2707 (after 8.2.2704)
16484Problem: Adding a lot of completions can still be a bit slow.
16485Solution: Add the check for CP_FAST. (Ben Jackson)
16486Files: src/insexpand.c
16487
16488Patch 8.2.2708
16489Problem: Test sometimes fails waiting for shell in terminal.
16490Solution: Use WaitForAssert() so we can see the actual job status. Use
16491 Run_shell_in_terminal().
16492Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16493
16494Patch 8.2.2709
16495Problem: The GTK GUI has a gap next to the scrollbar.
16496Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16497Files: src/gui_gtk.c
16498
16499Patch 8.2.2710
16500Problem: Vim9: not all tests cover script and :def function.
16501Solution: Run tests in both if possible. Fix differences.
16502Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16503 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16504
16505Patch 8.2.2711
16506Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16507Solution: Add a check for being in a closed fold. (closes #8062)
16508Files: src/normal.c, src/testdir/test_fold.vim
16509
16510Patch 8.2.2712
16511Problem: Memory leak when adding to a blob fails.
16512Solution: Clear the second typval before returning.
16513Files: src/eval.c
16514
16515Patch 8.2.2713
16516Problem: Folding code not sufficiently tested.
16517Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16518Files: src/testdir/test_fold.vim
16519
16520Patch 8.2.2714
16521Problem: Filetype pattern ending in star is too far up.
16522Solution: Move down to where patterns ending in star belong. (closes #8065)
16523Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16524
16525Patch 8.2.2715
16526Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16527Solution: Check for the channel feature. (closes #8063)
16528Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16529
16530Patch 8.2.2716
16531Problem: The equivalent class regexp is missing some characters.
16532Solution: Update the list of equivalent characters. (Dominique Pellé,
16533 closes #8029)
16534Files: src/regexp_bt.c, src/regexp_nfa.c,
16535 src/testdir/test_regexp_utf8.vim
16536
16537Patch 8.2.2717
16538Problem: GTK menu items don't show a tooltip.
16539Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16540 closes #8067, closes #7810)
16541Files: src/gui_gtk.c
16542
16543Patch 8.2.2718
16544Problem: Vim9: no explicit test for using a global function without the g:
16545 prefix.
16546Solution: Add a test case.
16547Files: src/testdir/test_vim9_func.vim
16548
16549Patch 8.2.2719
16550Problem: Vim9: appending to dict item doesn't work in a :def function.
16551Solution: Implement assignment with operator on indexed item.
16552Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16553
16554Patch 8.2.2720
16555Problem: GTK menu tooltip moves the cursor.
16556Solution: Position the cursor after displaying the tooltip. Do not show the
16557 tooltip when editing the command line.
16558Files: src/gui_gtk.c
16559
16560Patch 8.2.2721
16561Problem: Vim9: cannot have a linebreak inside a lambda.
16562Solution: Compile the expression before the arguments.
16563Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16564
16565Patch 8.2.2722
16566Problem: Vim9: crash when using LHS with double index.
16567Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16568 Fix confusing error message for missing dict item.
16569Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16570
16571Patch 8.2.2723 (after 8.2.2722)
16572Problem: Assignment test fails.
16573Solution: Adjust error number.
16574Files: src/testdir/test_let.vim
16575
16576Patch 8.2.2724 (after 8.2.2722)
16577Problem: Vim9: concatenating to list in dict not tested.
16578Solution: Add a test. (issue #8068)
16579Files: src/testdir/test_vim9_assign.vim
16580
16581Patch 8.2.2725
16582Problem: Vim9: message about compiling is wrong when using try/catch.
16583Solution: Store the compiling flag with the message. (closes #8071)
16584Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16585 src/testdir/test_vim9_func.vim
16586
16587Patch 8.2.2726
16588Problem: Confusing error message with white space before comma in the
16589 arguments of a function declaration.
16590Solution: Give a specific error message. (closes #2235)
16591Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16592
16593Patch 8.2.2727 (after 8.2.2726)
16594Problem: Function test fails.
16595Solution: Adjust expected error number.
16596Files: src/testdir/test_user_func.vim
16597
16598Patch 8.2.2728
16599Problem: Special key names don't work if 'isident' is cleared.
16600Solution: Add vim_isNormalIDc() and use it for special key names.
16601 (closes #2389)
16602Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16603 src/testdir/test_mapping.vim
16604
16605Patch 8.2.2729
16606Problem: Vim9: wrong error message for referring to legacy script variable.
16607Solution: Do allow referring to a variable in legacy script without "s:" if
16608 it exists at compile time. (closes #8076)
16609Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16610
16611Patch 8.2.2730
16612Problem: Coverity complains about not restoring character.
16613Solution: Also restore the character in case of an error.
16614Files: src/vim9compile.c
16615
16616Patch 8.2.2731
16617Problem: Mac: SF symbols are not displayed properly.
16618Solution: Add custom range to list of double-width characters. (Yee Cheng
16619 Chin, closes #8077)
16620Files: src/mbyte.c
16621
16622Patch 8.2.2732
16623Problem: Prompt for s///c in Ex mode can be wrong.
16624Solution: Position the cursor before showing the prompt. (closes #8073)
16625Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16626
16627Patch 8.2.2733
16628Problem: Detecting Lua version is not reliable.
16629Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16630Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16631 src/testdir/test_lua.vim
16632
16633Patch 8.2.2734
16634Problem: Vim9: cannot use legacy script-local var from :def function.
16635Solution: Do not insist on using "s:" prefix. (closes #8076)
16636Files: src/vim9compile.c, src/proto/vim9compile.pro,
16637 src/testdir/test_vim9_expr.vim
16638
16639Patch 8.2.2735
16640Problem: Vim9: function reference found with prefix, not without.
16641Solution: Also find function reference without prefix.
16642Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16643
16644Patch 8.2.2736
16645Problem: Vim9: for loop over string is a bit slow.
16646Solution: Avoid using strlen().
16647Files: src/vim9execute.c
16648
16649Patch 8.2.2737
16650Problem: Status line not updated when local 'statusline' option set.
16651Solution: Check the 'statusline' option of each window.
16652Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16653 src/testdir/dumps/Test_statusline_mode_1.dump,
16654 src/testdir/dumps/Test_statusline_mode_2.dump
16655
16656Patch 8.2.2738
16657Problem: Extending a list with itself can give wrong result.
16658Solution: Remember the item before where the insertion happens and skip to
16659 after the already inserted items. (closes #1112)
16660Files: src/list.c, src/testdir/test_listdict.vim
16661
16662Patch 8.2.2739
16663Problem: Vim9: a lambda accepts too many arguments at the script level.
16664Solution: Do not set uf_varargs in Vim9 script.
16665Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16666 src/testdir/test_vim9_script.vim
16667
16668Patch 8.2.2740
16669Problem: Vim9: lambda with varargs doesn't work.
16670Solution: Make "...name" work. Require type to be a list.
16671Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16672 src/errors.h, src/testdir/test_vim9_func.vim,
16673 src/testdir/test_vim9_script.vim
16674
16675Patch 8.2.2741
16676Problem: Vim9: Partial call does not check right arguments.
16677Solution: Adjust the offset for whether the partial is before or after the
16678 arguments. (closes #8091)
16679Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16680
16681Patch 8.2.2742
16682Problem: Vim9: when compiling a function fails it is cleared.
16683Solution: Keep the function lines, prevent execution with a different
16684 status. (closes #8093)
16685Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16686 src/testdir/test_vim9_func.vim
16687
16688Patch 8.2.2743
16689Problem: Vim9: function state stuck when compiling with ":silent!".
16690Solution: Check for uf_def_status to be UF_COMPILING.
16691Files: src/vim9compile.c, src/message.c, src/globals.h,
16692 src/testdir/test_vim9_func.vim
16693
16694Patch 8.2.2744
16695Problem: Vim9: no way to explicitly ignore an argument.
16696Solution: Use the underscore as the name for an ignored argument.
16697Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16698 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16699
16700Patch 8.2.2745 (after 8.2.2744)
16701Problem: Vim9: missing part of the argument change.
16702Solution: Add missing changes.
16703Files: src/userfunc.c
16704
16705Patch 8.2.2746 (after 8.2.2745)
16706Problem: Check for duplicate arguments does not work.
16707Solution: Correct condition.
16708Files: src/userfunc.c
16709
16710Patch 8.2.2747
16711Problem: Vim9: not always an error for too many function arguments.
16712Solution: Check for getting too many arguments.
16713Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
16714 src/testdir/test_vim9_builtin.vim
16715
16716Patch 8.2.2748
16717Problem: Vim9: memory leak when calling :def function fails.
16718Solution: Jump to failed_early instead of returning.
16719Files: src/vim9execute.c
16720
16721Patch 8.2.2749
16722Problem: Vim9: test for error can be a bit flaky.
16723Solution: Increase the wait time a bit.
16724Files: src/testdir/test_vim9_script.vim
16725
16726Patch 8.2.2750
16727Problem: Vim9: error for using underscore in nested function.
16728Solution: Do not consider "_" already defined. (closes #8096)
16729Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16730
16731Patch 8.2.2751
16732Problem: Coverity warns for using NULL pointer.
16733Solution: Check for NULL in calling function.
16734Files: src/userfunc.c
16735
16736Patch 8.2.2752
16737problem: coverity reports unreachable code.
16738Solution: Remove check for positive index.
16739Files: src/typval.c
16740
16741Patch 8.2.2753
16742Problem: Vim9: cannot ignore an item in assignment unpack.
16743Solution: Allow using an underscore.
16744Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
16745 src/vim9compile.c, src/testdir/test_vim9_assign.vim
16746
16747Patch 8.2.2754
16748Problem: :sleep! does not always hide the cursor.
16749Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
16750 closes #7998)
16751Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
16752 src/term.c
16753
16754Patch 8.2.2755
16755Problem: Vim9: no error for using a number in a condition.
16756Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
16757 (closes #7644)
16758Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
16759 src/testdir/test_vim9_disassemble.vim
16760
16761Patch 8.2.2756
16762Problem: Vim9: blob index and slice not implemented yet.
16763Solution: Implement blob index and slice.
16764Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
16765 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
16766
16767Patch 8.2.2757
16768Problem: Vim9: blob tests for legacy and Vim9 script are separate.
16769Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
16770Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
16771 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
16772 src/testdir/vim9.vim, src/testdir/test_blob.vim
16773
16774Patch 8.2.2758
16775Problem: Vim9: wrong line number for autoload function with wrong name.
16776Solution: Set and restore SOURCING_LNUM. (closes #8100)
16777Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16778
16779Patch 8.2.2759
16780Problem: Vim9: for loop infers type of loop variable.
16781Solution: Do not get the member type. (closes #8102)
16782Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
16783 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
16784 src/testdir/test_vim9_script.vim
16785
16786Patch 8.2.2760
16787Problem: Vim9: no error for changing a for loop variable.
16788Solution: Make the loop variable read-only. (issue #8102)
16789Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
16790 src/testdir/test_vim9_script.vim
16791
16792Patch 8.2.2761
16793Problem: Using "syn include" does not work properly.
16794Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
16795 closes #8104)
16796Files: src/syntax.c, src/testdir/test_syntax.vim
16797
16798Patch 8.2.2762
16799Problem: Vim9: function line truncated when compiling.
16800Solution: Copy the line before processing it. (closes #8101)
16801Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
16802
16803Patch 8.2.2763
16804Problem: Vim9: cannot use type in for loop unpack at script level.
16805Solution: Advance over the type name.
16806Files: src/evalvars.c, src/testdir/test_vim9_script.vim
16807
16808Patch 8.2.2764
16809Problem: Memory leak when default function argument is allocated.
16810Solution: Free the expression result.
16811Files: src/userfunc.c, src/testdir/test_functions.vim
16812
16813Patch 8.2.2765
16814Problem: Vim9: not all blob operations work.
16815Solution: Run more tests also with Vim9 script and :def functions. Fix what
16816 doesn't work.
16817Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
16818 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
16819
16820Patch 8.2.2766 (after 8.2.2765)
16821Problem: Test failure.
16822Solution: Add change to Vim9 compilation error message.
16823Files: src/vim9compile.c
16824
16825Patch 8.2.2767 (after 8.2.2765)
16826Problem: Compiler warning for unused argument.
16827Solution: Remove the argument.
16828Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
16829
16830Patch 8.2.2768
16831Problem: Vim9: memory leak with blob range error.
16832Solution: Jump to end instead of returning.
16833Files: src/vim9compile.c
16834
16835Patch 8.2.2769
16836Problem: Modula-3 config files are not recognized.
16837Solution: Add filetype patterns. (Doug Kearns)
16838Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16839
16840Patch 8.2.2770
16841Problem: Vim9: type of loop variable is not used.
16842Solution: Parse and check the variable type. (closes #8107)
16843Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16844
16845Patch 8.2.2771
16846Problem: Vim9: assignment not recognized if declaration was skipped.
16847Solution: Also recognized an assignment if the variable does not exist.
16848 (closes #8108)
16849Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
16850
16851Patch 8.2.2772
16852Problem: Problems when restoring 'runtimepath' from a session file.
16853Solution: Add the "skiprtp" item in 'sessionoptions'.
16854Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
16855 src/option.h, src/vim.h, src/option.c,
16856 src/testdir/test_mksession.vim
16857
16858Patch 8.2.2773
16859Problem: PSL filetype not recognized.
16860Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
16861Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16862
16863Patch 8.2.2774
16864Problem: Vim9: cannot import an existing name even when using "as".
16865Solution: Do not check for an existing name when using "as". (closes #8113)
16866Files: src/vim9script.c, src/testdir/test_vim9_script.vim
16867
16868Patch 8.2.2775
16869Problem: Vim9: wrong line number used for some commands.
16870Solution: For :exe, :echo and the like use the line number of the start of
16871 the command. When calling a function set the line number in the
16872 script context.
16873Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
16874 src/testdir/test_vim9_script.vim
16875
16876Patch 8.2.2776
16877Problem: :mksession uses current value of 'splitbelow' and 'splitright'
16878 even though "options" is not in 'sessionoptions'. (Maxim Kim)
16879Solution: Save and restore the values, instead of setting to the current
16880 value. (closes #8119)
16881Files: src/session.c, src/testdir/test_mksession.vim
16882
16883Patch 8.2.2777
16884Problem: Vim9: blob operations not tested in all ways.
16885Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
16886 index work.
16887Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
16888 src/proto/blob.pro, src/testdir/test_blob.vim,
16889 src/testdir/test_vim9_disassemble.vim
16890
16891Patch 8.2.2778
16892Problem: Problem restoring 'packpath' in session.
16893Solution: Let "skiprtp" also apply to 'packpath'.
16894Files: runtime/doc/options.txt, src/option.c,
16895 src/testdir/test_mksession.vim
16896
16897Patch 8.2.2779
16898Problem: Memory access error in remove() for blob.
16899Solution: Adjust length for memmove().
16900Files: src/blob.c
16901
16902Patch 8.2.2780
16903Problem: Vim9: for loop over blob doesn't work.
16904Solution: Make it work.
16905Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
16906
16907Patch 8.2.2781
16908Problem: Add() silently skips when adding to null list or blob.
16909Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
16910 with list and dict.
16911Files: src/list.c, src/evalvars.c, src/vim9execute.c,
16912 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
16913
16914Patch 8.2.2782
16915Problem: Vim9: blob operations not fully tested.
16916Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
16917 insert() give an error for a null blob, like add().
16918Files: src/list.c, src/testdir/test_blob.vim,
16919 src/testdir/test_vim9_builtin.vim
16920
16921Patch 8.2.2783
16922Problem: Duplicate code for setting byte in blob, blob test may fail.
16923Solution: Call blob_set_append(). Test sort failure with "N".
16924Files: src/eval.c, src/testdir/test_blob.vim
16925
16926Patch 8.2.2784
16927Problem: Vim9: cannot use \=expr in :substitute.
16928Solution: Compile the expression into instructions and execute them when
16929 invoked.
16930Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
16931 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
16932 src/proto/ex_cmds.pro, src/globals.h,
16933 src/testdir/test_vim9_cmd.vim,
16934 src/testdir/test_vim9_disassemble.vim
16935
16936Patch 8.2.2785
16937Problem: Vim9: cannot redirect to local variable.
16938Solution: Compile :redir when redirecting to a variable.
16939Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
16940 src/evalvars.c, src/proto/evalvars.pro,
16941 src/testdir/test_vim9_cmd.vim,
16942 src/testdir/test_vim9_disassemble.vim
16943
16944Patch 8.2.2786
16945Problem: Vim9: memory leak when using :s with expression.
16946Solution: Clean up the instruction list.
16947Files: src/vim9compile.c
16948
16949Patch 8.2.2787
16950Problem: MS-Windows: crash when using :echoconsole.
16951Solution: Do not write a NUL when it's already there.
16952Files: src/os_win32.c
16953
16954Patch 8.2.2788
16955Problem: Raku is now the only name what once was called perl6.
16956Solution: Adjust the filetype detection. (closes #8120)
16957Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16958
16959Patch 8.2.2789
16960Problem: Vim9: using \=expr in :substitute does not handle jumps.
16961Solution: Start with instruction count zero. (closes #8128)
16962Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16963
16964Patch 8.2.2790 (after 8.2.2788)
16965Problem: filetype test fails
16966Solution: Also update the scripts detection
16967Files: runtime/scripts.vim
16968
16969Patch 8.2.2791
16970Problem: Vim9: memory leak when using \=expr in :substitute.
16971Solution: Do not allocate a new instruction list.
16972Files: src/vim9compile.c
16973
16974Patch 8.2.2792
16975Problem: Vim9: :disas shows instructions for default args but no text.
16976Solution: Show the expression test above the default argument instructions.
16977 (closes #8129)
16978Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
16979
16980Patch 8.2.2793
16981Problem: MS-Windows: string literals are writable with MSVC.
16982Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
16983 closes #8133)
16984Files: src/Make_mvc.mak, src/os_win32.c
16985
16986Patch 8.2.2794
16987Problem: Linux users don't know how to get ncurses.
16988Solution: Add the name of the package. (closes #8132)
16989Files: src/configure.ac, src/auto/configure
16990
16991Patch 8.2.2795
16992Problem: Coverity warns for not using return value.
16993Solution: Check the return value of compiling the substitute expression.
16994Files: src/vim9compile.c
16995
16996Patch 8.2.2796
16997Problem: Vim9: redir to variable does not accept an index.
16998Solution: Make the index work.
16999Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17000
17001Patch 8.2.2797
17002Problem: Search highlight disappears in the Visual area.
17003Solution: Combine the search attributes. (closes #8134)
17004Files: src/drawline.c, src/testdir/test_search.vim,
17005 src/testdir/dumps/Test_hlsearch_visual_1.dump
17006
17007Patch 8.2.2798
17008Problem: Vim9: redir to variable with append does not accept an index.
17009Solution: Make the appending work.
17010Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17011
17012Patch 8.2.2799
17013Problem: Vim9: type casts don't fully work at the script level.
17014Solution: Implement the missing piece.
17015Files: src/eval.c, src/testdir/test_vim9_expr.vim
17016
17017Patch 8.2.2800
17018Problem: After a timer displays text a hit-enter prompt is given.
17019Solution: Reset msg_didany and need_wait_return. (closes #8136)
17020Files: src/drawscreen.c, src/testdir/test_timers.vim
17021
17022Patch 8.2.2801
17023Problem: Free Pascal makefile not recognized.
17024Solution: Add the fpcmake filetype. (Doug Kearns)
17025Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17026
17027Patch 8.2.2802
17028Problem: Vim9: illegal memory access.
17029Solution: Check for comment before checking for white space. (closes #8142)
17030Files: src/eval.c, src/testdir/test_vim9_func.vim
17031
17032Patch 8.2.2803
17033Problem: Flicker when the popup menu has an info popup.
17034Solution: Avoid drawing over the popup when it's going to be redrawn in the
17035 same position. (closes #8131) Also avoid redrawing the scrollbar.
17036Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17037 src/globals.h
17038
17039Patch 8.2.2804
17040Problem: Setting buffer local mapping with mapset() changes global mapping.
17041Solution: Only set the local mapping. (closes #8143)
17042Files: src/map.c, src/testdir/test_maparg.vim
17043
17044Patch 8.2.2805
17045Problem: Vim9: cannot use legacy syntax in Vim9 script.
17046Solution: Add the :legacy command.
17047Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17048 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17049 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17050 src/testdir/test_vim9_assign.vim
17051
17052Patch 8.2.2806
17053Problem: Vim9: using "++nr" as a command might not work.
17054Solution: Do not recognize "++" and "--" in a following line as addition or
17055 subtraction.
17056Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17057 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17058 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17059
17060Patch 8.2.2807
17061Problem: Build fails with tiny features.
17062Solution: Use a dummy function for ex_incdec().
17063Files: src/ex_docmd.c
17064
17065Patch 8.2.2808
17066Problem: Vim9: increment and decrement not sufficiently tested.
17067Solution: Add assertions.
17068Files: src/testdir/test_vim9_assign.vim
17069
17070Patch 8.2.2809
17071Problem: Vim9: :def function compilation fails when using :legacy.
17072Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17073Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17074
17075Patch 8.2.2810
17076Problem: Vim9: crash when calling a function in a substitute expression.
17077Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017078 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017079Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17080
17081Patch 8.2.2811
17082Problem: Vim9: error for missing white space doesn't say where it is
17083 missing
17084Solution: Mention the command. (closes #8149)
17085Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17086
17087Patch 8.2.2812
17088Problem: Vim9: still crash when using substitute expression.
17089Solution: Put the instruction list in the stack frame. (closes #8154)
17090Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17091
17092Patch 8.2.2813
17093Problem: Cannot grep using fuzzy matching.
17094Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17095Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17096 src/quickfix.c, src/search.c, src/vim.h,
17097 src/testdir/test_quickfix.vim
17098
17099Patch 8.2.2814 (after 8.2.2812)
17100Problem: Vim9: unused variable. (John Marriott)
17101Solution: Adjust #ifdef.
17102Files: src/vim9execute.c
17103
17104Patch 8.2.2815
17105Problem: Status line flickers when redrawing popup menu info.
17106Solution: Do not redraw the status line when the focus is in the popup
17107 window. (issue #8144)
17108Files: src/popupmenu.c
17109
17110Patch 8.2.2816
17111Problem: Vim9: comment below expression in lambda causes problems.
17112Solution: Use a single space for empty and comment lines. (closes #8156)
17113Files: src/eval.c, src/testdir/test_vim9_expr.vim
17114
17115Patch 8.2.2817
17116Problem: Vim9: script sourcing continues after an error.
17117Solution: Make an error in any command in "vim9script" abort sourcing.
17118Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17119 src/testdir/test_vim9_assign.vim,
17120 src/testdir/test_vim9_func.vim
17121
17122Patch 8.2.2818
17123Problem: No jump added to jumplist when opening terminal in current window.
17124Solution: Call setpcmark(). (closes #8158)
17125Files: src/terminal.c, src/testdir/test_terminal.vim
17126
17127Patch 8.2.2819
17128Problem: Finishing an abbreviation with a multi-byte char may not work.
17129Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17130Files: src/map.c, src/testdir/test_mapping.vim
17131
17132Patch 8.2.2820
17133Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017134Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017135Files: src/session.c, src/testdir/test_mksession.vim
17136
17137Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017138Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017139Solution: Skip loading libraries when invoked with "-register".
17140Files: src/main.c, src/globals.h, src/os_win32.c
17141
17142Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017143Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017144Solution: Also skip loading libraries when invoked with "-unregister". Run
17145 Vim for README.txt with user privileges.
17146Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17147
17148Patch 8.2.2823
17149Problem: MS-Windows: launching Vim from installer doesn't open README.
17150Solution: Adjust the quotes.
17151Files: nsis/gvim.nsi
17152
17153Patch 8.2.2824
17154Problem: MS-Windows: build failure with MSVC.
17155Solution: Adjust the list of distributed files. Add hint about python.
17156 Adjust path for reading runtime files.
17157Files: Filelist, src/testdir/shared.vim,
17158 src/testdir/test_function_lists.vim
17159
17160Patch 8.2.2825
17161Problem: Code in checkreadonly() not fully tested.
17162Solution: Add more tests. (Dominique Pellé, closes #8169)
17163Files: src/testdir/test_excmd.vim
17164
17165Patch 8.2.2826
17166Problem: Compiler warnings for int to size_t conversion. (Randall W.
17167 Morris)
17168Solution: Add type casts.
17169Files: src/map.c, src/quickfix.c
17170
17171Patch 8.2.2827
17172Problem: Test file was not deleted.
17173Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17174Files: src/testdir/test_mksession.vim
17175
17176Patch 8.2.2828
17177Problem: Coverity complains about not checking the rename() return value.
17178Solution: Add "(void)", can't do anything in case of a failure.
17179Files: src/fileio.c
17180
17181Patch 8.2.2829
17182Problem: Some comments are not correct or clear.
17183Solution: Adjust the comments. Add test for cursor position.
17184Files: src/regexp_bt.c, src/regexp_nfa.c,
17185 src/testdir/test_exec_while_if.vim,
17186 src/testdir/test_substitute.vim
17187
17188Patch 8.2.2830
17189Problem: Terminal colors are not updated when 'background' is set.
17190Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17191 closes #8171, closes #8150)
17192Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17193
17194Patch 8.2.2831
17195Problem: Vim9: expandcmd() not tested.
17196Solution: Add a test.
17197Files: src/testdir/test_vim9_builtin.vim
17198
17199Patch 8.2.2832
17200Problem: Operator cancelled by moving mouse when using popup. (Sergey
17201 Vlasov)
17202Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17203Files: src/normal.c
17204
17205Patch 8.2.2833
17206Problem: Two key command cancelled by moving mouse when using popup.
17207 (Sergey Vlasov)
17208Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17209Files: src/getchar.c
17210
17211Patch 8.2.2834
17212Problem: Vim9: :cexpr does not work with local variables.
17213Solution: Compile :cexpr.
17214Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17215 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17216 src/testdir/test_vim9_disassemble.vim
17217
17218Patch 8.2.2835 (after 8.2.2834)
17219Problem: Vim9: leaking memory in :cexpr.
17220Solution: Also free the command line copy.
17221Files: src/vim9compile.c
17222
17223Patch 8.2.2836 (after 8.2.2834)
17224Problem: Build failure without the +quickfix feature. (John Marriott)
17225Solution: Add #ifdef.
17226Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17227
17228Patch 8.2.2837
17229Problem: Various code lines not covered by tests.
17230Solution: Add test cases. (Dominique Pellé, closes #8178)
17231Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17232 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17233 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17234
17235Patch 8.2.2838
17236Problem: File extension .wrap not recognized.
17237Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17238Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17239
17240Patch 8.2.2839
17241Problem: Default redirection missing "ash" and "dash".
17242Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17243Files: runtime/doc/options.txt, src/option.c
17244
17245Patch 8.2.2840
17246Problem: Vim9: member operation not fully tested.
17247Solution: Add a few tests.
17248Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17249
17250Patch 8.2.2841
17251Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
17252 'statusline' are set.
17253Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17254Files: src/os_win32.c
17255
17256Patch 8.2.2842
17257Problem: Vim9: skip argument to searchpair() is not compiled.
17258Solution: Add VAR_INSTR.
17259Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17260 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17261 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17262 src/viminfo.c, src/if_py_both.h, src/json.c,
17263 src/testdir/test_vim9_disassemble.vim,
17264 src/testdir/test_vim9_builtin.vim
17265
17266Patch 8.2.2843 (after 8.2.2842)
17267Problem: Vim9: skip argument to searchpairpos() is not compiled.
17268Solution: Handle like searchpair(). Also for search() and searchpos().
17269Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17270
17271Patch 8.2.2844
17272Problem: Vim9: memory leak when using searchpair().
17273Solution: Free the v_instr field.
17274Files: src/typval.c
17275
17276Patch 8.2.2845
17277Problem: MS-Windows: warning for signed/unsigned comparison.
17278Solution: Add type cast.
17279Files: src/terminal.c
17280
17281Patch 8.2.2846
17282Problem: Vim9: "echo Func()" does not give an error for a function without
17283 a return value.
17284Solution: Give an error. Be more specific about why a value is invalid.
17285Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17286 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17287 src/testdir/test_vim9_cmd.vim
17288
17289Patch 8.2.2847
17290Problem: Perl not tested sufficiently.
17291Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17292Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17293
17294Patch 8.2.2848
17295Problem: Crash when calling partial.
17296Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17297Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17298 src/testdir/test_listdict.vim
17299
17300Patch 8.2.2849
17301Problem: Bufwrite not sufficiently tested.
17302Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17303Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17304
17305Patch 8.2.2850
17306Problem: Recalling commands from history is not tested.
17307Solution: Add tests. (closes #8194)
17308Files: src/testdir/test_cmdline.vim
17309
17310Patch 8.2.2851
17311Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17312 (Naohiro Ono)
17313Solution: Jump to cmdline_not_changed if the command line didn't change.
17314 (closes #8208)
17315Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17316
17317Patch 8.2.2852
17318Problem: Configure can add --as-needed a second time.
17319Solution: Only add --as-needed if not already there. (Natanael Copa,
17320 closes #8189, closes #8181)
17321Files: src/configure.ac, src/auto/configure
17322
17323Patch 8.2.2853 (after 8.2.2851)
17324Problem: Window is not updated after using <Cmd> mapping.
17325Solution: So jump to cmdline_changed but skip autocommand.
17326Files: src/ex_getln.c
17327
17328Patch 8.2.2854
17329Problem: Custom statusline cannot contain % items.
17330Solution: Add "%{% expr %}". (closes #8190)
17331Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17332 src/testdir/test_statusline.vim
17333
17334Patch 8.2.2855
17335Problem: White space after "->" does not give E274.
17336Solution: Do not skip white space in legacy script. (closes #8212)
17337Files: src/eval.c, src/testdir/test_method.vim
17338
17339Patch 8.2.2856
17340Problem: Get readonly error for device that can't be written to.
17341Solution: Check for being able to write first. (closes #8205)
17342Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17343
17344Patch 8.2.2857
17345Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17346Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17347Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17348 src/testdir/test_vim9_builtin.vim
17349
17350Patch 8.2.2858 (after 8.2.2857)
17351Problem: Test fails because of changed error message.
17352Solution: Adjust the expected error message.
17353Files: src/testdir/test_ex_mode.vim
17354
17355Patch 8.2.2859 (after 8.2.2857)
17356Problem: Tcl test fails because of changed error message.
17357Solution: Adjust the expected error message.
17358Files: src/testdir/test_tcl.vim
17359
17360Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017361Problem: Adding a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017362Solution: Use changed_lines_buf() to only redraw the affected lines.
17363Files: src/change.c, src/proto/change.pro, src/textprop.c
17364
17365Patch 8.2.2861
17366Problem: Vim9: "legacy return" is not recognized as a return statement.
17367Solution: Specifically check for a return command. (closes #8213)
17368Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17369 src/testdir/test_vim9_expr.vim
17370
17371Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017372Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017373Solution: Use changed_lines_buf() to only redraw the affected lines.
17374Files: src/textprop.c
17375
17376Patch 8.2.2863 (after 8.2.2862)
17377Problem: Removing a text property does not redraw optimally.
17378Solution: Only redraw the lines that mithg actually have been changed.
17379Files: src/textprop.c
17380
17381Patch 8.2.2864
17382Problem: Vim9: crash when using inline function.
17383Solution: Check for NULL pointer. Make using inline function work inside
17384 lambda. (closes #8217)
17385Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17386
17387Patch 8.2.2865 (after 8.2.2864)
17388Problem: Skipping over function body fails.
17389Solution: Do not define the function when skipping.
17390Files: src/userfunc.c
17391
17392Patch 8.2.2866
17393Problem: Vim9: memory leak when using inline function.
17394Solution: Remember what strings to free.
17395Files: src/userfunc.c, src/structs.h, src/eval.c
17396
17397Patch 8.2.2867 (after 8.2.2866)
17398Problem: Build failure.
17399Solution: Add missing part of the change.
17400Files: src/globals.h
17401
17402Patch 8.2.2868
17403Problem: Vim9: When executing a compiled expression the trylevel at start
17404 is changed but not restored. (closes #8214)
17405Solution: Restore the trylevel at start.
17406Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17407
17408Patch 8.2.2869
17409Problem: Using unified diff is not tested.
17410Solution: Test all cases also with unified diff. (issue #8197)
17411Files: src/testdir/test_diffmode.vim
17412
17413Patch 8.2.2870
17414Problem: CmdlineChange event triggered twice for CTRL-R.
17415Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17416 (closes #8219)
17417Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17418
17419Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017420Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017421Solution: Call skipdigits() on the next character. Improve indenting.
17422 (Dominique Pellé, closes #8227)
17423Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17424 src/ops.c, src/tag.c, src/vim9compile.c
17425
17426Patch 8.2.2872
17427Problem: Python tests fail without the channel feature.
17428Solution: Add a feature check. (Dominique Pellé, closes #8226)
17429Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17430
17431Patch 8.2.2873
17432Problem: Not enough tests for writing buffers.
17433Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17434Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17435 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17436
17437Patch 8.2.2874
17438Problem: MS-Windows: screen redraws too often.
17439Solution: Do not redraw when peeking for a character. (closes #8230,
17440 closes #8211)
17441Files: src/os_win32.c
17442
17443Patch 8.2.2875
17444Problem: Cancelling inputlist() after a digit does not return zero.
17445Solution: Always return zero when cancelling. (closes #8231)
17446Files: src/misc1.c, src/testdir/test_functions.vim
17447
17448Patch 8.2.2876
17449Problem: Configure cannot detect Python 3.10.
17450Solution: Use sys.version_info. (closes #8233)
17451Files: src/configure.ac, src/auto/configure
17452
17453Patch 8.2.2877
17454Problem: Insufficient tests for popup menu rightleft.
17455Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17456Files: src/testdir/test_popup.vim,
17457 src/testdir/dumps/Test_pum_rightleft_01.dump,
17458 src/testdir/dumps/Test_pum_rightleft_02.dump,
17459 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17460 src/testdir/dumps/Test_pum_scrollbar_02.dump
17461
17462Patch 8.2.2878
17463Problem: Vim9: for loop list unpack only allows for one "_".
17464Solution: Drop the value when the variable is "_". (closes #8232)
17465Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17466
17467Patch 8.2.2879
17468Problem: File extension .hsig not recognized.
17469Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17470 closes #8236)
17471Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17472
17473Patch 8.2.2880
17474Problem: Unified diff fails if actually used.
17475Solution: Invoke :diffupdate in the test. Fix the check for working external
17476 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17477Files: src/diff.c, src/testdir/test_diffmode.vim
17478
17479Patch 8.2.2881
17480Problem: Various pieces of code not covered by tests.
17481Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17482Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17483 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17484 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17485 src/testdir/test_vim9_func.vim
17486
17487Patch 8.2.2882
17488Problem: Vim9: memory leak when lambda has an error.
17489Solution: Free the list of argument types on failure.
17490Files: src/userfunc.c
17491
17492Patch 8.2.2883
17493Problem: MS-Windows manifest file name is misleading.
17494Solution: Rename the file. (closes #8241)
17495Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17496 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17497
17498Patch 8.2.2884
17499Problem: Not enough cscope code is covered by tests.
17500Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17501Files: src/testdir/test_cscope.vim
17502
17503Patch 8.2.2885
17504Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17505Solution: Match end of line if column is MAXCOL. (closes #8238)
17506Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17507
17508Patch 8.2.2886
17509Problem: Various pieces of code not covered by tests.
17510Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17511Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17512 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17513 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17514 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17515
17516Patch 8.2.2887
17517Problem: Crash when passing null string to fullcommand().
17518Solution: Check for NULL pointer. (closes #8256)
17519Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17520
17521Patch 8.2.2888
17522Problem: Vim9: "k" command recognized in Vim9 script.
17523Solution: Do not recognize "k" or "s" and "d" with flags.
17524Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17525 src/testdir/test_vim9_script.vim
17526
17527Patch 8.2.2889
17528Problem: Typo and verbose comment in Makefiles.
17529Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17530Files: Makefile, src/testdir/Makefile
17531
17532Patch 8.2.2890
17533Problem: Text property duplicated when data block splits.
17534Solution: Do not continue text prop from previous line. (closes #8261)
17535Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17536
17537Patch 8.2.2891
17538Problem: Cannot build with Perl 5.34.
17539Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17540 closes #8250)
17541Files: src/if_perl.xs
17542
17543Patch 8.2.2892
17544Problem: Error message contains random characters.
17545Solution: Pass the right pointer to error_white_both(). (closes #8272,
17546 closes #8263)
17547Files: src/eval.c, src/testdir/test_vim9_expr.vim
17548
17549Patch 8.2.2893
17550Problem: Multi-byte text in popup title shows up wrong.
17551Solution: Use the character width instead of the byte length. (Ralf Schandl,
17552 closes #8267, closes #8264)
17553Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17554 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17555
17556Patch 8.2.2894
17557Problem: MS-Windows: using enc_locale() for strftime() might not work.
17558Solution: Use wcsftime(). (Ken Takata, closes #8271)
17559Files: src/time.c
17560
17561Patch 8.2.2895
17562Problem: Vim9: random characters appear in some error messages.
17563Solution: Pass the correct pointer. (closes #8277)
17564Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17565
17566Patch 8.2.2896
17567Problem: Spellfile functionality not fully tested.
17568Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17569 closes #8270)
17570Files: src/testdir/test_spellfile.vim
17571
17572Patch 8.2.2897
17573Problem: Vim9: can use reserved words at the script level.
17574Solution: Check variable names for reserved words. (closes #8253)
17575Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17576 src/eval.c, src/testdir/test_vim9_assign.vim
17577
17578Patch 8.2.2898
17579Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17580Solution: Call before_quit_autocmds(). (closes #8242)
17581Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17582
17583Patch 8.2.2899
17584Problem: Appveyor script does not detect nmake failure.
17585Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17586Files: ci/appveyor.bat
17587
17588Patch 8.2.2900
17589Problem: QuitPre is triggered before :wq writes the file, which is
17590 different from other commands.
17591Solution: Trigger QuitPre after writing the file. (closes #8279)
17592Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17593
17594Patch 8.2.2901
17595Problem: Some operators not fully tested.
17596Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17597Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17598 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17599 src/testdir/test_visual.vim
17600
17601Patch 8.2.2902
17602Problem: Spellfile functionality not fully tested.
17603Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17604 closes #8283)
17605Files: src/testdir/test_spellfile.vim
17606
17607Patch 8.2.2903
17608Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17609Solution: Don't add space for showbreak twice. (Christian Brabandt,
17610 closes #8262)
17611Files: src/drawline.c, src/testdir/test_display.vim
17612
17613Patch 8.2.2904
17614Problem: "g$" causes scroll if half a double width char is visible.
17615Solution: Advance to the last fully visible character. (closes #8254)
17616Files: src/normal.c, src/testdir/test_normal.vim
17617
17618Patch 8.2.2905
17619Problem: No error when defaults.vim cannot be loaded.
17620Solution: Add an error message. (Christian Brabandt, closes #8248)
17621Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17622 src/testdir/test_startup.vim
17623
17624Patch 8.2.2906 (after 8.2.2905)
17625Problem: ASAN reports errors for test_startup for unknown reasons.
17626Solution: Temporarily disable the new test.
17627Files: src/testdir/test_startup.vim
17628
17629Patch 8.2.2907
17630Problem: Memory leak when running out of memory.
17631Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17632Files: src/term.c
17633
17634Patch 8.2.2908
17635Problem: Crash when using a terminal popup window from the cmdline window.
17636Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17637 (closes #8286)
17638Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17639 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17640
17641Patch 8.2.2909
17642Problem: Build error with non-Unix system.
17643Solution: Always include limits.h.
17644Files: src/vim.h
17645
17646Patch 8.2.2910
17647Problem: Test for cmdline window and terminal fails on MS-Windows.
17648Solution: Skip the test on MS-Windows.
17649Files: src/testdir/test_cmdline.vim
17650
17651Patch 8.2.2911
17652Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17653Solution: Use the value of vi_curswant. (closes #8285)
17654Files: src/regexp.c, src/testdir/test_search.vim,
17655 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17656
17657Patch 8.2.2912
17658Problem: MS-Windows: most users expect using Unicode.
17659Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17660 closes #3907)
17661Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17662 src/testdir/test_writefile.vim
17663
17664Patch 8.2.2913
17665Problem: MS-Windows conpty supports using mouse events.
17666Solution: When enabling the mouse enable mouse input and disable quick edit
17667 mode. (Wez Furlong, closes #8280)
17668Files: src/os_win32.c
17669
17670Patch 8.2.2914
17671Problem: Cannot paste a block without adding padding.
17672Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17673 Brabandt, closes #8289)
17674Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17675 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17676 src/testdir/test_visual.vim
17677
17678Patch 8.2.2915
17679Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17680Solution: Use the system encoding. (Ken Takata, closes #8300)
17681Files: src/mbyte.c, runtime/doc/options.txt
17682
17683Patch 8.2.2916
17684Problem: Operators are not fully tested.
17685Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17686Files: src/ops.c, src/testdir/test_netbeans.vim,
17687 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17688
17689Patch 8.2.2917
17690Problem: Spellfile functionality not fully tested.
17691Solution: Add tests for SFX with removal of characters, spelling
17692 suggestions with NOBREAK and others. (Dominique Pellé,
17693 closes #8293)
17694Files: src/testdir/test_spellfile.vim
17695
17696Patch 8.2.2918
17697Problem: Builtin function can be shadowed by global variable.
17698Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17699 closes #8302)
17700Files: src/eval.c, src/testdir/test_functions.vim
17701
17702Patch 8.2.2919
17703Problem: Using ":!command" does not work if the command uses posix_spawn().
17704Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17705Files: src/os_unix.c
17706
17707Patch 8.2.2920
17708Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
17709Solution: Check the key when using extend(). (issue #8302)
17710Files: src/eval.c, src/dict.c, src/proto/dict.pro,
17711 src/testdir/test_functions.vim
17712
17713Patch 8.2.2921
17714Problem: E704 for script local variable is not backwards compatible.
17715 (Yasuhiro Matsumoto)
17716Solution: Only give the error in Vim9 script. Also check for function-local
17717 variable.
17718Files: src/dict.c, src/testdir/test_functions.vim
17719
17720Patch 8.2.2922
17721Problem: Computing array length is done in various ways.
17722Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
17723Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
17724 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
17725 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
17726 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
17727 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
17728 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
17729 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
17730 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
17731 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
17732 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
17733 src/usercmd.c, src/version.c
17734
17735Patch 8.2.2923
17736Problem: EBCDIC build is broken.
17737Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
17738Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
17739
17740Patch 8.2.2924
17741Problem: Superfluous extern declaration.
17742Solution: Delete the declaration. (Ken Takata, closes #8307)
17743Files: src/main.c
17744
17745Patch 8.2.2925
17746Problem: Vim9: line continuation comment uses legacy syntax.
17747Solution: Check for #\ instead of "\. (closes #8295)
17748Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17749
17750Patch 8.2.2926
17751Problem: Vim9: no good error for using :legacy in a :def function.
17752Solution: Give an explicit error where :legacy is not working.
17753 (closes #8309)
17754Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
17755
17756Patch 8.2.2927
17757Problem: Test commented out because it fails with ASAN.
17758Solution: Only skip the test when running with ASAN.
17759Files: src/testdir/test_startup.vim
17760
17761Patch 8.2.2928
17762Problem: The evalfunc.c file is too big.
17763Solution: Move float related functionality to a separate file. (Yegappan
17764 Lakshmanan, closes #8287)
17765Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
17766 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
17767 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
17768 src/proto/eval.pro, src/proto/float.pro
17769
17770Patch 8.2.2929
17771Problem: Accidentally enable tcl by default.
17772Solution: Revert change to Makefile
17773Files: src/Makefile
17774
17775Patch 8.2.2930
17776Problem: When a popup is visible a mouse move my restart Visual mode.
17777Solution: Reset held_button when ending Visual mode. (closes #8318)
17778Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
17779
17780Patch 8.2.2931
17781Problem: Vim9: line continuation comment still uses legacy syntax in one
17782 place.
17783Solution: Check for #\ instead of "\ earlier. (closes #8316)
17784Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17785
17786Patch 8.2.2932 (after 8.2.2930)
17787Problem: Select mode test fails.
17788Solution: Do not always reset the held mouse button.
17789Files: src/mouse.c, src/normal.c, src/proto/normal.pro
17790
17791Patch 8.2.2933
17792Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
17793Solution: Pass -1 to str_to_reg() and fix computing the character width
17794 instead of using the byte length. (Christian Brabandt,
17795 closes #8301, closes #8317)
17796Files: src/clipboard.c, src/mbyte.c, src/register.c
17797
17798Patch 8.2.2934 (after 8.2.2933)
17799Problem: ASAN error when using text from the clipboard.
17800Solution: Get width of each character.
17801Files: src/register.c
17802
17803Patch 8.2.2935 (after 8.2.2934)
17804Problem: Calculating register width is not always needed. (Christian
17805 Brabandt)
17806Solution: Only calculate the width when the type is MBLOCK.
17807Files: src/register.c
17808
17809Patch 8.2.2936
17810Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
17811 Halim)
17812Solution: Include the offset in the 2BOOL command.
17813Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
17814 src/testdir/test_vim9_expr.vim,
17815 src/testdir/test_vim9_disassemble.vim
17816
17817Patch 8.2.2937
17818Problem: Popup test fails if rightleft feature not enabled.
17819Solution: Check that the rightleft feature is available. (Dominique Pellé,
17820 closes #8321)
17821Files: src/testdir/test_popup.vim
17822
17823Patch 8.2.2938
17824Problem: After using motion force from feedkeys() it may not be reset.
17825Solution: Clear motion_force in clearop(). (closes #8323)
17826Files: src/normal.c, src/testdir/test_visual.vim
17827
17828Patch 8.2.2939
17829Problem: GTK: righthand scrollbar does not show with split window.
17830Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
17831 closes #8324)
17832Files: src/gui_gtk.c
17833
17834Patch 8.2.2940
17835Problem: MS-Windows: cannot see the size of the text area when resizing the
17836 gvim window.
17837Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
17838Files: src/gui_w32.c
17839
17840Patch 8.2.2941
17841Problem: Vim9: using `=expr` does not handle a list of strings.
17842Solution: Convert a list to a string and escape each item. (closes #8310)
17843Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17844
17845Patch 8.2.2942
17846Problem: Vim9: internal error when calling function with too few arguments
17847Solution: Check for argument count to be too few. (closes #8325)
17848Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17849
17850Patch 8.2.2943
17851Problem: Vim9: check for argument count ignores default values.
17852Solution: Take default argument values into account.
17853Files: src/vim9execute.c
17854
17855Patch 8.2.2944
17856Problem: Vim9: no error when using job or channel as a string.
17857Solution: Be more strict about conversion to string. (closes #8312)
17858Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
17859 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
17860 src/testdir/test_vim9_builtin.vim
17861
17862Patch 8.2.2945
17863Problem: Some buffer related code is not tested.
17864Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
17865Files: src/termlib.c, src/testdir/test_excmd.vim,
17866 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
17867 src/testdir/test_visual.vim
17868
17869Patch 8.2.2946
17870Problem: Vim9: substitute expression cannot be a List in a :def function.
17871Solution: Use typval2string(). (closes #8330)
17872Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17873
17874Patch 8.2.2947
17875Problem: Build failure without the channel feature.
17876Solution: Add back #ifdef. (John Marriott)
17877Files: src/eval.c
17878
17879Patch 8.2.2948
17880Problem: Substitute() accepts a number but not a float expression.
17881Solution: Also accept a float. (closes #8331)
17882Files: src/typval.c, src/testdir/test_substitute.vim
17883
17884Patch 8.2.2949 (after 8.2.2948)
17885Problem: Tests failing because there is no error for float to string
17886 conversion.
17887Solution: Change the check for failure to check for correct result. Make
17888 some conversions strict in Vim9 script.
17889Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
17890 src/filepath.c, src/testdir/test_eval_stuff.vim,
17891 src/testdir/test_execute_func.vim,
17892 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
17893 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
17894
17895Patch 8.2.2950
17896Problem: Sound code not fully tested.
17897Solution: Add more sound tests. (Dominique Pellé, closes #8332)
17898Files: src/testdir/test_sound.vim
17899
17900Patch 8.2.2951
17901Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
17902Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
17903 instruction.
17904Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
17905 src/testdir/test_vim9_func.vim,
17906 src/testdir/test_vim9_disassemble.vim
17907
17908Patch 8.2.2952
17909Problem: Recover test fails on big endian systems.
17910Solution: Disable the failing test on big endian systems. (Yegappan
17911 Lakshmanan, closes #8335)
17912Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
17913
17914Patch 8.2.2953 (after 8.2.2951)
17915Problem: Vim9: leaking memory when using heredoc script.
17916Solution: Free the first line.
17917Files: src/vim9execute.c
17918
17919Patch 8.2.2954
17920Problem: Short file name extension for Scala not recognized.
17921Solution: Recognize *.sc. (closes #8337)
17922Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17923
17924Patch 8.2.2955
17925Problem: Vim9: using filter in compiled command does not work.
17926Solution: Generate EXEC including the command modifier.
17927Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
17928 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
17929
17930Patch 8.2.2956
17931Problem: Vim9: need to plan for future additions.
17932Solution: Reserve commands for future use: :type, :class, :enum.
17933Files: src/ex_cmds.h, src/ex_cmdidxs.h
17934
17935Patch 8.2.2957
17936Problem: Using getchar() in Vim9 script is problematic.
17937Solution: Add getcharstr(). (closes #8343)
17938Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
17939 src/proto/getchar.pro, src/testdir/test_getchar.vim
17940
17941Patch 8.2.2958 (after 8.2.2957)
17942Problem: Function list test fails.
17943Solution: Add newly added function to the list. Fix typo.
17944Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
17945
17946Patch 8.2.2959
17947Problem: sound_playfile() is not tested on MS-Windows.
17948Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
17949Files: src/sound.c, src/testdir/test_sound.vim
17950
17951Patch 8.2.2960
17952Problem: Swap file recovery not sufficiently tested.
17953Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
17954Files: src/testdir/test_recover.vim
17955
17956Patch 8.2.2961
17957Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017958Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017959Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
17960 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
17961
17962Patch 8.2.2962
17963Problem: MS-Windows command line arguments have wrong encoding.
17964Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
17965Files: src/os_win32.c
17966
17967Patch 8.2.2963
17968Problem: GUI: mouse move may start Visual mode with a popup visible.
17969Solution: Add special code for mouse move. (closes #8318)
17970Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
17971
17972Patch 8.2.2964
17973Problem: Vim9: hang when using space after ->. (Naohiro Ono)
17974Solution: Skip over white space to find the function name. (closes #8341)
17975Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17976
17977Patch 8.2.2965
17978Problem: Vim9: crash when calling function that failed to compile.
17979Solution: Fail when trying to call the function. (closes #8344)
17980Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
17981
17982Patch 8.2.2966
17983Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
17984Solution: Fix the cursor position after deleting lines.
17985Files: src/memline.c
17986
17987Patch 8.2.2967
17988Problem: Vim9: crash when using two levels of partials.
17989Solution: Add outer_ref_T and use it in the execution context.
17990Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
17991
17992Patch 8.2.2968 (after 8.2.2967)
17993Problem: Vim9: memory leak
17994Solution: Unreference pt_outer of partial.
17995Files: src/eval.c
17996
17997Patch 8.2.2969
17998Problem: Subtracting from number option fails when result is zero. (Ingo
17999 Karkat)
18000Solution: Reset the string value when using the numeric value.
18001 (closes #8351)
18002Files: src/evalvars.c, src/testdir/test_vimscript.vim
18003
18004Patch 8.2.2970
18005Problem: Python configure check uses deprecated command.
18006Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18007 closes #8354)
18008Files: src/configure.ac, src/auto/configure
18009
18010Patch 8.2.2971
18011Problem: Cannot yank a block without trailing spaces.
18012Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18013Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18014 src/ops.c, src/register.c, src/structs.h,
18015 src/testdir/test_visual.vim
18016
18017Patch 8.2.2972
18018Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18019 Schandl)
18020Solution: Do not try to delete a popup window buffer. (closes #8349)
18021Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18022
18023Patch 8.2.2973
18024Problem: Fix for recovery and diff mode not tested.
18025Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18026Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18027 src/testdir/test_recover.vim
18028
18029Patch 8.2.2974
18030Problem: Greek spell checking uses wrong case folding.
18031Solution: Fold capital sigma depending on whether it is at the end of a
18032 word or not. (closes #299)
18033Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18034 src/spellsuggest.c
18035
18036Patch 8.2.2975
18037Problem: Vim9: can only use an autoload function name as a string.
18038Solution: Load the autoload script when encountered. (closes #8124)
18039Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18040 src/testdir/test_vim9_func.vim
18041
18042Patch 8.2.2976 (after 8.2.2975)
18043Problem: Build failure without the +eval feature.
18044Solution: Add #ifdefs.
18045Files: src/scriptfile.c
18046
18047Patch 8.2.2977
18048Problem: Crash when using a null function reference. (Naohiro Ono)
18049Solution: Check for an invalid function name. (closes #8367)
18050Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18051
18052Patch 8.2.2978 (after 8.2.2977)
18053Problem: Warning for uninitialized variable.
18054Solution: Set return value to FAIL.
18055Files: src/eval.c
18056
18057Patch 8.2.2979
18058Problem: Not all options code is covered by tests.
18059Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18060Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18061 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18062 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18063 src/testdir/test_window_cmd.vim
18064
18065Patch 8.2.2980
18066Problem: Popup window test is a bit flaky.
18067Solution: Add a redraw command.
18068Files: src/testdir/test_popupwin.vim
18069
18070Patch 8.2.2981
18071Problem: Recovery test is not run on big-endian systems.
18072Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18073Files: src/testdir/test_recover.vim
18074
18075Patch 8.2.2982
18076Problem: Vim9: future commands are not reserved yet.
18077Solution: Add commands to be implemented later. Make "this" a reserved
18078 name.
18079Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18080 src/vim9script.c, src/testdir/test_vim9_assign.vim
18081
18082Patch 8.2.2983
18083Problem: Vim9: an inline function requires specifying the return type.
18084Solution: Make the return type optional.
18085Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18086 src/testdir/test_vim9_func.vim
18087
18088Patch 8.2.2984 (after 8.2.2983)
18089Problem: Vim9: Test fails because of missing return statement.
18090Solution: When type is unknown set type to void.
18091Files: src/vim9compile.c
18092
18093Patch 8.2.2985
18094Problem: Vim9: a compiled function cannot be debugged.
18095Solution: Add initial debugging support.
18096Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18097 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18098 src/vim9type.c, src/testdir/test_debugger.vim,
18099 src/testdir/test_vim9_disassemble.vim
18100
18101Patch 8.2.2986
18102Problem: Build failure without the profile feature.
18103Solution: Add #ifdef.
18104Files: src/vim9compile.c
18105
18106Patch 8.2.2987
18107Problem: Build failure with normal features.
18108Solution: Remove #define.
18109Files: src/vim9execute.c
18110
18111Patch 8.2.2988
18112Problem: Vim9: debugger test fails.
18113Solution: Get the debugger instructions when needed.
18114Files: src/vim.h, src/vim9.h
18115
18116Patch 8.2.2989
18117Problem: Vim9: memory leak when debugging a :def function.
18118Solution: Free the debug instructions.
18119Files: src/vim9compile.c
18120
18121Patch 8.2.2990
18122Problem: Jupyter Notebook files are not recognized.
18123Solution: Recognize *.ipynb. (closes #8375)
18124Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18125
18126Patch 8.2.2991
18127Problem: Vim9: no completion for :vim9 and :legacy.
18128Solution: Expand argument as a command. (closes #8377)
18129Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18130
18131Patch 8.2.2992
18132Problem: Vim9: completion for :disassemble is incomplete.
18133Solution: Recognize the "debug" and "profile" arguments.
18134Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18135 src/vim.h, src/testdir/test_cmdline.vim
18136
18137Patch 8.2.2993
18138Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18139 Johnson)
18140Solution: When 'encoding' is "utf-8" use a different default value for
18141 'fileencodings'.
18142Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18143 src/testdir/test_options.vim
18144
18145Patch 8.2.2994
18146Problem: Various code is not fully tested.
18147Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18148Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18149 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18150 src/testdir/test_paste.vim, src/vim9compile.c
18151
18152Patch 8.2.2995
18153Problem: Linker errors with dynamic Python 3.10.
18154Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18155 closes #8356)
18156Files: src/if_python3.c
18157
18158Patch 8.2.2996
18159Problem: Vim9: when debugging cannot inspect local variables.
18160Solution: Make local variables available when debugging.
18161Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18162 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18163
18164Patch 8.2.2997 (after 8.2 2996)
18165Problem: Vim9: disassemble test fails.
18166Solution: Adjust expected output.
18167Files: src/testdir/test_vim9_disassemble.vim
18168
18169Patch 8.2.2998 (after 8.2 2996)
18170Problem: Vim9: disassemble test fails.
18171Solution: Add missing call to lookup_debug_var().
18172Files: src/evalvars.c
18173
18174Patch 8.2.2999
18175Problem: Balloon sometimes does not hide with GTK 3.
18176Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18177Files: src/gui_beval.c
18178
18179Patch 8.2.3000
18180Problem: Vim9: warning for uninitialized variable.
18181Solution: Add initialization. (John Marriott)
18182Files: src/vim9compile.c
18183
18184Patch 8.2.3001
18185Problem: Vim9: memory leak when compilation fails.
18186Solution: Free the list of variable names.
18187Files: src/vim9compile.c
18188
18189Patch 8.2.3002
18190Problem: Vim doesn't abort on a fatal Tcl error.
18191Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18192Files: src/if_tcl.c
18193
18194Patch 8.2.3003
18195Problem: Vim9: closure compiled with wrong compile type.
18196Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18197Files: src/vim9execute.c, src/testdir/test_debugger.vim
18198
18199Patch 8.2.3004
18200Problem: Vim9: error for missing colon given while skipping.
18201Solution: Do not give the error when skipping. (closes #8385)
18202Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18203
18204Patch 8.2.3005
18205Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018206Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018207Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18208 src/testdir/test_vim9_expr.vim,
18209 src/testdir/test_vim9_disassemble.vim
18210
18211Patch 8.2.3006
18212Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18213Solution: Do not use a NUL to truncate the message, make a copy.
18214 (closes #8388)
18215Files: src/message.c, src/testdir/test_startup.vim
18216
18217Patch 8.2.3007 (after 8.2.3005)
18218Problem: Vim9: test for void value fails.
18219Solution: Adjust expected error. Do not make a copy of void.
18220Files: src/typval.c, src/testdir/test_functions.vim
18221
18222Patch 8.2.3008 (after 8.2.3006)
18223Problem: Startup test may hang.
18224Solution: Add quit command in the script.
18225Files: src/testdir/test_startup.vim
18226
18227Patch 8.2.3009 (after 8.2.3006)
18228Problem: Startup test may hang.
18229Solution: Do not run the test in the GUI.
18230Files: src/testdir/test_startup.vim
18231
18232Patch 8.2.3010
18233Problem: Not enough testing for viminfo code.
18234Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18235Files: src/register.c, src/testdir/test_fileformat.vim,
18236 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18237
18238Patch 8.2.3011
18239Problem: Vim9: cannot get argument values during debugging.
18240Solution: Lookup names in the list of arguments. Put debug instruction
18241 halfway for command.
18242Files: src/vim9compile.c, src/vim9execute.c,
18243 src/testdir/test_debugger.vim
18244
18245Patch 8.2.3012
18246Problem: When 'rightleft' is set the line number is sometimes drawn
18247 reversed.
18248Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18249 closes #8391)
18250Files: src/drawline.c, src/testdir/test_number.vim
18251
18252Patch 8.2.3013
18253Problem: Vim: when debugging only the first line of a command using line
18254 continuation is displayed.
18255Solution: Find the next command and concatenate lines until that one.
18256 (closes #8392)
18257Files: src/vim9execute.c, src/testdir/test_debugger.vim
18258
18259Patch 8.2.3014
18260Problem: Coverity warns for freeing static string.
18261Solution: Do not assign static string to pointer. (Dominique Pellé,
18262 closes #8397)
18263Files: src/vim9execute.c
18264
18265Patch 8.2.3015
18266Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18267Solution: Accent a number or a string. (closes #8396)
18268Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18269 src/testdir/test_vim9_assign.vim
18270
18271Patch 8.2.3016
18272Problem: Confusing error when expression is followed by comma.
18273Solution: Give a different error for trailing text. (closes #8395)
18274Files: src/eval.c, src/testdir/test_let.vim,
18275 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18276 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18277 src/testdir/test_vimscript.vim
18278
18279Patch 8.2.3017
18280Problem: Vim9: debugger shows too many lines.
18281Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18282Files: src/vim9execute.c, src/testdir/test_debugger.vim
18283
18284Patch 8.2.3018
18285Problem: Formatting using quickfixtextfunc is lost when updating location
18286 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018287Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018288 closes #8400, closes #8403)
18289Files: src/quickfix.c, src/testdir/test_quickfix.vim
18290
18291Patch 8.2.3019
18292Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018293Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018294Files: runtime/doc/eval.txt, src/quickfix.c,
18295 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18296 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18297 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18298 src/testdir/test_vim9_expr.vim
18299
18300Patch 8.2.3020
18301Problem: Unreachable code.
18302Solution: Remove the code. (closes #8406)
18303Files: src/ex_docmd.c
18304
18305Patch 8.2.3021
18306Problem: Spaces allowed between option name and "!", "?", etc.
18307Solution: Disallow spaces in Vim9 script, it was not documented.
18308 (closes #8408)
18309Files: src/option.c, src/testdir/test_vim9_script.vim
18310
18311Patch 8.2.3022
18312Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018313Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018314 closes #8394)
18315Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18316 runtime/doc/options.txt, runtime/doc/various.txt,
18317 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18318 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18319 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18320 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18321 src/memline.c, src/option.c, src/optionstr.c,
18322 src/proto/blowfish.pro, src/proto/crypt.pro,
18323 src/proto/crypt_zip.pro, src/structs.h,
18324 src/testdir/samples/crypt_sodium_invalid.txt,
18325 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18326
18327Patch 8.2.3023
18328Problem: Vim9: arguments for execute() not checked at compile time.
18329Solution: Add a function to check the argument types.
18330Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18331
18332Patch 8.2.3024 (after 8.2.3023)
18333Problem: execute() function test fails.
18334Solution: Adjust test for different error.
18335Files: src/testdir/test_execute_func.vim
18336
18337Patch 8.2.3025
18338Problem: Not enough tests for quickfix end_col and end_lnum.
18339Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18340Files: src/testdir/test_quickfix.vim
18341
18342Patch 8.2.3026
18343Problem: Vim9: cannot set breakpoint in compiled function.
18344Solution: Check for breakpoint when calling a function.
18345Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18346 src/debugger.c, src/testdir/test_debugger.vim
18347
18348Patch 8.2.3027
18349Problem: Vim9: breakpoint in compiled function not always checked.
18350Solution: Check for breakpoint when calling compiled function from compiled
18351 function.
18352Files: src/vim9execute.c, src/testdir/test_debugger.vim
18353
18354Patch 8.2.3028
18355Problem: GUI mouse events not tested.
18356Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18357 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18358Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18359 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18360 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18361 src/testing.c
18362
18363Patch 8.2.3029
18364Problem: Vim9: crash when using operator and list unpack assignment.
18365 (Naohiro Ono)
18366Solution: Get variable value before operation. (closes #8416)
18367Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18368 src/testdir/test_vim9_assign.vim,
18369 src/testdir/test_vim9_disassemble.vim
18370
18371Patch 8.2.3030
18372Problem: Coverity reports a memory leak.
18373Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18374Files: src/crypt.c, src/errors.h
18375
18376Patch 8.2.3031
18377Problem: No error if a function name starts with an underscore. (Naohiro
18378 Ono)
18379Solution: In Vim9 script disallow a function name starting with an
18380 underscore, as is mentioned in the help. (closes #8414)
18381Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18382
18383Patch 8.2.3032
18384Problem: Build problems with MSVC, other crypt issues with libsodium.
18385Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18386 Adjust error message used when key is wrong. Fix Coverity issues.
18387 (Christian Brabandt, closes #8420, closes #8411)
18388Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18389 src/memline.c, src/proto/crypt.pro
18390
18391Patch 8.2.3033
18392Problem: No error when using alpha delimiter with :global.
18393Solution: Check the delimiter like with :substitute. (closes #8415)
18394Files: src/ex_cmds.c, src/testdir/test_global.vim
18395
18396Patch 8.2.3034
18397Problem: Installing packages on github CI sometimes fails.
18398Solution: Update package information first. (Christian Brabandt,
18399 closes #8432)
18400Files: .github/workflows/ci.yml
18401
18402Patch 8.2.3035
18403Problem: Vim9: crash when calling :def function with partial and return
18404 type is not set.
18405Solution: When the return type is not set handle like the return type is
18406 unknown. (closes #8422)
18407Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18408
18409Patch 8.2.3036
18410Problem: Vim9: builtin function arguments not checked at compile time.
18411Solution: Add more argument type specs. Check arguments to test_setmouse()
18412 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18413Files: src/evalfunc.c, src/testdir/test_assert.vim,
18414 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18415 src/testdir/test_vim9_builtin.vim, src/testing.c
18416
18417Patch 8.2.3037
18418Problem: Configure reports libcanberra when checking for libsodium.
18419Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18420Files: src/configure.ac, src/auto/configure
18421
18422Patch 8.2.3038
18423Problem: Amiga built-in version string doesn't include build date.
18424Solution: Add the build date if available. (Ola Söder, closes #8437)
18425Files: src/os_amiga.c
18426
18427Patch 8.2.3039
18428Problem: Vim9: breakpoint at a comment line does not work.
18429Solution: Add the comment line number to the debug instruction.
18430 (closes #8429)
18431Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18432 src/testdir/test_debugger.vim,
18433 src/testdir/test_vim9_disassemble.vim
18434
18435Patch 8.2.3040
18436Problem: GUI: dropping files not tested.
18437Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18438 closes #8434)
18439Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18440 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18441 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18442
18443Patch 8.2.3041
18444Problem: Detecting if the process of a swap file is running fails if the
18445 process is owned by another user.
18446Solution: Check for the ESRCH error. (closes #8436)
18447Files: src/os_unix.c
18448
18449Patch 8.2.3042 (after 8.2.3041)
18450Problem: Swap file test fails.
18451Solution: Check for a very high process ID instead of one, which should be
18452 running.
18453Files: src/testdir/test_swap.vim
18454
18455Patch 8.2.3043
18456Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18457Solution: Use control sequences. (Ola Söder, closes #8438)
18458Files: src/os_amiga.c
18459
18460Patch 8.2.3044
18461Problem: Amiga MorphOS and AROS: process ID is not valid.
18462Solution: Use FindTask to return something which is unique to all processes.
18463 (Ola Söder, closes #8444)
18464Files: src/os_amiga.c
18465
18466Patch 8.2.3045
18467Problem: Minor typos.
18468Solution: Fix the typos. (Christian Brabandt, closes #8441)
18469Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18470
18471Patch 8.2.3046
18472Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018473Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018474 systems. (Ola Söder, closes #8445)
18475Files: src/os_amiga.c
18476
18477Patch 8.2.3047
18478Problem: Increment and decrement don't allow for next command.
18479Solution: Allow for comment and next command. (closes #8442)
18480Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18481
18482Patch 8.2.3048
18483Problem: Strange error for white space after ++ command.
18484Solution: Check for white space explicitly. (closes #8440)
18485Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18486 src/testdir/test_vim9_assign.vim
18487
18488Patch 8.2.3049
18489Problem: JSON patch file not recognized.
18490Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18491Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18492
18493Patch 8.2.3050
18494Problem: Cannot recognize elixir files.
18495Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18496 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18497Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18498 src/testdir/test_filetype.vim
18499
18500Patch 8.2.3051
18501Problem: Vim9: for loop with one list variable does not work.
18502Solution: Use a separate flag for unpacking a list. (closes #8452)
18503Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18504
18505Patch 8.2.3052
18506Problem: Vim9: "legacy call" does not work.
18507Solution: Do not skip "call" after "legacy". (closes #8454)
18508Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18509
18510Patch 8.2.3053
18511Problem: Vim9: cannot assign to @@ in :def function
18512Solution: Handle '@' like '"'. (closes #8456)
18513Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18514
18515Patch 8.2.3054
18516Problem: Vim9: unpack assignment using "_" after semicolon fails.
18517Solution: Drop the expression result. (closes #8453)
18518Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18519
18520Patch 8.2.3055
18521Problem: Strange error for assigning to "x.key" on non-dictionary.
18522Solution: Add a specific error message. (closes #8451)
18523Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18524 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18525
18526Patch 8.2.3056
18527Problem: Vim9: using default value in lambda gives confusing error.
18528Solution: Pass "default_args" on the first pass to get the arguments.
18529 (closes #8455)
18530Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18531
18532Patch 8.2.3057
18533Problem: Vim9: debugger test fails with normal features and +terminal.
18534 (Dominique Pellé)
18535Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18536Files: src/vim9.h
18537
18538Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018539Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018540Solution: Do not use "==" for a default argument value. (closes #8462)
18541Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18542
18543Patch 8.2.3059 (after 8.2.3056)
18544Problem: Vim9: memory leak when using lambda.
18545Solution: Do not store the default value strings when skipping.
18546Files: src/userfunc.c
18547
18548Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018549Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018550Solution: Do not use "=~" for a default argument value. (closes #8462)
18551Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18552
18553Patch 8.2.3061
18554Problem: Testing the shell option is incomplete and spread out.
18555Solution: Move shell tests to one file and increase coverage. (Yegappan
18556 Lakshmanan, closes #8464)
18557Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18558 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18559 src/testdir/test_system.vim
18560
18561Patch 8.2.3062
18562Problem: Internal error when adding several text properties.
18563Solution: Do not handle text properties when deleting a line for splitting a
18564 data block. (closes #8466)
18565Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18566
18567Patch 8.2.3063
18568Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18569 undo file. (Martin Tournoij)
18570Solution: Disable reading undo file when decoding can't be done inplace.
18571 (issue #8467)
18572Files: src/fileio.c, src/bufwrite.c
18573
18574Patch 8.2.3064
18575Problem: Vim9: in script cannot set item in uninitialized list.
18576Solution: When a list is NULL allocate an empty one. (closes #8461)
18577Files: src/eval.c, src/testdir/test_vim9_assign.vim
18578
18579Patch 8.2.3065
18580Problem: Vim9: error when sourcing script twice and reusing a function
18581 name.
18582Solution: Check if the function is dead. (closes #8463)
18583Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18584
18585Patch 8.2.3066
18586Problem: Vim9: debugging lambda does not work.
18587Solution: Use the compile type of the function when compiling a lambda.
18588 (closes #8412)
18589Files: src/vim9compile.c, src/testdir/test_debugger.vim
18590
18591Patch 8.2.3067
18592Problem: Building fails with Athena. (Elimar Riesebieter)
18593Solution: Adjust #ifdefs and add the 'drop_file' feature.
18594Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18595
18596Patch 8.2.3068
18597Problem: Unicode tables are slightly outdated.
18598Solution: Update the tables for Unicode release 13. (Christian Brabandt
18599 closes #8430)
18600Files: runtime/tools/unicode.vim, src/mbyte.c
18601
18602Patch 8.2.3069
18603Problem: Error messages are spread out.
18604Solution: Move some error messages to errors.h. Use clearer names.
18605Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18606 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18607 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18608 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18609 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18610 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18611 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18612 src/vim9compile.c, src/window.c
18613
18614Patch 8.2.3070
18615Problem: Not enough testing for shell use.
18616Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18617Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18618
18619Patch 8.2.3071
18620Problem: Shell options are not set properly for PowerShell.
18621Solution: Use better option defaults. (Mike Williams, closes #8459)
18622Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18623 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18624 src/os_win32.c, src/testdir/test_shell.vim
18625
18626Patch 8.2.3072
18627Problem: The "zy" command does not work well when 'virtualedit' is set to
18628 "block". (Johann Höchtl)
18629Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18630 closes #8448)
18631Files: src/register.c, src/testdir/test_visual.vim
18632
18633Patch 8.2.3073
18634Problem: When cursor is moved for block append wrong text is inserted.
18635Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18636 closes #8288)
18637Files: src/ops.c, src/testdir/test_blockedit.vim,
18638 src/testdir/test_visual.vim
18639
18640Patch 8.2.3074
18641Problem: popup_atcursor() uses wrong position with concealing.
18642Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18643Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18644 src/ui.c, src/testdir/test_popupwin.vim,
18645 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18646
18647Patch 8.2.3075
18648Problem: Xxd always reports an old version string. (Ã…smund Ervik)
18649Solution: Update the version string with the last known change date.
18650 (Jürgen Weigert, closes #8475)
18651Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18652
18653Patch 8.2.3076
18654Problem: Vim9: using try in catch block causes a hang.
18655Solution: Save and restore the ec_in_catch flag. (closes #8478)
18656Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18657
18658Patch 8.2.3077
18659Problem: Vim9: an error in a catch block is not reported.
18660Solution: Put the "in catch" flag in the try stack. (closes #8478)
18661Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18662
18663Patch 8.2.3078
18664Problem: Vim9: profile test fails.
18665Solution: Make throw in :catch jump to :finally.
18666Files: src/vim9compile.c, src/vim9execute.c,
18667 src/testdir/test_vim9_script.vim
18668
18669Patch 8.2.3079
18670Problem: Powershell core not supported by default.
18671Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18672Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18673 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18674 src/misc2.c, src/option.c, src/os_win32.c,
18675 src/testdir/test_shell.vim
18676
18677Patch 8.2.3080
18678Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18679Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18680 closes #8479)
18681Files: src/testdir/test_recover.vim
18682
18683Patch 8.2.3081
18684Problem: Cannot catch errors in a channel command.
18685Solution: Instead of skipping the error make it silent. (closes #8477)
18686Files: src/channel.c
18687
18688Patch 8.2.3082
18689Problem: A channel command "echoerr" does not show anything.
18690Solution: Do not use silent errors when using an "echoerr" command.
18691 (closes #8494)
18692Files: src/channel.c, src/testdir/test_channel.py,
18693 src/testdir/test_channel.vim
18694
18695Patch 8.2.3083
18696Problem: Crash when passing null string to charclass().
18697Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18698 closes #8498, closes #8260)
18699Files: src/mbyte.c, src/testdir/test_functions.vim
18700
18701Patch 8.2.3084
18702Problem: Vim9: builtin function argument types are not checked at compile
18703 time.
18704Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18705Files: src/evalfunc.c, src/testdir/test_functions.vim,
18706 src/testdir/test_glob2regpat.vim,
18707 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
18708
18709Patch 8.2.3085
18710Problem: JSONC files are not recognized.
18711Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
18712Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18713
18714Patch 8.2.3086
18715Problem: Vim9: breakpoint on "for" does not work.
18716Solution: Use the right line number in ISN_DEBUG. (closes #8486)
18717Files: src/vim9compile.c, src/testdir/test_debugger.vim
18718
18719Patch 8.2.3087
18720Problem: Gemtext files are not recognized.
18721Solution: Recognize .gmi and .gemini files. (closes #8427)
18722Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18723
18724Patch 8.2.3088
18725Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
18726 using "$". (Marco Trosi)
18727Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
18728Files: src/drawscreen.c, src/testdir/test_visual.vim,
18729 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
18730
18731Patch 8.2.3089
18732Problem: Garbage collection has useless code.
18733Solution: Bail out when aborting. (closes #8504)
18734Files: src/userfunc.c
18735
18736Patch 8.2.3090
18737Problem: With concealing enabled and indirectly closing a fold the cursor
18738 may be somewhere in a folded line.
18739Solution: Recompute the cursor position when the cursor line can be
18740 concealed. (closes #8480)
18741Files: src/drawscreen.c
18742
18743Patch 8.2.3091
18744Problem: Vim9: default argument expression cannot use previous argument
18745Solution: Correct argument index. (closes #8496)
18746Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
18747
18748Patch 8.2.3092
18749Problem: Vim9: builtin function test fails without the +channel feature.
18750Solution: Check the +channel feature is supported. (Dominique Pellé,
18751 closes #8507)
18752Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
18753
18754Patch 8.2.3093
18755Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
18756Solution: Skip the test when using Athena. (closes #8508)
18757Files: src/testdir/test_gui.vim, src/testdir/check.vim
18758
18759Patch 8.2.3094
18760Problem: Test_popup_atcursor_pos() fails without the conceal feature.
18761Solution: Add a check for the conceal feature. (Dominique Pellé,
18762 closes #8505)
18763Files: src/testdir/test_popupwin.vim
18764
18765Patch 8.2.3095 (after 8.2.3088)
18766Problem: With 'virtualedit' set to "block" block selection is wrong after
18767 using "$". (Marco Trosi)
18768Solution: Compute the longest selected line. (closes #8495)
18769Files: src/drawscreen.c, src/testdir/test_visual.vim,
18770 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
18771
18772Patch 8.2.3096
18773Problem: Temp files remain after running tests.
18774Solution: Delete the right files. (Dominique Pellé, closes #8509)
18775Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
18776 src/testdir/test_visual.vim
18777
18778
18779Patch 8.2.3097
18780Problem: Crash when using "quit" at recovery prompt and autocommands are
18781 triggered.
18782Solution: Block autocommands when creating an empty buffer to use as the
18783 current buffer. (closes #8506)
18784Files: src/buffer.c, src/testdir/test_swap.vim
18785
18786Patch 8.2.3098
18787Problem: Popup window test is flaky on MS-Windows with GUI.
18788Solution: Skip the check in this situation.
18789Files: src/testdir/test_popupwin.vim
18790
18791Patch 8.2.3099
18792Problem: Vim9: missing catch/finally not reported at script level.
18793Solution: Give an error. (closes #8487)
18794Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
18795
18796Patch 8.2.3100
18797Problem: Vim9: no error when using type with unknown number of arguments.
18798Solution: Do not ignore argument count of -1. (closes #8492)
18799Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
18800 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
18801 src/testdir/test_vim9_func.vim
18802
18803Patch 8.2.3101
18804Problem: Missing function prototype for vim_round().
18805Solution: Add the prototype.
18806Files: src/proto/float.pro
18807
18808Patch 8.2.3102 (after 8.2.3097)
18809Problem: Test for crash fix does not fail without the fix.
18810Solution: Adjust the test sequence. (closes #8506)
18811Files: src/testdir/test_swap.vim
18812
18813Patch 8.2.3103 (after 8.2.3102)
18814Problem: Swap test may fail on some systems when jobs take longer to exit.
18815Solution: Use different file names.
18816Files: src/testdir/test_swap.vim
18817
18818Patch 8.2.3104
18819Problem: Vim9: unspecified function type causes type error.
18820Solution: Don't check type when min_argcount is negative. (issue #8492)
18821Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
18822
18823Patch 8.2.3105
18824Problem: Vim9: type of partial is wrong when it has arguments.
18825Solution: Subtract arguments from the count. (issue #8492)
18826Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
18827
18828Patch 8.2.3106
18829Problem: Vim9: confusing line number reported for error.
18830Solution: Use the start line number for the store instruction.
18831 (closes #8488)
18832Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18833
18834Patch 8.2.3107
18835Problem: Vim9: error for arguments while type didn't specify arguments.
18836Solution: Do not update that type to check when no argument count is
18837 specified. (closes #8492)
18838Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
18839
18840Patch 8.2.3108
18841Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
18842Solution: Check that $DISPLAY is set. (Christian Brabandt)
18843Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
18844 src/testdir/test_vim9_builtin.vim
18845
18846Patch 8.2.3109
18847Problem: Check for $DISPLAY never fails.
18848Solution: Use eval().
18849Files: src/testdir/check.vim
18850
18851Patch 8.2.3110
18852Problem: A pattern that matches the cursor position is bit complicated.
18853Solution: Use a dot to indicate the cursor line and column. (Christian
18854 Brabandt, closes #8497, closes #8179)
18855Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
18856 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
18857
18858Patch 8.2.3111
18859Problem: Vim9: confusing error with extra whitespace before colon.
18860Solution: Check for colon after white space. (closes #8513)
18861Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
18862
18863Patch 8.2.3112 (after 8.2.3090)
18864Problem: With concealing enabled and indirectly closing a fold the cursor
18865 may be somewhere in a folded line when it is not on the first line
18866 of the fold.
18867Solution: Check if he cursor is somewhere in the folded text.
18868Files: src/drawscreen.c
18869
18870Patch 8.2.3113
18871Problem: No error when for loop variable shadows script variable.
18872Solution: Check for the error. (closes #8512)
18873Files: src/eval.c, src/testdir/test_vim9_script.vim
18874
18875Patch 8.2.3114
18876Problem: Amiga-like systems: build error checking for running process
18877Solution: Only build swapfile_process_running() on systems where it is
18878 actually used. (Ola Söder, closes #8519)
18879Files: src/memline.c
18880
18881Patch 8.2.3115
18882Problem: Coverity complains about free_wininfo() use.
18883Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
18884Files: src/window.c
18885
18886Patch 8.2.3116
18887Problem: Vim9: crash when debugging a function with line continuation.
18888Solution: Check for a NULL pointer. (closes #8521)
18889Files: src/vim9execute.c, src/testdir/test_debugger.vim
18890
18891Patch 8.2.3117
18892Problem: Vim9: type not properly checked in for loop.
18893Solution: Have items() return a list of lists. Add runtime type checks.
18894 (closes #8515)
18895Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
18896 src/testdir/test_vim9_script.vim
18897
18898Patch 8.2.3118
18899Problem: Vim9: "any" type not handled correctly in for loop.
18900Solution: Change compile time check into runtime check. (closes #8516)
18901Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18902
18903Patch 8.2.3119
18904Problem: Compiler warning for unused argument.
18905Solution: Add UNUSED.
18906Files: src/evalfunc.c
18907
18908Patch 8.2.3120
18909Problem: Crypt with sodium test fails on MS-Windows.
18910Solution: Make the tests pass. (closes #8428)
18911Files: src/testdir/test_crypt.vim
18912
18913Patch 8.2.3121
18914Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
18915 separator is missing. (Leonid V. Fedorenchik)
18916Solution: Only draw the "exceeds" character in the text area. Break the
18917 loop when not drawing the text. (closes #8524)
18918Files: src/drawline.c, src/testdir/test_listchars.vim,
18919 src/testdir/dumps/Test_listchars_01.dump,
18920 src/testdir/dumps/Test_listchars_02.dump,
18921 src/testdir/dumps/Test_listchars_03.dump,
18922 src/testdir/dumps/Test_listchars_04.dump,
18923 src/testdir/dumps/Test_listchars_05.dump
18924
18925Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018926Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018927 (Leonid V. Fedorenchik)
18928Solution: Put cursor on the last non-empty line. (closes #8525)
18929Files: src/move.c, src/testdir/test_listchars.vim,
18930 src/testdir/dumps/Test_listchars_06.dump,
18931 src/testdir/dumps/Test_listchars_07.dump
18932
18933Patch 8.2.3123
18934Problem: Vim9: confusing error when using white space after option, before
18935 one of "!&<".
18936Solution: Give a specific error. (issue #8408)
18937Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
18938
18939Patch 8.2.3124
18940Problem: Vim9: no error for white space between option and "=9".
18941Solution: Check for extraneous white space. (issue #8408)
18942Files: src/option.c, src/testdir/test_vim9_script.vim
18943
18944Patch 8.2.3125
18945Problem: Variables are set but not used.
18946Solution: Move the declarations to the block where they are used.
18947 (closes #8527)
18948Files: src/regexp_nfa.c
18949
18950Patch 8.2.3126
18951Problem: Vim9: for loop error reports wrong line number.
18952Solution: Save and restore the line number when evaluating the expression.
18953 (closes #8514)
18954Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
18955
18956Patch 8.2.3127
18957Problem: Vim9: no error when adding number to list of string.
18958Solution: Check the value type. (closes #8529)
18959Files: src/list.c, src/testdir/test_vim9_builtin.vim
18960
18961Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018962Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018963Solution: Set the type when initializing the variable. (closes #8529)
18964Files: src/eval.c, src/evalvars.c, src/vim9script.c,
18965 src/userfunc.c, src/proto/vim9script.pro,
18966 src/testdir/test_vim9_builtin.vim
18967
18968Patch 8.2.3129
18969Problem: Vim9: imported uninitialized list does not get type checked.
18970Solution: Get type from imported variable.
18971Files: src/eval.c, src/evalvars.c, src/vim9script.c,
18972 src/proto/vim9script.pro, src/userfunc.c,
18973 src/testdir/test_vim9_script.vim
18974
18975Patch 8.2.3130
18976Problem: Vim9: import test fails.
18977Solution: Rename directory back to "import", use "p" to avoid an error when
18978 the directory already exists.
18979Files: src/testdir/test_vim9_script.vim
18980
18981Patch 8.2.3131
18982Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
18983Solution: Skip the test.
18984Files: src/testdir/test_channel.vim
18985
18986Patch 8.2.3132
18987Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
18988 Morris)
18989Solution: Add a type cast.
18990Files: src/drawscreen.c
18991
18992Patch 8.2.3133
18993Problem: Vim9: memory leak when add() fails.
18994Solution: Allocate listitem_T after type check.
18995Files: src/list.c
18996
18997Patch 8.2.3134
18998Problem: Crash when using typename() on a function reference. (Naohiro Ono)
18999Solution: Initialize pointer to NULL. (closes #8531)
19000Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19001
19002Patch 8.2.3135
19003Problem: Vim9: builtin function arguments not checked at compile time.
19004Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19005Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19006 src/terminal.c, src/testdir/test_search.vim,
19007 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19008 src/testing.c, src/textprop.c, src/typval.c
19009
19010Patch 8.2.3136
19011Problem: No test for E187 and "No swap file".
19012Solution: Add a test. (Dominique Pellé, closes #8540)
19013Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19014
19015Patch 8.2.3137
19016Problem: Vim9: no error when a line only has a variable name.
19017Solution: Give an error when an expression is evaluated without an effect.
19018 (closes #8538)
19019Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19020 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19021 src/testdir/test_vim9_func.vim
19022
19023Patch 8.2.3138 (after 8.2.3137)
19024Problem: Debugger test fails.
19025Solution: Adjust eval command.
19026Files: src/testdir/test_debugger.vim
19027
19028Patch 8.2.3139
19029Problem: Functions for string manipulation are spread out.
19030Solution: Move string related functions to a new source file. (Yegappan
19031 Lakshmanan, closes #8470)
19032Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19033 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19034 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19035 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19036 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19037 src/proto/strings.pro, src/strings.c
19038
19039Patch 8.2.3140 (after 8.2.3131)
19040Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19041Solution: Skip the test also without the GUI.
19042Files: src/testdir/test_channel.vim
19043
19044Patch 8.2.3141
19045Problem: No error when using :complete for :command without -nargs.
19046Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19047Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19048
19049Patch 8.2.3142
19050Problem: Vim9: type check for has_key() argument is too strict.
19051Solution: Also allow for a number key argument. (closes #8542)
19052Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19053
19054Patch 8.2.3143
19055Problem: Vim9: A lambda may be compiled with the wrong context if it is
19056 called from a profiled function.
19057Solution: Compile the lambda with and without profiling. (closes #8543)
19058Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19059
19060Patch 8.2.3144
19061Problem: Vim9: no error when using an invalid value for a line number.
19062Solution: Give an error if the string value is not recognized.
19063 (closes #8536)
19064Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19065
19066Patch 8.2.3145
19067Problem: Vim9: profile test fails without profile feature.
19068Solution: Check the profile feature is present.
19069Files: src/testdir/test_vim9_script.vim
19070
19071Patch 8.2.3146
19072Problem: Vim9: line number wrong for :execute argument.
19073Solution: Use the line number of the :execute command itself. (closes #8537)
19074Files: src/eval.c, src/testdir/test_vim9_script.vim
19075
19076Patch 8.2.3147
19077Problem: Vim9: profiling does not work with a nested function.
19078Solution: Also compile a nested function without profiling. (closes #8543)
19079 Handle that compiling may cause the table of compiled functions to
19080 change.
19081Files: src/vim9compile.c, src/vim9execute.c,
19082 src/testdir/test_vim9_script.vim
19083
19084Patch 8.2.3148
19085Problem: Vim9: function arg type check does not handle base offset.
19086Solution: Take the base offset into account when checking builtin function
19087 argument types.
19088Files: src/evalfunc.c, src/vim9compile.c,
19089 src/testdir/test_vim9_builtin.vim
19090
19091Patch 8.2.3149 (after 8.2.3141)
19092Problem: Some plugins have a problem with the error check for using
19093 :command with -complete but without -nargs.
19094Solution: In legacy script only give a warning message.
19095Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19096 src/testdir/test_usercommands.vim
19097
19098Patch 8.2.3150
19099Problem: Vim9: argument types are not checked at compile time.
19100Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19101Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19102
19103Patch 8.2.3151
19104Problem: Vim9: profiling fails if nested function is also profiled.
19105Solution: Use the compile type from the outer function. (closes #8543)
19106Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19107
19108Patch 8.2.3152
19109Problem: Vim9: accessing "s:" results in an error.
19110Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19111Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19112
19113Patch 8.2.3153
19114Problem: URLs with a dash in the scheme are not recognized.
19115Solution: Allow for a scheme with a dash, but not at the start or end.
19116 (Tsuyoshi CHO, closes #8299)
19117Files: src/misc1.c, src/testdir/test_buffer.vim
19118
19119Patch 8.2.3154
19120Problem: Vim9: some type checks for builtin functions fail.
19121Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19122 closes #8550)
19123Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19124
19125Patch 8.2.3155
19126Problem: Some option related code not covered by tests.
19127Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19128Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19129
19130Patch 8.2.3156
19131Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19132Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19133Files: src/testdir/test_vim9_builtin.vim
19134
19135Patch 8.2.3157
19136Problem: Crypt test may fail on MS-Windows.
19137Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19138 closes #8561)
19139Files: src/testdir/test_crypt.vim
19140
19141Patch 8.2.3158
19142Problem: Strange error message when using islocked() with a number.
19143 (Yegappan Lakshmanan)
19144Solution: Check that the name is empty.
19145Files: src/evalfunc.c, src/testdir/test_functions.vim
19146
19147Patch 8.2.3159
19148Problem: Cursor displayed in wrong position after deleting line.
19149Solution: When deleting lines do not approximate botline. (fixes #8559)
19150Files: src/change.c
19151
19152Patch 8.2.3160
19153Problem: 'breakindent' does not work well for bulleted and numbered lists.
19154Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19155 closes #8564, closes #1661)
19156Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19157 src/testdir/test_breakindent.vim
19158
19159Patch 8.2.3161
19160Problem: Vim9: no error when reltime() has invalid arguments.
19161Solution: Add an error. (closes #8562)
19162Files: src/time.c, src/testdir/test_vim9_builtin.vim
19163
19164Patch 8.2.3162
19165Problem: Vim9: argument types are not checked at compile time.
19166Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19167Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19168 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19169 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19170 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19171 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19172 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19173 src/time.c, src/typval.c
19174
19175Patch 8.2.3163
19176Problem: Location list window may open a wrong file.
19177Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19178 closes #8566)
19179Files: src/quickfix.c, src/testdir/test_quickfix.vim
19180
19181Patch 8.2.3164
19182Problem: MS-Windows: reported version lacks patchlevel, causing some update
19183 tools to update too often. (Klaus Frank)
19184Solution: Add the patchlevel to the version. (Christian Brabandt)
19185Files: src/dosinst.c
19186
19187Patch 8.2.3165
19188Problem: Vim9: in a || expression the error line number may be wrong.
19189Solution: Save and restore the line number when checking the type.
19190 (closes #8569)
19191Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19192
19193Patch 8.2.3166
19194Problem: Vim9: nested autoload call error overruled by "Unknown error".
19195Solution: Check need_rethrow before giving an "Unknown error".
19196 (closes #8568)
19197Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19198
19199Patch 8.2.3167
19200Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19201Solution: Use the sandbox only for executing a command, not for searching.
19202 (closes #8511)
19203Files: src/tag.c
19204
19205Patch 8.2.3168
19206Problem: Vim9: type error for constant of type any.
19207Solution: Do add a runtime type check if a constant has type any.
19208 (closes #8570)
19209Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19210
19211Patch 8.2.3169
19212Problem: Vim9: cannot handle nested inline function.
19213Solution: Check for nested inline function. (closes #8575)
19214Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19215 src/testdir/test_vim9_expr.vim
19216
19217Patch 8.2.3170
19218Problem: Illegal memory access in test.
19219Solution: Check pointer is not before the start of the line.
19220Files: src/userfunc.c
19221
19222Patch 8.2.3171
19223Problem: Another illegal memory access in test.
19224Solution: Check pointer is after the start of the line.
19225Files: src/userfunc.c
19226
19227Patch 8.2.3172
19228Problem: MzScheme test fails. (Christian Brabandt)
19229Solution: Correct function name.
19230Files: src/testdir/test_vim9_builtin.vim
19231
19232Patch 8.2.3173
19233Problem: Vim9: argument types are not checked at compile time.
19234Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19235Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19236 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19237 src/testdir/test_vim9_builtin.vim, src/typval.c
19238
19239Patch 8.2.3174
19240Problem: Vim9: "legacy undo" finds "undo" variable.
19241Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19242Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19243
19244Patch 8.2.3175
19245Problem: Vim9: using illegal pointer with inline function inside a lambda.
19246Solution: Clear eval_tofree_cmdline when advancing to the next line.
19247 (closes #8578)
19248Files: src/eval.c, src/testdir/test_vim9_func.vim
19249
19250Patch 8.2.3176
19251Problem: Vim9: no type error for comparing number with string.
19252Solution: Add a runtime type check. (closes #8571)
19253Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19254
19255Patch 8.2.3177
19256Problem: Vim9: can not use "for _ in expr" at script level.
19257Solution: Skip assignment if the loop variable is "_".
19258Files: src/eval.c, src/testdir/test_vim9_script.vim
19259
19260Patch 8.2.3178
19261Problem: Vim9: the file name of an :import cannot be an expression.
19262Solution: Accept an expression that results in a string. Do not support
19263 :import in a function.
19264Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19265 src/testdir/test_vim9_script.vim
19266
19267Patch 8.2.3179
19268Problem: Vim9: cannot assign to an imported variable at script level.
19269Solution: Lookup imported items when assigning.
19270Files: src/evalvars.c, src/errors.h, src/eval.c,
19271 src/testdir/test_vim9_script.vim
19272
19273Patch 8.2.3180
19274Problem: Vim9: memory leak when concatenating to an imported string.
19275Solution: Clear the destination.
19276Files: src/evalvars.c
19277
19278Patch 8.2.3181
19279Problem: Vim9: builtin function test fails without channel feature.
19280Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19281 checks more consistent.
19282Files: src/testdir/test_vim9_builtin.vim
19283
19284Patch 8.2.3182
19285Problem: Vim9: crash when using removing items from a constant list.
19286 (Yegappan Lakshmanan)
19287Solution: When a list was allocated with items copy them.
19288Files: src/list.c, src/testdir/test_vim9_builtin.vim
19289
19290Patch 8.2.3183
19291Problem: Duplicate error numbers.
19292Solution: Adjust the error numbers.
19293Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19294
19295Patch 8.2.3184
19296Problem: Cannot add a digraph with a leading space. It is not easy to list
19297 existing digraphs.
19298Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19299 getdigraphlist(). (closes #8580)
19300Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19301 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19302 src/ex_docmd.c, src/globals.h, src/errors.h,
19303 src/proto/digraph.pro, src/testdir/test_digraph.vim
19304
19305Patch 8.2.3185
19306Problem: Vim9: start of inline function found in comment line.
19307Solution: Do not check for inline function in comment line. (closes #8589)
19308Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19309
19310Patch 8.2.3186
19311Problem: Vim9: not all failures for import tested
19312Solution: Test more import failures
19313Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19314
19315Patch 8.2.3187
19316Problem: Vim9: popup timer callback is not compiled.
19317Solution: Compile the callback when creating the timer.
19318Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19319
19320Patch 8.2.3188
19321Problem: Vim9: argument types are not checked at compile time.
19322Solution: Add several more type checks, also at runtime. (Yegappan
19323 Lakshmanan, closes #8587)
19324Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19325 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19326 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19327 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19328 src/job.c, src/list.c, src/map.c, src/match.c,
19329 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19330 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19331 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19332 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19333
19334Patch 8.2.3189
19335Problem: Vim9: error when using "try|".
19336Solution: Allow for "|" right after a command.
19337Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19338
19339Patch 8.2.3190
19340Problem: Error messages are spread out.
19341Solution: Move error messages to errors.h and give them a clear name.
19342Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19343 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19344 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19345 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19346 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19347 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19348 src/userfunc.c, src/vim9execute.c, src/window.c
19349
19350Patch 8.2.3191
19351Problem: Vim9: not enough code is tested.
19352Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19353 problems.
19354Files: src/vim9compile.c, src/vim9execute.c,
19355 src/testdir/test_listdict.vim
19356
19357Patch 8.2.3192 (after 8.2.3190)
19358Problem: Build failure with small version (Tony Mechelynck).
19359Solution: Remove stray #ifdef.
19360Files: src/errors.h
19361
19362Patch 8.2.3193
19363Problem: screenpos() is wrong when the last line is partially visible and
19364 'display' is "lastline".
19365Solution: Also compute the position for a partially visible line.
19366 (closes #8599)
19367Files: src/move.c, src/testdir/test_cursor_func.vim
19368
19369Patch 8.2.3194
19370Problem: Vim9: argument types are not checked at compile time.
19371Solution: Add several more type checks, simplify some. (Yegappan
19372 Lakshmanan, closes #8598)
19373Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19374 src/proto/typval.pro, src/sign.c, src/terminal.c,
19375 src/testdir/test_vim9_builtin.vim, src/typval.c
19376
19377Patch 8.2.3195
19378Problem: Vim9: unclear error when passing too many arguments to lambda.
19379Solution: Pass the expression itself instead of "[expression]".
19380 (closes #8604)
19381Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19382
19383Patch 8.2.3196
19384Problem: Vim9: bool expression with numbers only fails at runtime.
19385Solution: Check constant to be bool at compile time. (closes #8603)
19386Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19387
19388Patch 8.2.3197
19389Problem: Error messages are spread out.
19390Solution: Move a few more error messages to errors.h.
19391Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19392 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19393 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19394 src/vim9compile.c, src/vim9script.c
19395
19396Patch 8.2.3198
19397Problem: Cannot use 'formatlistpat' for breakindent.
19398Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19399Files: runtime/doc/options.txt, src/indent.c,
19400 src/testdir/test_breakindent.vim
19401
19402Patch 8.2.3199
19403Problem: Vim9: execution speed can be improved.
19404Solution: Make the break counter static.
19405Files: src/vim9execute.c
19406
19407Patch 8.2.3200
19408Problem: Vim9: hard to guess where a type error is given.
19409Solution: Add the function name where possible. (closes #8608)
19410Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19411 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19412 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19413 src/errors.h, src/testdir/test_vim9_builtin.vim
19414
19415Patch 8.2.3201 (after 8.2.3200)
19416Problem: Crash in test.
19417Solution: Initialize "where".
19418Files: src/eval.c, src/evalvars.c
19419
19420Patch 8.2.3202
19421Problem: Vim9: tests are only executed for legacy script.
19422Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19423Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19424
19425Patch 8.2.3203
19426Problem: Vim9: compiled string expression causes type error. (Yegappan
19427 Lakshmanan)
19428Solution: Remove the string type from the stack.
19429Files: src/vim9compile.c, src/evalfunc.c
19430
19431Patch 8.2.3204
19432Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19433 Dupras)
19434Solution: Avoid inserting lines twice. (closes #7255)
19435Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19436 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19437 src/testdir/dumps/Test_cursorline_redraw_2.dump
19438
19439Patch 8.2.3205
19440Problem: Coverity reports a null pointer dereference.
19441Solution: Change the logic to avoid Coverity gets confused.
19442Files: src/vim9compile.c
19443
19444Patch 8.2.3206
19445Problem: Vim9: argument types are not checked at compile time.
19446Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19447Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19448 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19449 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19450 src/proto/typval.pro, src/sign.c, src/terminal.c,
19451 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19452 src/typval.c
19453
19454Patch 8.2.3207
19455Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19456Solution: Adjust the type stack length.
19457Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19458
19459Patch 8.2.3208
19460Problem: Dynamic library load error does not mention why it failed.
19461Solution: Add the error message. (Martin Tournoij, closes #8621)
19462Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19463 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19464 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19465 src/terminal.c
19466
19467Patch 8.2.3209
19468Problem: Vim9: lambda doesn't find block-local variable.
19469Solution: Adjust how a script-local variable is found. (closes #8614)
19470Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19471
19472Patch 8.2.3210
19473Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19474 Lakshmanan)
19475Solution: Only compile the fifth argument.
19476Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19477
19478Patch 8.2.3211
19479Problem: Vim9: argument types are not checked at compile time.
19480Solution: Add several more type checks. Fix type check for matchaddpos().
19481 (Yegappan Lakshmanan, closes #8619)
19482Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19483 src/job.c, src/proto/typval.pro,
19484 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19485
19486Patch 8.2.3212
19487Problem: Vim9: execution speed can be improved.
19488Solution: Use __builtin_expect() to have the compiler produce better code.
19489 (Dominique Pellé, closes #8613)
19490Files: src/vim9execute.c
19491
19492Patch 8.2.3213
19493Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19494Solution: Add a test. (Dominique Pellé, closes #8624)
19495Files: src/testdir/test_spellfile.vim
19496
19497Patch 8.2.3214
19498Problem: MS-Windows: passing /D does not set the install location.
19499Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019500 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019501Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19502
19503Patch 8.2.3215
19504Problem: Vim9: argument types are not checked at compile time.
19505Solution: Add several more type checks. Sort the argument lists.
19506 (Yegappan Lakshmanan, closes #8626)
19507Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19508 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19509 src/testing.c
19510
19511Patch 8.2.3216
19512Problem: Vim9: crash when using variable in a loop at script level.
19513Solution: Do not clear the variable if a function was defined.
19514 Do not create a new entry in sn_var_vals every time.
19515 (closes #8628)
19516Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19517 src/evalvars.c, src/structs.h
19518
19519Patch 8.2.3217 (after 8.2.3216)
19520Problem: Build failure.
19521Solution: Add missing changes.
19522Files: src/globals.h
19523
19524Patch 8.2.3218
19525Problem: When using xchaha20 crypt undo file is not removed.
19526Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19527 closes #8630, closes #8467)
19528Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19529 src/testdir/test_crypt.vim, src/undo.c
19530
19531Patch 8.2.3219
19532Problem: :find searches non-existing directories.
19533Solution: Check the path is not "..". Update help. (Christian Brabandt,
19534 closes #8612, closes #8533)
19535Files: runtime/doc/editing.txt, src/findfile.c,
19536 src/testdir/test_findfile.vim
19537
19538Patch 8.2.3220
19539Problem: Test_term_setansicolors() fails in some configurations.
19540Solution: Check available features. (Dominique Pellé, closes #8636)
19541Files: src/testdir/test_vim9_builtin.vim
19542
19543Patch 8.2.3221
19544Problem: Vim9: argument types are not checked at compile time.
19545Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19546Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19547 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19548 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19549
19550Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019551Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019552Solution: When not in function context check the current block ID.
19553 (closes #8637)
19554Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19555
19556Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019557Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019558Solution: Allow using {} block when text is locked. (closes #8631)
19559Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19560
19561Patch 8.2.3224
19562Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19563 Robinson)
19564Solution: Skip over "<SNR>123".
19565Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19566
19567Patch 8.2.3225
19568Problem: Incsearch highlighting is attempted halfway a mapping.
19569Solution: Only do incsearch highlighting if keys were typed or there is no
19570 more typeahead.
19571Files: src/ex_getln.c
19572
19573Patch 8.2.3226
19574Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019575Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019576Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19577 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19578 src/evalfunc.c, src/proto/digraph.pro,
19579 src/testdir/test_digraph.vim
19580
19581Patch 8.2.3227
19582Problem: 'virtualedit' can only be set globally.
19583Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19584Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19585 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19586 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19587 src/optionstr.c, src/proto/option.pro, src/register.c,
19588 src/structs.h, src/testdir/test_virtualedit.vim
19589
19590Patch 8.2.3228
19591Problem: Cannot use a simple block for the :command argument. (Maarten
19592 Tournoij)
19593Solution: Recognize a simple {} block. (issue #8623)
19594Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19595 src/usercmd.c, src/testdir/test_usercommands.vim
19596
19597Patch 8.2.3229
19598Problem: Vim9: runtime and compile time type checks are not the same.
19599Solution: Add more runtime type checks for builtin functions. (Yegappan
19600 Lakshmanan, closes #8646)
19601Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19602 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19603 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19604 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19605 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19606 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19607 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19608 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19609 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19610 src/sound.c, src/strings.c, src/terminal.c,
19611 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19612 src/testdir/test_execute_func.vim,
19613 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19614 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19615 src/testdir/test_vim9_builtin.vim,
19616 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19617 src/time.c, src/typval.c, src/undo.c
19618
19619Patch 8.2.3230
19620Problem: Vim9: type error when function return type is not known yet.
19621Solution: When return type is unknown, use "any". (closes #8644)
19622Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19623
19624Patch 8.2.3231
19625Problem: Build failure with small features.
19626Solution: Adjust #ifdef.
19627Files: src/errors.h
19628
19629Patch 8.2.3232 (after 8.2.3229)
19630Problem: system() does not work without a second argument.
19631Solution: Do not require a second argument. (Yegappan Lakshmanan,
19632 closes #8651, closes #8650)
19633Files: src/misc1.c, src/proto/typval.pro,
19634 src/testdir/test_vim9_builtin.vim, src/typval.c
19635
19636Patch 8.2.3233
19637Problem: prop_list() and prop_find() do not indicate the buffer for the
19638 used type.
19639Solution: Add "type_bufnr" to the results. (closes #8647)
19640Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19641 src/textprop.c
19642
19643Patch 8.2.3234
19644Problem: Crash when printing long string with Lua.
19645Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19646Files: src/if_lua.c, src/testdir/test_lua.vim
19647
19648Patch 8.2.3235
19649Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19650Solution: Do not go over the end of the lambda.
19651Files: src/userfunc.c, src/testdir/test_usercommands.vim
19652
19653Patch 8.2.3236
19654Problem: mode() does not indicate using CTRL-O in Select mode.
19655Solution: Use "vs" and similar. (closes #8640)
19656Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19657 src/testdir/test_functions.vim
19658
19659Patch 8.2.3237
19660Problem: When a builtin function gives an error processing continues.
19661Solution: In Vim9 script return FAIL in get_func_tv().
19662Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19663
19664Patch 8.2.3238
19665Problem: Vim9: error message does not indicate the location.
19666Solution: Add the relevant text. (issue #8634)
19667Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19668
19669Patch 8.2.3239
19670Problem: Vim9: no error using heredoc for a number variable.
19671Solution: Add a type check. (closes #8627)
19672Files: src/vim9compile.c, src/evalvars.c,
19673 src/testdir/test_vim9_assign.vim
19674
19675Patch 8.2.3240
19676Problem: Lua print() does not work properly.
19677Solution: Put back lua_pop().
19678Files: src/if_lua.c, src/testdir/test_lua.vim
19679
19680Patch 8.2.3241
19681Problem: Vim9: memory leak when function reports an error.
19682Solution: Clear the return value.
19683Files: src/userfunc.c
19684
19685Patch 8.2.3242
19686Problem: Vim9: valgrind reports leaks in builtin function test.
19687Solution: Do not start a job.
19688Files: src/testdir/test_vim9_builtin.vim
19689
19690Patch 8.2.3243
19691Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19692 useful.
19693Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19694 closes #8645)
19695Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19696
19697Patch 8.2.3244
19698Problem: Lua 5.3 print() with a long string crashes.
19699Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19700 closes #8655)
19701Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19702
19703Patch 8.2.3245
19704Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019705Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019706 closes #8657)
19707Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
19708 src/memline.c, src/vim.h
19709
19710Patch 8.2.3246
19711Problem: Memory use after free.
19712Solution: When clearing a string option set the pointer to "empty_option".
19713Files: src/option.c
19714
19715Patch 8.2.3247
19716Problem: Using uninitialized memory when checking for crypt method.
19717Solution: Check the header length before using the salt and seed.
19718Files: src/fileio.c
19719
19720Patch 8.2.3248
19721Problem: Vim9: error message for wrong input uses wrong line number.
19722Solution: Use the line number of the start of the command. (issue #8653)
19723Files: src/vim9script.c, src/testdir/test_vim9_script.vim
19724
19725Patch 8.2.3249
19726Problem: Vim9: error for re-imported function with default argument.
19727Solution: Do not check argument type if it is still unknown. (closes #8653)
19728Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
19729 src/vim.h, src/eval.c, src/vim9execute.c,
19730 src/testdir/test_vim9_script.vim
19731
19732Patch 8.2.3250
19733Problem: MS-Windows: cannot build with libsodium.
19734Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
19735 closes #8668, closes #8663)
19736Files: src/Make_mvc.mak
19737
19738Patch 8.2.3251
19739Problem: Listing builtin_gui as an available terminal is confusing.
19740Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
19741 closes #8661)
19742Files: src/term.c, src/testdir/test_termcodes.vim
19743
19744Patch 8.2.3252
19745Problem: Duplicated code for adding buffer lines.
19746Solution: Move code to a common function. Also move map functions to map.c.
19747 (Yegappan Lakshmanan, closes #8665)
19748Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
19749
19750Patch 8.2.3253
19751Problem: Channel test fails randomly.
19752Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
19753Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
19754
19755Patch 8.2.3254
19756Problem: win_gettype() does not recognize a quickfix window.
19757Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
19758Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
19759 src/testdir/test_quickfix.vim
19760
19761Patch 8.2.3255
19762Problem: ci" finds following string but ci< and others don't.
19763Solution: When not inside an object find the start. (Connor Lane Smit,
19764 closes #8670)
19765Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
19766
19767Patch 8.2.3256
19768Problem: Executable test may fail on new Ubuntu system.
19769Solution: Consider /usr/bin/cat and /bin/cat the same.
19770Files: src/testdir/test_functions.vim
19771
19772Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019773Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019774 Ono)
19775Solution: When passing -1 use -2. (closes #8674)
19776Files: src/textprop.c, src/testdir/test_textprop.vim
19777
19778Patch 8.2.3258
19779Problem: Error messages have the wrong text.
19780Solution: Adjust the error message.
19781Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
19782
19783Patch 8.2.3259
19784Problem: When 'indentexpr' causes an error the did_throw flag may remain
19785 set.
19786Solution: Reset did_throw and show the error. (closes #8677)
19787Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
19788
19789Patch 8.2.3260
19790Problem: Build failure with small features.
19791Solution: Add #ifdef.
19792Files: src/ex_docmd.c
19793
19794Patch 8.2.3261
19795Problem: Vim9: when compiling repeat(123, N) return type is number.
19796Solution: Make return type a string. (closes #8664)
19797Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19798
19799Patch 8.2.3262
19800Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
19801Solution: Adjust how estack_len_before is used.
19802Files: src/ex_docmd.c
19803
19804Patch 8.2.3263
19805Problem: Vim9: "..=" does not accept same types as the ".." operator.
19806Solution: Convert value to string like ".." does. (issue #8664)
19807Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
19808 src/testdir/test_vim9_disassemble.vim
19809
19810Patch 8.2.3264 (after 8.2.3263)
19811Problem: Vim9: assign test fails.
19812Solution: Add missing change.
19813Files: src/eval.c
19814
19815Patch 8.2.3265
19816Problem: Smartcase does not work correctly in very magic pattern.
19817Solution: Take the magicness into account when skipping over regexp items.
19818 (Christian Brabandt, closes #8682, closes #7845)
19819Files: src/search.c, src/testdir/test_search.vim
19820
19821Patch 8.2.3266
19822Problem: Vim9: assignment with two indexes may check next line.
19823Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019824 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019825Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19826
19827Patch 8.2.3267
19828Problem: Vim9: crash when disassembling a function that uses a deleted
19829 script variable.
19830Solution: Check the variable still exists. (closes #8683)
19831Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
19832
19833Patch 8.2.3268
19834Problem: Cannot use a block with :autocmd like with :command.
19835Solution: Add support for a {} block after :autocmd. (closes #8620)
19836Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
19837 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
19838 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
19839
19840Patch 8.2.3269
19841Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
19842Solution: Handle getting return type without arguments. Correct the minimal
19843 number of arguments for what is included in the partial.
19844 (closes #8667)
19845Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
19846
19847Patch 8.2.3270
19848Problem: prop_find() finds property with ID -2.
19849Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
19850Files: src/textprop.c
19851
19852Patch 8.2.3271
19853Problem: Vim9: cannot use :command or :au with a block in a :def function.
19854Solution: Recognize the start of the block.
19855Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
19856 src/proto/ex_docmd.pro, src/vim9compile.c,
19857 src/testdir/test_vim9_script.vim
19858
19859Patch 8.2.3272
19860Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
19861Solution: Also accept id zero.
19862Files: src/textprop.c, src/testdir/test_textprop.vim
19863
19864Patch 8.2.3273
19865Problem: Autocmd test fails.
19866Solution: Require white space before the "{" that starts a block.
19867Files: src/userfunc.c
19868
19869Patch 8.2.3274
19870Problem: Macro for printf format check can be simplified.
19871Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
19872Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
19873 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
19874 src/vim9execute.c
19875
19876Patch 8.2.3275
19877Problem: Optimizer can use hints about ga_grow() normally succeeding.
19878Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
19879 Pellé, issue #8635)
19880Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
19881
19882Patch 8.2.3276
19883Problem: Vim9: exists() can only be evaluated at runtime.
19884Solution: Evaluate at compile time for option name literals. (closes #8437)
19885Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
19886 src/testdir/test_vim9_builtin.vim
19887
19888Patch 8.2.3277 (after 8.2.3276)
19889Problem: Vim9: compiled has() does not work properly.
19890Solution: Fix check for has() vs exists().
19891Files: src/vim9compile.c
19892
19893Patch 8.2.3278
19894Problem: Vim9: error when adding 1 to float.
19895Solution: Accept t_number_bool. (closes #8687)
19896Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19897
19898Patch 8.2.3279
19899Problem: Vim9: cannot use block in cmdline window.
19900Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
19901Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
19902
19903Patch 8.2.3280
19904Problem: 'virtualedit' local to buffer is not the best solution.
19905Solution: Make it window-local. (Gary Johnson, closes #8685)
19906Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
19907 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
19908 src/structs.h, src/testdir/test_virtualedit.vim
19909
19910Patch 8.2.3281
19911Problem: Vim9: TODO items in tests can be taken care of.
19912Solution: Update test for now working functionality. (closes #8694)
19913Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
19914 src/testdir/test_vim9_script.vim
19915
19916Patch 8.2.3282
19917Problem: Vim9: error about using -complete without -nargs is confusing.
19918Solution: Change the wording.
19919Files: src/usercmd.c, src/errors.h
19920
19921Patch 8.2.3283
19922Problem: Julia filetype is not recognized
19923Solution: Add filetype detection. (Christian Clason, closes #8700)
19924Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19925
19926Patch 8.2.3284
19927Problem: No error for insert() or remove() changing a locked blob.
19928Solution: Check a blob is not locked before changing it. (Sean Dewar,
19929 closes #8696)
19930Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
19931 src/proto/blob.pro, src/testdir/test_blob.vim,
19932 src/testdir/test_eval_stuff.vim
19933
19934Patch 8.2.3285
19935Problem: Scdoc filetype is not recognized.
19936Solution: Add filetype detection. (Gregory Anders, closes #8701)
19937Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19938
19939Patch 8.2.3286
19940Problem: win_enter_ext() has too many boolean arguments.
19941Solution: use one flags argument with defined values.
19942Files: src/window.c
19943
19944Patch 8.2.3287
19945Problem: Channel events not handled in BufEnter autocommand.
19946Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
19947Files: src/window.c, src/testdir/test_channel.vim
19948
19949Patch 8.2.3288
19950Problem: Cannot easily access namespace dictionaries from Lua.
19951Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
19952 from NeoVim)
19953Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
19954
19955Patch 8.2.3289 (after 8.2.3287)
19956Problem: Compiler warning for unused variable with small features.
19957Solution: Rearrange #ifdefs.
19958Files: src/window.c
19959
19960Patch 8.2.3290
19961Problem: Vim9: compiling dict may use pointer after free and leak memory on
19962 failure.
19963Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
19964Files: src/vim9compile.c
19965
19966Patch 8.2.3291
19967Problem: Coverity warns for not checking return value.
19968Solution: If dict_add() fails give an error message.
19969Files: src/if_lua.c, src/testdir/test_lua.vim
19970
19971Patch 8.2.3292
19972Problem: Underscore in very magic pattern causes a hang. Pattern with \V
19973 are case sensitive. (Yutao Yuan)
19974Solution: Adjust condition for magicness and advance pointer. (Christian
19975 Brabandt, closes #8707, closes #8704, closes #8705)
19976Files: src/search.c, src/testdir/test_search.vim
19977
19978Patch 8.2.3293
19979Problem: Finding completions may cause an endless loop.
19980Solution: Use a better way to check coming back where the search started.
19981 (Andy Gozas, closes #8672, closes #8671)
19982Files: src/insexpand.c, src/testdir/Make_all.mak,
19983 src/testdir/test_ins_complete_no_halt.vim
19984
19985Patch 8.2.3294
19986Problem: Lua: memory leak when adding dict item fails.
19987Solution: Free the typval and the dict item.
19988Files: src/if_lua.c
19989
19990Patch 8.2.3295
19991Problem: 'cursorline' should not apply to 'breakindent'.
19992Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
19993 consistently. (closes #8684)
19994Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
19995 src/testdir/dumps/Test_Xcursorline_20.dump,
19996 src/testdir/dumps/Test_Xcursorline_21.dump,
19997 src/testdir/dumps/Test_Xcursorline_22.dump,
19998 src/testdir/dumps/Test_Xcursorline_23.dump,
19999 src/testdir/dumps/Test_Xcursorline_24.dump,
20000 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20001 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20002 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20003 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20004 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20005
20006Patch 8.2.3296
20007Problem: Vim9: cannot add a number to a float.
20008Solution: Accept a number if the destination is a float. (closes #8703)
20009Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20010
20011Patch 8.2.3297
20012Problem: Cannot use all commands inside a {} block after :command and
20013 :autocmd.
20014Solution: Do consider \n to separate commands. (closes #8620)
20015Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20016 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20017 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20018 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20019 src/testdir/test_usercommands.vim
20020
20021Patch 8.2.3298
20022Problem: Build failure with small features.
20023Solution: Add #ifdef.
20024Files: src/ex_docmd.c
20025
20026Patch 8.2.3299
20027Problem: Vim9: exists() does not handle much at compile time.
20028Solution: Handle variable names. (closes #8688)
20029Files: src/vim9compile.c, src/evalfunc.c,
20030 src/testdir/test_vim9_builtin.vim
20031
20032Patch 8.2.3300
20033Problem: Lua: can only execute one Vim command at a time. Not easy to get
20034 the Vim version.
20035Solution: Make vim.command() accept multiple lines. Add vim.version().
20036 (Yegappan Lakshmanan, closes #8716)
20037Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20038 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20039 src/testdir/test_shell.vim
20040
20041Patch 8.2.3301
20042Problem: Memory allocation functions don't have their own place.
20043Solution: Move memory allocation functions to alloc.c. (Yegappan
20044 Lakshmanan, closes #8717)
20045Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20046 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20047 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20048 src/proto/misc2.pro
20049
20050Patch 8.2.3302
20051Problem: Coverity is not run from github.
20052Solution: Add a coverity script. (James McCoy, closes #8714)
20053Files: .github/workflows/coverity.yml, Filelist
20054
20055Patch 8.2.3303
20056Problem: Some structures could be smaller.
20057Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20058Files: src/structs.h, src/vim9.h, src/vim9execute.c
20059
20060Patch 8.2.3304
20061Problem: Popup window title with wide characters is truncated.
20062Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20063 closes #8721)
20064Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20065 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20066
20067Patch 8.2.3305
20068Problem: Vim9: :finally in skipped block not handled correctly.
20069Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20070 closes #8724)
20071Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20072
20073Patch 8.2.3306
20074Problem: Unexpected "No matching autocommands".
20075Solution: Do not give the message when aborting. Mention the arguments in
20076 the message. (closes #8690)
20077Files: src/autocmd.c,
20078
20079Patch 8.2.3307
20080Problem: Vim9: :echoconsole cannot access local variables.
20081Solution: Handle like other :echo commands. (closes #8708)
20082Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20083 src/testdir/test_vim9_script.vim,
20084 src/testdir/test_vim9_disassemble.vim
20085
20086Patch 8.2.3308
20087Problem: Vim9: no runtime check for argument type if a function only has
20088 varargs.
20089Solution: Also check argument types if uf_va_type is set. (closes #8715)
20090Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20091
20092Patch 8.2.3309
20093Problem: Vim9: divide by zero causes a crash.
20094Solution: Give an error message. (closes #8727)
20095Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20096
20097Patch 8.2.3310
20098Problem: Vim9: unpack assignment does not mention source of type error.
20099Solution: Mention the argument number. (closes #8719)
20100Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20101 src/testdir/test_vim9_disassemble.vim
20102
20103Patch 8.2.3311
20104Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20105Solution: Move to a separate function so it can be skipped by setting
20106 $TEST_SKIP_PAT.
20107Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20108
20109Patch 8.2.3312
20110Problem: Vim9: after "if false" line breaks in expression not skipped.
20111Solution: Do parse the expression. (closes #8723)
20112Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20113
20114Patch 8.2.3313
20115Problem: Unused code in win_exchange() and frame_remove().
20116Solution: Remove the code. (closes #8728)
20117Files: src/window.c
20118
20119Patch 8.2.3314
20120Problem: Behavior of exists() in a :def function is unpredictable.
20121Solution: Add exists_compiled().
20122Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20123 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20124
20125Patch 8.2.3315
20126Problem: Cannot use single quote in a float number for readability.
20127Solution: Support single quotes like in numbers. (closes #8713)
20128Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20129 src/viminfo.c, src/testdir/test_float_func.vim
20130
20131Patch 8.2.3316 (after 8.2.3315)
20132Problem: Float test fails.
20133Solution: Add missing change.
20134Files: src/evalfunc.c
20135
20136Patch 8.2.3317
20137Problem: Vim9: No error for missing white space before return type.
20138Solution: Check for white space. (closes #8733)
20139Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20140
20141Patch 8.2.3318
20142Problem: Vim9: cannot ignore quotes in number at the command line.
20143Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20144Files: src/typval.c, src/testdir/test_float_func.vim
20145
20146Patch 8.2.3319
20147Problem: Coverity action on github does not work.
20148Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20149Files: .github/workflows/coverity.yml
20150
20151Patch 8.2.3320
20152Problem: Some local functions are not static.
20153Solution: Add "static". Move snprintf() related code to strings.c.
20154 (Yegappan Lakshmanan, closes #8734)
20155Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20156 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20157 src/message.c, src/profiler.c, src/proto/channel.pro,
20158 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20159 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20160 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20161 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20162 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20163 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20164
20165Patch 8.2.3321
20166Problem: Some code is not tested.
20167Solution: Add some more tests. (Dominique Pellé, closes #8735)
20168Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20169
20170Patch 8.2.3322
20171Problem: Vim9: checking type of dict does not check member type.
20172Solution: When getting the type of a typval use dv_type and lv_type.
20173 (closes #8732)
20174Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20175
20176Patch 8.2.3323
20177Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20178Solution: Adjust the help tag.
20179Files: runtime/doc/eval.txt
20180
20181Patch 8.2.3324
20182Problem: Vim9: Cannot use :silent with :endwhile.
20183Solution: Allow for using the :silent modifier. (closes #8737)
20184Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20185 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20186
20187Patch 8.2.3325
20188Problem: Digraph test fails when LC_ALL is set to "C".
20189Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20190Files: src/testdir/test_digraph.vim
20191
20192Patch 8.2.3326
20193Problem: Vim9: no error passing an empty list of the wrong type.
20194Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20195Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20196 src/testdir/test_vim9_disassemble.vim
20197
20198Patch 8.2.3327
20199Problem: No check for sysconf() failing.
20200Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20201 (Zdenek Dohnal, closes #8743)
20202Files: src/os_unix.c
20203
20204Patch 8.2.3328
20205Problem: Coverity error for not checking return value.
20206Solution: Check value is not negative.
20207Files: src/spellfile.c
20208
20209Patch 8.2.3329
20210Problem: v_lock not set when getting value of environment variable.
20211Solution: Set v_lock to zero.
20212Files: src/typval.c
20213
20214Patch 8.2.3330
20215Problem: Coverity reports using uninitialized field.
20216Solution: Initialize the field early.
20217Files: src/tag.c
20218
20219Patch 8.2.3331
20220Problem: Coverity warns for using value without boundary check.
20221Solution: Add a boundary check.
20222Files: src/viminfo.c
20223
20224Patch 8.2.3332
20225Problem: Vim9: cannot assign to range in list.
20226Solution: Implement overwriting a list range.
20227Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20228 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20229 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20230
20231Patch 8.2.3333
20232Problem: Vim9: not enough tests run with Vim9.
20233Solution: Run a few more tests in Vim9 script and :def function.
20234Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20235
20236Patch 8.2.3334
20237Problem: Vim9: not enough tests run with Vim9.
20238Solution: Run a few more tests in Vim9 script and :def function. Fix
20239 islocked(). Fix error for locking local variable.
20240Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20241
20242Patch 8.2.3335
20243Problem: Vim9: not enough tests run with Vim9.
20244Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020245 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020246 Make join() return an empty string for a NULL list. Make sort()
20247 return an empty list for a NULL list.
20248Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20249 src/testdir/vim9.vim
20250
20251Patch 8.2.3336
20252Problem: Behavior of negative index in list change changed. (Naruhiko
20253 Nishino)
20254Solution: Only change it for Vim9 script. (closes #8749)
20255Files: src/list.c, src/testdir/test_listdict.vim
20256
20257Patch 8.2.3337
20258Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20259Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20260Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20261
20262Patch 8.2.3338
20263Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20264Solution: Check the member type. (closes #8750)
20265Files: src/list.c, src/testdir/test_listdict.vim
20266
20267Patch 8.2.3339
20268Problem: Vim9: cannot lock a member in a local dict.
20269Solution: Get the local dict from the stack and pass it to get_lval().
20270Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20271 src/globals.h, src/testdir/test_vim9_cmd.vim,
20272 src/testdir/test_vim9_disassemble.vim
20273
20274Patch 8.2.3340 (after 8.2.3339)
20275Problem: Accessing uninitialized pointer.
20276Solution: Set pointer to NULL.
20277Files: src/eval.c
20278
20279Patch 8.2.3341
20280Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20281Solution: Ignore error caught by try/catch. (closes #8755)
20282Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20283 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20284
20285Patch 8.2.3342 (after 8.2.3341)
20286Problem: Test for :let errors fails.
20287Solution: Adjust the test and how to avoid a second error message.
20288Files: src/evalvars.c, src/testdir/test_let.vim
20289
20290Patch 8.2.3343 (after 8.2.3342)
20291Problem: Vim9: autoload test fails.
20292Solution: Adjust the way the second message is avoided
20293Files: src/evalvars.c
20294
20295Patch 8.2.3344 (after 8.2.3343)
20296Problem: Vimscript test fails.
20297Solution: Have test verify first error instead of second
20298Files: src/testdir/test_vimscript.vim
20299
20300Patch 8.2.3345
20301Problem: Some code not covered by tests.
20302Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20303Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20304 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20305
20306Patch 8.2.3346
20307Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20308 (Naohiro Ono)
20309Solution: Check for Vim9 script syntax. (closes #8756)
20310Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20311
20312Patch 8.2.3347
20313Problem: Check for legacy script is incomplete. (Naohiro Ono)
20314Solution: Also check the :legacy modifier. Use for string concatenation
20315 with "." and others (issue #8756)
20316Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20317 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20318 src/testdir/test_vim9_cmd.vim
20319
20320Patch 8.2.3348
20321Problem: line2byte() returns wrong value after adding textprop. (Yuto
20322 Kimura)
20323Solution: Reduce the length by the size of the text property. (closes #8759)
20324Files: src/memline.c, src/testdir/test_textprop.vim
20325
20326Patch 8.2.3349 (after 8.2.3347)
20327Problem: Eval test for scriptversion fails.
20328Solution: Fix off-by-one error.
20329Files: src/vim9script.c
20330
20331Patch 8.2.3350 (after 8.2.3348)
20332Problem: Text properties test fails on MS-Windows.
20333Solution: Set fileformat to unix.
20334Files: src/testdir/test_textprop.vim
20335
20336Patch 8.2.3351
20337Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20338Solution: Increment the reference count when using a function by name.
20339 (closes #8760)
20340Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20341
20342Patch 8.2.3352
20343Problem: Vim9: error for nested :enddef has wrong line number.
20344Solution: Compute the line number.
20345Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20346
20347Patch 8.2.3353
20348Problem: Vim9: type of argument for negate not checked at compile time.
20349Solution: Add a compile time check.
20350Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20351 src/testdir/test_vim9_script.vim,
20352 src/testdir/test_vim9_disassemble.vim
20353
20354Patch 8.2.3354
20355Problem: Build failure with +byte_offset but without +textprop. (John
20356 Marriott)
20357Solution: Adjust the #ifdef.
20358Files: src/memline.c
20359
20360Patch 8.2.3355
20361Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20362Solution: Add type casts.
20363Files: src/memline.c
20364
20365Patch 8.2.3356
20366Problem: Adding many text properties requires a lot of function calls.
20367Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20368 closes #8751)
20369Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20370 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20371 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20372 src/textprop.c
20373
20374Patch 8.2.3357
20375Problem: Crash when 'virtualedit' is set and window is narrow.
20376Solution: Check that width is not zero. (closes #8767)
20377Files: src/misc2.c, src/testdir/test_number.vim
20378
20379Patch 8.2.3358
20380Problem: Structurizr files are not recognized.
20381Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20382Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20383
20384Patch 8.2.3359
20385Problem: Vim9: error for type when variable is not set.
20386Solution: Give a specific error for a NULL function. (closes #8773)
20387Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20388
20389Patch 8.2.3360
20390Problem: User function completion fails with dict function.
20391Solution: Do not stop sequencing through the list if user functions when
20392 encountering an empty name. (Naohiro Ono, closes #8765,
20393 closes #8774)
20394Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20395
20396Patch 8.2.3361
20397Problem: Vim9: crash with nested :while.
20398Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20399Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20400
20401Patch 8.2.3362
20402Problem: Buffer overflow when completing long tag name.
20403Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20404Files: src/tag.c, src/testdir/test_tagjump.vim
20405
20406Patch 8.2.3363
20407Problem: When :edit reuses the current buffer the alternate file is set to
20408 the same buffer.
20409Solution: Only set the alternate file when not reusing the buffer.
20410 (closes #8783)
20411Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20412 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20413 src/testdir/test_vim9_script.vim
20414
20415Patch 8.2.3364
20416Problem: Vim9: crash when :for is skipped.
20417Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20418Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20419
20420Patch 8.2.3365
20421Problem: Vim9: cannot use option for all operations.
20422Solution: Recognize more operations. (closes #8779)
20423Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20424 src/testdir/test_vim9_cmd.vim
20425
20426Patch 8.2.3366
20427Problem: Vim9: debugging elseif does not stop before condition.
20428Solution: Move debug statement to after the jump. (closes #8781)
20429Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20430
20431Patch 8.2.3367
20432Problem: Vim9: :@r executing a register is inconsistent.
20433Solution: Use "@r" as the start of an expression. (issue #8779)
20434Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20435
20436Patch 8.2.3368
20437Problem: Not all Racket files are recognized.
20438Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20439Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20440
20441Patch 8.2.3369
20442Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20443Solution: Do not auto-format after the delete. (closes #8789)
20444Files: src/ops.c, src/testdir/test_textformat.vim
20445
20446Patch 8.2.3370
20447Problem: Vim9: no check for white space before type in declaration.
20448 (Naohiro Ono)
20449Solution: Check for white space like in a compiled function. (closes #8785)
20450Files: src/eval.c, src/testdir/test_vim9_assign.vim
20451
20452Patch 8.2.3371
20453Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20454Solution: Use "$ENV" as the start of an expression. (closes #8790)
20455Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20456
20457Patch 8.2.3372
20458Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20459Solution: Adjust length for text property. (closes #8772) Also fix it for
20460 deleting a line.
20461Files: src/memline.c, src/testdir/test_textprop.vim
20462
20463Patch 8.2.3373 (after 8.2.3372)
20464Problem: text property test fails on MS-Windows.
20465Solution: Set fileformat to "unix"
20466Files: src/testdir/test_textprop.vim
20467
20468Patch 8.2.3374
20469Problem: Pyret files are not recognized.
20470Solution: Recognize .arr files as Pyret. (Doug Kearns)
20471Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20472
20473Patch 8.2.3375
20474Problem: Using uninitialized memory.
20475Solution: Initialize textprop_save_len.
20476Files: src/memline.c
20477
20478Patch 8.2.3376
20479Problem: Vim9: no warning that "@r" does not do anything.
20480Solution: Give a "no effect" error. (closes #8779)
20481Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20482 src/testdir/test_vim9_cmd.vim
20483
20484Patch 8.2.3377
20485Problem: Vim9: :disass completion does not understand "s:".
20486Solution: Expand "s:" to a pattern. (closes #8780)
20487Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20488
20489Patch 8.2.3378
20490Problem: MS-Windows: completing environment variables with % is wrong.
20491Solution: Only complete environment variables with $. (Albert Liu,
20492 closes #8791)
20493Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20494
20495Patch 8.2.3379
20496Problem: Crash when using NULL job.
20497Solution: Copy static string into buffer. (issue #8260)
20498Files: src/job.c, src/testdir/test_channel.vim
20499
20500Patch 8.2.3380
20501Problem: Crash when using NULL string for funcref().
20502Solution: Check for NULL argument. (issue #8260)
20503Files: src/evalfunc.c, src/testdir/test_expr.vim
20504
20505Patch 8.2.3381
20506Problem: Crash when using NULL list with sign functions.
20507Solution: Handle a NULL list like an empty list. (issue #8260)
20508Files: src/globals.h, src/testdir/test_signs.vim
20509
20510Patch 8.2.3382
20511Problem: Crash when getting the type of a NULL partial.
20512Solution: Check for NULL. (closes #8260)
20513Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20514
20515Patch 8.2.3383
20516Problem: Vim9: completion for :disassemble adds parenthesis.
20517Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20518Files: src/userfunc.c, src/testdir/test_cmdline.vim
20519
20520Patch 8.2.3384
20521Problem: Cannot disable modeline for an individual file.
20522Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20523Files: runtime/doc/options.txt, src/buffer.c,
20524 src/testdir/test_modeline.vim
20525
20526Patch 8.2.3385
20527Problem: Escaping for fish shell does not work properly.
20528Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20529Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20530
20531Patch 8.2.3386
20532Problem: Using uninitialized memory.
20533Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20534Files: src/indent.c
20535
20536Patch 8.2.3387
20537Problem: Compiler warning for non-static function.
20538Solution: Make the function static. (Dominique Pellé, closes #8816)
20539Files: src/strings.c
20540
20541Patch 8.2.3388
20542Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20543 Briscoe)
20544Solution: Include the "/.." in the directory name. (closes #8808)
20545Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20546
20547Patch 8.2.3389
20548Problem: Cannot stop insert mode completion without side effects.
20549Solution: Add CTRL-X CTRL-Z. (closes #8821)
20550Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20551 src/testdir/test_ins_complete.vim
20552
20553Patch 8.2.3390
20554Problem: Included xdiff code is outdated.
20555Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20556Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20557 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20558 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20559 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20560 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20561
20562Patch 8.2.3391
20563Problem: Crash with combination of 'linebreak' and other options.
20564Solution: Avoid n_extra to become negative. (Christian Brabandt,
20565 closes #8817)
20566Files: src/drawline.c
20567
20568Patch 8.2.3392
20569Problem: augroup completion escapes regexp pattern characters.
20570Solution: Do not escape the augroup name. (closes #8826)
20571Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20572
20573Patch 8.2.3393
20574Problem: Escaping for fish shell is skipping some characters.
20575Solution: Escape character after backslash if needed. (Jason Cox,
20576 closes #8827)
20577Files: src/strings.c, src/testdir/test_shell.vim
20578
20579Patch 8.2.3394
20580Problem: Filler lines are wrong when changing text in diff mode.
20581Solution: Don't change the filler lines on every change. Check
20582 scrollbinding when updating the filler lines. (closes #8809)
20583Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20584 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20585 src/testdir/dumps/Test_diff_scroll_change_02.dump
20586
20587Patch 8.2.3395
20588Problem: Vim9: expression breakpoint not checked in :def function.
20589Solution: Always compile a function for debugging if there is an expression
20590 breakpoint. (closes #8803)
20591Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20592 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20593 src/testdir/test_debugger.vim
20594
20595Patch 8.2.3396
20596Problem: When libcall() fails invalid pointer may be used.
20597Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20598Files: src/evalfunc.c
20599
20600Patch 8.2.3397
20601Problem: No test for what 8.2.3391 fixes.
20602Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20603Files: src/testdir/test_breakindent.vim
20604
20605Patch 8.2.3398
20606Problem: Html text objects are not fully tested.
20607Solution: Add tests for dbcs encoding and different number of backslashes.
20608 (Dominique Pellé, closes #8831)
20609Files: src/testdir/test_textobjects.vim
20610
20611Patch 8.2.3399
20612Problem: Octave files are not recognized.
20613Solution: Detect Octave files. (Doug Kearns)
20614Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20615 runtime/filetype.vim, src/testdir/test_filetype.vim
20616
20617Patch 8.2.3400
20618Problem: ":z!" is not supported.
20619Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20620 Use display height instead of current window height.
20621Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20622 src/testdir/test_ex_z.vim
20623
20624Patch 8.2.3401
20625Problem: Vim9: cannot use a negative count with finddir() and findfile().
20626Solution: Adjust the return type. (closes #8776)
20627Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20628
20629Patch 8.2.3402
20630Problem: Invalid memory access when using :retab with large value.
20631Solution: Check the number is positive.
20632Files: src/indent.c, src/option.c, src/optionstr.c,
20633 src/testdir/test_retab.vim
20634
20635Patch 8.2.3403 (after 8.2.3402)
20636Problem: Memory leak for :retab with invalid argument.
20637Solution: Free the memory. Make error messages consistent.
20638Files: src/indent.c
20639
20640Patch 8.2.3404
20641Problem: Vim9: no error for white space before "(".
20642Solution: Give an error, like in a compiled function.
20643Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20644
20645Patch 8.2.3405
20646Problem: Cannot have a comment line in a {} block of a user command.
20647Solution: Continue after the line break. (closes #8837)
20648Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20649
20650Patch 8.2.3406
20651Problem: On some systems tests fail without _REENTRANT. (Elimar
20652 Riesebieter)
20653Solution: Add -D_REENTRANT in configure. (closes #7402)
20654Files: src/configure.ac, src/auto/configure
20655
20656Patch 8.2.3407
20657Problem: Using uninitialized memory with "let g:['bar'] = 2".
20658Solution: Initialize v_type of a new dict item.
20659Files: src/dict.c
20660
20661Patch 8.2.3408
20662Problem: Can delete a numbered function. (Naohiro Ono)
20663Solution: Disallow deleting a numbered function. (closes #8760)
20664Files: src/userfunc.c, src/testdir/test_user_func.vim
20665
20666Patch 8.2.3409
20667Problem: Reading beyond end of line with invalid utf-8 character.
20668Solution: Check for NUL when advancing.
20669Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20670
20671Patch 8.2.3410
20672Problem: Crash with linebreak, listchars and large tabstop.
20673Solution: Account for different size listchars for a tab. (closes #8841)
20674Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20675
20676Patch 8.2.3411
20677Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20678Solution: Check the import flags. (closes #8843)
20679Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20680
20681Patch 8.2.3412 (after 8.2.3411)
20682Problem: Vim9: importing the wrong file.
20683Solution: Correct the file name. Delete the file afterwards.
20684Files: src/testdir/test_vim9_script.vim
20685
20686Patch 8.2.3413
20687Problem: Vim9: too many characters are allowed in import name.
20688Solution: Disallow ':' and '#', check for white space. (closes #8845)
20689Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20690
20691Patch 8.2.3414
20692Problem: fullcommand() gives the wrong name if there is a buffer-local user
20693 command. (Naohiro Ono)
20694Solution: Use a separate function to get the user command name.
20695 (closes #8840)
20696Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20697 src/testdir/test_cmdline.vim
20698
20699Patch 8.2.3415
20700Problem: Vim9: Not all function argument types are properly checked.
20701Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20702 closes #8839)
20703Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20704 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20705
20706Patch 8.2.3416
20707Problem: Second error is reported while exception is being thrown.
20708Solution: Do not check for trailing characters when already aborting.
20709 (closes #8842)
20710Files: src/userfunc.c, src/testdir/test_trycatch.vim
20711
20712Patch 8.2.3417
20713Problem: Vim9: a failing debug expression aborts script sourcing.
20714Solution: Do not let expression failure abort script sourcing. (closes #8848)
20715Files: src/debugger.c, src/testdir/test_debugger.vim
20716
20717Patch 8.2.3418
20718Problem: Garbage collection while evaluating may cause trouble.
20719Solution: Disable garbage collection while evaluating an expression.
20720 (Christian Brabandt, issue #8848)
20721Files: src/eval.c
20722
20723Patch 8.2.3419
20724Problem: A failing debug expression may make Vim unusable.
20725Solution: Suppress error messages. (closes #8848)
20726Files: src/debugger.c, src/testdir/test_debugger.vim
20727
20728Patch 8.2.3420
20729Problem: _REENTRANT defined more than once.
20730Solution: Fix configure script. (Christian Brabandt, closes #8852)
20731Files: src/configure.ac, src/auto/configure
20732
20733Patch 8.2.3421
20734Problem: A bit of code is not covered by tests.
20735Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
20736Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
20737 src/testdir/test_startup.vim
20738
20739Patch 8.2.3422
20740Problem: Vim9: no failure if return type differs from returned variable.
20741Solution: Copy type when copying a list. (closes #8847)
20742Files: src/list.c, src/testdir/test_vim9_func.vim
20743
20744Patch 8.2.3423
20745Problem: Vim9: list += list creates a new list in :def function.
20746Solution: Append to the existing list.
20747Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
20748 src/testdir/test_vim9_assign.vim
20749
20750Patch 8.2.3424
20751Problem: A sequence of spaces is hard to see in list mode.
20752Solution: Add the "multispace" option to 'listchars'. (closes #8834)
20753Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
20754 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
20755
20756Patch 8.2.3425
20757Problem: Warning for using uninitialized variable.
20758Solution: Initialize it. (John Marriott)
20759Files: src/screen.c
20760
20761Patch 8.2.3426
20762Problem: Crash when deleting a listener in a listener callback. (Naohiro
20763 Ono)
20764Solution: Mark the listener and delete it later. (closes #8863)
20765Files: src/change.c, src/testdir/test_listener.vim
20766
20767Patch 8.2.3427
20768Problem: Double free when list is copied.
20769Solution: Allocate the type when making a copy. (closes #8862)
20770 Clear the type for flattennew(). Avoid a memory leak when
20771 flattennew() fails.
20772Files: src/list.c, src/testdir/test_vim9_builtin.vim
20773
20774Patch 8.2.3428
20775Problem: Using freed memory when replacing. (Dhiraj Mishra)
20776Solution: Get the line pointer after calling ins_copychar().
20777Files: src/normal.c, src/testdir/test_edit.vim
20778
20779Patch 8.2.3429
20780Problem: Leaking memory when assigning to list or dict.
20781Solution: Free the list or dict type before overwriting it.
20782Files: src/vim9type.c, src/evalvars.c
20783
20784Patch 8.2.3430
20785Problem: No generic way to trigger an autocommand on mode change.
20786Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
20787Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
20788 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
20789 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
20790 src/testdir/test_edit.vim, src/vim.h
20791
20792Patch 8.2.3431
20793Problem: Completion for :disas sorts local functions first.
20794Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
20795 closes #8860)
20796Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20797
20798Patch 8.2.3432
20799Problem: Octave/Matlab filetype detection does not work properly.
20800Solution: Update the patterns used for matching. (Doug Kearns)
20801Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
20802
20803Patch 8.2.3433
20804Problem: :delcommand does not take a -buffer option.
20805Solution: Add the -buffer option.
20806Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
20807 src/testdir/test_usercommands.vim
20808
20809Patch 8.2.3434 (after 8.2.3430)
20810Problem: Function prototype for trigger_modechanged() is incomplete.
20811Solution: Add "void".
20812Files: src/proto/misc1.pro
20813
20814Patch 8.2.3435
20815Problem: Vim9: dict is not passed to dict function.
20816Solution: Keep the dict used until a function call.
20817Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
20818 src/testdir/test_vim9_func.vim,
20819 src/testdir/test_vim9_disassemble.vim
20820
20821Patch 8.2.3436
20822Problem: Check for optional bool type has confusing return type.
20823Solution: Explicitly return OK.
20824Files: src/typval.c
20825
20826Patch 8.2.3437
20827Problem: Compiler warnings for 32/64 bit usage.
20828Solution: Add type casts. (Mike Williams, closes #8870)
20829Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
20830
20831Patch 8.2.3438
20832Problem: Cannot manipulate blobs.
20833Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
20834 closes #8868)
20835Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
20836 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
20837 src/proto/typval.pro, src/testdir/test_blob.vim,
20838 src/testdir/test_vim9_builtin.vim, src/typval.c
20839
20840Patch 8.2.3439
20841Problem: Deleted lines go to wrong yank register.
20842Solution: Reset y_append when not calling get_yank_register(). (Christian
20843 Brabandt, closes #8872)
20844Files: src/ops.c, src/proto/register.pro, src/register.c,
20845 src/testdir/test_registers.vim
20846
20847Patch 8.2.3440
20848Problem: Recover test fails if there is an old swap file.
20849Solution: Delete old swap files.
20850Files: src/testdir/test_recover.vim
20851
20852Patch 8.2.3441
20853Problem: MS-Windows: vimtutor can't handle path with spaces.
20854Solution: Add double quotes. (Christian Brabandt, closes #8871)
20855Files: vimtutor.bat
20856
20857Patch 8.2.3442
20858Problem: Vim9: || and && are not handled at compile time when possible.
20859Solution: When using constants generate fewer instructions.
20860Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
20861 src/testdir/test_vim9_disassemble.vim
20862
20863Patch 8.2.3443
20864Problem: Vim9: memory leak when and/or fails.
20865Solution: Also clear the growarray when the length is zero.
20866Files: src/vim9compile.c
20867
20868Patch 8.2.3444
20869Problem: concealed text not revealed when leaving insert mode. (Michael
20870 Soyka)
20871Solution: Check if concealing changed when leaving insert mode.
20872 (closes #8880)
20873Files: src/edit.c, src/testdir/test_conceal.vim,
20874 src/testdir/dumps/Test_conceal_two_windows_07in.dump
20875
20876Patch 8.2.3445
20877Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
20878Solution: Always declare longVersion in version.c
20879Files: src/globals.h, src/version.c
20880
20881Patch 8.2.3446
20882Problem: Not enough tests for empty string arguments.
20883Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
20884Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
20885 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
20886
20887Patch 8.2.3447
20888Problem: A couple of declarations are not ANSI C.
20889Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
20890Files: src/os_unix.h
20891
20892Patch 8.2.3448
20893Problem: :endtry after function call that throws not found.
20894Solution: Do check for following :endtry if an exception is being thrown.
20895 (closes #8889)
20896Files: src/userfunc.c, src/testdir/test_trycatch.vim
20897
20898Patch 8.2.3449
20899Problem: Sort fails if the sort compare function returns 999.
20900Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
20901Files: src/list.c, src/testdir/test_sort.vim
20902
20903Patch 8.2.3450
20904Problem: Coveralls action fails.
20905Solution: Disable it for now.
20906Files: .github/workflows/ci.yml
20907
20908Patch 8.2.3451
20909Problem: Not all apache files are recognized.
20910Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
20911Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20912
20913Patch 8.2.3452
20914Problem: MPD files are not recognized.
20915Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
20916Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20917
20918Patch 8.2.3453
20919Problem: Autocmd not executed when editing a directory ending in a path
20920 separator inside try block.
20921Solution: Return NOTDONE instead of FAIL. (closes #8885)
20922Files: src/fileio.c, src/testdir/test_autocmd.vim
20923
20924Patch 8.2.3454
20925Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
20926 Ono)
20927Solution: Count the inserted lines. (closes #8899)
20928Files: src/register.c, src/testdir/test_put.vim
20929
20930Patch 8.2.3455 (after 8.2.3454)
20931Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
20932Solution: Correct the mark position. (closes #8899)
20933Files: src/register.c, src/testdir/test_put.vim
20934
20935Patch 8.2.3456
20936Problem: Vim9: Not all functions are tested with an empty string argument.
20937Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
20938Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20939
20940Patch 8.2.3457
20941Problem: MS-Windows Vim9: test executed and fails.
20942Solution: Add extra check for not being on MS-Windows.
20943Files: src/testdir/test_vim9_script.vim
20944
20945Patch 8.2.3458
20946Problem: Not all dictdconf files are recognized.
20947Solution: Adjust the pattern. (Doug Kearns)
20948Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20949
20950Patch 8.2.3459
20951Problem: Vim9: need more tests for empty string arguments.
20952Solution: Add more tests. Also use empty argument with menu_info() to get
20953 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
20954Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
20955 src/testdir/test_vim9_builtin.vim
20956
20957Patch 8.2.3460
20958Problem: Some type casts are not needed.
20959Solution: Remove unnecessary type casts. (closes #8934)
20960Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
20961 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
20962 src/version.c
20963
20964Patch 8.2.3461
20965Problem: Cannot distinguish Normal and Terminal-Normal mode.
20966Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
20967Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
20968
20969Patch 8.2.3462
20970Problem: The ModeChanged event only uses one character for the new_mode and
20971 old_mode values.
20972Solution: Pass one as first argument to mode(). (issue #8856)
20973Files: src/misc1.c, src/testdir/test_edit.vim
20974
20975Patch 8.2.3463
20976Problem: Pattern matching with ModeChanged not tested.
20977Solution: Add a few more test lines. (issue #8856)
20978Files: src/testdir/test_edit.vim
20979
20980Patch 8.2.3464
20981Problem: nginx files are not recognized.
20982Solution: Add several file patterns. (Chris Aumann, closes #8922)
20983Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20984
20985Patch 8.2.3465
20986Problem: Cannot detect insert scroll mode.
20987Solution: Add "scroll" to complete_info(). (closes #8943)
20988Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
20989
20990Patch 8.2.3466
20991Problem: Completion submode not indicated for virtual replace.
20992Solution: Add submode to "Rv". (closes #8945)
20993Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
20994
20995Patch 8.2.3467
20996Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
20997Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
20998 (closes #8937)
20999Files: src/edit.c, src/testdir/test_autocmd.vim
21000
21001Patch 8.2.3468
21002Problem: Problem with :cd when editing file in non-existent directory. (Yee
21003 Cheng Chin)
21004Solution: Prepend the current directory to get the full path. (closes #8903)
21005Files: src/os_unix.c, src/testdir/test_cd.vim
21006
21007Patch 8.2.3469
21008Problem: Some files with json syntax are not recognized.
21009Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21010Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21011
21012Patch 8.2.3470
21013Problem: Crash with error in :catch and also in :finally.
21014Solution: Only discard an exception if there is one. (closes #8954)
21015Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21016
21017Patch 8.2.3471
21018Problem: Crash when using CTRL-T after an empty search pattern.
21019Solution: Bail out when there is no previous search pattern. (closes #8953)
21020Files: src/ex_getln.c, src/testdir/test_search.vim
21021
21022Patch 8.2.3472
21023Problem: Other crashes with empty search pattern not tested.
21024Solution: Add a few more test lines. (Dominique Pellé)
21025Files: src/testdir/test_search.vim
21026
21027Patch 8.2.3473
21028Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021029Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021030Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21031
21032Patch 8.2.3474
21033Problem: Some places use "Vimscript" instead of "Vim script".
21034Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21035Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21036
21037Patch 8.2.3475
21038Problem: Expression register set by not executed put command.
21039Solution: Do not set the register if the command is skipped. (closes #8909)
21040Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21041
21042Patch 8.2.3476
21043Problem: Renaming a buffer on startup may cause using freed memory.
21044Solution: Check if the buffer is used in a window. (closes #8955)
21045Files: src/buffer.c, src/testdir/test_startup.vim
21046
21047Patch 8.2.3477 (after 8.2.3476)
21048Problem: Startup test fails on MS-Windows.
21049Solution: Skip the test if not on Unix.
21050Files: src/testdir/test_startup.vim
21051
21052Patch 8.2.3478 (after 8.2.3470)
21053Problem: Still crash with error in :catch and also in :finally.
21054Solution: Only call finish_exception() once. (closes #8954)
21055Files: src/ex_eval.c, src/structs.h
21056
21057Patch 8.2.3479
21058Problem: Crash when calling job_start with an invalid argument. (Virginia
21059 Senioria)
21060Solution: Clear the first item in argv. (closes #8957)
21061Files: src/misc2.c, src/testdir/test_channel.vim
21062
21063Patch 8.2.3480 (after 8.2.3478)
21064Problem: Test does not fail without the fix for a crash.
21065Solution: Write the bad code in a file and source it. (Dominique Pellé,
21066 closes #8961)
21067Files: src/testdir/test_trycatch.vim
21068
21069Patch 8.2.3481
21070Problem: Failures when char is unsigned.
21071Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21072 closes #8936)
21073Files: src/structs.h, .github/workflows/ci.yml
21074
21075Patch 8.2.3482
21076Problem: Reading beyond end of line ending in quote and backslash.
21077Solution: Check for non-NUL after backslash. (closes #8964)
21078Files: src/cindent.c, src/testdir/test_cindent.vim
21079
21080Patch 8.2.3483
21081Problem: #ifdef for using sysinfo() is incomplete.
21082Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21083 (closes #8952)
21084Files: src/memline.c, src/configure.ac, src/auto/configure
21085
21086Patch 8.2.3484
21087Problem: Crash when going through spell suggestions.
21088Solution: Limit the text length for finding suggestions to the original
21089 length. Do not update buffers when exiting. (closes #8965)
21090Files: src/spellsuggest.c, src/clipboard.c,
21091 src/testdir/test_spell_utf8.vim
21092
21093Patch 8.2.3485
21094Problem: Python 3 test fails with Python 3.10.
21095Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21096Files: src/testdir/test_python3.vim
21097
21098Patch 8.2.3486
21099Problem: Illegal memory access with invalid sequence of commands.
21100Solution: Do not call leave_block() when not in a try block. (closes #8966)
21101 Reset did_emsg so that exception is shown as an error.
21102Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21103
21104Patch 8.2.3487
21105Problem: Illegal memory access if buffer name is very long.
21106Solution: Make sure not to go over the end of the buffer.
21107Files: src/drawscreen.c, src/testdir/test_statusline.vim
21108
21109Patch 8.2.3488
21110Problem: Issue template is not easy to use.
21111Solution: Use a yaml template. (closes #8928)
21112Files: .github/ISSUE_TEMPLATE/bug_report.md,
21113 .github/ISSUE_TEMPLATE/bug_report.yml
21114
21115Patch 8.2.3489
21116Problem: ml_get error after search with range.
21117Solution: Limit the line number to the buffer line count.
21118Files: src/ex_docmd.c, src/testdir/test_search.vim
21119
21120Patch 8.2.3490
21121Problem: Superfluous return statements.
21122Solution: Remove superfluous return statements from void functions.
21123 (closes #8977)
21124Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21125 src/option.c
21126
21127Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021128Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021129Solution: Adjust the check for xpm2. (closes #8914)
21130Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21131
21132Patch 8.2.3492
21133Problem: Crash when pasting too many times.
21134Solution: Limit the size to what fits in an int. (closes #8962)
21135Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21136
21137Patch 8.2.3493 (after 8.2.3492)
21138Problem: Large count test fails on MS-Windows.
21139Solution: Skip the test on MS-Windows.
21140Files: src/testdir/test_put.vim
21141
21142Patch 8.2.3494
21143Problem: Illegal memory access in utf_head_off.
21144Solution: Check cursor position when reselecting the Visual area.
21145 (closes #8963)
21146Files: src/normal.c, src/testdir/test_visual.vim
21147
21148Patch 8.2.3495
21149Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21150Solution: Add tolerance to the size check. (closes #8815)
21151Files: src/testdir/test_startup.vim
21152
21153Patch 8.2.3496
21154Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21155Solution: Use the just built xxd executable if it exists. (James McCoy,
21156 closes #8929)
21157Files: src/testdir/test_crypt.vim
21158
21159Patch 8.2.3497
21160Problem: Put test fails when run by itself.
21161Solution: Source check.vim. (Dominique Pellé, closes #8990)
21162Files: src/testdir/test_put.vim
21163
21164Patch 8.2.3498
21165Problem: Recover test may fail on some systems.
21166Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21167 closes #8941)
21168Files: src/testdir/test_recover.vim
21169
21170Patch 8.2.3499
21171Problem: GUI geometry startup test fails.
21172Solution: Check string values instead of numbers
21173Files: src/testdir/test_startup.vim
21174
21175Patch 8.2.3500
21176Problem: Github CI fails to install clang.
21177Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21178Files: .github/workflows/ci.yml
21179
21180Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021181Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021182Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21183 closes #8971)
21184Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21185
21186Patch 8.2.3502 (after 8.2.2919)
21187Problem: Cannot enter password in shell command.
21188Solution: Revert patch 8.2.2919.
21189Files: src/os_unix.c
21190
21191Patch 8.2.3503
21192Problem: Vim9: using g:pat:cmd is confusing.
21193Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21194 (closes #8982)
21195Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21196 src/vim9compile.c, src/proto/vim9compile.pro,
21197 src/testdir/test_vim9_cmd.vim
21198
21199Patch 8.2.3504 (after 8.2.3503)
21200Problem: Vim9: warning for signed vs unsigned.
21201Solution: Add type cast.
21202Files: src/vim9compile.c
21203
21204Patch 8.2.3505 (after 8.2.3503)
21205Problem: Vim9: build failure without the +eval feature.
21206Solution: Add #ifdef.
21207Files: src/ex_cmds.c
21208
21209Patch 8.2.3506 (after 8.2.3503)
21210Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21211Solution: Add a few more test cases.
21212Files: src/testdir/test_vim9_cmd.vim
21213
21214Patch 8.2.3507
21215Problem: Generating proto files may fail.
21216Solution: Define __attribute().
21217Files: src/Makefile
21218
21219Patch 8.2.3508 (after 8.2.3503)
21220Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21221Solution: Add a few more test cases.
21222Files: src/testdir/test_vim9_cmd.vim
21223
21224Patch 8.2.3509
21225Problem: Undo file is not synced. (Sami Farin)
21226Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21227 closes #8879, closes #8920)
21228Files: runtime/doc/options.txt, src/undo.c
21229
21230Patch 8.2.3510
21231Problem: Changes are only detected with one second accuracy.
21232Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21233 closes #8873, closes #8875)
21234Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21235 src/config.h.in, src/configure.ac, src/fileio.c,
21236 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21237 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21238
21239Patch 8.2.3511
21240Problem: Vim9: entry for loop variable is created every round.
21241Solution: Only create the entry once. (closes #8996)
21242Files: src/evalvars.c, src/vim9script.c
21243
21244Patch 8.2.3512
21245Problem: Timestamp test fails on some systems.
21246Solution: Sleep for a short while.
21247Files: src/testdir/test_stat.vim
21248
21249Patch 8.2.3513
21250Problem: Using freed memory when using a timer and searching. (Dominique
21251 Pellé)
21252Solution: Allocated mr_pattern.
21253Files: src/search.c
21254
21255Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021256Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021257Solution: Mark the test as being flaky.
21258Files: src/testdir/test_stat.vim
21259
21260Patch 8.2.3515
21261Problem: Nano time test fails on Mac and FreeBSD.
21262Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21263 closes #9000)
21264Files: src/fileio.c
21265
21266Patch 8.2.3516
21267Problem: Terminal window does not have transparent background when
21268 'termguicolors' is used.
21269Solution: Fix the background color. (closes #2361, closes #9002)
21270Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21271 src/terminal.c
21272
21273Patch 8.2.3517
21274Problem: TextChanged does not trigger after TextChangedI.
21275Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21276 closes #8968, closes #8932)
21277Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21278 src/testdir/test_autocmd.vim
21279
21280Patch 8.2.3518
21281Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021282Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021283 instead of listing them in runtest.
21284Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21285 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21286 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21287 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21288 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21289 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21290 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21291 src/testdir/test_timers.vim
21292
21293Patch 8.2.3519
21294Problem: TOML files are not recognized.
21295Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21296Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21297
21298Patch 8.2.3520
21299Problem: Cannot define a function for thesaurus completion.
21300Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21301 closes 8950)
21302Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21303 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21304 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21305 src/structs.h, src/testdir/test_edit.vim
21306
21307Patch 8.2.3521 (after 8.2.3520)
21308Problem: Options completion test fails.
21309Solution: Add 'thesaurusfunc' to the results.
21310Files: src/testdir/test_options.vim
21311
21312Patch 8.2.3522
21313Problem: Cannot use \x and \u when setting 'listchars'.
21314Solution: Support hex and unicode in hex form. (closes #9006)
21315Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21316 src/testdir/test_listchars.vim
21317
21318Patch 8.2.3523
21319Problem: Duplicated code in xxd.
21320Solution: Remove duplicated lines. (closes #8972)
21321Files: src/xxd/xxd.c
21322
21323Patch 8.2.3524
21324Problem: GUI: ligatures are not used.
21325Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21326Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21327 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21328 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21329 src/testdir/test_gui.vim
21330
21331Patch 8.2.3525
21332Problem: Option variable name does not match option name. (Christ van
21333 Willigen)
21334Solution: Rename the variable.
21335Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21336 src/structs.h
21337
21338Patch 8.2.3526
21339Problem: Tests have clumsy check for X11 based GUI.
21340Solution: Add CheckX11BasedGui.
21341Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21342 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21343
21344Patch 8.2.3527
21345Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21346Solution: Initialize it.
21347Files: src/gui_gtk_x11.c
21348
21349Patch 8.2.3528
21350Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21351Solution: Make 'thesaurusfunc' global-local.
21352Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21353 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21354 src/insexpand.c, src/testdir/test_edit.vim
21355
21356Patch 8.2.3529
21357Problem: Xxd usage output is incomplete.
21358Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21359Files: src/xxd/xxd.c
21360
21361Patch 8.2.3530
21362Problem: ":buf \{a}" fails while ":edit \{a}" works.
21363Solution: Unescape "\{". (closes #8917)
21364Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21365 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21366 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21367
21368Patch 8.2.3531 (after 8.2.3530)
21369Problem: Command line completion test fails on MS-Windows.
21370Solution: Do not test with "\{" on MS-Windows.
21371Files: src/testdir/test_cmdline.vim
21372
21373Patch 8.2.3532
21374Problem: The previous '' mark is restored after moving the cursor to the
21375 original jump position. (Tony Chen)
21376Solution: Forget the previous position after checking. (closes #8985)
21377Files: src/mark.c, src/testdir/test_marks.vim
21378
21379Patch 8.2.3533
21380Problem: Inefficient code in xxd.
21381Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21382Files: src/xxd/xxd.c
21383
21384Patch 8.2.3534
21385Problem: Autoread test is a bit flaky.
21386Solution: Wait a brief moment before overwriting the file.
21387Files: src/testdir/test_stat.vim
21388
21389Patch 8.2.3535
21390Problem: If-else indenting is confusing.
21391Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21392Files: src/drawscreen.c
21393
21394Patch 8.2.3536
21395Problem: The do_highlight() function is way too long.
21396Solution: Split it into several functions. (Yegappan Lakshmanan,
21397 closes #9011)
21398Files: src/highlight.c
21399
21400Patch 8.2.3537
21401Problem: mode() does not return the right value in 'operatorfunc'.
21402Solution: Reset finish_op while calling 'operatorfunc'.
21403Files: src/ops.c, src/testdir/test_functions.vim
21404
21405Patch 8.2.3538
21406Problem: Else-if indenting is confusing.
21407Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21408Files: src/highlight.c
21409
21410Patch 8.2.3539
21411Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21412Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21413Files: src/gui_gtk.c
21414
21415Patch 8.2.3540
21416Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21417Solution: Use the right line number. (closes #8956)
21418Files: src/register.c, src/testdir/test_put.vim
21419
21420Patch 8.2.3541
21421Problem: Compiler warning for unused variable in tiny version.
21422Solution: Add #ifdef. (John Marriott)
21423Files: src/highlight.c
21424
21425Patch 8.2.3542
21426Problem: Too many comments are old style.
21427Solution: Change comments to // style. (closes #9021)
21428Files: src/buffer.c
21429
21430Patch 8.2.3543
21431Problem: Swapname has double slash when 'directory' ends in double slash.
21432 (Shane Smith)
21433Solution: Remove the superfluous slash. (closes #8876)
21434Files: src/memline.c, src/testdir/test_swap.vim
21435
21436Patch 8.2.3544
21437Problem: Unix: may leak file descriptor when using a non-existing
21438 directory.
21439Solution: Always close the file. (closes #9023)
21440Files: src/os_unix.c
21441
21442Patch 8.2.3545
21443Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21444Solution: Check the value and give an error. (closes #9024)
21445Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21446 src/testdir/test_utf8.vim
21447
21448Patch 8.2.3546 (after 8.2.3545)
21449Problem: Build failure without the +eval feature.
21450Solution: Add #ifdef. (closes #9025)
21451Files: src/errors.h
21452
21453Patch 8.2.3547
21454Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21455 Peterse)
21456Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21457Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21458 src/testdir/test_quickfix.vim
21459
21460Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021461Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021462Solution: Do not overwrite the NUL after the string. (closes #9028)
21463Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21464
21465Patch 8.2.3549
21466Problem: Mistakes in test comments.
21467Solution: Fix the comments. (closes #9029)
21468Files: src/testdir/test_autocmd.vim
21469
21470Patch 8.2.3550
21471Problem: completion() does not work properly.
21472Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21473 closes #9016)
21474Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21475
21476Patch 8.2.3551
21477Problem: Checking first character of url twice.
21478Solution: Only check once. (closes #9026)
21479Files: src/misc1.c
21480
21481Patch 8.2.3552
21482Problem: Xxd revert does not handle end of line correctly.
21483Solution: Check for newline first. (closes #9034)
21484Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21485
21486Patch 8.2.3553 (after 8.2.3552)
21487Problem: Xxd test fails on MS-Windows.
21488Solution: Split shell command in two.
21489Files: src/testdir/test_xxd.vim
21490
21491Patch 8.2.3554
21492Problem: Xxd has various way to exit.
21493Solution: Add function to print error and exit. (closes #9035)
21494Files: src/xxd/xxd.c
21495
21496Patch 8.2.3555
21497Problem: ModeChanged is not triggered on every mode change.
21498Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21499Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21500 src/misc1.c, src/normal.c, src/terminal.c,
21501 src/testdir/test_edit.vim
21502
21503Patch 8.2.3556
21504Problem: Filler lines are incorrect for other window in diff mode after
21505 making a change.
21506Solution: Copy filler lines from the current window. (closes #8809)
21507Files: src/diff.c, src/testdir/test_diffmode.vim,
21508 src/testdir/dumps/Test_diff_scroll_change_03.dump
21509
21510Patch 8.2.3557
21511Problem: Vim9: cannot call imported funcref at script level.
21512Solution: Check for an imported function. (closes #9007)
21513Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21514
21515Patch 8.2.3558 (after 8.2.3557)
21516Problem: Vim9: asserting the wrong variable.
21517Solution: Don't use Foo, use Goo.
21518Files: src/testdir/test_vim9_script.vim
21519
21520Patch 8.2.3559
21521Problem: Loop variable recreated every time.
21522Solution: Keep the loop variable when looping.
21523Files: src/ex_eval.c
21524
21525Patch 8.2.3560
21526Problem: Using freed memory with lambda.
21527Solution: Do not free lines early, keep them until the expression is
21528 finished. (closes #9020)
21529Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21530 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21531
21532Patch 8.2.3561
21533Problem: Cscope has a complicated way of giving an error message.
21534Solution: Use semsg(). (James McCoy, closes #9038)
21535Files: src/if_cscope.c
21536
21537Patch 8.2.3562
21538Problem: Cannot add color names.
21539Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21540Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21541 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21542 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21543 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21544 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21545 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21546 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21547 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21548 src/vim.h, src/globals.h, src/errors.h,
21549 src/testdir/test_highlight.vim
21550
21551Patch 8.2.3563 (after 8.2.3562)
21552Problem: Build failure with +eval but without GUI or +termguicolors
21553Solution: Adjust #ifdef. (John Marriott)
21554Files: src/highlight.c
21555
21556Patch 8.2.3564
21557Problem: Invalid memory access when scrolling without a valid screen.
21558Solution: Do not set VALID_BOTLINE in w_valid.
21559Files: src/move.c, src/testdir/test_normal.vim
21560
21561Patch 8.2.3565
21562Problem: Makefile dependencies are outdated. (Gary Johnson)
21563Solution: Run "make depend" and add missing dependencies.
21564Files: src/Makefile
21565
21566Patch 8.2.3566
21567Problem: Build failure on old systems when using nano timestamp.
21568Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21569 Johnson, closes #9054)
21570Files: src/vim.h
21571
21572Patch 8.2.3567
21573Problem: CTRL-I in Insert mode is not tested
21574Solution: Add a test case. (Dominique Pellé, closes #8866)
21575Files: src/testdir/test_edit.vim
21576
21577Patch 8.2.3568
21578Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21579Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21580Files: src/testdir/test_edit.vim
21581
21582Patch 8.2.3569
21583Problem: Error for :let when vimrc is Vim 9 script.
21584Solution: Prepend :legacy in the code for converting arguments. (Christian
21585 Brabandt, closes #9068, closes #9077)
21586Files: src/os_win32.c
21587
21588Patch 8.2.3570
21589Problem: Test_very_large_count fails on 32bit systems.
21590Solution: Bail out when using 32 bit numbers. (closes #9072)
21591Files: src/testdir/test_put.vim
21592
21593Patch 8.2.3571
21594Problem: Some unicode control characters are considered printable.
21595Solution: Make 0x2060 - 0x2069 not printable.
21596Files: src/mbyte.c
21597
21598Patch 8.2.3572
21599Problem: Memory leak when closing window and using "multispace" in
21600 'listchars'.
21601Solution: Free the memory. (closes #9071)
21602Files: src/window.c, src/testdir/test_listchars.vim
21603
21604Patch 8.2.3573
21605Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21606 (closes #9072)
21607Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21608 check for multiply overflow.
21609Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21610 src/testdir/test_put.vim
21611
21612Patch 8.2.3574 (after 8.2.3573)
21613Problem: Divide by zero.
21614Solution: Don't check for overflow if multiplicand is zero.
21615Files: src/register.c
21616
21617Patch 8.2.3575 (after 8.2.3574)
21618Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21619Solution: Use a float to check the result.
21620Files: src/register.c
21621
21622Patch 8.2.3576
21623Problem: Some functions are not documented for use with a method.
21624Solution: Add examples. Fix that sign_unplacelist() only takes one
21625 argument. (Sean Dewar, closes #9081)
21626Files: src/evalfunc.c, runtime/doc/eval.txt
21627
21628Patch 8.2.3577 (after 8.2.3574)
21629Problem: Overflow check fails with 32 bit ints.
21630Solution: Only test with 64 bit ints.
21631Files: src/testdir/test_put.vim
21632
21633Patch 8.2.3578
21634Problem: Manipulating highlighting is complicated.
21635Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21636 closes #9039)
21637Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21638 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21639 src/highlight.c, src/proto/highlight.pro,
21640 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21641
21642Patch 8.2.3579
21643Problem: CI sometimes fails for MinGW.
21644Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21645 closes #9078)
21646Files: src/testdir/runtest.vim
21647
21648Patch 8.2.3580
21649Problem: gj does not move properly with a wide character.
21650Solution: Move one to the right. (Christian Brabandt, closes #8702)
21651Files: src/normal.c, src/testdir/test_normal.vim
21652
21653Patch 8.2.3581
21654Problem: Reading character past end of line.
21655Solution: Correct the cursor column.
21656Files: src/ex_docmd.c, src/testdir/test_put.vim
21657
21658Patch 8.2.3582
21659Problem: Reading uninitialized memory when giving spell suggestions.
21660Solution: Check that preword is not empty.
21661Files: src/spellsuggest.c, src/testdir/test_spell.vim
21662
21663Patch 8.2.3583
21664Problem: The "gd" and "gD" commands do not update search stats. (Gary
21665 Johnson)
21666Solution: Clear search stats.
21667Files: src/normal.c, src/testdir/test_search_stat.vim,
21668 src/testdir/dumps/Test_searchstatgd_1.dump,
21669 src/testdir/dumps/Test_searchstatgd_2.dump
21670
21671Patch 8.2.3584
21672Problem: "verbose set efm" reports the location of the :compiler command.
21673 (Gary Johnson)
21674Solution: Add the "-keepscript" argument to :command and use it when
21675 defining CompilerSet.
21676Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21677 src/testdir/test_compiler.vim
21678
21679Patch 8.2.3585
21680Problem: Crash when passing float to "term_rows" in the options argument of
21681 term_start(). (Virginia Senioria)
21682Solution: Bail out if the argument is not a number. (closes #9116)
21683Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21684
21685Patch 8.2.3586 (after 8.2.3584)
21686Problem: Command completion test fails.
21687Solution: Add new argument to expected output
21688Files: src/testdir/test_usercommands.vim
21689
21690Patch 8.2.3587 (after 8.2.3584)
21691Problem: Compiler test fails with backslash file separator.
21692Solution: Accept slash and backslash.
21693Files: src/testdir/test_compiler.vim
21694
21695Patch 8.2.3588
21696Problem: Break statement is never reached.
21697Solution: Rely on return value of set_chars_option() not changing.
21698 (closes #9103)
21699Files: src/optionstr.c
21700
21701Patch 8.2.3589
21702Problem: Failure when the "term_rows" argument of term_start() is an
21703 unusual value.
21704Solution: Limit to range of zero to 1000. (closes #9116)
21705Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21706
21707Patch 8.2.3590
21708Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
21709Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
21710 closes #9105, closes #9073)
21711Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
21712 src/testdir/test_highlight.vim
21713
21714Patch 8.2.3591
21715Problem: No event is triggered when closing a window.
21716Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
21717Files: runtime/doc/autocmd.txt, src/autocmd.c,
21718 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
21719
21720Patch 8.2.3592
21721Problem: Test_hlset fails when terminal has many columns.
21722Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
21723 closes #9100)
21724Files: src/testdir/test_highlight.vim
21725
21726Patch 8.2.3593
21727Problem: Directory is wrong after executing "lcd" with win_execute().
21728Solution: Correct the directory when going back to the original window.
21729 (closes #9132)
21730Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
21731 src/testdir/test_execute_func.vim
21732
21733Patch 8.2.3594
21734Problem: Xxd code is a bit difficult to understand.
21735Solution: Move some lines to a separate function. (closes #9037)
21736Files: src/xxd/xxd.c
21737
21738Patch 8.2.3595
21739Problem: Check for signed overflow might not work everywhere.
21740Solution: Limit to 32 bit int. (closes #9043, closes #9067)
21741Files: src/getchar.c
21742
21743Patch 8.2.3596
21744Problem: Crash when using :pedit in Vim9 script.
21745Solution: Move check for arguments to after checking there are arguments.
21746 (Yegappan Lakshmanan, closes #9134, closes #9135)
21747Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
21748
21749Patch 8.2.3597
21750Problem: Vim seems to hang when writing a very long text to a terminal
21751 window.
21752Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
21753Files: runtime/doc/options.txt, src/terminal.c
21754
21755Patch 8.2.3598
21756Problem: RouterOS filetype is not recognized.
21757Solution: Add file and script patterns. (closes #9097)
21758Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21759
21760Patch 8.2.3599
21761Problem: Not all gdbinit files are recognized.
21762Solution: Add "gdbinit". (Doug Kearns)
21763Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21764
21765Patch 8.2.3600 (after 8.2.3598)
21766Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021767Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021768Files: runtime/scripts.vim
21769
21770Patch 8.2.3601
21771Problem: Check for overflow in put count does not work well.
21772Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
21773Files: src/register.c, src/testdir/test_put.vim
21774
21775Patch 8.2.3602
21776Problem: Python3 test fails with Python 3.10 on MS-Windows.
21777Solution: Adjust the expected error. (Ken Takata, closes #9118)
21778Files: src/testdir/test_python3.vim
21779
21780Patch 8.2.3603
21781Problem: Fish filetype not recognized.
21782Solution: Add a file pattern and match script line. (Doug Kearns)
21783Files: runtime/filetype.vim, runtime/scripts.vim,
21784 src/testdir/test_filetype.vim
21785
21786Patch 8.2.3604
21787Problem: Not all sudoers files are recognized.
21788Solution: Add a file pattern. (Doug Kearns, closes #1192)
21789Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21790
21791Patch 8.2.3605
21792Problem: Cannot clear and unlink a highlight group with hlset() in a
21793 single call.
21794Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
21795Files: runtime/doc/eval.txt, src/highlight.c,
21796 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
21797 src/testdir/test_vim9_cmd.vim
21798
21799Patch 8.2.3606
21800Problem: File missing from list of distributed files.
21801Solution: Add the file.
21802Files: Filelist
21803
21804Patch 8.2.3607
21805Problem: GTK3 screen updating is slow.
21806Solution: Remove some of the GTK3-specific code. (closes #9052)
21807Files: src/gui.h, src/gui_gtk_x11.c
21808
21809Patch 8.2.3608
21810Problem: Users who type "q:" instead of ":q" are confused.
21811Solution: Add an autocmd to give a message that explains this is the
21812 command-line window. (Egor Zvorykin, closes #9146)
21813Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
21814 src/testdir/test_cmdline.vim
21815
21816Patch 8.2.3609
21817Problem: Internal error when ModeChanged is triggered when v:event is
21818 already in use.
21819Solution: Save and restore v:event if needed.
21820Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
21821 src/insexpand.c, src/structs.h, src/register.c
21822
21823Patch 8.2.3610
21824Problem: Crash when ModeChanged triggered too early.
21825Solution: Trigger ModeChanged after setting VIsual.
21826Files: src/normal.c, src/testdir/test_edit.vim
21827
21828Patch 8.2.3611
21829Problem: Crash when using CTRL-W f without finding a file name.
21830Solution: Bail out when the file name length is zero.
21831Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
21832
21833Patch 8.2.3612
21834Problem: Using freed memory with regexp using a mark.
21835Solution: Get the line again after getting the mark position.
21836Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
21837
21838Patch 8.2.3613
21839Problem: :find test fails.
21840Solution: Put length check inside if block.
21841Files: src/findfile.c
21842
21843Patch 8.2.3614
21844Problem: zindex of popup windows not used when redrawing popup menu.
21845Solution: Check the zindex when redrawing the popup menu. (closes #9129,
21846 closes #9089)
21847Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
21848 src/screen.c, src/testdir/test_popupwin.vim,
21849 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
21850 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
21851
21852Patch 8.2.3615
21853Problem: When re-formatting with an indent expression the first line of a
21854 paragraph may get the wrong indent. (Martin F. Krafft)
21855Solution: Apply the correct indenting function for the first line.
21856 (Christian Brabandt, closes #9150, closes #9056)
21857Files: src/textformat.c, src/testdir/test_indent.vim
21858
21859Patch 8.2.3616
21860Problem: Arglist test does not clear the argument list consistently.
21861Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
21862Files: src/testdir/test_arglist.vim
21863
21864Patch 8.2.3617
21865Problem: ":verbose pwd" does not mention 'autochdir' was applied.
21866Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
21867Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
21868 src/main.c, src/netbeans.c, src/os_win32.c,
21869 src/testdir/test_autochdir.vim
21870
21871Patch 8.2.3618
21872Problem: getcwd() is unclear about how 'autochdir' is used.
21873Solution: Update the help for getcwd(). Without any arguments always return
21874 the actual current directory. (closes #9142)
21875Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
21876
21877Patch 8.2.3619
21878Problem: Cannot use a lambda for 'operatorfunc'.
21879Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
21880 closes #8775)
21881Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
21882 src/option.c, src/optionstr.c, src/proto/ops.pro,
21883 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
21884
21885Patch 8.2.3620
21886Problem: Memory leak reported in libtlib.
21887Solution: Call del_curterm() when cleaning up memory. Rename term.h to
21888 termdefs.h to avoid a name clash.
21889Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
21890 src/auto/configure, src/config.h.in, src/Makefile,
21891 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
21892 src/term.h, src/termdefs.h
21893
21894Patch 8.2.3621 (after 8.2.3620)
21895Problem: Build failure.
21896Solution: Add missing change.
21897Files: src/vim.h
21898
21899Patch 8.2.3622
21900Problem: "verbose pwd" shows confusing info when :lcd does not change
21901 directory.
21902Solution: Clear last_chdir_reason also when the directory does not change.
21903 (closes #9160)
21904Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
21905
21906Patch 8.2.3623
21907Problem: "$*" is expanded to "nonomatch".
21908Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
21909 Brabandt, closes #9159, closes #9153)
21910Files: src/os_unix.c, src/testdir/test_expand.vim
21911
21912Patch 8.2.3624
21913Problem: When renaming a terminal buffer the status text is not updated.
21914Solution: Clear the cached status text when renaming a terminal buffer.
21915 (closes #9162)
21916Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
21917 src/testdir/test_terminal.vim
21918
21919Patch 8.2.3625
21920Problem: Illegal memory access when C-indenting.
21921Solution: Also set the cursor column.
21922Files: src/cindent.c, src/testdir/test_cindent.vim
21923
21924Patch 8.2.3626
21925Problem: "au!" and "au! event" cannot be followed by another command as
21926 documented.
21927Solution: When a bar is found set nextcmd.
21928Files: src/autocmd.c, src/testdir/test_autocmd.vim
21929
21930Patch 8.2.3627
21931Problem: difficult to know where the text starts in a window. (Sergey
21932 Vlasov)
21933Solution: Add the "textoff" entry in the result of getwininfo().
21934 (closes #9163)
21935Files: runtime/doc/eval.txt, src/evalwindow.c,
21936 src/testdir/test_bufwintabinfo.vim
21937
21938Patch 8.2.3628
21939Problem: Looking up terminal colors is a bit slow.
21940Solution: Cache the terminal colors. (closes #9130, closes #9058)
21941Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
21942 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
21943 src/structs.h, src/terminal.c, src/window.c,
21944 src/testdir/test_terminal3.vim,
21945 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
21946 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
21947 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
21948 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
21949 src/testdir/dumps/Test_terminal_color_Terminal.dump,
21950 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
21951 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
21952 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
21953 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
21954 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
21955 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
21956 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
21957 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
21958 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
21959 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
21960 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
21961 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
21962 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
21963 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
21964 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
21965 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
21966 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
21967 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
21968 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
21969 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
21970 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
21971 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
21972 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
21973 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
21974 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
21975 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
21976 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
21977
21978Patch 8.2.3629
21979Problem: Command completion in cmdline window uses global user commands,
21980 not local commands for the window where it was opened from.
21981Solution: Use local commands. (closes #9168)
21982Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
21983 src/usercmd.c, src/testdir/test_ins_complete.vim
21984
21985Patch 8.2.3630
21986Problem: Printf() with %S does not handle multi-byte correctly.
21987Solution: Count cells instead of bytes. (closes #9169, closes #7486)
21988Files: src/strings.c, src/testdir/test_expr.vim
21989
21990Patch 8.2.3631
21991Problem: "syntax enable" does not work properly in Vim9 context.
21992Solution: Also handle Vim9 context. (closes #9161)
21993Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
21994
21995Patch 8.2.3632
21996Problem: GTK3: undercurl does not get removed properly.
21997Solution: Set the cairo cursor first. (closes #9170)
21998Files: src/gui_gtk_x11.c
21999
22000Patch 8.2.3633
22001Problem: Vim9: line number of lambda is off by one.
22002Solution: Add one to the line number. (closes #9083)
22003Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22004
22005Patch 8.2.3634
22006Problem: Error for already defined function uses wrong line number.
22007Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22008Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22009
22010Patch 8.2.3635
22011Problem: GTK: composing underline does not show.
22012Solution: Include composing character in pango call. A few more
22013 optimizations for ligatures. (Dusan Popovic, closes #9171,
22014 closes #9147)
22015Files: src/gui_gtk_x11.c
22016
22017Patch 8.2.3636
22018Problem: Coverity warns for unreachable code.
22019Solution: Remove unreachable else block.
22020Files: src/gui_gtk_x11.c
22021
22022Patch 8.2.3637
22023Problem: Typos in test files.
22024Solution: Correct the typos. (Dominique Pellé, closes #9175)
22025Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22026 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22027 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22028 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22029 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22030 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22031 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22032 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22033 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22034 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22035
22036Patch 8.2.3638
22037Problem: getcompletion() always passes zero as position to custom
22038 completion function.
22039Solution: Pass the pattern length. (closes #9173)
22040Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22041
22042Patch 8.2.3639 (after 8.2.2922)
22043Problem: Line commented out accidentally.
22044Solution: Uncomment. (Volodymyr Kot, closes #9172)
22045Files: src/main.c
22046
22047Patch 8.2.3640
22048Problem: Freeze when calling term_wait() in a close callback.
22049Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22050Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22051 src/testdir/test_terminal.vim
22052
22053Patch 8.2.3641
22054Problem: Xxd code has duplicate expressions.
22055Solution: Refactor to avoid duplication. (closes #9185)
22056Files: src/xxd/xxd.c
22057
22058Patch 8.2.3642
22059Problem: List of distributed files is outdated.
22060Solution: Rename term.h to termdefs.h.
22061Files: Filelist
22062
22063Patch 8.2.3643
22064Problem: Header for source file is outdated.
22065Solution: Make the header more accurate. (closes #9186)
22066Files: src/map.c, src/getchar.c
22067
22068Patch 8.2.3644
22069Problem: Count for 'operatorfunc' in Visual mode is not redone.
22070Solution: Add the count to the redo buffer. (closes #9174)
22071Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22072 src/testdir/test_normal.vim
22073
22074Patch 8.2.3645
22075Problem: Vim9: The "no effect" error is not given for all registers.
22076Solution: Include any character following '@'. (closes #8779)
22077Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22078
22079Patch 8.2.3646
22080Problem: Using <sfile> in a function gives an unexpected result.
22081Solution: Give an error in a Vim9 function. (issue #9189)
22082Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22083
22084Patch 8.2.3647
22085Problem: GTK: when using ligatures the cursor is drawn wrong.
22086Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22087 closes #9190)
22088Files: src/gui.c
22089
22090Patch 8.2.3648
22091Problem: "verbose pwd" is incorrect after dropping files on Vim.
22092Solution: Set the chdir reason to "drop".
22093Files: src/gui.c
22094
22095Patch 8.2.3649
22096Problem: Vim9: error for variable declared in while loop.
22097Solution: Do not keep the first variable. (closes #9191)
22098Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22099
22100Patch 8.2.3650
22101Problem: Vim9: for loop variable can be a list member.
22102Solution: Check for valid variable name. (closes #9179)
22103Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22104 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22105
22106Patch 8.2.3651
22107Problem: Vim9: no error for :lock or :unlock with unknown variable.
22108Solution: Give an error. (closes #9188)
22109Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22110
22111Patch 8.2.3652
22112Problem: Can only get text properties one line at a time.
22113Solution: Add options to prop_list() to use a range of lines and filter by
22114 types. (Yegappan Lakshmanan, closes #9138)
22115Files: runtime/doc/textprop.txt, src/textprop.c,
22116 src/testdir/test_textprop.vim
22117
22118Patch 8.2.3653
22119Problem: Terminal ANSI colors may be wrong.
22120Solution: Initialize the color type. (closes #9198, closes #9197)
22121Files: src/terminal.c
22122
22123Patch 8.2.3654
22124Problem: GTK: a touch-drag does not update the selection.
22125Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22126 closes #9194)
22127Files: src/gui_gtk_x11.c
22128
22129Patch 8.2.3655
22130Problem: Compiler warning for using size_t for int.
22131Solution: Add a type cast. (Mike Williams, closes #9199)
22132Files: src/vim9compile.c
22133
22134Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022135Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022136Solution: Give a "without effect" error. (closes #9166)
22137Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22138
22139Patch 8.2.3657
22140Problem: Vim9: debug text misses one line of return statement.
22141Solution: Add a line when not at a debug instruction. (closes #9137)
22142Files: src/vim9execute.c, src/testdir/test_debugger.vim
22143
22144Patch 8.2.3658
22145Problem: Duplicate code in xxd.
22146Solution: Merge duplicated code. Add more tests. (closes #9192)
22147Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22148
22149Patch 8.2.3659
22150Problem: Integer overflow with large line number.
22151Solution: Check for overflow. (closes #9202)
22152Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22153 src/normal.c, src/testdir/test_normal.vim
22154
22155Patch 8.2.3660 (after 8.2.3659)
22156Problem: Overflow check uses wrong number.
22157Solution: Divide by ten.
22158Files: src/normal.c
22159
22160Patch 8.2.3661 (after 8.2.3659)
22161Problem: Test for put with large count fails.
22162Solution: Adjust the counts in the test.
22163Files: src/testdir/test_put.vim
22164
22165Patch 8.2.3662
22166Problem: Illegal memory access if malloc() fails.
22167Solution: Check 'foldmethod' is not empty. (closes #9207)
22168Files: src/fold.c
22169
22170Patch 8.2.3663
22171Problem: Using %S in printf() does not work correctly.
22172Solution: Fix the problem and add more tests. (closes #9208)
22173Files: src/strings.c, src/testdir/test_expr.vim
22174
22175Patch 8.2.3664
22176Problem: Cannot adjust sign highlighting for 'cursorline'.
22177Solution: Add CursorLineSign and CursorLineFold highlight groups.
22178 (Gregory Anders, closes #9201)
22179Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22180 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22181 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22182 src/testdir/test_signs.vim
22183
22184Patch 8.2.3665
22185Problem: Cannot use a lambda for 'tagfunc'.
22186Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22187Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22188 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22189 src/testdir/test_tagfunc.vim
22190
22191Patch 8.2.3666
22192Problem: Libvterm is outdated.
22193Solution: Include patches from revision 769 to revision 789.
22194Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22195 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22196 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22197 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22198 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22199 src/libvterm/t/29state_fallback.test,
22200 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22201 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22202 src/terminal.c
22203
22204Patch 8.2.3667
22205Problem: Building libvterm fails with MSVC.
22206Solution: Don't use C99 construct.
22207Files: src/libvterm/src/state.c
22208
22209Patch 8.2.3668
22210Problem: Messages may be corrupted.
22211Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22212 closes #9195)
22213Files: src/highlight.c, src/testdir/test_highlight.vim
22214
22215Patch 8.2.3669
22216Problem: Buffer overflow with long help argument.
22217Solution: Use snprintf().
22218Files: src/help.c, src/testdir/test_help.vim
22219
22220Patch 8.2.3670
22221Problem: Error checks repeated several times.
22222Solution: Move the checks to functions. (closes #9213)
22223Files: src/xxd/xxd.c
22224
22225Patch 8.2.3671
22226Problem: Restarting Insert mode in prompt buffer too often when a callback
22227 switches windows and comes back. (Sean Dewar)
22228Solution: Do not set "restart_edit" when already in Insert mode.
22229 (closes #9212)
22230Files: src/window.c, src/testdir/test_prompt_buffer.vim
22231
22232Patch 8.2.3672 (after 8.2.3670)
22233Problem: Build failure with unsigned char.
22234Solution: Use int instead of char.
22235Files: src/xxd/xxd.c
22236
22237Patch 8.2.3673
22238Problem: Crash when allocating signal stack fails.
22239Solution: Only using sourcing info when available. (closes #9215)
22240Files: src/globals.h, src/message.c
22241
22242Patch 8.2.3674
22243Problem: When ml_get_buf() fails it messes up IObuff.
22244Solution: Return a local pointer. (closes #9214)
22245Files: src/memline.c
22246
22247Patch 8.2.3675
22248Problem: Using freed memory when vim_strsave() fails.
22249Solution: Clear "last_sourcing_name". Check for msg_source() called
22250 recursively. (closes #8217)
22251Files: src/message.c
22252
22253Patch 8.2.3676
22254Problem: Unused runtime file.
22255Solution: Remove rgb.txt.
22256Files: runtime/rgb.txt
22257
22258Patch 8.2.3677
22259Problem: After a put the '] mark is on the last byte of a multi-byte
22260 character.
22261Solution: Move it to the first byte. (closes #9047)
22262Files: src/register.c, src/testdir/test_put.vim
22263
22264Patch 8.2.3678 (after 8.2.3677)
22265Problem: Illegal memory access.
22266Solution: Ignore changed indent when computing byte offset.
22267Files: src/register.c
22268
22269Patch 8.2.3679
22270Problem: objc file detected as Octave. (Antony Lee)
22271Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22272 closes #9220)
22273Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22274
22275Patch 8.2.3680
22276Problem: Repeated code in xxd.
22277Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22278Files: src/xxd/xxd.c
22279
22280Patch 8.2.3681
22281Problem: Cannot drag popup window after click on a status line. (Sergey
22282 Vlasov)
22283Solution: Reset on_status_line. (closes #9221)
22284Files: src/mouse.c, src/testdir/test_popupwin.vim,
22285 src/testdir/dumps/Test_popupwin_drag_04.dump
22286
22287Patch 8.2.3682
22288Problem: Vim9: assigning to a script variable drops the required type.
22289Solution: Lookup the type of the variable and use it. (closes #9219)
22290Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22291 src/testdir/test_vim9_assign.vim
22292
22293Patch 8.2.3683
22294Problem: Vim9: cannot use `=expr` in :...do commands.
22295Solution: Add EX_EXPAND to the commands. (closes #9232)
22296Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22297
22298Patch 8.2.3684
22299Problem: Blockwise insert does not handle autoindent properly.
22300Solution: Adjust text column for indent. (closes #9229)
22301Files: src/ops.c, src/testdir/test_blockedit.vim
22302
22303Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022304Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022305Solution: Use the xml file type. (Doug Kearns)
22306Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22307
22308Patch 8.2.3686
22309Problem: Filetype detection often mixes up Forth and F#.
22310Solution: Add a function to inspect the file contents. (Doug Kearns)
22311Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22312 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22313 src/testdir/test_filetype.vim
22314
22315Patch 8.2.3687
22316Problem: Blockwise insert does not handle autoindent properly when tab is
22317 inserted.
22318Solution: Adjust text column for indent before computing column.
22319 (closes #9229)
22320Files: src/ops.c, src/testdir/test_blockedit.vim
22321
22322Patch 8.2.3688
22323Problem: The window title is not updated when dragging the scrollbar.
22324Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22325Files: src/gui.c
22326
22327Patch 8.2.3689
22328Problem: ex_let_one() is too long.
22329Solution: Split into multiple functions.
22330Files: src/evalvars.c
22331
22332Patch 8.2.3690
22333Problem: Vim9: "filter #pat# cmd" does not work.
22334Solution: Do not see #pat# as a comment.
22335Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22336
22337Patch 8.2.3691
22338Problem: Build failure with small features.
22339Solution: Add #ifdef. (Dominique Pellé)
22340Files: src/gui.c
22341
22342Patch 8.2.3692
22343Problem: Vim9: cannot use :func inside a :def function.
22344Solution: Make it work.
22345Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22346 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22347
22348Patch 8.2.3693
22349Problem: Coverity warns for possibly using a NULL pointer.
22350Solution: Check for NULL and give an error.
22351Files: src/vim9execute.c, src/errors.h
22352
22353Patch 8.2.3694
22354Problem: Cannot use quotes in the count of an Ex command.
22355Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22356 a range. (closes #9240)
22357Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22358 src/testdir/test_usercommands.vim
22359
22360Patch 8.2.3695
22361Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022362Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022363Files: src/eval.c, src/testdir/test_listdict.vim
22364
22365Patch 8.2.3696
22366Problem: Vim9: error for invalid assignment when skipping.
22367Solution: Do not check white space when skipping. (closes #9243)
22368Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22369
22370Patch 8.2.3697
22371Problem: Cannot drag a popup without a border.
22372Solution: Add the "dragall" option. (closes #9218)
22373Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22374 src/testdir/test_popupwin.vim,
22375 src/testdir/dumps/Test_popupwin_drag_05.dump,
22376 src/testdir/dumps/Test_popupwin_drag_06.dump
22377
22378Patch 8.2.3698
22379Problem: Match highlighting continues over breakindent.
22380Solution: Stop before the end column. (closes #9242)
22381Files: src/match.c, src/proto/match.pro, src/drawline.c,
22382 src/testdir/test_match.vim,
22383 src/testdir/dumps/Test_match_linebreak.dump
22384
22385Patch 8.2.3699
22386Problem: The +title feature adds a lot of #ifdef but little code.
22387Solution: Graduate the +title feature.
22388Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22389 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22390 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22391 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22392 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22393 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22394 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22395 src/globals.h, src/option.h, src/optiondefs.h,
22396 runtime/doc/options.txt, runtime/doc/various.txt
22397
22398Patch 8.2.3700
22399Problem: Text property highlighting continues over breakindent.
22400Solution: Stop before the end column. (closes #9242)
22401Files: src/drawline.c, src/testdir/test_textprop.vim,
22402 src/testdir/dumps/Test_prop_linebreak.dump
22403
22404Patch 8.2.3701
22405Problem: Vim9: invalid LHS is not possible.
22406Solution: Remove unreachable error message.
22407Files: src/vim9compile.c
22408
22409Patch 8.2.3702
22410Problem: First key in dict is seen as curly expression and fails.
22411Solution: Ignore failure of curly expression. (closes #9247)
22412Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22413
22414Patch 8.2.3703 (after 8.2.3686)
22415Problem: Most people call F# "fsharp" and not "fs".
22416Solution: Rename filetype "fs" to "fsharp".
22417Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22418 src/testdir/test_filetype.vim
22419
22420Patch 8.2.3704
22421Problem: Vim9: cannot use a list declaration in a :def function.
22422Solution: Make it work.
22423Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22424 src/testdir/test_vim9_assign.vim
22425
22426Patch 8.2.3705
22427Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22428 Lakshmanan)
22429Solution: Handle a lambda name differently.
22430Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22431 src/testdir/test_expr.vim
22432
22433Patch 8.2.3706 (after 8.2.3700)
22434Problem: Text property highlighting is used on Tab.
22435Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22436Files: src/drawline.c, src/testdir/test_textprop.vim,
22437 src/testdir/dumps/Test_prop_after_tab.dump
22438
22439Patch 8.2.3707
22440Problem: Vim9: constant expression of elseif not recognized.
22441Solution: Set instruction count before generating the expression.
22442Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22443
22444Patch 8.2.3708 (after 8.2.3707)
22445Problem: Vim9: test fails with different error.
22446Solution: Correct the error number.
22447Files: src/testdir/test_vim9_cmd.vim
22448
22449Patch 8.2.3709
22450Problem: Vim9: backtick expression expanded when not desired.
22451Solution: Only expand a backtick expression for commands that expand their
22452 argument. Remove a few outdated TODO comments.
22453Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22454
22455Patch 8.2.3710
22456Problem: Vim9: backtick expression expanded for :global.
22457Solution: Check the following command.
22458Files: runtime/doc/vim9.txt, src/vim9compile.c,
22459 src/testdir/test_vim9_cmd.vim
22460
22461Patch 8.2.3711
22462Problem: Vim9: memory leak when compiling :elseif fails.
22463Solution: Cleanup ppconst.
22464Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22465
22466Patch 8.2.3712
22467Problem: Cannot use Vim9 lambda for 'tagfunc'.
22468Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22469Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22470 src/testdir/test_tagfunc.vim
22471
22472Patch 8.2.3713
22473Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22474Solution: Give an error message. (Christian Brabandt, closes #9245,
22475 closes #8762)
22476Files: src/quickfix.c, src/testdir/test_quickfix.vim
22477
22478Patch 8.2.3714
22479Problem: Some unused assignments and ugly code in xxd.
22480Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22481Files: src/xxd/xxd.c
22482
22483Patch 8.2.3715
22484Problem: Vim9: valgrind reports spurious problems for a test.
22485Solution: Move the test to the set that is known to fail.
22486Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22487
22488Patch 8.2.3716
22489Problem: Vim9: range without a command is not compiled.
22490Solution: Add the ISN_EXECRANGE byte code.
22491Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22492 src/vim9execute.c, src/vim9.h,
22493 src/testdir/test_vim9_disassemble.vim
22494
22495Patch 8.2.3717
22496Problem: Vim9: error for constant list size is only given at runtime.
22497Solution: Give the error at compile time if possible.
22498Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22499 src/testdir/test_vim9_script.vim,
22500 src/testdir/test_vim9_disassemble.vim
22501
22502Patch 8.2.3718
22503Problem: Compiler warns for unused variable without the +textprop feature.
22504 (John Marriott)
22505Solution: Adjust #ifdefs.
22506Files: src/drawline.c
22507
22508Patch 8.2.3719
22509Problem: MS-Windows: test sometimes runs into existing swap file.
22510Solution: Use a different file name.
22511Files: src/testdir/test_buffer.vim
22512
22513Patch 8.2.3720
22514Problem: Vim9: Internal error when invoking closure in legacy context.
22515Solution: Give a more appropriate error message. (closes #9251)
22516Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22517
22518Patch 8.2.3721
22519Problem: Using memory freed by losing the clipboard selection. (Dominique
22520 Pellé)
22521Solution: Check y_array is still valid after calling changed_lines().
22522 (closes #9253)
22523Files: src/errors.h, src/register.c
22524
22525Patch 8.2.3722
22526Problem: Amiga: superfluous messages for freeing lots of yanked text.
22527Solution: Assume that the machine isn't that slow these days.
22528Files: src/register.c
22529
22530Patch 8.2.3723
22531Problem: When using 'linebreak' a text property starts too early.
22532Solution: Decrement "bcol" when looking for property start. (closes #9242)
22533Files: src/drawline.c, src/testdir/test_textprop.vim,
22534 src/testdir/dumps/Test_prop_after_linebreak.dump
22535
22536Patch 8.2.3724
22537Problem: Build error for missing error message in small build.
22538Solution: Correct #ifdef.
22539Files: src/errors.h
22540
22541Patch 8.2.3725
22542Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22543Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22544Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22545 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22546 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22547 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22548 src/testdir/test_tagfunc.vim
22549
22550Patch 8.2.3726
22551Problem: README file in a config directory gets wrong filetype.
22552Solution: Match README before patterns that match everything in a directory.
22553Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22554
22555Patch 8.2.3727
22556Problem: In a gnome terminal keys are recognized as mouse events.
22557Solution: Only recognize DEC mouse events when four numbers are following.
22558 (closes #9256)
22559Files: src/term.c, src/testdir/test_termcodes.vim
22560
22561Patch 8.2.3728
22562Problem: Internal error when passing range() to list2blob().
22563Solution: Materialize the list first. (closes #9262)
22564Files: src/blob.c, src/testdir/test_blob.vim
22565
22566Patch 8.2.3729
22567Problem: No support for squirrels.
22568Solution: Recognize nuts. (closes #9259)
22569Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22570
22571Patch 8.2.3730
22572Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22573Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22574Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22575
22576Patch 8.2.3731
22577Problem: "set! termcap" shows codes in one column, but not keys.
22578Solution: Also use one column for keys. (closes #9258)
22579Files: src/option.c, src/term.c, src/proto/term.pro,
22580 src/testdir/test_set.vim
22581
22582Patch 8.2.3732 (after 8.2.3731)
22583Problem: "set! termcap" test fails.
22584Solution: Account for keys without a t_xx entry.
22585Files: src/testdir/test_set.vim
22586
22587Patch 8.2.3733
22588Problem: Vim9: using "legacy" before range does not work.
22589Solution: Skip over range before parsing command. (closes #9270)
22590Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22591
22592Patch 8.2.3734
22593Problem: Vim9: crash when no pattern match found.
22594Solution: Check for error.
22595Files: src/vim9execute.c
22596
22597Patch 8.2.3735
22598Problem: Cannot use a lambda for 'imactivatefunc'.
22599Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22600 (Yegappan Lakshmanan, closes #9275)
22601Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22602 src/optionstr.c, src/proto/gui_xim.pro,
22603 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22604
22605Patch 8.2.3736
22606Problem: Test fails without the channel feature. (Dominique Pellé)
22607Solution: Source the check.vim script. (closes #9277)
22608Files: src/testdir/test_vim9_fails.vim
22609
22610Patch 8.2.3737
22611Problem: Test fails without the 'autochdir' option.
22612Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22613Files: src/testdir/test_cd.vim
22614
22615Patch 8.2.3738
22616Problem: Screen is cleared when a FocusLost autocommand triggers.
22617Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22618Files: src/misc1.c
22619
22620Patch 8.2.3739
22621Problem: In wrong directory when using win_execute() with 'acd' set.
22622Solution: Restore the directory when returning to the window. (closes #9276)
22623Files: src/window.c, src/testdir/test_autochdir.vim
22624
22625Patch 8.2.3740
22626Problem: Memory left allocated on exit when using Tcl.
22627Solution: Call Tcl_Finalize().
22628Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22629
22630Patch 8.2.3741
22631Problem: Using freed memory in open command.
22632Solution: Make a copy of the current line.
22633Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22634
22635Patch 8.2.3742
22636Problem: Dec mouse test fails without gnome terminfo entry.
22637Solution: Check if there is a gnome entry. Also fix 'acd' test on
22638 MS-Windows. (Ozaki Kiichi, closes #9282)
22639Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22640
22641Patch 8.2.3743
22642Problem: ":sign" can add a highlight group without a name.
22643Solution: Give an error if the group name is missing. (closes #9280)
22644Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22645
22646Patch 8.2.3744
22647Problem: E854 is not tested; some spelling suggestions are not tested.
22648Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22649Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22650
22651Patch 8.2.3745
22652Problem: Autochdir test fails without the +channel feature.
22653Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22654Files: src/testdir/test_autochdir.vim
22655
22656Patch 8.2.3746
22657Problem: Cannot disassemble function starting with "debug" or "profile".
22658Solution: Check for white space following. (closes #9273)
22659Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22660
22661Patch 8.2.3747 (after 8.2.3743)
22662Problem: Cannot remove highlight from an existing sign. (James McCoy)
22663Solution: Only reject empty argument for a new sign.
22664Files: src/sign.c, src/testdir/test_signs.vim
22665
22666Patch 8.2.3748 (after 8.2.3747)
22667Problem: Giving an error for an empty sign argument breaks a plugin.
22668Solution: Do not give an error.
22669Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22670
22671Patch 8.2.3749
22672Problem: Error messages are everywhere.
22673Solution: Move more error messages to errors.h and adjust the names.
22674Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22675 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22676 src/bufwrite.c, src/cmdexpand.c
22677
22678Patch 8.2.3750
22679Problem: Error messages are everywhere.
22680Solution: Move more error messages to errors.h and adjust the names.
22681Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22682 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22683 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22684 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22685
22686Patch 8.2.3751
22687Problem: Cannot assign a lambda to an option that takes a function.
22688Solution: Automatically convert the lambda to a string. (Yegappan
22689 Lakshmanan, closes #9286)
22690Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22691 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22692 src/option.c, src/option.h, src/optiondefs.h,
22693 src/proto/option.pro, src/spell.c, src/typval.c,
22694 src/vim9compile.c, src/testdir/test_iminsert.vim,
22695 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22696
22697Patch 8.2.3752
22698Problem: Build error when using Photon GUI.
22699Solution: Adjust #ifdef. (closes #9288)
22700Files: src/beval.c
22701
22702Patch 8.2.3753
22703Problem: Vim9: function unreferenced while called is never deleted.
22704Solution: Delete a function when no longer referenced.
22705Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22706
22707Patch 8.2.3754 (after 8.2.3615)
22708Problem: Undesired changing of the indent of the first formatted line.
22709Solution: Do not indent the first formatted line.
22710Files: src/textformat.c, src/testdir/test_indent.vim
22711
22712Patch 8.2.3755
22713Problem: Coverity warns for using a buffer in another scope.
22714Solution: Declare the buffer in a common scope.
22715Files: src/evalvars.c
22716
22717Patch 8.2.3756
22718Problem: might crash when callback is not valid.
22719Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
22720Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
22721 src/userfunc.c, src/testdir/test_iminsert.vim,
22722 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22723
22724Patch 8.2.3757
22725Problem: An overlong highlight group name is silently truncated.
22726Solution: Give an error if the name is too long. (closes #9289)
22727Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
22728
22729Patch 8.2.3758
22730Problem: Options that take a function insufficiently tested.
22731Solution: Add additional tests and enhance existing tests. (Yegappan
22732 Lakshmanan, closes #9298)
22733Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22734 src/testdir/test_tagfunc.vim
22735
22736Patch 8.2.3759
22737Problem: Quickfix buffer becomes hidden while still in a window.
22738Solution: Check if the closed window is the last window showing the quickfix
22739 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
22740Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
22741
22742Patch 8.2.3760
22743Problem: Not automatically handling gnome terminal mouse like xterm.
22744Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
22745 (issue #9296)
22746Files: src/os_unix.c
22747
22748Patch 8.2.3761
22749Problem: Focus change is not passed on to a terminal window.
22750Solution: If the current window is a terminal and focus events are enabled
22751 send a focus event escape sequence to the terminal.
22752Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
22753 src/testdir/test_terminal.vim,
22754 src/testdir/dumps/Test_terminal_focus_1.dump,
22755 src/testdir/dumps/Test_terminal_focus_2.dump
22756
22757Patch 8.2.3762
22758Problem: If the quickfix buffer is wiped out getqflist() still returns its
22759 number.
22760Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
22761 closes #9306)
22762Files: src/quickfix.c, src/testdir/test_quickfix.vim
22763
22764Patch 8.2.3763
22765Problem: When editing the command line a FocusLost callback may cause the
22766 screen to scroll up.
22767Solution: Do not redraw at the last line but at the same place where the
22768 command line was before. (closes #9295)
22769Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
22770 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
22771 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
22772 src/testdir/test_terminal.vim,
22773 src/testdir/dumps/Test_terminal_focus_1.dump,
22774 src/testdir/dumps/Test_terminal_focus_2.dump,
22775 src/testdir/dumps/Test_terminal_focus_3.dump
22776
22777Patch 8.2.3764
22778Problem: Cannot see any text when window was made zero lines or zero
22779 columns.
22780Solution: Ensure there is at least one line and column. (fixes #9307)
22781Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
22782 src/testdir/test_window_cmd.vim
22783
22784Patch 8.2.3765
22785Problem: Vim9: cannot use a lambda for 'opfunc' and others.
22786Solution: Convert the lambda to a string.
22787Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
22788 src/testdir/test_vim9_func.vim,
22789 src/testdir/test_vim9_disassemble.vim
22790
22791Patch 8.2.3766
22792Problem: Converting a funcref to a string leaves out "g:", causing the
22793 meaning of the name depending on the context.
22794Solution: Prepend "g:" for a global function.
22795Files: src/eval.c, src/testdir/test_functions.vim
22796
22797Patch 8.2.3767 (after 8.2.3766)
22798Problem: Crash when using NULL partial.
22799Solution: Check for NULL.
22800Files: src/eval.c
22801
22802Patch 8.2.3768
22803Problem: timer_info() has the wrong repeat value in a timer callback.
22804 (Sergey Vlasov)
22805Solution: Do not add one to the repeat value when in the callback.
22806 (closes #9294)
22807Files: src/time.c, src/testdir/test_timers.vim
22808
22809Patch 8.2.3769
22810Problem: Zig files are not recognized.
22811Solution: Add *.zig. (Gregory Anders, closes #9313)
22812Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22813
22814Patch 8.2.3770
22815Problem: New compiler warnings from clang-12 and clang-13.
22816Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
22817Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
22818 src/os_unix.c, src/spellfile.c
22819
22820Patch 8.2.3771
22821Problem: Vim9: accessing freed memory when checking type.
22822Solution: Make a copy of a function type.
22823Files: src/structs.h, src/evalvars.c, src/vim9script.c,
22824 src/testdir/test_vim9_func.vim
22825
22826Patch 8.2.3772
22827Problem: Timer info test fails on slow machine.
22828Solution: Use WaitForAssert().
22829Files: src/testdir/test_timers.vim
22830
22831Patch 8.2.3773
22832Problem: Wrong window size when a modeline changes 'columns' and there is
22833 more than one tabpage. (Michael Soyka)
22834Solution: Adjust the frames of all tabpages. (closes #9315)
22835Files: src/window.c
22836
22837Patch 8.2.3774 (after 8.2.3773)
22838Problem: Test for command line height fails.
22839Solution: Use another way to handle window size change.
22840Files: src/structs.h, src/window.c
22841
22842Patch 8.2.3775
22843Problem: Vim9: lambda compiled without outer context when debugging.
22844Solution: When compiling a lambda for debugging also compile it without.
22845 (closes #9302)
22846Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
22847
22848Patch 8.2.3776
22849Problem: When a tags file line is long a tag may not be found.
22850Solution: When increasing the buffer size read the same line again.
22851Files: src/tag.c, src/testdir/test_taglist.vim
22852
22853Patch 8.2.3777
22854Problem: Spell file write error not checked.
22855Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
22856Files: src/spellfile.c
22857
22858Patch 8.2.3778
22859Problem: Lambda debug test fails in some configurations.
22860Solution: Check feature in a legacy function.
22861Files: src/testdir/test_vim9_script.vim
22862
22863Patch 8.2.3779
22864Problem: Using freed memory when defining a user command from a user
22865 command.
22866Solution: Do not use the command pointer after executing the command.
22867 (closes #9318)
22868Files: src/usercmd.c, src/testdir/test_usercommands.vim
22869
22870Patch 8.2.3780
22871Problem: ":cd" works differently on MS-Windows.
22872Solution: Add the 'cdhome' option. (closes #9324)
22873Files: runtime/doc/editing.txt, runtime/doc/options.txt,
22874 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
22875 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
22876 src/testdir/test_options.vim
22877
22878Patch 8.2.3781
22879Problem: The option window script is outdated.
22880Solution: Add several changes.
22881Files: runtime/optwin.vim
22882
22883Patch 8.2.3782
22884Problem: Vim9: no error if a function shadows a script variable.
22885Solution: Check the function doesn't shadow a variable. (closes #9310)
22886Files: src/userfunc.c, src/evalvars.c, src/vim.h,
22887 src/testdir/test_vim9_script.vim
22888
22889Patch 8.2.3783
22890Problem: Confusing error for using a variable as a function.
22891Solution: If a function is not found but there is a variable, give a more
22892 useful error. (issue #9310)
22893Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
22894 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
22895 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
22896
22897Patch 8.2.3784
22898Problem: The help for options is outdated.
22899Solution: Include all the recent changes.
22900Files: runtime/doc/options.txt
22901
22902Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022903Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022904Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
22905 normal features.
22906Files: .github/workflows/ci.yml
22907
22908Patch 8.2.3786
22909Problem: Test fails because of using Vim9 syntax in legacy function.
22910Solution: Add "call".
22911Files: src/testdir/test_functions.vim
22912
22913Patch 8.2.3787
22914Problem: No proper formatting of a C line comment after a statement.
22915Solution: Find the start of the line comment, insert the comment leader and
22916 indent the comment properly.
22917Files: src/change.c, src/proto/change.pro, src/search.c,
22918 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
22919 src/textformat.c, src/testdir/test_textformat.vim,
22920 src/testdir/test_cindent.vim
22921
22922Patch 8.2.3788
22923Problem: Lambda for option that is a function may be garbage collected.
22924Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
22925 closes #9330)
22926Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
22927 src/insexpand.c, src/ops.c, src/proto/eval.pro,
22928 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
22929 src/proto/tag.pro, src/quickfix.c, src/tag.c,
22930 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
22931 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
22932 src/testdir/test_tagfunc.vim
22933
22934Patch 8.2.3789
22935Problem: Test_window_minimal_size can fail on a slow machine.
22936Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
22937 closes #9335)
22938Files: src/testdir/test_window_cmd.vim
22939
22940Patch 8.2.3790
22941Problem: Test for term_gettitle() fails in some environments.
22942Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
22943Files: src/testdir/test_terminal2.vim
22944
22945Patch 8.2.3791
22946Problem: Build error with +cindent but without +smartindent.
22947Solution: Move declaration of "do_cindent". (John Marriott)
22948Files: src/change.c
22949
22950Patch 8.2.3792
22951Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022952Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022953Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
22954 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
22955 src/testdir/test_tagfunc.vim
22956
22957Patch 8.2.3793
22958Problem: Using "g:Func" as a funcref does not work in script context
22959 because "g:" is dropped.
22960Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022961 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022962Files: src/evalvars.c, src/testdir/test_vim9_func.vim
22963
22964Patch 8.2.3794
22965Problem: Vim9: cannot find script-local func using "s:". (Yegappan
22966 Lakshmanan)
22967Solution: Skip the "s:".
22968Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22969
22970Patch 8.2.3795
22971Problem: Too many #ifdefs.
22972Solution: Graduate the jumplist feature.
22973Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
22974 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
22975 src/mark.c, src/normal.c, src/undo.c, src/version.c,
22976 src/viminfo.c, src/window.c, src/structs.h,
22977 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
22978 src/testdir/test_normal.vim
22979
22980Patch 8.2.3796
22981Problem: The funcexe_T struct members are not named consistently.
22982Solution: Prefix "fe_" to all the members.
22983Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
22984 src/terminal.c, src/userfunc.c, src/vim9execute.c
22985
22986Patch 8.2.3797
22987Problem: No good reason to limit the message history in the tiny version.
22988Solution: Always use 200.
22989Files: runtime/doc/message.txt, src/feature.h
22990
22991Patch 8.2.3798
22992Problem: A :def callback function postpones an error message.
22993Solution: Display the error after calling the function. (closes #9340)
22994Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
22995 src/testdir/dumps/Test_opfunc_error.dump
22996
22997Patch 8.2.3799 (after 8.2.3798)
22998Problem: Edit test hangs or fails.
22999Solution: Do not rethrow an exception when inside try/catch.
23000Files: src/userfunc.c
23001
23002Patch 8.2.3800
23003Problem: When cross compiling the output of "uname" cannot be set. (Ben
23004 Reeves)
23005Solution: Use cache variables. (closes #9338)
23006Files: src/configure.ac, src/auto/configure
23007
23008Patch 8.2.3801
23009Problem: If a terminal shows in two windows, only one is redrawn.
23010Solution: Reset the dirty row range only after redrawing all windows.
23011 (closes #9341)
23012Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23013 src/testdir/test_terminal.vim
23014
23015Patch 8.2.3802
23016Problem: Terminal in two windows test fails on some systems.
23017Solution: Wait a bit between commands.
23018Files: src/testdir/test_terminal.vim
23019
23020Patch 8.2.3803
23021Problem: Crash when 'writedelay' is set and using a terminal window to
23022 execute a shell command.
23023Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23024Files: src/terminal.c
23025
23026Patch 8.2.3804
23027Problem: Script context not set when copying 'swf' and 'ts'.
23028Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23029Files: src/option.c
23030
23031Patch 8.2.3805
23032Problem: i3config files are not recognized.
23033Solution: Add patterns to match i3config files. (Quentin Hibon,
23034 closes #7969)
23035Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23036
23037Patch 8.2.3806
23038Problem: Terminal focus test fails sometimes.
23039Solution: Run the test function before others.
23040Files: src/testdir/test_terminal.vim
23041
23042Patch 8.2.3807
23043Problem: Vim9: can call import with star directly.
23044Solution: Check that the import used star.
23045Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23046
23047Patch 8.2.3808
23048Problem: Vim9: obsolete TODO items
23049Solution: Remove the comments.
23050Files: src/vim9execute.c
23051
23052Patch 8.2.3809
23053Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23054 Senioria)
23055Solution: Set references in all the funcstacks. (closes #9348)
23056Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23057 src/eval.c, src/testdir/test_vim9_func.vim
23058
23059Patch 8.2.3810
23060Problem: Vim9: expr4 test fails on MS-Windows.
23061Solution: Do not give an error for a missing function name when skipping.
23062Files: src/eval.c, src/testdir/test_vim9_expr.vim
23063
23064Patch 8.2.3811
23065Problem: The opfunc error test fails on a slow machine.
23066Solution: Use WaitForAssert().
23067Files: src/testdir/test_vim9_func.vim
23068
23069Patch 8.2.3812
23070Problem: Vim9: leaking memory in numbered function test.
23071Solution: Skip "g:" when checking for numbered function. Clean up after
23072 errors properly.
23073Files: src/userfunc.c
23074
23075Patch 8.2.3813
23076Problem: confusing error when using :cc without error list. (Gary Johnson)
23077Solution: Give the "no errors" error.
23078Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23079
23080Patch 8.2.3814
23081Problem: .csx files and .sln files are not recognized.
23082Solution: Add filetype patterns. (Doug Kearns)
23083Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23084
23085Patch 8.2.3815
23086Problem: Vim9: cannot have a multi-line dict inside a block.
23087Solution: Do not split the command at a line break, handle NL characters
23088 as white space.
23089Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23090 src/eval.c, src/testdir/test_vim9_expr.vim
23091
23092Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023093Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023094Solution: Add type cast. (Mike Williams, closes #9349)
23095Files: src/userfunc.c
23096
23097Patch 8.2.3817 (after 8.2.3815)
23098Problem: Vim9: Not using NL as command end does not work for :autocmd.
23099Solution: Only ignore NL for commands with an expression argument.
23100Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23101
23102Patch 8.2.3818
23103Problem: Cannot filter or map characters in a string.
23104Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23105 closes #9327)
23106Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23107 src/testdir/test_filter_map.vim
23108
23109Patch 8.2.3819 (after 8.2.3818)
23110Problem: Test fails because error message changed.
23111Solution: Update screendumps.
23112Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23113 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23114
23115Patch 8.2.3820
23116Problem: "vrc" does not replace composing characters, while "rc" does.
23117Solution: Check the byte length including composing characters.
23118 (closes #9351)
23119Files: src/ops.c, src/testdir/test_visual.vim
23120
23121Patch 8.2.3821
23122Problem: ASAN test run fails.
23123Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23124Files: .github/workflows/ci.yml
23125
23126Patch 8.2.3822
23127Problem: Leaking memory in map() and filter(), cannot use a string argument
23128 in Vim9 script.
23129Solution: Fix the leak, adjust the argument check, also run the tests as
23130 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23131Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23132 src/testdir/test_filter_map.vim,
23133 src/testdir/test_vim9_builtin.vim, src/typval.c
23134
23135Patch 8.2.3823
23136Problem: Test for visual replace is in wrong function.
23137Solution: Move it to another function.
23138Files: src/testdir/test_visual.vim
23139
23140Patch 8.2.3824
23141Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023142Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023143 Lakshmanan, closes #9357)
23144Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23145 src/testdir/test_fnamemodify.vim
23146
23147Patch 8.2.3825
23148Problem: Various comments could be improved.
23149Solution: Improve the comments.
23150Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23151 src/testdir/test_edit.vim, src/gui_motif.c
23152
23153Patch 8.2.3826
23154Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23155 function.
23156Solution: Include "g:" in the function name. (closes #9336)
23157Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23158 src/testdir/test_vim9_disassemble.vim
23159
23160Patch 8.2.3827
23161Problem: Huntr badge does not really fit in the list.
23162Solution: Move the link to Huntr to the issue template.
23163Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23164
23165Patch 8.2.3828
23166Problem: when opening a terminal from a timer the first typed character
23167 is lost. (Virginia Senioria)
23168Solution: When opening a terminal while waiting for a character put K_IGNORE
23169 in the input buffer.
23170Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23171
23172Patch 8.2.3829
23173Problem: No error when setting a func option to a script-local function.
23174Solution: Give an error if the name starts with "s:". (closes #9358)
23175Files: src/option.c, src/testdir/test_tagfunc.vim,
23176 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23177
23178Patch 8.2.3830
23179Problem: Error messages are spread out.
23180Solution: Move more error messages to errors.h.
23181Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23182 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23183 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23184 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23185 src/vim9type.c, src/window.c
23186
23187Patch 8.2.3831
23188Problem: Opfunc test fails when missing feature changes function name.
23189 (Dominique Pellé)
23190Solution: Check the relevant screen line instead of using a screendump.
23191 (closes #9360)
23192Files: src/testdir/test_vim9_func.vim,
23193 src/testdir/dumps/Test_opfunc_error.dump
23194
23195Patch 8.2.3832 (after 8.2.3830)
23196Problem: Test fails because of changed error message.
23197Solution: Adjust the expected error message.
23198Files: src/testdir/test_vimscript.vim
23199
23200Patch 8.2.3833
23201Problem: Error from term_start() not caught by try/catch.
23202Solution: save and restore did_emsg when applying autocommands. (Ozaki
23203 Kiichi, closes #9361)
23204Files: src/autocmd.c, src/testdir/test_terminal3.vim
23205
23206Patch 8.2.3834
23207Problem: Test_out_cb often fails on Mac.
23208Solution: Increase the timeout with every retry.
23209Files: src/testdir/test_channel.vim
23210
23211Patch 8.2.3835
23212Problem: The inline-function example does not work.
23213Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23214Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23215 src/testdir/test_vim9_expr.vim
23216
23217Patch 8.2.3836
23218Problem: Vim9: comment after expression not skipped to find NL.
23219Solution: After evaluating an expression look for a newline after a #
23220 comment.
23221Files: src/eval.c
23222
23223Patch 8.2.3837
23224Problem: QNX: crash when compiled with GUI but using terminal.
23225Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23226Files: src/autocmd.c
23227
23228Patch 8.2.3838
23229Problem: Cannot use script-local function for setting *func options.
23230Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23231Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23232 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23233 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23234
23235Patch 8.2.3839
23236Problem: Using \z() with \z1 not tested for syntax highlighting.
23237Solution: Add a test. (Dominique Pellé, closes #9365)
23238Files: src/testdir/test_syntax.vim
23239
23240Patch 8.2.3840
23241Problem: Useless test for negative index in check functions.
23242Solution: Remove the test for negative index. (Naruhiko Nishino,
23243 closes #9364)
23244Files: src/typval.c
23245
23246Patch 8.2.3841
23247Problem: Vim9: outdated TODO items, disabled tests that work.
23248Solution: Remove TODO items, run tests that work now. Check that a dict
23249 item isn't locked.
23250Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23251 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23252
23253Patch 8.2.3842
23254Problem: Vim9: can change locked list and list items.
23255Solution: Check that a list and list item isn't locked.
23256Files: src/vim9execute.c, src/testdir/test_listdict.vim
23257
23258Patch 8.2.3843
23259Problem: Dep3patch files are not recognized.
23260Solution: Recognize dep3patch files by their location and content. (James
23261 McCoy, closes #9367)
23262Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23263 src/testdir/test_filetype.vim
23264
23265Patch 8.2.3844
23266Problem: Vim9: no type error if assigning a value with type func(number) to
23267 a variable of type func(string).
23268Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23269 useful. (issue #8492)
23270Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23271 src/testdir/test_vim9_assign.vim
23272
23273Patch 8.2.3845
23274Problem: Vim9: test fails when the channel feature is missing.
23275Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23276Files: src/testdir/test_vim9_builtin.vim
23277
23278Patch 8.2.3846
23279Problem: No error when using control character for 'lcs' or 'fcs'.
23280Solution: Use char2cells() to check the width. (closes #9369)
23281Files: src/screen.c, src/testdir/test_display.vim,
23282 src/testdir/test_listchars.vim
23283
23284Patch 8.2.3847
23285Problem: Illegal memory access when using a lambda with an error.
23286Solution: Avoid skipping over the NUL after a string.
23287Files: src/eval.c, src/testdir/test_lambda.vim
23288
23289Patch 8.2.3848
23290Problem: Cannot use reduce() for a string.
23291Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23292Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23293 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23294 src/testdir/test_vim9_builtin.vim
23295
23296Patch 8.2.3849
23297Problem: Functions implementing reduce and map are too long.
23298Solution: Use a function for each type of value. Add a few more test cases
23299 and add to the help. (Yegappan Lakshmanan, closes #9370)
23300Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23301
23302Patch 8.2.3850
23303Problem: Illegal memory access when displaying a partial.
23304Solution: Terminate the string with a NUL. (closes #9371)
23305Files: src/eval.c, src/testdir/test_messages.vim
23306
23307Patch 8.2.3851
23308Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023309Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023310 duplicated code.
23311Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23312
23313Patch 8.2.3852
23314Problem: Vim9: not enough tests.
23315Solution: Also run existing tests for Vim9 script. Make errors more
23316 consistent.
23317Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23318 src/errors.h
23319
23320Patch 8.2.3853
23321Problem: Vim9: not enough tests.
23322Solution: Run more existing tests for Vim9 script.
23323Files: src/testdir/test_listdict.vim
23324
23325Patch 8.2.3854
23326Problem: Vim9: inconsistent arguments for test functions.
23327Solution: When :def function and script have different arguments use a list
23328 with two items instead of a separate function.
23329Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23330 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23331 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23332 src/testdir/test_vim9_assign.vim,
23333 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23334 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23335 src/testdir/test_vim9_script.vim
23336
23337Patch 8.2.3855
23338Problem: Illegal memory access when displaying a blob.
23339Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23340Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23341 src/testdir/test_messages.vim
23342
23343Patch 8.2.3856
23344Problem: Vim9: not enough tests.
23345Solution: Run more expression tests also with Vim9. Fix an uncovered
23346 problem.
23347Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23348
23349Patch 8.2.3857
23350Problem: Vim9: inconsistent error for using function().
23351Solution: Use a runtime type check for the result of function().
23352 (closes #8492)
23353Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23354
23355Patch 8.2.3858
23356Problem: Vim9: not enough tests.
23357Solution: Add tests for :try/:catch and :redir. Add missing type check.
23358Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23359 src/testdir/test_vim9_cmd.vim
23360
23361Patch 8.2.3859
23362Problem: Vim9: some code lines not tested.
23363Solution: Add a few specific tests.
23364Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23365 src/testdir/test_vim9_script.vim
23366
23367Patch 8.2.3860
23368Problem: Vim9: codecov struggles with the file size.
23369Solution: Split vim9compile.c into four files.
23370Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23371 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23372 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23373 src/vim9execute.c, src/vim9script.c, src/proto.h,
23374 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23375 src/Make_mvc.mak, src/Make_vms.mms
23376
23377Patch 8.2.3861
23378Problem: List of distributed files is outdated.
23379Solution: Add new files.
23380Files: Filelist
23381
23382Patch 8.2.3862
23383Problem: Crash on exit with EXITFREE and using win_execute().
23384Solution: Also save and restore tp_topframe. (issue #9374)
23385Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23386
23387Patch 8.2.3863 (after 8.2.3860)
23388Problem: Various build flags accidentally enabled.
23389Solution: Revert several lines in Makefile.
23390Files: src/Makefile
23391
23392Patch 8.2.3864
23393Problem: Cannot disable requesting key codes from xterm.
23394Solution: Add the 'xtermcodes' option, default on.
23395Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23396 src/optiondefs.h, src/term.c, runtime/optwin.vim
23397
23398Patch 8.2.3865
23399Problem: Vim9: compiler complains about using "try" as a struct member.
23400Solution: Rename "try" to "tryref".
23401Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23402
23403Patch 8.2.3866
23404Problem: Vim9: type checking global variables is inconsistent.
23405Solution: Use the "unknown" type in more places.
23406Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23407 src/evalfunc.c, src/testdir/test_vim9_func.vim
23408
23409Patch 8.2.3867
23410Problem: Implementation of some list functions too complicated.
23411Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23412 Lakshmanan, closes #9378)
23413Files: src/list.c
23414
23415Patch 8.2.3868 (after 8.2.3866)
23416Problem: Vim9: function test fails.
23417Solution: Add missing changes. Add test for earlier patch.
23418Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23419
23420Patch 8.2.3869
23421Problem: Vim9: type checking for "any" is inconsistent.
23422Solution: Always use a runtime type check for using "any" for a more
23423 specific type.
23424Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23425 src/testdir/test_vim9_func.vim
23426
23427Patch 8.2.3870
23428Problem: MS-Windows: wrong working directory when opening two files with
23429 right-click context menu. (Gabriel Dupras)
23430Solution: Use the working directory and pass it on to the process creation.
23431 (Nir Lichtman, closes #9382, closes #8874)
23432Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23433
23434Patch 8.2.3871
23435Problem: List.c contains code for dict and blob.
23436Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23437 closes #9386)
23438Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23439 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23440 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23441 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23442
23443Patch 8.2.3872
23444Problem: Vim9: finddir() and uniq() return types can be more specific.
23445Solution: Adjust the return type.
23446Files: src/evalfunc.c, src/testdir/vim9.vim,
23447 src/testdir/test_vim9_builtin.vim
23448
23449Patch 8.2.3873
23450Problem: go.mod files are not recognized.
23451Solution: Check for the file name. (closes #9380)
23452Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23453
23454Patch 8.2.3874
23455Problem: Cannot highlight the number column for a sign.
23456Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23457Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23458 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23459 src/testdir/test_signs.vim
23460
23461Patch 8.2.3875
23462Problem: gcc complains about buffer overrun.
23463Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23464Files: src/dict.c
23465
23466Patch 8.2.3876
23467Problem: 'cindent' does not recognize inline namespace.
23468Solution: Skip over "inline" to find "namespace". (closes #9383)
23469Files: src/cindent.c, src/testdir/test_cindent.vim
23470
23471Patch 8.2.3877
23472Problem: Function does not abort after a type error in compare
23473Solution: Check getting number fails. (closes #9384)
23474Files: src/typval.c, src/testdir/test_vim9_expr.vim
23475
23476Patch 8.2.3878
23477Problem: Vim9: debugger tries to read more lines than there are.
23478Solution: Check the number of lines. (closes #9394)
23479Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23480
23481Patch 8.2.3879
23482Problem: getreg() and getregtype() contain dead code.
23483Solution: Remove the needless check. (closes #9392) Also refactor to put
23484 common code in a shared function.
23485Files: src/evalfunc.c
23486
23487Patch 8.2.3880
23488Problem: Solution filter files are not recognized.
23489Solution: Add pattern *.slnf and use json. (Doug Kearns)
23490Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23491
23492Patch 8.2.3881
23493Problem: QNX: crash when compiled with GUI but using terminal.
23494Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23495Files: src/main.c
23496
23497Patch 8.2.3882 (after 8.2.3879)
23498Problem: More duplicated code in f_getreginfo().
23499Solution: Also use getreg_get_regname(). (closes #9398)
23500Files: src/evalfunc.c
23501
23502Patch 8.2.3883
23503Problem: Crash when switching to other regexp engine fails.
23504Solution: Check for regprog being NULL.
23505Files: src/ex_cmds.c
23506
23507Patch 8.2.3884
23508Problem: Crash when clearing the argument list while using it.
23509Solution: Lock the argument list for ":all".
23510Files: src/arglist.c, src/testdir/test_arglist.vim
23511
23512Patch 8.2.3885
23513Problem: Arglist test fails.
23514Solution: Adjust for locking the arglist for ":all".
23515Files: src/testdir/test_arglist.vim
23516
23517Patch 8.2.3886
23518Problem: Can define autocmd for every event by using "au!".
23519Solution: Check if a command is present also for "au!".
23520Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23521 src/testdir/test_arglist.vim
23522
23523Patch 8.2.3887
23524Problem: E1135 is used for two different errors.
23525Solution: Renumber one error.
23526Files: src/errors.h, src/testdir/test_mapping.vim
23527
23528Patch 8.2.3888
23529Problem: The argument list may contain duplicates.
23530Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23531Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23532 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23533 src/testdir/test_arglist.vim
23534
23535Patch 8.2.3889
23536Problem: Duplicate code for translating script-local function name.
23537Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23538 closes #9393)
23539Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23540 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23541 src/testdir/test_normal.vim
23542
23543Patch 8.2.3890
23544Problem: Vim9: type check for using v: variables is basic.
23545Solution: Specify a more precise type.
23546Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23547 src/testdir/test_vim9_expr.vim
23548
23549Patch 8.2.3891
23550Problem: Github CI: workflows may overlap.
23551Solution: Cancel previous workflows when starting a new one. (Yegappan
23552 Lakshmanan, closes #9400)
23553Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23554
23555Patch 8.2.3892
23556Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23557Solution: Check for uppercase C as well, fix minimum length.
23558Files: src/ui.c
23559
23560Patch 8.2.3893
23561Problem: Vim9: many local variables are initialized with an instruction.
23562Solution: Initialize local variables to zero to avoid the instructions.
23563Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23564 src/proto/vim9instr.pro, src/vim9cmds.c,
23565 src/testdir/test_vim9_disassemble.vim
23566
23567Patch 8.2.3894
23568Problem: Vim9: no proper type check for first argument of call().
23569Solution: Add specific type check.
23570Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23571 src/errors.h, src/testdir/test_vim9_builtin.vim
23572
23573Patch 8.2.3895
23574Problem: Vim9: confusing error when using function() with a number.
23575Solution: Check for a function or string argument.
23576Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23577
23578Patch 8.2.3896
23579Problem: Vim9: no test for nested function not available later.
23580Solution: Add a test.
23581Files: src/testdir/test_vim9_func.vim
23582
23583Patch 8.2.3897
23584Problem: Vim9: the second argument of map() and filter() is not checked at
23585 compile time.
23586Solution: Add more specific type check for the second argument.
23587Files: src/evalfunc.c, src/globals.h, src/list.c,
23588 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23589 src/testdir/test_vim9_script.vim
23590
23591Patch 8.2.3898
23592Problem: Vim9: not sufficient testing for variable initialization.
23593Solution: Add another test case.
23594Files: src/testdir/test_vim9_disassemble.vim
23595
23596Patch 8.2.3899 (after 8.2.3897)
23597Problem: Vim9: test for map() on string fails.
23598Solution: Expect string return type.
23599Files: src/evalfunc.c
23600
23601Patch 8.2.3900
23602Problem: It is not easy to use a script-local function for an option.
23603Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23604 Lakshmanan, closes #9401)
23605Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23606 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23607 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23608 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23609 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23610 src/testdir/test_normal.vim
23611
23612Patch 8.2.3901
23613Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23614Solution: Do not restore 'cpo' at the end of the main .vimrc.
23615Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23616 src/structs.h, src/testdir/test_vim9_script.vim
23617
23618Patch 8.2.3902
23619Problem: Vim9: double free with nested :def function.
23620Solution: Pass "line_to_free" from compile_def_function() and make sure
23621 cmdlinep is valid.
23622Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23623 src/vim9execute.c, src/testdir/test_vim9_func.vim
23624
23625Patch 8.2.3903
23626Problem: "gM" does not count tabs as expected.
23627Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23628Files: src/normal.c, src/testdir/test_normal.vim
23629
23630Patch 8.2.3904
23631Problem: Vim9: skip expression type is not checked at compile time.
23632Solution: Add argument type checks.
23633Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23634
23635Patch 8.2.3905
23636Problem: Dockerfile using prefix name not recognized.
23637Solution: Recognize Dockerfile.*. (closes #9410)
23638Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23639
23640Patch 8.2.3906
23641Problem: Vim9 help still contains "under development" warnings.
23642Solution: Remove the explicit warning.
23643Files: runtime/doc/vim9.txt
23644
23645Patch 8.2.3907
23646Problem: Error messages are spread out.
23647Solution: Move error messages to errors.h. Avoid duplicates.
23648Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23649 src/testdir/test_user_func.vim
23650
23651Patch 8.2.3908
23652Problem: Cannot use a script-local function for 'foldtext'.
23653Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23654Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23655 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23656 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23657 src/testdir/test_listdict.vim
23658
23659Patch 8.2.3909
23660Problem: Containerfile using prefix name not recognized.
23661Solution: Recognize Containerfile.*.
23662Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23663
23664Patch 8.2.3910
23665Problem: When the compare function of sort() produces and error then sort()
23666 does not abort.
23667Solution: Check if did_emsg was incremented.
23668Files: src/list.c, src/testdir/test_vim9_builtin.vim
23669
23670Patch 8.2.3911
23671Problem: Vim9: type check for filter() does not accept unknown.
23672Solution: Also accept unknown for the return type. (closes #9413)
23673Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23674
23675Patch 8.2.3912
23676Problem: The ins_complete() function is much too long.
23677Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23678 closes #9414)
23679Files: src/insexpand.c
23680
23681Patch 8.2.3913
23682Problem: Help for expressions does not mention Vim9 syntax.
23683Solution: Add the rules for Vim9 to the expression help. Rename functions
23684 to match the help.
23685Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23686
23687Patch 8.2.3914
23688Problem: Various spelling mistakes in comments.
23689Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23690Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23691 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23692 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23693 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23694 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23695 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23696 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23697 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23698 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23699 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23700 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23701 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23702 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23703 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23704 src/winclip.c, src/window.c
23705
23706Patch 8.2.3915
23707Problem: illegal memory access when completing with invalid bytes.
23708Solution: Avoid going over the end of the completion text.
23709Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23710
23711Patch 8.2.3916
23712Problem: No error for passing an invalid line number to append().
23713Solution: In Vim9 script check for a non-negative number. (closes #9417)
23714Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
23715 src/eval.c, src/testdir/test_vim9_builtin.vim
23716
23717Patch 8.2.3917
23718Problem: The eval.txt help file is way too big.
23719Solution: Move the builtin function details to a separate file.
23720Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
23721 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
23722
23723Patch 8.2.3918 (after 8.2.3916)
23724Problem: Function list test fails.
23725Solution: Adjust the test for the new location of the function list.
23726Files: src/testdir/test_function_lists.vim
23727
23728Patch 8.2.3919
23729Problem: Vim9: wrong argument for append() results in two errors.
23730Solution: Check did_emsg. Also for setline(). Adjust the help for
23731 appendbufline().
23732Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
23733 src/testdir/test_vim9_builtin.vim
23734
23735Patch 8.2.3920
23736Problem: Restoring directory after using another window is inefficient.
23737Solution: Only restore the directory for win_execute(). Apply 'autochdir'
23738 only when needed.
23739Files: src/evalwindow.c, src/testdir/test_autochdir.vim
23740
23741Patch 8.2.3921
23742Problem: The way xdiff is used is inefficient.
23743Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
23744 closes #9344)
23745Files: src/diff.c
23746
23747Patch 8.2.3922
23748Problem: Cannot build with dynamic Ruby 3.1.
23749Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
23750 Kiichi, closes #9420)
23751Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
23752 ci/config.mk.sed, src/Makefile, src/auto/configure,
23753 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
23754
23755Patch 8.2.3923
23756Problem: Vim9: double free if a nested function has a line break in the
23757 argument list.
23758Solution: Set cmdlinep when freeing the previous line.
23759Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23760
23761Patch 8.2.3924
23762Problem: Vim9: no error if something follows :enddef in a nested function.
23763Solution: Give an error. Move common code to a function.
23764Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
23765 src/testdir/test_vim9_func.vim
23766
23767Patch 8.2.3925
23768Problem: Diff mode confused by NUL bytes.
23769Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
23770 closes #9418)
23771Files: src/diff.c, src/testdir/test_diffmode.vim,
23772 src/testdir/dumps/Test_diff_bin_01.dump,
23773 src/testdir/dumps/Test_diff_bin_02.dump,
23774 src/testdir/dumps/Test_diff_bin_03.dump,
23775 src/testdir/dumps/Test_diff_bin_04.dump
23776
23777Patch 8.2.3926 (after 8.2.3920)
23778Problem: Build failure without the 'autochdir' option. (John Marriott)
23779Solution: Add #ifdefs.
23780Files: src/evalwindow.c
23781
23782Patch 8.2.3927
23783Problem: Vim9: double free when using lambda.
23784Solution: Don't free both cmdline and line_to_free.
23785Files: src/userfunc.c
23786
23787Patch 8.2.3928
23788Problem: Heredoc test fails.
23789Solution: Correct order of function arguments.
23790Files: src/userfunc.c
23791
23792Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023793Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023794Solution: Set the option flags to zero for a terminal option.
23795Files: src/option.c
23796
23797Patch 8.2.3930
23798Problem: getcmdline() argument has a misleading type.
23799Solution: Use the correct type, even though the value is not used.
23800Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
23801 src/normal.c, src/register.c, src/userfunc.c
23802
23803Patch 8.2.3931
23804Problem: Coverity reports a memory leak.
23805Solution: Free memory in case of failure.
23806Files: src/diff.c
23807
23808Patch 8.2.3932
23809Problem: C line comment not formatted properly.
23810Solution: If a line comment follows after "#if" the next line is not the end
23811 of a paragraph.
23812Files: src/textformat.c, src/testdir/test_textformat.vim
23813
23814Patch 8.2.3933
23815Problem: After ":cd" fails ":cd -" is incorrect.
23816Solution: Set the previous directory only after successfully changing
23817 directory. (Richard Doty, closes #9419, closes #8983)
23818Files: src/ex_docmd.c, src/testdir/test_cd.vim
23819
23820Patch 8.2.3934
23821Problem: Repeating line comment is undesired for "O" command.
23822Solution: Do not copy line comment leader for "O". (closes #9426)
23823Files: src/change.c, src/testdir/test_textformat.vim
23824
23825Patch 8.2.3935
23826Problem: CTRL-U in Insert mode does not fix the indent.
23827Solution: Fix the indent when 'cindent' is set.
23828Files: src/edit.c, src/testdir/test_textformat.vim
23829
23830Patch 8.2.3936
23831Problem: No proper test for maintaining change mark in diff mode.
23832Solution: Run the test with internal and external diff. (Sean Dewar,
23833 closes #9424)
23834Files: src/testdir/test_diffmode.vim
23835
23836Patch 8.2.3937
23837Problem: Insert mode completion function is too long.
23838Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
23839 closes #9423)
23840Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23841
23842Patch 8.2.3938
23843Problem: Line comment start is also found in a string.
23844Solution: Skip line comments in a string.
23845Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
23846 src/testdir/test_textformat.vim
23847
23848Patch 8.2.3939
23849Problem: MS-Windows: fnamemodify('', ':p') does not work.
23850Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
23851 closes #9428, closes #9427)
23852Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
23853
23854Patch 8.2.3940
23855Problem: Match highlight disappears when doing incsearch for ":s/pat".
23856Solution: Only use line limit for incsearch highlighting. (closes #9425)
23857Files: src/match.c, src/testdir/test_match.vim,
23858 src/testdir/dumps/Test_match_with_incsearch_1.dump,
23859 src/testdir/dumps/Test_match_with_incsearch_2.dump
23860
23861Patch 8.2.3941
23862Problem: SIGTSTP is not handled.
23863Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
23864Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
23865 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
23866
23867Patch 8.2.3942
23868Problem: Coverity reports a possible memory leak.
23869Solution: Free the array if allocation fails.
23870Files: src/insexpand.c
23871
23872Patch 8.2.3943
23873Problem: Compiler warning from gcc for uninitialized variable.
23874Solution: Initialize variable. (closes #9429)
23875Files: src/diff.c
23876
23877Patch 8.2.3944
23878Problem: Insert mode completion functions are too long.
23879Solution: Split up into multiple functions. (Yegappan Lakshmanan,
23880 closes #9431)
23881Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23882
23883Patch 8.2.3945
23884Problem: Vim9: partial variable argument types are wrong, leading to a
23885 crash.
23886Solution: When adjusting the argument count also adjust the argument types.
23887 (closes #9433)
23888Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
23889
23890Patch 8.2.3946
23891Problem: When an internal error makes Vim exit the error is not seen.
23892Solution: Add the error to the test output.
23893Files: src/message.c, src/testdir/runtest.vim
23894
23895Patch 8.2.3947
23896Problem: Unnecessary check for NULL pointer.
23897Solution: Remove the check. (closes #9434)
23898Files: src/ex_docmd.c
23899
23900Patch 8.2.3948
23901Problem: Vim9: failure with partial with unknown argument count.
23902Solution: Do not copy argument types if there aren't any.
23903Files: src/vim9type.c
23904
23905Patch 8.2.3949
23906Problem: Using freed memory with /\%V.
23907Solution: Get the line again after getvvcol().
23908Files: src/regexp.c, src/testdir/test_regexp_latin.vim
23909
23910Patch 8.2.3950
23911Problem: Going beyond the end of the line with /\%V.
23912Solution: Check for valid column in getvcol().
23913Files: src/charset.c, src/testdir/test_regexp_latin.vim
23914
23915Patch 8.2.3951
23916Problem: Vim9: memory leak when text after a nested function.
23917Solution: Free the function if text is found after "enddef".
23918Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
23919
23920Patch 8.2.3952
23921Problem: First line not redrawn when adding lines to an empty buffer.
23922Solution: Adjust the argument to appended_lines(). (closes #9439,
23923 closes #9438)
23924Files: src/ex_cmds.c, src/testdir/test_excmd.vim
23925
23926Patch 8.2.3953
23927Problem: Insert completion code is too complicated.
23928Solution: More refactoring. Move function arguments into a struct.
23929 (Yegappan Lakshmanan, closes #9437)
23930Files: src/insexpand.c
23931
23932Patch 8.2.3954
23933Problem: Vim9: no error for shadowing if script var is declared later.
23934Solution: Check argument names when compiling a function.
23935Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23936 src/testdir/test_vim9_assign.vim
23937
23938Patch 8.2.3955
23939Problem: Error messages are spread out.
23940Solution: Move more errors to errors.h.
23941Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
23942 src/help.c, src/sign.c, src/spellfile.c
23943
23944Patch 8.2.3956
23945Problem: Duplicate assignment.
23946Solution: Remove the second assignment. (closes #9442)
23947Files: src/evalfunc.c
23948
23949Patch 8.2.3957
23950Problem: Error messages are spread out.
23951Solution: Move more errors to errors.h.
23952Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
23953 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c src/ex_eval.c,
23954 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
23955 src/vim9cmds.c, src/vim9compile.c
23956
23957Patch 8.2.3958
23958Problem: Build failure compiling xxd with "-std=c2x".
23959Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
23960Files: src/xxd/xxd.c
23961
23962Patch 8.2.3959
23963Problem: Error messages are spread out.
23964Solution: Move more errors to errors.h.
23965Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
23966 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
23967 src/getchar.c, src/gui.c, src/locale.c, src/map.c
23968
23969Patch 8.2.3960
23970Problem: Error messages are spread out.
23971Solution: Move more errors to errors.h.
23972Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
23973 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
23974
23975Patch 8.2.3961
23976Problem: Error messages are spread out.
23977Solution: Move more errors to errors.h.
23978Files: src/errors.h, src/globals.h src/arglist.c, src/autocmd.c,
23979 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
23980 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
23981 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
23982 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
23983 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
23984 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
23985 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
23986 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
23987 src/message.c, src/misc2.c, src/ops.c, src/option.c,
23988 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
23989 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
23990 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
23991 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
23992 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
23993
23994Patch 8.2.3962 (after 8.2.3961)
23995Problem: Build fails for missing error message.
23996Solution: Add changes in missed file.
23997Files: src/regexp_bt.c
23998
23999Patch 8.2.3963
24000Problem: Build failure with tiny and small features. (Tony Mechelynck)
24001Solution: Adjust #ifdefs.
24002Files: src/errors.h, src/message.c
24003
24004Patch 8.2.3964
24005Problem: Some common lisp and scheme files not recognized.
24006Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24007 closes #9447)
24008Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24009
24010Patch 8.2.3965
24011Problem: Vim9: no easy way to check if Vim9 script is supported.
24012Solution: Add has('vim9script').
24013Files: runtime/doc/vim9.txt, src/evalfunc.c,
24014 src/testdir/test_vim9_script.vim
24015
24016Patch 8.2.3966
24017Problem: When using feedkeys() abbreviations may be blocked.
24018Solution: Reset tb_no_abbr_cnt when running out of characters.
24019 (closes #9448)
24020Files: src/getchar.c, src/testdir/test_feedkeys.vim
24021
24022Patch 8.2.3967
24023Problem: Error messages are spread out.
24024Solution: Move more errors to errors.h.
24025Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24026 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24027 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24028 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24029 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24030 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24031 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24032 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24033 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24034 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24035 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24036 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24037 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24038 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24039 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24040 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24041 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24042 src/vim9script.c
24043
24044Patch 8.2.3968
24045Problem: Build failure.
24046Solution: Add missing changes.
24047Files: src/strings.c, src/vim9compile.c
24048
24049Patch 8.2.3969
24050Problem: Value of MAXCOL not available in Vim script.
24051Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24052Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24053 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24054 src/testdir/test_put.vim, src/vim.h
24055
24056Patch 8.2.3970
24057Problem: Error messages are spread out.
24058Solution: Move more errors to errors.h.
24059Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24060 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24061 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24062 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24063 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24064 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24065 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24066 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24067 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24068 src/vim9execute.c, src/vim9expr.c, src/window.c
24069
24070Patch 8.2.3971
24071Problem: Build fails.
24072Solution: Use the right error message name.
24073Files: src/typval.c
24074
24075Patch 8.2.3972
24076Problem: Error messages are spread out.
24077Solution: Move the last errors from globals.h to errors.h.
24078Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24079 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24080 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24081 src/vim9cmds.c, src/vim9expr.c
24082
24083Patch 8.2.3973
24084Problem: Tiny build fails.
24085Solution: Adjust #ifdefs
24086Files: src/errors.h
24087
24088Patch 8.2.3974
24089Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24090Solution: Check whether the list is locked. (closes #9452)
24091Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24092
24093Patch 8.2.3975
24094Problem: Error messages are spread out.
24095Solution: Move more error messages to errors.h.
24096Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24097 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24098 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24099 src/window.c
24100
24101Patch 8.2.3976
24102Problem: FEARG_LAST is never used. (Dominique Pellé)
24103Solution: Remove FEARG_LAST and the related code.
24104Files: src/evalfunc.c
24105
24106Patch 8.2.3977
24107Problem: Error messages are spread out.
24108Solution: Move more error messages to errors.h.
24109Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24110 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24111 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24112 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24113 src/terminal.c, src/textprop.c, src/userfunc.c
24114
24115Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024116Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024117Solution: Adjust #ifdef.
24118Files: src/errors.h
24119
24120Patch 8.2.3979
24121Problem: Vim9: the feature is not mentioned in the right places.
24122Solution: Add +vim9script to the help and :version output.
24123Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24124
24125Patch 8.2.3980
24126Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24127 may be changed. (Naohiro Ono)
24128Solution: Save and restore the information for redoing the Visual area.
24129 (closes #9455)
24130Files: src/ops.c, src/testdir/test_normal.vim
24131
24132Patch 8.2.3981
24133Problem: Vim9: debugging a for loop doesn't stop before it starts.
24134Solution: Keep the DEBUG instruction before the expression is evaluated.
24135 (closes #9456)
24136Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24137
24138Patch 8.2.3982
24139Problem: Some lines of code not covered by tests.
24140Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24141Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24142 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24143 src/testdir/test_vim9_builtin.vim
24144
24145Patch 8.2.3983
24146Problem: Error messages are spread out.
24147Solution: Move more error messages to errors.h.
24148Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24149 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24150 src/menu.c, src/normal.c, src/regexp_bt.c
24151
24152Patch 8.2.3984 (after 8.2.3981)
24153Problem: Debugger test fails.
24154Solution: Adjust the test for modified debugging of a for loop.
24155Files: src/testdir/test_debugger.vim
24156
24157Patch 8.2.3985
24158Problem: Error messages are spread out.
24159Solution: Move more error messages to errors.h.
24160Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24161 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24162 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24163 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24164 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24165 src/window.c
24166
24167Patch 8.2.3986
24168Problem: Error messages are spread out.
24169Solution: Move more error messages to errors.h.
24170Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24171 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24172 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24173 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24174 src/userfunc.c
24175
24176Patch 8.2.3987
24177Problem: Error messages are spread out.
24178Solution: Move more error messages to errors.h.
24179Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24180 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24181 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24182 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24183 src/term.c, src/viminfo.c
24184
24185Patch 8.2.3988 (after 8.2.3987)
24186Problem: Tiny build fails.
24187Solution: Fix misplaced #ifdef.
24188Files: src/errors.h
24189
24190Patch 8.2.3989
24191Problem: Some insert completion code is not tested.
24192Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24193 Lakshmanan, closes #9460)
24194Files: src/insexpand.c, src/testdir/test_edit.vim,
24195 src/testdir/test_ins_complete.vim
24196
24197Patch 8.2.3990
24198Problem: Testing wrong operator.
24199Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24200Files: src/testdir/test_normal.vim
24201
24202Patch 8.2.3991
24203Problem: Vim9: error when extending dict<any> with another type that it was
24204 initialized with.
24205Solution: Also set the type for dict<any> if the initializer has a more
24206 specific type. (closes #9461)
24207Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24208 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24209 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24210
24211Patch 8.2.3992
24212Problem: Wrong local-additions in the help with language mix.
24213Solution: Adjust how the local additions list is generated. (Hirohito
24214 Higashi, closes #9464)
24215Files: src/help.c, src/testdir/test_help.vim
24216
24217Patch 8.2.3993
24218Problem: When recording a change in Select mode the first typed character
24219 appears twice.
24220Solution: When putting the character back into typeahead remove it from
24221 recorded characters. (closes #9462)
24222Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24223 src/testdir/test_registers.vim
24224
24225Patch 8.2.3994
24226Problem: Vim9: extend() complains about the type even when it was not
24227 declared.
24228Solution: Only check the list or dict type when it was declared.
24229Files: src/list.c, src/testdir/test_vim9_builtin.vim
24230
24231Patch 8.2.3995
24232Problem: Not all sshconfig files are detected as such.
24233Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24234 closes #9322)
24235Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24236
24237Patch 8.2.3996
24238Problem: Vim9: type checking for list and dict lacks information about
24239 declared type.
24240Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24241 store two types in each entry.
24242Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24243 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24244 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24245 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24246 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24247 src/testdir/test_vim9_builtin.vim
24248
24249Patch 8.2.3997
24250Problem: Vim9: not enough testing for extend() and map().
24251Solution: Add more test cases. Fix uncovered problems. Remove unused type
24252 fields.
24253Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24254 src/testdir/test_vim9_builtin.vim,
24255 src/testdir/test_vim9_disassemble.vim
24256
24257Patch 8.2.3998
24258Problem: Asan error for adding zero to NULL.
24259Solution: Do not compute pointer if there are no entries.
24260Files: src/vim9type.c
24261
24262Patch 8.2.3999
24263Problem: Redundant check for NUL byte.
24264Solution: Remove the check for a NUL byte. (closes #9471)
24265Files: src/ex_docmd.c
24266
24267Patch 8.2.4000
24268Problem: Coverity warns for checking for NULL pointer after using it.
24269Solution: Remove check for NULL.
24270Files: src/help.c
24271
24272Patch 8.2.4001
24273Problem: Insert complete code uses global variables.
24274Solution: Make variables local to the file and use accessor functions.
24275 (Yegappan Lakshmanan, closes #9470)
24276Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24277 src/proto/insexpand.pro, src/search.c
24278
24279Patch 8.2.4002
24280Problem: First char typed in Select mode can be wrong.
24281Solution: Escape special bytes in the input buffer. (closes #9469)
24282Files: src/getchar.c, src/testdir/test_utf8.vim
24283
24284Patch 8.2.4003
24285Problem: Error messages are spread out.
24286Solution: Move more error messages to errors.h.
24287Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24288 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24289 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24290 src/typval.c
24291
24292Patch 8.2.4004
24293Problem: Old compiler complains about struct init with variable.
24294Solution: Set the struct member later. (John Marriott)
24295Files: src/evalfunc.c
24296
24297Patch 8.2.4005
24298Problem: Error messages are spread out.
24299Solution: Move more error messages to errors.h.
24300Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24301 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24302 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24303 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24304 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24305 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24306
24307Patch 8.2.4006
24308Problem: Vim9: crash when declaring variable on the command line.
24309Solution: Use a temporary type list. (closes #9474)
24310Files: src/eval.c, src/testdir/test_vim9_assign.vim
24311
24312Patch 8.2.4007
24313Problem: Session does not restore help buffer properly when "options' is
24314 missing from 'sessionoptions'.
24315Solution: Use a ":help" command to create the help window. (closes #9475,
24316 closes #9458, closes #9472)
24317Files: src/session.c, src/testdir/test_mksession.vim
24318
24319Patch 8.2.4008
24320Problem: Error messages are spread out.
24321Solution: Move more error messages to errors.h.
24322Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24323 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24324 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24325 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24326 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24327 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24328 src/typval.c, src/undo.c, src/userfunc.c
24329
24330Patch 8.2.4009
24331Problem: Reading one byte beyond the end of the line.
24332Solution: Check for NUL byte first.
24333Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24334
24335Patch 8.2.4010
24336Problem: Error messages are spread out.
24337Solution: Move more error messages to errors.h.
24338Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24339 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24340 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24341 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24342 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24343 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24344 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24345 src/userfunc.c, src/window.c
24346
24347Patch 8.2.4011
24348Problem: Test fails because of changed error number.
24349Solution: Restore old duplicate error message.
24350Files: src/errors.h, src/match.c
24351
24352Patch 8.2.4012
24353Problem: Error messages are spread out.
24354Solution: Move the last error messages to errors.h.
24355Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24356 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24357 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24358 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24359 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24360 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24361 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24362 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24363
24364Patch 8.2.4013
24365Problem: Build failure without the spell feature.
24366Solution: Adjust #ifdefs.
24367Files: src/errors.h
24368
24369Patch 8.2.4014
24370Problem: Git and gitcommit file types not properly recognized.
24371Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24372Files: runtime/filetype.vim, runtime/scripts.vim,
24373 src/testdir/test_filetype.vim
24374
24375Patch 8.2.4015
24376Problem: Build failure with tiny features. (Tony Mechelynck)
24377Solution: Adjust #ifdefs.
24378Files: src/errors.h
24379
24380Patch 8.2.4016
24381Problem: Vim9: incorrect error for argument that is shadowing var.
24382Solution: Ignore variable that is not in block where the function was
24383 defined.
24384Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24385
24386Patch 8.2.4017
24387Problem: Gcc warns for misleading indent in Athena menu code.
24388Solution: Add curlies around the two statements. (Dominique Pellé,
24389 closes #9480)
24390Files: src/gui_athena.c
24391
24392Patch 8.2.4018
24393Problem: ml_get error when win_execute redraws with Visual selection.
24394Solution: Disable Visual area temporarily. (closes #9479)
24395Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24396 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24397 src/if_py_both.h, src/evalfunc.c,
24398 src/testdir/test_execute_func.vim
24399
24400Patch 8.2.4019
24401Problem: Vim9: import mechanism is too complicated.
24402Solution: Do not use the Javascript mechanism but a much simpler one.
24403Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24404 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24405 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24406 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24407 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24408
24409Patch 8.2.4020 (after 8.2.4019)
24410Problem: Debugger test fails.
24411Solution: Fix import statement.
24412Files: src/testdir/test_debugger.vim
24413
24414Patch 8.2.4021 (after 8.2.4019)
24415Problem: Missing part of the :import changes.
24416Solution: Add changes in vim9cmds.c.
24417Files: src/vim9cmds.c
24418
24419Patch 8.2.4022
24420Problem: Two error messages in the wrong file.
24421Solution: Use the error message from errors.h.
24422Files: src/popupwin.c, src/usercmd.c
24423
24424Patch 8.2.4023
24425Problem: Using uninitialized variable.
24426Solution: Initialize "ufunc" also when an item is not exported.
24427Files: src/vim9script.c
24428
24429Patch 8.2.4024
24430Problem: Confusing error message if imported name is used directly.
24431Solution: Give a better error message.
24432Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24433 src/testdir/test_vim9_script.vim
24434
24435Patch 8.2.4025
24436Problem: Error for import not ending in .vim does not work for .vimrc.
24437Solution: Check that .vim is the end. (closes #9484)
24438Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24439
24440Patch 8.2.4026
24441Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24442Solution: Check cursor and Visual area are OK.
24443Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24444
24445Patch 8.2.4027
24446Problem: Import test fails on MS-Windows.
24447Solution: Use a different directory name.
24448Files: src/testdir/test_vim9_script.vim
24449
24450Patch 8.2.4028
24451Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24452Solution: Disable Visual mode while executing autocommands.
24453Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24454
24455Patch 8.2.4029
24456Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24457Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24458 is set when used. Fix breakindent and indent caching. (Christian
24459 Brabandt, closes #9482)
24460Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24461
24462Patch 8.2.4030
24463Problem: A script local funcref is not found from a mapping.
24464Solution: When looking for a function, also find a script-local funcref.
24465 (closes #9485)
24466Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24467 src/testdir/test_vim9_script.vim
24468
24469Patch 8.2.4031
24470Problem: Crash in xterm with only two lines. (Dominique Pellé)
24471Solution: Only perform xterm compatibility test if possible. (closes #9488)
24472Files: src/term.c, src/testdir/test_startup.vim
24473
24474Patch 8.2.4032
24475Problem: ATTRIBUTE_NORETURN is not needed.
24476Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24477Files: src/if_ruby.c, src/vim.h
24478
24479Patch 8.2.4033
24480Problem: Running filetype tests leaves directory behind.
24481Solution: Delete the top directory. (closes #9483)
24482Files: src/testdir/test_filetype.vim
24483
24484Patch 8.2.4034
24485Problem: Coverity warns for possibly using a NULL pointer.
24486Solution: Check v_partial is not NULL.
24487Files: src/vim9type.c
24488
24489Patch 8.2.4035
24490Problem: Timer triggered at the debug prompt may cause trouble.
24491Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24492Files: src/time.c
24493
24494Patch 8.2.4036
24495Problem: Vim9: script test file is getting too long.
24496Solution: Split the import/export functionality to a separate file.
24497Files: src/testdir/test_vim9_script.vim src/testdir/test_vim9_import.vim,
24498 src/testdir/Make_all.mak
24499
24500Patch 8.2.4037
24501Problem: Insert mode completion is insufficiently tested.
24502Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24503 closes #9489)
24504Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24505
24506Patch 8.2.4038
24507Problem: Various code not used when features are disabled.
24508Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24509Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24510 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24511 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24512 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24513 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24514 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24515 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24516 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24517 src/vim9type.c
24518
24519Patch 8.2.4039
24520Problem: The xdiff library is linked in even when not used.
24521Solution: Use configure to decide whether xdiff object files are included.
24522Files: src/Makefile, src/config.mk.in, src/configure.ac,
24523 src/auto/configure, src/feature.h
24524
24525Patch 8.2.4040
24526Problem: Keeping track of allocated lines in user functions is too
24527 complicated.
24528Solution: Instead of freeing individual lines keep them all until the end.
24529Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24530 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24531 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24532
24533Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024534Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024535Solution: Store "ht" when variable is in another script.
24536Files: src/evalvars.c
24537
24538Patch 8.2.4042
24539Problem: Vim9: build error.
24540Solution: Use grow array instead of character pointer.
24541Files: src/vim9execute.c
24542
24543Patch 8.2.4043
24544Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024545Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024546Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24547 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24548 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24549 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24550 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24551 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24552 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24553 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24554 src/viminfo.c, src/window.c, src/if_py_both.h
24555
24556Patch 8.2.4044
24557Problem: Vim9: no error when importing the same script twice.
24558Solution: Give an error, unless it is a reload.
24559Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24560
24561Patch 8.2.4045
24562Problem: Some global functions are only used in one file.
24563Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24564Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24565 src/proto/highlight.pro, src/proto/vim9compile.pro,
24566 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24567 src/vim9instr.c, src/window.c
24568
24569Patch 8.2.4046
24570Problem: Some error messages not in the right place.
24571Solution: Adjust the errors file. Fix typo.
24572Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24573
24574Patch 8.2.4047
24575Problem: Depending on the build features error messages are unused.
24576Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24577Files: src/errors.h
24578
24579Patch 8.2.4048
24580Problem: gcc complains about use of "%p" in printf.
24581Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24582Files: src/if_py_both.h
24583
24584Patch 8.2.4049
24585Problem: Vim9: reading before the start of the line with "$" by itself.
24586Solution: Do not subtract one when reporting the error.
24587Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24588
24589Patch 8.2.4050
24590Problem: Vim9: need to prefix every item in an autoload script.
24591Solution: First step in supporting "vim9script autoload" and "import
24592 autoload".
24593Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24594 src/errors.h, src/vim9script.c, src/scriptfile.c,
24595 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24596 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24597 src/vim9expr.c, src/testdir/test_vim9_script.vim
24598
24599Patch 8.2.4051
24600Problem: Compiler complains about possibly uninitialized variable.
24601Solution: Add code to avoid a compiler warning. (John Marriott)
24602Files: src/scriptfile.c
24603
24604Patch 8.2.4052
24605Problem: Not easy to resize a window from a plugin.
24606Solution: Add win_move_separator() and win_move_statusline() functions.
24607 (Daniel Steinberg, closes #9486)
24608Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24609 src/evalwindow.c, src/proto/evalwindow.pro,
24610 src/testdir/test_window_cmd.vim
24611
24612Patch 8.2.4053
24613Problem: Vim9: autoload mechanism doesn't fully work yet.
24614Solution: Define functions and variables with their autoload name, add the
24615 prefix when calling a function, find the variable in the table of
24616 script variables.
24617Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24618 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24619 src/evalvars.c, src/testdir/test_vim9_script.vim
24620
24621Patch 8.2.4054 (after 8.2.4053)
24622Problem: Vim9 script test fails.
24623Solution: Add missing change.
24624Files: src/vim9compile.c
24625
24626Patch 8.2.4055
24627Problem: Vim9: line break in expression causes v:errmsg to be filled.
24628 (Yegappan Lakshmanan)
24629Solution: Do not give an error when skipping over an expression.
24630Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24631
24632Patch 8.2.4056
24633Problem: Vim9: memory leak when exporting function in autoload script.
24634Solution: Free the name if replacing it.
24635Files: src/scriptfile.c
24636
24637Patch 8.2.4057
24638Problem: Vim9: not fully implementing the autoload mechanism.
24639Solution: Allow for exporting a legacy function. Improve test coverage.
24640Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24641 src/testdir/test_vim9_script.vim
24642
24643Patch 8.2.4058
24644Problem: Vim9: import test failure in wrong line.
24645Solution: Adjust line number.
24646Files: src/testdir/test_vim9_import.vim
24647
24648Patch 8.2.4059
24649Problem: Vim9: an expression of a map cannot access script-local items.
24650 (Maxim Kim)
24651Solution: Use the script ID of where the map was defined.
24652Files: src/getchar.c, src/map.c, src/proto/map.pro,
24653 src/testdir/test_vim9_import.vim
24654
24655Patch 8.2.4060
24656Problem: win_execute() is slow on systems where getcwd() or chdir() is
24657 slow. (Rick Howe)
24658Solution: Avoid using getcwd() and chdir() if no local directory is used and
24659 'acd' is not set. (closes #9504)
24660Files: src/evalwindow.c
24661
24662Patch 8.2.4061
24663Problem: Codecov bash script is deprecated.
24664Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24665Files: .github/workflows/ci.yml
24666
24667Patch 8.2.4062
24668Problem: Match highlighting of tab too short.
24669Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24670 closes #9507, closes #9500)
24671Files: src/drawline.c, src/testdir/test_match.vim,
24672 src/testdir/dumps/Test_match_tab_linebreak.dump
24673
24674Patch 8.2.4063
24675Problem: Vim9: exported function in autoload script not found. (Yegappan
24676 Lakshmanan)
24677Solution: Use the autoload prefix to search for the function.
24678Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24679
24680Patch 8.2.4064
24681Problem: Foam files are not detected.
24682Solution: Detect the foam filetype by the path and file contents. (Mohammed
24683 Elwardi Fadeli, closes #9501)
24684Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24685 src/testdir/test_filetype.vim
24686
24687Patch 8.2.4065
24688Problem: Computation overflow with large count for :yank.
24689Solution: Avoid an overflow.
24690Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24691
24692Patch 8.2.4066
24693Problem: Vim9: imported autoload script loaded again.
24694Solution: Do not create a new imported_T every time.
24695Files: src/vim9script.c, src/vim9compile.c,
24696 src/testdir/test_vim9_import.vim
24697
24698Patch 8.2.4067
24699Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24700Solution: Translate the function name. (closes #9510)
24701Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24702
24703Patch 8.2.4068 (after 8.2.4066)
24704Problem: Vim9: import test fails.
24705Solution: Add missing change.
24706Files: src/scriptfile.c
24707
24708Patch 8.2.4069
24709Problem: Vim9: import test fails on MS-Windows.
24710Solution: Ignore case. Adjust test to avoid name that only differs in case.
24711Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
24712
24713Patch 8.2.4070
24714Problem: Using uninitialized memory when reading empty file.
24715Solution: Check for empty file before checking for NL. (Dominique Pellé,
24716 closes #9511)
24717Files: src/filepath.c, src/testdir/test_eval_stuff.vim
24718
24719Patch 8.2.4071
24720Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
24721Solution: Check if any of the blocks inside try/endtry did not end in
24722 return.
24723Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
24724 src/testdir/test_vim9_script.vim
24725
24726Patch 8.2.4072
24727Problem: Vim9: compiling function fails when autoload script is not loaded
24728 yet.
24729Solution: Depend on runtime loading.
24730Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
24731 src/vim9execute.c, src/testdir/test_vim9_import.vim
24732
24733Patch 8.2.4073
24734Problem: Coverity warns for using NULL pointer.
24735Solution: Bail out when running out of memory. Check for running over end of
24736 a string.
24737Files: src/userfunc.c,
24738
24739Patch 8.2.4074
24740Problem: Going over the end of NameBuff.
24741Solution: Check length when appending a space.
24742Files: src/drawscreen.c, src/testdir/test_edit.vim
24743
24744Patch 8.2.4075 (after 8.2.4073)
24745Problem: Test failures.
24746Solution: Change check for NULL pointer.
24747Files: src/userfunc.c
24748
24749Patch 8.2.4076
24750Problem: Memory leak in autoload import.
24751Solution: Do not overwrite the autoload prefix.
24752Files: src/vim9script.c
24753
24754Patch 8.2.4077
24755Problem: Not all Libsensors files are recognized.
24756Solution: Add "sensors.d/*" pattern. (Doug Kearns)
24757Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24758
24759Patch 8.2.4078
24760Problem: Terminal test for current directory not used on FreeBSD.
24761Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
24762 TermWait() inside Run_shell_in_terminal() as a generic solution.
24763Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
24764 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
24765 src/testdir/test_mapping.vim
24766
24767Patch 8.2.4079
24768Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
24769Solution: Adjust #ifdef. (Ken Takata, closes #9517)
24770Files: src/main.c
24771
24772Patch 8.2.4080
24773Problem: Not sufficient test coverage for xxd.
24774Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
24775Files: src/testdir/test_xxd.vim
24776
24777Patch 8.2.4081
24778Problem: CodeQL reports problem in if_cscope causing it to fail.
24779Solution: Use execvp() instead of execl(). Merge the header file into the
24780 source file. (Ozaki Kiichi, closes #9519)
24781Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
24782 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
24783 src/testdir/test_cscope.vim
24784
24785Patch 8.2.4082
24786Problem: Check for autoload file name and prefix fails. (Christian J.
24787 Robinson)
24788Solution: Only lower case the prefix on systems where the file name is not
24789 case sensitive.
24790Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
24791
24792Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024793Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024794 in the same script.
24795Solution: Add a simple test. Fix uncovered problem.
24796Files: src/evalvars.c, src/testdir/test_vim9_import.vim
24797
24798Patch 8.2.4084
24799Problem: Memory leak when looking for autoload prefixed variable.
24800Solution: Free the concatenated string.
24801Files: src/evalvars.c
24802
24803Patch 8.2.4085
24804Problem: Vim9: no test for using import in legacy script.
24805Solution: Add a test.
24806Files: src/testdir/test_vim9_import.vim
24807
24808Patch 8.2.4086
24809Problem: "cctx" argument of find_func_even_dead() is unused.
24810Solution: Remove the argument.
24811Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
24812 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
24813 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
24814 src/vim9type.c
24815
24816Patch 8.2.4087
24817Problem: Cannot test items from an autoload script easily.
24818Solution: Add the "autoload" value for test_override().
24819Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
24820 src/vim9script.c, src/testdir/test_vim9_import.vim
24821
24822Patch 8.2.4088
24823Problem: Xxd cannot output everything in one line.
24824Solution: Make zero columns mean infinite columns. (Erik Auerswald,
24825 closes #9524)
24826Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
24827 src/xxd/xxd.c
24828
24829Patch 8.2.4089 (after 8.2.4078)
24830Problem: Terminal test for current directory fails on FreeBSD.
24831Solution: Skip the test.
24832Files: src/testdir/test_terminal3.vim
24833
24834Patch 8.2.4090
24835Problem: After restoring a session buffer order can be quite different.
24836Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
24837Files: src/session.c, src/testdir/test_mksession.vim
24838
24839Patch 8.2.4091
24840Problem: Virtcol is recomputed for statusline unnecessarily.
24841Solution: Just use "w_virtcol". (closes #9523)
24842Files: src/buffer.c, src/testdir/test_statusline.vim
24843
24844Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024845Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024846Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
24847 closes #9521)
24848Files: .github/workflows/ci.yml
24849
24850Patch 8.2.4093
24851Problem: Cached breakindent values not initialized properly.
24852Solution: Initialize and cache formatlistpat. (Christian Brabandt,
24853 closes #9526, closes #9512)
24854Files: runtime/doc/options.txt, src/indent.c, src/option.c,
24855 src/proto/option.pro, src/testdir/test_breakindent.vim
24856
24857Patch 8.2.4094
24858Problem: 'virtualedit' is window-local but using buffer-local enum.
24859Solution: Use window-local enum. (closes #9529)
24860Files: src/option.h, src/optiondefs.h
24861
24862Patch 8.2.4095
24863Problem: Sed script not recognized by the first line.
24864Solution: Recognize a sed script starting with "#n". (Doug Kearns)
24865Files: runtime/scripts.vim, src/testdir/test_filetype.vim
24866
24867Patch 8.2.4096
24868Problem: Linux CI: unnecessarily installing packages
24869Solution: Only install packages for huge build. (Ozaki Kiichi,
24870 closes #9530)
24871Files: .github/workflows/ci.yml
24872
24873Patch 8.2.4097
24874Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
24875 Glaubitz)
24876Solution: Add type cast. (closes #9527)
24877Files: src/vim9compile.c
24878
24879Patch 8.2.4098
24880Problem: Typing "interrupt" at debug prompt may keep exception around,
24881 causing function calls to fail.
24882Solution: Discard any exception at the toplevel. (closes #9532)
24883Files: src/main.c
24884
24885Patch 8.2.4099
24886Problem: Vim9: cannot use Vim9 syntax in mapping.
24887Solution: Add <ScriptCmd> to use the script context for a command.
24888Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
24889 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
24890 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
24891 src/testdir/test_vim9_import.vim
24892
24893Patch 8.2.4100
24894Problem: Early return when getting the 'formatlistpat' value.
24895Solution: Remove the first line. (Christian Brabandt)
24896Files: src/option.c, src/testdir/test_breakindent.vim
24897
24898Patch 8.2.4101
24899Problem: Warning for unused argument in tiny version.
24900Solution: Add "UNUSED".
24901Files: src/getchar.c
24902
24903Patch 8.2.4102
24904Problem: Vim9: import cannot be used after method.
24905Solution: Recognize an imported function name. (closes #9496)
24906Files: src/eval.c, src/testdir/test_vim9_import.vim
24907
24908Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024909Problem: Vim9: variable declared in for loop not initialized.
24910Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024911Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
24912 src/testdir/test_vim9_assign.vim
24913
24914Patch 8.2.4104
24915Problem: Vim9: lower casing the autoload prefix causes problems.
24916Solution: Always store the prefix with case preserved.
24917Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
24918
24919Patch 8.2.4105
24920Problem: Translation related comment in the wrong place.
24921Solution: Move it back with the text. (Ken Takata, closes #9537)
24922Files: src/errors.h, src/ex_docmd.c
24923
24924Patch 8.2.4106
24925Problem: Going over the end of the w_lines array.
24926Solution: Break out of the loop when "idx" is too big. (issue #9540)
24927Files: src/drawscreen.c
24928
24929Patch 8.2.4107
24930Problem: Script context not restored after using <ScriptCmd>.
24931Solution: Also restore context when not in a script. (closes #9536)
24932 Add the 'c' flag to feedkeys() to be able to test this.
24933Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
24934 src/testdir/test_mapping.vim
24935
24936Patch 8.2.4108
24937Problem: Going over the end of the w_lines array.
24938Solution: Check not going over the end and limit to Rows. (issue #9540)
24939Files: src/drawscreen.c
24940
24941Patch 8.2.4109
24942Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024943Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
24944 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024945Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
24946
24947Patch 8.2.4110
24948Problem: Coverity warns for using NULL pointer.
24949Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
24950Files: src/eval.c
24951
24952Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024953Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024954Solution: Reset last used map pointer when deleting a mapping.
24955Files: src/map.c
24956
24957Patch 8.2.4112
24958Problem: Function not deleted at end of test.
24959Solution: Delete the function.
24960Files: src/testdir/test_diffmode.vim
24961
24962Patch 8.2.4113
24963Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
24964Solution: Correct the typo. (closes #9539)
24965Files: src/vim.h, src/testdir/test_mapping.vim
24966
24967Patch 8.2.4114
24968Problem: Vim9: type checking for a funcref does not work for when it is
24969 used in a method.
24970Solution: Pass the base to where the type is checked.
24971Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
24972 src/testdir/test_vim9_expr.vim
24973
24974Patch 8.2.4115
24975Problem: Cannot use a method with a complex expression.
24976Solution: Evaluate the expression after "->" and use the result.
24977Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
24978
24979Patch 8.2.4116
24980Problem: Vim9: cannot use a method with a complex expression in a :def
24981 function.
24982Solution: Implement compiling the expression.
24983Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24984
24985Patch 8.2.4117
24986Problem: Vim9: wrong white space error after using imported item.
24987Solution: Don't skip over white space. (closes #9544)
24988Files: src/eval.c, src/testdir/test_vim9_import.vim
24989
24990Patch 8.2.4118
24991Problem: Using UNUSED for argument that is used.
24992Solution: Remove UNUSED.
24993Files: src/usercmd.c
24994
24995Patch 8.2.4119
24996Problem: Build failure when disabling the channel feature.
24997Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
24998Files: src/misc2.c
24999
25000Patch 8.2.4120
25001Problem: Block insert goes over the end of the line.
25002Solution: Handle invalid byte better. Fix inserting the wrong text.
25003Files: src/ops.c, src/testdir/test_visual.vim
25004
25005Patch 8.2.4121
25006Problem: Visual test fails on MS-Windows.
25007Solution: Set 'isprint' so that the character used is not printable.
25008Files: src/testdir/test_visual.vim
25009
25010Patch 8.2.4122
25011Problem: ":command Cmd" does not show custom completion argument.
25012Solution: Show the completion argument when using ":verbose".
25013Files: src/usercmd.c, src/testdir/test_usercommands.vim
25014
25015Patch 8.2.4123
25016Problem: Complete function cannot be import.Name.
25017Solution: Dereference the function name if needed. Also: do not see
25018 "import.Name" as a builtin function. (closes #9541)
25019Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25020
25021Patch 8.2.4124
25022Problem: Vim9: method in compiled function may not see script item.
25023Solution: Make sure not to skip to the next line. (closes #9496)
25024Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25025
25026Patch 8.2.4125
25027Problem: Completion tests fail.
25028Solution: Disable error messages while dereferencing the function name.
25029Files: src/eval.c
25030
25031Patch 8.2.4126
25032Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25033 (Dominique Pellé)
25034Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25035Files: src/if_tcl.c
25036
25037Patch 8.2.4127
25038Problem: Build failure without the +eval feature.
25039Solution: Add #ifdef.
25040Files: src/usercmd.c
25041
25042Patch 8.2.4128
25043Problem: Crash when method cannot be found. (Christian J. Robinson)
25044Solution: Don't mix up pointer names.
25045Files: src/eval.c, src/testdir/test_vim9_expr.vim
25046
25047Patch 8.2.4129
25048Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25049Solution: Disable canberra in tiny and small build. (closes #9548)
25050Files: src/configure.ac, src/auto/configure
25051
25052Patch 8.2.4130
25053Problem: MS-Windows: MSVC build may have libraries duplicated.
25054Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25055Files: src/Make_mvc.mak
25056
25057Patch 8.2.4131
25058Problem: Vim9: calling function in autoload import does not work in a :def
25059 function.
25060Solution: When a variable is not found and a PCALL follows use a funcref.
25061 (closes #9550)
25062Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25063
25064Patch 8.2.4132
25065Problem: Vim9: wrong error message when autoload script can't be found.
25066Solution: Correct check for using autoload with wrong name.
25067Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25068
25069Patch 8.2.4133
25070Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025071 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025072Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25073Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25074
25075Patch 8.2.4134
25076Problem: MS-Windows: test for import with absolute path fails.
25077Solution: Handle path starting with slash as an absolute path.
25078Files: src/vim9script.c
25079
25080Patch 8.2.4135
25081Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25082Solution: Mark the unloaded script with "A". (closes #9552)
25083Files: runtime/doc/repeat.txt, src/scriptfile.c,
25084 src/testdir/test_vim9_import.vim
25085
25086Patch 8.2.4136
25087Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25088Solution: Remove the argument. (closes #9555)
25089Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25090 src/errors.h, src/testdir/test_vim9_import.vim
25091
25092Patch 8.2.4137
25093Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025094Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025095 Add some more tests. Improve error message.
25096Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25097 src/testdir/test_vim9_import.vim
25098
25099Patch 8.2.4138
25100Problem: Vim9: no error for return with argument when the function does not
25101 return anything.
25102Solution: Give an error for the invalid argument. (issue #9497)
25103Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25104
25105Patch 8.2.4139
25106Problem: Using freed memory if an expression abbreviation deletes the
25107 abbreviation.
25108Solution: Do not access the pointer after evaluating the expression.
25109Files: src/map.c, src/testdir/test_mapping.vim
25110
25111Patch 8.2.4140
25112Problem: maparg() does not indicate the type of script where it was defined.
25113Solution: Add "scriptversion".
25114Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25115
25116Patch 8.2.4141 (after 8.2.4140)
25117Problem: Vim9 builtin functions test fails.
25118Solution: Add "scriptversion" item to maparg() result.
25119Files: src/testdir/test_vim9_builtin.vim
25120
25121Patch 8.2.4142
25122Problem: Build failure with normal features without persistent undo.
25123Solution: Adjust #ifdef. (closes #9557)
25124Files: src/fileio.c
25125
25126Patch 8.2.4143
25127Problem: MS-Windows: IME support for Win9x is obsolete.
25128Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25129Files: src/gui_w32.c
25130
25131Patch 8.2.4144
25132Problem: Cannot load libsodium dynamically.
25133Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25134Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25135 src/crypt.c, src/memline.c, src/proto/crypt.pro
25136
25137Patch 8.2.4145
25138Problem: Confusing error when using name of import for a function.
25139Solution: Pass a flag to trans_function_name().
25140Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25141 src/testdir/test_vim9_import.vim
25142
25143Patch 8.2.4146
25144Problem: Vim9: shadowed function can be used in compiled function but not
25145 at script level.
25146Solution: Also give an error in a compiled function. (closes #9563)
25147Files: src/vim9expr.c
25148
25149Patch 8.2.4147
25150Problem: E464 does not always include the offending command.
25151Solution: Add another error message with "%s". (closes #9564)
25152Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25153 src/testdir/test_vim9_script.vim
25154
25155Patch 8.2.4148
25156Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25157 context.
25158Solution: Only reset last_used_map if it is the deleted mapping.
25159 (closes #9568)
25160Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25161 src/testdir/test_mapping.vim
25162
25163Patch 8.2.4149
25164Problem: Test override not restored, autocommand left behind.
25165Solution: Correct restoring test override. Delete autocommand afterwards.
25166Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25167
25168Patch 8.2.4150
25169Problem: Coverity warns for using pointer after free.
25170Solution: Swap statements, even though using the pointer is no problem.
25171Files: src/map.c
25172
25173Patch 8.2.4151
25174Problem: Reading beyond the end of a line.
25175Solution: For block insert only use the offset for correcting the length.
25176Files: src/ops.c, src/testdir/test_visual.vim
25177
25178Patch 8.2.4152
25179Problem: Block insert with double wide character fails.
25180Solution: Adjust the expected output.
25181Files: src/testdir/test_utf8.vim
25182
25183Patch 8.2.4153
25184Problem: MS-Windows: Global IME is no longer supported.
25185Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25186Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25187 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25188
25189Patch 8.2.4154
25190Problem: ml_get error when exchanging windows in Visual mode.
25191Solution: Correct end of Visual area when entering another buffer.
25192Files: src/window.c, src/testdir/test_visual.vim
25193
25194Patch 8.2.4155
25195Problem: Translating strftime() argument results in check error.
25196Solution: Add gettext comment.
25197Files: src/time.c
25198
25199Patch 8.2.4156
25200Problem: Fileinfo message overwrites echo'ed message.
25201Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25202 closes #9569)
25203Files: src/message.c, src/testdir/test_messages.vim,
25204 src/testdir/dumps/Test_fileinfo_after_echo.dump
25205
25206Patch 8.2.4157
25207Problem: Terminal test fails because Windows sets the title.
25208Solution: Add the "vterm_title" testing override and use it in the test.
25209 (Ozaki Kiichi, closes #9556)
25210Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25211 src/testing.c, src/testdir/test_terminal.vim
25212
25213Patch 8.2.4158
25214Problem: MS-Windows: memory leak in :browse.
25215Solution: Free stuff before returning. (Ken Takata, closes #9574)
25216Files: src/gui_w32.c
25217
25218Patch 8.2.4159
25219Problem: MS-Windows: _WndProc() is very long.
25220Solution: Move code to separate functions. (Ken Takata, closes #9573)
25221Files: src/gui_w32.c
25222
25223Patch 8.2.4160
25224Problem: Cannot change the register used for Select mode delete.
25225Solution: Make CTRL-R set the register to be used when deleting text for
25226 Select mode. (Shougo Matsushita, closes #9531)
25227Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25228 src/testdir/test_selectmode.vim
25229
25230Patch 8.2.4161
25231Problem: Vim9: warning for missing white space after imported variable.
25232Solution: Do not skip white space. (closes #9567)
25233Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25234
25235Patch 8.2.4162
25236Problem: Vim9: no error for redefining function with export.
25237Solution: Check for existing function with/without prefix. (closes #9577)
25238Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25239
25240Patch 8.2.4163
25241Problem: No error for omitting function name after autoload prefix.
25242Solution: Check for missing function name. (issue #9577)
25243Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25244
25245Patch 8.2.4164 (after 8.2.4162)
25246Problem: Error in legacy code for function shadowing variable.
25247Solution: Only give the error in Vim9 script.
25248Files: src/userfunc.c
25249
25250Patch 8.2.4165
25251Problem: The nv_g_cmd() function is too long.
25252Solution: Move code to separate functions. (Yegappan Lakshmanan,
25253 closes #9576)
25254Files: src/normal.c
25255
25256Patch 8.2.4166
25257Problem: Undo synced when switching buffer in another window.
25258Solution: Do not sync undo when not needed. (closes #9575)
25259Files: src/buffer.c, src/testdir/test_timers.vim
25260
25261Patch 8.2.4167
25262Problem: Vim9: error message for old style import.
25263Solution: Use another error message. Add a test.
25264Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25265
25266Patch 8.2.4168 (after 8.2.4163)
25267Problem: Disallowing empty function name breaks existing plugins.
25268Solution: Allow empty function name in legacy script.
25269Files: src/userfunc.c, src/testdir/test_autoload.vim,
25270 src/testdir/sautest/autoload/foo.vim
25271
25272Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025273Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025274Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25275Files: src/gui_w32.c
25276
25277Patch 8.2.4170
25278Problem: MS-Windows: still using old message API calls.
25279Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25280Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25281
25282Patch 8.2.4171
25283Problem: Cannot invoke option function using autoload import.
25284Solution: Expand the import to an autoload function name. (closes #9578)
25285Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25286 src/option.c, src/testdir/test_vim9_import.vim
25287
25288Patch 8.2.4172
25289Problem: Filetype detection for BASIC is not optimal.
25290Solution: Improve BASIC filetype detection. (Doug Kearns)
25291Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25292 src/testdir/test_filetype.vim
25293
25294Patch 8.2.4173
25295Problem: Cannot use an import in 'foldexpr'.
25296Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25297 Fix that the script context was not set for all buffers.
25298Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25299 src/option.c, src/testdir/test_vim9_import.vim
25300
25301Patch 8.2.4174
25302Problem: Vim9: can use an autoload name in normal script.
25303Solution: Disallow using an autoload name.
25304Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25305
25306Patch 8.2.4175
25307Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25308Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25309Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25310
25311Patch 8.2.4176
25312Problem: Vim9: cannot use imported function with call().
25313Solution: Translate the function name. (closes #9590)
25314Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25315
25316Patch 8.2.4177
25317Problem: Vim9: autoload script not loaded after "vim9script noclear".
25318Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25319Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25320
25321Patch 8.2.4178
25322Problem: Vim9: invalid error for return type of lambda when debugging.
25323Solution: Do not check the return type of a lambda. (closes #9589)
25324Files: src/vim9cmds.c
25325
25326Patch 8.2.4179
25327Problem: 'foldtext' is evaluated in the current script context.
25328Solution: Use the script context where the option was set.
25329Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25330 src/findfile.c, src/testdir/test_vim9_import.vim
25331
25332Patch 8.2.4180
25333Problem: 'balloonexpr' is evaluated in the current script context.
25334Solution: Use the script context where the option was set.
25335Files: src/beval.c, src/option.c, src/proto/option.pro,
25336 src/testdir/test_balloon.vim,
25337 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25338 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25339 src/testdir/dumps/Test_balloon_eval_term_02.dump
25340
25341Patch 8.2.4181
25342Problem: Vim9: cannot use an import in 'diffexpr'.
25343Solution: Set the script context when evaluating 'diffexpr'. Do not require
25344 'diffexpr' to return a bool, it was ignored anyway.
25345Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25346
25347Patch 8.2.4182 (after 8.2.4182)
25348Problem: Memory leak when evaluating 'diffexpr'.
25349Solution: Use free_tv() instead of clear_tv().
25350Files: src/evalvars.c
25351
25352Patch 8.2.4183
25353Problem: Cannot use an import in 'formatexpr'.
25354Solution: Set the script context when evaluating 'formatexpr'.
25355Files: src/textformat.c, src/testdir/test_vim9_import.vim
25356
25357Patch 8.2.4184
25358Problem: Cannot use an import in 'includeexpr'.
25359Solution: Set the script context when evaluating 'includeexpr'
25360Files: src/findfile.c, src/testdir/test_vim9_import.vim
25361
25362Patch 8.2.4185
25363Problem: Cannot use an import in 'indentexpr'.
25364Solution: Set the script context when evaluating 'indentexpr'
25365Files: src/indent.c, src/testdir/test_vim9_import.vim
25366
25367Patch 8.2.4186
25368Problem: Cannot use an import in 'patchexpr'.
25369Solution: Set the script context when evaluating 'patchexpr'. Do not
25370 require 'patchexpr' to return a bool, it was ignored anyway.
25371Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25372
25373Patch 8.2.4187
25374Problem: Gnuplot file not recognized.
25375Solution: Recognize ".gnuplot". (closes #9588)
25376Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25377
25378Patch 8.2.4188
25379Problem: Not all gitconfig files are recognized.
25380Solution: Add a few more patterns. (Tim Pope, closes #9597)
25381Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25382
25383Patch 8.2.4189
25384Problem: MS-Windows: code for "old look" is obsolete.
25385Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25386 closes #9596)
25387Files: src/gui_w32.c
25388
25389Patch 8.2.4190
25390Problem: All conceal tests are skipped without the screendumps feature.
25391Solution: Only skip the tests that use screendumps. (closes #9599)
25392Files: src/testdir/test_conceal.vim
25393
25394Patch 8.2.4191
25395Problem: json5 files are not recognized.
25396Solution: Add a pattern for json5 files. (closes #9601)
25397Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25398
25399Patch 8.2.4192
25400Problem: Cannot use an import in 'printexpr'.
25401Solution: Set the script context when evaluating 'printexpr'.
25402Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25403
25404Patch 8.2.4193
25405Problem: Cannot use an import in 'charconvert'.
25406Solution: Set the script context when evaluating 'charconvert'. Also expand
25407 script-local functions in 'charconvert'.
25408Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25409
25410Patch 8.2.4194
25411Problem: MS-Windows: code for calculating font size is duplicated.
25412Solution: Move the code to a function. (Ken Takata, closes #9603)
25413Files: src/gui_w32.c
25414
25415Patch 8.2.4195
25416Problem: Resizing terminal may cause to behave like CTRL-Z.
25417Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25418 closes #9602, closes #9586)
25419Files: src/os_unix.c
25420
25421Patch 8.2.4196
25422Problem: Various file types not recognized.
25423Solution: Add patterns to recognize more file types (closes #9607)
25424Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25425
25426Patch 8.2.4197
25427Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25428Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25429Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25430
25431Patch 8.2.4198
25432Problem: Vim9: the switch for executing instructions is too long.
25433Solution: Move some code to separate functions.
25434Files: src/vim9execute.c
25435
25436Patch 8.2.4199
25437Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25438Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25439Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25440 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25441 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25442 src/proto/os_win32.pro, src/time.c, src/vim.h
25443
25444Patch 8.2.4200
25445Problem: Some tests do not clean up properly.
25446Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25447Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25448 src/testdir/test_vim9_import.vim
25449
25450Patch 8.2.4201
25451Problem: When using the GUI CTRL-Z does not stop gvim.
25452Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25453 closes #9570)
25454Files: src/os_unix.c
25455
25456Patch 8.2.4202
25457Problem: Vim9: cannot export function that exists globally.
25458Solution: When checking if a function already exists only check for
25459 script-local functions. (closes #9615)
25460Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
25461 src/vim9compile.c, src/vim9instr.c,
25462 src/testdir/test_vim9_import.vim
25463
25464Patch 8.2.4203
25465Problem: Entering a character with CTRL-V may include modifiers.
25466Solution: Reset "mod_mask" when entering a character with digits after
25467 CTRL-V. (closes #9610)
25468Files: src/edit.c, src/testdir/test_edit.vim
25469
25470Patch 8.2.4204
25471Problem: screenpos() has non-zero row for invisible text.
25472Solution: Only add the window row when the text is visible. (closes #9618)
25473Files: src/move.c, src/testdir/test_cursor_func.vim
25474
25475Patch 8.2.4205
25476Problem: The normal_cmd() function is too long.
25477Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25478 closes #9608)
25479Files: src/normal.c
25480
25481Patch 8.2.4206
25482Problem: Condition with many "(" causes a crash.
25483Solution: Limit recursion to 1000.
25484Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25485
25486Patch 8.2.4207 (after 8.2.4206)
25487Problem: Recursion test fails with MSVC.
25488Solution: Use a smaller limit for MSVC.
25489Files: src/eval.c
25490
25491Patch 8.2.4208
25492Problem: Using setbufvar() may change the window title.
25493Solution: Do not redraw when creating the autocommand window. (closes #9613)
25494Files: src/autocmd.c, src/testdir/test_functions.vim
25495
25496Patch 8.2.4209
25497Problem: partial in 'opfunc' cannot use an imported function.
25498Solution: Also expand the function name in a partial. (closes #9614)
25499Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25500
25501Patch 8.2.4210 (after 8.2.4208)
25502Problem: Window title test fails in some configurations.
25503Solution: Only run the test if the title can be obtained.
25504Files: src/testdir/test_functions.vim
25505
25506Patch 8.2.4211 (after 8.2.4208)
25507Problem: Window title test still fails in some configurations.
25508Solution: Use WaitForAssert().
25509Files: src/testdir/test_functions.vim
25510
25511Patch 8.2.4212 (after 8.2.4208)
25512Problem: Window title test still fails in some configurations.
25513Solution: Explicitly set the 'title' option.
25514Files: src/testdir/test_functions.vim
25515
25516Patch 8.2.4213
25517Problem: Too much code for supporting old MSVC versions.
25518Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25519Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25520 src/msvcsetup.bat, src/os_win32.c
25521
25522Patch 8.2.4214
25523Problem: Illegal memory access with large 'tabstop' in Ex mode.
25524Solution: Allocate enough memory.
25525Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25526
25527Patch 8.2.4215
25528Problem: Illegal memory access when copying lines in Visual mode.
25529Solution: Adjust the Visual position after copying lines.
25530Files: src/ex_cmds.c, src/testdir/test_visual.vim
25531
25532Patch 8.2.4216
25533Problem: Vim9: cannot use a function from an autoload import directly.
25534Solution: Add the AUTOLOAD instruction to figure out at runtime.
25535 (closes #9620)
25536Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25537 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25538 src/testdir/test_vim9_disassemble.vim
25539
25540Patch 8.2.4217
25541Problem: Illegal memory access when undo makes Visual area invalid.
25542Solution: Correct the Visual area after undo.
25543Files: src/undo.c, src/testdir/test_visual.vim
25544
25545Patch 8.2.4218
25546Problem: Illegal memory access with bracketed paste in Ex mode.
25547Solution: Reserve space for the trailing NUL.
25548Files: src/edit.c, src/testdir/test_paste.vim
25549
25550Patch 8.2.4219
25551Problem: Reading before the start of the line.
25552Solution: Check boundary before trying to read the character.
25553Files: src/register.c, src/testdir/test_visual.vim
25554
25555Patch 8.2.4220
25556Problem: MS-Windows: some old compiler support remains.
25557Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25558Files: src/Make_mvc.mak, src/vim.h
25559
25560Patch 8.2.4221
25561Problem: Some functions in normal.c are very long.
25562Solution: Move code to separate functions. (Yegappan Lakshmanan,
25563 closes #9628)
25564Files: src/normal.c
25565
25566Patch 8.2.4222
25567Problem: MS-Windows: clumsy way to suppress progress on CI.
25568Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25569Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25570
25571Patch 8.2.4223
25572Problem: Long/int compiler warnings; function arguments swapped.
25573Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25574Files: src/alloc.c, src/eval.c, src/vim9script.c
25575
25576Patch 8.2.4224
25577Problem: Vim9: no error when using a number for map() second argument
25578Solution: Disallow number to string conversion. (closes #9630)
25579Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25580
25581Patch 8.2.4225
25582Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25583Solution: Parse the optional depth argument. (closes #9629)
25584 Fix that locking doesn't work for a non-materialize list.
25585Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25586 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25587 src/testdir/test_vim9_disassemble.vim
25588
25589Patch 8.2.4226 (after 8.2.4224)
25590Problem: Filter-map test fails.
25591Solution: Only reject number argument in Vim9 script.
25592Files: src/eval.c
25593
25594Patch 8.2.4227
25595Problem: Vim9: using "lockvar!" in :def function does not work.
25596Solution: Add "!" instead of "-1". (closes #9634)
25597Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25598
25599Patch 8.2.4228
25600Problem: No tests for clicking in the GUI tabline.
25601Solution: Add test functions to generate the events. Add tests using the
25602 functions. (Yegappan Lakshmanan, closes #9638)
25603Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25604 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25605 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25606 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25607 src/testing.c
25608
25609Patch 8.2.4229
25610Problem: Possible crash when invoking timer callback fails.
25611Solution: Initialize the typval. Give an error for an empty callback.
25612 (closes #9636)
25613Files: src/time.c, src/testdir/test_vim9_builtin.vim
25614
25615Patch 8.2.4230
25616Problem: MS-Windows: set_guifontwide() is included but won't work.
25617Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25618Files: src/gui.c
25619
25620Patch 8.2.4231
25621Problem: Vim9: map() gives type error when type was not declared.
25622Solution: Only check the type when it was declared, like extend() does.
25623 (closes #9635)
25624Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25625 src/testdir/test_vim9_builtin.vim,
25626 src/testdir/test_vim9_assign.vim
25627
25628Patch 8.2.4232 (after 8.2.4231)
25629Problem: Some compilers don't like a goto label without statement.
25630Solution: Return instead of using a goto.
25631Files: src/list.c
25632
25633Patch 8.2.4233
25634Problem: Crash when recording and using Select mode.
25635Solution: When deleting the last recorded character check there is something
25636 to delete.
25637Files: src/getchar.c, src/testdir/test_registers.vim
25638
25639Patch 8.2.4234
25640Problem: test_garbagecollect_now() does not check v:testing as documented.
25641Solution: Give an error if v:testing is not set.
25642Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25643
25644Patch 8.2.4235
25645Problem: Invalid check for NULL pointer.
25646Solution: Remove the check.
25647Files: src/getchar.c
25648
25649Patch 8.2.4236
25650Problem: Accessing freed memory.
25651Solution: Set the bh_curr pointer to NULL.
25652Files: src/getchar.c
25653
25654Patch 8.2.4237
25655Problem: Record buffer wrong if character in Select mode was not typed.
25656Solution: Only delete the tail from the record buffer if the character was
25657 typed. (closes #9650)
25658Files: src/normal.c, src/testdir/test_registers.vim
25659
25660Patch 8.2.4238
25661Problem: *.tf file could be fileytpe "tf" or "terraform".
25662Solution: Detect the type from the file contents. (closes #9642)
25663Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25664 src/testdir/test_filetype.vim
25665
25666Patch 8.2.4239
25667Problem: Build fails with unusual configuration.
25668Solution: Adjust #ifdef. (closes #9651)
25669Files: src/testing.c
25670
25671Patch 8.2.4240
25672Problem: Error for using flatten() in Vim9 script is unclear.
25673Solution: Add a remark to use flattennew().
25674Files: src/errors.h
25675
25676Patch 8.2.4241
25677Problem: Some type casts are redundant.
25678Solution: Remove the type casts. (closes #9643)
25679Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25680 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25681 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25682 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25683 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25684 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25685 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25686 src/undo.c, src/window.c
25687
25688Patch 8.2.4242
25689Problem: Put in Visual mode cannot be repeated.
25690Solution: Use "P" to put without yanking the deleted text into the unnamed
25691 register. (Shougo Matsushita, closes #9591)
25692Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25693 src/testdir/test_visual.vim
25694
25695Patch 8.2.4243
25696Problem: Lua tests fail with Lua 5.4.4.
25697Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
25698Files: src/testdir/test_lua.vim
25699
25700Patch 8.2.4244
25701Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025702Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025703 uppercase for consistency. (Ken Takata, closes #9647)
25704Files: src/Make_mvc.mak
25705
25706Patch 8.2.4245
25707Problem: ":retab 0" may cause illegal memory access.
25708Solution: Limit the value of 'tabstop' to 10000.
25709Files: src/option.c, src/vim.h, src/indent.c,
25710 src/testdir/test_options.vim
25711
25712Patch 8.2.4246
25713Problem: One error message not in errors.h. (Antonio Colombo)
25714Solution: Move the message and rename.
25715Files: src/errors.h, src/if_perl.xs
25716
25717Patch 8.2.4247
25718Problem: Stack corruption when looking for spell suggestions.
25719Solution: Prevent the depth increased too much. Add a five second time
25720 limit to finding suggestions.
25721Files: src/spellsuggest.c, src/testdir/test_spell.vim
25722
25723Patch 8.2.4248
25724Problem: No proper test for moving the window separator.
25725Solution: Add a test. Add comment in code. (closes #9656)
25726Files: src/window.c, src/testdir/test_window_cmd.vim
25727
25728Patch 8.2.4249
25729Problem: The timeout limit for spell suggestions is always 5000 milli
25730 seconds.
25731Solution: Add the "timeout" entry to 'spellsuggest'.
25732Files: runtime/doc/options.txt, src/spellsuggest.c,
25733 src/testdir/test_spell.vim
25734
25735Patch 8.2.4250
25736Problem: Channel out callback test is flaky on Mac.
25737Solution: Assign high priority to the test process. (Ozaki Kiichi,
25738 closes #9653)
25739Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
25740
25741Patch 8.2.4251
25742Problem: Vala files are not recognized.
25743Solution: Add the *.vala pattern. (closes #9654)
25744Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25745
25746Patch 8.2.4252
25747Problem: Generating the normal command table at runtime is inefficient.
25748Solution: Generate the table with a Vim script and put it in a header file.
25749 (Yegappan Lakshmanan, closes #9648)
25750Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
25751 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
25752 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
25753 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
25754
25755Patch 8.2.4253
25756Problem: Using freed memory when substitute uses a recursive function call.
25757Solution: Make a copy of the substitute text.
25758Files: src/ex_cmds.c, src/testdir/test_substitute.vim
25759
25760Patch 8.2.4254
25761Problem: Using short instead of int.
25762Solution: Use int. (closes #9658)
25763Files: src/if_cscope.c
25764
25765Patch 8.2.4255
25766Problem: Theoretical computation overflow.
25767Solution: Perform multiplication in a wider type. (closes #9657)
25768Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
25769 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
25770 src/memline.c, src/popupwin.c
25771
25772Patch 8.2.4256
25773Problem: MS-Windows: compiler warnings when compiled with /W4.
25774Solution: Small adjustments to the code. (Ken Takata, closes #9659)
25775Files: src/gui_w32.c, src/os_win32.c
25776
25777Patch 8.2.4257
25778Problem: Vim9: finding global function without g: prefix but not finding
25779 global variable is inconsistent.
25780Solution: Require using g: for a global function. Change the vim9.vim
25781 script into a Vim9 script with exports. Fix that import in legacy
25782 script does not work.
25783Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
25784 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
25785 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25786 src/testdir/test_vim9_disassemble.vim,
25787 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25788 src/testdir/test_vim9_import.vim,
25789 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
25790 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
25791 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
25792 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
25793 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
25794 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
25795 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
25796 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
25797 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
25798 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
25799 src/testdir/test_usercommands.vim
25800
25801Patch 8.2.4258
25802Problem: Coverity warns for array overrun.
25803Solution: Restrict depth to MAXWLEN - 1.
25804Files: src/spellsuggest.c
25805
25806Patch 8.2.4259
25807Problem: Number of test functions for GUI events is growing.
25808Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
25809 closes #9660)
25810Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25811 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
25812 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
25813 src/testing.c
25814
25815Patch 8.2.4260
25816Problem: Vim9: can still use a global function without g: at the script
25817 level.
25818Solution: Also check for g: at the script level. (issue #9637)
25819Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
25820 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
25821 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25822 src/testdir/test_vim9_disassemble.vim,
25823 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25824 src/testdir/test_vim9_import.vim,
25825 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
25826 src/testdir/dumps/Test_popupwin_scroll_11.dump,
25827 src/testdir/dumps/Test_popupwin_scroll_12.dump
25828
25829Patch 8.2.4261
25830Problem: Accessing invalid memory when a regular expression checks the
25831 Visual area while matching in a string.
25832Solution: Do not try matching the Visual area in a string.
25833Files: src/regexp.c, src/testdir/test_help.vim
25834
25835Patch 8.2.4262 (after 8.2.4261)
25836Problem: Some search tests fail.
25837Solution: Use a better way to reject searching for the Visual area.
25838Files: src/regexp.c
25839
25840Patch 8.2.4263
25841Problem: No test for the GUI find/replace dialog.
25842Solution: Add a test function and a test. (Yegappan Lakshmanan,
25843 closes #9662)
25844Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
25845
25846Patch 8.2.4264
25847Problem: Vim9: can use old style autoload function name.
25848Solution: Give an error for old style autoload function name.
25849Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
25850 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
25851
25852Patch 8.2.4265 (after 8.2.4264)
25853Problem: Autoload tests fails.
25854Solution: Use export instead of name with #.
25855Files: src/testdir/sautest/autoload/auto9.vim,
25856 src/testdir/test_autoload.vim src/testdir/test_ins_complete.vim
25857
25858Patch 8.2.4266
25859Problem: Compiler warning for uninitialized variable.
25860Solution: Initialize saved_did_emsg.
25861Files: src/userfunc.c
25862
25863Patch 8.2.4267
25864Problem: Unused entry in keymap enum.
25865Solution: Remove the entry.
25866Files: src/keymap.h
25867
25868Patch 8.2.4268
25869Problem: CI log output is long.
25870Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
25871Files: .github/workflows/ci.yml
25872
25873Patch 8.2.4269
25874Problem: Coverity warns for using a NULL pointer.
25875Solution: Check for "name" to not be NULL.
25876Files: src/userfunc.c
25877
25878Patch 8.2.4270
25879Problem: Generating nv_cmdidxs.h requires building Vim twice.
25880Solution: Move the table into a separate file and use a separate executable
25881 to extract the command characters. (Ozaki Kiichi, closes #9669)
25882Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
25883 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25884 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
25885 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
25886
25887Patch 8.2.4271
25888Problem: MS-Windows: cannot build with Ruby 3.1.0.
25889Solution: Adjust the DLL name and include directory. (Ken Takata,
25890 closes #9666)
25891Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
25892
25893Patch 8.2.4272
25894Problem: Vim9 expr test fails without the channel feature. (Dominique
25895 Pellé)
25896Solution: Remove "g:" before "CheckFeature". (closes #9671)
25897Files: src/testdir/test_vim9_expr.vim
25898
25899Patch 8.2.4273
25900Problem: The EBCDIC support is outdated.
25901Solution: Remove the EBCDIC support.
25902Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
25903 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
25904 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
25905 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
25906 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
25907 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
25908 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
25909 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
25910 src/spell.c, src/strings.c, src/structs.h, src/term.c,
25911 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
25912 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
25913 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
25914
25915Patch 8.2.4274
25916Problem: Basic and form filetype detection is incomplete.
25917Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
25918Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25919 src/testdir/test_filetype.vim
25920
25921Patch 8.2.4275
25922Problem: Cannot use an autoload function from a package under start.
25923Solution: Also look in the "start" package directory. (Bjorn Linse,
25924 closes #7193)
25925Files: src/scriptfile.c, src/testdir/test_packadd.vim
25926
25927Patch 8.2.4276
25928Problem: Separate test function for the GUI scrollbar.
25929Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
25930Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25931 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
25932 src/proto/testing.pro, src/testdir/test_gui.vim,
25933 src/testdir/test_vim9_builtin.vim
25934
25935Patch 8.2.4277
25936Problem: Vim9: an import does not shadow a command modifier.
25937Solution: Do not accept a command modifier followed by a dot.
25938Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
25939
25940Patch 8.2.4278
25941Problem: Build with Athena GUI fails. (Elimar Riesebieter)
25942Solution: Add #ifdef.
25943Files: src/testing.c
25944
25945Patch 8.2.4279
25946Problem: Vim9: cannot change item type with map() after range().
25947Solution: Split the return type in current type and declared type.
25948 (closes #9665)
25949Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
25950 src/vim9type.c, src/proto/vim9type.pro,
25951 src/testdir/test_vim9_builtin.vim
25952
25953Patch 8.2.4280 (after 8.2.4279)
25954Problem: list-dict test crashes.
25955Solution: Check declared type for add().
25956Files: src/vim9expr.vim
25957
25958Patch 8.2.4281
25959Problem: Using freed memory with :lopen and :bwipe.
25960Solution: Do not use a wiped out buffer.
25961Files: src/buffer.c, src/testdir/test_quickfix.vim
25962
25963Patch 8.2.4282
25964Problem: Restricted mode requires the -Z command line option.
25965Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
25966 (closes #9681)
25967Files: runtime/doc/starting.txt, src/option.c,
25968 src/testdir/test_restricted.vim
25969
25970Patch 8.2.4283
25971Problem: Using a variable for the return value is not needed.
25972Solution: Return the value directly. (closes #9687)
25973Files: src/ex_docmd.c, src/misc2.c
25974
25975Patch 8.2.4284
25976Problem: Old mac resources files are no longer used.
25977Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
25978Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
25979 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
25980 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
25981
25982Patch 8.2.4285
25983Problem: Vim9: type of item in for loop not checked properly.
25984Solution: Adjust the type checking. (closes #9683)
25985Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
25986 src/testdir/test_vim9_script.vim
25987
25988Patch 8.2.4286
25989Problem: Vim9: strict type checking after copy() and deepcopy().
25990Solution: Allow type to change after making a copy. (closes #9644)
25991Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
25992 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
25993 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
25994 src/testdir/test_vim9_builtin.vim,
25995 src/testdir/test_vim9_assign.vim
25996
25997Patch 8.2.4287
25998Problem: Cannot assign empty list with any list type to variable with
25999 specific list type.
26000Solution: Use unknown list type for empty list if the specified type is any.
26001Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26002 src/testdir/test_vim9_func.vim
26003
26004Patch 8.2.4288
26005Problem: Preprocessor indents are inconsistent.
26006Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26007Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26008 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26009
26010Patch 8.2.4289
26011Problem: Warnings reported by MSVC.
26012Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26013Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26014 src/menu.c, src/os_win32.c, src/version.c
26015
26016Patch 8.2.4290
26017Problem: MS-Windows: using type casts for timer IDs.
26018Solution: Remove type casts and use the right type. (Ken Takata,
26019 closes #9690) Remove old debug comments. Rename variables and
26020 functions.
26021Files: src/gui_w32.c
26022
26023Patch 8.2.4291
26024Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026025Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026026Files: src/errors.h
26027
26028Patch 8.2.4292 (after 8.2.4291)
26029Problem: Test fails.
26030Solution: Adjust the expected error number.
26031Files: src/testdir/test_vim9_cmd.vim
26032
26033Patch 8.2.4293
26034Problem: Vim9: when copying a list it gets type list<any> even when the
26035 original list did not have a type.
26036Solution: Only set the type when the original list has a type. (closes #9692)
26037Files: src/list.c, src/testdir/test_vim9_expr.vim
26038
26039Patch 8.2.4294
26040Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26041Solution: Simplify the conditions. (Ken Takata, closes #9693)
26042Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26043 src/os_win32.h
26044
26045Patch 8.2.4295
26046Problem: Vim9: concatenating two lists may result in wrong type.
26047Solution: Remove the type instead of using list<any>. (closes #9692)
26048Files: src/list.c, src/testdir/test_vim9_expr.vim
26049
26050Patch 8.2.4296
26051Problem: Vim9: not all code covered by tests.
26052Solution: Add a few more tests for corner cases. Fix hang when single quote
26053 is missing.
26054Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26055 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26056
26057Patch 8.2.4297
26058Problem: Vim9: not all code covered by tests.
26059Solution: Add a couple more tests.
26060Files: src/testdir/test_vim9_script.vim,
26061 src/testdir/test_vim9_disassemble.vim
26062
26063Patch 8.2.4298
26064Problem: Divide by zero with huge tabstop value.
26065Solution: Reject tabstop value that overflows to zero.
26066Files: src/indent.c, src/testdir/test_vartabs.vim
26067
26068Patch 8.2.4299
26069Problem: SafeState autocommand interferes with debugging.
26070Solution: Do not trigger SafeState while debugging. (closes #9697)
26071Files: src/main.c
26072
26073Patch 8.2.4300 (after 8.2.4299)
26074Problem: Cannot build tiny version. (Tony Mechelynck)
26075Solution: Add #ifdef.
26076Files: src/main.c
26077
26078Patch 8.2.4301
26079Problem: Vim9: type error for copy of dict.
26080Solution: Do not use dict<any> but no type. (closes #9696)
26081Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26082
26083Patch 8.2.4302
26084Problem: Vim9: return type of getline() is too strict.
26085Solution: Make the declared type list<any>. Also do this for other
26086 functions returning a list of a specific type.
26087Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26088
26089Patch 8.2.4303
26090Problem: A few messages should not be translated.
26091Solution: Remove _(). (Dominique Pellé, closes #9702)
26092Files: src/syntax.c
26093
26094Patch 8.2.4304
26095Problem: Vim9: slice() makes a copy but doesn't change the type.
26096Solution: Change the declared type like copy(). (closes #9696)
26097Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26098
26099Patch 8.2.4305
26100Problem: Tex filetype detection fails.
26101Solution: Check value to be positive. (closes #9704)
26102Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26103
26104Patch 8.2.4306
26105Problem: No test for fixed perl filetype check.
26106Solution: Add a test. Sort test functions.
26107Files: src/testdir/test_filetype.vim
26108
26109Patch 8.2.4307
26110Problem: A few more messages should not be translated.
26111Solution: Remove _().
26112Files: src/syntax.c
26113
26114Patch 8.2.4308
26115Problem: Vim9: cannot list autoload function.
26116Solution: Don't give an error for using # when listing a function.
26117 (closes #9703)
26118Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26119
26120Patch 8.2.4309
26121Problem: Vim9: crash when using a partial in the wrong context.
26122Solution: Don't use an NULL outer pointer. (closes #9706)
26123Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26124
26125Patch 8.2.4310
26126Problem: Vim9: constant list and dict get a declaration type other than
26127 "any".
26128Solution: A constant list and dict have a declared member type "any".
26129 (closes #9701)
26130Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26131 src/testdir/test_vim9_builtin.vim
26132
26133Patch 8.2.4311
26134Problem: Vim9: changing script variable type not caught at compile time.
26135Solution: Set the declared type.
26136Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26137
26138Patch 8.2.4312
26139Problem: No error for using :vim9script in a :def function.
26140Solution: Give an error when compiling.
26141Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26142
26143Patch 8.2.4313
26144Problem: Vim9: cannot change type of list after making a slice.
26145Solution: Adjust the declared member type. (closes #9696)
26146Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26147
26148Patch 8.2.4314 (after 8.2.4312)
26149Problem: Test fails where lines are skipped.
26150Solution: Only give an error when not skipping commands.
26151Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26152
26153Patch 8.2.4315
26154Problem: Put in Visual mode not fully tested.
26155Solution: Add a few more test cases. (closes #9708)
26156Files: src/testdir/test_visual.vim
26157
26158Patch 8.2.4316
26159Problem: __CYGWIN32__ is not defined on 64 bit systems.
26160Solution: Update #ifdefs. (Ken Takata, closes #9709)
26161Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26162
26163Patch 8.2.4317
26164Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26165Solution: Hook into the exit() function to recover from the failure.
26166 (Ken Takata, closes #9710)
26167Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26168 src/errors.h, src/proto/os_win32.pro
26169
26170Patch 8.2.4318
26171Problem: Various comment and indent mistakes, returning wrong zero.
26172Solution: Fix the mistakes. Return NULL instead of FAIL.
26173Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26174 src/window.c
26175
26176Patch 8.2.4319
26177Problem: :put does not work properly in compiled function. (John Beckett)
26178Solution: Adjust the direction when using line zero.
26179Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26180
26181Patch 8.2.4320
26182Problem: Athena and Motif: when maximized scrollbar position is wrong.
26183Solution: Implement the scrollbar padding functions. (closes #9712)
26184Files: src/gui_athena.c, src/gui_motif.c
26185
26186Patch 8.2.4321
26187Problem: Vim9: crash when using a funcref to a closure.
26188Solution: Copy pt_outer to the new partial. (closes #9714)
26189Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26190
26191Patch 8.2.4322
26192Problem: Vim9: crash when using funcref with closure.
26193Solution: Keep a reference to the funcref that has the outer context.
26194 (closes #9716)
26195Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26196 src/testdir/test_vim9_func.vim
26197
26198Patch 8.2.4323
26199Problem: Vim9: nested function name can start with "_".
26200Solution: Use same rule for function name for nested functions.
26201 (closes #9713)
26202Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26203
26204Patch 8.2.4324
26205Problem: Vim9: script-local function name can start with "_".
26206Solution: Check for leading capital after "s:". Correct error message.
26207Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26208 src/testdir/test_vim9_func.vim
26209
26210Patch 8.2.4325
26211Problem: 'wildmenu' only shows few matches.
26212Solution: Add the "pum" option: use a popup menu to show the matches.
26213 (Yegappan Lakshmanan et al., closes #9707)
26214Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26215 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26216 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26217 src/testdir/test_cmdline.vim,
26218 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26219 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26220 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26221 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26222 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26223 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26224 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26225 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26226 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26227 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26228 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26229 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26230 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26231 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26232 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26233 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26234 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26235 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26236 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26237 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26238 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26239 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26240 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26241 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26242 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26243 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26244 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26245 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26246 src/testdir/dumps/Test_wildmenu_pum_29.dump
26247
26248Patch 8.2.4326
26249Problem: "o" and "O" copying comment not sufficiently tested.
26250Solution: Add a test case. (closes #9718)
26251Files: src/testdir/test_textformat.vim
26252
26253Patch 8.2.4327
26254Problem: May end up with no current buffer.
26255Solution: When deleting the current buffer to not pick a quickfix buffer as
26256 the new current buffer.
26257Files: src/buffer.c, src/testdir/test_quickfix.vim
26258
26259Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026260Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026261 (Dominique Pellé)
26262Solution: Only remove a popup menu if there is one.
26263Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26264 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26265 src/testdir/dumps/Test_wildmenu_pum_31.dump
26266
26267Patch 8.2.4329
26268Problem: No support for end line number and column in 'errorformat'.
26269Solution: Add %e and %k. (closes #9624)
26270Files: runtime/doc/quickfix.txt, src/quickfix.c,
26271 src/testdir/test_quickfix.vim
26272
26273Patch 8.2.4330
26274Problem: Vim9: no error if script imports itself.
26275Solution: Give an error when a script imports itself.
26276Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26277
26278Patch 8.2.4331
26279Problem: Vim9: no test for existing script variable in block.
26280Solution: Add a test.
26281Files: src/testdir/test_vim9_func.vim
26282
26283Patch 8.2.4332
26284Problem: Vim9: incomplete test for existing script variable in block.
26285Solution: Add a couple more tests. Fix uncovered problem.
26286Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26287 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26288
26289Patch 8.2.4333
26290Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026291Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026292Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26293 src/proto/vim9script.pro, src/vim9compile.c,
26294 src/proto/vim9compile.pro
26295
26296Patch 8.2.4334
26297Problem: Command line popup menu not positioned correctly.
26298Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26299 closes #9727)
26300Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26301 src/testdir/dumps/Test_wildmenu_pum_32.dump
26302
26303Patch 8.2.4335
26304Problem: No autocommand event triggered before changing directory. (Ronnie
26305 Magatti)
26306Solution: Add DirChangedPre. (closes #9721)
26307Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26308 src/vim.h, src/autocmd.c, src/misc2.c,
26309 src/testdir/test_autocmd.vim
26310
26311Patch 8.2.4336
26312Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26313Solution: Call message_filtered(). (closes #9720)
26314Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26315
26316Patch 8.2.4337
26317Problem: Part of condition is always true.
26318Solution: Remove that part of the condition. (closes #9729)
26319Files: src/filepath.c
26320
26321Patch 8.2.4338
26322Problem: An error from an expression mapping messes up the display.
26323Solution: When the expression results in an empty string return K_IGNORE.
26324 In cmdline mode redraw the command line. (closes #9726)
26325Files: src/getchar.c, src/testdir/test_mapping.vim,
26326 src/testdir/dumps/Test_map_expr_2.dump,
26327 src/testdir/dumps/Test_map_expr_3.dump,
26328 src/testdir/dumps/Test_map_expr_4.dump
26329
26330Patch 8.2.4339
26331Problem: CTRL-A does not work properly with the cmdline popup menu.
26332Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26333 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26334 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26335Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26336 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26337 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26338 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26339 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26340 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26341 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26342 src/testdir/test_textprop.vim,
26343 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26344 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26345 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26346 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26347 src/testdir/dumps/Test_wildmenu_pum_37.dump
26348
26349Patch 8.2.4340
26350Problem: Amiga: mch_can_exe() is not implemented.
26351Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26352Files: src/os_amiga.c
26353
26354Patch 8.2.4341
26355Problem: Command line not redrawn when finishing popup menu and the screen
26356 has scrolled up.
26357Solution: Redraw the command line after updating the screen. (closes #9722)
26358Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26359 src/testdir/dumps/Test_wildmenu_pum_38.dump
26360
26361Patch 8.2.4342
26362Problem: CI will soon switch to other windows version.
26363Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26364 closes #9740)
26365Files: .github/workflows/ci.yml
26366
26367Patch 8.2.4343
26368Problem: When reloading not all properties are detected.
26369Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26370Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26371 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26372 src/testdir/test_filechanged.vim
26373
26374Patch 8.2.4344
26375Problem: Amiga: header file included twice.
26376Solution: Remove #include. (Ola Söder, closes #9733)
26377Files: src/memfile.c
26378
26379Patch 8.2.4345
26380Problem: <amatch> is expanded like a file name for DirChangedPre.
26381Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26382Files: src/autocmd.c, src/testdir/test_autocmd.vim
26383
26384Patch 8.2.4346
26385Problem: A custom statusline may cause Esc to work like Enter on the
26386 command line when the popup menu is displayed.
26387Solution: Save and restore KeyTyped. (closes #9749)
26388Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26389 src/testdir/dumps/Test_wildmenu_pum_39.dump
26390
26391Patch 8.2.4347
26392Problem: In some build setups UNUSED is not defined.
26393Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26394 closes #9734)
26395Files: src/vim.h
26396
26397Patch 8.2.4348
26398Problem: "legacy exe cmd" does not do what one would expect.
26399Solution: Apply the "legacy" and "vim9script" command modifiers to the
26400 argument of ":execute".
26401Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26402 src/testdir/test_vim9_cmd.vim
26403
26404Patch 8.2.4349
26405Problem: FileChangedShell test fails on MS-Windows.
26406Solution: Skip the test on MS-Windows.
26407Files: src/testdir/test_filechanged.vim
26408
26409Patch 8.2.4350
26410Problem: FEAT_GUI_ENABLED defined but never used.
26411Solution: Remove the #define. (Ola Söder, closes #9732)
26412Files: src/vim.h
26413
26414Patch 8.2.4351
26415Problem: No coverage is measured on MS-Windows CI.
26416Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26417Files: .github/workflows/ci.yml
26418
26419Patch 8.2.4352
26420Problem: ReScript files are not recognized.
26421Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26422Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26423
26424Patch 8.2.4353
26425Problem: CI does not use the latest Lua and Python.
26426Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26427Files: .github/workflows/ci.yml
26428
26429Patch 8.2.4354
26430Problem: Dynamic loading of libsodium not handled properly.
26431Solution: Fix has() and :version. Show an error message when loading fails.
26432 Fix memory leaks. (Ken Takata, closes #9754)
26433Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26434 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26435 src/version.c
26436
26437Patch 8.2.4355
26438Problem: Unnecessary call to check_colorcolumn().
26439Solution: Remove the call. (Sean Dewar, closes #9748)
26440Files: src/option.c, src/window.c
26441
26442Patch 8.2.4356
26443Problem: Command line completion functions are very long.
26444Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26445 closes #9753)
26446Files: src/cmdexpand.c
26447
26448Patch 8.2.4357 (after 8.2.4348)
26449Problem: sticky command modifiers are too sticky.
26450Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26451Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26452
26453Patch 8.2.4358
26454Problem: Vim9: line number of exception is not set.
26455Solution: Set the line number before throwing an exception. (closes #9755)
26456Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26457
26458Patch 8.2.4359
26459Problem: crash when repeatedly using :retab.
26460Solution: Bail out when the line is getting too long.
26461Files: src/indent.c, src/testdir/test_retab.vim
26462
26463Patch 8.2.4360
26464Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26465Solution: Disallow using "s:" in Vim9 script at the script level.
26466Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26467 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26468 src/testdir/test_vim9_assign.vim,
26469 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26470 src/testdir/test_vim9_disassemble.vim,
26471 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26472 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26473
26474Patch 8.2.4361 (after 8.2.4360)
26475Problem: Vim9: some tests fail.
26476Solution: Fix the tests, mostly by removing "s:".
26477Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26478 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26479 src/testdir/test_tagfunc.vim
26480
26481Patch 8.2.4362
26482Problem: :retab may allocate too much memory.
26483Solution: Bail out when allocating more than MAXCOL bytes.
26484Files: src/indent.c
26485
26486Patch 8.2.4363
26487Problem: MS-Windows: running out of memory for a very long line.
26488Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26489Files: src/vim.h
26490
26491Patch 8.2.4364
26492Problem: MS-Windows: still running out of memory for a very long line.
26493Solution: Check for negative length.
26494Files: src/indent.c
26495
26496Patch 8.2.4365 (after 8.2.4348)
26497Problem: sticky command modifiers are too sticky.
26498Solution: Do not apply command modifiers to a called function. (closes #9751)
26499Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26500
26501Patch 8.2.4366
26502Problem: Not enough tests for command line completion.
26503Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26504Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26505 src/testdir/test_usercommands.vim
26506
26507Patch 8.2.4367
26508Problem: Calling in_vim9script() multiple times.
26509Solution: Call it once and keep the result.
26510Files: src/userfunc.c, src/eval.c
26511
26512Patch 8.2.4368
26513Problem: Amiga: a few compiler warnings.
26514Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26515 closes #9757)
26516Files: src/term.c, src/os_amiga.c
26517
26518Patch 8.2.4369
26519Problem: Redundant #ifdef argument.
26520Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26521Files: src/feature.h
26522
26523Patch 8.2.4370
26524Problem: MS-Windows: libsodium.dll not included with the installer.
26525Solution: Add the file to the installer if it exists. (Christian Brabandt,
26526 closes #9762)
26527Files: nsis/gvim.nsi
26528
26529Patch 8.2.4371
26530Problem: Vim9: can create a script variable from a legacy function.
26531Solution: Disallow creating a script variable from a function.
26532Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26533
26534Patch 8.2.4372
26535Problem: Filetype detection from file contents is in legacy script.
26536Solution: Use a compiled function for filetype detection.
26537Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26538
26539Patch 8.2.4373
26540Problem: Expression test fails.
26541Solution: Make the test work with latest Vim9 syntax.
26542Files: src/testdir/test_expr.vim
26543
26544Patch 8.2.4374
26545Problem: Unreachable code.
26546Solution: Remove outdated code lines.
26547Files: src/vim9compile.c
26548
26549Patch 8.2.4375
26550Problem: ctx_imports is not used.
26551Solution: Delete ctx_imports. Add missing dependency.
26552Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26553 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26554 src/vim9expr.c, src/vim9script.c, src/Makefile
26555
26556Patch 8.2.4376
26557Problem: Not enough tests for command line completion.
26558Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26559Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26560
26561Patch 8.2.4377
26562Problem: CI steps for Windows are a bit unorganized.
26563Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26564Files: .github/workflows/ci.yml
26565
26566Patch 8.2.4378
26567Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26568 function. (Mirko Palmer)
26569Solution: Save and restore the incsearch state. (Christian Brabandt,
26570 closes #9763, closes #9633)
26571Files: src/search.c, src/testdir/test_search_stat.vim,
26572 src/testdir/dumps/Test_searchstat_inc_1.dump,
26573 src/testdir/dumps/Test_searchstat_inc_2.dump,
26574 src/testdir/dumps/Test_searchstat_inc_3.dump
26575
26576Patch 8.2.4379
26577Problem: An empty change is reported to a listener.
26578Solution: Do not report an empty change. (closes #9768) Remove unused
26579 return value.
26580Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26581
26582Patch 8.2.4380
26583Problem: Small differences between Chinese translation files.
26584Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26585Files: src/po/Makefile, src/po/Make_all.mak
26586
26587Patch 8.2.4381 (after 8.2.4380)
26588Problem: Translation file listed twice.
26589Solution: Remove one entry.
26590Files: src/po/Make_all.mak
26591
26592Patch 8.2.4382 (after 8.2.4346)
26593Problem: A custom 'tabline' may cause Esc to work like Enter on the
26594 command line when the popup menu is displayed.
26595Solution: Save and restore KeyTyped. (closes #9776)
26596Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26597 src/testdir/dumps/Test_wildmenu_pum_40.dump
26598
26599Patch 8.2.4383
26600Problem: Vim9: unused code lines.
26601Solution: Rely on either "cctx" or "cstack" to not be NULL.
26602Files: src/vim9compile.c
26603
26604Patch 8.2.4384
26605Problem: Vim9: error message not tested, some code not tested.
26606Solution: Add a couple of test cases. Give an error for a command modifier
26607 without a command.
26608Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26609 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26610
26611Patch 8.2.4385 (after 8.2.4384)
26612Problem: Cannot build tiny version.
26613Solution: Adjust #ifdefs.
26614Files: src/errors.h
26615
26616Patch 8.2.4386 (after 8.2.4384)
26617Problem: Still cannot build tiny version.
26618Solution: Adjust #ifdefs.
26619Files: src/ex_docmd.c
26620
26621Patch 8.2.4387
26622Problem: Command line completion doesn't always work properly.
26623Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26624 Lakshmanan, closes #9779)
26625Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26626
26627Patch 8.2.4388
26628Problem: Dead code in op_insert().
26629Solution: Remove condition and else block. (closes #9782)
26630Files: src/ops.c
26631
26632Patch 8.2.4389
26633Problem: screenpos() does not handle a position in a closed fold.
26634Solution: Check if the position is inside a closed fold. (closes #9778)
26635Files: src/move.c, src/testdir/test_cursor_func.vim
26636
26637Patch 8.2.4390
26638Problem: Vim9: list from declaration with inferred type does not set the
26639 type on the value.
26640Solution: When inferring the type in a variable declaration also set the
26641 type of the list or dictionary. (closes #9705) Do not set the
26642 type when the member is "any".
26643Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26644 src/testdir/test_vim9_builtin.vim,
26645 src/testdir/test_vim9_disassemble.vim
26646
26647Patch 8.2.4391
26648Problem: Command line executed when typing Esc in the GUI.
26649Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26650 (closes #9783)
26651Files: src/buffer.c, src/screen.c
26652
26653Patch 8.2.4392 (after 8.2.4002)
26654Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26655Solution: Put back #ifdef. (Ken Takata, closes #9769)
26656Files: src/getchar.c
26657
26658Patch 8.2.4393
26659Problem: Possible number overflow with nested folds.
26660Solution: Avoid a negative line number.
26661Files: src/fold.c
26662
26663Patch 8.2.4394 (after 8.2.4392)
26664Problem: UTF8 select mode test fails on MS-Windows.
26665Solution: Revert the #ifdef change.
26666Files: src/getchar.c
26667
26668Patch 8.2.4395
26669Problem: Some code lines not covered by tests.
26670Solution: Add a few more test cases. Fix getting more than one error for
26671 invalid assignment.
26672Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26673 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26674 src/testdir/test_vim9_func.vim
26675
26676Patch 8.2.4396 (after 8.2.4395)
26677Problem: Python3 test fails.
26678Solution: Remove "let".
26679Files: src/testdir/test_vim9_func.vim
26680
26681Patch 8.2.4397
26682Problem: Crash when using many composing characters in error message.
26683Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26684Files: src/testing.c, src/testdir/test_assert.vim
26685
26686Patch 8.2.4398
26687Problem: Some command completion functions are too long.
26688Solution: Refactor code into separate functions. Add a few more tests.
26689 (Yegappan Lakshmanan, closes #9785)
26690Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26691 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26692
26693Patch 8.2.4399
26694Problem: Crash after ml_get error.
26695Solution: When returning "???" flush the line and set ml_line_lnum.
26696Files: src/memline.c
26697
26698Patch 8.2.4400 (after 8.2.4394)
26699Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26700Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26701 closes #9769)
26702Files: src/getchar.c
26703
26704Patch 8.2.4401
26705Problem: Map listing does not clear the rest of the command line.
26706Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26707Files: src/map.c, src/testdir/test_mapping.vim,
26708 src/testdir/dumps/Test_map_list_1.dump
26709
26710Patch 8.2.4402
26711Problem: Missing parenthesis may cause unexpected problems.
26712Solution: Add more parenthesis is macros. (closes #9788)
26713Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
26714 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
26715 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
26716 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
26717 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
26718
26719Patch 8.2.4403
26720Problem: ml_get error with nested folds and deleting lines.
26721Solution: Correct the last line number before calling hasFoldingWin().
26722Files: src/change.c
26723
26724Patch 8.2.4404
26725Problem: Vim9: some code not covered by tests.
26726Solution: Add a few specific test cases.
26727Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
26728 src/testdir/test_vim9_import.vim
26729
26730Patch 8.2.4405
26731Problem: Compiler warning for unused variable without the +folding feature.
26732 (Tony Mechelynck)
26733Solution: Add #ifdef.
26734Files: src/change.c
26735
26736Patch 8.2.4406
26737Problem: Expand functions use confusing argument names.
26738Solution: Rename "file" to "match". Refactor some completion code. Add a
26739 few more tests. (Yegappan Lakshmanan, closes #9790)
26740Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
26741
26742Patch 8.2.4407
26743Problem: Vim9: some code not covered by tests.
26744Solution: Add more tests. Avoid giving two errors. Remove dead code.
26745Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26746 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
26747
26748Patch 8.2.4408
26749Problem: Vim9: some code not covered by tests.
26750Solution: Add a few more tests. Correct error message. Allow unlet on dict
26751 with a number key.
26752Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
26753
26754Patch 8.2.4409
26755Problem: Vim9: some code not covered by tests.
26756Solution: Add a few more tests. Fix reported line number.
26757Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
26758
26759Patch 8.2.4410
26760Problem: Vim9: some code not covered by tests.
26761Solution: Add a few more tests. Remove dead code.
26762Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26763 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
26764 src/testdir/test_vim9_script.vim
26765
26766Patch 8.2.4411
26767Problem: Bicep files are not recognized.
26768Solution: Match *.bicep files. (Dundar Goc, closes #9791)
26769Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26770
26771Patch 8.2.4412
26772Problem: Translation cleanup script does not remove empty lines at end.
26773Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
26774Files: src/po/cleanup.vim
26775
26776Patch 8.2.4413
26777Problem: Vim9: Coverity warns for using NULL pointer.
26778Solution: Give an internal error when funcref function can't be found.
26779Files: src/vim9execute.c
26780
26781Patch 8.2.4414
26782Problem: Solidity files are not recognized.
26783Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
26784Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26785
26786Patch 8.2.4415
26787Problem: Function argument name conflicts with C++ keyword.
26788Solution: Rename the argument.
26789Files: src/usercmd.c, src/proto/usercmd.pro
26790
26791Patch 8.2.4416
26792Problem: Vim9: using a script-local function requires using "s:" when
26793 setting 'completefunc'.
26794Solution: Do not require "s:" in Vim9 script. (closes #9796)
26795Files: runtime/doc/options.txt, src/userfunc.c,
26796 src/testdir/test_ins_complete.vim
26797
26798Patch 8.2.4417 (after 8.2.4416)
26799Problem: Using NULL pointer.
26800Solution: Set offset after checking for NULL pointer.
26801Files: src/userfunc.c
26802
26803Patch 8.2.4418
26804Problem: Crash when using special multi-byte character.
26805Solution: Don't use isalpha() for an arbitrary character.
26806Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
26807 src/testdir/test_autochdir.vim
26808
26809Patch 8.2.4419
26810Problem: Illegal memory access when using exactly 20 highlights.
26811Solution: Add one more item in the array. (Brandon Richardson,
26812 closes #9800)
26813Files: src/buffer.c, src/testdir/test_tabline.vim
26814
26815Patch 8.2.4420
26816Problem: Menu translations are inconsistent.
26817Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
26818 closes #9801)
26819Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
26820 runtime/lang/menu_ca_es.latin1.vim,
26821 runtime/lang/menu_chinese_gb.936.vim,
26822 runtime/lang/menu_chinese_taiwan.950.vim,
26823 runtime/lang/menu_cs_cz.iso_8859-2.vim,
26824 runtime/lang/menu_cs_cz.utf-8.vim,
26825 runtime/lang/menu_czech_czech_republic.1250.vim,
26826 runtime/lang/menu_czech_czech_republic.ascii.vim,
26827 runtime/lang/menu_da.utf-8.vim,
26828 runtime/lang/menu_de_de.latin1.vim,
26829 runtime/lang/menu_eo.utf-8.vim,
26830 runtime/lang/menu_es_es.latin1.vim,
26831 runtime/lang/menu_fi_fi.latin1.vim,
26832 runtime/lang/menu_fr_fr.latin1.vim,
26833 runtime/lang/menu_hu_hu.iso_8859-2.vim,
26834 runtime/lang/menu_hu_hu.utf-8.vim,
26835 runtime/lang/menu_is_is.latin1.vim,
26836 runtime/lang/menu_it_it.latin1.vim,
26837 runtime/lang/menu_ja_jp.euc-jp.vim,
26838 runtime/lang/menu_ja_jp.utf-8.vim,
26839 runtime/lang/menu_japanese_japan.932.vim,
26840 runtime/lang/menu_ko_kr.euckr.vim,
26841 runtime/lang/menu_ko_kr.utf-8.vim,
26842 runtime/lang/menu_nl_nl.latin1.vim,
26843 runtime/lang/menu_no_no.latin1.vim,
26844 runtime/lang/menu_pl_pl.iso_8859-2.vim,
26845 runtime/lang/menu_pl_pl.utf-8.vim,
26846 runtime/lang/menu_polish_poland.1250.vim,
26847 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
26848 runtime/lang/menu_ru.utf-8.vim,
26849 runtime/lang/menu_ru_ru.koi8-r.vim,
26850 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
26851 runtime/lang/menu_sk_sk.iso_8859-2.vim,
26852 runtime/lang/menu_sl_si.cp1250.vim,
26853 runtime/lang/menu_sl_si.latin2.vim,
26854 runtime/lang/menu_sl_si.utf-8.vim,
26855 runtime/lang/menu_slovak_slovak_republic.1250.vim,
26856 runtime/lang/menu_sr_rs.ascii.vim,
26857 runtime/lang/menu_sr_rs.iso_8859-2.vim,
26858 runtime/lang/menu_sr_rs.iso_8859-5.vim,
26859 runtime/lang/menu_sr_rs.utf-8.vim,
26860 runtime/lang/menu_sv_se.latin1.vim,
26861 runtime/lang/menu_tr_tr.cp1254.vim,
26862 runtime/lang/menu_tr_tr.iso_8859-9.vim,
26863 runtime/lang/menu_tr_tr.utf-8.vim,
26864 runtime/lang/menu_uk_ua.cp1251.vim,
26865 runtime/lang/menu_uk_ua.koi8-u.vim,
26866 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
26867 runtime/lang/menu_zh_cn.utf-8.vim,
26868 runtime/lang/menu_zh_tw.utf-8.vim
26869
26870Patch 8.2.4421
26871Problem: Some installed files and directories have wrong permissions.
26872Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
26873Files: src/Makefile, src/installman.sh
26874
26875Patch 8.2.4422
26876Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026877Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026878Files: src/testdir/test_autochdir.vim
26879
26880Patch 8.2.4423
26881Problem: "make nvcmdidxs" fails.
26882Solution: Use "-S" instead of "-u" to source the script.
26883Files: src/Makefile
26884
26885Patch 8.2.4424
26886Problem: ".gts" and ".gjs" files are not recognized.
26887Solution: Recognize Glimmer flavored typescript and javascript.
26888 (closes #9799)
26889Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26890
26891Patch 8.2.4425
26892Problem: map() function does not check function arguments at compile time.
26893Solution: Give an error if the arguments of a map() function are wrong.
26894Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
26895 src/testdir/test_vim9_func.vim
26896
26897Patch 8.2.4426
26898Problem: map() function on string and blob does not check argument types at
26899 compile time.
26900Solution: Check string and blob argument types. Support "0z1234->func()".
26901Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
26902 src/testdir/test_vim9_builtin.vim
26903
26904Patch 8.2.4427
26905Problem: getchar() may return modifiers if no character is available.
26906Solution: Do not process modifiers when there is no character. (closes #9806)
26907Files: src/getchar.c, src/testdir/test_functions.vim
26908
26909Patch 8.2.4428
26910Problem: Crash when switching tabpage while in the cmdline window.
26911Solution: Disallow switching tabpage when in the cmdline window.
26912Files: src/window.c, src/proto/window.pro, src/evalvars.c,
26913 src/evalvars.c, src/usercmd.c
26914
26915Patch 8.2.4429
26916Problem: Using script-local function from the wrong script when using a
26917 partial. (Yegappan Lakshmanan)
26918Solution: Include the script ID in the partial name.
26919Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
26920 src/vim9type.c, src/testdir/test_vim9_import.vim
26921
26922
26923
26924
26925
26926
26927 vim:tw=78:ts=8:noet:ft=help:norl: