blob: 7d5c2585eab9bdc3ed59ee07495f8bb65acffbc6 [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)
Bram Moolenaar47c532e2022-03-19 15:18:53 +0000840Files: .hgignore
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000841
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.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002477Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002478
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)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002516Files: src/textprop.c, src/testdir/test_textprop.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002517
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,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00003746 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00003747 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.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00003924 (closes #5950)
Bram Moolenaarc51cf032022-02-26 12:25:45 +00003925Files: 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)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004045Solution: Return "[]" instead of NULL in echo_string_core().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004046Files: 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,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004098 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004099 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,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005208 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5209 src/libvterm/src/vterm_internal.h,
5210 src/libvterm/t/30state_pen.test,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005211 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5212 src/libvterm/t/26state_query.test,
5213 src/libvterm/t/64screen_pen.test
5214
5215Patch 8.2.0805
5216Problem: Terminal key codes test fails on some systems.
5217Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5218Files: src/testdir/test_terminal.vim
5219
5220Patch 8.2.0806
5221Problem: using "func!" after vim9script gives confusing error.
5222Solution: Give E477. (closes #6107)
5223Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5224
5225Patch 8.2.0807
5226Problem: Cannot easily restore a mapping.
5227Solution: Add mapset().
5228Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5229 src/testdir/test_maparg.vim
5230
5231Patch 8.2.0808
5232Problem: Not enough testing for the terminal window.
5233Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5234 leak.
5235Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5236 src/terminal.c
5237
5238Patch 8.2.0809
5239Problem: Build failure with small features. (Tony Mechelynck)
5240Solution: Move "expr" inside #ifdef.
5241Files: src/map.c
5242
5243Patch 8.2.0810
5244Problem: Error when appending "tagfile" to 'wildoptions'.
5245Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5246 closes #6105)
5247Files: src/optiondefs.h, src/testdir/test_options.vim
5248
5249Patch 8.2.0811
5250Problem: Terminal keycode test is flaky.
5251Solution: Use WaitForAssert()
5252Files: src/testdir/test_terminal.vim
5253
5254Patch 8.2.0812
5255Problem: mapset() does not properly handle <> notation.
5256Solution: Convert <> codes. (closes #6116)
5257Files: src/map.c, src/testdir/test_maparg.vim
5258
5259Patch 8.2.0813
5260Problem: libvterm code is slightly different from upstream.
5261Solution: Use upstream text to avoid future merge problems. Mainly comment
5262 style changes.
5263Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5264 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5265 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5266 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5267 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5268 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5269 src/libvterm/src/vterm.c
5270
5271Patch 8.2.0814
5272Problem: Clang warning for implicit conversion.
5273Solution: Add type cast. (Dominique Pellé, closes #6124)
5274Files: src/evalfunc.c
5275
5276Patch 8.2.0815
5277Problem: maparg() does not provide enough information for mapset().
5278Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5279Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5280
5281Patch 8.2.0816
5282Problem: Terminal test fails when compiled with Athena.
5283Solution: Do give an error when the GUI is not running. (hint by Dominique
5284 Pellé, closes #5928, closes #6132)
5285Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5286 src/testdir/test_terminal.vim
5287
5288Patch 8.2.0817
5289Problem: Not enough memory allocated when converting string with special
5290 character.
5291Solution: Reserve space for modifier code. (closes #6130)
5292Files: src/eval.c, src/testdir/test_functions.vim
5293
5294Patch 8.2.0818
5295Problem: Vim9: using a discovery phase doesn't work well.
5296Solution: Remove the discovery phase, instead compile a function only when
5297 it is used. Add :defcompile to compile def functions earlier.
5298Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5299 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5300 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5301 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5302 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005303 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005304 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5305
5306Patch 8.2.0819
5307Problem: Compiler warning for unused variable.
5308Solution: Remove the variable.
5309Files: src/evalvars.c
5310
5311Patch 8.2.0820
5312Problem: Vim9: function type isn't set until compiled.
5313Solution: Set function type early.
5314Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5315 src/testdir/test_vim9_func.vim
5316
5317Patch 8.2.0821
5318Problem: Vim9: memory leak in expr test.
5319Solution: Do not decrement the length of the list of functions if the
5320 current function is not at the end.
5321Files: src/vim9compile.c
5322
5323Patch 8.2.0822
5324Problem: Vim9: code left over from discovery phase.
5325Solution: Remove the dead code.
5326Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5327 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5328
5329Patch 8.2.0823
5330Problem: Vim9: script reload test is disabled.
5331Solution: Compile a function in the context of the script where it was
5332 defined. Set execution stack for compiled function. Add a test
5333 that an error is reported for the right file/function.
5334Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5335 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5336 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5337 src/testdir/test_vim9_script.vim
5338
5339Patch 8.2.0824 (after 8.2.0817)
5340Problem: Still not enough memory allocated when converting string with
5341 special character.
5342Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5343Files: src/eval.c, src/testdir/test_functions.vim
5344
5345Patch 8.2.0825
5346Problem: def_function() may return pointer that was freed.
5347Solution: Set "fp" to NULL after freeing it.
5348Files: src/userfunc.c
5349
5350Patch 8.2.0826
5351Problem: Vim9: crash in :defcompile.
5352Solution: Restart the loop after a call to compile_def_function() caused the
5353 hash table to resize.
5354Files: src/userfunc.c
5355
5356Patch 8.2.0827
5357Problem: Vim9: crash in :defcompile.
5358Solution: Fix off-by-one error.
5359Files: src/userfunc.c
5360
5361Patch 8.2.0828
5362Problem: Travis: regexp pattern doesn't work everywhere.
5363Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5364Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5365 ci/config.mk.sed, src/if_ruby.c
5366
5367Patch 8.2.0829
5368Problem: filter() may give misleading error message.
5369Solution: Also mention Blob as an allowed argument.
5370Files: src/list.c, src/testdir/test_filter_map.vim
5371
5372Patch 8.2.0830
5373Problem: Motif: can't map "!". (Ben Jackson)
5374Solution: Remove the shift modifier if it's already included in the key.
5375 (closes #6147)
5376Files: src/gui_x11.c
5377
5378Patch 8.2.0831
5379Problem: Compiler warnings for integer sizes.
5380Solution: Add type casts. (Mike Williams)
5381Files: src/libvterm/src/pen.c, src/terminal.c
5382
5383Patch 8.2.0832
5384Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5385Solution: Add initial value.
5386Files: src/map.c
5387
5388Patch 8.2.0833
5389Problem: Mapping <C-bslash> doesn't work in the GUI.
5390Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5391Files: src/gui.c
5392
5393Patch 8.2.0834
5394Problem: :drop command in terminal popup causes problems.
5395Solution: Check for using a popup window. (closes #6151)
5396Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5397
5398Patch 8.2.0835
5399Problem: Motif: mapping <C-bslash> still doesn't work.
5400Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5401 early. (closes #6150)
5402Files: src/getchar.c, src/gui_x11.c
5403
5404Patch 8.2.0836
5405Problem: Not all :cdo output is visible.
5406Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5407Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5408
5409Patch 8.2.0837
5410Problem: Compiler warning for value set but not used.
5411Solution: Move variable inside #ifdef.
5412Files: src/channel.c
5413
5414Patch 8.2.0838
5415Problem: MS-Windows: compiler warning for uninitialized variables.
5416Solution: Initialize variables.
5417Files: src/screen.c
5418
5419Patch 8.2.0839
5420Problem: Dropping modifier when putting a character back in typeahead.
5421Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5422Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5423 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5424
5425Patch 8.2.0840
5426Problem: Search match count wrong when only match is in fold.
5427Solution: Update search stats when in a closed fold. (Christian Brabandt,
5428 closes #6160, closes #6152)
5429Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5430 src/testdir/test_search_stat.vim
5431
5432Patch 8.2.0841
5433Problem: 'verbose' value 16 causes duplicate output.
5434Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5435 closes #6153)
5436Files: runtime/doc/options.txt, src/ex_docmd.c
5437
5438Patch 8.2.0842 (after 8.2.0837)
5439Problem: MS-Windows: channel tests fail.
5440Solution: Adjust #ifdefs. (closes #6162)
5441Files: src/channel.c
5442
5443Patch 8.2.0843
5444Problem: Filetype elm not detected.
5445Solution: Recognize *.elm files. (closes #6157)
5446Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5447
5448Patch 8.2.0844
5449Problem: Text properties crossing lines not handled correctly.
5450Solution: When saving for undo include an extra line when needed and do not
5451 adjust properties when undoing. (Axel Forsman, closes #5875)
5452Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5453
5454Patch 8.2.0845
5455Problem: Text properties crossing lines not handled correctly.
5456Solution: When joining lines merge text properties if possible.
5457 (Axel Forsman, closes #5839, closes #5683)
5458Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5459 src/proto/textprop.pro, src/textprop.c,
5460 src/testdir/dumps/Test_textprop_01.dump
5461
5462Patch 8.2.0846
5463Problem: Build failure with small features.
5464Solution: Add #ifdef.
5465Files: src/undo.c
5466
5467Patch 8.2.0847
5468Problem: Typval related code is spread out.
5469Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5470Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5471 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5472 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5473 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5474 src/typval.c
5475
5476Patch 8.2.0848
5477Problem: MS-Windows: the Windows terminal code has some flaws.
5478Solution: Do not redraw the right edge of the screen. Remove the background
5479 color trick. Flush the screen output buffer often. (Nobuhiro
5480 Takasaki, #5546)
5481Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5482
5483Patch 8.2.0849
5484Problem: BeOS code is not maintained and probably unused.
5485Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5486Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5487 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5488 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5489 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5490 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5491
5492Patch 8.2.0850
5493Problem: MS-Windows: exepath() works differently from cmd.exe.
5494Solution: Make exepath() work better on MS-Windows. (closes #6115)
5495Files: runtime/doc/eval.txt, src/os_win32.c,
5496 src/testdir/test_functions.vim
5497
5498Patch 8.2.0851 (after 8.2.0833)
5499Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5500Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5501Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5502
5503Patch 8.2.0852
5504Problem: Cannot map CTRL-S on some systems.
5505Solution: Do not use CTRL-S for flow control.
5506Files: src/os_unix.c
5507
5508Patch 8.2.0853
5509Problem: ml_delete() often called with FALSE argument.
5510Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5511Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5512 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5513 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5514 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5515 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5516 src/proto/memline.pro
5517
5518Patch 8.2.0854
5519Problem: Xxd cannot show offset as a decimal number.
5520Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5521Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5522
5523Patch 8.2.0855
5524Problem: GUI tests fail because the test doesn't use a modifier.
5525Solution: Add "\{xxx}" to be able to encode a modifier.
5526Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5527 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5528 src/term.c, src/testdir/test_backspace_opt.vim,
5529 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5530
5531Patch 8.2.0856 (after 8.2.0852)
5532Problem: CTRL-S stops output.
5533Solution: Invert the IXON flag. (closes #6166)
5534Files: src/os_unix.c
5535
5536Patch 8.2.0857
5537Problem: GTK cell height can be a pixel too much.
5538Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5539Files: src/gui_gtk_x11.c
5540
5541Patch 8.2.0858
5542Problem: Not easy to require Lua modules.
5543Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5544Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5545 src/testdir/test_lua.vim,
5546 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5547 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5548
5549Patch 8.2.0859
5550Problem: No Turkish translation of the manual.
5551Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5552Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5553 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5554 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5555 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5556 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5557
5558Patch 8.2.0860
5559Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5560Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5561Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5562 src/testdir/test_increment.vim
5563
5564Patch 8.2.0861
5565Problem: Cannot easily get all the current marks.
5566Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5567Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5568 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5569
5570Patch 8.2.0862
5571Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5572 Hennepe)
5573Solution: Do not hide the current buffer. (closes #6170)
5574Files: src/terminal.c, src/testdir/test_terminal.vim
5575
5576Patch 8.2.0863
5577Problem: Cannot set a separate color for underline/undercurl.
5578Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5579Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5580 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5581 src/screen.c, src/structs.h, src/term.c, src/term.h,
5582 src/testdir/test_options.vim
5583
5584Patch 8.2.0864
5585Problem: Pragmas are indented all the way to the left.
5586Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5587 closes #5468)
5588Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5589 src/testdir/test_cindent.vim
5590
5591Patch 8.2.0865
5592Problem: Syntax foldlevel is taken from the start of the line.
5593Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5594 the line. (Brad King, closes #6087)
5595Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5596 src/testdir/test_syntax.vim
5597
5598Patch 8.2.0866
5599Problem: Not enough tests for buffer writing.
5600Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5601 (Yegappan Lakshmanan, closes #6167)
5602Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5603 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5604 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5605 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5606 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5607 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5608 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5609 src/testdir/test_writefile.vim
5610
5611Patch 8.2.0867
5612Problem: Using \{xxx} for encoding a modifier is not nice.
5613Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5614 different code.
5615Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5616 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5617 src/testdir/test_messages.vim
5618
5619Patch 8.2.0868
5620Problem: trim() always trims both ends.
5621Solution: Add an argument to only trim the beginning or end. (Yegappan
5622 Lakshmanan, closes #6126)
5623Files: runtime/doc/eval.txt, src/evalfunc.c,
5624 src/testdir/test_functions.vim
5625
5626Patch 8.2.0869
5627Problem: It is not possible to customize the quickfix window contents.
5628Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5629Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5630 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5631 src/quickfix.c, src/testdir/test_quickfix.vim
5632
5633Patch 8.2.0870
5634Problem: MS-Windows: Control keys don't work in the GUI.
5635Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5636 closes #6175)
5637Files: src/gui.c
5638
5639Patch 8.2.0871
5640Problem: Cannot use getmarklist() as a method.
5641Solution: Make getmarklist() work as a method. Add one to the column
5642 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5643Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5644 src/testdir/test_marks.vim
5645
5646Patch 8.2.0872
5647Problem: XIM code is mixed with multibyte code.
5648Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5649 closes #6177)
5650Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5651 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5652 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5653 src/proto/mbyte.pro
5654
5655Patch 8.2.0873
5656Problem: A .jl file can be sawfish (lisp) or Julia.
5657Solution: Do not recognize *.jl as lisp, since it might be Julia.
5658 (closes #6178)
5659Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5660
5661Patch 8.2.0874
5662Problem: Signals test is a bit flaky.
5663Solution: Flush the XautoOut file. Delete files that may be left behind
5664 from a failure. (Dominique Pellé, closes #6179)
5665Files: src/testdir/test_signals.vim
5666
5667Patch 8.2.0875
5668Problem: Getting attributes for directory entries is slow.
5669Solution: Add readdirex(). (Ken Takata, closes #5619)
5670Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005671 src/fileio.c, src/filepath.c, src/proto/fileio.pro,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005672 src/proto/filepath.pro, src/testdir/test_functions.vim
5673
5674Patch 8.2.0876
5675Problem: :pwd does not give a hint about the scope of the directory
5676Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5677Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5678
5679Patch 8.2.0877
5680Problem: Cannot get the search statistics.
5681Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5682Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5683 src/proto/search.pro, src/search.c,
5684 src/testdir/test_search_stat.vim
5685
5686Patch 8.2.0878
5687Problem: No reduce() function.
5688Solution: Add a reduce() function. (closes #5481)
5689Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5690 src/proto/list.pro, src/testdir/test_listdict.vim
5691
5692Patch 8.2.0879
5693Problem: Compiler warning for unused function argument.
5694Solution: Add UNUSED.
5695Files: src/search.c
5696
5697Patch 8.2.0880 (after 8.2.0877)
5698Problem: Leaking memory when using searchcount().
5699Solution: Free the last used search pattern.
5700Files: src/search.c
5701
5702Patch 8.2.0881
5703Problem: Compiler warning for argument type.
5704Solution: Add type cast. (Mike Williams)
5705Files: src/ops.c
5706
5707Patch 8.2.0882
5708Problem: Leaking memory when using reduce().
5709Solution: Free the intermediate value.
5710Files: src/list.c
5711
5712Patch 8.2.0883
5713Problem: Memory leak in test 49.
5714Solution: Free "sfile" from the exception.
5715Files: src/ex_docmd.c
5716
5717Patch 8.2.0884
5718Problem: Searchcount() test fails on slower systems.
5719Solution: Set a longer timeout.
5720Files: src/search.c, src/testdir/test_search_stat.vim
5721
5722Patch 8.2.0885
5723Problem: "make shadow" does not link new lua test dir.
5724Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
5725Files: src/Makefile
5726
5727Patch 8.2.0886
5728Problem: Cannot use octal numbers in scriptversion 4.
5729Solution: Add the "0o" notation. (Ken Takata, closes #5304)
5730Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
5731 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
5732 src/vim.h
5733
5734Patch 8.2.0887
5735Problem: Searchcount().exact_match is 1 right after a match.
5736Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
5737Files: src/search.c, src/testdir/test_search_stat.vim
5738
5739Patch 8.2.0888
5740Problem: Readdirex() returns size -2 for a directory.
5741Solution: Add missing "else". (Ken Takata, closes #6185)
5742Files: src/fileio.c, src/testdir/test_functions.vim
5743
5744Patch 8.2.0889
5745Problem: Using old style comments.
5746Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
5747Files: src/gui_xim.c
5748
5749Patch 8.2.0890
5750Problem: No color in terminal window when 'termguicolors' is set.
5751Solution: Clear the underline color. (closes #6186)
5752Files: src/highlight.c
5753
5754Patch 8.2.0891
5755Problem: Clang warns for invalid conversion.
5756Solution: Use zero instead of INVALCOLOR.
5757Files: src/highlight.c
5758
5759Patch 8.2.0892
5760Problem: Ubsan warns for undefined behavior.
5761Solution: Use unsigned instead of signed variable. (Dominique Pellé,
5762 closes #6193)
5763Files: src/regexp_nfa.c
5764
5765Patch 8.2.0893
5766Problem: Assert_equalfile() does not take a third argument.
5767Solution: Implement the third argument. (Gary Johnson)
5768Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
5769 src/testdir/test_assert.vim, src/testing.c
5770
5771Patch 8.2.0894
5772Problem: :mkspell can take very long if the word count is high.
5773Solution: Use long to avoid negative numbers. Increase the limits by 20% if
5774 the compression did not have effect.
5775Files: src/spellfile.c
5776
5777Patch 8.2.0895
5778Problem: :mkspell output does not mention the tree type.
5779Solution: Back out increasing the limits, it has no effect. Mention the
5780 tree being compressed. Only give a message once per second.
5781Files: src/spellfile.c
5782
5783Patch 8.2.0896
5784Problem: Crash when calling searchcount() with a string.
5785Solution: Check the argument is a dict. (closes #6192)
5786Files: src/search.c, src/testdir/test_search_stat.vim
5787
5788Patch 8.2.0897
5789Problem: List of functions in patched version is outdated.
5790Solution: Update the function lists only.
5791Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
5792
5793Patch 8.2.0898
5794Problem: Missing help for a function goes unnoticed.
5795Solution: Add a test. (Gary Johnson)
5796Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
5797
5798Patch 8.2.0899
5799Problem: Assert_equalfile() does not give a hint about the difference.
5800Solution: Display the last seen text.
5801Files: src/testing.c, src/testdir/test_assert.vim
5802
5803Patch 8.2.0900
5804Problem: Function list test fails on MS-Windows.
5805Solution: Make sure the fileformat is "unix"
5806Files: src/testdir/test_function_lists.vim
5807
5808Patch 8.2.0901
5809Problem: Formatting CJK text isn't optimal.
5810Solution: Properly break CJK lines. (closes #3875)
5811Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
5812 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
5813 src/testdir/test_cjk_linebreak.vim
5814
5815Patch 8.2.0902
5816Problem: Using searchcount() in 'statusline' causes an error.
5817Solution: Avoid saving/restoring the search pattern recursively.
5818 (closes #6194)
5819Files: src/search.c, src/testdir/test_search_stat.vim,
5820 src/testdir/dumps/Test_searchstat_4.dump
5821
5822Patch 8.2.0903
5823Problem: comparing WINVER does not work correctly.
5824Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
5825Files: src/Make_cyg_ming.mak
5826
5827Patch 8.2.0904
5828Problem: Assuming modifyOtherKeys for rhs of mapping.
5829Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
5830Files: src/getchar.c, src/testdir/test_gui.vim
5831
5832Patch 8.2.0905
5833Problem: Test coverage could be better.
5834Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
5835Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
5836
5837Patch 8.2.0906
5838Problem: When setting 'termguicolors' SpellBad is no longer red.
5839Solution: Only use the RGB guisp color for cterm when using the "underline"
5840 or "undercurl" attributes to avoid the background color to be
5841 cleared. Also make t_8u empty when the termresponse indicates a
5842 real xterm. (closes #6207)
5843Files: src/highlight.c, src/term.c
5844
5845Patch 8.2.0907
5846Problem: When using :global clipboard isn't set correctly.
5847Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
5848 Brabandt, closes #6203, closes #6198)
5849Files: src/clipboard.c, src/testdir/test_global.vim
5850
5851Patch 8.2.0908
5852Problem: Crash when changing the function table while listing it.
5853Solution: Bail out when the function table changes. (closes #6209)
5854Files: src/userfunc.c, src/testdir/test_timers.vim
5855
5856Patch 8.2.0909
5857Problem: Cannot go back to the previous local directory.
5858Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
5859Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
5860 src/structs.h, src/testdir/test_cd.vim, src/window.c
5861
5862Patch 8.2.0910
5863Problem: Vim is not reproducibly buildable.
5864Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
5865 (James McCoy, closes #513) Give a warning about using it.
5866Files: src/config.h.in, src/config.mk.in, src/configure.ac,
5867 src/auto/configure, src/version.c, src/Makefile
5868
5869Patch 8.2.0911
5870Problem: Crash when opening a buffer for the cmdline window fails. (Chris
5871 Barber)
5872Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
5873 more prompt. (closes #6211)
5874Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
5875 src/testdir/dumps/Test_cmdwin_interrupted.dump
5876
5877Patch 8.2.0912
5878Problem: A few test cases for CJK formatting are disabled.
5879Solution: Fix the tests and enable them. (closes #6212)
5880Files: src/testdir/test_cjk_linebreak.vim
5881
5882Patch 8.2.0913
5883Problem: Code for resetting v:register is duplicated.
5884Solution: Add reset_reg_var().
5885Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
5886
5887Patch 8.2.0914
5888Problem: MS-Windows: cannot specify a "modified by" text.
5889Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
5890Files: src/Make_mvc.mak
5891
5892Patch 8.2.0915
5893Problem: Search() cannot skip over matches like searchpair() can.
5894Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
5895Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
5896 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
5897
5898Patch 8.2.0916
5899Problem: Mapping with partly modifyOtherKeys code does not work.
5900Solution: If there is no mapping with a separate modifier include the
5901 modifier in the key and then try mapping again. (closes #6200)
5902Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
5903 src/proto/term.pro, src/testdir/test_termcodes.vim
5904
5905Patch 8.2.0917
5906Problem: Quickfix entries do not support a "note" type.
5907Solution: Add support for "note". (partly by Yegappan Lakshmanan,
5908 closes #5527, closes #6216)
5909Files: runtime/doc/quickfix.txt, src/quickfix.c,
5910 src/testdir/test_quickfix.vim
5911
5912Patch 8.2.0918
5913Problem: Duplicate code for evaluating expression argument.
5914Solution: Merge the code and make the use more flexible.
5915Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
5916 src/proto/evalvars.pro, src/structs.h
5917
5918Patch 8.2.0919
5919Problem: Merging modifier for modifyOtherKeys is done twice.
5920Solution: Remove the merging done in vgetc().
5921Files: src/getchar.c, src/ex_getln.c
5922
5923Patch 8.2.0920
5924Problem: Writing viminfo fails with a circular reference.
5925Solution: Use copyID to detect the cycle. (closes #6217)
5926Files: src/testdir/test_viminfo.vim, src/viminfo.c
5927
5928Patch 8.2.0921
5929Problem: CTRL-W T in cmdline window causes trouble.
5930Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
5931 (Naruhiko Nishino, closes #6219)
5932Files: src/testdir/test_cmdline.vim, src/window.c
5933
5934Patch 8.2.0922
5935Problem: Search test fails.
5936Solution: Remove failure tests for calls that no longer fail.
5937Files: src/testdir/test_search.vim
5938
5939Patch 8.2.0923
5940Problem: Cmdline test is slow.
5941Solution: Use WaitForAssert().
5942Files: src/testdir/test_cmdline.vim
5943
5944Patch 8.2.0924
5945Problem: Cannot save and restore a register properly.
5946Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
5947 Massimino, closes #3370)
5948Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5949 src/proto/register.pro, src/register.c,
5950 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
5951
5952Patch 8.2.0925
5953Problem: Getcompletion() does not return command line arguments.
5954Solution: Add the "cmdline" option. (Shougo, closes #1140)
5955Files: runtime/doc/eval.txt, src/cmdexpand.c,
5956 src/testdir/test_cmdline.vim
5957
5958Patch 8.2.0926
5959Problem: Cmdline test fails on Appveyor.
5960Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
5961Files: src/testdir/test_cmdline.vim
5962
5963Patch 8.2.0927
5964Problem: Some sshconfig and ssdhconfig files are not recognized.
5965Solution: Add filetype patterns.
5966Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5967
5968Patch 8.2.0928
5969Problem: Many type casts are used for vim_strnsave().
5970Solution: Make the length argument size_t instead of int. (Ken Takata,
5971 closes #5633) Remove some type casts.
5972Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
5973 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
5974 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
5975
5976Patch 8.2.0929
5977Problem: v:register is not cleared after an operator was executed.
5978Solution: Clear v:register after finishing an operator (Andy Massimino,
5979 closes #5305)
5980Files: src/normal.c, src/testdir/test_registers.vim
5981
5982Patch 8.2.0930
5983Problem: Script filetype detection trips over env -S argument.
5984Solution: Remove "-S" and "--ignore-environment". (closes #5013)
5985 Add tests.
5986Files: runtime/scripts.vim, src/testdir/test_filetype.vim
5987
5988Patch 8.2.0931
5989Problem: Some remarks about BeOS remain.
5990Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
5991 closes #6221)
5992Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
5993 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
5994 runtime/doc/vi_diff.txt, src/INSTALL
5995
5996Patch 8.2.0932
5997Problem: Misspelling spelllang.
5998Solution: Add an "l". (Dominique Pellé)
5999Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
6000
6001Patch 8.2.0933
6002Problem: 'quickfixtextfunc' does not get window ID of location list.
6003Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6004 closes #6222)
6005Files: runtime/doc/quickfix.txt, src/quickfix.c,
6006 src/testdir/test_quickfix.vim
6007
6008Patch 8.2.0934
6009Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6010 topic.
6011Solution: Check whether any window with the location list is present.
6012 (Yegappan Lakshmanan, closes #6215)
6013Files: src/quickfix.c, src/testdir/test_quickfix.vim
6014
6015Patch 8.2.0935
6016Problem: Flattening a list with existing code is slow.
6017Solution: Add flatten(). (Mopp, closes #3676)
6018Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6019 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6020 src/testdir/test_flatten.vim
6021
6022Patch 8.2.0936
6023Problem: Some terminals misinterpret the code for getting cursor style.
6024Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6025 Kouichi, closes #2126) Merged with current code.
6026Files: src/main.c, src/term.c, src/proto/term.pro,
6027 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6028 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6029 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6030 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6031 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6032 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6033
6034Patch 8.2.0937
6035Problem: Asan failure in the flatten() test.
6036Solution: Free the flattened list.
6037Files: src/list.c
6038
6039Patch 8.2.0938
6040Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6041Solution: Use utf_fold() when possible. (ref. neovim #12456)
6042Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6043 src/testdir/test_regexp_utf8.vim
6044
6045Patch 8.2.0939
6046Problem: checking for term escape sequences is long and confusing
6047Solution: Refactor code into separate functions.
6048Files: src/term.c
6049
6050Patch 8.2.0940 (after 8.2.0939)
6051Problem: Build failure with tiny features.
6052Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6053Files: src/term.c
6054
6055Patch 8.2.0941
6056Problem: Detecting terminal properties is unstructured.
6057Solution: Add a table with terminal properties. Set properties when a
6058 terminal is detected.
6059Files: src/term.c
6060
6061Patch 8.2.0942
6062Problem: Expanding to local dir after homedir keeps "~/".
6063Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6064 closes #5979)
6065Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6066
6067Patch 8.2.0943
6068Problem: Displaying ^M or ^J depends on current buffer.
6069Solution: Pass the displayed buffer to transchar(). (closes #6225)
6070Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6071 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6072 src/testdir/test_display.vim,
6073 src/testdir/dumps/Test_display_unprintable_01.dump,
6074 src/testdir/dumps/Test_display_unprintable_02.dump
6075
6076Patch 8.2.0944
6077Problem: Xxd test leaves file behind.
6078Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6079Files: src/testdir/test_xxd.vim
6080
6081Patch 8.2.0945
6082Problem: Cannot use "z=" when 'spell' is off.
6083Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6084 Gary Johnson, closes #6227)
6085Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6086 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6087
6088Patch 8.2.0946
6089Problem: Cannot use "q" to cancel a number prompt.
6090Solution: Recognize "q" instead of ignoring it.
6091Files: src/misc1.c, src/testdir/test_functions.vim
6092
6093Patch 8.2.0947
6094Problem: Readdirex() doesn't handle broken link properly.
6095Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6096 closes #6213)
6097Files: src/fileio.c, src/testdir/test_functions.vim
6098
6099Patch 8.2.0948
6100Problem: Spell test fails.
6101Solution: Adjust expected text of the prompt.
6102Files: src/testdir/test_spell.vim
6103
6104Patch 8.2.0949
6105Problem: Strptime() does not use DST.
6106Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6107Files: src/time.c, src/testdir/test_functions.vim
6108
6109Patch 8.2.0950
6110Problem: Tagjump test fails.
6111Solution: Adjust expected text of the prompt.
6112Files: src/testdir/test_tagjump.vim
6113
6114Patch 8.2.0951
6115Problem: Search stat test has leftover from debugging.
6116Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6117Files: src/testdir/test_search_stat.vim
6118
6119Patch 8.2.0952
6120Problem: No simple way to interrupt Vim.
6121Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6122 closes #1718)
6123Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6124 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6125
6126Patch 8.2.0953
6127Problem: Spell checking doesn't work for CamelCased words.
6128Solution: Add the "camel" value in the new option 'spelloptions'.
6129 (closes #1235)
6130Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6131 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6132 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6133
6134Patch 8.2.0954
6135Problem: Not all desktop files are recognized.
6136Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6137Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6138
6139Patch 8.2.0955 (after 8.2.0953)
6140Problem: Build fails.
6141Solution: Add missing struct change.
6142Files: src/structs.h
6143
6144Patch 8.2.0956 (after 8.2.0953)
6145Problem: Spell test fails.
6146Solution: Add missing change the spell checking.
6147Files: src/spell.c
6148
6149Patch 8.2.0957
6150Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6151Solution: Initialize one variable.
6152Files: src/spell.c
6153
6154Patch 8.2.0958
6155Problem: Not sufficient testing for buffer writing.
6156Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6157Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6158
6159Patch 8.2.0959
6160Problem: Using 'quickfixtextfunc' is a bit slow.
6161Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6162Files: runtime/doc/quickfix.txt, src/quickfix.c,
6163 src/testdir/test_quickfix.vim
6164
6165Patch 8.2.0960
6166Problem: Cannot use :import in legacy Vim script.
6167Solution: Support :import in any Vim script.
6168Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6169 src/testdir/test_vim9_script.vim
6170
6171Patch 8.2.0961
6172Problem: MS-Windows: no completion for locales.
6173Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6174 (Christian Brabandt, closes 36248)
6175Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6176
6177Patch 8.2.0962
6178Problem: Terminal test sometimes hangs on Travis.
6179Solution: Do show output for this test temporarily.
6180Files: src/testdir/Makefile
6181
6182Patch 8.2.0963
6183Problem: Number increment/decrement does not work with 'virtualedit'.
6184Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6185 closes #923)
6186Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6187 src/testdir/test_increment.vim
6188
6189Patch 8.2.0964
6190Problem: TextYankPost does not provide info about Visual selection.
6191Solution: Add the 'visual' key in v:event. (closes #6249)
6192Files: runtime/doc/autocmd.txt, src/register.c,
6193 src/testdir/test_autocmd.vim
6194
6195Patch 8.2.0965
6196Problem: Has_funcundefined() is not used.
6197Solution: Delete the function. (Dominique Pellé, closes #6242)
6198Files: src/autocmd.c, src/proto/autocmd.pro
6199
6200Patch 8.2.0966
6201Problem: 'shortmess' flag "n" not used in two places.
6202Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6203 closes #6244)
6204Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6205 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6206 src/testdir/dumps/Test_start_with_tabs.dump
6207
6208Patch 8.2.0967
6209Problem: Unnecessary type casts for vim_strnsave().
6210Solution: Remove the type casts.
6211Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6212 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6213 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6214 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6215 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6216 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6217 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6218
6219Patch 8.2.0968
6220Problem: No proper testing of the 'cpoptions' flags.
6221Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6222Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6223 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6224
6225Patch 8.2.0969
6226Problem: Assert_equal() output for dicts is hard to figure out.
6227Solution: Only show the different items.
6228Files: src/testing.c, src/testdir/test_assert.vim
6229
6230Patch 8.2.0970
6231Problem: Terminal properties are not available in Vim script.
6232Solution: Add the terminalprops() function.
6233Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6234 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6235 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6236 runtime/doc/testing.txt
6237
6238Patch 8.2.0971
6239Problem: Build with tiny features fails.
6240Solution: Add #ifdef.
6241Files: src/term.c
6242
6243Patch 8.2.0972
6244Problem: Vim9 script variable declarations need a type.
6245Solution: Make "let var: type" declare a script-local variable.
6246Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6247 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6248
6249Patch 8.2.0973
6250Problem: Vim9: type is not checked when assigning to a script variable.
6251Solution: Check the type.
6252Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6253 src/vim9compile.c, src/proto/vim9compile.pro,
6254 src/testdir/test_vim9_script.vim
6255
6256Patch 8.2.0974
6257Problem: Vim9: memory leak when script var has wrong type.
6258Solution: Free the variable name.
6259Files: src/vim9script.vim
6260
6261Patch 8.2.0975
6262Problem: Vim9: script variable does not accept optional s: prefix.
6263Solution: Adjust the accepted syntax.
6264Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6265
6266Patch 8.2.0976
6267Problem: Some 'cpoptions' not tested.
6268Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6269Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6270 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6271
6272Patch 8.2.0977
6273Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6274Solution: Invert the check for TPR_YES. (closes #6254)
6275Files: src/term.c, src/testdir/test_termcodes.vim
6276
6277Patch 8.2.0978
6278Problem: Leaking memory in termcodes test.
6279Solution: Set t_8u with set_option_value().
6280Files: src/term.c
6281
6282Patch 8.2.0979
6283Problem: A couple of screendump tests fail.
6284Solution: Do not redraw when clearing t_8u.
6285Files: src/term.c
6286
6287Patch 8.2.0980
6288Problem: Raku file extension not recognized. (Steven Penny)
6289Solution: Recognize .raku and .rakumod. (closes #6255)
6290Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6291
6292Patch 8.2.0981
6293Problem: Vim9: cannot compile "[var, var] = list".
6294Solution: Implement list assignment.
6295Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006296 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006297
6298Patch 8.2.0982
6299Problem: Insufficient testing for reading/writing files.
6300Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6301 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6302Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6303 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6304 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6305
6306Patch 8.2.0983
6307Problem: SConstruct file type not recognized.
6308Solution: Use python for SConstruct files. (Roland Hieber)
6309Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6310
6311Patch 8.2.0984
6312Problem: Not using previous window when closing a shell popup window.
6313Solution: Use "prevwin" if it was set. (closes #6267)
6314Files: src/popupwin.c, src/testdir/test_popupwin.vim
6315
6316Patch 8.2.0985
6317Problem: Simplify() does not remove slashes from "///path".
6318Solution: Reduce > 2 slashes to one. (closes #6263)
6319Files: src/findfile.c, src/testdir/test_functions.vim
6320
6321Patch 8.2.0986 (after 8.2.0985)
6322Problem: MS-Windows: functions test fails.
6323Solution: Only simplify ///path on Unix.
6324Files: src/testdir/test_functions.vim
6325
6326Patch 8.2.0987
6327Problem: Vim9: cannot assign to [var; var].
6328Solution: Assign rest of items to a list.
6329Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6330 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6331
6332Patch 8.2.0988
6333Problem: Getting directory contents is always case sorted.
6334Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6335Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6336 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6337 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6338 src/filepath.c, src/globals.h, src/proto/fileio.pro,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006339 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006340 src/vim.h
6341
6342Patch 8.2.0989
6343Problem: Crash after resizing a terminal window. (August Masquelier)
6344Solution: Add check for valid row in libvterm. (closes #6273)
6345Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6346
6347Patch 8.2.0990 (after 8.2.0988)
6348Problem: Using duplicate error number.
6349Solution: Use an unused error number. Add a test for it.
6350Files: src/globals.h, src/testdir/test_functions.vim
6351
6352Patch 8.2.0991
6353Problem: Cannot get window type for autocmd and preview window.
6354Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6355Files: runtime/doc/eval.txt, src/evalwindow.c,
6356 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6357
6358Patch 8.2.0992
6359Problem: Vim9: crash when using :import in the Vim command.
6360Solution: Give an error when using :import outside of a script.
6361 (closes #6271)
6362Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6363 src/testdir/term_util.vim
6364
6365Patch 8.2.0993
6366Problem: Vim9 script test fails with normal features.
6367Solution: Use :func instead of :def for now.
6368Files: src/testdir/test_vim9_script.vim
6369
6370Patch 8.2.0994
6371Problem: Vim9: missing function causes compilation error.
6372Solution: Call test function indirectly.
6373Files: src/testdir/test_vim9_script.vim
6374
6375Patch 8.2.0995
6376Problem: Insufficient testing for the readdir() sort option.
6377Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6378Files: src/testdir/test_functions.vim
6379
6380Patch 8.2.0996
6381Problem: Using "aucmdwin" in win_gettype() is not ideal.
6382Solution: Rename to "autocmd".
6383Files: runtime/doc/eval.txt, src/evalwindow.c,
6384 src/testdir/test_autocmd.vim
6385
6386Patch 8.2.0997
6387Problem: Cannot execute a register containing line continuation.
6388Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6389 closes #6272)
6390Files: runtime/doc/repeat.txt, src/register.c,
6391 src/testdir/test_registers.vim
6392
6393Patch 8.2.0998
6394Problem: Not all tag code is tested.
6395Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6396Files: src/testdir/test_tagjump.vim
6397
6398Patch 8.2.0999
6399Problem: Moving to next sentence gets stuck on quote.
6400Solution: When moving to the next sentence doesn't result in moving, advance
6401 a character and try again. (closes #6291)
6402Files: src/textobject.c, src/testdir/test_textobjects.vim
6403
6404Patch 8.2.1000
6405Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6406 autocommand was used.
6407Solution: Reset ex_pressedreturn. (closes #6293)
6408Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6409
6410Patch 8.2.1001
6411Problem: Vim9: crash with nested "if" and assignment.
6412Solution: Skip more of the assignment. Do not set ctx_skip when code is
6413 reachable.
6414Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6415
6416Patch 8.2.1002
6417Problem: Test may fail when run directly.
6418Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6419Files: src/testdir/term_util.vim
6420
6421Patch 8.2.1003
6422Problem: Vim9: return type of sort() is too generic.
6423Solution: Get type from the first argument. (closes #6292)
6424Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6425
6426Patch 8.2.1004
6427Problem: Line numbers below filler lines not always updated.
6428Solution: Don't break out of the win_line() loop too early. (Christian
6429 Brabandt, closes #6294, closes #6138)
6430Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6431 src/testdir/dumps/Test_diff_rnu_02.dump,
6432 src/testdir/dumps/Test_diff_rnu_03.dump,
6433 src/testdir/test_diffmode.vim
6434
6435Patch 8.2.1005
6436Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6437Solution: Use an enum value.
6438Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6439
6440Patch 8.2.1006
6441Problem: Vim9: require unnecessary return statement.
6442Solution: Improve the use of the had_return flag. (closes #6270)
6443Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6444 src/testdir/test_vim9_func.vim
6445
6446Patch 8.2.1007
6447Problem: Completion doesn't work after ":r ++arg !".
6448Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6449 closes #6258)
6450Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6451
6452Patch 8.2.1008
6453Problem: Vim9: no test for disassembling newly added instructions.
6454Solution: Add a function and check disassembly.
6455Files: src/testdir/test_vim9_disassemble.vim
6456
6457Patch 8.2.1009
6458Problem: Vim9: some failures not checked for.
6459Solution: Add test cases. Remove unused code.
6460Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6461
6462Patch 8.2.1010
6463Problem: Build failure in libvterm with debug enabled. (John Little)
6464Solution: Use "->" instead of ".".
6465Files: src/libvterm/src/state.c
6466
6467Patch 8.2.1011
6468Problem: Vim9: some code not tested.
6469Solution: Add a few more test cases. Reorder checks for clearer error.
6470 Remove unreachable code.
6471Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6472 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6473 src/testdir/test_vim9_expr.vim
6474
6475Patch 8.2.1012
6476Problem: Vim9: cannot declare single character script variables.
6477Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6478 sn_var_vals.
6479Files: src/vim9script.c, src/scriptfile.c,
6480 src/testdir/test_vim9_script.vim
6481
6482Patch 8.2.1013
6483Problem: Channel tests can be a bit flaky.
6484Solution: Set the g:test_is_flaky flag in SetUp().
6485Files: src/testdir/test_channel.vim
6486
6487Patch 8.2.1014
6488Problem: Using "name" for a string result is confusing.
6489Solution: Rename to "end".
6490Files: src/typval.c
6491
6492Patch 8.2.1015
6493Problem: Popup filter gets key with modifier prepended when using
6494 modifyOtherKeys.
6495Solution: Remove the shift modifier when it is included in the key, also
6496 when the Alt or Meta modifier is used.
6497Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6498
6499Patch 8.2.1016
6500Problem: Vim9: test fails when channel feature is missing.
6501Solution: Process an :if command when skipping
6502Files: src/vim9compile.c
6503
6504Patch 8.2.1017
6505Problem: Appveyor output doesn't show MinGW console features.
6506Solution: List the features of the console build.
6507Files: ci/appveyor.bat
6508
6509Patch 8.2.1018
6510Problem: Typo in enum value. (James McCoy)
6511Solution: Fix the typo.
6512Files: src/vim9compile.c
6513
6514Patch 8.2.1019
6515Problem: Mapping <M-S-a> does not work in the GUI.
6516Solution: Move the logic to remove the shift modifier to
6517 may_remove_shift_modifier() and also use it in the GUI.
6518Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6519
6520Patch 8.2.1020
6521Problem: Popupwin test fails in the GUI.
6522Solution: Send GUI byte sequence for <C-S-a>.
6523Files: src/testdir/test_popupwin.vim
6524
6525Patch 8.2.1021
6526Problem: Ruby interface not tested enough.
6527Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6528Files: src/testdir/test_ruby.vim
6529
6530Patch 8.2.1022
6531Problem: Various parts of code not covered by tests.
6532Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6533Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6534 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6535 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6536 src/testdir/test_prompt_buffer.vim,
6537 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6538 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6539 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6540 src/testdir/test_visual.vim
6541
6542Patch 8.2.1023
6543Problem: Vim9: redefining a function uses a new index every time.
6544Solution: When redefining a function clear the contents and re-use the
6545 index.
6546Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6547 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6548
6549Patch 8.2.1024
6550Problem: Vim9: no error for using "let g:var = val".
6551Solution: Add an error.
6552Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6553 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6554 src/testdir/test_vim9_disassemble.vim,
6555 src/testdir/test_vim9_func.vim
6556
6557Patch 8.2.1025
6558Problem: Tabpage menu and tabline not sufficiently tested.
6559Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6560Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6561
6562Patch 8.2.1026
6563Problem: Vim9: cannot break the line after "->".
6564Solution: Check for a continuation line after "->", "[" and ".". Ignore
6565 trailing white space.
6566Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6567
6568Patch 8.2.1027
6569Problem: GUI: multibyte characters do not work in a terminal.
6570Solution: Do not assume a key is one byte. (closes #6304)
6571Files: src/gui_gtk_x11.c, src/gui_x11.c
6572
6573Patch 8.2.1028
6574Problem: Vim9: no error for declaring buffer, window, etc. variable.
6575Solution: Give an error. Unify the error messages.
6576Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6577 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6578 src/testdir/test_vim9_script.vim
6579
6580Patch 8.2.1029
6581Problem: Vim9: cannot chain function calls with -> at line start.
6582Solution: Peek ahead for a following line starting with "->". (closes #6306)
6583Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6584
6585Patch 8.2.1030
6586Problem: Reducing size of a terminal window may cause a crash.
6587Solution: Make sure the row and column don't become negative. (closes #6273)
6588Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6589
6590Patch 8.2.1031
6591Problem: Build failure with Perl5.32.
6592Solution: Define a few more functions. (Felix Yan, closes #6310)
6593Files: src/if_perl.xs
6594
6595Patch 8.2.1032
6596Problem: Error message for declaring a variable cannot be translated.
6597Solution: Enclose in _(). Make environment variable a separate message.
6598Files: src/globals.h, src/vim9compile.c
6599
6600Patch 8.2.1033
6601Problem: Not easy to read the test time in the test output.
6602Solution: Align the times. Make slow tests bold.
6603Files: src/testdir/runtest.vim
6604
6605Patch 8.2.1034
6606Problem: Compiler warning for uninitialized variables.
6607Solution: Add initializations. (John Marriott)
6608Files: src/vim9compile.c
6609
6610Patch 8.2.1035
6611Problem: setreg() does not always clear the register.
6612Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6613 closes #3370)
6614Files: src/evalfunc.c, src/testdir/test_registers.vim
6615
6616Patch 8.2.1036
6617Problem: Popupwin test fails sometimes.
6618Solution: Use WaitForAssert() instead of a sleep.
6619Files: src/testdir/test_popupwin.vim
6620
6621Patch 8.2.1037
6622Problem: Vim9: crash when using line continuation inside :def.
6623Solution: Check for no more lines available.
6624Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6625
6626Patch 8.2.1038
6627Problem: Popupwin test fails.
6628Solution: Fix WaitForAssert() argument.
6629Files: src/testdir/test_popupwin.vim
6630
6631Patch 8.2.1039
6632Problem: Cannot put NUL byte on clipboard.
6633Solution: Use the text length. (Christian Brabandt, closes #6312,
6634 closes #6149)
6635Files: src/winclip.c, src/testdir/test_registers.vim
6636
6637Patch 8.2.1040
6638Problem: Not enough testing for movement commands.
6639Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6640Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6641 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6642 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6643
6644Patch 8.2.1041
6645Problem: Test summary is missing executed count.
6646Solution: Adjust pattern used for counting.
6647Files: src/testdir/summarize.vim
6648
6649Patch 8.2.1042
6650Problem: Vim9: cannot put an operator on the next line.
6651Solution: Require a colon before a range to see if that causes problems.
6652Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6653 src/globals.h, src/testdir/test_vim9_script.vim,
6654 src/testdir/test_vim9_expr.vim
6655
6656Patch 8.2.1043
6657Problem: %a item in 'statusline' not tested.
6658Solution: Add a test. (Dominique Pellé, closes #6318)
6659Files: src/testdir/test_statusline.vim
6660
6661Patch 8.2.1044
6662Problem: Not all systemd file types are recognized.
6663Solution: Match several more files. (Guido Cella, closes #6319)
6664Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6665
6666Patch 8.2.1045
6667Problem: Vim9: line break before operator does not work.
6668Solution: Peek the next line for an operator.
6669Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6670
6671Patch 8.2.1046
6672Problem: Insufficient tests for src/buffer.c.
6673Solution: Add more tests. Move comments related tests to a separate file.
6674 (Yegappan Lakshmanan, closes #6325)
6675Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6676 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6677 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6678
6679Patch 8.2.1047
6680Problem: Vim9: script cannot use line continuation like in a :def function.
6681Solution: Pass the getline function pointer to the eval() functions. Use it
6682 for addition and multiplication operators.
6683Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6684 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6685 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6686 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6687
6688Patch 8.2.1048 (after 8.2.1047)
6689Problem: Build failure without the eval feature.
6690Solution: Add dummy typedef.
6691Files: src/structs.h
6692
6693Patch 8.2.1049 (after 8.2.1047)
6694Problem: Vim9: leaking memory when using continuation line.
6695Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6696 checking for a next command.
6697Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6698 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6699 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6700 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6701 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6702 src/screen.c, src/userfunc.c
6703
6704Patch 8.2.1050 (after 8.2.1049)
6705Problem: Missing change in struct.
6706Solution: Add missing change.
6707Files: src/ex_cmds.h
6708
6709Patch 8.2.1051
6710Problem: Crash when changing a list while using reduce() on it.
6711Solution: Lock the list. (closes #6330)
6712Files: src/list.c, src/testdir/test_listdict.vim
6713
6714Patch 8.2.1052
6715Problem: Build failure with older compilers.
6716Solution: Move declaration to start of block.
6717Files: src/eval.c
6718
6719Patch 8.2.1053
6720Problem: Insufficient testing for 'statusline' and 'tabline'.
6721Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
6722Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
6723 src/testdir/test_tabline.vim
6724
6725Patch 8.2.1054
6726Problem: Not so easy to pass a lua function to Vim.
6727Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
6728 Shrestha, closes #6246)
6729Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
6730 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
6731
6732Patch 8.2.1055
6733Problem: No filetype set for pacman config files.
6734Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
6735Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6736
6737Patch 8.2.1056
6738Problem: Wrong display when mixing match conceal and syntax conceal.
6739Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
6740Files: src/drawline.c, src/highlight.c,
6741 src/testdir/test_matchadd_conceal.vim
6742
6743Patch 8.2.1057 (after 8.2.1054)
6744Problem: Cannot build with dynamic Lua.
6745Solution: Add dll variables.
6746Files: src/if_lua.c
6747
6748Patch 8.2.1058
6749Problem: Multiline conceal causes display errors.
6750Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
6751 closes #6302)
6752Files: src/drawline.c, src/testdir/test_conceal.vim,
6753 src/testdir/test_diffmode.vim
6754
6755Patch 8.2.1059
6756Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
6757Solution: Do not allow the autocommand window to be closed.
6758Files: src/ex_docmd.c, src/window.c, src/globals.h,
6759 src/testdir/test_autocmd.vim
6760
6761Patch 8.2.1060
6762Problem: Not all elinks files are recognized.
6763Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
6764Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6765
6766Patch 8.2.1061
6767Problem: Insufficient testing for src/window.c.
6768Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
6769Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
6770 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
6771 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
6772 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
6773 src/window.c
6774
6775Patch 8.2.1062
6776Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
6777Solution: Check for operator after line break.
6778Files: src/eval.c, src/testdir/test_vim9_expr.vim
6779
6780Patch 8.2.1063
6781Problem: Vim9: no line break allowed before || or &&.
6782Solution: Check for operator after line break.
6783Files: src/eval.c, src/testdir/test_vim9_expr.vim
6784
6785Patch 8.2.1064
6786Problem: Vim9: no line break allowed before comparators.
6787Solution: Check for comparator after line break.
6788Files: src/eval.c, src/testdir/test_vim9_expr.vim
6789
6790Patch 8.2.1065
6791Problem: Vim9: no line break allowed inside a list.
6792Solution: Handle line break inside a list in Vim9 script.
6793Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
6794 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
6795 src/testdir/test_arglist.vim
6796
6797Patch 8.2.1066
6798Problem: Lua arrays are zero based.
6799Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
6800 Note: this is not backwards compatible.
6801Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
6802
6803Patch 8.2.1067
6804Problem: Expression "!expr->func()" does not work.
6805Solution: Apply plus and minus earlier. (closes #6348)
6806Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
6807 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
6808
6809Patch 8.2.1068
6810Problem: Vim9: no line break allowed inside a dict.
6811Solution: Handle line break inside a dict in Vim9 script.
6812Files: src/eval.c, src/dict.c, src/proto/dict.pro,
6813 src/vim9compile.c, src/testdir/test_vim9_expr.vim
6814
6815Patch 8.2.1069
6816Problem: Vim9: fail to check for white space in list.
6817Solution: Add check for white space.
6818Files: src/list.c
6819
6820Patch 8.2.1070
6821Problem: Vim9: leaking memory when lacking white space in dict.
6822Solution: Clear the typval.
6823Files: src/dict.c
6824
6825Patch 8.2.1071
6826Problem: Vim9: no line break allowed inside a lambda.
6827Solution: Handle line break inside a lambda in Vim9 script.
6828Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
6829 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
6830 src/ex_eval.c, src/globals.h, src/structs.h,
6831 src/testdir/test_vim9_expr.vim
6832
6833Patch 8.2.1072
6834Problem: Missing libvterm test.
6835Solution: Sync with libvterm revision 768.
6836Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
6837
6838Patch 8.2.1073
6839Problem: Vim9: no line break allowed in () expression.
6840Solution: Skip a line break.
6841Files: src/eval.c, src/testdir/test_vim9_expr.vim
6842
6843Patch 8.2.1074
6844Problem: Vim9: no line break allowed after some operators.
6845Solution: Skip a line break after the operator. Add
6846 eval_may_get_next_line() to simplify checking for a line break.
6847Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
6848 src/userfunc.c, src/testdir/test_vim9_expr.vim
6849
6850Patch 8.2.1075
6851Problem: Vim9: no line break allowed in :echo expression.
6852Solution: Skip linebreak.
6853Files: src/eval.c, src/testdir/test_vim9_cmd.vim
6854
6855Patch 8.2.1076
6856Problem: Vim9: no line break allowed in :if expression.
6857Solution: Skip linebreak.
6858Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
6859 src/testdir/test_vim9_cmd.vim
6860
6861Patch 8.2.1077
6862Problem: No enough test coverage for highlighting.
6863Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
6864Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
6865 src/testdir/test_highlight.vim, src/testdir/test_match.vim
6866
6867Patch 8.2.1078
6868Problem: Highlight and match functionality together in one file.
6869Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
6870 closes #6352)
6871Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
6872 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
6873 src/highlight.c, src/match.c, src/proto.h,
6874 src/proto/highlight.pro, src/proto/match.pro
6875
6876Patch 8.2.1079
6877Problem: Vim9: no line break allowed in a while loop.
6878Solution: Update stored loop lines when finding line breaks.
6879Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
6880 src/ex_docmd.c, src/proto/ex_docmd.pro,
6881 src/testdir/test_vim9_cmd.vim
6882
6883Patch 8.2.1080
6884Problem: Vim9: no line break allowed in a for loop.
6885Solution: Skip line breaks in for command.
6886Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
6887 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
6888
6889Patch 8.2.1081
6890Problem: Lua: cannot use table.insert() and table.remove().
6891Solution: Add the list functions. (Prabir Shrestha, closes #6353)
6892Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
6893
6894Patch 8.2.1082
6895Problem: Coverity complains about ignoring dict_add() return value.
6896Solution: Add (void).
6897Files: src/evalfunc.c
6898
6899Patch 8.2.1083
6900Problem: Crash when using reduce() on a NULL list.
6901Solution: Only access the list when not NULL.
6902Files: src/list.c, src/testdir/test_listdict.vim
6903
6904Patch 8.2.1084
6905Problem: Lua: registering function has useless code.
6906Solution: Remove clearing grow arrays.
6907Files: src/userfunc.c
6908
6909Patch 8.2.1085
6910Problem: Coverity complains about ignoring dict_add() return value.
6911Solution: Add (void).
6912Files: src/register.c
6913
6914Patch 8.2.1086
6915Problem: Possibly using freed memory when text properties used when
6916 changing indent of a line.
6917Solution: Compute the offset before calling ml_replace().
6918Files: src/indent.c
6919
6920Patch 8.2.1087
6921Problem: Possible memory leak when file expansion fails.
6922Solution: Clear the grow array when returning FAIL. Use an error message
6923 instead of an empty string.
6924Files: src/filepath.c
6925
6926Patch 8.2.1088
6927Problem: A very long translation might cause a buffer overflow.
6928Solution: Truncate the message if needed.
6929Files: src/fileio.c
6930
6931Patch 8.2.1089
6932Problem: Coverity warns for pointer computation.
6933Solution: Avoid computing a pointer to invalid memory.
6934Files: src/spellfile.c
6935
6936Patch 8.2.1090
6937Problem: May use NULL pointer when skipping over name.
6938Solution: Always set ll_name_end.
6939Files: src/eval.c
6940
6941Patch 8.2.1091
6942Problem: No check if opening a pty works.
6943Solution: Check for invalid file descriptor.
6944Files: src/os_unix.c
6945
6946Patch 8.2.1092
6947Problem: Not checking if saving for undo succeeds.
6948Solution: Bail out if u_savesub() returns FAIL.
6949Files: src/textprop.c
6950
6951Patch 8.2.1093
6952Problem: Python: double free when adding item to dict fails.
6953Solution: Remove vim_free() call.
6954Files: src/if_py_both.h
6955
6956Patch 8.2.1094
6957Problem: Dead code in libvterm.
6958Solution: Remove condition that is always true.
6959Files: src/libvterm/src/pen.c
6960
6961Patch 8.2.1095
6962Problem: May use pointer after freeing it when text properties are used.
6963Solution: Update redo buffer before calling ml_replace().
6964Files: src/spellsuggest.c
6965
6966Patch 8.2.1096
6967Problem: Vim9: return type of getqflist() is wrong.
6968Solution: Let the return type depend on the arguments. Also for
6969 getloclist(). (closes #6357)
6970Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6971
6972Patch 8.2.1097
6973Problem: Highlight code not sufficiently tested.
6974Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
6975Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
6976
6977Patch 8.2.1098
6978Problem: Vim9: cannot use line break in :throw argument.
6979Solution: Check for line break.
6980Files: src/eval.c, src/testdir/test_vim9_script.vim
6981
6982Patch 8.2.1099
6983Problem: Vim9: cannot use line break in :cexpr argument.
6984Solution: Check for line break.
6985Files: src/eval.c, src/testdir/test_vim9_script.vim
6986
6987Patch 8.2.1100
6988Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
6989 argument.
6990Solution: Check for line break.
6991Files: src/eval.c, src/testdir/test_vim9_script.vim
6992
6993Patch 8.2.1101
6994Problem: No error when using wrong arguments for setqflist() or
6995 setloclist().
6996Solution: Check for the error.
6997Files: src/quickfix.c, src/testdir/test_quickfix.vim
6998
6999Patch 8.2.1102
7000Problem: Coverity gets confused by an unnecessary NULL check.
7001Solution: Remove the check for NULL.
7002Files: src/quickfix.c
7003
7004Patch 8.2.1103
7005Problem: Coverity reports an unnecessary NULL check.
7006Solution: Remove the check for NULL.
7007Files: src/eval.c
7008
7009Patch 8.2.1104
7010Problem: Coverity warns for possible NULL pointer use.
7011Solution: Check "pbyts" is not NULL.
7012Files: src/spellsuggest.c
7013
7014Patch 8.2.1105
7015Problem: Insufficient test coverage for Lua.
7016Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7017 memory leak. Avoid unnecessary copy/free.
7018Files: src/if_lua.c, src/testdir/test_lua.vim
7019
7020Patch 8.2.1106
7021Problem: Crash when trying to use s: variable in typed command.
7022Solution: Don't use the script index when not set. (Ken Takata,
7023 closes #6366)
7024Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7025
7026Patch 8.2.1107
7027Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7028Solution: Adjust the #ifdefs. (closes #6367)
7029Files: runtime/doc/options.txt, src/gui_xim.c,
7030 src/testdir/test_iminsert.vim
7031
7032Patch 8.2.1108
7033Problem: Mouse left-right scroll is not supported in terminal window.
7034Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7035Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7036 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7037
7038Patch 8.2.1109 (after 8.2.1106)
7039Problem: Still crashing when using s:variable.
7040Solution: Remove assignment. (Ken Takata)
7041Files: src/vim9compile.c
7042
7043Patch 8.2.1110
7044Problem: Vim9: line continuation does not work in function arguments.
7045Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7046 as comment.
7047Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7048 src/list.c, src/dict.c, src/proto/eval.pro,
7049 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7050
7051Patch 8.2.1111
7052Problem: Inconsistent naming of get_list_tv() and eval_dict().
7053Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7054 eval_string(), eval_lit_string() and a few others.
7055Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7056 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7057 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7058 src/vim9execute.c
7059
7060Patch 8.2.1112
7061Problem: Vim9: no line continuation allowed in method call.
7062Solution: Handle line continuation in expression before method call.
7063Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7064 src/testdir/test_vim9_script.vim,
7065 src/testdir/test_vim9_expr.vim
7066
7067Patch 8.2.1113
7068Problem: No test for verbose output of :call.
7069Solution: Add a test.
7070Files: src/testdir/test_user_func.vim
7071
7072Patch 8.2.1114
7073Problem: Terminal test sometimes times out.
7074Solution: Split the test in two parts.
7075Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7076 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7077 src/testdir/test_terminal2.vim
7078
7079Patch 8.2.1115
7080Problem: Iminsert test fails when compiled with VIMDLL.
7081Solution: Change condition. (Ken Takata, closes #6376)
7082Files: src/testdir/test_iminsert.vim
7083
7084Patch 8.2.1116
7085Problem: Vim9: parsing command checks for list twice.
7086Solution: Adjust how a command is parsed.
7087Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7088
7089Patch 8.2.1117
7090Problem: Coverity warns for using uninitialized field.
7091Solution: Initialize v_lock.
7092Files: src/if_lua.c
7093
7094Patch 8.2.1118
7095Problem: Condition can never be true, dead code.
7096Solution: Remove the dead code.
7097Files: src/move.c
7098
7099Patch 8.2.1119
7100Problem: Configure fails with Xcode 12 beta.
7101Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7102Files: src/configure.ac, src/auto/configure
7103
7104Patch 8.2.1120
7105Problem: Python code not tested properly.
7106Solution: Add more tests and convert old-style test into new-style test.
7107 (Yegappan Lakshmanan, closes #6370)
7108Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7109 src/testdir/test86.in, src/testdir/test86.ok,
7110 src/testdir/test_python2.vim
7111
7112Patch 8.2.1121
7113Problem: Command completion not working after ++arg.
7114Solution: Move skipping up. (Christian Brabandt, closes #6382)
7115Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7116
7117Patch 8.2.1122
7118Problem: Vim9: line continuation in dict member not recognized.
7119Solution: Check for line continuation.
7120Files: src/eval.c, src/testdir/test_vim9_expr.vim
7121
7122Patch 8.2.1123
7123Problem: Python 3 test is old style.
7124Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7125Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7126 src/testdir/test87.in, src/testdir/test87.ok,
7127 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7128
7129Patch 8.2.1124
7130Problem: Vim9: no line break allowed in :import command.
7131Solution: Skip over line breaks.
7132Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7133 src/testdir/test_vim9_script.vim
7134
7135Patch 8.2.1125
7136Problem: Vim9: double quote can be a string or a comment.
7137Solution: Only support comments starting with # to avoid confusion.
7138Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7139 src/vim9script.c
7140
7141Patch 8.2.1126
7142Problem: Vim9: using :copen causes an error.
7143Solution: Add flag LET_NO_COMMAND in set_var().
7144Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7145
7146Patch 8.2.1127
7147Problem: Vim9: getting a dict member may not work.
7148Solution: Clear the dict only after copying the item. (closes #6390)
7149Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7150
7151Patch 8.2.1128
7152Problem: The write message mentions characters, but it's actually bytes.
7153Solution: Change "C" to "B" and "characters" to "bytes".
7154Files: runtime/doc/options.txt, src/fileio.c,
7155 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7156 src/testdir/dumps/Test_diff_syntax_1.dump,
7157 src/testdir/dumps/Test_long_file_name_1.dump,
7158 src/testdir/dumps/Test_display_unprintable_01.dump,
7159 src/testdir/dumps/Test_tselect_1.dump
7160
7161Patch 8.2.1129
7162Problem: Vim9: bar not recognized after not compiled command.
7163Solution: Check for bar for commands where this is possible. (closes #6391)
7164Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7165
7166Patch 8.2.1130
7167Problem: Vim9: bar not recognized after function call
7168Solution: Skip whitespace. (closes #6391)
7169Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7170
7171Patch 8.2.1131
7172Problem: Vim9: error message for returning a value in a function that does
7173 not return anything is not clear.
7174Solution: Add a specific message.
7175Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7176
7177Patch 8.2.1132
7178Problem: Vim9: return type of repeat() is not specific enough.
7179Solution: Return the type of the first argument. (closes #6395)
7180Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7181
7182Patch 8.2.1133
7183Problem: Vim9: return type of add() is not specific enough.
7184Solution: Return the type of the first argument. (closes #6395)
7185Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7186
7187Patch 8.2.1134
7188Problem: Vim9: getting a list member may not work.
7189Solution: Clear the list only after copying the item. (closes #6393)
7190Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7191
7192Patch 8.2.1135
7193Problem: Vim9: getting a dict member may not work.
7194Solution: Clear the dict only after copying the item.
7195Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7196
7197Patch 8.2.1136
7198Problem: Vim9: return type of argv() is always any.
7199Solution: Use list<string> if there is no argument.
7200Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7201
7202Patch 8.2.1137
7203Problem: Vim9: modifiers not cleared after compiling function.
7204Solution: Clear command modifiers. (closes #6396)
7205Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7206 src/testdir/test_vim9_func.vim,
7207 src/testdir/dumps/Test_vim9_silent_echo.dump
7208
7209Patch 8.2.1138
7210Problem: Vim9: return type of copy() and deepcopy() is any.
7211Solution: Use type of the argument.
7212Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7213
7214Patch 8.2.1139 (after 8.2.1137)
7215Problem: Vim9: test for silent echo fails in some environments.
7216Solution: Use :function instead of :def.
7217Files: src/testdir/test_vim9_func.vim
7218
7219Patch 8.2.1140
7220Problem: Vim9: return type of extend() is any.
7221Solution: Use type of the argument.
7222Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7223
7224Patch 8.2.1141
7225Problem: Vim9: return type of filter() is any.
7226Solution: Use type of the argument.
7227Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7228
7229Patch 8.2.1142
7230Problem: Vim9: return type of insert() is any.
7231Solution: Use type of the first argument.
7232Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7233
7234Patch 8.2.1143
7235Problem: Vim9: return type of remove() is any.
7236Solution: Use the member type of the first argument, if known.
7237Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7238
7239Patch 8.2.1144
7240Problem: Vim9: return type of reverse() is any.
7241Solution: Use the type of the first argument.
7242Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7243
7244Patch 8.2.1145
7245Problem: Vim9: "for" only accepts a list at compile time.
7246Solution: Also accept a list at runtime.
7247Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7248 src/testdir/test_vim9_disassemble.vim
7249
7250Patch 8.2.1146
7251Problem: Not enough testing for Python.
7252Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7253 closes #6392)
7254Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7255 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7256
7257Patch 8.2.1147
7258Problem: :confirm may happen in cooked mode. (Jason Franklin)
7259Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7260Files: src/message.c, src/testdir/test_excmd.vim
7261
7262Patch 8.2.1148
7263Problem: Warning for using int instead of size_t.
7264Solution: Change "len" argument to size_t. (Mike Williams)
7265Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7266
7267Patch 8.2.1149
7268Problem: Vim9: :eval command not handled properly.
7269Solution: Compile the :eval command. (closes #6408)
7270Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7271
7272Patch 8.2.1150
7273Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7274Solution: Check the line number is not out of range. Call "Check" with
7275 "fromObj" instead of "from".
7276Files: src/if_py_both.h, src/testdir/test_python2.vim,
7277 src/testdir/test_python3.vim
7278
7279Patch 8.2.1151
7280Problem: Insufficient test coverage for Python.
7281Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7282Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7283
7284Patch 8.2.1152
7285Problem: Vim9: function reference is missing script prefix.
7286Solution: Use the actual function name instead of the name searched for in
7287 the script context. (closes #6412)
7288Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7289
7290Patch 8.2.1153
7291Problem: Vim9: script test fails on some systems.
7292Solution: Return proper value from Compare().
7293Files: src/testdir/test_vim9_script.vim
7294
7295Patch 8.2.1154
7296Problem: Vim9: crash when using imported function.
7297Solution: Check for a function type. Set the script context when calling a
7298 function. (closes #6412)
7299Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7300 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7301
7302Patch 8.2.1155
7303Problem: Vim9: cannot handle line break inside lambda.
7304Solution: Pass the compilation context through. (closes #6407, closes #6409)
7305Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7306 src/eval.c, src/testdir/test_vim9_func.vim
7307
7308Patch 8.2.1156
7309Problem: Vim9: No error for invalid command in compiled function.
7310Solution: Handle CMD_SIZE.
7311Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7312
7313Patch 8.2.1157
7314Problem: Vim9: dict.name is not recognized as an expression.
7315Solution: Recognize ".name". (closes #6418)
7316Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7317
7318Patch 8.2.1158 (after 8.2.1155)
7319Problem: Build error.
7320Solution: Add missing change to globals.
7321Files: src/globals.h
7322
7323Patch 8.2.1159
7324Problem: Vim9: no error for missing space after a comma.
7325Solution: Check for white space.
7326Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7327 src/testdir/test_vim9_script.vim
7328
7329Patch 8.2.1160
7330Problem: Vim9: memory leak in allocated types.
7331Solution: Free the type pointers.
7332Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7333 src/proto/vim9compile.pro
7334
7335Patch 8.2.1161
7336Problem: Vim9: using freed memory.
7337Solution: Put pointer back in evalarg instead of freeing it.
7338Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7339 src/structs.h
7340
7341Patch 8.2.1162
7342Problem: Crash when using a lambda.
7343Solution: Check for evalarg to be NULL.
7344Files: src/userfunc.c
7345
7346Patch 8.2.1163 (after 8.2.1161)
7347Problem: Build error.
7348Solution: Add missing change to globals.
7349Files: src/globals.h
7350
7351Patch 8.2.1164
7352Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7353 Radkov)
7354Solution: Mark the screen characters as invalid. (closes #6422)
7355Files: src/screen.c, src/proto/screen.pro, src/term.c
7356
7357Patch 8.2.1165
7358Problem: Insufficient testing for the Tcl interface.
7359Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7360Files: src/testdir/test_tcl.vim
7361
7362Patch 8.2.1166
7363Problem: Once mouse move events are enabled getchar() returns them.
7364Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7365Files: runtime/doc/eval.txt, src/getchar.c
7366
7367Patch 8.2.1167
7368Problem: Vim9: builtin function method call only supports first argument.
7369Solution: Shift arguments when needed. (closes #6305, closes #6419)
7370Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7371 src/vim9.h, src/testdir/test_vim9_expr.vim,
7372 src/testdir/test_vim9_disassemble.vim
7373
7374Patch 8.2.1168
7375Problem: Wrong method argument for appendbufline().
7376Solution: Use FEARG_3.
7377Files: src/evalfunc.c
7378
7379Patch 8.2.1169
7380Problem: Write NUL past allocated space using corrupted spell file.
7381 (Markus Vervier)
7382Solution: Init "c" every time.
7383Files: src/spellfile.c
7384
7385Patch 8.2.1170
7386Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7387Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7388Files: src/register.c, src/testdir/test_registers.vim
7389
7390Patch 8.2.1171
7391Problem: Possible crash when out of memory.
7392Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7393Files: src/syntax.c
7394
7395Patch 8.2.1172
7396Problem: Error messages when doing "make clean" in the runtime/doc or
7397 src/tee directories.
7398Solution: Use "rm -f".
7399Files: runtime/doc/Makefile, src/tee/Makefile
7400
7401Patch 8.2.1173
7402Problem: Tee doesn't build on some systems.
7403Solution: Include header files. (Dominique Pelle, closes #6431)
7404Files: src/tee/tee.c
7405
7406Patch 8.2.1174
7407Problem: No test for the "recording @x" message.
7408Solution: Add a test. (Dominique Pellé, closes #6427)
7409Files: src/testdir/test_registers.vim
7410
7411Patch 8.2.1175
7412Problem: Vim9: Cannot split a line before ".member".
7413Solution: Check for ".member" after line break.
7414Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7415
7416Patch 8.2.1176
7417Problem: Vim9: not enough type checking in Vim9 script.
7418Solution: Use same type checking as in a :def function.
7419Files: src/vim9compile.c, src/proto/vim9compile.pro,
7420 src/eval.c, src/testdir/test_vim9_expr.vim
7421
7422Patch 8.2.1177
7423Problem: Terminal2 test sometimes hangs in the GUI.
7424Solution: Move some tests to other files to further locate the problem.
7425 Set the GUI to a fixed screen size.
7426Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7427 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7428 src/testdir/runtest.vim
7429
7430Patch 8.2.1178
7431Problem: Vim9: filter function recognized as command modifier, leading to a
7432 crash.
7433Solution: Clear cmdmod after freeing items. Do not recognize a command
7434 modifier followed by non-white space. (closes #6434)
7435Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7436
7437Patch 8.2.1179
7438Problem: Test_termwinscroll() sometimes hangs in the GUI.
7439Solution: Skip the test in the GUI.
7440Files: src/testdir/test_terminal2.vim
7441
7442Patch 8.2.1180
7443Problem: Build failure in small version.
7444Solution: Add #ifdef.
7445Files: src/ex_docmd.c
7446
7447Patch 8.2.1181
7448Problem: Json code not fully tested.
7449Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7450Files: src/testdir/test_json.vim
7451
7452Patch 8.2.1182
7453Problem: Vim9: no check for whitespace after comma in lambda.
7454Solution: Give error if white space is missing.
7455Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7456 src/testdir/test_vim9_func.vim
7457
7458Patch 8.2.1183
7459Problem: assert_fails() checks the last error message.
7460Solution: Check the first error, it is more relevant. Fix all the tests
7461 that rely on the old behavior.
7462Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7463 src/testing.c, src/testdir/test_autocmd.vim,
7464 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7465 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7466 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7467 src/testdir/test_cscope.vim, src/if_cscope.c,
7468 src/testdir/test_excmd.vim, src/evalvars.c,
7469 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7470 src/testdir/test_json.vim, src/testdir/test_let.vim,
7471 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7472 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7473 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7474 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7475 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7476 src/testdir/test_random.vim, src/testdir/test_search.vim,
7477 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7478 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7479 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7480 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7481 src/testdir/test_trycatch.vim,
7482 src/testdir/test_vim9_disassemble.vim,
7483 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7484 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7485 src/testdir/test_winbuf_close.vim,
7486 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7487 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7488 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7489
7490Patch 8.2.1184 (after 8.2.1183)
7491Problem: Some tests fail.
7492Solution: Adjust tests for different assert_fails() behavior. Remove unused
7493 variable.
7494Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7495 src/evalvars.c
7496
7497Patch 8.2.1185 (after 8.2.1183)
7498Problem: Some other tests fail.
7499Solution: Adjust tests for different assert_fails() behavior.
7500Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7501
7502Patch 8.2.1186
7503Problem: With SGR mouse codes balloon doesn't show up after click.
7504Solution: Add the MOUSE_RELEASE bits to mouse_code.
7505Files: src/mouse.c
7506
7507Patch 8.2.1187
7508Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7509Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7510Files: src/testdir/test_terminal2.vim
7511
7512Patch 8.2.1188
7513Problem: Memory leak with invalid json input.
7514Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7515 closes #6442)
7516Files: src/json.c, src/testdir/test_json.vim
7517
7518Patch 8.2.1189
7519Problem: Vim9: line continuation in lambda doesn't always work.
7520Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7521Files: src/eval.c, src/testdir/test_vim9_expr.vim
7522
7523Patch 8.2.1190
7524Problem: Vim9: checking for Vim9 syntax is spread out.
7525Solution: Use in_vim9script().
7526Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7527 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7528
7529Patch 8.2.1191
7530Problem: Vim9: crash when function calls itself.
7531Solution: Add status UF_COMPILING. (closes #6441)
7532Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7533
7534Patch 8.2.1192
7535Problem: Lua test fails with older Lua version.
7536Solution: Adjust expected error messages. (closes #6444)
7537Files: src/testdir/test_lua.vim
7538
7539Patch 8.2.1193
7540Problem: Terminal window not redrawn when dragging a popup window over it.
7541Solution: Redraw terminal window. (fixes #6438)
7542Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7543 src/testdir/dumps/Test_popupwin_term_01.dump,
7544 src/testdir/dumps/Test_popupwin_term_02.dump
7545
7546Patch 8.2.1194
7547Problem: Test failure because shell prompt differs.
7548Solution: Set the shell prompt.
7549Files: src/testdir/test_popupwin.vim,
7550 src/testdir/dumps/Test_popupwin_term_01.dump,
7551 src/testdir/dumps/Test_popupwin_term_02.dump
7552
7553Patch 8.2.1195
7554Problem: Clientserver test fails on MS-Windows.
7555Solution: Expect a different error message.
7556Files: src/testdir/test_clientserver.vim
7557
7558Patch 8.2.1196
7559Problem: Build failure with normal features.
7560Solution: Add #ifdef.
7561Files: src/popupwin.c
7562
7563Patch 8.2.1197
7564Problem: Clientserver test still fails on MS-Windows.
7565Solution: Expect a different error message.
7566Files: src/testdir/test_clientserver.vim
7567
7568Patch 8.2.1198
7569Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7570Solution: Move test function to terminal3 to see if the problem moves too.
7571Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7572
7573Patch 8.2.1199
7574Problem: Not all assert functions are fully tested.
7575Solution: Test more assert functions.
7576Files: src/testing.c, src/testdir/test_assert.vim
7577
7578Patch 8.2.1200
7579Problem: Vim9: cannot disassemble a lambda function.
7580Solution: Recognize "<lambda>123" as a function name.
7581Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7582
7583Patch 8.2.1201
7584Problem: Vim9: crash when passing number as dict key.
7585Solution: Check key type to be string. (closes #6449)
7586Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7587
7588Patch 8.2.1202
7589Problem: Vim9: crash when calling a closure from a builtin function.
7590Solution: Use the current execution context. (closes #6441)
7591Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7592
7593Patch 8.2.1203
7594Problem: Unused assignments in expression evaluation.
7595Solution: Move declarations and assignments to inner blocks where possible.
7596Files: src/eval.c
7597
7598Patch 8.2.1204
7599Problem: Vim9: true and false not recognized in Vim9 script.
7600Solution: Recognize true and false.
7601Files: src/eval.c, src/testdir/test_vim9_expr.vim
7602
7603Patch 8.2.1205
7604Problem: Vim9: && and || work differently when not compiled.
7605Solution: Keep the value.
7606Files: src/eval.c, src/testdir/test_vim9_expr.vim
7607
7608Patch 8.2.1206
7609Problem: Vim9: crash in expr test when run in the GUI.
7610Solution: Temporarily comment out two test lines.
7611Files: src/testdir/test_vim9_expr.vim
7612
7613Patch 8.2.1207
7614Problem: Vim9: crash in expr test when run in the GUI.
7615Solution: Break out of loop over hashtab also when function got removed and
7616 added.
7617Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7618
7619Patch 8.2.1208
7620Problem: Build failure.
7621Solution: Add missing change.
7622Files: src/structs.h
7623
7624Patch 8.2.1209
7625Problem: Vim9: test failure.
7626Solution: Add missing changes to hashtab.
7627Files: src/hashtab.c
7628
7629Patch 8.2.1210
7630Problem: Using ht_used when looping through a hashtab is less reliable.
7631Solution: Use ht_changed in a few more places.
7632Files: src/userfunc.c, src/if_py_both.h
7633
7634Patch 8.2.1211 (after 8.2.1118)
7635Problem: Removed more than dead code.
7636Solution: Put back the decrement.
7637Files: src/move.c, src/testdir/test_diffmode.vim
7638
7639Patch 8.2.1212
7640Problem: Cannot build with Lua 5.4.
7641Solution: Use luaL_typeerror instead defining it. (closes #6454)
7642Files: src/if_lua.c
7643
7644Patch 8.2.1213
7645Problem: Mouse codes not tested sufficiently.
7646Solution: Add more tests for mouse codes. (closes #6436)
7647Files: src/testdir/test_termcodes.vim
7648
7649Patch 8.2.1214
7650Problem: MS-Windows: default _vimrc not correct in silent install mode.
7651Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7652Files: nsis/gvim.nsi
7653
7654Patch 8.2.1215
7655Problem: Atari MiNT support is outdated.
7656Solution: Nobody responded this code is still useful, so let's delete it.
7657Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7658 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7659 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7660 src/INSTALL
7661
7662Patch 8.2.1216
7663Problem: Startup test fails.
7664Solution: Adjust expected values for deleted lines.
7665Files: src/testdir/test_startup.vim
7666
7667Patch 8.2.1217
7668Problem: Startup test depends on random source file.
7669Solution: Write a test file to find quickfix errors in.
7670Files: src/testdir/test_startup.vim
7671
7672Patch 8.2.1218
7673Problem: Vim9: cannot use 'text'->func().
7674Solution: Recognize string at start of command.
7675Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7676
7677Patch 8.2.1219
7678Problem: Symlink not followed if dirname ends in //.
7679Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7680Files: src/memline.c, src/testdir/test_swap.vim
7681
7682Patch 8.2.1220
7683Problem: memory access error when dragging a popup window over a buffer
7684 with folding.
7685Solution: Avoid going over the end of the cache. (closes #6438)
7686Files: src/mouse.c, src/testdir/test_popupwin.vim,
7687 src/testdir/dumps/Test_popupwin_term_01.dump,
7688 src/testdir/dumps/Test_popupwin_term_02.dump,
7689 src/testdir/dumps/Test_popupwin_term_03.dump,
7690 src/testdir/dumps/Test_popupwin_term_04.dump
7691
7692Patch 8.2.1221
7693Problem: Memory leak when updating popup window.
7694Solution: Clear search highlighting.
7695Files: src/popupwin.c
7696
7697Patch 8.2.1222
7698Problem: When using valgrind a Vim command started by a test uses the same
7699 log file name which gets overwritten.
7700Solution: Fix regexp to rename the log file.
7701Files: src/testdir/shared.vim
7702
7703Patch 8.2.1223
7704Problem: Vim9: invalid type error for function default value.
7705Solution: Use right argument index. (closes #6458)
7706Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7707
7708Patch 8.2.1224
7709Problem: Vim9: arguments from partial are not used.
7710Solution: Put the partial arguments on the stack. (closes #6460)
7711Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7712
7713Patch 8.2.1225
7714Problem: Linker errors when building with dynamic Python 3.9.
7715Solution: Add #defined items. (closes #6461)
7716Files: src/if_python3.c
7717
7718Patch 8.2.1226
7719Problem: MS-Windows: windows positioning wrong when the taskbar is placed
7720 at the top or left of the screen.
7721Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
7722 Ken Takata, closes #6455)
7723Files: src/gui_w32.c
7724
7725Patch 8.2.1227
7726Problem: Vim9: allowing both quoted and # comments is confusing.
7727Solution: Only support # comments in Vim9 script.
7728Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
7729 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
7730 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
7731 src/testdir/test_vim9_script.vim
7732
7733Patch 8.2.1228
7734Problem: Scrollbars not flush against the window edges when maximised.
7735Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
7736Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
7737 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
7738 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
7739 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
7740 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
7741 src/proto/gui_w32.pro
7742
7743Patch 8.2.1229
7744Problem: Build error without the eval feature.
7745Solution: Declare starts_with_colon. Make function local.
7746Files: src/ex_docmd.c, src/proto/ex_docmd.pro
7747
7748Patch 8.2.1230
7749Problem: Vim9: list index error not caught by try/catch.
7750Solution: Do not bail out if an error is inside try/catch. (closes #6462)
7751Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7752
7753Patch 8.2.1231
7754Problem: MS-Windows: GUI code can be cleaned up.
7755Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
7756Files: src/gui_w32.c, src/proto/gui_w32.pro
7757
7758Patch 8.2.1232
7759Problem: MS-Windows GUI: Snap cancelled by split command.
7760Solution: Do not cancel Snap when splitting a window. (Ken Takata,
7761 closes #6467)
7762Files: src/gui_w32.c
7763
7764Patch 8.2.1233
7765Problem: Vim9: various errors not caught by try/catch.
7766Solution: Do not bail out if an error is inside try/catch.
7767Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7768
7769Patch 8.2.1234
7770Problem: Lua build problem with old compiler.
7771Solution: Move declarations to start of the block. (Taro Muraoka,
7772 closes #6477)
7773Files: src/if_lua.c
7774
7775Patch 8.2.1235
7776Problem: Not all mouse codes covered by tests.
7777Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
7778Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7779
7780Patch 8.2.1236
7781Problem: Vim9: a few errors not caught by try/catch.
7782Solution: Do not bail out if an error is inside try/catch. Fix that a not
7783 matching catch doesn't jump to :endtry.
7784Files: src/vim9compile.c, src/vim9execute.c,
7785 src/testdir/test_vim9_script.vim
7786
7787Patch 8.2.1237
7788Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
7789 Sitter)
7790Solution: Close the popup when the options are changed. (closes #6471)
7791Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
7792 src/optionstr.c, src/testdir/test_popupwin.vim,
7793 src/testdir/dumps/Test_popupwin_infopopup_8.dump
7794
7795Patch 8.2.1238
7796Problem: Vim9: a few remaining errors not caught by try/catch.
7797Solution: Do not bail out if an error is inside try/catch.
7798Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7799
7800Patch 8.2.1239
7801Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
7802Solution: Add separate field for value from option. (closes #6470)
7803Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
7804 src/testdir/dumps/Test_popupwin_infopopup_9.dump
7805
7806Patch 8.2.1240
7807Problem: GUI tests sometimes fail because of translations.
7808Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
7809Files: src/testdir/runtest.vim
7810
7811Patch 8.2.1241
7812Problem: Cannot use getbufinfo() as a method.
7813Solution: Support using getbufinfo() as a method. (closes #6458)
7814Files: runtime/doc/eval.txt, src/evalfunc.c,
7815 src/testdir/test_bufwintabinfo.vim
7816
7817Patch 8.2.1242
7818Problem: Vim9: no error if calling a function with wrong argument type.
7819Solution: Check types of arguments. (closes #6469)
7820Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
7821 src/testdir/test_vim9_func.vim
7822
7823Patch 8.2.1243
7824Problem: Vim9: cannot have a comment or empty line halfway a list at script
7825 level.
7826Solution: Skip more than one line if needed.
7827Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
7828 src/scriptfile.c
7829
7830Patch 8.2.1244
7831Problem: Vim9: in lambda index assumes a list.
7832Solution: Use the value type to decide about list or dict. (closes #6479)
7833Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7834
7835Patch 8.2.1245
7836Problem: Build failure in tiny version.
7837Solution: Add #ifdef.
7838Files: src/scriptfile.c
7839
7840Patch 8.2.1246
7841Problem: Vim9: comment after assignment doesn't work.
7842Solution: Skip over white space. (closes #6481)
7843Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7844
7845Patch 8.2.1247
7846Problem: Vim9: cannot index a character in a string.
7847Solution: Add ISN_STRINDEX instruction. (closes #6478)
7848Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
7849 src/testdir/test_vim9_expr.vim
7850
7851Patch 8.2.1248
7852Problem: Netbeans test is flaky in the GUI.
7853Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
7854Files: src/testdir/test_netbeans.vim
7855
7856Patch 8.2.1249
7857Problem: Vim9: disassemble test fails.
7858Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
7859Files: src/testdir/test_vim9_disassemble.vim
7860
7861Patch 8.2.1250
7862Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
7863Solution: Add instructions to push a dict for the namespaces. (closes #6480)
7864Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
7865 src/testdir/test_vim9_disassemble.vim,
7866 src/testdir/test_vim9_expr.vim
7867
7868Patch 8.2.1251
7869Problem: Vim9: warning for pointer usage, test failure undetected.
7870Solution: Fix pointer indirection. Give error when executing function
7871 failed for any reason. Fix instruction names.
7872Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
7873
7874Patch 8.2.1252
7875Problem: ":marks" may show '< and '> mixed up.
7876Solution: Show the mark position as where '< and '> would jump.
7877Files: src/mark.c, src/testdir/test_marks.vim
7878
7879Patch 8.2.1253
7880Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
7881 Puntaier)
7882Solution: Do not reset did_cursorhold, restore it. (closes #6447)
7883Files: src/normal.c
7884
7885Patch 8.2.1254
7886Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
7887Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
7888Files: src/testdir/test_regexp_utf8.vim
7889
7890Patch 8.2.1255
7891Problem: Cannot use a lambda with quickfix functions.
7892Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
7893Files: runtime/doc/eval.txt, runtime/doc/options.txt,
7894 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
7895 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
7896 src/quickfix.c, src/testdir/test_quickfix.vim
7897
7898Patch 8.2.1256
7899Problem: Vim9: type wrong after getting dict item in lambda.
7900Solution: Set the type to "any" after enforcing dict type. (closes #6491)
7901Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7902
7903Patch 8.2.1257
7904Problem: Vim9: list unpack doesn't work at the script level.
7905Solution: Detect unpack assignment better. (closes #6494)
7906Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
7907
7908Patch 8.2.1258 (after 8.2.1253)
7909Problem: CursorHold does not work well.a (Shane-XB-Qian)
7910Solution: Only restore did_cursorhold when using :normal.
7911Files: src/normal.c
7912
7913Patch 8.2.1259
7914Problem: Empty group in 'tabline' may cause using an invalid pointer.
7915Solution: Set the group start position. (closes #6505)
7916Files: src/buffer.c, src/testdir/test_tabline.vim
7917
7918Patch 8.2.1260
7919Problem: There is no good test for CursorHold.
7920Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
7921 closes #6503)
7922Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
7923 src/testdir/test_normal.vim
7924
7925Patch 8.2.1261
7926Problem: Vim9: common type of function not tested.
7927Solution: Add a test. Fix uncovered problems.
7928Files: src/vim9compile.c, src/vim9execute.c,
7929 src/testdir/test_vim9_expr.vim
7930
7931Patch 8.2.1262
7932Problem: src/ex_cmds.c file is too big.
7933Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
7934 closes #6506)
7935Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7936 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7937 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
7938 src/proto/ex_cmds.pro, src/proto/help.pro
7939
7940Patch 8.2.1263
7941Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
7942Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
7943 (closes #6497)
7944Files: src/eval.c, src/typval.c, src/vim9execute.c,
7945 src/testdir/test_vim9_expr.vim
7946
7947Patch 8.2.1264
7948Problem: Terminal getwinpos() test is a bit flaky.
7949Solution: Call getwinpos() a bit later.
7950Files: src/testdir/test_terminal3.vim
7951
7952Patch 8.2.1265
7953Problem: Crash with EXITFREE when split() fails.
7954Solution: Restore 'cpoptions'.
7955Files: src/evalfunc.c
7956
7957Patch 8.2.1266 (after 8.2.1262)
7958Problem: Makefile preference were accidentally included.
7959Solution: Revert the Makefile changes.
7960Files: src/Makefile
7961
7962Patch 8.2.1267
7963Problem: MS-Windows: tests may fail due to $PROMPT value.
7964Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
7965Files: src/testdir/runtest/vim
7966
7967Patch 8.2.1268
7968Problem: Vim9: no error for using double quote comment after :func or :def.
7969Solution: Only accept double quote when not in Vim9 script and not after
7970 :def. (closes #6483)
7971Files: src/userfunc.c, src/testdir/test_vim9_script.vim
7972
7973Patch 8.2.1269
7974Problem: Language and locale code spread out.
7975Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
7976 closes #6509)
7977Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7978 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7979 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
7980 src/proto/ex_cmds2.pro, src/proto/locale.pro
7981
7982Patch 8.2.1270
7983Problem: Vim9: not skipping over function type declaration with only a
7984 return type.
7985Solution: Skip over the return type. (issue #6507)
7986Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7987
7988Patch 8.2.1271
7989Problem: Vim9: Error for Funcref function argument type.
7990Solution: Find the actual function type if possible. (issue #6507)
7991Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7992
7993Patch 8.2.1272
7994Problem: Vim9: type not checked if declaration also assigns value.
7995Solution: Check the type. (issue #6507)
7996Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
7997 src/vim9script.c, src/vim9execute.c,
7998 src/testdir/test_vim9_script.vim
7999
8000Patch 8.2.1273
8001Problem: MS-Windows: terminal test may leave file behind.
8002Solution: Wait a moment for process to end before deleting the file.
8003 (Taro Muraoka, closes #6513)
8004Files: src/testdir/test_terminal.vim
8005
8006Patch 8.2.1274
8007Problem: Vim9: no error for missing white space in assignment at script
8008 level.
8009Solution: Check for white space. (closes #6495)
8010Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8011 src/testdir/test_let.vim
8012
8013Patch 8.2.1275
8014Problem: Vim9: compiler warning for buffer size.
8015Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8016Files: src/vim9script.c
8017
8018Patch 8.2.1276
8019Problem: MS-Windows: system test may fail if more.exe is installed.
8020Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8021Files: src/testdir/test_system.vim
8022
8023Patch 8.2.1277
8024Problem: Tests on Travis do not run with EXITFREE.
8025Solution: Add EXITFREE to all builds to uncover any mistakes.
8026Files: .travis.yml
8027
8028Patch 8.2.1278
8029Problem: Vim9: line break after "->" only allowed in :def function.
8030Solution: Only allow line break after "->". (closes #6492)
8031Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8032
8033Patch 8.2.1279
8034Problem: Some tests on Travis have EXITFREE duplicated.
8035Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8036Files: .travis.yml
8037
8038Patch 8.2.1280
8039Problem: Ex command error cannot contain an argument.
8040Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8041 possible.
8042Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8043 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8044
8045Patch 8.2.1281
8046Problem: The "trailing characters" error can be hard to understand.
8047Solution: Add the trailing characters to the message.
8048Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8049 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8050 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8051
8052Patch 8.2.1282
8053Problem: Vim9: crash when using CheckScriptFailure() in
8054 Test_vim9script_call_fail_decl().
8055Solution: Do not decrement the def_functions len unless the function was
8056 newly added.
8057Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8058
8059Patch 8.2.1283
8060Problem: Vim9: error for misplaced -> lacks argument.
8061Solution: Use the pointer before it was advanced.
8062Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8063
8064Patch 8.2.1284
8065Problem: Vim9: skipping over type includes following white space, leading
8066 to an error for missing white space.
8067Solution: Do not skip over white space after the type.
8068Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8069
8070Patch 8.2.1285
8071Problem: Vim9: argument types are not checked on assignment.
8072Solution: Check function argument types. (issue #6507)
8073Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8074
8075Patch 8.2.1286
8076Problem: Vim9: No error when using a type on a window variable
8077Solution: Recognize the syntax and give an error. (closes #6521)
8078Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8079
8080Patch 8.2.1287
8081Problem: Vim9: crash when using an imported function.
8082Solution: Add the function type to the imported entry. (closes #6522)
8083Files: src/vim9script.c, src/vim9compile.c,
8084 src/testdir/test_vim9_script.vim
8085
8086Patch 8.2.1288
8087Problem: Vim9: cannot use mark in range.
8088Solution: Use the flag that a colon was seen. (closes #6528)
8089Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8090
8091Patch 8.2.1289
8092Problem: Crash when using a custom completion function.
8093Solution: Initialize all of the expand_T. (closes #6532)
8094Files: src/cmdexpand.c
8095
8096Patch 8.2.1290
8097Problem: Vim9: cannot replace a global function.
8098Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8099 :delfunc on a :def function only made it empty.
8100Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8101
8102Patch 8.2.1291
8103Problem: Vim9: type of varargs items is not checked.
8104Solution: Check the list item types. (closes #6523)
8105Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8106
8107Patch 8.2.1292
8108Problem: AIDL filetype not recognized.
8109Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8110Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8111
8112Patch 8.2.1293
8113Problem: Vim9: :execute mixes up () expression and function call.
8114Solution: Do not skip white space when looking for the "(". (closes #6531)
8115Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8116
8117Patch 8.2.1294
8118Problem: Vim9: error when using vim9script in TextYankPost.
8119Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8120 be used when text is locked. (closes #6529)
8121Files: src/ex_cmds.h, src/ex_docmd.c
8122
8123Patch 8.2.1295
8124Problem: Tests 44 and 99 are old style.
8125Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8126Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8127 src/testdir/test44.in, src/testdir/test44.ok,
8128 src/testdir/test99.in, src/testdir/test99.ok,
8129 src/testdir/test_regexp_utf8.vim
8130
8131Patch 8.2.1296
8132Problem: Some part of using 'smartcase' was not tested.
8133Solution: Add more tests. (Dominique Pellé, closes #6538)
8134Files: src/testdir/test_search.vim
8135
8136Patch 8.2.1297
8137Problem: When a test fails it's often not easy to see what the call stack
8138 is.
8139Solution: Add more entries from the call stack in the exception message.
8140Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8141 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8142 src/ex_eval.c, src/message.c, src/testing.c,
8143 src/testdir/test_expand_func.vim
8144
8145Patch 8.2.1298
8146Problem: Compiler warning for unused argument in small version.
8147Solution: Add UNUSED.
8148Files: src/scriptfile.c
8149
8150Patch 8.2.1299
8151Problem: Compiler warning for using size_t for int and void pointer.
8152Solution: Add type casts.
8153Files: src/scriptfile.c
8154
8155Patch 8.2.1300
8156Problem: Vim9: optional argument type not parsed properly.
8157Solution: Skip over the "?". (issue #6507)
8158Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8159 src/userfunc.c, src/testdir/test_vim9_func.vim
8160
8161Patch 8.2.1301
8162Problem: Vim9: varargs argument type not parsed properly.
8163Solution: Skip over the "...". (issue #6507)
8164Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8165
8166Patch 8.2.1302
8167Problem: Vim9: varargs arg after optional arg does not work
8168Solution: Check for the "..." first. (issue #6507)
8169Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8170
8171Patch 8.2.1303
8172Problem: Calling popup_setoptions() resets 'signcolumn'.
8173Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8174Files: src/popupwin.c, src/testdir/test_popupwin.vim
8175
8176Patch 8.2.1304
8177Problem: Debug backtrace isn't tested much.
8178Solution: Add more specific tests. (Ben Jackson, closes #6540)
8179Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8180
8181Patch 8.2.1305
8182Problem: Some tests are still old style.
8183Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8184 closes #6544) Fix error in FinishTesting().
8185Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8186 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8187 src/testdir/test52.in, src/testdir/test52.ok,
8188 src/testdir/test70.in, src/testdir/test70.ok,
8189 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8190
8191Patch 8.2.1306
8192Problem: Checking for first character of dict key is inconsistent.
8193Solution: Add eval_isdictc(). (closes #6546)
8194Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8195 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8196 src/testdir/test_let.vim
8197
8198Patch 8.2.1307
8199Problem: popup window width does not include number, fold of sign column
8200 width.
8201Solution: Take number, fold and sign column with into account.
8202Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8203 src/testdir/dumps/Test_popupwin_sign_2.dump
8204
8205Patch 8.2.1308
8206Problem: Vim9: accidentally using "x" causes Vim to exit.
8207Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8208Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8209 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8210 src/testdir/test_vim9_script.vim
8211
8212Patch 8.2.1309
8213Problem: Build failure with tiny version.
8214Solution: Add #ifdef.
8215Files: src/ex_cmds.c, src/ex_docmd.c
8216
8217Patch 8.2.1310
8218Problem: Configure with Xcode 12 fails to check for tgetent.
8219Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8220Files: src/configure.ac, src/auto/configure
8221
8222Patch 8.2.1311
8223Problem: Test failures with legacy Vim script.
8224Solution: Actually check for Vim9 script.
8225Files: src/vim9script.c
8226
8227Patch 8.2.1312
8228Problem: MS-Windows: terminal test may fail if dir.exe exists.
8229Solution: Use dir.com. (Ken Takata, closes #6557)
8230Files: src/testdir/test_terminal3.vim
8231
8232Patch 8.2.1313
8233Problem: Vim9 script: cannot assign to environment variable.
8234Solution: Recognize environment variable assignment. (closes #6548)
8235 Also options and registers.
8236Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8237
8238Patch 8.2.1314
8239Problem: Vim9: rule for comment after :function is confusing.
8240Solution: Allow double quoted comment after :function in vim9script.
8241 (closes #6556)
8242Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8243
8244Patch 8.2.1315
8245Problem: MS-Windows: test log contains escape sequences.
8246Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8247 closes #6559)
8248Files: src/testdir/runtest.vim
8249
8250Patch 8.2.1316
8251Problem: Test 42 is still old style.
8252Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8253Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8254 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8255 src/testdir/test42.in, src/testdir/test42.ok,
8256 src/testdir/test_writefile.vim
8257
8258Patch 8.2.1317
8259Problem: MS-Windows tests on AppVeyor are slow.
8260Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8261Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8262 ci/appveyor.bat
8263
8264Patch 8.2.1318
8265Problem: No status badge for Github CI.
8266Solution: Add a badge.
8267Files: README.md
8268
8269Patch 8.2.1319
8270Problem: Status badge for Github CI has wrong link.
8271Solution: Rename and use the right link
8272Files: README.md, .github/workflows/ci-windows.yaml
8273
8274Patch 8.2.1320
8275Problem: Vim9: cannot declare some single letter variables.
8276Solution: Do not recognize a colon for a namespace for single letter
8277 variables. (closes #6547)
8278Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8279
8280Patch 8.2.1321
8281Problem: GitHub CI also runs on tag push.
8282Solution: Skip CI on push. (Ken Takata, closes #6571)
8283Files: .github/workflows/ci-windows.yaml
8284
8285Patch 8.2.1322
8286Problem: Vim9: method on double quoted string doesn't work.
8287Solution: Recognize double quoted string. (closes #6562)
8288Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8289 src/testdir/test_vim9_expr.vim
8290
8291Patch 8.2.1323
8292Problem: Vim9: invalid operators only rejected in :def function.
8293Solution: Also reject them at script level. (closes #6564)
8294Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8295 src/testdir/test_vim9_expr.vim
8296
8297Patch 8.2.1324
8298Problem: Vim9: line break after "=" does not work.
8299Solution: Also allow for NUL after "=". (closes #6549)
8300Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8301
8302Patch 8.2.1325
8303Problem: Vim9: using Vim9 script for autoload not tested.
8304Solution: Add a test. Update help.
8305Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8306 src/testdir/sautest/autoload/auto9.vim
8307
8308Patch 8.2.1326
8309Problem: Vim9: skipping over white space after list.
8310Solution: Do not skip white space, a following [] would be misinterpreted.
8311 (closes #6552) Fix a few side effects.
8312Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8313 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8314 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8315 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8316
8317Patch 8.2.1327
8318Problem: Mac: configure can't find Tcl libraries.
8319Solution: Adjust configure check. (closes #6575)
8320Files: src/configure.ac, src/auto/configure
8321
8322Patch 8.2.1328
8323Problem: No space allowed before comma in list.
8324Solution: Legacy Vim script allows it. (closes #6577)
8325Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8326
8327Patch 8.2.1329
8328Problem: Vim9: cannot define global function inside :def function.
8329Solution: Assign to global variable instead of local. (closes #6584)
8330Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8331 src/vim9.h, src/vim9execute.c, src/structs.h,
8332 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8333 src/testdir/test_vim9_disassemble.vim
8334
8335Patch 8.2.1330
8336Problem: Github workflow takes longer than needed.
8337Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8338 closes #6579)
8339Files: .github/workflows/ci-windows.yaml
8340
8341Patch 8.2.1331
8342Problem: Vim9: :echo with two lists doesn't work.
8343Solution: Do not skip white space before []. (closes #6552)
8344Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8345
8346Patch 8.2.1332
8347Problem: Vim9: memory leak when using nested global function.
8348Solution: Delete the function when deleting the instruction. Disable test
8349 that still causes a leak.
8350Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8351 src/testdir/test_vim9_func.vim
8352
8353Patch 8.2.1333
8354Problem: Vim9: memory leak when using nested global function.
8355Solution: Swap from and to when copying the lines.
8356Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8357
8358Patch 8.2.1334
8359Problem: Github workflow timeout needs tuning
8360Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8361 closes #6590)
8362Files: .github/workflows/ci-windows.yaml
8363
8364Patch 8.2.1335
8365Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8366Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8367Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8368 src/gui_photon.c
8369
8370Patch 8.2.1336 (after 8.2.1335)
8371Problem: Build failure on non-Unix systems.
8372Solution: Add #ifdef.
8373Files: src/gui.c
8374
8375Patch 8.2.1337
8376Problem: Vim9: cannot use empty key in dict assignment.
8377Solution: Allow empty key. (closes #6591)
8378Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8379
8380Patch 8.2.1338
8381Problem: Vim9: assigning to script-local variable doesn't check type.
8382Solution: Use the type. (issue #6591)
8383Files: src/vim9compile.c, src/vim9execute.c,
8384 src/testdir/test_vim9_script.vim
8385
8386Patch 8.2.1339
8387Problem: Vim9: assigning to global dict variable doesn't work.
8388Solution: Guess variable type based in index type. (issue #6591)
8389Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8390
8391Patch 8.2.1340
8392Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8393Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8394 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8395Files: .cirrus.yml, src/testdir/test_backup.vim,
8396 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8397 src/testdir/test_writefile.vim, src/viminfo.c
8398
8399Patch 8.2.1341
8400Problem: Build failures.
8401Solution: Add missing error message.
8402Files: src/globals.h
8403
8404Patch 8.2.1342
8405Problem: Vim9: accidentally using "x" gives a confusing error.
8406Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8407Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8408 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8409
8410Patch 8.2.1343
8411Problem: Vim9: cannot find global function when using g: when local
8412 function with the same name exists.
8413Solution: Find global function when using g:.
8414Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8415
8416Patch 8.2.1344
8417Problem: Vim9: No test for trying to redefine global function.
8418Solution: Add a test.
8419Files: src/testdir/test_vim9_func.vim
8420
8421Patch 8.2.1345
8422Problem: Redraw error when using visual block and scroll.
8423Solution: Add check for w_topline. (closes #6597)
8424Files: src/drawscreen.c, src/testdir/test_display.vim,
8425 src/testdir/dumps/Test_display_visual_block_scroll.dump
8426
8427Patch 8.2.1346
8428Problem: Small build fails.
8429Solution: Add #ifdef.
8430Files: src/ex_docmd.c
8431
8432Patch 8.2.1347
8433Problem: Cannot easily get the script ID.
8434Solution: Support expand('<SID>').
8435Files: runtime/doc/map.txt, src/ex_docmd.c,
8436 src/testdir/test_expand_func.vim
8437
8438Patch 8.2.1348
8439Problem: Build failure without the eval feature.
8440Solution: Add #ifdef.
8441Files: src/ex_docmd.c
8442
8443Patch 8.2.1349
8444Problem: Vim9: can define a function with the name of an import.
8445Solution: Disallow using an existing name. (closes #6585)
8446Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8447 src/testdir/test_vim9_script.vim
8448
8449Patch 8.2.1350
8450Problem: Vim9: no test for error message when redefining function.
8451Solution: Add a test.
8452Files: src/testdir/test_vim9_script.vim
8453
8454Patch 8.2.1351
8455Problem: Vim9: no proper error if using namespace for nested function.
8456Solution: Specifically check for a namespace. (closes #6582)
8457Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8458
8459Patch 8.2.1352
8460Problem: Vim9: no error for shadowing a script-local function by a nested
8461 function.
8462Solution: Check for script-local function. (closes #6586)
8463Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8464
8465Patch 8.2.1353
8466Problem: Crash when drawing double-wide character in terminal window.
8467 (Masato Nishihata)
8468Solution: Check getcell() returning NULL. (issue #6141)
8469Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8470
8471Patch 8.2.1354
8472Problem: Test 59 is old style.
8473Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8474Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8475 src/testdir/Make_vms.mms, src/testdir/test59.in,
8476 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8477
8478Patch 8.2.1355
8479Problem: Vim9: no error using :let for options and registers.
8480Solution: Give an error. (closes #6568)
8481Files: src/evalvars.c, src/vim9compile.c,
8482 src/testdir/test_vim9_script.vim
8483
8484Patch 8.2.1356
8485Problem: Vim9: cannot get the percent register.
8486Solution: Check for readable registers instead of writable. (closes #6566)
8487Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8488
8489Patch 8.2.1357
8490Problem: Vim9: cannot assign to / register.
8491Solution: Adjust check for assignment. (issue #6566)
8492Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8493 src/testdir/test_vim9_script.vim
8494
8495Patch 8.2.1358
8496Problem: Vim9: test fails with +dnd is not available.
8497Solution: Add condition.
8498Files: src/testdir/test_vim9_script.vim
8499
8500Patch 8.2.1359
8501Problem: Vim9: cannot assign to / register in Vim9 script.
8502Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8503Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8504
8505Patch 8.2.1360
8506Problem: Stray error for white space after expression.
8507Solution: Ignore trailing white space. (closes #6608)
8508Files: src/eval.c, src/testdir/test_filter_map.vim
8509
8510Patch 8.2.1361
8511Problem: Error for white space after expression in assignment.
8512Solution: Skip over white space. (closes #6617)
8513Files: src/eval.c, src/testdir/test_expr.vim
8514
8515Patch 8.2.1362
8516Problem: Last entry of ":set term=xxx" overwritten by error message when
8517 'cmdheight' is two or more. (Tony Mechelynck)
8518Solution: Output extra line breaks.
8519Files: src/term.c, src/testdir/test_termcodes.vim
8520
8521Patch 8.2.1363
8522Problem: Test trying to run terminal when it is not supported.
8523Solution: Check if Vim can be run in a terminal.
8524Files: src/testdir/test_termcodes.vim
8525
8526Patch 8.2.1364
8527Problem: Invalid memory access when searching for raw string.
8528Solution: Check for delimiter match before following quote. (closes #6578)
8529Files: src/search.c
8530
8531Patch 8.2.1365
8532Problem: Vim9: no error for missing white space around operator.
8533Solution: Check for white space. (closes #6618)
8534Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8535 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8536 src/testdir/test_vim9_func.vim
8537
8538Patch 8.2.1366
8539Problem: Test 49 is old style.
8540Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8541 closes #6629)
8542Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8543 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8544
8545Patch 8.2.1367
8546Problem: Vim9: no error for missing white space around operator.
8547Solution: Check for white space around *, / and %.
8548Files: src/eval.c, src/testdir/test_vim9_expr.vim
8549
8550Patch 8.2.1368
8551Problem: Vim9: no error for missing white space around operator.
8552Solution: Check for white space around <, !=, etc.
8553Files: src/eval.c, src/testdir/test_vim9_expr.vim
8554
8555Patch 8.2.1369
8556Problem: MS-Windows: autocommand test sometimes fails.
8557Solution: Do not rely on the cat command.
8558Files: src/testdir/test_autocmd.vim
8559
8560Patch 8.2.1370
8561Problem: MS-Windows: warning for using fstat() with stat_T.
8562Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8563Files: src/macros.h
8564
8565Patch 8.2.1371
8566Problem: Vim9: no error for missing white space around operator.
8567Solution: Check for white space around && and ||.
8568Files: src/eval.c, src/testdir/test_vim9_expr.vim
8569
8570Patch 8.2.1372
8571Problem: Vim9: no error for missing white space around operator.
8572Solution: Check for white space around ? and :.
8573Files: src/eval.c, src/testdir/test_vim9_expr.vim
8574
8575Patch 8.2.1373
8576Problem: Vim9: no error for assigning to non-existing script var.
8577Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8578Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8579 src/testdir/test_vim9_script.vim
8580
8581Patch 8.2.1374
8582Problem: Vim9: error for assigning empty list to script variable.
8583Solution: Use t_unknown for empty list member. (closes #6595)
8584Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8585
8586Patch 8.2.1375
8587Problem: Vim9: method name with digit not accepted.
8588Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8589Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8590
8591Patch 8.2.1376
8592Problem: Vim9: expression mapping causes error for using :import.
8593Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8594Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8595
8596Patch 8.2.1377
8597Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8598Solution: Increment tb_change_cnt. (closes #6541)
8599Files: src/getchar.c
8600
8601Patch 8.2.1378
8602Problem: Cannot put space between function name and paren.
8603Solution: Allow this for backwards compatibility.
8604Files: src/eval.c, src/testdir/test_expr.vim,
8605 src/testdir/test_vim9_expr.vim
8606
8607Patch 8.2.1379
8608Problem: Curly braces expression ending in " }" does not work.
8609Solution: Skip over white space when checking for "}". (closes #6634)
8610Files: src/dict.c, src/testdir/test_eval_stuff.vim
8611
8612Patch 8.2.1380
8613Problem: Vim9: return type of getreg() is always a string.
8614Solution: Use list of strings when there are three arguments. (closes #6633)
8615Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8616
8617Patch 8.2.1381
8618Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8619Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8620Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8621
8622Patch 8.2.1382
8623Problem: Vim9: using :import in filetype plugin gives an error.
8624Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8625Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8626
8627Patch 8.2.1383
8628Problem: Test 49 is old style.
8629Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8630 closes #6638)
8631Files: src/testdir/test49.ok, src/testdir/test49.vim,
8632 src/testdir/test_vimscript.vim
8633
8634Patch 8.2.1384
8635Problem: No ATTENTION prompt for :vimgrep first match file.
8636Solution: When there is an existing swap file do not keep the dummy buffer.
8637 (closes #6649)
8638Files: src/quickfix.c, src/testdir/runtest.vim,
8639 src/testdir/test_quickfix.vim
8640
8641Patch 8.2.1385
8642Problem: No testing on ARM.
8643Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8644Files: .travis.yml
8645
8646Patch 8.2.1386
8647Problem: Backslash not removed after space in option with space in
8648 'isfname'.
8649Solution: Do remove backslash before space, also when it is in 'isfname'.
8650 (Yasuhiro Matsumoto, closes #6651)
8651Files: src/option.c, src/testdir/test_options.vim
8652
8653Patch 8.2.1387
8654Problem: Vim9: cannot assign to single letter variable with type.
8655Solution: Exclude the colon from the variable name. (closes #6647)
8656Files: src/eval.c, src/testdir/test_vim9_script.vim
8657
8658Patch 8.2.1388
8659Problem: Vim9: += only works for numbers.
8660Solution: Use += as concatenate for a list. (closes #6646)
8661Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8662
8663Patch 8.2.1389
8664Problem: File missing from the distribution.
8665Solution: Add script_util.vim to the list of distributes files.
8666Files: Filelist
8667
8668Patch 8.2.1390
8669Problem: Vim9: type error after storing an option value.
8670Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8671Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8672
8673Patch 8.2.1391
8674Problem: Vim9: no error for shadowing a script function.
8675Solution: Check for already defined items. (closes #6652)
8676Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8677
8678Patch 8.2.1392
8679Problem: Vim9: error line number incorrect after skipping over comment
8680 lines.
8681Solution: Insert empty lines for skipped lines.
8682Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8683
8684Patch 8.2.1393
8685Problem: Insufficient testing for script debugging.
8686Solution: Add more tests. (Ben Jackson)
8687Files: src/testdir/test_debugger.vim
8688
8689Patch 8.2.1394
8690Problem: Vim9: compiling a function interferes with command modifiers.
8691Solution: Save and restore command modifiers. (closes #6658)
8692Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8693 src/testdir/test_vim9_script.vim
8694
8695Patch 8.2.1395
8696Problem: Vim9: no error if declaring a funcref with a lower case letter.
8697Solution: Check the name after the type is inferred. Fix confusing name.
8698Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8699 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8700 src/testdir/test_vim9_expr.vim
8701
8702Patch 8.2.1396
8703Problem: Vim9: no error for unexpectedly returning a value.
8704Solution: Only set the return type for lambda's. Make using function type
8705 in a function reference work.
8706Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8707
8708Patch 8.2.1397
8709Problem: Vim9: return type of maparg() not adjusted for fourth argument.
8710Solution: Check if fourth argument is present. (closes #6645)
8711Files: src/evalfunc.c, src/testdir/test_maparg.vim
8712
8713Patch 8.2.1398
8714Problem: Autoload script sourced twice if sourced directly.
8715Solution: Do not source an autoload script again. (issue #6644)
8716Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
8717
8718Patch 8.2.1399
8719Problem: Vim9: may find imported item in wrong script.
8720Solution: When looking up script-local function use the embedded script ID.
8721 (issue #6644)
8722Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
8723 src/testdir/test_vim9_script.vim
8724
8725Patch 8.2.1400
8726Problem: Vim9: test does not delete written files.
8727Solution: Correct file names.
8728Files: src/testdir/test_vim9_script.vim
8729
8730Patch 8.2.1401
8731Problem: Cannot jump to the last used tabpage.
8732Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
8733 neovim #11626)
8734Files: runtime/doc/eval.txt, runtime/doc/index.txt,
8735 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
8736 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
8737 src/window.c
8738
8739Patch 8.2.1402
8740Problem: s390x tests always fail.
8741Solution: Temporarily disable s390x tests.
8742Files: .travis.yml
8743
8744Patch 8.2.1403
8745Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
8746 commands.
8747Solution: Allow using :vim9script, :import and :export while in the cmdline
8748 window. (closes #6656)
8749Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8750
8751Patch 8.2.1404
8752Problem: Vim9: script test fails in the GUI.
8753Solution: Use another key to map. Improve cleanup.
8754Files: src/testdir/test_vim9_script.vim
8755
8756Patch 8.2.1405
8757Problem: Vim9: vim9compile.c is getting too big.
8758Solution: Split off type code to vim9type.c.
8759Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
8760 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
8761 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
8762
8763Patch 8.2.1406
8764Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
8765Solution: Compute the max height depending on the position. (closes #6664)
8766Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8767 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
8768 src/testdir/dumps/Test_popupwin_toohigh_2.dump
8769
8770Patch 8.2.1407
8771Problem: Vim9: type of list and dict only depends on first item.
8772Solution: Use all items to decide about the type.
8773Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
8774 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
8775
8776Patch 8.2.1408
8777Problem: Vim9: type casting not supported.
8778Solution: Introduce type casting.
8779Files: runtime/doc/vim9.txt, src/vim9compile.c,
8780 src/testdir/test_vim9_expr.vim,
8781 src/testdir/test_vim9_disassemble.vim
8782
8783Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00008784Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00008785Solution: Add filetype detection. (Doug Kearns)
8786Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8787
8788Patch 8.2.1410
8789Problem: Adding compiler plugin requires test change.
8790Solution: Include compiler plugin and adjust test.
8791Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
8792
8793Patch 8.2.1411
8794Problem: when splitting a window localdir is copied but prevdir is not.
8795Solution: Also copy prevdir. (closes #6667)
8796Files: src/window.c, src/testdir/test_cd.vim
8797
8798Patch 8.2.1412
8799Problem: Vim: not operator does not result in boolean.
8800Solution: Make type depend on operator. (issue 6678) Fix using "false" and
8801 "true" in Vim9 script.
8802Files: src/eval.c, src/testdir/test_vim9_expr.vim
8803
8804Patch 8.2.1413 (after 8.2.1401)
8805Problem: Previous tab page not usable from an Ex command.
8806Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
8807 closes #6677)
8808Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
8809 src/testdir/test_tabpage.vim
8810
8811Patch 8.2.1414
8812Problem: Popupwindow missing last couple of lines when cursor is in the
8813 first line.
8814Solution: Compute the max height also when top aligned. (closes #6664)
8815Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8816 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
8817 src/testdir/dumps/Test_popupwin_nospace.dump
8818
8819Patch 8.2.1415
8820Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
8821 calls a function.
8822Solution: Reset got_int while redrawing. (closes #6675)
8823Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8824 src/testdir/dumps/Test_popupwin_ctrl_c.dump
8825
8826Patch 8.2.1416
8827Problem: Vim9: boolean evaluation does not work as intended.
8828Solution: Use tv2bool() in Vim9 script. (closes #6681)
8829Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
8830
8831Patch 8.2.1417
8832Problem: Test 49 is old style.
8833Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
8834 closes #6682)
8835Files: src/testdir/test49.ok, src/testdir/test49.vim,
8836 src/testdir/test_vimscript.vim
8837
8838Patch 8.2.1418
8839Problem: Vim9: invalid error for missing white space after function.
8840Solution: Do not skip over white space. (closes #6679)
8841Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
8842
8843Patch 8.2.1419
8844Problem: Vim9: not operator applied too early.
8845Solution: Implement the "numeric_only" argument. (closes #6680)
8846Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8847
8848Patch 8.2.1420
8849Problem: Test 49 is old style.
8850Solution: Convert remaining parts to new style. Remove obsolete items.
8851 (Yegappan Lakshmanan, closes #6683)
8852Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
8853 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
8854 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
8855 src/testdir/Make_vms.mms, src/testdir/Makefile,
8856 src/testdir/README.txt, src/testdir/test49.in,
8857 src/testdir/test49.ok, src/testdir/test49.vim,
8858 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
8859
8860Patch 8.2.1421
8861Problem: Vim9: handling "+" and "-" before number differs from Vim script.
8862Solution: Use the same sequence of commands.
8863Files: src/vim9compile.c
8864
8865Patch 8.2.1422
8866Problem: The Mac GUI implementation is outdated and probably doesn't even
8867 work.
8868Solution: Remove the Mac GUI code. The MacVim project provides the
8869 supported Vim GUI version.
8870Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
8871 src/Makefile, src/configure.ac, src/auto/configure,
8872 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
8873 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
8874 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
8875 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
8876 src/vim.h, src/INSTALLmac.txt
8877
8878Patch 8.2.1423
8879Problem: Vim9: find global function when looking for script-local.
8880Solution: Don't strip prefix if name starts with "s:". (closes #6688)
8881Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8882
8883Patch 8.2.1424 (after 8.2.1422)
8884Problem: Mac build fails.
8885Solution: Adjust configure to not fall back to Athena. Adjust some other
8886 files.
8887Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
8888 src/version.c
8889
8890Patch 8.2.1425
8891Problem: Vim9: cannot use call() without :call.
8892Solution: Do not skip over "call(". (closes #6689)
8893Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8894
8895Patch 8.2.1426
8896Problem: Vim9: cannot call autoload function in :def function.
8897Solution: Load the autoload script. (closes #6690)
8898Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
8899 src/testdir/test_vim9_expr.vim
8900
8901Patch 8.2.1427
8902Problem: Vim9: cannot use a range with marks in :def function.
8903Solution: Parse range after colon. (closes #6686)
8904Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
8905
8906Patch 8.2.1428
8907Problem: Vim9: :def function does not abort on nested function error.
8908Solution: Check whether an error message was given. (closes #6691)
8909Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8910
8911Patch 8.2.1429
8912Problem: Vim9: no error for missing white after : in dict.
8913Solution: Check for white space. (closes #6671) Also check that there is no
8914 white before the :.
8915Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8916 src/testdir/test_vim9_func.vim
8917
8918Patch 8.2.1430
8919Problem: Vim9: error for missing comma instead of extra white space.
8920Solution: Check if comma can be found after white space. (closes #6668)
8921 Also check for extra white space in literal dict. (closes #6670)
8922Files: src/list.c, src/dict.c, src/vim9compile.c,
8923 src/testdir/test_vim9_expr.vim
8924
8925Patch 8.2.1431
8926Problem: Vim9: no error for white space before comma in dict.
8927Solution: Check for extra white space. (closes #6674)
8928Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
8929
8930Patch 8.2.1432
8931Problem: Various inconsistencies in test files.
8932Solution: Add modelines where they were missing. Use Check commands instead
8933 of silently skipping over tests. Adjust indents and comments.
8934 (Ken Takata, closes #6695)
8935Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
8936 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
8937 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
8938 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
8939 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
8940 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
8941 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
8942 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
8943 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
8944 src/testdir/test_cjk_linebreak.vim,
8945 src/testdir/test_clientserver.vim,
8946 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
8947 src/testdir/test_command_count.vim,
8948 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
8949 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
8950 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
8951 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
8952 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
8953 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
8954 src/testdir/test_erasebackword.vim,
8955 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
8956 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
8957 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
8958 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
8959 src/testdir/test_expand_dllpath.vim,
8960 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
8961 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
8962 src/testdir/test_filter_cmd.vim,
8963 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
8964 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
8965 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
8966 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
8967 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
8968 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
8969 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
8970 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
8971 src/testdir/test_iminsert.vim,
8972 src/testdir/test_increment_dbcs.vim,
8973 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
8974 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
8975 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
8976 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
8977 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
8978 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
8979 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
8980 src/testdir/test_listlbr_utf8.vim,
8981 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
8982 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
8983 src/testdir/test_matchadd_conceal.vim,
8984 src/testdir/test_matchadd_conceal_utf8.vim,
8985 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
8986 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
8987 src/testdir/test_modeline.vim,
8988 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
8989 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
8990 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
8991 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
8992 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
8993 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
8994 src/testdir/test_random.vim, src/testdir/test_recover.vim,
8995 src/testdir/test_regex_char_classes.vim,
8996 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
8997 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
8998 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
8999 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
9000 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9001 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9002 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9003 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9004 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9005 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9006 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9007 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9008 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9009 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9010 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9011 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9012 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9013 src/testdir/test_terminal_fail.vim,
9014 src/testdir/test_true_false.vim,
9015 src/testdir/test_utf8_comparisons.vim,
9016 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9017 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9018 src/testdir/test_winbuf_close.vim,
9019 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9020 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9021 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9022 src/testdir/test_xxd.vim
9023
9024Patch 8.2.1433
9025Problem: Vim9: cannot mingle comments in multi-line lambda.
9026Solution: Skip over NULL lines. (closes #6694)
9027Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9028
9029Patch 8.2.1434
9030Problem: Vim9: crash when lambda uses outer function argument.
9031Solution: Set the flag that the outer context is used.
9032Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9033
9034Patch 8.2.1435
9035Problem: Vim9: always converting to string for ".." leads to mistakes.
9036Solution: Only automatically convert simple types.
9037Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9038 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9039 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9040 src/testdir/test_vim9_disassemble.vim
9041
9042Patch 8.2.1436
9043Problem: Function implementing :substitute has unexpected name.
9044Solution: Rename from do_sub() to ex_substitute().
9045Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9046 src/ex_cmds.h
9047
9048Patch 8.2.1437
9049Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9050Solution: Always use legacy script syntax.
9051Files: src/eval.c, src/testdir/test_vim9_script.vim
9052
9053Patch 8.2.1438
9054Problem: Missing tests for interrupting script execution from debugger.
9055Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9056Files: src/testdir/test_debugger.vim
9057
9058Patch 8.2.1439
9059Problem: Tiny and small builds have no test coverage.
9060Solution: Restore tests that do not depend on the +eval feature.
9061 (Ken Takata, closes #6696)
9062Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9063 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9064 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9065 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9066 src/testdir/Makefile, src/testdir/runtest.vim,
9067 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9068 src/testdir/test20.ok, src/testdir/test21.in,
9069 src/testdir/test21.ok, src/testdir/test22.in,
9070 src/testdir/test22.ok, src/testdir/test23.in,
9071 src/testdir/test23.ok, src/testdir/test24.in,
9072 src/testdir/test24.ok, src/testdir/test25.in,
9073 src/testdir/test25.ok, src/testdir/test26.in,
9074 src/testdir/test26.ok, src/testdir/test27.in,
9075 src/testdir/test27.ok, src/testdir/test_options.vim
9076
9077Patch 8.2.1440
9078Problem: Debugger code insufficiently tested.
9079Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9080Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9081
9082Patch 8.2.1441
9083Problem: Running tests in tiny version gives error for summarize.vim.
9084Solution: Set 'cpoptions' to allow for line continuation. Restore
9085 redirecting test output to /dev/null.
9086Files: src/testdir/summarize.vim, src/testdir/Makefile
9087
9088Patch 8.2.1442
9089Problem: Outdated references to the Mac Carbon GUI.
9090Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9091Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9092 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9093 src/testdir/test_iminsert.vim, src/vim.h
9094
9095Patch 8.2.1443
9096Problem: Vim9: crash when interrupting a nested :def function.
9097Solution: Push a dummy return value onto the stack. (closes #6701)
9098Files: src/vim9execute.c
9099
9100Patch 8.2.1444
9101Problem: Error messages are spread out and names can be confusing.
9102Solution: Start moving error messages to a separate file and use clear
9103 names.
9104Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9105 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9106 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9107 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9108 src/vim9script.c, src/vim9type.c
9109
9110Patch 8.2.1445
9111Problem: Vim9: function expanded name is cleared when sourcing a script
9112 again.
9113Solution: Only clear the expanded name when deleting the function.
9114 (closes #6707)
9115Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9116
9117Patch 8.2.1446
9118Problem: Vim9: line number in error message is not correct.
9119Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9120Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9121
9122Patch 8.2.1447
9123Problem: Vim9: return type of keys() is list<any>.
9124Solution: Should be list<string>. (closes #6711)
9125Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9126
9127Patch 8.2.1448
9128Problem: Test 77a for VMS depends on small.vim which does not exist.
9129Solution: Use the 'silent while 0" trick. (issue #6696)
9130Files: src/testdir/test77a.in
9131
9132Patch 8.2.1449
9133Problem: Some test makefiles delete files that are not generated.
9134Solution: Remove the deletion commands.
9135Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9136 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9137
9138Patch 8.2.1450
9139Problem: Vim9: no check that script-local items don't become global.
9140Solution: Add a test.
9141Files: src/testdir/test_vim9_script.vim
9142
9143Patch 8.2.1451
9144Problem: Vim9: list type at script level only uses first item.
9145Solution: Use all members, like in a compiled function. (closes #6712)
9146 Also for dictionary.
9147Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9148
9149Patch 8.2.1452
9150Problem: Vim9: dead code in to_name_end().
9151Solution: Remove check for lambda and dict, it won't be used.
9152Files: src/vim9compile.c
9153
9154Patch 8.2.1453
9155Problem: Vim9: failure to compile lambda not tested.
9156Solution: Add a test case.
9157Files: src/testdir/test_vim9_expr.vim
9158
9159Patch 8.2.1454
9160Problem: Vim9: failure invoking lambda with wrong arguments.
9161Solution: Handle invalid arguments. Add a test.
9162Files: src/vim9compile.c, src/vim9execute.c,
9163 src/testdir/test_vim9_expr.vim
9164
9165Patch 8.2.1455
9166Problem: Vim9: crash when using typecast before constant.
9167Solution: Generate constant before checking type. Add tets.
9168Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9169
9170Patch 8.2.1456
9171Problem: MS-Windows: test files are not deleted.
9172Solution: use "del" instead of $(DEL).
9173Files: src/testdir/Make_dos.mak
9174
9175Patch 8.2.1457
9176Problem: Vim9: the output of :disassemble cannot be interrupted.
9177Solution: Check got_int. (closes #6715)
9178Files: src/vim9execute.c
9179
9180Patch 8.2.1458
9181Problem: .gawk files not recognized.
9182Solution: Recognize .gawk files. (Doug Kearns)
9183Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9184
9185Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009186Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009187 infer the type.
9188Solution: Get the type from the value. (closes #6716)
9189Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9190
9191Patch 8.2.1460
9192Problem: Error messages are spread out.
9193Solution: Move more messages into errors.h.
9194Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9195 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9196 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9197 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9198 src/testdir/test_vim9_disassemble.vim,
9199 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9200
9201Patch 8.2.1461
9202Problem: Vim9: string indexes are counted in bytes.
9203Solution: Use character indexes. (closes #6574)
9204Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9205 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9206
9207Patch 8.2.1462
9208Problem: Vim9: string slice not supported yet.
9209Solution: Add support for string slicing.
9210Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9211 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9212 src/testdir/test_vim9_disassemble.vim
9213
9214Patch 8.2.1463
9215Problem: Vim9: list slice not supported yet.
9216Solution: Add support for list slicing.
9217Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9218 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9219 src/testdir/test_vim9_disassemble.vim
9220
9221Patch 8.2.1464
9222Problem: Vim9: build warning for unused variable.
9223Solution: Delete the variable declaration.
9224Files: src/vim9execute.c
9225
9226Patch 8.2.1465
9227Problem: Vim9: subscript not handled properly.
9228Solution: Adjust error message. Remove dead code. Disallow string to
9229 number conversion in scripts.
9230Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9231 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9232 src/testdir/test_vim9_script.vim
9233
9234Patch 8.2.1466
9235Problem: Vim9: cannot index or slice a variable with type "any".
9236Solution: Add runtime index and slice.
9237Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9238 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9239 src/testdir/test_vim9_expr.vim,
9240 src/testdir/test_vim9_disassemble.vim,
9241 src/testdir/test_vim9_script.vim
9242
9243Patch 8.2.1467
9244Problem: Vim9: :echomsg doesn't like a dict argument.
9245Solution: Convert arguments like in legacy script. (closes #6717)
9246Files: src/vim9compile.c, src/vim9execute.c,
9247 src/testdir/test_vim9_script.vim
9248
9249Patch 8.2.1468
9250Problem: Vim9: invalid error for missing white space.
9251Solution: Don't skip over white space after index. (closes #6718)
9252Files: src/eval.c, src/testdir/test_vim9_expr.vim
9253
9254Patch 8.2.1469
9255Problem: Vim9: cannot assign string to string option.
9256Solution: Change checks for option value. (closes #6720)
9257Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9258
9259Patch 8.2.1470
9260Problem: Errors in spell file not tested.
9261Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9262 closes #6721)
9263Files: src/testdir/test_spellfile.vim
9264
9265Patch 8.2.1471
9266Problem: :const only locks the variable, not the value.
9267Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9268Files: src/evalvars.c, src/testdir/test_const.vim
9269
9270Patch 8.2.1472
9271Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9272 Demin)
9273Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9274 Also fix giving the error "0 more files to edit".
9275Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9276
9277Patch 8.2.1473
9278Problem: Items in a list given to :const can still be modified.
9279Solution: Work like ":lockvar! name" but don't lock referenced items.
9280 Make locking a blob work.
9281Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9282 src/testdir/test_const.vim
9283
9284Patch 8.2.1474
9285Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9286Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9287Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9288
9289Patch 8.2.1475
9290Problem: Vim9: can't use v:true for option flags.
9291Solution: Add tv_get_bool_chk(). (closes #6725)
9292Files: src/typval.c, src/proto/typval.pro, src/channel.c
9293
9294Patch 8.2.1476 (after 8.2.1474)
9295Problem: Filetype test fails on MS-Windows.
9296Solution: Remove "^" from pattern.
9297Files: runtime/autoload/dist/ft.vim
9298
9299Patch 8.2.1477
9300Problem: Vim9: error when using bufnr('%').
9301Solution: Don't give an error for using a string argument. (closes #6723)
9302Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9303
9304Patch 8.2.1478
9305Problem: Vim9: cannot use "true" for some popup options.
9306Solution: Add dict_get_bool(). (closes #6725)
9307Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9308
9309Patch 8.2.1479
9310Problem: Vim9: error for list index uses wrong line number.
9311Solution: Set source line number. (closes #6724) Add a way to assert the
9312 line number of the error with assert_fails().
9313Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9314 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9315 src/testdir/test_vim9_expr.vim
9316
9317Patch 8.2.1480
9318Problem: Vim9: skip expression in search() gives error.
9319Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9320Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9321 src/testdir/test_vim9_func.vim
9322
9323Patch 8.2.1481
9324Problem: Vim9: line number reported with error may be wrong.
9325Solution: Check line number in tests.
9326Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9327 src/vim9execute.c
9328
9329Patch 8.2.1482
9330Problem: Vim9: crash when using a nested lambda.
9331Solution: Do not clear the growarray when not evaluating. Correct pointer
9332 when getting the next line. (closes #6731)
9333Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9334
9335Patch 8.2.1483
9336Problem: Vim9: error for using special as number when returning "false"
9337 from a popup filter.
9338Solution: Use tv_get_bool(). (closes #6733)
9339Files: src/popupwin.c
9340
9341Patch 8.2.1484
9342Problem: Flaky failure in assert_fails().
9343Solution: Only used fourth argument if there is a third argument.
9344Files: src/testing.c
9345
9346Patch 8.2.1485
9347Problem: Vim9: readdirex() expression doesn't accept bool.
9348Solution: Accept both -1 and bool. (closes #6737)
9349Files: src/filepath.c, src/testdir/test_vim9_func.vim
9350
9351Patch 8.2.1486
9352Problem: Vim9: readdir() expression doesn't accept bool.
9353Solution: Merge with code for readdirex(). (closes #6737)
9354Files: src/filepath.c, src/testdir/test_vim9_func.vim
9355
9356Patch 8.2.1487
9357Problem: Travis: installing snd-dummy is not always useful.
9358Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9359Files: .travis.yml, ci/load-snd-dummy.sh
9360
9361Patch 8.2.1488
9362Problem: Text does not scroll when inserting above first line.
9363Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9364Files: src/drawscreen.c, src/testdir/test_display.vim,
9365 src/testdir/dumps/Test_display_scroll_at_topline.dump
9366
9367Patch 8.2.1489
9368Problem: Vim9: error when setting an option with setbufvar().
9369Solution: Do not get a number from a string value. (closes #6740)
9370Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9371
9372Patch 8.2.1490
9373Problem: Vim9: using /= with float and number doesn't work.
9374Solution: Better support assignment with operator. (closes #6742)
9375Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9376
9377Patch 8.2.1491
9378Problem: Vim9: crash when compiling heredoc lines start with comment.
9379Solution: Skip over NULL pointers. Do not remove comment and empty lines
9380 when fetching function lines. (closes #6743)
9381Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9382 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9383 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9384 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9385 src/proto/userfunc.pro, src/evalfunc.c,
9386 src/testdir/test_vim9_script.vim
9387
9388Patch 8.2.1492
9389Problem: Build failures.
9390Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9391 America.
9392Files: src/structs.h, src/ex_docmd.c
9393
9394Patch 8.2.1493
9395Problem: Not enough test coverage for the spell file handling.
9396Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9397Files: src/spellfile.c, src/testdir/test_spellfile.vim
9398
9399Patch 8.2.1494
9400Problem: Missing change to calling eval_getline().
9401Solution: Change last argument.
9402Files: src/eval.c
9403
9404Patch 8.2.1495
9405Problem: "make clean" may delete too many files.
9406Solution: Do not delete $APPDIR. (closes #6751)
9407Files: src/Makefile
9408
9409Patch 8.2.1496
9410Problem: Vim9: cannot use " #" in a mapping.
9411Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9412Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9413
9414Patch 8.2.1497
9415Problem: CursorHold test is flaky. (Jakub Kądziołka)
9416Solution: Use WaitForAssert() (closes #6754)
9417Files: src/testdir/test_autocmd.vim
9418
9419Patch 8.2.1498
9420Problem: On slow systems tests can be flaky.
9421Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9422 closes #6756)
9423Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9424 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9425 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9426 src/testdir/test_writefile.vim
9427
9428Patch 8.2.1499
9429Problem: Vim9: error when using "$" with col().
9430Solution: Reorder getting the column value. (closes #6744)
9431Files: src/eval.c, src/testdir/test_vim9_func.vim
9432
9433Patch 8.2.1500
9434Problem: Vim9: error when using address without a command.
9435Solution: Execute the range itself. (closes #6747)
9436Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9437
9438Patch 8.2.1501
9439Problem: Vim9: concatenating to constant reverses order.
9440Solution: Generate constant before option, register and environment
9441 variable. (closes #6757)
9442Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9443
9444Patch 8.2.1502
9445Problem: Vim9: can use += with a :let command at script level.
9446Solution: Give an error.
9447Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9448 src/testdir/test_vim9_expr.vim
9449
9450Patch 8.2.1503
9451Problem: Vim9: error for an autocmd defined in a :def function in legacy
9452 Vim script.
9453Solution: Don't check the variable type. (closes #6758)
9454Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9455
9456Patch 8.2.1504
9457Problem: Vim9: white space checks are only done for a :def function.
9458Solution: Also do checks at the script level. Adjust the name of a few
9459 error messages.
9460Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9461 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9462 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9463 src/testdir/vim9.vim
9464
9465Patch 8.2.1505
9466Problem: Not all file read and writecode is tested.
9467Solution: Add a few tests. (Dominique Pellé, closes #6764)
9468Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9469 src/testdir/test_functions.vim
9470
9471Patch 8.2.1506
9472Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9473Solution: Check the number is 0 or 1.
9474Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9475
9476Patch 8.2.1507
9477Problem: Using malloc() directly.
9478Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9479 closes #6768)
9480Files: src/eval.c, src/memline.c, src/vimrun.c
9481
9482Patch 8.2.1508
9483Problem: Not all debugger commands covered by tests.
9484Solution: Add tests for going up/down in the stack. (Ben Jackson,
9485 closes #6765)
9486Files: src/testdir/test_debugger.vim
9487
9488Patch 8.2.1509
9489Problem: Vertical separator is cleared when dragging a popup window using a
9490 multi-byte character for the border.
9491Solution: Only clear the character before the window if it is using a
9492 multi-byte character. (closes #6766)
9493Files: src/screen.c
9494
9495Patch 8.2.1510
9496Problem: Using "var" in a :def function may refer to a legacy Vim script
9497 variable.
9498Solution: Require using "s:" to refer to a legacy Vim script variable.
9499 (closes #6771)
9500Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9501
9502Patch 8.2.1511
9503Problem: Putting a string in Visual block mode ignores multi-byte
9504 characters.
9505Solution: Adjust the column for Visual block mode. (closes #6767)
9506Files: src/register.c, src/testdir/test_visual.vim
9507
9508Patch 8.2.1512
9509Problem: Failure after ternary expression fails.
9510Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9511Files: src/eval.c, src/testdir/test_vimscript.vim,
9512 src/testdir/test_vim9_expr.vim
9513
9514Patch 8.2.1513
9515Problem: Cannot interrupt shell used for filename expansion. (Dominique
9516 Pellé)
9517Solution: Do set tmode in mch_delay(). (closes #6770)
9518Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9519 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9520 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9521
9522Patch 8.2.1514
9523Problem: Multibyte vertical separator is cleared when dragging a popup
9524 window using a multi-byte character for the border.
9525Solution: Only clear the character before the window if it is double width.
9526 (closes #6766)
9527Files: src/screen.c
9528
9529Patch 8.2.1515
9530Problem: Vim9: can create s:var in legacy script but cannot unlet.
9531Solution: Allow :unlet for legacy script var.
9532Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9533
9534Patch 8.2.1516
9535Problem: Vim9: error for :exe has wrong line number.
9536Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9537Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9538
9539Patch 8.2.1517
9540Problem: Cannot easily get the character under the cursor.
9541Solution: Add the {chars} argument to strpart().
9542Files: runtime/doc/eval.txt, src/evalfunc.c,
9543 src/testdir/test_functions.vim
9544
9545Patch 8.2.1518
9546Problem: Vim9: cannot assign to local option.
9547Solution: Skip over "&l:" and "&g:". (closes #6749)
9548Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00009549 src/vim9compile.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009550
9551Patch 8.2.1519
9552Problem: Vim9: Ex command default range is not set.
9553Solution: When range is not given use default. (closes #6779)
9554Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9555
9556Patch 8.2.1520
9557Problem: Vim9: CTRL-] used in :def function does not work.
9558Solution: Omit count or prepend colon. (closes #6769)
9559Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9560
9561Patch 8.2.1521
9562Problem: Reading past end of buffer when reading spellfile. (Yegappan
9563 Lakshmanan)
9564Solution: Store the byte length and check for it.
9565Files: src/spellfile.c, src/spell.h
9566
9567Patch 8.2.1522
9568Problem: Not enough test coverage for the spell file handling.
9569Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9570Files: src/testdir/test_spellfile.vim
9571
9572Patch 8.2.1523
9573Problem: Still not enough test coverage for the spell file handling.
9574Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9575Files: src/testdir/test_spellfile.vim
9576
9577Patch 8.2.1524
9578Problem: No longer get an error for string concatenation with float.
9579 (Tsuyoshi Cho)
9580Solution: Only convert float for Vim9 script. (closes #6787)
9581Files: src/eval.c, src/testdir/test_eval_stuff.vim
9582
9583Patch 8.2.1525
9584Problem: Messages from tests were not always displayed.
9585Solution: Always show messages, the timing is always useful. (Ken Takata,
9586 closes #6792)
9587Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9588 src/testdir/Makefile
9589
9590Patch 8.2.1526
9591Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9592Solution: Revert.
9593Files: src/testdir/Makefile
9594
9595Patch 8.2.1527
9596Problem: Vim9: cannot use a function name as a function reference at script
9597 level.
9598Solution: Check if a name is a function name. (closes #6789)
9599Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9600 src/testdir/test_vim9_script.vim
9601
9602Patch 8.2.1528
9603Problem: Vim9: :endif not found after "if false".
9604Solution: When skipping still check for a following command. (closes #6797)
9605Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9606
9607Patch 8.2.1529
9608Problem: Vim9: :elseif may be compiled when not needed.
9609Solution: Do evaluate the :elseif expression.
9610Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9611
9612Patch 8.2.1530
9613Problem: Vim9: test fails on MS-Windows.
9614Solution: Skip Ex command inside "if false".
9615Files: src/vim9compile.c
9616
9617Patch 8.2.1531
9618Problem: Vim9: test still fails on MS-Windows.
9619Solution: When skipping expect function to be NULL.
9620Files: src/vim9compile.c
9621
9622Patch 8.2.1532
9623Problem: Compiler warning for conversion of size_t to long.
9624Solution: Add type cast.
9625Files: src/eval.c
9626
9627Patch 8.2.1533
9628Problem: Vim9: error when passing getreginfo() result to setreg().
9629Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9630Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9631
9632Patch 8.2.1534
9633Problem: Vim9: type error for argument type is not at call position.
9634Solution: Set the context and stack after checking the arguments.
9635 (issue #6785)
9636Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9637
9638Patch 8.2.1535
9639Problem: It is not possible to specify cell widths of characters.
9640Solution: Add setcellwidths().
9641Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9642 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9643 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9644
9645Patch 8.2.1536
9646Problem: Cannot get the class of a character; emoji widths are wrong in
9647 some environments.
9648Solution: Add charclass(). Update some emoji widths. Add script to check
9649 emoji widths.
9650Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9651 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9652 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9653
9654Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009655Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009656Solution: Use array and pointers correctly.
9657Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9658
9659Patch 8.2.1538
9660Problem: Python: iteration over vim objects fails to keep reference.
9661Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9662 closes #6806)
9663Files: src/if_py_both.h, src/testdir/test_python3.vim
9664
9665Patch 8.2.1539
9666Problem: Using invalid script ID causes a crash.
9667Solution: Check the script ID to be valid. (closes #6804)
9668Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9669 src/vim9compile.c, src/testdir/test_vim9_script.vim
9670
9671Patch 8.2.1540
9672Problem: The user cannot try out emoji character widths.
9673Solution: Move the emoji script to the runtime/tools directory.
9674Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9675
9676Patch 8.2.1541
9677Problem: Vim9: cannot find function reference for s:Func.
9678Solution: Recognize <SNR> prefix. (closes #6805)
9679Files: src/userfunc.c, src/vim9execute.c,
9680 src/testdir/test_vim9_script.vim
9681
9682Patch 8.2.1542
9683Problem: Vim9: test with invalid SID does not work in the GUI.
9684Solution: Skip the test in the GUI.
9685Files: src/testdir/test_vim9_script.vim
9686
9687Patch 8.2.1543
9688Problem: Vim9: test with invalid SID is skipped in the GUI.
9689Solution: Read the CTRL-C that feedkeys() put in typeahead.
9690Files: src/testdir/test_vim9_script.vim
9691
9692Patch 8.2.1544
9693Problem: Cannot translate messages in a Vim script.
9694Solution: Add gettext(). Try it out for a few messages in the options
9695 window.
9696Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9697 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9698 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9699
9700Patch 8.2.1545
9701Problem: ch_logfile() is unclear about closing when forking.
9702Solution: Adjust the log messages.
9703Files: src/channel.c, src/os_unix.c
9704
9705Patch 8.2.1546
9706Problem: Build rule for Vim.app is unused.
9707Solution: Delete the related build rules.
9708Files: src/Makefile
9709
9710Patch 8.2.1547
9711Problem: Various comment problems.
9712Solution: Update comments.
9713Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
9714 src/testdir/README.txt, src/testdir/test_put.vim,
9715 src/libvterm/README
9716
9717Patch 8.2.1548
9718Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
9719Solution: Improve the check script.
9720Files: src/po/check.vim
9721
9722Patch 8.2.1549
9723Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
9724 and modifyOtherKeys is used. (Lauri Tirkkonen)
9725Solution: Temporarily disable bracketed paste and modifyOtherKeys if
9726 'esckeys' is off. (closes #6809)
9727Files: src/normal.c
9728
9729Patch 8.2.1550
9730Problem: Vim9: bufname('%') gives an error.
9731Solution: Only give an error for wrong argument type. (closes #6807)
9732Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9733
9734Patch 8.2.1551
9735Problem: Vim9: error for argument type does not mention the number.
9736Solution: Pass the argument number to where the error is given.
9737Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
9738 src/vim9execute.c, src/vim9script.c, src/eval.c,
9739 src/testdir/test_vim9_func.vim
9740
9741Patch 8.2.1552
9742Problem: Warnings from asan with clang-11. (James McCoy)
9743Solution: Avoid using a NULL pointer. (issue #6811)
9744Files: src/fold.c
9745
9746Patch 8.2.1553 (after 8.2.1552)
9747Problem: Crash in edit test.
9748Solution: Avoid using invalid pointer.
9749Files: src/fold.c
9750
9751Patch 8.2.1554
9752Problem: Crash in normal test.
9753Solution: Skip adjusting marks if there are no folds.
9754Files: src/fold.c
9755
9756Patch 8.2.1555
9757Problem: Not all tests are executed on Github Actions.
9758Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
9759 places. Add two tests to the list of flaky tests. (Ken Takata,
9760 closes #6798)
9761Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
9762 src/testdir/test_python2.vim, src/testdir/test_python3.vim
9763
9764Patch 8.2.1556
9765Problem: Cursorline highlighting always overrules sign highlighting.
9766Solution: Combine the highlighting, use the priority to decide how.
9767 (closes #6812)
9768Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
9769 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
9770 src/testdir/test_signs.vim,
9771 src/testdir/dumps/Test_sign_cursor_5.dump,
9772 src/testdir/dumps/Test_sign_cursor_6.dump
9773
9774Patch 8.2.1557
9775Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
9776Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
9777Files: src/quickfix.c, src/testdir/test_quickfix.vim
9778
9779Patch 8.2.1558
9780Problem: Signs test fails.
9781Solution: Add missing change to sign.c.
9782Files: src/sign.c
9783
9784Patch 8.2.1559
9785Problem: s390x tests work again.
9786Solution: re-enable s390x tests. (James McCoy, closes #6829)
9787Files: .travis.yml
9788
9789Patch 8.2.1560
9790Problem: Using NULL pointers in some code. (James McCoy)
9791Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
9792Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
9793 src/vim9compile.c
9794
9795Patch 8.2.1561
9796Problem: Using NULL pointers in fold code.
9797Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
9798 closes #6831)
9799Files: src/fold.c
9800
9801Patch 8.2.1562
9802Problem: Vim9: error when using "%" where a buffer is expected.
9803Solution: Add tv_get_buf_from_arg(). (closes #6814)
9804Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
9805 src/testdir/test_vim9_func.vim
9806
9807Patch 8.2.1563
9808Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
9809Solution: Use tv_get_buf_from_arg(). (closes #6816)
9810Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9811
9812Patch 8.2.1564
9813Problem: A few remaining errors from ubsan.
9814Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
9815Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
9816
9817Patch 8.2.1565
9818Problem: Spellfile test sometimes fails.
9819Solution: Check running into the end of the file.
9820Files: src/spellfile.c
9821
9822Patch 8.2.1566
9823Problem: Not all Bazel files are recognized.
9824Solution: Add *.bazel and *.BUILD. (closes #6836)
9825Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9826
9827Patch 8.2.1567
9828Problem: No example to use ubsan with clang.
9829Solution: Add example commands. (Dominique Pellé, issue #6811)
9830Files: src/Makefile
9831
9832Patch 8.2.1568
9833Problem: prop_find() skips properties in the same line if "skipstart" is
9834 used.
9835Solution: Use "continue" instead of "break". (closes #6840)
9836Files: src/textprop.c, src/testdir/test_textprop.vim
9837
9838Patch 8.2.1569
9839Problem: Vim9: fixes for functions not tested; failure in getchangelist().
9840Solution: Add tests. (closes #6813, closes #6815, closes #6817)
9841Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9842
9843Patch 8.2.1570
9844Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
9845Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
9846Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
9847
9848Patch 8.2.1571
9849Problem: Vim9: count() third argument cannot be "true".
9850Solution: Use tv_get_bool_chk(). (closes #6818)
9851Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
9852
9853Patch 8.2.1572
9854Problem: Vim9: expand() does not take "true" as argument.
9855Solution: Use tv_get_bool_chk(). (closes #6819)
9856Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9857
9858Patch 8.2.1573
9859Problem: Vim9: getreg() does not take "true" as argument.
9860Solution: Use tv_get_bool_chk(). (closes #6820)
9861Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9862
9863Patch 8.2.1574
9864Problem: Vim9: glob() does not take "true" as argument.
9865Solution: Use tv_get_bool_chk(). (closes #6821)
9866Files: src/filepath.c, src/testdir/test_vim9_func.vim
9867
9868Patch 8.2.1575
9869Problem: Vim9: globpath() does not take "true" as argument.
9870Solution: Use tv_get_bool_chk(). (closes #6821)
9871Files: src/filepath.c, src/testdir/test_vim9_func.vim
9872
9873Patch 8.2.1576
9874Problem: Vim9: index() does not take "true" as argument.
9875Solution: Use tv_get_bool_chk(). (closes #6823)
9876Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9877
9878Patch 8.2.1577
9879Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
9880 argument.
9881Solution: Use tv_get_bool(). (closes #6822, closes #6824)
9882Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
9883
9884Patch 8.2.1578
9885Problem: Vim9: popup_clear() does not take "true" as argument.
9886Solution: Use tv_get_bool(). (closes #6826)
9887Files: src/popupwin.c, src/testdir/test_popupwin.vim
9888
9889Patch 8.2.1579
9890Problem: Reports from asan are not optimal.
9891Solution: Use clang with ubsan. (James McCoy, closes #6811)
9892Files: .travis.yml
9893
9894Patch 8.2.1580
9895Problem: Wildmenu does not work properly.
9896Solution: Do not call may_do_incsearch_highlighting() if completion is in
9897 progress.
9898Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
9899 src/testdir/dumps/Test_wildmenu_1.dump,
9900 src/testdir/dumps/Test_wildmenu_2.dump,
9901 src/testdir/dumps/Test_wildmenu_3.dump,
9902 src/testdir/dumps/Test_wildmenu_4.dump
9903
9904Patch 8.2.1581
9905Problem: Using line() for global popup window doesn't work.
9906Solution: Set tabpage to "curtab". (closes #6847)
9907Files: src/evalwindow.c, src/testdir/test_popupwin.vim
9908
9909Patch 8.2.1582
9910Problem: The channel log does not show typed text.
9911Solution: Add raw typed text to the log file.
9912Files: src/ui.c, src/os_win32.c
9913
9914Patch 8.2.1583
9915Problem: MS-Windows: cannot easily measure code coverage.
9916Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
9917Files: src/Make_cyg_ming.mak
9918
9919Patch 8.2.1584
9920Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
9921Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
9922Files: src/textprop.c, src/testdir/test_textprop.vim
9923
9924Patch 8.2.1585
9925Problem: Messages in errors.h not translated, xgettext on MS-Windows not
9926 fully supported.
9927Solution: Add errors.h to list of input files. Update MS-Windows makefiles
9928 to improve message translations. (Ken Takata, closes #6858)
9929Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
9930 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
9931
9932Patch 8.2.1586
9933Problem: :resize command not fully tested.
9934Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
9935Files: src/testdir/test_window_cmd.vim
9936
9937Patch 8.2.1587
9938Problem: Loop for handling keys for the command line is too long.
9939Solution: Move wild menu handling to separate functions. (Yegappan
9940 Lakshmanan, closes #6856)
9941Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
9942
9943Patch 8.2.1588
9944Problem: Cannot read back the prompt of a prompt buffer.
9945Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
9946Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
9947 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
9948 src/proto/channel.pro, src/proto/edit.pro,
9949 src/testdir/test_prompt_buffer.vim
9950
9951Patch 8.2.1589
9952Problem: Term_start() options for size are overruled by 'termwinsize'.
9953 (Sergey Vlasov)
9954Solution: Set 'termwinsize' to the specified size.
9955Files: src/terminal.c, src/testdir/test_terminal2.vim,
9956 src/testdir/term_util.vim
9957
9958Patch 8.2.1590
9959Problem: Vim9: bufnr() doesn't take "true" argument.
9960Solution: use tv_get_bool_chk(). (closes #6863)
9961Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9962
9963Patch 8.2.1591
9964Problem: Using winheight('.') in tests works but is wrong.
9965Solution: Use winheight(0). (issue #6863)
9966Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
9967
9968Patch 8.2.1592
9969Problem: Vim9: passing "true" to char2nr() fails.
9970Solution: Use tv_get_bool_chk(). (closes #6865)
9971Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9972
9973Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009974Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009975Solution: Add a colon after the error number. (closes #6869)
9976Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
9977 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
9978 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
9979 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
9980 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
9981 src/testdir/test_global.vim, src/testdir/test_gui.vim,
9982 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
9983 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
9984 src/testdir/test_move.vim, src/testdir/test_normal.vim,
9985 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
9986 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
9987 src/testdir/test_search.vim, src/testdir/test_signs.vim,
9988 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
9989 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
9990 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
9991 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
9992 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
9993 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
9994 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
9995 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
9996 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
9997
9998Patch 8.2.1594
9999Problem: Pull requests on github do not notify a maintainer.
10000Solution: Add a CODEOWNERS file with a few initial entries.
10001Files: Filelist, .github/CODEOWNERS
10002
10003Patch 8.2.1595
10004Problem: Cannot easily see what Vim sends to the terminal.
10005Solution: Write output to the channel log if it contains terminal control
10006 sequences. Avoid warnings for tputs() argument.
10007Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10008 src/optionstr.c
10009
10010Patch 8.2.1596
10011Problem: Using win_screenpos('.') in tests works but is wrong.
10012Solution: Use win_screenpos(0).
10013Files: src/testdir/test_terminal3.vim
10014
10015Patch 8.2.1597
10016Problem: The channel source file is too big.
10017Solution: Move job related code to a new source file.
10018Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10019 src/channel.c, src/proto/channel.pro, src/job.c,
10020 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10021 src/globals.h, src/configure.ac, src/auto/configure
10022
10023Patch 8.2.1598
10024Problem: Starting a hidden terminal resizes the current window.
10025Solution: Do not resize the current window for a hidden terminal.
10026 (closes #6872)
10027Files: src/terminal.c, src/testdir/test_terminal2.vim
10028
10029Patch 8.2.1599
10030Problem: Missing line end when skipping a long line with :cgetfile.
10031Solution: Fix off-by-one error. (closes #6870)
10032Files: src/quickfix.c, src/testdir/test_quickfix.vim
10033
10034Patch 8.2.1600
10035Problem: Vim9: cannot use "true" with deepcopy().
10036Solution: Use tv_get_bool_chk(). (closes #6867)
10037Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10038 src/testdir/test_listdict.vim
10039
10040Patch 8.2.1601
10041Problem: Vim9: cannot use "true" with garbagecollect().
10042Solution: Use tv_get_bool(). (closes #6871)
10043Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10044
10045Patch 8.2.1602
10046Problem: Vim9: cannot use "true" with getbufinfo().
10047Solution: Use dict_get_bool(). (closes #6873)
10048Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10049
10050Patch 8.2.1603
10051Problem: Vim9: cannot use "true" with getchar().
10052Solution: use tv_get_bool_chk(). (closes #6874)
10053Files: src/getchar.c, src/testdir/test_vim9_func.vim
10054
10055Patch 8.2.1604
10056Problem: Vim9: cannot use "true" with getcompletion().
10057Solution: use tv_get_bool_chk(). (closes #6875)
10058Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10059
10060Patch 8.2.1605
10061Problem: Default maintainer on github is wrong.
10062Solution: Use Bram's account.
10063Files: .github/CODEOWNERS
10064
10065Patch 8.2.1606
10066Problem: Vim9: cannot use "true" with has().
10067Solution: Use tv_get_bool(). (closes #6876)
10068Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10069
10070Patch 8.2.1607
10071Problem: Vim9: getchar() test fails on MS-Windows.
10072Solution: First consume any available input.
10073Files: src/testdir/test_vim9_func.vim
10074
10075Patch 8.2.1608
10076Problem: Vim9: getchar() test fails with GUI.
10077Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10078Files: src/getchar.c
10079
10080Patch 8.2.1609
10081Problem: Vim9: test fails when build without +channel.
10082Solution: Add check for +channel. (closes #6879)
10083Files: src/testdir/test_vim9_expr.vim
10084
10085Patch 8.2.1610
10086Problem: Vim9: cannot pass "true" to list2str() and str2list().
10087Solution: Use tv_get_bool_chk(). (closes #6877)
10088Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10089
10090Patch 8.2.1611
10091Problem: Vim9: cannot pass "true" to nr2char().
10092Solution: use tv_get_bool_chk(). (closes #6878)
10093Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10094
10095Patch 8.2.1612
10096Problem: Vim9: cannot pass "true" to prop_remove().
10097Solution: Use dict_get_bool(). (closes #6853)
10098Files: src/textprop.c, src/testdir/test_textprop.vim
10099
10100Patch 8.2.1613
10101Problem: Vim9: cannot pass "true" to prop_type_add().
10102Solution: Use tv_get_bool(). (closes #6850)
10103Files: src/textprop.c, src/testdir/test_textprop.vim
10104
10105Patch 8.2.1614
10106Problem: Vim9: cannot pass "true" to searchcount().
10107Solution: Use tv_get_bool_chk(). (closes #6854)
10108Files: src/search.c, src/testdir/test_vim9_func.vim
10109
10110Patch 8.2.1615
10111Problem: Vim9: cannot pass "true" to searchdecl().
10112Solution: use tv_get_bool_chk(). (closes #6881)
10113Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10114
10115Patch 8.2.1616
10116Problem: Vim9: cannot pass "true" to synID().
10117Solution: Use tv_get_bool_chk(). (closes #6860)
10118Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10119
10120Patch 8.2.1617
10121Problem: Vim9: cannot pass "true" to win_splitmove().
10122Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10123Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10124
10125Patch 8.2.1618
10126Problem: Vim9: cannot pass "true" to setloclist().
10127Solution: Use dict_get_bool(). (closes #6882)
10128Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10129
10130Patch 8.2.1619
10131Problem: Vim9: cannot pass "true" to spellsuggest().
10132Solution: Use tv_get_bool_chk(). (closes #6883)
10133Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10134
10135Patch 8.2.1620
10136Problem: searchcount() test fails.
10137Solution: Restore default flag value.
10138Files: src/search.c
10139
10140Patch 8.2.1621
10141Problem: Crash when using submatch(0, 1) in substitute().
10142Solution: Increment reference count. (closes #6887)
10143Files: src/regexp.c, src/testdir/test_substitute.vim
10144
10145Patch 8.2.1622
10146Problem: Loop to handle keys for the command line is too long.
10147Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10148Files: src/ex_getln.c
10149
10150Patch 8.2.1623
10151Problem: Vim9: using :call where it is not needed.
10152Solution: Remove :call. (closes #6892)
10153Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10154 src/testdir/test_vim9_disassemble.vim,
10155 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10156 src/testdir/test_vim9_script.vim
10157
10158Patch 8.2.1624
10159Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10160Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10161Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10162
10163Patch 8.2.1625
10164Problem: Compiler warning for use of fptr_T.
10165Solution: Make the type less strict.
10166Files: src/regexp.c
10167
10168Patch 8.2.1626
10169Problem: Test for strchars() fails with different error number.
10170Solution: Adjust the error number.
10171Files: src/testdir/test_utf8.vim
10172
10173Patch 8.2.1627
10174Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10175 term_start()
10176Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10177Files: src/evalfunc.c, src/terminal.c, src/job.c,
10178 src/testdir/test_vim9_func.vim
10179
10180Patch 8.2.1628
10181Problem: Vim9: cannot pass "true" to timer_paused().
10182Solution: Use tv_get_bool(). (closes #6891)
10183Files: src/time.c, src/testdir/test_vim9_func.vim
10184
10185Patch 8.2.1629
10186Problem: Test fails without terminal feature.
10187Solution: Check for terminal feature.
10188Files: src/testdir/test_vim9_func.vim
10189
10190Patch 8.2.1630
10191Problem: Terminal test fails.
10192Solution: Correct argument to term_start(). Correct error number.
10193Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10194
10195Patch 8.2.1631
10196Problem: test_fails() does not check the context of the line number.
10197Solution: Use another argument to specify the context of the line number.
10198Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10199 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10200 src/evalfunc.c, src/message.c
10201
10202Patch 8.2.1632
10203Problem: Not checking the context of test_fails().
10204Solution: Add the line number and context arguments. Give error if
10205 assert_fails() argument types are wrong.
10206Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10207 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10208
10209Patch 8.2.1633
10210Problem: Some error messages are internal but do not use iemsg().
10211Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10212Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10213
10214Patch 8.2.1634
10215Problem: Loop to handle keys for the command line is too long.
10216Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10217 closes #6895)
10218Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10219
10220Patch 8.2.1635
10221Problem: No digraph for 0x2022 BULLET.
10222Solution: Use "oo". (Hans Ginzel, closes #6904)
10223Files: src/digraph.c, runtime/doc/digraph.txt
10224
10225Patch 8.2.1636
10226Problem: Get stuck if a popup filter causes an error.
10227Solution: Check whether the function can be called and does not cause an
10228 error. (closes #6902)
10229Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10230 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10231 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10232 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10233
10234Patch 8.2.1637
10235Problem: Vim9: :put ={expr} does not work inside :def function.
10236Solution: Add ISN_PUT. (closes #6397)
10237Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10238 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10239 src/normal.c, src/testdir/test_vim9_cmd.vim,
10240 src/testdir/test_vim9_disassemble.vim
10241
10242Patch 8.2.1638
10243Problem: Leaking memory when popup filter function can't be called.
10244Solution: Don't return too soon.
10245Files: src/popupwin.c
10246
10247Patch 8.2.1639
10248Problem: Options window cannot be translated.
10249Solution: Get the translation for "local to" texts once and use them in many
10250 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10251Files: runtime/optwin.vim
10252
10253Patch 8.2.1640
10254Problem: Amiga: missing header for getgrgid().
10255Solution: Add the grp.h header. (Ola Söder, closes #6906)
10256Files: src/os_amiga.h
10257
10258Patch 8.2.1641
10259Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10260Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10261Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10262 src/structs.h, src/testdir/test_vim9_script.vim
10263
10264Patch 8.2.1642
10265Problem: Options test fails.
10266Solution: Correct call to OptionG().
10267Files: runtime/optwin.vim
10268
10269Patch 8.2.1643
10270Problem: Vim9: :defcompile compiles dead functions.
10271Solution: Skip over dead functions.
10272Files: src/userfunc.c
10273
10274Patch 8.2.1644
10275Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10276Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10277 function.
10278Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10279 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10280
10281Patch 8.2.1645
10282Problem: GTK3: icons become broken images when resized.
10283Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10284 Fix compiler warnings.
10285Files: src/gui_gtk_x11.c
10286
10287Patch 8.2.1646
10288Problem: Amiga: Unnecessary #include.
10289Solution: Remove the #include. (Ola Söder, closes #6908)
10290Files: src/version.c
10291
10292Patch 8.2.1647
10293Problem: Vim9: result of expression with && and || cannot be assigned to a
10294 bool variable.
10295Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10296Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10297 src/testdir/test_vim9_disassemble.vim
10298
10299Patch 8.2.1648
10300Problem: Amiga: no common build file for Amiga (-like) systems.
10301Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10302Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10303
10304Patch 8.2.1649
10305Problem: GTK3: using old file chooser.
10306Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10307 Velingker, closes #6909)
10308Files: src/gui_gtk.c
10309
10310Patch 8.2.1650
10311Problem: Vim9: result of && and || expression cannot be assigned to a bool
10312 at the script level.
10313Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10314Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10315 src/vim9script.c, src/evalvars.c, src/eval.c,
10316 src/testdir/test_vim9_script.vim
10317
10318Patch 8.2.1651
10319Problem: Spellfile code not completely tested.
10320Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10321Files: src/testdir/test_spellfile.vim
10322
10323Patch 8.2.1652
10324Problem: Cannot translate lines in the options window.
10325Solution: Use the AddOption() function to split descriptions where indicated
10326 by a line break. (issue #6800)
10327Files: runtime/optwin.vim
10328
10329Patch 8.2.1653
10330Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010331Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010332Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10333 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10334 src/testing.c, src/testdir/test_expand_func.vim
10335
10336Patch 8.2.1654
10337Problem: When job writes to hidden buffer current window has display
10338 errors. (Johnny McArthur)
10339Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10340 (closes #6925)
10341Files: src/channel.c
10342
10343Patch 8.2.1655
10344Problem: Cannot build with Strawberry Perl 5.32.0.
10345Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10346Files: src/if_perl.xs
10347
10348Patch 8.2.1656
10349Problem: Vim9: callstack wrong if :def function calls :def function.
10350Solution: Set the line number before calling. (closes #6914)
10351Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10352
10353Patch 8.2.1657
10354Problem: Vim9: no proper error for nested ":def!".
10355Solution: Check for "!". (closes #6920)
10356Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10357
10358Patch 8.2.1658
10359Problem: Expand('<stack>') has trailing "..".
10360Solution: Remove the "..". (closes #6927)
10361Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10362
10363Patch 8.2.1659
10364Problem: Spellfile code not completely tested.
10365Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10366Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10367
10368Patch 8.2.1660
10369Problem: Assert functions require passing expected result as the first
10370 argument, which isn't obvious.
10371Solution: Use a method, as in "runtest()->assert_equal(expected)".
10372Files: src/testdir/test_vim9_func.vim
10373
10374Patch 8.2.1661
10375Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10376Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10377 closes #6931)
10378Files: src/channel.c
10379
10380Patch 8.2.1662
10381Problem: :mksession does not restore shared terminal buffer properly.
10382Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10383Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10384 src/terminal.c, src/testdir/test_mksession.vim
10385
10386Patch 8.2.1663
10387Problem: Options window entries cannot be translated.
10388Solution: Use AddOption() for all explanations. (closes #6800)
10389Files: runtime/optwin.vim
10390
10391Patch 8.2.1664
10392Problem: Memory leak when using :mkview with a terminal buffer.
10393Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10394Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10395
10396Patch 8.2.1665
10397Problem: Cannot do fuzzy string matching.
10398Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10399Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10400 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10401
10402Patch 8.2.1666
10403Problem: The initial value of 'backupskip' can have duplicate items.
10404Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10405 closes #6940)
10406Files: src/option.c, src/testdir/test_options.vim
10407
10408Patch 8.2.1667
10409Problem: Local function name cannot shadow a global function name.
10410Solution: Ignore global functions when checking a script-local or scoped
10411 function name. (closes #6926)
10412Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10413 src/testdir/test_vim9_func.vim
10414
10415Patch 8.2.1668
10416Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10417Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10418Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10419
10420Patch 8.2.1669
10421Problem: Vim9: memory leak when storing a value fails.
10422Solution: Free the value when not storing it.
10423Files: src/evalvars.c
10424
10425Patch 8.2.1670
10426Problem: A couple of gcc compiler warnings.
10427Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10428Files: src/memline.c, src/option.c
10429
10430Patch 8.2.1671
10431Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010432Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010433Files: src/eval.c, src/testdir/test_vim9_expr.vim
10434
10435Patch 8.2.1672
10436Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10437Solution: Initialize the typval in eval1().
10438Files: src/eval.c
10439
10440Patch 8.2.1673
10441Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10442Solution: Set the index when there is only one match. (closes #6945)
10443 Add test for complete_info().
10444Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10445
10446Patch 8.2.1674
10447Problem: Vim9: internal error when using variable that was not set.
10448Solution: Give a meaningful error. (closes #6937)
10449Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10450
10451Patch 8.2.1675
10452Problem: MinGW: testdir makefile deletes non-existing file.
10453Solution: Use another way to delete the output file if it already exists.
10454 (Michael Soyka)
10455Files: src/testdir/Make_ming.mak
10456
10457Patch 8.2.1676
10458Problem: Compiler warnings for function typecast.
10459Solution: Add an intermediate cast to "void *".
10460Files: src/os_unix.c
10461
10462Patch 8.2.1677
10463Problem: Memory access errors when calling setloclist() in an autocommand.
10464Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10465Files: src/quickfix.c, src/testdir/test_quickfix.vim
10466
10467Patch 8.2.1678
10468Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10469Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10470Files: src/syntax.c, src/testdir/test_syntax.vim
10471
10472Patch 8.2.1679
10473Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010474Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010475Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10476 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10477 src/testdir/test_vim9_cmd.vim
10478
10479Patch 8.2.1680
10480Problem: Vim9: line number for compare error is wrong.
10481Solution: Set SOURCING_LNUM. (closes #6936)
10482Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10483
10484Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010485Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010486Solution: Remove the commands. (issue #6936)
10487Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10488
10489Patch 8.2.1682
10490Problem: Vim9: const works in an unexpected way.
10491Solution: ":const" only disallows changing the variable, not the value.
10492 Make "list[0] = 9" work at the script level.
10493Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10494
10495Patch 8.2.1683
10496Problem: Vim9: assignment test fails.
10497Solution: Include changes to find Ex command.
10498Files: src/ex_docmd.c
10499
10500Patch 8.2.1684
10501Problem: "gF" does not use line number after file in Visual mode.
10502Solution: Look for ":123" after the Visual area. (closes #6952)
10503Files: src/findfile.c, src/testdir/test_gf.vim
10504
10505Patch 8.2.1685
10506Problem: Vim9: cannot declare a constant value.
10507Solution: Introduce ":const!".
10508Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10509 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10510 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10511 src/testdir/test_vim9_script.vim
10512
10513Patch 8.2.1686
10514Problem: Vim9: "const!" not sufficiently tested.
10515Solution: Add a few more test cases. Fix type checking.
10516Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10517
10518Patch 8.2.1687
10519Problem: Vim9: out of bounds error.
10520Solution: Check that cmdidx is not negative.
10521Files: src/vim9compile.c
10522
10523Patch 8.2.1688
10524Problem: Increment/decrement removes text property.
10525Solution: Insert the new number before deleting the old one. (closes #6962)
10526Files: src/ops.c, src/testdir/test_textprop.vim
10527
10528Patch 8.2.1689
10529Problem: 'colorcolumn' doesn't show in indent.
10530Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10531 (Alexey Demin, closes #6948, closes #6619)
10532Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10533 src/testdir/dumps/Test_colorcolumn_3.dump,
10534 src/testdir/test_highlight.vim
10535
10536Patch 8.2.1690
10537Problem: Text properties not adjusted for "I" in Visual block mode.
10538Solution: Call inserted_bytes(). (closes #6961)
10539Files: src/ops.c, src/change.c, src/proto/change.pro,
10540 src/testdir/test_textprop.vim
10541
10542Patch 8.2.1691
10543Problem: Vim9: list<any> is not accepted where list<number> is expected.
10544Solution: Add functions to allocate and free a type_T, use it in
10545 ISN_CHECKTYPE. (closes #6959)
10546Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10547 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10548 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10549 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10550 src/testdir/test_vim9_script.vim
10551
10552Patch 8.2.1692
10553Problem: Build fails because TTFLAG_STATIC is missing.
10554Solution: Include missing change.
10555Files: src/structs.h
10556
10557Patch 8.2.1693
10558Problem: "hi def" does not work for cleared highlight.
10559Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10560 closes #4405)
10561Files: src/highlight.c, src/testdir/test_highlight.vim
10562
10563Patch 8.2.1694
10564Problem: Compiler warning for loss if data.
10565Solution: Add typecast.
10566Files: src/ops.c
10567
10568Patch 8.2.1695
10569Problem: Vim9: crash when using varargs type "any".
10570Solution: Check if uf_va_type is &t_any. (closes #6957)
10571Files: src/vim9compile.c, src/vim9execute.c,
10572 src/testdir/test_vim9_func.vim
10573
10574Patch 8.2.1696
10575Problem: Unused (duplicate) macros.
10576Solution: Remove the macros.
10577Files: src/spell.c
10578
10579Patch 8.2.1697
10580Problem: Inconsistent capitalization of error messages.
10581Solution: Always start with a capital.
10582Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10583 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10584 src/testdir/test_assert.vim
10585
10586Patch 8.2.1698
10587Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10588Solution: Make ":lockvar 0" work.
10589Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10590 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10591 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10592
10593Patch 8.2.1699
10594Problem: Build failure due to missing error message.
10595Solution: Add error message.
10596Files: src/errors.h
10597
10598Patch 8.2.1700
10599Problem: Vim9: try/catch causes wrong value to be returned.
10600Solution: Reset tcd_return. (closes #6964)
10601Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10602
10603Patch 8.2.1701
10604Problem: Vim9: sort("i") does not work.
10605Solution: Don't try getting a number for a string argument. (closes #6958)
10606Files: src/list.c, src/testdir/test_vim9_func.vim
10607
10608Patch 8.2.1702
10609Problem: Crash when using undo after deleting folded lines.
10610Solution: Check for NULL pointer. (closes #6968)
10611Files: src/fold.c, src/testdir/test_fold.vim
10612
10613Patch 8.2.1703
10614Problem: ":highlight clear" does not restore default link.
10615Solution: Remember the default link and restore it. (Antony Scriven,
10616 closes #6970, closes #4405)
10617Files: runtime/doc/syntax.txt, src/highlight.c,
10618 src/testdir/test_highlight.vim
10619
10620Patch 8.2.1704
10621Problem: Vim9: crash in for loop when autoload script has an error.
10622Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10623Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10624
10625Patch 8.2.1705
10626Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10627Solution: Store the script context. (Antony Scriven, closes #6975)
10628Files: src/highlight.c, src/testdir/test_highlight.vim
10629
10630Patch 8.2.1706
10631Problem: Vim9: crash after running into the "Multiple closures" error.
10632Solution: When a function fails still update any closures. (closes #6973)
10633Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10634
10635Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010636Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010637Solution: Use one argument for :execute. (Antony Scriven, #6975)
10638Files: src/testdir/test_highlight.vim
10639
10640Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010641Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010642Solution: use printable_func_name(). (closes #6965)
10643Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10644
10645Patch 8.2.1709
10646Problem: Vim9: memory leak when using multiple closures.
10647Solution: Free the partial.
10648Files: src/vim9execute.c
10649
10650Patch 8.2.1710
10651Problem: Vim9: list of list type can be wrong.
10652Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10653 looking for a common type. (closes #6979)
10654Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10655
10656Patch 8.2.1711
10657Problem: Vim9: leaking memory when using partial.
10658Solution: Do delete the function even when it was compiled.
10659Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10660 src/vim9execute.c
10661
10662Patch 8.2.1712
10663Problem: Vim9: leaking memory when calling a lambda.
10664Solution: Decrement function reference from ISN_DCALL.
10665Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10666
10667Patch 8.2.1713
10668Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10669Solution: Add {} to make "n" incremented correctly. (closes #6989,
10670 closes #5948)
10671Files: src/gui_motif.c
10672
10673Patch 8.2.1714
10674Problem: Text properties corrupted with substitute command. (Filipe
10675 Brandenburger)
10676Solution: Get the changed line again after using u_savesub(). (closes #6984)
10677Files: src/textprop.c, src/testdir/test_textprop.vim
10678
10679Patch 8.2.1715
10680Problem: Motif GUI: commented out code missed {}.
10681Solution: Add {} and reenable the code. (similar to #6989)
10682Files: src/gui_motif.c
10683
10684Patch 8.2.1716
10685Problem: Options window has duplicate translations.
10686Solution: Make one entry for "global or local to buffer". Fix wrong text.
10687 (closes #6983)
10688Files: runtime/optwin.vim
10689
10690Patch 8.2.1717
10691Problem: MS-Windows installer doesn't have Russian translations.
10692Solution: Add Russian translations. (closes #6985)
10693Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10694
10695Patch 8.2.1718
10696Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10697 names for no good reason.
10698Solution: Don't check the arguments for a :def function. (closes #6986)
10699Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10700
10701Patch 8.2.1719
10702Problem: Vim9: no error if comma is missing in between arguments.
10703Solution: Give an error message.
10704Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10705
10706Patch 8.2.1720
10707Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10708 Pellé)
10709Solution: Don't clear the list items. (closes #6991)
10710Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10711
10712Patch 8.2.1721
10713Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010714Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010715Files: nsis/lang/russian.nsi
10716
10717Patch 8.2.1722
10718Problem: Vim9: cannot assign a lambda to a variable of type function.
10719Solution: Allow for assigning a partial to a variable of type function.
10720 (Naruhiko Nishino, closes #6996)
10721Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10722
10723Patch 8.2.1723
10724Problem: Vim9: Variable argument name cannot start with underscore.
10725Solution: Use eval_isnamec1(). (closes #6988)
10726Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10727
10728Patch 8.2.1724
10729Problem: Vim9: assignment tests spread out.
10730Solution: Create new test file for assignment tests.
10731Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
10732 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
10733 src/testdir/Make_all.mak
10734
10735Patch 8.2.1725
10736Problem: Not all Pascal files are recognized.
10737Solution: Add filetype patterns. (Doug Kearns)
10738Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10739
10740Patch 8.2.1726
10741Problem: Fuzzy matching only works on strings.
10742Solution: Support passing a dict. Add matchfuzzypos() to also get the match
10743 positions. (Yegappan Lakshmanan, closes #6947)
10744Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10745 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
10746 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
10747
10748Patch 8.2.1727
10749Problem: A popup created with "cursorline" will ignore "firstline".
10750Solution: When both "cursorline" and "firstline" are present put the cursor
10751 on "firstline". (closes #7000) Add the "winid" argument to
10752 getcurpos().
10753Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
10754 src/evalwindow.c, src/testdir/test_popupwin.vim,
10755 src/testdir/test_functions.vim
10756
10757Patch 8.2.1728
10758Problem: Compiler warning for using uninitialized variable. (John Marriott)
10759Solution: Initialize "neighbor".
10760Files: src/search.c
10761
10762Patch 8.2.1729
10763Problem: Endless loop when ":normal" feeds popup window filter.
10764Solution: Add the ex_normal_busy_done flag.
10765Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
10766 src/menu.c, src/testdir/test_popupwin.vim,
10767 src/testdir/dumps/Test_popupwin_normal_cmd.dump
10768
10769Patch 8.2.1730
10770Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010771Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010772Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10773
10774Patch 8.2.1731
10775Problem: Vim9: cannot use += to append to empty NULL list.
10776Solution: Copy the list instead of extending it. (closes #6998)
10777Files: src/eval.c, src/testdir/test_vim9_assign.vim
10778
10779Patch 8.2.1732
10780Problem: Stuck when win_execute() for a popup causes an error.
10781Solution: Disable the filter callback on error. (issue #6999)
10782Files: src/popupwin.c, src/testdir/term_util.vim,
10783 src/testdir/test_popupwin.vim,
10784 src/testdir/dumps/Test_popupwin_win_execute.dump
10785
10786Patch 8.2.1733
10787Problem: Vim9: memory leaks when using nested function.
10788Solution: Free function when compilation fails.
10789Files: src/vim9compile.c
10790
10791Patch 8.2.1734
10792Problem: Vim9: cannot use a funcref for a closure twice.
10793Solution: Instead of putting the funcref on the stack use a growarray on the
10794 execution context.
10795Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
10796 src/testdir/test_vim9_func.vim,
10797 src/testdir/test_vim9_disassemble.vim
10798
10799Patch 8.2.1735
10800Problem: Github actions appear to timeout too soon.
10801Solution: use "timeout" instead of "ping".
10802Files: .github/workflows/ci-windows.yaml
10803
10804Patch 8.2.1736
10805Problem: Failure to compile a pattern not tested much.
10806Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
10807 closes #7004)
10808Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
10809 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
10810 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
10811 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
10812 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
10813 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
10814 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
10815 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
10816 src/testdir/test_user_func.vim
10817
10818Patch 8.2.1737
10819Problem: Cursor line highlight in popup window is not always updated.
10820Solution: Check if the cursor has moved. (closes #7010)
10821Files: src/popupwin.c, src/testdir/test_popupwin.vim
10822 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
10823
10824Patch 8.2.1738
10825Problem: Mac: str2float() recognizes comma instead of decimal point.
10826Solution: Set LC_NUMERIC to "C". (closes #7003)
10827Files: src/os_mac_conv.c
10828
10829Patch 8.2.1739
10830Problem: Vim9: crash when compiling a manually defined function. (Antony
10831 Scriven)
10832Solution: Check that the script ID is positive. (closes #7012)
10833Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10834
10835Patch 8.2.1740
10836Problem: Test fails without the terminal feature.
10837Solution: Skip test if the terminal feature is not available.
10838Files: src/testdir/test_vim9_script.vim
10839
10840Patch 8.2.1741
10841Problem: pathshorten() only supports using one character.
10842Solution: Add an argument to control the length. (closes #7006)
10843Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
10844 src/proto/filepath.pro, src/testdir/test_functions.vim
10845
10846Patch 8.2.1742
10847Problem: Test still fails without the terminal feature.
10848Solution: Put check for terminal feature in separate function.
10849Files: src/testdir/test_vim9_script.vim
10850
10851Patch 8.2.1743
10852Problem: Cannot build without the eval feature.
10853Solution: Move shorten_dir outside of #ifdef.
10854Files: src/filepath.c
10855
10856Patch 8.2.1744
10857Problem: Vim9: using ":const!" is weird.
10858Solution: Use "var" - "final" - "const" like Dart. "let" still works for
10859 now.
10860Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
10861 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
10862 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
10863 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
10864 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
10865
10866Patch 8.2.1745
10867Problem: Tiny version doesn't build.
10868Solution: Add dummy ex_var() function.
10869Files: src/ex_docmd.c
10870
10871Patch 8.2.1746
10872Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
10873Solution: Specifically check for "fina". (closes #7020)
10874Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
10875 src/testdir/test_vim9_script.vim
10876
10877Patch 8.2.1747
10878Problem: Result of expand() unexpectedly depends on 'completeslash'.
10879Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
10880 closes #7021)
10881Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
10882
10883Patch 8.2.1748
10884Problem: Closing split window in other tab may cause a crash.
10885Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
10886Files: src/window.c, src/testdir/test_winbuf_close.vim
10887
10888Patch 8.2.1749
10889Problem: Vim9: crash when closure fails in nested function.
10890Solution: Handle function returns before dereferencing remaining closures.
10891 (closes #7008)
10892Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10893
10894Patch 8.2.1750
10895Problem: Setting firstline with popup_setoptions() fails if cursorline is
10896 set.
10897Solution: Use apply_options(). Update the popup before applying "zz".
10898 (closes #7010)
10899Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
10900 src/testdir/test_popupwin.vim,
10901 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
10902 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
10903 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
10904
10905Patch 8.2.1751
10906Problem: Using 2 where bool is expected may throw an error.
10907Solution: Make this backwards compatible.
10908Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
10909 src/testdir/test_terminal2.vim
10910
10911Patch 8.2.1752
10912Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
10913Solution: Adjust the characters for which the shift modifier is removed.
10914 (closes #7016) Make Motif and Win32 use the same function as GTK.
10915Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
10916 src/testdir/test_termcodes.vim
10917
10918Patch 8.2.1753
10919Problem: Vim9: crash when using import at script level.
10920Solution: Give a "not implemented yet" error. (closes #7026)
10921Files: src/evalvars.c
10922
10923Patch 8.2.1754
10924Problem: Completion with spell checking not tested.
10925Solution: Add a test case. (Dominique Pellé, closes #7024)
10926Files: src/testdir/test_spell.vim
10927
10928Patch 8.2.1755
10929Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
10930Solution: Check for NULL list. (closes #7027) Fix comment character.
10931Files: src/vim9compile.c, src/evalvars.c,
10932 src/testdir/test_vim9_assign.vim
10933
10934Patch 8.2.1756
10935Problem: Vim9: :let will soon be disallowed.
10936Solution: Add v:disallow_let temporarily. Fix tests.
10937Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
10938 src/userfunc.c, src/testdir/test_vim9_script.vim
10939
10940Patch 8.2.1757
10941Problem: Mac: default locale is lacking the encoding.
10942Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
10943Files: src/os_mac_conv.c, src/testdir/test_environ.vim
10944
10945Patch 8.2.1758
10946Problem: Vim9: type of unmaterialized list is wrong.
10947Solution: Use list<number>.
10948Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10949
10950Patch 8.2.1759
10951Problem: Vim9: Some tests are still using :let.
10952Solution: Change more declarations to use :var.
10953Files: src/testdir/test_vim9_expr.vim
10954
10955Patch 8.2.1760
10956Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
10957Solution: Check for end of function lines. (closes #7031)
10958Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10959
10960Patch 8.2.1761
10961Problem: Vim9: Some tests are still using :let.
10962Solution: Change more declarations to use :var.
10963Files: src/testdir/test_vim9_assign.vim,
10964 src/testdir/test_vim9_cmd.vim,
10965 src/testdir/test_vim9_disassemble.vim
10966
10967Patch 8.2.1762
10968Problem: When a timer uses :stopinsert Insert mode completion isn't
10969 stopped. (Stanley Chan)
10970Solution: Call ins_compl_prep(ESC).
10971Files: src/edit.c, src/testdir/test_ins_complete.vim,
10972 src/testdir/dumps/Test_pum_stopped_by_timer.dump
10973
10974Patch 8.2.1763
10975Problem: Vim9: cannot use "true" for popup window scrollbar option.
10976Solution: use dict_get_bool(). (closes #7029)
10977Files: src/popupwin.c, src/testdir/test_popupwin.vim
10978
10979Patch 8.2.1764
10980Problem: Vim9: no error when assigning to script var with wrong type.
10981Solution: Fix off-by-one error. (closes #7028)
10982Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10983
10984Patch 8.2.1765
10985Problem: Vim9: some tests use "var var".
10986Solution: Use "var name". (closes #7032)
10987Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
10988
10989Patch 8.2.1766
10990Problem: Vim9: Some tests are still using :let.
10991Solution: Change the last few declarations to use :var.
10992Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
10993 src/testdir/test_vim9_cmd.vim,
10994 src/testdir/test_vim9_disassemble.vim,
10995 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10996 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
10997 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
10998
10999Patch 8.2.1767
11000Problem: Vim9: test fails with python support.
11001Solution: Use "let" in legacy function.
11002Files: src/testdir/test_vim9_func.vim
11003
11004Patch 8.2.1768
11005Problem: Cannot use the help menu from a terminal window.
11006Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11007Files: runtime/menu.vim, src/testdir/test_gui.vim
11008
11009Patch 8.2.1769
11010Problem: A popup filter interferes with using :normal to move the cursor in
11011 a popup.
11012Solution: Do not invoke the filter when ex_normal_busy is set.
11013Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11014 src/ex_docmd.c, src/menu.c, src/globals.h,
11015 src/testdir/test_popupwin.vim,
11016 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11017
11018Patch 8.2.1770
11019Problem: Invalid memory use when using SpellFileMissing autocmd.
11020Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11021 that was closed.
11022Files: src/spell.c, src/testdir/test_spell.vim
11023
11024Patch 8.2.1771
11025Problem: synIDattr() cannot get the value of ctermul.
11026Solution: Add the "ul" value for "what". (closes #7037)
11027Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11028 src/testdir/test_highlight.vim
11029
11030Patch 8.2.1772
11031Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11032Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11033Files: src/terminal.c, src/testdir/test_terminal.vim
11034
11035Patch 8.2.1773
11036Problem: Crash when calling mapset() with a list as first argument.
11037Solution: Check for NULL. (closes #7040)
11038Files: src/map.c, src/testdir/test_maparg.vim
11039
11040Patch 8.2.1774
11041Problem: GTK: hang when forced to exit.
11042Solution: Do not clean up "mainwin" when really_exiting is set.
11043 (Zdenek Dohnal, closes #7042)
11044Files: src/gui_gtk_x11.c
11045
11046Patch 8.2.1775
11047Problem: MS-Windows: adding a long quickfix list is slow.
11048Solution: Shorten the buffer name only for the first entry. (Yegappan
11049 Lakshmanan, closes #7039, closes #7033)
11050Files: src/quickfix.c, src/testdir/test_quickfix.vim
11051
11052Patch 8.2.1776
11053Problem: Filetype.vim may be loaded twice.
11054Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11055 closes #7049)
11056Files: runtime/defaults.vim
11057
11058Patch 8.2.1777
11059Problem: Vim9: some assignment tests in the wrong file.
11060Solution: Move assignment tests to test_vim9_assign.
11061Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11062
11063Patch 8.2.1778
11064Problem: Vim9: returning from a partial call clears outer context, causing
11065 a crash.
11066Solution: Put the outer context in the stack frame. (closes #7044)
11067Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11068
11069Patch 8.2.1779
11070Problem: Some debian changelog files are not recognized.
11071Solution: Add */debian/changelog. (Jason Franklin)
11072Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11073
11074Patch 8.2.1780
11075Problem: Statusline not updated when splitting windows.
11076Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11077Files: src/window.c, src/testdir/test_statusline.vim
11078
11079Patch 8.2.1781
11080Problem: Writing to prompt buffer interferes with insert mode.
11081Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11082 closes #7035)
11083Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11084
11085Patch 8.2.1782
11086Problem: Vim9: cannot pass boolean to mapset().
11087Solution: Use get_tv_bool(). (closes #7041)
11088Files: src/map.c, src/testdir/test_vim9_func.vim
11089
11090Patch 8.2.1783 (after 8.2.1781)
11091Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011092Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011093Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11094 src/testdir/runtest.vim
11095
11096Patch 8.2.1784
11097Problem: commits are not scanned for security problems
11098Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11099Files: .github/workflows/codeql-analysis.yml
11100
11101Patch 8.2.1785
11102Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11103Solution: use memmove() instead.
11104Files: src/dict.c
11105
11106Patch 8.2.1786
11107Problem: Various Normal mode commands not fully tested.
11108Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11109Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11110 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11111 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11112
11113Patch 8.2.1787
11114Problem: Crash with 'incsearch' and very long line.
11115Solution: Check whether regprog becomes NULL. (closes #7063)
11116Files: src/search.c, src/testdir/test_search.vim
11117
11118Patch 8.2.1788
11119Problem: Vim9: still allows :let for declarations.
11120Solution: Make the default for v:disallow_let one. It can still be set to
11121 zero to allow for using :let.
11122Files: src/evalvars.c, src/testdir/runtest.vim
11123
11124Patch 8.2.1789
11125Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11126Solution: Return FAIL when compiling the list fails. (closes #7066)
11127Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11128
11129Patch 8.2.1790
11130Problem: MS-Windows with Python: crash when executed from Vifm.
11131Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11132Files: src/if_python3.c
11133
11134Patch 8.2.1791
11135Problem: Vim9: debugger test fails.
11136Solution: Use "var" instead of "let".
11137Files: src/testdir/test_debugger.vim
11138
11139Patch 8.2.1792
11140Problem: Configure does not recognize Racket 6.1+.
11141Solution: Add a check for "rktio". (closes #7062)
11142Files: src/configure.ac, src/auto/configure
11143
11144Patch 8.2.1793
11145Problem: Not consistently giving the "is a directory" warning.
11146Solution: Adjust check for illegal file name and directory. (Yasuhiro
11147 Matsumoto, closes #7067)
11148Files: src/fileio.c, src/testdir/test_edit.vim
11149
11150Patch 8.2.1794
11151Problem: No falsy Coalescing operator.
11152Solution: Add the "??" operator. Fix mistake with function argument count.
11153Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11154 src/vim9type.c, src/testdir/test_expr.vim,
11155 src/testdir/test_vim9_expr.vim,
11156 src/testdir/test_vim9_disassemble.vim
11157
11158Patch 8.2.1795
11159Problem: Vim9: operators && and || have a confusing result.
11160Solution: Make the result a boolean.
11161Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11162 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11163 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11164 src/testdir/test_vim9_cmd.vim,
11165 src/testdir/test_vim9_disassemble.vim
11166
11167Patch 8.2.1796
11168Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11169 Mishra)
11170Solution: Check the name is valid. Add a test.
11171Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11172
11173Patch 8.2.1797
11174Problem: Vim9: some parts of the code not tested.
11175Solution: Add a few tests.
11176Files: src/testdir/test_vim9_func.vim
11177
11178Patch 8.2.1798
11179Problem: Vim9: ternary operator condition is too permissive.
11180Solution: Use tv_get_bool_chk().
11181Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11182 src/vim9execute.c, src/testdir/vim9.vim,
11183 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11184 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11185
11186Patch 8.2.1799
11187Problem: Some Normal mode commands not fully tested.
11188Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11189Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11190 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11191 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11192 src/testdir/test_visual.vim
11193
11194Patch 8.2.1800
11195Problem: Vim9: memory leak if "if" condition is invalid.
11196Solution: Free ppconst earlier.
11197Files: src/vim9compile.c
11198
11199Patch 8.2.1801
11200Problem: Undo file not found when using ":args" or ":next".
11201Solution: Handle like editing another file. (closes #7072)
11202Files: src/ex_cmds.c, src/testdir/test_undo.vim
11203
11204Patch 8.2.1802
11205Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11206Solution: Return empty string instead of NULL. (closes #7084)
11207Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11208
11209Patch 8.2.1803
11210Problem: A few failures are not tested.
11211Solution: Test a few failures. (Dominique Pellé, closes #7075)
11212Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11213 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11214
11215Patch 8.2.1804
11216Problem: resolve('/') returns an empty string.
11217Solution: Don't remove single slash. (closes #7074)
11218Files: src/filepath.c, src/testdir/test_functions.vim
11219
11220Patch 8.2.1805
11221Problem: Unix: terminal mode changed when using ":shell".
11222Solution: Avoid calling settmode() when not needed. (issue #7079)
11223Files: src/os_unix.c
11224
11225Patch 8.2.1806
11226Problem: MS-Windows with Python: Vim freezes after import command.
11227Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11228 Matsumoto, closes #7083)
11229Files: src/if_python3.c
11230
11231Patch 8.2.1807
11232Problem: Can use :help in a terminal popup window.
11233Solution: Give an error. (closes #7088)
11234Files: src/help.c, src/testdir/test_popupwin.vim
11235
11236Patch 8.2.1808
11237Problem: No test coverage for ":spelldump!".
11238Solution: Add a test. (Dominique Pellé, closes #7089)
11239Files: src/testdir/test_spell.vim
11240
11241Patch 8.2.1809
11242Problem: Mapping some keys with Ctrl does not work properly.
11243Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11244Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11245 src/gui_x11.c, src/testdir/test_termcodes.vim
11246
11247Patch 8.2.1810
11248Problem: Some code in normal.c not covered by tests.
11249Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11250Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11251
11252Patch 8.2.1811
11253Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11254Solution: Remove the shift modifier. (closes #6457)
11255Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11256
11257Patch 8.2.1812
11258Problem: Vim9: nested closure throws an internal error.
11259Solution: Do not skip a local variable with a partial. (closes #7065)
11260Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11261
11262Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011263Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011264Solution: Check the type if known.
11265Files: src/structs.h, src/eval.c, src/vim9script.c,
11266 src/proto/vim9script.pro, src/proto/evalvars.pro,
11267 src/testdir/test_vim9_script.vim
11268
11269Patch 8.2.1814 (after 8.2.1813)
11270Problem: Missing change to remove "static".
11271Solution: Add the change.
11272Files: src/evalvars.c
11273
11274Patch 8.2.1815
11275Problem: Vim9: memory leak when using function reference.
11276Solution: Temporarily disable the test.
11277Files: src/testdir/test_vim9_disassemble.vim
11278
11279Patch 8.2.1816
11280Problem: Vim9: another memory leak when using function reference.
11281Solution: Temporarily disable the tests.
11282Files: src/testdir/test_vim9_func.vim
11283
11284Patch 8.2.1817
11285Problem: Vim9: wrong instruction when reusing a local variable spot.
11286Solution: Clear a newly allocated local variable. (closes #7080)
11287Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11288
11289Patch 8.2.1818
11290Problem: SE Linux: deprecation warning for security_context_t.
11291Solution: Use "char *" instead. (James McCoy, closes #7093)
11292Files: src/os_unix.c
11293
11294Patch 8.2.1819
11295Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011296Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011297 tests.
11298Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11299 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11300 src/testdir/test_vim9_func.vim
11301
11302Patch 8.2.1820
11303Problem: Vim9: crash when error happens in timer callback.
11304Solution: Check that current_exception is not NULL. (closes #7100)
11305Files: src/ex_docmd.c
11306
11307Patch 8.2.1821
11308Problem: Vim9: concatenating to a NULL list doesn't work.
11309Solution: Handle a NULL list like an empty list. (closes #7064)
11310Files: src/list.c, src/testdir/test_vim9_assign.vim
11311
11312Patch 8.2.1822 (after 8.2.1821)
11313Problem: List test doesn't fail.
11314Solution: Adjust the test for NULL list handling.
11315Files: src/testdir/test_listdict.vim
11316
11317Patch 8.2.1823
11318Problem: "gN" does not select the matched string.
11319Solution: Move the cursor to the start of the match.
11320Files: src/search.c, src/testdir/test_gn.vim
11321
11322Patch 8.2.1824
11323Problem: Vim9: variables at the script level escape their scope.
11324Solution: When leaving a scope remove variables declared in it.
11325Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11326 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11327
11328Patch 8.2.1825
11329Problem: Vim9: accessing freed memory.
11330Solution: Clear sv_name when the variable is deleted.
11331Files: src/ex_eval.c
11332
11333Patch 8.2.1826
11334Problem: Vim9: cannot use a {} block at script level.
11335Solution: Recognize a {} block.
11336Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11337 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11338 src/testdir/test_vim9_script.vim
11339
11340Patch 8.2.1827
11341Problem: Filetype detection does not test enough file names.
11342Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11343Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11344
11345Patch 8.2.1828
11346Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011347Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011348Files: src/ex_docmd.c
11349
11350Patch 8.2.1829
11351Problem: Warnings when executing Github actions.
11352Solution: Use another method to set environment variables. (Ken Takata,
11353 closes #7107)
11354Files: .github/workflows/ci-windows.yaml
11355
11356Patch 8.2.1830
11357Problem: MS-Windows: Python3 issue with stdin.
11358Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11359Files: src/if_python3.c
11360
11361Patch 8.2.1831
11362Problem: File missing from distribution.
11363Solution: Add the github code analyses file.
11364Files: Filelist
11365
11366Patch 8.2.1832
11367Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11368Solution: Use semsg() instead of smsg().
11369Files: src/fileio.c, src/testdir/test_functions.vim
11370
11371Patch 8.2.1833
11372Problem: When reading from stdin dup() is called twice.
11373Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11374Files: src/main.c
11375
11376Patch 8.2.1834
11377Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11378Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11379 Takata, closes #7113) Avoid warnings for functions.
11380Files: src/if_python3.c, src/if_py_both.h
11381
11382Patch 8.2.1835
11383Problem: ":help ??" finds the "!!" tag.
11384Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11385 closes #7115)
11386Files: src/help.c, src/testdir/test_help_tagjump.vim
11387
11388Patch 8.2.1836
11389Problem: Autocmd test fails on pacifist systems.
11390Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11391 Tune the timing, make the autocmd test run faster.
11392Files: src/testdir/test_autocmd.vim
11393
11394Patch 8.2.1837
11395Problem: Using "gn" after "gN" does not work.
11396Solution: Extend the other end of the Visual area. (closes #7109)
11397Files: src/search.c, src/testdir/test_gn.vim
11398
11399Patch 8.2.1838
11400Problem: Vim9: cannot insert a comment line in an expression.
11401Solution: Skip comment lines at the script level. (closes #7111)
11402Files: src/eval.c, src/testdir/test_vim9_expr.vim
11403
11404Patch 8.2.1839
11405Problem: Vim9: memory leaks reported in assign test.
11406Solution: Move the failing job_start() call to separate test files, it
11407 causes false leak reports.
11408Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11409 src/testdir/Make_all.mak
11410
11411Patch 8.2.1840
11412Problem: Vim9: error message is not clear about compilation error.
11413Solution: Say "compiling" instead of "processing".
11414Files: src/vim9compile.c, src/message.c, src/globals.h,
11415 src/testdir/test_vim9_func.vim
11416
11417Patch 8.2.1841
11418Problem: Vim9: test for compilation error fails in normal build.
11419Solution: Invoke CheckRunVimInTerminal in a separate function.
11420Files: src/testdir/test_vim9_func.vim
11421
11422Patch 8.2.1842
11423Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11424Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11425 closes #7123)
11426Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11427
11428Patch 8.2.1843
11429Problem: Netbeans: with huge buffer number memory allocation may fail.
11430Solution: Check for size overflow.
11431Files: src/netbeans.c
11432
11433Patch 8.2.1844
11434Problem: Using "q" at the more prompt doesn't stop a long message.
11435Solution: Check for "got_int". (closes #7122)
11436Files: src/message.c, src/testdir/test_messages.vim,
11437 src/testdir/dumps/Test_quit_long_message.dump
11438
11439Patch 8.2.1845
11440Problem: Vim9: function defined in a block can't use variables defined in
11441 that block.
11442Solution: First step: Make a second hashtab that holds all script variables,
11443 also block-local ones, with more information.
11444Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11445 src/proto/vim9script.pro, src/scriptfile.c
11446
11447Patch 8.2.1846
11448Problem: Vim9: variables declared in a local block are not found in
11449 when a function is compiled.
11450Solution: Look for script variables in sn_all_vars.
11451Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11452 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11453 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11454 src/testdir/test_vim9_script.vim
11455
11456Patch 8.2.1847
11457Problem: Vim9: using negative value for unsigned type.
11458Solution: Use zero instead of -1.
11459Files: src/vim9compile.c
11460
11461Patch 8.2.1848
11462Problem: Crash when passing a NULL string or list to popup_settext().
11463Solution: Check for NULL pointers. (closes #7132)
11464Files: src/popupwin.c, src/testdir/test_popupwin.vim
11465
11466Patch 8.2.1849
11467Problem: Vim9: garbage collection frees block-local variables.
11468Solution: Mark all script variables as used.
11469Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11470
11471Patch 8.2.1850
11472Problem: "vat" does not select tags correctly over line break.
11473Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11474Files: src/textobject.c, src/testdir/test_textobjects.vim
11475
11476Patch 8.2.1851
11477Problem: Vim9: "!" followed by space incorrectly used.
11478Solution: Skip over trailing spaces. (closes #7131)
11479Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11480
11481Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011482Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011483Solution: Return the empty list. (closes #7133)
11484Files: src/list.c, src/testdir/test_filter_map.vim,
11485 src/testdir/test_blob.vim
11486
11487Patch 8.2.1853
11488Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011489Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011490Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11491
11492Patch 8.2.1854
11493Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11494 Mishra)
11495Solution: Handle NULL string like empty string. (closes #7139)
11496Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11497
11498Patch 8.2.1855
11499Problem: Vim9: get error message when nothing is wrong.
11500Solution: Check called_emsg instead of did_emsg. (closes #7143)
11501Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11502
11503Patch 8.2.1856
11504Problem: "2resize" uses size of current window. (Daniel Steinberg)
11505Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11506Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11507
11508Patch 8.2.1857
11509Problem: Vim9: using job_status() on an unused var gives an error.
11510Solution: Return "fail". (closes #7158)
11511Files: src/job.c, src/testdir/test_vim9_assign.vim
11512
11513Patch 8.2.1858
11514Problem: Vim9: filter functions return number instead of bool.
11515Solution: Return v:true instead of one. (closes #7144)
11516Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11517
11518Patch 8.2.1859
11519Problem: Vim9: crash in unpack assignment.
11520Solution: Make sure an error message is turned into an exception.
11521 (closes #7159)
11522Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11523 src/testdir/test_vim9_script.vim
11524
11525Patch 8.2.1860
11526Problem: Vim9: memory leak when throwing empty string.
11527Solution: Free the empty string.
11528Files: src/vim9execute.c
11529
11530Patch 8.2.1861
11531Problem: Vim9: no specific error when parsing lambda fails.
11532Solution: Also give syntax errors when not evaluating. (closes #7154)
11533Files: src/dict.c, src/testdir/test_vim9_expr.vim
11534
11535Patch 8.2.1862
11536Problem: vim9: memory leak when compiling lambda fails.
11537Solution: Call clear_evalarg().
11538Files: src/vim9compile.c
11539
11540Patch 8.2.1863
11541Problem: Json code not sufficiently tested.
11542Solution: Add more test cases. (Dominique Pellé, closes #7166)
11543Files: src/testdir/test_json.vim
11544
11545Patch 8.2.1864
11546Problem: Vim9: no error for wrong list type.
11547Solution: Add flag to indicate a constant. (closes #7160)
11548Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11549
11550Patch 8.2.1865
11551Problem: Vim9: add() does not check type of argument.
11552Solution: Inline the add() call. (closes #7160)
11553Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11554 src/testdir/test_vim9_func.vim,
11555 src/testdir/test_vim9_disassemble.vim
11556
11557Patch 8.2.1866
11558Problem: Vim9: appending to pushed blob gives wrong result.
11559Solution: Set ga_maxlen when copying a blob.
11560Files: src/blob.c, src/testdir/test_vim9_func.vim
11561
11562Patch 8.2.1867
11563Problem: Vim9: argument to add() not checked for blob.
11564Solution: Add the BLOBAPPEND instruction.
11565Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11566 src/testdir/test_vim9_func.vim,
11567 src/testdir/test_vim9_disassemble.vim
11568
11569Patch 8.2.1868
11570Problem: Vim9: no error for missing space after comma in dict.
11571Solution: Check for white space. (closes #6672)
11572Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11573
11574Patch 8.2.1869
11575Problem: Vim9: memory leak when using add().
11576Solution: Free the added item.
11577Files: src/vim9execute.c
11578
11579Patch 8.2.1870
11580Problem: Vim9: no need to keep all script variables.
11581Solution: Only keep script variables when a function was defined that could
11582 use them. Fix freeing static string on exit.
11583Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11584 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11585
11586Patch 8.2.1871
11587Problem: Using %v in 'errorformat' may fail before %Z.
11588Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11589Files: src/quickfix.c, src/testdir/test_quickfix.vim
11590
11591Patch 8.2.1872
11592Problem: Matchfuzzy() does not prefer sequential matches.
11593Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11594 closes #7140)
11595Files: src/search.c, src/testdir/test_matchfuzzy.vim
11596
11597Patch 8.2.1873
11598Problem: Vim9: missing white space when using <f-args>.
11599Solution: Add spaces. (Christian J. Robinson)
11600Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11601
11602Patch 8.2.1874
11603Problem: Can't do something just before leaving Insert mode.
11604Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11605Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11606 src/autocmd.c, src/testdir/test_edit.vim
11607
11608Patch 8.2.1875
11609Problem: Warning when building GTK gui.
11610Solution: Add missing function parameter.
11611Files: src/gui_gtk_f.c
11612
11613Patch 8.2.1876
11614Problem: Vim9: argument types for builtin functions are not checked at
11615 compile time.
11616Solution: Add an argument type checking mechanism. Implement type checks for
11617 one function.
11618Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11619 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11620 src/testdir/Make_all.mak
11621
11622Patch 8.2.1877 (after 8.2.1876)
11623Problem: Test for function list fails.
11624Solution: Move "obsolete" comments one line up.
11625Files: src/evalfunc.c
11626
11627Patch 8.2.1878
11628Problem: GTK: error for redefining function. (Tony Mechelynck)
11629Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11630 global functions.
11631Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11632
11633Patch 8.2.1879
11634Problem: Vim9: argument types of insert() not checked when compiling.
11635Solution: Add argument type checks for insert().
11636Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11637 src/testdir/test_vim9_builtin.vim
11638
11639Patch 8.2.1880
11640Problem: Vim9: Asan complains about adding zero to NULL.
11641Solution: Check for argument count first.
11642Files: src/vim9compile.c
11643
11644Patch 8.2.1881
11645Problem: Cannot build with GTK3.
11646Solution: Adjust form functions.
11647Files: src/gui_gtk_f.c
11648
11649Patch 8.2.1882
11650Problem: Vim9: v:disallow_let is no longer needed.
11651Solution: Remove v:disallow_let.
11652Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11653
11654Patch 8.2.1883
11655Problem: Compiler warnings when using Python.
11656Solution: Adjust PyCFunction to also have the second argument. Use "int"
11657 return type for some functions. Insert "(void *)" to get rid of
11658 the remaining warnings.
11659Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11660
11661Patch 8.2.1884
11662Problem: Compiler warning for uninitialized variable. (John Marriott)
11663Solution: Initialize with NULL.
11664Files: src/vim9compile.c, src/evalfunc.c
11665
11666Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011667Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011668Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11669Files: src/testdir/test_filetype.vim
11670
11671Patch 8.2.1886
11672Problem: Using ":silent!" in a popup filter has unexpected effect.
11673Solution: Use did_emsg instead of called_emsg. (closes #7178)
11674Files: src/popupwin.c, src/testdir/test_popupwin.vim
11675
11676Patch 8.2.1887
11677Problem: Github actions not optimally configured.
11678Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11679 closes #7184)
11680Files: .github/workflows/ci-windows.yaml
11681
11682Patch 8.2.1888
11683Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11684Solution: Return an empty list. (closes #7180)
11685Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11686
11687Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011688Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011689Solution: Don't skip over white space after {}. (issue #7167)
11690Files: src/dict.c, src/testdir/test_vim9_expr.vim
11691
11692Patch 8.2.1890
11693Problem: Vim9: strange error for subtracting from a list.
11694Solution: Check getting a number, not a string. (closes #7167)
11695Files: src/eval.c, src/testdir/test_vim9_expr.vim
11696
11697Patch 8.2.1891
11698Problem: Vim9: skipping over expression doesn't handle line breaks.
11699Solution: Pass evalarg to skip_expr(). (closes #7157)
11700Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11701 src/misc1.c, src/testdir/test_vim9_cmd.vim
11702
11703Patch 8.2.1892
11704Problem: Valgrind warns for using uninitialized access in tests.
11705Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11706 closes #7187)
11707Files: src/terminal.c
11708
11709Patch 8.2.1893
11710Problem: Fuzzy matching does not support multiple words.
11711Solution: Add support for matching white space separated words. (Yegappan
11712 Lakshmanan, closes #7163)
11713Files: runtime/doc/eval.txt, src/search.c,
11714 src/testdir/test_matchfuzzy.vim
11715
11716Patch 8.2.1894
11717Problem: Vim9: command modifiers are not supported.
11718Solution: Support "silent" and "silent!".
11719Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
11720 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
11721 src/testdir/test_vim9_cmd.vim
11722
11723Patch 8.2.1895 (after 8.2.1894)
11724Problem: Vim9: silent command modifier test fails.
11725Solution: Add missing changes.
11726Files: src/ex_docmd.c
11727
11728Patch 8.2.1896
11729Problem: Valgrind warns for using uninitialized memory.
11730Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
11731 Pellé, closes #7194)
11732Files: src/os_unix.c
11733
11734Patch 8.2.1897
11735Problem: Command modifiers are saved and set inconsistently.
11736Solution: Separate parsing and applying command modifiers. Save values in
11737 cmdmod_T.
11738Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
11739 src/ex_cmds.h, src/vim9compile.c
11740
11741Patch 8.2.1898
11742Problem: Command modifier parsing always uses global cmdmod.
11743Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000011744Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011745 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
11746 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
11747 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
11748 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
11749 src/memline.c, src/message.c, src/option.c, src/ops.c,
11750 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
11751 src/search.c, src/session.c, src/tag.c, src/terminal.c,
11752 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
11753 src/proto/ex_docmd.pro
11754
11755Patch 8.2.1899
11756Problem: Crash in out-of-memory situation.
11757Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
11758Files: src/ex_cmds.c
11759
11760Patch 8.2.1900
11761Problem: Vim9: command modifiers do not work.
11762Solution: Make most command modifiers work.
11763Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11764 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
11765 src/testdir/test_vim9_disassemble.vim
11766
11767Patch 8.2.1901
11768Problem: Variable completion does not work in command line window.
11769Solution: Use the "prevwin". (closes #7198)
11770Files: src/evalvars.c, src/testdir/test_ins_complete.vim
11771
11772Patch 8.2.1902
11773Problem: Default option values are changed when using :badd for an existing
11774 buffer.
11775Solution: When calling buflist_new() pass a zero line number. (closes #7195)
11776Files: src/ex_cmds.c, src/testdir/test_buffer.vim
11777
11778Patch 8.2.1903 (after 8.2.1902)
11779Problem: Buffer test fails with normal features.
11780Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
11781Files: src/testdir/test_buffer.vim
11782
11783Patch 8.2.1904
11784Problem: Still using default option values after using ":badd +1".
11785Solution: Find a window where options were set. Don't set the window when
11786 using ":badd".
11787Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
11788 src/testdir/test_buffer.vim
11789
11790Patch 8.2.1905
11791Problem: The wininfo list may contain stale entries.
11792Solution: When closing a window remove any other entry where the window
11793 pointer is NULL.
11794Files: src/buffer.c, src/proto/buffer.pro, src/window.c
11795
11796Patch 8.2.1906
11797Problem: Warning for signed/unsigned.
11798Solution: Use size_t instead of int. (Mike Williams)
11799Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
11800
11801Patch 8.2.1907
11802Problem: Complete_info().selected may be wrong.
11803Solution: Update cp_number if it was never set. (issue #6945)
11804Files: src/insexpand.c, src/testdir/test_ins_complete.vim
11805
11806Patch 8.2.1908
11807Problem: Lua is initialized even when not used.
11808Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
11809 closes #7191). Avoid compiler warnings.
11810Files: src/if_lua.c, src/testdir/test_lua.vim
11811
11812Patch 8.2.1909
11813Problem: Number of status line items is limited to 80.
11814Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
11815Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
11816 src/proto/buffer.pro, src/screen.c, src/structs.h,
11817 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
11818 src/vim.h
11819
11820Patch 8.2.1910
11821Problem: Reading past the end of the command line.
11822Solution: Check for NUL. (closes #7204)
11823Files: src/ex_docmd.c, src/testdir/test_edit.vim
11824
11825Patch 8.2.1911
11826Problem: Tiny build fails.
11827Solution: Add #ifdef.
11828Files: src/insexpand.c
11829
11830Patch 8.2.1912
11831Problem: With Python 3.9 some tests fail.
11832Solution: Take into account the different error message. (James McCoy,
11833 closes #7210)
11834Files: src/testdir/test_python3.vim
11835
11836Patch 8.2.1913
11837Problem: GTK GUI: rounding for the cell height is too strict.
11838Solution: Round up above 15/16 of a pixel. (closes #7203)
11839Files: src/gui_gtk_x11.c
11840
11841Patch 8.2.1914
11842Problem: Vim9: cannot put line break in expression for '=' register.
11843Solution: Pass fgetline to set_expr_line(). (closes #7209)
11844Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
11845 src/eval.c, src/proto/eval.pro, src/misc2.c,
11846 src/testdir/test_vim9_script.vim
11847
11848Patch 8.2.1915
11849Problem: Vim9: error for wrong number of arguments is not useful.
11850Solution: Mention whatever we have for the name. (closes #7208)
11851Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11852
11853Patch 8.2.1916
11854Problem: Vim9: function call is aborted even when "silent!" is used.
11855Solution: Use did_emsg instead of called_emsg. (closes #7213)
11856Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11857
11858Patch 8.2.1917
11859Problem: No test for improved Man command.
11860Solution: Test that shell arguments are properly escaped.
11861Files: src/testdir/test_man.vim
11862
11863Patch 8.2.1918
11864Problem: Vim9: E1100 mentions :let.
11865Solution: Mention "var". (closes #7207)
11866Files: src/vim9script.c, src/errors.h
11867
11868Patch 8.2.1919
11869Problem: Assert_fails() setting emsg_silent changes normal execution.
11870Solution: Use a separate flag in_assert_fails.
11871Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
11872 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
11873 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
11874 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
11875 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
11876 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
11877
11878Patch 8.2.1920
11879Problem: Listlbr test fails when run after another test.
11880Solution: Add test separately to list of test targets.
11881Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
11882
11883Patch 8.2.1921
11884Problem: Fuzzy matching does not recognize path separators.
11885Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
11886 closes #7225)
11887Files: src/search.c, src/testdir/test_matchfuzzy.vim
11888
11889Patch 8.2.1922
11890Problem: Win32: scrolling doesn't work properly when part of window is
11891 off-screen.
11892Solution: Fall back to GDI scrolling if part of the window is off-screen.
11893 Handle multi-monitor setup better. (Ken Takata, closes #7219)
11894Files: src/gui_w32.c
11895
11896Patch 8.2.1923
11897Problem: Vim9: "filter" command modifier doesn't work.
11898Solution: Check for space on char before argument. (closes #7216,
11899 closes #7222)
11900Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
11901
11902Patch 8.2.1924
11903Problem: Vim9: crash when indexing dict with NULL key.
11904Solution: Use empty string instead of NULL. (closes #7229) Make error
11905 message more useful for empty string.
11906Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
11907
11908Patch 8.2.1925 (after 8.2.1924)
11909Problem: List/dict test fails.
11910Solution: Correct expected exception.
11911File: src/testdir/test_listdict.vim
11912
11913Patch 8.2.1926
11914Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
11915Solution: Permit using a space. (closes #7230)
11916Files: src/spell.c, src/testdir/gen_opt_test.vim
11917
11918Patch 8.2.1927
11919Problem: Vim9: get unknown error with an error in a timer function.
11920Solution: Use did_emsg instead of called_emsg. (closes #7231)
11921Files: src/vim9compile.c, src/vim9execute.c
11922
11923Patch 8.2.1928
11924Problem: Vim9: "silent!" not effective when list index is wrong.
11925Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
11926Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11927
11928Patch 8.2.1929
11929Problem: MS-Windows: problem loading Perl 5.32.
11930Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
11931Files: src/if_perl.xs
11932
11933Patch 8.2.1930
11934Problem: Wrong input if removing shift results in special key code.
11935Solution: Handle special key codes. (closes #7189)
11936Files: src/term.c, src/testdir/test_termcodes.vim
11937
11938Patch 8.2.1931
11939Problem: Vim9: arguments of extend() not checked at compile time.
11940Solution: Add argument type checking for extend().
11941Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
11942
11943Patch 8.2.1932
11944Problem: Compiler warnings when building with Athena GUI.
11945Solution: Fix function signatures.
11946Files: src/gui_at_fs.c
11947
11948Patch 8.2.1933
11949Problem: Cannot sort using locale ordering.
11950Solution: Add a flag for :sort and sort() to use the locale. (Dominique
11951 Pellé, closes #7237)
11952Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
11953 src/list.c, src/testdir/test_sort.vim
11954
11955Patch 8.2.1934
11956Problem: Vim9: command modifiers in :def function not tested.
11957Solution: Add tests. Fix using modifier before filter command.
11958Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
11959
11960Patch 8.2.1935 (after 8.2.1933)
11961Problem: Sort test fails on Mac.
11962Solution: Disable the sort test with locale on Mac.
11963Files: src/testdir/test_sort.vim
11964
11965Patch 8.2.1936
11966Problem: Session sets the local 'scrolloff' value to the global value.
11967Solution: Do not let restoring the global option value change the local
11968 value.
11969Files: src/session.c, src/testdir/test_mksession.vim
11970
11971Patch 8.2.1937
11972Problem: Vim9: test for confirm modifier fails in some situations.
11973Solution: Add a short wait. Handle failure better.
11974Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
11975
11976Patch 8.2.1938
11977Problem: Wiping out a terminal buffer makes some tests fail.
11978Solution: Do not wipe out the terminal buffer unless wanted.
11979Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
11980 src/testdir/test_terminal3.vim
11981
11982Patch 8.2.1939
11983Problem: Invalid memory access in Ex mode with global command.
11984Solution: Make sure the cursor is on a valid line. (closes #7238)
11985Files: src/move.c, src/testdir/test_ex_mode.vim
11986
11987Patch 8.2.1940
11988Problem: Vim9: browse modifier test fails on Mac.
11989Solution: Only test when the +browse feature is available.
11990Files: src/testdir/test_vim9_cmd.vim
11991
11992Patch 8.2.1941
11993Problem: Ex mode test fails on MS-Windows with GUI.
11994Solution: Skip the test when using gvim.
11995Files: src/testdir/test_ex_mode.vim
11996
11997Patch 8.2.1942
11998Problem: Insufficient test coverage for the Netbeans interface.
11999Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
12000 closes #7240)
12001Files: runtime/doc/netbeans.txt, src/mouse.c,
12002 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12003 src/testdir/test_quickfix.vim
12004
12005Patch 8.2.1943
12006Problem: Vim9: wrong error message when colon is missing.
12007Solution: Check for a missing colon. (issue #7239)
12008Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12009
12010Patch 8.2.1944
12011Problem: Netbeans test is flaky.
12012Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12013Files: src/testdir/test_netbeans.vim
12014
12015Patch 8.2.1945
12016Problem: Crash when passing NULL function to reduce().
12017Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12018 closes #7243)
12019Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12020
12021Patch 8.2.1946
12022Problem: sort() with NULL string not tested.
12023Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12024Files: src/testdir/test_sort.vim
12025
12026Patch 8.2.1947
12027Problem: Crash when using "zj" without folds. (Sean Dewar)
12028Solution: Check for at least one fold. (closes #7245)
12029Files: src/fold.c, src/testdir/test_fold.vim
12030
12031Patch 8.2.1948
12032Problem: GUI: crash when handling message while closing a window. (Srinath
12033 Avadhanula)
12034Solution: Don't handle message while closing a window. (closes #7250)
12035Files: src/window.c, src/globals.h, src/getchar.c
12036
12037Patch 8.2.1949
12038Problem: Vim9: using extend() on null dict is silently ignored.
12039Solution: Give an error message. Initialize a dict variable with an empty
12040 dictionary. (closes #7251)
12041Files: src/errors.h, src/list.c, src/evalvars.c,
12042 src/testdir/test_vim9_assign.vim
12043
12044Patch 8.2.1950
12045Problem: Vim9: crash when compiling function fails when getting type.
12046Solution: Handle NULL type. (closes #7253)
12047Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12048
12049Patch 8.2.1951 (after 8.2.1949)
12050Problem: Test for list and dict fails.
12051Solution: Adjust for using an empty list/dict for a null one.
12052Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12053 src/testdir/test_python3.vim
12054
12055Patch 8.2.1952
12056Problem: Vim9: crash when using a NULL dict key.
12057Solution: Use a NULL dict key like an empty string. (closes #7249)
12058Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12059
12060Patch 8.2.1953
12061Problem: Vim9: extra "unknown" error after other error.
12062Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12063 Improve error message from assert_fails()
12064Files: src/vim9execute.c, src/testing.c,
12065 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12066
12067Patch 8.2.1954
12068Problem: Vim9: not all command modifiers are tested.
12069Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12070 though ":lockmarks" is used.
12071Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12072
12073Patch 8.2.1955
12074Problem: Vim9: not all command modifiers are tested.
12075Solution: Add tests for remaining modifiers.
12076Files: src/testdir/test_vim9_cmd.vim
12077
12078Patch 8.2.1956
12079Problem: Vim9: cannot specify argument types for lambda.
12080Solution: Allow adding argument types. Check arguments when calling a
12081 function reference.
12082Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12083 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12084 src/testdir/test_vim9_func.vim
12085
12086Patch 8.2.1957
12087Problem: Diff and cursorcolumn highlighting don't mix.
12088Solution: Fix condition for what attribute to use. (Christian Brabandt,
12089 closes #7258, closes #7260)
12090Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12091 src/testdir/dumps/Test_diff_cuc_02.dump,
12092 src/testdir/dumps/Test_diff_cuc_03.dump,
12093 src/testdir/dumps/Test_diff_cuc_04.dump,
12094 src/testdir/test_diffmode.vim
12095
12096Patch 8.2.1958 (after 8.2.1956)
12097Problem: Build failure with timers.
12098Solution: Add missing change.
12099Files: src/popupwin.c
12100
12101Patch 8.2.1959
12102Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12103Solution: Fall back to "[No Name]". (closes #7262)
12104Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12105 src/testdir/test_terminal.vim
12106
12107Patch 8.2.1960
12108Problem: Warning for uninitialized variable.
12109Solution: Initialize the variable.
12110Files: src/evalfunc.c
12111
12112Patch 8.2.1961
12113Problem: Various comments can be improved.
12114Solution: Various comment adjustments.
12115Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12116 src/testdir/test_netbeans.vim, src/gui_motif.c
12117
12118Patch 8.2.1962
12119Problem: Netbeans may access freed memory.
12120Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12121 Lakshmanan, closes #7248)
12122Files: src/netbeans.c, src/testdir/test_netbeans.vim
12123
12124Patch 8.2.1963
12125Problem: Crash when using a popup window with "latin1" encoding.
12126Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12127Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12128
12129Patch 8.2.1964
12130Problem: Not all ConTeXt files are recognized.
12131Solution: Add two patterns. (closes #7263)
12132Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12133
12134Patch 8.2.1965
12135Problem: Vim9: tests fail without the channel feature.
12136Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012137 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012138Files: src/testdir/test_vim9_expr.vim
12139
12140Patch 8.2.1966
12141Problem: Popup becomes current window after closing a terminal window.
12142Solution: When restoring the window after executing autocommands, check that
12143 the window ID is still the same. (Naruhiko Nishino,
12144 closes #7272)
12145Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12146 src/testdir/test_popupwin.vim
12147
12148Patch 8.2.1967
12149Problem: The session file does not restore the alternate file.
12150Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12151 alternate file. Use it in the session file. (closes #7269,
12152 closes #6714)
12153Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12154 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12155 src/testdir/test_buffer.vim
12156
12157Patch 8.2.1968
12158Problem: Vim9: has() assumes a feature does not change dynamically.
12159Solution: Check whether a feature may change dynamically. (closes #7265)
12160Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12161 src/testdir/test_vim9_disassemble.vim
12162
12163Patch 8.2.1969
12164Problem: Vim9: map() may change the list or dict item type.
12165Solution: Add mapnew().
12166Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12167 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12168
12169Patch 8.2.1970
12170Problem: It is easy to make mistakes when cleaning up swap files after the
12171 system crashed.
12172Solution: Warn for the process still running after recovery. Do not
12173 automatically delete a swap file created on another system.
12174 (David Fries, closes #7273)
12175Files: src/memline.c, src/testdir/test_swap.vim
12176
12177Patch 8.2.1971
12178Problem: Memory leak when map() fails.
12179Solution: Clear the typval.
12180Files: src/list.c
12181
12182Patch 8.2.1972
12183Problem: Crash when recreating nested fold.
12184Solution: Check for empty growarray. (closes #7278)
12185Files: src/fold.c, src/testdir/test_fold.vim
12186
12187Patch 8.2.1973
12188Problem: Finding a patch number can be a bit slow.
12189Solution: Use binary search. (closes #7279)
12190Files: src/version.c
12191
12192Patch 8.2.1974
12193Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12194Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12195Files: src/evalfunc.c
12196
12197Patch 8.2.1975
12198Problem: Win32: memory leak when encoding conversion fails.
12199Solution: Free the allocated memory. (Ken Takata, closes #7277)
12200Files: src/os_win32.c
12201
12202Patch 8.2.1976
12203Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12204 Kim)
12205Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12206Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12207
12208Patch 8.2.1977
12209Problem: Vim9: error for using a string in a condition is confusing.
12210Solution: Give a more specific error. Also adjust the compile time type
12211 checking for || and &&.
12212Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12213 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12214 src/testdir/test_vim9_disassemble.vim,
12215 src/testdir/test_vim9_expr.vim
12216
12217Patch 8.2.1978
12218Problem: Making a mapping work in all modes is complicated.
12219Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12220 closes 4784, based on patch by Bjorn Linse)
12221Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12222 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12223 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12224 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12225 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12226 src/testdir/test_mapping.vim
12227
12228Patch 8.2.1979
12229Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12230 Vlasov)
12231Solution: Allocate the buffer to hold the command. (closes #7284)
12232Files: src/terminal.c, src/testdir/test_terminal.vim
12233
12234Patch 8.2.1980
12235Problem: Vim9: some tests are not done at the script level.
12236Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12237 problems.
12238Files: src/eval.c, src/list.c, src/scriptfile.c,
12239 src/testdir/test_vim9_expr.vim
12240
12241Patch 8.2.1981
12242Problem: MinGW: parallel compilation might fail.
12243Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12244Files: src/Make_cyg_ming.mak
12245
12246Patch 8.2.1982
12247Problem: Quickfix window not updated when adding invalid entries.
12248Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12249 #7291, closes #7271)
12250Files: src/quickfix.c, src/testdir/test_quickfix.vim
12251
12252Patch 8.2.1983
12253Problem: ml_get error when using <Cmd> to open a terminal.
12254Solution: If the window changed reset the incsearch state. (closes #7289)
12255Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12256 src/testdir/dumps/Test_terminal_from_cmd.dump
12257
12258Patch 8.2.1984
12259Problem: Cannot use :vimgrep in omni completion, causing C completion to
12260 fail.
12261Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12262Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12263
12264Patch 8.2.1985
12265Problem: Crash when closing terminal popup with <Cmd> mapping.
12266Solution: Check b_term is not NULL. (closes #7294)
12267Files: src/terminal.c, src/testdir/test_terminal.vim
12268
12269Patch 8.2.1986
12270Problem: Expression test is flaky on Appveyor.
12271Solution: Temporarily disable the test in MS-Windows.
12272Files: src/testdir/test_vim9_expr.vim
12273
12274Patch 8.2.1987
12275Problem: MS-Windows: Win32.mak is no longer needed.
12276Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12277Files: src/Make_mvc.mak, src/INSTALLpc.txt
12278
12279Patch 8.2.1988
12280Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12281 mapping in Insert mode.
12282Solution: Exit Insert mode. (closes #7295)
12283Files: src/edit.c, src/testdir/test_terminal.vim
12284
12285Patch 8.2.1989
12286Problem: Info popup triggers WinEnter and WinLeave autocommands.
12287Solution: Suppress autocommands for the info popup. (closes #7296)
12288Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12289
12290Patch 8.2.1990
12291Problem: Cursor position wrong in terminal popup with finished job.
12292Solution: Only add the top and left offset when not done already.
12293 (closes #7298)
12294Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12295 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12296
12297Patch 8.2.1991
12298Problem: Coverity warns for not using the ga_grow() return value.
12299Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12300Files: src/getchar.c
12301
12302Patch 8.2.1992
12303Problem: Build fails with small features.
12304Solution: Add #ifdef.
12305Files: src/move.c
12306
12307Patch 8.2.1993
12308Problem: Occasional failure of the netbeans test.
12309Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12310Files: src/testdir/test_netbeans.vim
12311
12312Patch 8.2.1994 (after 8.2.1981)
12313Problem: MS-Windows: MinGW always does a full build.
12314Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12315Files: src/Make_cyg_ming.mak
12316
12317Patch 8.2.1995
12318Problem: The popup menu can cause too much redrawing.
12319Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12320 closes #7306)
12321Files: src/popupmenu.c
12322
12323Patch 8.2.1996
12324Problem: Vim9: invalid error for argument of extend().
12325Solution: Check if the type could match. (closes #7299)
12326Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12327 src/vim9type.c, src/proto/vim9type.pro,
12328 src/testdir/test_vim9_builtin.vim
12329
12330Patch 8.2.1997
12331Problem: Window changes when using bufload() while in a terminal popup.
12332Solution: When searching for a window by ID also find a popup window.
12333 (closes #7307)
12334Files: src/window.c, src/testdir/test_terminal.vim
12335
12336Patch 8.2.1998
12337Problem: Terminal Cmd test sometimes fails to close popup.
12338Solution: Add "term_finish" option.
12339Files: src/testdir/test_terminal.vim
12340
12341Patch 8.2.1999
12342Problem: Terminal popup test sometimes fails.
12343Solution: Wait for the popup to close.
12344Files: src/testdir/test_terminal.vim
12345
12346Patch 8.2.2000
12347Problem: Vim9: dict.key assignment not implemented yet.
12348Solution: Implement dict.key assignment. (closes #7312)
12349Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12350
12351Patch 8.2.2001
12352Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12353Solution: Use 'maxfuncdepth'. (issue #7313)
12354Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12355 src/testdir/test_vim9_func.vim
12356
12357Patch 8.2.2002
12358Problem: Vim9: lambda argument shadowed by function name.
12359Solution: Let function name be shadowed by lambda argument. (closes #7313)
12360Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12361
12362Patch 8.2.2003
12363Problem: Build error with +conceal but without +popupwin.
12364Solution: Add #ifdef. (Tom Ryder, closes #7316)
12365Files: src/drawline.c
12366
12367Patch 8.2.2004 (after 8.2.2002)
12368Problem: Compiler warning for uninitialized variable.
12369Solution: Initialize "ufunc". (John Marriott)
12370Files: src/vim9compile.c
12371
12372Patch 8.2.2005
12373Problem: Redoing a mapping with <Cmd> doesn't work properly.
12374Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12375 (closes #7282)
12376Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12377
12378Patch 8.2.2006
12379Problem: .pbtxt files are not recognized.
12380Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12381Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12382
12383Patch 8.2.2007
12384Problem: Test for insert mode in popup is not reliable.
12385Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12386Files: src/testdir/test_terminal.vim
12387
12388Patch 8.2.2008
12389Problem: MS-Windows GUI: handling channel messages lags.
12390Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12391Files: src/gui_w32.c
12392
12393Patch 8.2.2009
12394Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12395Solution: Do not set $LANG. (Ken Takata, closes #7325)
12396Files: src/GvimExt/gvimext.cpp
12397
12398Patch 8.2.2010
12399Problem: Vim9: compiling fails for unreachable return statement.
12400Solution: Fix it. (closes #7319)
12401Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12402
12403Patch 8.2.2011
12404Problem: "syn sync" reports a very large number.
12405Solution: Use "at the first line".
12406Files: src/syntax.c, src/testdir/test_syntax.vim
12407
12408Patch 8.2.2012
12409Problem: Vim9: confusing error message when using bool wrongly.
12410Solution: Mention "Bool" instead of "Special". (closes #7323)
12411Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12412
12413Patch 8.2.2013
12414Problem: Vim9: not skipping white space after unary minus.
12415Solution: Skip whitespace. (closes #7324)
12416Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12417
12418Patch 8.2.2014
12419Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12420Solution: Do not move the cursor when restarting edit. (closes #7330)
12421Files: src/job.c, src/testdir/test_prompt_buffer.vim
12422
12423Patch 8.2.2015
12424Problem: Vim9: literal dict #{} is not like any other language.
12425Solution: Support the JavaScript syntax.
12426Files: runtime/doc/vim9.txt, src/vim9compile.c,
12427 src/proto/vim9compile.pro, src/errors.h,
12428 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12429 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12430
12431Patch 8.2.2016
12432Problem: Swap file test is a little flaky.
12433Solution: Don't set a byte to a fixed value, increment it.
12434Files: src/testdir/test_swap.vim
12435
12436Patch 8.2.2017 (after 8.2.2015)
12437Problem: Missing part of the dict change.
12438Solution: Also change the script level dict.
12439Files: src/dict.c
12440
12441Patch 8.2.2018
12442Problem: Vim9: script variable not found from lambda.
12443Solution: In a lambda also check the script hashtab for a variable without a
12444 scope. (closes #7329)
12445Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12446
12447Patch 8.2.2019 (after 8.2.2016)
12448Problem: Swap file test fails on MS-Windows.
12449Solution: Add four to the process ID. (Ken Takata, closes #7333)
12450Files: src/testdir/test_swap.vim
12451
12452Patch 8.2.2020
12453Problem: Some compilers do not like the "namespace" argument.
12454Solution: Rename to "use_namespace". (closes #7332)
12455Files: src/vim9compile.c, src/proto/vim9compile.pro
12456
12457Patch 8.2.2021
12458Problem: Vim9: get E1099 when autocommand resets did_emsg.
12459Solution: Add did_emsg_cumul. (closes #7336)
12460Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12461 src/testdir/test_vim9_func.vim
12462
12463Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012464Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012465Solution: Give an error for missing colon. (issue #7335)
12466Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12467
12468Patch 8.2.2023
12469Problem: Vim: memory leak when :execute fails.
12470Solution: Clear the growarray.
12471Files: src/vim9execute.c
12472
12473Patch 8.2.2024
12474Problem: Flicker when redrawing a popup with a title and border.
12475Solution: Do not redraw the border where the title is displayed. (Naruhiko
12476 Nishino, closes #7334)
12477Files: src/popupwin.c
12478
12479Patch 8.2.2025
12480Problem: Amiga: Not all colors are used on OS4.
12481Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12482 closes #7328)
12483Files: src/term.c
12484
12485Patch 8.2.2026
12486Problem: Coverity warns for possibly using not NUL terminated string.
12487Solution: Put a NUL in b0_hname just in case.
12488Files: src/memline.c
12489
12490Patch 8.2.2027
12491Problem: Coverity warns for uninitialized field.
12492Solution: Set "v_lock".
12493Files: src/list.c
12494
12495Patch 8.2.2028
12496Problem: Coverity warns for using an uninitialized variable.
12497Solution: Initialize to NULL.
12498Files: src/eval.c
12499
12500Patch 8.2.2029
12501Problem: Coverity warns for not checking return value.
12502Solution: Check that u_save_cursor() returns OK.
12503Files: src/ops.c
12504
12505Patch 8.2.2030
12506Problem: Some tests fail on Mac.
12507Solution: Avoid Mac test failures. Add additional test for wildmenu.
12508 (Yegappan Lakshmanan, closes #7341)
12509Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12510 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12511
12512Patch 8.2.2031
12513Problem: Some tests fail when run under valgrind.
12514Solution: Avoid timing problems.
12515Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12516 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12517 src/testdir/test_quotestar.vim
12518
12519Patch 8.2.2032
12520Problem: Cabalconfig and cabalproject filetypes not recognized.
12521Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12522Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12523
12524Patch 8.2.2033
12525Problem: Vim9: :def without argument gives compilation error.
12526Solution: Add the DEF instruction. (closes #7344)
12527Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12528 src/userfunc.c, src/proto/userfunc.pro,
12529 src/testdir/test_vim9_disassemble.vim,
12530 src/testdir/test_vim9_func.vim
12531
12532Patch 8.2.2034
12533Problem: Vim9: list unpack in for statement not compiled yet.
12534Solution: Compile list unpack. (closes #7345)
12535Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12536 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12537 src/testdir/test_vim9_script.vim
12538
12539Patch 8.2.2035
12540Problem: MS-Windows: some tests may fail.
12541Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12542Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12543 src/testdir/test_functions.vim
12544
12545Patch 8.2.2036
12546Problem: Current buffer is messed up if creating a new buffer for the
12547 quickfix window fails.
12548Solution: Check that creating the buffer succeeds. (closes #7352)
12549Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12550 src/testdir/dumps/Test_quickfix_window_fails.dump
12551
12552Patch 8.2.2037
12553Problem: Compiler test depends on list of compiler plugins.
12554Solution: Compare with the actual list of compiler plugins.
12555Files: src/testdir/test_compiler.vim
12556
12557Patch 8.2.2038
12558Problem: Compiler test fails on MS-Windows.
12559Solution: Sort the found compiler plugin names.
12560Files: src/testdir/test_compiler.vim
12561
12562Patch 8.2.2039
12563Problem: Viminfo is not written when creating a new file.
12564Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12565 closes #7350)
12566Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12567
12568Patch 8.2.2040
12569Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12570 (Sergey Vlasov)
12571Solution: Check 'bufhiddden' when a terminal buffer becomes hidden.
12572 (closes #7358)
12573Files: src/buffer.c, src/testdir/test_terminal.vim
12574
12575Patch 8.2.2041
12576Problem: Haskell filetype not optimally recognized.
12577Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12578 closes #7354)
12579Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12580
12581Patch 8.2.2042
12582Problem: Build failure with +profile but without +reltime.
12583Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12584Files: src/syntax.c
12585
12586Patch 8.2.2043
12587Problem: GTK3: white border around text stands out.
12588Solution: Use current theme color. (closes #7357, issue #349)
12589Files: src/gui_gtk_x11.c
12590
12591Patch 8.2.2044
12592Problem: MS-Windows: swap file test sometimes fails.
12593Solution: Use a more reliable way to change the process ID. When "timeout"
12594 fails use "ping" to wait up to ten minutes. (Ken Takata,
12595 closes #7365)
12596Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12597
12598Patch 8.2.2045
12599Problem: Highlighting a character too much with incsearch.
12600Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12601Files: src/drawline.c, src/testdir/test_search.vim,
12602 src/testdir/dumps/Test_incsearch_newline1.dump,
12603 src/testdir/dumps/Test_incsearch_newline2.dump,
12604 src/testdir/dumps/Test_incsearch_newline3.dump,
12605 src/testdir/dumps/Test_incsearch_newline4.dump,
12606 src/testdir/dumps/Test_incsearch_newline5.dump
12607
12608Patch 8.2.2046
12609Problem: Some test failures don't give a clear error.
12610Solution: Use assert_match() and assert_fails() instead of assert_true().
12611 (Ken Takata, closes #7368)
12612Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12613
12614Patch 8.2.2047
12615Problem: Amiga: FEAT_ARP defined when it should not.
12616Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12617Files: src/feature.h
12618
12619Patch 8.2.2048
12620Problem: Amiga: obsolete code.
12621Solution: Remove the unused lines. (Ola Söder, closes #7373)
12622Files: src/gui.c
12623
12624Patch 8.2.2049
12625Problem: Amiga: obsolete function.
12626Solution: Remove the function. (Ola Söder, closes #7374)
12627Files: src/memfile.c
12628
12629Patch 8.2.2050
12630Problem: Search test contains unneeded sleeps.
12631Solution: Rename the function, remove sleeps. (Christian Brabandt,
12632 closes #7369)
12633Files: src/testdir/test_search.vim
12634
12635Patch 8.2.2051
12636Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012637Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012638Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12639
12640Patch 8.2.2052
12641Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12642Solution: Allow using a range in the +cmd argument. (closes #7364)
12643Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12644 src/testdir/test_vim9_cmd.vim
12645
12646Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012647Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012648Solution: Optionally accept argument types at the script level.
12649Files: src/eval.c, src/testdir/test_vim9_expr.vim
12650
12651Patch 8.2.2054
12652Problem: Amiga: FEAT_ARP defined when it should not.
12653Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12654Files: src/feature.h
12655
12656Patch 8.2.2055
12657Problem: MS-Windows: two Vim instances may use the same temp file.
12658Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12659Files: src/fileio.c
12660
12661Patch 8.2.2056
12662Problem: Configure fails when building with the
12663 "implicit-function-declaration" error enabled, specifically on Mac.
12664Solution: Declear the functions like in the source code. (suggestion by
12665 Clemens Lang, closes #7380)
12666Files: src/configure.ac, src/auto/configure
12667
12668Patch 8.2.2057
12669Problem: Getting the selection may trigger TextYankPost autocmd.
12670Solution: Only trigger the autocommand when yanking in Vim, not for getting
12671 the selection. (closes #7367)
12672Files: src/clipboard.c, src/normal.c, src/register.c,
12673 src/testdir/test_autocmd.vim
12674
12675Patch 8.2.2058
12676Problem: Using mkview/loadview changes the jumplist.
12677Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12678 jumplist. (closes #7371)
12679Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12680
12681Patch 8.2.2059
12682Problem: Amiga: can't find plugins.
12683Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12684Files: src/main.c
12685
12686Patch 8.2.2060
12687Problem: Check for features implemented with "if".
12688Solution: Use the Check commands. (Ken Takata, closes #7383)
12689Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12690 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12691 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12692
12693Patch 8.2.2061
12694Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12695Solution: Don't check for an invalid type unless the terminal can't be
12696 found. (closes #7382)
12697Files: src/terminal.c, src/testdir/test_termcodes.vim
12698
12699Patch 8.2.2062
12700Problem: <Cmd> does not handle CTRL-V.
12701Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12702Files: src/getchar.c, src/testdir/test_mapping.vim
12703
12704Patch 8.2.2063
12705Problem: Vim9: only one level of indexing supported.
12706Solution: Handle more than one index in an assignment.
12707Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12708
12709Patch 8.2.2064
12710Problem: terminal: cursor is on while redrawing, causing flicker.
12711Solution: Switch the cursor off while redrawing. Always add the top and
12712 left offset to the cursor position when not done already.
12713 (closes #5943)
12714Files: src/terminal.c, src/popupwin.c
12715
12716Patch 8.2.2065
12717Problem: Using map() and filter() on a range() is inefficient.
12718Solution: Do not materialize the range. (closes #7388)
12719Files: src/list.c, src/testdir/test_functions.vim
12720
12721Patch 8.2.2066
12722Problem: Vim9: assignment with += doesn't work.
12723Solution: Do not see the "+" as an addition operator.
12724Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12725
12726Patch 8.2.2067 (after 8.2.2064)
12727Problem: Cursor position in popup terminal is wrong.
12728Solution: Don't check the flags.
12729Files: src/terminal.c, src/testdir/test_popupwin.vim
12730
12731Patch 8.2.2068
12732Problem: Transparent syntax item uses start/end of containing region.
12733Solution: Do not change the startpos and endpos of a transparent region to
12734 that of its containing region. (Adrian Ghizaru, closes #7349,
12735 closes #7391)
12736Files: src/syntax.c, src/testdir/test_syntax.vim
12737
12738Patch 8.2.2069
12739Problem: The quickfix window is not updated after setqflist().
12740Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
12741 closes #7385)
12742Files: src/quickfix.c, src/testdir/test_quickfix.vim
12743
12744Patch 8.2.2070
12745Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
12746Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
12747Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
12748 src/main.c, src/testdir/test_exit.vim, src/vim.h
12749
12750Patch 8.2.2071
12751Problem: Vim9: list assign doesn't accept an empty remainder list.
12752Solution: Recognize list assignment with ";".
12753Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12754
12755Patch 8.2.2072
12756Problem: Vim9: list assign not well tested.
12757Solution: Test with different destinations. Fix white space error.
12758Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12759
12760Patch 8.2.2073
12761Problem: Vim9: for with unpack only works for local variables.
12762Solution: Recognize different destinations.
12763Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12764
12765Patch 8.2.2074
12766Problem: Vim9: using :normal from Vim9 script can't handle range.
12767Solution: Execute a :normal command in legacy script context. (closes #7401)
12768Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
12769
12770Patch 8.2.2075
12771Problem: Error for const argument to mapnew().
12772Solution: Don't give an error. (closes #7400)
12773Files: src/list.c, src/testdir/test_filter_map.vim
12774
12775Patch 8.2.2076
12776Problem: MS-Windows console: sometimes drops typed characters.
12777Solution: Do not wait longer than 10 msec for input. (issue #7164)
12778Files: src/os_win32.c
12779
12780Patch 8.2.2077
12781Problem: Build failure with small features.
12782Solution: Add #ifdef.
12783Files: src/structs.h, src/ex_docmd.c
12784
12785Patch 8.2.2078
12786Problem: Illegal memory access when using :print on invalid text. (Dhiraj
12787 Mishra)
12788Solution: Check for more composing characters than supported. (closes #7399)
12789Files: src/message.c, src/testdir/test_utf8.vim
12790
12791Patch 8.2.2079
12792Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
12793Solution: Skip over linebreak.
12794Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12795
12796Patch 8.2.2080
12797Problem: Vim9: no proper error message for using s:var in for loop.
12798Solution: Give a specific error.
12799Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12800
12801Patch 8.2.2081
12802Problem: Vim9: cannot handle a linebreak after "=" in assignment.
12803Solution: Skip over linebreak. (closes #7407)
12804Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
12805 src/testdir/test_vim9_expr.vim
12806
12807Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012808Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012809Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
12810Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
12811 src/testdir/test_vim9_assign.vim,
12812 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
12813 src/testdir/test_vim9_disassemble.vim,
12814 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
12815 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
12816 src/testdir/test_textprop.vim
12817
12818Patch 8.2.2083
12819Problem: Vim9: crash when using ":silent!" and getting member fails.
12820Solution: Jump to on_fatal_error. (closes #7412)
12821Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12822
12823Patch 8.2.2084
12824Problem: CTRL-V U doesn't work to enter a Unicode character when
12825 modifyOtherKeys is effective. (Ken Takata)
12826Solution: Add a flag to get_literal() for the shift key. (closes #7413)
12827Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
12828 src/normal.c, src/testdir/test_termcodes.vim
12829
12830Patch 8.2.2085
12831Problem: Qt translation file is recognized as typescript.
12832Solution: Check the first line for "<?xml". (closes #7418)
12833Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12834
12835Patch 8.2.2086
12836Problem: Libvterm tests are only run on Linux.
12837Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
12838Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
12839 src/libvterm/t/run-test.pl
12840
12841Patch 8.2.2087
12842Problem: Vim9: memory leak when statement is truncated.
12843Solution: Increment the number of local variables.
12844Files: src/vim9compile.c
12845
12846Patch 8.2.2088
12847Problem: Vim9: script test sometimes fails.
12848Solution: Unlet variables.
12849Files: src/testdir/test_vim9_script.vim
12850
12851Patch 8.2.2089
12852Problem: Libvterm test fails to build on Mac.
12853Solution: Adjust configure to remove a space between -L and the path that
12854 follows.
12855Files: src/configure.ac, src/auto/configure
12856
12857Patch 8.2.2090
12858Problem: Vim9: dict does not accept a key in quotes.
12859Solution: Recognize a key in single or double quotes.
12860Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
12861 src/vim9compile.c, src/testdir/test_vim9_expr.vim
12862
12863Patch 8.2.2091
12864Problem: MS-Windows: build warnings.
12865Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
12866 Avoid using a non-ASCII character. (closes #7421)
12867Files: src/message.c, src/os_win32.c
12868
12869Patch 8.2.2092
12870Problem: Vim9: unpredictable errors for script tests.
12871Solution: Use a different script file name for each run.
12872Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
12873 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
12874 src/testdir/test_vim9_assign.vim
12875
12876Patch 8.2.2093
12877Problem: Vim9: script test sometimes fails.
12878Solution: Do not find a script variable by its typval if the name was
12879 cleared.
12880Files: src/vim9script.c
12881
12882Patch 8.2.2094
12883Problem: When an expression fails getting the next command may be wrong.
12884Solution: Do not check for a next command after :eval fails. (closes #7415)
12885Files: src/eval.c, src/testdir/test_vim9_cmd.vim
12886
12887Patch 8.2.2095
12888Problem: Vim9: crash when failed dict member is followed by concatenation.
12889Solution: Remove the dict from the stack. (closes #7416)
12890Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12891
12892Patch 8.2.2096
12893Problem: Vim9: command modifiers not restored after assignment.
12894Solution: Jump to nextline instead of using continue.
12895Files: src/vim9compile.c, src/vim9execute.c,
12896 src/testdir/test_vim9_func.vim
12897
12898Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012899Problem: Vim9: using :silent! when calling a function prevents aborting
12900 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012901Solution: Add emsg_silent_def and did_emsg_def.
12902Files: src/globals.h, src/message.c, src/vim9execute.c,
12903 src/testdir/test_vim9_func.vim
12904
12905Patch 8.2.2098
12906Problem: Vim9: function argument of sort() and map() not tested.
12907Solution: Add a couple of tests.
12908Files: src/testdir/test_vim9_builtin.vim
12909
12910Patch 8.2.2099
12911Problem: Vim9: some checks are not tested.
12912Solution: Add a few more tests. Give better error messages.
12913Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
12914 src/testdir/test_vim9_expr.vim
12915
12916Patch 8.2.2100
12917Problem: Insufficient testing for function range and dict.
12918Solution: Add a few tests. (Dominique Pellé, closes #7428)
12919Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
12920 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
12921
12922Patch 8.2.2101
12923Problem: Vim9: memory leak when literal dict has an error and when an
12924 expression is not complete.
12925Solution: Clear the typval and the growarray.
12926Files: src/dict.c, src/vim9compile.c
12927
12928Patch 8.2.2102
12929Problem: Vim9: not all error messages tested.
12930Solution: Add a few test cases.
12931Files: src/testdir/test_vim9_func.vim
12932
12933Patch 8.2.2103
12934Problem: Vim9: unreachable code.
12935Solution: Remove the code to prepend s: to the variable name
12936Files: src/vim9compile.c
12937
12938Patch 8.2.2104
12939Problem: Build problem with Ruby 2.7.
12940Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
12941Files: src/configure.ac, src/auto/configure, src/if_ruby.c
12942
12943Patch 8.2.2105
12944Problem: Sound test is a bit flaky.
12945Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
12946Files: src/testdir/test_sound.vim
12947
12948Patch 8.2.2106
12949Problem: TOML files are not recognized.
12950Solution: Match *.toml. (issue #7432)
12951Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12952
12953Patch 8.2.2107
12954Problem: Vim9: some errors not tested.
12955Solution: Add tests. Fix getting the right error.
12956Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
12957 src/testdir/test_vim9_expr.vim
12958
12959Patch 8.2.2108
12960Problem: Vim9: no test to check for :let error.
12961Solution: Add a test. Rename tests from _let_ to _var_.
12962Files: src/testdir/test_vim9_assign.vim
12963
12964Patch 8.2.2109
12965Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
12966 shell command is executed on startup.
12967Solution: Only change modifyOtherKeys when executing a shell command in raw
12968 mode.
12969Files: src/os_unix.c
12970
12971Patch 8.2.2110
12972Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
12973Solution: Revert patch 8.2.1833.
12974Files: src/main.c
12975
12976Patch 8.2.2111
12977Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012978Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012979 closes #7427)
12980Files: src/gui_gtk_x11.c
12981
12982Patch 8.2.2112
12983Problem: Running tests may leave some files behind.
12984Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012985 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012986Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
12987 src/testdir/test_mksession.vim
12988
12989Patch 8.2.2113
12990Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
12991Solution: Check for NULL pointer. (Ken Takata, closes #7434)
12992Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
12993
12994Patch 8.2.2114
12995Problem: Vim9: unreachable code in assignment.
12996Solution: Remove impossible condition and code.
12997Files: src/vim9compile.c
12998
12999Patch 8.2.2115
13000Problem: Vim9: some errors not tested for; dead code.
13001Solution: Add a test. Remove dead code.
13002Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13003
13004Patch 8.2.2116
13005Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13006Solution: Set 'renderoptions'. (Christian Brabandt)
13007Files: src/testdir/test_gui.vim
13008
13009Patch 8.2.2117
13010Problem: Some functions use any value as a string.
13011Solution: Check that the value is a non-empty string.
13012Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13013 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13014
13015Patch 8.2.2118
13016Problem: Dead code in the job support. (Dominique Pellé)
13017Solution: Define USE_ARGV before checking for it.
13018Files: src/job.c
13019
13020Patch 8.2.2119
13021Problem: GTK3: status line background color is wrong.
13022Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13023Files: src/gui_gtk_x11.c
13024
13025Patch 8.2.2120
13026Problem: Not all Perl functionality is tested.
13027Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13028Files: src/testdir/test_perl.vim
13029
13030Patch 8.2.2121
13031Problem: Internal error when using \ze before \zs in a pattern.
13032Solution: Check the end is never before the start. (closes #7442)
13033Files: src/regexp_bt.c, src/regexp_nfa.c,
13034 src/testdir/test_regexp_latin.vim
13035
13036Patch 8.2.2122
13037Problem: Vim9: crash when sourcing vim9script early.
13038Solution: Use set_option_value() instead of setting p_cpo directly.
13039 (closes #7441)
13040Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13041
13042Patch 8.2.2123
13043Problem: After using a complete popup the buffer is listed. (Boris
13044 Staletic)
13045Solution: Make the buffer unlisted.
13046Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13047
13048Patch 8.2.2124
13049Problem: Vim9: a range cannot be computed at runtime.
13050Solution: Add the ISN_RANGE instruction.
13051Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13052 src/testdir/test_vim9_script.vim,
13053 src/testdir/test_vim9_disassemble.vim
13054
13055Patch 8.2.2125 (after 8.2.2122)
13056Problem: Vim9: leaking memory.
13057Solution: Free the saved 'cpo' value.
13058Files: src/scriptfile.c
13059
13060Patch 8.2.2126
13061Problem: Ruby: missing function prototype.
13062Solution: Add the prototype.
13063Files: src/if_ruby.c
13064
13065Patch 8.2.2127
13066Problem: Vim9: executing user command defined in Vim9 script not tested.
13067Solution: Add a test.
13068Files: src/testdir/test_vim9_script.vim
13069
13070Patch 8.2.2128
13071Problem: There is no way to do something on CTRL-Z.
13072Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13073Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13074 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13075
13076Patch 8.2.2129
13077Problem: MS-Windows: Checking if a file name is absolute is slow.
13078Solution: Do not use mch_FullName(). (closes #7033)
13079Files: src/os_mswin.c
13080
13081Patch 8.2.2130
13082Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013083Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013084Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13085
13086Patch 8.2.2131
13087Problem: Vim9: crash when lambda uses same var as assignment.
13088Solution: Do not let lookup_local change lv_from_outer, make a copy.
13089 (closes #7461)
13090Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13091 src/evalvars.c, src/proto/evalvars.pro,
13092 src/testdir/test_vim9_func.vim
13093
13094Patch 8.2.2132
13095Problem: Padding not drawn properly for popup window with title.
13096Solution: Draw the padding below the title. (closes #7460)
13097Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13098 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13099 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13100
13101Patch 8.2.2133
13102Problem: Vim9: checking for a non-empty string is too strict.
13103Solution: Check for any string. (closes #7447)
13104Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13105 src/testdir/test_vim9_builtin.vim
13106
13107Patch 8.2.2134
13108Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13109Solution: Check that did_emsg increased instead of checking that it changed.
13110 (closes #7448)
13111Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13112
13113Patch 8.2.2135
13114Problem: Vim9: #{ still seen as start of dict in some places.
13115Solution: Remove check for { after #. (closes #7456)
13116Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13117
13118Patch 8.2.2136
13119Problem: Vim9: Using uninitialized variable.
13120Solution: Initialize "len" to zero. Clean up fnamemodify().
13121Files: src/filepath.c
13122
13123Patch 8.2.2137
13124Problem: Vim9: :echo and :execute give error for empty argument.
13125Solution: Ignore an empty argument. (closes #7468)
13126Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13127 src/testdir/test_vim9_disassemble.vim
13128
13129Patch 8.2.2138
13130Problem: Vim9: "exit_cb" causes Vim to exit.
13131Solution: Require white space after a command in Vim9 script. (closes #7467)
13132 Also fix that Vim9 style heredoc was not always recognized.
13133Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13134 src/testdir/test_vim9_assign.vim,
13135 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13136
13137Patch 8.2.2139
13138Problem: Vim9: unreachable code in assignment.
13139Solution: Don't check "new_local" when "has_index" is set. Add test for
13140 wrong type of list index.
13141Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13142
13143Patch 8.2.2140
13144Problem: Build failure with tiny features.
13145Solution: Add #ifdef.
13146Files: src/ex_docmd.c
13147
13148Patch 8.2.2141
13149Problem: A user command with try/catch may not catch an expression error.
13150Solution: When an expression fails check for following "|". (closes #7469)
13151Files: src/eval.c, src/testdir/test_trycatch.vim,
13152 src/testdir/test_vimscript.vim
13153
13154Patch 8.2.2142
13155Problem: Memory leak when heredoc is not terminated.
13156Solution: Free heredoc_trimmed.
13157Files: src/userfunc.c
13158
13159Patch 8.2.2143
13160Problem: Vim9: dead code in compiling :unlet.
13161Solution: Don't check for "!" a second time.
13162Files: src/vim9compile.c
13163
13164Patch 8.2.2144
13165Problem: Vim9: some corner cases not tested.
13166Solution: Add a few tests.
13167Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13168
13169Patch 8.2.2145
13170Problem: Vim9: concatenating lists does not adjust type of result.
13171Solution: When list member types differ use "any" member type.
13172 (closes #7473)
13173Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13174
13175Patch 8.2.2146
13176Problem: Vim9: automatic conversion of number to string for dict key.
13177Solution: Do not convert number to string. (closes #7474)
13178Files: src/dict.c, src/testdir/test_vim9_expr.vim
13179
13180Patch 8.2.2147
13181Problem: Quickfix window title not updated in all tab pages.
13182Solution: Update the quickfix window title in all tab pages. (Yegappan
13183 Lakshmanan, closes #7481, closes #7466)
13184Files: src/quickfix.c, src/testdir/test_quickfix.vim
13185
13186Patch 8.2.2148
13187Problem: Vim9: crash when user command doesn't match.
13188Solution: Adjust command index. (closes #7479)
13189Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13190
13191Patch 8.2.2149
13192Problem: Popupwin test for latin1 sometimes fails.
13193Solution: Wait for the script to finish.
13194Files: src/testdir/test_popupwin.vim
13195
13196Patch 8.2.2150
13197Problem: Github actions CI isn't used for all available platforms.
13198Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13199Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13200 .github/workflows/ci.yml, .travis.yml, README.md,
13201 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13202
13203Patch 8.2.2151
13204Problem: $dir not expanded when configure checks for moonjit.
13205Solution: Use double quotes instead of single quotes. (closes #7478)
13206Files: src/configure.ac, src/auto/configure
13207
13208Patch 8.2.2152
13209Problem: screenpos() does not include the WinBar offset.
13210Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13211Files: src/move.c, src/testdir/test_cursor_func.vim
13212
13213Patch 8.2.2153
13214Problem: Popupwin test for latin1 still fails sometimes.
13215Solution: Wait for the "cat" command to finish.
13216Files: src/testdir/test_popupwin.vim
13217
13218Patch 8.2.2154
13219Problem: Popupwin test for terminal buffer fails sometimes.
13220Solution: Wait for the prompt to appear.
13221Files: src/testdir/test_popupwin.vim
13222
13223Patch 8.2.2155
13224Problem: Warning from Github actions for code analysis.
13225Solution: Remove the "git checkout HEAD^2" block.
13226Files: .github/workflows/codeql-analysis.yml
13227
13228Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013229Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013230Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13231 (Ozaki Kiichi, closes #7489)
13232Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13233
13234Patch 8.2.2157
13235Problem: Vim9: can delete a Vim9 script variable from a function.
13236Solution: Check the variable is defined in Vim9 script. (closes #7483)
13237Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13238
13239Patch 8.2.2158
13240Problem: CI on cirrus times out, coveralls doesn't always run.
13241Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13242Files: .cirrus.yml, .github/workflows/ci.yml
13243
13244Patch 8.2.2159
13245Problem: Vim9: when declaring a list it is not allocated yet, causing a
13246 following extend() to fail.
13247Solution: When fetching a variable value for a list or dict that is null
13248 allocate the list or dict, so it can be used. (closes #7491)
13249Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13250
13251Patch 8.2.2160
13252Problem: Various typos.
13253Solution: Fix spelling mistakes. (closes #7494)
13254Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13255 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13256 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13257 src/list.c, src/map.c, src/memline.c, src/normal.c,
13258 src/os_win32.c, src/search.c, src/term.c,
13259 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13260 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13261 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13262 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13263 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13264 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13265 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13266 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13267 src/vim9execute.c
13268
13269Patch 8.2.2161
13270Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013271Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013272Files: src/testdir/test_startup.vim
13273
13274Patch 8.2.2162
13275Problem: Vim9: Cannot load or store autoload variables.
13276Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13277Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13278 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13279 src/testdir/test_vim9_disassemble.vim,
13280 src/testdir/test_vim9_script.vim
13281
13282Patch 8.2.2163
13283Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013284Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013285Files: src/ex_eval.c
13286
13287Patch 8.2.2164
13288Problem: Vim9: autoload function doesn't work in script that starts with
13289 an upper case letter.
13290Solution: Check for the autoload character. (closes #7502)
13291Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13292
13293Patch 8.2.2165
13294Problem: Vim9: assignment to dict member does not work.
13295Solution: Fix recognizing dict member. (closes #7484)
13296Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13297
13298Patch 8.2.2166
13299Problem: Auto format doesn't work when deleting text.
13300Solution: Make "x" trigger auto format. (closes #7504)
13301Files: src/ops.c, src/testdir/test_textformat.vim
13302
13303Patch 8.2.2167
13304Problem: Vim9: assign test fails. (Elimar Riesebieter)
13305Solution: Adjust the test for dict assignment.
13306Files: src/testdir/test_vim9_assign.vim
13307
13308Patch 8.2.2168
13309Problem: Vim9: error for assigning to dict of dict.
13310Solution: Remember the destination type. (closes #7506)
13311Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13312
13313Patch 8.2.2169
13314Problem: Vim9: test leaves file behind.
13315Solution: Rename script files. (Dominique Pellé, closes #7511)
13316 Use try/finally.
13317Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13318
13319Patch 8.2.2170
13320Problem: Vim9: a global function defined in a :def function fails if it
13321 uses the context.
13322Solution: Create a partial to store the closure context. (see #7410)
13323Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13324 src/structs.h, src/testdir/test_vim9_func.vim
13325
13326Patch 8.2.2171
13327Problem: Valgrind warning for using uninitialized value.
13328Solution: Do not use "startp" or "endp" unless there is a match.
13329Files: src/regexp_nfa.c
13330
13331Patch 8.2.2172
13332Problem: Vim9: number of arguments is not always checked. (Yegappan
13333 Lakshmanan)
13334Solution: Check number of arguments when calling function by name.
13335Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13336 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13337
13338Patch 8.2.2173
13339Problem: Vim9: get internal error when assigning to undefined variable.
13340Solution: Add error message. (closes #7475)
13341Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13342 src/testdir/test_vim9_cmd.vim
13343
13344Patch 8.2.2174
13345Problem: Mac version doesn't specify the CPU architecture.
13346Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13347Files: src/version.c
13348
13349Patch 8.2.2175
13350Problem: Github actions: clang-11 handling suboptimal.
13351Solution: Separate step of installing clang-11. Get ubuntu release name
13352 dynamically. (Ozaki Kiichi, closes #7514)
13353Files: .github/workflows/ci.yml
13354
13355Patch 8.2.2176
13356Problem: Crash with a sequence of fold commands.
13357Solution: Bail out when there are no folds at all. Add a test (Dominique
13358 Pellé) (closes #7515)
13359Files: src/fold.c, src/testdir/test_fold.vim
13360
13361Patch 8.2.2177
13362Problem: Pattern "^" does not match if the first character in the line is
13363 combining. (Rene Kita)
13364Solution: Do accept a match at the start of the line. (closes #6963)
13365Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13366
13367Patch 8.2.2178
13368Problem: Python 3: non-utf8 character cannot be handled.
13369Solution: Change the string decode. (Björn Linse, closes #1053)
13370Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13371 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13372
13373Patch 8.2.2179
13374Problem: Vim9: crash when indexing a dict with a number.
13375Solution: Add ISN_STOREINDEX. (closes #7513)
13376Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13377 src/errors.h, src/testdir/test_vim9_assign.vim,
13378 src/testdir/test_vim9_disassemble.vim
13379
13380Patch 8.2.2180
13381Problem: Vim9: test for error after error is flaky.
13382Solution: Wait for job to finish instead of a fixed delay.
13383Files: src/testdir/test_vim9_script.vim
13384
13385Patch 8.2.2181
13386Problem: Valgrind warnings for using uninitialized value.
13387Solution: Do not use "start" or "end" unless there is a match.
13388Files: src/regexp_nfa.c, src/regexp_bt.c
13389
13390Patch 8.2.2182
13391Problem: Vim9: value of 'magic' is still relevant.
13392Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13393Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13394 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13395 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13396 src/structs.h, src/globals.h, src/ex_cmds.h,
13397 src/testdir/test_vim9_cmd.vim
13398
13399Patch 8.2.2183
13400Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13401Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13402Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13403
13404Patch 8.2.2184
13405Problem: Vim9: no error when using "2" for a line number.
13406Solution: Give an error message if the line number is invalid. (closes #7492)
13407Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13408 src/testdir/test_cursor_func.vim
13409
13410Patch 8.2.2185
13411Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013412Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013413 Fix white space around "=".
13414Files: src/quickfix.c, src/testdir/test_autocmd.vim
13415
13416Patch 8.2.2186
13417Problem: Vim9: error when using 'opfunc'.
13418Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13419Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13420 src/testdir/test_vim9_func.vim
13421
13422Patch 8.2.2187
13423Problem: Python 3 test fails sometimes. (Christian Brabandt)
13424Solution: Accept two SystemError messages.
13425Files: src/testdir/test_python3.vim
13426
13427Patch 8.2.2188
13428Problem: Vim9: crash when calling global function from :def function.
13429Solution: Set the outer context. Define the partial for the context on the
13430 original function. Use a refcount to keep track of which ufunc is
13431 using a dfunc. (closes #7525)
13432Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13433 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13434 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13435
13436Patch 8.2.2189
13437Problem: Cannot repeat a command that uses the small delete register.
13438Solution: Store the register name instead of the contents. (Christian
13439 Brabandt, closes #7527)
13440Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13441
13442Patch 8.2.2190
13443Problem: Vim9: crash when compiled with EXITFREE.
13444Solution: Check that df_ufunc is not NULL.
13445Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13446
13447Patch 8.2.2191
13448Problem: Vim9: using wrong name with lambda in nested function.
13449Solution: Copy the lambda name earlier. (closes #7525)
13450Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13451
13452Patch 8.2.2192
13453Problem: Codecov on github actions fails.
13454Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13455Files: Filelist, .github/workflows/ci.yml
13456
13457Patch 8.2.2193
13458Problem: Vim9: can change constant in :def function.
13459Solution: Check if a variable is locked. (issue #7526)
13460Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13461 src/testdir/test_vim9_func.vim
13462
13463Patch 8.2.2194
13464Problem: Vim9: cannot use :const or :final at the script level.
13465Solution: Support using :const and :final. (closes #7526)
13466Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13467 src/testdir/test_vim9_func.vim
13468
13469Patch 8.2.2195
13470Problem: Failing tests for :const.
13471Solution: Add missing check for ASSIGN_FINAL.
13472Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13473
13474Patch 8.2.2196
13475Problem: :version output has extra spaces in compile and link command.
13476Solution: Adjust QUOTESED. (closes #7505)
13477Files: src/configure.ac, src/auto/configure
13478
13479Patch 8.2.2197
13480Problem: Assert arguments order reversed.
13481Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13482Files: src/testdir/test_registers.vim
13483
13484Patch 8.2.2198
13485Problem: ml_get error when resizing window and using text property.
13486Solution: Validate botline of the right window. (closes #7528)
13487Files: src/move.c, src/proto/move.pro, src/textprop.c,
13488 src/testdir/test_textprop.vim
13489
13490Patch 8.2.2199
13491Problem: First write after setting 'eol' does not have NL added. (Tomáš
13492 Janoušek)
13493Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13494Files: src/bufwrite.c, src/testdir/test_writefile.vim
13495
13496Patch 8.2.2200
13497Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013498Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013499Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13500 src/testdir/test_vim9_disassemble.vim
13501
13502Patch 8.2.2201
13503Problem: Write file test fails on MS-Windows.
13504Solution: Force edit after setting 'fileformat'.
13505Files: src/testdir/test_writefile.vim
13506
13507Patch 8.2.2202
13508Problem: Write file test still fails on MS-Windows.
13509Solution: Set fileformat with the :edit command
13510Files: src/testdir/test_writefile.vim
13511
13512Patch 8.2.2203
13513Problem: Moodle gift files are not recognized.
13514Solution: Add a filetype pattern. (Delim Temizer)
13515Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13516
13517Patch 8.2.2204
13518Problem: Vim9: using -> both for method and lambda is confusing.
13519Solution: Use => for lambda in :def function.
13520Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13521 src/testdir/test_vim9_expr.vim
13522
13523Patch 8.2.2205
13524Problem: Vim9: memory leak when parsing lambda fails.
13525Solution: Clear growarrays.
13526Files: src/userfunc.c
13527
13528Patch 8.2.2206
13529Problem: :exe command line completion only works for first argument.
13530Solution: Skip over text if more is following. (closes #7546)
13531Files: src/eval.c, src/testdir/test_cmdline.vim
13532
13533Patch 8.2.2207
13534Problem: Illegal memory access if popup menu items are changed while the
13535 menu is visible. (Tomáš Janoušek)
13536Solution: Make a copy of the text. (closes #7537)
13537Files: src/popupmenu.c, src/testdir/test_popup.vim,
13538 src/testdir/dumps/Test_popup_command_04.dump,
13539 src/testdir/dumps/Test_popup_command_05.dump
13540
13541Patch 8.2.2208
13542Problem: Vim9: after reloading a script variable index may be invalid.
13543Solution: When the sequence number doesn't match give an error for using a
13544 script-local variable from a compiled function. (closes #7547)
13545Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13546 src/vim9execute.c, src/scriptfile.c,
13547 src/testdir/test_vim9_script.vim
13548
13549Patch 8.2.2209
13550Problem: Vim9: return type of => lambda not parsed.
13551Solution: Parse and use the return type.
13552Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013553 src/proto/vim9type.pro, src/vim9script.c, src/eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013554 src/testdir/test_vim9_expr.vim
13555
13556Patch 8.2.2210
13557Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13558Solution: Add t_number_bool.
13559Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13560
13561Patch 8.2.2211
13562Problem: MS-Windows: can't load Python dll if not in the path.
13563Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13564Files: src/if_python3.c
13565
13566Patch 8.2.2212
13567Problem: Vim9: lambda with => does not work at the script level.
13568Solution: Make it work.
13569Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13570 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13571
13572Patch 8.2.2213
13573Problem: Checking white space around -> is not backwards compatible.
13574Solution: Only check white space around =>.
13575Files: src/userfunc.c
13576
13577Patch 8.2.2214
13578Problem: ":e#" does not give a warning for missing white space.
13579Solution: Adjust the check for white space. (closes #7545)
13580Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13581
13582Patch 8.2.2215
13583Problem: Vim9: `=expr` not recognized in global command.
13584Solution: Skip over pattern. (issue #7541)
13585Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13586
13587Patch 8.2.2216
13588Problem: Vim9: range with missing colon can be hard to spot.
13589Solution: Include the start of the range in the error. (closes #7543)
13590Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13591 src/testdir/test_vim9_cmd.vim
13592
13593Patch 8.2.2217
13594Problem: Vim9: command modifiers not restored in catch block.
13595Solution: Restore command modifiers. (closes #7542)
13596Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13597
13598Patch 8.2.2218
13599Problem: Vim9: failure if passing more arguments to a lambda than expected.
13600Solution: Only put expected arguments on the stack. (closes #7548)
13601Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13602
13603Patch 8.2.2219
13604Problem: Vim9: method call with expression not supported.
13605Solution: Implement expr->(expr)().
13606Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13607
13608Patch 8.2.2220
13609Problem: Vim9: memory leak when parsing nested parenthesis.
13610Solution: Clear newargs.
13611Files: src/userfunc.c
13612
13613Patch 8.2.2221
13614Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13615Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13616Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13617
13618Patch 8.2.2222
13619Problem: Vim9: cannot keep script variables when reloading.
13620Solution: Add the "noclear" argument to :vim9script.
13621Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13622 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13623 src/testdir/test_vim9_script.vim
13624
13625Patch 8.2.2223
13626Problem: Vim9: Reloading marks a :def function as deleted.
13627Solution: Clear the function contents but keep the index.
13628Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13629 src/testdir/test_vim9_script.vim
13630
13631Patch 8.2.2224
13632Problem: Vim9: crash if script reloaded with different variable type.
13633Solution: Check the type when accessing the variable.
13634Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13635 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13636 src/vim9script.c, src/proto/vim9script.pro,
13637 src/testdir/test_vim9_script.vim
13638
13639Patch 8.2.2225
13640Problem: Vim9: error when using :import in legacy script twice.
13641Solution: Make it possible to redefine an import when reloading.
13642Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13643 src/evalvars.c, src/vim9compile.c,
13644 src/testdir/test_vim9_script.vim
13645
13646Patch 8.2.2226
13647Problem: Vim9: script test fails.
13648Solution: Add missing change.
13649Files: src/scriptfile.c
13650
13651Patch 8.2.2227
13652Problem: Vim9: recognizing lambda is too complicated.
13653Solution: Call compile_lambda() and check for NOTDONE.
13654Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13655
13656Patch 8.2.2228
13657Problem: Vim9: cannot use ":e #" because # starts a comment.
13658Solution: Support using %% instead of #.
13659Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13660
13661Patch 8.2.2229
13662Problem: build failure without the +eval feature.
13663Solution: Add #ifdef.
13664Files: src/ex_docmd.c
13665
13666Patch 8.2.2230
13667Problem: Vim9: insert completion runs into error.
13668Solution: Insert colon before range. (closes #7556)
13669Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13670
13671Patch 8.2.2231
13672Problem: When "--remote file" is used "file" is not reloaded.
13673Solution: When a :drop command is used for a file that is already displayed
13674 in a window and it has not been changed, check if it needs to be
13675 reloaded. (closes #7560)
13676Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13677
13678Patch 8.2.2232
13679Problem: Compiler error for falling through into next case.
13680Solution: Move FALLTHROUGH below the #endif
13681Files: src/ex_docmd.c
13682
13683Patch 8.2.2233
13684Problem: Cannot convert a byte index into a character index.
13685Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13686Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13687 src/testdir/test_functions.vim
13688
13689Patch 8.2.2234
13690Problem: Command line wildmenu test often fails with Unix GUI.
13691Solution: Skip the test where it is expected to fail.
13692Files: src/testdir/test_cmdline.vim
13693
13694Patch 8.2.2235
13695Problem: Build failure with some Ruby versions.
13696Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13697Files: ci/config.mk.clang.sed, src/if_ruby.c
13698
13699Patch 8.2.2236
13700Problem: 'scroll' option can change when setting the statusline or tabline
13701 but the option context is not updated.
13702Solution: Update the script context when the scroll option is changed as a
13703 side effect. (Christian Brabandt, closes #7533)
13704Files: runtime/doc/options.txt, src/scriptfile.c,
13705 src/testdir/test_options.vim, src/vim.h, src/window.c
13706
13707Patch 8.2.2237
13708Problem: CI on Mac fails in sed command.
13709Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
13710Files: .github/workflows/ci.yml
13711
13712Patch 8.2.2238
13713Problem: Vim9: cannot load a Vim9 script without the +eval feature.
13714Solution: Support Vim9 script syntax without the +eval feature.
13715Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
13716 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
13717 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
13718
13719Patch 8.2.2239
13720Problem: Vim9: concatenating lines with backslash is inconvenient.
13721Solution: Support concatenating lines starting with '|', useful for
13722 :autocmd, :command, etc. (closes #6702)
13723Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
13724 src/proto/vim9script.pro, src/vim9compile.c,
13725 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
13726 src/testdir/test_vim9_cmd.vim
13727
13728Patch 8.2.2240
13729Problem: Clientserver test fails if full path is used.
13730Solution: Ignore the path preceding the file name.
13731Files: src/testdir/test_clientserver.vim
13732
13733Patch 8.2.2241
13734Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013735Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013736Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
13737
13738Patch 8.2.2242
13739Problem: Vim9: line continuation with bar does not work at script level.
13740Solution: Check for Vim9 script.
13741Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
13742 src/testdir/test_vim9_cmd.vim
13743
13744Patch 8.2.2243
13745Problem: Crash when popup mask contains zeroes.
13746Solution: Check boundaries properly. (closes #7569)
13747Files: src/popupwin.c, src/testdir/test_popupwin.vim
13748
13749Patch 8.2.2244
13750Problem: Crash when making the window width of the not-current window
13751 negative.
13752Solution: Make sure the window width is not negative. (closes #7568)
13753Files: src/window.c, src/testdir/test_window_cmd.vim
13754
13755Patch 8.2.2245
13756Problem: Vim9: return value of winrestcmd() cannot be executed.
13757Solution: Put colons before each range. (closes #7571)
13758Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
13759
13760Patch 8.2.2246
13761Problem: Cursor keys not recognized at the hit-Enter prompt after executing
13762 an external command.
13763Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013764 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013765Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
13766
13767Patch 8.2.2247
13768Problem: VMS: various smaller problems.
13769Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
13770Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
13771 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
13772
13773Patch 8.2.2248
13774Problem: ASAN error on exit with GUI.
13775Solution: Check the window still has lines. (Christian Brabandt,
13776 closes #7573)
13777Files: src/term.c
13778
13779Patch 8.2.2249
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013780Problem: Termcodes test is flaky when used over ssh with X forwarding.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013781Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
13782 closes #7563)
13783Files: src/testdir/test_termcodes.vim
13784
13785Patch 8.2.2250
13786Problem: Vim9: sublist is ambiguous.
13787Solution: Require white space around the colon. (closes #7409)
13788Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
13789 src/testdir/test_vim9_disassemble.vim
13790
13791Patch 8.2.2251
13792Problem: Test failures in legacy script.
13793Solution: Check for Vim9 script.
13794Files: src/eval.c
13795
13796Patch 8.2.2252
13797Problem: Vim9: crash when using lambda without return type in dict.
13798Solution: Without a return type use t_unknown. (closes #7587)
13799Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
13800
13801Patch 8.2.2253
13802Problem: Vim9: expr test fails.
13803Solution: Add missing assignment.
13804Files: src/userfunc.c
13805
13806Patch 8.2.2254
13807Problem: Vim9: bool option type is number.
13808Solution: Have get_option_value() return a different value for bool and
13809 number options. (closes #7583)
13810Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
13811 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
13812 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13813 src/testdir/test_vim9_cmd.vim
13814
13815Patch 8.2.2255 (after 8.2.2254)
13816Problem: Tcl test fails.
13817Solution: Change option handling.
13818Files: src/if_tcl.c
13819
13820Patch 8.2.2256
13821Problem: Vim9: cannot use function( after line break in :def function.
13822Solution: Check for "(" after "function". (closes #7581)
13823Files: src/userfunc.c, src/testdir/test_vim9_func.vim
13824
13825Patch 8.2.2257
13826Problem: Vim9: using -> for lambda is ambiguous.
13827Solution: Stop supporting ->, must use =>.
13828Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13829 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13830 src/testdir/test_vim9_disassemble.vim,
13831 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13832 src/testdir/test_vim9_script.vim
13833
13834Patch 8.2.2258
13835Problem: Not all OCaml related files are detected.
13836Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
13837Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13838
13839Patch 8.2.2259
13840Problem: Test_Executable() fails when using chroot.
13841Solution: Ignore the difference between "sbin" and "bin".
13842Files: src/testdir/test_functions.vim
13843
13844Patch 8.2.2260
13845Problem: Window resize test fails in very wide terminal.
13846Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
13847Files: src/testdir/test_window_cmd.vim
13848
13849Patch 8.2.2261
13850Problem: Vim9: boolean option gets string type.
13851Solution: Check for VAR_BOOL. (closes #7588)
13852Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13853
13854Patch 8.2.2262
13855Problem: Vim9: converting bool to string prefixes v:.
13856Solution: Do not use the v: prefix.
13857Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
13858 src/testdir/test_vim9_disassemble.vim
13859
13860Patch 8.2.2263
13861Problem: Vim9: compilation error with try-catch in skipped block.
13862Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
13863Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13864
13865Patch 8.2.2264
13866Problem: Vim9: no error for mismatched :endfunc or :enddef.
13867Solution: Check for the mismatch. (issue #7582)
13868Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
13869
13870Patch 8.2.2265
13871Problem: Error message for missing endfunc/enddef is last line.
13872Solution: Report the line where the function starts. (closes #7582)
13873Files: src/userfunc.c, src/testdir/test_vim9_func.vim
13874
13875Patch 8.2.2266
13876Problem: Vim9: it can be hard to see where white space is missing.
13877Solution: Mention the text where the error was seen. (closes #7580)
13878Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
13879 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13880
13881Patch 8.2.2267
13882Problem: Vim9: cannot use unlet for a dict member.
13883Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
13884Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13885
13886Patch 8.2.2268
13887Problem: Vim9: list unpack seen as declaration.
13888Solution: Check for "var". (closes #7594)
13889Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
13890 src/vim9execute.c, src/testdir/test_vim9_assign.vim
13891
13892Patch 8.2.2269
13893Problem: Not all :hardcopy code covered by tests.
13894Solution: Test more combinations. (Dominique Pellé, closes #7595)
13895Files: src/testdir/test_hardcopy.vim
13896
13897Patch 8.2.2270
13898Problem: Warning for size_t to int conversion. (Randall W. Morris)
13899Solution: Add a type cast.
13900Files: src/vim9execute.c
13901
13902Patch 8.2.2271
13903Problem: ml_get error when changing hidden buffer in Python.
13904Solution: Block updating folds. (closes #7598)
13905Files: src/evalbuffer.c, src/testdir/test_python3.vim
13906
13907Patch 8.2.2272
13908Problem: Vim9: extend() can violate the type of a variable.
13909Solution: Add the type to the dictionary or list and check items against it.
13910 (closes #7593)
13911Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
13912 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
13913 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
13914 src/testdir/test_vim9_disassemble.vim
13915
13916Patch 8.2.2273
13917Problem: Build failure.
13918Solution: Add missing changes to header file.
13919Files: src/vim9.h
13920
13921Patch 8.2.2274
13922Problem: badge for Travis is outdated.
13923Solution: Update badge for move from travis-ci.org to travis-ci.com.
13924Files: README.md
13925
13926Patch 8.2.2275
13927Problem: CTRL-C not recognized in Mintty.
13928Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
13929 Brabandt, closes #7575)
13930Files: src/ui.c
13931
13932Patch 8.2.2276
13933Problem: List of distributed files is outdated.
13934Solution: Update the file list. Minor comment updates.
13935Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
13936 src/screen.c, src/testdir/test_signals.vim,
13937 src/testdir/Make_vms.mms
13938
13939Patch 8.2.2277
13940Problem: Missing backslash.
13941Solution: Add backslash.
13942Files: Filelist
13943
13944Patch 8.2.2278
13945Problem: Falling back to old regexp engine can some patterns.
13946Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
13947 (Christian Brabandt, closes #7572)
13948Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13949
13950Patch 8.2.2279
13951Problem: Vim9: memory leak with catch in skipped block.
13952Solution: Free the pattern if not used.
13953Files: src/vim9compile.c
13954
13955Patch 8.2.2280
13956Problem: Fuzzy matching doesn't give access to the scores.
13957Solution: Return the scores with a third list. (Yegappan Lakshmanan,
13958 closes #7596)
13959Files: runtime/doc/eval.txt, src/search.c,
13960 src/testdir/test_matchfuzzy.vim
13961
13962Patch 8.2.2281
13963Problem: Vim9: compiled "wincmd" cannot be followed by bar.
13964Solution: Check for bar after "wincmd". (closes #7599)
13965Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13966
13967Patch 8.2.2282
13968Problem: Length check mismatch with argument of strncmp(). (Christian
13969 Brabandt)
13970Solution: Adjust length check.
13971Files: src/ui.c
13972
13973Patch 8.2.2283
13974Problem: Vim9: crash when lambda has fewer arguments than expected.
13975Solution: Don't check arguments when already failed. (closes #7606)
13976Files: src/vim9type.c, src/testdir/test_vim9_func.vim
13977
13978Patch 8.2.2284
13979Problem: Vim9: cannot set an option to a boolean value.
13980Solution: Check for VAR_BOOL. (closes #7603)
13981Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
13982
13983Patch 8.2.2285
13984Problem: Vim9: cannot set an option to a false.
13985Solution: For VAR_BOOL use string "0". (closes #7603)
13986Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
13987
13988Patch 8.2.2286
13989Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
13990Solution: Expect a different sort order. (closes #7609)
13991Files: src/testdir/test_sort.vim
13992
13993Patch 8.2.2287
13994Problem: Sort test fails when locale is French Canadian.
13995Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
13996Files: src/testdir/test_sort.vim
13997
13998Patch 8.2.2288
13999Problem: Vim9: line break and comment not always skipped.
14000Solution: Skip over white space and then line break more consistently.
14001 (closes #7610)
14002Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14003
14004Patch 8.2.2289
14005Problem: Vim9: 'cpo' can become empty.
14006Solution: Use empty_option instead of an empty string. Update quickfix
14007 buffer after restoring 'cpo'. (closes #7608)
14008Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14009 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14010 src/testdir/test_quickfix.vim
14011
14012Patch 8.2.2290
14013Problem: Vim9: unlet of global variable cannot be compiled.
14014Solution: Skip over variables that might be defined later. Give an error if
14015 a subscript is found. (closes #7585)
14016Files: src/eval.c, src/vim9compile.c, src/vim.h,
14017 src/testdir/test_vim9_assign.vim
14018
14019Patch 8.2.2291
14020Problem: Vim9: cannot use "null" for v:null.
14021Solution: Support "null" like "true" and "false". (closes #7495)
14022Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14023 src/testdir/test_vim9_expr.vim
14024
14025Patch 8.2.2292
14026Problem: Vim: expr test fails.
14027Solution: Add missing part of "null" support.
14028Files: src/eval.c
14029
14030Patch 8.2.2293
14031Problem: Build failure with Motif. (Tony Mechelynck)
14032Solution: Use empty_option instead of empty_options.
14033Files: src/gui_motif.c
14034
14035Patch 8.2.2294
14036Problem: VMS: a few remaining problems.
14037Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14038Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14039 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14040
14041Patch 8.2.2295
14042Problem: Incsearch does not detect empty pattern properly.
14043Solution: Return magic state when skipping over a pattern. (Christian
14044 Brabandt, closes #7612, closes #6420)
14045Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14046 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14047 src/search.c, src/structs.h, src/vim9compile.c,
14048 src/testdir/dumps/Test_incsearch_sub_01.dump,
14049 src/testdir/dumps/Test_incsearch_sub_02.dump,
14050 src/testdir/test_search.vim
14051
14052Patch 8.2.2296
14053Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14054Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14055Files: runtime/doc/popup.txt, src/popupwin.c,
14056 src/testdir/test_popupwin.vim
14057
14058Patch 8.2.2297
14059Problem: Vim9: cannot set 'number' to a boolean value.
14060Solution: Use tv_get_bool(). (closes #7615)
14061Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14062
14063Patch 8.2.2298
14064Problem: Vim9: comment right after "(" of function not recognized.
14065Solution: Do not skip over white space before calling get_function_args().
14066 (closes #7613)
14067Files: src/userfunc.c, src/proto/userfunc.pro,
14068 src/testdir/test_vim9_func.vim
14069
14070Patch 8.2.2299
14071Problem: Vim9: invalid memory access making error message flaky.
14072Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14073Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14074 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14075
14076Patch 8.2.2300
14077Problem: Vim9: wrong order on type stack when using dict.
14078Solution: Generate constants before a dict. (closes #7619)
14079Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14080
14081Patch 8.2.2301
14082Problem: Vim9: cannot unlet a dict or list item.
14083Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14084Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14085 src/testdir/test_vim9_assign.vim
14086
14087Patch 8.2.2302
14088Problem: Vim9: using an option value may use uninitialized memory.
14089Solution: Clear v_lock. (closes #7620)
14090Files: src/typval.c, src/testdir/test_vim9_expr.vim
14091
14092Patch 8.2.2303
14093Problem: Vim9: backtick expansion doesn't work for :foldopen.
14094Solution: Do recognize backtick expansion. (closes #7621)
14095Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14096
14097Patch 8.2.2304
14098Problem: Vim9: no test for unletting an imported variable.
14099Solution: Add a test. Fix line number in error.
14100Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14101
14102Patch 8.2.2305
14103Problem: Vim9: "++var" and "--var" are silently accepted.
14104Solution: Give an error message.
14105Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14106 src/testdir/test_vim9_expr.vim
14107
14108Patch 8.2.2306
14109Problem: Vim9: when using function reference type is not checked.
14110Solution: When using a function reference lookup the type and check the
14111 argument types. (issue #7629)
14112Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14113 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14114 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14115 src/testdir/test_vim9_func.vim
14116
14117Patch 8.2.2307
14118Problem: A shell command in the vimrc causes terminal output.
14119Solution: Do not call starttermcap() after a shell command if the termcap
14120 wasn't active before.
14121Files: src/ex_cmds.c
14122
14123Patch 8.2.2308
14124Problem: Vim9: no error when assigning lambda to funcref without return
14125 value.
14126Solution: Default return value to "any". (closes #7629)
14127Files: src/userfunc.c, src/vim9compile.c,
14128 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14129
14130Patch 8.2.2309
14131Problem: 0o777 not recognized as octal.
14132Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14133Files: src/charset.c, src/testdir/test_eval_stuff.vim
14134
14135Patch 8.2.2310
14136Problem: Vim9: winsaveview() return type is too generic.
14137Solution: use dict<number> instead of dict<any>. (closes #7626)
14138Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14139
14140Patch 8.2.2311
14141Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14142Solution: Check for assignment after possible command modifier.
14143 (closes #7632)
14144Files: src/vim9compile.c, src/ex_docmd.c,
14145 src/testdir/test_vim9_assign.vim
14146
14147Patch 8.2.2312
14148Problem: Build failure with Ruby 3.0 and 32 bits.
14149Solution: Add #ifdef. (closes #7638)
14150Files: src/if_ruby.c
14151
14152Patch 8.2.2313
14153Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14154 respected when parsing range fails.
14155Solution: Initialize ea.skip. On pattern failure handle it like an error.
14156 (closes #7636)
14157Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14158
14159Patch 8.2.2314
14160Problem: Vim9: returning zero takes two instructions.
14161Solution: Add ISN_RETURN_ZERO.
14162Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14163 src/testdir/test_vim9_disassemble.vim
14164
14165Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014166Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014167Solution: Check for following colon. (closes #7640)
14168Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14169
14170Patch 8.2.2316
14171Problem: Vim9: cannot list a lambda function.
14172Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14173Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14174
14175Patch 8.2.2317
14176Problem: Vim9: command modifier before list unpack doesn't work.
14177Solution: Only recognize "[" directly after the name. (closes #7641)
14178Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14179
14180Patch 8.2.2318
14181Problem: Vim9: string and list index work differently.
14182Solution: Make string index work like list index. (closes #7643)
14183Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14184 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14185
14186Patch 8.2.2319
14187Problem: "exptype_T" can be read as "expected type".
14188Solution: Rename to "exprtype_T", expression type.
14189Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14190 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14191 src/vim9.h
14192
14193Patch 8.2.2320
14194Problem: Vim9: no error for comparing bool with string.
14195Solution: Check for wrong types when comparing. (closes #7639)
14196Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14197
14198Patch 8.2.2321
14199Problem: Vim9: cannot nest closures.
14200Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14201 (closes #7150, closes #7635)
14202Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14203 src/testdir/test_vim9_disassemble.vim,
14204 src/testdir/test_vim9_func.vim
14205
14206Patch 8.2.2322
14207Problem: Vim9: closure nested limiting to one level.
14208Solution: Add outer_T. Also make STOREOUTER work.
14209Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14210 src/testdir/test_vim9_func.vim
14211
14212Patch 8.2.2323
14213Problem: Vim9: error when inferring type from empty dict/list.
14214Solution: When the member is t_unknown use t_any. (closes #7009)
14215Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14216
14217Patch 8.2.2324
14218Problem: Not easy to get mark en cursor position by character count.
14219Solution: Add functions that use character index. (Yegappan Lakshmanan,
14220 closes #7648)
14221Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14222 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14223 src/testdir/test_cursor_func.vim, src/typval.c
14224
14225Patch 8.2.2325
14226Problem: Vim9: crash if map() changes the item type.
14227Solution: Check that the item type is still OK. (closes #7652)
14228 Fix problem with mapnew() on range list.
14229Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14230 src/list.c, src/testdir/test_vim9_builtin.vim,
14231 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14232
14233Patch 8.2.2326
14234Problem: Build error with +eval feature but without +spell.
14235Solution: Adjust #ifdef. (John Marriott)
14236Files: src/mbyte.c
14237
14238Patch 8.2.2327
14239Problem: Debugging code included.
14240Solution: Remove the debugging code.
14241Files: src/vim9execute.c
14242
14243Patch 8.2.2328
14244Problem: Some test files may not be deleted.
14245Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14246Files: src/testdir/test_clientserver.vim,
14247 src/testdir/test_vim9_script.vim
14248
14249Patch 8.2.2329
14250Problem: Not all ways Vim can be started are tested.
14251Solution: Add a test for different program names. (Dominique Pellé,
14252 closes #7651)
14253Files: src/testdir/test_startup.vim
14254
14255Patch 8.2.2330
14256Problem: Vim9: crash when using :trow in a not executed block.
14257Solution: Don't generate the instruction when skipping. (closes #7659)
14258Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14259
14260Patch 8.2.2331
14261Problem: Vim9: wrong error when modifying dict declared with :final.
14262Solution: Do not check for writable variable when an index follows.
14263 (closes #7657)
14264Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14265 src/proto/vim9script.pro, src/evalvars.c,
14266 src/testdir/test_vim9_assign.vim
14267
14268Patch 8.2.2332
14269Problem: Vim9: missing :endif not reported when using :windo.
14270Solution: Pass a getline function to do_cmdline(). (closes #7650)
14271Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14272 src/testdir/test_vim9_cmd.vim
14273
14274Patch 8.2.2333
14275Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14276Solution: Initialize "res".
14277Files: src/vim9execute.c
14278
14279Patch 8.2.2334
14280Problem: Pascal-like filetypes not always detected.
14281Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14282 closes #7662)
14283Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14284 runtime/scripts.vim, src/testdir/test_filetype.vim
14285
14286Patch 8.2.2335
14287Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014288Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014289Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14290
14291Patch 8.2.2336
14292Problem: Vim9: it is not possible to extend a dictionary with different
14293 item types.
14294Solution: Add extendnew(). (closes #7666)
14295Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14296 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14297 src/testdir/test_vim9_builtin.vim
14298
14299Patch 8.2.2337
14300Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14301Solution: Hint that a -def package is needed. (closes #5229)
14302Files: src/configure.ac, src/auto/configure
14303
14304Patch 8.2.2338
14305Problem: Vim9: no error if using job_info() result wrongly.
14306Solution: Adjust return type on number of arguments. (closes #7667)
14307Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14308
14309Patch 8.2.2339
14310Problem: Cannot get the type of a value as a string.
14311Solution: Add typename().
14312Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14313 src/vim9type.c, src/proto/vim9type.pro,
14314 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14315
14316Patch 8.2.2340
14317Problem: win_execute() unexpectedly returns number zero when failing.
14318Solution: Return an empty string. (closes #7665)
14319Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14320 src/testdir/test_execute_func.vim
14321
14322Patch 8.2.2341
14323Problem: Expression command line completion shows variables but not
14324 functions after "g:". (Gary Johnson)
14325Solution: Prefix "g:" when needed to a global function.
14326Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14327 src/testdir/test_cmdline.vim
14328
14329Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014330Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014331 cursor is beyond the end of the line.
14332Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14333Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14334
14335Patch 8.2.2343
14336Problem: Vim9: return type of readfile() is any.
14337Solution: Add readblob() so that readfile() can be expected to always
14338 return a list of strings. (closes #7671)
14339Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14340 src/filepath.c, src/proto/filepath.pro,
14341 src/testdir/test_vim9_builtin.vim
14342
14343Patch 8.2.2344
14344Problem: Using inclusive index for slice is not always desired.
14345Solution: Add the slice() method, which has an exclusive index. (closes
14346 #7408)
14347Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14348 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14349 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14350 src/testdir/test_vim9_builtin.vim
14351
14352Patch 8.2.2345
14353Problem: No focus events in a terminal.
14354Solution: Add the t_fd and t_fe termcap entries and implement detecting
14355 focus events. (Hayaki Saito, Magnus Groß, closes #7673,
14356 closes #609, closes #5526)
14357Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14358
14359Patch 8.2.2346
14360Problem: Codecov reports every little coverage drop.
14361Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14362 Kiichi, closes #7678)
14363Files: .appveyor.yml, appveyor.yml, .codecov.yml
14364
14365Patch 8.2.2347
14366Problem: Build failure without GUI.
14367Solution: Add #ifdef.
14368Files: src/term.c
14369
14370Patch 8.2.2348 (after 8.2.2345)
14371Problem: No check for modified files after focus gained. (Mathias Stearn)
14372Solution: Call ui_focus_change().
14373Files: src/term.c, src/ui.c
14374
14375Patch 8.2.2349
14376Problem: Vim9: cannot handle line break after parenthesis at line end.
14377Solution: Skip over line break. (closes #7677)
14378Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14379
14380Patch 8.2.2350
14381Problem: Using "void" for no reason.
14382Solution: Use "char *".
14383Files: src/ex_docmd.c
14384
14385Patch 8.2.2351
14386Problem: Vim9: error message for "throw" in function that was called with
14387 "silent!".
14388Solution: Do not throw the exception when not caught or displayed.
14389 (closes #7672)
14390Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14391
14392Patch 8.2.2352
14393Problem: If the focus lost/gained escape sequence is received twice it is
14394 not ignored. (Christ van Willigen)
14395Solution: Adjust the logic to ignore the escape code.
14396Files: src/term.c
14397
14398Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014399Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014400Solution: Add the sparql filetype. (closes #7679)
14401Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14402
14403Patch 8.2.2354
14404Problem: Crash with a weird combination of autocommands.
14405Solution: Increment b_nwindows when needed. (closes #7674)
14406Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14407 src/testdir/test_autocmd.vim
14408
14409Patch 8.2.2355
14410Problem: Stray test failure on Appveyor.
14411Solution: Finish insert command.
14412Files: src/testdir/test_autocmd.vim
14413
14414Patch 8.2.2356
14415Problem: Vim9: ":put =expr" does not handle a list properly.
14416Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14417Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14418 src/testdir/test_vim9_cmd.vim
14419
14420Patch 8.2.2357
14421Problem: Vim9: crash when parsing function return type fails.
14422Solution: Bail out and set return type to "unknown". (closes #7685)
14423Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14424
14425Patch 8.2.2358
14426Problem: Wrong #ifdef for use_xterm_like_mouse().
14427Solution: Use FEAT_MOUSE_XTERM.
14428Files: src/term.c
14429
14430Patch 8.2.2359
14431Problem: Strange test failure with MS-Windows.
14432Solution: Skip the system() call for now.
14433Files: src/testdir/test_autocmd.vim
14434
14435Patch 8.2.2360
14436Problem: Test leaves file behind.
14437Solution: Delete the right file. (Dominique Pellé, closes #7689)
14438Files: src/testdir/test_filetype.vim
14439
14440Patch 8.2.2361
14441Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14442Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14443Files: src/ex_cmds.c
14444
14445Patch 8.2.2362
14446Problem: Vim9: check of builtin function argument type is incomplete.
14447Solution: Use need_type() instead of check_arg_type().
14448Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14449 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14450 src/testdir/test_vim9_builtin.vim
14451
14452Patch 8.2.2363
14453Problem: curpos() does not accept a string argument as before.
14454solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014455 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014456Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14457
14458Patch 8.2.2364
14459Problem: Vim9: line break in lambda accesses freed memory.
14460Solution: Make a copy of the return type. (closes #7664)
14461Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14462
14463Patch 8.2.2365
14464Problem: Vim9: no check for map() changing item type at script level.
14465Solution: Check the new value type.
14466Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14467 src/testdir/test_vim9_assign.vim
14468
14469Patch 8.2.2366
14470Problem: When using ":sleep" the cursor is always displayed.
14471Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14472 closes #7688)
14473Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14474 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14475 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14476
14477Patch 8.2.2367
14478Problem: Test failures on some less often used systems.
14479Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14480Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14481
14482Patch 8.2.2368
14483Problem: Insufficient tests for setting options.
14484Solution: Add a few tests. (Dominique Pellé, closes #7695)
14485Files: src/testdir/test_options.vim
14486
14487Patch 8.2.2369
14488Problem: Vim9: functions return true/false but can't be used as bool.
14489Solution: Add ret_number_bool(). (closes #7693)
14490Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14491 src/testdir/test_vim9_disassemble.vim
14492
14493Patch 8.2.2370
14494Problem: Vim9: command fails in catch block.
14495Solution: Reset force_abort and need_rethrow. (closes #7692)
14496Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14497
14498Patch 8.2.2371
14499Problem: Vim9: crash when using types in :for with unpack.
14500Solution: Check for skip_var_list() failing. Pass include_type to
14501 skip_var_one(). Skip type when compiling. (closes #7694)
14502Files: src/vim9compile.c, src/evalvars.c,
14503 src/testdir/test_vim9_script.vim
14504
14505Patch 8.2.2372 (after 8.2.2371)
14506Problem: Confusing error message for wrong :let command.
14507Solution: Only check for type in Vim9 script.
14508Files: src/evalvars.c
14509
14510Patch 8.2.2373
14511Problem: Vim9: list assignment only accepts a number index.
14512Solution: Accept "any" and do a runtime type check. (closes #7694)
14513Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14514
14515Patch 8.2.2374
14516Problem: Accessing uninitialized memory in test_undo.
14517Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14518 closes #7697)
14519Files: src/edit.c
14520
14521Patch 8.2.2375
14522Problem: Test for RGB color skipped in the terminal.
14523Solution: Run the GUI if possible.
14524Files: src/testdir/test_highlight.vim
14525
14526Patch 8.2.2376
14527Problem: Vim9: crash when dividing by zero in compiled code using
14528 constants.
14529Solution: Call num_divide() and num_modulus(). (closes #7704)
14530Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14531
14532Patch 8.2.2377
14533Problem: Vim9: crash when using a range after another expression.
14534Solution: Set the variable type to number. Fix using :put with a range and
14535 the "=" register. (closes #7706)
14536Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14537
14538Patch 8.2.2378
14539Problem: Vim9: no error message for dividing by zero.
14540Solution: Give an error message. (issue #7704)
14541Files: src/errors.h, src/eval.c, src/vim9execute.c,
14542 src/testdir/test_vim9_expr.vim
14543
14544Patch 8.2.2379
14545Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14546Solution: Only do internal suggestions once. (closes #7713)
14547Files: src/spellsuggest.c
14548
14549Patch 8.2.2380
14550Problem: Vim9: occasional crash when using try/catch and a timer.
14551Solution: Save and restore "need_rethrow" when invoking a timer callback.
14552 (closes #7708)
14553Files: src/time.c
14554
14555Patch 8.2.2381
14556Problem: Vim9: divide by zero does not abort expression execution.
14557Solution: Use a "failed" flag. (issue #7704)
14558Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14559 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14560
14561Patch 8.2.2382 (after 8.2.2381)
14562Problem: Build failure.
14563Solution: Add missing changes.
14564Files: src/vim9execute.c
14565
14566Patch 8.2.2383
14567Problem: Focus escape sequences are not named in ":set termcap" output.
14568Solution: Add the names to the list. (closes #7718)
14569Files: src/misc2.c
14570
14571Patch 8.2.2384
14572Problem: Turtle filetype not recognized.
14573Solution: Add a rule to detect turtle files. (closes #7722)
14574Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14575
14576Patch 8.2.2385
14577Problem: "gj" and "gk" do not work correctly when inside a fold.
14578Solution: Move check for folding. (closes #7724, closes #4095)
14579Files: src/normal.c, src/testdir/test_fold.vim
14580
14581Patch 8.2.2386
14582Problem: Vim9: crash when using ":silent! put".
14583Solution: When ignoring an error for ":silent!" rewind the stack and skip
14584 ahead to restoring the cmdmod. (closes #7717)
14585Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14586
14587Patch 8.2.2387
14588Problem: Runtime type check does not mention argument index.
14589Solution: Add ct_arg_idx. (closes #7720)
14590Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14591 src/testdir/test_vim9_builtin.vim,
14592 src/testdir/test_vim9_disassemble.vim,
14593 src/testdir/test_vim9_func.vim
14594
14595Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014596Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014597Solution: Add v:numbermax and v:numbermin.
14598Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14599 runtime/doc/eval.txt
14600
14601Patch 8.2.2389
14602Problem: Test failure on a few systems.
14603Solution: Avoid that "char" value is negative.
14604Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14605
14606Patch 8.2.2390
14607Problem: Vim9: using positive offset is unexpected.
14608Solution: Use int8_T instead of char. (James McCoy)
14609Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14610
14611Patch 8.2.2391
14612Problem: Memory leak when creating a global function with closure.
14613Solution: Create a separate partial for every instantiated function.
14614Files: src/userfunc.c, src/vim9execute.c
14615
14616Patch 8.2.2392
14617Problem: Fennel filetype not recognized.
14618Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14619Files: runtime/filetype.vim, runtime/scripts.vim,
14620 src/testdir/test_filetype.vim
14621
14622Patch 8.2.2393
14623Problem: Vim9: error message when script line starts with "[{".
14624Solution: Do not give an error for checking for end of list.
14625Files: src/dict.c, src/testdir/test_vim9_script.vim
14626
14627Patch 8.2.2394
14628Problem: Vim9: min() and max() return type is "any".
14629Solution: Use return type "number". (closes #7728)
14630Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14631
14632Patch 8.2.2395
14633Problem: Vim9: error for wrong type may report wrong line number.
14634Solution: Save and restore the line number when evaluating the expression.
14635 (closes #7727)
14636Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14637
14638Patch 8.2.2396
14639Problem: Vim9: no white space allowed before "->".
14640Solution: Allow for white space. (closes #7725)
14641Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14642
14643Patch 8.2.2397
14644Problem: Vim9: "%%" not seen as alternate file name for commands with a
14645 buffer name argument.
14646Solution: Recognize "%%" like "#". (closes #7732)
14647Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14648
14649Patch 8.2.2398 (after 8.2.2396)
14650Problem: Method test fails.
14651Solution: Adjust test for allowed white space.
14652Files: src/testdir/test_method.vim
14653
14654Patch 8.2.2399 (after 8.2.2385)
14655Problem: Fold test fails in wide terminal.
14656Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14657Files: src/testdir/test_fold.vim
14658
14659Patch 8.2.2400
14660Problem: Vim9: compiled functions are not profiled.
14661Solution: Add initial changes to profile compiled functions. Fix that a
14662 script-local function was hard to debug.
14663Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14664 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14665 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14666 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14667 src/testdir/test_vim9_disassemble.vim,
14668 src/testdir/test_profile.vim
14669
14670Patch 8.2.2401
14671Problem: Build fails without +profiling feature.
14672Solution: Add #ifdefs.
14673Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14674 src/testdir/test_vim9_disassemble.vim
14675
14676Patch 8.2.2402
14677Problem: Some filetypes not detected.
14678Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14679Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14680
14681Patch 8.2.2403
14682Problem: Vim9: profiling if/elseif/endif not correct.
14683Solution: Add profile instructions. Fix that "elseif" was wrong.
14684Files: src/vim9compile.c, src/testdir/test_profile.vim,
14685 src/testdir/test_vim9_script.vim,
14686 src/testdir/test_vim9_disassemble.vim
14687
14688Patch 8.2.2404
14689Problem: Vim9: profiling try/catch not correct.
14690Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014691 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014692Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14693
14694Patch 8.2.2405
14695Problem: Vim9: no need to allow white space before "(" for :def.
14696Solution: Give an error for stray white space. (issue #7734)
14697Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14698
14699Patch 8.2.2406
14700Problem: Vim9: profiled :def function leaks memory.
14701Solution: Delete the profiled instructions.
14702Files: src/vim9compile.c
14703
14704Patch 8.2.2407
14705Problem: Old jumplist code is never used.
14706Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14707Files: src/mark.c
14708
14709Patch 8.2.2408
14710Problem: MinGW: "--preprocessor" flag no longer supported.
14711Solution: Remove the flag, use the defaults. (Christopher Wellons,
14712 closes #7741)
14713Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
14714
14715Patch 8.2.2409
14716Problem: Vim9: profiling only works for one function.
14717Solution: Select the right instructions when calling and returning.
14718 (closes #7743)
14719Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
14720 src/testdir/test_profile.vim
14721
14722Patch 8.2.2410
14723Problem: Build failure without the +profiling feature.
14724Solution: Add dummy argument to macro.
14725Files: src/vim9.h
14726
14727Patch 8.2.2411
14728Problem: Profile test fails on MS-Windows.
14729Solution: Do the profiling in a separate Vim command.
14730Files: src/testdir/test_profile.vim
14731
14732Patch 8.2.2412
14733Problem: Not all fields in "cstack" are initialized which might cause a
14734 crash.
14735Solution: Use CLEAR_FIELD().
14736Files: src/ex_docmd.c
14737
14738Patch 8.2.2413
14739Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
14740Solution: Disallow :all from the cmdline window.
14741Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
14742
14743Patch 8.2.2414
14744Problem: Using freed memory when closing the cmdline window.
14745Solution: Check the window is still valid.
14746Files: src/ex_getln.c
14747
14748Patch 8.2.2415
14749Problem: No way to check for the cmdwin feature, cmdline_hist is now always
14750 enabled.
14751Solution: Add has('cmdwin') support. Skip arglist test on Windows
14752 temporarily.
14753Files: runtime/doc/cmdline.txt, src/evalfunc.c,
14754 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
14755 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
14756 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
14757 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
14758
14759Patch 8.2.2416
14760Problem: May get stuck in command line window state.
14761Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
14762 pass on MS-Windows.
14763Files: src/ex_getln.c, src/testdir/test_arglist.vim
14764
14765Patch 8.2.2417
14766Problem: Condition stack values may be used when not set.
14767Solution: Clear cs_script_var_len and cs_block_id just in case they get used
14768 later. (issue #7733)
14769Files: src/ex_eval.c
14770
14771Patch 8.2.2418
14772Problem: Color not changed if ModeMsg highlight is set in InsertEnter
14773 autocmd event. (Paul Swanson)
14774Solution: Call highlight_changed() after triggering InsertEnter.
14775 (closes #7751)
14776Files: src/edit.c
14777
14778Patch 8.2.2419
14779Problem: Autocmd test was failing on MS-Windows with GUI.
14780Solution: Remove stray feedkeys().
14781Files: src/testdir/test_autocmd.vim
14782
14783Patch 8.2.2420
14784Problem: Too many problems with using all autocommand events.
14785Solution: Disallow defining an autocommand for all events.
14786Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
14787 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
14788
14789Patch 8.2.2421
14790Problem: Double free when using autocommand with "argdel". (Houyunsong)
14791Solution: Add the arglist_locked flag.
14792Files: src/arglist.c, src/testdir/test_autocmd.vim
14793
14794Patch 8.2.2422
14795Problem: Crash when deleting with line number out of range. (Houyunsong)
14796Solution: Avoid using a negative line number.
14797Files: src/normal.c, src/testdir/test_ex_mode.vim
14798
14799Patch 8.2.2423 (after 8.2.2422)
14800Problem: Missing error message.
14801Solution: Add the error message.
14802Files: src/errors.h
14803
14804Patch 8.2.2424
14805Problem: Some tests are known to cause an error with ASAN.
14806Solution: Add CheckNotAsan.
14807Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
14808 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
14809
14810Patch 8.2.2425
14811Problem: Cursor on invalid line with range and :substitute.
14812Solution: Do not move the cursor when skipping commands. (closes #3434)
14813Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
14814
14815Patch 8.2.2426
14816Problem: Allowing 'completefunc' to switch windows causes trouble.
14817Solution: use "textwinlock" instead of "textlock".
14818Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14819 src/testdir/test_popup.vim
14820
14821Patch 8.2.2427
14822Problem: Can still switch windows for 'completefunc'.
14823Solution: Also disallow switching windows for other completions.
14824Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14825 src/testdir/test_popup.vim
14826
14827Patch 8.2.2428
14828Problem: FocusGained does not work when 'ttymouse' is empty.
14829Solution: Don't use the short mouse code if there is a longer matching code.
14830 (closes #7755) Add a test.
14831Files: src/term.c, src/testdir/test_termcodes.vim
14832
14833Patch 8.2.2429
14834Problem: :goto does not work correctly with text properties. (Sam McCall)
14835Solution: Add a test. (Andrew Radev) Also use the text property size when
14836 computing the remaining offset. (closes #5930)
14837Files: src/memline.c, src/testdir/test_textprop.vim
14838
14839Patch 8.2.2430
14840Problem: :vimgrep expands wildcards twice.
14841Solution: Do not expand wildcards a second time.
14842Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
14843
14844Patch 8.2.2431
14845Problem: Warning for -fno-strength-reduce with Clang 11.
14846Solution: Adjust check for clang version number.
14847Files: src/configure.ac, src/auto/configure
14848
14849Patch 8.2.2432
14850Problem: Libvterm tests are executed even when libtool doesn't work.
14851Solution: Only run libvterm tests if /usr/bin/gcc exists.
14852Files: src/Makefile
14853
14854Patch 8.2.2433
14855Problem: Opening cmdline window gives error in BufLeave autocommand.
14856Solution: Reset cmdwin_type when triggering the autocommand.
14857Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
14858
14859Patch 8.2.2434
14860Problem: Vim9: no error when compiling str2nr() with a number.
14861Solution: Add argument type checks. (closes #7759)
14862Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
14863 src/testdir/test_vim9_builtin.vim
14864
14865Patch 8.2.2435
14866Problem: setline() gives an error for some types.
14867Solution: Allow any type, convert each item to a string.
14868Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
14869 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
14870 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
14871
14872Patch 8.2.2436
14873Problem: Vim9 script test is a bit flaky.
14874Solution: Wait longer for exit callback.
14875Files: src/testdir/test_vim9_script.vim
14876
14877Patch 8.2.2437
14878Problem: Deprecation warnings with default configuration.
14879Solution: Add -Wno-deprecated-declarations.
14880Files: src/configure.ac, src/auto/configure
14881
14882Patch 8.2.2438
14883Problem: Out of bounds compiler warning.
14884Solution: Increase the size of uf_name.
14885Files: src/structs.h
14886
14887Patch 8.2.2439
14888Problem: Not easy to figure out what packages to get when installing Vim on
14889 a new Ubuntu system.
14890Solution: Mention explicit commands that are easy to follow.
14891Files: src/INSTALL
14892
14893Patch 8.2.2440
14894Problem: Documentation based on patches is outdated.
14895Solution: Add changes to documentation in a patch.
14896Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
14897 runtime/doc/change.txt, runtime/doc/channel.txt,
14898 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
14899 runtime/doc/develop.txt, runtime/doc/digraph.txt,
14900 runtime/doc/editing.txt, runtime/doc/eval.txt,
14901 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
14902 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
14903 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
14904 runtime/doc/helphelp.txt, runtime/doc/help.txt,
14905 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
14906 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
14907 runtime/doc/index.txt, runtime/doc/insert.txt,
14908 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
14909 runtime/doc/message.txt, runtime/doc/mlang.txt,
14910 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
14911 runtime/doc/options.txt, runtime/doc/os_dos.txt,
14912 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
14913 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
14914 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
14915 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
14916 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
14917 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
14918 runtime/doc/print.txt, runtime/doc/quickfix.txt,
14919 runtime/doc/quickref.txt, runtime/doc/recover.txt,
14920 runtime/doc/remote.txt, runtime/doc/repeat.txt,
14921 runtime/doc/rileft.txt, runtime/doc/sign.txt,
14922 runtime/doc/spell.txt, runtime/doc/starting.txt,
14923 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
14924 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
14925 runtime/doc/term.txt, runtime/doc/testing.txt,
14926 runtime/doc/textprop.txt, runtime/doc/tips.txt,
14927 runtime/doc/todo.txt, runtime/doc/uganda.txt,
14928 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
14929 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
14930 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
14931 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
14932 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
14933 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
14934 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
14935 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
14936 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
14937 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
14938 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
14939 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
14940 runtime/doc/various.txt, runtime/doc/version5.txt,
14941 runtime/doc/version6.txt, runtime/doc/version7.txt,
14942 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
14943 runtime/doc/vim9.txt, runtime/doc/visual.txt,
14944 runtime/doc/windows.txt
14945
14946Patch 8.2.2441
14947Problem: Vim9: extend() does not give an error for a type mismatch.
14948Solution: Check the type of the second argument. (closes #7760)
14949Files: src/list.c, src/testdir/test_vim9_builtin.vim
14950
14951Patch 8.2.2442
14952Problem: Automatic GUI selection does not check for GTK 3.
14953Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
14954 YES when checking for GTK2.
14955Files: src/configure.ac, src/auto/configure
14956
14957Patch 8.2.2443
14958Problem: Vim9: no compile time error for wrong str2float argument.
14959Solution: Check argument type. (closes #7759)
14960Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14961
14962Patch 8.2.2444
14963Problem: Vim9: compile error with combination of operator and list.
14964Solution: Generate constants before parsing a list or dict. (closes #7757)
14965Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14966
14967Patch 8.2.2445
14968Problem: Vim9: no proper error for lambda missing return type.
14969Solution: Check for this error. (closes #7758)
14970Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14971
14972Patch 8.2.2446
14973Problem: Setting 'term' empty has different error if compiled with GUI.
14974Solution: Insert "else". (closes #7766)
14975Files: src/optionstr.c, src/testdir/test_options.vim
14976
14977Patch 8.2.2447
14978Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014979Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014980Files: src/fold.c, src/testdir/test_mksession.vim
14981
14982Patch 8.2.2448
14983Problem: Compilation error with Ruby 3.0.
14984Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
14985Files: src/if_ruby.c
14986
14987Patch 8.2.2449
14988Problem: Vim9: flatten() always changes the list type.
14989Solution: Disallow using flatten() and add flattennew().
14990Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14991 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
14992 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
14993
14994Patch 8.2.2450
14995Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
14996Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
14997Files: src/bufwrite.c
14998
14999Patch 8.2.2451
15000Problem: MS-Windows: Extended Attributes not preserved.
15001Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15002 closes #7765)
15003Files: src/os_win32.c
15004
15005Patch 8.2.2452
15006Problem: No completion for the 'filetype' option.
15007Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15008Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15009
15010Patch 8.2.2453
15011Problem: Vim9: a variable name with "->" in the next line doesn't work.
15012Solution: Recognize a variable name by itself. (closes #7770)
15013Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15014
15015Patch 8.2.2454
15016Problem: Leading space can not be made visible.
15017Solution: Add "lead:" to 'listchars'. (closes #7772)
15018Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15019 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15020
15021Patch 8.2.2455
15022Problem: Vim9: key type that can be used for literal dict and indexing is
15023 inconsistent.
15024Solution: Allow using number and bool as key for a literal dict. (#7771)
15025Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15026 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15027 src/testdir/test_vim9_script.vim
15028
15029Patch 8.2.2456
15030Problem: Coverity warning for strcpy() into fixed size array.
15031Solution: Add a type cast to hopefully silence the bogus warning.
15032Files: src/userfunc.c
15033
15034Patch 8.2.2457
15035Problem: Coverity warns for memory leak.
15036Solution: Free memory when out of memory.
15037Files: src/if_cscope.c
15038
15039Patch 8.2.2458
15040Problem: Coverity warns for :retab using freed memory.
15041Solution: Use the updated line pointer when moving text properties.
15042Files: src/indent.c
15043
15044Patch 8.2.2459
15045Problem: Coverity reports dead code.
15046Solution: Remove the dead code.
15047Files: src/eval.c
15048
15049Patch 8.2.2460
15050Problem: Coverity warns for unused value.
15051Solution: Do not reset the return value to OK.
15052Files: src/vim9compile.c
15053
15054Patch 8.2.2461
15055Problem: Coverity warns for unchecked return value.
15056Solution: Add "(void)" to avoid the warning.
15057Files: src/vim9execute.c
15058
15059Patch 8.2.2462
15060Problem: Coverity warns for not checking for fseek() error.
15061Solution: Give an error message if fseek() fails.
15062Files: src/spellfile.c
15063
15064Patch 8.2.2463
15065Problem: Using :arglocal in an autocommand may use freed memory.
15066 (houyunsong)
15067Solution: Check if the arglist is locked.
15068Files: src/arglist.c, src/testdir/test_autocmd.vim
15069
15070Patch 8.2.2464
15071Problem: Using freed memory if window closed in autocommand. (houyunsong)
15072Solution: Check the window still exists.
15073Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15074
15075Patch 8.2.2465
15076Problem: Using freed memory in :psearch. (houyunsong)
15077Solution: Check the current window is still valid. Fix flaky test.
15078Files: src/search.c, src/testdir/test_autocmd.vim
15079
15080Patch 8.2.2466
15081Problem: Max() and min() can give many error messages.
15082Solution: Bail out at the first error. (closes #1039, closes #7778)
15083Files: src/evalfunc.c, src/testdir/test_functions.vim
15084
15085Patch 8.2.2467
15086Problem: Script generated by :mkview changes alternate file.
15087Solution: Only write :balt in the session file. (Harish Rajagopal,
15088 closes #7779)
15089Files: src/session.c, src/testdir/test_mksession.vim
15090
15091Patch 8.2.2468
15092Problem: Not easy to get the full command name from a shortened one.
15093Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15094Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15095 src/ex_docmd.c, src/proto/evalfunc.pro,
15096 src/testdir/test_cmdline.vim
15097
15098Patch 8.2.2469
15099Problem: Confusing error if :winsize has a wrong argument.
15100Solution: Quote the argument in the error. (closes #2523)
15101Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15102
15103Patch 8.2.2470
15104Problem: Popup_getoptions() does not get textprop from other tab.
15105Solution: use win_valid_any_tab(). (closes #7786)
15106Files: src/popupwin.c, src/testdir/test_popupwin.vim
15107
15108Patch 8.2.2471
15109Problem: Popup_setoptions() does not set textprop in other tab.
15110Solution: use win_valid_any_tab(). (closes #7788)
15111Files: src/popupwin.c, src/testdir/test_popupwin.vim
15112
15113Patch 8.2.2472
15114Problem: Crash when using command line window in an autocommand.
15115 (houyunsong)
15116Solution: Save and restore au_new_curbuf.
15117Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15118
15119Patch 8.2.2473
15120Problem: Crash when leaving command line window triggers autocommand.
15121 (houyunsong)
15122Solution: Make sure not to close the current window or buffer.
15123Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15124
15125Patch 8.2.2474
15126Problem: Using freed memory when window is closed by autocommand.
15127 (houyunsong)
15128Solution: Check the window pointer is still valid.
15129Files: src/quickfix.c, src/testdir/test_autocmd.vim
15130
15131Patch 8.2.2475
15132Problem: Autocommand tests hangs on MS-Windows.
15133Solution: Skip one test.
15134Files: src/testdir/test_autocmd.vim
15135
15136Patch 8.2.2476
15137Problem: Using freed memory when using an autocommand to split a window
15138 while a buffer is being closed.
15139Solution: Disallow splitting when the buffer has b_locked_split set.
15140Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15141 src/popupwin.c, src/testdir/test_autocmd.vim
15142
15143Patch 8.2.2477
15144Problem: Autocommand tests hang on MS-Windows.
15145Solution: Skip a couple of tests. Fix file name.
15146Files: src/testdir/test_autocmd.vim
15147
15148Patch 8.2.2478
15149Problem: MS-Windows: backup files for plugins are loaded.
15150Solution: Do not use the alternate file name for files ending in "~".
15151Files: src/filepath.c
15152
15153Patch 8.2.2479
15154Problem: set/getbufline test fails without the job feature.
15155Solution: Check whether the job feature is supported. (Dominique Pellé,
15156 closes #7790)
15157Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15158
15159Patch 8.2.2480
15160Problem: Vim9: some errors for white space do not show context.
15161Solution: Include the text at the error.
15162Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15163 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15164
15165Patch 8.2.2481
15166Problem: Vim9: confusing error when variable arguments have a default
15167 value.
15168Solution: Give a specific error message. (closes #7793)
15169Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15170
15171Patch 8.2.2482
15172Problem: Build error.
15173Solution: Add new error message.
15174Files: src/errors.h
15175
15176Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015177Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015178Solution: Check for end of command before checking type. (closes #7795)
15179Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15180
15181Patch 8.2.2484
15182Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15183Solution: Remove the check for "{" since #{ dictionaries are not supported.
15184Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15185
15186Patch 8.2.2485
15187Problem: When sourcing a script again the script version isn't reset.
15188Solution: Set sn_version to one when sourcing a script again. Clear
15189 sn_save_cpo properly. (closes #7608)
15190Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15191
15192Patch 8.2.2486
15193Problem: Vim9: some errors for white space do not show context.
15194Solution: Include the text at the error.
15195Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15196 src/vim9compile.c, src/vim9type.c
15197
15198Patch 8.2.2487
15199Problem: Terminal shows garbage after double-wide character with a
15200 combining character. (Kyoichiro Yamada)
15201Solution: Libvterm: do not add the width of the combining character to the
15202 glyph width. (closes #7801)
15203Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15204 src/testdir/dumps/Test_terminal_combining.dump
15205
15206Patch 8.2.2488
15207Problem: json_encode() gives generic argument error.
15208Solution: Mention the type that can't be encoded. (issue #7802)
15209Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15210
15211Patch 8.2.2489
15212Problem: current buffer is wrong after deletebufline() fails to delete a
15213 line in another buffer.
15214Solution: Restore the current buffer.
15215Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15216
15217Patch 8.2.2490
15218Problem: 'wrap' option is always reset when starting diff mode.
15219Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15220Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15221 src/testdir/test_diffmode.vim
15222
15223Patch 8.2.2491
15224Problem: Popup window for text property may show in first screen line.
15225Solution: If the text position is invisible do not show the popup window.
15226 (closes #7807)
15227Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15228 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15229 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15230 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15231
15232Patch 8.2.2492
15233Problem: Command line buffer name cannot be translated.
15234Solution: Add _(). (Gabriel Dupras, closes #7812)
15235Files: src/ex_getln.c
15236
15237Patch 8.2.2493
15238Problem: Text property for text left of window shows up.
15239Solution: Check if the text property ends before the current column.
15240 (closes #7806)
15241Files: src/drawline.c, src/testdir/test_textprop.vim,
15242 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15243 src/testdir/dumps/Test_textprop_nowrap_02.dump
15244
15245Patch 8.2.2494
15246Problem: ":rviminfo!" clears most of oldfiles.
15247Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15248Files: src/viminfo.c, src/vim.h
15249
15250Patch 8.2.2495
15251Problem: Text jumps up and down when moving the cursor in a small window
15252 with wrapping text and 'scrolloff' set.
15253Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15254 closes #7813)
15255Files: src/move.c, src/testdir/test_breakindent.vim
15256
15257Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015258Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015259Solution: Add another test case.
15260Files: src/testdir/test_breakindent.vim
15261
15262Patch 8.2.2497
15263Problem: No error when using more than one character for a register name.
15264Solution: In Vim9 script check for a single character string. (closes #7814)
15265 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15266Files: src/errors.h, src/evalfunc.c, src/typval.c,
15267 src/testdir/test_vim9_builtin.vim
15268
15269Patch 8.2.2498
15270Problem: No test for what 8.2.2494 fixes.
15271Solution: Add a simple change to test the fix. (closes #7818)
15272Files: src/testdir/test_viminfo.vim
15273
15274Patch 8.2.2499
15275Problem: "vim -g --version" does not redirect output.
15276Solution: Reset gui.starting when showing version info. (closes #7815)
15277Files: src/main.c, src/testdir/test_version.vim
15278
15279Patch 8.2.2500 (after 8.2.2499)
15280Problem: Build fails without the GUI feature.
15281Solution: Add #ifdef.
15282Files: src/main.c
15283
15284Patch 8.2.2501
15285Problem: Not always clear where an error is reported.
15286Solution: Add the where_T structure and pass it around. (closes #7796)
15287Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15288 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15289 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15290 src/proto/vim9script.pro, src/dict.c, src/list.c,
15291 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15292
15293Patch 8.2.2502
15294Problem: A few github actions are failing.
15295Solution: Install setuptools-rust. (closes #7823)
15296Files: .github/workflows/ci.yml
15297
15298Patch 8.2.2503
15299Problem: Vim9: a caught error may leave something on the stack.
15300Solution: Drop items from the stack if needed. (closes #7826)
15301Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15302
15303Patch 8.2.2504
15304Problem: Vim9: crash when using an argument from a closure.
15305Solution: Check if gen_load_outer is NULL. (closes #7821)
15306Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15307
15308Patch 8.2.2505
15309Problem: Vim9: crash after defining function with invalid return type.
15310Solution: Clear function growarrays. Fix memory leak.
15311Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15312
15313Patch 8.2.2506
15314Problem: Vim9: :continue does not work correctly in a :try block
15315Solution: Add the TRYCLEANUP instruction. (closes #7827)
15316Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15317 src/testdir/test_vim9_script.vim,
15318 src/testdir/test_vim9_disassemble.vim
15319
15320Patch 8.2.2507
15321Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15322 not needed.
15323Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15324 installing rust. (Ozaki Kiichi, closes #7820)
15325Files: .github/workflows/ci.yml
15326
15327Patch 8.2.2508
15328Problem: Cannot change the character displayed in non existing lines.
15329Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15330Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15331 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15332 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15333
15334Patch 8.2.2509
15335Problem: Tests fail on s390 build.
15336Solution: Initialize trycmd_T.
15337Files: src/vim9execute.c
15338
15339Patch 8.2.2510
15340Problem: Internal error when popup with mask is zero height or width.
15341Solution: Bail out if width or height is zero. (closes #7831)
15342Files: src/popupwin.c, src/testdir/test_popupwin.vim
15343
15344Patch 8.2.2511
15345Problem: Vim9: cannot use Vim9 script syntax in some places.
15346Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15347 mean ":vim9cmd" instead of ":vim9script".
15348Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15349 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15350 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15351 src/testdir/dumps/Test_wildmenu_1.dump,
15352 src/testdir/dumps/Test_wildmenu_2.dump,
15353 src/testdir/dumps/Test_wildmenu_3.dump,
15354 src/testdir/dumps/Test_wildmenu_4.dump,
15355 src/testdir/test_quickfix.vim
15356
15357Patch 8.2.2512
15358Problem: Vim9: compiling error test sometimes fails.
15359Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15360 Pellé, closes #7837)
15361Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15362 src/testdir/test_vim9_script.vim
15363
15364Patch 8.2.2513 (after 8.2.2511)
15365Problem: Vim9: missing part of :vim9cmd change.
15366Solution: Use command modifier in in_vim9script().
15367Files: src/vim9script.c
15368
15369Patch 8.2.2514 (after 8.2.2511)
15370Problem: Vim9: build error in tiny version.
15371Solution: Add #ifdef.
15372Files: src/ex_docmd.c
15373
15374Patch 8.2.2515
15375Problem: Memory access error when truncating an empty message.
15376Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15377Files: src/message.c, src/message_test.c
15378
15379Patch 8.2.2516
15380Problem: Test failure on s390. (analyses by James McCoy)
15381Solution: Only set the try_finally label when not skipping.
15382Files: src/vim9compile.c
15383
15384Patch 8.2.2517
15385Problem: Vim9: fix for s390 not tested on other systems.
15386Solution: Add a test.
15387Files: src/testdir/test_vim9_script.vim
15388
15389Patch 8.2.2518
15390Problem: 'listchars' should be window-local.
15391Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15392 closes #5206, closes #7850)
15393Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15394 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15395 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15396 src/option.h, src/optiondefs.h, src/optionstr.c,
15397 src/proto/screen.pro, src/screen.c, src/structs.h,
15398 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15399
15400Patch 8.2.2519
15401Problem: Vim9: no reason to keep strange Vi behavior.
15402Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15403 (closes #7840)
15404Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15405
15406Patch 8.2.2520
15407Problem: Missing tests for 'listchars'.
15408Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15409Files: src/testdir/test_listchars.vim
15410
15411Patch 8.2.2521
15412Problem: Some compilers can't handle pointer initialization. (John
15413 Marriott)
15414Solution: Use a local struct and assign it afterwards.
15415Files: src/screen.c
15416
15417Patch 8.2.2522
15418Problem: Beancount filetype not recognized.
15419Solution: Add a detection rule. (Brian Ryall, closes #7859)
15420Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15421
15422Patch 8.2.2523
15423Problem: Svelte filetype not recognized.
15424Solution: Add a detection rule. (Brian Ryall, closes #7858)
15425Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15426
15427Patch 8.2.2524
15428Problem: Cannot change the characters displayed in the foldcolumn.
15429Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15430 closes #7860)
15431Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15432 src/testdir/test_display.vim
15433
15434Patch 8.2.2525
15435Problem: Vim9: only local variables checked for a name.
15436Solution: Also check arguments and script variables. (closes #7838)
15437Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15438 src/testdir/test_vim9_cmd.vim
15439
15440Patch 8.2.2526 (after 8.2.2525)
15441Problem: Build failure.
15442Solution: Change lookup_scriptvar() arguments.
15443Files: src/evalvars.c, src/proto/evalvars.pro
15444
15445Patch 8.2.2527
15446Problem: Vim9: lambda return type is not determined at script level.
15447Solution: Compile the lambda to get the return type. (closes #7843)
15448Files: src/eval.c, src/vim.h, src/vim9.h,
15449 src/testdir/test_vim9_assign.vim
15450
15451Patch 8.2.2528
15452Problem: Vim9: crash when compiling lambda fails.
15453Solution: Bail out after compilation fails. (closes #7862)
15454Files: src/eval.c, src/testdir/test_vim9_assign.vim
15455
15456Patch 8.2.2529
15457Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15458Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15459Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15460 src/testdir/test_vim9_script.vim
15461
15462Patch 8.2.2530
15463Problem: Vim9: not enough testing for profiling.
15464Solution: Add a test with nested functions and a lambda. Fix profiling
15465 for calling a compiled function.
15466Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15467 src/vim9execute.c, src/testdir/test_profile.vim
15468
15469Patch 8.2.2531
15470Problem: Vim9: the :k command is obscure.
15471Solution: Disallow using :k, can use :mark instead. (closes #7874)
15472Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15473 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15474
15475Patch 8.2.2532
15476Problem: Vim9: confusing error if :k is used with a range.
15477Solution: Give an error about the range. (issue #7874)
15478Files: src/vim9script.c, src/vim9compile.c,
15479 src/testdir/test_vim9_script.vim
15480
15481Patch 8.2.2533
15482Problem: Vim9: cannot use a range with :unlet.
15483Solution: Implement ISN_UNLETRANGE.
15484Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15485 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015486 src/vim9compile.c, src/vim9execute.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015487 src/testdir/test_vim9_assign.vim
15488
15489Patch 8.2.2534
15490Problem: Missing test coverage.
15491Solution: Improve test coverage for completion with different encodings,
15492 mapset(), and term function failures. (Dominique Pellé,
15493 closes #7877)
15494Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15495 src/testdir/test_terminal3.vim
15496
15497Patch 8.2.2535
15498Problem: MS-Windows: cannot run all vim9 tests.
15499Solution: Make test_vim9 target work.
15500Files: src/Make_mvc.mak
15501
15502Patch 8.2.2536
15503Problem: Coverity complains about unchecked return value.
15504Solution: Add (void).
15505Files: src/userfunc.c
15506
15507Patch 8.2.2537
15508Problem: Vim9: crash when map() fails.
15509Solution: Clear typval before using it. (closes #7884)
15510Files: src/list.c, src/testdir/test_vim9_builtin.vim
15511
15512Patch 8.2.2538
15513Problem: Crash when using Python list iterator.
15514Solution: Increment the list reference count. (closes #7886)
15515Files: src/if_py_both.h, src/testdir/test_python3.vim
15516
15517Patch 8.2.2539
15518Problem: Vim9: return from finally block causes a hang.
15519Solution: Store both the finally and endtry indexes. (closes #7885)
15520Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15521 src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015522
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015523Patch 8.2.2540
15524Problem: Vim9: no error for using script var name for argument.
15525Solution: Check for this error. (closes #7868)
15526Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15527 src/testdir/test_vim9_func.vim
15528
15529Patch 8.2.2541
15530Problem: Popup_create() does not allow boolean for "cursorline".
15531Solution: Use dict_get_bool(). (issue #7869)
15532Files: src/popupwin.c, src/testdir/test_popupwin.vim
15533
15534Patch 8.2.2542
15535Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15536Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15537 is part of the match. (closes #7883)
15538Files: src/match.c, src/testdir/test_search.vim,
15539 src/testdir/dumps/Test_hlsearch_1.dump,
15540 src/testdir/dumps/Test_hlsearch_2.dump
15541
15542Patch 8.2.2543
15543Problem: Vim9: a return inside try/catch does not restore exception state
15544 properly.
15545Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15546Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15547
15548Patch 8.2.2544
15549Problem: Vim9: error for argument when checking for lambda.
15550Solution: Respect the skip flag. (closes #7887)
15551Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15552
15553Patch 8.2.2545
15554Problem: Errors and crash when terminal window is zero height. (Leonid V.
15555 Fedorenchik)
15556Solution: Do not resize when width or height is zero. (closes #7890)
15557Files: src/terminal.c, src/testdir/test_terminal.vim
15558
15559Patch 8.2.2546
15560Problem: Typo in mouse key name.
15561Solution: Fix the typo. (issue #4725)
15562Files: src/misc2.c
15563
15564Patch 8.2.2547
15565Problem: "%" command not accurate for big files.
15566Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15567 closes #7889)
15568Files: src/normal.c
15569
15570Patch 8.2.2548
15571Problem: May get stuck in the cmdline window using :normal.
15572Solution: Have nv_esc() return K_IGNORE.
15573Files: src/normal.c
15574
15575Patch 8.2.2549
15576Problem: Crash after using "g:" in a for loop.
15577Solution: Increment the reference count. (closes #7892)
15578Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15579
15580Patch 8.2.2550
15581Problem: Signal stack size is wrong with latest glibc 2.34.
15582Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15583 #7895)
15584Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15585 src/auto/configure
15586
15587Patch 8.2.2551
15588Problem: MS-Windows: colors test file is not installed.
15589Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15590Files: nsis/gvim.nsi
15591
15592Patch 8.2.2552
15593Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15594Solution: Just use "{". (issue #7904)
15595Files: src/ex_cmds.h
15596
15597Patch 8.2.2553
15598Problem: Vim9: Cannot put "|" after "{".
15599Solution: Add the EX_TRLBAR flag. (issue #7904)
15600Files: src/ex_cmds.h, src/ex_eval.c
15601
15602Patch 8.2.2554
15603Problem: Vim9: exporting a final is not tested.
15604Solution: Add a test.
15605Files: src/testdir/test_vim9_script.vim
15606
15607Patch 8.2.2555
15608Problem: Vim9: missing test for 8.2.2553.
15609Solution: Add a simple test.
15610Files: src/testdir/test_vim9_script.vim
15611
15612Patch 8.2.2556
15613Problem: Vim9: :import with "as" not fully supported.
15614Solution: Implement "as" for more cases.
15615Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15616
15617Patch 8.2.2557
15618Problem: Compiler warning for shadowed variable.
15619Solution: Declare "p" only once.
15620Files: src/vim9script.c
15621
15622Patch 8.2.2558
15623Problem: No error if a lambda argument shadows a variable.
15624Solution: Check that the argument name shadows a local, argument or script
15625 variable. (closes #7898)
15626Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15627 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15628 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15629
15630Patch 8.2.2559
15631Problem: MS-Windows: guifont test fails on Windows XP.
15632Solution: Check windowsversion().
15633Files: src/testdir/test_gui.vim
15634
15635Patch 8.2.2560
15636Problem: Setting 'winminheigt' does not take tabline into account.
15637Solution: Subtract the tabline from the available height. (closes #7899)
15638Files: src/window.c, src/testdir/test_options.vim
15639
15640Patch 8.2.2561
15641Problem: Not all textprop code is covered by tests.
15642Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15643Files: src/testdir/test_textprop.vim
15644
15645Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015646Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015647 Karkat)
15648Solution: Do not change the star register when 'clipboard' contains
15649 "unnamedplus" and not "unnamed". (closes #1516)
15650Files: src/register.c
15651
15652Patch 8.2.2563
15653Problem: Cannot use multibyte characters for folding in 'fillchars'.
15654Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15655 closes #7924)
15656Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15657 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15658 src/testdir/test_profile.vim
15659
15660Patch 8.2.2564
15661Problem: Focus events end Insert mode if 'esckeys' is not set.
15662Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15663Files: src/term.c
15664
15665Patch 8.2.2565
15666Problem: Vim9: "..=" not always recognized.
15667Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15668Files: src/eval.c, src/testdir/test_vim9_assign.vim
15669
15670Patch 8.2.2566
15671Problem: Vim9: Function name is not recognized.
15672Solution: Change lookup_scriptvar() to also find function names.
15673 (closes #7770)
15674Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15675 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15676
15677Patch 8.2.2567
15678Problem: Vim9: no error if variable is defined for existing function.
15679Solution: Check if name isn't already in use. (closes #7897)
15680Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15681
15682Patch 8.2.2568
15683Problem: Second time a preview popup is opened highlight is not set.
15684 (Gabriel Dupras)
15685Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15686Files: src/tag.c, src/testdir/test_popupwin.vim,
15687 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15688 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15689 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15690 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15691
15692Patch 8.2.2569
15693Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15694Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15695 Lakshmanan, closes #7927)
15696Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15697 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15698
15699Patch 8.2.2570
15700Problem: Tests fail when run as root.
15701Solution: Add a comment mentioning the expected failure. (issue #7919)
15702Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15703 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15704
15705Patch 8.2.2571
15706Problem: Test may leave file behind.
15707Solution: Delete the temporary file. Don't profile in the running Vim
15708 instance.
15709Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
15710
15711Patch 8.2.2572
15712Problem: Vim9: crash when getting the types for a legacy function.
15713Solution: Initialize the type list growarray. (closes #7929)
15714Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15715
15716Patch 8.2.2573
15717Problem: Vim9: using invalid pointer for error message.
15718Solution: Use the right pointer. (closes #7921)
15719Files: src/eval.c, src/testdir/test_vim9_expr.vim
15720
15721Patch 8.2.2574
15722Problem: Vim9: crash when calling partial with wrong function.
15723Solution: Check argument types of called function. (closes #7912)
15724Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
15725
15726Patch 8.2.2575
15727Problem: Vim9: a function name with "->" in the next line doesn't work.
15728Solution: Recognize a function name by itself. (closes #7770)
15729Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
15730
15731Patch 8.2.2576
15732Problem: Vim9: defining a :func function checks for white space after a
15733 comma in the arguments.
15734Solution: Only check for white space in a :def function. (closes #7930)
15735Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15736
15737Patch 8.2.2577
15738Problem: Compiler warning for type conversion.
15739Solution: Add a typecast. (Mike Williams)
15740Files: src/drawline.c
15741
15742Patch 8.2.2578
15743Problem: Lua cannot handle a passed in lambda.
15744Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
15745Files: src/if_lua.c, src/testdir/test_lua.vim
15746
15747Patch 8.2.2579
15748Problem: Vim9: crash in garbagecollect after for loop.
15749Solution: Do not set a reference in script item when the name was cleared.
15750 (closes #7935)
15751Files: src/evalvars.c
15752
15753Patch 8.2.2580
15754Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
15755Solution: Use the member type. (closes #7933)
15756Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15757
15758Patch 8.2.2581
15759Problem: Vim9: sourcing Vim9 script triggers a redraw.
15760Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
15761 (closes #7920)
15762Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
15763 src/vim9script.c, src/testdir/test_vim9_script.vim,
15764 src/testdir/dumps/Test_vim9_no_redraw.dump
15765
15766Patch 8.2.2582 (after 8.2.2581)
15767Problem: Vim9: screendump test fails on MS-Windows.
15768Solution: Use :function instead of :def.
15769Files: src/testdir/test_vim9_script.vim
15770
15771Patch 8.2.2583
15772Problem: Vim9: cannot compare result of getenv() with null.
15773Solution: Make the return type of getenv() "any". (closes #7943)
15774Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15775
15776Patch 8.2.2584
15777Problem: Vim9: type error for assigning the result of list concatenation to
15778 a list.
15779Solution: Do not consider concatenation result in a constant. (closes #7942)
15780Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15781
15782Patch 8.2.2585
15783Problem: Vim9: illegal memory access.
15784Solution: Check byte right after "null", not one more.
15785Files: src/vim9compile.c
15786
15787Patch 8.2.2586
15788Problem: Process id may be invalid.
15789Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
15790 van der Sanden, closes #7947)
15791Files: src/configure.ac, src/auto/configure, src/config.h.in,
15792 src/memline.c, src/testing.c, src/globals.h,
15793 src/testdir/test_recover.vim
15794
15795Patch 8.2.2587 (after 8.2.2586)
15796Problem: Recover test fails on FreeBSD.
15797Solution: Check for Linux.
15798Files: src/testdir/check.vim, src/testdir/test_recover.vim
15799
15800Patch 8.2.2588 (after 8.2.2586)
15801Problem: Build failure with tiny features.
15802Solution: Add #ifdef. Run recover test separately.
15803Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
15804
15805Patch 8.2.2589 (after 8.2.2586)
15806Problem: Recover test hangs in the GUI.
15807Solution: Add g:skipped_reason to skip a _nocatch_ test.
15808Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
15809
15810Patch 8.2.2590
15811Problem: Vim9: default argument value may cause internal error.
15812Solution: Hide later function arguments when compiling the expression.
15813 (closes #7948)
15814Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15815
15816Patch 8.2.2591
15817Problem: Poke files are not recognized.
15818Solution: Add a filetype entry. (Matt Ihlenfield)
15819Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15820
15821Patch 8.2.2592
15822Problem: Code coverage could be improved.
15823Solution: Add a few more tests. (Dominique Pellé, closes #7957)
15824Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
15825 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
15826 src/testdir/test_viminfo.vim
15827
15828Patch 8.2.2593
15829Problem: List of distributed files is incomplete.
15830Solution: Add a file and rename another.
15831Files: Filelist
15832
15833Patch 8.2.2594
15834Problem: Alternate buffer added to session file even when it's hidden.
15835Solution: Check the 'buflisted' option. (closes #7951)
15836Files: src/session.c, src/testdir/test_mksession.vim
15837
15838Patch 8.2.2595
15839Problem: Setting 'winminheight' may cause 'lines' to change.
15840Solution: Also take minimal height of other tabpages into account. (#7899)
15841Files: src/window.c, src/testdir/test_options.vim
15842
15843Patch 8.2.2596
15844Problem: :doautocmd may confuse scripts listening to WinEnter.
15845Solution: Do the current buffer last. (closes #7958)
15846Files: src/autocmd.c, src/testdir/test_autocmd.vim
15847
15848Patch 8.2.2597
15849Problem: Vim9: "import * as" does not work at script level.
15850Solution: Implement using an imported namespace.
15851Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
15852 src/vim9execute.c, src/errors.h, src/vim9script.c,
15853 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
15854
15855Patch 8.2.2598
15856Problem: Vim9: :open does not need to be supported.
15857Solution: Do not support :open in Vim9 script.
15858Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
15859
15860Patch 8.2.2599 (after 8.2.2597)
15861Problem: Build failure.
15862Solution: Add missing change.
15863Files: src/vim9compile.c
15864
15865Patch 8.2.2600
15866Problem: Vim9: crash when putting an unknown type in a dictionary.
15867 (Yegappan Lakshmanan)
15868Solution: Handle a NULL type pointer.
15869Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
15870
15871Patch 8.2.2601
15872Problem: Memory usage test often fails on FreeBSD.
15873Solution: Increase multiplier for upper limit.
15874Files: src/testdir/test_memory_usage.vim
15875
15876Patch 8.2.2602
15877Problem: Vim9: continue doesn't work if :while is very first command.
15878 (Yegappan Lakshmanan)
15879Solution: Add one to the continue instruction index.
15880Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15881
15882Patch 8.2.2603
15883Problem: Vim9: no effect if user command is also a function.
15884Solution: Check for paren following. (closes #7960)
15885Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
15886 src/proto/ex_docmd.pro, src/vim9compile.c,
15887 src/testdir/test_vim9_cmd.vim
15888
15889Patch 8.2.2604
15890Problem: GUI-specific command line arguments not tested.
15891Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
15892Files: src/testdir/test_startup.vim
15893
15894Patch 8.2.2605
15895Problem: Vim9: string index and slice does not include composing chars.
15896Solution: Include composing characters. (issue #6563)
15897Files: runtime/doc/vim9.txt, src/vim9execute.c,
15898 src/testdir/test_vim9_expr.vim
15899
15900Patch 8.2.2606
15901Problem: strchars() defaults to counting composing characters.
15902Solution: Add strcharlen() which ignores composing characters.
15903Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15904 src/testdir/test_utf8.vim
15905
15906Patch 8.2.2607
15907Problem: strcharpart() cannot include composing characters.
15908Solution: Add the {skipcc} argument.
15909Files: runtime/doc/eval.txt, src/evalfunc.c,
15910 src/testdir/test_expr_utf8.vim
15911
15912Patch 8.2.2608
15913Problem: Character input not fully tested.
15914Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
15915Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
15916 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
15917 src/testdir/test_undo.vim
15918
15919Patch 8.2.2609
15920Problem: Test disabled on MS-Windows even though it should work.
15921Solution: Restore the condition for skipping the test. (Ken Takata,
15922 closes #7970)
15923Files: src/testdir/test_startup.vim
15924
15925Patch 8.2.2610
15926Problem: Mouse click test fails when using remote connection.
15927Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
15928Files: src/testdir/test_selectmode.vim
15929
15930Patch 8.2.2611
15931Problem: Conditions for startup tests are not exactly right.
15932Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
15933 closes #7976)
15934Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
15935
15936Patch 8.2.2612
15937Problem: col('.') may get outdated column value.
15938Solution: Add a note to the help how to make this work and add a test for
15939 it. (closes #7971)
15940Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
15941
15942Patch 8.2.2613 (after 8.2.2612)
15943Problem: New test throws exception.
15944Solution: Adjust the function cleanup.
15945Files: src/testdir/test_mapping.vim
15946
15947Patch 8.2.2614
15948Problem: Vim9: function is deleted while executing.
15949Solution: increment the call count, when more than zero do not delete the
15950 function but mark it as dead. (closes #7977)
15951Files: src/vim9execute.c, src/userfunc.c,
15952 src/testdir/test_vim9_script.vim
15953
15954Patch 8.2.2615 (after 8.2.2614)
15955Problem: Test is sourcing the wrong file.
15956Solution: Correct the file name.
15957Files: src/testdir/test_vim9_script.vim
15958
15959Patch 8.2.2616
15960Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
15961Solution: Apply the changes to 'cpo' to the restored value.
15962Files: runtime/doc/vim9.txt, src/scriptfile.c,
15963 src/testdir/test_vim9_script.vim
15964
15965Patch 8.2.2617
15966Problem: Vim9: script variable in a block scope not found by a nested
15967 function.
15968Solution: Copy the block scope IDs before compiling the function.
15969Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
15970 src/testdir/test_vim9_disassemble.vim
15971
15972Patch 8.2.2618
15973Problem: Vim9: cannot use a normal list name to store function refs.
15974Solution: Allow a lower case name if it is indexed.
15975Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
15976
15977Patch 8.2.2619
15978Problem: Vim9: no test for return type of lambda.
15979Solution: Add a test.
15980Files: src/testdir/test_vim9_func.vim
15981
15982Patch 8.2.2620
15983Problem: Vim9: Using #{ for a dictionary gives strange errors.
15984Solution: Give an error when using #{ for a comment after a command.
15985Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
15986 src/errors.h, src/testdir/test_vim9_expr.vim,
15987 src/testdir/test_vim9_script.vim
15988
15989Patch 8.2.2621
15990Problem: typval2type() cannot handle recursive structures.
15991Solution: Use copyID. (closes #7979)
15992Files: src/list.c, src/vim9script.c, src/vim9type.c,
15993 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
15994
15995Patch 8.2.2622
15996Problem: GTK: error when starting up and -geometry is given. (Dominique
15997 Pellé)
15998Solution: Use another function to get the monitor if the window has not been
15999 created yet. (closes #7978)
16000Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16001 src/gui_xim.c
16002
16003Patch 8.2.2623
16004Problem: Some tests fail when run as root.
16005Solution: Use CheckNotRoot.
16006Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16007 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16008
16009Patch 8.2.2624
16010Problem: Atom files not recognized.
16011Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16012Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16013
16014Patch 8.2.2625
16015Problem: Rss files not recognized.
16016Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16017Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16018
16019Patch 8.2.2626
16020Problem: GTK3: error when starting up and -geometry is given. (Dominique
16021 Pellé)
16022Solution: Use another function to get the monitor if the window has not been
16023 created yet. (closes #7978)
16024Files: src/gui_gtk_x11.c
16025
16026Patch 8.2.2627
16027Problem: No need to check for BSD after checking for not root.
16028Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16029Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16030 src/testdir/check.vim
16031
16032Patch 8.2.2628
16033Problem: Vim9: #{ can still be used at the script level.
16034Solution: Give an error for #{ like in a :def function.
16035Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16036
16037Patch 8.2.2629
16038Problem: Vim9: error for #{{ is not desired.
16039Solution: Adjust the checks. (closes #7990)
16040Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16041 src/testdir/test_vim9_expr.vim
16042
16043Patch 8.2.2630
16044Problem: Hard to see where a test gets stuck.
16045Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16046Files: src/testdir/Makefile
16047
16048Patch 8.2.2631
16049Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16050 Fedorenchik)
16051Solution: Repeat the size commands twice. (closes #7988)
16052Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16053
16054Patch 8.2.2632
16055Problem: Not all command line arguments are tested.
16056Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16057Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16058
16059Patch 8.2.2633
16060Problem: Multi-byte 'fillchars' for folding do not show properly.
16061Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16062 closes #7983, closes #7955)
16063Files: src/screen.c, src/testdir/test_fold.vim
16064
16065Patch 8.2.2634
16066Problem: 'tagfunc' does not indicate using a pattern.
16067Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16068Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16069
16070Patch 8.2.2635
16071Problem: Vim9: cannot define an inline function.
16072Solution: Make an inline function mostly work.
16073Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16074 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16075
16076Patch 8.2.2636 (after 8.2.2635)
16077Problem: Memory leak when compiling inline function.
16078Solution: Free the prefetched line.
16079Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16080 src/eval.c
16081
16082Patch 8.2.2637
16083Problem: prop_remove() causes a redraw even when nothing changed.
16084Solution: Only redraw if a property was removed. (Dominique Pellé)
16085Files: src/textprop.c
16086
16087Patch 8.2.2638
16088Problem: Cannot write a message to the terminal from the GUI.
16089Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16090Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16091 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16092 src/term.c, src/testdir/runtest.vim
16093
16094Patch 8.2.2639 (after 8.2.2638)
16095Problem: Build failure when fsync() is not available.
16096Solution: Add #ifdef.
16097Files: src/ui.c
16098
16099Patch 8.2.2640
16100Problem: screenstring() returns non-existing composing characters.
16101Solution: Only use composing characters if there is a base character.
16102Files: src/evalfunc.c, src/testdir/test_listchars.vim
16103
16104Patch 8.2.2641
16105Problem: Display test fails because of lacking redraw.
16106Solution: Add a redraw command.
16107Files: src/testdir/test_display.vim
16108
16109Patch 8.2.2642
16110Problem: Vim9: no clear error for wrong inline function.
16111Solution: Check for something following the "{".
16112Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16113
16114Patch 8.2.2643
16115Problem: Various code not covered by tests.
16116Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16117Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16118 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16119 src/testdir/test_undo.vim
16120
16121Patch 8.2.2644
16122Problem: prop_clear() causes a screen update even when nothing changed.
16123Solution: Only redraw when a property was cleared. (Dominique Pellé)
16124Files: src/textprop.c
16125
16126Patch 8.2.2645
16127Problem: Using inline function is not properly tested.
16128Solution: Add test cases, esp. for errors. Minor code improvements.
16129Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16130 src/testdir/test_vim9_func.vim
16131
16132Patch 8.2.2646
16133Problem: Vim9: error for not using string doesn't mention argument.
16134Solution: Add argument number.
16135Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16136 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16137
16138Patch 8.2.2647
16139Problem: Terminal test sometimes hangs.
16140Solution: Wait for the shell to display a prompt.
16141Files: src/testdir/test_terminal.vim
16142
16143Patch 8.2.2648
16144Problem: Terminal resize test sometimes hangs.
16145Solution: Wait for the shell to display a prompt and other output.
16146Files: src/testdir/test_terminal2.vim
16147
16148Patch 8.2.2649
16149Problem: Vim9: some wincmd arguments cause a white space error.
16150Solution: Insert a space before the count. (closes #8001)
16151Files: src/window.c, src/testdir/test_vim9_cmd.vim
16152
16153Patch 8.2.2650
16154Problem: Vim9: command modifiers not handled in nested function.
16155Solution: Keep function-local info in a structure and save it on the stack.
16156Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16157
16158Patch 8.2.2651
16159Problem: Vim9: restoring command modifiers happens after jump.
16160Solution: Move the restore instruction to before the jump. (closes #8006)
16161 Also handle for and while.
16162Files: src/vim9compile.c, src/vim9execute.c,
16163 src/testdir/test_vim9_disassemble.vim
16164
16165Patch 8.2.2652
16166Problem: Vim9: can use command modifier without an effect.
16167Solution: Give an error for a misplaced command modifier. Fix error message
16168 number.
16169Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16170 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16171 src/testdir/test_vim9_builtin.vim,
16172 src/testdir/test_vim9_disassemble.vim
16173
16174Patch 8.2.2653
16175Problem: Build failure.
16176Solution: Add missing changes.
16177Files: src/errors.h
16178
16179Patch 8.2.2654
16180Problem: Vim9: getting a character from a string can be slow.
16181Solution: Avoid a function call to get the character byte size. (#8000)
16182Files: src/vim9execute.vim
16183
16184Patch 8.2.2655
16185Problem: The -w command line argument doesn't work.
16186Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16187Files: src/term.c, src/testdir/test_startup.vim
16188
16189Patch 8.2.2656
16190Problem: Some command line arguments and regexp errors not tested.
16191Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16192Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16193
16194Patch 8.2.2657
16195Problem: Vim9: error message for declaring variable in for loop.
16196Solution: Clear variables when entering block again. (closes #8012)
16197Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16198
16199Patch 8.2.2658
16200Problem: :for cannot loop over a string.
16201Solution: Accept a string argument and iterate over its characters.
16202Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16203 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16204 src/testdir/test_vim9_disassemble.vim,
16205 src/testdir/test_vim9_script.vim
16206
16207Patch 8.2.2659 (after 8.2.2658)
16208Problem: Eval test fails because for loop on string works.
16209Solution: Check looping over function reference fails.
16210Files: src/testdir/test_eval_stuff.vim
16211
16212Patch 8.2.2660
16213Problem: Vim9: no error for declaration with trailing text.
16214Solution: Give an error. (closes #8014)
16215Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16216
16217Patch 8.2.2661
16218Problem: Leaking memory when looping over a string.
16219Solution: Free the memory.
16220Files: src/eval.c
16221
16222Patch 8.2.2662
16223Problem: There is no way to avoid some escape sequences.
16224Solution: Suppress escape sequences when the --not-a-term argument is used.
16225 (Gary Johnson)
16226Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16227
16228Patch 8.2.2663
16229Problem: Vim9: leaking memory when inline function has an error.
16230Solution: Free the partially allocated function.
16231Files: src/userfunc.c
16232
16233Patch 8.2.2664
16234Problem: Vim9: not enough function arguments checked for string.
16235Solution: Check in balloon functions. Refactor function arguments.
16236Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16237 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16238
16239Patch 8.2.2665 (after 8.2.2664)
16240Problem: Test failures.
16241Solution: Check more specific feature. Add missing change.
16242Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16243
16244Patch 8.2.2666
16245Problem: Vim9: not enough function arguments checked for string.
16246Solution: Check in ch_logfile(), char2nr() and others.
16247Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16248 src/testdir/test_vim9_builtin.vim
16249
16250Patch 8.2.2667
16251Problem: prop_find() cannot find item matching both id and type.
16252Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16253Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16254 src/textprop.c
16255
16256Patch 8.2.2668
16257Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16258Solution: Do not recognize a modifier followed by "(".
16259Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16260
16261Patch 8.2.2669
16262Problem: Command line completion does not work after "vim9".
16263Solution: Include the "9". (Naohiro Ono, closes #8025)
16264Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16265
16266Patch 8.2.2670
16267Problem: Vim9: error for append(0, text).
16268Solution: Check for negative number. (closes #8022)
16269Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16270
16271Patch 8.2.2671 (after 8.2.2670)
16272Problem: Error for line number in legacy script.
16273Solution: Check for number type.
16274Files: src/typval.c
16275
16276Patch 8.2.2672
16277Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16278Solution: Implement locking support.
16279Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16280
16281Patch 8.2.2673
16282Problem: Vim9: script-local funcref can have lower case name.
16283Solution: Require an upper case name.
16284Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16285
16286Patch 8.2.2674
16287Problem: Motif: cancelling the font dialog resets the font.
16288Solution: When no font is selected to not change the font. (closes #7825,
16289 closes #8035) Fix compiler warnings.
16290Files: src/gui_x11.c, src/gui_motif.c
16291
16292Patch 8.2.2675
16293Problem: Directory change in a terminal window shell is not followed.
16294Solution: Add the 'autoshelldir' option. (closes #6290)
16295Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16296 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16297 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16298 src/testdir/test_terminal3.vim
16299
16300Patch 8.2.2676
16301Problem: Missing error message.
16302Solution: Add new error message.
16303Files: src/errors.h
16304
16305Patch 8.2.2677
16306Problem: Vim9: cannot use only some of the default arguments.
16307Solution: Use v:none to use default argument value. Remove
16308 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16309Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16310 src/userfunc.c, src/structs.h, src/vim9.h,
16311 src/testdir/test_vim9_disassemble.vim,
16312 src/testdir/test_vim9_func.vim
16313
16314Patch 8.2.2678
16315Problem: Test for 'autoshelldir' does not reset the option.
16316Solution: Reset the option after testing.
16317Files: src/testdir/test_terminal3.vim
16318
16319Patch 8.2.2679
16320Problem: Winbar drawn over status line for non-current window with winbar
16321 if frame is zero height. (Leonid V. Fedorenchik)
16322Solution: Do not draw the window if the frame height is zero. (closes #8037)
16323Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16324 src/testdir/dumps/Test_winbar_not_visible.dump
16325
16326Patch 8.2.2680
16327Problem: Vim9: problem defining a script variable from legacy function.
16328Solution: Check if the script is Vim9, not the current syntax.
16329 (closes #8032)
16330Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16331 src/testdir/test_vim9_script.vim
16332
16333Patch 8.2.2681
16334Problem: Vim9: test fails for redeclaring script variable.
16335Solution: It's OK to assign to an existing script variable in legacy.
16336Files: src/evalvars.c
16337
16338Patch 8.2.2682
16339Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16340 Goussas)
16341Solution: When no variable found try finding a function. (closes #8045)
16342 Check that the function was exported.
16343Files: src/vim9compile.c, src/vim9script.c,
16344 src/testdir/test_vim9_script.vim
16345
16346Patch 8.2.2683
16347Problem: Build failure without the +eval feature.
16348Solution: Add #ifdef.
16349Files: src/vim9script.c
16350
16351Patch 8.2.2684
16352Problem: Not enough folding code is tested.
16353Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16354Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16355 src/testdir/test_source.vim
16356
16357Patch 8.2.2685 (after 8.2.2152)
16358Problem: Custom statusline not drawn correctly with WinBar.
16359Solution: Also adjust the column for the custom status line. (Yee Cheng
16360 Chin, closes #8047)
16361Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16362 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16363 src/testdir/test_winbar.vim
16364
16365Patch 8.2.2686
16366Problem: Status line is not updated when going to cmdline mode.
16367Solution: Redraw status lines if 'statusline' is set and going to status
16368 line mode. (based on patch from Justin M. Keyes et al.,
16369 closes #8044)
16370Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16371 src/testdir/dumps/Test_statusline_mode_1.dump,
16372 src/testdir/dumps/Test_statusline_mode_2.dump
16373
16374Patch 8.2.2687
16375Problem: Vim9: cannot use "const" for global variable in :def function.
16376Solution: Do allow using :const for a global variable. (closes #8030)
16377Files: src/vim9compile.c, src/vim9execute.c,
16378 src/testdir/test_vim9_assign.vim
16379
16380Patch 8.2.2688
16381Problem: Vim9: crash when using s: for script variable.
16382Solution: Pass the end pointer. (closes #8045)
16383Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16384
16385Patch 8.2.2689
16386Problem: Tiny build fails.
16387Solution: Add #ifdef around use of p_stl.
16388Files: src/ex_getln.c
16389
16390Patch 8.2.2690
16391Problem: PowerShell files are not recognized.
16392Solution: Recognize several PowerShell extension. (Heath Stewart,
16393 closes #8051)
16394Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16395
16396Patch 8.2.2691
16397Problem: Autoconf may mess up compiler flags.
16398Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16399 closes #8049)
16400Files: src/configure.ac, src/auto/configure
16401
16402Patch 8.2.2692
16403Problem: Vim9: locked script variable can be changed.
16404Solution: Check for locked value. (closes #8031)
16405Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16406
16407Patch 8.2.2693
16408Problem: Vim9: locked script variable can be changed.
16409Solution: Check legacy script variable for being locked. (issue #8031)
16410Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16411
16412Patch 8.2.2694
16413Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16414Solution: Bail out when no character in 'matchpairs' was found.
16415 (closes #8053) Add assert_nobeep().
16416Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16417 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16418 src/testdir/test_textformat.vim
16419
16420Patch 8.2.2695
16421Problem: Cursor position reset with nested autocommands.
16422Solution: Only check and reset line numbers for not nested autocommands.
16423 (closes #5820)
16424Files: src/autocmd.c, src/testdir/test_terminal.vim
16425
16426Patch 8.2.2696
16427Problem: Lua test fails with Lua 5.4.3 and later.
16428Solution: Check for different error messages. (Yegappan Lakshmanan,
16429 closes #8050)
16430Files: src/testdir/test_lua.vim
16431
16432Patch 8.2.2697
16433Problem: Function list test fails.
16434Solution: Add missing function. (Yegappan Lakshmanan)
16435Files: runtime/doc/usr_41.txt
16436
16437Patch 8.2.2698 (after 8.2.2696)
16438Problem: Lua test fails on MS-Windows.
16439Solution: Fall back to old method if "lua -v" doesn't work.
16440Files: src/testdir/test_lua.vim
16441
16442Patch 8.2.2699
16443Problem: Lua test fails.
16444Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16445Files: src/testdir/test_lua.vim
16446
16447Patch 8.2.2700
16448Problem: Nested autocmd test fails sometimes.
16449Solution: Wait for the job to finish.
16450Files: src/testdir/test_terminal.vim
16451
16452Patch 8.2.2701
16453Problem: Order of removing FORTIFY_SOURCE is wrong.
16454Solution: Use the more specific pattern first.
16455Files: src/configure.ac, src/auto/configure
16456
16457Patch 8.2.2702
16458Problem: Compiler completion test fails when more scripts are added.
16459Solution: Add a more generic pattern.
16460Files: src/testdir/test_compiler.vim
16461
16462Patch 8.2.2703
16463Problem: Vim9: memory leak when failing on locked variable.
16464Solution: Free the memory.
16465Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16466
16467Patch 8.2.2704
16468Problem: Adding a lot of completions can be a bit slow.
16469Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16470 list of completions. (Ben Jackson, closes #8061)
16471Files: src/insexpand.c
16472
16473Patch 8.2.2705
16474Problem: Vim9: misleading reported line number for wrong type.
16475Solution: Remember and use the line number at the start. (closes #8059)
16476Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16477
16478Patch 8.2.2706
16479Problem: Vim9: wrong line number reported for boolean operator.
16480Solution: Use the line number before skipping over line break.
16481 (closes #8058)
16482Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16483
16484Patch 8.2.2707 (after 8.2.2704)
16485Problem: Adding a lot of completions can still be a bit slow.
16486Solution: Add the check for CP_FAST. (Ben Jackson)
16487Files: src/insexpand.c
16488
16489Patch 8.2.2708
16490Problem: Test sometimes fails waiting for shell in terminal.
16491Solution: Use WaitForAssert() so we can see the actual job status. Use
16492 Run_shell_in_terminal().
16493Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16494
16495Patch 8.2.2709
16496Problem: The GTK GUI has a gap next to the scrollbar.
16497Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16498Files: src/gui_gtk.c
16499
16500Patch 8.2.2710
16501Problem: Vim9: not all tests cover script and :def function.
16502Solution: Run tests in both if possible. Fix differences.
16503Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16504 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16505
16506Patch 8.2.2711
16507Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16508Solution: Add a check for being in a closed fold. (closes #8062)
16509Files: src/normal.c, src/testdir/test_fold.vim
16510
16511Patch 8.2.2712
16512Problem: Memory leak when adding to a blob fails.
16513Solution: Clear the second typval before returning.
16514Files: src/eval.c
16515
16516Patch 8.2.2713
16517Problem: Folding code not sufficiently tested.
16518Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16519Files: src/testdir/test_fold.vim
16520
16521Patch 8.2.2714
16522Problem: Filetype pattern ending in star is too far up.
16523Solution: Move down to where patterns ending in star belong. (closes #8065)
16524Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16525
16526Patch 8.2.2715
16527Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16528Solution: Check for the channel feature. (closes #8063)
16529Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16530
16531Patch 8.2.2716
16532Problem: The equivalent class regexp is missing some characters.
16533Solution: Update the list of equivalent characters. (Dominique Pellé,
16534 closes #8029)
16535Files: src/regexp_bt.c, src/regexp_nfa.c,
16536 src/testdir/test_regexp_utf8.vim
16537
16538Patch 8.2.2717
16539Problem: GTK menu items don't show a tooltip.
16540Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16541 closes #8067, closes #7810)
16542Files: src/gui_gtk.c
16543
16544Patch 8.2.2718
16545Problem: Vim9: no explicit test for using a global function without the g:
16546 prefix.
16547Solution: Add a test case.
16548Files: src/testdir/test_vim9_func.vim
16549
16550Patch 8.2.2719
16551Problem: Vim9: appending to dict item doesn't work in a :def function.
16552Solution: Implement assignment with operator on indexed item.
16553Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16554
16555Patch 8.2.2720
16556Problem: GTK menu tooltip moves the cursor.
16557Solution: Position the cursor after displaying the tooltip. Do not show the
16558 tooltip when editing the command line.
16559Files: src/gui_gtk.c
16560
16561Patch 8.2.2721
16562Problem: Vim9: cannot have a linebreak inside a lambda.
16563Solution: Compile the expression before the arguments.
16564Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16565
16566Patch 8.2.2722
16567Problem: Vim9: crash when using LHS with double index.
16568Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16569 Fix confusing error message for missing dict item.
16570Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16571
16572Patch 8.2.2723 (after 8.2.2722)
16573Problem: Assignment test fails.
16574Solution: Adjust error number.
16575Files: src/testdir/test_let.vim
16576
16577Patch 8.2.2724 (after 8.2.2722)
16578Problem: Vim9: concatenating to list in dict not tested.
16579Solution: Add a test. (issue #8068)
16580Files: src/testdir/test_vim9_assign.vim
16581
16582Patch 8.2.2725
16583Problem: Vim9: message about compiling is wrong when using try/catch.
16584Solution: Store the compiling flag with the message. (closes #8071)
16585Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16586 src/testdir/test_vim9_func.vim
16587
16588Patch 8.2.2726
16589Problem: Confusing error message with white space before comma in the
16590 arguments of a function declaration.
16591Solution: Give a specific error message. (closes #2235)
16592Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16593
16594Patch 8.2.2727 (after 8.2.2726)
16595Problem: Function test fails.
16596Solution: Adjust expected error number.
16597Files: src/testdir/test_user_func.vim
16598
16599Patch 8.2.2728
16600Problem: Special key names don't work if 'isident' is cleared.
16601Solution: Add vim_isNormalIDc() and use it for special key names.
16602 (closes #2389)
16603Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16604 src/testdir/test_mapping.vim
16605
16606Patch 8.2.2729
16607Problem: Vim9: wrong error message for referring to legacy script variable.
16608Solution: Do allow referring to a variable in legacy script without "s:" if
16609 it exists at compile time. (closes #8076)
16610Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16611
16612Patch 8.2.2730
16613Problem: Coverity complains about not restoring character.
16614Solution: Also restore the character in case of an error.
16615Files: src/vim9compile.c
16616
16617Patch 8.2.2731
16618Problem: Mac: SF symbols are not displayed properly.
16619Solution: Add custom range to list of double-width characters. (Yee Cheng
16620 Chin, closes #8077)
16621Files: src/mbyte.c
16622
16623Patch 8.2.2732
16624Problem: Prompt for s///c in Ex mode can be wrong.
16625Solution: Position the cursor before showing the prompt. (closes #8073)
16626Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16627
16628Patch 8.2.2733
16629Problem: Detecting Lua version is not reliable.
16630Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16631Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16632 src/testdir/test_lua.vim
16633
16634Patch 8.2.2734
16635Problem: Vim9: cannot use legacy script-local var from :def function.
16636Solution: Do not insist on using "s:" prefix. (closes #8076)
16637Files: src/vim9compile.c, src/proto/vim9compile.pro,
16638 src/testdir/test_vim9_expr.vim
16639
16640Patch 8.2.2735
16641Problem: Vim9: function reference found with prefix, not without.
16642Solution: Also find function reference without prefix.
16643Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16644
16645Patch 8.2.2736
16646Problem: Vim9: for loop over string is a bit slow.
16647Solution: Avoid using strlen().
16648Files: src/vim9execute.c
16649
16650Patch 8.2.2737
16651Problem: Status line not updated when local 'statusline' option set.
16652Solution: Check the 'statusline' option of each window.
16653Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16654 src/testdir/dumps/Test_statusline_mode_1.dump,
16655 src/testdir/dumps/Test_statusline_mode_2.dump
16656
16657Patch 8.2.2738
16658Problem: Extending a list with itself can give wrong result.
16659Solution: Remember the item before where the insertion happens and skip to
16660 after the already inserted items. (closes #1112)
16661Files: src/list.c, src/testdir/test_listdict.vim
16662
16663Patch 8.2.2739
16664Problem: Vim9: a lambda accepts too many arguments at the script level.
16665Solution: Do not set uf_varargs in Vim9 script.
16666Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16667 src/testdir/test_vim9_script.vim
16668
16669Patch 8.2.2740
16670Problem: Vim9: lambda with varargs doesn't work.
16671Solution: Make "...name" work. Require type to be a list.
16672Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16673 src/errors.h, src/testdir/test_vim9_func.vim,
16674 src/testdir/test_vim9_script.vim
16675
16676Patch 8.2.2741
16677Problem: Vim9: Partial call does not check right arguments.
16678Solution: Adjust the offset for whether the partial is before or after the
16679 arguments. (closes #8091)
16680Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16681
16682Patch 8.2.2742
16683Problem: Vim9: when compiling a function fails it is cleared.
16684Solution: Keep the function lines, prevent execution with a different
16685 status. (closes #8093)
16686Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16687 src/testdir/test_vim9_func.vim
16688
16689Patch 8.2.2743
16690Problem: Vim9: function state stuck when compiling with ":silent!".
16691Solution: Check for uf_def_status to be UF_COMPILING.
16692Files: src/vim9compile.c, src/message.c, src/globals.h,
16693 src/testdir/test_vim9_func.vim
16694
16695Patch 8.2.2744
16696Problem: Vim9: no way to explicitly ignore an argument.
16697Solution: Use the underscore as the name for an ignored argument.
16698Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16699 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16700
16701Patch 8.2.2745 (after 8.2.2744)
16702Problem: Vim9: missing part of the argument change.
16703Solution: Add missing changes.
16704Files: src/userfunc.c
16705
16706Patch 8.2.2746 (after 8.2.2745)
16707Problem: Check for duplicate arguments does not work.
16708Solution: Correct condition.
16709Files: src/userfunc.c
16710
16711Patch 8.2.2747
16712Problem: Vim9: not always an error for too many function arguments.
16713Solution: Check for getting too many arguments.
16714Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
16715 src/testdir/test_vim9_builtin.vim
16716
16717Patch 8.2.2748
16718Problem: Vim9: memory leak when calling :def function fails.
16719Solution: Jump to failed_early instead of returning.
16720Files: src/vim9execute.c
16721
16722Patch 8.2.2749
16723Problem: Vim9: test for error can be a bit flaky.
16724Solution: Increase the wait time a bit.
16725Files: src/testdir/test_vim9_script.vim
16726
16727Patch 8.2.2750
16728Problem: Vim9: error for using underscore in nested function.
16729Solution: Do not consider "_" already defined. (closes #8096)
16730Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16731
16732Patch 8.2.2751
16733Problem: Coverity warns for using NULL pointer.
16734Solution: Check for NULL in calling function.
16735Files: src/userfunc.c
16736
16737Patch 8.2.2752
16738problem: coverity reports unreachable code.
16739Solution: Remove check for positive index.
16740Files: src/typval.c
16741
16742Patch 8.2.2753
16743Problem: Vim9: cannot ignore an item in assignment unpack.
16744Solution: Allow using an underscore.
16745Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
16746 src/vim9compile.c, src/testdir/test_vim9_assign.vim
16747
16748Patch 8.2.2754
16749Problem: :sleep! does not always hide the cursor.
16750Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
16751 closes #7998)
16752Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
16753 src/term.c
16754
16755Patch 8.2.2755
16756Problem: Vim9: no error for using a number in a condition.
16757Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
16758 (closes #7644)
16759Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
16760 src/testdir/test_vim9_disassemble.vim
16761
16762Patch 8.2.2756
16763Problem: Vim9: blob index and slice not implemented yet.
16764Solution: Implement blob index and slice.
16765Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
16766 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
16767
16768Patch 8.2.2757
16769Problem: Vim9: blob tests for legacy and Vim9 script are separate.
16770Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
16771Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
16772 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
16773 src/testdir/vim9.vim, src/testdir/test_blob.vim
16774
16775Patch 8.2.2758
16776Problem: Vim9: wrong line number for autoload function with wrong name.
16777Solution: Set and restore SOURCING_LNUM. (closes #8100)
16778Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16779
16780Patch 8.2.2759
16781Problem: Vim9: for loop infers type of loop variable.
16782Solution: Do not get the member type. (closes #8102)
16783Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
16784 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
16785 src/testdir/test_vim9_script.vim
16786
16787Patch 8.2.2760
16788Problem: Vim9: no error for changing a for loop variable.
16789Solution: Make the loop variable read-only. (issue #8102)
16790Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
16791 src/testdir/test_vim9_script.vim
16792
16793Patch 8.2.2761
16794Problem: Using "syn include" does not work properly.
16795Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
16796 closes #8104)
16797Files: src/syntax.c, src/testdir/test_syntax.vim
16798
16799Patch 8.2.2762
16800Problem: Vim9: function line truncated when compiling.
16801Solution: Copy the line before processing it. (closes #8101)
16802Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
16803
16804Patch 8.2.2763
16805Problem: Vim9: cannot use type in for loop unpack at script level.
16806Solution: Advance over the type name.
16807Files: src/evalvars.c, src/testdir/test_vim9_script.vim
16808
16809Patch 8.2.2764
16810Problem: Memory leak when default function argument is allocated.
16811Solution: Free the expression result.
16812Files: src/userfunc.c, src/testdir/test_functions.vim
16813
16814Patch 8.2.2765
16815Problem: Vim9: not all blob operations work.
16816Solution: Run more tests also with Vim9 script and :def functions. Fix what
16817 doesn't work.
16818Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
16819 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
16820
16821Patch 8.2.2766 (after 8.2.2765)
16822Problem: Test failure.
16823Solution: Add change to Vim9 compilation error message.
16824Files: src/vim9compile.c
16825
16826Patch 8.2.2767 (after 8.2.2765)
16827Problem: Compiler warning for unused argument.
16828Solution: Remove the argument.
16829Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
16830
16831Patch 8.2.2768
16832Problem: Vim9: memory leak with blob range error.
16833Solution: Jump to end instead of returning.
16834Files: src/vim9compile.c
16835
16836Patch 8.2.2769
16837Problem: Modula-3 config files are not recognized.
16838Solution: Add filetype patterns. (Doug Kearns)
16839Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16840
16841Patch 8.2.2770
16842Problem: Vim9: type of loop variable is not used.
16843Solution: Parse and check the variable type. (closes #8107)
16844Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16845
16846Patch 8.2.2771
16847Problem: Vim9: assignment not recognized if declaration was skipped.
16848Solution: Also recognized an assignment if the variable does not exist.
16849 (closes #8108)
16850Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
16851
16852Patch 8.2.2772
16853Problem: Problems when restoring 'runtimepath' from a session file.
16854Solution: Add the "skiprtp" item in 'sessionoptions'.
16855Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
16856 src/option.h, src/vim.h, src/option.c,
16857 src/testdir/test_mksession.vim
16858
16859Patch 8.2.2773
16860Problem: PSL filetype not recognized.
16861Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
16862Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16863
16864Patch 8.2.2774
16865Problem: Vim9: cannot import an existing name even when using "as".
16866Solution: Do not check for an existing name when using "as". (closes #8113)
16867Files: src/vim9script.c, src/testdir/test_vim9_script.vim
16868
16869Patch 8.2.2775
16870Problem: Vim9: wrong line number used for some commands.
16871Solution: For :exe, :echo and the like use the line number of the start of
16872 the command. When calling a function set the line number in the
16873 script context.
16874Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
16875 src/testdir/test_vim9_script.vim
16876
16877Patch 8.2.2776
16878Problem: :mksession uses current value of 'splitbelow' and 'splitright'
16879 even though "options" is not in 'sessionoptions'. (Maxim Kim)
16880Solution: Save and restore the values, instead of setting to the current
16881 value. (closes #8119)
16882Files: src/session.c, src/testdir/test_mksession.vim
16883
16884Patch 8.2.2777
16885Problem: Vim9: blob operations not tested in all ways.
16886Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
16887 index work.
16888Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
16889 src/proto/blob.pro, src/testdir/test_blob.vim,
16890 src/testdir/test_vim9_disassemble.vim
16891
16892Patch 8.2.2778
16893Problem: Problem restoring 'packpath' in session.
16894Solution: Let "skiprtp" also apply to 'packpath'.
16895Files: runtime/doc/options.txt, src/option.c,
16896 src/testdir/test_mksession.vim
16897
16898Patch 8.2.2779
16899Problem: Memory access error in remove() for blob.
16900Solution: Adjust length for memmove().
16901Files: src/blob.c
16902
16903Patch 8.2.2780
16904Problem: Vim9: for loop over blob doesn't work.
16905Solution: Make it work.
16906Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
16907
16908Patch 8.2.2781
16909Problem: Add() silently skips when adding to null list or blob.
16910Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
16911 with list and dict.
16912Files: src/list.c, src/evalvars.c, src/vim9execute.c,
16913 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
16914
16915Patch 8.2.2782
16916Problem: Vim9: blob operations not fully tested.
16917Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
16918 insert() give an error for a null blob, like add().
16919Files: src/list.c, src/testdir/test_blob.vim,
16920 src/testdir/test_vim9_builtin.vim
16921
16922Patch 8.2.2783
16923Problem: Duplicate code for setting byte in blob, blob test may fail.
16924Solution: Call blob_set_append(). Test sort failure with "N".
16925Files: src/eval.c, src/testdir/test_blob.vim
16926
16927Patch 8.2.2784
16928Problem: Vim9: cannot use \=expr in :substitute.
16929Solution: Compile the expression into instructions and execute them when
16930 invoked.
16931Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
16932 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
16933 src/proto/ex_cmds.pro, src/globals.h,
16934 src/testdir/test_vim9_cmd.vim,
16935 src/testdir/test_vim9_disassemble.vim
16936
16937Patch 8.2.2785
16938Problem: Vim9: cannot redirect to local variable.
16939Solution: Compile :redir when redirecting to a variable.
16940Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
16941 src/evalvars.c, src/proto/evalvars.pro,
16942 src/testdir/test_vim9_cmd.vim,
16943 src/testdir/test_vim9_disassemble.vim
16944
16945Patch 8.2.2786
16946Problem: Vim9: memory leak when using :s with expression.
16947Solution: Clean up the instruction list.
16948Files: src/vim9compile.c
16949
16950Patch 8.2.2787
16951Problem: MS-Windows: crash when using :echoconsole.
16952Solution: Do not write a NUL when it's already there.
16953Files: src/os_win32.c
16954
16955Patch 8.2.2788
16956Problem: Raku is now the only name what once was called perl6.
16957Solution: Adjust the filetype detection. (closes #8120)
16958Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16959
16960Patch 8.2.2789
16961Problem: Vim9: using \=expr in :substitute does not handle jumps.
16962Solution: Start with instruction count zero. (closes #8128)
16963Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16964
16965Patch 8.2.2790 (after 8.2.2788)
16966Problem: filetype test fails
16967Solution: Also update the scripts detection
16968Files: runtime/scripts.vim
16969
16970Patch 8.2.2791
16971Problem: Vim9: memory leak when using \=expr in :substitute.
16972Solution: Do not allocate a new instruction list.
16973Files: src/vim9compile.c
16974
16975Patch 8.2.2792
16976Problem: Vim9: :disas shows instructions for default args but no text.
16977Solution: Show the expression test above the default argument instructions.
16978 (closes #8129)
16979Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
16980
16981Patch 8.2.2793
16982Problem: MS-Windows: string literals are writable with MSVC.
16983Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
16984 closes #8133)
16985Files: src/Make_mvc.mak, src/os_win32.c
16986
16987Patch 8.2.2794
16988Problem: Linux users don't know how to get ncurses.
16989Solution: Add the name of the package. (closes #8132)
16990Files: src/configure.ac, src/auto/configure
16991
16992Patch 8.2.2795
16993Problem: Coverity warns for not using return value.
16994Solution: Check the return value of compiling the substitute expression.
16995Files: src/vim9compile.c
16996
16997Patch 8.2.2796
16998Problem: Vim9: redir to variable does not accept an index.
16999Solution: Make the index work.
17000Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17001
17002Patch 8.2.2797
17003Problem: Search highlight disappears in the Visual area.
17004Solution: Combine the search attributes. (closes #8134)
17005Files: src/drawline.c, src/testdir/test_search.vim,
17006 src/testdir/dumps/Test_hlsearch_visual_1.dump
17007
17008Patch 8.2.2798
17009Problem: Vim9: redir to variable with append does not accept an index.
17010Solution: Make the appending work.
17011Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17012
17013Patch 8.2.2799
17014Problem: Vim9: type casts don't fully work at the script level.
17015Solution: Implement the missing piece.
17016Files: src/eval.c, src/testdir/test_vim9_expr.vim
17017
17018Patch 8.2.2800
17019Problem: After a timer displays text a hit-enter prompt is given.
17020Solution: Reset msg_didany and need_wait_return. (closes #8136)
17021Files: src/drawscreen.c, src/testdir/test_timers.vim
17022
17023Patch 8.2.2801
17024Problem: Free Pascal makefile not recognized.
17025Solution: Add the fpcmake filetype. (Doug Kearns)
17026Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17027
17028Patch 8.2.2802
17029Problem: Vim9: illegal memory access.
17030Solution: Check for comment before checking for white space. (closes #8142)
17031Files: src/eval.c, src/testdir/test_vim9_func.vim
17032
17033Patch 8.2.2803
17034Problem: Flicker when the popup menu has an info popup.
17035Solution: Avoid drawing over the popup when it's going to be redrawn in the
17036 same position. (closes #8131) Also avoid redrawing the scrollbar.
17037Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17038 src/globals.h
17039
17040Patch 8.2.2804
17041Problem: Setting buffer local mapping with mapset() changes global mapping.
17042Solution: Only set the local mapping. (closes #8143)
17043Files: src/map.c, src/testdir/test_maparg.vim
17044
17045Patch 8.2.2805
17046Problem: Vim9: cannot use legacy syntax in Vim9 script.
17047Solution: Add the :legacy command.
17048Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17049 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17050 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17051 src/testdir/test_vim9_assign.vim
17052
17053Patch 8.2.2806
17054Problem: Vim9: using "++nr" as a command might not work.
17055Solution: Do not recognize "++" and "--" in a following line as addition or
17056 subtraction.
17057Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17058 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17059 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17060
17061Patch 8.2.2807
17062Problem: Build fails with tiny features.
17063Solution: Use a dummy function for ex_incdec().
17064Files: src/ex_docmd.c
17065
17066Patch 8.2.2808
17067Problem: Vim9: increment and decrement not sufficiently tested.
17068Solution: Add assertions.
17069Files: src/testdir/test_vim9_assign.vim
17070
17071Patch 8.2.2809
17072Problem: Vim9: :def function compilation fails when using :legacy.
17073Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17074Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17075
17076Patch 8.2.2810
17077Problem: Vim9: crash when calling a function in a substitute expression.
17078Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017079 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017080Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17081
17082Patch 8.2.2811
17083Problem: Vim9: error for missing white space doesn't say where it is
17084 missing
17085Solution: Mention the command. (closes #8149)
17086Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17087
17088Patch 8.2.2812
17089Problem: Vim9: still crash when using substitute expression.
17090Solution: Put the instruction list in the stack frame. (closes #8154)
17091Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17092
17093Patch 8.2.2813
17094Problem: Cannot grep using fuzzy matching.
17095Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17096Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17097 src/quickfix.c, src/search.c, src/vim.h,
17098 src/testdir/test_quickfix.vim
17099
17100Patch 8.2.2814 (after 8.2.2812)
17101Problem: Vim9: unused variable. (John Marriott)
17102Solution: Adjust #ifdef.
17103Files: src/vim9execute.c
17104
17105Patch 8.2.2815
17106Problem: Status line flickers when redrawing popup menu info.
17107Solution: Do not redraw the status line when the focus is in the popup
17108 window. (issue #8144)
17109Files: src/popupmenu.c
17110
17111Patch 8.2.2816
17112Problem: Vim9: comment below expression in lambda causes problems.
17113Solution: Use a single space for empty and comment lines. (closes #8156)
17114Files: src/eval.c, src/testdir/test_vim9_expr.vim
17115
17116Patch 8.2.2817
17117Problem: Vim9: script sourcing continues after an error.
17118Solution: Make an error in any command in "vim9script" abort sourcing.
17119Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17120 src/testdir/test_vim9_assign.vim,
17121 src/testdir/test_vim9_func.vim
17122
17123Patch 8.2.2818
17124Problem: No jump added to jumplist when opening terminal in current window.
17125Solution: Call setpcmark(). (closes #8158)
17126Files: src/terminal.c, src/testdir/test_terminal.vim
17127
17128Patch 8.2.2819
17129Problem: Finishing an abbreviation with a multi-byte char may not work.
17130Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17131Files: src/map.c, src/testdir/test_mapping.vim
17132
17133Patch 8.2.2820
17134Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017135Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017136Files: src/session.c, src/testdir/test_mksession.vim
17137
17138Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017139Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017140Solution: Skip loading libraries when invoked with "-register".
17141Files: src/main.c, src/globals.h, src/os_win32.c
17142
17143Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017144Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017145Solution: Also skip loading libraries when invoked with "-unregister". Run
17146 Vim for README.txt with user privileges.
17147Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17148
17149Patch 8.2.2823
17150Problem: MS-Windows: launching Vim from installer doesn't open README.
17151Solution: Adjust the quotes.
17152Files: nsis/gvim.nsi
17153
17154Patch 8.2.2824
17155Problem: MS-Windows: build failure with MSVC.
17156Solution: Adjust the list of distributed files. Add hint about python.
17157 Adjust path for reading runtime files.
17158Files: Filelist, src/testdir/shared.vim,
17159 src/testdir/test_function_lists.vim
17160
17161Patch 8.2.2825
17162Problem: Code in checkreadonly() not fully tested.
17163Solution: Add more tests. (Dominique Pellé, closes #8169)
17164Files: src/testdir/test_excmd.vim
17165
17166Patch 8.2.2826
17167Problem: Compiler warnings for int to size_t conversion. (Randall W.
17168 Morris)
17169Solution: Add type casts.
17170Files: src/map.c, src/quickfix.c
17171
17172Patch 8.2.2827
17173Problem: Test file was not deleted.
17174Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17175Files: src/testdir/test_mksession.vim
17176
17177Patch 8.2.2828
17178Problem: Coverity complains about not checking the rename() return value.
17179Solution: Add "(void)", can't do anything in case of a failure.
17180Files: src/fileio.c
17181
17182Patch 8.2.2829
17183Problem: Some comments are not correct or clear.
17184Solution: Adjust the comments. Add test for cursor position.
17185Files: src/regexp_bt.c, src/regexp_nfa.c,
17186 src/testdir/test_exec_while_if.vim,
17187 src/testdir/test_substitute.vim
17188
17189Patch 8.2.2830
17190Problem: Terminal colors are not updated when 'background' is set.
17191Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17192 closes #8171, closes #8150)
17193Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17194
17195Patch 8.2.2831
17196Problem: Vim9: expandcmd() not tested.
17197Solution: Add a test.
17198Files: src/testdir/test_vim9_builtin.vim
17199
17200Patch 8.2.2832
17201Problem: Operator cancelled by moving mouse when using popup. (Sergey
17202 Vlasov)
17203Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17204Files: src/normal.c
17205
17206Patch 8.2.2833
17207Problem: Two key command cancelled by moving mouse when using popup.
17208 (Sergey Vlasov)
17209Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17210Files: src/getchar.c
17211
17212Patch 8.2.2834
17213Problem: Vim9: :cexpr does not work with local variables.
17214Solution: Compile :cexpr.
17215Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17216 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17217 src/testdir/test_vim9_disassemble.vim
17218
17219Patch 8.2.2835 (after 8.2.2834)
17220Problem: Vim9: leaking memory in :cexpr.
17221Solution: Also free the command line copy.
17222Files: src/vim9compile.c
17223
17224Patch 8.2.2836 (after 8.2.2834)
17225Problem: Build failure without the +quickfix feature. (John Marriott)
17226Solution: Add #ifdef.
17227Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17228
17229Patch 8.2.2837
17230Problem: Various code lines not covered by tests.
17231Solution: Add test cases. (Dominique Pellé, closes #8178)
17232Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17233 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17234 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17235
17236Patch 8.2.2838
17237Problem: File extension .wrap not recognized.
17238Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17239Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17240
17241Patch 8.2.2839
17242Problem: Default redirection missing "ash" and "dash".
17243Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17244Files: runtime/doc/options.txt, src/option.c
17245
17246Patch 8.2.2840
17247Problem: Vim9: member operation not fully tested.
17248Solution: Add a few tests.
17249Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17250
17251Patch 8.2.2841
17252Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017253 'statusline' are set.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017254Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17255Files: src/os_win32.c
17256
17257Patch 8.2.2842
17258Problem: Vim9: skip argument to searchpair() is not compiled.
17259Solution: Add VAR_INSTR.
17260Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17261 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17262 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17263 src/viminfo.c, src/if_py_both.h, src/json.c,
17264 src/testdir/test_vim9_disassemble.vim,
17265 src/testdir/test_vim9_builtin.vim
17266
17267Patch 8.2.2843 (after 8.2.2842)
17268Problem: Vim9: skip argument to searchpairpos() is not compiled.
17269Solution: Handle like searchpair(). Also for search() and searchpos().
17270Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17271
17272Patch 8.2.2844
17273Problem: Vim9: memory leak when using searchpair().
17274Solution: Free the v_instr field.
17275Files: src/typval.c
17276
17277Patch 8.2.2845
17278Problem: MS-Windows: warning for signed/unsigned comparison.
17279Solution: Add type cast.
17280Files: src/terminal.c
17281
17282Patch 8.2.2846
17283Problem: Vim9: "echo Func()" does not give an error for a function without
17284 a return value.
17285Solution: Give an error. Be more specific about why a value is invalid.
17286Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17287 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17288 src/testdir/test_vim9_cmd.vim
17289
17290Patch 8.2.2847
17291Problem: Perl not tested sufficiently.
17292Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17293Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17294
17295Patch 8.2.2848
17296Problem: Crash when calling partial.
17297Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17298Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17299 src/testdir/test_listdict.vim
17300
17301Patch 8.2.2849
17302Problem: Bufwrite not sufficiently tested.
17303Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17304Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17305
17306Patch 8.2.2850
17307Problem: Recalling commands from history is not tested.
17308Solution: Add tests. (closes #8194)
17309Files: src/testdir/test_cmdline.vim
17310
17311Patch 8.2.2851
17312Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17313 (Naohiro Ono)
17314Solution: Jump to cmdline_not_changed if the command line didn't change.
17315 (closes #8208)
17316Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17317
17318Patch 8.2.2852
17319Problem: Configure can add --as-needed a second time.
17320Solution: Only add --as-needed if not already there. (Natanael Copa,
17321 closes #8189, closes #8181)
17322Files: src/configure.ac, src/auto/configure
17323
17324Patch 8.2.2853 (after 8.2.2851)
17325Problem: Window is not updated after using <Cmd> mapping.
17326Solution: So jump to cmdline_changed but skip autocommand.
17327Files: src/ex_getln.c
17328
17329Patch 8.2.2854
17330Problem: Custom statusline cannot contain % items.
17331Solution: Add "%{% expr %}". (closes #8190)
17332Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17333 src/testdir/test_statusline.vim
17334
17335Patch 8.2.2855
17336Problem: White space after "->" does not give E274.
17337Solution: Do not skip white space in legacy script. (closes #8212)
17338Files: src/eval.c, src/testdir/test_method.vim
17339
17340Patch 8.2.2856
17341Problem: Get readonly error for device that can't be written to.
17342Solution: Check for being able to write first. (closes #8205)
17343Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17344
17345Patch 8.2.2857
17346Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17347Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17348Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17349 src/testdir/test_vim9_builtin.vim
17350
17351Patch 8.2.2858 (after 8.2.2857)
17352Problem: Test fails because of changed error message.
17353Solution: Adjust the expected error message.
17354Files: src/testdir/test_ex_mode.vim
17355
17356Patch 8.2.2859 (after 8.2.2857)
17357Problem: Tcl test fails because of changed error message.
17358Solution: Adjust the expected error message.
17359Files: src/testdir/test_tcl.vim
17360
17361Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017362Problem: Adding a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017363Solution: Use changed_lines_buf() to only redraw the affected lines.
17364Files: src/change.c, src/proto/change.pro, src/textprop.c
17365
17366Patch 8.2.2861
17367Problem: Vim9: "legacy return" is not recognized as a return statement.
17368Solution: Specifically check for a return command. (closes #8213)
17369Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17370 src/testdir/test_vim9_expr.vim
17371
17372Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017373Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017374Solution: Use changed_lines_buf() to only redraw the affected lines.
17375Files: src/textprop.c
17376
17377Patch 8.2.2863 (after 8.2.2862)
17378Problem: Removing a text property does not redraw optimally.
17379Solution: Only redraw the lines that mithg actually have been changed.
17380Files: src/textprop.c
17381
17382Patch 8.2.2864
17383Problem: Vim9: crash when using inline function.
17384Solution: Check for NULL pointer. Make using inline function work inside
17385 lambda. (closes #8217)
17386Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17387
17388Patch 8.2.2865 (after 8.2.2864)
17389Problem: Skipping over function body fails.
17390Solution: Do not define the function when skipping.
17391Files: src/userfunc.c
17392
17393Patch 8.2.2866
17394Problem: Vim9: memory leak when using inline function.
17395Solution: Remember what strings to free.
17396Files: src/userfunc.c, src/structs.h, src/eval.c
17397
17398Patch 8.2.2867 (after 8.2.2866)
17399Problem: Build failure.
17400Solution: Add missing part of the change.
17401Files: src/globals.h
17402
17403Patch 8.2.2868
17404Problem: Vim9: When executing a compiled expression the trylevel at start
17405 is changed but not restored. (closes #8214)
17406Solution: Restore the trylevel at start.
17407Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17408
17409Patch 8.2.2869
17410Problem: Using unified diff is not tested.
17411Solution: Test all cases also with unified diff. (issue #8197)
17412Files: src/testdir/test_diffmode.vim
17413
17414Patch 8.2.2870
17415Problem: CmdlineChange event triggered twice for CTRL-R.
17416Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17417 (closes #8219)
17418Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17419
17420Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017421Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017422Solution: Call skipdigits() on the next character. Improve indenting.
17423 (Dominique Pellé, closes #8227)
17424Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17425 src/ops.c, src/tag.c, src/vim9compile.c
17426
17427Patch 8.2.2872
17428Problem: Python tests fail without the channel feature.
17429Solution: Add a feature check. (Dominique Pellé, closes #8226)
17430Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17431
17432Patch 8.2.2873
17433Problem: Not enough tests for writing buffers.
17434Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17435Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17436 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17437
17438Patch 8.2.2874
17439Problem: MS-Windows: screen redraws too often.
17440Solution: Do not redraw when peeking for a character. (closes #8230,
17441 closes #8211)
17442Files: src/os_win32.c
17443
17444Patch 8.2.2875
17445Problem: Cancelling inputlist() after a digit does not return zero.
17446Solution: Always return zero when cancelling. (closes #8231)
17447Files: src/misc1.c, src/testdir/test_functions.vim
17448
17449Patch 8.2.2876
17450Problem: Configure cannot detect Python 3.10.
17451Solution: Use sys.version_info. (closes #8233)
17452Files: src/configure.ac, src/auto/configure
17453
17454Patch 8.2.2877
17455Problem: Insufficient tests for popup menu rightleft.
17456Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17457Files: src/testdir/test_popup.vim,
17458 src/testdir/dumps/Test_pum_rightleft_01.dump,
17459 src/testdir/dumps/Test_pum_rightleft_02.dump,
17460 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17461 src/testdir/dumps/Test_pum_scrollbar_02.dump
17462
17463Patch 8.2.2878
17464Problem: Vim9: for loop list unpack only allows for one "_".
17465Solution: Drop the value when the variable is "_". (closes #8232)
17466Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17467
17468Patch 8.2.2879
17469Problem: File extension .hsig not recognized.
17470Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17471 closes #8236)
17472Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17473
17474Patch 8.2.2880
17475Problem: Unified diff fails if actually used.
17476Solution: Invoke :diffupdate in the test. Fix the check for working external
17477 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17478Files: src/diff.c, src/testdir/test_diffmode.vim
17479
17480Patch 8.2.2881
17481Problem: Various pieces of code not covered by tests.
17482Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17483Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17484 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17485 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17486 src/testdir/test_vim9_func.vim
17487
17488Patch 8.2.2882
17489Problem: Vim9: memory leak when lambda has an error.
17490Solution: Free the list of argument types on failure.
17491Files: src/userfunc.c
17492
17493Patch 8.2.2883
17494Problem: MS-Windows manifest file name is misleading.
17495Solution: Rename the file. (closes #8241)
17496Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17497 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17498
17499Patch 8.2.2884
17500Problem: Not enough cscope code is covered by tests.
17501Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17502Files: src/testdir/test_cscope.vim
17503
17504Patch 8.2.2885
17505Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17506Solution: Match end of line if column is MAXCOL. (closes #8238)
17507Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17508
17509Patch 8.2.2886
17510Problem: Various pieces of code not covered by tests.
17511Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17512Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17513 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17514 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17515 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17516
17517Patch 8.2.2887
17518Problem: Crash when passing null string to fullcommand().
17519Solution: Check for NULL pointer. (closes #8256)
17520Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17521
17522Patch 8.2.2888
17523Problem: Vim9: "k" command recognized in Vim9 script.
17524Solution: Do not recognize "k" or "s" and "d" with flags.
17525Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17526 src/testdir/test_vim9_script.vim
17527
17528Patch 8.2.2889
17529Problem: Typo and verbose comment in Makefiles.
17530Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17531Files: Makefile, src/testdir/Makefile
17532
17533Patch 8.2.2890
17534Problem: Text property duplicated when data block splits.
17535Solution: Do not continue text prop from previous line. (closes #8261)
17536Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17537
17538Patch 8.2.2891
17539Problem: Cannot build with Perl 5.34.
17540Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17541 closes #8250)
17542Files: src/if_perl.xs
17543
17544Patch 8.2.2892
17545Problem: Error message contains random characters.
17546Solution: Pass the right pointer to error_white_both(). (closes #8272,
17547 closes #8263)
17548Files: src/eval.c, src/testdir/test_vim9_expr.vim
17549
17550Patch 8.2.2893
17551Problem: Multi-byte text in popup title shows up wrong.
17552Solution: Use the character width instead of the byte length. (Ralf Schandl,
17553 closes #8267, closes #8264)
17554Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17555 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17556
17557Patch 8.2.2894
17558Problem: MS-Windows: using enc_locale() for strftime() might not work.
17559Solution: Use wcsftime(). (Ken Takata, closes #8271)
17560Files: src/time.c
17561
17562Patch 8.2.2895
17563Problem: Vim9: random characters appear in some error messages.
17564Solution: Pass the correct pointer. (closes #8277)
17565Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17566
17567Patch 8.2.2896
17568Problem: Spellfile functionality not fully tested.
17569Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17570 closes #8270)
17571Files: src/testdir/test_spellfile.vim
17572
17573Patch 8.2.2897
17574Problem: Vim9: can use reserved words at the script level.
17575Solution: Check variable names for reserved words. (closes #8253)
17576Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17577 src/eval.c, src/testdir/test_vim9_assign.vim
17578
17579Patch 8.2.2898
17580Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17581Solution: Call before_quit_autocmds(). (closes #8242)
17582Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17583
17584Patch 8.2.2899
17585Problem: Appveyor script does not detect nmake failure.
17586Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17587Files: ci/appveyor.bat
17588
17589Patch 8.2.2900
17590Problem: QuitPre is triggered before :wq writes the file, which is
17591 different from other commands.
17592Solution: Trigger QuitPre after writing the file. (closes #8279)
17593Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17594
17595Patch 8.2.2901
17596Problem: Some operators not fully tested.
17597Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17598Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17599 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17600 src/testdir/test_visual.vim
17601
17602Patch 8.2.2902
17603Problem: Spellfile functionality not fully tested.
17604Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17605 closes #8283)
17606Files: src/testdir/test_spellfile.vim
17607
17608Patch 8.2.2903
17609Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17610Solution: Don't add space for showbreak twice. (Christian Brabandt,
17611 closes #8262)
17612Files: src/drawline.c, src/testdir/test_display.vim
17613
17614Patch 8.2.2904
17615Problem: "g$" causes scroll if half a double width char is visible.
17616Solution: Advance to the last fully visible character. (closes #8254)
17617Files: src/normal.c, src/testdir/test_normal.vim
17618
17619Patch 8.2.2905
17620Problem: No error when defaults.vim cannot be loaded.
17621Solution: Add an error message. (Christian Brabandt, closes #8248)
17622Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17623 src/testdir/test_startup.vim
17624
17625Patch 8.2.2906 (after 8.2.2905)
17626Problem: ASAN reports errors for test_startup for unknown reasons.
17627Solution: Temporarily disable the new test.
17628Files: src/testdir/test_startup.vim
17629
17630Patch 8.2.2907
17631Problem: Memory leak when running out of memory.
17632Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17633Files: src/term.c
17634
17635Patch 8.2.2908
17636Problem: Crash when using a terminal popup window from the cmdline window.
17637Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17638 (closes #8286)
17639Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17640 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17641
17642Patch 8.2.2909
17643Problem: Build error with non-Unix system.
17644Solution: Always include limits.h.
17645Files: src/vim.h
17646
17647Patch 8.2.2910
17648Problem: Test for cmdline window and terminal fails on MS-Windows.
17649Solution: Skip the test on MS-Windows.
17650Files: src/testdir/test_cmdline.vim
17651
17652Patch 8.2.2911
17653Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17654Solution: Use the value of vi_curswant. (closes #8285)
17655Files: src/regexp.c, src/testdir/test_search.vim,
17656 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17657
17658Patch 8.2.2912
17659Problem: MS-Windows: most users expect using Unicode.
17660Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17661 closes #3907)
17662Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17663 src/testdir/test_writefile.vim
17664
17665Patch 8.2.2913
17666Problem: MS-Windows conpty supports using mouse events.
17667Solution: When enabling the mouse enable mouse input and disable quick edit
17668 mode. (Wez Furlong, closes #8280)
17669Files: src/os_win32.c
17670
17671Patch 8.2.2914
17672Problem: Cannot paste a block without adding padding.
17673Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17674 Brabandt, closes #8289)
17675Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17676 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17677 src/testdir/test_visual.vim
17678
17679Patch 8.2.2915
17680Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17681Solution: Use the system encoding. (Ken Takata, closes #8300)
17682Files: src/mbyte.c, runtime/doc/options.txt
17683
17684Patch 8.2.2916
17685Problem: Operators are not fully tested.
17686Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17687Files: src/ops.c, src/testdir/test_netbeans.vim,
17688 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17689
17690Patch 8.2.2917
17691Problem: Spellfile functionality not fully tested.
17692Solution: Add tests for SFX with removal of characters, spelling
17693 suggestions with NOBREAK and others. (Dominique Pellé,
17694 closes #8293)
17695Files: src/testdir/test_spellfile.vim
17696
17697Patch 8.2.2918
17698Problem: Builtin function can be shadowed by global variable.
17699Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17700 closes #8302)
17701Files: src/eval.c, src/testdir/test_functions.vim
17702
17703Patch 8.2.2919
17704Problem: Using ":!command" does not work if the command uses posix_spawn().
17705Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17706Files: src/os_unix.c
17707
17708Patch 8.2.2920
17709Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
17710Solution: Check the key when using extend(). (issue #8302)
17711Files: src/eval.c, src/dict.c, src/proto/dict.pro,
17712 src/testdir/test_functions.vim
17713
17714Patch 8.2.2921
17715Problem: E704 for script local variable is not backwards compatible.
17716 (Yasuhiro Matsumoto)
17717Solution: Only give the error in Vim9 script. Also check for function-local
17718 variable.
17719Files: src/dict.c, src/testdir/test_functions.vim
17720
17721Patch 8.2.2922
17722Problem: Computing array length is done in various ways.
17723Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
17724Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
17725 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
17726 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
17727 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
17728 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
17729 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
17730 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
17731 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
17732 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
17733 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
17734 src/usercmd.c, src/version.c
17735
17736Patch 8.2.2923
17737Problem: EBCDIC build is broken.
17738Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
17739Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
17740
17741Patch 8.2.2924
17742Problem: Superfluous extern declaration.
17743Solution: Delete the declaration. (Ken Takata, closes #8307)
17744Files: src/main.c
17745
17746Patch 8.2.2925
17747Problem: Vim9: line continuation comment uses legacy syntax.
17748Solution: Check for #\ instead of "\. (closes #8295)
17749Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17750
17751Patch 8.2.2926
17752Problem: Vim9: no good error for using :legacy in a :def function.
17753Solution: Give an explicit error where :legacy is not working.
17754 (closes #8309)
17755Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
17756
17757Patch 8.2.2927
17758Problem: Test commented out because it fails with ASAN.
17759Solution: Only skip the test when running with ASAN.
17760Files: src/testdir/test_startup.vim
17761
17762Patch 8.2.2928
17763Problem: The evalfunc.c file is too big.
17764Solution: Move float related functionality to a separate file. (Yegappan
17765 Lakshmanan, closes #8287)
17766Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
17767 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
17768 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
17769 src/proto/eval.pro, src/proto/float.pro
17770
17771Patch 8.2.2929
17772Problem: Accidentally enable tcl by default.
17773Solution: Revert change to Makefile
17774Files: src/Makefile
17775
17776Patch 8.2.2930
17777Problem: When a popup is visible a mouse move my restart Visual mode.
17778Solution: Reset held_button when ending Visual mode. (closes #8318)
17779Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
17780
17781Patch 8.2.2931
17782Problem: Vim9: line continuation comment still uses legacy syntax in one
17783 place.
17784Solution: Check for #\ instead of "\ earlier. (closes #8316)
17785Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17786
17787Patch 8.2.2932 (after 8.2.2930)
17788Problem: Select mode test fails.
17789Solution: Do not always reset the held mouse button.
17790Files: src/mouse.c, src/normal.c, src/proto/normal.pro
17791
17792Patch 8.2.2933
17793Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
17794Solution: Pass -1 to str_to_reg() and fix computing the character width
17795 instead of using the byte length. (Christian Brabandt,
17796 closes #8301, closes #8317)
17797Files: src/clipboard.c, src/mbyte.c, src/register.c
17798
17799Patch 8.2.2934 (after 8.2.2933)
17800Problem: ASAN error when using text from the clipboard.
17801Solution: Get width of each character.
17802Files: src/register.c
17803
17804Patch 8.2.2935 (after 8.2.2934)
17805Problem: Calculating register width is not always needed. (Christian
17806 Brabandt)
17807Solution: Only calculate the width when the type is MBLOCK.
17808Files: src/register.c
17809
17810Patch 8.2.2936
17811Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
17812 Halim)
17813Solution: Include the offset in the 2BOOL command.
17814Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
17815 src/testdir/test_vim9_expr.vim,
17816 src/testdir/test_vim9_disassemble.vim
17817
17818Patch 8.2.2937
17819Problem: Popup test fails if rightleft feature not enabled.
17820Solution: Check that the rightleft feature is available. (Dominique Pellé,
17821 closes #8321)
17822Files: src/testdir/test_popup.vim
17823
17824Patch 8.2.2938
17825Problem: After using motion force from feedkeys() it may not be reset.
17826Solution: Clear motion_force in clearop(). (closes #8323)
17827Files: src/normal.c, src/testdir/test_visual.vim
17828
17829Patch 8.2.2939
17830Problem: GTK: righthand scrollbar does not show with split window.
17831Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
17832 closes #8324)
17833Files: src/gui_gtk.c
17834
17835Patch 8.2.2940
17836Problem: MS-Windows: cannot see the size of the text area when resizing the
17837 gvim window.
17838Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
17839Files: src/gui_w32.c
17840
17841Patch 8.2.2941
17842Problem: Vim9: using `=expr` does not handle a list of strings.
17843Solution: Convert a list to a string and escape each item. (closes #8310)
17844Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17845
17846Patch 8.2.2942
17847Problem: Vim9: internal error when calling function with too few arguments
17848Solution: Check for argument count to be too few. (closes #8325)
17849Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17850
17851Patch 8.2.2943
17852Problem: Vim9: check for argument count ignores default values.
17853Solution: Take default argument values into account.
17854Files: src/vim9execute.c
17855
17856Patch 8.2.2944
17857Problem: Vim9: no error when using job or channel as a string.
17858Solution: Be more strict about conversion to string. (closes #8312)
17859Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
17860 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
17861 src/testdir/test_vim9_builtin.vim
17862
17863Patch 8.2.2945
17864Problem: Some buffer related code is not tested.
17865Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
17866Files: src/termlib.c, src/testdir/test_excmd.vim,
17867 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
17868 src/testdir/test_visual.vim
17869
17870Patch 8.2.2946
17871Problem: Vim9: substitute expression cannot be a List in a :def function.
17872Solution: Use typval2string(). (closes #8330)
17873Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17874
17875Patch 8.2.2947
17876Problem: Build failure without the channel feature.
17877Solution: Add back #ifdef. (John Marriott)
17878Files: src/eval.c
17879
17880Patch 8.2.2948
17881Problem: Substitute() accepts a number but not a float expression.
17882Solution: Also accept a float. (closes #8331)
17883Files: src/typval.c, src/testdir/test_substitute.vim
17884
17885Patch 8.2.2949 (after 8.2.2948)
17886Problem: Tests failing because there is no error for float to string
17887 conversion.
17888Solution: Change the check for failure to check for correct result. Make
17889 some conversions strict in Vim9 script.
17890Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
17891 src/filepath.c, src/testdir/test_eval_stuff.vim,
17892 src/testdir/test_execute_func.vim,
17893 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
17894 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
17895
17896Patch 8.2.2950
17897Problem: Sound code not fully tested.
17898Solution: Add more sound tests. (Dominique Pellé, closes #8332)
17899Files: src/testdir/test_sound.vim
17900
17901Patch 8.2.2951
17902Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
17903Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
17904 instruction.
17905Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
17906 src/testdir/test_vim9_func.vim,
17907 src/testdir/test_vim9_disassemble.vim
17908
17909Patch 8.2.2952
17910Problem: Recover test fails on big endian systems.
17911Solution: Disable the failing test on big endian systems. (Yegappan
17912 Lakshmanan, closes #8335)
17913Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
17914
17915Patch 8.2.2953 (after 8.2.2951)
17916Problem: Vim9: leaking memory when using heredoc script.
17917Solution: Free the first line.
17918Files: src/vim9execute.c
17919
17920Patch 8.2.2954
17921Problem: Short file name extension for Scala not recognized.
17922Solution: Recognize *.sc. (closes #8337)
17923Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17924
17925Patch 8.2.2955
17926Problem: Vim9: using filter in compiled command does not work.
17927Solution: Generate EXEC including the command modifier.
17928Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
17929 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
17930
17931Patch 8.2.2956
17932Problem: Vim9: need to plan for future additions.
17933Solution: Reserve commands for future use: :type, :class, :enum.
17934Files: src/ex_cmds.h, src/ex_cmdidxs.h
17935
17936Patch 8.2.2957
17937Problem: Using getchar() in Vim9 script is problematic.
17938Solution: Add getcharstr(). (closes #8343)
17939Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017940 src/proto/getchar.pro, src/testdir/test_functions.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017941
17942Patch 8.2.2958 (after 8.2.2957)
17943Problem: Function list test fails.
17944Solution: Add newly added function to the list. Fix typo.
17945Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
17946
17947Patch 8.2.2959
17948Problem: sound_playfile() is not tested on MS-Windows.
17949Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
17950Files: src/sound.c, src/testdir/test_sound.vim
17951
17952Patch 8.2.2960
17953Problem: Swap file recovery not sufficiently tested.
17954Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
17955Files: src/testdir/test_recover.vim
17956
17957Patch 8.2.2961
17958Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017959Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017960Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
17961 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
17962
17963Patch 8.2.2962
17964Problem: MS-Windows command line arguments have wrong encoding.
17965Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
17966Files: src/os_win32.c
17967
17968Patch 8.2.2963
17969Problem: GUI: mouse move may start Visual mode with a popup visible.
17970Solution: Add special code for mouse move. (closes #8318)
17971Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
17972
17973Patch 8.2.2964
17974Problem: Vim9: hang when using space after ->. (Naohiro Ono)
17975Solution: Skip over white space to find the function name. (closes #8341)
17976Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17977
17978Patch 8.2.2965
17979Problem: Vim9: crash when calling function that failed to compile.
17980Solution: Fail when trying to call the function. (closes #8344)
17981Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
17982
17983Patch 8.2.2966
17984Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
17985Solution: Fix the cursor position after deleting lines.
17986Files: src/memline.c
17987
17988Patch 8.2.2967
17989Problem: Vim9: crash when using two levels of partials.
17990Solution: Add outer_ref_T and use it in the execution context.
17991Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
17992
17993Patch 8.2.2968 (after 8.2.2967)
17994Problem: Vim9: memory leak
17995Solution: Unreference pt_outer of partial.
17996Files: src/eval.c
17997
17998Patch 8.2.2969
17999Problem: Subtracting from number option fails when result is zero. (Ingo
18000 Karkat)
18001Solution: Reset the string value when using the numeric value.
18002 (closes #8351)
18003Files: src/evalvars.c, src/testdir/test_vimscript.vim
18004
18005Patch 8.2.2970
18006Problem: Python configure check uses deprecated command.
18007Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18008 closes #8354)
18009Files: src/configure.ac, src/auto/configure
18010
18011Patch 8.2.2971
18012Problem: Cannot yank a block without trailing spaces.
18013Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18014Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18015 src/ops.c, src/register.c, src/structs.h,
18016 src/testdir/test_visual.vim
18017
18018Patch 8.2.2972
18019Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18020 Schandl)
18021Solution: Do not try to delete a popup window buffer. (closes #8349)
18022Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18023
18024Patch 8.2.2973
18025Problem: Fix for recovery and diff mode not tested.
18026Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18027Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18028 src/testdir/test_recover.vim
18029
18030Patch 8.2.2974
18031Problem: Greek spell checking uses wrong case folding.
18032Solution: Fold capital sigma depending on whether it is at the end of a
18033 word or not. (closes #299)
18034Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18035 src/spellsuggest.c
18036
18037Patch 8.2.2975
18038Problem: Vim9: can only use an autoload function name as a string.
18039Solution: Load the autoload script when encountered. (closes #8124)
18040Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18041 src/testdir/test_vim9_func.vim
18042
18043Patch 8.2.2976 (after 8.2.2975)
18044Problem: Build failure without the +eval feature.
18045Solution: Add #ifdefs.
18046Files: src/scriptfile.c
18047
18048Patch 8.2.2977
18049Problem: Crash when using a null function reference. (Naohiro Ono)
18050Solution: Check for an invalid function name. (closes #8367)
18051Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18052
18053Patch 8.2.2978 (after 8.2.2977)
18054Problem: Warning for uninitialized variable.
18055Solution: Set return value to FAIL.
18056Files: src/eval.c
18057
18058Patch 8.2.2979
18059Problem: Not all options code is covered by tests.
18060Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18061Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18062 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18063 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18064 src/testdir/test_window_cmd.vim
18065
18066Patch 8.2.2980
18067Problem: Popup window test is a bit flaky.
18068Solution: Add a redraw command.
18069Files: src/testdir/test_popupwin.vim
18070
18071Patch 8.2.2981
18072Problem: Recovery test is not run on big-endian systems.
18073Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18074Files: src/testdir/test_recover.vim
18075
18076Patch 8.2.2982
18077Problem: Vim9: future commands are not reserved yet.
18078Solution: Add commands to be implemented later. Make "this" a reserved
18079 name.
18080Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18081 src/vim9script.c, src/testdir/test_vim9_assign.vim
18082
18083Patch 8.2.2983
18084Problem: Vim9: an inline function requires specifying the return type.
18085Solution: Make the return type optional.
18086Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18087 src/testdir/test_vim9_func.vim
18088
18089Patch 8.2.2984 (after 8.2.2983)
18090Problem: Vim9: Test fails because of missing return statement.
18091Solution: When type is unknown set type to void.
18092Files: src/vim9compile.c
18093
18094Patch 8.2.2985
18095Problem: Vim9: a compiled function cannot be debugged.
18096Solution: Add initial debugging support.
18097Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18098 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18099 src/vim9type.c, src/testdir/test_debugger.vim,
18100 src/testdir/test_vim9_disassemble.vim
18101
18102Patch 8.2.2986
18103Problem: Build failure without the profile feature.
18104Solution: Add #ifdef.
18105Files: src/vim9compile.c
18106
18107Patch 8.2.2987
18108Problem: Build failure with normal features.
18109Solution: Remove #define.
18110Files: src/vim9execute.c
18111
18112Patch 8.2.2988
18113Problem: Vim9: debugger test fails.
18114Solution: Get the debugger instructions when needed.
18115Files: src/vim.h, src/vim9.h
18116
18117Patch 8.2.2989
18118Problem: Vim9: memory leak when debugging a :def function.
18119Solution: Free the debug instructions.
18120Files: src/vim9compile.c
18121
18122Patch 8.2.2990
18123Problem: Jupyter Notebook files are not recognized.
18124Solution: Recognize *.ipynb. (closes #8375)
18125Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18126
18127Patch 8.2.2991
18128Problem: Vim9: no completion for :vim9 and :legacy.
18129Solution: Expand argument as a command. (closes #8377)
18130Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18131
18132Patch 8.2.2992
18133Problem: Vim9: completion for :disassemble is incomplete.
18134Solution: Recognize the "debug" and "profile" arguments.
18135Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18136 src/vim.h, src/testdir/test_cmdline.vim
18137
18138Patch 8.2.2993
18139Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18140 Johnson)
18141Solution: When 'encoding' is "utf-8" use a different default value for
18142 'fileencodings'.
18143Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18144 src/testdir/test_options.vim
18145
18146Patch 8.2.2994
18147Problem: Various code is not fully tested.
18148Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18149Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18150 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18151 src/testdir/test_paste.vim, src/vim9compile.c
18152
18153Patch 8.2.2995
18154Problem: Linker errors with dynamic Python 3.10.
18155Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18156 closes #8356)
18157Files: src/if_python3.c
18158
18159Patch 8.2.2996
18160Problem: Vim9: when debugging cannot inspect local variables.
18161Solution: Make local variables available when debugging.
18162Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18163 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18164
18165Patch 8.2.2997 (after 8.2 2996)
18166Problem: Vim9: disassemble test fails.
18167Solution: Adjust expected output.
18168Files: src/testdir/test_vim9_disassemble.vim
18169
18170Patch 8.2.2998 (after 8.2 2996)
18171Problem: Vim9: disassemble test fails.
18172Solution: Add missing call to lookup_debug_var().
18173Files: src/evalvars.c
18174
18175Patch 8.2.2999
18176Problem: Balloon sometimes does not hide with GTK 3.
18177Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18178Files: src/gui_beval.c
18179
18180Patch 8.2.3000
18181Problem: Vim9: warning for uninitialized variable.
18182Solution: Add initialization. (John Marriott)
18183Files: src/vim9compile.c
18184
18185Patch 8.2.3001
18186Problem: Vim9: memory leak when compilation fails.
18187Solution: Free the list of variable names.
18188Files: src/vim9compile.c
18189
18190Patch 8.2.3002
18191Problem: Vim doesn't abort on a fatal Tcl error.
18192Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18193Files: src/if_tcl.c
18194
18195Patch 8.2.3003
18196Problem: Vim9: closure compiled with wrong compile type.
18197Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18198Files: src/vim9execute.c, src/testdir/test_debugger.vim
18199
18200Patch 8.2.3004
18201Problem: Vim9: error for missing colon given while skipping.
18202Solution: Do not give the error when skipping. (closes #8385)
18203Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18204
18205Patch 8.2.3005
18206Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018207Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018208Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18209 src/testdir/test_vim9_expr.vim,
18210 src/testdir/test_vim9_disassemble.vim
18211
18212Patch 8.2.3006
18213Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18214Solution: Do not use a NUL to truncate the message, make a copy.
18215 (closes #8388)
18216Files: src/message.c, src/testdir/test_startup.vim
18217
18218Patch 8.2.3007 (after 8.2.3005)
18219Problem: Vim9: test for void value fails.
18220Solution: Adjust expected error. Do not make a copy of void.
18221Files: src/typval.c, src/testdir/test_functions.vim
18222
18223Patch 8.2.3008 (after 8.2.3006)
18224Problem: Startup test may hang.
18225Solution: Add quit command in the script.
18226Files: src/testdir/test_startup.vim
18227
18228Patch 8.2.3009 (after 8.2.3006)
18229Problem: Startup test may hang.
18230Solution: Do not run the test in the GUI.
18231Files: src/testdir/test_startup.vim
18232
18233Patch 8.2.3010
18234Problem: Not enough testing for viminfo code.
18235Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18236Files: src/register.c, src/testdir/test_fileformat.vim,
18237 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18238
18239Patch 8.2.3011
18240Problem: Vim9: cannot get argument values during debugging.
18241Solution: Lookup names in the list of arguments. Put debug instruction
18242 halfway for command.
18243Files: src/vim9compile.c, src/vim9execute.c,
18244 src/testdir/test_debugger.vim
18245
18246Patch 8.2.3012
18247Problem: When 'rightleft' is set the line number is sometimes drawn
18248 reversed.
18249Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18250 closes #8391)
18251Files: src/drawline.c, src/testdir/test_number.vim
18252
18253Patch 8.2.3013
18254Problem: Vim: when debugging only the first line of a command using line
18255 continuation is displayed.
18256Solution: Find the next command and concatenate lines until that one.
18257 (closes #8392)
18258Files: src/vim9execute.c, src/testdir/test_debugger.vim
18259
18260Patch 8.2.3014
18261Problem: Coverity warns for freeing static string.
18262Solution: Do not assign static string to pointer. (Dominique Pellé,
18263 closes #8397)
18264Files: src/vim9execute.c
18265
18266Patch 8.2.3015
18267Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18268Solution: Accent a number or a string. (closes #8396)
18269Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18270 src/testdir/test_vim9_assign.vim
18271
18272Patch 8.2.3016
18273Problem: Confusing error when expression is followed by comma.
18274Solution: Give a different error for trailing text. (closes #8395)
18275Files: src/eval.c, src/testdir/test_let.vim,
18276 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18277 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18278 src/testdir/test_vimscript.vim
18279
18280Patch 8.2.3017
18281Problem: Vim9: debugger shows too many lines.
18282Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18283Files: src/vim9execute.c, src/testdir/test_debugger.vim
18284
18285Patch 8.2.3018
18286Problem: Formatting using quickfixtextfunc is lost when updating location
18287 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018288Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018289 closes #8400, closes #8403)
18290Files: src/quickfix.c, src/testdir/test_quickfix.vim
18291
18292Patch 8.2.3019
18293Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018294Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018295Files: runtime/doc/eval.txt, src/quickfix.c,
18296 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18297 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18298 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18299 src/testdir/test_vim9_expr.vim
18300
18301Patch 8.2.3020
18302Problem: Unreachable code.
18303Solution: Remove the code. (closes #8406)
18304Files: src/ex_docmd.c
18305
18306Patch 8.2.3021
18307Problem: Spaces allowed between option name and "!", "?", etc.
18308Solution: Disallow spaces in Vim9 script, it was not documented.
18309 (closes #8408)
18310Files: src/option.c, src/testdir/test_vim9_script.vim
18311
18312Patch 8.2.3022
18313Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018314Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018315 closes #8394)
18316Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18317 runtime/doc/options.txt, runtime/doc/various.txt,
18318 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18319 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18320 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18321 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18322 src/memline.c, src/option.c, src/optionstr.c,
18323 src/proto/blowfish.pro, src/proto/crypt.pro,
18324 src/proto/crypt_zip.pro, src/structs.h,
18325 src/testdir/samples/crypt_sodium_invalid.txt,
18326 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18327
18328Patch 8.2.3023
18329Problem: Vim9: arguments for execute() not checked at compile time.
18330Solution: Add a function to check the argument types.
18331Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18332
18333Patch 8.2.3024 (after 8.2.3023)
18334Problem: execute() function test fails.
18335Solution: Adjust test for different error.
18336Files: src/testdir/test_execute_func.vim
18337
18338Patch 8.2.3025
18339Problem: Not enough tests for quickfix end_col and end_lnum.
18340Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18341Files: src/testdir/test_quickfix.vim
18342
18343Patch 8.2.3026
18344Problem: Vim9: cannot set breakpoint in compiled function.
18345Solution: Check for breakpoint when calling a function.
18346Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18347 src/debugger.c, src/testdir/test_debugger.vim
18348
18349Patch 8.2.3027
18350Problem: Vim9: breakpoint in compiled function not always checked.
18351Solution: Check for breakpoint when calling compiled function from compiled
18352 function.
18353Files: src/vim9execute.c, src/testdir/test_debugger.vim
18354
18355Patch 8.2.3028
18356Problem: GUI mouse events not tested.
18357Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18358 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18359Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18360 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18361 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18362 src/testing.c
18363
18364Patch 8.2.3029
18365Problem: Vim9: crash when using operator and list unpack assignment.
18366 (Naohiro Ono)
18367Solution: Get variable value before operation. (closes #8416)
18368Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18369 src/testdir/test_vim9_assign.vim,
18370 src/testdir/test_vim9_disassemble.vim
18371
18372Patch 8.2.3030
18373Problem: Coverity reports a memory leak.
18374Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18375Files: src/crypt.c, src/errors.h
18376
18377Patch 8.2.3031
18378Problem: No error if a function name starts with an underscore. (Naohiro
18379 Ono)
18380Solution: In Vim9 script disallow a function name starting with an
18381 underscore, as is mentioned in the help. (closes #8414)
18382Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18383
18384Patch 8.2.3032
18385Problem: Build problems with MSVC, other crypt issues with libsodium.
18386Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18387 Adjust error message used when key is wrong. Fix Coverity issues.
18388 (Christian Brabandt, closes #8420, closes #8411)
18389Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18390 src/memline.c, src/proto/crypt.pro
18391
18392Patch 8.2.3033
18393Problem: No error when using alpha delimiter with :global.
18394Solution: Check the delimiter like with :substitute. (closes #8415)
18395Files: src/ex_cmds.c, src/testdir/test_global.vim
18396
18397Patch 8.2.3034
18398Problem: Installing packages on github CI sometimes fails.
18399Solution: Update package information first. (Christian Brabandt,
18400 closes #8432)
18401Files: .github/workflows/ci.yml
18402
18403Patch 8.2.3035
18404Problem: Vim9: crash when calling :def function with partial and return
18405 type is not set.
18406Solution: When the return type is not set handle like the return type is
18407 unknown. (closes #8422)
18408Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18409
18410Patch 8.2.3036
18411Problem: Vim9: builtin function arguments not checked at compile time.
18412Solution: Add more argument type specs. Check arguments to test_setmouse()
18413 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18414Files: src/evalfunc.c, src/testdir/test_assert.vim,
18415 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18416 src/testdir/test_vim9_builtin.vim, src/testing.c
18417
18418Patch 8.2.3037
18419Problem: Configure reports libcanberra when checking for libsodium.
18420Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18421Files: src/configure.ac, src/auto/configure
18422
18423Patch 8.2.3038
18424Problem: Amiga built-in version string doesn't include build date.
18425Solution: Add the build date if available. (Ola Söder, closes #8437)
18426Files: src/os_amiga.c
18427
18428Patch 8.2.3039
18429Problem: Vim9: breakpoint at a comment line does not work.
18430Solution: Add the comment line number to the debug instruction.
18431 (closes #8429)
18432Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18433 src/testdir/test_debugger.vim,
18434 src/testdir/test_vim9_disassemble.vim
18435
18436Patch 8.2.3040
18437Problem: GUI: dropping files not tested.
18438Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18439 closes #8434)
18440Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18441 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18442 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18443
18444Patch 8.2.3041
18445Problem: Detecting if the process of a swap file is running fails if the
18446 process is owned by another user.
18447Solution: Check for the ESRCH error. (closes #8436)
18448Files: src/os_unix.c
18449
18450Patch 8.2.3042 (after 8.2.3041)
18451Problem: Swap file test fails.
18452Solution: Check for a very high process ID instead of one, which should be
18453 running.
18454Files: src/testdir/test_swap.vim
18455
18456Patch 8.2.3043
18457Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18458Solution: Use control sequences. (Ola Söder, closes #8438)
18459Files: src/os_amiga.c
18460
18461Patch 8.2.3044
18462Problem: Amiga MorphOS and AROS: process ID is not valid.
18463Solution: Use FindTask to return something which is unique to all processes.
18464 (Ola Söder, closes #8444)
18465Files: src/os_amiga.c
18466
18467Patch 8.2.3045
18468Problem: Minor typos.
18469Solution: Fix the typos. (Christian Brabandt, closes #8441)
18470Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18471
18472Patch 8.2.3046
18473Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018474Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018475 systems. (Ola Söder, closes #8445)
18476Files: src/os_amiga.c
18477
18478Patch 8.2.3047
18479Problem: Increment and decrement don't allow for next command.
18480Solution: Allow for comment and next command. (closes #8442)
18481Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18482
18483Patch 8.2.3048
18484Problem: Strange error for white space after ++ command.
18485Solution: Check for white space explicitly. (closes #8440)
18486Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18487 src/testdir/test_vim9_assign.vim
18488
18489Patch 8.2.3049
18490Problem: JSON patch file not recognized.
18491Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18492Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18493
18494Patch 8.2.3050
18495Problem: Cannot recognize elixir files.
18496Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18497 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18498Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18499 src/testdir/test_filetype.vim
18500
18501Patch 8.2.3051
18502Problem: Vim9: for loop with one list variable does not work.
18503Solution: Use a separate flag for unpacking a list. (closes #8452)
18504Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18505
18506Patch 8.2.3052
18507Problem: Vim9: "legacy call" does not work.
18508Solution: Do not skip "call" after "legacy". (closes #8454)
18509Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18510
18511Patch 8.2.3053
18512Problem: Vim9: cannot assign to @@ in :def function
18513Solution: Handle '@' like '"'. (closes #8456)
18514Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18515
18516Patch 8.2.3054
18517Problem: Vim9: unpack assignment using "_" after semicolon fails.
18518Solution: Drop the expression result. (closes #8453)
18519Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18520
18521Patch 8.2.3055
18522Problem: Strange error for assigning to "x.key" on non-dictionary.
18523Solution: Add a specific error message. (closes #8451)
18524Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18525 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18526
18527Patch 8.2.3056
18528Problem: Vim9: using default value in lambda gives confusing error.
18529Solution: Pass "default_args" on the first pass to get the arguments.
18530 (closes #8455)
18531Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18532
18533Patch 8.2.3057
18534Problem: Vim9: debugger test fails with normal features and +terminal.
18535 (Dominique Pellé)
18536Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18537Files: src/vim9.h
18538
18539Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018540Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018541Solution: Do not use "==" for a default argument value. (closes #8462)
18542Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18543
18544Patch 8.2.3059 (after 8.2.3056)
18545Problem: Vim9: memory leak when using lambda.
18546Solution: Do not store the default value strings when skipping.
18547Files: src/userfunc.c
18548
18549Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018550Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018551Solution: Do not use "=~" for a default argument value. (closes #8462)
18552Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18553
18554Patch 8.2.3061
18555Problem: Testing the shell option is incomplete and spread out.
18556Solution: Move shell tests to one file and increase coverage. (Yegappan
18557 Lakshmanan, closes #8464)
18558Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18559 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18560 src/testdir/test_system.vim
18561
18562Patch 8.2.3062
18563Problem: Internal error when adding several text properties.
18564Solution: Do not handle text properties when deleting a line for splitting a
18565 data block. (closes #8466)
18566Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18567
18568Patch 8.2.3063
18569Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18570 undo file. (Martin Tournoij)
18571Solution: Disable reading undo file when decoding can't be done inplace.
18572 (issue #8467)
18573Files: src/fileio.c, src/bufwrite.c
18574
18575Patch 8.2.3064
18576Problem: Vim9: in script cannot set item in uninitialized list.
18577Solution: When a list is NULL allocate an empty one. (closes #8461)
18578Files: src/eval.c, src/testdir/test_vim9_assign.vim
18579
18580Patch 8.2.3065
18581Problem: Vim9: error when sourcing script twice and reusing a function
18582 name.
18583Solution: Check if the function is dead. (closes #8463)
18584Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18585
18586Patch 8.2.3066
18587Problem: Vim9: debugging lambda does not work.
18588Solution: Use the compile type of the function when compiling a lambda.
18589 (closes #8412)
18590Files: src/vim9compile.c, src/testdir/test_debugger.vim
18591
18592Patch 8.2.3067
18593Problem: Building fails with Athena. (Elimar Riesebieter)
18594Solution: Adjust #ifdefs and add the 'drop_file' feature.
18595Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18596
18597Patch 8.2.3068
18598Problem: Unicode tables are slightly outdated.
18599Solution: Update the tables for Unicode release 13. (Christian Brabandt
18600 closes #8430)
18601Files: runtime/tools/unicode.vim, src/mbyte.c
18602
18603Patch 8.2.3069
18604Problem: Error messages are spread out.
18605Solution: Move some error messages to errors.h. Use clearer names.
18606Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18607 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18608 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18609 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18610 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18611 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18612 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18613 src/vim9compile.c, src/window.c
18614
18615Patch 8.2.3070
18616Problem: Not enough testing for shell use.
18617Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18618Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18619
18620Patch 8.2.3071
18621Problem: Shell options are not set properly for PowerShell.
18622Solution: Use better option defaults. (Mike Williams, closes #8459)
18623Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18624 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18625 src/os_win32.c, src/testdir/test_shell.vim
18626
18627Patch 8.2.3072
18628Problem: The "zy" command does not work well when 'virtualedit' is set to
18629 "block". (Johann Höchtl)
18630Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18631 closes #8448)
18632Files: src/register.c, src/testdir/test_visual.vim
18633
18634Patch 8.2.3073
18635Problem: When cursor is moved for block append wrong text is inserted.
18636Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18637 closes #8288)
18638Files: src/ops.c, src/testdir/test_blockedit.vim,
18639 src/testdir/test_visual.vim
18640
18641Patch 8.2.3074
18642Problem: popup_atcursor() uses wrong position with concealing.
18643Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18644Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18645 src/ui.c, src/testdir/test_popupwin.vim,
18646 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18647
18648Patch 8.2.3075
18649Problem: Xxd always reports an old version string. (Ã…smund Ervik)
18650Solution: Update the version string with the last known change date.
18651 (Jürgen Weigert, closes #8475)
18652Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18653
18654Patch 8.2.3076
18655Problem: Vim9: using try in catch block causes a hang.
18656Solution: Save and restore the ec_in_catch flag. (closes #8478)
18657Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18658
18659Patch 8.2.3077
18660Problem: Vim9: an error in a catch block is not reported.
18661Solution: Put the "in catch" flag in the try stack. (closes #8478)
18662Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18663
18664Patch 8.2.3078
18665Problem: Vim9: profile test fails.
18666Solution: Make throw in :catch jump to :finally.
18667Files: src/vim9compile.c, src/vim9execute.c,
18668 src/testdir/test_vim9_script.vim
18669
18670Patch 8.2.3079
18671Problem: Powershell core not supported by default.
18672Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18673Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18674 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18675 src/misc2.c, src/option.c, src/os_win32.c,
18676 src/testdir/test_shell.vim
18677
18678Patch 8.2.3080
18679Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18680Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18681 closes #8479)
18682Files: src/testdir/test_recover.vim
18683
18684Patch 8.2.3081
18685Problem: Cannot catch errors in a channel command.
18686Solution: Instead of skipping the error make it silent. (closes #8477)
18687Files: src/channel.c
18688
18689Patch 8.2.3082
18690Problem: A channel command "echoerr" does not show anything.
18691Solution: Do not use silent errors when using an "echoerr" command.
18692 (closes #8494)
18693Files: src/channel.c, src/testdir/test_channel.py,
18694 src/testdir/test_channel.vim
18695
18696Patch 8.2.3083
18697Problem: Crash when passing null string to charclass().
18698Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18699 closes #8498, closes #8260)
18700Files: src/mbyte.c, src/testdir/test_functions.vim
18701
18702Patch 8.2.3084
18703Problem: Vim9: builtin function argument types are not checked at compile
18704 time.
18705Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18706Files: src/evalfunc.c, src/testdir/test_functions.vim,
18707 src/testdir/test_glob2regpat.vim,
18708 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
18709
18710Patch 8.2.3085
18711Problem: JSONC files are not recognized.
18712Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
18713Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18714
18715Patch 8.2.3086
18716Problem: Vim9: breakpoint on "for" does not work.
18717Solution: Use the right line number in ISN_DEBUG. (closes #8486)
18718Files: src/vim9compile.c, src/testdir/test_debugger.vim
18719
18720Patch 8.2.3087
18721Problem: Gemtext files are not recognized.
18722Solution: Recognize .gmi and .gemini files. (closes #8427)
18723Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18724
18725Patch 8.2.3088
18726Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
18727 using "$". (Marco Trosi)
18728Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
18729Files: src/drawscreen.c, src/testdir/test_visual.vim,
18730 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
18731
18732Patch 8.2.3089
18733Problem: Garbage collection has useless code.
18734Solution: Bail out when aborting. (closes #8504)
18735Files: src/userfunc.c
18736
18737Patch 8.2.3090
18738Problem: With concealing enabled and indirectly closing a fold the cursor
18739 may be somewhere in a folded line.
18740Solution: Recompute the cursor position when the cursor line can be
18741 concealed. (closes #8480)
18742Files: src/drawscreen.c
18743
18744Patch 8.2.3091
18745Problem: Vim9: default argument expression cannot use previous argument
18746Solution: Correct argument index. (closes #8496)
18747Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
18748
18749Patch 8.2.3092
18750Problem: Vim9: builtin function test fails without the +channel feature.
18751Solution: Check the +channel feature is supported. (Dominique Pellé,
18752 closes #8507)
18753Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
18754
18755Patch 8.2.3093
18756Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
18757Solution: Skip the test when using Athena. (closes #8508)
18758Files: src/testdir/test_gui.vim, src/testdir/check.vim
18759
18760Patch 8.2.3094
18761Problem: Test_popup_atcursor_pos() fails without the conceal feature.
18762Solution: Add a check for the conceal feature. (Dominique Pellé,
18763 closes #8505)
18764Files: src/testdir/test_popupwin.vim
18765
18766Patch 8.2.3095 (after 8.2.3088)
18767Problem: With 'virtualedit' set to "block" block selection is wrong after
18768 using "$". (Marco Trosi)
18769Solution: Compute the longest selected line. (closes #8495)
18770Files: src/drawscreen.c, src/testdir/test_visual.vim,
18771 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
18772
18773Patch 8.2.3096
18774Problem: Temp files remain after running tests.
18775Solution: Delete the right files. (Dominique Pellé, closes #8509)
18776Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
18777 src/testdir/test_visual.vim
18778
18779
18780Patch 8.2.3097
18781Problem: Crash when using "quit" at recovery prompt and autocommands are
18782 triggered.
18783Solution: Block autocommands when creating an empty buffer to use as the
18784 current buffer. (closes #8506)
18785Files: src/buffer.c, src/testdir/test_swap.vim
18786
18787Patch 8.2.3098
18788Problem: Popup window test is flaky on MS-Windows with GUI.
18789Solution: Skip the check in this situation.
18790Files: src/testdir/test_popupwin.vim
18791
18792Patch 8.2.3099
18793Problem: Vim9: missing catch/finally not reported at script level.
18794Solution: Give an error. (closes #8487)
18795Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
18796
18797Patch 8.2.3100
18798Problem: Vim9: no error when using type with unknown number of arguments.
18799Solution: Do not ignore argument count of -1. (closes #8492)
18800Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
18801 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
18802 src/testdir/test_vim9_func.vim
18803
18804Patch 8.2.3101
18805Problem: Missing function prototype for vim_round().
18806Solution: Add the prototype.
18807Files: src/proto/float.pro
18808
18809Patch 8.2.3102 (after 8.2.3097)
18810Problem: Test for crash fix does not fail without the fix.
18811Solution: Adjust the test sequence. (closes #8506)
18812Files: src/testdir/test_swap.vim
18813
18814Patch 8.2.3103 (after 8.2.3102)
18815Problem: Swap test may fail on some systems when jobs take longer to exit.
18816Solution: Use different file names.
18817Files: src/testdir/test_swap.vim
18818
18819Patch 8.2.3104
18820Problem: Vim9: unspecified function type causes type error.
18821Solution: Don't check type when min_argcount is negative. (issue #8492)
18822Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
18823
18824Patch 8.2.3105
18825Problem: Vim9: type of partial is wrong when it has arguments.
18826Solution: Subtract arguments from the count. (issue #8492)
18827Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
18828
18829Patch 8.2.3106
18830Problem: Vim9: confusing line number reported for error.
18831Solution: Use the start line number for the store instruction.
18832 (closes #8488)
18833Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18834
18835Patch 8.2.3107
18836Problem: Vim9: error for arguments while type didn't specify arguments.
18837Solution: Do not update that type to check when no argument count is
18838 specified. (closes #8492)
18839Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
18840
18841Patch 8.2.3108
18842Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
18843Solution: Check that $DISPLAY is set. (Christian Brabandt)
18844Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
18845 src/testdir/test_vim9_builtin.vim
18846
18847Patch 8.2.3109
18848Problem: Check for $DISPLAY never fails.
18849Solution: Use eval().
18850Files: src/testdir/check.vim
18851
18852Patch 8.2.3110
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018853Problem: A pattern that matches the cursor position is a bit complicated.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018854Solution: Use a dot to indicate the cursor line and column. (Christian
18855 Brabandt, closes #8497, closes #8179)
18856Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
18857 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
18858
18859Patch 8.2.3111
18860Problem: Vim9: confusing error with extra whitespace before colon.
18861Solution: Check for colon after white space. (closes #8513)
18862Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
18863
18864Patch 8.2.3112 (after 8.2.3090)
18865Problem: With concealing enabled and indirectly closing a fold the cursor
18866 may be somewhere in a folded line when it is not on the first line
18867 of the fold.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018868Solution: Check if the cursor is somewhere in the folded text.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018869Files: src/drawscreen.c
18870
18871Patch 8.2.3113
18872Problem: No error when for loop variable shadows script variable.
18873Solution: Check for the error. (closes #8512)
18874Files: src/eval.c, src/testdir/test_vim9_script.vim
18875
18876Patch 8.2.3114
18877Problem: Amiga-like systems: build error checking for running process
18878Solution: Only build swapfile_process_running() on systems where it is
18879 actually used. (Ola Söder, closes #8519)
18880Files: src/memline.c
18881
18882Patch 8.2.3115
18883Problem: Coverity complains about free_wininfo() use.
18884Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
18885Files: src/window.c
18886
18887Patch 8.2.3116
18888Problem: Vim9: crash when debugging a function with line continuation.
18889Solution: Check for a NULL pointer. (closes #8521)
18890Files: src/vim9execute.c, src/testdir/test_debugger.vim
18891
18892Patch 8.2.3117
18893Problem: Vim9: type not properly checked in for loop.
18894Solution: Have items() return a list of lists. Add runtime type checks.
18895 (closes #8515)
18896Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
18897 src/testdir/test_vim9_script.vim
18898
18899Patch 8.2.3118
18900Problem: Vim9: "any" type not handled correctly in for loop.
18901Solution: Change compile time check into runtime check. (closes #8516)
18902Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18903
18904Patch 8.2.3119
18905Problem: Compiler warning for unused argument.
18906Solution: Add UNUSED.
18907Files: src/evalfunc.c
18908
18909Patch 8.2.3120
18910Problem: Crypt with sodium test fails on MS-Windows.
18911Solution: Make the tests pass. (closes #8428)
18912Files: src/testdir/test_crypt.vim
18913
18914Patch 8.2.3121
18915Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
18916 separator is missing. (Leonid V. Fedorenchik)
18917Solution: Only draw the "exceeds" character in the text area. Break the
18918 loop when not drawing the text. (closes #8524)
18919Files: src/drawline.c, src/testdir/test_listchars.vim,
18920 src/testdir/dumps/Test_listchars_01.dump,
18921 src/testdir/dumps/Test_listchars_02.dump,
18922 src/testdir/dumps/Test_listchars_03.dump,
18923 src/testdir/dumps/Test_listchars_04.dump,
18924 src/testdir/dumps/Test_listchars_05.dump
18925
18926Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018927Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018928 (Leonid V. Fedorenchik)
18929Solution: Put cursor on the last non-empty line. (closes #8525)
18930Files: src/move.c, src/testdir/test_listchars.vim,
18931 src/testdir/dumps/Test_listchars_06.dump,
18932 src/testdir/dumps/Test_listchars_07.dump
18933
18934Patch 8.2.3123
18935Problem: Vim9: confusing error when using white space after option, before
18936 one of "!&<".
18937Solution: Give a specific error. (issue #8408)
18938Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
18939
18940Patch 8.2.3124
18941Problem: Vim9: no error for white space between option and "=9".
18942Solution: Check for extraneous white space. (issue #8408)
18943Files: src/option.c, src/testdir/test_vim9_script.vim
18944
18945Patch 8.2.3125
18946Problem: Variables are set but not used.
18947Solution: Move the declarations to the block where they are used.
18948 (closes #8527)
18949Files: src/regexp_nfa.c
18950
18951Patch 8.2.3126
18952Problem: Vim9: for loop error reports wrong line number.
18953Solution: Save and restore the line number when evaluating the expression.
18954 (closes #8514)
18955Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
18956
18957Patch 8.2.3127
18958Problem: Vim9: no error when adding number to list of string.
18959Solution: Check the value type. (closes #8529)
18960Files: src/list.c, src/testdir/test_vim9_builtin.vim
18961
18962Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018963Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018964Solution: Set the type when initializing the variable. (closes #8529)
18965Files: src/eval.c, src/evalvars.c, src/vim9script.c,
18966 src/userfunc.c, src/proto/vim9script.pro,
18967 src/testdir/test_vim9_builtin.vim
18968
18969Patch 8.2.3129
18970Problem: Vim9: imported uninitialized list does not get type checked.
18971Solution: Get type from imported variable.
18972Files: src/eval.c, src/evalvars.c, src/vim9script.c,
18973 src/proto/vim9script.pro, src/userfunc.c,
18974 src/testdir/test_vim9_script.vim
18975
18976Patch 8.2.3130
18977Problem: Vim9: import test fails.
18978Solution: Rename directory back to "import", use "p" to avoid an error when
18979 the directory already exists.
18980Files: src/testdir/test_vim9_script.vim
18981
18982Patch 8.2.3131
18983Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
18984Solution: Skip the test.
18985Files: src/testdir/test_channel.vim
18986
18987Patch 8.2.3132
18988Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
18989 Morris)
18990Solution: Add a type cast.
18991Files: src/drawscreen.c
18992
18993Patch 8.2.3133
18994Problem: Vim9: memory leak when add() fails.
18995Solution: Allocate listitem_T after type check.
18996Files: src/list.c
18997
18998Patch 8.2.3134
18999Problem: Crash when using typename() on a function reference. (Naohiro Ono)
19000Solution: Initialize pointer to NULL. (closes #8531)
19001Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19002
19003Patch 8.2.3135
19004Problem: Vim9: builtin function arguments not checked at compile time.
19005Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19006Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19007 src/terminal.c, src/testdir/test_search.vim,
19008 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19009 src/testing.c, src/textprop.c, src/typval.c
19010
19011Patch 8.2.3136
19012Problem: No test for E187 and "No swap file".
19013Solution: Add a test. (Dominique Pellé, closes #8540)
19014Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19015
19016Patch 8.2.3137
19017Problem: Vim9: no error when a line only has a variable name.
19018Solution: Give an error when an expression is evaluated without an effect.
19019 (closes #8538)
19020Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19021 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19022 src/testdir/test_vim9_func.vim
19023
19024Patch 8.2.3138 (after 8.2.3137)
19025Problem: Debugger test fails.
19026Solution: Adjust eval command.
19027Files: src/testdir/test_debugger.vim
19028
19029Patch 8.2.3139
19030Problem: Functions for string manipulation are spread out.
19031Solution: Move string related functions to a new source file. (Yegappan
19032 Lakshmanan, closes #8470)
19033Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19034 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19035 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19036 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19037 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19038 src/proto/strings.pro, src/strings.c
19039
19040Patch 8.2.3140 (after 8.2.3131)
19041Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19042Solution: Skip the test also without the GUI.
19043Files: src/testdir/test_channel.vim
19044
19045Patch 8.2.3141
19046Problem: No error when using :complete for :command without -nargs.
19047Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19048Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19049
19050Patch 8.2.3142
19051Problem: Vim9: type check for has_key() argument is too strict.
19052Solution: Also allow for a number key argument. (closes #8542)
19053Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19054
19055Patch 8.2.3143
19056Problem: Vim9: A lambda may be compiled with the wrong context if it is
19057 called from a profiled function.
19058Solution: Compile the lambda with and without profiling. (closes #8543)
19059Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19060
19061Patch 8.2.3144
19062Problem: Vim9: no error when using an invalid value for a line number.
19063Solution: Give an error if the string value is not recognized.
19064 (closes #8536)
19065Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19066
19067Patch 8.2.3145
19068Problem: Vim9: profile test fails without profile feature.
19069Solution: Check the profile feature is present.
19070Files: src/testdir/test_vim9_script.vim
19071
19072Patch 8.2.3146
19073Problem: Vim9: line number wrong for :execute argument.
19074Solution: Use the line number of the :execute command itself. (closes #8537)
19075Files: src/eval.c, src/testdir/test_vim9_script.vim
19076
19077Patch 8.2.3147
19078Problem: Vim9: profiling does not work with a nested function.
19079Solution: Also compile a nested function without profiling. (closes #8543)
19080 Handle that compiling may cause the table of compiled functions to
19081 change.
19082Files: src/vim9compile.c, src/vim9execute.c,
19083 src/testdir/test_vim9_script.vim
19084
19085Patch 8.2.3148
19086Problem: Vim9: function arg type check does not handle base offset.
19087Solution: Take the base offset into account when checking builtin function
19088 argument types.
19089Files: src/evalfunc.c, src/vim9compile.c,
19090 src/testdir/test_vim9_builtin.vim
19091
19092Patch 8.2.3149 (after 8.2.3141)
19093Problem: Some plugins have a problem with the error check for using
19094 :command with -complete but without -nargs.
19095Solution: In legacy script only give a warning message.
19096Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19097 src/testdir/test_usercommands.vim
19098
19099Patch 8.2.3150
19100Problem: Vim9: argument types are not checked at compile time.
19101Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19102Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19103
19104Patch 8.2.3151
19105Problem: Vim9: profiling fails if nested function is also profiled.
19106Solution: Use the compile type from the outer function. (closes #8543)
19107Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19108
19109Patch 8.2.3152
19110Problem: Vim9: accessing "s:" results in an error.
19111Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19112Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19113
19114Patch 8.2.3153
19115Problem: URLs with a dash in the scheme are not recognized.
19116Solution: Allow for a scheme with a dash, but not at the start or end.
19117 (Tsuyoshi CHO, closes #8299)
19118Files: src/misc1.c, src/testdir/test_buffer.vim
19119
19120Patch 8.2.3154
19121Problem: Vim9: some type checks for builtin functions fail.
19122Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19123 closes #8550)
19124Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19125
19126Patch 8.2.3155
19127Problem: Some option related code not covered by tests.
19128Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19129Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19130
19131Patch 8.2.3156
19132Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19133Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19134Files: src/testdir/test_vim9_builtin.vim
19135
19136Patch 8.2.3157
19137Problem: Crypt test may fail on MS-Windows.
19138Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19139 closes #8561)
19140Files: src/testdir/test_crypt.vim
19141
19142Patch 8.2.3158
19143Problem: Strange error message when using islocked() with a number.
19144 (Yegappan Lakshmanan)
19145Solution: Check that the name is empty.
19146Files: src/evalfunc.c, src/testdir/test_functions.vim
19147
19148Patch 8.2.3159
19149Problem: Cursor displayed in wrong position after deleting line.
19150Solution: When deleting lines do not approximate botline. (fixes #8559)
19151Files: src/change.c
19152
19153Patch 8.2.3160
19154Problem: 'breakindent' does not work well for bulleted and numbered lists.
19155Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19156 closes #8564, closes #1661)
19157Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19158 src/testdir/test_breakindent.vim
19159
19160Patch 8.2.3161
19161Problem: Vim9: no error when reltime() has invalid arguments.
19162Solution: Add an error. (closes #8562)
19163Files: src/time.c, src/testdir/test_vim9_builtin.vim
19164
19165Patch 8.2.3162
19166Problem: Vim9: argument types are not checked at compile time.
19167Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19168Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19169 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19170 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19171 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19172 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19173 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19174 src/time.c, src/typval.c
19175
19176Patch 8.2.3163
19177Problem: Location list window may open a wrong file.
19178Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19179 closes #8566)
19180Files: src/quickfix.c, src/testdir/test_quickfix.vim
19181
19182Patch 8.2.3164
19183Problem: MS-Windows: reported version lacks patchlevel, causing some update
19184 tools to update too often. (Klaus Frank)
19185Solution: Add the patchlevel to the version. (Christian Brabandt)
19186Files: src/dosinst.c
19187
19188Patch 8.2.3165
19189Problem: Vim9: in a || expression the error line number may be wrong.
19190Solution: Save and restore the line number when checking the type.
19191 (closes #8569)
19192Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19193
19194Patch 8.2.3166
19195Problem: Vim9: nested autoload call error overruled by "Unknown error".
19196Solution: Check need_rethrow before giving an "Unknown error".
19197 (closes #8568)
19198Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19199
19200Patch 8.2.3167
19201Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19202Solution: Use the sandbox only for executing a command, not for searching.
19203 (closes #8511)
19204Files: src/tag.c
19205
19206Patch 8.2.3168
19207Problem: Vim9: type error for constant of type any.
19208Solution: Do add a runtime type check if a constant has type any.
19209 (closes #8570)
19210Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19211
19212Patch 8.2.3169
19213Problem: Vim9: cannot handle nested inline function.
19214Solution: Check for nested inline function. (closes #8575)
19215Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19216 src/testdir/test_vim9_expr.vim
19217
19218Patch 8.2.3170
19219Problem: Illegal memory access in test.
19220Solution: Check pointer is not before the start of the line.
19221Files: src/userfunc.c
19222
19223Patch 8.2.3171
19224Problem: Another illegal memory access in test.
19225Solution: Check pointer is after the start of the line.
19226Files: src/userfunc.c
19227
19228Patch 8.2.3172
19229Problem: MzScheme test fails. (Christian Brabandt)
19230Solution: Correct function name.
19231Files: src/testdir/test_vim9_builtin.vim
19232
19233Patch 8.2.3173
19234Problem: Vim9: argument types are not checked at compile time.
19235Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19236Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19237 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19238 src/testdir/test_vim9_builtin.vim, src/typval.c
19239
19240Patch 8.2.3174
19241Problem: Vim9: "legacy undo" finds "undo" variable.
19242Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19243Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19244
19245Patch 8.2.3175
19246Problem: Vim9: using illegal pointer with inline function inside a lambda.
19247Solution: Clear eval_tofree_cmdline when advancing to the next line.
19248 (closes #8578)
19249Files: src/eval.c, src/testdir/test_vim9_func.vim
19250
19251Patch 8.2.3176
19252Problem: Vim9: no type error for comparing number with string.
19253Solution: Add a runtime type check. (closes #8571)
19254Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19255
19256Patch 8.2.3177
19257Problem: Vim9: can not use "for _ in expr" at script level.
19258Solution: Skip assignment if the loop variable is "_".
19259Files: src/eval.c, src/testdir/test_vim9_script.vim
19260
19261Patch 8.2.3178
19262Problem: Vim9: the file name of an :import cannot be an expression.
19263Solution: Accept an expression that results in a string. Do not support
19264 :import in a function.
19265Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19266 src/testdir/test_vim9_script.vim
19267
19268Patch 8.2.3179
19269Problem: Vim9: cannot assign to an imported variable at script level.
19270Solution: Lookup imported items when assigning.
19271Files: src/evalvars.c, src/errors.h, src/eval.c,
19272 src/testdir/test_vim9_script.vim
19273
19274Patch 8.2.3180
19275Problem: Vim9: memory leak when concatenating to an imported string.
19276Solution: Clear the destination.
19277Files: src/evalvars.c
19278
19279Patch 8.2.3181
19280Problem: Vim9: builtin function test fails without channel feature.
19281Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19282 checks more consistent.
19283Files: src/testdir/test_vim9_builtin.vim
19284
19285Patch 8.2.3182
19286Problem: Vim9: crash when using removing items from a constant list.
19287 (Yegappan Lakshmanan)
19288Solution: When a list was allocated with items copy them.
19289Files: src/list.c, src/testdir/test_vim9_builtin.vim
19290
19291Patch 8.2.3183
19292Problem: Duplicate error numbers.
19293Solution: Adjust the error numbers.
19294Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19295
19296Patch 8.2.3184
19297Problem: Cannot add a digraph with a leading space. It is not easy to list
19298 existing digraphs.
19299Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19300 getdigraphlist(). (closes #8580)
19301Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19302 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19303 src/ex_docmd.c, src/globals.h, src/errors.h,
19304 src/proto/digraph.pro, src/testdir/test_digraph.vim
19305
19306Patch 8.2.3185
19307Problem: Vim9: start of inline function found in comment line.
19308Solution: Do not check for inline function in comment line. (closes #8589)
19309Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19310
19311Patch 8.2.3186
19312Problem: Vim9: not all failures for import tested
19313Solution: Test more import failures
19314Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19315
19316Patch 8.2.3187
19317Problem: Vim9: popup timer callback is not compiled.
19318Solution: Compile the callback when creating the timer.
19319Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19320
19321Patch 8.2.3188
19322Problem: Vim9: argument types are not checked at compile time.
19323Solution: Add several more type checks, also at runtime. (Yegappan
19324 Lakshmanan, closes #8587)
19325Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19326 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19327 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19328 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19329 src/job.c, src/list.c, src/map.c, src/match.c,
19330 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19331 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19332 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19333 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19334
19335Patch 8.2.3189
19336Problem: Vim9: error when using "try|".
19337Solution: Allow for "|" right after a command.
19338Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19339
19340Patch 8.2.3190
19341Problem: Error messages are spread out.
19342Solution: Move error messages to errors.h and give them a clear name.
19343Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19344 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19345 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19346 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19347 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19348 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19349 src/userfunc.c, src/vim9execute.c, src/window.c
19350
19351Patch 8.2.3191
19352Problem: Vim9: not enough code is tested.
19353Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19354 problems.
19355Files: src/vim9compile.c, src/vim9execute.c,
19356 src/testdir/test_listdict.vim
19357
19358Patch 8.2.3192 (after 8.2.3190)
19359Problem: Build failure with small version (Tony Mechelynck).
19360Solution: Remove stray #ifdef.
19361Files: src/errors.h
19362
19363Patch 8.2.3193
19364Problem: screenpos() is wrong when the last line is partially visible and
19365 'display' is "lastline".
19366Solution: Also compute the position for a partially visible line.
19367 (closes #8599)
19368Files: src/move.c, src/testdir/test_cursor_func.vim
19369
19370Patch 8.2.3194
19371Problem: Vim9: argument types are not checked at compile time.
19372Solution: Add several more type checks, simplify some. (Yegappan
19373 Lakshmanan, closes #8598)
19374Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19375 src/proto/typval.pro, src/sign.c, src/terminal.c,
19376 src/testdir/test_vim9_builtin.vim, src/typval.c
19377
19378Patch 8.2.3195
19379Problem: Vim9: unclear error when passing too many arguments to lambda.
19380Solution: Pass the expression itself instead of "[expression]".
19381 (closes #8604)
19382Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19383
19384Patch 8.2.3196
19385Problem: Vim9: bool expression with numbers only fails at runtime.
19386Solution: Check constant to be bool at compile time. (closes #8603)
19387Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19388
19389Patch 8.2.3197
19390Problem: Error messages are spread out.
19391Solution: Move a few more error messages to errors.h.
19392Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19393 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19394 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19395 src/vim9compile.c, src/vim9script.c
19396
19397Patch 8.2.3198
19398Problem: Cannot use 'formatlistpat' for breakindent.
19399Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19400Files: runtime/doc/options.txt, src/indent.c,
19401 src/testdir/test_breakindent.vim
19402
19403Patch 8.2.3199
19404Problem: Vim9: execution speed can be improved.
19405Solution: Make the break counter static.
19406Files: src/vim9execute.c
19407
19408Patch 8.2.3200
19409Problem: Vim9: hard to guess where a type error is given.
19410Solution: Add the function name where possible. (closes #8608)
19411Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19412 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19413 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19414 src/errors.h, src/testdir/test_vim9_builtin.vim
19415
19416Patch 8.2.3201 (after 8.2.3200)
19417Problem: Crash in test.
19418Solution: Initialize "where".
19419Files: src/eval.c, src/evalvars.c
19420
19421Patch 8.2.3202
19422Problem: Vim9: tests are only executed for legacy script.
19423Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19424Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19425
19426Patch 8.2.3203
19427Problem: Vim9: compiled string expression causes type error. (Yegappan
19428 Lakshmanan)
19429Solution: Remove the string type from the stack.
19430Files: src/vim9compile.c, src/evalfunc.c
19431
19432Patch 8.2.3204
19433Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19434 Dupras)
19435Solution: Avoid inserting lines twice. (closes #7255)
19436Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19437 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19438 src/testdir/dumps/Test_cursorline_redraw_2.dump
19439
19440Patch 8.2.3205
19441Problem: Coverity reports a null pointer dereference.
19442Solution: Change the logic to avoid Coverity gets confused.
19443Files: src/vim9compile.c
19444
19445Patch 8.2.3206
19446Problem: Vim9: argument types are not checked at compile time.
19447Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19448Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19449 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19450 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19451 src/proto/typval.pro, src/sign.c, src/terminal.c,
19452 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19453 src/typval.c
19454
19455Patch 8.2.3207
19456Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19457Solution: Adjust the type stack length.
19458Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19459
19460Patch 8.2.3208
19461Problem: Dynamic library load error does not mention why it failed.
19462Solution: Add the error message. (Martin Tournoij, closes #8621)
19463Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19464 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19465 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19466 src/terminal.c
19467
19468Patch 8.2.3209
19469Problem: Vim9: lambda doesn't find block-local variable.
19470Solution: Adjust how a script-local variable is found. (closes #8614)
19471Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19472
19473Patch 8.2.3210
19474Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19475 Lakshmanan)
19476Solution: Only compile the fifth argument.
19477Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19478
19479Patch 8.2.3211
19480Problem: Vim9: argument types are not checked at compile time.
19481Solution: Add several more type checks. Fix type check for matchaddpos().
19482 (Yegappan Lakshmanan, closes #8619)
19483Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19484 src/job.c, src/proto/typval.pro,
19485 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19486
19487Patch 8.2.3212
19488Problem: Vim9: execution speed can be improved.
19489Solution: Use __builtin_expect() to have the compiler produce better code.
19490 (Dominique Pellé, closes #8613)
19491Files: src/vim9execute.c
19492
19493Patch 8.2.3213
19494Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19495Solution: Add a test. (Dominique Pellé, closes #8624)
19496Files: src/testdir/test_spellfile.vim
19497
19498Patch 8.2.3214
19499Problem: MS-Windows: passing /D does not set the install location.
19500Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019501 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019502Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19503
19504Patch 8.2.3215
19505Problem: Vim9: argument types are not checked at compile time.
19506Solution: Add several more type checks. Sort the argument lists.
19507 (Yegappan Lakshmanan, closes #8626)
19508Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19509 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19510 src/testing.c
19511
19512Patch 8.2.3216
19513Problem: Vim9: crash when using variable in a loop at script level.
19514Solution: Do not clear the variable if a function was defined.
19515 Do not create a new entry in sn_var_vals every time.
19516 (closes #8628)
19517Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19518 src/evalvars.c, src/structs.h
19519
19520Patch 8.2.3217 (after 8.2.3216)
19521Problem: Build failure.
19522Solution: Add missing changes.
19523Files: src/globals.h
19524
19525Patch 8.2.3218
19526Problem: When using xchaha20 crypt undo file is not removed.
19527Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19528 closes #8630, closes #8467)
19529Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19530 src/testdir/test_crypt.vim, src/undo.c
19531
19532Patch 8.2.3219
19533Problem: :find searches non-existing directories.
19534Solution: Check the path is not "..". Update help. (Christian Brabandt,
19535 closes #8612, closes #8533)
19536Files: runtime/doc/editing.txt, src/findfile.c,
19537 src/testdir/test_findfile.vim
19538
19539Patch 8.2.3220
19540Problem: Test_term_setansicolors() fails in some configurations.
19541Solution: Check available features. (Dominique Pellé, closes #8636)
19542Files: src/testdir/test_vim9_builtin.vim
19543
19544Patch 8.2.3221
19545Problem: Vim9: argument types are not checked at compile time.
19546Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19547Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19548 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19549 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19550
19551Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019552Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019553Solution: When not in function context check the current block ID.
19554 (closes #8637)
19555Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19556
19557Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019558Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019559Solution: Allow using {} block when text is locked. (closes #8631)
19560Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19561
19562Patch 8.2.3224
19563Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19564 Robinson)
19565Solution: Skip over "<SNR>123".
19566Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19567
19568Patch 8.2.3225
19569Problem: Incsearch highlighting is attempted halfway a mapping.
19570Solution: Only do incsearch highlighting if keys were typed or there is no
19571 more typeahead.
19572Files: src/ex_getln.c
19573
19574Patch 8.2.3226
19575Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019576Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019577Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19578 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19579 src/evalfunc.c, src/proto/digraph.pro,
19580 src/testdir/test_digraph.vim
19581
19582Patch 8.2.3227
19583Problem: 'virtualedit' can only be set globally.
19584Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19585Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19586 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19587 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19588 src/optionstr.c, src/proto/option.pro, src/register.c,
19589 src/structs.h, src/testdir/test_virtualedit.vim
19590
19591Patch 8.2.3228
19592Problem: Cannot use a simple block for the :command argument. (Maarten
19593 Tournoij)
19594Solution: Recognize a simple {} block. (issue #8623)
19595Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19596 src/usercmd.c, src/testdir/test_usercommands.vim
19597
19598Patch 8.2.3229
19599Problem: Vim9: runtime and compile time type checks are not the same.
19600Solution: Add more runtime type checks for builtin functions. (Yegappan
19601 Lakshmanan, closes #8646)
19602Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19603 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19604 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19605 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19606 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19607 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19608 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19609 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19610 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19611 src/sound.c, src/strings.c, src/terminal.c,
19612 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19613 src/testdir/test_execute_func.vim,
19614 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19615 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19616 src/testdir/test_vim9_builtin.vim,
19617 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19618 src/time.c, src/typval.c, src/undo.c
19619
19620Patch 8.2.3230
19621Problem: Vim9: type error when function return type is not known yet.
19622Solution: When return type is unknown, use "any". (closes #8644)
19623Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19624
19625Patch 8.2.3231
19626Problem: Build failure with small features.
19627Solution: Adjust #ifdef.
19628Files: src/errors.h
19629
19630Patch 8.2.3232 (after 8.2.3229)
19631Problem: system() does not work without a second argument.
19632Solution: Do not require a second argument. (Yegappan Lakshmanan,
19633 closes #8651, closes #8650)
19634Files: src/misc1.c, src/proto/typval.pro,
19635 src/testdir/test_vim9_builtin.vim, src/typval.c
19636
19637Patch 8.2.3233
19638Problem: prop_list() and prop_find() do not indicate the buffer for the
19639 used type.
19640Solution: Add "type_bufnr" to the results. (closes #8647)
19641Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19642 src/textprop.c
19643
19644Patch 8.2.3234
19645Problem: Crash when printing long string with Lua.
19646Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19647Files: src/if_lua.c, src/testdir/test_lua.vim
19648
19649Patch 8.2.3235
19650Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19651Solution: Do not go over the end of the lambda.
19652Files: src/userfunc.c, src/testdir/test_usercommands.vim
19653
19654Patch 8.2.3236
19655Problem: mode() does not indicate using CTRL-O in Select mode.
19656Solution: Use "vs" and similar. (closes #8640)
19657Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19658 src/testdir/test_functions.vim
19659
19660Patch 8.2.3237
19661Problem: When a builtin function gives an error processing continues.
19662Solution: In Vim9 script return FAIL in get_func_tv().
19663Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19664
19665Patch 8.2.3238
19666Problem: Vim9: error message does not indicate the location.
19667Solution: Add the relevant text. (issue #8634)
19668Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19669
19670Patch 8.2.3239
19671Problem: Vim9: no error using heredoc for a number variable.
19672Solution: Add a type check. (closes #8627)
19673Files: src/vim9compile.c, src/evalvars.c,
19674 src/testdir/test_vim9_assign.vim
19675
19676Patch 8.2.3240
19677Problem: Lua print() does not work properly.
19678Solution: Put back lua_pop().
19679Files: src/if_lua.c, src/testdir/test_lua.vim
19680
19681Patch 8.2.3241
19682Problem: Vim9: memory leak when function reports an error.
19683Solution: Clear the return value.
19684Files: src/userfunc.c
19685
19686Patch 8.2.3242
19687Problem: Vim9: valgrind reports leaks in builtin function test.
19688Solution: Do not start a job.
19689Files: src/testdir/test_vim9_builtin.vim
19690
19691Patch 8.2.3243
19692Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19693 useful.
19694Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19695 closes #8645)
19696Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19697
19698Patch 8.2.3244
19699Problem: Lua 5.3 print() with a long string crashes.
19700Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19701 closes #8655)
19702Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19703
19704Patch 8.2.3245
19705Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019706Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019707 closes #8657)
19708Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
19709 src/memline.c, src/vim.h
19710
19711Patch 8.2.3246
19712Problem: Memory use after free.
19713Solution: When clearing a string option set the pointer to "empty_option".
19714Files: src/option.c
19715
19716Patch 8.2.3247
19717Problem: Using uninitialized memory when checking for crypt method.
19718Solution: Check the header length before using the salt and seed.
19719Files: src/fileio.c
19720
19721Patch 8.2.3248
19722Problem: Vim9: error message for wrong input uses wrong line number.
19723Solution: Use the line number of the start of the command. (issue #8653)
19724Files: src/vim9script.c, src/testdir/test_vim9_script.vim
19725
19726Patch 8.2.3249
19727Problem: Vim9: error for re-imported function with default argument.
19728Solution: Do not check argument type if it is still unknown. (closes #8653)
19729Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
19730 src/vim.h, src/eval.c, src/vim9execute.c,
19731 src/testdir/test_vim9_script.vim
19732
19733Patch 8.2.3250
19734Problem: MS-Windows: cannot build with libsodium.
19735Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
19736 closes #8668, closes #8663)
19737Files: src/Make_mvc.mak
19738
19739Patch 8.2.3251
19740Problem: Listing builtin_gui as an available terminal is confusing.
19741Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
19742 closes #8661)
19743Files: src/term.c, src/testdir/test_termcodes.vim
19744
19745Patch 8.2.3252
19746Problem: Duplicated code for adding buffer lines.
19747Solution: Move code to a common function. Also move map functions to map.c.
19748 (Yegappan Lakshmanan, closes #8665)
19749Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
19750
19751Patch 8.2.3253
19752Problem: Channel test fails randomly.
19753Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
19754Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
19755
19756Patch 8.2.3254
19757Problem: win_gettype() does not recognize a quickfix window.
19758Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
19759Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
19760 src/testdir/test_quickfix.vim
19761
19762Patch 8.2.3255
19763Problem: ci" finds following string but ci< and others don't.
19764Solution: When not inside an object find the start. (Connor Lane Smit,
19765 closes #8670)
19766Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
19767
19768Patch 8.2.3256
19769Problem: Executable test may fail on new Ubuntu system.
19770Solution: Consider /usr/bin/cat and /bin/cat the same.
19771Files: src/testdir/test_functions.vim
19772
19773Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019774Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019775 Ono)
19776Solution: When passing -1 use -2. (closes #8674)
19777Files: src/textprop.c, src/testdir/test_textprop.vim
19778
19779Patch 8.2.3258
19780Problem: Error messages have the wrong text.
19781Solution: Adjust the error message.
19782Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
19783
19784Patch 8.2.3259
19785Problem: When 'indentexpr' causes an error the did_throw flag may remain
19786 set.
19787Solution: Reset did_throw and show the error. (closes #8677)
19788Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
19789
19790Patch 8.2.3260
19791Problem: Build failure with small features.
19792Solution: Add #ifdef.
19793Files: src/ex_docmd.c
19794
19795Patch 8.2.3261
19796Problem: Vim9: when compiling repeat(123, N) return type is number.
19797Solution: Make return type a string. (closes #8664)
19798Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19799
19800Patch 8.2.3262
19801Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
19802Solution: Adjust how estack_len_before is used.
19803Files: src/ex_docmd.c
19804
19805Patch 8.2.3263
19806Problem: Vim9: "..=" does not accept same types as the ".." operator.
19807Solution: Convert value to string like ".." does. (issue #8664)
19808Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
19809 src/testdir/test_vim9_disassemble.vim
19810
19811Patch 8.2.3264 (after 8.2.3263)
19812Problem: Vim9: assign test fails.
19813Solution: Add missing change.
19814Files: src/eval.c
19815
19816Patch 8.2.3265
19817Problem: Smartcase does not work correctly in very magic pattern.
19818Solution: Take the magicness into account when skipping over regexp items.
19819 (Christian Brabandt, closes #8682, closes #7845)
19820Files: src/search.c, src/testdir/test_search.vim
19821
19822Patch 8.2.3266
19823Problem: Vim9: assignment with two indexes may check next line.
19824Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019825 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019826Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19827
19828Patch 8.2.3267
19829Problem: Vim9: crash when disassembling a function that uses a deleted
19830 script variable.
19831Solution: Check the variable still exists. (closes #8683)
19832Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
19833
19834Patch 8.2.3268
19835Problem: Cannot use a block with :autocmd like with :command.
19836Solution: Add support for a {} block after :autocmd. (closes #8620)
19837Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
19838 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
19839 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
19840
19841Patch 8.2.3269
19842Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
19843Solution: Handle getting return type without arguments. Correct the minimal
19844 number of arguments for what is included in the partial.
19845 (closes #8667)
19846Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
19847
19848Patch 8.2.3270
19849Problem: prop_find() finds property with ID -2.
19850Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
19851Files: src/textprop.c
19852
19853Patch 8.2.3271
19854Problem: Vim9: cannot use :command or :au with a block in a :def function.
19855Solution: Recognize the start of the block.
19856Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
19857 src/proto/ex_docmd.pro, src/vim9compile.c,
19858 src/testdir/test_vim9_script.vim
19859
19860Patch 8.2.3272
19861Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
19862Solution: Also accept id zero.
19863Files: src/textprop.c, src/testdir/test_textprop.vim
19864
19865Patch 8.2.3273
19866Problem: Autocmd test fails.
19867Solution: Require white space before the "{" that starts a block.
19868Files: src/userfunc.c
19869
19870Patch 8.2.3274
19871Problem: Macro for printf format check can be simplified.
19872Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
19873Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
19874 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
19875 src/vim9execute.c
19876
19877Patch 8.2.3275
19878Problem: Optimizer can use hints about ga_grow() normally succeeding.
19879Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
19880 Pellé, issue #8635)
19881Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
19882
19883Patch 8.2.3276
19884Problem: Vim9: exists() can only be evaluated at runtime.
19885Solution: Evaluate at compile time for option name literals. (closes #8437)
19886Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
19887 src/testdir/test_vim9_builtin.vim
19888
19889Patch 8.2.3277 (after 8.2.3276)
19890Problem: Vim9: compiled has() does not work properly.
19891Solution: Fix check for has() vs exists().
19892Files: src/vim9compile.c
19893
19894Patch 8.2.3278
19895Problem: Vim9: error when adding 1 to float.
19896Solution: Accept t_number_bool. (closes #8687)
19897Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19898
19899Patch 8.2.3279
19900Problem: Vim9: cannot use block in cmdline window.
19901Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
19902Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
19903
19904Patch 8.2.3280
19905Problem: 'virtualedit' local to buffer is not the best solution.
19906Solution: Make it window-local. (Gary Johnson, closes #8685)
19907Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
19908 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
19909 src/structs.h, src/testdir/test_virtualedit.vim
19910
19911Patch 8.2.3281
19912Problem: Vim9: TODO items in tests can be taken care of.
19913Solution: Update test for now working functionality. (closes #8694)
19914Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
19915 src/testdir/test_vim9_script.vim
19916
19917Patch 8.2.3282
19918Problem: Vim9: error about using -complete without -nargs is confusing.
19919Solution: Change the wording.
19920Files: src/usercmd.c, src/errors.h
19921
19922Patch 8.2.3283
19923Problem: Julia filetype is not recognized
19924Solution: Add filetype detection. (Christian Clason, closes #8700)
19925Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19926
19927Patch 8.2.3284
19928Problem: No error for insert() or remove() changing a locked blob.
19929Solution: Check a blob is not locked before changing it. (Sean Dewar,
19930 closes #8696)
19931Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
19932 src/proto/blob.pro, src/testdir/test_blob.vim,
19933 src/testdir/test_eval_stuff.vim
19934
19935Patch 8.2.3285
19936Problem: Scdoc filetype is not recognized.
19937Solution: Add filetype detection. (Gregory Anders, closes #8701)
19938Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19939
19940Patch 8.2.3286
19941Problem: win_enter_ext() has too many boolean arguments.
19942Solution: use one flags argument with defined values.
19943Files: src/window.c
19944
19945Patch 8.2.3287
19946Problem: Channel events not handled in BufEnter autocommand.
19947Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
19948Files: src/window.c, src/testdir/test_channel.vim
19949
19950Patch 8.2.3288
19951Problem: Cannot easily access namespace dictionaries from Lua.
19952Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
19953 from NeoVim)
19954Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
19955
19956Patch 8.2.3289 (after 8.2.3287)
19957Problem: Compiler warning for unused variable with small features.
19958Solution: Rearrange #ifdefs.
19959Files: src/window.c
19960
19961Patch 8.2.3290
19962Problem: Vim9: compiling dict may use pointer after free and leak memory on
19963 failure.
19964Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
19965Files: src/vim9compile.c
19966
19967Patch 8.2.3291
19968Problem: Coverity warns for not checking return value.
19969Solution: If dict_add() fails give an error message.
19970Files: src/if_lua.c, src/testdir/test_lua.vim
19971
19972Patch 8.2.3292
19973Problem: Underscore in very magic pattern causes a hang. Pattern with \V
19974 are case sensitive. (Yutao Yuan)
19975Solution: Adjust condition for magicness and advance pointer. (Christian
19976 Brabandt, closes #8707, closes #8704, closes #8705)
19977Files: src/search.c, src/testdir/test_search.vim
19978
19979Patch 8.2.3293
19980Problem: Finding completions may cause an endless loop.
19981Solution: Use a better way to check coming back where the search started.
19982 (Andy Gozas, closes #8672, closes #8671)
19983Files: src/insexpand.c, src/testdir/Make_all.mak,
19984 src/testdir/test_ins_complete_no_halt.vim
19985
19986Patch 8.2.3294
19987Problem: Lua: memory leak when adding dict item fails.
19988Solution: Free the typval and the dict item.
19989Files: src/if_lua.c
19990
19991Patch 8.2.3295
19992Problem: 'cursorline' should not apply to 'breakindent'.
19993Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
19994 consistently. (closes #8684)
19995Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
19996 src/testdir/dumps/Test_Xcursorline_20.dump,
19997 src/testdir/dumps/Test_Xcursorline_21.dump,
19998 src/testdir/dumps/Test_Xcursorline_22.dump,
19999 src/testdir/dumps/Test_Xcursorline_23.dump,
20000 src/testdir/dumps/Test_Xcursorline_24.dump,
20001 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20002 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20003 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20004 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20005 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20006
20007Patch 8.2.3296
20008Problem: Vim9: cannot add a number to a float.
20009Solution: Accept a number if the destination is a float. (closes #8703)
20010Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20011
20012Patch 8.2.3297
20013Problem: Cannot use all commands inside a {} block after :command and
20014 :autocmd.
20015Solution: Do consider \n to separate commands. (closes #8620)
20016Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20017 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20018 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20019 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20020 src/testdir/test_usercommands.vim
20021
20022Patch 8.2.3298
20023Problem: Build failure with small features.
20024Solution: Add #ifdef.
20025Files: src/ex_docmd.c
20026
20027Patch 8.2.3299
20028Problem: Vim9: exists() does not handle much at compile time.
20029Solution: Handle variable names. (closes #8688)
20030Files: src/vim9compile.c, src/evalfunc.c,
20031 src/testdir/test_vim9_builtin.vim
20032
20033Patch 8.2.3300
20034Problem: Lua: can only execute one Vim command at a time. Not easy to get
20035 the Vim version.
20036Solution: Make vim.command() accept multiple lines. Add vim.version().
20037 (Yegappan Lakshmanan, closes #8716)
20038Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20039 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20040 src/testdir/test_shell.vim
20041
20042Patch 8.2.3301
20043Problem: Memory allocation functions don't have their own place.
20044Solution: Move memory allocation functions to alloc.c. (Yegappan
20045 Lakshmanan, closes #8717)
20046Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20047 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20048 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20049 src/proto/misc2.pro
20050
20051Patch 8.2.3302
20052Problem: Coverity is not run from github.
20053Solution: Add a coverity script. (James McCoy, closes #8714)
20054Files: .github/workflows/coverity.yml, Filelist
20055
20056Patch 8.2.3303
20057Problem: Some structures could be smaller.
20058Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20059Files: src/structs.h, src/vim9.h, src/vim9execute.c
20060
20061Patch 8.2.3304
20062Problem: Popup window title with wide characters is truncated.
20063Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20064 closes #8721)
20065Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20066 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20067
20068Patch 8.2.3305
20069Problem: Vim9: :finally in skipped block not handled correctly.
20070Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20071 closes #8724)
20072Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20073
20074Patch 8.2.3306
20075Problem: Unexpected "No matching autocommands".
20076Solution: Do not give the message when aborting. Mention the arguments in
20077 the message. (closes #8690)
20078Files: src/autocmd.c,
20079
20080Patch 8.2.3307
20081Problem: Vim9: :echoconsole cannot access local variables.
20082Solution: Handle like other :echo commands. (closes #8708)
20083Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20084 src/testdir/test_vim9_script.vim,
20085 src/testdir/test_vim9_disassemble.vim
20086
20087Patch 8.2.3308
20088Problem: Vim9: no runtime check for argument type if a function only has
20089 varargs.
20090Solution: Also check argument types if uf_va_type is set. (closes #8715)
20091Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20092
20093Patch 8.2.3309
20094Problem: Vim9: divide by zero causes a crash.
20095Solution: Give an error message. (closes #8727)
20096Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20097
20098Patch 8.2.3310
20099Problem: Vim9: unpack assignment does not mention source of type error.
20100Solution: Mention the argument number. (closes #8719)
20101Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20102 src/testdir/test_vim9_disassemble.vim
20103
20104Patch 8.2.3311
20105Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20106Solution: Move to a separate function so it can be skipped by setting
20107 $TEST_SKIP_PAT.
20108Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20109
20110Patch 8.2.3312
20111Problem: Vim9: after "if false" line breaks in expression not skipped.
20112Solution: Do parse the expression. (closes #8723)
20113Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20114
20115Patch 8.2.3313
20116Problem: Unused code in win_exchange() and frame_remove().
20117Solution: Remove the code. (closes #8728)
20118Files: src/window.c
20119
20120Patch 8.2.3314
20121Problem: Behavior of exists() in a :def function is unpredictable.
20122Solution: Add exists_compiled().
20123Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20124 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20125
20126Patch 8.2.3315
20127Problem: Cannot use single quote in a float number for readability.
20128Solution: Support single quotes like in numbers. (closes #8713)
20129Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20130 src/viminfo.c, src/testdir/test_float_func.vim
20131
20132Patch 8.2.3316 (after 8.2.3315)
20133Problem: Float test fails.
20134Solution: Add missing change.
20135Files: src/evalfunc.c
20136
20137Patch 8.2.3317
20138Problem: Vim9: No error for missing white space before return type.
20139Solution: Check for white space. (closes #8733)
20140Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20141
20142Patch 8.2.3318
20143Problem: Vim9: cannot ignore quotes in number at the command line.
20144Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20145Files: src/typval.c, src/testdir/test_float_func.vim
20146
20147Patch 8.2.3319
20148Problem: Coverity action on github does not work.
20149Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20150Files: .github/workflows/coverity.yml
20151
20152Patch 8.2.3320
20153Problem: Some local functions are not static.
20154Solution: Add "static". Move snprintf() related code to strings.c.
20155 (Yegappan Lakshmanan, closes #8734)
20156Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20157 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20158 src/message.c, src/profiler.c, src/proto/channel.pro,
20159 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20160 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20161 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20162 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20163 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20164 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20165
20166Patch 8.2.3321
20167Problem: Some code is not tested.
20168Solution: Add some more tests. (Dominique Pellé, closes #8735)
20169Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20170
20171Patch 8.2.3322
20172Problem: Vim9: checking type of dict does not check member type.
20173Solution: When getting the type of a typval use dv_type and lv_type.
20174 (closes #8732)
20175Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20176
20177Patch 8.2.3323
20178Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20179Solution: Adjust the help tag.
20180Files: runtime/doc/eval.txt
20181
20182Patch 8.2.3324
20183Problem: Vim9: Cannot use :silent with :endwhile.
20184Solution: Allow for using the :silent modifier. (closes #8737)
20185Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20186 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20187
20188Patch 8.2.3325
20189Problem: Digraph test fails when LC_ALL is set to "C".
20190Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20191Files: src/testdir/test_digraph.vim
20192
20193Patch 8.2.3326
20194Problem: Vim9: no error passing an empty list of the wrong type.
20195Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20196Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20197 src/testdir/test_vim9_disassemble.vim
20198
20199Patch 8.2.3327
20200Problem: No check for sysconf() failing.
20201Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20202 (Zdenek Dohnal, closes #8743)
20203Files: src/os_unix.c
20204
20205Patch 8.2.3328
20206Problem: Coverity error for not checking return value.
20207Solution: Check value is not negative.
20208Files: src/spellfile.c
20209
20210Patch 8.2.3329
20211Problem: v_lock not set when getting value of environment variable.
20212Solution: Set v_lock to zero.
20213Files: src/typval.c
20214
20215Patch 8.2.3330
20216Problem: Coverity reports using uninitialized field.
20217Solution: Initialize the field early.
20218Files: src/tag.c
20219
20220Patch 8.2.3331
20221Problem: Coverity warns for using value without boundary check.
20222Solution: Add a boundary check.
20223Files: src/viminfo.c
20224
20225Patch 8.2.3332
20226Problem: Vim9: cannot assign to range in list.
20227Solution: Implement overwriting a list range.
20228Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20229 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20230 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20231
20232Patch 8.2.3333
20233Problem: Vim9: not enough tests run with Vim9.
20234Solution: Run a few more tests in Vim9 script and :def function.
20235Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20236
20237Patch 8.2.3334
20238Problem: Vim9: not enough tests run with Vim9.
20239Solution: Run a few more tests in Vim9 script and :def function. Fix
20240 islocked(). Fix error for locking local variable.
20241Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20242
20243Patch 8.2.3335
20244Problem: Vim9: not enough tests run with Vim9.
20245Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020246 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020247 Make join() return an empty string for a NULL list. Make sort()
20248 return an empty list for a NULL list.
20249Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20250 src/testdir/vim9.vim
20251
20252Patch 8.2.3336
20253Problem: Behavior of negative index in list change changed. (Naruhiko
20254 Nishino)
20255Solution: Only change it for Vim9 script. (closes #8749)
20256Files: src/list.c, src/testdir/test_listdict.vim
20257
20258Patch 8.2.3337
20259Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20260Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20261Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20262
20263Patch 8.2.3338
20264Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20265Solution: Check the member type. (closes #8750)
20266Files: src/list.c, src/testdir/test_listdict.vim
20267
20268Patch 8.2.3339
20269Problem: Vim9: cannot lock a member in a local dict.
20270Solution: Get the local dict from the stack and pass it to get_lval().
20271Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20272 src/globals.h, src/testdir/test_vim9_cmd.vim,
20273 src/testdir/test_vim9_disassemble.vim
20274
20275Patch 8.2.3340 (after 8.2.3339)
20276Problem: Accessing uninitialized pointer.
20277Solution: Set pointer to NULL.
20278Files: src/eval.c
20279
20280Patch 8.2.3341
20281Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20282Solution: Ignore error caught by try/catch. (closes #8755)
20283Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20284 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20285
20286Patch 8.2.3342 (after 8.2.3341)
20287Problem: Test for :let errors fails.
20288Solution: Adjust the test and how to avoid a second error message.
20289Files: src/evalvars.c, src/testdir/test_let.vim
20290
20291Patch 8.2.3343 (after 8.2.3342)
20292Problem: Vim9: autoload test fails.
20293Solution: Adjust the way the second message is avoided
20294Files: src/evalvars.c
20295
20296Patch 8.2.3344 (after 8.2.3343)
20297Problem: Vimscript test fails.
20298Solution: Have test verify first error instead of second
20299Files: src/testdir/test_vimscript.vim
20300
20301Patch 8.2.3345
20302Problem: Some code not covered by tests.
20303Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20304Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20305 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20306
20307Patch 8.2.3346
20308Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20309 (Naohiro Ono)
20310Solution: Check for Vim9 script syntax. (closes #8756)
20311Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20312
20313Patch 8.2.3347
20314Problem: Check for legacy script is incomplete. (Naohiro Ono)
20315Solution: Also check the :legacy modifier. Use for string concatenation
20316 with "." and others (issue #8756)
20317Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20318 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20319 src/testdir/test_vim9_cmd.vim
20320
20321Patch 8.2.3348
20322Problem: line2byte() returns wrong value after adding textprop. (Yuto
20323 Kimura)
20324Solution: Reduce the length by the size of the text property. (closes #8759)
20325Files: src/memline.c, src/testdir/test_textprop.vim
20326
20327Patch 8.2.3349 (after 8.2.3347)
20328Problem: Eval test for scriptversion fails.
20329Solution: Fix off-by-one error.
20330Files: src/vim9script.c
20331
20332Patch 8.2.3350 (after 8.2.3348)
20333Problem: Text properties test fails on MS-Windows.
20334Solution: Set fileformat to unix.
20335Files: src/testdir/test_textprop.vim
20336
20337Patch 8.2.3351
20338Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20339Solution: Increment the reference count when using a function by name.
20340 (closes #8760)
20341Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20342
20343Patch 8.2.3352
20344Problem: Vim9: error for nested :enddef has wrong line number.
20345Solution: Compute the line number.
20346Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20347
20348Patch 8.2.3353
20349Problem: Vim9: type of argument for negate not checked at compile time.
20350Solution: Add a compile time check.
20351Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20352 src/testdir/test_vim9_script.vim,
20353 src/testdir/test_vim9_disassemble.vim
20354
20355Patch 8.2.3354
20356Problem: Build failure with +byte_offset but without +textprop. (John
20357 Marriott)
20358Solution: Adjust the #ifdef.
20359Files: src/memline.c
20360
20361Patch 8.2.3355
20362Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20363Solution: Add type casts.
20364Files: src/memline.c
20365
20366Patch 8.2.3356
20367Problem: Adding many text properties requires a lot of function calls.
20368Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20369 closes #8751)
20370Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20371 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20372 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20373 src/textprop.c
20374
20375Patch 8.2.3357
20376Problem: Crash when 'virtualedit' is set and window is narrow.
20377Solution: Check that width is not zero. (closes #8767)
20378Files: src/misc2.c, src/testdir/test_number.vim
20379
20380Patch 8.2.3358
20381Problem: Structurizr files are not recognized.
20382Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20383Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20384
20385Patch 8.2.3359
20386Problem: Vim9: error for type when variable is not set.
20387Solution: Give a specific error for a NULL function. (closes #8773)
20388Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20389
20390Patch 8.2.3360
20391Problem: User function completion fails with dict function.
20392Solution: Do not stop sequencing through the list if user functions when
20393 encountering an empty name. (Naohiro Ono, closes #8765,
20394 closes #8774)
20395Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20396
20397Patch 8.2.3361
20398Problem: Vim9: crash with nested :while.
20399Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20400Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20401
20402Patch 8.2.3362
20403Problem: Buffer overflow when completing long tag name.
20404Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20405Files: src/tag.c, src/testdir/test_tagjump.vim
20406
20407Patch 8.2.3363
20408Problem: When :edit reuses the current buffer the alternate file is set to
20409 the same buffer.
20410Solution: Only set the alternate file when not reusing the buffer.
20411 (closes #8783)
20412Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20413 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20414 src/testdir/test_vim9_script.vim
20415
20416Patch 8.2.3364
20417Problem: Vim9: crash when :for is skipped.
20418Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20419Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20420
20421Patch 8.2.3365
20422Problem: Vim9: cannot use option for all operations.
20423Solution: Recognize more operations. (closes #8779)
20424Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20425 src/testdir/test_vim9_cmd.vim
20426
20427Patch 8.2.3366
20428Problem: Vim9: debugging elseif does not stop before condition.
20429Solution: Move debug statement to after the jump. (closes #8781)
20430Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20431
20432Patch 8.2.3367
20433Problem: Vim9: :@r executing a register is inconsistent.
20434Solution: Use "@r" as the start of an expression. (issue #8779)
20435Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20436
20437Patch 8.2.3368
20438Problem: Not all Racket files are recognized.
20439Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20440Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20441
20442Patch 8.2.3369
20443Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20444Solution: Do not auto-format after the delete. (closes #8789)
20445Files: src/ops.c, src/testdir/test_textformat.vim
20446
20447Patch 8.2.3370
20448Problem: Vim9: no check for white space before type in declaration.
20449 (Naohiro Ono)
20450Solution: Check for white space like in a compiled function. (closes #8785)
20451Files: src/eval.c, src/testdir/test_vim9_assign.vim
20452
20453Patch 8.2.3371
20454Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20455Solution: Use "$ENV" as the start of an expression. (closes #8790)
20456Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20457
20458Patch 8.2.3372
20459Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20460Solution: Adjust length for text property. (closes #8772) Also fix it for
20461 deleting a line.
20462Files: src/memline.c, src/testdir/test_textprop.vim
20463
20464Patch 8.2.3373 (after 8.2.3372)
20465Problem: text property test fails on MS-Windows.
20466Solution: Set fileformat to "unix"
20467Files: src/testdir/test_textprop.vim
20468
20469Patch 8.2.3374
20470Problem: Pyret files are not recognized.
20471Solution: Recognize .arr files as Pyret. (Doug Kearns)
20472Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20473
20474Patch 8.2.3375
20475Problem: Using uninitialized memory.
20476Solution: Initialize textprop_save_len.
20477Files: src/memline.c
20478
20479Patch 8.2.3376
20480Problem: Vim9: no warning that "@r" does not do anything.
20481Solution: Give a "no effect" error. (closes #8779)
20482Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20483 src/testdir/test_vim9_cmd.vim
20484
20485Patch 8.2.3377
20486Problem: Vim9: :disass completion does not understand "s:".
20487Solution: Expand "s:" to a pattern. (closes #8780)
20488Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20489
20490Patch 8.2.3378
20491Problem: MS-Windows: completing environment variables with % is wrong.
20492Solution: Only complete environment variables with $. (Albert Liu,
20493 closes #8791)
20494Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20495
20496Patch 8.2.3379
20497Problem: Crash when using NULL job.
20498Solution: Copy static string into buffer. (issue #8260)
20499Files: src/job.c, src/testdir/test_channel.vim
20500
20501Patch 8.2.3380
20502Problem: Crash when using NULL string for funcref().
20503Solution: Check for NULL argument. (issue #8260)
20504Files: src/evalfunc.c, src/testdir/test_expr.vim
20505
20506Patch 8.2.3381
20507Problem: Crash when using NULL list with sign functions.
20508Solution: Handle a NULL list like an empty list. (issue #8260)
20509Files: src/globals.h, src/testdir/test_signs.vim
20510
20511Patch 8.2.3382
20512Problem: Crash when getting the type of a NULL partial.
20513Solution: Check for NULL. (closes #8260)
20514Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20515
20516Patch 8.2.3383
20517Problem: Vim9: completion for :disassemble adds parenthesis.
20518Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20519Files: src/userfunc.c, src/testdir/test_cmdline.vim
20520
20521Patch 8.2.3384
20522Problem: Cannot disable modeline for an individual file.
20523Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20524Files: runtime/doc/options.txt, src/buffer.c,
20525 src/testdir/test_modeline.vim
20526
20527Patch 8.2.3385
20528Problem: Escaping for fish shell does not work properly.
20529Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20530Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20531
20532Patch 8.2.3386
20533Problem: Using uninitialized memory.
20534Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20535Files: src/indent.c
20536
20537Patch 8.2.3387
20538Problem: Compiler warning for non-static function.
20539Solution: Make the function static. (Dominique Pellé, closes #8816)
20540Files: src/strings.c
20541
20542Patch 8.2.3388
20543Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20544 Briscoe)
20545Solution: Include the "/.." in the directory name. (closes #8808)
20546Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20547
20548Patch 8.2.3389
20549Problem: Cannot stop insert mode completion without side effects.
20550Solution: Add CTRL-X CTRL-Z. (closes #8821)
20551Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20552 src/testdir/test_ins_complete.vim
20553
20554Patch 8.2.3390
20555Problem: Included xdiff code is outdated.
20556Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20557Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20558 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20559 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20560 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20561 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20562
20563Patch 8.2.3391
20564Problem: Crash with combination of 'linebreak' and other options.
20565Solution: Avoid n_extra to become negative. (Christian Brabandt,
20566 closes #8817)
20567Files: src/drawline.c
20568
20569Patch 8.2.3392
20570Problem: augroup completion escapes regexp pattern characters.
20571Solution: Do not escape the augroup name. (closes #8826)
20572Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20573
20574Patch 8.2.3393
20575Problem: Escaping for fish shell is skipping some characters.
20576Solution: Escape character after backslash if needed. (Jason Cox,
20577 closes #8827)
20578Files: src/strings.c, src/testdir/test_shell.vim
20579
20580Patch 8.2.3394
20581Problem: Filler lines are wrong when changing text in diff mode.
20582Solution: Don't change the filler lines on every change. Check
20583 scrollbinding when updating the filler lines. (closes #8809)
20584Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20585 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20586 src/testdir/dumps/Test_diff_scroll_change_02.dump
20587
20588Patch 8.2.3395
20589Problem: Vim9: expression breakpoint not checked in :def function.
20590Solution: Always compile a function for debugging if there is an expression
20591 breakpoint. (closes #8803)
20592Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20593 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20594 src/testdir/test_debugger.vim
20595
20596Patch 8.2.3396
20597Problem: When libcall() fails invalid pointer may be used.
20598Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20599Files: src/evalfunc.c
20600
20601Patch 8.2.3397
20602Problem: No test for what 8.2.3391 fixes.
20603Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20604Files: src/testdir/test_breakindent.vim
20605
20606Patch 8.2.3398
20607Problem: Html text objects are not fully tested.
20608Solution: Add tests for dbcs encoding and different number of backslashes.
20609 (Dominique Pellé, closes #8831)
20610Files: src/testdir/test_textobjects.vim
20611
20612Patch 8.2.3399
20613Problem: Octave files are not recognized.
20614Solution: Detect Octave files. (Doug Kearns)
20615Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20616 runtime/filetype.vim, src/testdir/test_filetype.vim
20617
20618Patch 8.2.3400
20619Problem: ":z!" is not supported.
20620Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20621 Use display height instead of current window height.
20622Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20623 src/testdir/test_ex_z.vim
20624
20625Patch 8.2.3401
20626Problem: Vim9: cannot use a negative count with finddir() and findfile().
20627Solution: Adjust the return type. (closes #8776)
20628Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20629
20630Patch 8.2.3402
20631Problem: Invalid memory access when using :retab with large value.
20632Solution: Check the number is positive.
20633Files: src/indent.c, src/option.c, src/optionstr.c,
20634 src/testdir/test_retab.vim
20635
20636Patch 8.2.3403 (after 8.2.3402)
20637Problem: Memory leak for :retab with invalid argument.
20638Solution: Free the memory. Make error messages consistent.
20639Files: src/indent.c
20640
20641Patch 8.2.3404
20642Problem: Vim9: no error for white space before "(".
20643Solution: Give an error, like in a compiled function.
20644Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20645
20646Patch 8.2.3405
20647Problem: Cannot have a comment line in a {} block of a user command.
20648Solution: Continue after the line break. (closes #8837)
20649Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20650
20651Patch 8.2.3406
20652Problem: On some systems tests fail without _REENTRANT. (Elimar
20653 Riesebieter)
20654Solution: Add -D_REENTRANT in configure. (closes #7402)
20655Files: src/configure.ac, src/auto/configure
20656
20657Patch 8.2.3407
20658Problem: Using uninitialized memory with "let g:['bar'] = 2".
20659Solution: Initialize v_type of a new dict item.
20660Files: src/dict.c
20661
20662Patch 8.2.3408
20663Problem: Can delete a numbered function. (Naohiro Ono)
20664Solution: Disallow deleting a numbered function. (closes #8760)
20665Files: src/userfunc.c, src/testdir/test_user_func.vim
20666
20667Patch 8.2.3409
20668Problem: Reading beyond end of line with invalid utf-8 character.
20669Solution: Check for NUL when advancing.
20670Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20671
20672Patch 8.2.3410
20673Problem: Crash with linebreak, listchars and large tabstop.
20674Solution: Account for different size listchars for a tab. (closes #8841)
20675Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20676
20677Patch 8.2.3411
20678Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20679Solution: Check the import flags. (closes #8843)
20680Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20681
20682Patch 8.2.3412 (after 8.2.3411)
20683Problem: Vim9: importing the wrong file.
20684Solution: Correct the file name. Delete the file afterwards.
20685Files: src/testdir/test_vim9_script.vim
20686
20687Patch 8.2.3413
20688Problem: Vim9: too many characters are allowed in import name.
20689Solution: Disallow ':' and '#', check for white space. (closes #8845)
20690Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20691
20692Patch 8.2.3414
20693Problem: fullcommand() gives the wrong name if there is a buffer-local user
20694 command. (Naohiro Ono)
20695Solution: Use a separate function to get the user command name.
20696 (closes #8840)
20697Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20698 src/testdir/test_cmdline.vim
20699
20700Patch 8.2.3415
20701Problem: Vim9: Not all function argument types are properly checked.
20702Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20703 closes #8839)
20704Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20705 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20706
20707Patch 8.2.3416
20708Problem: Second error is reported while exception is being thrown.
20709Solution: Do not check for trailing characters when already aborting.
20710 (closes #8842)
20711Files: src/userfunc.c, src/testdir/test_trycatch.vim
20712
20713Patch 8.2.3417
20714Problem: Vim9: a failing debug expression aborts script sourcing.
20715Solution: Do not let expression failure abort script sourcing. (closes #8848)
20716Files: src/debugger.c, src/testdir/test_debugger.vim
20717
20718Patch 8.2.3418
20719Problem: Garbage collection while evaluating may cause trouble.
20720Solution: Disable garbage collection while evaluating an expression.
20721 (Christian Brabandt, issue #8848)
20722Files: src/eval.c
20723
20724Patch 8.2.3419
20725Problem: A failing debug expression may make Vim unusable.
20726Solution: Suppress error messages. (closes #8848)
20727Files: src/debugger.c, src/testdir/test_debugger.vim
20728
20729Patch 8.2.3420
20730Problem: _REENTRANT defined more than once.
20731Solution: Fix configure script. (Christian Brabandt, closes #8852)
20732Files: src/configure.ac, src/auto/configure
20733
20734Patch 8.2.3421
20735Problem: A bit of code is not covered by tests.
20736Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
20737Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
20738 src/testdir/test_startup.vim
20739
20740Patch 8.2.3422
20741Problem: Vim9: no failure if return type differs from returned variable.
20742Solution: Copy type when copying a list. (closes #8847)
20743Files: src/list.c, src/testdir/test_vim9_func.vim
20744
20745Patch 8.2.3423
20746Problem: Vim9: list += list creates a new list in :def function.
20747Solution: Append to the existing list.
20748Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
20749 src/testdir/test_vim9_assign.vim
20750
20751Patch 8.2.3424
20752Problem: A sequence of spaces is hard to see in list mode.
20753Solution: Add the "multispace" option to 'listchars'. (closes #8834)
20754Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
20755 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
20756
20757Patch 8.2.3425
20758Problem: Warning for using uninitialized variable.
20759Solution: Initialize it. (John Marriott)
20760Files: src/screen.c
20761
20762Patch 8.2.3426
20763Problem: Crash when deleting a listener in a listener callback. (Naohiro
20764 Ono)
20765Solution: Mark the listener and delete it later. (closes #8863)
20766Files: src/change.c, src/testdir/test_listener.vim
20767
20768Patch 8.2.3427
20769Problem: Double free when list is copied.
20770Solution: Allocate the type when making a copy. (closes #8862)
20771 Clear the type for flattennew(). Avoid a memory leak when
20772 flattennew() fails.
20773Files: src/list.c, src/testdir/test_vim9_builtin.vim
20774
20775Patch 8.2.3428
20776Problem: Using freed memory when replacing. (Dhiraj Mishra)
20777Solution: Get the line pointer after calling ins_copychar().
20778Files: src/normal.c, src/testdir/test_edit.vim
20779
20780Patch 8.2.3429
20781Problem: Leaking memory when assigning to list or dict.
20782Solution: Free the list or dict type before overwriting it.
20783Files: src/vim9type.c, src/evalvars.c
20784
20785Patch 8.2.3430
20786Problem: No generic way to trigger an autocommand on mode change.
20787Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
20788Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
20789 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
20790 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
20791 src/testdir/test_edit.vim, src/vim.h
20792
20793Patch 8.2.3431
20794Problem: Completion for :disas sorts local functions first.
20795Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
20796 closes #8860)
20797Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20798
20799Patch 8.2.3432
20800Problem: Octave/Matlab filetype detection does not work properly.
20801Solution: Update the patterns used for matching. (Doug Kearns)
20802Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
20803
20804Patch 8.2.3433
20805Problem: :delcommand does not take a -buffer option.
20806Solution: Add the -buffer option.
20807Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
20808 src/testdir/test_usercommands.vim
20809
20810Patch 8.2.3434 (after 8.2.3430)
20811Problem: Function prototype for trigger_modechanged() is incomplete.
20812Solution: Add "void".
20813Files: src/proto/misc1.pro
20814
20815Patch 8.2.3435
20816Problem: Vim9: dict is not passed to dict function.
20817Solution: Keep the dict used until a function call.
20818Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
20819 src/testdir/test_vim9_func.vim,
20820 src/testdir/test_vim9_disassemble.vim
20821
20822Patch 8.2.3436
20823Problem: Check for optional bool type has confusing return type.
20824Solution: Explicitly return OK.
20825Files: src/typval.c
20826
20827Patch 8.2.3437
20828Problem: Compiler warnings for 32/64 bit usage.
20829Solution: Add type casts. (Mike Williams, closes #8870)
20830Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
20831
20832Patch 8.2.3438
20833Problem: Cannot manipulate blobs.
20834Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
20835 closes #8868)
20836Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
20837 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
20838 src/proto/typval.pro, src/testdir/test_blob.vim,
20839 src/testdir/test_vim9_builtin.vim, src/typval.c
20840
20841Patch 8.2.3439
20842Problem: Deleted lines go to wrong yank register.
20843Solution: Reset y_append when not calling get_yank_register(). (Christian
20844 Brabandt, closes #8872)
20845Files: src/ops.c, src/proto/register.pro, src/register.c,
20846 src/testdir/test_registers.vim
20847
20848Patch 8.2.3440
20849Problem: Recover test fails if there is an old swap file.
20850Solution: Delete old swap files.
20851Files: src/testdir/test_recover.vim
20852
20853Patch 8.2.3441
20854Problem: MS-Windows: vimtutor can't handle path with spaces.
20855Solution: Add double quotes. (Christian Brabandt, closes #8871)
20856Files: vimtutor.bat
20857
20858Patch 8.2.3442
20859Problem: Vim9: || and && are not handled at compile time when possible.
20860Solution: When using constants generate fewer instructions.
20861Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
20862 src/testdir/test_vim9_disassemble.vim
20863
20864Patch 8.2.3443
20865Problem: Vim9: memory leak when and/or fails.
20866Solution: Also clear the growarray when the length is zero.
20867Files: src/vim9compile.c
20868
20869Patch 8.2.3444
20870Problem: concealed text not revealed when leaving insert mode. (Michael
20871 Soyka)
20872Solution: Check if concealing changed when leaving insert mode.
20873 (closes #8880)
20874Files: src/edit.c, src/testdir/test_conceal.vim,
20875 src/testdir/dumps/Test_conceal_two_windows_07in.dump
20876
20877Patch 8.2.3445
20878Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
20879Solution: Always declare longVersion in version.c
20880Files: src/globals.h, src/version.c
20881
20882Patch 8.2.3446
20883Problem: Not enough tests for empty string arguments.
20884Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
20885Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
20886 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
20887
20888Patch 8.2.3447
20889Problem: A couple of declarations are not ANSI C.
20890Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
20891Files: src/os_unix.h
20892
20893Patch 8.2.3448
20894Problem: :endtry after function call that throws not found.
20895Solution: Do check for following :endtry if an exception is being thrown.
20896 (closes #8889)
20897Files: src/userfunc.c, src/testdir/test_trycatch.vim
20898
20899Patch 8.2.3449
20900Problem: Sort fails if the sort compare function returns 999.
20901Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
20902Files: src/list.c, src/testdir/test_sort.vim
20903
20904Patch 8.2.3450
20905Problem: Coveralls action fails.
20906Solution: Disable it for now.
20907Files: .github/workflows/ci.yml
20908
20909Patch 8.2.3451
20910Problem: Not all apache files are recognized.
20911Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
20912Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20913
20914Patch 8.2.3452
20915Problem: MPD files are not recognized.
20916Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
20917Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20918
20919Patch 8.2.3453
20920Problem: Autocmd not executed when editing a directory ending in a path
20921 separator inside try block.
20922Solution: Return NOTDONE instead of FAIL. (closes #8885)
20923Files: src/fileio.c, src/testdir/test_autocmd.vim
20924
20925Patch 8.2.3454
20926Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
20927 Ono)
20928Solution: Count the inserted lines. (closes #8899)
20929Files: src/register.c, src/testdir/test_put.vim
20930
20931Patch 8.2.3455 (after 8.2.3454)
20932Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
20933Solution: Correct the mark position. (closes #8899)
20934Files: src/register.c, src/testdir/test_put.vim
20935
20936Patch 8.2.3456
20937Problem: Vim9: Not all functions are tested with an empty string argument.
20938Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
20939Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20940
20941Patch 8.2.3457
20942Problem: MS-Windows Vim9: test executed and fails.
20943Solution: Add extra check for not being on MS-Windows.
20944Files: src/testdir/test_vim9_script.vim
20945
20946Patch 8.2.3458
20947Problem: Not all dictdconf files are recognized.
20948Solution: Adjust the pattern. (Doug Kearns)
20949Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20950
20951Patch 8.2.3459
20952Problem: Vim9: need more tests for empty string arguments.
20953Solution: Add more tests. Also use empty argument with menu_info() to get
20954 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
20955Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
20956 src/testdir/test_vim9_builtin.vim
20957
20958Patch 8.2.3460
20959Problem: Some type casts are not needed.
20960Solution: Remove unnecessary type casts. (closes #8934)
20961Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
20962 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
20963 src/version.c
20964
20965Patch 8.2.3461
20966Problem: Cannot distinguish Normal and Terminal-Normal mode.
20967Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
20968Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
20969
20970Patch 8.2.3462
20971Problem: The ModeChanged event only uses one character for the new_mode and
20972 old_mode values.
20973Solution: Pass one as first argument to mode(). (issue #8856)
20974Files: src/misc1.c, src/testdir/test_edit.vim
20975
20976Patch 8.2.3463
20977Problem: Pattern matching with ModeChanged not tested.
20978Solution: Add a few more test lines. (issue #8856)
20979Files: src/testdir/test_edit.vim
20980
20981Patch 8.2.3464
20982Problem: nginx files are not recognized.
20983Solution: Add several file patterns. (Chris Aumann, closes #8922)
20984Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20985
20986Patch 8.2.3465
20987Problem: Cannot detect insert scroll mode.
20988Solution: Add "scroll" to complete_info(). (closes #8943)
20989Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
20990
20991Patch 8.2.3466
20992Problem: Completion submode not indicated for virtual replace.
20993Solution: Add submode to "Rv". (closes #8945)
20994Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
20995
20996Patch 8.2.3467
20997Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
20998Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
20999 (closes #8937)
21000Files: src/edit.c, src/testdir/test_autocmd.vim
21001
21002Patch 8.2.3468
21003Problem: Problem with :cd when editing file in non-existent directory. (Yee
21004 Cheng Chin)
21005Solution: Prepend the current directory to get the full path. (closes #8903)
21006Files: src/os_unix.c, src/testdir/test_cd.vim
21007
21008Patch 8.2.3469
21009Problem: Some files with json syntax are not recognized.
21010Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21011Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21012
21013Patch 8.2.3470
21014Problem: Crash with error in :catch and also in :finally.
21015Solution: Only discard an exception if there is one. (closes #8954)
21016Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21017
21018Patch 8.2.3471
21019Problem: Crash when using CTRL-T after an empty search pattern.
21020Solution: Bail out when there is no previous search pattern. (closes #8953)
21021Files: src/ex_getln.c, src/testdir/test_search.vim
21022
21023Patch 8.2.3472
21024Problem: Other crashes with empty search pattern not tested.
21025Solution: Add a few more test lines. (Dominique Pellé)
21026Files: src/testdir/test_search.vim
21027
21028Patch 8.2.3473
21029Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021030Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021031Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21032
21033Patch 8.2.3474
21034Problem: Some places use "Vimscript" instead of "Vim script".
21035Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21036Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21037
21038Patch 8.2.3475
21039Problem: Expression register set by not executed put command.
21040Solution: Do not set the register if the command is skipped. (closes #8909)
21041Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21042
21043Patch 8.2.3476
21044Problem: Renaming a buffer on startup may cause using freed memory.
21045Solution: Check if the buffer is used in a window. (closes #8955)
21046Files: src/buffer.c, src/testdir/test_startup.vim
21047
21048Patch 8.2.3477 (after 8.2.3476)
21049Problem: Startup test fails on MS-Windows.
21050Solution: Skip the test if not on Unix.
21051Files: src/testdir/test_startup.vim
21052
21053Patch 8.2.3478 (after 8.2.3470)
21054Problem: Still crash with error in :catch and also in :finally.
21055Solution: Only call finish_exception() once. (closes #8954)
21056Files: src/ex_eval.c, src/structs.h
21057
21058Patch 8.2.3479
21059Problem: Crash when calling job_start with an invalid argument. (Virginia
21060 Senioria)
21061Solution: Clear the first item in argv. (closes #8957)
21062Files: src/misc2.c, src/testdir/test_channel.vim
21063
21064Patch 8.2.3480 (after 8.2.3478)
21065Problem: Test does not fail without the fix for a crash.
21066Solution: Write the bad code in a file and source it. (Dominique Pellé,
21067 closes #8961)
21068Files: src/testdir/test_trycatch.vim
21069
21070Patch 8.2.3481
21071Problem: Failures when char is unsigned.
21072Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21073 closes #8936)
21074Files: src/structs.h, .github/workflows/ci.yml
21075
21076Patch 8.2.3482
21077Problem: Reading beyond end of line ending in quote and backslash.
21078Solution: Check for non-NUL after backslash. (closes #8964)
21079Files: src/cindent.c, src/testdir/test_cindent.vim
21080
21081Patch 8.2.3483
21082Problem: #ifdef for using sysinfo() is incomplete.
21083Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21084 (closes #8952)
21085Files: src/memline.c, src/configure.ac, src/auto/configure
21086
21087Patch 8.2.3484
21088Problem: Crash when going through spell suggestions.
21089Solution: Limit the text length for finding suggestions to the original
21090 length. Do not update buffers when exiting. (closes #8965)
21091Files: src/spellsuggest.c, src/clipboard.c,
21092 src/testdir/test_spell_utf8.vim
21093
21094Patch 8.2.3485
21095Problem: Python 3 test fails with Python 3.10.
21096Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21097Files: src/testdir/test_python3.vim
21098
21099Patch 8.2.3486
21100Problem: Illegal memory access with invalid sequence of commands.
21101Solution: Do not call leave_block() when not in a try block. (closes #8966)
21102 Reset did_emsg so that exception is shown as an error.
21103Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21104
21105Patch 8.2.3487
21106Problem: Illegal memory access if buffer name is very long.
21107Solution: Make sure not to go over the end of the buffer.
21108Files: src/drawscreen.c, src/testdir/test_statusline.vim
21109
21110Patch 8.2.3488
21111Problem: Issue template is not easy to use.
21112Solution: Use a yaml template. (closes #8928)
21113Files: .github/ISSUE_TEMPLATE/bug_report.md,
21114 .github/ISSUE_TEMPLATE/bug_report.yml
21115
21116Patch 8.2.3489
21117Problem: ml_get error after search with range.
21118Solution: Limit the line number to the buffer line count.
21119Files: src/ex_docmd.c, src/testdir/test_search.vim
21120
21121Patch 8.2.3490
21122Problem: Superfluous return statements.
21123Solution: Remove superfluous return statements from void functions.
21124 (closes #8977)
21125Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21126 src/option.c
21127
21128Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021129Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021130Solution: Adjust the check for xpm2. (closes #8914)
21131Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21132
21133Patch 8.2.3492
21134Problem: Crash when pasting too many times.
21135Solution: Limit the size to what fits in an int. (closes #8962)
21136Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21137
21138Patch 8.2.3493 (after 8.2.3492)
21139Problem: Large count test fails on MS-Windows.
21140Solution: Skip the test on MS-Windows.
21141Files: src/testdir/test_put.vim
21142
21143Patch 8.2.3494
21144Problem: Illegal memory access in utf_head_off.
21145Solution: Check cursor position when reselecting the Visual area.
21146 (closes #8963)
21147Files: src/normal.c, src/testdir/test_visual.vim
21148
21149Patch 8.2.3495
21150Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21151Solution: Add tolerance to the size check. (closes #8815)
21152Files: src/testdir/test_startup.vim
21153
21154Patch 8.2.3496
21155Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21156Solution: Use the just built xxd executable if it exists. (James McCoy,
21157 closes #8929)
21158Files: src/testdir/test_crypt.vim
21159
21160Patch 8.2.3497
21161Problem: Put test fails when run by itself.
21162Solution: Source check.vim. (Dominique Pellé, closes #8990)
21163Files: src/testdir/test_put.vim
21164
21165Patch 8.2.3498
21166Problem: Recover test may fail on some systems.
21167Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21168 closes #8941)
21169Files: src/testdir/test_recover.vim
21170
21171Patch 8.2.3499
21172Problem: GUI geometry startup test fails.
21173Solution: Check string values instead of numbers
21174Files: src/testdir/test_startup.vim
21175
21176Patch 8.2.3500
21177Problem: Github CI fails to install clang.
21178Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21179Files: .github/workflows/ci.yml
21180
21181Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021182Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021183Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21184 closes #8971)
21185Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21186
21187Patch 8.2.3502 (after 8.2.2919)
21188Problem: Cannot enter password in shell command.
21189Solution: Revert patch 8.2.2919.
21190Files: src/os_unix.c
21191
21192Patch 8.2.3503
21193Problem: Vim9: using g:pat:cmd is confusing.
21194Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21195 (closes #8982)
21196Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21197 src/vim9compile.c, src/proto/vim9compile.pro,
21198 src/testdir/test_vim9_cmd.vim
21199
21200Patch 8.2.3504 (after 8.2.3503)
21201Problem: Vim9: warning for signed vs unsigned.
21202Solution: Add type cast.
21203Files: src/vim9compile.c
21204
21205Patch 8.2.3505 (after 8.2.3503)
21206Problem: Vim9: build failure without the +eval feature.
21207Solution: Add #ifdef.
21208Files: src/ex_cmds.c
21209
21210Patch 8.2.3506 (after 8.2.3503)
21211Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21212Solution: Add a few more test cases.
21213Files: src/testdir/test_vim9_cmd.vim
21214
21215Patch 8.2.3507
21216Problem: Generating proto files may fail.
21217Solution: Define __attribute().
21218Files: src/Makefile
21219
21220Patch 8.2.3508 (after 8.2.3503)
21221Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21222Solution: Add a few more test cases.
21223Files: src/testdir/test_vim9_cmd.vim
21224
21225Patch 8.2.3509
21226Problem: Undo file is not synced. (Sami Farin)
21227Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21228 closes #8879, closes #8920)
21229Files: runtime/doc/options.txt, src/undo.c
21230
21231Patch 8.2.3510
21232Problem: Changes are only detected with one second accuracy.
21233Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21234 closes #8873, closes #8875)
21235Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21236 src/config.h.in, src/configure.ac, src/fileio.c,
21237 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21238 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21239
21240Patch 8.2.3511
21241Problem: Vim9: entry for loop variable is created every round.
21242Solution: Only create the entry once. (closes #8996)
21243Files: src/evalvars.c, src/vim9script.c
21244
21245Patch 8.2.3512
21246Problem: Timestamp test fails on some systems.
21247Solution: Sleep for a short while.
21248Files: src/testdir/test_stat.vim
21249
21250Patch 8.2.3513
21251Problem: Using freed memory when using a timer and searching. (Dominique
21252 Pellé)
21253Solution: Allocated mr_pattern.
21254Files: src/search.c
21255
21256Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021257Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021258Solution: Mark the test as being flaky.
21259Files: src/testdir/test_stat.vim
21260
21261Patch 8.2.3515
21262Problem: Nano time test fails on Mac and FreeBSD.
21263Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21264 closes #9000)
21265Files: src/fileio.c
21266
21267Patch 8.2.3516
21268Problem: Terminal window does not have transparent background when
21269 'termguicolors' is used.
21270Solution: Fix the background color. (closes #2361, closes #9002)
21271Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21272 src/terminal.c
21273
21274Patch 8.2.3517
21275Problem: TextChanged does not trigger after TextChangedI.
21276Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21277 closes #8968, closes #8932)
21278Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21279 src/testdir/test_autocmd.vim
21280
21281Patch 8.2.3518
21282Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021283Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021284 instead of listing them in runtest.
21285Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21286 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21287 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21288 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21289 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21290 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21291 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21292 src/testdir/test_timers.vim
21293
21294Patch 8.2.3519
21295Problem: TOML files are not recognized.
21296Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21297Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21298
21299Patch 8.2.3520
21300Problem: Cannot define a function for thesaurus completion.
21301Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21302 closes 8950)
21303Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21304 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21305 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21306 src/structs.h, src/testdir/test_edit.vim
21307
21308Patch 8.2.3521 (after 8.2.3520)
21309Problem: Options completion test fails.
21310Solution: Add 'thesaurusfunc' to the results.
21311Files: src/testdir/test_options.vim
21312
21313Patch 8.2.3522
21314Problem: Cannot use \x and \u when setting 'listchars'.
21315Solution: Support hex and unicode in hex form. (closes #9006)
21316Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21317 src/testdir/test_listchars.vim
21318
21319Patch 8.2.3523
21320Problem: Duplicated code in xxd.
21321Solution: Remove duplicated lines. (closes #8972)
21322Files: src/xxd/xxd.c
21323
21324Patch 8.2.3524
21325Problem: GUI: ligatures are not used.
21326Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21327Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21328 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21329 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21330 src/testdir/test_gui.vim
21331
21332Patch 8.2.3525
21333Problem: Option variable name does not match option name. (Christ van
21334 Willigen)
21335Solution: Rename the variable.
21336Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21337 src/structs.h
21338
21339Patch 8.2.3526
21340Problem: Tests have clumsy check for X11 based GUI.
21341Solution: Add CheckX11BasedGui.
21342Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21343 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21344
21345Patch 8.2.3527
21346Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21347Solution: Initialize it.
21348Files: src/gui_gtk_x11.c
21349
21350Patch 8.2.3528
21351Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21352Solution: Make 'thesaurusfunc' global-local.
21353Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21354 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21355 src/insexpand.c, src/testdir/test_edit.vim
21356
21357Patch 8.2.3529
21358Problem: Xxd usage output is incomplete.
21359Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21360Files: src/xxd/xxd.c
21361
21362Patch 8.2.3530
21363Problem: ":buf \{a}" fails while ":edit \{a}" works.
21364Solution: Unescape "\{". (closes #8917)
21365Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21366 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21367 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21368
21369Patch 8.2.3531 (after 8.2.3530)
21370Problem: Command line completion test fails on MS-Windows.
21371Solution: Do not test with "\{" on MS-Windows.
21372Files: src/testdir/test_cmdline.vim
21373
21374Patch 8.2.3532
21375Problem: The previous '' mark is restored after moving the cursor to the
21376 original jump position. (Tony Chen)
21377Solution: Forget the previous position after checking. (closes #8985)
21378Files: src/mark.c, src/testdir/test_marks.vim
21379
21380Patch 8.2.3533
21381Problem: Inefficient code in xxd.
21382Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21383Files: src/xxd/xxd.c
21384
21385Patch 8.2.3534
21386Problem: Autoread test is a bit flaky.
21387Solution: Wait a brief moment before overwriting the file.
21388Files: src/testdir/test_stat.vim
21389
21390Patch 8.2.3535
21391Problem: If-else indenting is confusing.
21392Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21393Files: src/drawscreen.c
21394
21395Patch 8.2.3536
21396Problem: The do_highlight() function is way too long.
21397Solution: Split it into several functions. (Yegappan Lakshmanan,
21398 closes #9011)
21399Files: src/highlight.c
21400
21401Patch 8.2.3537
21402Problem: mode() does not return the right value in 'operatorfunc'.
21403Solution: Reset finish_op while calling 'operatorfunc'.
21404Files: src/ops.c, src/testdir/test_functions.vim
21405
21406Patch 8.2.3538
21407Problem: Else-if indenting is confusing.
21408Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21409Files: src/highlight.c
21410
21411Patch 8.2.3539
21412Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21413Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21414Files: src/gui_gtk.c
21415
21416Patch 8.2.3540
21417Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21418Solution: Use the right line number. (closes #8956)
21419Files: src/register.c, src/testdir/test_put.vim
21420
21421Patch 8.2.3541
21422Problem: Compiler warning for unused variable in tiny version.
21423Solution: Add #ifdef. (John Marriott)
21424Files: src/highlight.c
21425
21426Patch 8.2.3542
21427Problem: Too many comments are old style.
21428Solution: Change comments to // style. (closes #9021)
21429Files: src/buffer.c
21430
21431Patch 8.2.3543
21432Problem: Swapname has double slash when 'directory' ends in double slash.
21433 (Shane Smith)
21434Solution: Remove the superfluous slash. (closes #8876)
21435Files: src/memline.c, src/testdir/test_swap.vim
21436
21437Patch 8.2.3544
21438Problem: Unix: may leak file descriptor when using a non-existing
21439 directory.
21440Solution: Always close the file. (closes #9023)
21441Files: src/os_unix.c
21442
21443Patch 8.2.3545
21444Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21445Solution: Check the value and give an error. (closes #9024)
21446Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21447 src/testdir/test_utf8.vim
21448
21449Patch 8.2.3546 (after 8.2.3545)
21450Problem: Build failure without the +eval feature.
21451Solution: Add #ifdef. (closes #9025)
21452Files: src/errors.h
21453
21454Patch 8.2.3547
21455Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21456 Peterse)
21457Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21458Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21459 src/testdir/test_quickfix.vim
21460
21461Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021462Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021463Solution: Do not overwrite the NUL after the string. (closes #9028)
21464Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21465
21466Patch 8.2.3549
21467Problem: Mistakes in test comments.
21468Solution: Fix the comments. (closes #9029)
21469Files: src/testdir/test_autocmd.vim
21470
21471Patch 8.2.3550
21472Problem: completion() does not work properly.
21473Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21474 closes #9016)
21475Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21476
21477Patch 8.2.3551
21478Problem: Checking first character of url twice.
21479Solution: Only check once. (closes #9026)
21480Files: src/misc1.c
21481
21482Patch 8.2.3552
21483Problem: Xxd revert does not handle end of line correctly.
21484Solution: Check for newline first. (closes #9034)
21485Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21486
21487Patch 8.2.3553 (after 8.2.3552)
21488Problem: Xxd test fails on MS-Windows.
21489Solution: Split shell command in two.
21490Files: src/testdir/test_xxd.vim
21491
21492Patch 8.2.3554
21493Problem: Xxd has various way to exit.
21494Solution: Add function to print error and exit. (closes #9035)
21495Files: src/xxd/xxd.c
21496
21497Patch 8.2.3555
21498Problem: ModeChanged is not triggered on every mode change.
21499Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21500Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21501 src/misc1.c, src/normal.c, src/terminal.c,
21502 src/testdir/test_edit.vim
21503
21504Patch 8.2.3556
21505Problem: Filler lines are incorrect for other window in diff mode after
21506 making a change.
21507Solution: Copy filler lines from the current window. (closes #8809)
21508Files: src/diff.c, src/testdir/test_diffmode.vim,
21509 src/testdir/dumps/Test_diff_scroll_change_03.dump
21510
21511Patch 8.2.3557
21512Problem: Vim9: cannot call imported funcref at script level.
21513Solution: Check for an imported function. (closes #9007)
21514Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21515
21516Patch 8.2.3558 (after 8.2.3557)
21517Problem: Vim9: asserting the wrong variable.
21518Solution: Don't use Foo, use Goo.
21519Files: src/testdir/test_vim9_script.vim
21520
21521Patch 8.2.3559
21522Problem: Loop variable recreated every time.
21523Solution: Keep the loop variable when looping.
21524Files: src/ex_eval.c
21525
21526Patch 8.2.3560
21527Problem: Using freed memory with lambda.
21528Solution: Do not free lines early, keep them until the expression is
21529 finished. (closes #9020)
21530Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21531 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21532
21533Patch 8.2.3561
21534Problem: Cscope has a complicated way of giving an error message.
21535Solution: Use semsg(). (James McCoy, closes #9038)
21536Files: src/if_cscope.c
21537
21538Patch 8.2.3562
21539Problem: Cannot add color names.
21540Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21541Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21542 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21543 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21544 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21545 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21546 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21547 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21548 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21549 src/vim.h, src/globals.h, src/errors.h,
21550 src/testdir/test_highlight.vim
21551
21552Patch 8.2.3563 (after 8.2.3562)
21553Problem: Build failure with +eval but without GUI or +termguicolors
21554Solution: Adjust #ifdef. (John Marriott)
21555Files: src/highlight.c
21556
21557Patch 8.2.3564
21558Problem: Invalid memory access when scrolling without a valid screen.
21559Solution: Do not set VALID_BOTLINE in w_valid.
21560Files: src/move.c, src/testdir/test_normal.vim
21561
21562Patch 8.2.3565
21563Problem: Makefile dependencies are outdated. (Gary Johnson)
21564Solution: Run "make depend" and add missing dependencies.
21565Files: src/Makefile
21566
21567Patch 8.2.3566
21568Problem: Build failure on old systems when using nano timestamp.
21569Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21570 Johnson, closes #9054)
21571Files: src/vim.h
21572
21573Patch 8.2.3567
21574Problem: CTRL-I in Insert mode is not tested
21575Solution: Add a test case. (Dominique Pellé, closes #8866)
21576Files: src/testdir/test_edit.vim
21577
21578Patch 8.2.3568
21579Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21580Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21581Files: src/testdir/test_edit.vim
21582
21583Patch 8.2.3569
21584Problem: Error for :let when vimrc is Vim 9 script.
21585Solution: Prepend :legacy in the code for converting arguments. (Christian
21586 Brabandt, closes #9068, closes #9077)
21587Files: src/os_win32.c
21588
21589Patch 8.2.3570
21590Problem: Test_very_large_count fails on 32bit systems.
21591Solution: Bail out when using 32 bit numbers. (closes #9072)
21592Files: src/testdir/test_put.vim
21593
21594Patch 8.2.3571
21595Problem: Some unicode control characters are considered printable.
21596Solution: Make 0x2060 - 0x2069 not printable.
21597Files: src/mbyte.c
21598
21599Patch 8.2.3572
21600Problem: Memory leak when closing window and using "multispace" in
21601 'listchars'.
21602Solution: Free the memory. (closes #9071)
21603Files: src/window.c, src/testdir/test_listchars.vim
21604
21605Patch 8.2.3573
21606Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21607 (closes #9072)
21608Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21609 check for multiply overflow.
21610Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21611 src/testdir/test_put.vim
21612
21613Patch 8.2.3574 (after 8.2.3573)
21614Problem: Divide by zero.
21615Solution: Don't check for overflow if multiplicand is zero.
21616Files: src/register.c
21617
21618Patch 8.2.3575 (after 8.2.3574)
21619Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21620Solution: Use a float to check the result.
21621Files: src/register.c
21622
21623Patch 8.2.3576
21624Problem: Some functions are not documented for use with a method.
21625Solution: Add examples. Fix that sign_unplacelist() only takes one
21626 argument. (Sean Dewar, closes #9081)
21627Files: src/evalfunc.c, runtime/doc/eval.txt
21628
21629Patch 8.2.3577 (after 8.2.3574)
21630Problem: Overflow check fails with 32 bit ints.
21631Solution: Only test with 64 bit ints.
21632Files: src/testdir/test_put.vim
21633
21634Patch 8.2.3578
21635Problem: Manipulating highlighting is complicated.
21636Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21637 closes #9039)
21638Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21639 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21640 src/highlight.c, src/proto/highlight.pro,
21641 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21642
21643Patch 8.2.3579
21644Problem: CI sometimes fails for MinGW.
21645Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21646 closes #9078)
21647Files: src/testdir/runtest.vim
21648
21649Patch 8.2.3580
21650Problem: gj does not move properly with a wide character.
21651Solution: Move one to the right. (Christian Brabandt, closes #8702)
21652Files: src/normal.c, src/testdir/test_normal.vim
21653
21654Patch 8.2.3581
21655Problem: Reading character past end of line.
21656Solution: Correct the cursor column.
21657Files: src/ex_docmd.c, src/testdir/test_put.vim
21658
21659Patch 8.2.3582
21660Problem: Reading uninitialized memory when giving spell suggestions.
21661Solution: Check that preword is not empty.
21662Files: src/spellsuggest.c, src/testdir/test_spell.vim
21663
21664Patch 8.2.3583
21665Problem: The "gd" and "gD" commands do not update search stats. (Gary
21666 Johnson)
21667Solution: Clear search stats.
21668Files: src/normal.c, src/testdir/test_search_stat.vim,
21669 src/testdir/dumps/Test_searchstatgd_1.dump,
21670 src/testdir/dumps/Test_searchstatgd_2.dump
21671
21672Patch 8.2.3584
21673Problem: "verbose set efm" reports the location of the :compiler command.
21674 (Gary Johnson)
21675Solution: Add the "-keepscript" argument to :command and use it when
21676 defining CompilerSet.
21677Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21678 src/testdir/test_compiler.vim
21679
21680Patch 8.2.3585
21681Problem: Crash when passing float to "term_rows" in the options argument of
21682 term_start(). (Virginia Senioria)
21683Solution: Bail out if the argument is not a number. (closes #9116)
21684Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21685
21686Patch 8.2.3586 (after 8.2.3584)
21687Problem: Command completion test fails.
21688Solution: Add new argument to expected output
21689Files: src/testdir/test_usercommands.vim
21690
21691Patch 8.2.3587 (after 8.2.3584)
21692Problem: Compiler test fails with backslash file separator.
21693Solution: Accept slash and backslash.
21694Files: src/testdir/test_compiler.vim
21695
21696Patch 8.2.3588
21697Problem: Break statement is never reached.
21698Solution: Rely on return value of set_chars_option() not changing.
21699 (closes #9103)
21700Files: src/optionstr.c
21701
21702Patch 8.2.3589
21703Problem: Failure when the "term_rows" argument of term_start() is an
21704 unusual value.
21705Solution: Limit to range of zero to 1000. (closes #9116)
21706Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21707
21708Patch 8.2.3590
21709Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
21710Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
21711 closes #9105, closes #9073)
21712Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
21713 src/testdir/test_highlight.vim
21714
21715Patch 8.2.3591
21716Problem: No event is triggered when closing a window.
21717Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
21718Files: runtime/doc/autocmd.txt, src/autocmd.c,
21719 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
21720
21721Patch 8.2.3592
21722Problem: Test_hlset fails when terminal has many columns.
21723Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
21724 closes #9100)
21725Files: src/testdir/test_highlight.vim
21726
21727Patch 8.2.3593
21728Problem: Directory is wrong after executing "lcd" with win_execute().
21729Solution: Correct the directory when going back to the original window.
21730 (closes #9132)
21731Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
21732 src/testdir/test_execute_func.vim
21733
21734Patch 8.2.3594
21735Problem: Xxd code is a bit difficult to understand.
21736Solution: Move some lines to a separate function. (closes #9037)
21737Files: src/xxd/xxd.c
21738
21739Patch 8.2.3595
21740Problem: Check for signed overflow might not work everywhere.
21741Solution: Limit to 32 bit int. (closes #9043, closes #9067)
21742Files: src/getchar.c
21743
21744Patch 8.2.3596
21745Problem: Crash when using :pedit in Vim9 script.
21746Solution: Move check for arguments to after checking there are arguments.
21747 (Yegappan Lakshmanan, closes #9134, closes #9135)
21748Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
21749
21750Patch 8.2.3597
21751Problem: Vim seems to hang when writing a very long text to a terminal
21752 window.
21753Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
21754Files: runtime/doc/options.txt, src/terminal.c
21755
21756Patch 8.2.3598
21757Problem: RouterOS filetype is not recognized.
21758Solution: Add file and script patterns. (closes #9097)
21759Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21760
21761Patch 8.2.3599
21762Problem: Not all gdbinit files are recognized.
21763Solution: Add "gdbinit". (Doug Kearns)
21764Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21765
21766Patch 8.2.3600 (after 8.2.3598)
21767Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021768Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021769Files: runtime/scripts.vim
21770
21771Patch 8.2.3601
21772Problem: Check for overflow in put count does not work well.
21773Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
21774Files: src/register.c, src/testdir/test_put.vim
21775
21776Patch 8.2.3602
21777Problem: Python3 test fails with Python 3.10 on MS-Windows.
21778Solution: Adjust the expected error. (Ken Takata, closes #9118)
21779Files: src/testdir/test_python3.vim
21780
21781Patch 8.2.3603
21782Problem: Fish filetype not recognized.
21783Solution: Add a file pattern and match script line. (Doug Kearns)
21784Files: runtime/filetype.vim, runtime/scripts.vim,
21785 src/testdir/test_filetype.vim
21786
21787Patch 8.2.3604
21788Problem: Not all sudoers files are recognized.
21789Solution: Add a file pattern. (Doug Kearns, closes #1192)
21790Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21791
21792Patch 8.2.3605
21793Problem: Cannot clear and unlink a highlight group with hlset() in a
21794 single call.
21795Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
21796Files: runtime/doc/eval.txt, src/highlight.c,
21797 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
21798 src/testdir/test_vim9_cmd.vim
21799
21800Patch 8.2.3606
21801Problem: File missing from list of distributed files.
21802Solution: Add the file.
21803Files: Filelist
21804
21805Patch 8.2.3607
21806Problem: GTK3 screen updating is slow.
21807Solution: Remove some of the GTK3-specific code. (closes #9052)
21808Files: src/gui.h, src/gui_gtk_x11.c
21809
21810Patch 8.2.3608
21811Problem: Users who type "q:" instead of ":q" are confused.
21812Solution: Add an autocmd to give a message that explains this is the
21813 command-line window. (Egor Zvorykin, closes #9146)
21814Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
21815 src/testdir/test_cmdline.vim
21816
21817Patch 8.2.3609
21818Problem: Internal error when ModeChanged is triggered when v:event is
21819 already in use.
21820Solution: Save and restore v:event if needed.
21821Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
21822 src/insexpand.c, src/structs.h, src/register.c
21823
21824Patch 8.2.3610
21825Problem: Crash when ModeChanged triggered too early.
21826Solution: Trigger ModeChanged after setting VIsual.
21827Files: src/normal.c, src/testdir/test_edit.vim
21828
21829Patch 8.2.3611
21830Problem: Crash when using CTRL-W f without finding a file name.
21831Solution: Bail out when the file name length is zero.
21832Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
21833
21834Patch 8.2.3612
21835Problem: Using freed memory with regexp using a mark.
21836Solution: Get the line again after getting the mark position.
21837Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
21838
21839Patch 8.2.3613
21840Problem: :find test fails.
21841Solution: Put length check inside if block.
21842Files: src/findfile.c
21843
21844Patch 8.2.3614
21845Problem: zindex of popup windows not used when redrawing popup menu.
21846Solution: Check the zindex when redrawing the popup menu. (closes #9129,
21847 closes #9089)
21848Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
21849 src/screen.c, src/testdir/test_popupwin.vim,
21850 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
21851 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
21852
21853Patch 8.2.3615
21854Problem: When re-formatting with an indent expression the first line of a
21855 paragraph may get the wrong indent. (Martin F. Krafft)
21856Solution: Apply the correct indenting function for the first line.
21857 (Christian Brabandt, closes #9150, closes #9056)
21858Files: src/textformat.c, src/testdir/test_indent.vim
21859
21860Patch 8.2.3616
21861Problem: Arglist test does not clear the argument list consistently.
21862Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
21863Files: src/testdir/test_arglist.vim
21864
21865Patch 8.2.3617
21866Problem: ":verbose pwd" does not mention 'autochdir' was applied.
21867Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
21868Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
21869 src/main.c, src/netbeans.c, src/os_win32.c,
21870 src/testdir/test_autochdir.vim
21871
21872Patch 8.2.3618
21873Problem: getcwd() is unclear about how 'autochdir' is used.
21874Solution: Update the help for getcwd(). Without any arguments always return
21875 the actual current directory. (closes #9142)
21876Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
21877
21878Patch 8.2.3619
21879Problem: Cannot use a lambda for 'operatorfunc'.
21880Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
21881 closes #8775)
21882Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
21883 src/option.c, src/optionstr.c, src/proto/ops.pro,
21884 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
21885
21886Patch 8.2.3620
21887Problem: Memory leak reported in libtlib.
21888Solution: Call del_curterm() when cleaning up memory. Rename term.h to
21889 termdefs.h to avoid a name clash.
21890Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
21891 src/auto/configure, src/config.h.in, src/Makefile,
21892 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
21893 src/term.h, src/termdefs.h
21894
21895Patch 8.2.3621 (after 8.2.3620)
21896Problem: Build failure.
21897Solution: Add missing change.
21898Files: src/vim.h
21899
21900Patch 8.2.3622
21901Problem: "verbose pwd" shows confusing info when :lcd does not change
21902 directory.
21903Solution: Clear last_chdir_reason also when the directory does not change.
21904 (closes #9160)
21905Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
21906
21907Patch 8.2.3623
21908Problem: "$*" is expanded to "nonomatch".
21909Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
21910 Brabandt, closes #9159, closes #9153)
21911Files: src/os_unix.c, src/testdir/test_expand.vim
21912
21913Patch 8.2.3624
21914Problem: When renaming a terminal buffer the status text is not updated.
21915Solution: Clear the cached status text when renaming a terminal buffer.
21916 (closes #9162)
21917Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
21918 src/testdir/test_terminal.vim
21919
21920Patch 8.2.3625
21921Problem: Illegal memory access when C-indenting.
21922Solution: Also set the cursor column.
21923Files: src/cindent.c, src/testdir/test_cindent.vim
21924
21925Patch 8.2.3626
21926Problem: "au!" and "au! event" cannot be followed by another command as
21927 documented.
21928Solution: When a bar is found set nextcmd.
21929Files: src/autocmd.c, src/testdir/test_autocmd.vim
21930
21931Patch 8.2.3627
21932Problem: difficult to know where the text starts in a window. (Sergey
21933 Vlasov)
21934Solution: Add the "textoff" entry in the result of getwininfo().
21935 (closes #9163)
21936Files: runtime/doc/eval.txt, src/evalwindow.c,
21937 src/testdir/test_bufwintabinfo.vim
21938
21939Patch 8.2.3628
21940Problem: Looking up terminal colors is a bit slow.
21941Solution: Cache the terminal colors. (closes #9130, closes #9058)
21942Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
21943 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
21944 src/structs.h, src/terminal.c, src/window.c,
21945 src/testdir/test_terminal3.vim,
21946 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
21947 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
21948 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
21949 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
21950 src/testdir/dumps/Test_terminal_color_Terminal.dump,
21951 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
21952 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
21953 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
21954 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
21955 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
21956 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
21957 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
21958 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
21959 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
21960 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
21961 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
21962 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
21963 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
21964 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
21965 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
21966 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
21967 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
21968 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
21969 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
21970 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
21971 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
21972 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
21973 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
21974 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
21975 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
21976 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
21977 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
21978
21979Patch 8.2.3629
21980Problem: Command completion in cmdline window uses global user commands,
21981 not local commands for the window where it was opened from.
21982Solution: Use local commands. (closes #9168)
21983Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
21984 src/usercmd.c, src/testdir/test_ins_complete.vim
21985
21986Patch 8.2.3630
21987Problem: Printf() with %S does not handle multi-byte correctly.
21988Solution: Count cells instead of bytes. (closes #9169, closes #7486)
21989Files: src/strings.c, src/testdir/test_expr.vim
21990
21991Patch 8.2.3631
21992Problem: "syntax enable" does not work properly in Vim9 context.
21993Solution: Also handle Vim9 context. (closes #9161)
21994Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
21995
21996Patch 8.2.3632
21997Problem: GTK3: undercurl does not get removed properly.
21998Solution: Set the cairo cursor first. (closes #9170)
21999Files: src/gui_gtk_x11.c
22000
22001Patch 8.2.3633
22002Problem: Vim9: line number of lambda is off by one.
22003Solution: Add one to the line number. (closes #9083)
22004Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22005
22006Patch 8.2.3634
22007Problem: Error for already defined function uses wrong line number.
22008Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22009Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22010
22011Patch 8.2.3635
22012Problem: GTK: composing underline does not show.
22013Solution: Include composing character in pango call. A few more
22014 optimizations for ligatures. (Dusan Popovic, closes #9171,
22015 closes #9147)
22016Files: src/gui_gtk_x11.c
22017
22018Patch 8.2.3636
22019Problem: Coverity warns for unreachable code.
22020Solution: Remove unreachable else block.
22021Files: src/gui_gtk_x11.c
22022
22023Patch 8.2.3637
22024Problem: Typos in test files.
22025Solution: Correct the typos. (Dominique Pellé, closes #9175)
22026Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22027 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22028 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22029 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22030 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22031 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22032 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22033 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22034 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22035 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22036
22037Patch 8.2.3638
22038Problem: getcompletion() always passes zero as position to custom
22039 completion function.
22040Solution: Pass the pattern length. (closes #9173)
22041Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22042
22043Patch 8.2.3639 (after 8.2.2922)
22044Problem: Line commented out accidentally.
22045Solution: Uncomment. (Volodymyr Kot, closes #9172)
22046Files: src/main.c
22047
22048Patch 8.2.3640
22049Problem: Freeze when calling term_wait() in a close callback.
22050Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22051Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22052 src/testdir/test_terminal.vim
22053
22054Patch 8.2.3641
22055Problem: Xxd code has duplicate expressions.
22056Solution: Refactor to avoid duplication. (closes #9185)
22057Files: src/xxd/xxd.c
22058
22059Patch 8.2.3642
22060Problem: List of distributed files is outdated.
22061Solution: Rename term.h to termdefs.h.
22062Files: Filelist
22063
22064Patch 8.2.3643
22065Problem: Header for source file is outdated.
22066Solution: Make the header more accurate. (closes #9186)
22067Files: src/map.c, src/getchar.c
22068
22069Patch 8.2.3644
22070Problem: Count for 'operatorfunc' in Visual mode is not redone.
22071Solution: Add the count to the redo buffer. (closes #9174)
22072Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22073 src/testdir/test_normal.vim
22074
22075Patch 8.2.3645
22076Problem: Vim9: The "no effect" error is not given for all registers.
22077Solution: Include any character following '@'. (closes #8779)
22078Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22079
22080Patch 8.2.3646
22081Problem: Using <sfile> in a function gives an unexpected result.
22082Solution: Give an error in a Vim9 function. (issue #9189)
22083Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22084
22085Patch 8.2.3647
22086Problem: GTK: when using ligatures the cursor is drawn wrong.
22087Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22088 closes #9190)
22089Files: src/gui.c
22090
22091Patch 8.2.3648
22092Problem: "verbose pwd" is incorrect after dropping files on Vim.
22093Solution: Set the chdir reason to "drop".
22094Files: src/gui.c
22095
22096Patch 8.2.3649
22097Problem: Vim9: error for variable declared in while loop.
22098Solution: Do not keep the first variable. (closes #9191)
22099Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22100
22101Patch 8.2.3650
22102Problem: Vim9: for loop variable can be a list member.
22103Solution: Check for valid variable name. (closes #9179)
22104Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22105 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22106
22107Patch 8.2.3651
22108Problem: Vim9: no error for :lock or :unlock with unknown variable.
22109Solution: Give an error. (closes #9188)
22110Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22111
22112Patch 8.2.3652
22113Problem: Can only get text properties one line at a time.
22114Solution: Add options to prop_list() to use a range of lines and filter by
22115 types. (Yegappan Lakshmanan, closes #9138)
22116Files: runtime/doc/textprop.txt, src/textprop.c,
22117 src/testdir/test_textprop.vim
22118
22119Patch 8.2.3653
22120Problem: Terminal ANSI colors may be wrong.
22121Solution: Initialize the color type. (closes #9198, closes #9197)
22122Files: src/terminal.c
22123
22124Patch 8.2.3654
22125Problem: GTK: a touch-drag does not update the selection.
22126Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22127 closes #9194)
22128Files: src/gui_gtk_x11.c
22129
22130Patch 8.2.3655
22131Problem: Compiler warning for using size_t for int.
22132Solution: Add a type cast. (Mike Williams, closes #9199)
22133Files: src/vim9compile.c
22134
22135Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022136Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022137Solution: Give a "without effect" error. (closes #9166)
22138Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22139
22140Patch 8.2.3657
22141Problem: Vim9: debug text misses one line of return statement.
22142Solution: Add a line when not at a debug instruction. (closes #9137)
22143Files: src/vim9execute.c, src/testdir/test_debugger.vim
22144
22145Patch 8.2.3658
22146Problem: Duplicate code in xxd.
22147Solution: Merge duplicated code. Add more tests. (closes #9192)
22148Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22149
22150Patch 8.2.3659
22151Problem: Integer overflow with large line number.
22152Solution: Check for overflow. (closes #9202)
22153Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22154 src/normal.c, src/testdir/test_normal.vim
22155
22156Patch 8.2.3660 (after 8.2.3659)
22157Problem: Overflow check uses wrong number.
22158Solution: Divide by ten.
22159Files: src/normal.c
22160
22161Patch 8.2.3661 (after 8.2.3659)
22162Problem: Test for put with large count fails.
22163Solution: Adjust the counts in the test.
22164Files: src/testdir/test_put.vim
22165
22166Patch 8.2.3662
22167Problem: Illegal memory access if malloc() fails.
22168Solution: Check 'foldmethod' is not empty. (closes #9207)
22169Files: src/fold.c
22170
22171Patch 8.2.3663
22172Problem: Using %S in printf() does not work correctly.
22173Solution: Fix the problem and add more tests. (closes #9208)
22174Files: src/strings.c, src/testdir/test_expr.vim
22175
22176Patch 8.2.3664
22177Problem: Cannot adjust sign highlighting for 'cursorline'.
22178Solution: Add CursorLineSign and CursorLineFold highlight groups.
22179 (Gregory Anders, closes #9201)
22180Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22181 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22182 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22183 src/testdir/test_signs.vim
22184
22185Patch 8.2.3665
22186Problem: Cannot use a lambda for 'tagfunc'.
22187Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22188Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22189 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22190 src/testdir/test_tagfunc.vim
22191
22192Patch 8.2.3666
22193Problem: Libvterm is outdated.
22194Solution: Include patches from revision 769 to revision 789.
22195Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22196 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22197 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22198 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22199 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22200 src/libvterm/t/29state_fallback.test,
22201 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22202 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22203 src/terminal.c
22204
22205Patch 8.2.3667
22206Problem: Building libvterm fails with MSVC.
22207Solution: Don't use C99 construct.
22208Files: src/libvterm/src/state.c
22209
22210Patch 8.2.3668
22211Problem: Messages may be corrupted.
22212Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22213 closes #9195)
22214Files: src/highlight.c, src/testdir/test_highlight.vim
22215
22216Patch 8.2.3669
22217Problem: Buffer overflow with long help argument.
22218Solution: Use snprintf().
22219Files: src/help.c, src/testdir/test_help.vim
22220
22221Patch 8.2.3670
22222Problem: Error checks repeated several times.
22223Solution: Move the checks to functions. (closes #9213)
22224Files: src/xxd/xxd.c
22225
22226Patch 8.2.3671
22227Problem: Restarting Insert mode in prompt buffer too often when a callback
22228 switches windows and comes back. (Sean Dewar)
22229Solution: Do not set "restart_edit" when already in Insert mode.
22230 (closes #9212)
22231Files: src/window.c, src/testdir/test_prompt_buffer.vim
22232
22233Patch 8.2.3672 (after 8.2.3670)
22234Problem: Build failure with unsigned char.
22235Solution: Use int instead of char.
22236Files: src/xxd/xxd.c
22237
22238Patch 8.2.3673
22239Problem: Crash when allocating signal stack fails.
22240Solution: Only using sourcing info when available. (closes #9215)
22241Files: src/globals.h, src/message.c
22242
22243Patch 8.2.3674
22244Problem: When ml_get_buf() fails it messes up IObuff.
22245Solution: Return a local pointer. (closes #9214)
22246Files: src/memline.c
22247
22248Patch 8.2.3675
22249Problem: Using freed memory when vim_strsave() fails.
22250Solution: Clear "last_sourcing_name". Check for msg_source() called
22251 recursively. (closes #8217)
22252Files: src/message.c
22253
22254Patch 8.2.3676
22255Problem: Unused runtime file.
22256Solution: Remove rgb.txt.
22257Files: runtime/rgb.txt
22258
22259Patch 8.2.3677
22260Problem: After a put the '] mark is on the last byte of a multi-byte
22261 character.
22262Solution: Move it to the first byte. (closes #9047)
22263Files: src/register.c, src/testdir/test_put.vim
22264
22265Patch 8.2.3678 (after 8.2.3677)
22266Problem: Illegal memory access.
22267Solution: Ignore changed indent when computing byte offset.
22268Files: src/register.c
22269
22270Patch 8.2.3679
22271Problem: objc file detected as Octave. (Antony Lee)
22272Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22273 closes #9220)
22274Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22275
22276Patch 8.2.3680
22277Problem: Repeated code in xxd.
22278Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22279Files: src/xxd/xxd.c
22280
22281Patch 8.2.3681
22282Problem: Cannot drag popup window after click on a status line. (Sergey
22283 Vlasov)
22284Solution: Reset on_status_line. (closes #9221)
22285Files: src/mouse.c, src/testdir/test_popupwin.vim,
22286 src/testdir/dumps/Test_popupwin_drag_04.dump
22287
22288Patch 8.2.3682
22289Problem: Vim9: assigning to a script variable drops the required type.
22290Solution: Lookup the type of the variable and use it. (closes #9219)
22291Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22292 src/testdir/test_vim9_assign.vim
22293
22294Patch 8.2.3683
22295Problem: Vim9: cannot use `=expr` in :...do commands.
22296Solution: Add EX_EXPAND to the commands. (closes #9232)
22297Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22298
22299Patch 8.2.3684
22300Problem: Blockwise insert does not handle autoindent properly.
22301Solution: Adjust text column for indent. (closes #9229)
22302Files: src/ops.c, src/testdir/test_blockedit.vim
22303
22304Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022305Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022306Solution: Use the xml file type. (Doug Kearns)
22307Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22308
22309Patch 8.2.3686
22310Problem: Filetype detection often mixes up Forth and F#.
22311Solution: Add a function to inspect the file contents. (Doug Kearns)
22312Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22313 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22314 src/testdir/test_filetype.vim
22315
22316Patch 8.2.3687
22317Problem: Blockwise insert does not handle autoindent properly when tab is
22318 inserted.
22319Solution: Adjust text column for indent before computing column.
22320 (closes #9229)
22321Files: src/ops.c, src/testdir/test_blockedit.vim
22322
22323Patch 8.2.3688
22324Problem: The window title is not updated when dragging the scrollbar.
22325Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22326Files: src/gui.c
22327
22328Patch 8.2.3689
22329Problem: ex_let_one() is too long.
22330Solution: Split into multiple functions.
22331Files: src/evalvars.c
22332
22333Patch 8.2.3690
22334Problem: Vim9: "filter #pat# cmd" does not work.
22335Solution: Do not see #pat# as a comment.
22336Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22337
22338Patch 8.2.3691
22339Problem: Build failure with small features.
22340Solution: Add #ifdef. (Dominique Pellé)
22341Files: src/gui.c
22342
22343Patch 8.2.3692
22344Problem: Vim9: cannot use :func inside a :def function.
22345Solution: Make it work.
22346Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22347 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22348
22349Patch 8.2.3693
22350Problem: Coverity warns for possibly using a NULL pointer.
22351Solution: Check for NULL and give an error.
22352Files: src/vim9execute.c, src/errors.h
22353
22354Patch 8.2.3694
22355Problem: Cannot use quotes in the count of an Ex command.
22356Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22357 a range. (closes #9240)
22358Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22359 src/testdir/test_usercommands.vim
22360
22361Patch 8.2.3695
22362Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022363Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022364Files: src/eval.c, src/testdir/test_listdict.vim
22365
22366Patch 8.2.3696
22367Problem: Vim9: error for invalid assignment when skipping.
22368Solution: Do not check white space when skipping. (closes #9243)
22369Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22370
22371Patch 8.2.3697
22372Problem: Cannot drag a popup without a border.
22373Solution: Add the "dragall" option. (closes #9218)
22374Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22375 src/testdir/test_popupwin.vim,
22376 src/testdir/dumps/Test_popupwin_drag_05.dump,
22377 src/testdir/dumps/Test_popupwin_drag_06.dump
22378
22379Patch 8.2.3698
22380Problem: Match highlighting continues over breakindent.
22381Solution: Stop before the end column. (closes #9242)
22382Files: src/match.c, src/proto/match.pro, src/drawline.c,
22383 src/testdir/test_match.vim,
22384 src/testdir/dumps/Test_match_linebreak.dump
22385
22386Patch 8.2.3699
22387Problem: The +title feature adds a lot of #ifdef but little code.
22388Solution: Graduate the +title feature.
22389Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22390 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22391 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22392 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22393 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22394 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22395 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22396 src/globals.h, src/option.h, src/optiondefs.h,
22397 runtime/doc/options.txt, runtime/doc/various.txt
22398
22399Patch 8.2.3700
22400Problem: Text property highlighting continues over breakindent.
22401Solution: Stop before the end column. (closes #9242)
22402Files: src/drawline.c, src/testdir/test_textprop.vim,
22403 src/testdir/dumps/Test_prop_linebreak.dump
22404
22405Patch 8.2.3701
22406Problem: Vim9: invalid LHS is not possible.
22407Solution: Remove unreachable error message.
22408Files: src/vim9compile.c
22409
22410Patch 8.2.3702
22411Problem: First key in dict is seen as curly expression and fails.
22412Solution: Ignore failure of curly expression. (closes #9247)
22413Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22414
22415Patch 8.2.3703 (after 8.2.3686)
22416Problem: Most people call F# "fsharp" and not "fs".
22417Solution: Rename filetype "fs" to "fsharp".
22418Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22419 src/testdir/test_filetype.vim
22420
22421Patch 8.2.3704
22422Problem: Vim9: cannot use a list declaration in a :def function.
22423Solution: Make it work.
22424Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22425 src/testdir/test_vim9_assign.vim
22426
22427Patch 8.2.3705
22428Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22429 Lakshmanan)
22430Solution: Handle a lambda name differently.
22431Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22432 src/testdir/test_expr.vim
22433
22434Patch 8.2.3706 (after 8.2.3700)
22435Problem: Text property highlighting is used on Tab.
22436Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22437Files: src/drawline.c, src/testdir/test_textprop.vim,
22438 src/testdir/dumps/Test_prop_after_tab.dump
22439
22440Patch 8.2.3707
22441Problem: Vim9: constant expression of elseif not recognized.
22442Solution: Set instruction count before generating the expression.
22443Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22444
22445Patch 8.2.3708 (after 8.2.3707)
22446Problem: Vim9: test fails with different error.
22447Solution: Correct the error number.
22448Files: src/testdir/test_vim9_cmd.vim
22449
22450Patch 8.2.3709
22451Problem: Vim9: backtick expression expanded when not desired.
22452Solution: Only expand a backtick expression for commands that expand their
22453 argument. Remove a few outdated TODO comments.
22454Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22455
22456Patch 8.2.3710
22457Problem: Vim9: backtick expression expanded for :global.
22458Solution: Check the following command.
22459Files: runtime/doc/vim9.txt, src/vim9compile.c,
22460 src/testdir/test_vim9_cmd.vim
22461
22462Patch 8.2.3711
22463Problem: Vim9: memory leak when compiling :elseif fails.
22464Solution: Cleanup ppconst.
22465Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22466
22467Patch 8.2.3712
22468Problem: Cannot use Vim9 lambda for 'tagfunc'.
22469Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22470Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22471 src/testdir/test_tagfunc.vim
22472
22473Patch 8.2.3713
22474Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22475Solution: Give an error message. (Christian Brabandt, closes #9245,
22476 closes #8762)
22477Files: src/quickfix.c, src/testdir/test_quickfix.vim
22478
22479Patch 8.2.3714
22480Problem: Some unused assignments and ugly code in xxd.
22481Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22482Files: src/xxd/xxd.c
22483
22484Patch 8.2.3715
22485Problem: Vim9: valgrind reports spurious problems for a test.
22486Solution: Move the test to the set that is known to fail.
22487Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22488
22489Patch 8.2.3716
22490Problem: Vim9: range without a command is not compiled.
22491Solution: Add the ISN_EXECRANGE byte code.
22492Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22493 src/vim9execute.c, src/vim9.h,
22494 src/testdir/test_vim9_disassemble.vim
22495
22496Patch 8.2.3717
22497Problem: Vim9: error for constant list size is only given at runtime.
22498Solution: Give the error at compile time if possible.
22499Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22500 src/testdir/test_vim9_script.vim,
22501 src/testdir/test_vim9_disassemble.vim
22502
22503Patch 8.2.3718
22504Problem: Compiler warns for unused variable without the +textprop feature.
22505 (John Marriott)
22506Solution: Adjust #ifdefs.
22507Files: src/drawline.c
22508
22509Patch 8.2.3719
22510Problem: MS-Windows: test sometimes runs into existing swap file.
22511Solution: Use a different file name.
22512Files: src/testdir/test_buffer.vim
22513
22514Patch 8.2.3720
22515Problem: Vim9: Internal error when invoking closure in legacy context.
22516Solution: Give a more appropriate error message. (closes #9251)
22517Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22518
22519Patch 8.2.3721
22520Problem: Using memory freed by losing the clipboard selection. (Dominique
22521 Pellé)
22522Solution: Check y_array is still valid after calling changed_lines().
22523 (closes #9253)
22524Files: src/errors.h, src/register.c
22525
22526Patch 8.2.3722
22527Problem: Amiga: superfluous messages for freeing lots of yanked text.
22528Solution: Assume that the machine isn't that slow these days.
22529Files: src/register.c
22530
22531Patch 8.2.3723
22532Problem: When using 'linebreak' a text property starts too early.
22533Solution: Decrement "bcol" when looking for property start. (closes #9242)
22534Files: src/drawline.c, src/testdir/test_textprop.vim,
22535 src/testdir/dumps/Test_prop_after_linebreak.dump
22536
22537Patch 8.2.3724
22538Problem: Build error for missing error message in small build.
22539Solution: Correct #ifdef.
22540Files: src/errors.h
22541
22542Patch 8.2.3725
22543Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22544Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22545Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22546 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22547 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22548 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22549 src/testdir/test_tagfunc.vim
22550
22551Patch 8.2.3726
22552Problem: README file in a config directory gets wrong filetype.
22553Solution: Match README before patterns that match everything in a directory.
22554Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22555
22556Patch 8.2.3727
22557Problem: In a gnome terminal keys are recognized as mouse events.
22558Solution: Only recognize DEC mouse events when four numbers are following.
22559 (closes #9256)
22560Files: src/term.c, src/testdir/test_termcodes.vim
22561
22562Patch 8.2.3728
22563Problem: Internal error when passing range() to list2blob().
22564Solution: Materialize the list first. (closes #9262)
22565Files: src/blob.c, src/testdir/test_blob.vim
22566
22567Patch 8.2.3729
22568Problem: No support for squirrels.
22569Solution: Recognize nuts. (closes #9259)
22570Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22571
22572Patch 8.2.3730
22573Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22574Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22575Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22576
22577Patch 8.2.3731
22578Problem: "set! termcap" shows codes in one column, but not keys.
22579Solution: Also use one column for keys. (closes #9258)
22580Files: src/option.c, src/term.c, src/proto/term.pro,
22581 src/testdir/test_set.vim
22582
22583Patch 8.2.3732 (after 8.2.3731)
22584Problem: "set! termcap" test fails.
22585Solution: Account for keys without a t_xx entry.
22586Files: src/testdir/test_set.vim
22587
22588Patch 8.2.3733
22589Problem: Vim9: using "legacy" before range does not work.
22590Solution: Skip over range before parsing command. (closes #9270)
22591Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22592
22593Patch 8.2.3734
22594Problem: Vim9: crash when no pattern match found.
22595Solution: Check for error.
22596Files: src/vim9execute.c
22597
22598Patch 8.2.3735
22599Problem: Cannot use a lambda for 'imactivatefunc'.
22600Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22601 (Yegappan Lakshmanan, closes #9275)
22602Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22603 src/optionstr.c, src/proto/gui_xim.pro,
22604 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22605
22606Patch 8.2.3736
22607Problem: Test fails without the channel feature. (Dominique Pellé)
22608Solution: Source the check.vim script. (closes #9277)
22609Files: src/testdir/test_vim9_fails.vim
22610
22611Patch 8.2.3737
22612Problem: Test fails without the 'autochdir' option.
22613Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22614Files: src/testdir/test_cd.vim
22615
22616Patch 8.2.3738
22617Problem: Screen is cleared when a FocusLost autocommand triggers.
22618Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22619Files: src/misc1.c
22620
22621Patch 8.2.3739
22622Problem: In wrong directory when using win_execute() with 'acd' set.
22623Solution: Restore the directory when returning to the window. (closes #9276)
22624Files: src/window.c, src/testdir/test_autochdir.vim
22625
22626Patch 8.2.3740
22627Problem: Memory left allocated on exit when using Tcl.
22628Solution: Call Tcl_Finalize().
22629Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22630
22631Patch 8.2.3741
22632Problem: Using freed memory in open command.
22633Solution: Make a copy of the current line.
22634Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22635
22636Patch 8.2.3742
22637Problem: Dec mouse test fails without gnome terminfo entry.
22638Solution: Check if there is a gnome entry. Also fix 'acd' test on
22639 MS-Windows. (Ozaki Kiichi, closes #9282)
22640Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22641
22642Patch 8.2.3743
22643Problem: ":sign" can add a highlight group without a name.
22644Solution: Give an error if the group name is missing. (closes #9280)
22645Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22646
22647Patch 8.2.3744
22648Problem: E854 is not tested; some spelling suggestions are not tested.
22649Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22650Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22651
22652Patch 8.2.3745
22653Problem: Autochdir test fails without the +channel feature.
22654Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22655Files: src/testdir/test_autochdir.vim
22656
22657Patch 8.2.3746
22658Problem: Cannot disassemble function starting with "debug" or "profile".
22659Solution: Check for white space following. (closes #9273)
22660Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22661
22662Patch 8.2.3747 (after 8.2.3743)
22663Problem: Cannot remove highlight from an existing sign. (James McCoy)
22664Solution: Only reject empty argument for a new sign.
22665Files: src/sign.c, src/testdir/test_signs.vim
22666
22667Patch 8.2.3748 (after 8.2.3747)
22668Problem: Giving an error for an empty sign argument breaks a plugin.
22669Solution: Do not give an error.
22670Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22671
22672Patch 8.2.3749
22673Problem: Error messages are everywhere.
22674Solution: Move more error messages to errors.h and adjust the names.
22675Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22676 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22677 src/bufwrite.c, src/cmdexpand.c
22678
22679Patch 8.2.3750
22680Problem: Error messages are everywhere.
22681Solution: Move more error messages to errors.h and adjust the names.
22682Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22683 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22684 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22685 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22686
22687Patch 8.2.3751
22688Problem: Cannot assign a lambda to an option that takes a function.
22689Solution: Automatically convert the lambda to a string. (Yegappan
22690 Lakshmanan, closes #9286)
22691Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22692 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22693 src/option.c, src/option.h, src/optiondefs.h,
22694 src/proto/option.pro, src/spell.c, src/typval.c,
22695 src/vim9compile.c, src/testdir/test_iminsert.vim,
22696 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22697
22698Patch 8.2.3752
22699Problem: Build error when using Photon GUI.
22700Solution: Adjust #ifdef. (closes #9288)
22701Files: src/beval.c
22702
22703Patch 8.2.3753
22704Problem: Vim9: function unreferenced while called is never deleted.
22705Solution: Delete a function when no longer referenced.
22706Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22707
22708Patch 8.2.3754 (after 8.2.3615)
22709Problem: Undesired changing of the indent of the first formatted line.
22710Solution: Do not indent the first formatted line.
22711Files: src/textformat.c, src/testdir/test_indent.vim
22712
22713Patch 8.2.3755
22714Problem: Coverity warns for using a buffer in another scope.
22715Solution: Declare the buffer in a common scope.
22716Files: src/evalvars.c
22717
22718Patch 8.2.3756
22719Problem: might crash when callback is not valid.
22720Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
22721Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
22722 src/userfunc.c, src/testdir/test_iminsert.vim,
22723 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22724
22725Patch 8.2.3757
22726Problem: An overlong highlight group name is silently truncated.
22727Solution: Give an error if the name is too long. (closes #9289)
22728Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
22729
22730Patch 8.2.3758
22731Problem: Options that take a function insufficiently tested.
22732Solution: Add additional tests and enhance existing tests. (Yegappan
22733 Lakshmanan, closes #9298)
22734Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22735 src/testdir/test_tagfunc.vim
22736
22737Patch 8.2.3759
22738Problem: Quickfix buffer becomes hidden while still in a window.
22739Solution: Check if the closed window is the last window showing the quickfix
22740 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
22741Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
22742
22743Patch 8.2.3760
22744Problem: Not automatically handling gnome terminal mouse like xterm.
22745Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
22746 (issue #9296)
22747Files: src/os_unix.c
22748
22749Patch 8.2.3761
22750Problem: Focus change is not passed on to a terminal window.
22751Solution: If the current window is a terminal and focus events are enabled
22752 send a focus event escape sequence to the terminal.
22753Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
22754 src/testdir/test_terminal.vim,
22755 src/testdir/dumps/Test_terminal_focus_1.dump,
22756 src/testdir/dumps/Test_terminal_focus_2.dump
22757
22758Patch 8.2.3762
22759Problem: If the quickfix buffer is wiped out getqflist() still returns its
22760 number.
22761Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
22762 closes #9306)
22763Files: src/quickfix.c, src/testdir/test_quickfix.vim
22764
22765Patch 8.2.3763
22766Problem: When editing the command line a FocusLost callback may cause the
22767 screen to scroll up.
22768Solution: Do not redraw at the last line but at the same place where the
22769 command line was before. (closes #9295)
22770Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
22771 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
22772 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
22773 src/testdir/test_terminal.vim,
22774 src/testdir/dumps/Test_terminal_focus_1.dump,
22775 src/testdir/dumps/Test_terminal_focus_2.dump,
22776 src/testdir/dumps/Test_terminal_focus_3.dump
22777
22778Patch 8.2.3764
22779Problem: Cannot see any text when window was made zero lines or zero
22780 columns.
22781Solution: Ensure there is at least one line and column. (fixes #9307)
22782Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
22783 src/testdir/test_window_cmd.vim
22784
22785Patch 8.2.3765
22786Problem: Vim9: cannot use a lambda for 'opfunc' and others.
22787Solution: Convert the lambda to a string.
22788Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
22789 src/testdir/test_vim9_func.vim,
22790 src/testdir/test_vim9_disassemble.vim
22791
22792Patch 8.2.3766
22793Problem: Converting a funcref to a string leaves out "g:", causing the
22794 meaning of the name depending on the context.
22795Solution: Prepend "g:" for a global function.
22796Files: src/eval.c, src/testdir/test_functions.vim
22797
22798Patch 8.2.3767 (after 8.2.3766)
22799Problem: Crash when using NULL partial.
22800Solution: Check for NULL.
22801Files: src/eval.c
22802
22803Patch 8.2.3768
22804Problem: timer_info() has the wrong repeat value in a timer callback.
22805 (Sergey Vlasov)
22806Solution: Do not add one to the repeat value when in the callback.
22807 (closes #9294)
22808Files: src/time.c, src/testdir/test_timers.vim
22809
22810Patch 8.2.3769
22811Problem: Zig files are not recognized.
22812Solution: Add *.zig. (Gregory Anders, closes #9313)
22813Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22814
22815Patch 8.2.3770
22816Problem: New compiler warnings from clang-12 and clang-13.
22817Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
22818Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
22819 src/os_unix.c, src/spellfile.c
22820
22821Patch 8.2.3771
22822Problem: Vim9: accessing freed memory when checking type.
22823Solution: Make a copy of a function type.
22824Files: src/structs.h, src/evalvars.c, src/vim9script.c,
22825 src/testdir/test_vim9_func.vim
22826
22827Patch 8.2.3772
22828Problem: Timer info test fails on slow machine.
22829Solution: Use WaitForAssert().
22830Files: src/testdir/test_timers.vim
22831
22832Patch 8.2.3773
22833Problem: Wrong window size when a modeline changes 'columns' and there is
22834 more than one tabpage. (Michael Soyka)
22835Solution: Adjust the frames of all tabpages. (closes #9315)
22836Files: src/window.c
22837
22838Patch 8.2.3774 (after 8.2.3773)
22839Problem: Test for command line height fails.
22840Solution: Use another way to handle window size change.
22841Files: src/structs.h, src/window.c
22842
22843Patch 8.2.3775
22844Problem: Vim9: lambda compiled without outer context when debugging.
22845Solution: When compiling a lambda for debugging also compile it without.
22846 (closes #9302)
22847Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
22848
22849Patch 8.2.3776
22850Problem: When a tags file line is long a tag may not be found.
22851Solution: When increasing the buffer size read the same line again.
22852Files: src/tag.c, src/testdir/test_taglist.vim
22853
22854Patch 8.2.3777
22855Problem: Spell file write error not checked.
22856Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
22857Files: src/spellfile.c
22858
22859Patch 8.2.3778
22860Problem: Lambda debug test fails in some configurations.
22861Solution: Check feature in a legacy function.
22862Files: src/testdir/test_vim9_script.vim
22863
22864Patch 8.2.3779
22865Problem: Using freed memory when defining a user command from a user
22866 command.
22867Solution: Do not use the command pointer after executing the command.
22868 (closes #9318)
22869Files: src/usercmd.c, src/testdir/test_usercommands.vim
22870
22871Patch 8.2.3780
22872Problem: ":cd" works differently on MS-Windows.
22873Solution: Add the 'cdhome' option. (closes #9324)
22874Files: runtime/doc/editing.txt, runtime/doc/options.txt,
22875 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
22876 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
22877 src/testdir/test_options.vim
22878
22879Patch 8.2.3781
22880Problem: The option window script is outdated.
22881Solution: Add several changes.
22882Files: runtime/optwin.vim
22883
22884Patch 8.2.3782
22885Problem: Vim9: no error if a function shadows a script variable.
22886Solution: Check the function doesn't shadow a variable. (closes #9310)
22887Files: src/userfunc.c, src/evalvars.c, src/vim.h,
22888 src/testdir/test_vim9_script.vim
22889
22890Patch 8.2.3783
22891Problem: Confusing error for using a variable as a function.
22892Solution: If a function is not found but there is a variable, give a more
22893 useful error. (issue #9310)
22894Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
22895 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
22896 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
22897
22898Patch 8.2.3784
22899Problem: The help for options is outdated.
22900Solution: Include all the recent changes.
22901Files: runtime/doc/options.txt
22902
22903Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022904Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022905Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
22906 normal features.
22907Files: .github/workflows/ci.yml
22908
22909Patch 8.2.3786
22910Problem: Test fails because of using Vim9 syntax in legacy function.
22911Solution: Add "call".
22912Files: src/testdir/test_functions.vim
22913
22914Patch 8.2.3787
22915Problem: No proper formatting of a C line comment after a statement.
22916Solution: Find the start of the line comment, insert the comment leader and
22917 indent the comment properly.
22918Files: src/change.c, src/proto/change.pro, src/search.c,
22919 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
22920 src/textformat.c, src/testdir/test_textformat.vim,
22921 src/testdir/test_cindent.vim
22922
22923Patch 8.2.3788
22924Problem: Lambda for option that is a function may be garbage collected.
22925Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
22926 closes #9330)
22927Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
22928 src/insexpand.c, src/ops.c, src/proto/eval.pro,
22929 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
22930 src/proto/tag.pro, src/quickfix.c, src/tag.c,
22931 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
22932 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
22933 src/testdir/test_tagfunc.vim
22934
22935Patch 8.2.3789
22936Problem: Test_window_minimal_size can fail on a slow machine.
22937Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
22938 closes #9335)
22939Files: src/testdir/test_window_cmd.vim
22940
22941Patch 8.2.3790
22942Problem: Test for term_gettitle() fails in some environments.
22943Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
22944Files: src/testdir/test_terminal2.vim
22945
22946Patch 8.2.3791
22947Problem: Build error with +cindent but without +smartindent.
22948Solution: Move declaration of "do_cindent". (John Marriott)
22949Files: src/change.c
22950
22951Patch 8.2.3792
22952Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022953Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022954Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
22955 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
22956 src/testdir/test_tagfunc.vim
22957
22958Patch 8.2.3793
22959Problem: Using "g:Func" as a funcref does not work in script context
22960 because "g:" is dropped.
22961Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022962 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022963Files: src/evalvars.c, src/testdir/test_vim9_func.vim
22964
22965Patch 8.2.3794
22966Problem: Vim9: cannot find script-local func using "s:". (Yegappan
22967 Lakshmanan)
22968Solution: Skip the "s:".
22969Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22970
22971Patch 8.2.3795
22972Problem: Too many #ifdefs.
22973Solution: Graduate the jumplist feature.
22974Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
22975 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
22976 src/mark.c, src/normal.c, src/undo.c, src/version.c,
22977 src/viminfo.c, src/window.c, src/structs.h,
22978 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
22979 src/testdir/test_normal.vim
22980
22981Patch 8.2.3796
22982Problem: The funcexe_T struct members are not named consistently.
22983Solution: Prefix "fe_" to all the members.
22984Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
22985 src/terminal.c, src/userfunc.c, src/vim9execute.c
22986
22987Patch 8.2.3797
22988Problem: No good reason to limit the message history in the tiny version.
22989Solution: Always use 200.
22990Files: runtime/doc/message.txt, src/feature.h
22991
22992Patch 8.2.3798
22993Problem: A :def callback function postpones an error message.
22994Solution: Display the error after calling the function. (closes #9340)
22995Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
22996 src/testdir/dumps/Test_opfunc_error.dump
22997
22998Patch 8.2.3799 (after 8.2.3798)
22999Problem: Edit test hangs or fails.
23000Solution: Do not rethrow an exception when inside try/catch.
23001Files: src/userfunc.c
23002
23003Patch 8.2.3800
23004Problem: When cross compiling the output of "uname" cannot be set. (Ben
23005 Reeves)
23006Solution: Use cache variables. (closes #9338)
23007Files: src/configure.ac, src/auto/configure
23008
23009Patch 8.2.3801
23010Problem: If a terminal shows in two windows, only one is redrawn.
23011Solution: Reset the dirty row range only after redrawing all windows.
23012 (closes #9341)
23013Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23014 src/testdir/test_terminal.vim
23015
23016Patch 8.2.3802
23017Problem: Terminal in two windows test fails on some systems.
23018Solution: Wait a bit between commands.
23019Files: src/testdir/test_terminal.vim
23020
23021Patch 8.2.3803
23022Problem: Crash when 'writedelay' is set and using a terminal window to
23023 execute a shell command.
23024Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23025Files: src/terminal.c
23026
23027Patch 8.2.3804
23028Problem: Script context not set when copying 'swf' and 'ts'.
23029Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23030Files: src/option.c
23031
23032Patch 8.2.3805
23033Problem: i3config files are not recognized.
23034Solution: Add patterns to match i3config files. (Quentin Hibon,
23035 closes #7969)
23036Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23037
23038Patch 8.2.3806
23039Problem: Terminal focus test fails sometimes.
23040Solution: Run the test function before others.
23041Files: src/testdir/test_terminal.vim
23042
23043Patch 8.2.3807
23044Problem: Vim9: can call import with star directly.
23045Solution: Check that the import used star.
23046Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23047
23048Patch 8.2.3808
23049Problem: Vim9: obsolete TODO items
23050Solution: Remove the comments.
23051Files: src/vim9execute.c
23052
23053Patch 8.2.3809
23054Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23055 Senioria)
23056Solution: Set references in all the funcstacks. (closes #9348)
23057Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23058 src/eval.c, src/testdir/test_vim9_func.vim
23059
23060Patch 8.2.3810
23061Problem: Vim9: expr4 test fails on MS-Windows.
23062Solution: Do not give an error for a missing function name when skipping.
23063Files: src/eval.c, src/testdir/test_vim9_expr.vim
23064
23065Patch 8.2.3811
23066Problem: The opfunc error test fails on a slow machine.
23067Solution: Use WaitForAssert().
23068Files: src/testdir/test_vim9_func.vim
23069
23070Patch 8.2.3812
23071Problem: Vim9: leaking memory in numbered function test.
23072Solution: Skip "g:" when checking for numbered function. Clean up after
23073 errors properly.
23074Files: src/userfunc.c
23075
23076Patch 8.2.3813
23077Problem: confusing error when using :cc without error list. (Gary Johnson)
23078Solution: Give the "no errors" error.
23079Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23080
23081Patch 8.2.3814
23082Problem: .csx files and .sln files are not recognized.
23083Solution: Add filetype patterns. (Doug Kearns)
23084Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23085
23086Patch 8.2.3815
23087Problem: Vim9: cannot have a multi-line dict inside a block.
23088Solution: Do not split the command at a line break, handle NL characters
23089 as white space.
23090Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23091 src/eval.c, src/testdir/test_vim9_expr.vim
23092
23093Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023094Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023095Solution: Add type cast. (Mike Williams, closes #9349)
23096Files: src/userfunc.c
23097
23098Patch 8.2.3817 (after 8.2.3815)
23099Problem: Vim9: Not using NL as command end does not work for :autocmd.
23100Solution: Only ignore NL for commands with an expression argument.
23101Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23102
23103Patch 8.2.3818
23104Problem: Cannot filter or map characters in a string.
23105Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23106 closes #9327)
23107Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23108 src/testdir/test_filter_map.vim
23109
23110Patch 8.2.3819 (after 8.2.3818)
23111Problem: Test fails because error message changed.
23112Solution: Update screendumps.
23113Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23114 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23115
23116Patch 8.2.3820
23117Problem: "vrc" does not replace composing characters, while "rc" does.
23118Solution: Check the byte length including composing characters.
23119 (closes #9351)
23120Files: src/ops.c, src/testdir/test_visual.vim
23121
23122Patch 8.2.3821
23123Problem: ASAN test run fails.
23124Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23125Files: .github/workflows/ci.yml
23126
23127Patch 8.2.3822
23128Problem: Leaking memory in map() and filter(), cannot use a string argument
23129 in Vim9 script.
23130Solution: Fix the leak, adjust the argument check, also run the tests as
23131 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23132Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23133 src/testdir/test_filter_map.vim,
23134 src/testdir/test_vim9_builtin.vim, src/typval.c
23135
23136Patch 8.2.3823
23137Problem: Test for visual replace is in wrong function.
23138Solution: Move it to another function.
23139Files: src/testdir/test_visual.vim
23140
23141Patch 8.2.3824
23142Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023143Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023144 Lakshmanan, closes #9357)
23145Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23146 src/testdir/test_fnamemodify.vim
23147
23148Patch 8.2.3825
23149Problem: Various comments could be improved.
23150Solution: Improve the comments.
23151Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23152 src/testdir/test_edit.vim, src/gui_motif.c
23153
23154Patch 8.2.3826
23155Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23156 function.
23157Solution: Include "g:" in the function name. (closes #9336)
23158Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23159 src/testdir/test_vim9_disassemble.vim
23160
23161Patch 8.2.3827
23162Problem: Huntr badge does not really fit in the list.
23163Solution: Move the link to Huntr to the issue template.
23164Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23165
23166Patch 8.2.3828
23167Problem: when opening a terminal from a timer the first typed character
23168 is lost. (Virginia Senioria)
23169Solution: When opening a terminal while waiting for a character put K_IGNORE
23170 in the input buffer.
23171Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23172
23173Patch 8.2.3829
23174Problem: No error when setting a func option to a script-local function.
23175Solution: Give an error if the name starts with "s:". (closes #9358)
23176Files: src/option.c, src/testdir/test_tagfunc.vim,
23177 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23178
23179Patch 8.2.3830
23180Problem: Error messages are spread out.
23181Solution: Move more error messages to errors.h.
23182Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23183 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23184 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23185 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23186 src/vim9type.c, src/window.c
23187
23188Patch 8.2.3831
23189Problem: Opfunc test fails when missing feature changes function name.
23190 (Dominique Pellé)
23191Solution: Check the relevant screen line instead of using a screendump.
23192 (closes #9360)
23193Files: src/testdir/test_vim9_func.vim,
23194 src/testdir/dumps/Test_opfunc_error.dump
23195
23196Patch 8.2.3832 (after 8.2.3830)
23197Problem: Test fails because of changed error message.
23198Solution: Adjust the expected error message.
23199Files: src/testdir/test_vimscript.vim
23200
23201Patch 8.2.3833
23202Problem: Error from term_start() not caught by try/catch.
23203Solution: save and restore did_emsg when applying autocommands. (Ozaki
23204 Kiichi, closes #9361)
23205Files: src/autocmd.c, src/testdir/test_terminal3.vim
23206
23207Patch 8.2.3834
23208Problem: Test_out_cb often fails on Mac.
23209Solution: Increase the timeout with every retry.
23210Files: src/testdir/test_channel.vim
23211
23212Patch 8.2.3835
23213Problem: The inline-function example does not work.
23214Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23215Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23216 src/testdir/test_vim9_expr.vim
23217
23218Patch 8.2.3836
23219Problem: Vim9: comment after expression not skipped to find NL.
23220Solution: After evaluating an expression look for a newline after a #
23221 comment.
23222Files: src/eval.c
23223
23224Patch 8.2.3837
23225Problem: QNX: crash when compiled with GUI but using terminal.
23226Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23227Files: src/autocmd.c
23228
23229Patch 8.2.3838
23230Problem: Cannot use script-local function for setting *func options.
23231Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23232Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23233 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23234 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23235
23236Patch 8.2.3839
23237Problem: Using \z() with \z1 not tested for syntax highlighting.
23238Solution: Add a test. (Dominique Pellé, closes #9365)
23239Files: src/testdir/test_syntax.vim
23240
23241Patch 8.2.3840
23242Problem: Useless test for negative index in check functions.
23243Solution: Remove the test for negative index. (Naruhiko Nishino,
23244 closes #9364)
23245Files: src/typval.c
23246
23247Patch 8.2.3841
23248Problem: Vim9: outdated TODO items, disabled tests that work.
23249Solution: Remove TODO items, run tests that work now. Check that a dict
23250 item isn't locked.
23251Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23252 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23253
23254Patch 8.2.3842
23255Problem: Vim9: can change locked list and list items.
23256Solution: Check that a list and list item isn't locked.
23257Files: src/vim9execute.c, src/testdir/test_listdict.vim
23258
23259Patch 8.2.3843
23260Problem: Dep3patch files are not recognized.
23261Solution: Recognize dep3patch files by their location and content. (James
23262 McCoy, closes #9367)
23263Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23264 src/testdir/test_filetype.vim
23265
23266Patch 8.2.3844
23267Problem: Vim9: no type error if assigning a value with type func(number) to
23268 a variable of type func(string).
23269Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23270 useful. (issue #8492)
23271Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23272 src/testdir/test_vim9_assign.vim
23273
23274Patch 8.2.3845
23275Problem: Vim9: test fails when the channel feature is missing.
23276Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23277Files: src/testdir/test_vim9_builtin.vim
23278
23279Patch 8.2.3846
23280Problem: No error when using control character for 'lcs' or 'fcs'.
23281Solution: Use char2cells() to check the width. (closes #9369)
23282Files: src/screen.c, src/testdir/test_display.vim,
23283 src/testdir/test_listchars.vim
23284
23285Patch 8.2.3847
23286Problem: Illegal memory access when using a lambda with an error.
23287Solution: Avoid skipping over the NUL after a string.
23288Files: src/eval.c, src/testdir/test_lambda.vim
23289
23290Patch 8.2.3848
23291Problem: Cannot use reduce() for a string.
23292Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23293Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23294 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23295 src/testdir/test_vim9_builtin.vim
23296
23297Patch 8.2.3849
23298Problem: Functions implementing reduce and map are too long.
23299Solution: Use a function for each type of value. Add a few more test cases
23300 and add to the help. (Yegappan Lakshmanan, closes #9370)
23301Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23302
23303Patch 8.2.3850
23304Problem: Illegal memory access when displaying a partial.
23305Solution: Terminate the string with a NUL. (closes #9371)
23306Files: src/eval.c, src/testdir/test_messages.vim
23307
23308Patch 8.2.3851
23309Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023310Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023311 duplicated code.
23312Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23313
23314Patch 8.2.3852
23315Problem: Vim9: not enough tests.
23316Solution: Also run existing tests for Vim9 script. Make errors more
23317 consistent.
23318Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23319 src/errors.h
23320
23321Patch 8.2.3853
23322Problem: Vim9: not enough tests.
23323Solution: Run more existing tests for Vim9 script.
23324Files: src/testdir/test_listdict.vim
23325
23326Patch 8.2.3854
23327Problem: Vim9: inconsistent arguments for test functions.
23328Solution: When :def function and script have different arguments use a list
23329 with two items instead of a separate function.
23330Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23331 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23332 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23333 src/testdir/test_vim9_assign.vim,
23334 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23335 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23336 src/testdir/test_vim9_script.vim
23337
23338Patch 8.2.3855
23339Problem: Illegal memory access when displaying a blob.
23340Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23341Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23342 src/testdir/test_messages.vim
23343
23344Patch 8.2.3856
23345Problem: Vim9: not enough tests.
23346Solution: Run more expression tests also with Vim9. Fix an uncovered
23347 problem.
23348Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23349
23350Patch 8.2.3857
23351Problem: Vim9: inconsistent error for using function().
23352Solution: Use a runtime type check for the result of function().
23353 (closes #8492)
23354Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23355
23356Patch 8.2.3858
23357Problem: Vim9: not enough tests.
23358Solution: Add tests for :try/:catch and :redir. Add missing type check.
23359Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23360 src/testdir/test_vim9_cmd.vim
23361
23362Patch 8.2.3859
23363Problem: Vim9: some code lines not tested.
23364Solution: Add a few specific tests.
23365Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23366 src/testdir/test_vim9_script.vim
23367
23368Patch 8.2.3860
23369Problem: Vim9: codecov struggles with the file size.
23370Solution: Split vim9compile.c into four files.
23371Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23372 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23373 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23374 src/vim9execute.c, src/vim9script.c, src/proto.h,
23375 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23376 src/Make_mvc.mak, src/Make_vms.mms
23377
23378Patch 8.2.3861
23379Problem: List of distributed files is outdated.
23380Solution: Add new files.
23381Files: Filelist
23382
23383Patch 8.2.3862
23384Problem: Crash on exit with EXITFREE and using win_execute().
23385Solution: Also save and restore tp_topframe. (issue #9374)
23386Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23387
23388Patch 8.2.3863 (after 8.2.3860)
23389Problem: Various build flags accidentally enabled.
23390Solution: Revert several lines in Makefile.
23391Files: src/Makefile
23392
23393Patch 8.2.3864
23394Problem: Cannot disable requesting key codes from xterm.
23395Solution: Add the 'xtermcodes' option, default on.
23396Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23397 src/optiondefs.h, src/term.c, runtime/optwin.vim
23398
23399Patch 8.2.3865
23400Problem: Vim9: compiler complains about using "try" as a struct member.
23401Solution: Rename "try" to "tryref".
23402Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23403
23404Patch 8.2.3866
23405Problem: Vim9: type checking global variables is inconsistent.
23406Solution: Use the "unknown" type in more places.
23407Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23408 src/evalfunc.c, src/testdir/test_vim9_func.vim
23409
23410Patch 8.2.3867
23411Problem: Implementation of some list functions too complicated.
23412Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23413 Lakshmanan, closes #9378)
23414Files: src/list.c
23415
23416Patch 8.2.3868 (after 8.2.3866)
23417Problem: Vim9: function test fails.
23418Solution: Add missing changes. Add test for earlier patch.
23419Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23420
23421Patch 8.2.3869
23422Problem: Vim9: type checking for "any" is inconsistent.
23423Solution: Always use a runtime type check for using "any" for a more
23424 specific type.
23425Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23426 src/testdir/test_vim9_func.vim
23427
23428Patch 8.2.3870
23429Problem: MS-Windows: wrong working directory when opening two files with
23430 right-click context menu. (Gabriel Dupras)
23431Solution: Use the working directory and pass it on to the process creation.
23432 (Nir Lichtman, closes #9382, closes #8874)
23433Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23434
23435Patch 8.2.3871
23436Problem: List.c contains code for dict and blob.
23437Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23438 closes #9386)
23439Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23440 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23441 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23442 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23443
23444Patch 8.2.3872
23445Problem: Vim9: finddir() and uniq() return types can be more specific.
23446Solution: Adjust the return type.
23447Files: src/evalfunc.c, src/testdir/vim9.vim,
23448 src/testdir/test_vim9_builtin.vim
23449
23450Patch 8.2.3873
23451Problem: go.mod files are not recognized.
23452Solution: Check for the file name. (closes #9380)
23453Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23454
23455Patch 8.2.3874
23456Problem: Cannot highlight the number column for a sign.
23457Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23458Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23459 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23460 src/testdir/test_signs.vim
23461
23462Patch 8.2.3875
23463Problem: gcc complains about buffer overrun.
23464Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23465Files: src/dict.c
23466
23467Patch 8.2.3876
23468Problem: 'cindent' does not recognize inline namespace.
23469Solution: Skip over "inline" to find "namespace". (closes #9383)
23470Files: src/cindent.c, src/testdir/test_cindent.vim
23471
23472Patch 8.2.3877
23473Problem: Function does not abort after a type error in compare
23474Solution: Check getting number fails. (closes #9384)
23475Files: src/typval.c, src/testdir/test_vim9_expr.vim
23476
23477Patch 8.2.3878
23478Problem: Vim9: debugger tries to read more lines than there are.
23479Solution: Check the number of lines. (closes #9394)
23480Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23481
23482Patch 8.2.3879
23483Problem: getreg() and getregtype() contain dead code.
23484Solution: Remove the needless check. (closes #9392) Also refactor to put
23485 common code in a shared function.
23486Files: src/evalfunc.c
23487
23488Patch 8.2.3880
23489Problem: Solution filter files are not recognized.
23490Solution: Add pattern *.slnf and use json. (Doug Kearns)
23491Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23492
23493Patch 8.2.3881
23494Problem: QNX: crash when compiled with GUI but using terminal.
23495Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23496Files: src/main.c
23497
23498Patch 8.2.3882 (after 8.2.3879)
23499Problem: More duplicated code in f_getreginfo().
23500Solution: Also use getreg_get_regname(). (closes #9398)
23501Files: src/evalfunc.c
23502
23503Patch 8.2.3883
23504Problem: Crash when switching to other regexp engine fails.
23505Solution: Check for regprog being NULL.
23506Files: src/ex_cmds.c
23507
23508Patch 8.2.3884
23509Problem: Crash when clearing the argument list while using it.
23510Solution: Lock the argument list for ":all".
23511Files: src/arglist.c, src/testdir/test_arglist.vim
23512
23513Patch 8.2.3885
23514Problem: Arglist test fails.
23515Solution: Adjust for locking the arglist for ":all".
23516Files: src/testdir/test_arglist.vim
23517
23518Patch 8.2.3886
23519Problem: Can define autocmd for every event by using "au!".
23520Solution: Check if a command is present also for "au!".
23521Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23522 src/testdir/test_arglist.vim
23523
23524Patch 8.2.3887
23525Problem: E1135 is used for two different errors.
23526Solution: Renumber one error.
23527Files: src/errors.h, src/testdir/test_mapping.vim
23528
23529Patch 8.2.3888
23530Problem: The argument list may contain duplicates.
23531Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23532Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23533 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23534 src/testdir/test_arglist.vim
23535
23536Patch 8.2.3889
23537Problem: Duplicate code for translating script-local function name.
23538Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23539 closes #9393)
23540Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23541 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23542 src/testdir/test_normal.vim
23543
23544Patch 8.2.3890
23545Problem: Vim9: type check for using v: variables is basic.
23546Solution: Specify a more precise type.
23547Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23548 src/testdir/test_vim9_expr.vim
23549
23550Patch 8.2.3891
23551Problem: Github CI: workflows may overlap.
23552Solution: Cancel previous workflows when starting a new one. (Yegappan
23553 Lakshmanan, closes #9400)
23554Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23555
23556Patch 8.2.3892
23557Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23558Solution: Check for uppercase C as well, fix minimum length.
23559Files: src/ui.c
23560
23561Patch 8.2.3893
23562Problem: Vim9: many local variables are initialized with an instruction.
23563Solution: Initialize local variables to zero to avoid the instructions.
23564Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23565 src/proto/vim9instr.pro, src/vim9cmds.c,
23566 src/testdir/test_vim9_disassemble.vim
23567
23568Patch 8.2.3894
23569Problem: Vim9: no proper type check for first argument of call().
23570Solution: Add specific type check.
23571Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23572 src/errors.h, src/testdir/test_vim9_builtin.vim
23573
23574Patch 8.2.3895
23575Problem: Vim9: confusing error when using function() with a number.
23576Solution: Check for a function or string argument.
23577Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23578
23579Patch 8.2.3896
23580Problem: Vim9: no test for nested function not available later.
23581Solution: Add a test.
23582Files: src/testdir/test_vim9_func.vim
23583
23584Patch 8.2.3897
23585Problem: Vim9: the second argument of map() and filter() is not checked at
23586 compile time.
23587Solution: Add more specific type check for the second argument.
23588Files: src/evalfunc.c, src/globals.h, src/list.c,
23589 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23590 src/testdir/test_vim9_script.vim
23591
23592Patch 8.2.3898
23593Problem: Vim9: not sufficient testing for variable initialization.
23594Solution: Add another test case.
23595Files: src/testdir/test_vim9_disassemble.vim
23596
23597Patch 8.2.3899 (after 8.2.3897)
23598Problem: Vim9: test for map() on string fails.
23599Solution: Expect string return type.
23600Files: src/evalfunc.c
23601
23602Patch 8.2.3900
23603Problem: It is not easy to use a script-local function for an option.
23604Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23605 Lakshmanan, closes #9401)
23606Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23607 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23608 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23609 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23610 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23611 src/testdir/test_normal.vim
23612
23613Patch 8.2.3901
23614Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23615Solution: Do not restore 'cpo' at the end of the main .vimrc.
23616Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23617 src/structs.h, src/testdir/test_vim9_script.vim
23618
23619Patch 8.2.3902
23620Problem: Vim9: double free with nested :def function.
23621Solution: Pass "line_to_free" from compile_def_function() and make sure
23622 cmdlinep is valid.
23623Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23624 src/vim9execute.c, src/testdir/test_vim9_func.vim
23625
23626Patch 8.2.3903
23627Problem: "gM" does not count tabs as expected.
23628Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23629Files: src/normal.c, src/testdir/test_normal.vim
23630
23631Patch 8.2.3904
23632Problem: Vim9: skip expression type is not checked at compile time.
23633Solution: Add argument type checks.
23634Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23635
23636Patch 8.2.3905
23637Problem: Dockerfile using prefix name not recognized.
23638Solution: Recognize Dockerfile.*. (closes #9410)
23639Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23640
23641Patch 8.2.3906
23642Problem: Vim9 help still contains "under development" warnings.
23643Solution: Remove the explicit warning.
23644Files: runtime/doc/vim9.txt
23645
23646Patch 8.2.3907
23647Problem: Error messages are spread out.
23648Solution: Move error messages to errors.h. Avoid duplicates.
23649Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23650 src/testdir/test_user_func.vim
23651
23652Patch 8.2.3908
23653Problem: Cannot use a script-local function for 'foldtext'.
23654Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23655Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23656 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23657 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23658 src/testdir/test_listdict.vim
23659
23660Patch 8.2.3909
23661Problem: Containerfile using prefix name not recognized.
23662Solution: Recognize Containerfile.*.
23663Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23664
23665Patch 8.2.3910
23666Problem: When the compare function of sort() produces and error then sort()
23667 does not abort.
23668Solution: Check if did_emsg was incremented.
23669Files: src/list.c, src/testdir/test_vim9_builtin.vim
23670
23671Patch 8.2.3911
23672Problem: Vim9: type check for filter() does not accept unknown.
23673Solution: Also accept unknown for the return type. (closes #9413)
23674Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23675
23676Patch 8.2.3912
23677Problem: The ins_complete() function is much too long.
23678Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23679 closes #9414)
23680Files: src/insexpand.c
23681
23682Patch 8.2.3913
23683Problem: Help for expressions does not mention Vim9 syntax.
23684Solution: Add the rules for Vim9 to the expression help. Rename functions
23685 to match the help.
23686Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23687
23688Patch 8.2.3914
23689Problem: Various spelling mistakes in comments.
23690Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23691Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23692 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23693 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23694 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23695 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23696 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23697 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23698 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23699 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23700 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23701 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23702 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23703 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23704 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23705 src/winclip.c, src/window.c
23706
23707Patch 8.2.3915
23708Problem: illegal memory access when completing with invalid bytes.
23709Solution: Avoid going over the end of the completion text.
23710Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23711
23712Patch 8.2.3916
23713Problem: No error for passing an invalid line number to append().
23714Solution: In Vim9 script check for a non-negative number. (closes #9417)
23715Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
23716 src/eval.c, src/testdir/test_vim9_builtin.vim
23717
23718Patch 8.2.3917
23719Problem: The eval.txt help file is way too big.
23720Solution: Move the builtin function details to a separate file.
23721Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
23722 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
23723
23724Patch 8.2.3918 (after 8.2.3916)
23725Problem: Function list test fails.
23726Solution: Adjust the test for the new location of the function list.
23727Files: src/testdir/test_function_lists.vim
23728
23729Patch 8.2.3919
23730Problem: Vim9: wrong argument for append() results in two errors.
23731Solution: Check did_emsg. Also for setline(). Adjust the help for
23732 appendbufline().
23733Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
23734 src/testdir/test_vim9_builtin.vim
23735
23736Patch 8.2.3920
23737Problem: Restoring directory after using another window is inefficient.
23738Solution: Only restore the directory for win_execute(). Apply 'autochdir'
23739 only when needed.
23740Files: src/evalwindow.c, src/testdir/test_autochdir.vim
23741
23742Patch 8.2.3921
23743Problem: The way xdiff is used is inefficient.
23744Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
23745 closes #9344)
23746Files: src/diff.c
23747
23748Patch 8.2.3922
23749Problem: Cannot build with dynamic Ruby 3.1.
23750Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
23751 Kiichi, closes #9420)
23752Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
23753 ci/config.mk.sed, src/Makefile, src/auto/configure,
23754 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
23755
23756Patch 8.2.3923
23757Problem: Vim9: double free if a nested function has a line break in the
23758 argument list.
23759Solution: Set cmdlinep when freeing the previous line.
23760Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23761
23762Patch 8.2.3924
23763Problem: Vim9: no error if something follows :enddef in a nested function.
23764Solution: Give an error. Move common code to a function.
23765Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
23766 src/testdir/test_vim9_func.vim
23767
23768Patch 8.2.3925
23769Problem: Diff mode confused by NUL bytes.
23770Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
23771 closes #9418)
23772Files: src/diff.c, src/testdir/test_diffmode.vim,
23773 src/testdir/dumps/Test_diff_bin_01.dump,
23774 src/testdir/dumps/Test_diff_bin_02.dump,
23775 src/testdir/dumps/Test_diff_bin_03.dump,
23776 src/testdir/dumps/Test_diff_bin_04.dump
23777
23778Patch 8.2.3926 (after 8.2.3920)
23779Problem: Build failure without the 'autochdir' option. (John Marriott)
23780Solution: Add #ifdefs.
23781Files: src/evalwindow.c
23782
23783Patch 8.2.3927
23784Problem: Vim9: double free when using lambda.
23785Solution: Don't free both cmdline and line_to_free.
23786Files: src/userfunc.c
23787
23788Patch 8.2.3928
23789Problem: Heredoc test fails.
23790Solution: Correct order of function arguments.
23791Files: src/userfunc.c
23792
23793Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023794Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023795Solution: Set the option flags to zero for a terminal option.
23796Files: src/option.c
23797
23798Patch 8.2.3930
23799Problem: getcmdline() argument has a misleading type.
23800Solution: Use the correct type, even though the value is not used.
23801Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
23802 src/normal.c, src/register.c, src/userfunc.c
23803
23804Patch 8.2.3931
23805Problem: Coverity reports a memory leak.
23806Solution: Free memory in case of failure.
23807Files: src/diff.c
23808
23809Patch 8.2.3932
23810Problem: C line comment not formatted properly.
23811Solution: If a line comment follows after "#if" the next line is not the end
23812 of a paragraph.
23813Files: src/textformat.c, src/testdir/test_textformat.vim
23814
23815Patch 8.2.3933
23816Problem: After ":cd" fails ":cd -" is incorrect.
23817Solution: Set the previous directory only after successfully changing
23818 directory. (Richard Doty, closes #9419, closes #8983)
23819Files: src/ex_docmd.c, src/testdir/test_cd.vim
23820
23821Patch 8.2.3934
23822Problem: Repeating line comment is undesired for "O" command.
23823Solution: Do not copy line comment leader for "O". (closes #9426)
23824Files: src/change.c, src/testdir/test_textformat.vim
23825
23826Patch 8.2.3935
23827Problem: CTRL-U in Insert mode does not fix the indent.
23828Solution: Fix the indent when 'cindent' is set.
23829Files: src/edit.c, src/testdir/test_textformat.vim
23830
23831Patch 8.2.3936
23832Problem: No proper test for maintaining change mark in diff mode.
23833Solution: Run the test with internal and external diff. (Sean Dewar,
23834 closes #9424)
23835Files: src/testdir/test_diffmode.vim
23836
23837Patch 8.2.3937
23838Problem: Insert mode completion function is too long.
23839Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
23840 closes #9423)
23841Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23842
23843Patch 8.2.3938
23844Problem: Line comment start is also found in a string.
23845Solution: Skip line comments in a string.
23846Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
23847 src/testdir/test_textformat.vim
23848
23849Patch 8.2.3939
23850Problem: MS-Windows: fnamemodify('', ':p') does not work.
23851Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
23852 closes #9428, closes #9427)
23853Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
23854
23855Patch 8.2.3940
23856Problem: Match highlight disappears when doing incsearch for ":s/pat".
23857Solution: Only use line limit for incsearch highlighting. (closes #9425)
23858Files: src/match.c, src/testdir/test_match.vim,
23859 src/testdir/dumps/Test_match_with_incsearch_1.dump,
23860 src/testdir/dumps/Test_match_with_incsearch_2.dump
23861
23862Patch 8.2.3941
23863Problem: SIGTSTP is not handled.
23864Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
23865Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
23866 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
23867
23868Patch 8.2.3942
23869Problem: Coverity reports a possible memory leak.
23870Solution: Free the array if allocation fails.
23871Files: src/insexpand.c
23872
23873Patch 8.2.3943
23874Problem: Compiler warning from gcc for uninitialized variable.
23875Solution: Initialize variable. (closes #9429)
23876Files: src/diff.c
23877
23878Patch 8.2.3944
23879Problem: Insert mode completion functions are too long.
23880Solution: Split up into multiple functions. (Yegappan Lakshmanan,
23881 closes #9431)
23882Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23883
23884Patch 8.2.3945
23885Problem: Vim9: partial variable argument types are wrong, leading to a
23886 crash.
23887Solution: When adjusting the argument count also adjust the argument types.
23888 (closes #9433)
23889Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
23890
23891Patch 8.2.3946
23892Problem: When an internal error makes Vim exit the error is not seen.
23893Solution: Add the error to the test output.
23894Files: src/message.c, src/testdir/runtest.vim
23895
23896Patch 8.2.3947
23897Problem: Unnecessary check for NULL pointer.
23898Solution: Remove the check. (closes #9434)
23899Files: src/ex_docmd.c
23900
23901Patch 8.2.3948
23902Problem: Vim9: failure with partial with unknown argument count.
23903Solution: Do not copy argument types if there aren't any.
23904Files: src/vim9type.c
23905
23906Patch 8.2.3949
23907Problem: Using freed memory with /\%V.
23908Solution: Get the line again after getvvcol().
23909Files: src/regexp.c, src/testdir/test_regexp_latin.vim
23910
23911Patch 8.2.3950
23912Problem: Going beyond the end of the line with /\%V.
23913Solution: Check for valid column in getvcol().
23914Files: src/charset.c, src/testdir/test_regexp_latin.vim
23915
23916Patch 8.2.3951
23917Problem: Vim9: memory leak when text after a nested function.
23918Solution: Free the function if text is found after "enddef".
23919Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
23920
23921Patch 8.2.3952
23922Problem: First line not redrawn when adding lines to an empty buffer.
23923Solution: Adjust the argument to appended_lines(). (closes #9439,
23924 closes #9438)
23925Files: src/ex_cmds.c, src/testdir/test_excmd.vim
23926
23927Patch 8.2.3953
23928Problem: Insert completion code is too complicated.
23929Solution: More refactoring. Move function arguments into a struct.
23930 (Yegappan Lakshmanan, closes #9437)
23931Files: src/insexpand.c
23932
23933Patch 8.2.3954
23934Problem: Vim9: no error for shadowing if script var is declared later.
23935Solution: Check argument names when compiling a function.
23936Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23937 src/testdir/test_vim9_assign.vim
23938
23939Patch 8.2.3955
23940Problem: Error messages are spread out.
23941Solution: Move more errors to errors.h.
23942Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
23943 src/help.c, src/sign.c, src/spellfile.c
23944
23945Patch 8.2.3956
23946Problem: Duplicate assignment.
23947Solution: Remove the second assignment. (closes #9442)
23948Files: src/evalfunc.c
23949
23950Patch 8.2.3957
23951Problem: Error messages are spread out.
23952Solution: Move more errors to errors.h.
23953Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000023954 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023955 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
23956 src/vim9cmds.c, src/vim9compile.c
23957
23958Patch 8.2.3958
23959Problem: Build failure compiling xxd with "-std=c2x".
23960Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
23961Files: src/xxd/xxd.c
23962
23963Patch 8.2.3959
23964Problem: Error messages are spread out.
23965Solution: Move more errors to errors.h.
23966Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
23967 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
23968 src/getchar.c, src/gui.c, src/locale.c, src/map.c
23969
23970Patch 8.2.3960
23971Problem: Error messages are spread out.
23972Solution: Move more errors to errors.h.
23973Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
23974 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
23975
23976Patch 8.2.3961
23977Problem: Error messages are spread out.
23978Solution: Move more errors to errors.h.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000023979Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023980 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
23981 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
23982 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
23983 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
23984 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
23985 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
23986 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
23987 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
23988 src/message.c, src/misc2.c, src/ops.c, src/option.c,
23989 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
23990 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
23991 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
23992 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
23993 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
23994
23995Patch 8.2.3962 (after 8.2.3961)
23996Problem: Build fails for missing error message.
23997Solution: Add changes in missed file.
23998Files: src/regexp_bt.c
23999
24000Patch 8.2.3963
24001Problem: Build failure with tiny and small features. (Tony Mechelynck)
24002Solution: Adjust #ifdefs.
24003Files: src/errors.h, src/message.c
24004
24005Patch 8.2.3964
24006Problem: Some common lisp and scheme files not recognized.
24007Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24008 closes #9447)
24009Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24010
24011Patch 8.2.3965
24012Problem: Vim9: no easy way to check if Vim9 script is supported.
24013Solution: Add has('vim9script').
24014Files: runtime/doc/vim9.txt, src/evalfunc.c,
24015 src/testdir/test_vim9_script.vim
24016
24017Patch 8.2.3966
24018Problem: When using feedkeys() abbreviations may be blocked.
24019Solution: Reset tb_no_abbr_cnt when running out of characters.
24020 (closes #9448)
24021Files: src/getchar.c, src/testdir/test_feedkeys.vim
24022
24023Patch 8.2.3967
24024Problem: Error messages are spread out.
24025Solution: Move more errors to errors.h.
24026Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24027 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24028 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24029 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24030 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24031 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24032 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24033 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24034 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24035 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24036 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24037 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24038 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24039 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24040 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24041 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24042 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24043 src/vim9script.c
24044
24045Patch 8.2.3968
24046Problem: Build failure.
24047Solution: Add missing changes.
24048Files: src/strings.c, src/vim9compile.c
24049
24050Patch 8.2.3969
24051Problem: Value of MAXCOL not available in Vim script.
24052Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24053Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24054 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24055 src/testdir/test_put.vim, src/vim.h
24056
24057Patch 8.2.3970
24058Problem: Error messages are spread out.
24059Solution: Move more errors to errors.h.
24060Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24061 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24062 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24063 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24064 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24065 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24066 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24067 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24068 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24069 src/vim9execute.c, src/vim9expr.c, src/window.c
24070
24071Patch 8.2.3971
24072Problem: Build fails.
24073Solution: Use the right error message name.
24074Files: src/typval.c
24075
24076Patch 8.2.3972
24077Problem: Error messages are spread out.
24078Solution: Move the last errors from globals.h to errors.h.
24079Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24080 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24081 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24082 src/vim9cmds.c, src/vim9expr.c
24083
24084Patch 8.2.3973
24085Problem: Tiny build fails.
24086Solution: Adjust #ifdefs
24087Files: src/errors.h
24088
24089Patch 8.2.3974
24090Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24091Solution: Check whether the list is locked. (closes #9452)
24092Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24093
24094Patch 8.2.3975
24095Problem: Error messages are spread out.
24096Solution: Move more error messages to errors.h.
24097Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24098 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24099 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24100 src/window.c
24101
24102Patch 8.2.3976
24103Problem: FEARG_LAST is never used. (Dominique Pellé)
24104Solution: Remove FEARG_LAST and the related code.
24105Files: src/evalfunc.c
24106
24107Patch 8.2.3977
24108Problem: Error messages are spread out.
24109Solution: Move more error messages to errors.h.
24110Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24111 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24112 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24113 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24114 src/terminal.c, src/textprop.c, src/userfunc.c
24115
24116Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024117Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024118Solution: Adjust #ifdef.
24119Files: src/errors.h
24120
24121Patch 8.2.3979
24122Problem: Vim9: the feature is not mentioned in the right places.
24123Solution: Add +vim9script to the help and :version output.
24124Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24125
24126Patch 8.2.3980
24127Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24128 may be changed. (Naohiro Ono)
24129Solution: Save and restore the information for redoing the Visual area.
24130 (closes #9455)
24131Files: src/ops.c, src/testdir/test_normal.vim
24132
24133Patch 8.2.3981
24134Problem: Vim9: debugging a for loop doesn't stop before it starts.
24135Solution: Keep the DEBUG instruction before the expression is evaluated.
24136 (closes #9456)
24137Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24138
24139Patch 8.2.3982
24140Problem: Some lines of code not covered by tests.
24141Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24142Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24143 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24144 src/testdir/test_vim9_builtin.vim
24145
24146Patch 8.2.3983
24147Problem: Error messages are spread out.
24148Solution: Move more error messages to errors.h.
24149Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24150 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24151 src/menu.c, src/normal.c, src/regexp_bt.c
24152
24153Patch 8.2.3984 (after 8.2.3981)
24154Problem: Debugger test fails.
24155Solution: Adjust the test for modified debugging of a for loop.
24156Files: src/testdir/test_debugger.vim
24157
24158Patch 8.2.3985
24159Problem: Error messages are spread out.
24160Solution: Move more error messages to errors.h.
24161Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24162 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24163 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24164 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24165 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24166 src/window.c
24167
24168Patch 8.2.3986
24169Problem: Error messages are spread out.
24170Solution: Move more error messages to errors.h.
24171Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24172 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24173 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24174 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24175 src/userfunc.c
24176
24177Patch 8.2.3987
24178Problem: Error messages are spread out.
24179Solution: Move more error messages to errors.h.
24180Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24181 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24182 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24183 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24184 src/term.c, src/viminfo.c
24185
24186Patch 8.2.3988 (after 8.2.3987)
24187Problem: Tiny build fails.
24188Solution: Fix misplaced #ifdef.
24189Files: src/errors.h
24190
24191Patch 8.2.3989
24192Problem: Some insert completion code is not tested.
24193Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24194 Lakshmanan, closes #9460)
24195Files: src/insexpand.c, src/testdir/test_edit.vim,
24196 src/testdir/test_ins_complete.vim
24197
24198Patch 8.2.3990
24199Problem: Testing wrong operator.
24200Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24201Files: src/testdir/test_normal.vim
24202
24203Patch 8.2.3991
24204Problem: Vim9: error when extending dict<any> with another type that it was
24205 initialized with.
24206Solution: Also set the type for dict<any> if the initializer has a more
24207 specific type. (closes #9461)
24208Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24209 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24210 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24211
24212Patch 8.2.3992
24213Problem: Wrong local-additions in the help with language mix.
24214Solution: Adjust how the local additions list is generated. (Hirohito
24215 Higashi, closes #9464)
24216Files: src/help.c, src/testdir/test_help.vim
24217
24218Patch 8.2.3993
24219Problem: When recording a change in Select mode the first typed character
24220 appears twice.
24221Solution: When putting the character back into typeahead remove it from
24222 recorded characters. (closes #9462)
24223Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24224 src/testdir/test_registers.vim
24225
24226Patch 8.2.3994
24227Problem: Vim9: extend() complains about the type even when it was not
24228 declared.
24229Solution: Only check the list or dict type when it was declared.
24230Files: src/list.c, src/testdir/test_vim9_builtin.vim
24231
24232Patch 8.2.3995
24233Problem: Not all sshconfig files are detected as such.
24234Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24235 closes #9322)
24236Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24237
24238Patch 8.2.3996
24239Problem: Vim9: type checking for list and dict lacks information about
24240 declared type.
24241Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24242 store two types in each entry.
24243Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24244 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24245 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24246 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24247 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24248 src/testdir/test_vim9_builtin.vim
24249
24250Patch 8.2.3997
24251Problem: Vim9: not enough testing for extend() and map().
24252Solution: Add more test cases. Fix uncovered problems. Remove unused type
24253 fields.
24254Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24255 src/testdir/test_vim9_builtin.vim,
24256 src/testdir/test_vim9_disassemble.vim
24257
24258Patch 8.2.3998
24259Problem: Asan error for adding zero to NULL.
24260Solution: Do not compute pointer if there are no entries.
24261Files: src/vim9type.c
24262
24263Patch 8.2.3999
24264Problem: Redundant check for NUL byte.
24265Solution: Remove the check for a NUL byte. (closes #9471)
24266Files: src/ex_docmd.c
24267
24268Patch 8.2.4000
24269Problem: Coverity warns for checking for NULL pointer after using it.
24270Solution: Remove check for NULL.
24271Files: src/help.c
24272
24273Patch 8.2.4001
24274Problem: Insert complete code uses global variables.
24275Solution: Make variables local to the file and use accessor functions.
24276 (Yegappan Lakshmanan, closes #9470)
24277Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24278 src/proto/insexpand.pro, src/search.c
24279
24280Patch 8.2.4002
24281Problem: First char typed in Select mode can be wrong.
24282Solution: Escape special bytes in the input buffer. (closes #9469)
24283Files: src/getchar.c, src/testdir/test_utf8.vim
24284
24285Patch 8.2.4003
24286Problem: Error messages are spread out.
24287Solution: Move more error messages to errors.h.
24288Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24289 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24290 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24291 src/typval.c
24292
24293Patch 8.2.4004
24294Problem: Old compiler complains about struct init with variable.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024295Solution: Set the struct member later. (John Marriott)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024296Files: src/evalfunc.c
24297
24298Patch 8.2.4005
24299Problem: Error messages are spread out.
24300Solution: Move more error messages to errors.h.
24301Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24302 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24303 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24304 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24305 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24306 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24307
24308Patch 8.2.4006
24309Problem: Vim9: crash when declaring variable on the command line.
24310Solution: Use a temporary type list. (closes #9474)
24311Files: src/eval.c, src/testdir/test_vim9_assign.vim
24312
24313Patch 8.2.4007
24314Problem: Session does not restore help buffer properly when "options' is
24315 missing from 'sessionoptions'.
24316Solution: Use a ":help" command to create the help window. (closes #9475,
24317 closes #9458, closes #9472)
24318Files: src/session.c, src/testdir/test_mksession.vim
24319
24320Patch 8.2.4008
24321Problem: Error messages are spread out.
24322Solution: Move more error messages to errors.h.
24323Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24324 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24325 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24326 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24327 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24328 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24329 src/typval.c, src/undo.c, src/userfunc.c
24330
24331Patch 8.2.4009
24332Problem: Reading one byte beyond the end of the line.
24333Solution: Check for NUL byte first.
24334Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24335
24336Patch 8.2.4010
24337Problem: Error messages are spread out.
24338Solution: Move more error messages to errors.h.
24339Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24340 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24341 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24342 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24343 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24344 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24345 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24346 src/userfunc.c, src/window.c
24347
24348Patch 8.2.4011
24349Problem: Test fails because of changed error number.
24350Solution: Restore old duplicate error message.
24351Files: src/errors.h, src/match.c
24352
24353Patch 8.2.4012
24354Problem: Error messages are spread out.
24355Solution: Move the last error messages to errors.h.
24356Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24357 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24358 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24359 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24360 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24361 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24362 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24363 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24364
24365Patch 8.2.4013
24366Problem: Build failure without the spell feature.
24367Solution: Adjust #ifdefs.
24368Files: src/errors.h
24369
24370Patch 8.2.4014
24371Problem: Git and gitcommit file types not properly recognized.
24372Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24373Files: runtime/filetype.vim, runtime/scripts.vim,
24374 src/testdir/test_filetype.vim
24375
24376Patch 8.2.4015
24377Problem: Build failure with tiny features. (Tony Mechelynck)
24378Solution: Adjust #ifdefs.
24379Files: src/errors.h
24380
24381Patch 8.2.4016
24382Problem: Vim9: incorrect error for argument that is shadowing var.
24383Solution: Ignore variable that is not in block where the function was
24384 defined.
24385Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24386
24387Patch 8.2.4017
24388Problem: Gcc warns for misleading indent in Athena menu code.
24389Solution: Add curlies around the two statements. (Dominique Pellé,
24390 closes #9480)
24391Files: src/gui_athena.c
24392
24393Patch 8.2.4018
24394Problem: ml_get error when win_execute redraws with Visual selection.
24395Solution: Disable Visual area temporarily. (closes #9479)
24396Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24397 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24398 src/if_py_both.h, src/evalfunc.c,
24399 src/testdir/test_execute_func.vim
24400
24401Patch 8.2.4019
24402Problem: Vim9: import mechanism is too complicated.
24403Solution: Do not use the Javascript mechanism but a much simpler one.
24404Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24405 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24406 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24407 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24408 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24409
24410Patch 8.2.4020 (after 8.2.4019)
24411Problem: Debugger test fails.
24412Solution: Fix import statement.
24413Files: src/testdir/test_debugger.vim
24414
24415Patch 8.2.4021 (after 8.2.4019)
24416Problem: Missing part of the :import changes.
24417Solution: Add changes in vim9cmds.c.
24418Files: src/vim9cmds.c
24419
24420Patch 8.2.4022
24421Problem: Two error messages in the wrong file.
24422Solution: Use the error message from errors.h.
24423Files: src/popupwin.c, src/usercmd.c
24424
24425Patch 8.2.4023
24426Problem: Using uninitialized variable.
24427Solution: Initialize "ufunc" also when an item is not exported.
24428Files: src/vim9script.c
24429
24430Patch 8.2.4024
24431Problem: Confusing error message if imported name is used directly.
24432Solution: Give a better error message.
24433Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24434 src/testdir/test_vim9_script.vim
24435
24436Patch 8.2.4025
24437Problem: Error for import not ending in .vim does not work for .vimrc.
24438Solution: Check that .vim is the end. (closes #9484)
24439Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24440
24441Patch 8.2.4026
24442Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24443Solution: Check cursor and Visual area are OK.
24444Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24445
24446Patch 8.2.4027
24447Problem: Import test fails on MS-Windows.
24448Solution: Use a different directory name.
24449Files: src/testdir/test_vim9_script.vim
24450
24451Patch 8.2.4028
24452Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24453Solution: Disable Visual mode while executing autocommands.
24454Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24455
24456Patch 8.2.4029
24457Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24458Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24459 is set when used. Fix breakindent and indent caching. (Christian
24460 Brabandt, closes #9482)
24461Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24462
24463Patch 8.2.4030
24464Problem: A script local funcref is not found from a mapping.
24465Solution: When looking for a function, also find a script-local funcref.
24466 (closes #9485)
24467Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24468 src/testdir/test_vim9_script.vim
24469
24470Patch 8.2.4031
24471Problem: Crash in xterm with only two lines. (Dominique Pellé)
24472Solution: Only perform xterm compatibility test if possible. (closes #9488)
24473Files: src/term.c, src/testdir/test_startup.vim
24474
24475Patch 8.2.4032
24476Problem: ATTRIBUTE_NORETURN is not needed.
24477Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24478Files: src/if_ruby.c, src/vim.h
24479
24480Patch 8.2.4033
24481Problem: Running filetype tests leaves directory behind.
24482Solution: Delete the top directory. (closes #9483)
24483Files: src/testdir/test_filetype.vim
24484
24485Patch 8.2.4034
24486Problem: Coverity warns for possibly using a NULL pointer.
24487Solution: Check v_partial is not NULL.
24488Files: src/vim9type.c
24489
24490Patch 8.2.4035
24491Problem: Timer triggered at the debug prompt may cause trouble.
24492Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24493Files: src/time.c
24494
24495Patch 8.2.4036
24496Problem: Vim9: script test file is getting too long.
24497Solution: Split the import/export functionality to a separate file.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024498Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024499 src/testdir/Make_all.mak
24500
24501Patch 8.2.4037
24502Problem: Insert mode completion is insufficiently tested.
24503Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24504 closes #9489)
24505Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24506
24507Patch 8.2.4038
24508Problem: Various code not used when features are disabled.
24509Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24510Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24511 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24512 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24513 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24514 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24515 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24516 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24517 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24518 src/vim9type.c
24519
24520Patch 8.2.4039
24521Problem: The xdiff library is linked in even when not used.
24522Solution: Use configure to decide whether xdiff object files are included.
24523Files: src/Makefile, src/config.mk.in, src/configure.ac,
24524 src/auto/configure, src/feature.h
24525
24526Patch 8.2.4040
24527Problem: Keeping track of allocated lines in user functions is too
24528 complicated.
24529Solution: Instead of freeing individual lines keep them all until the end.
24530Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24531 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24532 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24533
24534Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024535Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024536Solution: Store "ht" when variable is in another script.
24537Files: src/evalvars.c
24538
24539Patch 8.2.4042
24540Problem: Vim9: build error.
24541Solution: Use grow array instead of character pointer.
24542Files: src/vim9execute.c
24543
24544Patch 8.2.4043
24545Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024546Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024547Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24548 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24549 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24550 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24551 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24552 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24553 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24554 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24555 src/viminfo.c, src/window.c, src/if_py_both.h
24556
24557Patch 8.2.4044
24558Problem: Vim9: no error when importing the same script twice.
24559Solution: Give an error, unless it is a reload.
24560Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24561
24562Patch 8.2.4045
24563Problem: Some global functions are only used in one file.
24564Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24565Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24566 src/proto/highlight.pro, src/proto/vim9compile.pro,
24567 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24568 src/vim9instr.c, src/window.c
24569
24570Patch 8.2.4046
24571Problem: Some error messages not in the right place.
24572Solution: Adjust the errors file. Fix typo.
24573Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24574
24575Patch 8.2.4047
24576Problem: Depending on the build features error messages are unused.
24577Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24578Files: src/errors.h
24579
24580Patch 8.2.4048
24581Problem: gcc complains about use of "%p" in printf.
24582Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24583Files: src/if_py_both.h
24584
24585Patch 8.2.4049
24586Problem: Vim9: reading before the start of the line with "$" by itself.
24587Solution: Do not subtract one when reporting the error.
24588Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24589
24590Patch 8.2.4050
24591Problem: Vim9: need to prefix every item in an autoload script.
24592Solution: First step in supporting "vim9script autoload" and "import
24593 autoload".
24594Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24595 src/errors.h, src/vim9script.c, src/scriptfile.c,
24596 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24597 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24598 src/vim9expr.c, src/testdir/test_vim9_script.vim
24599
24600Patch 8.2.4051
24601Problem: Compiler complains about possibly uninitialized variable.
24602Solution: Add code to avoid a compiler warning. (John Marriott)
24603Files: src/scriptfile.c
24604
24605Patch 8.2.4052
24606Problem: Not easy to resize a window from a plugin.
24607Solution: Add win_move_separator() and win_move_statusline() functions.
24608 (Daniel Steinberg, closes #9486)
24609Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24610 src/evalwindow.c, src/proto/evalwindow.pro,
24611 src/testdir/test_window_cmd.vim
24612
24613Patch 8.2.4053
24614Problem: Vim9: autoload mechanism doesn't fully work yet.
24615Solution: Define functions and variables with their autoload name, add the
24616 prefix when calling a function, find the variable in the table of
24617 script variables.
24618Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24619 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24620 src/evalvars.c, src/testdir/test_vim9_script.vim
24621
24622Patch 8.2.4054 (after 8.2.4053)
24623Problem: Vim9 script test fails.
24624Solution: Add missing change.
24625Files: src/vim9compile.c
24626
24627Patch 8.2.4055
24628Problem: Vim9: line break in expression causes v:errmsg to be filled.
24629 (Yegappan Lakshmanan)
24630Solution: Do not give an error when skipping over an expression.
24631Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24632
24633Patch 8.2.4056
24634Problem: Vim9: memory leak when exporting function in autoload script.
24635Solution: Free the name if replacing it.
24636Files: src/scriptfile.c
24637
24638Patch 8.2.4057
24639Problem: Vim9: not fully implementing the autoload mechanism.
24640Solution: Allow for exporting a legacy function. Improve test coverage.
24641Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24642 src/testdir/test_vim9_script.vim
24643
24644Patch 8.2.4058
24645Problem: Vim9: import test failure in wrong line.
24646Solution: Adjust line number.
24647Files: src/testdir/test_vim9_import.vim
24648
24649Patch 8.2.4059
24650Problem: Vim9: an expression of a map cannot access script-local items.
24651 (Maxim Kim)
24652Solution: Use the script ID of where the map was defined.
24653Files: src/getchar.c, src/map.c, src/proto/map.pro,
24654 src/testdir/test_vim9_import.vim
24655
24656Patch 8.2.4060
24657Problem: win_execute() is slow on systems where getcwd() or chdir() is
24658 slow. (Rick Howe)
24659Solution: Avoid using getcwd() and chdir() if no local directory is used and
24660 'acd' is not set. (closes #9504)
24661Files: src/evalwindow.c
24662
24663Patch 8.2.4061
24664Problem: Codecov bash script is deprecated.
24665Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24666Files: .github/workflows/ci.yml
24667
24668Patch 8.2.4062
24669Problem: Match highlighting of tab too short.
24670Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24671 closes #9507, closes #9500)
24672Files: src/drawline.c, src/testdir/test_match.vim,
24673 src/testdir/dumps/Test_match_tab_linebreak.dump
24674
24675Patch 8.2.4063
24676Problem: Vim9: exported function in autoload script not found. (Yegappan
24677 Lakshmanan)
24678Solution: Use the autoload prefix to search for the function.
24679Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24680
24681Patch 8.2.4064
24682Problem: Foam files are not detected.
24683Solution: Detect the foam filetype by the path and file contents. (Mohammed
24684 Elwardi Fadeli, closes #9501)
24685Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24686 src/testdir/test_filetype.vim
24687
24688Patch 8.2.4065
24689Problem: Computation overflow with large count for :yank.
24690Solution: Avoid an overflow.
24691Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24692
24693Patch 8.2.4066
24694Problem: Vim9: imported autoload script loaded again.
24695Solution: Do not create a new imported_T every time.
24696Files: src/vim9script.c, src/vim9compile.c,
24697 src/testdir/test_vim9_import.vim
24698
24699Patch 8.2.4067
24700Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24701Solution: Translate the function name. (closes #9510)
24702Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24703
24704Patch 8.2.4068 (after 8.2.4066)
24705Problem: Vim9: import test fails.
24706Solution: Add missing change.
24707Files: src/scriptfile.c
24708
24709Patch 8.2.4069
24710Problem: Vim9: import test fails on MS-Windows.
24711Solution: Ignore case. Adjust test to avoid name that only differs in case.
24712Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
24713
24714Patch 8.2.4070
24715Problem: Using uninitialized memory when reading empty file.
24716Solution: Check for empty file before checking for NL. (Dominique Pellé,
24717 closes #9511)
24718Files: src/filepath.c, src/testdir/test_eval_stuff.vim
24719
24720Patch 8.2.4071
24721Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
24722Solution: Check if any of the blocks inside try/endtry did not end in
24723 return.
24724Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
24725 src/testdir/test_vim9_script.vim
24726
24727Patch 8.2.4072
24728Problem: Vim9: compiling function fails when autoload script is not loaded
24729 yet.
24730Solution: Depend on runtime loading.
24731Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
24732 src/vim9execute.c, src/testdir/test_vim9_import.vim
24733
24734Patch 8.2.4073
24735Problem: Coverity warns for using NULL pointer.
24736Solution: Bail out when running out of memory. Check for running over end of
24737 a string.
24738Files: src/userfunc.c,
24739
24740Patch 8.2.4074
24741Problem: Going over the end of NameBuff.
24742Solution: Check length when appending a space.
24743Files: src/drawscreen.c, src/testdir/test_edit.vim
24744
24745Patch 8.2.4075 (after 8.2.4073)
24746Problem: Test failures.
24747Solution: Change check for NULL pointer.
24748Files: src/userfunc.c
24749
24750Patch 8.2.4076
24751Problem: Memory leak in autoload import.
24752Solution: Do not overwrite the autoload prefix.
24753Files: src/vim9script.c
24754
24755Patch 8.2.4077
24756Problem: Not all Libsensors files are recognized.
24757Solution: Add "sensors.d/*" pattern. (Doug Kearns)
24758Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24759
24760Patch 8.2.4078
24761Problem: Terminal test for current directory not used on FreeBSD.
24762Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
24763 TermWait() inside Run_shell_in_terminal() as a generic solution.
24764Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
24765 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
24766 src/testdir/test_mapping.vim
24767
24768Patch 8.2.4079
24769Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
24770Solution: Adjust #ifdef. (Ken Takata, closes #9517)
24771Files: src/main.c
24772
24773Patch 8.2.4080
24774Problem: Not sufficient test coverage for xxd.
24775Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
24776Files: src/testdir/test_xxd.vim
24777
24778Patch 8.2.4081
24779Problem: CodeQL reports problem in if_cscope causing it to fail.
24780Solution: Use execvp() instead of execl(). Merge the header file into the
24781 source file. (Ozaki Kiichi, closes #9519)
24782Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
24783 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
24784 src/testdir/test_cscope.vim
24785
24786Patch 8.2.4082
24787Problem: Check for autoload file name and prefix fails. (Christian J.
24788 Robinson)
24789Solution: Only lower case the prefix on systems where the file name is not
24790 case sensitive.
24791Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
24792
24793Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024794Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024795 in the same script.
24796Solution: Add a simple test. Fix uncovered problem.
24797Files: src/evalvars.c, src/testdir/test_vim9_import.vim
24798
24799Patch 8.2.4084
24800Problem: Memory leak when looking for autoload prefixed variable.
24801Solution: Free the concatenated string.
24802Files: src/evalvars.c
24803
24804Patch 8.2.4085
24805Problem: Vim9: no test for using import in legacy script.
24806Solution: Add a test.
24807Files: src/testdir/test_vim9_import.vim
24808
24809Patch 8.2.4086
24810Problem: "cctx" argument of find_func_even_dead() is unused.
24811Solution: Remove the argument.
24812Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
24813 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
24814 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
24815 src/vim9type.c
24816
24817Patch 8.2.4087
24818Problem: Cannot test items from an autoload script easily.
24819Solution: Add the "autoload" value for test_override().
24820Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
24821 src/vim9script.c, src/testdir/test_vim9_import.vim
24822
24823Patch 8.2.4088
24824Problem: Xxd cannot output everything in one line.
24825Solution: Make zero columns mean infinite columns. (Erik Auerswald,
24826 closes #9524)
24827Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
24828 src/xxd/xxd.c
24829
24830Patch 8.2.4089 (after 8.2.4078)
24831Problem: Terminal test for current directory fails on FreeBSD.
24832Solution: Skip the test.
24833Files: src/testdir/test_terminal3.vim
24834
24835Patch 8.2.4090
24836Problem: After restoring a session buffer order can be quite different.
24837Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
24838Files: src/session.c, src/testdir/test_mksession.vim
24839
24840Patch 8.2.4091
24841Problem: Virtcol is recomputed for statusline unnecessarily.
24842Solution: Just use "w_virtcol". (closes #9523)
24843Files: src/buffer.c, src/testdir/test_statusline.vim
24844
24845Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024846Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024847Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
24848 closes #9521)
24849Files: .github/workflows/ci.yml
24850
24851Patch 8.2.4093
24852Problem: Cached breakindent values not initialized properly.
24853Solution: Initialize and cache formatlistpat. (Christian Brabandt,
24854 closes #9526, closes #9512)
24855Files: runtime/doc/options.txt, src/indent.c, src/option.c,
24856 src/proto/option.pro, src/testdir/test_breakindent.vim
24857
24858Patch 8.2.4094
24859Problem: 'virtualedit' is window-local but using buffer-local enum.
24860Solution: Use window-local enum. (closes #9529)
24861Files: src/option.h, src/optiondefs.h
24862
24863Patch 8.2.4095
24864Problem: Sed script not recognized by the first line.
24865Solution: Recognize a sed script starting with "#n". (Doug Kearns)
24866Files: runtime/scripts.vim, src/testdir/test_filetype.vim
24867
24868Patch 8.2.4096
24869Problem: Linux CI: unnecessarily installing packages
24870Solution: Only install packages for huge build. (Ozaki Kiichi,
24871 closes #9530)
24872Files: .github/workflows/ci.yml
24873
24874Patch 8.2.4097
24875Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
24876 Glaubitz)
24877Solution: Add type cast. (closes #9527)
24878Files: src/vim9compile.c
24879
24880Patch 8.2.4098
24881Problem: Typing "interrupt" at debug prompt may keep exception around,
24882 causing function calls to fail.
24883Solution: Discard any exception at the toplevel. (closes #9532)
24884Files: src/main.c
24885
24886Patch 8.2.4099
24887Problem: Vim9: cannot use Vim9 syntax in mapping.
24888Solution: Add <ScriptCmd> to use the script context for a command.
24889Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
24890 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
24891 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
24892 src/testdir/test_vim9_import.vim
24893
24894Patch 8.2.4100
24895Problem: Early return when getting the 'formatlistpat' value.
24896Solution: Remove the first line. (Christian Brabandt)
24897Files: src/option.c, src/testdir/test_breakindent.vim
24898
24899Patch 8.2.4101
24900Problem: Warning for unused argument in tiny version.
24901Solution: Add "UNUSED".
24902Files: src/getchar.c
24903
24904Patch 8.2.4102
24905Problem: Vim9: import cannot be used after method.
24906Solution: Recognize an imported function name. (closes #9496)
24907Files: src/eval.c, src/testdir/test_vim9_import.vim
24908
24909Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024910Problem: Vim9: variable declared in for loop not initialized.
24911Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024912Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
24913 src/testdir/test_vim9_assign.vim
24914
24915Patch 8.2.4104
24916Problem: Vim9: lower casing the autoload prefix causes problems.
24917Solution: Always store the prefix with case preserved.
24918Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
24919
24920Patch 8.2.4105
24921Problem: Translation related comment in the wrong place.
24922Solution: Move it back with the text. (Ken Takata, closes #9537)
24923Files: src/errors.h, src/ex_docmd.c
24924
24925Patch 8.2.4106
24926Problem: Going over the end of the w_lines array.
24927Solution: Break out of the loop when "idx" is too big. (issue #9540)
24928Files: src/drawscreen.c
24929
24930Patch 8.2.4107
24931Problem: Script context not restored after using <ScriptCmd>.
24932Solution: Also restore context when not in a script. (closes #9536)
24933 Add the 'c' flag to feedkeys() to be able to test this.
24934Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
24935 src/testdir/test_mapping.vim
24936
24937Patch 8.2.4108
24938Problem: Going over the end of the w_lines array.
24939Solution: Check not going over the end and limit to Rows. (issue #9540)
24940Files: src/drawscreen.c
24941
24942Patch 8.2.4109
24943Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024944Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
24945 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024946Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
24947
24948Patch 8.2.4110
24949Problem: Coverity warns for using NULL pointer.
24950Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
24951Files: src/eval.c
24952
24953Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024954Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024955Solution: Reset last used map pointer when deleting a mapping.
24956Files: src/map.c
24957
24958Patch 8.2.4112
24959Problem: Function not deleted at end of test.
24960Solution: Delete the function.
24961Files: src/testdir/test_diffmode.vim
24962
24963Patch 8.2.4113
24964Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
24965Solution: Correct the typo. (closes #9539)
24966Files: src/vim.h, src/testdir/test_mapping.vim
24967
24968Patch 8.2.4114
24969Problem: Vim9: type checking for a funcref does not work for when it is
24970 used in a method.
24971Solution: Pass the base to where the type is checked.
24972Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
24973 src/testdir/test_vim9_expr.vim
24974
24975Patch 8.2.4115
24976Problem: Cannot use a method with a complex expression.
24977Solution: Evaluate the expression after "->" and use the result.
24978Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
24979
24980Patch 8.2.4116
24981Problem: Vim9: cannot use a method with a complex expression in a :def
24982 function.
24983Solution: Implement compiling the expression.
24984Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24985
24986Patch 8.2.4117
24987Problem: Vim9: wrong white space error after using imported item.
24988Solution: Don't skip over white space. (closes #9544)
24989Files: src/eval.c, src/testdir/test_vim9_import.vim
24990
24991Patch 8.2.4118
24992Problem: Using UNUSED for argument that is used.
24993Solution: Remove UNUSED.
24994Files: src/usercmd.c
24995
24996Patch 8.2.4119
24997Problem: Build failure when disabling the channel feature.
24998Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
24999Files: src/misc2.c
25000
25001Patch 8.2.4120
25002Problem: Block insert goes over the end of the line.
25003Solution: Handle invalid byte better. Fix inserting the wrong text.
25004Files: src/ops.c, src/testdir/test_visual.vim
25005
25006Patch 8.2.4121
25007Problem: Visual test fails on MS-Windows.
25008Solution: Set 'isprint' so that the character used is not printable.
25009Files: src/testdir/test_visual.vim
25010
25011Patch 8.2.4122
25012Problem: ":command Cmd" does not show custom completion argument.
25013Solution: Show the completion argument when using ":verbose".
25014Files: src/usercmd.c, src/testdir/test_usercommands.vim
25015
25016Patch 8.2.4123
25017Problem: Complete function cannot be import.Name.
25018Solution: Dereference the function name if needed. Also: do not see
25019 "import.Name" as a builtin function. (closes #9541)
25020Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25021
25022Patch 8.2.4124
25023Problem: Vim9: method in compiled function may not see script item.
25024Solution: Make sure not to skip to the next line. (closes #9496)
25025Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25026
25027Patch 8.2.4125
25028Problem: Completion tests fail.
25029Solution: Disable error messages while dereferencing the function name.
25030Files: src/eval.c
25031
25032Patch 8.2.4126
25033Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25034 (Dominique Pellé)
25035Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25036Files: src/if_tcl.c
25037
25038Patch 8.2.4127
25039Problem: Build failure without the +eval feature.
25040Solution: Add #ifdef.
25041Files: src/usercmd.c
25042
25043Patch 8.2.4128
25044Problem: Crash when method cannot be found. (Christian J. Robinson)
25045Solution: Don't mix up pointer names.
25046Files: src/eval.c, src/testdir/test_vim9_expr.vim
25047
25048Patch 8.2.4129
25049Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25050Solution: Disable canberra in tiny and small build. (closes #9548)
25051Files: src/configure.ac, src/auto/configure
25052
25053Patch 8.2.4130
25054Problem: MS-Windows: MSVC build may have libraries duplicated.
25055Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25056Files: src/Make_mvc.mak
25057
25058Patch 8.2.4131
25059Problem: Vim9: calling function in autoload import does not work in a :def
25060 function.
25061Solution: When a variable is not found and a PCALL follows use a funcref.
25062 (closes #9550)
25063Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25064
25065Patch 8.2.4132
25066Problem: Vim9: wrong error message when autoload script can't be found.
25067Solution: Correct check for using autoload with wrong name.
25068Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25069
25070Patch 8.2.4133
25071Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025072 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025073Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25074Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25075
25076Patch 8.2.4134
25077Problem: MS-Windows: test for import with absolute path fails.
25078Solution: Handle path starting with slash as an absolute path.
25079Files: src/vim9script.c
25080
25081Patch 8.2.4135
25082Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25083Solution: Mark the unloaded script with "A". (closes #9552)
25084Files: runtime/doc/repeat.txt, src/scriptfile.c,
25085 src/testdir/test_vim9_import.vim
25086
25087Patch 8.2.4136
25088Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25089Solution: Remove the argument. (closes #9555)
25090Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25091 src/errors.h, src/testdir/test_vim9_import.vim
25092
25093Patch 8.2.4137
25094Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025095Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025096 Add some more tests. Improve error message.
25097Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25098 src/testdir/test_vim9_import.vim
25099
25100Patch 8.2.4138
25101Problem: Vim9: no error for return with argument when the function does not
25102 return anything.
25103Solution: Give an error for the invalid argument. (issue #9497)
25104Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25105
25106Patch 8.2.4139
25107Problem: Using freed memory if an expression abbreviation deletes the
25108 abbreviation.
25109Solution: Do not access the pointer after evaluating the expression.
25110Files: src/map.c, src/testdir/test_mapping.vim
25111
25112Patch 8.2.4140
25113Problem: maparg() does not indicate the type of script where it was defined.
25114Solution: Add "scriptversion".
25115Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25116
25117Patch 8.2.4141 (after 8.2.4140)
25118Problem: Vim9 builtin functions test fails.
25119Solution: Add "scriptversion" item to maparg() result.
25120Files: src/testdir/test_vim9_builtin.vim
25121
25122Patch 8.2.4142
25123Problem: Build failure with normal features without persistent undo.
25124Solution: Adjust #ifdef. (closes #9557)
25125Files: src/fileio.c
25126
25127Patch 8.2.4143
25128Problem: MS-Windows: IME support for Win9x is obsolete.
25129Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25130Files: src/gui_w32.c
25131
25132Patch 8.2.4144
25133Problem: Cannot load libsodium dynamically.
25134Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25135Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25136 src/crypt.c, src/memline.c, src/proto/crypt.pro
25137
25138Patch 8.2.4145
25139Problem: Confusing error when using name of import for a function.
25140Solution: Pass a flag to trans_function_name().
25141Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25142 src/testdir/test_vim9_import.vim
25143
25144Patch 8.2.4146
25145Problem: Vim9: shadowed function can be used in compiled function but not
25146 at script level.
25147Solution: Also give an error in a compiled function. (closes #9563)
25148Files: src/vim9expr.c
25149
25150Patch 8.2.4147
25151Problem: E464 does not always include the offending command.
25152Solution: Add another error message with "%s". (closes #9564)
25153Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25154 src/testdir/test_vim9_script.vim
25155
25156Patch 8.2.4148
25157Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25158 context.
25159Solution: Only reset last_used_map if it is the deleted mapping.
25160 (closes #9568)
25161Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25162 src/testdir/test_mapping.vim
25163
25164Patch 8.2.4149
25165Problem: Test override not restored, autocommand left behind.
25166Solution: Correct restoring test override. Delete autocommand afterwards.
25167Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25168
25169Patch 8.2.4150
25170Problem: Coverity warns for using pointer after free.
25171Solution: Swap statements, even though using the pointer is no problem.
25172Files: src/map.c
25173
25174Patch 8.2.4151
25175Problem: Reading beyond the end of a line.
25176Solution: For block insert only use the offset for correcting the length.
25177Files: src/ops.c, src/testdir/test_visual.vim
25178
25179Patch 8.2.4152
25180Problem: Block insert with double wide character fails.
25181Solution: Adjust the expected output.
25182Files: src/testdir/test_utf8.vim
25183
25184Patch 8.2.4153
25185Problem: MS-Windows: Global IME is no longer supported.
25186Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25187Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25188 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25189
25190Patch 8.2.4154
25191Problem: ml_get error when exchanging windows in Visual mode.
25192Solution: Correct end of Visual area when entering another buffer.
25193Files: src/window.c, src/testdir/test_visual.vim
25194
25195Patch 8.2.4155
25196Problem: Translating strftime() argument results in check error.
25197Solution: Add gettext comment.
25198Files: src/time.c
25199
25200Patch 8.2.4156
25201Problem: Fileinfo message overwrites echo'ed message.
25202Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25203 closes #9569)
25204Files: src/message.c, src/testdir/test_messages.vim,
25205 src/testdir/dumps/Test_fileinfo_after_echo.dump
25206
25207Patch 8.2.4157
25208Problem: Terminal test fails because Windows sets the title.
25209Solution: Add the "vterm_title" testing override and use it in the test.
25210 (Ozaki Kiichi, closes #9556)
25211Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25212 src/testing.c, src/testdir/test_terminal.vim
25213
25214Patch 8.2.4158
25215Problem: MS-Windows: memory leak in :browse.
25216Solution: Free stuff before returning. (Ken Takata, closes #9574)
25217Files: src/gui_w32.c
25218
25219Patch 8.2.4159
25220Problem: MS-Windows: _WndProc() is very long.
25221Solution: Move code to separate functions. (Ken Takata, closes #9573)
25222Files: src/gui_w32.c
25223
25224Patch 8.2.4160
25225Problem: Cannot change the register used for Select mode delete.
25226Solution: Make CTRL-R set the register to be used when deleting text for
25227 Select mode. (Shougo Matsushita, closes #9531)
25228Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25229 src/testdir/test_selectmode.vim
25230
25231Patch 8.2.4161
25232Problem: Vim9: warning for missing white space after imported variable.
25233Solution: Do not skip white space. (closes #9567)
25234Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25235
25236Patch 8.2.4162
25237Problem: Vim9: no error for redefining function with export.
25238Solution: Check for existing function with/without prefix. (closes #9577)
25239Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25240
25241Patch 8.2.4163
25242Problem: No error for omitting function name after autoload prefix.
25243Solution: Check for missing function name. (issue #9577)
25244Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25245
25246Patch 8.2.4164 (after 8.2.4162)
25247Problem: Error in legacy code for function shadowing variable.
25248Solution: Only give the error in Vim9 script.
25249Files: src/userfunc.c
25250
25251Patch 8.2.4165
25252Problem: The nv_g_cmd() function is too long.
25253Solution: Move code to separate functions. (Yegappan Lakshmanan,
25254 closes #9576)
25255Files: src/normal.c
25256
25257Patch 8.2.4166
25258Problem: Undo synced when switching buffer in another window.
25259Solution: Do not sync undo when not needed. (closes #9575)
25260Files: src/buffer.c, src/testdir/test_timers.vim
25261
25262Patch 8.2.4167
25263Problem: Vim9: error message for old style import.
25264Solution: Use another error message. Add a test.
25265Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25266
25267Patch 8.2.4168 (after 8.2.4163)
25268Problem: Disallowing empty function name breaks existing plugins.
25269Solution: Allow empty function name in legacy script.
25270Files: src/userfunc.c, src/testdir/test_autoload.vim,
25271 src/testdir/sautest/autoload/foo.vim
25272
25273Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025274Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025275Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25276Files: src/gui_w32.c
25277
25278Patch 8.2.4170
25279Problem: MS-Windows: still using old message API calls.
25280Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25281Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25282
25283Patch 8.2.4171
25284Problem: Cannot invoke option function using autoload import.
25285Solution: Expand the import to an autoload function name. (closes #9578)
25286Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25287 src/option.c, src/testdir/test_vim9_import.vim
25288
25289Patch 8.2.4172
25290Problem: Filetype detection for BASIC is not optimal.
25291Solution: Improve BASIC filetype detection. (Doug Kearns)
25292Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25293 src/testdir/test_filetype.vim
25294
25295Patch 8.2.4173
25296Problem: Cannot use an import in 'foldexpr'.
25297Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25298 Fix that the script context was not set for all buffers.
25299Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25300 src/option.c, src/testdir/test_vim9_import.vim
25301
25302Patch 8.2.4174
25303Problem: Vim9: can use an autoload name in normal script.
25304Solution: Disallow using an autoload name.
25305Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25306
25307Patch 8.2.4175
25308Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25309Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25310Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25311
25312Patch 8.2.4176
25313Problem: Vim9: cannot use imported function with call().
25314Solution: Translate the function name. (closes #9590)
25315Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25316
25317Patch 8.2.4177
25318Problem: Vim9: autoload script not loaded after "vim9script noclear".
25319Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25320Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25321
25322Patch 8.2.4178
25323Problem: Vim9: invalid error for return type of lambda when debugging.
25324Solution: Do not check the return type of a lambda. (closes #9589)
25325Files: src/vim9cmds.c
25326
25327Patch 8.2.4179
25328Problem: 'foldtext' is evaluated in the current script context.
25329Solution: Use the script context where the option was set.
25330Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25331 src/findfile.c, src/testdir/test_vim9_import.vim
25332
25333Patch 8.2.4180
25334Problem: 'balloonexpr' is evaluated in the current script context.
25335Solution: Use the script context where the option was set.
25336Files: src/beval.c, src/option.c, src/proto/option.pro,
25337 src/testdir/test_balloon.vim,
25338 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25339 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25340 src/testdir/dumps/Test_balloon_eval_term_02.dump
25341
25342Patch 8.2.4181
25343Problem: Vim9: cannot use an import in 'diffexpr'.
25344Solution: Set the script context when evaluating 'diffexpr'. Do not require
25345 'diffexpr' to return a bool, it was ignored anyway.
25346Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25347
25348Patch 8.2.4182 (after 8.2.4182)
25349Problem: Memory leak when evaluating 'diffexpr'.
25350Solution: Use free_tv() instead of clear_tv().
25351Files: src/evalvars.c
25352
25353Patch 8.2.4183
25354Problem: Cannot use an import in 'formatexpr'.
25355Solution: Set the script context when evaluating 'formatexpr'.
25356Files: src/textformat.c, src/testdir/test_vim9_import.vim
25357
25358Patch 8.2.4184
25359Problem: Cannot use an import in 'includeexpr'.
25360Solution: Set the script context when evaluating 'includeexpr'
25361Files: src/findfile.c, src/testdir/test_vim9_import.vim
25362
25363Patch 8.2.4185
25364Problem: Cannot use an import in 'indentexpr'.
25365Solution: Set the script context when evaluating 'indentexpr'
25366Files: src/indent.c, src/testdir/test_vim9_import.vim
25367
25368Patch 8.2.4186
25369Problem: Cannot use an import in 'patchexpr'.
25370Solution: Set the script context when evaluating 'patchexpr'. Do not
25371 require 'patchexpr' to return a bool, it was ignored anyway.
25372Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25373
25374Patch 8.2.4187
25375Problem: Gnuplot file not recognized.
25376Solution: Recognize ".gnuplot". (closes #9588)
25377Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25378
25379Patch 8.2.4188
25380Problem: Not all gitconfig files are recognized.
25381Solution: Add a few more patterns. (Tim Pope, closes #9597)
25382Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25383
25384Patch 8.2.4189
25385Problem: MS-Windows: code for "old look" is obsolete.
25386Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25387 closes #9596)
25388Files: src/gui_w32.c
25389
25390Patch 8.2.4190
25391Problem: All conceal tests are skipped without the screendumps feature.
25392Solution: Only skip the tests that use screendumps. (closes #9599)
25393Files: src/testdir/test_conceal.vim
25394
25395Patch 8.2.4191
25396Problem: json5 files are not recognized.
25397Solution: Add a pattern for json5 files. (closes #9601)
25398Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25399
25400Patch 8.2.4192
25401Problem: Cannot use an import in 'printexpr'.
25402Solution: Set the script context when evaluating 'printexpr'.
25403Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25404
25405Patch 8.2.4193
25406Problem: Cannot use an import in 'charconvert'.
25407Solution: Set the script context when evaluating 'charconvert'. Also expand
25408 script-local functions in 'charconvert'.
25409Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25410
25411Patch 8.2.4194
25412Problem: MS-Windows: code for calculating font size is duplicated.
25413Solution: Move the code to a function. (Ken Takata, closes #9603)
25414Files: src/gui_w32.c
25415
25416Patch 8.2.4195
25417Problem: Resizing terminal may cause to behave like CTRL-Z.
25418Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25419 closes #9602, closes #9586)
25420Files: src/os_unix.c
25421
25422Patch 8.2.4196
25423Problem: Various file types not recognized.
25424Solution: Add patterns to recognize more file types (closes #9607)
25425Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25426
25427Patch 8.2.4197
25428Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25429Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25430Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25431
25432Patch 8.2.4198
25433Problem: Vim9: the switch for executing instructions is too long.
25434Solution: Move some code to separate functions.
25435Files: src/vim9execute.c
25436
25437Patch 8.2.4199
25438Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25439Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25440Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25441 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25442 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25443 src/proto/os_win32.pro, src/time.c, src/vim.h
25444
25445Patch 8.2.4200
25446Problem: Some tests do not clean up properly.
25447Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25448Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25449 src/testdir/test_vim9_import.vim
25450
25451Patch 8.2.4201
25452Problem: When using the GUI CTRL-Z does not stop gvim.
25453Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25454 closes #9570)
25455Files: src/os_unix.c
25456
25457Patch 8.2.4202
25458Problem: Vim9: cannot export function that exists globally.
25459Solution: When checking if a function already exists only check for
25460 script-local functions. (closes #9615)
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025461Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025462 src/vim9compile.c, src/vim9instr.c,
25463 src/testdir/test_vim9_import.vim
25464
25465Patch 8.2.4203
25466Problem: Entering a character with CTRL-V may include modifiers.
25467Solution: Reset "mod_mask" when entering a character with digits after
25468 CTRL-V. (closes #9610)
25469Files: src/edit.c, src/testdir/test_edit.vim
25470
25471Patch 8.2.4204
25472Problem: screenpos() has non-zero row for invisible text.
25473Solution: Only add the window row when the text is visible. (closes #9618)
25474Files: src/move.c, src/testdir/test_cursor_func.vim
25475
25476Patch 8.2.4205
25477Problem: The normal_cmd() function is too long.
25478Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25479 closes #9608)
25480Files: src/normal.c
25481
25482Patch 8.2.4206
25483Problem: Condition with many "(" causes a crash.
25484Solution: Limit recursion to 1000.
25485Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25486
25487Patch 8.2.4207 (after 8.2.4206)
25488Problem: Recursion test fails with MSVC.
25489Solution: Use a smaller limit for MSVC.
25490Files: src/eval.c
25491
25492Patch 8.2.4208
25493Problem: Using setbufvar() may change the window title.
25494Solution: Do not redraw when creating the autocommand window. (closes #9613)
25495Files: src/autocmd.c, src/testdir/test_functions.vim
25496
25497Patch 8.2.4209
25498Problem: partial in 'opfunc' cannot use an imported function.
25499Solution: Also expand the function name in a partial. (closes #9614)
25500Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25501
25502Patch 8.2.4210 (after 8.2.4208)
25503Problem: Window title test fails in some configurations.
25504Solution: Only run the test if the title can be obtained.
25505Files: src/testdir/test_functions.vim
25506
25507Patch 8.2.4211 (after 8.2.4208)
25508Problem: Window title test still fails in some configurations.
25509Solution: Use WaitForAssert().
25510Files: src/testdir/test_functions.vim
25511
25512Patch 8.2.4212 (after 8.2.4208)
25513Problem: Window title test still fails in some configurations.
25514Solution: Explicitly set the 'title' option.
25515Files: src/testdir/test_functions.vim
25516
25517Patch 8.2.4213
25518Problem: Too much code for supporting old MSVC versions.
25519Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25520Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25521 src/msvcsetup.bat, src/os_win32.c
25522
25523Patch 8.2.4214
25524Problem: Illegal memory access with large 'tabstop' in Ex mode.
25525Solution: Allocate enough memory.
25526Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25527
25528Patch 8.2.4215
25529Problem: Illegal memory access when copying lines in Visual mode.
25530Solution: Adjust the Visual position after copying lines.
25531Files: src/ex_cmds.c, src/testdir/test_visual.vim
25532
25533Patch 8.2.4216
25534Problem: Vim9: cannot use a function from an autoload import directly.
25535Solution: Add the AUTOLOAD instruction to figure out at runtime.
25536 (closes #9620)
25537Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25538 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25539 src/testdir/test_vim9_disassemble.vim
25540
25541Patch 8.2.4217
25542Problem: Illegal memory access when undo makes Visual area invalid.
25543Solution: Correct the Visual area after undo.
25544Files: src/undo.c, src/testdir/test_visual.vim
25545
25546Patch 8.2.4218
25547Problem: Illegal memory access with bracketed paste in Ex mode.
25548Solution: Reserve space for the trailing NUL.
25549Files: src/edit.c, src/testdir/test_paste.vim
25550
25551Patch 8.2.4219
25552Problem: Reading before the start of the line.
25553Solution: Check boundary before trying to read the character.
25554Files: src/register.c, src/testdir/test_visual.vim
25555
25556Patch 8.2.4220
25557Problem: MS-Windows: some old compiler support remains.
25558Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25559Files: src/Make_mvc.mak, src/vim.h
25560
25561Patch 8.2.4221
25562Problem: Some functions in normal.c are very long.
25563Solution: Move code to separate functions. (Yegappan Lakshmanan,
25564 closes #9628)
25565Files: src/normal.c
25566
25567Patch 8.2.4222
25568Problem: MS-Windows: clumsy way to suppress progress on CI.
25569Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25570Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25571
25572Patch 8.2.4223
25573Problem: Long/int compiler warnings; function arguments swapped.
25574Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25575Files: src/alloc.c, src/eval.c, src/vim9script.c
25576
25577Patch 8.2.4224
25578Problem: Vim9: no error when using a number for map() second argument
25579Solution: Disallow number to string conversion. (closes #9630)
25580Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25581
25582Patch 8.2.4225
25583Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25584Solution: Parse the optional depth argument. (closes #9629)
25585 Fix that locking doesn't work for a non-materialize list.
25586Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25587 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25588 src/testdir/test_vim9_disassemble.vim
25589
25590Patch 8.2.4226 (after 8.2.4224)
25591Problem: Filter-map test fails.
25592Solution: Only reject number argument in Vim9 script.
25593Files: src/eval.c
25594
25595Patch 8.2.4227
25596Problem: Vim9: using "lockvar!" in :def function does not work.
25597Solution: Add "!" instead of "-1". (closes #9634)
25598Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25599
25600Patch 8.2.4228
25601Problem: No tests for clicking in the GUI tabline.
25602Solution: Add test functions to generate the events. Add tests using the
25603 functions. (Yegappan Lakshmanan, closes #9638)
25604Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25605 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25606 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25607 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25608 src/testing.c
25609
25610Patch 8.2.4229
25611Problem: Possible crash when invoking timer callback fails.
25612Solution: Initialize the typval. Give an error for an empty callback.
25613 (closes #9636)
25614Files: src/time.c, src/testdir/test_vim9_builtin.vim
25615
25616Patch 8.2.4230
25617Problem: MS-Windows: set_guifontwide() is included but won't work.
25618Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25619Files: src/gui.c
25620
25621Patch 8.2.4231
25622Problem: Vim9: map() gives type error when type was not declared.
25623Solution: Only check the type when it was declared, like extend() does.
25624 (closes #9635)
25625Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25626 src/testdir/test_vim9_builtin.vim,
25627 src/testdir/test_vim9_assign.vim
25628
25629Patch 8.2.4232 (after 8.2.4231)
25630Problem: Some compilers don't like a goto label without statement.
25631Solution: Return instead of using a goto.
25632Files: src/list.c
25633
25634Patch 8.2.4233
25635Problem: Crash when recording and using Select mode.
25636Solution: When deleting the last recorded character check there is something
25637 to delete.
25638Files: src/getchar.c, src/testdir/test_registers.vim
25639
25640Patch 8.2.4234
25641Problem: test_garbagecollect_now() does not check v:testing as documented.
25642Solution: Give an error if v:testing is not set.
25643Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25644
25645Patch 8.2.4235
25646Problem: Invalid check for NULL pointer.
25647Solution: Remove the check.
25648Files: src/getchar.c
25649
25650Patch 8.2.4236
25651Problem: Accessing freed memory.
25652Solution: Set the bh_curr pointer to NULL.
25653Files: src/getchar.c
25654
25655Patch 8.2.4237
25656Problem: Record buffer wrong if character in Select mode was not typed.
25657Solution: Only delete the tail from the record buffer if the character was
25658 typed. (closes #9650)
25659Files: src/normal.c, src/testdir/test_registers.vim
25660
25661Patch 8.2.4238
25662Problem: *.tf file could be fileytpe "tf" or "terraform".
25663Solution: Detect the type from the file contents. (closes #9642)
25664Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25665 src/testdir/test_filetype.vim
25666
25667Patch 8.2.4239
25668Problem: Build fails with unusual configuration.
25669Solution: Adjust #ifdef. (closes #9651)
25670Files: src/testing.c
25671
25672Patch 8.2.4240
25673Problem: Error for using flatten() in Vim9 script is unclear.
25674Solution: Add a remark to use flattennew().
25675Files: src/errors.h
25676
25677Patch 8.2.4241
25678Problem: Some type casts are redundant.
25679Solution: Remove the type casts. (closes #9643)
25680Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25681 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25682 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25683 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25684 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25685 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25686 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25687 src/undo.c, src/window.c
25688
25689Patch 8.2.4242
25690Problem: Put in Visual mode cannot be repeated.
25691Solution: Use "P" to put without yanking the deleted text into the unnamed
25692 register. (Shougo Matsushita, closes #9591)
25693Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25694 src/testdir/test_visual.vim
25695
25696Patch 8.2.4243
25697Problem: Lua tests fail with Lua 5.4.4.
25698Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
25699Files: src/testdir/test_lua.vim
25700
25701Patch 8.2.4244
25702Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025703Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025704 uppercase for consistency. (Ken Takata, closes #9647)
25705Files: src/Make_mvc.mak
25706
25707Patch 8.2.4245
25708Problem: ":retab 0" may cause illegal memory access.
25709Solution: Limit the value of 'tabstop' to 10000.
25710Files: src/option.c, src/vim.h, src/indent.c,
25711 src/testdir/test_options.vim
25712
25713Patch 8.2.4246
25714Problem: One error message not in errors.h. (Antonio Colombo)
25715Solution: Move the message and rename.
25716Files: src/errors.h, src/if_perl.xs
25717
25718Patch 8.2.4247
25719Problem: Stack corruption when looking for spell suggestions.
25720Solution: Prevent the depth increased too much. Add a five second time
25721 limit to finding suggestions.
25722Files: src/spellsuggest.c, src/testdir/test_spell.vim
25723
25724Patch 8.2.4248
25725Problem: No proper test for moving the window separator.
25726Solution: Add a test. Add comment in code. (closes #9656)
25727Files: src/window.c, src/testdir/test_window_cmd.vim
25728
25729Patch 8.2.4249
25730Problem: The timeout limit for spell suggestions is always 5000 milli
25731 seconds.
25732Solution: Add the "timeout" entry to 'spellsuggest'.
25733Files: runtime/doc/options.txt, src/spellsuggest.c,
25734 src/testdir/test_spell.vim
25735
25736Patch 8.2.4250
25737Problem: Channel out callback test is flaky on Mac.
25738Solution: Assign high priority to the test process. (Ozaki Kiichi,
25739 closes #9653)
25740Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
25741
25742Patch 8.2.4251
25743Problem: Vala files are not recognized.
25744Solution: Add the *.vala pattern. (closes #9654)
25745Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25746
25747Patch 8.2.4252
25748Problem: Generating the normal command table at runtime is inefficient.
25749Solution: Generate the table with a Vim script and put it in a header file.
25750 (Yegappan Lakshmanan, closes #9648)
25751Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
25752 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
25753 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
25754 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
25755
25756Patch 8.2.4253
25757Problem: Using freed memory when substitute uses a recursive function call.
25758Solution: Make a copy of the substitute text.
25759Files: src/ex_cmds.c, src/testdir/test_substitute.vim
25760
25761Patch 8.2.4254
25762Problem: Using short instead of int.
25763Solution: Use int. (closes #9658)
25764Files: src/if_cscope.c
25765
25766Patch 8.2.4255
25767Problem: Theoretical computation overflow.
25768Solution: Perform multiplication in a wider type. (closes #9657)
25769Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
25770 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
25771 src/memline.c, src/popupwin.c
25772
25773Patch 8.2.4256
25774Problem: MS-Windows: compiler warnings when compiled with /W4.
25775Solution: Small adjustments to the code. (Ken Takata, closes #9659)
25776Files: src/gui_w32.c, src/os_win32.c
25777
25778Patch 8.2.4257
25779Problem: Vim9: finding global function without g: prefix but not finding
25780 global variable is inconsistent.
25781Solution: Require using g: for a global function. Change the vim9.vim
25782 script into a Vim9 script with exports. Fix that import in legacy
25783 script does not work.
25784Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
25785 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
25786 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25787 src/testdir/test_vim9_disassemble.vim,
25788 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25789 src/testdir/test_vim9_import.vim,
25790 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
25791 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
25792 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
25793 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
25794 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
25795 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
25796 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
25797 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
25798 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
25799 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
25800 src/testdir/test_usercommands.vim
25801
25802Patch 8.2.4258
25803Problem: Coverity warns for array overrun.
25804Solution: Restrict depth to MAXWLEN - 1.
25805Files: src/spellsuggest.c
25806
25807Patch 8.2.4259
25808Problem: Number of test functions for GUI events is growing.
25809Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
25810 closes #9660)
25811Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25812 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
25813 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
25814 src/testing.c
25815
25816Patch 8.2.4260
25817Problem: Vim9: can still use a global function without g: at the script
25818 level.
25819Solution: Also check for g: at the script level. (issue #9637)
25820Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
25821 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
25822 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25823 src/testdir/test_vim9_disassemble.vim,
25824 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25825 src/testdir/test_vim9_import.vim,
25826 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
25827 src/testdir/dumps/Test_popupwin_scroll_11.dump,
25828 src/testdir/dumps/Test_popupwin_scroll_12.dump
25829
25830Patch 8.2.4261
25831Problem: Accessing invalid memory when a regular expression checks the
25832 Visual area while matching in a string.
25833Solution: Do not try matching the Visual area in a string.
25834Files: src/regexp.c, src/testdir/test_help.vim
25835
25836Patch 8.2.4262 (after 8.2.4261)
25837Problem: Some search tests fail.
25838Solution: Use a better way to reject searching for the Visual area.
25839Files: src/regexp.c
25840
25841Patch 8.2.4263
25842Problem: No test for the GUI find/replace dialog.
25843Solution: Add a test function and a test. (Yegappan Lakshmanan,
25844 closes #9662)
25845Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
25846
25847Patch 8.2.4264
25848Problem: Vim9: can use old style autoload function name.
25849Solution: Give an error for old style autoload function name.
25850Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
25851 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
25852
25853Patch 8.2.4265 (after 8.2.4264)
25854Problem: Autoload tests fails.
25855Solution: Use export instead of name with #.
25856Files: src/testdir/sautest/autoload/auto9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025857 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025858
25859Patch 8.2.4266
25860Problem: Compiler warning for uninitialized variable.
25861Solution: Initialize saved_did_emsg.
25862Files: src/userfunc.c
25863
25864Patch 8.2.4267
25865Problem: Unused entry in keymap enum.
25866Solution: Remove the entry.
25867Files: src/keymap.h
25868
25869Patch 8.2.4268
25870Problem: CI log output is long.
25871Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
25872Files: .github/workflows/ci.yml
25873
25874Patch 8.2.4269
25875Problem: Coverity warns for using a NULL pointer.
25876Solution: Check for "name" to not be NULL.
25877Files: src/userfunc.c
25878
25879Patch 8.2.4270
25880Problem: Generating nv_cmdidxs.h requires building Vim twice.
25881Solution: Move the table into a separate file and use a separate executable
25882 to extract the command characters. (Ozaki Kiichi, closes #9669)
25883Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
25884 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25885 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
25886 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
25887
25888Patch 8.2.4271
25889Problem: MS-Windows: cannot build with Ruby 3.1.0.
25890Solution: Adjust the DLL name and include directory. (Ken Takata,
25891 closes #9666)
25892Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
25893
25894Patch 8.2.4272
25895Problem: Vim9 expr test fails without the channel feature. (Dominique
25896 Pellé)
25897Solution: Remove "g:" before "CheckFeature". (closes #9671)
25898Files: src/testdir/test_vim9_expr.vim
25899
25900Patch 8.2.4273
25901Problem: The EBCDIC support is outdated.
25902Solution: Remove the EBCDIC support.
25903Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
25904 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
25905 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
25906 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
25907 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
25908 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
25909 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
25910 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
25911 src/spell.c, src/strings.c, src/structs.h, src/term.c,
25912 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
25913 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
25914 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
25915
25916Patch 8.2.4274
25917Problem: Basic and form filetype detection is incomplete.
25918Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
25919Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25920 src/testdir/test_filetype.vim
25921
25922Patch 8.2.4275
25923Problem: Cannot use an autoload function from a package under start.
25924Solution: Also look in the "start" package directory. (Bjorn Linse,
25925 closes #7193)
25926Files: src/scriptfile.c, src/testdir/test_packadd.vim
25927
25928Patch 8.2.4276
25929Problem: Separate test function for the GUI scrollbar.
25930Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
25931Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25932 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
25933 src/proto/testing.pro, src/testdir/test_gui.vim,
25934 src/testdir/test_vim9_builtin.vim
25935
25936Patch 8.2.4277
25937Problem: Vim9: an import does not shadow a command modifier.
25938Solution: Do not accept a command modifier followed by a dot.
25939Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
25940
25941Patch 8.2.4278
25942Problem: Build with Athena GUI fails. (Elimar Riesebieter)
25943Solution: Add #ifdef.
25944Files: src/testing.c
25945
25946Patch 8.2.4279
25947Problem: Vim9: cannot change item type with map() after range().
25948Solution: Split the return type in current type and declared type.
25949 (closes #9665)
25950Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
25951 src/vim9type.c, src/proto/vim9type.pro,
25952 src/testdir/test_vim9_builtin.vim
25953
25954Patch 8.2.4280 (after 8.2.4279)
25955Problem: list-dict test crashes.
25956Solution: Check declared type for add().
25957Files: src/vim9expr.vim
25958
25959Patch 8.2.4281
25960Problem: Using freed memory with :lopen and :bwipe.
25961Solution: Do not use a wiped out buffer.
25962Files: src/buffer.c, src/testdir/test_quickfix.vim
25963
25964Patch 8.2.4282
25965Problem: Restricted mode requires the -Z command line option.
25966Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
25967 (closes #9681)
25968Files: runtime/doc/starting.txt, src/option.c,
25969 src/testdir/test_restricted.vim
25970
25971Patch 8.2.4283
25972Problem: Using a variable for the return value is not needed.
25973Solution: Return the value directly. (closes #9687)
25974Files: src/ex_docmd.c, src/misc2.c
25975
25976Patch 8.2.4284
25977Problem: Old mac resources files are no longer used.
25978Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
25979Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
25980 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
25981 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
25982
25983Patch 8.2.4285
25984Problem: Vim9: type of item in for loop not checked properly.
25985Solution: Adjust the type checking. (closes #9683)
25986Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
25987 src/testdir/test_vim9_script.vim
25988
25989Patch 8.2.4286
25990Problem: Vim9: strict type checking after copy() and deepcopy().
25991Solution: Allow type to change after making a copy. (closes #9644)
25992Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
25993 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
25994 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
25995 src/testdir/test_vim9_builtin.vim,
25996 src/testdir/test_vim9_assign.vim
25997
25998Patch 8.2.4287
25999Problem: Cannot assign empty list with any list type to variable with
26000 specific list type.
26001Solution: Use unknown list type for empty list if the specified type is any.
26002Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26003 src/testdir/test_vim9_func.vim
26004
26005Patch 8.2.4288
26006Problem: Preprocessor indents are inconsistent.
26007Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26008Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26009 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26010
26011Patch 8.2.4289
26012Problem: Warnings reported by MSVC.
26013Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26014Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26015 src/menu.c, src/os_win32.c, src/version.c
26016
26017Patch 8.2.4290
26018Problem: MS-Windows: using type casts for timer IDs.
26019Solution: Remove type casts and use the right type. (Ken Takata,
26020 closes #9690) Remove old debug comments. Rename variables and
26021 functions.
26022Files: src/gui_w32.c
26023
26024Patch 8.2.4291
26025Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026026Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026027Files: src/errors.h
26028
26029Patch 8.2.4292 (after 8.2.4291)
26030Problem: Test fails.
26031Solution: Adjust the expected error number.
26032Files: src/testdir/test_vim9_cmd.vim
26033
26034Patch 8.2.4293
26035Problem: Vim9: when copying a list it gets type list<any> even when the
26036 original list did not have a type.
26037Solution: Only set the type when the original list has a type. (closes #9692)
26038Files: src/list.c, src/testdir/test_vim9_expr.vim
26039
26040Patch 8.2.4294
26041Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26042Solution: Simplify the conditions. (Ken Takata, closes #9693)
26043Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26044 src/os_win32.h
26045
26046Patch 8.2.4295
26047Problem: Vim9: concatenating two lists may result in wrong type.
26048Solution: Remove the type instead of using list<any>. (closes #9692)
26049Files: src/list.c, src/testdir/test_vim9_expr.vim
26050
26051Patch 8.2.4296
26052Problem: Vim9: not all code covered by tests.
26053Solution: Add a few more tests for corner cases. Fix hang when single quote
26054 is missing.
26055Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26056 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26057
26058Patch 8.2.4297
26059Problem: Vim9: not all code covered by tests.
26060Solution: Add a couple more tests.
26061Files: src/testdir/test_vim9_script.vim,
26062 src/testdir/test_vim9_disassemble.vim
26063
26064Patch 8.2.4298
26065Problem: Divide by zero with huge tabstop value.
26066Solution: Reject tabstop value that overflows to zero.
26067Files: src/indent.c, src/testdir/test_vartabs.vim
26068
26069Patch 8.2.4299
26070Problem: SafeState autocommand interferes with debugging.
26071Solution: Do not trigger SafeState while debugging. (closes #9697)
26072Files: src/main.c
26073
26074Patch 8.2.4300 (after 8.2.4299)
26075Problem: Cannot build tiny version. (Tony Mechelynck)
26076Solution: Add #ifdef.
26077Files: src/main.c
26078
26079Patch 8.2.4301
26080Problem: Vim9: type error for copy of dict.
26081Solution: Do not use dict<any> but no type. (closes #9696)
26082Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26083
26084Patch 8.2.4302
26085Problem: Vim9: return type of getline() is too strict.
26086Solution: Make the declared type list<any>. Also do this for other
26087 functions returning a list of a specific type.
26088Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26089
26090Patch 8.2.4303
26091Problem: A few messages should not be translated.
26092Solution: Remove _(). (Dominique Pellé, closes #9702)
26093Files: src/syntax.c
26094
26095Patch 8.2.4304
26096Problem: Vim9: slice() makes a copy but doesn't change the type.
26097Solution: Change the declared type like copy(). (closes #9696)
26098Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26099
26100Patch 8.2.4305
26101Problem: Tex filetype detection fails.
26102Solution: Check value to be positive. (closes #9704)
26103Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26104
26105Patch 8.2.4306
26106Problem: No test for fixed perl filetype check.
26107Solution: Add a test. Sort test functions.
26108Files: src/testdir/test_filetype.vim
26109
26110Patch 8.2.4307
26111Problem: A few more messages should not be translated.
26112Solution: Remove _().
26113Files: src/syntax.c
26114
26115Patch 8.2.4308
26116Problem: Vim9: cannot list autoload function.
26117Solution: Don't give an error for using # when listing a function.
26118 (closes #9703)
26119Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26120
26121Patch 8.2.4309
26122Problem: Vim9: crash when using a partial in the wrong context.
26123Solution: Don't use an NULL outer pointer. (closes #9706)
26124Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26125
26126Patch 8.2.4310
26127Problem: Vim9: constant list and dict get a declaration type other than
26128 "any".
26129Solution: A constant list and dict have a declared member type "any".
26130 (closes #9701)
26131Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26132 src/testdir/test_vim9_builtin.vim
26133
26134Patch 8.2.4311
26135Problem: Vim9: changing script variable type not caught at compile time.
26136Solution: Set the declared type.
26137Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26138
26139Patch 8.2.4312
26140Problem: No error for using :vim9script in a :def function.
26141Solution: Give an error when compiling.
26142Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26143
26144Patch 8.2.4313
26145Problem: Vim9: cannot change type of list after making a slice.
26146Solution: Adjust the declared member type. (closes #9696)
26147Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26148
26149Patch 8.2.4314 (after 8.2.4312)
26150Problem: Test fails where lines are skipped.
26151Solution: Only give an error when not skipping commands.
26152Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26153
26154Patch 8.2.4315
26155Problem: Put in Visual mode not fully tested.
26156Solution: Add a few more test cases. (closes #9708)
26157Files: src/testdir/test_visual.vim
26158
26159Patch 8.2.4316
26160Problem: __CYGWIN32__ is not defined on 64 bit systems.
26161Solution: Update #ifdefs. (Ken Takata, closes #9709)
26162Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26163
26164Patch 8.2.4317
26165Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26166Solution: Hook into the exit() function to recover from the failure.
26167 (Ken Takata, closes #9710)
26168Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26169 src/errors.h, src/proto/os_win32.pro
26170
26171Patch 8.2.4318
26172Problem: Various comment and indent mistakes, returning wrong zero.
26173Solution: Fix the mistakes. Return NULL instead of FAIL.
26174Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26175 src/window.c
26176
26177Patch 8.2.4319
26178Problem: :put does not work properly in compiled function. (John Beckett)
26179Solution: Adjust the direction when using line zero.
26180Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26181
26182Patch 8.2.4320
26183Problem: Athena and Motif: when maximized scrollbar position is wrong.
26184Solution: Implement the scrollbar padding functions. (closes #9712)
26185Files: src/gui_athena.c, src/gui_motif.c
26186
26187Patch 8.2.4321
26188Problem: Vim9: crash when using a funcref to a closure.
26189Solution: Copy pt_outer to the new partial. (closes #9714)
26190Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26191
26192Patch 8.2.4322
26193Problem: Vim9: crash when using funcref with closure.
26194Solution: Keep a reference to the funcref that has the outer context.
26195 (closes #9716)
26196Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26197 src/testdir/test_vim9_func.vim
26198
26199Patch 8.2.4323
26200Problem: Vim9: nested function name can start with "_".
26201Solution: Use same rule for function name for nested functions.
26202 (closes #9713)
26203Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26204
26205Patch 8.2.4324
26206Problem: Vim9: script-local function name can start with "_".
26207Solution: Check for leading capital after "s:". Correct error message.
26208Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26209 src/testdir/test_vim9_func.vim
26210
26211Patch 8.2.4325
26212Problem: 'wildmenu' only shows few matches.
26213Solution: Add the "pum" option: use a popup menu to show the matches.
26214 (Yegappan Lakshmanan et al., closes #9707)
26215Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26216 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26217 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26218 src/testdir/test_cmdline.vim,
26219 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26220 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26221 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26222 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26223 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26224 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26225 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26226 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26227 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26228 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26229 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26230 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26231 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26232 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26233 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26234 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26235 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26236 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26237 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26238 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26239 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26240 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26241 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26242 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26243 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26244 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26245 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26246 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26247 src/testdir/dumps/Test_wildmenu_pum_29.dump
26248
26249Patch 8.2.4326
26250Problem: "o" and "O" copying comment not sufficiently tested.
26251Solution: Add a test case. (closes #9718)
26252Files: src/testdir/test_textformat.vim
26253
26254Patch 8.2.4327
26255Problem: May end up with no current buffer.
26256Solution: When deleting the current buffer to not pick a quickfix buffer as
26257 the new current buffer.
26258Files: src/buffer.c, src/testdir/test_quickfix.vim
26259
26260Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026261Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026262 (Dominique Pellé)
26263Solution: Only remove a popup menu if there is one.
26264Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26265 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26266 src/testdir/dumps/Test_wildmenu_pum_31.dump
26267
26268Patch 8.2.4329
26269Problem: No support for end line number and column in 'errorformat'.
26270Solution: Add %e and %k. (closes #9624)
26271Files: runtime/doc/quickfix.txt, src/quickfix.c,
26272 src/testdir/test_quickfix.vim
26273
26274Patch 8.2.4330
26275Problem: Vim9: no error if script imports itself.
26276Solution: Give an error when a script imports itself.
26277Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26278
26279Patch 8.2.4331
26280Problem: Vim9: no test for existing script variable in block.
26281Solution: Add a test.
26282Files: src/testdir/test_vim9_func.vim
26283
26284Patch 8.2.4332
26285Problem: Vim9: incomplete test for existing script variable in block.
26286Solution: Add a couple more tests. Fix uncovered problem.
26287Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26288 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26289
26290Patch 8.2.4333
26291Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026292Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026293Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26294 src/proto/vim9script.pro, src/vim9compile.c,
26295 src/proto/vim9compile.pro
26296
26297Patch 8.2.4334
26298Problem: Command line popup menu not positioned correctly.
26299Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26300 closes #9727)
26301Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26302 src/testdir/dumps/Test_wildmenu_pum_32.dump
26303
26304Patch 8.2.4335
26305Problem: No autocommand event triggered before changing directory. (Ronnie
26306 Magatti)
26307Solution: Add DirChangedPre. (closes #9721)
26308Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26309 src/vim.h, src/autocmd.c, src/misc2.c,
26310 src/testdir/test_autocmd.vim
26311
26312Patch 8.2.4336
26313Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26314Solution: Call message_filtered(). (closes #9720)
26315Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26316
26317Patch 8.2.4337
26318Problem: Part of condition is always true.
26319Solution: Remove that part of the condition. (closes #9729)
26320Files: src/filepath.c
26321
26322Patch 8.2.4338
26323Problem: An error from an expression mapping messes up the display.
26324Solution: When the expression results in an empty string return K_IGNORE.
26325 In cmdline mode redraw the command line. (closes #9726)
26326Files: src/getchar.c, src/testdir/test_mapping.vim,
26327 src/testdir/dumps/Test_map_expr_2.dump,
26328 src/testdir/dumps/Test_map_expr_3.dump,
26329 src/testdir/dumps/Test_map_expr_4.dump
26330
26331Patch 8.2.4339
26332Problem: CTRL-A does not work properly with the cmdline popup menu.
26333Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26334 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26335 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26336Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26337 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26338 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26339 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26340 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26341 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26342 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26343 src/testdir/test_textprop.vim,
26344 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26345 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26346 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26347 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26348 src/testdir/dumps/Test_wildmenu_pum_37.dump
26349
26350Patch 8.2.4340
26351Problem: Amiga: mch_can_exe() is not implemented.
26352Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26353Files: src/os_amiga.c
26354
26355Patch 8.2.4341
26356Problem: Command line not redrawn when finishing popup menu and the screen
26357 has scrolled up.
26358Solution: Redraw the command line after updating the screen. (closes #9722)
26359Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26360 src/testdir/dumps/Test_wildmenu_pum_38.dump
26361
26362Patch 8.2.4342
26363Problem: CI will soon switch to other windows version.
26364Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26365 closes #9740)
26366Files: .github/workflows/ci.yml
26367
26368Patch 8.2.4343
26369Problem: When reloading not all properties are detected.
26370Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26371Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26372 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26373 src/testdir/test_filechanged.vim
26374
26375Patch 8.2.4344
26376Problem: Amiga: header file included twice.
26377Solution: Remove #include. (Ola Söder, closes #9733)
26378Files: src/memfile.c
26379
26380Patch 8.2.4345
26381Problem: <amatch> is expanded like a file name for DirChangedPre.
26382Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26383Files: src/autocmd.c, src/testdir/test_autocmd.vim
26384
26385Patch 8.2.4346
26386Problem: A custom statusline may cause Esc to work like Enter on the
26387 command line when the popup menu is displayed.
26388Solution: Save and restore KeyTyped. (closes #9749)
26389Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26390 src/testdir/dumps/Test_wildmenu_pum_39.dump
26391
26392Patch 8.2.4347
26393Problem: In some build setups UNUSED is not defined.
26394Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26395 closes #9734)
26396Files: src/vim.h
26397
26398Patch 8.2.4348
26399Problem: "legacy exe cmd" does not do what one would expect.
26400Solution: Apply the "legacy" and "vim9script" command modifiers to the
26401 argument of ":execute".
26402Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26403 src/testdir/test_vim9_cmd.vim
26404
26405Patch 8.2.4349
26406Problem: FileChangedShell test fails on MS-Windows.
26407Solution: Skip the test on MS-Windows.
26408Files: src/testdir/test_filechanged.vim
26409
26410Patch 8.2.4350
26411Problem: FEAT_GUI_ENABLED defined but never used.
26412Solution: Remove the #define. (Ola Söder, closes #9732)
26413Files: src/vim.h
26414
26415Patch 8.2.4351
26416Problem: No coverage is measured on MS-Windows CI.
26417Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26418Files: .github/workflows/ci.yml
26419
26420Patch 8.2.4352
26421Problem: ReScript files are not recognized.
26422Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26423Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26424
26425Patch 8.2.4353
26426Problem: CI does not use the latest Lua and Python.
26427Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26428Files: .github/workflows/ci.yml
26429
26430Patch 8.2.4354
26431Problem: Dynamic loading of libsodium not handled properly.
26432Solution: Fix has() and :version. Show an error message when loading fails.
26433 Fix memory leaks. (Ken Takata, closes #9754)
26434Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26435 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26436 src/version.c
26437
26438Patch 8.2.4355
26439Problem: Unnecessary call to check_colorcolumn().
26440Solution: Remove the call. (Sean Dewar, closes #9748)
26441Files: src/option.c, src/window.c
26442
26443Patch 8.2.4356
26444Problem: Command line completion functions are very long.
26445Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26446 closes #9753)
26447Files: src/cmdexpand.c
26448
26449Patch 8.2.4357 (after 8.2.4348)
26450Problem: sticky command modifiers are too sticky.
26451Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26452Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26453
26454Patch 8.2.4358
26455Problem: Vim9: line number of exception is not set.
26456Solution: Set the line number before throwing an exception. (closes #9755)
26457Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26458
26459Patch 8.2.4359
26460Problem: crash when repeatedly using :retab.
26461Solution: Bail out when the line is getting too long.
26462Files: src/indent.c, src/testdir/test_retab.vim
26463
26464Patch 8.2.4360
26465Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26466Solution: Disallow using "s:" in Vim9 script at the script level.
26467Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26468 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26469 src/testdir/test_vim9_assign.vim,
26470 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26471 src/testdir/test_vim9_disassemble.vim,
26472 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26473 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26474
26475Patch 8.2.4361 (after 8.2.4360)
26476Problem: Vim9: some tests fail.
26477Solution: Fix the tests, mostly by removing "s:".
26478Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26479 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26480 src/testdir/test_tagfunc.vim
26481
26482Patch 8.2.4362
26483Problem: :retab may allocate too much memory.
26484Solution: Bail out when allocating more than MAXCOL bytes.
26485Files: src/indent.c
26486
26487Patch 8.2.4363
26488Problem: MS-Windows: running out of memory for a very long line.
26489Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26490Files: src/vim.h
26491
26492Patch 8.2.4364
26493Problem: MS-Windows: still running out of memory for a very long line.
26494Solution: Check for negative length.
26495Files: src/indent.c
26496
26497Patch 8.2.4365 (after 8.2.4348)
26498Problem: sticky command modifiers are too sticky.
26499Solution: Do not apply command modifiers to a called function. (closes #9751)
26500Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26501
26502Patch 8.2.4366
26503Problem: Not enough tests for command line completion.
26504Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26505Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26506 src/testdir/test_usercommands.vim
26507
26508Patch 8.2.4367
26509Problem: Calling in_vim9script() multiple times.
26510Solution: Call it once and keep the result.
26511Files: src/userfunc.c, src/eval.c
26512
26513Patch 8.2.4368
26514Problem: Amiga: a few compiler warnings.
26515Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26516 closes #9757)
26517Files: src/term.c, src/os_amiga.c
26518
26519Patch 8.2.4369
26520Problem: Redundant #ifdef argument.
26521Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26522Files: src/feature.h
26523
26524Patch 8.2.4370
26525Problem: MS-Windows: libsodium.dll not included with the installer.
26526Solution: Add the file to the installer if it exists. (Christian Brabandt,
26527 closes #9762)
26528Files: nsis/gvim.nsi
26529
26530Patch 8.2.4371
26531Problem: Vim9: can create a script variable from a legacy function.
26532Solution: Disallow creating a script variable from a function.
26533Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26534
26535Patch 8.2.4372
26536Problem: Filetype detection from file contents is in legacy script.
26537Solution: Use a compiled function for filetype detection.
26538Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26539
26540Patch 8.2.4373
26541Problem: Expression test fails.
26542Solution: Make the test work with latest Vim9 syntax.
26543Files: src/testdir/test_expr.vim
26544
26545Patch 8.2.4374
26546Problem: Unreachable code.
26547Solution: Remove outdated code lines.
26548Files: src/vim9compile.c
26549
26550Patch 8.2.4375
26551Problem: ctx_imports is not used.
26552Solution: Delete ctx_imports. Add missing dependency.
26553Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26554 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26555 src/vim9expr.c, src/vim9script.c, src/Makefile
26556
26557Patch 8.2.4376
26558Problem: Not enough tests for command line completion.
26559Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26560Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26561
26562Patch 8.2.4377
26563Problem: CI steps for Windows are a bit unorganized.
26564Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26565Files: .github/workflows/ci.yml
26566
26567Patch 8.2.4378
26568Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26569 function. (Mirko Palmer)
26570Solution: Save and restore the incsearch state. (Christian Brabandt,
26571 closes #9763, closes #9633)
26572Files: src/search.c, src/testdir/test_search_stat.vim,
26573 src/testdir/dumps/Test_searchstat_inc_1.dump,
26574 src/testdir/dumps/Test_searchstat_inc_2.dump,
26575 src/testdir/dumps/Test_searchstat_inc_3.dump
26576
26577Patch 8.2.4379
26578Problem: An empty change is reported to a listener.
26579Solution: Do not report an empty change. (closes #9768) Remove unused
26580 return value.
26581Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26582
26583Patch 8.2.4380
26584Problem: Small differences between Chinese translation files.
26585Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26586Files: src/po/Makefile, src/po/Make_all.mak
26587
26588Patch 8.2.4381 (after 8.2.4380)
26589Problem: Translation file listed twice.
26590Solution: Remove one entry.
26591Files: src/po/Make_all.mak
26592
26593Patch 8.2.4382 (after 8.2.4346)
26594Problem: A custom 'tabline' may cause Esc to work like Enter on the
26595 command line when the popup menu is displayed.
26596Solution: Save and restore KeyTyped. (closes #9776)
26597Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26598 src/testdir/dumps/Test_wildmenu_pum_40.dump
26599
26600Patch 8.2.4383
26601Problem: Vim9: unused code lines.
26602Solution: Rely on either "cctx" or "cstack" to not be NULL.
26603Files: src/vim9compile.c
26604
26605Patch 8.2.4384
26606Problem: Vim9: error message not tested, some code not tested.
26607Solution: Add a couple of test cases. Give an error for a command modifier
26608 without a command.
26609Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26610 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26611
26612Patch 8.2.4385 (after 8.2.4384)
26613Problem: Cannot build tiny version.
26614Solution: Adjust #ifdefs.
26615Files: src/errors.h
26616
26617Patch 8.2.4386 (after 8.2.4384)
26618Problem: Still cannot build tiny version.
26619Solution: Adjust #ifdefs.
26620Files: src/ex_docmd.c
26621
26622Patch 8.2.4387
26623Problem: Command line completion doesn't always work properly.
26624Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26625 Lakshmanan, closes #9779)
26626Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26627
26628Patch 8.2.4388
26629Problem: Dead code in op_insert().
26630Solution: Remove condition and else block. (closes #9782)
26631Files: src/ops.c
26632
26633Patch 8.2.4389
26634Problem: screenpos() does not handle a position in a closed fold.
26635Solution: Check if the position is inside a closed fold. (closes #9778)
26636Files: src/move.c, src/testdir/test_cursor_func.vim
26637
26638Patch 8.2.4390
26639Problem: Vim9: list from declaration with inferred type does not set the
26640 type on the value.
26641Solution: When inferring the type in a variable declaration also set the
26642 type of the list or dictionary. (closes #9705) Do not set the
26643 type when the member is "any".
26644Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26645 src/testdir/test_vim9_builtin.vim,
26646 src/testdir/test_vim9_disassemble.vim
26647
26648Patch 8.2.4391
26649Problem: Command line executed when typing Esc in the GUI.
26650Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26651 (closes #9783)
26652Files: src/buffer.c, src/screen.c
26653
26654Patch 8.2.4392 (after 8.2.4002)
26655Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26656Solution: Put back #ifdef. (Ken Takata, closes #9769)
26657Files: src/getchar.c
26658
26659Patch 8.2.4393
26660Problem: Possible number overflow with nested folds.
26661Solution: Avoid a negative line number.
26662Files: src/fold.c
26663
26664Patch 8.2.4394 (after 8.2.4392)
26665Problem: UTF8 select mode test fails on MS-Windows.
26666Solution: Revert the #ifdef change.
26667Files: src/getchar.c
26668
26669Patch 8.2.4395
26670Problem: Some code lines not covered by tests.
26671Solution: Add a few more test cases. Fix getting more than one error for
26672 invalid assignment.
26673Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26674 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26675 src/testdir/test_vim9_func.vim
26676
26677Patch 8.2.4396 (after 8.2.4395)
26678Problem: Python3 test fails.
26679Solution: Remove "let".
26680Files: src/testdir/test_vim9_func.vim
26681
26682Patch 8.2.4397
26683Problem: Crash when using many composing characters in error message.
26684Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26685Files: src/testing.c, src/testdir/test_assert.vim
26686
26687Patch 8.2.4398
26688Problem: Some command completion functions are too long.
26689Solution: Refactor code into separate functions. Add a few more tests.
26690 (Yegappan Lakshmanan, closes #9785)
26691Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26692 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26693
26694Patch 8.2.4399
26695Problem: Crash after ml_get error.
26696Solution: When returning "???" flush the line and set ml_line_lnum.
26697Files: src/memline.c
26698
26699Patch 8.2.4400 (after 8.2.4394)
26700Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26701Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26702 closes #9769)
26703Files: src/getchar.c
26704
26705Patch 8.2.4401
26706Problem: Map listing does not clear the rest of the command line.
26707Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26708Files: src/map.c, src/testdir/test_mapping.vim,
26709 src/testdir/dumps/Test_map_list_1.dump
26710
26711Patch 8.2.4402
26712Problem: Missing parenthesis may cause unexpected problems.
26713Solution: Add more parenthesis is macros. (closes #9788)
26714Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
26715 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
26716 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
26717 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
26718 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
26719
26720Patch 8.2.4403
26721Problem: ml_get error with nested folds and deleting lines.
26722Solution: Correct the last line number before calling hasFoldingWin().
26723Files: src/change.c
26724
26725Patch 8.2.4404
26726Problem: Vim9: some code not covered by tests.
26727Solution: Add a few specific test cases.
26728Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
26729 src/testdir/test_vim9_import.vim
26730
26731Patch 8.2.4405
26732Problem: Compiler warning for unused variable without the +folding feature.
26733 (Tony Mechelynck)
26734Solution: Add #ifdef.
26735Files: src/change.c
26736
26737Patch 8.2.4406
26738Problem: Expand functions use confusing argument names.
26739Solution: Rename "file" to "match". Refactor some completion code. Add a
26740 few more tests. (Yegappan Lakshmanan, closes #9790)
26741Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
26742
26743Patch 8.2.4407
26744Problem: Vim9: some code not covered by tests.
26745Solution: Add more tests. Avoid giving two errors. Remove dead code.
26746Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26747 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
26748
26749Patch 8.2.4408
26750Problem: Vim9: some code not covered by tests.
26751Solution: Add a few more tests. Correct error message. Allow unlet on dict
26752 with a number key.
26753Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
26754
26755Patch 8.2.4409
26756Problem: Vim9: some code not covered by tests.
26757Solution: Add a few more tests. Fix reported line number.
26758Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
26759
26760Patch 8.2.4410
26761Problem: Vim9: some code not covered by tests.
26762Solution: Add a few more tests. Remove dead code.
26763Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26764 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
26765 src/testdir/test_vim9_script.vim
26766
26767Patch 8.2.4411
26768Problem: Bicep files are not recognized.
26769Solution: Match *.bicep files. (Dundar Goc, closes #9791)
26770Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26771
26772Patch 8.2.4412
26773Problem: Translation cleanup script does not remove empty lines at end.
26774Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
26775Files: src/po/cleanup.vim
26776
26777Patch 8.2.4413
26778Problem: Vim9: Coverity warns for using NULL pointer.
26779Solution: Give an internal error when funcref function can't be found.
26780Files: src/vim9execute.c
26781
26782Patch 8.2.4414
26783Problem: Solidity files are not recognized.
26784Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
26785Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26786
26787Patch 8.2.4415
26788Problem: Function argument name conflicts with C++ keyword.
26789Solution: Rename the argument.
26790Files: src/usercmd.c, src/proto/usercmd.pro
26791
26792Patch 8.2.4416
26793Problem: Vim9: using a script-local function requires using "s:" when
26794 setting 'completefunc'.
26795Solution: Do not require "s:" in Vim9 script. (closes #9796)
26796Files: runtime/doc/options.txt, src/userfunc.c,
26797 src/testdir/test_ins_complete.vim
26798
26799Patch 8.2.4417 (after 8.2.4416)
26800Problem: Using NULL pointer.
26801Solution: Set offset after checking for NULL pointer.
26802Files: src/userfunc.c
26803
26804Patch 8.2.4418
26805Problem: Crash when using special multi-byte character.
26806Solution: Don't use isalpha() for an arbitrary character.
26807Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
26808 src/testdir/test_autochdir.vim
26809
26810Patch 8.2.4419
26811Problem: Illegal memory access when using exactly 20 highlights.
26812Solution: Add one more item in the array. (Brandon Richardson,
26813 closes #9800)
26814Files: src/buffer.c, src/testdir/test_tabline.vim
26815
26816Patch 8.2.4420
26817Problem: Menu translations are inconsistent.
26818Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
26819 closes #9801)
26820Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
26821 runtime/lang/menu_ca_es.latin1.vim,
26822 runtime/lang/menu_chinese_gb.936.vim,
26823 runtime/lang/menu_chinese_taiwan.950.vim,
26824 runtime/lang/menu_cs_cz.iso_8859-2.vim,
26825 runtime/lang/menu_cs_cz.utf-8.vim,
26826 runtime/lang/menu_czech_czech_republic.1250.vim,
26827 runtime/lang/menu_czech_czech_republic.ascii.vim,
26828 runtime/lang/menu_da.utf-8.vim,
26829 runtime/lang/menu_de_de.latin1.vim,
26830 runtime/lang/menu_eo.utf-8.vim,
26831 runtime/lang/menu_es_es.latin1.vim,
26832 runtime/lang/menu_fi_fi.latin1.vim,
26833 runtime/lang/menu_fr_fr.latin1.vim,
26834 runtime/lang/menu_hu_hu.iso_8859-2.vim,
26835 runtime/lang/menu_hu_hu.utf-8.vim,
26836 runtime/lang/menu_is_is.latin1.vim,
26837 runtime/lang/menu_it_it.latin1.vim,
26838 runtime/lang/menu_ja_jp.euc-jp.vim,
26839 runtime/lang/menu_ja_jp.utf-8.vim,
26840 runtime/lang/menu_japanese_japan.932.vim,
26841 runtime/lang/menu_ko_kr.euckr.vim,
26842 runtime/lang/menu_ko_kr.utf-8.vim,
26843 runtime/lang/menu_nl_nl.latin1.vim,
26844 runtime/lang/menu_no_no.latin1.vim,
26845 runtime/lang/menu_pl_pl.iso_8859-2.vim,
26846 runtime/lang/menu_pl_pl.utf-8.vim,
26847 runtime/lang/menu_polish_poland.1250.vim,
26848 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
26849 runtime/lang/menu_ru.utf-8.vim,
26850 runtime/lang/menu_ru_ru.koi8-r.vim,
26851 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
26852 runtime/lang/menu_sk_sk.iso_8859-2.vim,
26853 runtime/lang/menu_sl_si.cp1250.vim,
26854 runtime/lang/menu_sl_si.latin2.vim,
26855 runtime/lang/menu_sl_si.utf-8.vim,
26856 runtime/lang/menu_slovak_slovak_republic.1250.vim,
26857 runtime/lang/menu_sr_rs.ascii.vim,
26858 runtime/lang/menu_sr_rs.iso_8859-2.vim,
26859 runtime/lang/menu_sr_rs.iso_8859-5.vim,
26860 runtime/lang/menu_sr_rs.utf-8.vim,
26861 runtime/lang/menu_sv_se.latin1.vim,
26862 runtime/lang/menu_tr_tr.cp1254.vim,
26863 runtime/lang/menu_tr_tr.iso_8859-9.vim,
26864 runtime/lang/menu_tr_tr.utf-8.vim,
26865 runtime/lang/menu_uk_ua.cp1251.vim,
26866 runtime/lang/menu_uk_ua.koi8-u.vim,
26867 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
26868 runtime/lang/menu_zh_cn.utf-8.vim,
26869 runtime/lang/menu_zh_tw.utf-8.vim
26870
26871Patch 8.2.4421
26872Problem: Some installed files and directories have wrong permissions.
26873Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
26874Files: src/Makefile, src/installman.sh
26875
26876Patch 8.2.4422
26877Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026878Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026879Files: src/testdir/test_autochdir.vim
26880
26881Patch 8.2.4423
26882Problem: "make nvcmdidxs" fails.
26883Solution: Use "-S" instead of "-u" to source the script.
26884Files: src/Makefile
26885
26886Patch 8.2.4424
26887Problem: ".gts" and ".gjs" files are not recognized.
26888Solution: Recognize Glimmer flavored typescript and javascript.
26889 (closes #9799)
26890Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26891
26892Patch 8.2.4425
26893Problem: map() function does not check function arguments at compile time.
26894Solution: Give an error if the arguments of a map() function are wrong.
26895Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
26896 src/testdir/test_vim9_func.vim
26897
26898Patch 8.2.4426
26899Problem: map() function on string and blob does not check argument types at
26900 compile time.
26901Solution: Check string and blob argument types. Support "0z1234->func()".
26902Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
26903 src/testdir/test_vim9_builtin.vim
26904
26905Patch 8.2.4427
26906Problem: getchar() may return modifiers if no character is available.
26907Solution: Do not process modifiers when there is no character. (closes #9806)
26908Files: src/getchar.c, src/testdir/test_functions.vim
26909
26910Patch 8.2.4428
26911Problem: Crash when switching tabpage while in the cmdline window.
26912Solution: Disallow switching tabpage when in the cmdline window.
26913Files: src/window.c, src/proto/window.pro, src/evalvars.c,
26914 src/evalvars.c, src/usercmd.c
26915
26916Patch 8.2.4429
26917Problem: Using script-local function from the wrong script when using a
26918 partial. (Yegappan Lakshmanan)
26919Solution: Include the script ID in the partial name.
26920Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
26921 src/vim9type.c, src/testdir/test_vim9_import.vim
26922
26923
26924
26925
26926
26927
26928 vim:tw=78:ts=8:noet:ft=help:norl: