blob: ca0bbbca7c5b145f8298fa4ec303f8e110ef5944 [file] [log] [blame]
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001*version9.txt* For Vim version 8.2. Last change: 2022 Feb 26
2
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
71TODO
72
73
74New runtime files: ~
75
76Too many to list here.
77
78==============================================================================
79INCOMPATIBLE CHANGES *incompatible-9*
80
81These changes are incompatible with previous releases. Check this list if you
82run into a problem when upgrading from Vim 8.2.0 to 9.0.
83
84TODO
85
86==============================================================================
87IMPROVEMENTS *improvements-9*
88
89TODO
90
91==============================================================================
92COMPILE TIME CHANGES *compile-changes-9*
93
94TODO
95
96==============================================================================
97PATCHES *patches-9* *bug-fixes-9*
98 *patches-after-8.2*
99
100The list of patches that got included since 8.2.0. This includes all the new
101features, but does not include runtime file changes (syntax, indent, help,
102etc.)
103
104Patch 8.2.0001
105Problem: #endif comments do not reflect corresponding #ifdef.
106Solution: Update the comments. (Rene Nyffenegger, closes #5351)
107Files: src/ui.c
108
109Patch 8.2.0002
110Problem: "dj" only deletes first line of closed fold.
111Solution: Adjust last line of operator for linewise motion. (closes #5354)
112Files: src/ops.c, src/testdir/test_fold.vim
113
114Patch 8.2.0003
115Problem: Build file dependencies are incomplete.
116Solution: Fix the dependencies. (Ken Takata, closes #5356)
117Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
118 src/Makefile
119
120Patch 8.2.0004
121Problem: Get E685 and E931 if buffer reload is interrupted.
122Solution: Do not abort deleting a dummy buffer. (closes #5361)
123Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
124 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
125 src/window.c, src/vim.h
126
127Patch 8.2.0005
128Problem: Duplication in version info.
129Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
130Files: src/version.h
131
132Patch 8.2.0006
133Problem: Test using long file name may fail. (Vladimir Lomov)
134Solution: Limit the name length. (Christian Brabandt, closes #5358)
135Files: src/testdir/test_display.vim
136
137Patch 8.2.0007
138Problem: Popup menu positioned wrong with folding in two tabs.
139Solution: Update the cursor line height. (closes #5353)
140Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
141 src/testdir/test_ins_complete.vim,
142 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
143
144Patch 8.2.0008
145Problem: Test72 is old style.
146Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
147Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
148 src/testdir/test72.in, src/testdir/test72.ok,
149 src/testdir/test_undo.vim
150
151Patch 8.2.0009
152Problem: VMS: terminal version doesn't build.
153Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
154Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
155
156Patch 8.2.0010
157Problem: Test64 is old style.
158Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
159Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
160 src/testdir/test64.in, src/testdir/test64.ok,
161 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
162
163Patch 8.2.0011
164Problem: Screen updating wrong when opening preview window.
165Solution: Redraw the window when the preview window opens.
166Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
167 src/testdir/dumps/Test_pum_with_preview_win.dump
168
169Patch 8.2.0012
170Problem: Some undo functionality is not tested.
171Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
172Files: src/testdir/test_undo.vim
173
174Patch 8.2.0013
175Problem: Not using a typedef for condstack.
176Solution: Add a typedef.
177Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
178 src/ex_cmds.h, src/proto/ex_eval.pro
179
180Patch 8.2.0014
181Problem: Test69 and test95 are old style.
182Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
183Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
184 src/testdir/test69.in, src/testdir/test69.ok,
185 src/testdir/test95.in, src/testdir/test95.ok,
186 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
187
188Patch 8.2.0015
189Problem: Not all modeline variants are tested.
190Solution: Add modeline tests. (Dominique Pellé, closes #5369)
191Files: src/testdir/test_modeline.vim
192
193Patch 8.2.0016
194Problem: Test name used twice, option not restored properly.
195Solution: Rename function, restore option with "&".
196Files: src/testdir/test_textformat.vim
197
198Patch 8.2.0017
199Problem: OS/2 and MS-DOS are still mentioned, even though support was
200 removed long ago.
201Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
202Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
203 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
204 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
205 runtime/doc/options.txt, runtime/doc/print.txt,
206 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
207 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
208 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
209 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
210 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
211
212Patch 8.2.0018
213Problem: :join does not add white space where it should. (Zdenek Dohnal)
214Solution: Handle joining multiple lines properly.
215Files: src/ops.c, src/testdir/test_join.vim
216
217Patch 8.2.0019
218Problem: Cannot get number of lines of another buffer.
219Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
220 closes #5370)
221Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
222 runtime/doc/eval.txt
223
224Patch 8.2.0020
225Problem: Mouse clicks in the command line not tested.
226Solution: Add tests. (Dominique Pellé, closes #5366)
227Files: src/testdir/test_termcodes.vim
228
229Patch 8.2.0021
230Problem: Timer test fails too often on Travis with MacOS.
231Solution: Be less strict with the time.
232Files: src/testdir/test_timers.vim
233
234Patch 8.2.0022
235Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
236Solution: When processing the selection also send a button release event.
237 (closes #5367)
238Files: src/gui.c
239
240Patch 8.2.0023
241Problem: Command line editing not sufficiently tested.
242Solution: Add more tests. (Dominique Pellé, closes #5374)
243Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
244 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
245
246Patch 8.2.0024
247Problem: Filetype Rego not recognized.
248Solution: Add *.rego. (Matt Dunford, closes #5376)
249Files: runtime/filetype.vim, src/testdir/test_filetype.vim
250
251Patch 8.2.0025
252Problem: Repeated word in comment.
253Solution: Remove one. (Rene Nyffenegger, closes #5384)
254Files: src/structs.h
255
256Patch 8.2.0026
257Problem: Still some /* */ comments.
258Solution: Convert to // comments.
259Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
260 src/move.c
261
262Patch 8.2.0027
263Problem: Still some /* */ comments.
264Solution: Convert to // comments.
265Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
266 src/version.c
267
268Patch 8.2.0028
269Problem: Searchpairpos() is not tested.
270Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
271 closes #5388)
272Files: src/testdir/test_search.vim
273
274Patch 8.2.0029
275Problem: MS-Windows: crash with empty job command.
276Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
277Files: src/channel.c, src/testdir/test_channel.vim
278
279Patch 8.2.0030
280Problem: "gF" does not work on output of "verbose command".
281Solution: Recognize " line " and translations. (closes #5391)
282Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
283
284Patch 8.2.0031 (after 8.2.0029)
285Problem: MS-Windows: test for empty job fails
286Solution: Check for error message, make it also fail on Unix.
287Files: src/channel.c, src/testdir/test_channel.vim
288
289Patch 8.2.0032 (after 8.2.0031)
290Problem: MS-Windows: test for blank job fails
291Solution: Check before escaping.
292Files: src/channel.c, src/testdir/test_channel.vim
293
294Patch 8.2.0033
295Problem: Crash when make_extmatch() runs out of memory.
296Solution: Check for NULL. (Dominique Pellé, closes #5392)
297Files: src/regexp_bt.c, src/regexp_nfa.c
298
299Patch 8.2.0034
300Problem: Missing check for out of memory.
301Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
302 closes #5393)
303Files: src/filepath.c
304
305Patch 8.2.0035
306Problem: Saving and restoring called_emsg is clumsy.
307Solution: Count the number of error messages.
308Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
309 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
310 src/regexp.c, src/search.c, src/testing.c, src/globals.h
311
312Patch 8.2.0036
313Problem: Not enough test coverage for match functions.
314Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
315 Add error number.
316Files: src/testdir/test_match.vim
317
318Patch 8.2.0037
319Problem: Missing renamed message.
320Solution: Now really add the error number.
321Files: src/highlight.c
322
323Patch 8.2.0038
324Problem: Spell suggestions insufficiently tested.
325Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
326Files: src/testdir/test_spell.vim
327
328Patch 8.2.0039
329Problem: Memory access error when "z=" has no suggestions.
330Solution: Check for negative index.
331Files: src/testdir/test_spell.vim, src/spellsuggest.c
332
333Patch 8.2.0040
334Problem: Timers test is still flaky on Travis for Mac.
335Solution: Run separately instead of as part of test_alot.
336Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
337
338Patch 8.2.0041
339Problem: Leaking memory when selecting spell suggestion.
340Solution: Free previous value at the right time.
341Files: src/spellsuggest.c
342
343Patch 8.2.0042
344Problem: Clearing funccal values twice.
345Solution: Remove clearing individual fields.
346Files: src/userfunc.c
347
348Patch 8.2.0043
349Problem: Timers test is still flaky on Travis for Mac.
350Solution: Increase maximum expected time.
351Files: src/testdir/test_timers.vim
352
353Patch 8.2.0044
354Problem: Expression type is used inconsistently.
355Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
356 "TYPE_" to "ETYPE_" to avoid confusion.
357Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
358
359Patch 8.2.0045 (after 8.2.0044)
360Problem: Script test fails.
361Solution: For numbers "is" and "isnot" work like "==" and "!=".
362Files: src/eval.c
363
364Patch 8.2.0046
365Problem: Tests for spell suggestions are slow.
366Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
367 (Dominique Pellé, closes #5399)
368Files: src/testdir/test_spell.vim
369
370Patch 8.2.0047
371Problem: Cannot skip tests for specific MS-Windows platform.
372Solution: Add windowsversion().
373Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
374 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
375 src/testdir/test_options.vim
376
377Patch 8.2.0048
378Problem: Another timers test is flaky on Travis for Mac.
379Solution: Increase maximum expected time.
380Files: src/testdir/test_timers.vim
381
382Patch 8.2.0049
383Problem: Command line completion not fully tested.
384Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
385 closes #5402)
386Files: src/ex_cmds.c, src/testdir/test_cd.vim,
387 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
388 src/testdir/test_menu.vim, src/testdir/test_options.vim,
389 src/testdir/test_syntax.vim
390
391Patch 8.2.0050
392Problem: After deleting a file mark it is still in viminfo.
393Solution: When a file mark was deleted more recently than the mark in the
394 merged viminfo file was updated, do not store the mark. (Pavol
395 Juhas, closes #5401, closes #1339)
396Files: src/mark.c, src/testdir/test_marks.vim,
397 src/testdir/test_viminfo.vim, src/viminfo.c
398
399Patch 8.2.0051 (after 8.2.0049)
400Problem: Command line completion test skipped. (Christian Brabandt)
401Solution: Invert condition.
402Files: src/testdir/test_cmdline.vim
403
404Patch 8.2.0052
405Problem: More-prompt not properly tested.
406Solution: Add a test case. (Dominique Pellé, closes #5404)
407Files: src/testdir/test_messages.vim
408
409Patch 8.2.0053
410Problem: windowsversion() does not always return the right value.
411Solution: Add a compatibility section in the manifest. (Ken Takata,
412 closes #5407)
413Files: src/gvim.exe.mnf
414
415Patch 8.2.0054
416Problem: :diffget and :diffput don't have good completion.
417Solution: Add proper completion. (Dominique Pellé, closes #5409)
418Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
419 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
420
421Patch 8.2.0055
422Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
423Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
424Files: src/gui.c
425
426Patch 8.2.0056
427Problem: Execution stack is incomplete and inefficient.
428Solution: Introduce a proper execution stack and use it instead of
429 sourcing_name/sourcing_lnum. Create a string only when used.
430Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
431 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
432 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
433 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
434 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
435 src/kword_test.c, src/testdir/test_debugger.vim
436
437Patch 8.2.0057 (after 8.2.0056)
438Problem: Cannot build with small features.
439Solution: Add #ifdefs.
440Files: src/scriptfile.c
441
442Patch 8.2.0058
443Problem: Running tests changes ~/.viminfo.
444Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
445Files: src/testdir/summarize.vim
446
447Patch 8.2.0059
448Problem: Compiler warnings for unused variables in small build. (Tony
449 Mechelynck)
450Solution: Add #ifdef.
451Files: src/scriptfile.c
452
453Patch 8.2.0060
454Problem: Message test only runs with one encoding. (Dominique Pellé)
455Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
456 to #5410)
457Files: src/message_test.c, src/message.c
458
459Patch 8.2.0061
460Problem: The execute stack can grow big and never shrinks.
461Solution: Reduce the size in garbage collect.
462Files: src/eval.c
463
464Patch 8.2.0062
465Problem: Memory test is flaky on FreeBSD.
466Solution: Add a short sleep before getting the first size.
467Files: src/testdir/test_memory_usage.vim
468
469Patch 8.2.0063
470Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
471Solution: Reduce the size by the length. (related to #5410)
472Files: src/ops.c
473
474Patch 8.2.0064
475Problem: Diffmode completion doesn't use per-window setting.
476Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
477Files: src/buffer.c, src/testdir/test_diffmode.vim
478
479Patch 8.2.0065
480Problem: Amiga and alikes: autoopen only used on Amiga OS4.
481Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
482Files: src/os_amiga.c
483
484Patch 8.2.0066
485Problem: Some corners of vim_snprintf() are not tested.
486Solution: Add a test in C. (Dominique Pellé, closes #5422)
487Files: src/message_test.c
488
489Patch 8.2.0067
490Problem: ERROR_UNKNOWN clashes on some systems.
491Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
492Files: src/evalfunc.c, src/userfunc.c, src/vim.h
493
494Patch 8.2.0068
495Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
496Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
497Files: src/testdir/test_python3.vim, src/if_py_both.h
498
499Patch 8.2.0069
500Problem: ETYPE_ is used for two different enums.
501Solution: Rename one to use EXPR_.
502Files: src/structs.h, src/eval.c, src/debugger.c
503
504Patch 8.2.0070
505Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
506Solution: Use "euc-jp" whenever enc_dbcs is set.
507Files: src/testdir/test_python3.vim, src/if_py_both.h
508
509Patch 8.2.0071
510Problem: Memory test often fails on Cirrus CI.
511Solution: Allow for more tolerance in the upper limit. Remove sleep.
512Files: src/testdir/test_memory_usage.vim
513
514Patch 8.2.0072 (after 8.2.0071)
515Problem: Memory test still fails on Cirrus CI.
516Solution: Allow for a tiny bit more tolerance in the upper limit.
517Files: src/testdir/test_memory_usage.vim
518
519Patch 8.2.0073
520Problem: Initializing globals with COMMA is clumsy.
521Solution: Use INIT2(), INIT3(), etc.
522Files: src/vim.h, src/globals.h
523
524Patch 8.2.0074
525Problem: Python 3 unicode test sometimes fails.
526Solution: Make 'termencoding' empty. Correct number of error message.
527Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
528 src/testdir/test_python3.vim
529
530Patch 8.2.0075
531Problem: Python 3 unicode test still sometimes fails.
532Solution: Skip the test when 'termencoding' is not empty.
533Files: src/testdir/test_python3.vim
534
535Patch 8.2.0076
536Problem: Python 3 unicode test fails on MS-Windows.
537Solution: Do not set 'encoding' to "debug" on MS-Windows.
538Files: src/testdir/test_python3.vim
539
540Patch 8.2.0077
541Problem: settagstack() cannot truncate at current index.
542Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
543Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
544 src/testdir/test_tagjump.vim
545
546Patch 8.2.0078
547Problem: Expanding <sfile> works differently the second time.
548Solution: Keep the expanded name when redefining a function. (closes #5425)
549Files: src/testdir/test_vimscript.vim, src/userfunc.c
550
551Patch 8.2.0079
552Problem: Python 3 unicode test still fails on MS-Windows.
553Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
554Files: src/testdir/test_python3.vim
555
556Patch 8.2.0080
557Problem: Globals using INIT4() are not in the tags file.
558Solution: Adjust the tags command.
559Files: src/configure.ac, src/auto/configure
560
561Patch 8.2.0081
562Problem: MS-Windows also need the change to support INIT4().
563Solution: Add the ctags arguments. (Ken Takata)
564Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
565
566Patch 8.2.0082
567Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
568Solution: Clear listeners when reusing a buffer. (closes #5431)
569Files: src/testdir/test_listener.vim, src/buffer.c
570
571Patch 8.2.0083
572Problem: Text properties wrong when tabs and spaces are exchanged.
573Solution: Take text properties into account. (Nobuhiro Takasaki,
574 closes #5427)
575Files: src/edit.c, src/testdir/test_textprop.vim
576
577Patch 8.2.0084
578Problem: Complete item "user_data" can only be a string.
579Solution: Accept any type of variable. (closes #5412)
580Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
581 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
582
583Patch 8.2.0085
584Problem: Dead code in builtin functions.
585Solution: Clean up the code.
586Files: src/evalvars.c, src/sound.c, src/textprop.c
587
588Patch 8.2.0086 (after 8.2.0084)
589Problem: Build error for small version. (Tony Mechelynck)
590Solution: Only use "user_data" with the +eval feature. Remove unused
591 variable.
592Files: src/insexpand.c, src/dict.c
593
594Patch 8.2.0087
595Problem: Crash in command line expansion when out of memory.
596Solution: Check for NULL pointer. Also make ExpandGeneric() static.
597 (Dominique Pellé, closes #5437)
598Files: src/cmdexpand.c, src/proto/cmdexpand.pro
599
600Patch 8.2.0088
601Problem: Insufficient tests for tags; bug in using extra tag field when
602 using an ex command to position the cursor.
603Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
604Files: runtime/doc/tagsrch.txt, src/tag.c,
605 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
606 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
607
608Patch 8.2.0089
609Problem: Crash when running out of memory in :setfiletype completion.
610Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
611Files: src/cmdexpand.c
612
613Patch 8.2.0090
614Problem: Generated files show up in git status.
615Solution: Ignore a few more files.
616Files: .gitignore
617
618Patch 8.2.0091
619Problem: Compiler warnings for size_t / int types.
620Solution: Change type to size_t. (Mike Williams)
621Files: src/scriptfile.c
622
623Patch 8.2.0092
624Problem: Tags functionality insufficiently tested.
625Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
626Files: src/testdir/test_tagjump.vim
627
628Patch 8.2.0093
629Problem: win_splitmove() can make Vim hang.
630Solution: Check windows exists in the current tab page. (closes #5444)
631Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
632
633Patch 8.2.0094
634Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
635Solution: Define __builtin_expect() as a workaround. (Ken Takata,
636 closes #5267)
637Files: src/if_perl.xs
638
639Patch 8.2.0095
640Problem: Cannot specify exit code for :cquit.
641Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
642Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
643 src/testdir/test_quickfix.vim
644
645Patch 8.2.0096
646Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
647Solution: Remove position limit. (closes #5447)
648Files: src/popupwin.c, src/testdir/test_popupwin.vim,
649 src/testdir/dumps/Test_popupwin_20.dump,
650 src/testdir/dumps/Test_popupwin_21.dump
651
652Patch 8.2.0097
653Problem: Crash with autocommand and spellfile. (Tim Pope)
654Solution: Do not pop exestack when not pushed. (closes #5450)
655Files: src/testdir/test_autocmd.vim, src/spellfile.c
656
657Patch 8.2.0098
658Problem: Exe stack length can be wrong without being detected.
659Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
660Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
661 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
662 src/userfunc.c
663
664Patch 8.2.0099
665Problem: Use of NULL pointer when out of memory.
666Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
667Files: src/cmdexpand.c
668
669Patch 8.2.0100
670Problem: Macros for Ruby are too complicated.
671Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
672 closes #5452)
673Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
674 src/configure.ac, src/if_ruby.c
675
676Patch 8.2.0101
677Problem: Crash when passing null object to ":echomsg".
678Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
679Files: src/eval.c, src/testdir/test_messages.vim
680
681Patch 8.2.0102
682Problem: Messages test fails in small version.
683Solution: Only use test_null_job() when available.
684Files: src/testdir/test_messages.vim
685
686Patch 8.2.0103
687Problem: Using null object with execute() has strange effects.
688Solution: Give an error message for Job and Channel.
689Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
690 src/evalfunc.c
691
692Patch 8.2.0104
693Problem: Using channel or job with ":execute" has strange effects.
694Solution: Give an error message for Job and Channel.
695Files: src/testdir/test_eval_stuff.vim, src/eval.c
696
697Patch 8.2.0105
698Problem: Vim license not easy to find on github.
699Solution: Add a separate LICENCE file. (closes #5458)
700Files: LICENSE, Filelist
701
702Patch 8.2.0106
703Problem: Printf formats are not exactly right.
704Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
705Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
706 src/libvterm/src/pen.c, src/ui.c
707
708Patch 8.2.0107
709Problem: Hgignore is out of sync from gitignore.
710Solution: Add lines to hgignore. (Ken Takata)
711Files: .hgigmore
712
713Patch 8.2.0108
714Problem: When sign text is changed a manual redraw is needed. (Pontus
715 Lietzler)
716Solution: Redraw automatically. (closes #5455)
717Files: src/testdir/test_signs.vim, src/sign.c,
718 src/testdir/dumps/Test_sign_cursor_1.dump,
719 src/testdir/dumps/Test_sign_cursor_2.dump,
720 src/testdir/dumps/Test_sign_cursor_3.dump,
721 src/testdir/dumps/Test_sign_cursor_01.dump,
722 src/testdir/dumps/Test_sign_cursor_02.dump
723
724Patch 8.2.0109
725Problem: Corrupted text properties when expanding spaces.
726Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
727Files: src/edit.c, src/testdir/test_textprop.vim
728
729Patch 8.2.0110
730Problem: prop_find() is not implemented.
731Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
732Files: src/evalfunc.c, src/proto/textprop.pro,
733 src/testdir/test_textprop.vim, src/textprop.c,
734 runtime/doc/textprop.txt
735
736Patch 8.2.0111
737Problem: VAR_SPECIAL is also used for booleans.
738Solution: Add VAR_BOOL for better type checking.
739Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
740 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
741 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
742 src/testing.c, src/vim.h, src/viminfo.c
743
744Patch 8.2.0112
745Problem: Illegal memory access when using 'cindent'.
746Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
747Files: src/cindent.c, src/testdir/test_cindent.vim
748
749Patch 8.2.0113 (after 8.2.0095)
750Problem: "make cmdidxs" fails.
751Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
752Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
753 src/Make_mvc.mak
754
755Patch 8.2.0114
756Problem: Info about sourced scripts is scattered.
757Solution: Use scriptitem_T for info about a script, including s: variables.
758 Drop ga_scripts.
759Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
760
761Patch 8.2.0115
762Problem: Byte2line() does not work correctly with text properties. (Billie
763 Cleek)
764Solution: Take the bytes of the text properties into account.
765 (closes #5334)
766Files: src/testdir/test_textprop.vim, src/memline.c
767
768Patch 8.2.0116
769Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
770Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
771 closes #5473)
772Files: src/arglist.c, src/testdir/test_tabpage.vim
773
774Patch 8.2.0117
775Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
776 Yang)
777Solution: Use "curtab" if "tp" is NULL. (closes #5475)
778Files: src/evalwindow.c, src/testdir/test_getvar.vim
779
780Patch 8.2.0118
781Problem: Crash when cycling to buffers involving popup window .
782Solution: Do not decrement buffer reference count.
783Files: src/popupwin.c, src/testdir/test_popupwin.vim,
784 src/testdir/dumps/Test_popupwin_infopopup_7.dump
785
786Patch 8.2.0119
787Problem: Message test fails on some platforms. (Elimar Riesebieter)
788Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
789Files: src/message_test.c
790
791Patch 8.2.0120
792Problem: virtcol() does not check arguments to be valid, which may lead to
793 a crash.
794Solution: Check the column to be valid. Do not decrement MAXCOL.
795 (closes #5480)
796Files: src/evalfunc.c, src/testdir/test_marks.vim
797
798Patch 8.2.0121
799Problem: filter() and map() on blob don't work.
800Solution: Correct the code. (closes #5483)
801Files: src/list.c, src/testdir/test_blob.vim
802
803Patch 8.2.0122
804Problem: Readme files still mention MS-DOS.
805Solution: Update readme files. (Ken Takata, closes #5486)
806Files: README.md, README.txt, READMEdir/README_dos.txt,
807 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
808 runtime/doc/os_win32.txt
809
810Patch 8.2.0123
811Problem: complete_info() does not work when CompleteDone is triggered.
812Solution: Trigger CompleteDone before clearing the info.
813Files: src/insexpand.c, runtime/doc/autocmd.txt,
814 src/testdir/test_ins_complete.vim
815
816Patch 8.2.0124
817Problem: Compiler warnings for variable types.
818Solution: Change type, add type cast. (Mike Williams)
819Files: src/memline.c
820
821Patch 8.2.0125
822Problem: :mode no longer works for any system.
823Solution: Always give an error message.
824Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
825 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
826 src/os_unix.c, src/proto/os_unix.pro
827
828Patch 8.2.0126 (after 8.2.0124)
829Problem: Textprop test fails.
830Solution: Fix sign in computation.
831Files: src/memline.c
832
833Patch 8.2.0127
834Problem: Some buffer commands work in a popup window.
835Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
836Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
837
838Patch 8.2.0128
839Problem: Cannot list options one per line.
840Solution: Use ":set!" to list one option per line.
841Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
842 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
843 runtime/doc/options.txt
844
845Patch 8.2.0129
846Problem: MS-Windows installer doesn't use Turkish translations.
847Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
848 closes #5493)
849Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
850
851Patch 8.2.0130
852Problem: Python3 ranges are not tested.
853Solution: Add test. (Dominique Pellé, closes #5498)
854Files: src/testdir/test_python3.vim
855
856Patch 8.2.0131
857Problem: Command line is not cleared when switching tabs and the command
858 line height differs.
859Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
860 closes #5495)
861Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
862 src/testdir/test_cmdline.vim, src/window.c
863
864Patch 8.2.0132
865Problem: Script may be re-used when deleting and creating a new one.
866Solution: When the inode matches, also check the file name.
867Files: src/scriptfile.c, src/testdir/test_source.vim
868
869Patch 8.2.0133
870Problem: Invalid memory access with search command.
871Solution: When :normal runs out of characters in bracketed paste mode break
872 out of the loop.(closes #5511)
873Files: src/testdir/test_search.vim, src/edit.c
874
875Patch 8.2.0134
876Problem: Some map functionality not covered by tests.
877Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
878Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
879
880Patch 8.2.0135 (after 8.2.0133)
881Problem: Bracketed paste can still cause invalid memory access. (Dominique
882 Pellé)
883Solution: Check for NULL pointer.
884Files: src/edit.c, src/testdir/test_search.vim
885
886Patch 8.2.0136
887Problem: Stray ch_logfile() call.
888Solution: Remove it. (closes #5503)
889Files: src/testdir/test_source.vim
890
891Patch 8.2.0137
892Problem: Crash when using win_execute() from a new tab.
893Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
894Files: src/testdir/test_winbuf_close.vim, src/window.c
895
896Patch 8.2.0138
897Problem: Memory leak when starting a job fails.
898Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
899Files: src/channel.c, src/testdir/test_channel.vim
900
901Patch 8.2.0139
902Problem: MS-Windows: default for IME is inconsistent.
903Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
904Files: src/Make_mvc.mak
905
906Patch 8.2.0140
907Problem: CI does not test building doc tags.
908Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
909 closes #5513)
910Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
911 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
912 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
913
914Patch 8.2.0141
915Problem: No swift filetype detection.
916Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
917Files: runtime/filetype.vim, src/testdir/test_filetype.vim
918
919Patch 8.2.0142
920Problem: Possible to enter popup window with CTRL-W p. (John Devin)
921Solution: Check entered window is not a popup window. (closes #5515)
922Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
923 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
924 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
925
926Patch 8.2.0143
927Problem: Coverity warning for possible use of NULL pointer.
928Solution: Check argv is not NULL.
929Files: src/channel.c
930
931Patch 8.2.0144
932Problem: Some mapping code is not fully tested.
933Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
934Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
935 src/testdir/test_mapping.vim
936
937Patch 8.2.0145
938Problem: Using #error for compilation errors should be OK now.
939Solution: Use #error. (Ken Takata, closes #5299)
940Files: src/blowfish.c, src/vim.h
941
942Patch 8.2.0146
943Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
944 'briopt' includes "sbr".
945Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
946Files: src/drawline.c, src/testdir/test_breakindent.vim
947
948Patch 8.2.0147
949Problem: Block Visual mode operators not correct when 'linebreak' set.
950Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
951Files: src/ops.c, src/testdir/test_listlbr.vim
952
953Patch 8.2.0148
954Problem: Mapping related function in wrong source file.
955Solution: Move the function. Add a few more test cases. (Yegappan
956 Lakshmanan, closes #5528)
957Files: src/map.c, src/proto/term.pro, src/term.c,
958 src/testdir/test_mapping.vim
959
960Patch 8.2.0149
961Problem: Maintaining a Vim9 branch separately is more work.
962Solution: Merge the Vim9 script changes.
963Files: README.md, README_VIM9.md, runtime/doc/Makefile,
964 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
965 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
966 runtime/indent/vim.vim, runtime/syntax/vim.vim,
967 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
968 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
969 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
970 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
971 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
972 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
973 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
974 src/proto/evalfunc.pro, src/proto/evalvars.pro,
975 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
976 src/proto/message.pro, src/proto/scriptfile.pro,
977 src/proto/userfunc.pro, src/proto/vim9compile.pro,
978 src/proto/vim9execute.pro, src/proto/vim9script.pro,
979 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
980 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
981 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
982 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
983 src/vim9script.c, src/viminfo.c
984
985Patch 8.2.0150
986Problem: Cannot define python function when using :execute. (Yasuhiro
987 Matsumoto)
988Solution: Do not recognize "def" inside "function.
989Files: src/testdir/test_vim9_script.vim, src/userfunc.c
990
991Patch 8.2.0151
992Problem: Detecting a script was already sourced is unreliable.
993Solution: Do not use the inode number.
994Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
995
996Patch 8.2.0152
997Problem: Restoring ctrl_x_mode is not needed.
998Solution: Remove restoring the old value, it's changed again soon.
999Files: src/insexpand.c
1000
1001Patch 8.2.0153
1002Problem: Warning shows when listing version info.
1003Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1004Files: .travis.yml
1005
1006Patch 8.2.0154
1007Problem: Reallocating the list of scripts is inefficient.
1008Solution: Instead of using a growarray of scriptitem_T, store pointers and
1009 allocate each scriptitem_T separately. Also avoids that the
1010 growarray pointers change when sourcing a new script.
1011Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1012 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1013 src/vim9execute.c, src/vim9script.c
1014
1015Patch 8.2.0155
1016Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1017 building without +float feature.
1018Solution: Init variables. Fix Json parsing. Skip a few tests that require
1019 the +float feature.
1020Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1021 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1022
1023Patch 8.2.0156
1024Problem: Various typos in source files and tests.
1025Solution: Fix the typos. (Emir Sarı, closes #5532)
1026Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1027 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1028 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1029 src/gui_photon.c, src/if_perl.xs,
1030 src/libvterm/t/11state_movecursor.test,
1031 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1032 src/normal.c, src/ops.c, src/option.c, src/option.h,
1033 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1034 src/spell.c, src/tag.c, src/term.c,
1035 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1036 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1037 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1038 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1039 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1040
1041Patch 8.2.0157
1042Problem: Vim9 script files not in list of distributed files.
1043Solution: Add the entries.
1044Files: Filelist
1045
1046Patch 8.2.0158 (after 8.2.0123)
1047Problem: Triggering CompleteDone earlier is not backwards compatible.
1048 (Daniel Hahler)
1049Solution: Add CompleteDonePre instead.
1050Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1051 src/vim.h, src/testdir/test_ins_complete.vim
1052
1053Patch 8.2.0159
1054Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1055Solution: Materialize the list where needed.
1056Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1057 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1058 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1059 src/eval.c
1060
1061Patch 8.2.0160 (after 8.2.0159)
1062Problem: Range test fails.
1063Solution: Include change in list code. (#5541)
1064Files: src/list.c
1065
1066Patch 8.2.0161
1067Problem: Not recognizing .gv file as dot filetype.
1068Solution: Add *.gv to dot pattern. (closes #5544)
1069Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1070
1071Patch 8.2.0162
1072Problem: Balloon test fails in the GUI.
1073Solution: Skip test in the GUI.
1074Files: src/testdir/test_functions.vim
1075
1076Patch 8.2.0163
1077Problem: Test hangs on MS-Windows console.
1078Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1079Files: src/testdir/test_functions.vim, src/testing.c
1080
1081Patch 8.2.0164
1082Problem: Test_alot takes too long.
1083Solution: Run several tests individually.
1084Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1085
1086Patch 8.2.0165
1087Problem: Coverity warning for using NULL pointer.
1088Solution: Add missing "else".
1089Files: src/vim9compile.c
1090
1091Patch 8.2.0166
1092Problem: Coverity warning for using uninitialized variable.
1093Solution: Check for failure.
1094Files: src/vim9execute.c
1095
1096Patch 8.2.0167
1097Problem: Coverity warning for ignoring return value.
1098Solution: Check the return value and jump if failed.
1099Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1100
1101Patch 8.2.0168
1102Problem: Coverity warning for assigning NULL to an option.
1103Solution: Use empty string instead of NULL.
1104Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1105
1106Patch 8.2.0169
1107Problem: Coverity warning for dead code.
1108Solution: Check if inside try-finally.
1109Files: src/vim9execute.c
1110
1111Patch 8.2.0170
1112Problem: Coverity warning for ignoring return value.
1113Solution: Check the return value and return if failed.
1114Files: src/vim9compile.c
1115
1116Patch 8.2.0171
1117Problem: Coverity warning for using uninitialized buffer.
1118Solution: Check the skip flag.
1119Files: src/userfunc.c
1120
1121Patch 8.2.0172
1122Problem: Coverity warning for not restoring character.
1123Solution: Restore the character also in case of failure.
1124Files: src/vim9script.c
1125
1126Patch 8.2.0173
1127Problem: Build fails with old compiler.
1128Solution: Do not use anonymous unions. (John Marriott)
1129Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1130 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1131
1132Patch 8.2.0174
1133Problem: Various commands not completely tested.
1134Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1135Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1136 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1137 src/testdir/test_move.vim, src/testdir/test_options.vim,
1138 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1139 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1140 src/testdir/test_writefile.vim
1141
1142Patch 8.2.0175
1143Problem: Crash when removing list element in map().
1144Solution: Lock the list. (closes #2652)
1145Files: src/testdir/test_filter_map.vim, src/list.c
1146
1147Patch 8.2.0176
1148Problem: Generating os headers does not work for Swedish.
1149Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1150Files: src/osdef.sh
1151
1152Patch 8.2.0177
1153Problem: Memory leak in get_tags().
1154Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1155 closes #5553)
1156Files: src/tag.c
1157
1158Patch 8.2.0178
1159Problem: With VTP the screen may not be restored properly.
1160Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1161 closes #5548)
1162Files: src/os_win32.c
1163
1164Patch 8.2.0179
1165Problem: Still a few places where range() does not work.
1166Solution: Fix using range() causing problems.
1167Files: src/terminal.c, src/testdir/test_functions.vim,
1168 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1169 src/testdir/dumps/Test_popupwin_20.dump,
1170 src/testdir/dumps/Test_popupwin_21.dump,
1171 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1172
1173Patch 8.2.0180
1174Problem: Test for wrapmargin fails if terminal is not 80 columns.
1175Solution: Vertical split the window. (Ken Takata, closes #5554)
1176Files: src/testdir/test_textformat.vim
1177
1178Patch 8.2.0181
1179Problem: Problems parsing :term arguments.
1180Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1181 closes #5536)
1182Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1183 src/terminal.c, src/testdir/test_terminal.vim
1184
1185Patch 8.2.0182
1186Problem: Min() and max() materialize a range() list.
1187Solution: Compute the result without materializing the list. (#5541)
1188Files: src/evalfunc.c
1189
1190Patch 8.2.0183
1191Problem: Tests fail when the float feature is disabled.
1192Solution: Skip tests that don't work without float support.
1193Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1194 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1195 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1196 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1197 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1198 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1199 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1200 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1201 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1202 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1203 src/testdir/test_glob2regpat.vim
1204
1205Patch 8.2.0184
1206Problem: Blob test fails.
1207Solution: Check for different error when float feature is missing.
1208Files: src/testdir/test_blob.vim
1209
1210Patch 8.2.0185
1211Problem: Vim9 script: cannot use "if has()" to skip lines.
1212Solution: Evaluate constant expression at runtime.
1213Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1214 src/userfunc.c, src/testdir/test_vim9_script.vim
1215
1216Patch 8.2.0186
1217Problem: A couple of tests may fail when features are missing.
1218Solution: Check for features. (Dominique Pellé, closes #5561)
1219Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1220
1221Patch 8.2.0187
1222Problem: Redundant code.
1223Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1224Files: src/vim9compile.c
1225
1226Patch 8.2.0188
1227Problem: Check commands don't work well with Vim9 script.
1228Solution: Improve constant expression handling.
1229Files: src/vim9compile.c, src/testdir/check.vim,
1230 src/testdir/test_vim9_expr.vim
1231
1232Patch 8.2.0189
1233Problem: cd() with NULL argument crashes.
1234Solution: Check for NULL. (Ken Takata, closes #5558)
1235Files: src/testdir/test_cd.vim, src/ex_docmd.c
1236
1237Patch 8.2.0190
1238Problem: Kotlin files are not recognized.
1239Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1240Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1241
1242Patch 8.2.0191
1243Problem: Cannot put a terminal in a popup window.
1244Solution: Allow opening a terminal in a popup window. It will always have
1245 keyboard focus until closed.
1246Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1247 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1248 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1249 src/testdir/test_terminal.vim,
1250 src/testdir/dumps/Test_terminal_popup_1.dump,
1251 src/testdir/dumps/Test_terminal_popup_2.dump,
1252 src/testdir/dumps/Test_terminal_popup_3.dump
1253
1254Patch 8.2.0192 (after 8.2.0191)
1255Problem: Build failure without +terminal feature.
1256Solution: Add #ifdefs.
1257Files: src/popupwin.c
1258
1259Patch 8.2.0193 (after 8.2.0191)
1260Problem: Still build failure without +terminal feature.
1261Solution: Add more #ifdefs.
1262Files: src/macros.h
1263
1264Patch 8.2.0194 (after 8.2.0193)
1265Problem: Some commands can cause problems in terminal popup.
1266Solution: Disallow more commands.
1267Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1268 src/arglist.c, src/ex_docmd.c, src/window.c,
1269 src/testdir/test_terminal.vim
1270
1271Patch 8.2.0195
1272Problem: Some tests fail when run in the GUI.
1273Solution: Make sure the window width is enough. In the GUI run terminal Vim
1274 in the terminal, if possible.
1275Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1276 src/testdir/test_terminal.vim
1277
1278Patch 8.2.0196
1279Problem: Blocking commands for a finished job in a popup window.
1280Solution: Do not block commands if the job has finished. Adjust test.
1281Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1282 src/terminal.c, src/proto/terminal.pro
1283
1284Patch 8.2.0197
1285Problem: Some Ex commands not sufficiently tested.
1286Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1287Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1288 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1289 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1290 src/testdir/test_writefile.vim
1291
1292Patch 8.2.0198
1293Problem: No tests for y/n prompt.
1294Solution: Add tests. (Dominique Pellé, closes #5564)
1295Files: src/testdir/test_messages.vim
1296
1297Patch 8.2.0199
1298Problem: Vim9 script commands not sufficiently tested.
1299Solution: Add more tests. Fix script-local function use.
1300Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1301 src/userfunc.c
1302
1303Patch 8.2.0200
1304Problem: Vim9 script commands not sufficiently tested.
1305Solution: Add more tests. Fix storing global variable. Make script
1306 variables work.
1307Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1308 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1309 src/misc1.c, src/proto/misc1.pro
1310
1311Patch 8.2.0201
1312Problem: Cannot assign to an imported variable.
1313Solution: Make it work.
1314Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1315 src/userfunc.c, src/testdir/test_vim9_script.vim
1316
1317Patch 8.2.0202
1318Problem: When 'lazyredraw' is set the window title may not be updated.
1319Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1320Files: src/main.c
1321
1322Patch 8.2.0203
1323Problem: :helptags and some other functionality not tested.
1324Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1325Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1326 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1327 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1328 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1329
1330Patch 8.2.0204
1331Problem: Crash when using winnr('j') in a popup window.
1332Solution: Do not search for neighbors in a popup window. (closes #5568)
1333Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1334
1335Patch 8.2.0205
1336Problem: Error code E899 used twice.
1337Solution: Use E863 for the terminal in popup error.
1338Files: src/popupwin.c
1339
1340Patch 8.2.0206
1341Problem: Calling Vim9 function using default argument fails.
1342Solution: Give an appropriate error. (closes #5572)
1343Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1344 src/vim9execute.c
1345
1346Patch 8.2.0207
1347Problem: Crash when missing member type on list argument.
1348Solution: Check for invalid type. (closes #5572)
1349Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1350
1351Patch 8.2.0208
1352Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1353Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1354 Matsumoto, closes #5577)
1355Files: runtime/doc/cmdline.txt, src/filepath.c,
1356 src/testdir/test_fnamemodify.vim
1357
1358Patch 8.2.0209
1359Problem: Function a bit far away from where it's used.
1360Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1361Files: src/fileio.c, src/filepath.c
1362
1363Patch 8.2.0210
1364Problem: Coverity complains about uninitialized field.
1365Solution: Initialize the field.
1366Files: src/vim9compile.c
1367
1368Patch 8.2.0211
1369Problem: Test for ANSI colors fails without an "ls" command.
1370Solution: Use "dir". (Ken Takata, closes #5582)
1371Files: src/testdir/test_functions.vim
1372
1373Patch 8.2.0212
1374Problem: Missing search/substitute pattern hardly tested.
1375Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1376 closes #5579)
1377Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1378 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1379 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1380 src/search.c, src/testdir/test_quickfix.vim,
1381 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1382 src/testdir/test_substitute.vim, src/testing.c
1383
1384Patch 8.2.0213
1385Problem: Configure does not recognize gcc 10.0 and later.
1386Solution: Adjust the pattern matching the version number. (Sergei
1387 Trofimovich, closes #5580)
1388Files: src/configure.ac, src/auto/configure
1389
1390Patch 8.2.0214
1391Problem: A popup window with a terminal can be made hidden.
1392Solution: Disallow hiding a terminal popup.
1393Files: src/testdir/test_terminal.vim, src/popupwin.c,
1394 src/testdir/dumps/Test_terminal_popup_4.dump
1395
1396Patch 8.2.0215 (after 8.2.0208)
1397Problem: Wrong file name shortening. (Ingo Karkat)
1398Solution: Better check for path separator. (Yasuhiro Matsumoto,
1399 closes #5583, closes #5584)
1400Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1401
1402Patch 8.2.0216
1403Problem: Several Vim9 instructions are not tested.
1404Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1405 work.
1406Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1407 src/vim9compile.c
1408
1409Patch 8.2.0217 (after 8.2.0214)
1410Problem: Terminal test fails on Mac.
1411Solution: Add a short wait.
1412Files: src/testdir/test_terminal.vim
1413
1414Patch 8.2.0218
1415Problem: Several Vim9 instructions are not tested.
1416Solution: Add more tests.
1417Files: src/testdir/test_vim9_script.vim
1418
1419Patch 8.2.0219 (after 8.2.0217)
1420Problem: Terminal test still fails on Mac.
1421Solution: Skip part of the test on Mac.
1422Files: src/testdir/test_terminal.vim
1423
1424Patch 8.2.0220
1425Problem: Terminal test did pass on Mac.
1426Solution: Remove the skip again.
1427Files: src/testdir/test_terminal.vim
1428
1429Patch 8.2.0221
1430Problem: No test for Vim9 += and ..=.
1431Solution: Add tests.
1432Files: src/testdir/test_vim9_script.vim
1433
1434Patch 8.2.0222
1435Problem: Vim9: optional function arguments don't work yet.
1436Solution: Implement optional function arguments.
1437Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1438 src/structs.h, src/testdir/test_vim9_script.vim
1439
1440Patch 8.2.0223
1441Problem: Some instructions not yet tested.
1442Solution: Disassemble more instructions. Move tests to a new file. Compile
1443 call to s:function().
1444Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1445 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1446 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1447
1448Patch 8.2.0224
1449Problem: compiling :elseif not tested yet.
1450Solution: Add test for :elseif. Fix generating jumps.
1451Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1452 src/testdir/test_vim9_disassemble.vim
1453
1454Patch 8.2.0225
1455Problem: compiling lambda not tested yet.
1456Solution: Add test for lambda and funcref. Drop unused instruction arg.
1457Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1458 src/vim9execute.c
1459
1460Patch 8.2.0226
1461Problem: Compiling for loop not tested.
1462Solution: Add a test. Make variable initialization work for more types.
1463Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1464
1465Patch 8.2.0227
1466Problem: Compiling a few instructions not tested.
1467Solution: Add more test cases.
1468Files: src/testdir/test_vim9_disassemble.vim
1469
1470Patch 8.2.0228
1471Problem: Configure does not recognize gcc version on BSD.
1472Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1473 Kiichi, closes #5590)
1474Files: src/configure.ac, src/auto/configure
1475
1476Patch 8.2.0229
1477Problem: Compare instructions not tested.
1478Solution: Add test cases. Fix disassemble with line continuation.
1479Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1480 src/vim9compile.c
1481
1482Patch 8.2.0230
1483Problem: Terminal popup test is flaky.
1484Solution: Increase wait time a bit.
1485Files: src/testdir/test_terminal.vim
1486
1487Patch 8.2.0231
1488Problem: Silent system command may clear the screen.
1489Solution: Do not clear the screen in t_te.
1490Files: src/term.c
1491
1492Patch 8.2.0232
1493Problem: The :compiler command causes a crash. (Daniel Steinberg)
1494Solution: Do not use the script index if it isn't set.
1495Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1496
1497Patch 8.2.0233
1498Problem: Crash when using garbagecollect() in between rand().
1499Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1500 Matsumoto, closes #5587, closes #5588)
1501Files: src/evalfunc.c, src/testdir/test_random.vim,
1502 runtime/doc/testing.txt, runtime/doc/eval.txt
1503
1504Patch 8.2.0234
1505Problem: Message test fails on SunOS.
1506Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1507Files: src/message_test.c
1508
1509Patch 8.2.0235
1510Problem: Draw error when an empty group is removed from 'statusline'.
1511Solution: Do not use highlighting from a removed group.
1512Files: src/buffer.c, src/testdir/test_statusline.vim,
1513 src/testdir/dumps/Test_statusline_1.dump
1514
1515Patch 8.2.0236
1516Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1517Solution: Change directory before deletion. (Ken Takata, closes #5603)
1518Files: src/uninstall.c
1519
1520Patch 8.2.0237
1521Problem: Crash when setting 'wincolor' on finished terminal window.
1522 (Bakudankun)
1523Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1524 #5607, closes #5610)
1525Files: src/terminal.c, src/testdir/test_terminal.vim
1526
1527Patch 8.2.0238
1528Problem: MS-Windows: job_stop() results in exit value zero.
1529Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1530 Matsumoto, closes #5150, closes #5614)
1531Files: src/os_win32.c, src/testdir/test_channel.vim
1532
1533Patch 8.2.0239
1534Problem: MS-Windows: 'env' job option does not override existing
1535 environment variables. (Tim Pope)
1536Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1537 closes #5485, closes #5608)
1538Files: src/os_win32.c, src/testdir/test_channel.vim
1539
1540Patch 8.2.0240
1541Problem: Using memory after it was freed. (Dominique Pellé)
1542Solution: Do not mix conversion buffer with other buffer.
1543Files: src/viminfo.c, src/vim.h
1544
1545Patch 8.2.0241
1546Problem: Crash when setting 'buftype' to "quickfix".
1547Solution: Check that error list is not NULL. (closes #5613)
1548Files: src/quickfix.c, src/testdir/test_quickfix.vim
1549
1550Patch 8.2.0242
1551Problem: Preview popup window test fails with long directory name. (Jakub
1552 Kądziołka)
1553Solution: Use "silent cd". (closes #5615)
1554Files: src/testdir/test_popupwin.vim
1555
1556Patch 8.2.0243
1557Problem: Insufficient code coverage for ex_docmd.c functions.
1558Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1559Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1560 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1561 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1562 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1563 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1564 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1565 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1566 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1567 src/testdir/test_writefile.vim
1568
1569Patch 8.2.0244
1570Problem: Compiler warning in Lua interface.
1571Solution: Add type cast. (Ken Takata, closes #5621)
1572Files: src/if_lua.c
1573
1574Patch 8.2.0245
1575Problem: MSVC: error message if the auto directory already exists.
1576Solution: Add "if not exists". (Ken Takata, closes #5620)
1577Files: src/Make_mvc.mak
1578
1579Patch 8.2.0246
1580Problem: MSVC: deprecation warnings with Ruby.
1581Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
1582 closes #5622)
1583Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
1584 src/vimio.h
1585
1586Patch 8.2.0247
1587Problem: Misleading comment in NSIS installer script.
1588Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
1589Files: nsis/gvim.nsi
1590
1591Patch 8.2.0248
1592Problem: MS-Windows: dealing with deprecation is too complicated.
1593Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
1594 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
1595 Takata, closes #5626)
1596Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
1597 src/winclip.c, Filelist
1598
1599Patch 8.2.0249
1600Problem: MS-Windows: various warnings.
1601Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
1602 (Ken Takata, closes #5625)
1603Files: src/GvimExt/Makefile, src/Make_mvc.mak
1604
1605Patch 8.2.0250
1606Problem: test_clear_search_pat() is unused.
1607Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
1608Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1609 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1610 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1611 src/search.c, src/testdir/test_writefile.vim, src/testing.c
1612
1613Patch 8.2.0251
1614Problem: A couple of function return types can be more specific.
1615Solution: Use a better return type. (Ken Takata, closes #5629)
1616Files: src/evalfunc.c, src/globals.h
1617
1618Patch 8.2.0252
1619Problem: Windows compiler warns for using size_t.
1620Solution: Change to int. (Mike Williams)
1621Files: src/vim9compile.c
1622
1623Patch 8.2.0253
1624Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
1625Solution: Check for missing argument. (Dominique Pellé, closes #5635,
1626 closes #5637)
1627Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
1628 src/ex_cmds.h
1629
1630Patch 8.2.0254
1631Problem: Compiler warning for checking size_t to be negative.
1632Solution: Only check for zero. (Zoltan Arpadffy)
1633Files: src/vim9compile.c
1634
1635Patch 8.2.0255
1636Problem: VMS: missing files in build.
1637Solution: Add the files. (Zoltan Arpadffy)
1638Files: src/Make_vms.mms
1639
1640Patch 8.2.0256
1641Problem: Time and timer related code is spread out.
1642Solution: Move time and timer related code to a new file. (Yegappan
1643 Lakshmanan, closes #5604)
1644Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
1645 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
1646 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
1647 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
1648 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
1649 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
1650 src/proto/time.pro, src/time.c
1651
1652Patch 8.2.0257
1653Problem: Cannot recognize a terminal in a popup window.
1654Solution: Add the win_gettype() function.
1655Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
1656 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
1657 src/testdir/test_terminal.vim,
1658 src/testdir/dumps/Test_terminal_popup_1.dump
1659
1660Patch 8.2.0258
1661Problem: ModifyOtherKeys cannot be temporarily disabled.
1662Solution: Add echoraw() with an example for modifyOtherKeys.
1663Files: runtime/doc/eval.txt, src/evalfunc.c,
1664 src/testdir/test_functions.vim,
1665 src/testdir/dumps/Test_functions_echoraw.dump
1666
1667Patch 8.2.0259
1668Problem: Terminal in popup test sometimes fails.
1669Solution: Clear the command line.
1670Files: src/testdir/test_terminal.vim,
1671 src/testdir/dumps/Test_terminal_popup_1.dump
1672
1673Patch 8.2.0260
1674Problem: Several lines of code are duplicated.
1675Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
1676 closes #5330)
1677Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
1678 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
1679 src/term.c
1680
1681Patch 8.2.0261
1682Problem: Some code not covered by tests.
1683Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
1684Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
1685 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
1686 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
1687 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
1688 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
1689 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
1690 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
1691
1692Patch 8.2.0262 (after 8.2.0261)
1693Problem: Fileformat test fails on MS-Windows.
1694Solution: Set fileformat of buffer.
1695Files: src/testdir/test_fileformat.vim
1696
1697Patch 8.2.0263
1698Problem: A few new Vim9 messages are not localized.
1699Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
1700Files: src/vim9compile.c, src/vim9execute.c
1701
1702Patch 8.2.0264 (after 8.2.0262)
1703Problem: Fileformat test still fails on MS-Windows.
1704Solution: Set fileformat of buffer in the right place.
1705Files: src/testdir/test_fileformat.vim
1706
1707Patch 8.2.0265
1708Problem: "eval" after "if 0" doesn't check for following command.
1709Solution: Add "eval" to list of commands that check for a following command.
1710 (closes #5640)
1711Files: src/ex_docmd.c, src/testdir/test_expr.vim
1712
1713Patch 8.2.0266
1714Problem: Terminal in popup test sometimes fails on Mac.
1715Solution: Add a short delay.
1716Files: src/testdir/test_terminal.vim
1717
1718Patch 8.2.0267
1719Problem: No check for a following command when calling a function fails.
1720Solution: Also check for a following command when inside a try block.
1721 (closes #5642)
1722Files: src/userfunc.c, src/testdir/test_user_func.vim
1723
1724Patch 8.2.0268 (after 8.2.0267)
1725Problem: Trycatch test fails.
1726Solution: When calling function fails only check for following command, do
1727 not give another error.
1728Files: src/userfunc.c
1729
1730Patch 8.2.0269
1731Problem: Vim9: operator after list index does not work. (Yasuhiro
1732 Matsumoto)
1733Solution: After indexing a list change the type to the list member type.
1734 (closes #5651)
1735Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
1736
1737Patch 8.2.0270
1738Problem: Some code not covered by tests.
1739Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
1740Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
1741 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
1742 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
1743 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
1744 src/testdir/test_join.vim, src/testdir/test_move.vim,
1745 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
1746 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
1747 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
1748 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
1749 src/testdir/test_writefile.vim
1750
1751Patch 8.2.0271
1752Problem: The "num64" feature is available everywhere and building without
1753 it causes problems.
1754Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
1755Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
1756 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
1757 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
1758 src/version.c
1759
1760Patch 8.2.0272
1761Problem: ":helptags ALL" gives error for directories without write
1762 permission. (Matěj Cepl)
1763Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
1764 closes #5652)
1765Files: src/ex_cmds.c, src/testdir/test_help.vim
1766
1767Patch 8.2.0273
1768Problem: MS-Windows uninstall may delete wrong batch file.
1769Solution: Add specific marker in the generated batch file. (Ken Takata,
1770 closes #5654)
1771Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
1772
1773Patch 8.2.0274
1774Problem: Hang with combination of feedkeys(), Ex mode and :global.
1775 (Yegappan Lakshmanan)
1776Solution: Add the pending_exmode_active flag.
1777Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
1778 src/testdir/test_ex_mode.vim
1779
1780Patch 8.2.0275
1781Problem: Some Ex code not covered by tests.
1782Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
1783Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
1784 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
1785 src/testdir/test_search.vim, src/testdir/test_swap.vim,
1786 src/testdir/test_window_cmd.vim
1787
1788Patch 8.2.0276
1789Problem: Vim9: not allowing space before ")" in function call is too
1790 restrictive. (Ben Jackson)
1791Solution: Skip space before the ")". Adjust other space checks.
1792Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
1793
1794Patch 8.2.0277
1795Problem: Vim9: not all instructions covered by tests.
1796Solution: Add more test cases.
1797Files: src/testdir/test_vim9_disassemble.vim
1798
1799Patch 8.2.0278
1800Problem: Channel test is flaky on Mac.
1801Solution: Reset variable before sending message.
1802Files: src/testdir/test_channel.vim
1803
1804Patch 8.2.0279
1805Problem: Vim9: no test for deleted :def function.
1806Solution: Add a test. Clear uf_cleared flag when redefining a function.
1807Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1808
1809Patch 8.2.0280
1810Problem: Vim9: throw in :def function not caught higher up.
1811Solution: Set "need_rethrow".
1812Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
1813
1814Patch 8.2.0281
1815Problem: Two placed signs in the same line are not combined. E.g. in the
1816 terminal debugger a breakpoint and the PC cannot be both be
1817 displayed.
1818Solution: Combine the sign column and line highlight attributes.
1819Files: src/sign.c, src/testdir/test_signs.vim,
1820 src/testdir/dumps/Test_sign_cursor_3.dump,
1821 src/testdir/dumps/Test_sign_cursor_4.dump
1822
1823Patch 8.2.0282
1824Problem: Vim9: setting number option not tested.
1825Solution: Add more tests. Fix assigning to global variable.
1826Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
1827 src/vim9execute.c
1828
1829Patch 8.2.0283
1830Problem: Vim9: failing to load script var not tested.
1831Solution: Add more tests. Fix using s: in old script.
1832Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
1833 src/testdir/test_vim9_script.vim
1834
1835Patch 8.2.0284
1836Problem: Vim9: assignment test fails.
1837Solution: Avoid duplicating "s:".
1838Files: src/vim9compile.c
1839
1840Patch 8.2.0285
1841Problem: Unused error message. Cannot create s:var.
1842Solution: Remove the error message. Make assignment to s:var work.
1843Files: src/vim9compile.c, src/vim9execute.c,
1844 src/testdir/test_vim9_script.vim
1845
1846Patch 8.2.0286
1847Problem: Cannot use popup_close() for a terminal popup.
1848Solution: Allow using popup_close(). (closes #5666)
1849Files: src/popupwin.c, runtime/doc/popup.txt,
1850 src/testdir/test_terminal.vim,
1851 src/testdir/dumps/Test_terminal_popup_5.dump,
1852 src/testdir/dumps/Test_terminal_popup_6.dump
1853
1854Patch 8.2.0287
1855Problem: Vim9: return in try block not tested; catch with pattern not
1856 tested.
1857Solution: Add tests. Make it work.
1858Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
1859
1860Patch 8.2.0288
1861Problem: Vim9: some float and blob operators not tested.
1862Solution: Add float and blob tests. Fix addition.
1863Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
1864
1865Patch 8.2.0289
1866Problem: Vim9: :echo did not clear the rest of the line.
1867Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
1868Files: src/vim9execute.c
1869
1870Patch 8.2.0290
1871Problem: Running individual test differs from all tests.
1872Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
1873Files: src/testdir/Makefile, src/testdir/README.txt
1874
1875Patch 8.2.0291
1876Problem: Vim9: assigning [] to list<string> doesn't work.
1877Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
1878Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
1879
1880Patch 8.2.0292
1881Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
1882Solution: Add tests.
1883Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
1884
1885Patch 8.2.0293
1886Problem: Various Ex commands not sufficiently tested.
1887Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
1888Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
1889 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
1890 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
1891 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
1892 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
1893 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
1894 src/testdir/test_vimscript.vim
1895
1896Patch 8.2.0294
1897Problem: Cannot use Ex command that is also a function name.
1898Solution: Recognize an Ex command by a colon prefix.
1899Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
1900 runtime/doc/vim9.txt
1901
1902Patch 8.2.0295
1903Problem: Highlighting for :s wrong when using different separator.
1904Solution: Use separate argument for search direction and separator. (Rob
1905 Pilling, closes #5665)
1906Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
1907 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
1908 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
1909 src/testdir/test_search.vim
1910
1911Patch 8.2.0296
1912Problem: Mixing up "long long" and __int64 may cause problems. (John
1913 Marriott)
1914Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
1915Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
1916 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
1917 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
1918
1919Patch 8.2.0297
1920Problem: Compiler warnings for the Ruby interface.
1921Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
1922 closes #5677)
1923Files: src/if_ruby.c
1924
1925Patch 8.2.0298
1926Problem: Vim9 script: cannot start command with a string constant.
1927Solution: Recognize expression starting with '('.
1928Files: src/ex_docmd.c, src/vim9compile.c,
1929 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
1930
1931Patch 8.2.0299
1932Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
1933 not tested.
1934Solution: Add tests. Add test_unknown() and test_void().
1935Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
1936 src/testdir/test_vim9_disassemble.vim,
1937 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
1938 runtime/doc/testing.txt
1939
1940Patch 8.2.0300
1941Problem: Vim9: expression test fails without channel support.
1942Solution: Add has('channel') check.
1943Files: src/testdir/test_vim9_expr.vim
1944
1945Patch 8.2.0301
1946Problem: Insufficient testing for exception handling and the "attention"
1947 prompt.
1948Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
1949Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
1950
1951Patch 8.2.0302
1952Problem: Setting 'term' may cause error in TermChanged autocommand.
1953Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
1954 is to be executed. (closes #5682)
1955Files: src/term.c, src/testdir/test_autocmd.vim
1956
1957Patch 8.2.0303
1958Problem: TermChanged test fails in the GUI.
1959Solution: Skip the test when running the GUI.
1960Files: src/testdir/test_autocmd.vim
1961
1962Patch 8.2.0304
1963Problem: Terminal test if failing on some systems.
1964Solution: Wait for the job to finish. (James McCoy)
1965Files: src/testdir/test_terminal.vim
1966
1967Patch 8.2.0305
1968Problem: Relativenumber test fails on some systems. (James McCoy)
1969Solution: Clear the command line.
1970Files: src/testdir/test_number.vim,
1971 src/testdir/dumps/Test_relnr_colors_2.dump,
1972 src/testdir/dumps/Test_relnr_colors_3.dump
1973
1974Patch 8.2.0306
1975Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
1976Solution: Remember starting with a colon. (closes #5676)
1977Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
1978
1979Patch 8.2.0307
1980Problem: Python 3 vim.eval not well tested.
1981Solution: Add a test. (Dominique Pellé, closes #5680)
1982Files: src/testdir/test_python3.vim
1983
1984Patch 8.2.0308
1985Problem: 'showbreak' does not work for a very long line. (John Little)
1986Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
1987 closes #5684)
1988Files: src/drawline.c, src/testdir/test_breakindent.vim
1989
1990Patch 8.2.0309
1991Problem: Window-local values have confusing name.
1992Solution: Rename w_p_bri* to w_briopt_*.
1993Files: src/structs.h, src/indent.c, src/drawline.c
1994
1995Patch 8.2.0310
1996Problem: Autocmd test fails on a slow system.
1997Solution: Adjust the expectations. (James McCoy, closes #5685)
1998Files: src/testdir/test_autocmd.vim
1999
2000Patch 8.2.0311
2001Problem: Vim9: insufficient script tests.
2002Solution: Add tests. Free imports when re-using a script.
2003Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2004
2005Patch 8.2.0312
2006Problem: Vim9: insufficient script tests.
2007Solution: Add more tests. Make "import * as Name" work.
2008Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2009 src/proto/vim9script.pro, src/vim9compile.c
2010
2011Patch 8.2.0313
2012Problem: Vim9: insufficient script tests.
2013Solution: Add tests. Make import of alphanumeric name work.
2014Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2015
2016Patch 8.2.0314
2017Problem: Short name not set for terminal buffer.
2018Solution: Set the short name. (closes #5687)
2019Files: src/terminal.c, src/testdir/test_terminal.vim
2020
2021Patch 8.2.0315
2022Problem: Build failure on HP-UX system.
2023Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2024 statement. (John Marriott)
2025Files: src/structs.h, src/json.c
2026
2027Patch 8.2.0316
2028Problem: ex_getln.c code has insufficient test coverage.
2029Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2030Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2031 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2032 src/testdir/test_menu.vim
2033
2034Patch 8.2.0317
2035Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2036Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2037Files: src/Make_mvc.mak
2038
2039Patch 8.2.0318
2040Problem: Vim9: types not sufficiently tested.
2041Solution: Add tests with more types.
2042Files: src/globals.h, src/vim9compile.c,
2043 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2044
2045Patch 8.2.0319
2046Problem: File missing in distribution, comments outdated.
2047Solution: Correct path of README file. Update comments.
2048Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2049
2050Patch 8.2.0320
2051Problem: No Haiku support.
2052Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2053Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2054 runtime/doc/gui.txt, runtime/doc/help.txt,
2055 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2056 runtime/doc/starting.txt, runtime/doc/tags,
2057 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2058 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2059 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2060 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2061 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2062 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2063 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2064 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2065
2066Patch 8.2.0321
2067Problem: Vim9: ":execute" does not work yet.
2068Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2069 than one argument.
2070Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2071 src/testdir/test_vim9_disassemble.vim,
2072 src/testdir/test_vim9_script.vim
2073
2074Patch 8.2.0322
2075Problem: Vim9: error checks not tested.
2076Solution: Add more test cases. Avoid error for function loaded later.
2077Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2078
2079Patch 8.2.0323
2080Problem: Vim9: calling a function that is defined later is slow.
2081Solution: Once the function is found update the instruction so it can be
2082 called directly.
2083Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2084 src/testdir/test_vim9_disassemble.vim
2085
2086Patch 8.2.0324
2087Problem: Text property not updated correctly when inserting/deleting.
2088Solution: Use the right column when deleting. Make zero-width text
2089 properties respect start_incl and end_incl. (Axel Forsman,
2090 closes #5696, closes #5679)
2091Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2092 src/testdir/test_textprop.vim
2093
2094Patch 8.2.0325
2095Problem: Ex_getln.c code not covered by tests.
2096Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2097Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2098 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2099 src/testdir/test_options.vim
2100
2101Patch 8.2.0326
2102Problem: Compiler warning for using uninitialized variable. (Yegappan
2103 Lakshmanan)
2104Solution: Do not jump to failed but return.
2105Files: src/vim9execute.c
2106
2107Patch 8.2.0327
2108Problem: Crash when opening and closing two popup terminal windows.
2109Solution: Check that prevwin is valid. (closes #5707)
2110Files: src/popupwin.c, src/testdir/test_terminal.vim
2111
2112Patch 8.2.0328
2113Problem: No redraw when leaving terminal-normal mode in a terminal popup
2114 window.
2115Solution: Redraw the popup window. (closes #5708)
2116Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2117 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2118 src/testdir/dumps/Test_terminal_popup_7.dump,
2119 src/testdir/dumps/Test_terminal_popup_8.dump
2120
2121Patch 8.2.0329
2122Problem: Popup filter converts 0x80 bytes.
2123Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2124Files: src/popupwin.c, src/testdir/test_popupwin.vim
2125
2126Patch 8.2.0330
2127Problem: Build error with popup window but without terminal.
2128Solution: Add #ifdef.
2129Files: src/popupwin.c
2130
2131Patch 8.2.0331
2132Problem: Internal error when using test_void() and test_unknown().
2133 (Dominique Pellé)
2134Solution: Give a normal error.
2135Files: src/evalfunc.c, src/testdir/test_functions.vim,
2136 src/testdir/test_vimscript.vim
2137
2138Patch 8.2.0332
2139Problem: Some code in ex_getln.c not covered by tests.
2140Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2141Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2142
2143Patch 8.2.0333
2144Problem: Terminal in popup test is flaky.
2145Solution: Make sure redraw is done before opening the popup.
2146Files: src/testdir/test_terminal.vim,
2147 src/testdir/dumps/Test_terminal_popup_1.dump
2148
2149Patch 8.2.0334
2150Problem: Abort called when using test_void(). (Dominique Pellé)
2151Solution: Only give an error, don't abort.
2152Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2153 src/eval.c, src/json.c, src/testdir/test_functions.vim
2154
2155Patch 8.2.0335
2156Problem: No completion for :disassemble.
2157Solution: Make completion work. Also complete script-local functions if the
2158 name starts with "s:".
2159Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2160 runtime/doc/vim9.txt
2161
2162Patch 8.2.0336
2163Problem: Vim9: insufficient test coverage for compiling.
2164Solution: Add more tests.
2165Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2166 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2167
2168Patch 8.2.0337
2169Problem: Build fails on a few systems.
2170Solution: Use vim_snprintf() instead of snprintf().
2171Files: src/cmdexpand.c
2172
2173Patch 8.2.0338
2174Problem: Build failure without the channel feature.
2175Solution: Add #ifdef
2176Files: src/vim9compile.c
2177
2178Patch 8.2.0339
2179Problem: Vim9: function return type may depend on arguments.
2180Solution: Instead of a fixed return type use a function to figure out the
2181 return type.
2182Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2183 src/evalbuffer.c, src/proto/evalbuffer.pro,
2184 src/testdir/test_vim9_script.vim
2185
2186Patch 8.2.0340
2187Problem: Vim9: function and partial types not tested.
2188Solution: Support more for partial, add tests.
2189Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2190 src/testdir/test_vim9_script.vim
2191
2192Patch 8.2.0341
2193Problem: Using ":for" in Vim9 script gives an error.
2194Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2195Files: src/eval.c, src/testdir/test_vim9_script.vim
2196
2197Patch 8.2.0342
2198Problem: Some code in ex_getln.c not covered by tests.
2199Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2200Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2201 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2202
2203Patch 8.2.0343
2204Problem: Vim9: using wrong instruction, limited test coverage.
2205Solution: Use ISN_PUSHJOB. Add a few more tests.
2206Files: src/vim9compile.c, src/vim9execute.c,
2207 src/testdir/test_vim9_script.vim,
2208 src/testdir/test_vim9_disassemble.vim
2209
2210Patch 8.2.0344
2211Problem: ":def" not skipped properly.
2212Solution: Add CMD_def to list of commands the require evaluation even when
2213 not being executed.
2214Files: src/ex_docmd.c
2215
2216Patch 8.2.0345
2217Problem: Compiler warning when building without the float feature.
2218Solution: Add #ifdef. (John Marriott)
2219Files: src/evalfunc.c
2220
2221Patch 8.2.0346
2222Problem: Vim9: finding common list type not tested.
2223Solution: Add more tests. Fix listing function. Fix overwriting type.
2224Files: src/vim9compile.c, src/userfunc.c,
2225 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2226 src/testdir/test_vim9_disassemble.vim
2227
2228Patch 8.2.0347
2229Problem: Various code not covered by tests.
2230Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2231Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2232 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2233 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2234
2235Patch 8.2.0348
2236Problem: Vim9: not all code tested.
2237Solution: Add a few more tests. fix using "b:" in literal dictionary.
2238Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2239 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2240
2241Patch 8.2.0349
2242Problem: Vim9: constant expression not well tested.
2243Solution: Add tests for "if" with constant expression.
2244Files: src/testdir/test_vim9_script.vim
2245
2246Patch 8.2.0350
2247Problem: Vim9: expression tests don't use recognized constants.
2248Solution: Recognize "true" and "false" as constants. Make skipping work for
2249 assignment and expression evaluation.
2250Files: src/vim9compile.c
2251
2252Patch 8.2.0351
2253Problem: Terminal in popup test is still a bit flaky.
2254Solution: Clear and redraw before opening the popup.
2255Files: src/testdir/test_terminal.vim
2256
2257Patch 8.2.0352
2258Problem: FreeBSD: test for sourcing utf-8 is skipped.
2259Solution: Run the matchadd_conceal test separately to avoid that setting
2260 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2261 closes #5721)
2262Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2263 src/testdir/test_source_utf8.vim
2264
2265Patch 8.2.0353
2266Problem: Vim9: while loop not tested.
2267Solution: Add test with "while", "break" and "continue"
2268Files: src/testdir/test_vim9_script.vim
2269
2270Patch 8.2.0354
2271Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2272Solution: Remove it, it was only for debugging.
2273Files: src/if_python3.c
2274
2275Patch 8.2.0355
2276Problem: Vim9: str_val is confusing, it's a number
2277Solution: Rename to stnr_val.
2278Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2279
2280Patch 8.2.0356
2281Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2282Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2283 Takata, closes #5726)
2284Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2285
2286Patch 8.2.0357
2287Problem: Cannot delete a text property matching both id and type. (Axel
2288 Forsman)
2289Solution: Add the "both" argument.
2290Files: src/textprop.c, runtime/doc/textprop.txt,
2291 src/testdir/test_textprop.vim
2292
2293Patch 8.2.0358
2294Problem: Insufficient testing for indent.c.
2295Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2296Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2297 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2298 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2299 src/testdir/test_vartabs.vim
2300
2301Patch 8.2.0359
2302Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2303Solution: Take the decoration into account. (closes #5728)
2304Files: src/popupwin.c, src/testdir/test_popupwin.vim
2305
2306Patch 8.2.0360
2307Problem: Yaml files are only recognized by the file extension.
2308Solution: Check for a line starting with "%YAML". (Jason Franklin)
2309Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2310
2311Patch 8.2.0361
2312Problem: Internal error when using "0" for a callback.
2313Solution: Give a normal error. (closes #5743)
2314Files: src/evalvars.c, src/testdir/test_timers.vim
2315
2316Patch 8.2.0362
2317Problem: MS-Windows: channel test fails if grep is not available.
2318Solution: Use another command. (Ken Takata, closes #5739)
2319Files: src/testdir/test_channel.vim
2320
2321Patch 8.2.0363
2322Problem: Some Normal mode commands not tested.
2323Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2324Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2325 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2326 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2327 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2328
2329Patch 8.2.0364
2330Problem: Printf test failing on Haiku.
2331Solution: Make a difference between int and short. (Dominique Pellé,
2332 closes #5749)
2333Files: src/message.c
2334
2335Patch 8.2.0365
2336Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2337Solution: Recognize multibyte character. (closes #5724)
2338Files: src/tag.c, src/testdir/test_taglist.vim
2339
2340Patch 8.2.0366
2341Problem: Hardcopy command not tested enough.
2342Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2343Files: src/testdir/test_hardcopy.vim
2344
2345Patch 8.2.0367
2346Problem: Can use :pedit in a popup window.
2347Solution: Disallow it.
2348Files: src/ex_docmd.c, src/testdir/test_popuwin.vim
2349
2350Patch 8.2.0368
2351Problem: Vim9: import that redefines local variable does not fail.
2352Solution: Check for already defined symbols.
2353Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2354 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2355
2356Patch 8.2.0369
2357Problem: Various Normal mode commands not fully tested.
2358Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2359Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2360 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2361 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2362 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2363 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2364 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2365 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2366 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2367 src/testdir/test_visual.vim
2368
2369Patch 8.2.0370
2370Problem: The typebuf_was_filled flag is sometimes not reset, which may
2371 cause a hang.
2372Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2373 empty.
2374Files: src/edit.c, src/getchar.c,
2375
2376Patch 8.2.0371
2377Problem: Crash with combination of terminal popup and autocmd.
2378Solution: Disallow closing a popup that is the current window. Add a check
2379 that the current buffer is valid. (closes #5754)
2380Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2381 src/testdir/test_terminal.vim
2382
2383Patch 8.2.0372
2384Problem: Prop_find() may not find text property at start of the line.
2385Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2386 closes #5663)
2387Files: src/testprop.c, src/testdir/test_textprop.vim
2388
2389Patch 8.2.0373
2390Problem: Type of term_sendkeys() is unknown.
2391Solution: Just return zero. (closes #5762)
2392Files: src/terminal.c, src/testdir/test_terminal.vim
2393
2394Patch 8.2.0374
2395Problem: Using wrong printf directive for jump location.
2396Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2397Files: src/vim9execute.c
2398
2399Patch 8.2.0375
2400Problem: Coverity warning for not using return value.
2401Solution: Move error message to separate function.
2402Files: src/popupwin.c
2403
2404Patch 8.2.0376
2405Problem: Nasty callback test fails on some systems.
2406Solution: Increase the sleep time.
2407Files: src/testdir/test_terminal.vim
2408
2409Patch 8.2.0377
2410Problem: No CI test for a big-endian system.
2411Solution: Test with s390x. (James McCoy, closes #5772)
2412Files: .travis.yml
2413
2414Patch 8.2.0378
2415Problem: prop_find() does not find all props.
2416Solution: Check being in the start line. (Axel Forsman, closes #5776)
2417Files: src/textprop.c, src/testdir/test_textprop.vim
2418
2419Patch 8.2.0379
2420Problem: Gcc warns for ambiguous else.
2421Solution: Add braces. (Dominique Pellé, closes #5778)
2422Files: src/textprop.c
2423
2424Patch 8.2.0380
2425Problem: Tiny popup when creating a terminal popup without minwidth.
2426Solution: Use a default minimum size of 5 lines of 20 characters.
2427Files: src/popupwin.c, src/testdir/test_terminal.vim,
2428 src/testdir/dumps/Test_terminal_popup_m1.dump
2429
2430Patch 8.2.0381
2431Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2432 POC by Dominique Pellé)
2433Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2434Files: src/quickfix.c, src/testdir/test_quickfix.vim
2435
2436Patch 8.2.0382
2437Problem: Some tests fail when run under valgrind.
2438Solution: Increase timeouts.
2439Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2440 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2441 src/testdir/test_terminal.vim,
2442 src/testdir/dumps/Test_terminal_popup_1.dump,
2443 src/testdir/dumps/Test_terminal_popup_2.dump,
2444 src/testdir/dumps/Test_terminal_popup_3.dump,
2445 src/testdir/dumps/Test_terminal_popup_5.dump,
2446 src/testdir/dumps/Test_terminal_popup_6.dump,
2447 src/testdir/dumps/Test_terminal_popup_7.dump,
2448 src/testdir/dumps/Test_terminal_popup_8.dump,
2449 src/testdir/dumps/Test_terminal_popup_m1.dump
2450
2451Patch 8.2.0383
2452Problem: Wrong feature check causes test not to be run.
2453Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2454 closes #5781)
2455Files: src/testdir/test_channel.vim
2456
2457Patch 8.2.0384
2458Problem: Travis CI has warnings.
2459Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2460Files: .travis.yml
2461
2462Patch 8.2.0385
2463Problem: Menu functionality insufficiently tested.
2464Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2465Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2466 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2467 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2468 src/testdir/test_termcodes.vim
2469
2470Patch 8.2.0386 (after 8.2.0385)
2471Problem: Part from unfinished patch got included.
2472Solution: Undo that part.
2473Files: src/evalfunc.c
2474
2475Patch 8.2.0387
2476Problem: Error for possible NULL argument to qsort().
2477Solution: Don't call qsort() when there is nothing to sort. (Dominique
2478 Pellé, closes #5780)
2479Files: src/spellsuggest.c
2480
2481Patch 8.2.0388
2482Problem: Printmbcharset option not tested.
2483Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2484 Pellé, closes #5783)
2485Files: appveyor.yml, src/testdir/test_hardcopy.vim
2486
2487Patch 8.2.0389
2488Problem: Delayed redraw when shifting text from Insert mode.
2489Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2490Files: src/ops.c
2491
2492Patch 8.2.0390
2493Problem: Terminal postponed scrollback test is flaky.
2494Solution: Add delay in between sending keys. Rename dump files.
2495Files: src/testdir/test_terminal.vim,
2496 src/testdir/dumps/Test_terminal_01.dump,
2497 src/testdir/dumps/Test_terminal_02.dump,
2498 src/testdir/dumps/Test_terminal_03.dump,
2499 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2500 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2501 src/testdir/dumps/Test_terminal_scrollback_3.dump
2502
2503Patch 8.2.0391 (after 8.2.0377)
2504Problem: CI test coverage dropped.
2505Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2506Files: .travis.yml
2507
2508Patch 8.2.0392
2509Problem: Coverity warns for using array index out of range.
2510Solution: Add extra "if" to avoid warning.
2511Files: src/menu.c
2512
2513Patch 8.2.0393
2514Problem: Coverity warns for not using return value.
2515Solution: Add (void).
2516Files: src/popupmenu.c
2517
2518Patch 8.2.0394
2519Problem: Coverity complains about using NULL pointer.
2520Solution: Use empty string when option value is NULL.
2521Files: src/optionstr.c
2522
2523Patch 8.2.0395
2524Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2525Solution: Add #ifdef. (John Marriott)
2526Files: src/evalfunc.c
2527
2528Patch 8.2.0396
2529Problem: Cmdexpand.c insufficiently tested.
2530Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2531Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2532 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2533
2534Patch 8.2.0397
2535Problem: Delayed screen update when using undo from Insert mode.
2536Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2537Files: src/normal.c
2538
2539Patch 8.2.0398
2540Problem: Profile test fails when two functions take same time.
2541Solution: Add a short sleep in once function. (closes #5797)
2542Files: src/testdir/test_profile.vim
2543
2544Patch 8.2.0399
2545Problem: Various memory leaks.
2546Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2547Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2548 src/scriptfile.c, src/userfunc.c
2549
2550Patch 8.2.0400
2551Problem: Not all tests using a terminal are in the list of flaky tests.
2552Solution: Introduce the test_is_flaky flag.
2553Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2554 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2555
2556Patch 8.2.0401
2557Problem: Not enough test coverage for evalvars.c.
2558Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2559Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2560 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2561 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2562 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2563 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2564 src/testdir/test_vimscript.vim
2565
2566Patch 8.2.0402 (after 8.2.0401)
2567Problem: Setting local instead of global flag.
2568Solution: Prepend "g:" to "test_is_flaky".
2569Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2570 src/testdir/test_autocmd.vim
2571
2572Patch 8.2.0403
2573Problem: When 'buftype' is "nofile" there is no overwrite check.
2574Solution: Also check for existing file when 'buftype' is set.
2575 (closes #5807)
2576Files: src/ex_cmds.c, src/testdir/test_options.vim
2577
2578Patch 8.2.0404
2579Problem: Writefile() error does not give a hint.
2580Solution: Add remark about first argument.
2581Files: src/filepath.c, src/testdir/test_writefile.vim
2582
2583Patch 8.2.0405
2584Problem: MSVC: build fails with some combination of features.
2585Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2586Files: src/Make_mvc.mak
2587
2588Patch 8.2.0406
2589Problem: FileReadCmd event not well tested.
2590Solution: Add a test.
2591Files: src/testdir/test_autocmd.vim
2592
2593Patch 8.2.0407
2594Problem: No early check if :find and :sfind have an argument.
2595Solution: Add EX_NEEDARG.
2596Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
2597 src/testdir/test_find_complete.vim
2598
2599Patch 8.2.0408
2600Problem: Delete() commented out for testing.
2601Solution: Undo commenting-out.
2602Files: src/testdir/test_vim9_disassemble.vim
2603
2604Patch 8.2.0409
2605Problem: Search test leaves file behind.
2606Solution: Delete the file. Also use Check commands.
2607Files: src/testdir/test_search.vim
2608
2609Patch 8.2.0410
2610Problem: Channel test fails too often on slow Mac.
2611Solution: Increase waiting time to 10 seconds.
2612Files: src/testdir/test_channel.vim
2613
2614Patch 8.2.0411
2615Problem: Mac: breakcheck is using a value from the stone ages.
2616Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
2617Files: src/os_mac.h
2618
2619Patch 8.2.0412
2620Problem: MS-Windows: cannot use vimtutor from the start menu.
2621Solution: Better check for writable directory. Use the right path for the
2622 executable. (Wu Yongwei, closes #5774, closes #5756)
2623Files: vimtutor.bat
2624
2625Patch 8.2.0413
2626Problem: Buffer menu does not handle special buffers properly.
2627Solution: Keep a dictionary with buffer names to reliably keep track of
2628 entries.
2629 Also trigger BufFilePre and BufFilePost for command-line and
2630 terminal buffers when the name changes.
2631Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
2632 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
2633 src/testdir/test_menu.vim
2634
2635Patch 8.2.0414
2636Problem: Channel connect_waittime() test is flaky.
2637Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
2638Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
2639 src/testdir/runtest.vim
2640
2641Patch 8.2.0415
2642Problem: Bsdl filetype is not detected.
2643Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
2644Files: runtime/filetype.vim, src/testdir/test_filetype.vim
2645
2646Patch 8.2.0416
2647Problem: Test leaves file behind.
2648Solution: Delete the file.
2649Files: src/testdir/test_indent.vim
2650
2651Patch 8.2.0417
2652Problem: Travis CI config can be improved.
2653Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
2654 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
2655Files: .travis.yml, ci/load-snd-dummy.sh
2656
2657Patch 8.2.0418
2658Problem: Code in eval.c not sufficiently covered by tests.
2659Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
2660Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
2661 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
2662 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
2663 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
2664 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
2665 src/testdir/test_marks.vim, src/testdir/test_method.vim,
2666 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
2667 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
2668 src/testdir/test_window_cmd.vim
2669
2670Patch 8.2.0419
2671Problem: Various memory leaks in Vim9 script code.
2672Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
2673Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
2674 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
2675 src/vim9execute.c, src/vim9script.c
2676
2677Patch 8.2.0420
2678Problem: Vim9: cannot interrupt a loop with CTRL-C.
2679Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
2680Files: src/misc1.c, src/proto/misc1.pro,
2681 src/testdir/test_vim9_script.vim
2682
2683Patch 8.2.0421
2684Problem: Interrupting with CTRL-C does not always work.
2685Solution: Recognize CTRL-C while modifyOtherKeys is set.
2686Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
2687
2688Patch 8.2.0422
2689Problem: Crash when passing popup window to win_splitmove(). (john Devin)
2690Solution: Disallow moving a popup window. (closes #5816)
2691Files: src/testdir/test_popupwin.vim, src/evalwindow.c
2692
2693Patch 8.2.0423
2694Problem: In some environments a few tests are expected to fail.
2695Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
2696 fail.
2697Files: src/testdir/runtest.vim
2698
2699Patch 8.2.0424
2700Problem: Checking for wrong return value. (Tom)
2701Solution: Invert the check and fix the test.
2702Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2703
2704Patch 8.2.0425
2705Problem: Code for modeless selection not sufficiently tested.
2706Solution: Add tests. Move mouse code functionality to a common script file.
2707 (Yegappan Lakshmanan, closes #5821)
2708Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
2709 src/testdir/mouse.vim, src/testdir/test_edit.vim,
2710 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
2711 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
2712 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
2713 src/ui.c
2714
2715Patch 8.2.0426
2716Problem: Some errors were not tested for.
2717Solution: Add tests. (Dominique Pellé, closes #5824)
2718Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
2719 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
2720 src/testdir/test_window_cmd.vim
2721
2722Patch 8.2.0427
2723Problem: It is not possible to check for a typo in a feature name.
2724Solution: Add an extra argument to has().
2725Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
2726 src/testdir/test_functions.vim
2727
2728Patch 8.2.0428
2729Problem: Buffer name may leak.
2730Solution: Free the buffer name before overwriting it.
2731Files: src/terminal.c
2732
2733Patch 8.2.0429
2734Problem: No warning when test checks for option that never exists.
2735Solution: In tests check that the option can exist.
2736Files: src/testdir/check.vim
2737
2738Patch 8.2.0430
2739Problem: Window creation failure not properly tested.
2740Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
2741Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
2742
2743Patch 8.2.0431
2744Problem: Some compilers don't support using \e for Esc. (Yegappan
2745 Lakshmanan)
2746Solution: use \033 instead.
2747Files: src/ui.c
2748
2749Patch 8.2.0432
2750Problem: A few tests fail in a huge terminal.
2751Solution: Make the tests pass. (Dominique Pellé, closes #5829)
2752Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
2753 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
2754 src/testdir/test_window_cmd.vim
2755
2756Patch 8.2.0433
2757Problem: INT signal not properly tested.
2758Solution: Add a test. Also clean up some unnecessary lines. (Dominique
2759 Pellé, closes #5828)
2760Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
2761 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
2762 src/testdir/test_signals.vim
2763
2764Patch 8.2.0434
2765Problem: MS-Windows with VTP: Normal color not working.
2766Solution: After changing the Normal color update the VTP console color.
2767 (Nobuhiro Takasaki, closes #5836)
2768Files: src/highlight.c
2769
2770Patch 8.2.0435
2771Problem: Channel contents might be freed twice.
2772Solution: Call either channel_free_channel() or channel_free(), not both.
2773 (Nobuhiro Takasaki, closes #5835)
2774Files: src/channel.c
2775
2776Patch 8.2.0436
2777Problem: No warnings for incorrect printf arguments.
2778Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
2779 Pellé, closes #5834)
2780Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
2781 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
2782
2783Patch 8.2.0437
2784Problem: MS-Windows installer contains old stuff.
2785Solution: Rely on Windows NT. (Ken Takata, closes #5832)
2786Files: src/dosinst.c
2787
2788Patch 8.2.0438
2789Problem: Terminal noblock test is very flaky on BSD.
2790Solution: Change WaitFor() to WaitForAssert() to be able to see why it
2791 failed. Add a short wait in between sending keys.
2792Files: src/testdir/test_terminal.vim
2793
2794Patch 8.2.0439
2795Problem: :disassemble has minor flaws.
2796Solution: Format the code. Use (int) instead of (char) for %c.
2797 (also by James McCoy, closes #5831)
2798Files: src/vim9execute.c
2799
2800Patch 8.2.0440
2801Problem: Terminal noblock test is still very flaky on BSD.
2802Solution: Increase the waiting time.
2803Files: src/testdir/test_terminal.vim
2804
2805Patch 8.2.0441
2806Problem: Terminal noblock test is still failing on BSD.
2807Solution: Reduce the amount of text.
2808Files: src/testdir/test_terminal.vim
2809
2810Patch 8.2.0442
2811Problem: Channel contents might be used after being freed.
2812Solution: Reset the job channel before freeing the channel.
2813Files: src/channel.c
2814
2815Patch 8.2.0443
2816Problem: Clipboard code is spread out.
2817Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
2818 closes #5827)
2819Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
2820 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
2821 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
2822 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
2823 src/register.c, src/ui.c
2824
2825Patch 8.2.0444
2826Problem: Swap file test fails on some systems.
2827Solution: Preserve the swap file. Send NL terminated keys.
2828Files: src/testdir/test_swap.vim
2829
2830Patch 8.2.0445
2831Problem: Png and xpm files not in MS-Windows zip file.
2832Solution: Move files to shared between Unix and Windows target.
2833Files: Filelist
2834
2835Patch 8.2.0446
2836Problem: Listener with undo of deleting all lines not tested.
2837Solution: Add a test.
2838Files: src/testdir/test_listener.vim
2839
2840Patch 8.2.0447
2841Problem: Terminal scroll tests fails on some systems.
2842Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
2843 scrolling has finished. (James McCoy, closes #5842)
2844Files: src/testdir/test_terminal.vim
2845
2846Patch 8.2.0448
2847Problem: Various functions not properly tested.
2848Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
2849 closes #5843)
2850Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
2851 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
2852 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
2853 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
2854 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
2855 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
2856 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
2857 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
2858 src/testdir/test_search.vim, src/testdir/test_spell.vim,
2859 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
2860 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
2861 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
2862 src/testdir/test_window_cmd.vim
2863
2864Patch 8.2.0449
2865Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
2866Solution: Always return some type, not NULL.
2867Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
2868
2869Patch 8.2.0450
2870Problem: Not enough testing for restricted mode and function calls.
2871Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
2872Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
2873 src/testdir/test_vim9_script.vim
2874
2875Patch 8.2.0451
2876Problem: Win32: double-width character displayed incorrectly.
2877Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
2878 closes #5848)
2879Files: src/os_win32.c
2880
2881Patch 8.2.0452
2882Problem: channel_parse_messages() fails when called recursively.
2883Solution: Return for a recursive call. (closes #5835)
2884Files: src/channel.c
2885
2886Patch 8.2.0453
2887Problem: Trailing space in job_start() command causes empty argument.
2888Solution: Ignore trailing space. (closes #5851)
2889Files: src/misc2.c, src/testdir/test_channel.vim
2890
2891Patch 8.2.0454
2892Problem: Some tests fail when the system is slow.
2893Solution: Make the run number global, use in the test to increase the
2894 waiting time. (closes #5841)
2895Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
2896
2897Patch 8.2.0455
2898Problem: Cannot set the highlight group for a specific terminal.
2899Solution: Add the "highlight" option to term_start(). (closes #5818)
2900Files: src/terminal.c, src/structs.h, src/channel.c,
2901 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
2902 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
2903 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
2904
2905Patch 8.2.0456
2906Problem: Test_confirm_cmd is flaky.
2907Solution: Add a term_wait() call. (closes #5854)
2908Files: src/testdir/test_excmd.vim
2909
2910Patch 8.2.0457
2911Problem: Test_quotestar() often fails when run under valgrind.
2912Solution: Wait longer for the GUI to start.
2913Files: src/testdir/test_quotestar.vim
2914
2915Patch 8.2.0458
2916Problem: Missing feature check in test function.
2917Solution: Add check commands.
2918Files: src/testdir/test_excmd.vim
2919
2920Patch 8.2.0459
2921Problem: Cannot check if a function name is correct.
2922Solution: Add "?funcname" to exists().
2923Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
2924 src/testdir/check.vim
2925
2926Patch 8.2.0460 (after 8.2.0459)
2927Problem: Build failure because of wrong feature name.
2928Solution: Correct feature name.
2929Files: src/evalfunc.c
2930
2931Patch 8.2.0461
2932Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
2933Solution: Add an extra WaitForAssert(). (Dominique Pellé)
2934Files: src/testdir/test_excmd.vim
2935
2936Patch 8.2.0462
2937Problem: Previewwindow test fails on some systems. (James McCoy)
2938Solution: Wait a bit after sending the "o". (closes #5849)
2939Files: src/testdir/test_popup.vim,
2940 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
2941
2942Patch 8.2.0463
2943Problem: Build error without float and channel feature. (John Marriott)
2944Solution: Define return types always.
2945Files: src/globals.h, src/evalfunc.c
2946
2947Patch 8.2.0464
2948Problem: Typos and other small problems.
2949Solution: Fix the typos. Add missing files to the distribution.
2950Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
2951 src/os_unixx.h, src/proto/popupwin.pro
2952
2953Patch 8.2.0465
2954Problem: Vim9: dead code and wrong return type.
2955Solution: Remove dead code. Fix return type. Add more tests.
2956Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
2957
2958Patch 8.2.0466 (after 8.2.0452)
2959Problem: Not parsing messages recursively breaks the govim plugin.
2960Solution: When called recursively do handle messages but do not close
2961 channels.
2962Files: src/channel.c
2963
2964Patch 8.2.0467
2965Problem: Vim9: some errors are not tested
2966Solution: Add more tests. Fix that Vim9 script flag is not reset.
2967Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
2968 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2969
2970Patch 8.2.0468
2971Problem: GUI: pixel dust with some fonts and characters.
2972Solution: Always redraw the character before the cursor. (Nir Lichtman,
2973 closes #5549, closes #5856)
2974Files: src/gui.c, src/proto/gui.pro, src/screen.c
2975
2976Patch 8.2.0469
2977Problem: Vim9: no error for missing ] after list.
2978Solution: Add error message. Add more tests.
2979Files: src/globals.h, src/list.c, src/userfunc.c,
2980 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
2981
2982Patch 8.2.0470
2983Problem: Test_confirm_cmd_cancel() can fail on a slow system.
2984Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
2985Files: src/testdir/test_excmd.vim
2986
2987Patch 8.2.0471
2988Problem: Missing change to compile_list().
2989Solution: Add error message.
2990Files: src/vim9compile.c
2991
2992Patch 8.2.0472
2993Problem: Terminal highlight name is set twice, leaking memory.
2994Solution: Delete one.
2995Files: src/terminal.c
2996
2997Patch 8.2.0473
2998Problem: Variables declared in an outer scope.
2999Solution: Declare variables only in the scope where they are used.
3000Files: src/evalvars.c
3001
3002Patch 8.2.0474 (after 8.2.0403)
3003Problem: Cannot use :write when using a plugin with BufWriteCmd.
3004Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3005Files: src/fileio.c, src/testdir/test_autocmd.vim
3006
3007Patch 8.2.0475
3008Problem: Channel out_cb test still fails sometimes on Mac.
3009Solution: Use an even longer timeout.
3010Files: src/testdir/test_channel.vim
3011
3012Patch 8.2.0476
3013Problem: Terminal nasty callback test fails sometimes.
3014Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3015Files: src/testdir/test_terminal.vim
3016
3017Patch 8.2.0477
3018Problem: Vim9: error messages not tested.
3019Solution: Add more tests.
3020Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3021
3022Patch 8.2.0478
3023Problem: New buffers are not added to the Buffers menu.
3024Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3025Files: runtime/menu.vim, src/testdir/test_menu.vim
3026
3027Patch 8.2.0479
3028Problem: Unloading shared libraries on exit has no purpose.
3029Solution: Do not unload shared libraries on exit.
3030Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3031 src/if_ruby.c, src/if_tcl.c
3032
3033Patch 8.2.0480
3034Problem: Vim9: some code is not tested.
3035Solution: Add more tests.
3036Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3037
3038Patch 8.2.0481
3039Problem: Travis is still using trusty.
3040Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3041Files: .travis.yml, src/testdir/lsan-suppress.txt
3042
3043Patch 8.2.0482
3044Problem: Channel and sandbox code not sufficiently tested.
3045Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3046Files: src/option.h, src/testdir/test_channel.vim,
3047 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3048 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3049 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3050 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3051 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3052 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3053
3054Patch 8.2.0483
3055Problem: Vim9: "let x = x + 1" does not give an error.
3056Solution: Hide the variable when compiling the expression.
3057Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3058
3059Patch 8.2.0484
3060Problem: Vim9: some error messages not tested.
3061Solution: Add more tests.
3062Files: src/testdir/test_vim9_expr.vim
3063
3064Patch 8.2.0485 (after 8.2.0483)
3065Problem: Vim9 script test fails.
3066Solution: Stricter condition for adding new local variable.
3067Files: Stricter condition for adding new local variable.
3068
3069Patch 8.2.0486
3070Problem: Vim9: some code and error messages not tested.
3071Solution: Add more tests.
3072Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3073 src/testdir/test_vim9_script.vim
3074
3075Patch 8.2.0487
3076Problem: Vim9: compiling not sufficiently tested.
3077Solution: Add more tests. Fix bug with PCALL.
3078Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3079 src/testdir/test_vim9_script.vim,
3080 src/testdir/test_vim9_disassemble.vim
3081
3082Patch 8.2.0488
3083Problem: Vim9: Compiling can break when using a lambda inside :def.
3084Solution: Do not keep a pointer to the dfunc_T for longer time.
3085Files: src/vim9compile.c, src/vim9.h
3086
3087Patch 8.2.0489
3088Problem: Vim9: memory leaks.
3089Solution: Free memory in the right place. Add hints for using asan.
3090Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3091
3092Patch 8.2.0490
3093Problem: Win32: VTP doesn't respect 'restorescreen'.
3094Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3095 Takasaki, closes #5872)
3096Files: src/os_win32.c
3097
3098Patch 8.2.0491
3099Problem: Cannot recognize a <script> mapping using maparg().
3100Solution: Add the "script" key. (closes #5873)
3101Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3102
3103Patch 8.2.0492
3104Problem: Vim9: some error messages not tested.
3105Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3106Files: src/vim9compile.c, src/vim9execute.c,
3107 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3108
3109Patch 8.2.0493
3110Problem: Vim9: some error messages not tested.
3111Solution: Add more tests. Fix uncovered bugs.
3112Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3113 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3114 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3115
3116Patch 8.2.0494
3117Problem: Vim9: asan error.
3118Solution: Only get the type when there is one.
3119Files: src/vim9compile.c
3120
3121Patch 8.2.0495
3122Problem: Vim9: some code not tested.
3123Solution: Add more tests. Support more const expressions.
3124Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3125
3126Patch 8.2.0496
3127Problem: Vim9: disassemble test fails.
3128Solution: Separate test cases with recognized constant expressions.
3129Files: src/testdir/test_vim9_disassemble.vim
3130
3131Patch 8.2.0497
3132Problem: Too verbose output from the asan build in Travis.
3133Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3134Files: .travis.yml
3135
3136Patch 8.2.0498
3137Problem: Coverity complains about uninitialized field.
3138Solution: Initialize the whole typval_T.
3139Files: src/vim9compile.c
3140
3141Patch 8.2.0499
3142Problem: Calling a lambda is slower than evaluating a string.
3143Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3144Files: src/userfunc.c
3145
3146Patch 8.2.0500
3147Problem: Using the same loop in many places.
3148Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3149Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3150 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3151 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3152 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3153 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3154 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3155 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3156 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3157 src/userfunc.c, src/window.c
3158
3159Patch 8.2.0501
3160Problem: Vim9: script test fails when channel feature is missing.
3161Solution: Add a has() condition.
3162Files: src/testdir/test_vim9_script.vim
3163
3164Patch 8.2.0502
3165Problem: Vim9: some code is not tested.
3166Solution: Add more tests. Fix uncovered problems.
3167Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3168 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3169 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3170 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3171 src/testdir/test_vim9_disassemble.vim
3172
3173Patch 8.2.0503
3174Problem: Vim9: some code is not tested.
3175Solution: Add tests. Fix uncovered problems.
3176Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3177
3178Patch 8.2.0504
3179Problem: Vim9: leaking scope memory when compilation fails.
3180Solution: Cleanup the scope list.
3181Files: src/vim9compile.c
3182
3183Patch 8.2.0505
3184Problem: term_gettty() not sufficiently tested.
3185Solution: Add more asserts. (Dominique Pellé, closes #5877)
3186Files: src/testdir/test_terminal.vim
3187
3188Patch 8.2.0506
3189Problem: Coverity complains about ignoring return value.
3190Solution: Add (void).
3191Files: src/userfunc.c
3192
3193Patch 8.2.0507 (after 8.2.0472)
3194Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3195Solution: Check for empty name. (closes #5878)
3196Files: src/evalvars.c, src/testdir/test_functions.vim
3197
3198Patch 8.2.0508
3199Problem: Vim9: func and partial types not done yet
3200Solution: Fill in details about func declaration, drop a separate partial
3201 declaration.
3202Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3203 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3204 src/testdir/test_vim9_script.vim,
3205 src/testdir/test_vim9_disassemble.vim
3206
3207Patch 8.2.0509
3208Problem: various code is not properly tested.
3209Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3210Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3211 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3212 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3213 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3214 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3215 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3216
3217Patch 8.2.0510
3218Problem: Coverity complains about using uninitialized variable.
3219Solution: Assign a value to "scol". Move code inside NULL check.
3220Files: src/beval.c, src/popupwin.c
3221
3222Patch 8.2.0511
3223Problem: Cscope code not fully tested.
3224Solution: Add more test cases. (Dominique Pellé, closes #5886)
3225Files: src/testdir/test_cscope.vim
3226
3227Patch 8.2.0512
3228Problem: Vim9: no optional arguments in func type.
3229Solution: Check for question mark after type. Find function reference
3230 without function().
3231Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3232 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3233 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3234 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3235 src/testdir/test_vim9_disassemble.vim
3236
3237Patch 8.2.0513
3238Problem: Reading past allocated memory when using varargs.
3239Solution: Fix copying function argument types.
3240Files: src/vim9compile.c
3241
3242Patch 8.2.0514
3243Problem: Several global functions are used in only one file.
3244Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3245Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3246 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3247 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3248 src/version.c
3249
3250Patch 8.2.0515
3251Problem: Some compilers cannot add to "void *".
3252Solution: Cast to "char *".
3253Files: src/vim9compile.c
3254
3255Patch 8.2.0516
3256Problem: Client-server code is spread out.
3257Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3258 closes #5885)
3259Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3260 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3261 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3262 src/proto/clientserver.pro, src/proto/main.pro
3263
3264Patch 8.2.0517
3265Problem: Vim9: cannot separate "func" and "func(): void".
3266Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3267Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3268 src/evalvars.c, src/testing.c, src/vim9compile.c,
3269 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3270 src/testdir/test_vim9_func.vim
3271
3272Patch 8.2.0518
3273Problem: A terminal falls back to setting $TERM to "xterm".
3274Solution: Use "xterm-color" if more than 16 colors are supported and
3275 "xterm-256color" if at least 256 colors are supported.
3276 (closes #5887)
3277Files: src/os_unix.c
3278
3279Patch 8.2.0519
3280Problem: Vim9: return type not properly checked.
3281Solution: Check type properly, also at runtime.
3282Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3283
3284Patch 8.2.0520
3285Problem: Tests are not listed in sorted order.
3286Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3287Files: src/testdir/Make_all.mak
3288
3289Patch 8.2.0521
3290Problem: Crash when reading a blob fails.
3291Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3292 closes #5890) Adjust error messages.
3293Files: src/filepath.c, src/testdir/test_blob.vim
3294
3295Patch 8.2.0522
3296Problem: Several errors are not tested for.
3297Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3298Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3299 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3300 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3301 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3302 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3303 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3304 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3305 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3306 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3307 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3308
3309Patch 8.2.0523
3310Problem: Loops are repeated.
3311Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3312Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3313 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3314 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3315 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3316 src/userfunc.c, src/vim9compile.c
3317
3318Patch 8.2.0524
3319Problem: Win32: searching for file matches is slow.
3320Solution: Instead of making another round to find any short filename, check
3321 for the short name right away. Avoid using an ordinary file like a
3322 directory. (Nir Lichtman, closes #5883)
3323Files: src/filepath.c
3324
3325Patch 8.2.0525 (after 8.2.0524)
3326Problem: Win32: typo in assignment and misplaced paren.
3327Solution: Fix the syntax.
3328Files: src/filepath.c
3329
3330Patch 8.2.0526
3331Problem: Gcc 9 complains about empty statement.
3332Solution: Add {}. (Dominique Pellé, closes #5894)
3333Files: src/evalfunc.c
3334
3335Patch 8.2.0527
3336Problem: Vim9: function types insufficiently tested.
3337Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3338Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3339 src/testdir/Makefile, src/testdir/Make_all.mak
3340
3341Patch 8.2.0528
3342Problem: Vim9: function arguments insufficiently tested.
3343Solution: Check types. Add more tests. Fix function with varargs only.
3344Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3345
3346Patch 8.2.0529
3347Problem: Vim9: function argument with default not checked.
3348Solution: Check type of argument with default value.
3349Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3350
3351Patch 8.2.0530
3352Problem: Test crashes on s390. (James McCoy)
3353Solution: Explicitly define an 8 big signed type. (closes #5897)
3354Files: src/structs.h
3355
3356Patch 8.2.0531
3357Problem: Various errors not tested.
3358Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3359Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3360 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3361 src/testdir/test_vimscript.vim
3362
3363Patch 8.2.0532
3364Problem: Cannot use simplify() as a method.
3365Solution: Add FEARG_1. (closes #5896)
3366Files: runtime/doc/eval.txt, src/evalfunc.c,
3367 src/testdir/test_functions.vim
3368
3369Patch 8.2.0533
3370Problem: Tests using term_wait() can still be flaky.
3371Solution: Increase the wait time when rerunning a test. (James McCoy,
3372 closes #5899) Halve the initial times to make tests run faster
3373 when there is no rerun.
3374Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3375 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3376 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3377 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3378 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3379 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3380 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3381 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3382 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3383 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3384 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3385 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3386 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3387 src/testdir/test_startup_utf8.vim,
3388 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3389 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3390 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3391 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3392
3393Patch 8.2.0534
3394Problem: Client-server test fails under valgrind.
3395Solution: Use WaitForAssert().
3396Files: src/testdir/test_clientserver.vim
3397
3398Patch 8.2.0535
3399Problem: Regexp patterns not fully tested.
3400Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3401 closes #5901)
3402Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3403 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3404
3405Patch 8.2.0536
3406Problem: Vim9: some compilation code not tested.
3407Solution: Add more test cases.
3408Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3409 src/testdir/test_vim9_expr.vim
3410
3411Patch 8.2.0537
3412Problem: Vim9: no check for sandbox when setting v:var.
3413Solution: Check for sandbox.
3414Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3415
3416Patch 8.2.0538
3417Problem: Vim9: VAR_PARTIAL is not used during compilation.
3418Solution: Remove VAR_PARTIAL.
3419Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3420
3421Patch 8.2.0539
3422Problem: Comparing two NULL list fails.
3423Solution: Change the order of comparing two lists.
3424Files: src/list.c, src/testdir/test_assert.vim
3425
3426Patch 8.2.0540
3427Problem: Regexp and other code not tested.
3428Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3429Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3430 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3431 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3432 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3433 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3434
3435Patch 8.2.0541
3436Problem: Travis CI does not give compiler warnings.
3437Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3438 closes #5898)
3439Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3440 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3441 src/libvterm/t/harness.c
3442
3443Patch 8.2.0542
3444Problem: No test for E386.
3445Solution: Add a test. (Dominique Pellé, closes #5911)
3446Files: src/testdir/test_search.vim
3447
3448Patch 8.2.0543
3449Problem: Vim9: function with varargs does not work properly.
3450Solution: Improve function type spec and add tests. Fix bugs.
3451Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3452 src/structs.h, src/testdir/test_vim9_func.vim
3453
3454Patch 8.2.0544
3455Problem: Memory leak in search test.
3456Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3457Files: src/search.c
3458
3459Patch 8.2.0545
3460Problem: Unused arguments ignored in non-standard way.
3461Solution: Add UNUSED instead of (void).
3462Files: src/libvterm/t/harness.c
3463
3464Patch 8.2.0546
3465Problem: Vim9: varargs implementation is inefficient.
3466Solution: Create list without moving the arguments.
3467Files: src/vim9compile.c, src/vim9execute.c
3468
3469Patch 8.2.0547
3470Problem: Win32: restoring screen not always done right.
3471Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3472Files: src/os_win32.c
3473
3474Patch 8.2.0548
3475Problem: Vim9: not all possible func type errors tested.
3476Solution: Add more tests.
3477Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3478
3479Patch 8.2.0549
3480Problem: User systemd files not recognized.
3481Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3482Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3483
3484Patch 8.2.0550
3485Problem: Some changes in the libvterm upstream code.
3486Solution: Include some changes.
3487Files: src/libvterm/t/harness.c
3488
3489Patch 8.2.0551
3490Problem: Not all code for options is tested.
3491Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3492Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3493 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3494
3495Patch 8.2.0552
3496Problem: Vim9: some errors not covered by tests.
3497Solution: Add more tests. Check Funcref argument types.
3498Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3499
3500Patch 8.2.0553 (after 8.2.0550)
3501Problem: Error for unused argument.
3502Solution: Add UNUSED.
3503Files: src/libvterm/t/harness.c
3504
3505Patch 8.2.0554
3506Problem: The GUI doesn't set t_Co.
3507Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3508Files: src/term.c, src/proto/term.pro, src/gui.c,
3509 src/testdir/test_gui.vim
3510
3511Patch 8.2.0555
3512Problem: Vim9: line continuation is not always needed.
3513Solution: Recognize continuation lines automatically in list and dict.
3514Files: runtime/doc/vim9.txt, src/vim9compile.c,
3515 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3516
3517Patch 8.2.0556
3518Problem: Vim9: memory leak when finding common type.
3519Solution: Store allocated memory in type growarray.
3520Files: src/vim9compile.c
3521
3522Patch 8.2.0557
3523Problem: No IPv6 support for channels.
3524Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3525Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3526 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3527 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3528 src/proto/channel.pro, src/testdir/check.vim,
3529 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3530 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3531 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3532 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3533
3534Patch 8.2.0558
3535Problem: Vim9: dict code not covered by tests.
3536Solution: Remove dead code, adjust test case.
3537Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3538
3539Patch 8.2.0559
3540Problem: Clearing a struct is verbose.
3541Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3542Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3543 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3544 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3545 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3546 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3547 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3548 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3549 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3550 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3551 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3552 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3553 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3554 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3555 src/vim9execute.c, src/if_py_both.h
3556
3557Patch 8.2.0560
3558Problem: Compiler warning in tiny build.
3559Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3560Files: src/ex_docmd.c
3561
3562Patch 8.2.0561
3563Problem: Vim9: cannot split function call in multiple lines.
3564Solution: Find more arguments in following lines.
3565Files: runtime/doc/vim9.txt, src/vim9compile.c,
3566 src/testdir/test_vim9_script.vim
3567
3568Patch 8.2.0562
3569Problem: Vim9: cannot split an expression into multiple lines.
3570Solution: Continue in next line after an operator.
3571Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3572 src/testdir/test_vim9_expr.vim
3573
3574Patch 8.2.0563
3575Problem: Vim9: cannot split a function line.
3576Solution: Continue in next line so long as the function isn't done.
3577Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
3578 src/vim9compile.c, src/testdir/test_vim9_func.vim
3579
3580Patch 8.2.0564
3581Problem: Vim9: calling a def function from non-vim9 may fail.
3582Solution: Convert varargs to a list.
3583Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
3584
3585Patch 8.2.0565
3586Problem: Vim9: tests contain superfluous line continuation.
3587Solution: Remove line continuation no longer needed. Skip empty lines.
3588Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
3589 src/testdir/test_vim9_disassemble.vim
3590
3591Patch 8.2.0566
3592Problem: Vim9: variable can be used uninitialized.
3593Solution: Jump to after where variable is used.
3594Files: src/vim9execute.c
3595
3596Patch 8.2.0567
3597Problem: Vim9: cannot put comments halfway expressions.
3598Solution: Support # comments in many places.
3599Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
3600 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
3601 src/testdir/test_vim9_script.vim
3602
3603Patch 8.2.0568
3604Problem: The man filetype plugin overwrites the unnamed register.
3605Solution: Use the black hole register. (Jason Franklin)
3606Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
3607
3608Patch 8.2.0569
3609Problem: Build failure with tiny version.
3610Solution: Add #ifdef.
3611Files: src/ex_docmd.c
3612
3613Patch 8.2.0570
3614Problem: Vim9: no error when omitting type from argument.
3615Solution: Enforce specifying argument types.
3616Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
3617 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim
3618 src/testdir/test_vim9_disassemble.vim
3619
3620Patch 8.2.0571
3621Problem: Double free when passing invalid argument to job_start().
3622Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
3623Files: src/misc2.c, src/testdir/test_channel.vim
3624
3625Patch 8.2.0572 (after 8.2.0571)
3626Problem: Using two lines for free and reset.
3627Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
3628Files: src/misc2.c
3629
3630Patch 8.2.0573
3631Problem: using :version twice leaks memory
3632Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
3633Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
3634 src/testdir/test_version.vim, src/version.c, src/globals.h
3635
3636Patch 8.2.0574
3637Problem: Ipv6 feature not shown in :version output.
3638Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
3639Files: runtime/doc/eval.txt, src/version.c
3640
3641Patch 8.2.0575
3642Problem: :digraph! not tested.
3643Solution: Add a test. (Dominique Pellé, closes #5925)
3644Files: src/testdir/test_digraph.vim
3645
3646Patch 8.2.0576
3647Problem: Some errors are not covered by tests.
3648Solution: Add a few more tests. (Dominique Pellé, closes #5920)
3649Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
3650 src/testdir/test_expr.vim, src/testdir/test_messages.vim
3651
3652Patch 8.2.0577
3653Problem: Not all modifiers supported for :options.
3654Solution: Use all cmdmod.split flags. (closes #4401)
3655Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
3656 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
3657
3658Patch 8.2.0578
3659Problem: Heredoc for interfaces does not support "trim".
3660Solution: Update the script heredoc support to be same as the :let command.
3661 (Yegappan Lakshmanan, closes #5916)
3662Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
3663 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
3664 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
3665 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
3666 src/testdir/test87.in, src/testdir/test_lua.vim,
3667 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
3668 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
3669 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
3670 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
3671
3672Patch 8.2.0579
3673Problem: Coverity warns for unused value.
3674Solution: Change order and use "else if".
3675Files: src/os_unix.c
3676
3677Patch 8.2.0580
3678Problem: Window size wrong if 'ea' is off and 'splitright' is on and
3679 splitting then closing a window.
3680Solution: Put abandoned window space in the right place. (Mark Waggoner)
3681Files: src/testdir/test_winbuf_close.vim, src/window.c
3682
3683Patch 8.2.0581 (after 8.2.0547)
3684Problem: Win32 console: the cursor position is always top-left.
3685Solution: Revert the patch for restoring screen.
3686Files: src/os_win32.c
3687
3688Patch 8.2.0582
3689Problem: Color ramp test does not show text colors.
3690Solution: Add a row of 16 text colors and 16 bold text colors.
3691Files: src/testdir/color_ramp.vim
3692
3693Patch 8.2.0583
3694Problem: Vim9: # comment not recognized in :def function.
3695Solution: Recognize and skip # comment.
3696Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3697
3698Patch 8.2.0584
3699Problem: Viminfo file uses obsolete function file_readable().
3700Solution: Use filereadable(). (closes #5934)
3701Files: src/session.c
3702
3703Patch 8.2.0585
3704Problem: Vim9: # comment not recognized after :vim9script.
3705Solution: Check script type. Make comment after ":echo" work. And in
3706 several other places.
3707Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
3708 src/vim9compile.c, src/testdir/test_vim9_script.vim
3709
3710Patch 8.2.0586
3711Problem: Vim9: # comment not sufficiently tested
3712Solution: Check for preceding white space.
3713Files: src/eval.c, src/testdir/test_vim9_script.vim
3714
3715Patch 8.2.0587
3716Problem: Compiler warning for unused variable.
3717Solution: Add UNUSED.
3718Files: src/ex_docmd.c
3719
3720Patch 8.2.0588
3721Problem: Putty does not use "sgr" 'ttymouse' by default.
3722Solution: Make "sgr" the default for Putty. (Christian Brabandt,
3723 closes #5942)
3724Files: src/term.c
3725
3726Patch 8.2.0589
3727Problem: .bsd file type not recognized.
3728Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
3729Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3730
3731Patch 8.2.0590
3732Problem: No 'backspace' value allows ignoring the insertion point.
3733Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
3734Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
3735 src/optionstr.c, src/testdir/gen_opt_test.vim,
3736 src/testdir/test_backspace_opt.vim
3737
3738Patch 8.2.0591
3739Problem: MS-Windows: should always support IPv6
3740Solution: Add build flag. (Ozaki Kiichi, closes #5944)
3741Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
3742
3743Patch 8.2.0592
3744Problem: MS-Windows with VTP: cursor is not made invisible.
3745Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
3746 Takasaki, closes #5941)
3747Files: src/os_win32.c
3748
3749Patch 8.2.0593
3750Problem: Finding a user command is not optimal.
3751Solution: Start further down in the list of commands.
3752Files: src/ex_cmds.h, src/ex_docmd.c
3753
3754Patch 8.2.0594
3755Problem: MS-Windows: cannot build with WINVER set to 0x0501.
3756Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
3757Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3758 src/channel.c, src/config.h.in, src/configure.ac
3759
3760Patch 8.2.0595
3761Problem: Vim9: not all commands using ends_excmd() tested.
3762Solution: Find # comment after regular commands. Add more tests. Report
3763 error for where it was caused.
3764Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
3765 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
3766 src/testdir/test_vim9_script.vim,
3767 src/testdir/test_vim9_disassemble.vim
3768
3769Patch 8.2.0596
3770Problem: Crash in test49.
3771Solution: Check the right pointer.
3772Files: src/userfunc.c, src/testdir/test_eval.ok
3773
3774Patch 8.2.0597
3775Problem: Test_eval is old style.
3776Solution: Change some tests to a new style test.
3777Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
3778 src/testdir/test_eval_stuff.vim
3779
3780Patch 8.2.0598
3781Problem: Test_eval_stuff fails in normal terminal.
3782Solution: Close the new window.
3783Files: src/testdir/test_eval_stuff.vim
3784
3785Patch 8.2.0599
3786Problem: Netbeans interface insufficiently tested.
3787Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
3788Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
3789 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
3790 src/testdir/test_netbeans.vim
3791
3792Patch 8.2.0600
3793Problem: Vim9: cannot read or write w:, t: and b: variables.
3794Solution: Implement load and store for w:, t: and b: variables.
3795 (closes #5950)
3796Files: src/testdir/test_vim9_disassemble.vim,
3797 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
3798 src/vim9.h, src/vim9compile.c, src/vim9execute.c
3799
3800Patch 8.2.0601
3801Problem: Vim9: :unlet is not compiled.
3802Solution: Implement :unlet instruction and check for errors.
3803Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
3804 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
3805 src/eval.c, src/testdir/test_vim9_script.vim,
3806 src/testdir/test_vim9_disassemble.vim
3807
3808Patch 8.2.0602
3809Problem: :unlet $VAR does not work properly.
3810Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
3811Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
3812
3813Patch 8.2.0603
3814Problem: Configure does not detect moonjit.
3815Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
3816Files: src/configure.ac, src/auto/configure
3817
3818Patch 8.2.0604
3819Problem: :startinsert in a terminal window used later.
3820Solution: Ignore :startinsert in a terminal window. (closes #5952)
3821Files: src/ex_docmd.c, src/testdir/test_terminal.vim
3822
3823Patch 8.2.0605
3824Problem: Vim9: cannot unlet an environment variable.
3825Solution: Implement unlet for $VAR.
3826Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
3827 src/testdir/test_vim9_script.vim,
3828 src/testdir/test_vim9_disassemble.vim
3829
3830Patch 8.2.0606
3831Problem: Several syntax HL errors not checked.
3832Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
3833Files: src/testdir/test_syntax.vim
3834
3835Patch 8.2.0607
3836Problem: Gcc warns for using uninitialized variable. (John Marriott)
3837Solution: Set name_end also for environment variables.
3838Files: src/evalvars.c
3839
3840Patch 8.2.0608
3841Problem: Warning from clang when building message test.
3842Solution: Use a void pointer. (Dominique Pellé, closes #5958)
3843Files: src/message_test.c
3844
3845Patch 8.2.0609
3846Problem: Configure does not detect moonjit correctly.
3847Solution: Double the brackets. (Ozaki Kiichi)
3848Files: src/configure.ac, src/auto/configure
3849
3850Patch 8.2.0610
3851Problem: Some tests are still old style.
3852Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
3853Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
3854 src/testdir/test_eval.in, src/testdir/test_eval.ok,
3855 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
3856 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
3857 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
3858 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
3859 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
3860
3861Patch 8.2.0611
3862Problem: Vim9: no check for space before #comment.
3863Solution: Add space checks.
3864Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
3865 src/testdir/test_vim9_script.vim
3866
3867Patch 8.2.0612
3868Problem: Vim9: no check for space before #comment.
3869Solution: Add space checks.
3870Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
3871 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
3872 src/testdir/test_sort.vim
3873
3874Patch 8.2.0613
3875Problem: Vim9: no check for space before #comment.
3876Solution: Add space checks.
3877Files: src/highlight.c, src/menu.c, src/syntax.c,
3878 src/testdir/test_vim9_script.vim,
3879 runtime/lang/menu_de_de.latin1.vim
3880
3881Patch 8.2.0614
3882Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
3883 Lakshmanan)
3884Solution: Lock the text while evaluating 'completefunc'.
3885Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
3886 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3887 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
3888 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
3889
3890Patch 8.2.0615
3891Problem: Regexp benchmark test is old style.
3892Solution: Make it a new style test. Fix using a NULL list. Add more tests.
3893 (Yegappan Lakshmanan, closes #5963)
3894Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
3895 src/testdir/Make_ming.mak, src/testdir/Makefile,
3896 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
3897 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
3898 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
3899 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
3900 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
3901 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
3902 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
3903
3904Patch 8.2.0616
3905Problem: Build error when disabling the diff feature.
3906Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
3907Files: src/drawline.c
3908
3909Patch 8.2.0617
3910Problem: New error check triggers in Swedish menu.
3911Solution: Insert backslash. (Mats Tegner, closes #5966)
3912Files: runtime/lang/menu_sv_se.latin1.vim
3913
3914Patch 8.2.0618
3915Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
3916Solution: Return "[]" instead of NULL in echo_string_core().
3917Files: src/eval.c, src/testdir/test_messages.vim
3918
3919Patch 8.2.0619
3920Problem: Null dict is not handled like an empty dict.
3921Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
3922Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
3923 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
3924 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
3925 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
3926 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
3927
3928Patch 8.2.0620
3929Problem: Error in menu translations.
3930Solution: Insert a backslash before a space.
3931Files: runtime/lang/menu_it_it.latin1.vim,
3932 runtime/lang/menu_chinese_gb.936.vim
3933
3934Patch 8.2.0621
3935Problem: After running tests asan files may remain.
3936Solution: Clean up asan files with "make testclean".
3937Files: src/testdir/Makefile, src/Makefile
3938
3939Patch 8.2.0622
3940Problem: Haiku: GUI does not compile.
3941Solution: Various fixes. (Emir Sarı, closes #5961)
3942Files: Filelist, README.md, READMEdir/README_haiku.txt,
3943 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
3944 src/gui_haiku.cc, src/proto/gui_haiku.pro
3945
3946Patch 8.2.0623
3947Problem: Typo in test comment. (Christ van Willegen)
3948Solution: Avoid mixing up a data structure with a body part.
3949Files: src/testdir/test_listdict.vim
3950
3951Patch 8.2.0624
3952Problem: Vim9: no check for space before #comment.
3953Solution: Add space checks. Fix :throw with double quoted string.
3954Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
3955 src/testdir/test_vim9_script.vim
3956
3957Patch 8.2.0625
3958Problem: Vim9: confusing error when calling unknown function.
3959Solution: Give error while compiling.
3960Files: src/vim9compile.c, src/vim9execute.c,
3961 src/testdir/test_vim9_func.vim
3962
3963Patch 8.2.0626
3964Problem: Vim9: wrong syntax of function in Vim9 script.
3965Solution: Give error for missing space. Implement :echomsg and :echoerr.
3966 (closes #5670)
3967Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
3968 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
3969 src/testdir/test_vim9_disassemble.vim
3970 src/testdir/test_vim9_script.vim
3971
3972Patch 8.2.0627
3973Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
3974Solution: Swap lines.
3975Files: src/userfunc.c
3976
3977Patch 8.2.0628
3978Problem: Error in menu translations.
3979Solution: Insert a backslash before a space in one more file. (Shun Bai,
3980 Emir Sarı)
3981Files: runtime/lang/menu_zh_cn.utf-8.vim,
3982 runtime/lang/menu_ca_es.latin1.vim,
3983 runtime/lang/menu_cs_cz.iso_8859-2.vim,
3984 runtime/lang/menu_cs_cz.utf-8.vim,
3985 runtime/lang/menu_czech_czech_republic.1250.vim,
3986 runtime/lang/menu_czech_czech_republic.ascii.vim,
3987 runtime/lang/menu_da.utf-8.vim,
3988 runtime/lang/menu_fi_fi.latin1.vim,
3989 runtime/lang/menu_hu_hu.iso_8859-2.vim,
3990 runtime/lang/menu_hu_hu.utf-8.vim,
3991 runtime/lang/menu_is_is.latin1.vim,
3992 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
3993 runtime/lang/menu_pt_pt.vim,
3994 runtime/lang/menu_sk_sk.iso_8859-2.vim,
3995 runtime/lang/menu_sl_si.latin2.vim,
3996 runtime/lang/menu_slovak_slovak_republic.1250.vim,
3997 runtime/lang/menu_tr_tr.cp1254.vim,
3998 runtime/lang/menu_tr_tr.iso_8859-9.vim,
3999 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4000
4001Patch 8.2.0629
4002Problem: Setting a boolean option to v:false does not work.
4003Solution: Do not use the string representation of the value. (Christian
4004 Brabandt, closes #5974)
4005Files: src/evalvars.c, src/testdir/test_options.vim
4006
4007Patch 8.2.0630
4008Problem: "make tags" does not cover Haiku GUI file.
4009Solution: Add *.cc files.
4010Files: src/Make_all.mak
4011
4012Patch 8.2.0631
4013Problem: Haiku file formatted with wrong tabstop.
4014Solution: Use normal tabstop. Fix white space.
4015Files: src/gui_haiku.cc
4016
4017Patch 8.2.0632
4018Problem: Crash when using Haiku.
4019Solution: Lock the screen. (closes #5975, closes #5973)
4020Files: src/screen.c
4021
4022Patch 8.2.0633
4023Problem: Crash when using null partial in filter().
4024Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4025Files: src/eval.c, src/testdir/test_blob.vim,
4026 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4027 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4028 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4029 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4030 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4031 src/testdir/test_usercommands.vim
4032
4033Patch 8.2.0634
4034Problem: Crash with null partial and blob.
4035Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4036 closes #5984)
4037Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4038 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4039 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4040 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4041 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4042 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4043 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4044 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4045 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4046 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4047 src/testdir/test_writefile.vim
4048
4049Patch 8.2.0635
4050Problem: When using 256 colors DarkYellow does not show expected color.
4051Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4052Files: src/highlight.c
4053
4054Patch 8.2.0636
4055Problem: :messages does not show the maintainer when $LANG is unset.
4056Solution: Call get_mess_lang() if available. (closes #5978)
4057Files: src/message.c
4058
4059Patch 8.2.0637
4060Problem: Incsearch highlighting does not work for ":sort!".
4061Solution: Skip over the exclamation point. (closes #5983)
4062Files: src/ex_getln.c, src/testdir/test_search.vim,
4063 src/testdir/dumps/Test_incsearch_sort_02.dump
4064
4065Patch 8.2.0638
4066Problem: MS-Windows: messages test fails.
4067Solution: Clear environment variables.
4068Files: src/testdir/test_messages.vim
4069
4070Patch 8.2.0639
4071Problem: MS-Windows: messages test still fails.
4072Solution: Filter out the maintainer message.
4073Files: src/testdir/test_messages.vim
4074
4075Patch 8.2.0640
4076Problem: Vim9: expanding `=expr` does not work.
4077Solution: Find wildcards in not compiled commands. Reorganize test files.
4078Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4079 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4080 src/testdir/test_vim9_disassemble.vim,
4081 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4082 src/testdir/Make_all.mak
4083
4084Patch 8.2.0641
4085Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4086Solution: Add the EX_EXPAND flag. Expend "syntax include".
4087Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4088 src/testdir/test_vim9_cmd.vim
4089
4090Patch 8.2.0642
4091Problem: Vim9: using invalid index.
4092Solution: Check index for being valid. Fix memory leak.
4093Files: src/vim9compile.c, src/clientserver.c
4094
4095Patch 8.2.0643 (after 8.2.0635)
4096Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4097Solution: Use color index 3 instead of 130. (closes #5993)
4098Files: src/terminal.c
4099
4100Patch 8.2.0644
4101Problem: Insufficient testing for invalid function arguments.
4102Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4103Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4104 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4105 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4106 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4107 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4108 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4109 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4110 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4111 src/testdir/test_writefile.vim
4112
4113Patch 8.2.0645
4114Problem: MS-Windows terminal: CTRL-C does not get to child job.
4115Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4116 Takasaki, closes #5987)
4117Files: src/terminal.c
4118
4119Patch 8.2.0646
4120Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4121Solution: Ignore $COLORS for the GUI. (closes #5992)
4122Files: src/os_unix.c, src/term.c
4123
4124Patch 8.2.0647
4125Problem: MS-Windows: repeat count for events was not used.
4126Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4127Files: src/os_win32.c
4128
4129Patch 8.2.0648
4130Problem: Semicolon search does not work in first line.
4131Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4132 closes #5996)
4133Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4134
4135Patch 8.2.0649
4136Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4137 Kaplan)
4138Solution: Do not create a new undo block when leaving Insert mode.
4139Files: src/edit.c, src/testdir/test_edit.vim
4140
4141Patch 8.2.0650
4142Problem: Vim9: script function can be deleted.
4143Solution: Disallow deleting script function. Delete functions when sourcing
4144 a script again.
4145Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4146 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4147 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4148 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4149
4150Patch 8.2.0651
4151Problem: Old style benchmark test still in list of distributed files.
4152Solution: Remove the files from the list.
4153Files: Filelist
4154
4155Patch 8.2.0652 (after 8.2.0650)
4156Problem: Compiler warning for char conversion.
4157Solution: Use unsigned char buffer.
4158Files: src/userfunc.c
4159
4160Patch 8.2.0653 (after 8.2.0650)
4161Problem: using uninitialized pointer.
4162Solution: Move assignment up. (John Marriott)
4163Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4164
4165Patch 8.2.0654
4166Problem: Building with Python fails.
4167Solution: Add missing argument.
4168Files: src/if_py_both.h
4169
4170Patch 8.2.0655
4171Problem: Search code not sufficiently tested.
4172Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4173Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4174 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4175 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4176 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4177 src/testdir/test_visual.vim
4178
4179Patch 8.2.0656
4180Problem: MS-Windows: redrawing right screen edge may not be needed.
4181Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4182Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4183
4184Patch 8.2.0657
4185Problem: Vim9: no check if called variable is a FuncRef.
4186Solution: Add a type check.
4187Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4188 src/testdir/test_vim9_expr.vim
4189
4190Patch 8.2.0658 (after 8.2.0646)
4191Problem: HP-UX build fails when setenv() is not defined.
4192Solution: Change "colors" to "t_colors". (John Marriott)
4193Files: src/os_unix.c
4194
4195Patch 8.2.0659
4196Problem: Vim9: no test for equal func type.
4197Solution: Add a test. Improve type check.
4198Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4199
4200Patch 8.2.0660
4201Problem: The search.c file is a bit big.
4202Solution: Split off the text object code to a separate file. (Yegappan
4203 Lakshmanan, closes #6007)
4204Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4205 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4206 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4207 src/search.c, src/textobject.c
4208
4209Patch 8.2.0661
4210Problem: Eval test is still old style.
4211Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4212Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4213 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4214 src/testdir/test_eval_stuff.vim
4215
4216Patch 8.2.0662
4217Problem: Cannot use input() in a channel callback.
4218Solution: Reset vgetc_busy. (closes #6010)
4219Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4220 src/testdir/test_channel.vim
4221
4222Patch 8.2.0663
4223Problem: Not all systemd temp files are recognized.
4224Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4225Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4226
4227Patch 8.2.0664
4228Problem: Included undesired changes in Makefile.
4229Solution: Revert the changes.
4230Files: src/Makefile
4231
4232Patch 8.2.0665
4233Problem: Wrongly assuming Python executable is called "python".
4234Solution: Use detected python command. (Ken Takata, closes #6016)
4235 Also use CheckFunction if possible.
4236Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4237
4238Patch 8.2.0666
4239Problem: Ruby test fails on MS-Windows.
4240Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4241Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4242 src/testdir/test_ruby.vim
4243
4244Patch 8.2.0667
4245Problem: Cannot install Haiku version from source.
4246Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4247Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4248 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4249
4250Patch 8.2.0668
4251Problem: Compiler warning for int/size_t usage.
4252Solution: Change "int" to "size_t". (Mike Williams)
4253Files: src/vim9execute.c
4254
4255Patch 8.2.0669
4256Problem: MS-Windows: display in VTP is a bit slow.
4257Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4258Files: src/os_win32.c, src/screen.c
4259
4260Patch 8.2.0670
4261Problem: Cannot change window when evaluating 'completefunc'.
4262Solution: Make a difference between not changing text or buffers and also
4263 not changing window.
4264Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4265 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4266 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4267 src/undo.c, src/testdir/test_edit.vim,
4268 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4269
4270Patch 8.2.0671
4271Problem: Haiku: compiler warnings.
4272Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4273 closes #6018)
4274Files: .gitignore, src/gui.c, src/gui_haiku.cc
4275
4276Patch 8.2.0672
4277Problem: Heredoc in scripts does not accept lower case marker.
4278Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4279 closes #6019)
4280Files: src/evalvars.c, src/testdir/test_lua.vim,
4281 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4282 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4283 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4284
4285Patch 8.2.0673
4286Problem: Cannot build Haiku in shadow directory.
4287Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4288Files: src/Makefile
4289
4290Patch 8.2.0674
4291Problem: Some source files are too big.
4292Solution: Move text formatting functions to a new file. (Yegappan
4293 Lakshmanan, closes #6021)
4294Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4295 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4296 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4297 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4298 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4299
4300Patch 8.2.0675
4301Problem: Vim9: no support for closures.
4302Solution: Do not re-use stack entries.
4303Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4304 src/evalvars.c, src/proto/evalvars.pro
4305
4306Patch 8.2.0676
4307Problem: Pattern in list of distributed files does not match.
4308Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4309Files: Filelist
4310
4311Patch 8.2.0677
4312Problem: Vim9: no support for closures.
4313Solution: Find variables in the outer function scope, so long as the scope
4314 exists.
4315Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4316 src/vim9execute.c, src/structs.h, src/vim9.h,
4317 src/testdir/test_vim9_func.vim
4318
4319Patch 8.2.0678
4320Problem: Rare crash for popup menu.
4321Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4322Files: src/popupmenu.c
4323
4324Patch 8.2.0679
4325Problem: Vim9: incomplete support for closures.
4326Solution: At the end of a function copy arguments and local variables if
4327 they are still used by a referenced closure.
4328Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4329 src/testdir/test_vim9_func.vim
4330
4331Patch 8.2.0680
4332Problem: PTYGROUP and PTYMODE are unused.
4333Solution: Remove from autoconf. (closes #6024)
4334Files: src/configure.ac, src/auto/configure, src/config.h.in
4335
4336Patch 8.2.0681
4337Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4338Solution: Call end_search_hl() to make sure the previous pattern is freed.
4339 (closes #6028)
4340Files: src/screen.c
4341
4342Patch 8.2.0682
4343Problem: Vim9: parsing function argument type can get stuck.
4344Solution: Bail out when not making progress.
4345Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4346
4347Patch 8.2.0683
4348Problem: Vim9: parsing type does not always work.
4349Solution: Handle func type without return value. Test more closures.
4350 Fix type check offset. Fix garbage collection.
4351Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4352 src/userfunc.c, src/testdir/test_vim9_func.vim
4353
4354Patch 8.2.0684
4355Problem: Vim9: memory leak when using lambda.
4356Solution: Move the funccal context to the partial. Free the function when
4357 exiting.
4358Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4359 src/eval.c, src/testdir/test_vim9_func.vim
4360
4361Patch 8.2.0685 (after 8.2.0684)
4362Problem: Build failure.
4363Solution: Include missing changes.
4364Files: src/vim9compile.c
4365
4366Patch 8.2.0686
4367Problem: Formatoptions not sufficiently tested.
4368Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4369Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4370
4371Patch 8.2.0687
4372Problem: Some tests do not work on FreeBSD.
4373Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4374 closes #6036)
4375Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4376
4377Patch 8.2.0688
4378Problem: Output clobbered if setting 'verbose' to see shell commands.
4379Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4380Files: src/scriptfile.c, runtime/doc/options.txt
4381
4382Patch 8.2.0689
4383Problem: When using getaddrinfo() the error message is unclear.
4384Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4385 closes #6034)
4386Files: src/channel.c
4387
4388Patch 8.2.0690
4389Problem: Line number of option set by modeline is wrong.
4390Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4391Files: src/option.c, src/testdir/test_modeline.vim
4392
4393Patch 8.2.0691
4394Problem: Startup test fails.
4395Solution: Adjust expected output from -V2 argument.
4396Files: src/testdir/test_startup.vim
4397
4398Patch 8.2.0692
4399Problem: Startup test fails on MS-Windows.
4400Solution: Allow for any path.
4401Files: src/testdir/test_startup.vim
4402
4403Patch 8.2.0693
4404Problem: Closure using argument not tested.
4405Solution: Add a test, make it work.
4406Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4407
4408Patch 8.2.0694
4409Problem: Haiku: channel and terminal do not work.
4410Solution: Close files when the job has finished. (Ozaki Kiichi,
4411 closes #6039)
4412Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4413
4414Patch 8.2.0695
4415Problem: Vim9: cannot define a function inside a function.
4416Solution: Initial support for :def inside :def.
4417Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4418 src/vim9execute.c, src/testdir/test_vim9_func.vim
4419
4420Patch 8.2.0696
4421Problem: Vim9: nested function does not work properly
4422Solution: Create a function reference. Check argument count.
4423Files: src/vim9compile.c, src/vim9execute.c,
4424 src/testdir/test_vim9_func.vim
4425
4426Patch 8.2.0697
4427Problem: Vim9: memory leak when using nested function.
4428Solution: Unreference function when deleting instructions. Adjust reference
4429 count for local variables.
4430Files: src/vim9compile.c, src/vim9execute.c
4431
4432Patch 8.2.0698
4433Problem: Insert mode completion not fully tested.
4434Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4435Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4436 src/testdir/test_textformat.vim
4437
4438Patch 8.2.0699
4439Problem: Vim9: not all errors tested.
4440Solution: Add test for deleted function. Bail out on first error.
4441Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4442 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4443
4444Patch 8.2.0700
4445Problem: Vim9: converting error message to exception not tested.
4446Solution: Test exception from error. Do not continue after :echoerr.
4447Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4448
4449Patch 8.2.0701
4450Problem: Vim9 test fails without job feature.
4451Solution: Add feature check.
4452Files: src/testdir/test_vim9_script.vim
4453
4454Patch 8.2.0702
4455Problem: Running channel tests may leave running process behind.
4456Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4457 part of #6046)
4458Files: src/testdir/test_channel_pipe.py
4459
4460Patch 8.2.0703
4461Problem: Vim9: closure cannot store value in outer context.
4462Solution: Make storing value in outer context work. Make :disassemble
4463 accept a function reference.
4464Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4465 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4466 src/testdir/test_vim9_func.vim
4467
4468Patch 8.2.0704
4469Problem: Vim9: memory leak in disassemble test.
4470Solution: Decrement refcount when creating funccal.
4471Files: src/vim9execute.c
4472
4473Patch 8.2.0705
4474Problem: Indent tests don't run on CI for FreeBSD.
4475Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4476Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4477
4478Patch 8.2.0706
4479Problem: Vim9: using assert_fails() causes function to finish.
4480Solution: Check did_emsg instead of called_emsg.
4481Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4482 src/testdir/test_vim9_script.vim
4483
4484Patch 8.2.0707
4485Problem: Vim9 function test fails.
4486Solution: Adjust expected error code.
4487Files: src/testdir/test_vim9_func.vim
4488
4489Patch 8.2.0708
4490Problem: Vim9: constant expressions are not simplified.
4491Solution: Simplify string concatenation.
4492Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4493 src/testdir/test_vim9_expr.vim
4494
4495Patch 8.2.0709
4496Problem: MS-Windows: compiler warning for int vs size_t.
4497Solution: Add type cast. (Mike Williams)
4498Files: src/channel.c
4499
4500Patch 8.2.0710
4501Problem: Netbeans test sometimes fails.
4502Solution: Mark any test using an external command as flaky.
4503Files: src/testdir/shared.vim
4504
4505Patch 8.2.0711
4506Problem: With a long running Vim the temp directory might be cleared on
4507 some systems.
4508Solution: Lock the temp directory. (closes #6044)
4509Files: src/config.h.in, src/configure.ac, src/auto/configure,
4510 src/fileio.c, src/globals.h, src/os_unix.h
4511
4512Patch 8.2.0712
4513Problem: Various code not fully tested.
4514Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4515Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4516 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4517
4518Patch 8.2.0713
4519Problem: The pam_environment file is not recognized.
4520Solution: Add a filetype pattern for pamenv. (closes #6051)
4521Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4522
4523Patch 8.2.0714
4524Problem: Vim9: handling constant expression does not scale.
4525Solution: Use another solution, passing typval_T.
4526Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4527
4528Patch 8.2.0715
4529Problem: Vim9: leaking memory.
4530Solution: Free strings after concatenating them.
4531Files: src/vim9compile.c
4532
4533Patch 8.2.0716
4534Problem: Vim9: another memory leak.
4535Solution: Clear typval when failing.
4536Files: src/vim9compile.c
4537
4538Patch 8.2.0717
4539Problem: Vim9: postponed constant expressions does not scale.
4540Solution: Add a structure to pass around postponed constants.
4541Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4542
4543Patch 8.2.0718
4544Problem: Gcc warning for returning pointer to local variable. (John
4545 Marriott)
4546Solution: Return another pointer.
4547Files: src/evalvars.c
4548
4549Patch 8.2.0719
4550Problem: Vim9: more expressions can be evaluated at compile time
4551Solution: Recognize has('name').
4552Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4553 src/testdir/test_vim9_expr.vim
4554
4555Patch 8.2.0720
4556Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4557Solution: On an X error do not exit, do preserve files.
4558Files: src/os_unix.c
4559
4560Patch 8.2.0721
4561Problem: Vim9: leaking memory when skipping.
4562Solution: Disable skipping in generate_ppconst().
4563Files: src/vim9compile.c
4564
4565Patch 8.2.0722
4566Problem: Vim9: not handling constant expression for elseif.
4567Solution: Use postponed constants. Delete the code for evaluating a
4568 constant expression.
4569Files: src/vim9compile.c
4570
4571Patch 8.2.0723
4572Problem: Vim9: nested constant expression not evaluated compile time.
4573Solution: Use compile_expr1() for parenthesis.
4574Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4575
4576Patch 8.2.0724
4577Problem: Vim9: appending to buffer/window/tab variable not tested
4578Solution: Add a test.
4579Files: src/testdir/test_vim9_script.vim
4580
4581Patch 8.2.0725
4582Problem: Vim9: cannot call a function declared later in Vim9 script.
4583Solution: Make two passes through the script file.
4584Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
4585 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
4586 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
4587 src/proto/evalvars.pro, src/vim.h,
4588 src/testdir/test_vim9_disassemble.vim
4589
4590Patch 8.2.0726
4591Problem: Vim9: leaking memory when calling not compiled :def function.
4592Solution: Check if function is compiled earlier.
4593Files: src/vim9execute.c
4594
4595Patch 8.2.0727
4596Problem: MS-Windows: new gcc compiler does not support scanf format.
4597Solution: Use "%ll" instead of "%I". (Ken Takata)
4598Files: src/vim.h
4599
4600Patch 8.2.0728
4601Problem: Messages about a deadly signal are not left aligned.
4602Solution: Output a CR before the NL. (Dominique Pellé, #6055)
4603Files: src/misc1.c, src/os_unix.c
4604
4605Patch 8.2.0729
4606Problem: Vim9: When reloading a script variables are not cleared.
4607Solution: When sourcing a script again clear all script-local variables.
4608Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
4609 src/testdir/test_vim9_script.vim
4610
4611Patch 8.2.0730
4612Problem: Vim9: Assignment to dict member does not work.
4613Solution: Parse dict assignment. Implement getting dict member.
4614Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
4615 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
4616 src/testdir/test_vim9_script.vim
4617
4618Patch 8.2.0731
4619Problem: Vim9: parsing declarations continues after :finish.
4620Solution: Bail out when encountering :finish.
4621Files: src/vim9script.c, src/testdir/test_vim9_script.vim
4622
4623Patch 8.2.0732
4624Problem: Vim9: storing value in dict messes up stack.
4625Solution: Correct item count of stack.
4626Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
4627
4628Patch 8.2.0733
4629Problem: Vim9: assigning to dict or list argument does not work.
4630Solution: Recognize an argument as assignment target.
4631Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4632
4633Patch 8.2.0734
4634Problem: Vim9: leaking memory when using :finish.
4635Solution: Do not check for next line in third pass.
4636Files: src/scriptfile.c
4637
4638Patch 8.2.0735
4639Problem: Vim9: using uninitialized memory.
4640Solution: Clear the arg_lvar field.
4641Files: src/vim9compile.c
4642
4643Patch 8.2.0736
4644Problem: Some files not recognized as pamenv.
4645Solution: Add pam_inv.conf. (closes #6065)
4646Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4647
4648Patch 8.2.0737
4649Problem: When shell doesn't support CTRL-Z Vim still handles it.
4650Solution: Ignore the STOP signal if it was ignored on startup.
4651 (Kurtis Rader, closes #5990, closes #6058)
4652Files: src/os_unix.c
4653
4654Patch 8.2.0738
4655Problem: Mouse handling in a terminal window not well tested.
4656Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
4657Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
4658 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
4659
4660Patch 8.2.0739
4661Problem: Incomplete profiling when exiting because of a deadly signal.
4662Solution: Call __gcov_flush() if available.
4663Files: src/os_unix.c, src/Makefile, .travis.yml
4664
4665Patch 8.2.0740
4666Problem: Minor message mistakes.
4667Solution: Change vim to Vim and other fixes.
4668Files: src/if_py_both.h, src/if_tcl.c, src/main.c
4669
4670Patch 8.2.0741
4671Problem: Python tests fail because of changed message.
4672Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
4673Files: src/testdir/test86.ok, src/testdir/test87.ok
4674
4675Patch 8.2.0742
4676Problem: Handling of a TERM signal not tested.
4677Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
4678Files: src/testdir/test_signals.vim
4679
4680Patch 8.2.0743
4681Problem: Can move to another buffer from a terminal in popup window.
4682Solution: Do not allow "gf" or editing a file. (closes #6072)
4683Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
4684
4685Patch 8.2.0744
4686Problem: The name vim is not capitalized in a message.
4687Solution: Use "Vim" instead of "vim".
4688Files: src/main.c
4689
4690Patch 8.2.0745
4691Problem: Crash on exit when not all popups are closed.
4692Solution: Close popups when freeing all memory. Disable checking for popup
4693 when editing a file for now.
4694Files: src/misc2.c, src/ex_cmds.c
4695
4696Patch 8.2.0746
4697Problem: popup_clear() hangs when a popup can't be closed.
4698Solution: Bail out when a popup can't be closed.
4699Files: src/popupwin.c, src/proto/popupwin.pro
4700
4701Patch 8.2.0747
4702Problem: Cannot forcefully close all popups.
4703Solution: Add the "force" argument to popup_clear(). Use it after running a
4704 test. Put back the check for a popup when editing a file.
4705Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
4706 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
4707 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
4708 src/testdir/test_terminal.vim
4709
4710Patch 8.2.0748
4711Problem: Cannot get a list of all popups.
4712Solution: Add popup_list(). Use it in the test runner.
4713Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
4714 src/proto/popupwin.pro, src/evalfunc.c,
4715 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
4716
4717Patch 8.2.0749
4718Problem: TERM signal test fails on FreeBSD.
4719Solution: Do not check the messages, the may appear anywhere. (Dominique
4720 Pellé, closes #6075)
4721Files: src/testdir/test_signals.vim
4722
4723Patch 8.2.0750
4724Problem: Netbeans test is a bit flaky.
4725Solution: Allow for standard sign to be defined. Use WaitForAssert().
4726Files: src/testdir/test_netbeans.vim
4727
4728Patch 8.2.0751
4729Problem: Vim9: performance can be improved.
4730Solution: Don't call break. Inline check for list materialize. Make an
4731 inline version of ga_grow().
4732Files: src/macros.h, src/evalfunc.c, src/misc2.c,
4733 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
4734 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
4735 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
4736 src/userfunc.c, src/if_py_both.h
4737
4738Patch 8.2.0752
4739Problem: Terminal in popup window test is a bit flaky.
4740Solution: Wait for shell job status to be "run". Mark as flaky test.
4741Files: src/testdir/test_popupwin.vim
4742
4743Patch 8.2.0753
4744Problem: Vim9: expressions are evaluated in the discovery phase.
4745Solution: Bail out if an expression is not a constant. Require a type for
4746 declared constants.
4747Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
4748 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
4749 src/vim9compile.c, src/testdir/test_vim9_script.vim,
4750 src/testdir/test_vim9_disassemble.vim
4751
4752Patch 8.2.0754
4753Problem: Vim9: No test for forward declaration.
4754Solution: Add a test.
4755Files: src/testdir/test_vim9_script.vim
4756
4757Patch 8.2.0755
4758Problem: Vim9: No error when variable initializer is not a constant.
4759Solution: Return FAIL when trying to get a variable value. Do not execute a
4760 script when an error is detected in the first or second phase.
4761Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
4762
4763Patch 8.2.0756 (after 8.2.0249)
4764Problem: MS-Windows: still a compiler warning.
4765Solution: Move flag to another place in the Makefile. (Ken Takata,
4766 closes #6083)
4767Files: src/Make_mvc.mak
4768
4769Patch 8.2.0757
4770Problem: Vim9: no test for MEMBER instruction.
4771Solution: Add a test. Make matches stricter.
4772Files: src/testdir/test_vim9_disassemble.vim
4773
4774Patch 8.2.0758
4775Problem: Vim9: no test for STORELIST and STOREDICT.
4776Solution: Add a test. Make matches stricter.
4777Files: src/testdir/test_vim9_disassemble.vim
4778
4779Patch 8.2.0759 (after 8.2.0751)
4780Problem: Vim9: missing changes for performance improvements
4781Solution: Use GA_GROW(). Don't call breakcheck so often.
4782Files: src/vim9execute.c
4783
4784Patch 8.2.0760
4785Problem: Vim9: dict member errors not tested.
4786Solution: Delete unreachable error. Add tests.
4787Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
4788
4789Patch 8.2.0761
4790Problem: Vim9: instructions not tested
4791Solution: Use a variable instead of a constant.
4792Files: src/testdir/test_vim9_expr.vim
4793
4794Patch 8.2.0762
4795Problem: Buffer is not considered modified after setting crypt key.
4796Solution: Set the modified flag. (Christian Brabandt, closes #6082)
4797Files: src/optionstr.c, src/testdir/test_crypt.vim
4798
4799Patch 8.2.0763
4800Problem: GUI test fails without the terminal feature.
4801Solution: Check the terminal feature is supported. (Ken Takata,
4802 closes #6084)
4803Files: src/testdir/test_gui.vim
4804
4805Patch 8.2.0764
4806Problem: Vim9: assigning to option not fully tested.
4807Solution: Add more test cases. Allow using any type for assignment.
4808Files: src/vim9compile.c, src/vim9execute.c,
4809 src/testdir/test_vim9_script.vim
4810
4811Patch 8.2.0765
4812Problem: In the GUI can't use all the modifiers. (Andri Möll)
4813Solution: Do not apply Alt/Meta early, do it later like with the terminal.
4814 Avoid the Motif test from crashing.
4815Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
4816 src/gui_motif.c
4817
4818Patch 8.2.0766
4819Problem: Display error when using 'number' and 'breakindent'.
4820Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
4821 closes #5986)
4822Files: src/drawline.c, src/testdir/test_breakindent.vim
4823
4824Patch 8.2.0767
4825Problem: ModifyOtherKeys active when using a shell command in autocmd.
4826Solution: Output T_CTE when going to cooked mode. (closes 5617)
4827Files: src/term.c
4828
4829Patch 8.2.0768
4830Problem: Vim9: memory leak in script test.
4831Solution: Clear typval before giving an error message.
4832Files: src/vim9execute.c
4833
4834Patch 8.2.0769
4835Problem: VimLeavePre not triggered when Vim is terminated.
4836Solution: Unblock autocommands.
4837Files: src/main.c, src/testdir/test_signals.vim
4838
4839Patch 8.2.0770
4840Problem: Cannot map CTRL-B when using the GUI.
4841Solution: Reset the CTRL modifier when used. (closes #6092)
4842Files: src/gui_gtk_x11.c
4843
4844Patch 8.2.0771
4845Problem: Vim9: cannot call a compiled closure from not compiled code.
4846Solution: Pass funcexe to call_user_func().
4847Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
4848 src/eval.c, src/testdir/test_vim9_func.vim
4849
4850Patch 8.2.0772
4851Problem: Vim9: some variable initializations not tested.
4852Solution: Add a few more tests
4853Files: src/testdir/test_vim9_script.vim
4854
4855Patch 8.2.0773
4856Problem: Switching to raw mode every time ":" is used.
4857Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
4858 next time TMODE_RAW is used it is set, but not every time.
4859Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
4860 src/os_win32.c
4861
4862Patch 8.2.0774
4863Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
4864 Pellé)
4865Solution: Do not change the terminal mode for a short sleep. Do not output
4866 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
4867 enum.
4868Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
4869 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
4870 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
4871 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
4872
4873Patch 8.2.0775
4874Problem: Not easy to call a Vim function from Lua.
4875Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
4876Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
4877
4878Patch 8.2.0776
4879Problem: Libvterm code lags behind the upstream version.
4880Solution: Include revision 719.
4881Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
4882 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
4883 src/libvterm/src/unicode.c
4884
4885Patch 8.2.0777 (after 8.2.0776)
4886Problem: Terminal test fails.
4887Solution: Adjust character position for double-wide characters.
4888Files: src/testdir/test_terminal.vim
4889
4890Patch 8.2.0778
4891Problem: Libvterm code lags behind the upstream version.
4892Solution: Include revisions 720 - 723.
4893Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
4894 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
4895 src/libvterm/t/92lp1805050.test
4896
4897Patch 8.2.0779
4898Problem: Tmode_T not used everywhere.
4899Solution: Also use tmode_T for settmode().
4900Files: src/term.c, src/proto/term.pro
4901
4902Patch 8.2.0780
4903Problem: Libvterm code lags behind the upstream version.
4904Solution: Include revisions 724 - 726.
4905Files: Filelist, src/libvterm/t/40screen_ascii.test,
4906 src/libvterm/t/60screen_ascii.test,
4907 src/libvterm/t/41screen_unicode.test,
4908 src/libvterm/t/61screen_unicode.test,
4909 src/libvterm/t/42screen_damage.test,
4910 src/libvterm/t/62screen_damage.test,
4911 src/libvterm/t/43screen_resize.test,
4912 src/libvterm/t/63screen_resize.test,
4913 src/libvterm/t/44screen_pen.test,
4914 src/libvterm/t/64screen_pen.test,
4915 src/libvterm/t/45screen_protect.test,
4916 src/libvterm/t/65screen_protect.test,
4917 src/libvterm/t/46screen_extent.test,
4918 src/libvterm/t/66screen_extent.test,
4919 src/libvterm/t/47screen_dbl_wh.test,
4920 src/libvterm/t/67screen_dbl_wh.test,
4921 src/libvterm/t/48screen_termprops.test,
4922 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
4923 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
4924 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
4925
4926Patch 8.2.0781 (after 8.2.0775)
4927Problem: Compiler warning for not using value in Lua.
4928Solution: Add "(void)".
4929Files: src/if_lua.c
4930
4931Patch 8.2.0782
4932Problem: Cannot build with Lua on MS-Windows.
4933Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
4934Files: src/if_lua.c
4935
4936Patch 8.2.0783
4937Problem: Libvterm code lags behind the upstream version.
4938Solution: Include revisions 728 - 729.
4939Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
4940 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
4941 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
4942 src/libvterm/src/vterm_internal.h,
4943 src/libvterm/t/26state_query.test
4944
4945Patch 8.2.0784
4946Problem: Libvterm code lags behind the upstream version.
4947Solution: Include revisions 730 - 733.
4948Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
4949 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
4950 src/libvterm/t/harness.c
4951
4952Patch 8.2.0785
4953Problem: Libvterm code lags behind the upstream version.
4954Solution: Include revisions 734 - 740.
4955Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
4956 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
4957 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
4958 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
4959
4960Patch 8.2.0786
4961Problem: Channel test is flaky on FreeBSD.
4962Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
4963 netbeans test. (Ozaki Kiichi, closes #6097)
4964Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
4965
4966Patch 8.2.0787
4967Problem: Libvterm code lags behind the upstream version.
4968Solution: Include revisions 741 - 742.
4969Files: Filelist, src/libvterm/src/screen.c
4970
4971Patch 8.2.0788
4972Problem: Memory leak in libvterm.
4973Solution: free tmpbuffer.
4974Files: src/libvterm/src/vterm.c
4975
4976Patch 8.2.0789
4977Problem: Vim9: expression testing lost coverage using constants.
4978Solution: Use a few variables instead of constants.
4979Files: src/testdir/test_vim9_expr.vim
4980
4981Patch 8.2.0790
4982Problem: Vim9: list index not well tested.
4983Solution: Add a few more tests.
4984Files: src/testdir/test_vim9_script.vim
4985
4986Patch 8.2.0791
4987Problem: A second popup window with terminal causes trouble.
4988Solution: Disallow opening a second terminal-popup window. (closes #6101,
4989 closes #6103) Avoid defaulting to an invalid line number.
4990Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
4991 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
4992
4993Patch 8.2.0792
4994Problem: Build failure with small features.
4995Solution: Add #ifdef.
4996Files: src/popupwin.c
4997
4998Patch 8.2.0793
4999Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5000Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5001Files: src/os_win32.c
5002
5003Patch 8.2.0794
5004Problem: Libvterm code lags behind the upstream version.
5005Solution: Include revisions 743 - 747.
5006Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5007 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5008 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5009
5010Patch 8.2.0795
5011Problem: Libvterm code lags behind the upstream version.
5012Solution: Include revisions 748 - 754.
5013Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5014 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5015 src/libvterm/t/60screen_ascii.test,
5016 src/libvterm/t/62screen_damage.test,
5017 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5018 src/libvterm/t/run-test.pl
5019
5020Patch 8.2.0796
5021Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5022Solution: Change to C90 construct.
5023Files: src/libvterm/src/state.c
5024
5025Patch 8.2.0797
5026Problem: MS-Windows: compiler still can't handle C99 construct.
5027Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5028Files: src/libvterm/src/state.c
5029
5030Patch 8.2.0798
5031Problem: Libvterm code lags behind the upstream version.
5032Solution: Include revisions 755 - 758.
5033Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5034 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5035 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5036 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5037 src/libvterm/t/02parser.test,
5038 src/libvterm/t/18state_termprops.test,
5039 src/libvterm/t/29state_fallback.test,
5040 src/libvterm/t/68screen_termprops.test, src/terminal.c
5041
5042Patch 8.2.0799
5043Problem: Build fails if snprintf is not available.
5044Solution: Use vim_snprintf().
5045Files: src/libvterm/src/state.c
5046
5047Patch 8.2.0800
5048Problem: Errors from failing test are unclear.
5049Solution: Include text where parsing failed.
5050Files: src/json.c, src/testdir/test_json.vim
5051
5052Patch 8.2.0801
5053Problem: Terminal test fails on Mac.
5054Solution: Concatenate OSC pieces.
5055Files: src/terminal.c
5056
5057Patch 8.2.0802
5058Problem: Libvterm code lags behind the upstream version.
5059Solution: Include revisions 759 - 762.
5060Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5061 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5062 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5063 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5064 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5065
5066Patch 8.2.0803
5067Problem: Libvterm code lags behind the upstream version.
5068Solution: Include revisions 764 - 767
5069Files: src/Makefile, src/libvterm/src/parser.c,
5070 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5071 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5072 src/libvterm/src/fullwidth.inc
5073
5074Patch 8.2.0804
5075Problem: Libvterm code lags behind the upstream version.
5076Solution: Include revision 727, but add the index instead of switching
5077 between RGB and indexed.
5078Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
5079 src/libvterm/src/pen.c src/libvterm/src/screen.c
5080 src/libvterm/src/vterm_internal.h src/libvterm/t/30state_pen.test
5081 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5082 src/libvterm/t/26state_query.test,
5083 src/libvterm/t/64screen_pen.test
5084
5085Patch 8.2.0805
5086Problem: Terminal key codes test fails on some systems.
5087Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5088Files: src/testdir/test_terminal.vim
5089
5090Patch 8.2.0806
5091Problem: using "func!" after vim9script gives confusing error.
5092Solution: Give E477. (closes #6107)
5093Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5094
5095Patch 8.2.0807
5096Problem: Cannot easily restore a mapping.
5097Solution: Add mapset().
5098Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5099 src/testdir/test_maparg.vim
5100
5101Patch 8.2.0808
5102Problem: Not enough testing for the terminal window.
5103Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5104 leak.
5105Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5106 src/terminal.c
5107
5108Patch 8.2.0809
5109Problem: Build failure with small features. (Tony Mechelynck)
5110Solution: Move "expr" inside #ifdef.
5111Files: src/map.c
5112
5113Patch 8.2.0810
5114Problem: Error when appending "tagfile" to 'wildoptions'.
5115Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5116 closes #6105)
5117Files: src/optiondefs.h, src/testdir/test_options.vim
5118
5119Patch 8.2.0811
5120Problem: Terminal keycode test is flaky.
5121Solution: Use WaitForAssert()
5122Files: src/testdir/test_terminal.vim
5123
5124Patch 8.2.0812
5125Problem: mapset() does not properly handle <> notation.
5126Solution: Convert <> codes. (closes #6116)
5127Files: src/map.c, src/testdir/test_maparg.vim
5128
5129Patch 8.2.0813
5130Problem: libvterm code is slightly different from upstream.
5131Solution: Use upstream text to avoid future merge problems. Mainly comment
5132 style changes.
5133Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5134 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5135 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5136 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5137 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5138 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5139 src/libvterm/src/vterm.c
5140
5141Patch 8.2.0814
5142Problem: Clang warning for implicit conversion.
5143Solution: Add type cast. (Dominique Pellé, closes #6124)
5144Files: src/evalfunc.c
5145
5146Patch 8.2.0815
5147Problem: maparg() does not provide enough information for mapset().
5148Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5149Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5150
5151Patch 8.2.0816
5152Problem: Terminal test fails when compiled with Athena.
5153Solution: Do give an error when the GUI is not running. (hint by Dominique
5154 Pellé, closes #5928, closes #6132)
5155Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5156 src/testdir/test_terminal.vim
5157
5158Patch 8.2.0817
5159Problem: Not enough memory allocated when converting string with special
5160 character.
5161Solution: Reserve space for modifier code. (closes #6130)
5162Files: src/eval.c, src/testdir/test_functions.vim
5163
5164Patch 8.2.0818
5165Problem: Vim9: using a discovery phase doesn't work well.
5166Solution: Remove the discovery phase, instead compile a function only when
5167 it is used. Add :defcompile to compile def functions earlier.
5168Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5169 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5170 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5171 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5172 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
5173 src/testdir/test_vim9_disassemble.vim
5174 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5175
5176Patch 8.2.0819
5177Problem: Compiler warning for unused variable.
5178Solution: Remove the variable.
5179Files: src/evalvars.c
5180
5181Patch 8.2.0820
5182Problem: Vim9: function type isn't set until compiled.
5183Solution: Set function type early.
5184Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5185 src/testdir/test_vim9_func.vim
5186
5187Patch 8.2.0821
5188Problem: Vim9: memory leak in expr test.
5189Solution: Do not decrement the length of the list of functions if the
5190 current function is not at the end.
5191Files: src/vim9compile.c
5192
5193Patch 8.2.0822
5194Problem: Vim9: code left over from discovery phase.
5195Solution: Remove the dead code.
5196Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5197 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5198
5199Patch 8.2.0823
5200Problem: Vim9: script reload test is disabled.
5201Solution: Compile a function in the context of the script where it was
5202 defined. Set execution stack for compiled function. Add a test
5203 that an error is reported for the right file/function.
5204Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5205 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5206 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5207 src/testdir/test_vim9_script.vim
5208
5209Patch 8.2.0824 (after 8.2.0817)
5210Problem: Still not enough memory allocated when converting string with
5211 special character.
5212Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5213Files: src/eval.c, src/testdir/test_functions.vim
5214
5215Patch 8.2.0825
5216Problem: def_function() may return pointer that was freed.
5217Solution: Set "fp" to NULL after freeing it.
5218Files: src/userfunc.c
5219
5220Patch 8.2.0826
5221Problem: Vim9: crash in :defcompile.
5222Solution: Restart the loop after a call to compile_def_function() caused the
5223 hash table to resize.
5224Files: src/userfunc.c
5225
5226Patch 8.2.0827
5227Problem: Vim9: crash in :defcompile.
5228Solution: Fix off-by-one error.
5229Files: src/userfunc.c
5230
5231Patch 8.2.0828
5232Problem: Travis: regexp pattern doesn't work everywhere.
5233Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5234Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5235 ci/config.mk.sed, src/if_ruby.c
5236
5237Patch 8.2.0829
5238Problem: filter() may give misleading error message.
5239Solution: Also mention Blob as an allowed argument.
5240Files: src/list.c, src/testdir/test_filter_map.vim
5241
5242Patch 8.2.0830
5243Problem: Motif: can't map "!". (Ben Jackson)
5244Solution: Remove the shift modifier if it's already included in the key.
5245 (closes #6147)
5246Files: src/gui_x11.c
5247
5248Patch 8.2.0831
5249Problem: Compiler warnings for integer sizes.
5250Solution: Add type casts. (Mike Williams)
5251Files: src/libvterm/src/pen.c, src/terminal.c
5252
5253Patch 8.2.0832
5254Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5255Solution: Add initial value.
5256Files: src/map.c
5257
5258Patch 8.2.0833
5259Problem: Mapping <C-bslash> doesn't work in the GUI.
5260Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5261Files: src/gui.c
5262
5263Patch 8.2.0834
5264Problem: :drop command in terminal popup causes problems.
5265Solution: Check for using a popup window. (closes #6151)
5266Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5267
5268Patch 8.2.0835
5269Problem: Motif: mapping <C-bslash> still doesn't work.
5270Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5271 early. (closes #6150)
5272Files: src/getchar.c, src/gui_x11.c
5273
5274Patch 8.2.0836
5275Problem: Not all :cdo output is visible.
5276Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5277Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5278
5279Patch 8.2.0837
5280Problem: Compiler warning for value set but not used.
5281Solution: Move variable inside #ifdef.
5282Files: src/channel.c
5283
5284Patch 8.2.0838
5285Problem: MS-Windows: compiler warning for uninitialized variables.
5286Solution: Initialize variables.
5287Files: src/screen.c
5288
5289Patch 8.2.0839
5290Problem: Dropping modifier when putting a character back in typeahead.
5291Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5292Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5293 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5294
5295Patch 8.2.0840
5296Problem: Search match count wrong when only match is in fold.
5297Solution: Update search stats when in a closed fold. (Christian Brabandt,
5298 closes #6160, closes #6152)
5299Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5300 src/testdir/test_search_stat.vim
5301
5302Patch 8.2.0841
5303Problem: 'verbose' value 16 causes duplicate output.
5304Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5305 closes #6153)
5306Files: runtime/doc/options.txt, src/ex_docmd.c
5307
5308Patch 8.2.0842 (after 8.2.0837)
5309Problem: MS-Windows: channel tests fail.
5310Solution: Adjust #ifdefs. (closes #6162)
5311Files: src/channel.c
5312
5313Patch 8.2.0843
5314Problem: Filetype elm not detected.
5315Solution: Recognize *.elm files. (closes #6157)
5316Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5317
5318Patch 8.2.0844
5319Problem: Text properties crossing lines not handled correctly.
5320Solution: When saving for undo include an extra line when needed and do not
5321 adjust properties when undoing. (Axel Forsman, closes #5875)
5322Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5323
5324Patch 8.2.0845
5325Problem: Text properties crossing lines not handled correctly.
5326Solution: When joining lines merge text properties if possible.
5327 (Axel Forsman, closes #5839, closes #5683)
5328Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5329 src/proto/textprop.pro, src/textprop.c,
5330 src/testdir/dumps/Test_textprop_01.dump
5331
5332Patch 8.2.0846
5333Problem: Build failure with small features.
5334Solution: Add #ifdef.
5335Files: src/undo.c
5336
5337Patch 8.2.0847
5338Problem: Typval related code is spread out.
5339Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5340Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5341 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5342 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5343 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5344 src/typval.c
5345
5346Patch 8.2.0848
5347Problem: MS-Windows: the Windows terminal code has some flaws.
5348Solution: Do not redraw the right edge of the screen. Remove the background
5349 color trick. Flush the screen output buffer often. (Nobuhiro
5350 Takasaki, #5546)
5351Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5352
5353Patch 8.2.0849
5354Problem: BeOS code is not maintained and probably unused.
5355Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5356Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5357 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5358 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5359 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5360 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5361
5362Patch 8.2.0850
5363Problem: MS-Windows: exepath() works differently from cmd.exe.
5364Solution: Make exepath() work better on MS-Windows. (closes #6115)
5365Files: runtime/doc/eval.txt, src/os_win32.c,
5366 src/testdir/test_functions.vim
5367
5368Patch 8.2.0851 (after 8.2.0833)
5369Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5370Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5371Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5372
5373Patch 8.2.0852
5374Problem: Cannot map CTRL-S on some systems.
5375Solution: Do not use CTRL-S for flow control.
5376Files: src/os_unix.c
5377
5378Patch 8.2.0853
5379Problem: ml_delete() often called with FALSE argument.
5380Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5381Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5382 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5383 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5384 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5385 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5386 src/proto/memline.pro
5387
5388Patch 8.2.0854
5389Problem: Xxd cannot show offset as a decimal number.
5390Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5391Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5392
5393Patch 8.2.0855
5394Problem: GUI tests fail because the test doesn't use a modifier.
5395Solution: Add "\{xxx}" to be able to encode a modifier.
5396Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5397 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5398 src/term.c, src/testdir/test_backspace_opt.vim,
5399 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5400
5401Patch 8.2.0856 (after 8.2.0852)
5402Problem: CTRL-S stops output.
5403Solution: Invert the IXON flag. (closes #6166)
5404Files: src/os_unix.c
5405
5406Patch 8.2.0857
5407Problem: GTK cell height can be a pixel too much.
5408Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5409Files: src/gui_gtk_x11.c
5410
5411Patch 8.2.0858
5412Problem: Not easy to require Lua modules.
5413Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5414Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5415 src/testdir/test_lua.vim,
5416 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5417 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5418
5419Patch 8.2.0859
5420Problem: No Turkish translation of the manual.
5421Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5422Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5423 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5424 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5425 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5426 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5427
5428Patch 8.2.0860
5429Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5430Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5431Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5432 src/testdir/test_increment.vim
5433
5434Patch 8.2.0861
5435Problem: Cannot easily get all the current marks.
5436Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5437Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5438 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5439
5440Patch 8.2.0862
5441Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5442 Hennepe)
5443Solution: Do not hide the current buffer. (closes #6170)
5444Files: src/terminal.c, src/testdir/test_terminal.vim
5445
5446Patch 8.2.0863
5447Problem: Cannot set a separate color for underline/undercurl.
5448Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5449Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5450 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5451 src/screen.c, src/structs.h, src/term.c, src/term.h,
5452 src/testdir/test_options.vim
5453
5454Patch 8.2.0864
5455Problem: Pragmas are indented all the way to the left.
5456Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5457 closes #5468)
5458Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5459 src/testdir/test_cindent.vim
5460
5461Patch 8.2.0865
5462Problem: Syntax foldlevel is taken from the start of the line.
5463Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5464 the line. (Brad King, closes #6087)
5465Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5466 src/testdir/test_syntax.vim
5467
5468Patch 8.2.0866
5469Problem: Not enough tests for buffer writing.
5470Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5471 (Yegappan Lakshmanan, closes #6167)
5472Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5473 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5474 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5475 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5476 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5477 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5478 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5479 src/testdir/test_writefile.vim
5480
5481Patch 8.2.0867
5482Problem: Using \{xxx} for encoding a modifier is not nice.
5483Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5484 different code.
5485Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5486 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5487 src/testdir/test_messages.vim
5488
5489Patch 8.2.0868
5490Problem: trim() always trims both ends.
5491Solution: Add an argument to only trim the beginning or end. (Yegappan
5492 Lakshmanan, closes #6126)
5493Files: runtime/doc/eval.txt, src/evalfunc.c,
5494 src/testdir/test_functions.vim
5495
5496Patch 8.2.0869
5497Problem: It is not possible to customize the quickfix window contents.
5498Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5499Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5500 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5501 src/quickfix.c, src/testdir/test_quickfix.vim
5502
5503Patch 8.2.0870
5504Problem: MS-Windows: Control keys don't work in the GUI.
5505Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5506 closes #6175)
5507Files: src/gui.c
5508
5509Patch 8.2.0871
5510Problem: Cannot use getmarklist() as a method.
5511Solution: Make getmarklist() work as a method. Add one to the column
5512 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5513Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5514 src/testdir/test_marks.vim
5515
5516Patch 8.2.0872
5517Problem: XIM code is mixed with multibyte code.
5518Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5519 closes #6177)
5520Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5521 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5522 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5523 src/proto/mbyte.pro
5524
5525Patch 8.2.0873
5526Problem: A .jl file can be sawfish (lisp) or Julia.
5527Solution: Do not recognize *.jl as lisp, since it might be Julia.
5528 (closes #6178)
5529Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5530
5531Patch 8.2.0874
5532Problem: Signals test is a bit flaky.
5533Solution: Flush the XautoOut file. Delete files that may be left behind
5534 from a failure. (Dominique Pellé, closes #6179)
5535Files: src/testdir/test_signals.vim
5536
5537Patch 8.2.0875
5538Problem: Getting attributes for directory entries is slow.
5539Solution: Add readdirex(). (Ken Takata, closes #5619)
5540Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5541 src/fileio.c, src/filepath.c src/proto/fileio.pro,
5542 src/proto/filepath.pro, src/testdir/test_functions.vim
5543
5544Patch 8.2.0876
5545Problem: :pwd does not give a hint about the scope of the directory
5546Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5547Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5548
5549Patch 8.2.0877
5550Problem: Cannot get the search statistics.
5551Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5552Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5553 src/proto/search.pro, src/search.c,
5554 src/testdir/test_search_stat.vim
5555
5556Patch 8.2.0878
5557Problem: No reduce() function.
5558Solution: Add a reduce() function. (closes #5481)
5559Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5560 src/proto/list.pro, src/testdir/test_listdict.vim
5561
5562Patch 8.2.0879
5563Problem: Compiler warning for unused function argument.
5564Solution: Add UNUSED.
5565Files: src/search.c
5566
5567Patch 8.2.0880 (after 8.2.0877)
5568Problem: Leaking memory when using searchcount().
5569Solution: Free the last used search pattern.
5570Files: src/search.c
5571
5572Patch 8.2.0881
5573Problem: Compiler warning for argument type.
5574Solution: Add type cast. (Mike Williams)
5575Files: src/ops.c
5576
5577Patch 8.2.0882
5578Problem: Leaking memory when using reduce().
5579Solution: Free the intermediate value.
5580Files: src/list.c
5581
5582Patch 8.2.0883
5583Problem: Memory leak in test 49.
5584Solution: Free "sfile" from the exception.
5585Files: src/ex_docmd.c
5586
5587Patch 8.2.0884
5588Problem: Searchcount() test fails on slower systems.
5589Solution: Set a longer timeout.
5590Files: src/search.c, src/testdir/test_search_stat.vim
5591
5592Patch 8.2.0885
5593Problem: "make shadow" does not link new lua test dir.
5594Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
5595Files: src/Makefile
5596
5597Patch 8.2.0886
5598Problem: Cannot use octal numbers in scriptversion 4.
5599Solution: Add the "0o" notation. (Ken Takata, closes #5304)
5600Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
5601 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
5602 src/vim.h
5603
5604Patch 8.2.0887
5605Problem: Searchcount().exact_match is 1 right after a match.
5606Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
5607Files: src/search.c, src/testdir/test_search_stat.vim
5608
5609Patch 8.2.0888
5610Problem: Readdirex() returns size -2 for a directory.
5611Solution: Add missing "else". (Ken Takata, closes #6185)
5612Files: src/fileio.c, src/testdir/test_functions.vim
5613
5614Patch 8.2.0889
5615Problem: Using old style comments.
5616Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
5617Files: src/gui_xim.c
5618
5619Patch 8.2.0890
5620Problem: No color in terminal window when 'termguicolors' is set.
5621Solution: Clear the underline color. (closes #6186)
5622Files: src/highlight.c
5623
5624Patch 8.2.0891
5625Problem: Clang warns for invalid conversion.
5626Solution: Use zero instead of INVALCOLOR.
5627Files: src/highlight.c
5628
5629Patch 8.2.0892
5630Problem: Ubsan warns for undefined behavior.
5631Solution: Use unsigned instead of signed variable. (Dominique Pellé,
5632 closes #6193)
5633Files: src/regexp_nfa.c
5634
5635Patch 8.2.0893
5636Problem: Assert_equalfile() does not take a third argument.
5637Solution: Implement the third argument. (Gary Johnson)
5638Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
5639 src/testdir/test_assert.vim, src/testing.c
5640
5641Patch 8.2.0894
5642Problem: :mkspell can take very long if the word count is high.
5643Solution: Use long to avoid negative numbers. Increase the limits by 20% if
5644 the compression did not have effect.
5645Files: src/spellfile.c
5646
5647Patch 8.2.0895
5648Problem: :mkspell output does not mention the tree type.
5649Solution: Back out increasing the limits, it has no effect. Mention the
5650 tree being compressed. Only give a message once per second.
5651Files: src/spellfile.c
5652
5653Patch 8.2.0896
5654Problem: Crash when calling searchcount() with a string.
5655Solution: Check the argument is a dict. (closes #6192)
5656Files: src/search.c, src/testdir/test_search_stat.vim
5657
5658Patch 8.2.0897
5659Problem: List of functions in patched version is outdated.
5660Solution: Update the function lists only.
5661Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
5662
5663Patch 8.2.0898
5664Problem: Missing help for a function goes unnoticed.
5665Solution: Add a test. (Gary Johnson)
5666Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
5667
5668Patch 8.2.0899
5669Problem: Assert_equalfile() does not give a hint about the difference.
5670Solution: Display the last seen text.
5671Files: src/testing.c, src/testdir/test_assert.vim
5672
5673Patch 8.2.0900
5674Problem: Function list test fails on MS-Windows.
5675Solution: Make sure the fileformat is "unix"
5676Files: src/testdir/test_function_lists.vim
5677
5678Patch 8.2.0901
5679Problem: Formatting CJK text isn't optimal.
5680Solution: Properly break CJK lines. (closes #3875)
5681Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
5682 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
5683 src/testdir/test_cjk_linebreak.vim
5684
5685Patch 8.2.0902
5686Problem: Using searchcount() in 'statusline' causes an error.
5687Solution: Avoid saving/restoring the search pattern recursively.
5688 (closes #6194)
5689Files: src/search.c, src/testdir/test_search_stat.vim,
5690 src/testdir/dumps/Test_searchstat_4.dump
5691
5692Patch 8.2.0903
5693Problem: comparing WINVER does not work correctly.
5694Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
5695Files: src/Make_cyg_ming.mak
5696
5697Patch 8.2.0904
5698Problem: Assuming modifyOtherKeys for rhs of mapping.
5699Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
5700Files: src/getchar.c, src/testdir/test_gui.vim
5701
5702Patch 8.2.0905
5703Problem: Test coverage could be better.
5704Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
5705Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
5706
5707Patch 8.2.0906
5708Problem: When setting 'termguicolors' SpellBad is no longer red.
5709Solution: Only use the RGB guisp color for cterm when using the "underline"
5710 or "undercurl" attributes to avoid the background color to be
5711 cleared. Also make t_8u empty when the termresponse indicates a
5712 real xterm. (closes #6207)
5713Files: src/highlight.c, src/term.c
5714
5715Patch 8.2.0907
5716Problem: When using :global clipboard isn't set correctly.
5717Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
5718 Brabandt, closes #6203, closes #6198)
5719Files: src/clipboard.c, src/testdir/test_global.vim
5720
5721Patch 8.2.0908
5722Problem: Crash when changing the function table while listing it.
5723Solution: Bail out when the function table changes. (closes #6209)
5724Files: src/userfunc.c, src/testdir/test_timers.vim
5725
5726Patch 8.2.0909
5727Problem: Cannot go back to the previous local directory.
5728Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
5729Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
5730 src/structs.h, src/testdir/test_cd.vim, src/window.c
5731
5732Patch 8.2.0910
5733Problem: Vim is not reproducibly buildable.
5734Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
5735 (James McCoy, closes #513) Give a warning about using it.
5736Files: src/config.h.in, src/config.mk.in, src/configure.ac,
5737 src/auto/configure, src/version.c, src/Makefile
5738
5739Patch 8.2.0911
5740Problem: Crash when opening a buffer for the cmdline window fails. (Chris
5741 Barber)
5742Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
5743 more prompt. (closes #6211)
5744Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
5745 src/testdir/dumps/Test_cmdwin_interrupted.dump
5746
5747Patch 8.2.0912
5748Problem: A few test cases for CJK formatting are disabled.
5749Solution: Fix the tests and enable them. (closes #6212)
5750Files: src/testdir/test_cjk_linebreak.vim
5751
5752Patch 8.2.0913
5753Problem: Code for resetting v:register is duplicated.
5754Solution: Add reset_reg_var().
5755Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
5756
5757Patch 8.2.0914
5758Problem: MS-Windows: cannot specify a "modified by" text.
5759Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
5760Files: src/Make_mvc.mak
5761
5762Patch 8.2.0915
5763Problem: Search() cannot skip over matches like searchpair() can.
5764Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
5765Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
5766 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
5767
5768Patch 8.2.0916
5769Problem: Mapping with partly modifyOtherKeys code does not work.
5770Solution: If there is no mapping with a separate modifier include the
5771 modifier in the key and then try mapping again. (closes #6200)
5772Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
5773 src/proto/term.pro, src/testdir/test_termcodes.vim
5774
5775Patch 8.2.0917
5776Problem: Quickfix entries do not support a "note" type.
5777Solution: Add support for "note". (partly by Yegappan Lakshmanan,
5778 closes #5527, closes #6216)
5779Files: runtime/doc/quickfix.txt, src/quickfix.c,
5780 src/testdir/test_quickfix.vim
5781
5782Patch 8.2.0918
5783Problem: Duplicate code for evaluating expression argument.
5784Solution: Merge the code and make the use more flexible.
5785Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
5786 src/proto/evalvars.pro, src/structs.h
5787
5788Patch 8.2.0919
5789Problem: Merging modifier for modifyOtherKeys is done twice.
5790Solution: Remove the merging done in vgetc().
5791Files: src/getchar.c, src/ex_getln.c
5792
5793Patch 8.2.0920
5794Problem: Writing viminfo fails with a circular reference.
5795Solution: Use copyID to detect the cycle. (closes #6217)
5796Files: src/testdir/test_viminfo.vim, src/viminfo.c
5797
5798Patch 8.2.0921
5799Problem: CTRL-W T in cmdline window causes trouble.
5800Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
5801 (Naruhiko Nishino, closes #6219)
5802Files: src/testdir/test_cmdline.vim, src/window.c
5803
5804Patch 8.2.0922
5805Problem: Search test fails.
5806Solution: Remove failure tests for calls that no longer fail.
5807Files: src/testdir/test_search.vim
5808
5809Patch 8.2.0923
5810Problem: Cmdline test is slow.
5811Solution: Use WaitForAssert().
5812Files: src/testdir/test_cmdline.vim
5813
5814Patch 8.2.0924
5815Problem: Cannot save and restore a register properly.
5816Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
5817 Massimino, closes #3370)
5818Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5819 src/proto/register.pro, src/register.c,
5820 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
5821
5822Patch 8.2.0925
5823Problem: Getcompletion() does not return command line arguments.
5824Solution: Add the "cmdline" option. (Shougo, closes #1140)
5825Files: runtime/doc/eval.txt, src/cmdexpand.c,
5826 src/testdir/test_cmdline.vim
5827
5828Patch 8.2.0926
5829Problem: Cmdline test fails on Appveyor.
5830Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
5831Files: src/testdir/test_cmdline.vim
5832
5833Patch 8.2.0927
5834Problem: Some sshconfig and ssdhconfig files are not recognized.
5835Solution: Add filetype patterns.
5836Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5837
5838Patch 8.2.0928
5839Problem: Many type casts are used for vim_strnsave().
5840Solution: Make the length argument size_t instead of int. (Ken Takata,
5841 closes #5633) Remove some type casts.
5842Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
5843 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
5844 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
5845
5846Patch 8.2.0929
5847Problem: v:register is not cleared after an operator was executed.
5848Solution: Clear v:register after finishing an operator (Andy Massimino,
5849 closes #5305)
5850Files: src/normal.c, src/testdir/test_registers.vim
5851
5852Patch 8.2.0930
5853Problem: Script filetype detection trips over env -S argument.
5854Solution: Remove "-S" and "--ignore-environment". (closes #5013)
5855 Add tests.
5856Files: runtime/scripts.vim, src/testdir/test_filetype.vim
5857
5858Patch 8.2.0931
5859Problem: Some remarks about BeOS remain.
5860Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
5861 closes #6221)
5862Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
5863 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
5864 runtime/doc/vi_diff.txt, src/INSTALL
5865
5866Patch 8.2.0932
5867Problem: Misspelling spelllang.
5868Solution: Add an "l". (Dominique Pellé)
5869Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
5870
5871Patch 8.2.0933
5872Problem: 'quickfixtextfunc' does not get window ID of location list.
5873Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
5874 closes #6222)
5875Files: runtime/doc/quickfix.txt, src/quickfix.c,
5876 src/testdir/test_quickfix.vim
5877
5878Patch 8.2.0934
5879Problem: Running lhelpgrep twice in a help window doesn't jump to the help
5880 topic.
5881Solution: Check whether any window with the location list is present.
5882 (Yegappan Lakshmanan, closes #6215)
5883Files: src/quickfix.c, src/testdir/test_quickfix.vim
5884
5885Patch 8.2.0935
5886Problem: Flattening a list with existing code is slow.
5887Solution: Add flatten(). (Mopp, closes #3676)
5888Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5889 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
5890 src/testdir/test_flatten.vim
5891
5892Patch 8.2.0936
5893Problem: Some terminals misinterpret the code for getting cursor style.
5894Solution: Send a sequence to the terminal and check the result. (IWAMOTO
5895 Kouichi, closes #2126) Merged with current code.
5896Files: src/main.c, src/term.c, src/proto/term.pro,
5897 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
5898 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
5899 src/testdir/dumps/Test_balloon_eval_term_01.dump,
5900 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
5901 src/testdir/dumps/Test_balloon_eval_term_02.dump,
5902 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
5903
5904Patch 8.2.0937
5905Problem: Asan failure in the flatten() test.
5906Solution: Free the flattened list.
5907Files: src/list.c
5908
5909Patch 8.2.0938
5910Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
5911Solution: Use utf_fold() when possible. (ref. neovim #12456)
5912Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
5913 src/testdir/test_regexp_utf8.vim
5914
5915Patch 8.2.0939
5916Problem: checking for term escape sequences is long and confusing
5917Solution: Refactor code into separate functions.
5918Files: src/term.c
5919
5920Patch 8.2.0940 (after 8.2.0939)
5921Problem: Build failure with tiny features.
5922Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
5923Files: src/term.c
5924
5925Patch 8.2.0941
5926Problem: Detecting terminal properties is unstructured.
5927Solution: Add a table with terminal properties. Set properties when a
5928 terminal is detected.
5929Files: src/term.c
5930
5931Patch 8.2.0942
5932Problem: Expanding to local dir after homedir keeps "~/".
5933Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
5934 closes #5979)
5935Files: src/filepath.c, src/testdir/test_fnamemodify.vim
5936
5937Patch 8.2.0943
5938Problem: Displaying ^M or ^J depends on current buffer.
5939Solution: Pass the displayed buffer to transchar(). (closes #6225)
5940Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
5941 src/ex_cmds.c, src/gui_beval.c, src/message.c,
5942 src/testdir/test_display.vim,
5943 src/testdir/dumps/Test_display_unprintable_01.dump,
5944 src/testdir/dumps/Test_display_unprintable_02.dump
5945
5946Patch 8.2.0944
5947Problem: Xxd test leaves file behind.
5948Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
5949Files: src/testdir/test_xxd.vim
5950
5951Patch 8.2.0945
5952Problem: Cannot use "z=" when 'spell' is off.
5953Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
5954 Gary Johnson, closes #6227)
5955Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
5956 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
5957
5958Patch 8.2.0946
5959Problem: Cannot use "q" to cancel a number prompt.
5960Solution: Recognize "q" instead of ignoring it.
5961Files: src/misc1.c, src/testdir/test_functions.vim
5962
5963Patch 8.2.0947
5964Problem: Readdirex() doesn't handle broken link properly.
5965Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
5966 closes #6213)
5967Files: src/fileio.c, src/testdir/test_functions.vim
5968
5969Patch 8.2.0948
5970Problem: Spell test fails.
5971Solution: Adjust expected text of the prompt.
5972Files: src/testdir/test_spell.vim
5973
5974Patch 8.2.0949
5975Problem: Strptime() does not use DST.
5976Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
5977Files: src/time.c, src/testdir/test_functions.vim
5978
5979Patch 8.2.0950
5980Problem: Tagjump test fails.
5981Solution: Adjust expected text of the prompt.
5982Files: src/testdir/test_tagjump.vim
5983
5984Patch 8.2.0951
5985Problem: Search stat test has leftover from debugging.
5986Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
5987Files: src/testdir/test_search_stat.vim
5988
5989Patch 8.2.0952
5990Problem: No simple way to interrupt Vim.
5991Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
5992 closes #1718)
5993Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
5994 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
5995
5996Patch 8.2.0953
5997Problem: Spell checking doesn't work for CamelCased words.
5998Solution: Add the "camel" value in the new option 'spelloptions'.
5999 (closes #1235)
6000Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6001 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6002 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6003
6004Patch 8.2.0954
6005Problem: Not all desktop files are recognized.
6006Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6007Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6008
6009Patch 8.2.0955 (after 8.2.0953)
6010Problem: Build fails.
6011Solution: Add missing struct change.
6012Files: src/structs.h
6013
6014Patch 8.2.0956 (after 8.2.0953)
6015Problem: Spell test fails.
6016Solution: Add missing change the spell checking.
6017Files: src/spell.c
6018
6019Patch 8.2.0957
6020Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6021Solution: Initialize one variable.
6022Files: src/spell.c
6023
6024Patch 8.2.0958
6025Problem: Not sufficient testing for buffer writing.
6026Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6027Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6028
6029Patch 8.2.0959
6030Problem: Using 'quickfixtextfunc' is a bit slow.
6031Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6032Files: runtime/doc/quickfix.txt, src/quickfix.c,
6033 src/testdir/test_quickfix.vim
6034
6035Patch 8.2.0960
6036Problem: Cannot use :import in legacy Vim script.
6037Solution: Support :import in any Vim script.
6038Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6039 src/testdir/test_vim9_script.vim
6040
6041Patch 8.2.0961
6042Problem: MS-Windows: no completion for locales.
6043Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6044 (Christian Brabandt, closes 36248)
6045Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6046
6047Patch 8.2.0962
6048Problem: Terminal test sometimes hangs on Travis.
6049Solution: Do show output for this test temporarily.
6050Files: src/testdir/Makefile
6051
6052Patch 8.2.0963
6053Problem: Number increment/decrement does not work with 'virtualedit'.
6054Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6055 closes #923)
6056Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6057 src/testdir/test_increment.vim
6058
6059Patch 8.2.0964
6060Problem: TextYankPost does not provide info about Visual selection.
6061Solution: Add the 'visual' key in v:event. (closes #6249)
6062Files: runtime/doc/autocmd.txt, src/register.c,
6063 src/testdir/test_autocmd.vim
6064
6065Patch 8.2.0965
6066Problem: Has_funcundefined() is not used.
6067Solution: Delete the function. (Dominique Pellé, closes #6242)
6068Files: src/autocmd.c, src/proto/autocmd.pro
6069
6070Patch 8.2.0966
6071Problem: 'shortmess' flag "n" not used in two places.
6072Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6073 closes #6244)
6074Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6075 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6076 src/testdir/dumps/Test_start_with_tabs.dump
6077
6078Patch 8.2.0967
6079Problem: Unnecessary type casts for vim_strnsave().
6080Solution: Remove the type casts.
6081Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6082 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6083 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6084 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6085 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6086 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6087 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6088
6089Patch 8.2.0968
6090Problem: No proper testing of the 'cpoptions' flags.
6091Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6092Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6093 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6094
6095Patch 8.2.0969
6096Problem: Assert_equal() output for dicts is hard to figure out.
6097Solution: Only show the different items.
6098Files: src/testing.c, src/testdir/test_assert.vim
6099
6100Patch 8.2.0970
6101Problem: Terminal properties are not available in Vim script.
6102Solution: Add the terminalprops() function.
6103Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6104 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6105 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6106 runtime/doc/testing.txt
6107
6108Patch 8.2.0971
6109Problem: Build with tiny features fails.
6110Solution: Add #ifdef.
6111Files: src/term.c
6112
6113Patch 8.2.0972
6114Problem: Vim9 script variable declarations need a type.
6115Solution: Make "let var: type" declare a script-local variable.
6116Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6117 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6118
6119Patch 8.2.0973
6120Problem: Vim9: type is not checked when assigning to a script variable.
6121Solution: Check the type.
6122Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6123 src/vim9compile.c, src/proto/vim9compile.pro,
6124 src/testdir/test_vim9_script.vim
6125
6126Patch 8.2.0974
6127Problem: Vim9: memory leak when script var has wrong type.
6128Solution: Free the variable name.
6129Files: src/vim9script.vim
6130
6131Patch 8.2.0975
6132Problem: Vim9: script variable does not accept optional s: prefix.
6133Solution: Adjust the accepted syntax.
6134Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6135
6136Patch 8.2.0976
6137Problem: Some 'cpoptions' not tested.
6138Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6139Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6140 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6141
6142Patch 8.2.0977
6143Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6144Solution: Invert the check for TPR_YES. (closes #6254)
6145Files: src/term.c, src/testdir/test_termcodes.vim
6146
6147Patch 8.2.0978
6148Problem: Leaking memory in termcodes test.
6149Solution: Set t_8u with set_option_value().
6150Files: src/term.c
6151
6152Patch 8.2.0979
6153Problem: A couple of screendump tests fail.
6154Solution: Do not redraw when clearing t_8u.
6155Files: src/term.c
6156
6157Patch 8.2.0980
6158Problem: Raku file extension not recognized. (Steven Penny)
6159Solution: Recognize .raku and .rakumod. (closes #6255)
6160Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6161
6162Patch 8.2.0981
6163Problem: Vim9: cannot compile "[var, var] = list".
6164Solution: Implement list assignment.
6165Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
6166 src/proto/evalvars.pro src/eval.c, src/testdir/test_vim9_script.vim
6167
6168Patch 8.2.0982
6169Problem: Insufficient testing for reading/writing files.
6170Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6171 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6172Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6173 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6174 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6175
6176Patch 8.2.0983
6177Problem: SConstruct file type not recognized.
6178Solution: Use python for SConstruct files. (Roland Hieber)
6179Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6180
6181Patch 8.2.0984
6182Problem: Not using previous window when closing a shell popup window.
6183Solution: Use "prevwin" if it was set. (closes #6267)
6184Files: src/popupwin.c, src/testdir/test_popupwin.vim
6185
6186Patch 8.2.0985
6187Problem: Simplify() does not remove slashes from "///path".
6188Solution: Reduce > 2 slashes to one. (closes #6263)
6189Files: src/findfile.c, src/testdir/test_functions.vim
6190
6191Patch 8.2.0986 (after 8.2.0985)
6192Problem: MS-Windows: functions test fails.
6193Solution: Only simplify ///path on Unix.
6194Files: src/testdir/test_functions.vim
6195
6196Patch 8.2.0987
6197Problem: Vim9: cannot assign to [var; var].
6198Solution: Assign rest of items to a list.
6199Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6200 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6201
6202Patch 8.2.0988
6203Problem: Getting directory contents is always case sorted.
6204Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6205Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6206 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6207 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6208 src/filepath.c, src/globals.h, src/proto/fileio.pro,
6209 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim
6210 src/vim.h
6211
6212Patch 8.2.0989
6213Problem: Crash after resizing a terminal window. (August Masquelier)
6214Solution: Add check for valid row in libvterm. (closes #6273)
6215Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6216
6217Patch 8.2.0990 (after 8.2.0988)
6218Problem: Using duplicate error number.
6219Solution: Use an unused error number. Add a test for it.
6220Files: src/globals.h, src/testdir/test_functions.vim
6221
6222Patch 8.2.0991
6223Problem: Cannot get window type for autocmd and preview window.
6224Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6225Files: runtime/doc/eval.txt, src/evalwindow.c,
6226 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6227
6228Patch 8.2.0992
6229Problem: Vim9: crash when using :import in the Vim command.
6230Solution: Give an error when using :import outside of a script.
6231 (closes #6271)
6232Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6233 src/testdir/term_util.vim
6234
6235Patch 8.2.0993
6236Problem: Vim9 script test fails with normal features.
6237Solution: Use :func instead of :def for now.
6238Files: src/testdir/test_vim9_script.vim
6239
6240Patch 8.2.0994
6241Problem: Vim9: missing function causes compilation error.
6242Solution: Call test function indirectly.
6243Files: src/testdir/test_vim9_script.vim
6244
6245Patch 8.2.0995
6246Problem: Insufficient testing for the readdir() sort option.
6247Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6248Files: src/testdir/test_functions.vim
6249
6250Patch 8.2.0996
6251Problem: Using "aucmdwin" in win_gettype() is not ideal.
6252Solution: Rename to "autocmd".
6253Files: runtime/doc/eval.txt, src/evalwindow.c,
6254 src/testdir/test_autocmd.vim
6255
6256Patch 8.2.0997
6257Problem: Cannot execute a register containing line continuation.
6258Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6259 closes #6272)
6260Files: runtime/doc/repeat.txt, src/register.c,
6261 src/testdir/test_registers.vim
6262
6263Patch 8.2.0998
6264Problem: Not all tag code is tested.
6265Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6266Files: src/testdir/test_tagjump.vim
6267
6268Patch 8.2.0999
6269Problem: Moving to next sentence gets stuck on quote.
6270Solution: When moving to the next sentence doesn't result in moving, advance
6271 a character and try again. (closes #6291)
6272Files: src/textobject.c, src/testdir/test_textobjects.vim
6273
6274Patch 8.2.1000
6275Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6276 autocommand was used.
6277Solution: Reset ex_pressedreturn. (closes #6293)
6278Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6279
6280Patch 8.2.1001
6281Problem: Vim9: crash with nested "if" and assignment.
6282Solution: Skip more of the assignment. Do not set ctx_skip when code is
6283 reachable.
6284Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6285
6286Patch 8.2.1002
6287Problem: Test may fail when run directly.
6288Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6289Files: src/testdir/term_util.vim
6290
6291Patch 8.2.1003
6292Problem: Vim9: return type of sort() is too generic.
6293Solution: Get type from the first argument. (closes #6292)
6294Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6295
6296Patch 8.2.1004
6297Problem: Line numbers below filler lines not always updated.
6298Solution: Don't break out of the win_line() loop too early. (Christian
6299 Brabandt, closes #6294, closes #6138)
6300Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6301 src/testdir/dumps/Test_diff_rnu_02.dump,
6302 src/testdir/dumps/Test_diff_rnu_03.dump,
6303 src/testdir/test_diffmode.vim
6304
6305Patch 8.2.1005
6306Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6307Solution: Use an enum value.
6308Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6309
6310Patch 8.2.1006
6311Problem: Vim9: require unnecessary return statement.
6312Solution: Improve the use of the had_return flag. (closes #6270)
6313Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6314 src/testdir/test_vim9_func.vim
6315
6316Patch 8.2.1007
6317Problem: Completion doesn't work after ":r ++arg !".
6318Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6319 closes #6258)
6320Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6321
6322Patch 8.2.1008
6323Problem: Vim9: no test for disassembling newly added instructions.
6324Solution: Add a function and check disassembly.
6325Files: src/testdir/test_vim9_disassemble.vim
6326
6327Patch 8.2.1009
6328Problem: Vim9: some failures not checked for.
6329Solution: Add test cases. Remove unused code.
6330Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6331
6332Patch 8.2.1010
6333Problem: Build failure in libvterm with debug enabled. (John Little)
6334Solution: Use "->" instead of ".".
6335Files: src/libvterm/src/state.c
6336
6337Patch 8.2.1011
6338Problem: Vim9: some code not tested.
6339Solution: Add a few more test cases. Reorder checks for clearer error.
6340 Remove unreachable code.
6341Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6342 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6343 src/testdir/test_vim9_expr.vim
6344
6345Patch 8.2.1012
6346Problem: Vim9: cannot declare single character script variables.
6347Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6348 sn_var_vals.
6349Files: src/vim9script.c, src/scriptfile.c,
6350 src/testdir/test_vim9_script.vim
6351
6352Patch 8.2.1013
6353Problem: Channel tests can be a bit flaky.
6354Solution: Set the g:test_is_flaky flag in SetUp().
6355Files: src/testdir/test_channel.vim
6356
6357Patch 8.2.1014
6358Problem: Using "name" for a string result is confusing.
6359Solution: Rename to "end".
6360Files: src/typval.c
6361
6362Patch 8.2.1015
6363Problem: Popup filter gets key with modifier prepended when using
6364 modifyOtherKeys.
6365Solution: Remove the shift modifier when it is included in the key, also
6366 when the Alt or Meta modifier is used.
6367Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6368
6369Patch 8.2.1016
6370Problem: Vim9: test fails when channel feature is missing.
6371Solution: Process an :if command when skipping
6372Files: src/vim9compile.c
6373
6374Patch 8.2.1017
6375Problem: Appveyor output doesn't show MinGW console features.
6376Solution: List the features of the console build.
6377Files: ci/appveyor.bat
6378
6379Patch 8.2.1018
6380Problem: Typo in enum value. (James McCoy)
6381Solution: Fix the typo.
6382Files: src/vim9compile.c
6383
6384Patch 8.2.1019
6385Problem: Mapping <M-S-a> does not work in the GUI.
6386Solution: Move the logic to remove the shift modifier to
6387 may_remove_shift_modifier() and also use it in the GUI.
6388Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6389
6390Patch 8.2.1020
6391Problem: Popupwin test fails in the GUI.
6392Solution: Send GUI byte sequence for <C-S-a>.
6393Files: src/testdir/test_popupwin.vim
6394
6395Patch 8.2.1021
6396Problem: Ruby interface not tested enough.
6397Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6398Files: src/testdir/test_ruby.vim
6399
6400Patch 8.2.1022
6401Problem: Various parts of code not covered by tests.
6402Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6403Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6404 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6405 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6406 src/testdir/test_prompt_buffer.vim,
6407 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6408 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6409 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6410 src/testdir/test_visual.vim
6411
6412Patch 8.2.1023
6413Problem: Vim9: redefining a function uses a new index every time.
6414Solution: When redefining a function clear the contents and re-use the
6415 index.
6416Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6417 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6418
6419Patch 8.2.1024
6420Problem: Vim9: no error for using "let g:var = val".
6421Solution: Add an error.
6422Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6423 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6424 src/testdir/test_vim9_disassemble.vim,
6425 src/testdir/test_vim9_func.vim
6426
6427Patch 8.2.1025
6428Problem: Tabpage menu and tabline not sufficiently tested.
6429Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6430Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6431
6432Patch 8.2.1026
6433Problem: Vim9: cannot break the line after "->".
6434Solution: Check for a continuation line after "->", "[" and ".". Ignore
6435 trailing white space.
6436Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6437
6438Patch 8.2.1027
6439Problem: GUI: multibyte characters do not work in a terminal.
6440Solution: Do not assume a key is one byte. (closes #6304)
6441Files: src/gui_gtk_x11.c, src/gui_x11.c
6442
6443Patch 8.2.1028
6444Problem: Vim9: no error for declaring buffer, window, etc. variable.
6445Solution: Give an error. Unify the error messages.
6446Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6447 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6448 src/testdir/test_vim9_script.vim
6449
6450Patch 8.2.1029
6451Problem: Vim9: cannot chain function calls with -> at line start.
6452Solution: Peek ahead for a following line starting with "->". (closes #6306)
6453Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6454
6455Patch 8.2.1030
6456Problem: Reducing size of a terminal window may cause a crash.
6457Solution: Make sure the row and column don't become negative. (closes #6273)
6458Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6459
6460Patch 8.2.1031
6461Problem: Build failure with Perl5.32.
6462Solution: Define a few more functions. (Felix Yan, closes #6310)
6463Files: src/if_perl.xs
6464
6465Patch 8.2.1032
6466Problem: Error message for declaring a variable cannot be translated.
6467Solution: Enclose in _(). Make environment variable a separate message.
6468Files: src/globals.h, src/vim9compile.c
6469
6470Patch 8.2.1033
6471Problem: Not easy to read the test time in the test output.
6472Solution: Align the times. Make slow tests bold.
6473Files: src/testdir/runtest.vim
6474
6475Patch 8.2.1034
6476Problem: Compiler warning for uninitialized variables.
6477Solution: Add initializations. (John Marriott)
6478Files: src/vim9compile.c
6479
6480Patch 8.2.1035
6481Problem: setreg() does not always clear the register.
6482Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6483 closes #3370)
6484Files: src/evalfunc.c, src/testdir/test_registers.vim
6485
6486Patch 8.2.1036
6487Problem: Popupwin test fails sometimes.
6488Solution: Use WaitForAssert() instead of a sleep.
6489Files: src/testdir/test_popupwin.vim
6490
6491Patch 8.2.1037
6492Problem: Vim9: crash when using line continuation inside :def.
6493Solution: Check for no more lines available.
6494Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6495
6496Patch 8.2.1038
6497Problem: Popupwin test fails.
6498Solution: Fix WaitForAssert() argument.
6499Files: src/testdir/test_popupwin.vim
6500
6501Patch 8.2.1039
6502Problem: Cannot put NUL byte on clipboard.
6503Solution: Use the text length. (Christian Brabandt, closes #6312,
6504 closes #6149)
6505Files: src/winclip.c, src/testdir/test_registers.vim
6506
6507Patch 8.2.1040
6508Problem: Not enough testing for movement commands.
6509Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6510Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6511 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6512 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6513
6514Patch 8.2.1041
6515Problem: Test summary is missing executed count.
6516Solution: Adjust pattern used for counting.
6517Files: src/testdir/summarize.vim
6518
6519Patch 8.2.1042
6520Problem: Vim9: cannot put an operator on the next line.
6521Solution: Require a colon before a range to see if that causes problems.
6522Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6523 src/globals.h, src/testdir/test_vim9_script.vim,
6524 src/testdir/test_vim9_expr.vim
6525
6526Patch 8.2.1043
6527Problem: %a item in 'statusline' not tested.
6528Solution: Add a test. (Dominique Pellé, closes #6318)
6529Files: src/testdir/test_statusline.vim
6530
6531Patch 8.2.1044
6532Problem: Not all systemd file types are recognized.
6533Solution: Match several more files. (Guido Cella, closes #6319)
6534Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6535
6536Patch 8.2.1045
6537Problem: Vim9: line break before operator does not work.
6538Solution: Peek the next line for an operator.
6539Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6540
6541Patch 8.2.1046
6542Problem: Insufficient tests for src/buffer.c.
6543Solution: Add more tests. Move comments related tests to a separate file.
6544 (Yegappan Lakshmanan, closes #6325)
6545Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6546 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6547 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6548
6549Patch 8.2.1047
6550Problem: Vim9: script cannot use line continuation like in a :def function.
6551Solution: Pass the getline function pointer to the eval() functions. Use it
6552 for addition and multiplication operators.
6553Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6554 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6555 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6556 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6557
6558Patch 8.2.1048 (after 8.2.1047)
6559Problem: Build failure without the eval feature.
6560Solution: Add dummy typedef.
6561Files: src/structs.h
6562
6563Patch 8.2.1049 (after 8.2.1047)
6564Problem: Vim9: leaking memory when using continuation line.
6565Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6566 checking for a next command.
6567Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6568 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6569 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6570 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6571 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6572 src/screen.c, src/userfunc.c
6573
6574Patch 8.2.1050 (after 8.2.1049)
6575Problem: Missing change in struct.
6576Solution: Add missing change.
6577Files: src/ex_cmds.h
6578
6579Patch 8.2.1051
6580Problem: Crash when changing a list while using reduce() on it.
6581Solution: Lock the list. (closes #6330)
6582Files: src/list.c, src/testdir/test_listdict.vim
6583
6584Patch 8.2.1052
6585Problem: Build failure with older compilers.
6586Solution: Move declaration to start of block.
6587Files: src/eval.c
6588
6589Patch 8.2.1053
6590Problem: Insufficient testing for 'statusline' and 'tabline'.
6591Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
6592Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
6593 src/testdir/test_tabline.vim
6594
6595Patch 8.2.1054
6596Problem: Not so easy to pass a lua function to Vim.
6597Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
6598 Shrestha, closes #6246)
6599Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
6600 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
6601
6602Patch 8.2.1055
6603Problem: No filetype set for pacman config files.
6604Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
6605Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6606
6607Patch 8.2.1056
6608Problem: Wrong display when mixing match conceal and syntax conceal.
6609Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
6610Files: src/drawline.c, src/highlight.c,
6611 src/testdir/test_matchadd_conceal.vim
6612
6613Patch 8.2.1057 (after 8.2.1054)
6614Problem: Cannot build with dynamic Lua.
6615Solution: Add dll variables.
6616Files: src/if_lua.c
6617
6618Patch 8.2.1058
6619Problem: Multiline conceal causes display errors.
6620Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
6621 closes #6302)
6622Files: src/drawline.c, src/testdir/test_conceal.vim,
6623 src/testdir/test_diffmode.vim
6624
6625Patch 8.2.1059
6626Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
6627Solution: Do not allow the autocommand window to be closed.
6628Files: src/ex_docmd.c, src/window.c, src/globals.h,
6629 src/testdir/test_autocmd.vim
6630
6631Patch 8.2.1060
6632Problem: Not all elinks files are recognized.
6633Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
6634Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6635
6636Patch 8.2.1061
6637Problem: Insufficient testing for src/window.c.
6638Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
6639Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
6640 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
6641 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
6642 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
6643 src/window.c
6644
6645Patch 8.2.1062
6646Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
6647Solution: Check for operator after line break.
6648Files: src/eval.c, src/testdir/test_vim9_expr.vim
6649
6650Patch 8.2.1063
6651Problem: Vim9: no line break allowed before || or &&.
6652Solution: Check for operator after line break.
6653Files: src/eval.c, src/testdir/test_vim9_expr.vim
6654
6655Patch 8.2.1064
6656Problem: Vim9: no line break allowed before comparators.
6657Solution: Check for comparator after line break.
6658Files: src/eval.c, src/testdir/test_vim9_expr.vim
6659
6660Patch 8.2.1065
6661Problem: Vim9: no line break allowed inside a list.
6662Solution: Handle line break inside a list in Vim9 script.
6663Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
6664 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
6665 src/testdir/test_arglist.vim
6666
6667Patch 8.2.1066
6668Problem: Lua arrays are zero based.
6669Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
6670 Note: this is not backwards compatible.
6671Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
6672
6673Patch 8.2.1067
6674Problem: Expression "!expr->func()" does not work.
6675Solution: Apply plus and minus earlier. (closes #6348)
6676Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
6677 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
6678
6679Patch 8.2.1068
6680Problem: Vim9: no line break allowed inside a dict.
6681Solution: Handle line break inside a dict in Vim9 script.
6682Files: src/eval.c, src/dict.c, src/proto/dict.pro,
6683 src/vim9compile.c, src/testdir/test_vim9_expr.vim
6684
6685Patch 8.2.1069
6686Problem: Vim9: fail to check for white space in list.
6687Solution: Add check for white space.
6688Files: src/list.c
6689
6690Patch 8.2.1070
6691Problem: Vim9: leaking memory when lacking white space in dict.
6692Solution: Clear the typval.
6693Files: src/dict.c
6694
6695Patch 8.2.1071
6696Problem: Vim9: no line break allowed inside a lambda.
6697Solution: Handle line break inside a lambda in Vim9 script.
6698Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
6699 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
6700 src/ex_eval.c, src/globals.h, src/structs.h,
6701 src/testdir/test_vim9_expr.vim
6702
6703Patch 8.2.1072
6704Problem: Missing libvterm test.
6705Solution: Sync with libvterm revision 768.
6706Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
6707
6708Patch 8.2.1073
6709Problem: Vim9: no line break allowed in () expression.
6710Solution: Skip a line break.
6711Files: src/eval.c, src/testdir/test_vim9_expr.vim
6712
6713Patch 8.2.1074
6714Problem: Vim9: no line break allowed after some operators.
6715Solution: Skip a line break after the operator. Add
6716 eval_may_get_next_line() to simplify checking for a line break.
6717Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
6718 src/userfunc.c, src/testdir/test_vim9_expr.vim
6719
6720Patch 8.2.1075
6721Problem: Vim9: no line break allowed in :echo expression.
6722Solution: Skip linebreak.
6723Files: src/eval.c, src/testdir/test_vim9_cmd.vim
6724
6725Patch 8.2.1076
6726Problem: Vim9: no line break allowed in :if expression.
6727Solution: Skip linebreak.
6728Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
6729 src/testdir/test_vim9_cmd.vim
6730
6731Patch 8.2.1077
6732Problem: No enough test coverage for highlighting.
6733Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
6734Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
6735 src/testdir/test_highlight.vim, src/testdir/test_match.vim
6736
6737Patch 8.2.1078
6738Problem: Highlight and match functionality together in one file.
6739Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
6740 closes #6352)
6741Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
6742 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
6743 src/highlight.c, src/match.c, src/proto.h,
6744 src/proto/highlight.pro, src/proto/match.pro
6745
6746Patch 8.2.1079
6747Problem: Vim9: no line break allowed in a while loop.
6748Solution: Update stored loop lines when finding line breaks.
6749Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
6750 src/ex_docmd.c, src/proto/ex_docmd.pro,
6751 src/testdir/test_vim9_cmd.vim
6752
6753Patch 8.2.1080
6754Problem: Vim9: no line break allowed in a for loop.
6755Solution: Skip line breaks in for command.
6756Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
6757 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
6758
6759Patch 8.2.1081
6760Problem: Lua: cannot use table.insert() and table.remove().
6761Solution: Add the list functions. (Prabir Shrestha, closes #6353)
6762Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
6763
6764Patch 8.2.1082
6765Problem: Coverity complains about ignoring dict_add() return value.
6766Solution: Add (void).
6767Files: src/evalfunc.c
6768
6769Patch 8.2.1083
6770Problem: Crash when using reduce() on a NULL list.
6771Solution: Only access the list when not NULL.
6772Files: src/list.c, src/testdir/test_listdict.vim
6773
6774Patch 8.2.1084
6775Problem: Lua: registering function has useless code.
6776Solution: Remove clearing grow arrays.
6777Files: src/userfunc.c
6778
6779Patch 8.2.1085
6780Problem: Coverity complains about ignoring dict_add() return value.
6781Solution: Add (void).
6782Files: src/register.c
6783
6784Patch 8.2.1086
6785Problem: Possibly using freed memory when text properties used when
6786 changing indent of a line.
6787Solution: Compute the offset before calling ml_replace().
6788Files: src/indent.c
6789
6790Patch 8.2.1087
6791Problem: Possible memory leak when file expansion fails.
6792Solution: Clear the grow array when returning FAIL. Use an error message
6793 instead of an empty string.
6794Files: src/filepath.c
6795
6796Patch 8.2.1088
6797Problem: A very long translation might cause a buffer overflow.
6798Solution: Truncate the message if needed.
6799Files: src/fileio.c
6800
6801Patch 8.2.1089
6802Problem: Coverity warns for pointer computation.
6803Solution: Avoid computing a pointer to invalid memory.
6804Files: src/spellfile.c
6805
6806Patch 8.2.1090
6807Problem: May use NULL pointer when skipping over name.
6808Solution: Always set ll_name_end.
6809Files: src/eval.c
6810
6811Patch 8.2.1091
6812Problem: No check if opening a pty works.
6813Solution: Check for invalid file descriptor.
6814Files: src/os_unix.c
6815
6816Patch 8.2.1092
6817Problem: Not checking if saving for undo succeeds.
6818Solution: Bail out if u_savesub() returns FAIL.
6819Files: src/textprop.c
6820
6821Patch 8.2.1093
6822Problem: Python: double free when adding item to dict fails.
6823Solution: Remove vim_free() call.
6824Files: src/if_py_both.h
6825
6826Patch 8.2.1094
6827Problem: Dead code in libvterm.
6828Solution: Remove condition that is always true.
6829Files: src/libvterm/src/pen.c
6830
6831Patch 8.2.1095
6832Problem: May use pointer after freeing it when text properties are used.
6833Solution: Update redo buffer before calling ml_replace().
6834Files: src/spellsuggest.c
6835
6836Patch 8.2.1096
6837Problem: Vim9: return type of getqflist() is wrong.
6838Solution: Let the return type depend on the arguments. Also for
6839 getloclist(). (closes #6357)
6840Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6841
6842Patch 8.2.1097
6843Problem: Highlight code not sufficiently tested.
6844Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
6845Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
6846
6847Patch 8.2.1098
6848Problem: Vim9: cannot use line break in :throw argument.
6849Solution: Check for line break.
6850Files: src/eval.c, src/testdir/test_vim9_script.vim
6851
6852Patch 8.2.1099
6853Problem: Vim9: cannot use line break in :cexpr argument.
6854Solution: Check for line break.
6855Files: src/eval.c, src/testdir/test_vim9_script.vim
6856
6857Patch 8.2.1100
6858Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
6859 argument.
6860Solution: Check for line break.
6861Files: src/eval.c, src/testdir/test_vim9_script.vim
6862
6863Patch 8.2.1101
6864Problem: No error when using wrong arguments for setqflist() or
6865 setloclist().
6866Solution: Check for the error.
6867Files: src/quickfix.c, src/testdir/test_quickfix.vim
6868
6869Patch 8.2.1102
6870Problem: Coverity gets confused by an unnecessary NULL check.
6871Solution: Remove the check for NULL.
6872Files: src/quickfix.c
6873
6874Patch 8.2.1103
6875Problem: Coverity reports an unnecessary NULL check.
6876Solution: Remove the check for NULL.
6877Files: src/eval.c
6878
6879Patch 8.2.1104
6880Problem: Coverity warns for possible NULL pointer use.
6881Solution: Check "pbyts" is not NULL.
6882Files: src/spellsuggest.c
6883
6884Patch 8.2.1105
6885Problem: Insufficient test coverage for Lua.
6886Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
6887 memory leak. Avoid unnecessary copy/free.
6888Files: src/if_lua.c, src/testdir/test_lua.vim
6889
6890Patch 8.2.1106
6891Problem: Crash when trying to use s: variable in typed command.
6892Solution: Don't use the script index when not set. (Ken Takata,
6893 closes #6366)
6894Files: src/vim9compile.c, src/testdir/test_vimscript.vim
6895
6896Patch 8.2.1107
6897Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
6898Solution: Adjust the #ifdefs. (closes #6367)
6899Files: runtime/doc/options.txt, src/gui_xim.c,
6900 src/testdir/test_iminsert.vim
6901
6902Patch 8.2.1108
6903Problem: Mouse left-right scroll is not supported in terminal window.
6904Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
6905Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
6906 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
6907
6908Patch 8.2.1109 (after 8.2.1106)
6909Problem: Still crashing when using s:variable.
6910Solution: Remove assignment. (Ken Takata)
6911Files: src/vim9compile.c
6912
6913Patch 8.2.1110
6914Problem: Vim9: line continuation does not work in function arguments.
6915Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
6916 as comment.
6917Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
6918 src/list.c, src/dict.c, src/proto/eval.pro,
6919 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
6920
6921Patch 8.2.1111
6922Problem: Inconsistent naming of get_list_tv() and eval_dict().
6923Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
6924 eval_string(), eval_lit_string() and a few others.
6925Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
6926 src/typval.c, src/proto/typval.pro, src/vim9script.c,
6927 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
6928 src/vim9execute.c
6929
6930Patch 8.2.1112
6931Problem: Vim9: no line continuation allowed in method call.
6932Solution: Handle line continuation in expression before method call.
6933Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
6934 src/testdir/test_vim9_script.vim,
6935 src/testdir/test_vim9_expr.vim
6936
6937Patch 8.2.1113
6938Problem: No test for verbose output of :call.
6939Solution: Add a test.
6940Files: src/testdir/test_user_func.vim
6941
6942Patch 8.2.1114
6943Problem: Terminal test sometimes times out.
6944Solution: Split the test in two parts.
6945Files: src/testdir/Makefile, src/testdir/Make_all.mak,
6946 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
6947 src/testdir/test_terminal2.vim
6948
6949Patch 8.2.1115
6950Problem: Iminsert test fails when compiled with VIMDLL.
6951Solution: Change condition. (Ken Takata, closes #6376)
6952Files: src/testdir/test_iminsert.vim
6953
6954Patch 8.2.1116
6955Problem: Vim9: parsing command checks for list twice.
6956Solution: Adjust how a command is parsed.
6957Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
6958
6959Patch 8.2.1117
6960Problem: Coverity warns for using uninitialized field.
6961Solution: Initialize v_lock.
6962Files: src/if_lua.c
6963
6964Patch 8.2.1118
6965Problem: Condition can never be true, dead code.
6966Solution: Remove the dead code.
6967Files: src/move.c
6968
6969Patch 8.2.1119
6970Problem: Configure fails with Xcode 12 beta.
6971Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
6972Files: src/configure.ac, src/auto/configure
6973
6974Patch 8.2.1120
6975Problem: Python code not tested properly.
6976Solution: Add more tests and convert old-style test into new-style test.
6977 (Yegappan Lakshmanan, closes #6370)
6978Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
6979 src/testdir/test86.in, src/testdir/test86.ok,
6980 src/testdir/test_python2.vim
6981
6982Patch 8.2.1121
6983Problem: Command completion not working after ++arg.
6984Solution: Move skipping up. (Christian Brabandt, closes #6382)
6985Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6986
6987Patch 8.2.1122
6988Problem: Vim9: line continuation in dict member not recognized.
6989Solution: Check for line continuation.
6990Files: src/eval.c, src/testdir/test_vim9_expr.vim
6991
6992Patch 8.2.1123
6993Problem: Python 3 test is old style.
6994Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
6995Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
6996 src/testdir/test87.in, src/testdir/test87.ok,
6997 src/testdir/test_python2.vim, src/testdir/test_python3.vim
6998
6999Patch 8.2.1124
7000Problem: Vim9: no line break allowed in :import command.
7001Solution: Skip over line breaks.
7002Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7003 src/testdir/test_vim9_script.vim
7004
7005Patch 8.2.1125
7006Problem: Vim9: double quote can be a string or a comment.
7007Solution: Only support comments starting with # to avoid confusion.
7008Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7009 src/vim9script.c
7010
7011Patch 8.2.1126
7012Problem: Vim9: using :copen causes an error.
7013Solution: Add flag LET_NO_COMMAND in set_var().
7014Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7015
7016Patch 8.2.1127
7017Problem: Vim9: getting a dict member may not work.
7018Solution: Clear the dict only after copying the item. (closes #6390)
7019Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7020
7021Patch 8.2.1128
7022Problem: The write message mentions characters, but it's actually bytes.
7023Solution: Change "C" to "B" and "characters" to "bytes".
7024Files: runtime/doc/options.txt, src/fileio.c,
7025 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7026 src/testdir/dumps/Test_diff_syntax_1.dump,
7027 src/testdir/dumps/Test_long_file_name_1.dump,
7028 src/testdir/dumps/Test_display_unprintable_01.dump,
7029 src/testdir/dumps/Test_tselect_1.dump
7030
7031Patch 8.2.1129
7032Problem: Vim9: bar not recognized after not compiled command.
7033Solution: Check for bar for commands where this is possible. (closes #6391)
7034Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7035
7036Patch 8.2.1130
7037Problem: Vim9: bar not recognized after function call
7038Solution: Skip whitespace. (closes #6391)
7039Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7040
7041Patch 8.2.1131
7042Problem: Vim9: error message for returning a value in a function that does
7043 not return anything is not clear.
7044Solution: Add a specific message.
7045Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7046
7047Patch 8.2.1132
7048Problem: Vim9: return type of repeat() is not specific enough.
7049Solution: Return the type of the first argument. (closes #6395)
7050Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7051
7052Patch 8.2.1133
7053Problem: Vim9: return type of add() is not specific enough.
7054Solution: Return the type of the first argument. (closes #6395)
7055Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7056
7057Patch 8.2.1134
7058Problem: Vim9: getting a list member may not work.
7059Solution: Clear the list only after copying the item. (closes #6393)
7060Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7061
7062Patch 8.2.1135
7063Problem: Vim9: getting a dict member may not work.
7064Solution: Clear the dict only after copying the item.
7065Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7066
7067Patch 8.2.1136
7068Problem: Vim9: return type of argv() is always any.
7069Solution: Use list<string> if there is no argument.
7070Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7071
7072Patch 8.2.1137
7073Problem: Vim9: modifiers not cleared after compiling function.
7074Solution: Clear command modifiers. (closes #6396)
7075Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7076 src/testdir/test_vim9_func.vim,
7077 src/testdir/dumps/Test_vim9_silent_echo.dump
7078
7079Patch 8.2.1138
7080Problem: Vim9: return type of copy() and deepcopy() is any.
7081Solution: Use type of the argument.
7082Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7083
7084Patch 8.2.1139 (after 8.2.1137)
7085Problem: Vim9: test for silent echo fails in some environments.
7086Solution: Use :function instead of :def.
7087Files: src/testdir/test_vim9_func.vim
7088
7089Patch 8.2.1140
7090Problem: Vim9: return type of extend() is any.
7091Solution: Use type of the argument.
7092Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7093
7094Patch 8.2.1141
7095Problem: Vim9: return type of filter() is any.
7096Solution: Use type of the argument.
7097Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7098
7099Patch 8.2.1142
7100Problem: Vim9: return type of insert() is any.
7101Solution: Use type of the first argument.
7102Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7103
7104Patch 8.2.1143
7105Problem: Vim9: return type of remove() is any.
7106Solution: Use the member type of the first argument, if known.
7107Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7108
7109Patch 8.2.1144
7110Problem: Vim9: return type of reverse() is any.
7111Solution: Use the type of the first argument.
7112Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7113
7114Patch 8.2.1145
7115Problem: Vim9: "for" only accepts a list at compile time.
7116Solution: Also accept a list at runtime.
7117Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7118 src/testdir/test_vim9_disassemble.vim
7119
7120Patch 8.2.1146
7121Problem: Not enough testing for Python.
7122Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7123 closes #6392)
7124Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7125 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7126
7127Patch 8.2.1147
7128Problem: :confirm may happen in cooked mode. (Jason Franklin)
7129Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7130Files: src/message.c, src/testdir/test_excmd.vim
7131
7132Patch 8.2.1148
7133Problem: Warning for using int instead of size_t.
7134Solution: Change "len" argument to size_t. (Mike Williams)
7135Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7136
7137Patch 8.2.1149
7138Problem: Vim9: :eval command not handled properly.
7139Solution: Compile the :eval command. (closes #6408)
7140Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7141
7142Patch 8.2.1150
7143Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7144Solution: Check the line number is not out of range. Call "Check" with
7145 "fromObj" instead of "from".
7146Files: src/if_py_both.h, src/testdir/test_python2.vim,
7147 src/testdir/test_python3.vim
7148
7149Patch 8.2.1151
7150Problem: Insufficient test coverage for Python.
7151Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7152Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7153
7154Patch 8.2.1152
7155Problem: Vim9: function reference is missing script prefix.
7156Solution: Use the actual function name instead of the name searched for in
7157 the script context. (closes #6412)
7158Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7159
7160Patch 8.2.1153
7161Problem: Vim9: script test fails on some systems.
7162Solution: Return proper value from Compare().
7163Files: src/testdir/test_vim9_script.vim
7164
7165Patch 8.2.1154
7166Problem: Vim9: crash when using imported function.
7167Solution: Check for a function type. Set the script context when calling a
7168 function. (closes #6412)
7169Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7170 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7171
7172Patch 8.2.1155
7173Problem: Vim9: cannot handle line break inside lambda.
7174Solution: Pass the compilation context through. (closes #6407, closes #6409)
7175Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7176 src/eval.c, src/testdir/test_vim9_func.vim
7177
7178Patch 8.2.1156
7179Problem: Vim9: No error for invalid command in compiled function.
7180Solution: Handle CMD_SIZE.
7181Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7182
7183Patch 8.2.1157
7184Problem: Vim9: dict.name is not recognized as an expression.
7185Solution: Recognize ".name". (closes #6418)
7186Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7187
7188Patch 8.2.1158 (after 8.2.1155)
7189Problem: Build error.
7190Solution: Add missing change to globals.
7191Files: src/globals.h
7192
7193Patch 8.2.1159
7194Problem: Vim9: no error for missing space after a comma.
7195Solution: Check for white space.
7196Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7197 src/testdir/test_vim9_script.vim
7198
7199Patch 8.2.1160
7200Problem: Vim9: memory leak in allocated types.
7201Solution: Free the type pointers.
7202Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7203 src/proto/vim9compile.pro
7204
7205Patch 8.2.1161
7206Problem: Vim9: using freed memory.
7207Solution: Put pointer back in evalarg instead of freeing it.
7208Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7209 src/structs.h
7210
7211Patch 8.2.1162
7212Problem: Crash when using a lambda.
7213Solution: Check for evalarg to be NULL.
7214Files: src/userfunc.c
7215
7216Patch 8.2.1163 (after 8.2.1161)
7217Problem: Build error.
7218Solution: Add missing change to globals.
7219Files: src/globals.h
7220
7221Patch 8.2.1164
7222Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7223 Radkov)
7224Solution: Mark the screen characters as invalid. (closes #6422)
7225Files: src/screen.c, src/proto/screen.pro, src/term.c
7226
7227Patch 8.2.1165
7228Problem: Insufficient testing for the Tcl interface.
7229Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7230Files: src/testdir/test_tcl.vim
7231
7232Patch 8.2.1166
7233Problem: Once mouse move events are enabled getchar() returns them.
7234Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7235Files: runtime/doc/eval.txt, src/getchar.c
7236
7237Patch 8.2.1167
7238Problem: Vim9: builtin function method call only supports first argument.
7239Solution: Shift arguments when needed. (closes #6305, closes #6419)
7240Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7241 src/vim9.h, src/testdir/test_vim9_expr.vim,
7242 src/testdir/test_vim9_disassemble.vim
7243
7244Patch 8.2.1168
7245Problem: Wrong method argument for appendbufline().
7246Solution: Use FEARG_3.
7247Files: src/evalfunc.c
7248
7249Patch 8.2.1169
7250Problem: Write NUL past allocated space using corrupted spell file.
7251 (Markus Vervier)
7252Solution: Init "c" every time.
7253Files: src/spellfile.c
7254
7255Patch 8.2.1170
7256Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7257Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7258Files: src/register.c, src/testdir/test_registers.vim
7259
7260Patch 8.2.1171
7261Problem: Possible crash when out of memory.
7262Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7263Files: src/syntax.c
7264
7265Patch 8.2.1172
7266Problem: Error messages when doing "make clean" in the runtime/doc or
7267 src/tee directories.
7268Solution: Use "rm -f".
7269Files: runtime/doc/Makefile, src/tee/Makefile
7270
7271Patch 8.2.1173
7272Problem: Tee doesn't build on some systems.
7273Solution: Include header files. (Dominique Pelle, closes #6431)
7274Files: src/tee/tee.c
7275
7276Patch 8.2.1174
7277Problem: No test for the "recording @x" message.
7278Solution: Add a test. (Dominique Pellé, closes #6427)
7279Files: src/testdir/test_registers.vim
7280
7281Patch 8.2.1175
7282Problem: Vim9: Cannot split a line before ".member".
7283Solution: Check for ".member" after line break.
7284Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7285
7286Patch 8.2.1176
7287Problem: Vim9: not enough type checking in Vim9 script.
7288Solution: Use same type checking as in a :def function.
7289Files: src/vim9compile.c, src/proto/vim9compile.pro,
7290 src/eval.c, src/testdir/test_vim9_expr.vim
7291
7292Patch 8.2.1177
7293Problem: Terminal2 test sometimes hangs in the GUI.
7294Solution: Move some tests to other files to further locate the problem.
7295 Set the GUI to a fixed screen size.
7296Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7297 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7298 src/testdir/runtest.vim
7299
7300Patch 8.2.1178
7301Problem: Vim9: filter function recognized as command modifier, leading to a
7302 crash.
7303Solution: Clear cmdmod after freeing items. Do not recognize a command
7304 modifier followed by non-white space. (closes #6434)
7305Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7306
7307Patch 8.2.1179
7308Problem: Test_termwinscroll() sometimes hangs in the GUI.
7309Solution: Skip the test in the GUI.
7310Files: src/testdir/test_terminal2.vim
7311
7312Patch 8.2.1180
7313Problem: Build failure in small version.
7314Solution: Add #ifdef.
7315Files: src/ex_docmd.c
7316
7317Patch 8.2.1181
7318Problem: Json code not fully tested.
7319Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7320Files: src/testdir/test_json.vim
7321
7322Patch 8.2.1182
7323Problem: Vim9: no check for whitespace after comma in lambda.
7324Solution: Give error if white space is missing.
7325Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7326 src/testdir/test_vim9_func.vim
7327
7328Patch 8.2.1183
7329Problem: assert_fails() checks the last error message.
7330Solution: Check the first error, it is more relevant. Fix all the tests
7331 that rely on the old behavior.
7332Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7333 src/testing.c, src/testdir/test_autocmd.vim,
7334 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7335 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7336 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7337 src/testdir/test_cscope.vim, src/if_cscope.c,
7338 src/testdir/test_excmd.vim, src/evalvars.c,
7339 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7340 src/testdir/test_json.vim, src/testdir/test_let.vim,
7341 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7342 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7343 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7344 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7345 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7346 src/testdir/test_random.vim, src/testdir/test_search.vim,
7347 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7348 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7349 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7350 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7351 src/testdir/test_trycatch.vim,
7352 src/testdir/test_vim9_disassemble.vim,
7353 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7354 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7355 src/testdir/test_winbuf_close.vim,
7356 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7357 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7358 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7359
7360Patch 8.2.1184 (after 8.2.1183)
7361Problem: Some tests fail.
7362Solution: Adjust tests for different assert_fails() behavior. Remove unused
7363 variable.
7364Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7365 src/evalvars.c
7366
7367Patch 8.2.1185 (after 8.2.1183)
7368Problem: Some other tests fail.
7369Solution: Adjust tests for different assert_fails() behavior.
7370Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7371
7372Patch 8.2.1186
7373Problem: With SGR mouse codes balloon doesn't show up after click.
7374Solution: Add the MOUSE_RELEASE bits to mouse_code.
7375Files: src/mouse.c
7376
7377Patch 8.2.1187
7378Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7379Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7380Files: src/testdir/test_terminal2.vim
7381
7382Patch 8.2.1188
7383Problem: Memory leak with invalid json input.
7384Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7385 closes #6442)
7386Files: src/json.c, src/testdir/test_json.vim
7387
7388Patch 8.2.1189
7389Problem: Vim9: line continuation in lambda doesn't always work.
7390Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7391Files: src/eval.c, src/testdir/test_vim9_expr.vim
7392
7393Patch 8.2.1190
7394Problem: Vim9: checking for Vim9 syntax is spread out.
7395Solution: Use in_vim9script().
7396Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7397 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7398
7399Patch 8.2.1191
7400Problem: Vim9: crash when function calls itself.
7401Solution: Add status UF_COMPILING. (closes #6441)
7402Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7403
7404Patch 8.2.1192
7405Problem: Lua test fails with older Lua version.
7406Solution: Adjust expected error messages. (closes #6444)
7407Files: src/testdir/test_lua.vim
7408
7409Patch 8.2.1193
7410Problem: Terminal window not redrawn when dragging a popup window over it.
7411Solution: Redraw terminal window. (fixes #6438)
7412Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7413 src/testdir/dumps/Test_popupwin_term_01.dump,
7414 src/testdir/dumps/Test_popupwin_term_02.dump
7415
7416Patch 8.2.1194
7417Problem: Test failure because shell prompt differs.
7418Solution: Set the shell prompt.
7419Files: src/testdir/test_popupwin.vim,
7420 src/testdir/dumps/Test_popupwin_term_01.dump,
7421 src/testdir/dumps/Test_popupwin_term_02.dump
7422
7423Patch 8.2.1195
7424Problem: Clientserver test fails on MS-Windows.
7425Solution: Expect a different error message.
7426Files: src/testdir/test_clientserver.vim
7427
7428Patch 8.2.1196
7429Problem: Build failure with normal features.
7430Solution: Add #ifdef.
7431Files: src/popupwin.c
7432
7433Patch 8.2.1197
7434Problem: Clientserver test still fails on MS-Windows.
7435Solution: Expect a different error message.
7436Files: src/testdir/test_clientserver.vim
7437
7438Patch 8.2.1198
7439Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7440Solution: Move test function to terminal3 to see if the problem moves too.
7441Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7442
7443Patch 8.2.1199
7444Problem: Not all assert functions are fully tested.
7445Solution: Test more assert functions.
7446Files: src/testing.c, src/testdir/test_assert.vim
7447
7448Patch 8.2.1200
7449Problem: Vim9: cannot disassemble a lambda function.
7450Solution: Recognize "<lambda>123" as a function name.
7451Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7452
7453Patch 8.2.1201
7454Problem: Vim9: crash when passing number as dict key.
7455Solution: Check key type to be string. (closes #6449)
7456Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7457
7458Patch 8.2.1202
7459Problem: Vim9: crash when calling a closure from a builtin function.
7460Solution: Use the current execution context. (closes #6441)
7461Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7462
7463Patch 8.2.1203
7464Problem: Unused assignments in expression evaluation.
7465Solution: Move declarations and assignments to inner blocks where possible.
7466Files: src/eval.c
7467
7468Patch 8.2.1204
7469Problem: Vim9: true and false not recognized in Vim9 script.
7470Solution: Recognize true and false.
7471Files: src/eval.c, src/testdir/test_vim9_expr.vim
7472
7473Patch 8.2.1205
7474Problem: Vim9: && and || work differently when not compiled.
7475Solution: Keep the value.
7476Files: src/eval.c, src/testdir/test_vim9_expr.vim
7477
7478Patch 8.2.1206
7479Problem: Vim9: crash in expr test when run in the GUI.
7480Solution: Temporarily comment out two test lines.
7481Files: src/testdir/test_vim9_expr.vim
7482
7483Patch 8.2.1207
7484Problem: Vim9: crash in expr test when run in the GUI.
7485Solution: Break out of loop over hashtab also when function got removed and
7486 added.
7487Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7488
7489Patch 8.2.1208
7490Problem: Build failure.
7491Solution: Add missing change.
7492Files: src/structs.h
7493
7494Patch 8.2.1209
7495Problem: Vim9: test failure.
7496Solution: Add missing changes to hashtab.
7497Files: src/hashtab.c
7498
7499Patch 8.2.1210
7500Problem: Using ht_used when looping through a hashtab is less reliable.
7501Solution: Use ht_changed in a few more places.
7502Files: src/userfunc.c, src/if_py_both.h
7503
7504Patch 8.2.1211 (after 8.2.1118)
7505Problem: Removed more than dead code.
7506Solution: Put back the decrement.
7507Files: src/move.c, src/testdir/test_diffmode.vim
7508
7509Patch 8.2.1212
7510Problem: Cannot build with Lua 5.4.
7511Solution: Use luaL_typeerror instead defining it. (closes #6454)
7512Files: src/if_lua.c
7513
7514Patch 8.2.1213
7515Problem: Mouse codes not tested sufficiently.
7516Solution: Add more tests for mouse codes. (closes #6436)
7517Files: src/testdir/test_termcodes.vim
7518
7519Patch 8.2.1214
7520Problem: MS-Windows: default _vimrc not correct in silent install mode.
7521Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7522Files: nsis/gvim.nsi
7523
7524Patch 8.2.1215
7525Problem: Atari MiNT support is outdated.
7526Solution: Nobody responded this code is still useful, so let's delete it.
7527Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7528 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7529 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7530 src/INSTALL
7531
7532Patch 8.2.1216
7533Problem: Startup test fails.
7534Solution: Adjust expected values for deleted lines.
7535Files: src/testdir/test_startup.vim
7536
7537Patch 8.2.1217
7538Problem: Startup test depends on random source file.
7539Solution: Write a test file to find quickfix errors in.
7540Files: src/testdir/test_startup.vim
7541
7542Patch 8.2.1218
7543Problem: Vim9: cannot use 'text'->func().
7544Solution: Recognize string at start of command.
7545Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7546
7547Patch 8.2.1219
7548Problem: Symlink not followed if dirname ends in //.
7549Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7550Files: src/memline.c, src/testdir/test_swap.vim
7551
7552Patch 8.2.1220
7553Problem: memory access error when dragging a popup window over a buffer
7554 with folding.
7555Solution: Avoid going over the end of the cache. (closes #6438)
7556Files: src/mouse.c, src/testdir/test_popupwin.vim,
7557 src/testdir/dumps/Test_popupwin_term_01.dump,
7558 src/testdir/dumps/Test_popupwin_term_02.dump,
7559 src/testdir/dumps/Test_popupwin_term_03.dump,
7560 src/testdir/dumps/Test_popupwin_term_04.dump
7561
7562Patch 8.2.1221
7563Problem: Memory leak when updating popup window.
7564Solution: Clear search highlighting.
7565Files: src/popupwin.c
7566
7567Patch 8.2.1222
7568Problem: When using valgrind a Vim command started by a test uses the same
7569 log file name which gets overwritten.
7570Solution: Fix regexp to rename the log file.
7571Files: src/testdir/shared.vim
7572
7573Patch 8.2.1223
7574Problem: Vim9: invalid type error for function default value.
7575Solution: Use right argument index. (closes #6458)
7576Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7577
7578Patch 8.2.1224
7579Problem: Vim9: arguments from partial are not used.
7580Solution: Put the partial arguments on the stack. (closes #6460)
7581Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7582
7583Patch 8.2.1225
7584Problem: Linker errors when building with dynamic Python 3.9.
7585Solution: Add #defined items. (closes #6461)
7586Files: src/if_python3.c
7587
7588Patch 8.2.1226
7589Problem: MS-Windows: windows positioning wrong when the taskbar is placed
7590 at the top or left of the screen.
7591Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
7592 Ken Takata, closes #6455)
7593Files: src/gui_w32.c
7594
7595Patch 8.2.1227
7596Problem: Vim9: allowing both quoted and # comments is confusing.
7597Solution: Only support # comments in Vim9 script.
7598Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
7599 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
7600 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
7601 src/testdir/test_vim9_script.vim
7602
7603Patch 8.2.1228
7604Problem: Scrollbars not flush against the window edges when maximised.
7605Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
7606Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
7607 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
7608 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
7609 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
7610 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
7611 src/proto/gui_w32.pro
7612
7613Patch 8.2.1229
7614Problem: Build error without the eval feature.
7615Solution: Declare starts_with_colon. Make function local.
7616Files: src/ex_docmd.c, src/proto/ex_docmd.pro
7617
7618Patch 8.2.1230
7619Problem: Vim9: list index error not caught by try/catch.
7620Solution: Do not bail out if an error is inside try/catch. (closes #6462)
7621Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7622
7623Patch 8.2.1231
7624Problem: MS-Windows: GUI code can be cleaned up.
7625Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
7626Files: src/gui_w32.c, src/proto/gui_w32.pro
7627
7628Patch 8.2.1232
7629Problem: MS-Windows GUI: Snap cancelled by split command.
7630Solution: Do not cancel Snap when splitting a window. (Ken Takata,
7631 closes #6467)
7632Files: src/gui_w32.c
7633
7634Patch 8.2.1233
7635Problem: Vim9: various errors not caught by try/catch.
7636Solution: Do not bail out if an error is inside try/catch.
7637Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7638
7639Patch 8.2.1234
7640Problem: Lua build problem with old compiler.
7641Solution: Move declarations to start of the block. (Taro Muraoka,
7642 closes #6477)
7643Files: src/if_lua.c
7644
7645Patch 8.2.1235
7646Problem: Not all mouse codes covered by tests.
7647Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
7648Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7649
7650Patch 8.2.1236
7651Problem: Vim9: a few errors not caught by try/catch.
7652Solution: Do not bail out if an error is inside try/catch. Fix that a not
7653 matching catch doesn't jump to :endtry.
7654Files: src/vim9compile.c, src/vim9execute.c,
7655 src/testdir/test_vim9_script.vim
7656
7657Patch 8.2.1237
7658Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
7659 Sitter)
7660Solution: Close the popup when the options are changed. (closes #6471)
7661Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
7662 src/optionstr.c, src/testdir/test_popupwin.vim,
7663 src/testdir/dumps/Test_popupwin_infopopup_8.dump
7664
7665Patch 8.2.1238
7666Problem: Vim9: a few remaining errors not caught by try/catch.
7667Solution: Do not bail out if an error is inside try/catch.
7668Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7669
7670Patch 8.2.1239
7671Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
7672Solution: Add separate field for value from option. (closes #6470)
7673Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
7674 src/testdir/dumps/Test_popupwin_infopopup_9.dump
7675
7676Patch 8.2.1240
7677Problem: GUI tests sometimes fail because of translations.
7678Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
7679Files: src/testdir/runtest.vim
7680
7681Patch 8.2.1241
7682Problem: Cannot use getbufinfo() as a method.
7683Solution: Support using getbufinfo() as a method. (closes #6458)
7684Files: runtime/doc/eval.txt, src/evalfunc.c,
7685 src/testdir/test_bufwintabinfo.vim
7686
7687Patch 8.2.1242
7688Problem: Vim9: no error if calling a function with wrong argument type.
7689Solution: Check types of arguments. (closes #6469)
7690Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
7691 src/testdir/test_vim9_func.vim
7692
7693Patch 8.2.1243
7694Problem: Vim9: cannot have a comment or empty line halfway a list at script
7695 level.
7696Solution: Skip more than one line if needed.
7697Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
7698 src/scriptfile.c
7699
7700Patch 8.2.1244
7701Problem: Vim9: in lambda index assumes a list.
7702Solution: Use the value type to decide about list or dict. (closes #6479)
7703Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7704
7705Patch 8.2.1245
7706Problem: Build failure in tiny version.
7707Solution: Add #ifdef.
7708Files: src/scriptfile.c
7709
7710Patch 8.2.1246
7711Problem: Vim9: comment after assignment doesn't work.
7712Solution: Skip over white space. (closes #6481)
7713Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7714
7715Patch 8.2.1247
7716Problem: Vim9: cannot index a character in a string.
7717Solution: Add ISN_STRINDEX instruction. (closes #6478)
7718Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
7719 src/testdir/test_vim9_expr.vim
7720
7721Patch 8.2.1248
7722Problem: Netbeans test is flaky in the GUI.
7723Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
7724Files: src/testdir/test_netbeans.vim
7725
7726Patch 8.2.1249
7727Problem: Vim9: disassemble test fails.
7728Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
7729Files: src/testdir/test_vim9_disassemble.vim
7730
7731Patch 8.2.1250
7732Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
7733Solution: Add instructions to push a dict for the namespaces. (closes #6480)
7734Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
7735 src/testdir/test_vim9_disassemble.vim,
7736 src/testdir/test_vim9_expr.vim
7737
7738Patch 8.2.1251
7739Problem: Vim9: warning for pointer usage, test failure undetected.
7740Solution: Fix pointer indirection. Give error when executing function
7741 failed for any reason. Fix instruction names.
7742Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
7743
7744Patch 8.2.1252
7745Problem: ":marks" may show '< and '> mixed up.
7746Solution: Show the mark position as where '< and '> would jump.
7747Files: src/mark.c, src/testdir/test_marks.vim
7748
7749Patch 8.2.1253
7750Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
7751 Puntaier)
7752Solution: Do not reset did_cursorhold, restore it. (closes #6447)
7753Files: src/normal.c
7754
7755Patch 8.2.1254
7756Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
7757Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
7758Files: src/testdir/test_regexp_utf8.vim
7759
7760Patch 8.2.1255
7761Problem: Cannot use a lambda with quickfix functions.
7762Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
7763Files: runtime/doc/eval.txt, runtime/doc/options.txt,
7764 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
7765 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
7766 src/quickfix.c, src/testdir/test_quickfix.vim
7767
7768Patch 8.2.1256
7769Problem: Vim9: type wrong after getting dict item in lambda.
7770Solution: Set the type to "any" after enforcing dict type. (closes #6491)
7771Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7772
7773Patch 8.2.1257
7774Problem: Vim9: list unpack doesn't work at the script level.
7775Solution: Detect unpack assignment better. (closes #6494)
7776Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
7777
7778Patch 8.2.1258 (after 8.2.1253)
7779Problem: CursorHold does not work well.a (Shane-XB-Qian)
7780Solution: Only restore did_cursorhold when using :normal.
7781Files: src/normal.c
7782
7783Patch 8.2.1259
7784Problem: Empty group in 'tabline' may cause using an invalid pointer.
7785Solution: Set the group start position. (closes #6505)
7786Files: src/buffer.c, src/testdir/test_tabline.vim
7787
7788Patch 8.2.1260
7789Problem: There is no good test for CursorHold.
7790Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
7791 closes #6503)
7792Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
7793 src/testdir/test_normal.vim
7794
7795Patch 8.2.1261
7796Problem: Vim9: common type of function not tested.
7797Solution: Add a test. Fix uncovered problems.
7798Files: src/vim9compile.c, src/vim9execute.c,
7799 src/testdir/test_vim9_expr.vim
7800
7801Patch 8.2.1262
7802Problem: src/ex_cmds.c file is too big.
7803Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
7804 closes #6506)
7805Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7806 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7807 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
7808 src/proto/ex_cmds.pro, src/proto/help.pro
7809
7810Patch 8.2.1263
7811Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
7812Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
7813 (closes #6497)
7814Files: src/eval.c, src/typval.c, src/vim9execute.c,
7815 src/testdir/test_vim9_expr.vim
7816
7817Patch 8.2.1264
7818Problem: Terminal getwinpos() test is a bit flaky.
7819Solution: Call getwinpos() a bit later.
7820Files: src/testdir/test_terminal3.vim
7821
7822Patch 8.2.1265
7823Problem: Crash with EXITFREE when split() fails.
7824Solution: Restore 'cpoptions'.
7825Files: src/evalfunc.c
7826
7827Patch 8.2.1266 (after 8.2.1262)
7828Problem: Makefile preference were accidentally included.
7829Solution: Revert the Makefile changes.
7830Files: src/Makefile
7831
7832Patch 8.2.1267
7833Problem: MS-Windows: tests may fail due to $PROMPT value.
7834Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
7835Files: src/testdir/runtest/vim
7836
7837Patch 8.2.1268
7838Problem: Vim9: no error for using double quote comment after :func or :def.
7839Solution: Only accept double quote when not in Vim9 script and not after
7840 :def. (closes #6483)
7841Files: src/userfunc.c, src/testdir/test_vim9_script.vim
7842
7843Patch 8.2.1269
7844Problem: Language and locale code spread out.
7845Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
7846 closes #6509)
7847Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7848 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7849 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
7850 src/proto/ex_cmds2.pro, src/proto/locale.pro
7851
7852Patch 8.2.1270
7853Problem: Vim9: not skipping over function type declaration with only a
7854 return type.
7855Solution: Skip over the return type. (issue #6507)
7856Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7857
7858Patch 8.2.1271
7859Problem: Vim9: Error for Funcref function argument type.
7860Solution: Find the actual function type if possible. (issue #6507)
7861Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7862
7863Patch 8.2.1272
7864Problem: Vim9: type not checked if declaration also assigns value.
7865Solution: Check the type. (issue #6507)
7866Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
7867 src/vim9script.c, src/vim9execute.c,
7868 src/testdir/test_vim9_script.vim
7869
7870Patch 8.2.1273
7871Problem: MS-Windows: terminal test may leave file behind.
7872Solution: Wait a moment for process to end before deleting the file.
7873 (Taro Muraoka, closes #6513)
7874Files: src/testdir/test_terminal.vim
7875
7876Patch 8.2.1274
7877Problem: Vim9: no error for missing white space in assignment at script
7878 level.
7879Solution: Check for white space. (closes #6495)
7880Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
7881 src/testdir/test_let.vim
7882
7883Patch 8.2.1275
7884Problem: Vim9: compiler warning for buffer size.
7885Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
7886Files: src/vim9script.c
7887
7888Patch 8.2.1276
7889Problem: MS-Windows: system test may fail if more.exe is installed.
7890Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
7891Files: src/testdir/test_system.vim
7892
7893Patch 8.2.1277
7894Problem: Tests on Travis do not run with EXITFREE.
7895Solution: Add EXITFREE to all builds to uncover any mistakes.
7896Files: .travis.yml
7897
7898Patch 8.2.1278
7899Problem: Vim9: line break after "->" only allowed in :def function.
7900Solution: Only allow line break after "->". (closes #6492)
7901Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
7902
7903Patch 8.2.1279
7904Problem: Some tests on Travis have EXITFREE duplicated.
7905Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
7906Files: .travis.yml
7907
7908Patch 8.2.1280
7909Problem: Ex command error cannot contain an argument.
7910Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
7911 possible.
7912Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
7913 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
7914
7915Patch 8.2.1281
7916Problem: The "trailing characters" error can be hard to understand.
7917Solution: Add the trailing characters to the message.
7918Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
7919 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
7920 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
7921
7922Patch 8.2.1282
7923Problem: Vim9: crash when using CheckScriptFailure() in
7924 Test_vim9script_call_fail_decl().
7925Solution: Do not decrement the def_functions len unless the function was
7926 newly added.
7927Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7928
7929Patch 8.2.1283
7930Problem: Vim9: error for misplaced -> lacks argument.
7931Solution: Use the pointer before it was advanced.
7932Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7933
7934Patch 8.2.1284
7935Problem: Vim9: skipping over type includes following white space, leading
7936 to an error for missing white space.
7937Solution: Do not skip over white space after the type.
7938Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7939
7940Patch 8.2.1285
7941Problem: Vim9: argument types are not checked on assignment.
7942Solution: Check function argument types. (issue #6507)
7943Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7944
7945Patch 8.2.1286
7946Problem: Vim9: No error when using a type on a window variable
7947Solution: Recognize the syntax and give an error. (closes #6521)
7948Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
7949
7950Patch 8.2.1287
7951Problem: Vim9: crash when using an imported function.
7952Solution: Add the function type to the imported entry. (closes #6522)
7953Files: src/vim9script.c, src/vim9compile.c,
7954 src/testdir/test_vim9_script.vim
7955
7956Patch 8.2.1288
7957Problem: Vim9: cannot use mark in range.
7958Solution: Use the flag that a colon was seen. (closes #6528)
7959Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
7960
7961Patch 8.2.1289
7962Problem: Crash when using a custom completion function.
7963Solution: Initialize all of the expand_T. (closes #6532)
7964Files: src/cmdexpand.c
7965
7966Patch 8.2.1290
7967Problem: Vim9: cannot replace a global function.
7968Solution: Allow for "!" on a global function. (closes #6524) Also fix that
7969 :delfunc on a :def function only made it empty.
7970Files: src/userfunc.c, src/testdir/test_vim9_script.vim
7971
7972Patch 8.2.1291
7973Problem: Vim9: type of varargs items is not checked.
7974Solution: Check the list item types. (closes #6523)
7975Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7976
7977Patch 8.2.1292
7978Problem: AIDL filetype not recognized.
7979Solution: Add filetype detection. (Dominique Pellé, closes #6533)
7980Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7981
7982Patch 8.2.1293
7983Problem: Vim9: :execute mixes up () expression and function call.
7984Solution: Do not skip white space when looking for the "(". (closes #6531)
7985Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7986
7987Patch 8.2.1294
7988Problem: Vim9: error when using vim9script in TextYankPost.
7989Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
7990 be used when text is locked. (closes #6529)
7991Files: src/ex_cmds.h, src/ex_docmd.c
7992
7993Patch 8.2.1295
7994Problem: Tests 44 and 99 are old style.
7995Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
7996Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7997 src/testdir/test44.in, src/testdir/test44.ok,
7998 src/testdir/test99.in, src/testdir/test99.ok,
7999 src/testdir/test_regexp_utf8.vim
8000
8001Patch 8.2.1296
8002Problem: Some part of using 'smartcase' was not tested.
8003Solution: Add more tests. (Dominique Pellé, closes #6538)
8004Files: src/testdir/test_search.vim
8005
8006Patch 8.2.1297
8007Problem: When a test fails it's often not easy to see what the call stack
8008 is.
8009Solution: Add more entries from the call stack in the exception message.
8010Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8011 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8012 src/ex_eval.c, src/message.c, src/testing.c,
8013 src/testdir/test_expand_func.vim
8014
8015Patch 8.2.1298
8016Problem: Compiler warning for unused argument in small version.
8017Solution: Add UNUSED.
8018Files: src/scriptfile.c
8019
8020Patch 8.2.1299
8021Problem: Compiler warning for using size_t for int and void pointer.
8022Solution: Add type casts.
8023Files: src/scriptfile.c
8024
8025Patch 8.2.1300
8026Problem: Vim9: optional argument type not parsed properly.
8027Solution: Skip over the "?". (issue #6507)
8028Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8029 src/userfunc.c, src/testdir/test_vim9_func.vim
8030
8031Patch 8.2.1301
8032Problem: Vim9: varargs argument type not parsed properly.
8033Solution: Skip over the "...". (issue #6507)
8034Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8035
8036Patch 8.2.1302
8037Problem: Vim9: varargs arg after optional arg does not work
8038Solution: Check for the "..." first. (issue #6507)
8039Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8040
8041Patch 8.2.1303
8042Problem: Calling popup_setoptions() resets 'signcolumn'.
8043Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8044Files: src/popupwin.c, src/testdir/test_popupwin.vim
8045
8046Patch 8.2.1304
8047Problem: Debug backtrace isn't tested much.
8048Solution: Add more specific tests. (Ben Jackson, closes #6540)
8049Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8050
8051Patch 8.2.1305
8052Problem: Some tests are still old style.
8053Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8054 closes #6544) Fix error in FinishTesting().
8055Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8056 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8057 src/testdir/test52.in, src/testdir/test52.ok,
8058 src/testdir/test70.in, src/testdir/test70.ok,
8059 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8060
8061Patch 8.2.1306
8062Problem: Checking for first character of dict key is inconsistent.
8063Solution: Add eval_isdictc(). (closes #6546)
8064Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8065 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8066 src/testdir/test_let.vim
8067
8068Patch 8.2.1307
8069Problem: popup window width does not include number, fold of sign column
8070 width.
8071Solution: Take number, fold and sign column with into account.
8072Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8073 src/testdir/dumps/Test_popupwin_sign_2.dump
8074
8075Patch 8.2.1308
8076Problem: Vim9: accidentally using "x" causes Vim to exit.
8077Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8078Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8079 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8080 src/testdir/test_vim9_script.vim
8081
8082Patch 8.2.1309
8083Problem: Build failure with tiny version.
8084Solution: Add #ifdef.
8085Files: src/ex_cmds.c, src/ex_docmd.c
8086
8087Patch 8.2.1310
8088Problem: Configure with Xcode 12 fails to check for tgetent.
8089Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8090Files: src/configure.ac, src/auto/configure
8091
8092Patch 8.2.1311
8093Problem: Test failures with legacy Vim script.
8094Solution: Actually check for Vim9 script.
8095Files: src/vim9script.c
8096
8097Patch 8.2.1312
8098Problem: MS-Windows: terminal test may fail if dir.exe exists.
8099Solution: Use dir.com. (Ken Takata, closes #6557)
8100Files: src/testdir/test_terminal3.vim
8101
8102Patch 8.2.1313
8103Problem: Vim9 script: cannot assign to environment variable.
8104Solution: Recognize environment variable assignment. (closes #6548)
8105 Also options and registers.
8106Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8107
8108Patch 8.2.1314
8109Problem: Vim9: rule for comment after :function is confusing.
8110Solution: Allow double quoted comment after :function in vim9script.
8111 (closes #6556)
8112Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8113
8114Patch 8.2.1315
8115Problem: MS-Windows: test log contains escape sequences.
8116Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8117 closes #6559)
8118Files: src/testdir/runtest.vim
8119
8120Patch 8.2.1316
8121Problem: Test 42 is still old style.
8122Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8123Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8124 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8125 src/testdir/test42.in, src/testdir/test42.ok,
8126 src/testdir/test_writefile.vim
8127
8128Patch 8.2.1317
8129Problem: MS-Windows tests on AppVeyor are slow.
8130Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8131Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8132 ci/appveyor.bat
8133
8134Patch 8.2.1318
8135Problem: No status badge for Github CI.
8136Solution: Add a badge.
8137Files: README.md
8138
8139Patch 8.2.1319
8140Problem: Status badge for Github CI has wrong link.
8141Solution: Rename and use the right link
8142Files: README.md, .github/workflows/ci-windows.yaml
8143
8144Patch 8.2.1320
8145Problem: Vim9: cannot declare some single letter variables.
8146Solution: Do not recognize a colon for a namespace for single letter
8147 variables. (closes #6547)
8148Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8149
8150Patch 8.2.1321
8151Problem: GitHub CI also runs on tag push.
8152Solution: Skip CI on push. (Ken Takata, closes #6571)
8153Files: .github/workflows/ci-windows.yaml
8154
8155Patch 8.2.1322
8156Problem: Vim9: method on double quoted string doesn't work.
8157Solution: Recognize double quoted string. (closes #6562)
8158Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8159 src/testdir/test_vim9_expr.vim
8160
8161Patch 8.2.1323
8162Problem: Vim9: invalid operators only rejected in :def function.
8163Solution: Also reject them at script level. (closes #6564)
8164Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8165 src/testdir/test_vim9_expr.vim
8166
8167Patch 8.2.1324
8168Problem: Vim9: line break after "=" does not work.
8169Solution: Also allow for NUL after "=". (closes #6549)
8170Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8171
8172Patch 8.2.1325
8173Problem: Vim9: using Vim9 script for autoload not tested.
8174Solution: Add a test. Update help.
8175Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8176 src/testdir/sautest/autoload/auto9.vim
8177
8178Patch 8.2.1326
8179Problem: Vim9: skipping over white space after list.
8180Solution: Do not skip white space, a following [] would be misinterpreted.
8181 (closes #6552) Fix a few side effects.
8182Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8183 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8184 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8185 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8186
8187Patch 8.2.1327
8188Problem: Mac: configure can't find Tcl libraries.
8189Solution: Adjust configure check. (closes #6575)
8190Files: src/configure.ac, src/auto/configure
8191
8192Patch 8.2.1328
8193Problem: No space allowed before comma in list.
8194Solution: Legacy Vim script allows it. (closes #6577)
8195Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8196
8197Patch 8.2.1329
8198Problem: Vim9: cannot define global function inside :def function.
8199Solution: Assign to global variable instead of local. (closes #6584)
8200Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8201 src/vim9.h, src/vim9execute.c, src/structs.h,
8202 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8203 src/testdir/test_vim9_disassemble.vim
8204
8205Patch 8.2.1330
8206Problem: Github workflow takes longer than needed.
8207Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8208 closes #6579)
8209Files: .github/workflows/ci-windows.yaml
8210
8211Patch 8.2.1331
8212Problem: Vim9: :echo with two lists doesn't work.
8213Solution: Do not skip white space before []. (closes #6552)
8214Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8215
8216Patch 8.2.1332
8217Problem: Vim9: memory leak when using nested global function.
8218Solution: Delete the function when deleting the instruction. Disable test
8219 that still causes a leak.
8220Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8221 src/testdir/test_vim9_func.vim
8222
8223Patch 8.2.1333
8224Problem: Vim9: memory leak when using nested global function.
8225Solution: Swap from and to when copying the lines.
8226Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8227
8228Patch 8.2.1334
8229Problem: Github workflow timeout needs tuning
8230Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8231 closes #6590)
8232Files: .github/workflows/ci-windows.yaml
8233
8234Patch 8.2.1335
8235Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8236Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8237Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8238 src/gui_photon.c
8239
8240Patch 8.2.1336 (after 8.2.1335)
8241Problem: Build failure on non-Unix systems.
8242Solution: Add #ifdef.
8243Files: src/gui.c
8244
8245Patch 8.2.1337
8246Problem: Vim9: cannot use empty key in dict assignment.
8247Solution: Allow empty key. (closes #6591)
8248Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8249
8250Patch 8.2.1338
8251Problem: Vim9: assigning to script-local variable doesn't check type.
8252Solution: Use the type. (issue #6591)
8253Files: src/vim9compile.c, src/vim9execute.c,
8254 src/testdir/test_vim9_script.vim
8255
8256Patch 8.2.1339
8257Problem: Vim9: assigning to global dict variable doesn't work.
8258Solution: Guess variable type based in index type. (issue #6591)
8259Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8260
8261Patch 8.2.1340
8262Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8263Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8264 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8265Files: .cirrus.yml, src/testdir/test_backup.vim,
8266 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8267 src/testdir/test_writefile.vim, src/viminfo.c
8268
8269Patch 8.2.1341
8270Problem: Build failures.
8271Solution: Add missing error message.
8272Files: src/globals.h
8273
8274Patch 8.2.1342
8275Problem: Vim9: accidentally using "x" gives a confusing error.
8276Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8277Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8278 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8279
8280Patch 8.2.1343
8281Problem: Vim9: cannot find global function when using g: when local
8282 function with the same name exists.
8283Solution: Find global function when using g:.
8284Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8285
8286Patch 8.2.1344
8287Problem: Vim9: No test for trying to redefine global function.
8288Solution: Add a test.
8289Files: src/testdir/test_vim9_func.vim
8290
8291Patch 8.2.1345
8292Problem: Redraw error when using visual block and scroll.
8293Solution: Add check for w_topline. (closes #6597)
8294Files: src/drawscreen.c, src/testdir/test_display.vim,
8295 src/testdir/dumps/Test_display_visual_block_scroll.dump
8296
8297Patch 8.2.1346
8298Problem: Small build fails.
8299Solution: Add #ifdef.
8300Files: src/ex_docmd.c
8301
8302Patch 8.2.1347
8303Problem: Cannot easily get the script ID.
8304Solution: Support expand('<SID>').
8305Files: runtime/doc/map.txt, src/ex_docmd.c,
8306 src/testdir/test_expand_func.vim
8307
8308Patch 8.2.1348
8309Problem: Build failure without the eval feature.
8310Solution: Add #ifdef.
8311Files: src/ex_docmd.c
8312
8313Patch 8.2.1349
8314Problem: Vim9: can define a function with the name of an import.
8315Solution: Disallow using an existing name. (closes #6585)
8316Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8317 src/testdir/test_vim9_script.vim
8318
8319Patch 8.2.1350
8320Problem: Vim9: no test for error message when redefining function.
8321Solution: Add a test.
8322Files: src/testdir/test_vim9_script.vim
8323
8324Patch 8.2.1351
8325Problem: Vim9: no proper error if using namespace for nested function.
8326Solution: Specifically check for a namespace. (closes #6582)
8327Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8328
8329Patch 8.2.1352
8330Problem: Vim9: no error for shadowing a script-local function by a nested
8331 function.
8332Solution: Check for script-local function. (closes #6586)
8333Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8334
8335Patch 8.2.1353
8336Problem: Crash when drawing double-wide character in terminal window.
8337 (Masato Nishihata)
8338Solution: Check getcell() returning NULL. (issue #6141)
8339Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8340
8341Patch 8.2.1354
8342Problem: Test 59 is old style.
8343Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8344Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8345 src/testdir/Make_vms.mms, src/testdir/test59.in,
8346 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8347
8348Patch 8.2.1355
8349Problem: Vim9: no error using :let for options and registers.
8350Solution: Give an error. (closes #6568)
8351Files: src/evalvars.c, src/vim9compile.c,
8352 src/testdir/test_vim9_script.vim
8353
8354Patch 8.2.1356
8355Problem: Vim9: cannot get the percent register.
8356Solution: Check for readable registers instead of writable. (closes #6566)
8357Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8358
8359Patch 8.2.1357
8360Problem: Vim9: cannot assign to / register.
8361Solution: Adjust check for assignment. (issue #6566)
8362Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8363 src/testdir/test_vim9_script.vim
8364
8365Patch 8.2.1358
8366Problem: Vim9: test fails with +dnd is not available.
8367Solution: Add condition.
8368Files: src/testdir/test_vim9_script.vim
8369
8370Patch 8.2.1359
8371Problem: Vim9: cannot assign to / register in Vim9 script.
8372Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8373Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8374
8375Patch 8.2.1360
8376Problem: Stray error for white space after expression.
8377Solution: Ignore trailing white space. (closes #6608)
8378Files: src/eval.c, src/testdir/test_filter_map.vim
8379
8380Patch 8.2.1361
8381Problem: Error for white space after expression in assignment.
8382Solution: Skip over white space. (closes #6617)
8383Files: src/eval.c, src/testdir/test_expr.vim
8384
8385Patch 8.2.1362
8386Problem: Last entry of ":set term=xxx" overwritten by error message when
8387 'cmdheight' is two or more. (Tony Mechelynck)
8388Solution: Output extra line breaks.
8389Files: src/term.c, src/testdir/test_termcodes.vim
8390
8391Patch 8.2.1363
8392Problem: Test trying to run terminal when it is not supported.
8393Solution: Check if Vim can be run in a terminal.
8394Files: src/testdir/test_termcodes.vim
8395
8396Patch 8.2.1364
8397Problem: Invalid memory access when searching for raw string.
8398Solution: Check for delimiter match before following quote. (closes #6578)
8399Files: src/search.c
8400
8401Patch 8.2.1365
8402Problem: Vim9: no error for missing white space around operator.
8403Solution: Check for white space. (closes #6618)
8404Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8405 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8406 src/testdir/test_vim9_func.vim
8407
8408Patch 8.2.1366
8409Problem: Test 49 is old style.
8410Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8411 closes #6629)
8412Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8413 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8414
8415Patch 8.2.1367
8416Problem: Vim9: no error for missing white space around operator.
8417Solution: Check for white space around *, / and %.
8418Files: src/eval.c, src/testdir/test_vim9_expr.vim
8419
8420Patch 8.2.1368
8421Problem: Vim9: no error for missing white space around operator.
8422Solution: Check for white space around <, !=, etc.
8423Files: src/eval.c, src/testdir/test_vim9_expr.vim
8424
8425Patch 8.2.1369
8426Problem: MS-Windows: autocommand test sometimes fails.
8427Solution: Do not rely on the cat command.
8428Files: src/testdir/test_autocmd.vim
8429
8430Patch 8.2.1370
8431Problem: MS-Windows: warning for using fstat() with stat_T.
8432Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8433Files: src/macros.h
8434
8435Patch 8.2.1371
8436Problem: Vim9: no error for missing white space around operator.
8437Solution: Check for white space around && and ||.
8438Files: src/eval.c, src/testdir/test_vim9_expr.vim
8439
8440Patch 8.2.1372
8441Problem: Vim9: no error for missing white space around operator.
8442Solution: Check for white space around ? and :.
8443Files: src/eval.c, src/testdir/test_vim9_expr.vim
8444
8445Patch 8.2.1373
8446Problem: Vim9: no error for assigning to non-existing script var.
8447Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8448Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8449 src/testdir/test_vim9_script.vim
8450
8451Patch 8.2.1374
8452Problem: Vim9: error for assigning empty list to script variable.
8453Solution: Use t_unknown for empty list member. (closes #6595)
8454Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8455
8456Patch 8.2.1375
8457Problem: Vim9: method name with digit not accepted.
8458Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8459Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8460
8461Patch 8.2.1376
8462Problem: Vim9: expression mapping causes error for using :import.
8463Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8464Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8465
8466Patch 8.2.1377
8467Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8468Solution: Increment tb_change_cnt. (closes #6541)
8469Files: src/getchar.c
8470
8471Patch 8.2.1378
8472Problem: Cannot put space between function name and paren.
8473Solution: Allow this for backwards compatibility.
8474Files: src/eval.c, src/testdir/test_expr.vim,
8475 src/testdir/test_vim9_expr.vim
8476
8477Patch 8.2.1379
8478Problem: Curly braces expression ending in " }" does not work.
8479Solution: Skip over white space when checking for "}". (closes #6634)
8480Files: src/dict.c, src/testdir/test_eval_stuff.vim
8481
8482Patch 8.2.1380
8483Problem: Vim9: return type of getreg() is always a string.
8484Solution: Use list of strings when there are three arguments. (closes #6633)
8485Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8486
8487Patch 8.2.1381
8488Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8489Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8490Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8491
8492Patch 8.2.1382
8493Problem: Vim9: using :import in filetype plugin gives an error.
8494Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8495Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8496
8497Patch 8.2.1383
8498Problem: Test 49 is old style.
8499Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8500 closes #6638)
8501Files: src/testdir/test49.ok, src/testdir/test49.vim,
8502 src/testdir/test_vimscript.vim
8503
8504Patch 8.2.1384
8505Problem: No ATTENTION prompt for :vimgrep first match file.
8506Solution: When there is an existing swap file do not keep the dummy buffer.
8507 (closes #6649)
8508Files: src/quickfix.c, src/testdir/runtest.vim,
8509 src/testdir/test_quickfix.vim
8510
8511Patch 8.2.1385
8512Problem: No testing on ARM.
8513Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8514Files: .travis.yml
8515
8516Patch 8.2.1386
8517Problem: Backslash not removed after space in option with space in
8518 'isfname'.
8519Solution: Do remove backslash before space, also when it is in 'isfname'.
8520 (Yasuhiro Matsumoto, closes #6651)
8521Files: src/option.c, src/testdir/test_options.vim
8522
8523Patch 8.2.1387
8524Problem: Vim9: cannot assign to single letter variable with type.
8525Solution: Exclude the colon from the variable name. (closes #6647)
8526Files: src/eval.c, src/testdir/test_vim9_script.vim
8527
8528Patch 8.2.1388
8529Problem: Vim9: += only works for numbers.
8530Solution: Use += as concatenate for a list. (closes #6646)
8531Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8532
8533Patch 8.2.1389
8534Problem: File missing from the distribution.
8535Solution: Add script_util.vim to the list of distributes files.
8536Files: Filelist
8537
8538Patch 8.2.1390
8539Problem: Vim9: type error after storing an option value.
8540Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8541Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8542
8543Patch 8.2.1391
8544Problem: Vim9: no error for shadowing a script function.
8545Solution: Check for already defined items. (closes #6652)
8546Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8547
8548Patch 8.2.1392
8549Problem: Vim9: error line number incorrect after skipping over comment
8550 lines.
8551Solution: Insert empty lines for skipped lines.
8552Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8553
8554Patch 8.2.1393
8555Problem: Insufficient testing for script debugging.
8556Solution: Add more tests. (Ben Jackson)
8557Files: src/testdir/test_debugger.vim
8558
8559Patch 8.2.1394
8560Problem: Vim9: compiling a function interferes with command modifiers.
8561Solution: Save and restore command modifiers. (closes #6658)
8562Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8563 src/testdir/test_vim9_script.vim
8564
8565Patch 8.2.1395
8566Problem: Vim9: no error if declaring a funcref with a lower case letter.
8567Solution: Check the name after the type is inferred. Fix confusing name.
8568Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8569 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8570 src/testdir/test_vim9_expr.vim
8571
8572Patch 8.2.1396
8573Problem: Vim9: no error for unexpectedly returning a value.
8574Solution: Only set the return type for lambda's. Make using function type
8575 in a function reference work.
8576Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8577
8578Patch 8.2.1397
8579Problem: Vim9: return type of maparg() not adjusted for fourth argument.
8580Solution: Check if fourth argument is present. (closes #6645)
8581Files: src/evalfunc.c, src/testdir/test_maparg.vim
8582
8583Patch 8.2.1398
8584Problem: Autoload script sourced twice if sourced directly.
8585Solution: Do not source an autoload script again. (issue #6644)
8586Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
8587
8588Patch 8.2.1399
8589Problem: Vim9: may find imported item in wrong script.
8590Solution: When looking up script-local function use the embedded script ID.
8591 (issue #6644)
8592Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
8593 src/testdir/test_vim9_script.vim
8594
8595Patch 8.2.1400
8596Problem: Vim9: test does not delete written files.
8597Solution: Correct file names.
8598Files: src/testdir/test_vim9_script.vim
8599
8600Patch 8.2.1401
8601Problem: Cannot jump to the last used tabpage.
8602Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
8603 neovim #11626)
8604Files: runtime/doc/eval.txt, runtime/doc/index.txt,
8605 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
8606 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
8607 src/window.c
8608
8609Patch 8.2.1402
8610Problem: s390x tests always fail.
8611Solution: Temporarily disable s390x tests.
8612Files: .travis.yml
8613
8614Patch 8.2.1403
8615Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
8616 commands.
8617Solution: Allow using :vim9script, :import and :export while in the cmdline
8618 window. (closes #6656)
8619Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8620
8621Patch 8.2.1404
8622Problem: Vim9: script test fails in the GUI.
8623Solution: Use another key to map. Improve cleanup.
8624Files: src/testdir/test_vim9_script.vim
8625
8626Patch 8.2.1405
8627Problem: Vim9: vim9compile.c is getting too big.
8628Solution: Split off type code to vim9type.c.
8629Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
8630 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
8631 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
8632
8633Patch 8.2.1406
8634Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
8635Solution: Compute the max height depending on the position. (closes #6664)
8636Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8637 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
8638 src/testdir/dumps/Test_popupwin_toohigh_2.dump
8639
8640Patch 8.2.1407
8641Problem: Vim9: type of list and dict only depends on first item.
8642Solution: Use all items to decide about the type.
8643Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
8644 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
8645
8646Patch 8.2.1408
8647Problem: Vim9: type casting not supported.
8648Solution: Introduce type casting.
8649Files: runtime/doc/vim9.txt, src/vim9compile.c,
8650 src/testdir/test_vim9_expr.vim,
8651 src/testdir/test_vim9_disassemble.vim
8652
8653Patch 8.2.1409
8654Problem: Nmpmrc and php.ini filetypes not recognized.
8655Solution: Add filetype detection. (Doug Kearns)
8656Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8657
8658Patch 8.2.1410
8659Problem: Adding compiler plugin requires test change.
8660Solution: Include compiler plugin and adjust test.
8661Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
8662
8663Patch 8.2.1411
8664Problem: when splitting a window localdir is copied but prevdir is not.
8665Solution: Also copy prevdir. (closes #6667)
8666Files: src/window.c, src/testdir/test_cd.vim
8667
8668Patch 8.2.1412
8669Problem: Vim: not operator does not result in boolean.
8670Solution: Make type depend on operator. (issue 6678) Fix using "false" and
8671 "true" in Vim9 script.
8672Files: src/eval.c, src/testdir/test_vim9_expr.vim
8673
8674Patch 8.2.1413 (after 8.2.1401)
8675Problem: Previous tab page not usable from an Ex command.
8676Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
8677 closes #6677)
8678Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
8679 src/testdir/test_tabpage.vim
8680
8681Patch 8.2.1414
8682Problem: Popupwindow missing last couple of lines when cursor is in the
8683 first line.
8684Solution: Compute the max height also when top aligned. (closes #6664)
8685Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8686 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
8687 src/testdir/dumps/Test_popupwin_nospace.dump
8688
8689Patch 8.2.1415
8690Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
8691 calls a function.
8692Solution: Reset got_int while redrawing. (closes #6675)
8693Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8694 src/testdir/dumps/Test_popupwin_ctrl_c.dump
8695
8696Patch 8.2.1416
8697Problem: Vim9: boolean evaluation does not work as intended.
8698Solution: Use tv2bool() in Vim9 script. (closes #6681)
8699Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
8700
8701Patch 8.2.1417
8702Problem: Test 49 is old style.
8703Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
8704 closes #6682)
8705Files: src/testdir/test49.ok, src/testdir/test49.vim,
8706 src/testdir/test_vimscript.vim
8707
8708Patch 8.2.1418
8709Problem: Vim9: invalid error for missing white space after function.
8710Solution: Do not skip over white space. (closes #6679)
8711Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
8712
8713Patch 8.2.1419
8714Problem: Vim9: not operator applied too early.
8715Solution: Implement the "numeric_only" argument. (closes #6680)
8716Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8717
8718Patch 8.2.1420
8719Problem: Test 49 is old style.
8720Solution: Convert remaining parts to new style. Remove obsolete items.
8721 (Yegappan Lakshmanan, closes #6683)
8722Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
8723 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
8724 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
8725 src/testdir/Make_vms.mms, src/testdir/Makefile,
8726 src/testdir/README.txt, src/testdir/test49.in,
8727 src/testdir/test49.ok, src/testdir/test49.vim,
8728 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
8729
8730Patch 8.2.1421
8731Problem: Vim9: handling "+" and "-" before number differs from Vim script.
8732Solution: Use the same sequence of commands.
8733Files: src/vim9compile.c
8734
8735Patch 8.2.1422
8736Problem: The Mac GUI implementation is outdated and probably doesn't even
8737 work.
8738Solution: Remove the Mac GUI code. The MacVim project provides the
8739 supported Vim GUI version.
8740Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
8741 src/Makefile, src/configure.ac, src/auto/configure,
8742 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
8743 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
8744 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
8745 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
8746 src/vim.h, src/INSTALLmac.txt
8747
8748Patch 8.2.1423
8749Problem: Vim9: find global function when looking for script-local.
8750Solution: Don't strip prefix if name starts with "s:". (closes #6688)
8751Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8752
8753Patch 8.2.1424 (after 8.2.1422)
8754Problem: Mac build fails.
8755Solution: Adjust configure to not fall back to Athena. Adjust some other
8756 files.
8757Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
8758 src/version.c
8759
8760Patch 8.2.1425
8761Problem: Vim9: cannot use call() without :call.
8762Solution: Do not skip over "call(". (closes #6689)
8763Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8764
8765Patch 8.2.1426
8766Problem: Vim9: cannot call autoload function in :def function.
8767Solution: Load the autoload script. (closes #6690)
8768Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
8769 src/testdir/test_vim9_expr.vim
8770
8771Patch 8.2.1427
8772Problem: Vim9: cannot use a range with marks in :def function.
8773Solution: Parse range after colon. (closes #6686)
8774Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
8775
8776Patch 8.2.1428
8777Problem: Vim9: :def function does not abort on nested function error.
8778Solution: Check whether an error message was given. (closes #6691)
8779Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8780
8781Patch 8.2.1429
8782Problem: Vim9: no error for missing white after : in dict.
8783Solution: Check for white space. (closes #6671) Also check that there is no
8784 white before the :.
8785Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8786 src/testdir/test_vim9_func.vim
8787
8788Patch 8.2.1430
8789Problem: Vim9: error for missing comma instead of extra white space.
8790Solution: Check if comma can be found after white space. (closes #6668)
8791 Also check for extra white space in literal dict. (closes #6670)
8792Files: src/list.c, src/dict.c, src/vim9compile.c,
8793 src/testdir/test_vim9_expr.vim
8794
8795Patch 8.2.1431
8796Problem: Vim9: no error for white space before comma in dict.
8797Solution: Check for extra white space. (closes #6674)
8798Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
8799
8800Patch 8.2.1432
8801Problem: Various inconsistencies in test files.
8802Solution: Add modelines where they were missing. Use Check commands instead
8803 of silently skipping over tests. Adjust indents and comments.
8804 (Ken Takata, closes #6695)
8805Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
8806 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
8807 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
8808 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
8809 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
8810 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
8811 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
8812 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
8813 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
8814 src/testdir/test_cjk_linebreak.vim,
8815 src/testdir/test_clientserver.vim,
8816 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
8817 src/testdir/test_command_count.vim,
8818 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
8819 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
8820 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
8821 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
8822 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
8823 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
8824 src/testdir/test_erasebackword.vim,
8825 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
8826 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
8827 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
8828 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
8829 src/testdir/test_expand_dllpath.vim,
8830 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
8831 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
8832 src/testdir/test_filter_cmd.vim,
8833 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
8834 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
8835 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
8836 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
8837 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
8838 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
8839 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
8840 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
8841 src/testdir/test_iminsert.vim,
8842 src/testdir/test_increment_dbcs.vim,
8843 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
8844 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
8845 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
8846 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
8847 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
8848 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
8849 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
8850 src/testdir/test_listlbr_utf8.vim,
8851 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
8852 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
8853 src/testdir/test_matchadd_conceal.vim,
8854 src/testdir/test_matchadd_conceal_utf8.vim,
8855 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
8856 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
8857 src/testdir/test_modeline.vim,
8858 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
8859 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
8860 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
8861 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
8862 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
8863 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
8864 src/testdir/test_random.vim, src/testdir/test_recover.vim,
8865 src/testdir/test_regex_char_classes.vim,
8866 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
8867 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
8868 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
8869 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
8870 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
8871 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
8872 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
8873 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
8874 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
8875 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
8876 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
8877 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
8878 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
8879 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
8880 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
8881 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
8882 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
8883 src/testdir/test_terminal_fail.vim,
8884 src/testdir/test_true_false.vim,
8885 src/testdir/test_utf8_comparisons.vim,
8886 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
8887 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
8888 src/testdir/test_winbuf_close.vim,
8889 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
8890 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
8891 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
8892 src/testdir/test_xxd.vim
8893
8894Patch 8.2.1433
8895Problem: Vim9: cannot mingle comments in multi-line lambda.
8896Solution: Skip over NULL lines. (closes #6694)
8897Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8898
8899Patch 8.2.1434
8900Problem: Vim9: crash when lambda uses outer function argument.
8901Solution: Set the flag that the outer context is used.
8902Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8903
8904Patch 8.2.1435
8905Problem: Vim9: always converting to string for ".." leads to mistakes.
8906Solution: Only automatically convert simple types.
8907Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
8908 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
8909 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
8910 src/testdir/test_vim9_disassemble.vim
8911
8912Patch 8.2.1436
8913Problem: Function implementing :substitute has unexpected name.
8914Solution: Rename from do_sub() to ex_substitute().
8915Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
8916 src/ex_cmds.h
8917
8918Patch 8.2.1437
8919Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
8920Solution: Always use legacy script syntax.
8921Files: src/eval.c, src/testdir/test_vim9_script.vim
8922
8923Patch 8.2.1438
8924Problem: Missing tests for interrupting script execution from debugger.
8925Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
8926Files: src/testdir/test_debugger.vim
8927
8928Patch 8.2.1439
8929Problem: Tiny and small builds have no test coverage.
8930Solution: Restore tests that do not depend on the +eval feature.
8931 (Ken Takata, closes #6696)
8932Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
8933 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
8934 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8935 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8936 src/testdir/Makefile, src/testdir/runtest.vim,
8937 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
8938 src/testdir/test20.ok, src/testdir/test21.in,
8939 src/testdir/test21.ok, src/testdir/test22.in,
8940 src/testdir/test22.ok, src/testdir/test23.in,
8941 src/testdir/test23.ok, src/testdir/test24.in,
8942 src/testdir/test24.ok, src/testdir/test25.in,
8943 src/testdir/test25.ok, src/testdir/test26.in,
8944 src/testdir/test26.ok, src/testdir/test27.in,
8945 src/testdir/test27.ok, src/testdir/test_options.vim
8946
8947Patch 8.2.1440
8948Problem: Debugger code insufficiently tested.
8949Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
8950Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
8951
8952Patch 8.2.1441
8953Problem: Running tests in tiny version gives error for summarize.vim.
8954Solution: Set 'cpoptions' to allow for line continuation. Restore
8955 redirecting test output to /dev/null.
8956Files: src/testdir/summarize.vim, src/testdir/Makefile
8957
8958Patch 8.2.1442
8959Problem: Outdated references to the Mac Carbon GUI.
8960Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
8961Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
8962 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
8963 src/testdir/test_iminsert.vim, src/vim.h
8964
8965Patch 8.2.1443
8966Problem: Vim9: crash when interrupting a nested :def function.
8967Solution: Push a dummy return value onto the stack. (closes #6701)
8968Files: src/vim9execute.c
8969
8970Patch 8.2.1444
8971Problem: Error messages are spread out and names can be confusing.
8972Solution: Start moving error messages to a separate file and use clear
8973 names.
8974Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
8975 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
8976 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
8977 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
8978 src/vim9script.c, src/vim9type.c
8979
8980Patch 8.2.1445
8981Problem: Vim9: function expanded name is cleared when sourcing a script
8982 again.
8983Solution: Only clear the expanded name when deleting the function.
8984 (closes #6707)
8985Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8986
8987Patch 8.2.1446
8988Problem: Vim9: line number in error message is not correct.
8989Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
8990Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8991
8992Patch 8.2.1447
8993Problem: Vim9: return type of keys() is list<any>.
8994Solution: Should be list<string>. (closes #6711)
8995Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8996
8997Patch 8.2.1448
8998Problem: Test 77a for VMS depends on small.vim which does not exist.
8999Solution: Use the 'silent while 0" trick. (issue #6696)
9000Files: src/testdir/test77a.in
9001
9002Patch 8.2.1449
9003Problem: Some test makefiles delete files that are not generated.
9004Solution: Remove the deletion commands.
9005Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9006 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9007
9008Patch 8.2.1450
9009Problem: Vim9: no check that script-local items don't become global.
9010Solution: Add a test.
9011Files: src/testdir/test_vim9_script.vim
9012
9013Patch 8.2.1451
9014Problem: Vim9: list type at script level only uses first item.
9015Solution: Use all members, like in a compiled function. (closes #6712)
9016 Also for dictionary.
9017Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9018
9019Patch 8.2.1452
9020Problem: Vim9: dead code in to_name_end().
9021Solution: Remove check for lambda and dict, it won't be used.
9022Files: src/vim9compile.c
9023
9024Patch 8.2.1453
9025Problem: Vim9: failure to compile lambda not tested.
9026Solution: Add a test case.
9027Files: src/testdir/test_vim9_expr.vim
9028
9029Patch 8.2.1454
9030Problem: Vim9: failure invoking lambda with wrong arguments.
9031Solution: Handle invalid arguments. Add a test.
9032Files: src/vim9compile.c, src/vim9execute.c,
9033 src/testdir/test_vim9_expr.vim
9034
9035Patch 8.2.1455
9036Problem: Vim9: crash when using typecast before constant.
9037Solution: Generate constant before checking type. Add tets.
9038Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9039
9040Patch 8.2.1456
9041Problem: MS-Windows: test files are not deleted.
9042Solution: use "del" instead of $(DEL).
9043Files: src/testdir/Make_dos.mak
9044
9045Patch 8.2.1457
9046Problem: Vim9: the output of :disassemble cannot be interrupted.
9047Solution: Check got_int. (closes #6715)
9048Files: src/vim9execute.c
9049
9050Patch 8.2.1458
9051Problem: .gawk files not recognized.
9052Solution: Recognize .gawk files. (Doug Kearns)
9053Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9054
9055Patch 8.2.1459
9056Problem: Vim9: declaring ascript variable at the script level does not
9057 infer the type.
9058Solution: Get the type from the value. (closes #6716)
9059Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9060
9061Patch 8.2.1460
9062Problem: Error messages are spread out.
9063Solution: Move more messages into errors.h.
9064Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9065 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9066 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9067 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9068 src/testdir/test_vim9_disassemble.vim,
9069 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9070
9071Patch 8.2.1461
9072Problem: Vim9: string indexes are counted in bytes.
9073Solution: Use character indexes. (closes #6574)
9074Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9075 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9076
9077Patch 8.2.1462
9078Problem: Vim9: string slice not supported yet.
9079Solution: Add support for string slicing.
9080Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9081 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9082 src/testdir/test_vim9_disassemble.vim
9083
9084Patch 8.2.1463
9085Problem: Vim9: list slice not supported yet.
9086Solution: Add support for list slicing.
9087Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9088 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9089 src/testdir/test_vim9_disassemble.vim
9090
9091Patch 8.2.1464
9092Problem: Vim9: build warning for unused variable.
9093Solution: Delete the variable declaration.
9094Files: src/vim9execute.c
9095
9096Patch 8.2.1465
9097Problem: Vim9: subscript not handled properly.
9098Solution: Adjust error message. Remove dead code. Disallow string to
9099 number conversion in scripts.
9100Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9101 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9102 src/testdir/test_vim9_script.vim
9103
9104Patch 8.2.1466
9105Problem: Vim9: cannot index or slice a variable with type "any".
9106Solution: Add runtime index and slice.
9107Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9108 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9109 src/testdir/test_vim9_expr.vim,
9110 src/testdir/test_vim9_disassemble.vim,
9111 src/testdir/test_vim9_script.vim
9112
9113Patch 8.2.1467
9114Problem: Vim9: :echomsg doesn't like a dict argument.
9115Solution: Convert arguments like in legacy script. (closes #6717)
9116Files: src/vim9compile.c, src/vim9execute.c,
9117 src/testdir/test_vim9_script.vim
9118
9119Patch 8.2.1468
9120Problem: Vim9: invalid error for missing white space.
9121Solution: Don't skip over white space after index. (closes #6718)
9122Files: src/eval.c, src/testdir/test_vim9_expr.vim
9123
9124Patch 8.2.1469
9125Problem: Vim9: cannot assign string to string option.
9126Solution: Change checks for option value. (closes #6720)
9127Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9128
9129Patch 8.2.1470
9130Problem: Errors in spell file not tested.
9131Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9132 closes #6721)
9133Files: src/testdir/test_spellfile.vim
9134
9135Patch 8.2.1471
9136Problem: :const only locks the variable, not the value.
9137Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9138Files: src/evalvars.c, src/testdir/test_const.vim
9139
9140Patch 8.2.1472
9141Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9142 Demin)
9143Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9144 Also fix giving the error "0 more files to edit".
9145Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9146
9147Patch 8.2.1473
9148Problem: Items in a list given to :const can still be modified.
9149Solution: Work like ":lockvar! name" but don't lock referenced items.
9150 Make locking a blob work.
9151Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9152 src/testdir/test_const.vim
9153
9154Patch 8.2.1474
9155Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9156Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9157Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9158
9159Patch 8.2.1475
9160Problem: Vim9: can't use v:true for option flags.
9161Solution: Add tv_get_bool_chk(). (closes #6725)
9162Files: src/typval.c, src/proto/typval.pro, src/channel.c
9163
9164Patch 8.2.1476 (after 8.2.1474)
9165Problem: Filetype test fails on MS-Windows.
9166Solution: Remove "^" from pattern.
9167Files: runtime/autoload/dist/ft.vim
9168
9169Patch 8.2.1477
9170Problem: Vim9: error when using bufnr('%').
9171Solution: Don't give an error for using a string argument. (closes #6723)
9172Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9173
9174Patch 8.2.1478
9175Problem: Vim9: cannot use "true" for some popup options.
9176Solution: Add dict_get_bool(). (closes #6725)
9177Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9178
9179Patch 8.2.1479
9180Problem: Vim9: error for list index uses wrong line number.
9181Solution: Set source line number. (closes #6724) Add a way to assert the
9182 line number of the error with assert_fails().
9183Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9184 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9185 src/testdir/test_vim9_expr.vim
9186
9187Patch 8.2.1480
9188Problem: Vim9: skip expression in search() gives error.
9189Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9190Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9191 src/testdir/test_vim9_func.vim
9192
9193Patch 8.2.1481
9194Problem: Vim9: line number reported with error may be wrong.
9195Solution: Check line number in tests.
9196Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9197 src/vim9execute.c
9198
9199Patch 8.2.1482
9200Problem: Vim9: crash when using a nested lambda.
9201Solution: Do not clear the growarray when not evaluating. Correct pointer
9202 when getting the next line. (closes #6731)
9203Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9204
9205Patch 8.2.1483
9206Problem: Vim9: error for using special as number when returning "false"
9207 from a popup filter.
9208Solution: Use tv_get_bool(). (closes #6733)
9209Files: src/popupwin.c
9210
9211Patch 8.2.1484
9212Problem: Flaky failure in assert_fails().
9213Solution: Only used fourth argument if there is a third argument.
9214Files: src/testing.c
9215
9216Patch 8.2.1485
9217Problem: Vim9: readdirex() expression doesn't accept bool.
9218Solution: Accept both -1 and bool. (closes #6737)
9219Files: src/filepath.c, src/testdir/test_vim9_func.vim
9220
9221Patch 8.2.1486
9222Problem: Vim9: readdir() expression doesn't accept bool.
9223Solution: Merge with code for readdirex(). (closes #6737)
9224Files: src/filepath.c, src/testdir/test_vim9_func.vim
9225
9226Patch 8.2.1487
9227Problem: Travis: installing snd-dummy is not always useful.
9228Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9229Files: .travis.yml, ci/load-snd-dummy.sh
9230
9231Patch 8.2.1488
9232Problem: Text does not scroll when inserting above first line.
9233Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9234Files: src/drawscreen.c, src/testdir/test_display.vim,
9235 src/testdir/dumps/Test_display_scroll_at_topline.dump
9236
9237Patch 8.2.1489
9238Problem: Vim9: error when setting an option with setbufvar().
9239Solution: Do not get a number from a string value. (closes #6740)
9240Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9241
9242Patch 8.2.1490
9243Problem: Vim9: using /= with float and number doesn't work.
9244Solution: Better support assignment with operator. (closes #6742)
9245Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9246
9247Patch 8.2.1491
9248Problem: Vim9: crash when compiling heredoc lines start with comment.
9249Solution: Skip over NULL pointers. Do not remove comment and empty lines
9250 when fetching function lines. (closes #6743)
9251Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9252 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9253 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9254 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9255 src/proto/userfunc.pro, src/evalfunc.c,
9256 src/testdir/test_vim9_script.vim
9257
9258Patch 8.2.1492
9259Problem: Build failures.
9260Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9261 America.
9262Files: src/structs.h, src/ex_docmd.c
9263
9264Patch 8.2.1493
9265Problem: Not enough test coverage for the spell file handling.
9266Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9267Files: src/spellfile.c, src/testdir/test_spellfile.vim
9268
9269Patch 8.2.1494
9270Problem: Missing change to calling eval_getline().
9271Solution: Change last argument.
9272Files: src/eval.c
9273
9274Patch 8.2.1495
9275Problem: "make clean" may delete too many files.
9276Solution: Do not delete $APPDIR. (closes #6751)
9277Files: src/Makefile
9278
9279Patch 8.2.1496
9280Problem: Vim9: cannot use " #" in a mapping.
9281Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9282Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9283
9284Patch 8.2.1497
9285Problem: CursorHold test is flaky. (Jakub Kądziołka)
9286Solution: Use WaitForAssert() (closes #6754)
9287Files: src/testdir/test_autocmd.vim
9288
9289Patch 8.2.1498
9290Problem: On slow systems tests can be flaky.
9291Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9292 closes #6756)
9293Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9294 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9295 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9296 src/testdir/test_writefile.vim
9297
9298Patch 8.2.1499
9299Problem: Vim9: error when using "$" with col().
9300Solution: Reorder getting the column value. (closes #6744)
9301Files: src/eval.c, src/testdir/test_vim9_func.vim
9302
9303Patch 8.2.1500
9304Problem: Vim9: error when using address without a command.
9305Solution: Execute the range itself. (closes #6747)
9306Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9307
9308Patch 8.2.1501
9309Problem: Vim9: concatenating to constant reverses order.
9310Solution: Generate constant before option, register and environment
9311 variable. (closes #6757)
9312Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9313
9314Patch 8.2.1502
9315Problem: Vim9: can use += with a :let command at script level.
9316Solution: Give an error.
9317Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9318 src/testdir/test_vim9_expr.vim
9319
9320Patch 8.2.1503
9321Problem: Vim9: error for an autocmd defined in a :def function in legacy
9322 Vim script.
9323Solution: Don't check the variable type. (closes #6758)
9324Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9325
9326Patch 8.2.1504
9327Problem: Vim9: white space checks are only done for a :def function.
9328Solution: Also do checks at the script level. Adjust the name of a few
9329 error messages.
9330Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9331 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9332 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9333 src/testdir/vim9.vim
9334
9335Patch 8.2.1505
9336Problem: Not all file read and writecode is tested.
9337Solution: Add a few tests. (Dominique Pellé, closes #6764)
9338Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9339 src/testdir/test_functions.vim
9340
9341Patch 8.2.1506
9342Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9343Solution: Check the number is 0 or 1.
9344Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9345
9346Patch 8.2.1507
9347Problem: Using malloc() directly.
9348Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9349 closes #6768)
9350Files: src/eval.c, src/memline.c, src/vimrun.c
9351
9352Patch 8.2.1508
9353Problem: Not all debugger commands covered by tests.
9354Solution: Add tests for going up/down in the stack. (Ben Jackson,
9355 closes #6765)
9356Files: src/testdir/test_debugger.vim
9357
9358Patch 8.2.1509
9359Problem: Vertical separator is cleared when dragging a popup window using a
9360 multi-byte character for the border.
9361Solution: Only clear the character before the window if it is using a
9362 multi-byte character. (closes #6766)
9363Files: src/screen.c
9364
9365Patch 8.2.1510
9366Problem: Using "var" in a :def function may refer to a legacy Vim script
9367 variable.
9368Solution: Require using "s:" to refer to a legacy Vim script variable.
9369 (closes #6771)
9370Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9371
9372Patch 8.2.1511
9373Problem: Putting a string in Visual block mode ignores multi-byte
9374 characters.
9375Solution: Adjust the column for Visual block mode. (closes #6767)
9376Files: src/register.c, src/testdir/test_visual.vim
9377
9378Patch 8.2.1512
9379Problem: Failure after ternary expression fails.
9380Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9381Files: src/eval.c, src/testdir/test_vimscript.vim,
9382 src/testdir/test_vim9_expr.vim
9383
9384Patch 8.2.1513
9385Problem: Cannot interrupt shell used for filename expansion. (Dominique
9386 Pellé)
9387Solution: Do set tmode in mch_delay(). (closes #6770)
9388Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9389 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9390 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9391
9392Patch 8.2.1514
9393Problem: Multibyte vertical separator is cleared when dragging a popup
9394 window using a multi-byte character for the border.
9395Solution: Only clear the character before the window if it is double width.
9396 (closes #6766)
9397Files: src/screen.c
9398
9399Patch 8.2.1515
9400Problem: Vim9: can create s:var in legacy script but cannot unlet.
9401Solution: Allow :unlet for legacy script var.
9402Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9403
9404Patch 8.2.1516
9405Problem: Vim9: error for :exe has wrong line number.
9406Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9407Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9408
9409Patch 8.2.1517
9410Problem: Cannot easily get the character under the cursor.
9411Solution: Add the {chars} argument to strpart().
9412Files: runtime/doc/eval.txt, src/evalfunc.c,
9413 src/testdir/test_functions.vim
9414
9415Patch 8.2.1518
9416Problem: Vim9: cannot assign to local option.
9417Solution: Skip over "&l:" and "&g:". (closes #6749)
9418Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
9419 src/vim9compile.c src/testdir/test_vim9_script.vim
9420
9421Patch 8.2.1519
9422Problem: Vim9: Ex command default range is not set.
9423Solution: When range is not given use default. (closes #6779)
9424Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9425
9426Patch 8.2.1520
9427Problem: Vim9: CTRL-] used in :def function does not work.
9428Solution: Omit count or prepend colon. (closes #6769)
9429Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9430
9431Patch 8.2.1521
9432Problem: Reading past end of buffer when reading spellfile. (Yegappan
9433 Lakshmanan)
9434Solution: Store the byte length and check for it.
9435Files: src/spellfile.c, src/spell.h
9436
9437Patch 8.2.1522
9438Problem: Not enough test coverage for the spell file handling.
9439Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9440Files: src/testdir/test_spellfile.vim
9441
9442Patch 8.2.1523
9443Problem: Still not enough test coverage for the spell file handling.
9444Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9445Files: src/testdir/test_spellfile.vim
9446
9447Patch 8.2.1524
9448Problem: No longer get an error for string concatenation with float.
9449 (Tsuyoshi Cho)
9450Solution: Only convert float for Vim9 script. (closes #6787)
9451Files: src/eval.c, src/testdir/test_eval_stuff.vim
9452
9453Patch 8.2.1525
9454Problem: Messages from tests were not always displayed.
9455Solution: Always show messages, the timing is always useful. (Ken Takata,
9456 closes #6792)
9457Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9458 src/testdir/Makefile
9459
9460Patch 8.2.1526
9461Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9462Solution: Revert.
9463Files: src/testdir/Makefile
9464
9465Patch 8.2.1527
9466Problem: Vim9: cannot use a function name as a function reference at script
9467 level.
9468Solution: Check if a name is a function name. (closes #6789)
9469Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9470 src/testdir/test_vim9_script.vim
9471
9472Patch 8.2.1528
9473Problem: Vim9: :endif not found after "if false".
9474Solution: When skipping still check for a following command. (closes #6797)
9475Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9476
9477Patch 8.2.1529
9478Problem: Vim9: :elseif may be compiled when not needed.
9479Solution: Do evaluate the :elseif expression.
9480Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9481
9482Patch 8.2.1530
9483Problem: Vim9: test fails on MS-Windows.
9484Solution: Skip Ex command inside "if false".
9485Files: src/vim9compile.c
9486
9487Patch 8.2.1531
9488Problem: Vim9: test still fails on MS-Windows.
9489Solution: When skipping expect function to be NULL.
9490Files: src/vim9compile.c
9491
9492Patch 8.2.1532
9493Problem: Compiler warning for conversion of size_t to long.
9494Solution: Add type cast.
9495Files: src/eval.c
9496
9497Patch 8.2.1533
9498Problem: Vim9: error when passing getreginfo() result to setreg().
9499Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9500Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9501
9502Patch 8.2.1534
9503Problem: Vim9: type error for argument type is not at call position.
9504Solution: Set the context and stack after checking the arguments.
9505 (issue #6785)
9506Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9507
9508Patch 8.2.1535
9509Problem: It is not possible to specify cell widths of characters.
9510Solution: Add setcellwidths().
9511Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9512 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9513 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9514
9515Patch 8.2.1536
9516Problem: Cannot get the class of a character; emoji widths are wrong in
9517 some environments.
9518Solution: Add charclass(). Update some emoji widths. Add script to check
9519 emoji widths.
9520Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9521 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9522 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9523
9524Patch 8.2.1537
9525Problem: Memory acccess error when using setcellwidths().
9526Solution: Use array and pointers correctly.
9527Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9528
9529Patch 8.2.1538
9530Problem: Python: iteration over vim objects fails to keep reference.
9531Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9532 closes #6806)
9533Files: src/if_py_both.h, src/testdir/test_python3.vim
9534
9535Patch 8.2.1539
9536Problem: Using invalid script ID causes a crash.
9537Solution: Check the script ID to be valid. (closes #6804)
9538Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9539 src/vim9compile.c, src/testdir/test_vim9_script.vim
9540
9541Patch 8.2.1540
9542Problem: The user cannot try out emoji character widths.
9543Solution: Move the emoji script to the runtime/tools directory.
9544Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9545
9546Patch 8.2.1541
9547Problem: Vim9: cannot find function reference for s:Func.
9548Solution: Recognize <SNR> prefix. (closes #6805)
9549Files: src/userfunc.c, src/vim9execute.c,
9550 src/testdir/test_vim9_script.vim
9551
9552Patch 8.2.1542
9553Problem: Vim9: test with invalid SID does not work in the GUI.
9554Solution: Skip the test in the GUI.
9555Files: src/testdir/test_vim9_script.vim
9556
9557Patch 8.2.1543
9558Problem: Vim9: test with invalid SID is skipped in the GUI.
9559Solution: Read the CTRL-C that feedkeys() put in typeahead.
9560Files: src/testdir/test_vim9_script.vim
9561
9562Patch 8.2.1544
9563Problem: Cannot translate messages in a Vim script.
9564Solution: Add gettext(). Try it out for a few messages in the options
9565 window.
9566Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9567 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9568 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9569
9570Patch 8.2.1545
9571Problem: ch_logfile() is unclear about closing when forking.
9572Solution: Adjust the log messages.
9573Files: src/channel.c, src/os_unix.c
9574
9575Patch 8.2.1546
9576Problem: Build rule for Vim.app is unused.
9577Solution: Delete the related build rules.
9578Files: src/Makefile
9579
9580Patch 8.2.1547
9581Problem: Various comment problems.
9582Solution: Update comments.
9583Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
9584 src/testdir/README.txt, src/testdir/test_put.vim,
9585 src/libvterm/README
9586
9587Patch 8.2.1548
9588Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
9589Solution: Improve the check script.
9590Files: src/po/check.vim
9591
9592Patch 8.2.1549
9593Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
9594 and modifyOtherKeys is used. (Lauri Tirkkonen)
9595Solution: Temporarily disable bracketed paste and modifyOtherKeys if
9596 'esckeys' is off. (closes #6809)
9597Files: src/normal.c
9598
9599Patch 8.2.1550
9600Problem: Vim9: bufname('%') gives an error.
9601Solution: Only give an error for wrong argument type. (closes #6807)
9602Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9603
9604Patch 8.2.1551
9605Problem: Vim9: error for argument type does not mention the number.
9606Solution: Pass the argument number to where the error is given.
9607Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
9608 src/vim9execute.c, src/vim9script.c, src/eval.c,
9609 src/testdir/test_vim9_func.vim
9610
9611Patch 8.2.1552
9612Problem: Warnings from asan with clang-11. (James McCoy)
9613Solution: Avoid using a NULL pointer. (issue #6811)
9614Files: src/fold.c
9615
9616Patch 8.2.1553 (after 8.2.1552)
9617Problem: Crash in edit test.
9618Solution: Avoid using invalid pointer.
9619Files: src/fold.c
9620
9621Patch 8.2.1554
9622Problem: Crash in normal test.
9623Solution: Skip adjusting marks if there are no folds.
9624Files: src/fold.c
9625
9626Patch 8.2.1555
9627Problem: Not all tests are executed on Github Actions.
9628Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
9629 places. Add two tests to the list of flaky tests. (Ken Takata,
9630 closes #6798)
9631Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
9632 src/testdir/test_python2.vim, src/testdir/test_python3.vim
9633
9634Patch 8.2.1556
9635Problem: Cursorline highlighting always overrules sign highlighting.
9636Solution: Combine the highlighting, use the priority to decide how.
9637 (closes #6812)
9638Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
9639 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
9640 src/testdir/test_signs.vim,
9641 src/testdir/dumps/Test_sign_cursor_5.dump,
9642 src/testdir/dumps/Test_sign_cursor_6.dump
9643
9644Patch 8.2.1557
9645Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
9646Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
9647Files: src/quickfix.c, src/testdir/test_quickfix.vim
9648
9649Patch 8.2.1558
9650Problem: Signs test fails.
9651Solution: Add missing change to sign.c.
9652Files: src/sign.c
9653
9654Patch 8.2.1559
9655Problem: s390x tests work again.
9656Solution: re-enable s390x tests. (James McCoy, closes #6829)
9657Files: .travis.yml
9658
9659Patch 8.2.1560
9660Problem: Using NULL pointers in some code. (James McCoy)
9661Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
9662Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
9663 src/vim9compile.c
9664
9665Patch 8.2.1561
9666Problem: Using NULL pointers in fold code.
9667Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
9668 closes #6831)
9669Files: src/fold.c
9670
9671Patch 8.2.1562
9672Problem: Vim9: error when using "%" where a buffer is expected.
9673Solution: Add tv_get_buf_from_arg(). (closes #6814)
9674Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
9675 src/testdir/test_vim9_func.vim
9676
9677Patch 8.2.1563
9678Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
9679Solution: Use tv_get_buf_from_arg(). (closes #6816)
9680Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9681
9682Patch 8.2.1564
9683Problem: A few remaining errors from ubsan.
9684Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
9685Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
9686
9687Patch 8.2.1565
9688Problem: Spellfile test sometimes fails.
9689Solution: Check running into the end of the file.
9690Files: src/spellfile.c
9691
9692Patch 8.2.1566
9693Problem: Not all Bazel files are recognized.
9694Solution: Add *.bazel and *.BUILD. (closes #6836)
9695Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9696
9697Patch 8.2.1567
9698Problem: No example to use ubsan with clang.
9699Solution: Add example commands. (Dominique Pellé, issue #6811)
9700Files: src/Makefile
9701
9702Patch 8.2.1568
9703Problem: prop_find() skips properties in the same line if "skipstart" is
9704 used.
9705Solution: Use "continue" instead of "break". (closes #6840)
9706Files: src/textprop.c, src/testdir/test_textprop.vim
9707
9708Patch 8.2.1569
9709Problem: Vim9: fixes for functions not tested; failure in getchangelist().
9710Solution: Add tests. (closes #6813, closes #6815, closes #6817)
9711Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9712
9713Patch 8.2.1570
9714Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
9715Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
9716Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
9717
9718Patch 8.2.1571
9719Problem: Vim9: count() third argument cannot be "true".
9720Solution: Use tv_get_bool_chk(). (closes #6818)
9721Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
9722
9723Patch 8.2.1572
9724Problem: Vim9: expand() does not take "true" as argument.
9725Solution: Use tv_get_bool_chk(). (closes #6819)
9726Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9727
9728Patch 8.2.1573
9729Problem: Vim9: getreg() does not take "true" as argument.
9730Solution: Use tv_get_bool_chk(). (closes #6820)
9731Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9732
9733Patch 8.2.1574
9734Problem: Vim9: glob() does not take "true" as argument.
9735Solution: Use tv_get_bool_chk(). (closes #6821)
9736Files: src/filepath.c, src/testdir/test_vim9_func.vim
9737
9738Patch 8.2.1575
9739Problem: Vim9: globpath() does not take "true" as argument.
9740Solution: Use tv_get_bool_chk(). (closes #6821)
9741Files: src/filepath.c, src/testdir/test_vim9_func.vim
9742
9743Patch 8.2.1576
9744Problem: Vim9: index() does not take "true" as argument.
9745Solution: Use tv_get_bool_chk(). (closes #6823)
9746Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9747
9748Patch 8.2.1577
9749Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
9750 argument.
9751Solution: Use tv_get_bool(). (closes #6822, closes #6824)
9752Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
9753
9754Patch 8.2.1578
9755Problem: Vim9: popup_clear() does not take "true" as argument.
9756Solution: Use tv_get_bool(). (closes #6826)
9757Files: src/popupwin.c, src/testdir/test_popupwin.vim
9758
9759Patch 8.2.1579
9760Problem: Reports from asan are not optimal.
9761Solution: Use clang with ubsan. (James McCoy, closes #6811)
9762Files: .travis.yml
9763
9764Patch 8.2.1580
9765Problem: Wildmenu does not work properly.
9766Solution: Do not call may_do_incsearch_highlighting() if completion is in
9767 progress.
9768Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
9769 src/testdir/dumps/Test_wildmenu_1.dump,
9770 src/testdir/dumps/Test_wildmenu_2.dump,
9771 src/testdir/dumps/Test_wildmenu_3.dump,
9772 src/testdir/dumps/Test_wildmenu_4.dump
9773
9774Patch 8.2.1581
9775Problem: Using line() for global popup window doesn't work.
9776Solution: Set tabpage to "curtab". (closes #6847)
9777Files: src/evalwindow.c, src/testdir/test_popupwin.vim
9778
9779Patch 8.2.1582
9780Problem: The channel log does not show typed text.
9781Solution: Add raw typed text to the log file.
9782Files: src/ui.c, src/os_win32.c
9783
9784Patch 8.2.1583
9785Problem: MS-Windows: cannot easily measure code coverage.
9786Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
9787Files: src/Make_cyg_ming.mak
9788
9789Patch 8.2.1584
9790Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
9791Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
9792Files: src/textprop.c, src/testdir/test_textprop.vim
9793
9794Patch 8.2.1585
9795Problem: Messages in errors.h not translated, xgettext on MS-Windows not
9796 fully supported.
9797Solution: Add errors.h to list of input files. Update MS-Windows makefiles
9798 to improve message translations. (Ken Takata, closes #6858)
9799Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
9800 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
9801
9802Patch 8.2.1586
9803Problem: :resize command not fully tested.
9804Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
9805Files: src/testdir/test_window_cmd.vim
9806
9807Patch 8.2.1587
9808Problem: Loop for handling keys for the command line is too long.
9809Solution: Move wild menu handling to separate functions. (Yegappan
9810 Lakshmanan, closes #6856)
9811Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
9812
9813Patch 8.2.1588
9814Problem: Cannot read back the prompt of a prompt buffer.
9815Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
9816Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
9817 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
9818 src/proto/channel.pro, src/proto/edit.pro,
9819 src/testdir/test_prompt_buffer.vim
9820
9821Patch 8.2.1589
9822Problem: Term_start() options for size are overruled by 'termwinsize'.
9823 (Sergey Vlasov)
9824Solution: Set 'termwinsize' to the specified size.
9825Files: src/terminal.c, src/testdir/test_terminal2.vim,
9826 src/testdir/term_util.vim
9827
9828Patch 8.2.1590
9829Problem: Vim9: bufnr() doesn't take "true" argument.
9830Solution: use tv_get_bool_chk(). (closes #6863)
9831Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9832
9833Patch 8.2.1591
9834Problem: Using winheight('.') in tests works but is wrong.
9835Solution: Use winheight(0). (issue #6863)
9836Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
9837
9838Patch 8.2.1592
9839Problem: Vim9: passing "true" to char2nr() fails.
9840Solution: Use tv_get_bool_chk(). (closes #6865)
9841Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9842
9843Patch 8.2.1593
9844Problem: Tests do not check the error number properly.0
9845Solution: Add a colon after the error number. (closes #6869)
9846Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
9847 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
9848 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
9849 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
9850 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
9851 src/testdir/test_global.vim, src/testdir/test_gui.vim,
9852 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
9853 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
9854 src/testdir/test_move.vim, src/testdir/test_normal.vim,
9855 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
9856 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
9857 src/testdir/test_search.vim, src/testdir/test_signs.vim,
9858 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
9859 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
9860 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
9861 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
9862 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
9863 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
9864 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
9865 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
9866 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
9867
9868Patch 8.2.1594
9869Problem: Pull requests on github do not notify a maintainer.
9870Solution: Add a CODEOWNERS file with a few initial entries.
9871Files: Filelist, .github/CODEOWNERS
9872
9873Patch 8.2.1595
9874Problem: Cannot easily see what Vim sends to the terminal.
9875Solution: Write output to the channel log if it contains terminal control
9876 sequences. Avoid warnings for tputs() argument.
9877Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
9878 src/optionstr.c
9879
9880Patch 8.2.1596
9881Problem: Using win_screenpos('.') in tests works but is wrong.
9882Solution: Use win_screenpos(0).
9883Files: src/testdir/test_terminal3.vim
9884
9885Patch 8.2.1597
9886Problem: The channel source file is too big.
9887Solution: Move job related code to a new source file.
9888Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
9889 src/channel.c, src/proto/channel.pro, src/job.c,
9890 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
9891 src/globals.h, src/configure.ac, src/auto/configure
9892
9893Patch 8.2.1598
9894Problem: Starting a hidden terminal resizes the current window.
9895Solution: Do not resize the current window for a hidden terminal.
9896 (closes #6872)
9897Files: src/terminal.c, src/testdir/test_terminal2.vim
9898
9899Patch 8.2.1599
9900Problem: Missing line end when skipping a long line with :cgetfile.
9901Solution: Fix off-by-one error. (closes #6870)
9902Files: src/quickfix.c, src/testdir/test_quickfix.vim
9903
9904Patch 8.2.1600
9905Problem: Vim9: cannot use "true" with deepcopy().
9906Solution: Use tv_get_bool_chk(). (closes #6867)
9907Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
9908 src/testdir/test_listdict.vim
9909
9910Patch 8.2.1601
9911Problem: Vim9: cannot use "true" with garbagecollect().
9912Solution: Use tv_get_bool(). (closes #6871)
9913Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9914
9915Patch 8.2.1602
9916Problem: Vim9: cannot use "true" with getbufinfo().
9917Solution: Use dict_get_bool(). (closes #6873)
9918Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9919
9920Patch 8.2.1603
9921Problem: Vim9: cannot use "true" with getchar().
9922Solution: use tv_get_bool_chk(). (closes #6874)
9923Files: src/getchar.c, src/testdir/test_vim9_func.vim
9924
9925Patch 8.2.1604
9926Problem: Vim9: cannot use "true" with getcompletion().
9927Solution: use tv_get_bool_chk(). (closes #6875)
9928Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
9929
9930Patch 8.2.1605
9931Problem: Default maintainer on github is wrong.
9932Solution: Use Bram's account.
9933Files: .github/CODEOWNERS
9934
9935Patch 8.2.1606
9936Problem: Vim9: cannot use "true" with has().
9937Solution: Use tv_get_bool(). (closes #6876)
9938Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9939
9940Patch 8.2.1607
9941Problem: Vim9: getchar() test fails on MS-Windows.
9942Solution: First consume any available input.
9943Files: src/testdir/test_vim9_func.vim
9944
9945Patch 8.2.1608
9946Problem: Vim9: getchar() test fails with GUI.
9947Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
9948Files: src/getchar.c
9949
9950Patch 8.2.1609
9951Problem: Vim9: test fails when build without +channel.
9952Solution: Add check for +channel. (closes #6879)
9953Files: src/testdir/test_vim9_expr.vim
9954
9955Patch 8.2.1610
9956Problem: Vim9: cannot pass "true" to list2str() and str2list().
9957Solution: Use tv_get_bool_chk(). (closes #6877)
9958Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
9959
9960Patch 8.2.1611
9961Problem: Vim9: cannot pass "true" to nr2char().
9962Solution: use tv_get_bool_chk(). (closes #6878)
9963Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9964
9965Patch 8.2.1612
9966Problem: Vim9: cannot pass "true" to prop_remove().
9967Solution: Use dict_get_bool(). (closes #6853)
9968Files: src/textprop.c, src/testdir/test_textprop.vim
9969
9970Patch 8.2.1613
9971Problem: Vim9: cannot pass "true" to prop_type_add().
9972Solution: Use tv_get_bool(). (closes #6850)
9973Files: src/textprop.c, src/testdir/test_textprop.vim
9974
9975Patch 8.2.1614
9976Problem: Vim9: cannot pass "true" to searchcount().
9977Solution: Use tv_get_bool_chk(). (closes #6854)
9978Files: src/search.c, src/testdir/test_vim9_func.vim
9979
9980Patch 8.2.1615
9981Problem: Vim9: cannot pass "true" to searchdecl().
9982Solution: use tv_get_bool_chk(). (closes #6881)
9983Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9984
9985Patch 8.2.1616
9986Problem: Vim9: cannot pass "true" to synID().
9987Solution: Use tv_get_bool_chk(). (closes #6860)
9988Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9989
9990Patch 8.2.1617
9991Problem: Vim9: cannot pass "true" to win_splitmove().
9992Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
9993Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
9994
9995Patch 8.2.1618
9996Problem: Vim9: cannot pass "true" to setloclist().
9997Solution: Use dict_get_bool(). (closes #6882)
9998Files: src/quickfix.c, src/testdir/test_vim9_func.vim
9999
10000Patch 8.2.1619
10001Problem: Vim9: cannot pass "true" to spellsuggest().
10002Solution: Use tv_get_bool_chk(). (closes #6883)
10003Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10004
10005Patch 8.2.1620
10006Problem: searchcount() test fails.
10007Solution: Restore default flag value.
10008Files: src/search.c
10009
10010Patch 8.2.1621
10011Problem: Crash when using submatch(0, 1) in substitute().
10012Solution: Increment reference count. (closes #6887)
10013Files: src/regexp.c, src/testdir/test_substitute.vim
10014
10015Patch 8.2.1622
10016Problem: Loop to handle keys for the command line is too long.
10017Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10018Files: src/ex_getln.c
10019
10020Patch 8.2.1623
10021Problem: Vim9: using :call where it is not needed.
10022Solution: Remove :call. (closes #6892)
10023Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10024 src/testdir/test_vim9_disassemble.vim,
10025 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10026 src/testdir/test_vim9_script.vim
10027
10028Patch 8.2.1624
10029Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10030Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10031Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10032
10033Patch 8.2.1625
10034Problem: Compiler warning for use of fptr_T.
10035Solution: Make the type less strict.
10036Files: src/regexp.c
10037
10038Patch 8.2.1626
10039Problem: Test for strchars() fails with different error number.
10040Solution: Adjust the error number.
10041Files: src/testdir/test_utf8.vim
10042
10043Patch 8.2.1627
10044Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10045 term_start()
10046Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10047Files: src/evalfunc.c, src/terminal.c, src/job.c,
10048 src/testdir/test_vim9_func.vim
10049
10050Patch 8.2.1628
10051Problem: Vim9: cannot pass "true" to timer_paused().
10052Solution: Use tv_get_bool(). (closes #6891)
10053Files: src/time.c, src/testdir/test_vim9_func.vim
10054
10055Patch 8.2.1629
10056Problem: Test fails without terminal feature.
10057Solution: Check for terminal feature.
10058Files: src/testdir/test_vim9_func.vim
10059
10060Patch 8.2.1630
10061Problem: Terminal test fails.
10062Solution: Correct argument to term_start(). Correct error number.
10063Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10064
10065Patch 8.2.1631
10066Problem: test_fails() does not check the context of the line number.
10067Solution: Use another argument to specify the context of the line number.
10068Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10069 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10070 src/evalfunc.c, src/message.c
10071
10072Patch 8.2.1632
10073Problem: Not checking the context of test_fails().
10074Solution: Add the line number and context arguments. Give error if
10075 assert_fails() argument types are wrong.
10076Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10077 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10078
10079Patch 8.2.1633
10080Problem: Some error messages are internal but do not use iemsg().
10081Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10082Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10083
10084Patch 8.2.1634
10085Problem: Loop to handle keys for the command line is too long.
10086Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10087 closes #6895)
10088Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10089
10090Patch 8.2.1635
10091Problem: No digraph for 0x2022 BULLET.
10092Solution: Use "oo". (Hans Ginzel, closes #6904)
10093Files: src/digraph.c, runtime/doc/digraph.txt
10094
10095Patch 8.2.1636
10096Problem: Get stuck if a popup filter causes an error.
10097Solution: Check whether the function can be called and does not cause an
10098 error. (closes #6902)
10099Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10100 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10101 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10102 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10103
10104Patch 8.2.1637
10105Problem: Vim9: :put ={expr} does not work inside :def function.
10106Solution: Add ISN_PUT. (closes #6397)
10107Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10108 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10109 src/normal.c, src/testdir/test_vim9_cmd.vim,
10110 src/testdir/test_vim9_disassemble.vim
10111
10112Patch 8.2.1638
10113Problem: Leaking memory when popup filter function can't be called.
10114Solution: Don't return too soon.
10115Files: src/popupwin.c
10116
10117Patch 8.2.1639
10118Problem: Options window cannot be translated.
10119Solution: Get the translation for "local to" texts once and use them in many
10120 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10121Files: runtime/optwin.vim
10122
10123Patch 8.2.1640
10124Problem: Amiga: missing header for getgrgid().
10125Solution: Add the grp.h header. (Ola Söder, closes #6906)
10126Files: src/os_amiga.h
10127
10128Patch 8.2.1641
10129Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10130Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10131Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10132 src/structs.h, src/testdir/test_vim9_script.vim
10133
10134Patch 8.2.1642
10135Problem: Options test fails.
10136Solution: Correct call to OptionG().
10137Files: runtime/optwin.vim
10138
10139Patch 8.2.1643
10140Problem: Vim9: :defcompile compiles dead functions.
10141Solution: Skip over dead functions.
10142Files: src/userfunc.c
10143
10144Patch 8.2.1644
10145Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10146Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10147 function.
10148Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10149 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10150
10151Patch 8.2.1645
10152Problem: GTK3: icons become broken images when resized.
10153Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10154 Fix compiler warnings.
10155Files: src/gui_gtk_x11.c
10156
10157Patch 8.2.1646
10158Problem: Amiga: Unnecessary #include.
10159Solution: Remove the #include. (Ola Söder, closes #6908)
10160Files: src/version.c
10161
10162Patch 8.2.1647
10163Problem: Vim9: result of expression with && and || cannot be assigned to a
10164 bool variable.
10165Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10166Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10167 src/testdir/test_vim9_disassemble.vim
10168
10169Patch 8.2.1648
10170Problem: Amiga: no common build file for Amiga (-like) systems.
10171Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10172Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10173
10174Patch 8.2.1649
10175Problem: GTK3: using old file chooser.
10176Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10177 Velingker, closes #6909)
10178Files: src/gui_gtk.c
10179
10180Patch 8.2.1650
10181Problem: Vim9: result of && and || expression cannot be assigned to a bool
10182 at the script level.
10183Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10184Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10185 src/vim9script.c, src/evalvars.c, src/eval.c,
10186 src/testdir/test_vim9_script.vim
10187
10188Patch 8.2.1651
10189Problem: Spellfile code not completely tested.
10190Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10191Files: src/testdir/test_spellfile.vim
10192
10193Patch 8.2.1652
10194Problem: Cannot translate lines in the options window.
10195Solution: Use the AddOption() function to split descriptions where indicated
10196 by a line break. (issue #6800)
10197Files: runtime/optwin.vim
10198
10199Patch 8.2.1653
10200Problem: Expand('<stack>') does not include the final line number.
10201Solution: Add the line nuber. (closes #6927)
10202Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10203 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10204 src/testing.c, src/testdir/test_expand_func.vim
10205
10206Patch 8.2.1654
10207Problem: When job writes to hidden buffer current window has display
10208 errors. (Johnny McArthur)
10209Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10210 (closes #6925)
10211Files: src/channel.c
10212
10213Patch 8.2.1655
10214Problem: Cannot build with Strawberry Perl 5.32.0.
10215Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10216Files: src/if_perl.xs
10217
10218Patch 8.2.1656
10219Problem: Vim9: callstack wrong if :def function calls :def function.
10220Solution: Set the line number before calling. (closes #6914)
10221Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10222
10223Patch 8.2.1657
10224Problem: Vim9: no proper error for nested ":def!".
10225Solution: Check for "!". (closes #6920)
10226Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10227
10228Patch 8.2.1658
10229Problem: Expand('<stack>') has trailing "..".
10230Solution: Remove the "..". (closes #6927)
10231Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10232
10233Patch 8.2.1659
10234Problem: Spellfile code not completely tested.
10235Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10236Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10237
10238Patch 8.2.1660
10239Problem: Assert functions require passing expected result as the first
10240 argument, which isn't obvious.
10241Solution: Use a method, as in "runtest()->assert_equal(expected)".
10242Files: src/testdir/test_vim9_func.vim
10243
10244Patch 8.2.1661
10245Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10246Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10247 closes #6931)
10248Files: src/channel.c
10249
10250Patch 8.2.1662
10251Problem: :mksession does not restore shared terminal buffer properly.
10252Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10253Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10254 src/terminal.c, src/testdir/test_mksession.vim
10255
10256Patch 8.2.1663
10257Problem: Options window entries cannot be translated.
10258Solution: Use AddOption() for all explanations. (closes #6800)
10259Files: runtime/optwin.vim
10260
10261Patch 8.2.1664
10262Problem: Memory leak when using :mkview with a terminal buffer.
10263Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10264Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10265
10266Patch 8.2.1665
10267Problem: Cannot do fuzzy string matching.
10268Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10269Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10270 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10271
10272Patch 8.2.1666
10273Problem: The initial value of 'backupskip' can have duplicate items.
10274Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10275 closes #6940)
10276Files: src/option.c, src/testdir/test_options.vim
10277
10278Patch 8.2.1667
10279Problem: Local function name cannot shadow a global function name.
10280Solution: Ignore global functions when checking a script-local or scoped
10281 function name. (closes #6926)
10282Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10283 src/testdir/test_vim9_func.vim
10284
10285Patch 8.2.1668
10286Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10287Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10288Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10289
10290Patch 8.2.1669
10291Problem: Vim9: memory leak when storing a value fails.
10292Solution: Free the value when not storing it.
10293Files: src/evalvars.c
10294
10295Patch 8.2.1670
10296Problem: A couple of gcc compiler warnings.
10297Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10298Files: src/memline.c, src/option.c
10299
10300Patch 8.2.1671
10301Problem: Vim9: stray error for missing white space.
10302Solution: Do not skip over white space after member. (closes #6817)
10303Files: src/eval.c, src/testdir/test_vim9_expr.vim
10304
10305Patch 8.2.1672
10306Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10307Solution: Initialize the typval in eval1().
10308Files: src/eval.c
10309
10310Patch 8.2.1673
10311Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10312Solution: Set the index when there is only one match. (closes #6945)
10313 Add test for complete_info().
10314Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10315
10316Patch 8.2.1674
10317Problem: Vim9: internal error when using variable that was not set.
10318Solution: Give a meaningful error. (closes #6937)
10319Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10320
10321Patch 8.2.1675
10322Problem: MinGW: testdir makefile deletes non-existing file.
10323Solution: Use another way to delete the output file if it already exists.
10324 (Michael Soyka)
10325Files: src/testdir/Make_ming.mak
10326
10327Patch 8.2.1676
10328Problem: Compiler warnings for function typecast.
10329Solution: Add an intermediate cast to "void *".
10330Files: src/os_unix.c
10331
10332Patch 8.2.1677
10333Problem: Memory access errors when calling setloclist() in an autocommand.
10334Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10335Files: src/quickfix.c, src/testdir/test_quickfix.vim
10336
10337Patch 8.2.1678
10338Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10339Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10340Files: src/syntax.c, src/testdir/test_syntax.vim
10341
10342Patch 8.2.1679
10343Problem: Vim9: ":*" is not recognized as a range.
10344Solution: Move recognizing "*" into skip_range(). (closes #6838)
10345Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10346 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10347 src/testdir/test_vim9_cmd.vim
10348
10349Patch 8.2.1680
10350Problem: Vim9: line number for compare error is wrong.
10351Solution: Set SOURCING_LNUM. (closes #6936)
10352Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10353
10354Patch 8.2.1681
10355Problem: Vim9: unnessary :call commands in tests.
10356Solution: Remove the commands. (issue #6936)
10357Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10358
10359Patch 8.2.1682
10360Problem: Vim9: const works in an unexpected way.
10361Solution: ":const" only disallows changing the variable, not the value.
10362 Make "list[0] = 9" work at the script level.
10363Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10364
10365Patch 8.2.1683
10366Problem: Vim9: assignment test fails.
10367Solution: Include changes to find Ex command.
10368Files: src/ex_docmd.c
10369
10370Patch 8.2.1684
10371Problem: "gF" does not use line number after file in Visual mode.
10372Solution: Look for ":123" after the Visual area. (closes #6952)
10373Files: src/findfile.c, src/testdir/test_gf.vim
10374
10375Patch 8.2.1685
10376Problem: Vim9: cannot declare a constant value.
10377Solution: Introduce ":const!".
10378Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10379 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10380 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10381 src/testdir/test_vim9_script.vim
10382
10383Patch 8.2.1686
10384Problem: Vim9: "const!" not sufficiently tested.
10385Solution: Add a few more test cases. Fix type checking.
10386Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10387
10388Patch 8.2.1687
10389Problem: Vim9: out of bounds error.
10390Solution: Check that cmdidx is not negative.
10391Files: src/vim9compile.c
10392
10393Patch 8.2.1688
10394Problem: Increment/decrement removes text property.
10395Solution: Insert the new number before deleting the old one. (closes #6962)
10396Files: src/ops.c, src/testdir/test_textprop.vim
10397
10398Patch 8.2.1689
10399Problem: 'colorcolumn' doesn't show in indent.
10400Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10401 (Alexey Demin, closes #6948, closes #6619)
10402Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10403 src/testdir/dumps/Test_colorcolumn_3.dump,
10404 src/testdir/test_highlight.vim
10405
10406Patch 8.2.1690
10407Problem: Text properties not adjusted for "I" in Visual block mode.
10408Solution: Call inserted_bytes(). (closes #6961)
10409Files: src/ops.c, src/change.c, src/proto/change.pro,
10410 src/testdir/test_textprop.vim
10411
10412Patch 8.2.1691
10413Problem: Vim9: list<any> is not accepted where list<number> is expected.
10414Solution: Add functions to allocate and free a type_T, use it in
10415 ISN_CHECKTYPE. (closes #6959)
10416Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10417 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10418 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10419 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10420 src/testdir/test_vim9_script.vim
10421
10422Patch 8.2.1692
10423Problem: Build fails because TTFLAG_STATIC is missing.
10424Solution: Include missing change.
10425Files: src/structs.h
10426
10427Patch 8.2.1693
10428Problem: "hi def" does not work for cleared highlight.
10429Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10430 closes #4405)
10431Files: src/highlight.c, src/testdir/test_highlight.vim
10432
10433Patch 8.2.1694
10434Problem: Compiler warning for loss if data.
10435Solution: Add typecast.
10436Files: src/ops.c
10437
10438Patch 8.2.1695
10439Problem: Vim9: crash when using varargs type "any".
10440Solution: Check if uf_va_type is &t_any. (closes #6957)
10441Files: src/vim9compile.c, src/vim9execute.c,
10442 src/testdir/test_vim9_func.vim
10443
10444Patch 8.2.1696
10445Problem: Unused (duplicate) macros.
10446Solution: Remove the macros.
10447Files: src/spell.c
10448
10449Patch 8.2.1697
10450Problem: Inconsistent capitalization of error messages.
10451Solution: Always start with a capital.
10452Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10453 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10454 src/testdir/test_assert.vim
10455
10456Patch 8.2.1698
10457Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10458Solution: Make ":lockvar 0" work.
10459Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10460 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10461 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10462
10463Patch 8.2.1699
10464Problem: Build failure due to missing error message.
10465Solution: Add error message.
10466Files: src/errors.h
10467
10468Patch 8.2.1700
10469Problem: Vim9: try/catch causes wrong value to be returned.
10470Solution: Reset tcd_return. (closes #6964)
10471Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10472
10473Patch 8.2.1701
10474Problem: Vim9: sort("i") does not work.
10475Solution: Don't try getting a number for a string argument. (closes #6958)
10476Files: src/list.c, src/testdir/test_vim9_func.vim
10477
10478Patch 8.2.1702
10479Problem: Crash when using undo after deleting folded lines.
10480Solution: Check for NULL pointer. (closes #6968)
10481Files: src/fold.c, src/testdir/test_fold.vim
10482
10483Patch 8.2.1703
10484Problem: ":highlight clear" does not restore default link.
10485Solution: Remember the default link and restore it. (Antony Scriven,
10486 closes #6970, closes #4405)
10487Files: runtime/doc/syntax.txt, src/highlight.c,
10488 src/testdir/test_highlight.vim
10489
10490Patch 8.2.1704
10491Problem: Vim9: crash in for loop when autoload script has an error.
10492Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10493Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10494
10495Patch 8.2.1705
10496Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10497Solution: Store the script context. (Antony Scriven, closes #6975)
10498Files: src/highlight.c, src/testdir/test_highlight.vim
10499
10500Patch 8.2.1706
10501Problem: Vim9: crash after running into the "Multiple closures" error.
10502Solution: When a function fails still update any closures. (closes #6973)
10503Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10504
10505Patch 8.2.1707
10506Problem: Small inconsitency in highlight test.
10507Solution: Use one argument for :execute. (Antony Scriven, #6975)
10508Files: src/testdir/test_highlight.vim
10509
10510Patch 8.2.1708
10511Problem: Vim9: error message for function has unpritable characters.
10512Solution: use printable_func_name(). (closes #6965)
10513Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10514
10515Patch 8.2.1709
10516Problem: Vim9: memory leak when using multiple closures.
10517Solution: Free the partial.
10518Files: src/vim9execute.c
10519
10520Patch 8.2.1710
10521Problem: Vim9: list of list type can be wrong.
10522Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10523 looking for a common type. (closes #6979)
10524Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10525
10526Patch 8.2.1711
10527Problem: Vim9: leaking memory when using partial.
10528Solution: Do delete the function even when it was compiled.
10529Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10530 src/vim9execute.c
10531
10532Patch 8.2.1712
10533Problem: Vim9: leaking memory when calling a lambda.
10534Solution: Decrement function reference from ISN_DCALL.
10535Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10536
10537Patch 8.2.1713
10538Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10539Solution: Add {} to make "n" incremented correctly. (closes #6989,
10540 closes #5948)
10541Files: src/gui_motif.c
10542
10543Patch 8.2.1714
10544Problem: Text properties corrupted with substitute command. (Filipe
10545 Brandenburger)
10546Solution: Get the changed line again after using u_savesub(). (closes #6984)
10547Files: src/textprop.c, src/testdir/test_textprop.vim
10548
10549Patch 8.2.1715
10550Problem: Motif GUI: commented out code missed {}.
10551Solution: Add {} and reenable the code. (similar to #6989)
10552Files: src/gui_motif.c
10553
10554Patch 8.2.1716
10555Problem: Options window has duplicate translations.
10556Solution: Make one entry for "global or local to buffer". Fix wrong text.
10557 (closes #6983)
10558Files: runtime/optwin.vim
10559
10560Patch 8.2.1717
10561Problem: MS-Windows installer doesn't have Russian translations.
10562Solution: Add Russian translations. (closes #6985)
10563Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10564
10565Patch 8.2.1718
10566Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10567 names for no good reason.
10568Solution: Don't check the arguments for a :def function. (closes #6986)
10569Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10570
10571Patch 8.2.1719
10572Problem: Vim9: no error if comma is missing in between arguments.
10573Solution: Give an error message.
10574Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10575
10576Patch 8.2.1720
10577Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10578 Pellé)
10579Solution: Don't clear the list items. (closes #6991)
10580Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10581
10582Patch 8.2.1721
10583Problem: MS-Windows installer doesn't work.
10584Solution: Write "Russian" in ASCII. (closes #6995, see #).
10585Files: nsis/lang/russian.nsi
10586
10587Patch 8.2.1722
10588Problem: Vim9: cannot assign a lambda to a variable of type function.
10589Solution: Allow for assigning a partial to a variable of type function.
10590 (Naruhiko Nishino, closes #6996)
10591Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10592
10593Patch 8.2.1723
10594Problem: Vim9: Variable argument name cannot start with underscore.
10595Solution: Use eval_isnamec1(). (closes #6988)
10596Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10597
10598Patch 8.2.1724
10599Problem: Vim9: assignment tests spread out.
10600Solution: Create new test file for assignment tests.
10601Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
10602 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
10603 src/testdir/Make_all.mak
10604
10605Patch 8.2.1725
10606Problem: Not all Pascal files are recognized.
10607Solution: Add filetype patterns. (Doug Kearns)
10608Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10609
10610Patch 8.2.1726
10611Problem: Fuzzy matching only works on strings.
10612Solution: Support passing a dict. Add matchfuzzypos() to also get the match
10613 positions. (Yegappan Lakshmanan, closes #6947)
10614Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10615 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
10616 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
10617
10618Patch 8.2.1727
10619Problem: A popup created with "cursorline" will ignore "firstline".
10620Solution: When both "cursorline" and "firstline" are present put the cursor
10621 on "firstline". (closes #7000) Add the "winid" argument to
10622 getcurpos().
10623Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
10624 src/evalwindow.c, src/testdir/test_popupwin.vim,
10625 src/testdir/test_functions.vim
10626
10627Patch 8.2.1728
10628Problem: Compiler warning for using uninitialized variable. (John Marriott)
10629Solution: Initialize "neighbor".
10630Files: src/search.c
10631
10632Patch 8.2.1729
10633Problem: Endless loop when ":normal" feeds popup window filter.
10634Solution: Add the ex_normal_busy_done flag.
10635Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
10636 src/menu.c, src/testdir/test_popupwin.vim,
10637 src/testdir/dumps/Test_popupwin_normal_cmd.dump
10638
10639Patch 8.2.1730
10640Problem: Vim9: cannot use member of unknown type.
10641Solution: When type is unknown us "any". (closes #6997)
10642Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10643
10644Patch 8.2.1731
10645Problem: Vim9: cannot use += to append to empty NULL list.
10646Solution: Copy the list instead of extending it. (closes #6998)
10647Files: src/eval.c, src/testdir/test_vim9_assign.vim
10648
10649Patch 8.2.1732
10650Problem: Stuck when win_execute() for a popup causes an error.
10651Solution: Disable the filter callback on error. (issue #6999)
10652Files: src/popupwin.c, src/testdir/term_util.vim,
10653 src/testdir/test_popupwin.vim,
10654 src/testdir/dumps/Test_popupwin_win_execute.dump
10655
10656Patch 8.2.1733
10657Problem: Vim9: memory leaks when using nested function.
10658Solution: Free function when compilation fails.
10659Files: src/vim9compile.c
10660
10661Patch 8.2.1734
10662Problem: Vim9: cannot use a funcref for a closure twice.
10663Solution: Instead of putting the funcref on the stack use a growarray on the
10664 execution context.
10665Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
10666 src/testdir/test_vim9_func.vim,
10667 src/testdir/test_vim9_disassemble.vim
10668
10669Patch 8.2.1735
10670Problem: Github actions appear to timeout too soon.
10671Solution: use "timeout" instead of "ping".
10672Files: .github/workflows/ci-windows.yaml
10673
10674Patch 8.2.1736
10675Problem: Failure to compile a pattern not tested much.
10676Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
10677 closes #7004)
10678Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
10679 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
10680 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
10681 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
10682 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
10683 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
10684 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
10685 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
10686 src/testdir/test_user_func.vim
10687
10688Patch 8.2.1737
10689Problem: Cursor line highlight in popup window is not always updated.
10690Solution: Check if the cursor has moved. (closes #7010)
10691Files: src/popupwin.c, src/testdir/test_popupwin.vim
10692 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
10693
10694Patch 8.2.1738
10695Problem: Mac: str2float() recognizes comma instead of decimal point.
10696Solution: Set LC_NUMERIC to "C". (closes #7003)
10697Files: src/os_mac_conv.c
10698
10699Patch 8.2.1739
10700Problem: Vim9: crash when compiling a manually defined function. (Antony
10701 Scriven)
10702Solution: Check that the script ID is positive. (closes #7012)
10703Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10704
10705Patch 8.2.1740
10706Problem: Test fails without the terminal feature.
10707Solution: Skip test if the terminal feature is not available.
10708Files: src/testdir/test_vim9_script.vim
10709
10710Patch 8.2.1741
10711Problem: pathshorten() only supports using one character.
10712Solution: Add an argument to control the length. (closes #7006)
10713Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
10714 src/proto/filepath.pro, src/testdir/test_functions.vim
10715
10716Patch 8.2.1742
10717Problem: Test still fails without the terminal feature.
10718Solution: Put check for terminal feature in separate function.
10719Files: src/testdir/test_vim9_script.vim
10720
10721Patch 8.2.1743
10722Problem: Cannot build without the eval feature.
10723Solution: Move shorten_dir outside of #ifdef.
10724Files: src/filepath.c
10725
10726Patch 8.2.1744
10727Problem: Vim9: using ":const!" is weird.
10728Solution: Use "var" - "final" - "const" like Dart. "let" still works for
10729 now.
10730Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
10731 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
10732 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
10733 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
10734 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
10735
10736Patch 8.2.1745
10737Problem: Tiny version doesn't build.
10738Solution: Add dummy ex_var() function.
10739Files: src/ex_docmd.c
10740
10741Patch 8.2.1746
10742Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
10743Solution: Specifically check for "fina". (closes #7020)
10744Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
10745 src/testdir/test_vim9_script.vim
10746
10747Patch 8.2.1747
10748Problem: Result of expand() unexpectedly depends on 'completeslash'.
10749Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
10750 closes #7021)
10751Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
10752
10753Patch 8.2.1748
10754Problem: Closing split window in other tab may cause a crash.
10755Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
10756Files: src/window.c, src/testdir/test_winbuf_close.vim
10757
10758Patch 8.2.1749
10759Problem: Vim9: crash when closure fails in nested function.
10760Solution: Handle function returns before dereferencing remaining closures.
10761 (closes #7008)
10762Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10763
10764Patch 8.2.1750
10765Problem: Setting firstline with popup_setoptions() fails if cursorline is
10766 set.
10767Solution: Use apply_options(). Update the popup before applying "zz".
10768 (closes #7010)
10769Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
10770 src/testdir/test_popupwin.vim,
10771 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
10772 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
10773 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
10774
10775Patch 8.2.1751
10776Problem: Using 2 where bool is expected may throw an error.
10777Solution: Make this backwards compatible.
10778Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
10779 src/testdir/test_terminal2.vim
10780
10781Patch 8.2.1752
10782Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
10783Solution: Adjust the characters for which the shift modifier is removed.
10784 (closes #7016) Make Motif and Win32 use the same function as GTK.
10785Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
10786 src/testdir/test_termcodes.vim
10787
10788Patch 8.2.1753
10789Problem: Vim9: crash when using import at script level.
10790Solution: Give a "not implemented yet" error. (closes #7026)
10791Files: src/evalvars.c
10792
10793Patch 8.2.1754
10794Problem: Completion with spell checking not tested.
10795Solution: Add a test case. (Dominique Pellé, closes #7024)
10796Files: src/testdir/test_spell.vim
10797
10798Patch 8.2.1755
10799Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
10800Solution: Check for NULL list. (closes #7027) Fix comment character.
10801Files: src/vim9compile.c, src/evalvars.c,
10802 src/testdir/test_vim9_assign.vim
10803
10804Patch 8.2.1756
10805Problem: Vim9: :let will soon be disallowed.
10806Solution: Add v:disallow_let temporarily. Fix tests.
10807Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
10808 src/userfunc.c, src/testdir/test_vim9_script.vim
10809
10810Patch 8.2.1757
10811Problem: Mac: default locale is lacking the encoding.
10812Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
10813Files: src/os_mac_conv.c, src/testdir/test_environ.vim
10814
10815Patch 8.2.1758
10816Problem: Vim9: type of unmaterialized list is wrong.
10817Solution: Use list<number>.
10818Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10819
10820Patch 8.2.1759
10821Problem: Vim9: Some tests are still using :let.
10822Solution: Change more declarations to use :var.
10823Files: src/testdir/test_vim9_expr.vim
10824
10825Patch 8.2.1760
10826Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
10827Solution: Check for end of function lines. (closes #7031)
10828Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10829
10830Patch 8.2.1761
10831Problem: Vim9: Some tests are still using :let.
10832Solution: Change more declarations to use :var.
10833Files: src/testdir/test_vim9_assign.vim,
10834 src/testdir/test_vim9_cmd.vim,
10835 src/testdir/test_vim9_disassemble.vim
10836
10837Patch 8.2.1762
10838Problem: When a timer uses :stopinsert Insert mode completion isn't
10839 stopped. (Stanley Chan)
10840Solution: Call ins_compl_prep(ESC).
10841Files: src/edit.c, src/testdir/test_ins_complete.vim,
10842 src/testdir/dumps/Test_pum_stopped_by_timer.dump
10843
10844Patch 8.2.1763
10845Problem: Vim9: cannot use "true" for popup window scrollbar option.
10846Solution: use dict_get_bool(). (closes #7029)
10847Files: src/popupwin.c, src/testdir/test_popupwin.vim
10848
10849Patch 8.2.1764
10850Problem: Vim9: no error when assigning to script var with wrong type.
10851Solution: Fix off-by-one error. (closes #7028)
10852Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10853
10854Patch 8.2.1765
10855Problem: Vim9: some tests use "var var".
10856Solution: Use "var name". (closes #7032)
10857Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
10858
10859Patch 8.2.1766
10860Problem: Vim9: Some tests are still using :let.
10861Solution: Change the last few declarations to use :var.
10862Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
10863 src/testdir/test_vim9_cmd.vim,
10864 src/testdir/test_vim9_disassemble.vim,
10865 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10866 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
10867 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
10868
10869Patch 8.2.1767
10870Problem: Vim9: test fails with python support.
10871Solution: Use "let" in legacy function.
10872Files: src/testdir/test_vim9_func.vim
10873
10874Patch 8.2.1768
10875Problem: Cannot use the help menu from a terminal window.
10876Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
10877Files: runtime/menu.vim, src/testdir/test_gui.vim
10878
10879Patch 8.2.1769
10880Problem: A popup filter interferes with using :normal to move the cursor in
10881 a popup.
10882Solution: Do not invoke the filter when ex_normal_busy is set.
10883Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
10884 src/ex_docmd.c, src/menu.c, src/globals.h,
10885 src/testdir/test_popupwin.vim,
10886 src/testdir/dumps/Test_popupwin_normal_cmd.dump
10887
10888Patch 8.2.1770
10889Problem: Invalid memory use when using SpellFileMissing autocmd.
10890Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
10891 that was closed.
10892Files: src/spell.c, src/testdir/test_spell.vim
10893
10894Patch 8.2.1771
10895Problem: synIDattr() cannot get the value of ctermul.
10896Solution: Add the "ul" value for "what". (closes #7037)
10897Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
10898 src/testdir/test_highlight.vim
10899
10900Patch 8.2.1772
10901Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
10902Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
10903Files: src/terminal.c, src/testdir/test_terminal.vim
10904
10905Patch 8.2.1773
10906Problem: Crash when calling mapset() with a list as first argument.
10907Solution: Check for NULL. (closes #7040)
10908Files: src/map.c, src/testdir/test_maparg.vim
10909
10910Patch 8.2.1774
10911Problem: GTK: hang when forced to exit.
10912Solution: Do not clean up "mainwin" when really_exiting is set.
10913 (Zdenek Dohnal, closes #7042)
10914Files: src/gui_gtk_x11.c
10915
10916Patch 8.2.1775
10917Problem: MS-Windows: adding a long quickfix list is slow.
10918Solution: Shorten the buffer name only for the first entry. (Yegappan
10919 Lakshmanan, closes #7039, closes #7033)
10920Files: src/quickfix.c, src/testdir/test_quickfix.vim
10921
10922Patch 8.2.1776
10923Problem: Filetype.vim may be loaded twice.
10924Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
10925 closes #7049)
10926Files: runtime/defaults.vim
10927
10928Patch 8.2.1777
10929Problem: Vim9: some assignment tests in the wrong file.
10930Solution: Move assignment tests to test_vim9_assign.
10931Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
10932
10933Patch 8.2.1778
10934Problem: Vim9: returning from a partial call clears outer context, causing
10935 a crash.
10936Solution: Put the outer context in the stack frame. (closes #7044)
10937Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
10938
10939Patch 8.2.1779
10940Problem: Some debian changelog files are not recognized.
10941Solution: Add */debian/changelog. (Jason Franklin)
10942Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10943
10944Patch 8.2.1780
10945Problem: Statusline not updated when splitting windows.
10946Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
10947Files: src/window.c, src/testdir/test_statusline.vim
10948
10949Patch 8.2.1781
10950Problem: Writing to prompt buffer interferes with insert mode.
10951Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
10952 closes #7035)
10953Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
10954
10955Patch 8.2.1782
10956Problem: Vim9: cannot pass boolean to mapset().
10957Solution: Use get_tv_bool(). (closes #7041)
10958Files: src/map.c, src/testdir/test_vim9_func.vim
10959
10960Patch 8.2.1783 (after 8.2.1781)
10961Problem: Try-catch test fails.
10962Solution: Don't call win_enter(), only call enterering_window().
10963Files: src/autocmd.c, src/window.c, src/proto/window.pro,
10964 src/testdir/runtest.vim
10965
10966Patch 8.2.1784
10967Problem: commits are not scanned for security problems
10968Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
10969Files: .github/workflows/codeql-analysis.yml
10970
10971Patch 8.2.1785
10972Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
10973Solution: use memmove() instead.
10974Files: src/dict.c
10975
10976Patch 8.2.1786
10977Problem: Various Normal mode commands not fully tested.
10978Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
10979Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
10980 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
10981 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
10982
10983Patch 8.2.1787
10984Problem: Crash with 'incsearch' and very long line.
10985Solution: Check whether regprog becomes NULL. (closes #7063)
10986Files: src/search.c, src/testdir/test_search.vim
10987
10988Patch 8.2.1788
10989Problem: Vim9: still allows :let for declarations.
10990Solution: Make the default for v:disallow_let one. It can still be set to
10991 zero to allow for using :let.
10992Files: src/evalvars.c, src/testdir/runtest.vim
10993
10994Patch 8.2.1789
10995Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
10996Solution: Return FAIL when compiling the list fails. (closes #7066)
10997Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
10998
10999Patch 8.2.1790
11000Problem: MS-Windows with Python: crash when executed from Vifm.
11001Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11002Files: src/if_python3.c
11003
11004Patch 8.2.1791
11005Problem: Vim9: debugger test fails.
11006Solution: Use "var" instead of "let".
11007Files: src/testdir/test_debugger.vim
11008
11009Patch 8.2.1792
11010Problem: Configure does not recognize Racket 6.1+.
11011Solution: Add a check for "rktio". (closes #7062)
11012Files: src/configure.ac, src/auto/configure
11013
11014Patch 8.2.1793
11015Problem: Not consistently giving the "is a directory" warning.
11016Solution: Adjust check for illegal file name and directory. (Yasuhiro
11017 Matsumoto, closes #7067)
11018Files: src/fileio.c, src/testdir/test_edit.vim
11019
11020Patch 8.2.1794
11021Problem: No falsy Coalescing operator.
11022Solution: Add the "??" operator. Fix mistake with function argument count.
11023Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11024 src/vim9type.c, src/testdir/test_expr.vim,
11025 src/testdir/test_vim9_expr.vim,
11026 src/testdir/test_vim9_disassemble.vim
11027
11028Patch 8.2.1795
11029Problem: Vim9: operators && and || have a confusing result.
11030Solution: Make the result a boolean.
11031Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11032 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11033 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11034 src/testdir/test_vim9_cmd.vim,
11035 src/testdir/test_vim9_disassemble.vim
11036
11037Patch 8.2.1796
11038Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11039 Mishra)
11040Solution: Check the name is valid. Add a test.
11041Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11042
11043Patch 8.2.1797
11044Problem: Vim9: some parts of the code not tested.
11045Solution: Add a few tests.
11046Files: src/testdir/test_vim9_func.vim
11047
11048Patch 8.2.1798
11049Problem: Vim9: ternary operator condition is too permissive.
11050Solution: Use tv_get_bool_chk().
11051Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11052 src/vim9execute.c, src/testdir/vim9.vim,
11053 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11054 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11055
11056Patch 8.2.1799
11057Problem: Some Normal mode commands not fully tested.
11058Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11059Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11060 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11061 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11062 src/testdir/test_visual.vim
11063
11064Patch 8.2.1800
11065Problem: Vim9: memory leak if "if" condition is invalid.
11066Solution: Free ppconst earlier.
11067Files: src/vim9compile.c
11068
11069Patch 8.2.1801
11070Problem: Undo file not found when using ":args" or ":next".
11071Solution: Handle like editing another file. (closes #7072)
11072Files: src/ex_cmds.c, src/testdir/test_undo.vim
11073
11074Patch 8.2.1802
11075Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11076Solution: Return empty string instead of NULL. (closes #7084)
11077Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11078
11079Patch 8.2.1803
11080Problem: A few failures are not tested.
11081Solution: Test a few failures. (Dominique Pellé, closes #7075)
11082Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11083 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11084
11085Patch 8.2.1804
11086Problem: resolve('/') returns an empty string.
11087Solution: Don't remove single slash. (closes #7074)
11088Files: src/filepath.c, src/testdir/test_functions.vim
11089
11090Patch 8.2.1805
11091Problem: Unix: terminal mode changed when using ":shell".
11092Solution: Avoid calling settmode() when not needed. (issue #7079)
11093Files: src/os_unix.c
11094
11095Patch 8.2.1806
11096Problem: MS-Windows with Python: Vim freezes after import command.
11097Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11098 Matsumoto, closes #7083)
11099Files: src/if_python3.c
11100
11101Patch 8.2.1807
11102Problem: Can use :help in a terminal popup window.
11103Solution: Give an error. (closes #7088)
11104Files: src/help.c, src/testdir/test_popupwin.vim
11105
11106Patch 8.2.1808
11107Problem: No test coverage for ":spelldump!".
11108Solution: Add a test. (Dominique Pellé, closes #7089)
11109Files: src/testdir/test_spell.vim
11110
11111Patch 8.2.1809
11112Problem: Mapping some keys with Ctrl does not work properly.
11113Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11114Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11115 src/gui_x11.c, src/testdir/test_termcodes.vim
11116
11117Patch 8.2.1810
11118Problem: Some code in normal.c not covered by tests.
11119Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11120Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11121
11122Patch 8.2.1811
11123Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11124Solution: Remove the shift modifier. (closes #6457)
11125Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11126
11127Patch 8.2.1812
11128Problem: Vim9: nested closure throws an internal error.
11129Solution: Do not skip a local variable with a partial. (closes #7065)
11130Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11131
11132Patch 8.2.1813
11133Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
11134Solution: Check the type if known.
11135Files: src/structs.h, src/eval.c, src/vim9script.c,
11136 src/proto/vim9script.pro, src/proto/evalvars.pro,
11137 src/testdir/test_vim9_script.vim
11138
11139Patch 8.2.1814 (after 8.2.1813)
11140Problem: Missing change to remove "static".
11141Solution: Add the change.
11142Files: src/evalvars.c
11143
11144Patch 8.2.1815
11145Problem: Vim9: memory leak when using function reference.
11146Solution: Temporarily disable the test.
11147Files: src/testdir/test_vim9_disassemble.vim
11148
11149Patch 8.2.1816
11150Problem: Vim9: another memory leak when using function reference.
11151Solution: Temporarily disable the tests.
11152Files: src/testdir/test_vim9_func.vim
11153
11154Patch 8.2.1817
11155Problem: Vim9: wrong instruction when reusing a local variable spot.
11156Solution: Clear a newly allocated local variable. (closes #7080)
11157Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11158
11159Patch 8.2.1818
11160Problem: SE Linux: deprecation warning for security_context_t.
11161Solution: Use "char *" instead. (James McCoy, closes #7093)
11162Files: src/os_unix.c
11163
11164Patch 8.2.1819
11165Problem: Vim9: Memory leak when using a closure.
11166Solution: Compute the mininal refcount in the funcstack. Reenable disabled
11167 tests.
11168Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11169 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11170 src/testdir/test_vim9_func.vim
11171
11172Patch 8.2.1820
11173Problem: Vim9: crash when error happens in timer callback.
11174Solution: Check that current_exception is not NULL. (closes #7100)
11175Files: src/ex_docmd.c
11176
11177Patch 8.2.1821
11178Problem: Vim9: concatenating to a NULL list doesn't work.
11179Solution: Handle a NULL list like an empty list. (closes #7064)
11180Files: src/list.c, src/testdir/test_vim9_assign.vim
11181
11182Patch 8.2.1822 (after 8.2.1821)
11183Problem: List test doesn't fail.
11184Solution: Adjust the test for NULL list handling.
11185Files: src/testdir/test_listdict.vim
11186
11187Patch 8.2.1823
11188Problem: "gN" does not select the matched string.
11189Solution: Move the cursor to the start of the match.
11190Files: src/search.c, src/testdir/test_gn.vim
11191
11192Patch 8.2.1824
11193Problem: Vim9: variables at the script level escape their scope.
11194Solution: When leaving a scope remove variables declared in it.
11195Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11196 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11197
11198Patch 8.2.1825
11199Problem: Vim9: accessing freed memory.
11200Solution: Clear sv_name when the variable is deleted.
11201Files: src/ex_eval.c
11202
11203Patch 8.2.1826
11204Problem: Vim9: cannot use a {} block at script level.
11205Solution: Recognize a {} block.
11206Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11207 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11208 src/testdir/test_vim9_script.vim
11209
11210Patch 8.2.1827
11211Problem: Filetype detection does not test enough file names.
11212Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11213Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11214
11215Patch 8.2.1828
11216Problem: Build failure without the +eval feature.
11217Solution: Add dummys for ex_block and ex_endblock.
11218Files: src/ex_docmd.c
11219
11220Patch 8.2.1829
11221Problem: Warnings when executing Github actions.
11222Solution: Use another method to set environment variables. (Ken Takata,
11223 closes #7107)
11224Files: .github/workflows/ci-windows.yaml
11225
11226Patch 8.2.1830
11227Problem: MS-Windows: Python3 issue with stdin.
11228Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11229Files: src/if_python3.c
11230
11231Patch 8.2.1831
11232Problem: File missing from distribution.
11233Solution: Add the github code analyses file.
11234Files: Filelist
11235
11236Patch 8.2.1832
11237Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11238Solution: Use semsg() instead of smsg().
11239Files: src/fileio.c, src/testdir/test_functions.vim
11240
11241Patch 8.2.1833
11242Problem: When reading from stdin dup() is called twice.
11243Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11244Files: src/main.c
11245
11246Patch 8.2.1834
11247Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11248Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11249 Takata, closes #7113) Avoid warnings for functions.
11250Files: src/if_python3.c, src/if_py_both.h
11251
11252Patch 8.2.1835
11253Problem: ":help ??" finds the "!!" tag.
11254Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11255 closes #7115)
11256Files: src/help.c, src/testdir/test_help_tagjump.vim
11257
11258Patch 8.2.1836
11259Problem: Autocmd test fails on pacifist systems.
11260Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11261 Tune the timing, make the autocmd test run faster.
11262Files: src/testdir/test_autocmd.vim
11263
11264Patch 8.2.1837
11265Problem: Using "gn" after "gN" does not work.
11266Solution: Extend the other end of the Visual area. (closes #7109)
11267Files: src/search.c, src/testdir/test_gn.vim
11268
11269Patch 8.2.1838
11270Problem: Vim9: cannot insert a comment line in an expression.
11271Solution: Skip comment lines at the script level. (closes #7111)
11272Files: src/eval.c, src/testdir/test_vim9_expr.vim
11273
11274Patch 8.2.1839
11275Problem: Vim9: memory leaks reported in assign test.
11276Solution: Move the failing job_start() call to separate test files, it
11277 causes false leak reports.
11278Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11279 src/testdir/Make_all.mak
11280
11281Patch 8.2.1840
11282Problem: Vim9: error message is not clear about compilation error.
11283Solution: Say "compiling" instead of "processing".
11284Files: src/vim9compile.c, src/message.c, src/globals.h,
11285 src/testdir/test_vim9_func.vim
11286
11287Patch 8.2.1841
11288Problem: Vim9: test for compilation error fails in normal build.
11289Solution: Invoke CheckRunVimInTerminal in a separate function.
11290Files: src/testdir/test_vim9_func.vim
11291
11292Patch 8.2.1842
11293Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11294Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11295 closes #7123)
11296Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11297
11298Patch 8.2.1843
11299Problem: Netbeans: with huge buffer number memory allocation may fail.
11300Solution: Check for size overflow.
11301Files: src/netbeans.c
11302
11303Patch 8.2.1844
11304Problem: Using "q" at the more prompt doesn't stop a long message.
11305Solution: Check for "got_int". (closes #7122)
11306Files: src/message.c, src/testdir/test_messages.vim,
11307 src/testdir/dumps/Test_quit_long_message.dump
11308
11309Patch 8.2.1845
11310Problem: Vim9: function defined in a block can't use variables defined in
11311 that block.
11312Solution: First step: Make a second hashtab that holds all script variables,
11313 also block-local ones, with more information.
11314Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11315 src/proto/vim9script.pro, src/scriptfile.c
11316
11317Patch 8.2.1846
11318Problem: Vim9: variables declared in a local block are not found in
11319 when a function is compiled.
11320Solution: Look for script variables in sn_all_vars.
11321Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11322 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11323 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11324 src/testdir/test_vim9_script.vim
11325
11326Patch 8.2.1847
11327Problem: Vim9: using negative value for unsigned type.
11328Solution: Use zero instead of -1.
11329Files: src/vim9compile.c
11330
11331Patch 8.2.1848
11332Problem: Crash when passing a NULL string or list to popup_settext().
11333Solution: Check for NULL pointers. (closes #7132)
11334Files: src/popupwin.c, src/testdir/test_popupwin.vim
11335
11336Patch 8.2.1849
11337Problem: Vim9: garbage collection frees block-local variables.
11338Solution: Mark all script variables as used.
11339Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11340
11341Patch 8.2.1850
11342Problem: "vat" does not select tags correctly over line break.
11343Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11344Files: src/textobject.c, src/testdir/test_textobjects.vim
11345
11346Patch 8.2.1851
11347Problem: Vim9: "!" followed by space incorrectly used.
11348Solution: Skip over trailing spaces. (closes #7131)
11349Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11350
11351Patch 8.2.1852
11352Problem: map() returing zero for NULL list is unexpected.
11353Solution: Return the empty list. (closes #7133)
11354Files: src/list.c, src/testdir/test_filter_map.vim,
11355 src/testdir/test_blob.vim
11356
11357Patch 8.2.1853
11358Problem: "to_f" is recognized at "topleft" modifier.
11359Solution: Do not recognize modifer when "_" follows. (closes #7019)
11360Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11361
11362Patch 8.2.1854
11363Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11364 Mishra)
11365Solution: Handle NULL string like empty string. (closes #7139)
11366Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11367
11368Patch 8.2.1855
11369Problem: Vim9: get error message when nothing is wrong.
11370Solution: Check called_emsg instead of did_emsg. (closes #7143)
11371Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11372
11373Patch 8.2.1856
11374Problem: "2resize" uses size of current window. (Daniel Steinberg)
11375Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11376Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11377
11378Patch 8.2.1857
11379Problem: Vim9: using job_status() on an unused var gives an error.
11380Solution: Return "fail". (closes #7158)
11381Files: src/job.c, src/testdir/test_vim9_assign.vim
11382
11383Patch 8.2.1858
11384Problem: Vim9: filter functions return number instead of bool.
11385Solution: Return v:true instead of one. (closes #7144)
11386Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11387
11388Patch 8.2.1859
11389Problem: Vim9: crash in unpack assignment.
11390Solution: Make sure an error message is turned into an exception.
11391 (closes #7159)
11392Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11393 src/testdir/test_vim9_script.vim
11394
11395Patch 8.2.1860
11396Problem: Vim9: memory leak when throwing empty string.
11397Solution: Free the empty string.
11398Files: src/vim9execute.c
11399
11400Patch 8.2.1861
11401Problem: Vim9: no specific error when parsing lambda fails.
11402Solution: Also give syntax errors when not evaluating. (closes #7154)
11403Files: src/dict.c, src/testdir/test_vim9_expr.vim
11404
11405Patch 8.2.1862
11406Problem: vim9: memory leak when compiling lambda fails.
11407Solution: Call clear_evalarg().
11408Files: src/vim9compile.c
11409
11410Patch 8.2.1863
11411Problem: Json code not sufficiently tested.
11412Solution: Add more test cases. (Dominique Pellé, closes #7166)
11413Files: src/testdir/test_json.vim
11414
11415Patch 8.2.1864
11416Problem: Vim9: no error for wrong list type.
11417Solution: Add flag to indicate a constant. (closes #7160)
11418Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11419
11420Patch 8.2.1865
11421Problem: Vim9: add() does not check type of argument.
11422Solution: Inline the add() call. (closes #7160)
11423Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11424 src/testdir/test_vim9_func.vim,
11425 src/testdir/test_vim9_disassemble.vim
11426
11427Patch 8.2.1866
11428Problem: Vim9: appending to pushed blob gives wrong result.
11429Solution: Set ga_maxlen when copying a blob.
11430Files: src/blob.c, src/testdir/test_vim9_func.vim
11431
11432Patch 8.2.1867
11433Problem: Vim9: argument to add() not checked for blob.
11434Solution: Add the BLOBAPPEND instruction.
11435Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11436 src/testdir/test_vim9_func.vim,
11437 src/testdir/test_vim9_disassemble.vim
11438
11439Patch 8.2.1868
11440Problem: Vim9: no error for missing space after comma in dict.
11441Solution: Check for white space. (closes #6672)
11442Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11443
11444Patch 8.2.1869
11445Problem: Vim9: memory leak when using add().
11446Solution: Free the added item.
11447Files: src/vim9execute.c
11448
11449Patch 8.2.1870
11450Problem: Vim9: no need to keep all script variables.
11451Solution: Only keep script variables when a function was defined that could
11452 use them. Fix freeing static string on exit.
11453Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11454 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11455
11456Patch 8.2.1871
11457Problem: Using %v in 'errorformat' may fail before %Z.
11458Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11459Files: src/quickfix.c, src/testdir/test_quickfix.vim
11460
11461Patch 8.2.1872
11462Problem: Matchfuzzy() does not prefer sequential matches.
11463Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11464 closes #7140)
11465Files: src/search.c, src/testdir/test_matchfuzzy.vim
11466
11467Patch 8.2.1873
11468Problem: Vim9: missing white space when using <f-args>.
11469Solution: Add spaces. (Christian J. Robinson)
11470Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11471
11472Patch 8.2.1874
11473Problem: Can't do something just before leaving Insert mode.
11474Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11475Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11476 src/autocmd.c, src/testdir/test_edit.vim
11477
11478Patch 8.2.1875
11479Problem: Warning when building GTK gui.
11480Solution: Add missing function parameter.
11481Files: src/gui_gtk_f.c
11482
11483Patch 8.2.1876
11484Problem: Vim9: argument types for builtin functions are not checked at
11485 compile time.
11486Solution: Add an argument type checking mechanism. Implement type checks for
11487 one function.
11488Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11489 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11490 src/testdir/Make_all.mak
11491
11492Patch 8.2.1877 (after 8.2.1876)
11493Problem: Test for function list fails.
11494Solution: Move "obsolete" comments one line up.
11495Files: src/evalfunc.c
11496
11497Patch 8.2.1878
11498Problem: GTK: error for redefining function. (Tony Mechelynck)
11499Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11500 global functions.
11501Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11502
11503Patch 8.2.1879
11504Problem: Vim9: argument types of insert() not checked when compiling.
11505Solution: Add argument type checks for insert().
11506Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11507 src/testdir/test_vim9_builtin.vim
11508
11509Patch 8.2.1880
11510Problem: Vim9: Asan complains about adding zero to NULL.
11511Solution: Check for argument count first.
11512Files: src/vim9compile.c
11513
11514Patch 8.2.1881
11515Problem: Cannot build with GTK3.
11516Solution: Adjust form functions.
11517Files: src/gui_gtk_f.c
11518
11519Patch 8.2.1882
11520Problem: Vim9: v:disallow_let is no longer needed.
11521Solution: Remove v:disallow_let.
11522Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11523
11524Patch 8.2.1883
11525Problem: Compiler warnings when using Python.
11526Solution: Adjust PyCFunction to also have the second argument. Use "int"
11527 return type for some functions. Insert "(void *)" to get rid of
11528 the remaining warnings.
11529Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11530
11531Patch 8.2.1884
11532Problem: Compiler warning for uninitialized variable. (John Marriott)
11533Solution: Initialize with NULL.
11534Files: src/vim9compile.c, src/evalfunc.c
11535
11536Patch 8.2.1885
11537Problem: Filetype tests unnessarily creates swap files.
11538Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11539Files: src/testdir/test_filetype.vim
11540
11541Patch 8.2.1886
11542Problem: Using ":silent!" in a popup filter has unexpected effect.
11543Solution: Use did_emsg instead of called_emsg. (closes #7178)
11544Files: src/popupwin.c, src/testdir/test_popupwin.vim
11545
11546Patch 8.2.1887
11547Problem: Github actions not optimally configured.
11548Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11549 closes #7184)
11550Files: .github/workflows/ci-windows.yaml
11551
11552Patch 8.2.1888
11553Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11554Solution: Return an empty list. (closes #7180)
11555Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11556
11557Patch 8.2.1889
11558Problem: Vim9: errornous error for missing white space after {}.
11559Solution: Don't skip over white space after {}. (issue #7167)
11560Files: src/dict.c, src/testdir/test_vim9_expr.vim
11561
11562Patch 8.2.1890
11563Problem: Vim9: strange error for subtracting from a list.
11564Solution: Check getting a number, not a string. (closes #7167)
11565Files: src/eval.c, src/testdir/test_vim9_expr.vim
11566
11567Patch 8.2.1891
11568Problem: Vim9: skipping over expression doesn't handle line breaks.
11569Solution: Pass evalarg to skip_expr(). (closes #7157)
11570Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11571 src/misc1.c, src/testdir/test_vim9_cmd.vim
11572
11573Patch 8.2.1892
11574Problem: Valgrind warns for using uninitialized access in tests.
11575Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11576 closes #7187)
11577Files: src/terminal.c
11578
11579Patch 8.2.1893
11580Problem: Fuzzy matching does not support multiple words.
11581Solution: Add support for matching white space separated words. (Yegappan
11582 Lakshmanan, closes #7163)
11583Files: runtime/doc/eval.txt, src/search.c,
11584 src/testdir/test_matchfuzzy.vim
11585
11586Patch 8.2.1894
11587Problem: Vim9: command modifiers are not supported.
11588Solution: Support "silent" and "silent!".
11589Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
11590 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
11591 src/testdir/test_vim9_cmd.vim
11592
11593Patch 8.2.1895 (after 8.2.1894)
11594Problem: Vim9: silent command modifier test fails.
11595Solution: Add missing changes.
11596Files: src/ex_docmd.c
11597
11598Patch 8.2.1896
11599Problem: Valgrind warns for using uninitialized memory.
11600Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
11601 Pellé, closes #7194)
11602Files: src/os_unix.c
11603
11604Patch 8.2.1897
11605Problem: Command modifiers are saved and set inconsistently.
11606Solution: Separate parsing and applying command modifiers. Save values in
11607 cmdmod_T.
11608Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
11609 src/ex_cmds.h, src/vim9compile.c
11610
11611Patch 8.2.1898
11612Problem: Command modifier parsing always uses global cmdmod.
11613Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
11614Files: src/structs.h, src/arglist.c src/buffer.c, src/bufwrite.c,
11615 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
11616 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
11617 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
11618 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
11619 src/memline.c, src/message.c, src/option.c, src/ops.c,
11620 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
11621 src/search.c, src/session.c, src/tag.c, src/terminal.c,
11622 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
11623 src/proto/ex_docmd.pro
11624
11625Patch 8.2.1899
11626Problem: Crash in out-of-memory situation.
11627Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
11628Files: src/ex_cmds.c
11629
11630Patch 8.2.1900
11631Problem: Vim9: command modifiers do not work.
11632Solution: Make most command modifiers work.
11633Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11634 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
11635 src/testdir/test_vim9_disassemble.vim
11636
11637Patch 8.2.1901
11638Problem: Variable completion does not work in command line window.
11639Solution: Use the "prevwin". (closes #7198)
11640Files: src/evalvars.c, src/testdir/test_ins_complete.vim
11641
11642Patch 8.2.1902
11643Problem: Default option values are changed when using :badd for an existing
11644 buffer.
11645Solution: When calling buflist_new() pass a zero line number. (closes #7195)
11646Files: src/ex_cmds.c, src/testdir/test_buffer.vim
11647
11648Patch 8.2.1903 (after 8.2.1902)
11649Problem: Buffer test fails with normal features.
11650Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
11651Files: src/testdir/test_buffer.vim
11652
11653Patch 8.2.1904
11654Problem: Still using default option values after using ":badd +1".
11655Solution: Find a window where options were set. Don't set the window when
11656 using ":badd".
11657Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
11658 src/testdir/test_buffer.vim
11659
11660Patch 8.2.1905
11661Problem: The wininfo list may contain stale entries.
11662Solution: When closing a window remove any other entry where the window
11663 pointer is NULL.
11664Files: src/buffer.c, src/proto/buffer.pro, src/window.c
11665
11666Patch 8.2.1906
11667Problem: Warning for signed/unsigned.
11668Solution: Use size_t instead of int. (Mike Williams)
11669Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
11670
11671Patch 8.2.1907
11672Problem: Complete_info().selected may be wrong.
11673Solution: Update cp_number if it was never set. (issue #6945)
11674Files: src/insexpand.c, src/testdir/test_ins_complete.vim
11675
11676Patch 8.2.1908
11677Problem: Lua is initialized even when not used.
11678Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
11679 closes #7191). Avoid compiler warnings.
11680Files: src/if_lua.c, src/testdir/test_lua.vim
11681
11682Patch 8.2.1909
11683Problem: Number of status line items is limited to 80.
11684Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
11685Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
11686 src/proto/buffer.pro, src/screen.c, src/structs.h,
11687 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
11688 src/vim.h
11689
11690Patch 8.2.1910
11691Problem: Reading past the end of the command line.
11692Solution: Check for NUL. (closes #7204)
11693Files: src/ex_docmd.c, src/testdir/test_edit.vim
11694
11695Patch 8.2.1911
11696Problem: Tiny build fails.
11697Solution: Add #ifdef.
11698Files: src/insexpand.c
11699
11700Patch 8.2.1912
11701Problem: With Python 3.9 some tests fail.
11702Solution: Take into account the different error message. (James McCoy,
11703 closes #7210)
11704Files: src/testdir/test_python3.vim
11705
11706Patch 8.2.1913
11707Problem: GTK GUI: rounding for the cell height is too strict.
11708Solution: Round up above 15/16 of a pixel. (closes #7203)
11709Files: src/gui_gtk_x11.c
11710
11711Patch 8.2.1914
11712Problem: Vim9: cannot put line break in expression for '=' register.
11713Solution: Pass fgetline to set_expr_line(). (closes #7209)
11714Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
11715 src/eval.c, src/proto/eval.pro, src/misc2.c,
11716 src/testdir/test_vim9_script.vim
11717
11718Patch 8.2.1915
11719Problem: Vim9: error for wrong number of arguments is not useful.
11720Solution: Mention whatever we have for the name. (closes #7208)
11721Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11722
11723Patch 8.2.1916
11724Problem: Vim9: function call is aborted even when "silent!" is used.
11725Solution: Use did_emsg instead of called_emsg. (closes #7213)
11726Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11727
11728Patch 8.2.1917
11729Problem: No test for improved Man command.
11730Solution: Test that shell arguments are properly escaped.
11731Files: src/testdir/test_man.vim
11732
11733Patch 8.2.1918
11734Problem: Vim9: E1100 mentions :let.
11735Solution: Mention "var". (closes #7207)
11736Files: src/vim9script.c, src/errors.h
11737
11738Patch 8.2.1919
11739Problem: Assert_fails() setting emsg_silent changes normal execution.
11740Solution: Use a separate flag in_assert_fails.
11741Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
11742 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
11743 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
11744 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
11745 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
11746 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
11747
11748Patch 8.2.1920
11749Problem: Listlbr test fails when run after another test.
11750Solution: Add test separately to list of test targets.
11751Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
11752
11753Patch 8.2.1921
11754Problem: Fuzzy matching does not recognize path separators.
11755Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
11756 closes #7225)
11757Files: src/search.c, src/testdir/test_matchfuzzy.vim
11758
11759Patch 8.2.1922
11760Problem: Win32: scrolling doesn't work properly when part of window is
11761 off-screen.
11762Solution: Fall back to GDI scrolling if part of the window is off-screen.
11763 Handle multi-monitor setup better. (Ken Takata, closes #7219)
11764Files: src/gui_w32.c
11765
11766Patch 8.2.1923
11767Problem: Vim9: "filter" command modifier doesn't work.
11768Solution: Check for space on char before argument. (closes #7216,
11769 closes #7222)
11770Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
11771
11772Patch 8.2.1924
11773Problem: Vim9: crash when indexing dict with NULL key.
11774Solution: Use empty string instead of NULL. (closes #7229) Make error
11775 message more useful for empty string.
11776Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
11777
11778Patch 8.2.1925 (after 8.2.1924)
11779Problem: List/dict test fails.
11780Solution: Correct expected exception.
11781File: src/testdir/test_listdict.vim
11782
11783Patch 8.2.1926
11784Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
11785Solution: Permit using a space. (closes #7230)
11786Files: src/spell.c, src/testdir/gen_opt_test.vim
11787
11788Patch 8.2.1927
11789Problem: Vim9: get unknown error with an error in a timer function.
11790Solution: Use did_emsg instead of called_emsg. (closes #7231)
11791Files: src/vim9compile.c, src/vim9execute.c
11792
11793Patch 8.2.1928
11794Problem: Vim9: "silent!" not effective when list index is wrong.
11795Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
11796Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11797
11798Patch 8.2.1929
11799Problem: MS-Windows: problem loading Perl 5.32.
11800Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
11801Files: src/if_perl.xs
11802
11803Patch 8.2.1930
11804Problem: Wrong input if removing shift results in special key code.
11805Solution: Handle special key codes. (closes #7189)
11806Files: src/term.c, src/testdir/test_termcodes.vim
11807
11808Patch 8.2.1931
11809Problem: Vim9: arguments of extend() not checked at compile time.
11810Solution: Add argument type checking for extend().
11811Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
11812
11813Patch 8.2.1932
11814Problem: Compiler warnings when building with Athena GUI.
11815Solution: Fix function signatures.
11816Files: src/gui_at_fs.c
11817
11818Patch 8.2.1933
11819Problem: Cannot sort using locale ordering.
11820Solution: Add a flag for :sort and sort() to use the locale. (Dominique
11821 Pellé, closes #7237)
11822Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
11823 src/list.c, src/testdir/test_sort.vim
11824
11825Patch 8.2.1934
11826Problem: Vim9: command modifiers in :def function not tested.
11827Solution: Add tests. Fix using modifier before filter command.
11828Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
11829
11830Patch 8.2.1935 (after 8.2.1933)
11831Problem: Sort test fails on Mac.
11832Solution: Disable the sort test with locale on Mac.
11833Files: src/testdir/test_sort.vim
11834
11835Patch 8.2.1936
11836Problem: Session sets the local 'scrolloff' value to the global value.
11837Solution: Do not let restoring the global option value change the local
11838 value.
11839Files: src/session.c, src/testdir/test_mksession.vim
11840
11841Patch 8.2.1937
11842Problem: Vim9: test for confirm modifier fails in some situations.
11843Solution: Add a short wait. Handle failure better.
11844Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
11845
11846Patch 8.2.1938
11847Problem: Wiping out a terminal buffer makes some tests fail.
11848Solution: Do not wipe out the terminal buffer unless wanted.
11849Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
11850 src/testdir/test_terminal3.vim
11851
11852Patch 8.2.1939
11853Problem: Invalid memory access in Ex mode with global command.
11854Solution: Make sure the cursor is on a valid line. (closes #7238)
11855Files: src/move.c, src/testdir/test_ex_mode.vim
11856
11857Patch 8.2.1940
11858Problem: Vim9: browse modifier test fails on Mac.
11859Solution: Only test when the +browse feature is available.
11860Files: src/testdir/test_vim9_cmd.vim
11861
11862Patch 8.2.1941
11863Problem: Ex mode test fails on MS-Windows with GUI.
11864Solution: Skip the test when using gvim.
11865Files: src/testdir/test_ex_mode.vim
11866
11867Patch 8.2.1942
11868Problem: Insufficient test coverage for the Netbeans interface.
11869Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
11870 closes #7240)
11871Files: runtime/doc/netbeans.txt, src/mouse.c,
11872 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
11873 src/testdir/test_quickfix.vim
11874
11875Patch 8.2.1943
11876Problem: Vim9: wrong error message when colon is missing.
11877Solution: Check for a missing colon. (issue #7239)
11878Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
11879
11880Patch 8.2.1944
11881Problem: Netbeans test is flaky.
11882Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
11883Files: src/testdir/test_netbeans.vim
11884
11885Patch 8.2.1945
11886Problem: Crash when passing NULL function to reduce().
11887Solution: Check for NULL pointer and give an error. (Dominique Pellé,
11888 closes #7243)
11889Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
11890
11891Patch 8.2.1946
11892Problem: sort() with NULL string not tested.
11893Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
11894Files: src/testdir/test_sort.vim
11895
11896Patch 8.2.1947
11897Problem: Crash when using "zj" without folds. (Sean Dewar)
11898Solution: Check for at least one fold. (closes #7245)
11899Files: src/fold.c, src/testdir/test_fold.vim
11900
11901Patch 8.2.1948
11902Problem: GUI: crash when handling message while closing a window. (Srinath
11903 Avadhanula)
11904Solution: Don't handle message while closing a window. (closes #7250)
11905Files: src/window.c, src/globals.h, src/getchar.c
11906
11907Patch 8.2.1949
11908Problem: Vim9: using extend() on null dict is silently ignored.
11909Solution: Give an error message. Initialize a dict variable with an empty
11910 dictionary. (closes #7251)
11911Files: src/errors.h, src/list.c, src/evalvars.c,
11912 src/testdir/test_vim9_assign.vim
11913
11914Patch 8.2.1950
11915Problem: Vim9: crash when compiling function fails when getting type.
11916Solution: Handle NULL type. (closes #7253)
11917Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11918
11919Patch 8.2.1951 (after 8.2.1949)
11920Problem: Test for list and dict fails.
11921Solution: Adjust for using an empty list/dict for a null one.
11922Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
11923 src/testdir/test_python3.vim
11924
11925Patch 8.2.1952
11926Problem: Vim9: crash when using a NULL dict key.
11927Solution: Use a NULL dict key like an empty string. (closes #7249)
11928Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
11929
11930Patch 8.2.1953
11931Problem: Vim9: extra "unknown" error after other error.
11932Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
11933 Improve error message from assert_fails()
11934Files: src/vim9execute.c, src/testing.c,
11935 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
11936
11937Patch 8.2.1954
11938Problem: Vim9: not all command modifiers are tested.
11939Solution: Add tests for "keep" modifiers. Fix that marks are lost even
11940 though ":lockmarks" is used.
11941Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
11942
11943Patch 8.2.1955
11944Problem: Vim9: not all command modifiers are tested.
11945Solution: Add tests for remaining modifiers.
11946Files: src/testdir/test_vim9_cmd.vim
11947
11948Patch 8.2.1956
11949Problem: Vim9: cannot specify argument types for lambda.
11950Solution: Allow adding argument types. Check arguments when calling a
11951 function reference.
11952Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
11953 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11954 src/testdir/test_vim9_func.vim
11955
11956Patch 8.2.1957
11957Problem: Diff and cursorcolumn highlighting don't mix.
11958Solution: Fix condition for what attribute to use. (Christian Brabandt,
11959 closes #7258, closes #7260)
11960Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
11961 src/testdir/dumps/Test_diff_cuc_02.dump,
11962 src/testdir/dumps/Test_diff_cuc_03.dump,
11963 src/testdir/dumps/Test_diff_cuc_04.dump,
11964 src/testdir/test_diffmode.vim
11965
11966Patch 8.2.1958 (after 8.2.1956)
11967Problem: Build failure with timers.
11968Solution: Add missing change.
11969Files: src/popupwin.c
11970
11971Patch 8.2.1959
11972Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
11973Solution: Fall back to "[No Name]". (closes #7262)
11974Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
11975 src/testdir/test_terminal.vim
11976
11977Patch 8.2.1960
11978Problem: Warning for uninitialized variable.
11979Solution: Initialize the variable.
11980Files: src/evalfunc.c
11981
11982Patch 8.2.1961
11983Problem: Various comments can be improved.
11984Solution: Various comment adjustments.
11985Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
11986 src/testdir/test_netbeans.vim, src/gui_motif.c
11987
11988Patch 8.2.1962
11989Problem: Netbeans may access freed memory.
11990Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
11991 Lakshmanan, closes #7248)
11992Files: src/netbeans.c, src/testdir/test_netbeans.vim
11993
11994Patch 8.2.1963
11995Problem: Crash when using a popup window with "latin1" encoding.
11996Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
11997Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
11998
11999Patch 8.2.1964
12000Problem: Not all ConTeXt files are recognized.
12001Solution: Add two patterns. (closes #7263)
12002Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12003
12004Patch 8.2.1965
12005Problem: Vim9: tests fail without the channel feature.
12006Solution: Check if the channel feature is present. (Dominique Pellé,
12007 closes 7270)
12008Files: src/testdir/test_vim9_expr.vim
12009
12010Patch 8.2.1966
12011Problem: Popup becomes current window after closing a terminal window.
12012Solution: When restoring the window after executing autocommands, check that
12013 the window ID is still the same. (Naruhiko Nishino,
12014 closes #7272)
12015Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12016 src/testdir/test_popupwin.vim
12017
12018Patch 8.2.1967
12019Problem: The session file does not restore the alternate file.
12020Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12021 alternate file. Use it in the session file. (closes #7269,
12022 closes #6714)
12023Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12024 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12025 src/testdir/test_buffer.vim
12026
12027Patch 8.2.1968
12028Problem: Vim9: has() assumes a feature does not change dynamically.
12029Solution: Check whether a feature may change dynamically. (closes #7265)
12030Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12031 src/testdir/test_vim9_disassemble.vim
12032
12033Patch 8.2.1969
12034Problem: Vim9: map() may change the list or dict item type.
12035Solution: Add mapnew().
12036Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12037 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12038
12039Patch 8.2.1970
12040Problem: It is easy to make mistakes when cleaning up swap files after the
12041 system crashed.
12042Solution: Warn for the process still running after recovery. Do not
12043 automatically delete a swap file created on another system.
12044 (David Fries, closes #7273)
12045Files: src/memline.c, src/testdir/test_swap.vim
12046
12047Patch 8.2.1971
12048Problem: Memory leak when map() fails.
12049Solution: Clear the typval.
12050Files: src/list.c
12051
12052Patch 8.2.1972
12053Problem: Crash when recreating nested fold.
12054Solution: Check for empty growarray. (closes #7278)
12055Files: src/fold.c, src/testdir/test_fold.vim
12056
12057Patch 8.2.1973
12058Problem: Finding a patch number can be a bit slow.
12059Solution: Use binary search. (closes #7279)
12060Files: src/version.c
12061
12062Patch 8.2.1974
12063Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12064Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12065Files: src/evalfunc.c
12066
12067Patch 8.2.1975
12068Problem: Win32: memory leak when encoding conversion fails.
12069Solution: Free the allocated memory. (Ken Takata, closes #7277)
12070Files: src/os_win32.c
12071
12072Patch 8.2.1976
12073Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12074 Kim)
12075Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12076Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12077
12078Patch 8.2.1977
12079Problem: Vim9: error for using a string in a condition is confusing.
12080Solution: Give a more specific error. Also adjust the compile time type
12081 checking for || and &&.
12082Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12083 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12084 src/testdir/test_vim9_disassemble.vim,
12085 src/testdir/test_vim9_expr.vim
12086
12087Patch 8.2.1978
12088Problem: Making a mapping work in all modes is complicated.
12089Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12090 closes 4784, based on patch by Bjorn Linse)
12091Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12092 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12093 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12094 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12095 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12096 src/testdir/test_mapping.vim
12097
12098Patch 8.2.1979
12099Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12100 Vlasov)
12101Solution: Allocate the buffer to hold the command. (closes #7284)
12102Files: src/terminal.c, src/testdir/test_terminal.vim
12103
12104Patch 8.2.1980
12105Problem: Vim9: some tests are not done at the script level.
12106Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12107 problems.
12108Files: src/eval.c, src/list.c, src/scriptfile.c,
12109 src/testdir/test_vim9_expr.vim
12110
12111Patch 8.2.1981
12112Problem: MinGW: parallel compilation might fail.
12113Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12114Files: src/Make_cyg_ming.mak
12115
12116Patch 8.2.1982
12117Problem: Quickfix window not updated when adding invalid entries.
12118Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12119 #7291, closes #7271)
12120Files: src/quickfix.c, src/testdir/test_quickfix.vim
12121
12122Patch 8.2.1983
12123Problem: ml_get error when using <Cmd> to open a terminal.
12124Solution: If the window changed reset the incsearch state. (closes #7289)
12125Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12126 src/testdir/dumps/Test_terminal_from_cmd.dump
12127
12128Patch 8.2.1984
12129Problem: Cannot use :vimgrep in omni completion, causing C completion to
12130 fail.
12131Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12132Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12133
12134Patch 8.2.1985
12135Problem: Crash when closing terminal popup with <Cmd> mapping.
12136Solution: Check b_term is not NULL. (closes #7294)
12137Files: src/terminal.c, src/testdir/test_terminal.vim
12138
12139Patch 8.2.1986
12140Problem: Expression test is flaky on Appveyor.
12141Solution: Temporarily disable the test in MS-Windows.
12142Files: src/testdir/test_vim9_expr.vim
12143
12144Patch 8.2.1987
12145Problem: MS-Windows: Win32.mak is no longer needed.
12146Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12147Files: src/Make_mvc.mak, src/INSTALLpc.txt
12148
12149Patch 8.2.1988
12150Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12151 mapping in Insert mode.
12152Solution: Exit Insert mode. (closes #7295)
12153Files: src/edit.c, src/testdir/test_terminal.vim
12154
12155Patch 8.2.1989
12156Problem: Info popup triggers WinEnter and WinLeave autocommands.
12157Solution: Suppress autocommands for the info popup. (closes #7296)
12158Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12159
12160Patch 8.2.1990
12161Problem: Cursor position wrong in terminal popup with finished job.
12162Solution: Only add the top and left offset when not done already.
12163 (closes #7298)
12164Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12165 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12166
12167Patch 8.2.1991
12168Problem: Coverity warns for not using the ga_grow() return value.
12169Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12170Files: src/getchar.c
12171
12172Patch 8.2.1992
12173Problem: Build fails with small features.
12174Solution: Add #ifdef.
12175Files: src/move.c
12176
12177Patch 8.2.1993
12178Problem: Occasional failure of the netbeans test.
12179Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12180Files: src/testdir/test_netbeans.vim
12181
12182Patch 8.2.1994 (after 8.2.1981)
12183Problem: MS-Windows: MinGW always does a full build.
12184Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12185Files: src/Make_cyg_ming.mak
12186
12187Patch 8.2.1995
12188Problem: The popup menu can cause too much redrawing.
12189Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12190 closes #7306)
12191Files: src/popupmenu.c
12192
12193Patch 8.2.1996
12194Problem: Vim9: invalid error for argument of extend().
12195Solution: Check if the type could match. (closes #7299)
12196Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12197 src/vim9type.c, src/proto/vim9type.pro,
12198 src/testdir/test_vim9_builtin.vim
12199
12200Patch 8.2.1997
12201Problem: Window changes when using bufload() while in a terminal popup.
12202Solution: When searching for a window by ID also find a popup window.
12203 (closes #7307)
12204Files: src/window.c, src/testdir/test_terminal.vim
12205
12206Patch 8.2.1998
12207Problem: Terminal Cmd test sometimes fails to close popup.
12208Solution: Add "term_finish" option.
12209Files: src/testdir/test_terminal.vim
12210
12211Patch 8.2.1999
12212Problem: Terminal popup test sometimes fails.
12213Solution: Wait for the popup to close.
12214Files: src/testdir/test_terminal.vim
12215
12216Patch 8.2.2000
12217Problem: Vim9: dict.key assignment not implemented yet.
12218Solution: Implement dict.key assignment. (closes #7312)
12219Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12220
12221Patch 8.2.2001
12222Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12223Solution: Use 'maxfuncdepth'. (issue #7313)
12224Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12225 src/testdir/test_vim9_func.vim
12226
12227Patch 8.2.2002
12228Problem: Vim9: lambda argument shadowed by function name.
12229Solution: Let function name be shadowed by lambda argument. (closes #7313)
12230Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12231
12232Patch 8.2.2003
12233Problem: Build error with +conceal but without +popupwin.
12234Solution: Add #ifdef. (Tom Ryder, closes #7316)
12235Files: src/drawline.c
12236
12237Patch 8.2.2004 (after 8.2.2002)
12238Problem: Compiler warning for uninitialized variable.
12239Solution: Initialize "ufunc". (John Marriott)
12240Files: src/vim9compile.c
12241
12242Patch 8.2.2005
12243Problem: Redoing a mapping with <Cmd> doesn't work properly.
12244Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12245 (closes #7282)
12246Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12247
12248Patch 8.2.2006
12249Problem: .pbtxt files are not recognized.
12250Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12251Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12252
12253Patch 8.2.2007
12254Problem: Test for insert mode in popup is not reliable.
12255Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12256Files: src/testdir/test_terminal.vim
12257
12258Patch 8.2.2008
12259Problem: MS-Windows GUI: handling channel messages lags.
12260Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12261Files: src/gui_w32.c
12262
12263Patch 8.2.2009
12264Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12265Solution: Do not set $LANG. (Ken Takata, closes #7325)
12266Files: src/GvimExt/gvimext.cpp
12267
12268Patch 8.2.2010
12269Problem: Vim9: compiling fails for unreachable return statement.
12270Solution: Fix it. (closes #7319)
12271Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12272
12273Patch 8.2.2011
12274Problem: "syn sync" reports a very large number.
12275Solution: Use "at the first line".
12276Files: src/syntax.c, src/testdir/test_syntax.vim
12277
12278Patch 8.2.2012
12279Problem: Vim9: confusing error message when using bool wrongly.
12280Solution: Mention "Bool" instead of "Special". (closes #7323)
12281Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12282
12283Patch 8.2.2013
12284Problem: Vim9: not skipping white space after unary minus.
12285Solution: Skip whitespace. (closes #7324)
12286Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12287
12288Patch 8.2.2014
12289Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12290Solution: Do not move the cursor when restarting edit. (closes #7330)
12291Files: src/job.c, src/testdir/test_prompt_buffer.vim
12292
12293Patch 8.2.2015
12294Problem: Vim9: literal dict #{} is not like any other language.
12295Solution: Support the JavaScript syntax.
12296Files: runtime/doc/vim9.txt, src/vim9compile.c,
12297 src/proto/vim9compile.pro, src/errors.h,
12298 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12299 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12300
12301Patch 8.2.2016
12302Problem: Swap file test is a little flaky.
12303Solution: Don't set a byte to a fixed value, increment it.
12304Files: src/testdir/test_swap.vim
12305
12306Patch 8.2.2017 (after 8.2.2015)
12307Problem: Missing part of the dict change.
12308Solution: Also change the script level dict.
12309Files: src/dict.c
12310
12311Patch 8.2.2018
12312Problem: Vim9: script variable not found from lambda.
12313Solution: In a lambda also check the script hashtab for a variable without a
12314 scope. (closes #7329)
12315Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12316
12317Patch 8.2.2019 (after 8.2.2016)
12318Problem: Swap file test fails on MS-Windows.
12319Solution: Add four to the process ID. (Ken Takata, closes #7333)
12320Files: src/testdir/test_swap.vim
12321
12322Patch 8.2.2020
12323Problem: Some compilers do not like the "namespace" argument.
12324Solution: Rename to "use_namespace". (closes #7332)
12325Files: src/vim9compile.c, src/proto/vim9compile.pro
12326
12327Patch 8.2.2021
12328Problem: Vim9: get E1099 when autocommand resets did_emsg.
12329Solution: Add did_emsg_cumul. (closes #7336)
12330Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12331 src/testdir/test_vim9_func.vim
12332
12333Patch 8.2.2022
12334Problem: Vim9: star command recognized errornously.
12335Solution: Give an error for missing colon. (issue #7335)
12336Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12337
12338Patch 8.2.2023
12339Problem: Vim: memory leak when :execute fails.
12340Solution: Clear the growarray.
12341Files: src/vim9execute.c
12342
12343Patch 8.2.2024
12344Problem: Flicker when redrawing a popup with a title and border.
12345Solution: Do not redraw the border where the title is displayed. (Naruhiko
12346 Nishino, closes #7334)
12347Files: src/popupwin.c
12348
12349Patch 8.2.2025
12350Problem: Amiga: Not all colors are used on OS4.
12351Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12352 closes #7328)
12353Files: src/term.c
12354
12355Patch 8.2.2026
12356Problem: Coverity warns for possibly using not NUL terminated string.
12357Solution: Put a NUL in b0_hname just in case.
12358Files: src/memline.c
12359
12360Patch 8.2.2027
12361Problem: Coverity warns for uninitialized field.
12362Solution: Set "v_lock".
12363Files: src/list.c
12364
12365Patch 8.2.2028
12366Problem: Coverity warns for using an uninitialized variable.
12367Solution: Initialize to NULL.
12368Files: src/eval.c
12369
12370Patch 8.2.2029
12371Problem: Coverity warns for not checking return value.
12372Solution: Check that u_save_cursor() returns OK.
12373Files: src/ops.c
12374
12375Patch 8.2.2030
12376Problem: Some tests fail on Mac.
12377Solution: Avoid Mac test failures. Add additional test for wildmenu.
12378 (Yegappan Lakshmanan, closes #7341)
12379Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12380 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12381
12382Patch 8.2.2031
12383Problem: Some tests fail when run under valgrind.
12384Solution: Avoid timing problems.
12385Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12386 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12387 src/testdir/test_quotestar.vim
12388
12389Patch 8.2.2032
12390Problem: Cabalconfig and cabalproject filetypes not recognized.
12391Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12392Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12393
12394Patch 8.2.2033
12395Problem: Vim9: :def without argument gives compilation error.
12396Solution: Add the DEF instruction. (closes #7344)
12397Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12398 src/userfunc.c, src/proto/userfunc.pro,
12399 src/testdir/test_vim9_disassemble.vim,
12400 src/testdir/test_vim9_func.vim
12401
12402Patch 8.2.2034
12403Problem: Vim9: list unpack in for statement not compiled yet.
12404Solution: Compile list unpack. (closes #7345)
12405Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12406 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12407 src/testdir/test_vim9_script.vim
12408
12409Patch 8.2.2035
12410Problem: MS-Windows: some tests may fail.
12411Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12412Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12413 src/testdir/test_functions.vim
12414
12415Patch 8.2.2036
12416Problem: Current buffer is messed up if creating a new buffer for the
12417 quickfix window fails.
12418Solution: Check that creating the buffer succeeds. (closes #7352)
12419Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12420 src/testdir/dumps/Test_quickfix_window_fails.dump
12421
12422Patch 8.2.2037
12423Problem: Compiler test depends on list of compiler plugins.
12424Solution: Compare with the actual list of compiler plugins.
12425Files: src/testdir/test_compiler.vim
12426
12427Patch 8.2.2038
12428Problem: Compiler test fails on MS-Windows.
12429Solution: Sort the found compiler plugin names.
12430Files: src/testdir/test_compiler.vim
12431
12432Patch 8.2.2039
12433Problem: Viminfo is not written when creating a new file.
12434Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12435 closes #7350)
12436Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12437
12438Patch 8.2.2040
12439Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12440 (Sergey Vlasov)
12441Solution: Check 'bufhiddden' when a terminal buffer becomes hidden.
12442 (closes #7358)
12443Files: src/buffer.c, src/testdir/test_terminal.vim
12444
12445Patch 8.2.2041
12446Problem: Haskell filetype not optimally recognized.
12447Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12448 closes #7354)
12449Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12450
12451Patch 8.2.2042
12452Problem: Build failure with +profile but without +reltime.
12453Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12454Files: src/syntax.c
12455
12456Patch 8.2.2043
12457Problem: GTK3: white border around text stands out.
12458Solution: Use current theme color. (closes #7357, issue #349)
12459Files: src/gui_gtk_x11.c
12460
12461Patch 8.2.2044
12462Problem: MS-Windows: swap file test sometimes fails.
12463Solution: Use a more reliable way to change the process ID. When "timeout"
12464 fails use "ping" to wait up to ten minutes. (Ken Takata,
12465 closes #7365)
12466Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12467
12468Patch 8.2.2045
12469Problem: Highlighting a character too much with incsearch.
12470Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12471Files: src/drawline.c, src/testdir/test_search.vim,
12472 src/testdir/dumps/Test_incsearch_newline1.dump,
12473 src/testdir/dumps/Test_incsearch_newline2.dump,
12474 src/testdir/dumps/Test_incsearch_newline3.dump,
12475 src/testdir/dumps/Test_incsearch_newline4.dump,
12476 src/testdir/dumps/Test_incsearch_newline5.dump
12477
12478Patch 8.2.2046
12479Problem: Some test failures don't give a clear error.
12480Solution: Use assert_match() and assert_fails() instead of assert_true().
12481 (Ken Takata, closes #7368)
12482Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12483
12484Patch 8.2.2047
12485Problem: Amiga: FEAT_ARP defined when it should not.
12486Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12487Files: src/feature.h
12488
12489Patch 8.2.2048
12490Problem: Amiga: obsolete code.
12491Solution: Remove the unused lines. (Ola Söder, closes #7373)
12492Files: src/gui.c
12493
12494Patch 8.2.2049
12495Problem: Amiga: obsolete function.
12496Solution: Remove the function. (Ola Söder, closes #7374)
12497Files: src/memfile.c
12498
12499Patch 8.2.2050
12500Problem: Search test contains unneeded sleeps.
12501Solution: Rename the function, remove sleeps. (Christian Brabandt,
12502 closes #7369)
12503Files: src/testdir/test_search.vim
12504
12505Patch 8.2.2051
12506Problem: Vim9: crash when aborting a user function call.
12507Solution: Do not use the return value when aboring. (closes #7372)
12508Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12509
12510Patch 8.2.2052
12511Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12512Solution: Allow using a range in the +cmd argument. (closes #7364)
12513Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12514 src/testdir/test_vim9_cmd.vim
12515
12516Patch 8.2.2053
12517Problem: Vim9: lamba doesn't accept argument types.
12518Solution: Optionally accept argument types at the script level.
12519Files: src/eval.c, src/testdir/test_vim9_expr.vim
12520
12521Patch 8.2.2054
12522Problem: Amiga: FEAT_ARP defined when it should not.
12523Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12524Files: src/feature.h
12525
12526Patch 8.2.2055
12527Problem: MS-Windows: two Vim instances may use the same temp file.
12528Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12529Files: src/fileio.c
12530
12531Patch 8.2.2056
12532Problem: Configure fails when building with the
12533 "implicit-function-declaration" error enabled, specifically on Mac.
12534Solution: Declear the functions like in the source code. (suggestion by
12535 Clemens Lang, closes #7380)
12536Files: src/configure.ac, src/auto/configure
12537
12538Patch 8.2.2057
12539Problem: Getting the selection may trigger TextYankPost autocmd.
12540Solution: Only trigger the autocommand when yanking in Vim, not for getting
12541 the selection. (closes #7367)
12542Files: src/clipboard.c, src/normal.c, src/register.c,
12543 src/testdir/test_autocmd.vim
12544
12545Patch 8.2.2058
12546Problem: Using mkview/loadview changes the jumplist.
12547Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12548 jumplist. (closes #7371)
12549Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12550
12551Patch 8.2.2059
12552Problem: Amiga: can't find plugins.
12553Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12554Files: src/main.c
12555
12556Patch 8.2.2060
12557Problem: Check for features implemented with "if".
12558Solution: Use the Check commands. (Ken Takata, closes #7383)
12559Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12560 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12561 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12562
12563Patch 8.2.2061
12564Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12565Solution: Don't check for an invalid type unless the terminal can't be
12566 found. (closes #7382)
12567Files: src/terminal.c, src/testdir/test_termcodes.vim
12568
12569Patch 8.2.2062
12570Problem: <Cmd> does not handle CTRL-V.
12571Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12572Files: src/getchar.c, src/testdir/test_mapping.vim
12573
12574Patch 8.2.2063
12575Problem: Vim9: only one level of indexing supported.
12576Solution: Handle more than one index in an assignment.
12577Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12578
12579Patch 8.2.2064
12580Problem: terminal: cursor is on while redrawing, causing flicker.
12581Solution: Switch the cursor off while redrawing. Always add the top and
12582 left offset to the cursor position when not done already.
12583 (closes #5943)
12584Files: src/terminal.c, src/popupwin.c
12585
12586Patch 8.2.2065
12587Problem: Using map() and filter() on a range() is inefficient.
12588Solution: Do not materialize the range. (closes #7388)
12589Files: src/list.c, src/testdir/test_functions.vim
12590
12591Patch 8.2.2066
12592Problem: Vim9: assignment with += doesn't work.
12593Solution: Do not see the "+" as an addition operator.
12594Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12595
12596Patch 8.2.2067 (after 8.2.2064)
12597Problem: Cursor position in popup terminal is wrong.
12598Solution: Don't check the flags.
12599Files: src/terminal.c, src/testdir/test_popupwin.vim
12600
12601Patch 8.2.2068
12602Problem: Transparent syntax item uses start/end of containing region.
12603Solution: Do not change the startpos and endpos of a transparent region to
12604 that of its containing region. (Adrian Ghizaru, closes #7349,
12605 closes #7391)
12606Files: src/syntax.c, src/testdir/test_syntax.vim
12607
12608Patch 8.2.2069
12609Problem: The quickfix window is not updated after setqflist().
12610Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
12611 closes #7385)
12612Files: src/quickfix.c, src/testdir/test_quickfix.vim
12613
12614Patch 8.2.2070
12615Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
12616Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
12617Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
12618 src/main.c, src/testdir/test_exit.vim, src/vim.h
12619
12620Patch 8.2.2071
12621Problem: Vim9: list assign doesn't accept an empty remainder list.
12622Solution: Recognize list assignment with ";".
12623Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12624
12625Patch 8.2.2072
12626Problem: Vim9: list assign not well tested.
12627Solution: Test with different destinations. Fix white space error.
12628Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12629
12630Patch 8.2.2073
12631Problem: Vim9: for with unpack only works for local variables.
12632Solution: Recognize different destinations.
12633Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12634
12635Patch 8.2.2074
12636Problem: Vim9: using :normal from Vim9 script can't handle range.
12637Solution: Execute a :normal command in legacy script context. (closes #7401)
12638Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
12639
12640Patch 8.2.2075
12641Problem: Error for const argument to mapnew().
12642Solution: Don't give an error. (closes #7400)
12643Files: src/list.c, src/testdir/test_filter_map.vim
12644
12645Patch 8.2.2076
12646Problem: MS-Windows console: sometimes drops typed characters.
12647Solution: Do not wait longer than 10 msec for input. (issue #7164)
12648Files: src/os_win32.c
12649
12650Patch 8.2.2077
12651Problem: Build failure with small features.
12652Solution: Add #ifdef.
12653Files: src/structs.h, src/ex_docmd.c
12654
12655Patch 8.2.2078
12656Problem: Illegal memory access when using :print on invalid text. (Dhiraj
12657 Mishra)
12658Solution: Check for more composing characters than supported. (closes #7399)
12659Files: src/message.c, src/testdir/test_utf8.vim
12660
12661Patch 8.2.2079
12662Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
12663Solution: Skip over linebreak.
12664Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12665
12666Patch 8.2.2080
12667Problem: Vim9: no proper error message for using s:var in for loop.
12668Solution: Give a specific error.
12669Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12670
12671Patch 8.2.2081
12672Problem: Vim9: cannot handle a linebreak after "=" in assignment.
12673Solution: Skip over linebreak. (closes #7407)
12674Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
12675 src/testdir/test_vim9_expr.vim
12676
12677Patch 8.2.2082
12678Problem: Vim9: can still use the depricated #{} dict syntax.
12679Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
12680Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
12681 src/testdir/test_vim9_assign.vim,
12682 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
12683 src/testdir/test_vim9_disassemble.vim,
12684 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
12685 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
12686 src/testdir/test_textprop.vim
12687
12688Patch 8.2.2083
12689Problem: Vim9: crash when using ":silent!" and getting member fails.
12690Solution: Jump to on_fatal_error. (closes #7412)
12691Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12692
12693Patch 8.2.2084
12694Problem: CTRL-V U doesn't work to enter a Unicode character when
12695 modifyOtherKeys is effective. (Ken Takata)
12696Solution: Add a flag to get_literal() for the shift key. (closes #7413)
12697Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
12698 src/normal.c, src/testdir/test_termcodes.vim
12699
12700Patch 8.2.2085
12701Problem: Qt translation file is recognized as typescript.
12702Solution: Check the first line for "<?xml". (closes #7418)
12703Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12704
12705Patch 8.2.2086
12706Problem: Libvterm tests are only run on Linux.
12707Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
12708Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
12709 src/libvterm/t/run-test.pl
12710
12711Patch 8.2.2087
12712Problem: Vim9: memory leak when statement is truncated.
12713Solution: Increment the number of local variables.
12714Files: src/vim9compile.c
12715
12716Patch 8.2.2088
12717Problem: Vim9: script test sometimes fails.
12718Solution: Unlet variables.
12719Files: src/testdir/test_vim9_script.vim
12720
12721Patch 8.2.2089
12722Problem: Libvterm test fails to build on Mac.
12723Solution: Adjust configure to remove a space between -L and the path that
12724 follows.
12725Files: src/configure.ac, src/auto/configure
12726
12727Patch 8.2.2090
12728Problem: Vim9: dict does not accept a key in quotes.
12729Solution: Recognize a key in single or double quotes.
12730Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
12731 src/vim9compile.c, src/testdir/test_vim9_expr.vim
12732
12733Patch 8.2.2091
12734Problem: MS-Windows: build warnings.
12735Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
12736 Avoid using a non-ASCII character. (closes #7421)
12737Files: src/message.c, src/os_win32.c
12738
12739Patch 8.2.2092
12740Problem: Vim9: unpredictable errors for script tests.
12741Solution: Use a different script file name for each run.
12742Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
12743 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
12744 src/testdir/test_vim9_assign.vim
12745
12746Patch 8.2.2093
12747Problem: Vim9: script test sometimes fails.
12748Solution: Do not find a script variable by its typval if the name was
12749 cleared.
12750Files: src/vim9script.c
12751
12752Patch 8.2.2094
12753Problem: When an expression fails getting the next command may be wrong.
12754Solution: Do not check for a next command after :eval fails. (closes #7415)
12755Files: src/eval.c, src/testdir/test_vim9_cmd.vim
12756
12757Patch 8.2.2095
12758Problem: Vim9: crash when failed dict member is followed by concatenation.
12759Solution: Remove the dict from the stack. (closes #7416)
12760Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12761
12762Patch 8.2.2096
12763Problem: Vim9: command modifiers not restored after assignment.
12764Solution: Jump to nextline instead of using continue.
12765Files: src/vim9compile.c, src/vim9execute.c,
12766 src/testdir/test_vim9_func.vim
12767
12768Patch 8.2.2097
12769Problem: Vim9: using :silent! when calling a function prevents abortng that
12770 function.
12771Solution: Add emsg_silent_def and did_emsg_def.
12772Files: src/globals.h, src/message.c, src/vim9execute.c,
12773 src/testdir/test_vim9_func.vim
12774
12775Patch 8.2.2098
12776Problem: Vim9: function argument of sort() and map() not tested.
12777Solution: Add a couple of tests.
12778Files: src/testdir/test_vim9_builtin.vim
12779
12780Patch 8.2.2099
12781Problem: Vim9: some checks are not tested.
12782Solution: Add a few more tests. Give better error messages.
12783Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
12784 src/testdir/test_vim9_expr.vim
12785
12786Patch 8.2.2100
12787Problem: Insufficient testing for function range and dict.
12788Solution: Add a few tests. (Dominique Pellé, closes #7428)
12789Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
12790 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
12791
12792Patch 8.2.2101
12793Problem: Vim9: memory leak when literal dict has an error and when an
12794 expression is not complete.
12795Solution: Clear the typval and the growarray.
12796Files: src/dict.c, src/vim9compile.c
12797
12798Patch 8.2.2102
12799Problem: Vim9: not all error messages tested.
12800Solution: Add a few test cases.
12801Files: src/testdir/test_vim9_func.vim
12802
12803Patch 8.2.2103
12804Problem: Vim9: unreachable code.
12805Solution: Remove the code to prepend s: to the variable name
12806Files: src/vim9compile.c
12807
12808Patch 8.2.2104
12809Problem: Build problem with Ruby 2.7.
12810Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
12811Files: src/configure.ac, src/auto/configure, src/if_ruby.c
12812
12813Patch 8.2.2105
12814Problem: Sound test is a bit flaky.
12815Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
12816Files: src/testdir/test_sound.vim
12817
12818Patch 8.2.2106
12819Problem: TOML files are not recognized.
12820Solution: Match *.toml. (issue #7432)
12821Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12822
12823Patch 8.2.2107
12824Problem: Vim9: some errors not tested.
12825Solution: Add tests. Fix getting the right error.
12826Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
12827 src/testdir/test_vim9_expr.vim
12828
12829Patch 8.2.2108
12830Problem: Vim9: no test to check for :let error.
12831Solution: Add a test. Rename tests from _let_ to _var_.
12832Files: src/testdir/test_vim9_assign.vim
12833
12834Patch 8.2.2109
12835Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
12836 shell command is executed on startup.
12837Solution: Only change modifyOtherKeys when executing a shell command in raw
12838 mode.
12839Files: src/os_unix.c
12840
12841Patch 8.2.2110
12842Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
12843Solution: Revert patch 8.2.1833.
12844Files: src/main.c
12845
12846Patch 8.2.2111
12847Problem: GTK: Menu background is the same color as the main window.
12848Solution: Fix white space around the test in another way. (closes #7437,
12849 closes #7427)
12850Files: src/gui_gtk_x11.c
12851
12852Patch 8.2.2112
12853Problem: Running tests may leave some files behind.
12854Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
12855 closes #7436
12856Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
12857 src/testdir/test_mksession.vim
12858
12859Patch 8.2.2113
12860Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
12861Solution: Check for NULL pointer. (Ken Takata, closes #7434)
12862Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
12863
12864Patch 8.2.2114
12865Problem: Vim9: unreachable code in assignment.
12866Solution: Remove impossible condition and code.
12867Files: src/vim9compile.c
12868
12869Patch 8.2.2115
12870Problem: Vim9: some errors not tested for; dead code.
12871Solution: Add a test. Remove dead code.
12872Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12873
12874Patch 8.2.2116
12875Problem: MS-Windows GUI: test for 'guifont' is incomplete.
12876Solution: Set 'renderoptions'. (Christian Brabandt)
12877Files: src/testdir/test_gui.vim
12878
12879Patch 8.2.2117
12880Problem: Some functions use any value as a string.
12881Solution: Check that the value is a non-empty string.
12882Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
12883 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
12884
12885Patch 8.2.2118
12886Problem: Dead code in the job support. (Dominique Pellé)
12887Solution: Define USE_ARGV before checking for it.
12888Files: src/job.c
12889
12890Patch 8.2.2119
12891Problem: GTK3: status line background color is wrong.
12892Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
12893Files: src/gui_gtk_x11.c
12894
12895Patch 8.2.2120
12896Problem: Not all Perl functionality is tested.
12897Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
12898Files: src/testdir/test_perl.vim
12899
12900Patch 8.2.2121
12901Problem: Internal error when using \ze before \zs in a pattern.
12902Solution: Check the end is never before the start. (closes #7442)
12903Files: src/regexp_bt.c, src/regexp_nfa.c,
12904 src/testdir/test_regexp_latin.vim
12905
12906Patch 8.2.2122
12907Problem: Vim9: crash when sourcing vim9script early.
12908Solution: Use set_option_value() instead of setting p_cpo directly.
12909 (closes #7441)
12910Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
12911
12912Patch 8.2.2123
12913Problem: After using a complete popup the buffer is listed. (Boris
12914 Staletic)
12915Solution: Make the buffer unlisted.
12916Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12917
12918Patch 8.2.2124
12919Problem: Vim9: a range cannot be computed at runtime.
12920Solution: Add the ISN_RANGE instruction.
12921Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12922 src/testdir/test_vim9_script.vim,
12923 src/testdir/test_vim9_disassemble.vim
12924
12925Patch 8.2.2125 (after 8.2.2122)
12926Problem: Vim9: leaking memory.
12927Solution: Free the saved 'cpo' value.
12928Files: src/scriptfile.c
12929
12930Patch 8.2.2126
12931Problem: Ruby: missing function prototype.
12932Solution: Add the prototype.
12933Files: src/if_ruby.c
12934
12935Patch 8.2.2127
12936Problem: Vim9: executing user command defined in Vim9 script not tested.
12937Solution: Add a test.
12938Files: src/testdir/test_vim9_script.vim
12939
12940Patch 8.2.2128
12941Problem: There is no way to do something on CTRL-Z.
12942Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
12943Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
12944 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
12945
12946Patch 8.2.2129
12947Problem: MS-Windows: Checking if a file name is absolute is slow.
12948Solution: Do not use mch_FullName(). (closes #7033)
12949Files: src/os_mswin.c
12950
12951Patch 8.2.2130
12952Problem: Insert mode completion messages end up in message history.
12953Solution: Set msg_hist_off. (closes #7452
12954Files: src/insexpand.c, src/testdir/test_ins_complete.vim
12955
12956Patch 8.2.2131
12957Problem: Vim9: crash when lambda uses same var as assignment.
12958Solution: Do not let lookup_local change lv_from_outer, make a copy.
12959 (closes #7461)
12960Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
12961 src/evalvars.c, src/proto/evalvars.pro,
12962 src/testdir/test_vim9_func.vim
12963
12964Patch 8.2.2132
12965Problem: Padding not drawn properly for popup window with title.
12966Solution: Draw the padding below the title. (closes #7460)
12967Files: src/popupwin.c, src/testdir/test_popupwin.vim,
12968 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
12969 src/testdir/dumps/Test_popupwin_longtitle_4.dump
12970
12971Patch 8.2.2133
12972Problem: Vim9: checking for a non-empty string is too strict.
12973Solution: Check for any string. (closes #7447)
12974Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
12975 src/testdir/test_vim9_builtin.vim
12976
12977Patch 8.2.2134
12978Problem: Vim9: get E1099 when autocmd triggered in builtin function.
12979Solution: Check that did_emsg increased instead of checking that it changed.
12980 (closes #7448)
12981Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12982
12983Patch 8.2.2135
12984Problem: Vim9: #{ still seen as start of dict in some places.
12985Solution: Remove check for { after #. (closes #7456)
12986Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
12987
12988Patch 8.2.2136
12989Problem: Vim9: Using uninitialized variable.
12990Solution: Initialize "len" to zero. Clean up fnamemodify().
12991Files: src/filepath.c
12992
12993Patch 8.2.2137
12994Problem: Vim9: :echo and :execute give error for empty argument.
12995Solution: Ignore an empty argument. (closes #7468)
12996Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
12997 src/testdir/test_vim9_disassemble.vim
12998
12999Patch 8.2.2138
13000Problem: Vim9: "exit_cb" causes Vim to exit.
13001Solution: Require white space after a command in Vim9 script. (closes #7467)
13002 Also fix that Vim9 style heredoc was not always recognized.
13003Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13004 src/testdir/test_vim9_assign.vim,
13005 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13006
13007Patch 8.2.2139
13008Problem: Vim9: unreachable code in assignment.
13009Solution: Don't check "new_local" when "has_index" is set. Add test for
13010 wrong type of list index.
13011Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13012
13013Patch 8.2.2140
13014Problem: Build failure with tiny features.
13015Solution: Add #ifdef.
13016Files: src/ex_docmd.c
13017
13018Patch 8.2.2141
13019Problem: A user command with try/catch may not catch an expression error.
13020Solution: When an expression fails check for following "|". (closes #7469)
13021Files: src/eval.c, src/testdir/test_trycatch.vim,
13022 src/testdir/test_vimscript.vim
13023
13024Patch 8.2.2142
13025Problem: Memory leak when heredoc is not terminated.
13026Solution: Free heredoc_trimmed.
13027Files: src/userfunc.c
13028
13029Patch 8.2.2143
13030Problem: Vim9: dead code in compiling :unlet.
13031Solution: Don't check for "!" a second time.
13032Files: src/vim9compile.c
13033
13034Patch 8.2.2144
13035Problem: Vim9: some corner cases not tested.
13036Solution: Add a few tests.
13037Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13038
13039Patch 8.2.2145
13040Problem: Vim9: concatenating lists does not adjust type of result.
13041Solution: When list member types differ use "any" member type.
13042 (closes #7473)
13043Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13044
13045Patch 8.2.2146
13046Problem: Vim9: automatic conversion of number to string for dict key.
13047Solution: Do not convert number to string. (closes #7474)
13048Files: src/dict.c, src/testdir/test_vim9_expr.vim
13049
13050Patch 8.2.2147
13051Problem: Quickfix window title not updated in all tab pages.
13052Solution: Update the quickfix window title in all tab pages. (Yegappan
13053 Lakshmanan, closes #7481, closes #7466)
13054Files: src/quickfix.c, src/testdir/test_quickfix.vim
13055
13056Patch 8.2.2148
13057Problem: Vim9: crash when user command doesn't match.
13058Solution: Adjust command index. (closes #7479)
13059Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13060
13061Patch 8.2.2149
13062Problem: Popupwin test for latin1 sometimes fails.
13063Solution: Wait for the script to finish.
13064Files: src/testdir/test_popupwin.vim
13065
13066Patch 8.2.2150
13067Problem: Github actions CI isn't used for all available platforms.
13068Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13069Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13070 .github/workflows/ci.yml, .travis.yml, README.md,
13071 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13072
13073Patch 8.2.2151
13074Problem: $dir not expanded when configure checks for moonjit.
13075Solution: Use double quotes instead of single quotes. (closes #7478)
13076Files: src/configure.ac, src/auto/configure
13077
13078Patch 8.2.2152
13079Problem: screenpos() does not include the WinBar offset.
13080Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13081Files: src/move.c, src/testdir/test_cursor_func.vim
13082
13083Patch 8.2.2153
13084Problem: Popupwin test for latin1 still fails sometimes.
13085Solution: Wait for the "cat" command to finish.
13086Files: src/testdir/test_popupwin.vim
13087
13088Patch 8.2.2154
13089Problem: Popupwin test for terminal buffer fails sometimes.
13090Solution: Wait for the prompt to appear.
13091Files: src/testdir/test_popupwin.vim
13092
13093Patch 8.2.2155
13094Problem: Warning from Github actions for code analysis.
13095Solution: Remove the "git checkout HEAD^2" block.
13096Files: .github/workflows/codeql-analysis.yml
13097
13098Patch 8.2.2156
13099Problem: Github actions run on pusing a tag.
13100Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13101 (Ozaki Kiichi, closes #7489)
13102Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13103
13104Patch 8.2.2157
13105Problem: Vim9: can delete a Vim9 script variable from a function.
13106Solution: Check the variable is defined in Vim9 script. (closes #7483)
13107Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13108
13109Patch 8.2.2158
13110Problem: CI on cirrus times out, coveralls doesn't always run.
13111Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13112Files: .cirrus.yml, .github/workflows/ci.yml
13113
13114Patch 8.2.2159
13115Problem: Vim9: when declaring a list it is not allocated yet, causing a
13116 following extend() to fail.
13117Solution: When fetching a variable value for a list or dict that is null
13118 allocate the list or dict, so it can be used. (closes #7491)
13119Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13120
13121Patch 8.2.2160
13122Problem: Various typos.
13123Solution: Fix spelling mistakes. (closes #7494)
13124Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13125 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13126 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13127 src/list.c, src/map.c, src/memline.c, src/normal.c,
13128 src/os_win32.c, src/search.c, src/term.c,
13129 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13130 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13131 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13132 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13133 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13134 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13135 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13136 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13137 src/vim9execute.c
13138
13139Patch 8.2.2161
13140Problem: Arguments -T and -x not tested yet.
13141Solution: Add a test. (Dominique Pellé, closes #7490
13142Files: src/testdir/test_startup.vim
13143
13144Patch 8.2.2162
13145Problem: Vim9: Cannot load or store autoload variables.
13146Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13147Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13148 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13149 src/testdir/test_vim9_disassemble.vim,
13150 src/testdir/test_vim9_script.vim
13151
13152Patch 8.2.2163
13153Problem: Crash when discarded exception is the current exception.
13154Solution: Compare the execption with current_exception. (closes #7499)
13155Files: src/ex_eval.c
13156
13157Patch 8.2.2164
13158Problem: Vim9: autoload function doesn't work in script that starts with
13159 an upper case letter.
13160Solution: Check for the autoload character. (closes #7502)
13161Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13162
13163Patch 8.2.2165
13164Problem: Vim9: assignment to dict member does not work.
13165Solution: Fix recognizing dict member. (closes #7484)
13166Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13167
13168Patch 8.2.2166
13169Problem: Auto format doesn't work when deleting text.
13170Solution: Make "x" trigger auto format. (closes #7504)
13171Files: src/ops.c, src/testdir/test_textformat.vim
13172
13173Patch 8.2.2167
13174Problem: Vim9: assign test fails. (Elimar Riesebieter)
13175Solution: Adjust the test for dict assignment.
13176Files: src/testdir/test_vim9_assign.vim
13177
13178Patch 8.2.2168
13179Problem: Vim9: error for assigning to dict of dict.
13180Solution: Remember the destination type. (closes #7506)
13181Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13182
13183Patch 8.2.2169
13184Problem: Vim9: test leaves file behind.
13185Solution: Rename script files. (Dominique Pellé, closes #7511)
13186 Use try/finally.
13187Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13188
13189Patch 8.2.2170
13190Problem: Vim9: a global function defined in a :def function fails if it
13191 uses the context.
13192Solution: Create a partial to store the closure context. (see #7410)
13193Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13194 src/structs.h, src/testdir/test_vim9_func.vim
13195
13196Patch 8.2.2171
13197Problem: Valgrind warning for using uninitialized value.
13198Solution: Do not use "startp" or "endp" unless there is a match.
13199Files: src/regexp_nfa.c
13200
13201Patch 8.2.2172
13202Problem: Vim9: number of arguments is not always checked. (Yegappan
13203 Lakshmanan)
13204Solution: Check number of arguments when calling function by name.
13205Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13206 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13207
13208Patch 8.2.2173
13209Problem: Vim9: get internal error when assigning to undefined variable.
13210Solution: Add error message. (closes #7475)
13211Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13212 src/testdir/test_vim9_cmd.vim
13213
13214Patch 8.2.2174
13215Problem: Mac version doesn't specify the CPU architecture.
13216Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13217Files: src/version.c
13218
13219Patch 8.2.2175
13220Problem: Github actions: clang-11 handling suboptimal.
13221Solution: Separate step of installing clang-11. Get ubuntu release name
13222 dynamically. (Ozaki Kiichi, closes #7514)
13223Files: .github/workflows/ci.yml
13224
13225Patch 8.2.2176
13226Problem: Crash with a sequence of fold commands.
13227Solution: Bail out when there are no folds at all. Add a test (Dominique
13228 Pellé) (closes #7515)
13229Files: src/fold.c, src/testdir/test_fold.vim
13230
13231Patch 8.2.2177
13232Problem: Pattern "^" does not match if the first character in the line is
13233 combining. (Rene Kita)
13234Solution: Do accept a match at the start of the line. (closes #6963)
13235Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13236
13237Patch 8.2.2178
13238Problem: Python 3: non-utf8 character cannot be handled.
13239Solution: Change the string decode. (Björn Linse, closes #1053)
13240Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13241 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13242
13243Patch 8.2.2179
13244Problem: Vim9: crash when indexing a dict with a number.
13245Solution: Add ISN_STOREINDEX. (closes #7513)
13246Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13247 src/errors.h, src/testdir/test_vim9_assign.vim,
13248 src/testdir/test_vim9_disassemble.vim
13249
13250Patch 8.2.2180
13251Problem: Vim9: test for error after error is flaky.
13252Solution: Wait for job to finish instead of a fixed delay.
13253Files: src/testdir/test_vim9_script.vim
13254
13255Patch 8.2.2181
13256Problem: Valgrind warnings for using uninitialized value.
13257Solution: Do not use "start" or "end" unless there is a match.
13258Files: src/regexp_nfa.c, src/regexp_bt.c
13259
13260Patch 8.2.2182
13261Problem: Vim9: value of 'magic' is still relevant.
13262Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13263Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13264 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13265 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13266 src/structs.h, src/globals.h, src/ex_cmds.h,
13267 src/testdir/test_vim9_cmd.vim
13268
13269Patch 8.2.2183
13270Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13271Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13272Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13273
13274Patch 8.2.2184
13275Problem: Vim9: no error when using "2" for a line number.
13276Solution: Give an error message if the line number is invalid. (closes #7492)
13277Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13278 src/testdir/test_cursor_func.vim
13279
13280Patch 8.2.2185
13281Problem: BufUnload is not triggered for the quickfix dummy buffer.
13282Solution: Do trigger BufUnload. (Pontus Leitzler,closes #7518, closes #7517)
13283 Fix white space around "=".
13284Files: src/quickfix.c, src/testdir/test_autocmd.vim
13285
13286Patch 8.2.2186
13287Problem: Vim9: error when using 'opfunc'.
13288Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13289Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13290 src/testdir/test_vim9_func.vim
13291
13292Patch 8.2.2187
13293Problem: Python 3 test fails sometimes. (Christian Brabandt)
13294Solution: Accept two SystemError messages.
13295Files: src/testdir/test_python3.vim
13296
13297Patch 8.2.2188
13298Problem: Vim9: crash when calling global function from :def function.
13299Solution: Set the outer context. Define the partial for the context on the
13300 original function. Use a refcount to keep track of which ufunc is
13301 using a dfunc. (closes #7525)
13302Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13303 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13304 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13305
13306Patch 8.2.2189
13307Problem: Cannot repeat a command that uses the small delete register.
13308Solution: Store the register name instead of the contents. (Christian
13309 Brabandt, closes #7527)
13310Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13311
13312Patch 8.2.2190
13313Problem: Vim9: crash when compiled with EXITFREE.
13314Solution: Check that df_ufunc is not NULL.
13315Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13316
13317Patch 8.2.2191
13318Problem: Vim9: using wrong name with lambda in nested function.
13319Solution: Copy the lambda name earlier. (closes #7525)
13320Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13321
13322Patch 8.2.2192
13323Problem: Codecov on github actions fails.
13324Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13325Files: Filelist, .github/workflows/ci.yml
13326
13327Patch 8.2.2193
13328Problem: Vim9: can change constant in :def function.
13329Solution: Check if a variable is locked. (issue #7526)
13330Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13331 src/testdir/test_vim9_func.vim
13332
13333Patch 8.2.2194
13334Problem: Vim9: cannot use :const or :final at the script level.
13335Solution: Support using :const and :final. (closes #7526)
13336Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13337 src/testdir/test_vim9_func.vim
13338
13339Patch 8.2.2195
13340Problem: Failing tests for :const.
13341Solution: Add missing check for ASSIGN_FINAL.
13342Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13343
13344Patch 8.2.2196
13345Problem: :version output has extra spaces in compile and link command.
13346Solution: Adjust QUOTESED. (closes #7505)
13347Files: src/configure.ac, src/auto/configure
13348
13349Patch 8.2.2197
13350Problem: Assert arguments order reversed.
13351Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13352Files: src/testdir/test_registers.vim
13353
13354Patch 8.2.2198
13355Problem: ml_get error when resizing window and using text property.
13356Solution: Validate botline of the right window. (closes #7528)
13357Files: src/move.c, src/proto/move.pro, src/textprop.c,
13358 src/testdir/test_textprop.vim
13359
13360Patch 8.2.2199
13361Problem: First write after setting 'eol' does not have NL added. (Tomáš
13362 Janoušek)
13363Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13364Files: src/bufwrite.c, src/testdir/test_writefile.vim
13365
13366Patch 8.2.2200
13367Problem: Vim9: lambda without white space around -> is confusing.
13368Solution: Require white space in a :def funtion. (issue #7503)
13369Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13370 src/testdir/test_vim9_disassemble.vim
13371
13372Patch 8.2.2201
13373Problem: Write file test fails on MS-Windows.
13374Solution: Force edit after setting 'fileformat'.
13375Files: src/testdir/test_writefile.vim
13376
13377Patch 8.2.2202
13378Problem: Write file test still fails on MS-Windows.
13379Solution: Set fileformat with the :edit command
13380Files: src/testdir/test_writefile.vim
13381
13382Patch 8.2.2203
13383Problem: Moodle gift files are not recognized.
13384Solution: Add a filetype pattern. (Delim Temizer)
13385Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13386
13387Patch 8.2.2204
13388Problem: Vim9: using -> both for method and lambda is confusing.
13389Solution: Use => for lambda in :def function.
13390Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13391 src/testdir/test_vim9_expr.vim
13392
13393Patch 8.2.2205
13394Problem: Vim9: memory leak when parsing lambda fails.
13395Solution: Clear growarrays.
13396Files: src/userfunc.c
13397
13398Patch 8.2.2206
13399Problem: :exe command line completion only works for first argument.
13400Solution: Skip over text if more is following. (closes #7546)
13401Files: src/eval.c, src/testdir/test_cmdline.vim
13402
13403Patch 8.2.2207
13404Problem: Illegal memory access if popup menu items are changed while the
13405 menu is visible. (Tomáš Janoušek)
13406Solution: Make a copy of the text. (closes #7537)
13407Files: src/popupmenu.c, src/testdir/test_popup.vim,
13408 src/testdir/dumps/Test_popup_command_04.dump,
13409 src/testdir/dumps/Test_popup_command_05.dump
13410
13411Patch 8.2.2208
13412Problem: Vim9: after reloading a script variable index may be invalid.
13413Solution: When the sequence number doesn't match give an error for using a
13414 script-local variable from a compiled function. (closes #7547)
13415Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13416 src/vim9execute.c, src/scriptfile.c,
13417 src/testdir/test_vim9_script.vim
13418
13419Patch 8.2.2209
13420Problem: Vim9: return type of => lambda not parsed.
13421Solution: Parse and use the return type.
13422Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
13423 src/proto/vim9type.pro, src/vim9script.c, src/eval.c
13424 src/testdir/test_vim9_expr.vim
13425
13426Patch 8.2.2210
13427Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13428Solution: Add t_number_bool.
13429Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13430
13431Patch 8.2.2211
13432Problem: MS-Windows: can't load Python dll if not in the path.
13433Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13434Files: src/if_python3.c
13435
13436Patch 8.2.2212
13437Problem: Vim9: lambda with => does not work at the script level.
13438Solution: Make it work.
13439Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13440 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13441
13442Patch 8.2.2213
13443Problem: Checking white space around -> is not backwards compatible.
13444Solution: Only check white space around =>.
13445Files: src/userfunc.c
13446
13447Patch 8.2.2214
13448Problem: ":e#" does not give a warning for missing white space.
13449Solution: Adjust the check for white space. (closes #7545)
13450Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13451
13452Patch 8.2.2215
13453Problem: Vim9: `=expr` not recognized in global command.
13454Solution: Skip over pattern. (issue #7541)
13455Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13456
13457Patch 8.2.2216
13458Problem: Vim9: range with missing colon can be hard to spot.
13459Solution: Include the start of the range in the error. (closes #7543)
13460Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13461 src/testdir/test_vim9_cmd.vim
13462
13463Patch 8.2.2217
13464Problem: Vim9: command modifiers not restored in catch block.
13465Solution: Restore command modifiers. (closes #7542)
13466Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13467
13468Patch 8.2.2218
13469Problem: Vim9: failure if passing more arguments to a lambda than expected.
13470Solution: Only put expected arguments on the stack. (closes #7548)
13471Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13472
13473Patch 8.2.2219
13474Problem: Vim9: method call with expression not supported.
13475Solution: Implement expr->(expr)().
13476Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13477
13478Patch 8.2.2220
13479Problem: Vim9: memory leak when parsing nested parenthesis.
13480Solution: Clear newargs.
13481Files: src/userfunc.c
13482
13483Patch 8.2.2221
13484Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13485Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13486Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13487
13488Patch 8.2.2222
13489Problem: Vim9: cannot keep script variables when reloading.
13490Solution: Add the "noclear" argument to :vim9script.
13491Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13492 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13493 src/testdir/test_vim9_script.vim
13494
13495Patch 8.2.2223
13496Problem: Vim9: Reloading marks a :def function as deleted.
13497Solution: Clear the function contents but keep the index.
13498Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13499 src/testdir/test_vim9_script.vim
13500
13501Patch 8.2.2224
13502Problem: Vim9: crash if script reloaded with different variable type.
13503Solution: Check the type when accessing the variable.
13504Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13505 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13506 src/vim9script.c, src/proto/vim9script.pro,
13507 src/testdir/test_vim9_script.vim
13508
13509Patch 8.2.2225
13510Problem: Vim9: error when using :import in legacy script twice.
13511Solution: Make it possible to redefine an import when reloading.
13512Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13513 src/evalvars.c, src/vim9compile.c,
13514 src/testdir/test_vim9_script.vim
13515
13516Patch 8.2.2226
13517Problem: Vim9: script test fails.
13518Solution: Add missing change.
13519Files: src/scriptfile.c
13520
13521Patch 8.2.2227
13522Problem: Vim9: recognizing lambda is too complicated.
13523Solution: Call compile_lambda() and check for NOTDONE.
13524Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13525
13526Patch 8.2.2228
13527Problem: Vim9: cannot use ":e #" because # starts a comment.
13528Solution: Support using %% instead of #.
13529Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13530
13531Patch 8.2.2229
13532Problem: build failure without the +eval feature.
13533Solution: Add #ifdef.
13534Files: src/ex_docmd.c
13535
13536Patch 8.2.2230
13537Problem: Vim9: insert completion runs into error.
13538Solution: Insert colon before range. (closes #7556)
13539Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13540
13541Patch 8.2.2231
13542Problem: When "--remote file" is used "file" is not reloaded.
13543Solution: When a :drop command is used for a file that is already displayed
13544 in a window and it has not been changed, check if it needs to be
13545 reloaded. (closes #7560)
13546Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13547
13548Patch 8.2.2232
13549Problem: Compiler error for falling through into next case.
13550Solution: Move FALLTHROUGH below the #endif
13551Files: src/ex_docmd.c
13552
13553Patch 8.2.2233
13554Problem: Cannot convert a byte index into a character index.
13555Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13556Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13557 src/testdir/test_functions.vim
13558
13559Patch 8.2.2234
13560Problem: Command line wildmenu test often fails with Unix GUI.
13561Solution: Skip the test where it is expected to fail.
13562Files: src/testdir/test_cmdline.vim
13563
13564Patch 8.2.2235
13565Problem: Build failure with some Ruby versions.
13566Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13567Files: ci/config.mk.clang.sed, src/if_ruby.c
13568
13569Patch 8.2.2236
13570Problem: 'scroll' option can change when setting the statusline or tabline
13571 but the option context is not updated.
13572Solution: Update the script context when the scroll option is changed as a
13573 side effect. (Christian Brabandt, closes #7533)
13574Files: runtime/doc/options.txt, src/scriptfile.c,
13575 src/testdir/test_options.vim, src/vim.h, src/window.c
13576
13577Patch 8.2.2237
13578Problem: CI on Mac fails in sed command.
13579Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
13580Files: .github/workflows/ci.yml
13581
13582Patch 8.2.2238
13583Problem: Vim9: cannot load a Vim9 script without the +eval feature.
13584Solution: Support Vim9 script syntax without the +eval feature.
13585Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
13586 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
13587 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
13588
13589Patch 8.2.2239
13590Problem: Vim9: concatenating lines with backslash is inconvenient.
13591Solution: Support concatenating lines starting with '|', useful for
13592 :autocmd, :command, etc. (closes #6702)
13593Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
13594 src/proto/vim9script.pro, src/vim9compile.c,
13595 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
13596 src/testdir/test_vim9_cmd.vim
13597
13598Patch 8.2.2240
13599Problem: Clientserver test fails if full path is used.
13600Solution: Ignore the path preceding the file name.
13601Files: src/testdir/test_clientserver.vim
13602
13603Patch 8.2.2241
13604Problem: Build with Ruby and clang may fail.
13605Solution: Adjust congigure and sed script. (Ozaki Kiichi, closes #7566)
13606Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
13607
13608Patch 8.2.2242
13609Problem: Vim9: line continuation with bar does not work at script level.
13610Solution: Check for Vim9 script.
13611Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
13612 src/testdir/test_vim9_cmd.vim
13613
13614Patch 8.2.2243
13615Problem: Crash when popup mask contains zeroes.
13616Solution: Check boundaries properly. (closes #7569)
13617Files: src/popupwin.c, src/testdir/test_popupwin.vim
13618
13619Patch 8.2.2244
13620Problem: Crash when making the window width of the not-current window
13621 negative.
13622Solution: Make sure the window width is not negative. (closes #7568)
13623Files: src/window.c, src/testdir/test_window_cmd.vim
13624
13625Patch 8.2.2245
13626Problem: Vim9: return value of winrestcmd() cannot be executed.
13627Solution: Put colons before each range. (closes #7571)
13628Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
13629
13630Patch 8.2.2246
13631Problem: Cursor keys not recognized at the hit-Enter prompt after executing
13632 an external command.
13633Solution: Change the codes for the extra cursor keys. (closes #7562)
13634 Tune the delays to avoid test flakyness.
13635Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
13636
13637Patch 8.2.2247
13638Problem: VMS: various smaller problems.
13639Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
13640Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
13641 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
13642
13643Patch 8.2.2248
13644Problem: ASAN error on exit with GUI.
13645Solution: Check the window still has lines. (Christian Brabandt,
13646 closes #7573)
13647Files: src/term.c
13648
13649Patch 8.2.2249
13650Problem: Termcodes test is flaky when used over ssh with X forwarding.
13651Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
13652 closes #7563)
13653Files: src/testdir/test_termcodes.vim
13654
13655Patch 8.2.2250
13656Problem: Vim9: sublist is ambiguous.
13657Solution: Require white space around the colon. (closes #7409)
13658Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
13659 src/testdir/test_vim9_disassemble.vim
13660
13661Patch 8.2.2251
13662Problem: Test failures in legacy script.
13663Solution: Check for Vim9 script.
13664Files: src/eval.c
13665
13666Patch 8.2.2252
13667Problem: Vim9: crash when using lambda without return type in dict.
13668Solution: Without a return type use t_unknown. (closes #7587)
13669Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
13670
13671Patch 8.2.2253
13672Problem: Vim9: expr test fails.
13673Solution: Add missing assignment.
13674Files: src/userfunc.c
13675
13676Patch 8.2.2254
13677Problem: Vim9: bool option type is number.
13678Solution: Have get_option_value() return a different value for bool and
13679 number options. (closes #7583)
13680Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
13681 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
13682 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13683 src/testdir/test_vim9_cmd.vim
13684
13685Patch 8.2.2255 (after 8.2.2254)
13686Problem: Tcl test fails.
13687Solution: Change option handling.
13688Files: src/if_tcl.c
13689
13690Patch 8.2.2256
13691Problem: Vim9: cannot use function( after line break in :def function.
13692Solution: Check for "(" after "function". (closes #7581)
13693Files: src/userfunc.c, src/testdir/test_vim9_func.vim
13694
13695Patch 8.2.2257
13696Problem: Vim9: using -> for lambda is ambiguous.
13697Solution: Stop supporting ->, must use =>.
13698Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13699 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13700 src/testdir/test_vim9_disassemble.vim,
13701 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13702 src/testdir/test_vim9_script.vim
13703
13704Patch 8.2.2258
13705Problem: Not all OCaml related files are detected.
13706Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
13707Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13708
13709Patch 8.2.2259
13710Problem: Test_Executable() fails when using chroot.
13711Solution: Ignore the difference between "sbin" and "bin".
13712Files: src/testdir/test_functions.vim
13713
13714Patch 8.2.2260
13715Problem: Window resize test fails in very wide terminal.
13716Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
13717Files: src/testdir/test_window_cmd.vim
13718
13719Patch 8.2.2261
13720Problem: Vim9: boolean option gets string type.
13721Solution: Check for VAR_BOOL. (closes #7588)
13722Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13723
13724Patch 8.2.2262
13725Problem: Vim9: converting bool to string prefixes v:.
13726Solution: Do not use the v: prefix.
13727Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
13728 src/testdir/test_vim9_disassemble.vim
13729
13730Patch 8.2.2263
13731Problem: Vim9: compilation error with try-catch in skipped block.
13732Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
13733Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13734
13735Patch 8.2.2264
13736Problem: Vim9: no error for mismatched :endfunc or :enddef.
13737Solution: Check for the mismatch. (issue #7582)
13738Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
13739
13740Patch 8.2.2265
13741Problem: Error message for missing endfunc/enddef is last line.
13742Solution: Report the line where the function starts. (closes #7582)
13743Files: src/userfunc.c, src/testdir/test_vim9_func.vim
13744
13745Patch 8.2.2266
13746Problem: Vim9: it can be hard to see where white space is missing.
13747Solution: Mention the text where the error was seen. (closes #7580)
13748Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
13749 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13750
13751Patch 8.2.2267
13752Problem: Vim9: cannot use unlet for a dict member.
13753Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
13754Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13755
13756Patch 8.2.2268
13757Problem: Vim9: list unpack seen as declaration.
13758Solution: Check for "var". (closes #7594)
13759Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
13760 src/vim9execute.c, src/testdir/test_vim9_assign.vim
13761
13762Patch 8.2.2269
13763Problem: Not all :hardcopy code covered by tests.
13764Solution: Test more combinations. (Dominique Pellé, closes #7595)
13765Files: src/testdir/test_hardcopy.vim
13766
13767Patch 8.2.2270
13768Problem: Warning for size_t to int conversion. (Randall W. Morris)
13769Solution: Add a type cast.
13770Files: src/vim9execute.c
13771
13772Patch 8.2.2271
13773Problem: ml_get error when changing hidden buffer in Python.
13774Solution: Block updating folds. (closes #7598)
13775Files: src/evalbuffer.c, src/testdir/test_python3.vim
13776
13777Patch 8.2.2272
13778Problem: Vim9: extend() can violate the type of a variable.
13779Solution: Add the type to the dictionary or list and check items against it.
13780 (closes #7593)
13781Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
13782 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
13783 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
13784 src/testdir/test_vim9_disassemble.vim
13785
13786Patch 8.2.2273
13787Problem: Build failure.
13788Solution: Add missing changes to header file.
13789Files: src/vim9.h
13790
13791Patch 8.2.2274
13792Problem: badge for Travis is outdated.
13793Solution: Update badge for move from travis-ci.org to travis-ci.com.
13794Files: README.md
13795
13796Patch 8.2.2275
13797Problem: CTRL-C not recognized in Mintty.
13798Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
13799 Brabandt, closes #7575)
13800Files: src/ui.c
13801
13802Patch 8.2.2276
13803Problem: List of distributed files is outdated.
13804Solution: Update the file list. Minor comment updates.
13805Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
13806 src/screen.c, src/testdir/test_signals.vim,
13807 src/testdir/Make_vms.mms
13808
13809Patch 8.2.2277
13810Problem: Missing backslash.
13811Solution: Add backslash.
13812Files: Filelist
13813
13814Patch 8.2.2278
13815Problem: Falling back to old regexp engine can some patterns.
13816Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
13817 (Christian Brabandt, closes #7572)
13818Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13819
13820Patch 8.2.2279
13821Problem: Vim9: memory leak with catch in skipped block.
13822Solution: Free the pattern if not used.
13823Files: src/vim9compile.c
13824
13825Patch 8.2.2280
13826Problem: Fuzzy matching doesn't give access to the scores.
13827Solution: Return the scores with a third list. (Yegappan Lakshmanan,
13828 closes #7596)
13829Files: runtime/doc/eval.txt, src/search.c,
13830 src/testdir/test_matchfuzzy.vim
13831
13832Patch 8.2.2281
13833Problem: Vim9: compiled "wincmd" cannot be followed by bar.
13834Solution: Check for bar after "wincmd". (closes #7599)
13835Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13836
13837Patch 8.2.2282
13838Problem: Length check mismatch with argument of strncmp(). (Christian
13839 Brabandt)
13840Solution: Adjust length check.
13841Files: src/ui.c
13842
13843Patch 8.2.2283
13844Problem: Vim9: crash when lambda has fewer arguments than expected.
13845Solution: Don't check arguments when already failed. (closes #7606)
13846Files: src/vim9type.c, src/testdir/test_vim9_func.vim
13847
13848Patch 8.2.2284
13849Problem: Vim9: cannot set an option to a boolean value.
13850Solution: Check for VAR_BOOL. (closes #7603)
13851Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
13852
13853Patch 8.2.2285
13854Problem: Vim9: cannot set an option to a false.
13855Solution: For VAR_BOOL use string "0". (closes #7603)
13856Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
13857
13858Patch 8.2.2286
13859Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
13860Solution: Expect a different sort order. (closes #7609)
13861Files: src/testdir/test_sort.vim
13862
13863Patch 8.2.2287
13864Problem: Sort test fails when locale is French Canadian.
13865Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
13866Files: src/testdir/test_sort.vim
13867
13868Patch 8.2.2288
13869Problem: Vim9: line break and comment not always skipped.
13870Solution: Skip over white space and then line break more consistently.
13871 (closes #7610)
13872Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13873
13874Patch 8.2.2289
13875Problem: Vim9: 'cpo' can become empty.
13876Solution: Use empty_option instead of an empty string. Update quickfix
13877 buffer after restoring 'cpo'. (closes #7608)
13878Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
13879 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
13880 src/testdir/test_quickfix.vim
13881
13882Patch 8.2.2290
13883Problem: Vim9: unlet of global variable cannot be compiled.
13884Solution: Skip over variables that might be defined later. Give an error if
13885 a subscript is found. (closes #7585)
13886Files: src/eval.c, src/vim9compile.c, src/vim.h,
13887 src/testdir/test_vim9_assign.vim
13888
13889Patch 8.2.2291
13890Problem: Vim9: cannot use "null" for v:null.
13891Solution: Support "null" like "true" and "false". (closes #7495)
13892Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
13893 src/testdir/test_vim9_expr.vim
13894
13895Patch 8.2.2292
13896Problem: Vim: expr test fails.
13897Solution: Add missing part of "null" support.
13898Files: src/eval.c
13899
13900Patch 8.2.2293
13901Problem: Build failure with Motif. (Tony Mechelynck)
13902Solution: Use empty_option instead of empty_options.
13903Files: src/gui_motif.c
13904
13905Patch 8.2.2294
13906Problem: VMS: a few remaining problems.
13907Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
13908Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
13909 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
13910
13911Patch 8.2.2295
13912Problem: Incsearch does not detect empty pattern properly.
13913Solution: Return magic state when skipping over a pattern. (Christian
13914 Brabandt, closes #7612, closes #6420)
13915Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
13916 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
13917 src/search.c, src/structs.h, src/vim9compile.c,
13918 src/testdir/dumps/Test_incsearch_sub_01.dump,
13919 src/testdir/dumps/Test_incsearch_sub_02.dump,
13920 src/testdir/test_search.vim
13921
13922Patch 8.2.2296
13923Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
13924Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
13925Files: runtime/doc/popup.txt, src/popupwin.c,
13926 src/testdir/test_popupwin.vim
13927
13928Patch 8.2.2297
13929Problem: Vim9: cannot set 'number' to a boolean value.
13930Solution: Use tv_get_bool(). (closes #7615)
13931Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13932
13933Patch 8.2.2298
13934Problem: Vim9: comment right after "(" of function not recognized.
13935Solution: Do not skip over white space before calling get_function_args().
13936 (closes #7613)
13937Files: src/userfunc.c, src/proto/userfunc.pro,
13938 src/testdir/test_vim9_func.vim
13939
13940Patch 8.2.2299
13941Problem: Vim9: invalid memory access making error message flaky.
13942Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
13943Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
13944 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13945
13946Patch 8.2.2300
13947Problem: Vim9: wrong order on type stack when using dict.
13948Solution: Generate constants before a dict. (closes #7619)
13949Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13950
13951Patch 8.2.2301
13952Problem: Vim9: cannot unlet a dict or list item.
13953Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
13954Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
13955 src/testdir/test_vim9_assign.vim
13956
13957Patch 8.2.2302
13958Problem: Vim9: using an option value may use uninitialized memory.
13959Solution: Clear v_lock. (closes #7620)
13960Files: src/typval.c, src/testdir/test_vim9_expr.vim
13961
13962Patch 8.2.2303
13963Problem: Vim9: backtick expansion doesn't work for :foldopen.
13964Solution: Do recognize backtick expansion. (closes #7621)
13965Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13966
13967Patch 8.2.2304
13968Problem: Vim9: no test for unletting an imported variable.
13969Solution: Add a test. Fix line number in error.
13970Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13971
13972Patch 8.2.2305
13973Problem: Vim9: "++var" and "--var" are silently accepted.
13974Solution: Give an error message.
13975Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
13976 src/testdir/test_vim9_expr.vim
13977
13978Patch 8.2.2306
13979Problem: Vim9: when using function reference type is not checked.
13980Solution: When using a function reference lookup the type and check the
13981 argument types. (issue #7629)
13982Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
13983 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
13984 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
13985 src/testdir/test_vim9_func.vim
13986
13987Patch 8.2.2307
13988Problem: A shell command in the vimrc causes terminal output.
13989Solution: Do not call starttermcap() after a shell command if the termcap
13990 wasn't active before.
13991Files: src/ex_cmds.c
13992
13993Patch 8.2.2308
13994Problem: Vim9: no error when assigning lambda to funcref without return
13995 value.
13996Solution: Default return value to "any". (closes #7629)
13997Files: src/userfunc.c, src/vim9compile.c,
13998 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
13999
14000Patch 8.2.2309
14001Problem: 0o777 not recognized as octal.
14002Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14003Files: src/charset.c, src/testdir/test_eval_stuff.vim
14004
14005Patch 8.2.2310
14006Problem: Vim9: winsaveview() return type is too generic.
14007Solution: use dict<number> instead of dict<any>. (closes #7626)
14008Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14009
14010Patch 8.2.2311
14011Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14012Solution: Check for assignment after possible command modifier.
14013 (closes #7632)
14014Files: src/vim9compile.c, src/ex_docmd.c,
14015 src/testdir/test_vim9_assign.vim
14016
14017Patch 8.2.2312
14018Problem: Build failure with Ruby 3.0 and 32 bits.
14019Solution: Add #ifdef. (closes #7638)
14020Files: src/if_ruby.c
14021
14022Patch 8.2.2313
14023Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14024 respected when parsing range fails.
14025Solution: Initialize ea.skip. On pattern failure handle it like an error.
14026 (closes #7636)
14027Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14028
14029Patch 8.2.2314
14030Problem: Vim9: returning zero takes two instructions.
14031Solution: Add ISN_RETURN_ZERO.
14032Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14033 src/testdir/test_vim9_disassemble.vim
14034
14035Patch 8.2.2315
14036Problem: Vim9: "enddef" as dict key misintepreted as function end.
14037Solution: Check for following colon. (closes #7640)
14038Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14039
14040Patch 8.2.2316
14041Problem: Vim9: cannot list a lambda function.
14042Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14043Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14044
14045Patch 8.2.2317
14046Problem: Vim9: command modifier before list unpack doesn't work.
14047Solution: Only recognize "[" directly after the name. (closes #7641)
14048Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14049
14050Patch 8.2.2318
14051Problem: Vim9: string and list index work differently.
14052Solution: Make string index work like list index. (closes #7643)
14053Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14054 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14055
14056Patch 8.2.2319
14057Problem: "exptype_T" can be read as "expected type".
14058Solution: Rename to "exprtype_T", expression type.
14059Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14060 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14061 src/vim9.h
14062
14063Patch 8.2.2320
14064Problem: Vim9: no error for comparing bool with string.
14065Solution: Check for wrong types when comparing. (closes #7639)
14066Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14067
14068Patch 8.2.2321
14069Problem: Vim9: cannot nest closures.
14070Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14071 (closes #7150, closes #7635)
14072Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14073 src/testdir/test_vim9_disassemble.vim,
14074 src/testdir/test_vim9_func.vim
14075
14076Patch 8.2.2322
14077Problem: Vim9: closure nested limiting to one level.
14078Solution: Add outer_T. Also make STOREOUTER work.
14079Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14080 src/testdir/test_vim9_func.vim
14081
14082Patch 8.2.2323
14083Problem: Vim9: error when inferring type from empty dict/list.
14084Solution: When the member is t_unknown use t_any. (closes #7009)
14085Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14086
14087Patch 8.2.2324
14088Problem: Not easy to get mark en cursor position by character count.
14089Solution: Add functions that use character index. (Yegappan Lakshmanan,
14090 closes #7648)
14091Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14092 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14093 src/testdir/test_cursor_func.vim, src/typval.c
14094
14095Patch 8.2.2325
14096Problem: Vim9: crash if map() changes the item type.
14097Solution: Check that the item type is still OK. (closes #7652)
14098 Fix problem with mapnew() on range list.
14099Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14100 src/list.c, src/testdir/test_vim9_builtin.vim,
14101 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14102
14103Patch 8.2.2326
14104Problem: Build error with +eval feature but without +spell.
14105Solution: Adjust #ifdef. (John Marriott)
14106Files: src/mbyte.c
14107
14108Patch 8.2.2327
14109Problem: Debugging code included.
14110Solution: Remove the debugging code.
14111Files: src/vim9execute.c
14112
14113Patch 8.2.2328
14114Problem: Some test files may not be deleted.
14115Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14116Files: src/testdir/test_clientserver.vim,
14117 src/testdir/test_vim9_script.vim
14118
14119Patch 8.2.2329
14120Problem: Not all ways Vim can be started are tested.
14121Solution: Add a test for different program names. (Dominique Pellé,
14122 closes #7651)
14123Files: src/testdir/test_startup.vim
14124
14125Patch 8.2.2330
14126Problem: Vim9: crash when using :trow in a not executed block.
14127Solution: Don't generate the instruction when skipping. (closes #7659)
14128Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14129
14130Patch 8.2.2331
14131Problem: Vim9: wrong error when modifying dict declared with :final.
14132Solution: Do not check for writable variable when an index follows.
14133 (closes #7657)
14134Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14135 src/proto/vim9script.pro, src/evalvars.c,
14136 src/testdir/test_vim9_assign.vim
14137
14138Patch 8.2.2332
14139Problem: Vim9: missing :endif not reported when using :windo.
14140Solution: Pass a getline function to do_cmdline(). (closes #7650)
14141Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14142 src/testdir/test_vim9_cmd.vim
14143
14144Patch 8.2.2333
14145Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14146Solution: Initialize "res".
14147Files: src/vim9execute.c
14148
14149Patch 8.2.2334
14150Problem: Pascal-like filetypes not always detected.
14151Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14152 closes #7662)
14153Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14154 runtime/scripts.vim, src/testdir/test_filetype.vim
14155
14156Patch 8.2.2335
14157Problem: Vim9: "silent return" does not restore command modifiers.
14158Solution: Resture command modifiers before returning. (closes #7649)
14159Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14160
14161Patch 8.2.2336
14162Problem: Vim9: it is not possible to extend a dictionary with different
14163 item types.
14164Solution: Add extendnew(). (closes #7666)
14165Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14166 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14167 src/testdir/test_vim9_builtin.vim
14168
14169Patch 8.2.2337
14170Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14171Solution: Hint that a -def package is needed. (closes #5229)
14172Files: src/configure.ac, src/auto/configure
14173
14174Patch 8.2.2338
14175Problem: Vim9: no error if using job_info() result wrongly.
14176Solution: Adjust return type on number of arguments. (closes #7667)
14177Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14178
14179Patch 8.2.2339
14180Problem: Cannot get the type of a value as a string.
14181Solution: Add typename().
14182Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14183 src/vim9type.c, src/proto/vim9type.pro,
14184 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14185
14186Patch 8.2.2340
14187Problem: win_execute() unexpectedly returns number zero when failing.
14188Solution: Return an empty string. (closes #7665)
14189Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14190 src/testdir/test_execute_func.vim
14191
14192Patch 8.2.2341
14193Problem: Expression command line completion shows variables but not
14194 functions after "g:". (Gary Johnson)
14195Solution: Prefix "g:" when needed to a global function.
14196Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14197 src/testdir/test_cmdline.vim
14198
14199Patch 8.2.2342
14200Problem: "char" functions return the wront column in Insert mode when the
14201 cursor is beyond the end of the line.
14202Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14203Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14204
14205Patch 8.2.2343
14206Problem: Vim9: return type of readfile() is any.
14207Solution: Add readblob() so that readfile() can be expected to always
14208 return a list of strings. (closes #7671)
14209Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14210 src/filepath.c, src/proto/filepath.pro,
14211 src/testdir/test_vim9_builtin.vim
14212
14213Patch 8.2.2344
14214Problem: Using inclusive index for slice is not always desired.
14215Solution: Add the slice() method, which has an exclusive index. (closes
14216 #7408)
14217Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14218 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14219 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14220 src/testdir/test_vim9_builtin.vim
14221
14222Patch 8.2.2345
14223Problem: No focus events in a terminal.
14224Solution: Add the t_fd and t_fe termcap entries and implement detecting
14225 focus events. (Hayaki Saito, Magnus Groß, closes #7673,
14226 closes #609, closes #5526)
14227Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14228
14229Patch 8.2.2346
14230Problem: Codecov reports every little coverage drop.
14231Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14232 Kiichi, closes #7678)
14233Files: .appveyor.yml, appveyor.yml, .codecov.yml
14234
14235Patch 8.2.2347
14236Problem: Build failure without GUI.
14237Solution: Add #ifdef.
14238Files: src/term.c
14239
14240Patch 8.2.2348 (after 8.2.2345)
14241Problem: No check for modified files after focus gained. (Mathias Stearn)
14242Solution: Call ui_focus_change().
14243Files: src/term.c, src/ui.c
14244
14245Patch 8.2.2349
14246Problem: Vim9: cannot handle line break after parenthesis at line end.
14247Solution: Skip over line break. (closes #7677)
14248Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14249
14250Patch 8.2.2350
14251Problem: Using "void" for no reason.
14252Solution: Use "char *".
14253Files: src/ex_docmd.c
14254
14255Patch 8.2.2351
14256Problem: Vim9: error message for "throw" in function that was called with
14257 "silent!".
14258Solution: Do not throw the exception when not caught or displayed.
14259 (closes #7672)
14260Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14261
14262Patch 8.2.2352
14263Problem: If the focus lost/gained escape sequence is received twice it is
14264 not ignored. (Christ van Willigen)
14265Solution: Adjust the logic to ignore the escape code.
14266Files: src/term.c
14267
14268Patch 8.2.2353
14269Problem: Spartql files are not detected.
14270Solution: Add the sparql filetype. (closes #7679)
14271Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14272
14273Patch 8.2.2354
14274Problem: Crash with a weird combination of autocommands.
14275Solution: Increment b_nwindows when needed. (closes #7674)
14276Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14277 src/testdir/test_autocmd.vim
14278
14279Patch 8.2.2355
14280Problem: Stray test failure on Appveyor.
14281Solution: Finish insert command.
14282Files: src/testdir/test_autocmd.vim
14283
14284Patch 8.2.2356
14285Problem: Vim9: ":put =expr" does not handle a list properly.
14286Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14287Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14288 src/testdir/test_vim9_cmd.vim
14289
14290Patch 8.2.2357
14291Problem: Vim9: crash when parsing function return type fails.
14292Solution: Bail out and set return type to "unknown". (closes #7685)
14293Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14294
14295Patch 8.2.2358
14296Problem: Wrong #ifdef for use_xterm_like_mouse().
14297Solution: Use FEAT_MOUSE_XTERM.
14298Files: src/term.c
14299
14300Patch 8.2.2359
14301Problem: Strange test failure with MS-Windows.
14302Solution: Skip the system() call for now.
14303Files: src/testdir/test_autocmd.vim
14304
14305Patch 8.2.2360
14306Problem: Test leaves file behind.
14307Solution: Delete the right file. (Dominique Pellé, closes #7689)
14308Files: src/testdir/test_filetype.vim
14309
14310Patch 8.2.2361
14311Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14312Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14313Files: src/ex_cmds.c
14314
14315Patch 8.2.2362
14316Problem: Vim9: check of builtin function argument type is incomplete.
14317Solution: Use need_type() instead of check_arg_type().
14318Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14319 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14320 src/testdir/test_vim9_builtin.vim
14321
14322Patch 8.2.2363
14323Problem: curpos() does not accept a string argument as before.
14324solution: Make a string argument work again. (Yegappan Lakshmanan,
14325 closes #7690
14326Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14327
14328Patch 8.2.2364
14329Problem: Vim9: line break in lambda accesses freed memory.
14330Solution: Make a copy of the return type. (closes #7664)
14331Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14332
14333Patch 8.2.2365
14334Problem: Vim9: no check for map() changing item type at script level.
14335Solution: Check the new value type.
14336Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14337 src/testdir/test_vim9_assign.vim
14338
14339Patch 8.2.2366
14340Problem: When using ":sleep" the cursor is always displayed.
14341Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14342 closes #7688)
14343Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14344 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14345 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14346
14347Patch 8.2.2367
14348Problem: Test failures on some less often used systems.
14349Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14350Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14351
14352Patch 8.2.2368
14353Problem: Insufficient tests for setting options.
14354Solution: Add a few tests. (Dominique Pellé, closes #7695)
14355Files: src/testdir/test_options.vim
14356
14357Patch 8.2.2369
14358Problem: Vim9: functions return true/false but can't be used as bool.
14359Solution: Add ret_number_bool(). (closes #7693)
14360Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14361 src/testdir/test_vim9_disassemble.vim
14362
14363Patch 8.2.2370
14364Problem: Vim9: command fails in catch block.
14365Solution: Reset force_abort and need_rethrow. (closes #7692)
14366Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14367
14368Patch 8.2.2371
14369Problem: Vim9: crash when using types in :for with unpack.
14370Solution: Check for skip_var_list() failing. Pass include_type to
14371 skip_var_one(). Skip type when compiling. (closes #7694)
14372Files: src/vim9compile.c, src/evalvars.c,
14373 src/testdir/test_vim9_script.vim
14374
14375Patch 8.2.2372 (after 8.2.2371)
14376Problem: Confusing error message for wrong :let command.
14377Solution: Only check for type in Vim9 script.
14378Files: src/evalvars.c
14379
14380Patch 8.2.2373
14381Problem: Vim9: list assignment only accepts a number index.
14382Solution: Accept "any" and do a runtime type check. (closes #7694)
14383Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14384
14385Patch 8.2.2374
14386Problem: Accessing uninitialized memory in test_undo.
14387Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14388 closes #7697)
14389Files: src/edit.c
14390
14391Patch 8.2.2375
14392Problem: Test for RGB color skipped in the terminal.
14393Solution: Run the GUI if possible.
14394Files: src/testdir/test_highlight.vim
14395
14396Patch 8.2.2376
14397Problem: Vim9: crash when dividing by zero in compiled code using
14398 constants.
14399Solution: Call num_divide() and num_modulus(). (closes #7704)
14400Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14401
14402Patch 8.2.2377
14403Problem: Vim9: crash when using a range after another expression.
14404Solution: Set the variable type to number. Fix using :put with a range and
14405 the "=" register. (closes #7706)
14406Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14407
14408Patch 8.2.2378
14409Problem: Vim9: no error message for dividing by zero.
14410Solution: Give an error message. (issue #7704)
14411Files: src/errors.h, src/eval.c, src/vim9execute.c,
14412 src/testdir/test_vim9_expr.vim
14413
14414Patch 8.2.2379
14415Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14416Solution: Only do internal suggestions once. (closes #7713)
14417Files: src/spellsuggest.c
14418
14419Patch 8.2.2380
14420Problem: Vim9: occasional crash when using try/catch and a timer.
14421Solution: Save and restore "need_rethrow" when invoking a timer callback.
14422 (closes #7708)
14423Files: src/time.c
14424
14425Patch 8.2.2381
14426Problem: Vim9: divide by zero does not abort expression execution.
14427Solution: Use a "failed" flag. (issue #7704)
14428Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14429 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14430
14431Patch 8.2.2382 (after 8.2.2381)
14432Problem: Build failure.
14433Solution: Add missing changes.
14434Files: src/vim9execute.c
14435
14436Patch 8.2.2383
14437Problem: Focus escape sequences are not named in ":set termcap" output.
14438Solution: Add the names to the list. (closes #7718)
14439Files: src/misc2.c
14440
14441Patch 8.2.2384
14442Problem: Turtle filetype not recognized.
14443Solution: Add a rule to detect turtle files. (closes #7722)
14444Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14445
14446Patch 8.2.2385
14447Problem: "gj" and "gk" do not work correctly when inside a fold.
14448Solution: Move check for folding. (closes #7724, closes #4095)
14449Files: src/normal.c, src/testdir/test_fold.vim
14450
14451Patch 8.2.2386
14452Problem: Vim9: crash when using ":silent! put".
14453Solution: When ignoring an error for ":silent!" rewind the stack and skip
14454 ahead to restoring the cmdmod. (closes #7717)
14455Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14456
14457Patch 8.2.2387
14458Problem: Runtime type check does not mention argument index.
14459Solution: Add ct_arg_idx. (closes #7720)
14460Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14461 src/testdir/test_vim9_builtin.vim,
14462 src/testdir/test_vim9_disassemble.vim,
14463 src/testdir/test_vim9_func.vim
14464
14465Patch 8.2.2388
14466Problem: No easy way to get the maximum or mininum number value.
14467Solution: Add v:numbermax and v:numbermin.
14468Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14469 runtime/doc/eval.txt
14470
14471Patch 8.2.2389
14472Problem: Test failure on a few systems.
14473Solution: Avoid that "char" value is negative.
14474Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14475
14476Patch 8.2.2390
14477Problem: Vim9: using positive offset is unexpected.
14478Solution: Use int8_T instead of char. (James McCoy)
14479Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14480
14481Patch 8.2.2391
14482Problem: Memory leak when creating a global function with closure.
14483Solution: Create a separate partial for every instantiated function.
14484Files: src/userfunc.c, src/vim9execute.c
14485
14486Patch 8.2.2392
14487Problem: Fennel filetype not recognized.
14488Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14489Files: runtime/filetype.vim, runtime/scripts.vim,
14490 src/testdir/test_filetype.vim
14491
14492Patch 8.2.2393
14493Problem: Vim9: error message when script line starts with "[{".
14494Solution: Do not give an error for checking for end of list.
14495Files: src/dict.c, src/testdir/test_vim9_script.vim
14496
14497Patch 8.2.2394
14498Problem: Vim9: min() and max() return type is "any".
14499Solution: Use return type "number". (closes #7728)
14500Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14501
14502Patch 8.2.2395
14503Problem: Vim9: error for wrong type may report wrong line number.
14504Solution: Save and restore the line number when evaluating the expression.
14505 (closes #7727)
14506Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14507
14508Patch 8.2.2396
14509Problem: Vim9: no white space allowed before "->".
14510Solution: Allow for white space. (closes #7725)
14511Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14512
14513Patch 8.2.2397
14514Problem: Vim9: "%%" not seen as alternate file name for commands with a
14515 buffer name argument.
14516Solution: Recognize "%%" like "#". (closes #7732)
14517Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14518
14519Patch 8.2.2398 (after 8.2.2396)
14520Problem: Method test fails.
14521Solution: Adjust test for allowed white space.
14522Files: src/testdir/test_method.vim
14523
14524Patch 8.2.2399 (after 8.2.2385)
14525Problem: Fold test fails in wide terminal.
14526Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14527Files: src/testdir/test_fold.vim
14528
14529Patch 8.2.2400
14530Problem: Vim9: compiled functions are not profiled.
14531Solution: Add initial changes to profile compiled functions. Fix that a
14532 script-local function was hard to debug.
14533Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14534 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14535 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14536 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14537 src/testdir/test_vim9_disassemble.vim,
14538 src/testdir/test_profile.vim
14539
14540Patch 8.2.2401
14541Problem: Build fails without +profiling feature.
14542Solution: Add #ifdefs.
14543Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14544 src/testdir/test_vim9_disassemble.vim
14545
14546Patch 8.2.2402
14547Problem: Some filetypes not detected.
14548Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14549Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14550
14551Patch 8.2.2403
14552Problem: Vim9: profiling if/elseif/endif not correct.
14553Solution: Add profile instructions. Fix that "elseif" was wrong.
14554Files: src/vim9compile.c, src/testdir/test_profile.vim,
14555 src/testdir/test_vim9_script.vim,
14556 src/testdir/test_vim9_disassemble.vim
14557
14558Patch 8.2.2404
14559Problem: Vim9: profiling try/catch not correct.
14560Solution: Add profile instructions. Fix that "entry" did not rethrow an
14561 excpetion.
14562Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14563
14564Patch 8.2.2405
14565Problem: Vim9: no need to allow white space before "(" for :def.
14566Solution: Give an error for stray white space. (issue #7734)
14567Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14568
14569Patch 8.2.2406
14570Problem: Vim9: profiled :def function leaks memory.
14571Solution: Delete the profiled instructions.
14572Files: src/vim9compile.c
14573
14574Patch 8.2.2407
14575Problem: Old jumplist code is never used.
14576Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14577Files: src/mark.c
14578
14579Patch 8.2.2408
14580Problem: MinGW: "--preprocessor" flag no longer supported.
14581Solution: Remove the flag, use the defaults. (Christopher Wellons,
14582 closes #7741)
14583Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
14584
14585Patch 8.2.2409
14586Problem: Vim9: profiling only works for one function.
14587Solution: Select the right instructions when calling and returning.
14588 (closes #7743)
14589Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
14590 src/testdir/test_profile.vim
14591
14592Patch 8.2.2410
14593Problem: Build failure without the +profiling feature.
14594Solution: Add dummy argument to macro.
14595Files: src/vim9.h
14596
14597Patch 8.2.2411
14598Problem: Profile test fails on MS-Windows.
14599Solution: Do the profiling in a separate Vim command.
14600Files: src/testdir/test_profile.vim
14601
14602Patch 8.2.2412
14603Problem: Not all fields in "cstack" are initialized which might cause a
14604 crash.
14605Solution: Use CLEAR_FIELD().
14606Files: src/ex_docmd.c
14607
14608Patch 8.2.2413
14609Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
14610Solution: Disallow :all from the cmdline window.
14611Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
14612
14613Patch 8.2.2414
14614Problem: Using freed memory when closing the cmdline window.
14615Solution: Check the window is still valid.
14616Files: src/ex_getln.c
14617
14618Patch 8.2.2415
14619Problem: No way to check for the cmdwin feature, cmdline_hist is now always
14620 enabled.
14621Solution: Add has('cmdwin') support. Skip arglist test on Windows
14622 temporarily.
14623Files: runtime/doc/cmdline.txt, src/evalfunc.c,
14624 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
14625 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
14626 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
14627 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
14628
14629Patch 8.2.2416
14630Problem: May get stuck in command line window state.
14631Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
14632 pass on MS-Windows.
14633Files: src/ex_getln.c, src/testdir/test_arglist.vim
14634
14635Patch 8.2.2417
14636Problem: Condition stack values may be used when not set.
14637Solution: Clear cs_script_var_len and cs_block_id just in case they get used
14638 later. (issue #7733)
14639Files: src/ex_eval.c
14640
14641Patch 8.2.2418
14642Problem: Color not changed if ModeMsg highlight is set in InsertEnter
14643 autocmd event. (Paul Swanson)
14644Solution: Call highlight_changed() after triggering InsertEnter.
14645 (closes #7751)
14646Files: src/edit.c
14647
14648Patch 8.2.2419
14649Problem: Autocmd test was failing on MS-Windows with GUI.
14650Solution: Remove stray feedkeys().
14651Files: src/testdir/test_autocmd.vim
14652
14653Patch 8.2.2420
14654Problem: Too many problems with using all autocommand events.
14655Solution: Disallow defining an autocommand for all events.
14656Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
14657 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
14658
14659Patch 8.2.2421
14660Problem: Double free when using autocommand with "argdel". (Houyunsong)
14661Solution: Add the arglist_locked flag.
14662Files: src/arglist.c, src/testdir/test_autocmd.vim
14663
14664Patch 8.2.2422
14665Problem: Crash when deleting with line number out of range. (Houyunsong)
14666Solution: Avoid using a negative line number.
14667Files: src/normal.c, src/testdir/test_ex_mode.vim
14668
14669Patch 8.2.2423 (after 8.2.2422)
14670Problem: Missing error message.
14671Solution: Add the error message.
14672Files: src/errors.h
14673
14674Patch 8.2.2424
14675Problem: Some tests are known to cause an error with ASAN.
14676Solution: Add CheckNotAsan.
14677Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
14678 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
14679
14680Patch 8.2.2425
14681Problem: Cursor on invalid line with range and :substitute.
14682Solution: Do not move the cursor when skipping commands. (closes #3434)
14683Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
14684
14685Patch 8.2.2426
14686Problem: Allowing 'completefunc' to switch windows causes trouble.
14687Solution: use "textwinlock" instead of "textlock".
14688Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14689 src/testdir/test_popup.vim
14690
14691Patch 8.2.2427
14692Problem: Can still switch windows for 'completefunc'.
14693Solution: Also disallow switching windows for other completions.
14694Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14695 src/testdir/test_popup.vim
14696
14697Patch 8.2.2428
14698Problem: FocusGained does not work when 'ttymouse' is empty.
14699Solution: Don't use the short mouse code if there is a longer matching code.
14700 (closes #7755) Add a test.
14701Files: src/term.c, src/testdir/test_termcodes.vim
14702
14703Patch 8.2.2429
14704Problem: :goto does not work correctly with text properties. (Sam McCall)
14705Solution: Add a test. (Andrew Radev) Also use the text property size when
14706 computing the remaining offset. (closes #5930)
14707Files: src/memline.c, src/testdir/test_textprop.vim
14708
14709Patch 8.2.2430
14710Problem: :vimgrep expands wildcards twice.
14711Solution: Do not expand wildcards a second time.
14712Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
14713
14714Patch 8.2.2431
14715Problem: Warning for -fno-strength-reduce with Clang 11.
14716Solution: Adjust check for clang version number.
14717Files: src/configure.ac, src/auto/configure
14718
14719Patch 8.2.2432
14720Problem: Libvterm tests are executed even when libtool doesn't work.
14721Solution: Only run libvterm tests if /usr/bin/gcc exists.
14722Files: src/Makefile
14723
14724Patch 8.2.2433
14725Problem: Opening cmdline window gives error in BufLeave autocommand.
14726Solution: Reset cmdwin_type when triggering the autocommand.
14727Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
14728
14729Patch 8.2.2434
14730Problem: Vim9: no error when compiling str2nr() with a number.
14731Solution: Add argument type checks. (closes #7759)
14732Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
14733 src/testdir/test_vim9_builtin.vim
14734
14735Patch 8.2.2435
14736Problem: setline() gives an error for some types.
14737Solution: Allow any type, convert each item to a string.
14738Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
14739 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
14740 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
14741
14742Patch 8.2.2436
14743Problem: Vim9 script test is a bit flaky.
14744Solution: Wait longer for exit callback.
14745Files: src/testdir/test_vim9_script.vim
14746
14747Patch 8.2.2437
14748Problem: Deprecation warnings with default configuration.
14749Solution: Add -Wno-deprecated-declarations.
14750Files: src/configure.ac, src/auto/configure
14751
14752Patch 8.2.2438
14753Problem: Out of bounds compiler warning.
14754Solution: Increase the size of uf_name.
14755Files: src/structs.h
14756
14757Patch 8.2.2439
14758Problem: Not easy to figure out what packages to get when installing Vim on
14759 a new Ubuntu system.
14760Solution: Mention explicit commands that are easy to follow.
14761Files: src/INSTALL
14762
14763Patch 8.2.2440
14764Problem: Documentation based on patches is outdated.
14765Solution: Add changes to documentation in a patch.
14766Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
14767 runtime/doc/change.txt, runtime/doc/channel.txt,
14768 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
14769 runtime/doc/develop.txt, runtime/doc/digraph.txt,
14770 runtime/doc/editing.txt, runtime/doc/eval.txt,
14771 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
14772 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
14773 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
14774 runtime/doc/helphelp.txt, runtime/doc/help.txt,
14775 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
14776 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
14777 runtime/doc/index.txt, runtime/doc/insert.txt,
14778 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
14779 runtime/doc/message.txt, runtime/doc/mlang.txt,
14780 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
14781 runtime/doc/options.txt, runtime/doc/os_dos.txt,
14782 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
14783 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
14784 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
14785 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
14786 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
14787 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
14788 runtime/doc/print.txt, runtime/doc/quickfix.txt,
14789 runtime/doc/quickref.txt, runtime/doc/recover.txt,
14790 runtime/doc/remote.txt, runtime/doc/repeat.txt,
14791 runtime/doc/rileft.txt, runtime/doc/sign.txt,
14792 runtime/doc/spell.txt, runtime/doc/starting.txt,
14793 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
14794 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
14795 runtime/doc/term.txt, runtime/doc/testing.txt,
14796 runtime/doc/textprop.txt, runtime/doc/tips.txt,
14797 runtime/doc/todo.txt, runtime/doc/uganda.txt,
14798 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
14799 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
14800 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
14801 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
14802 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
14803 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
14804 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
14805 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
14806 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
14807 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
14808 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
14809 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
14810 runtime/doc/various.txt, runtime/doc/version5.txt,
14811 runtime/doc/version6.txt, runtime/doc/version7.txt,
14812 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
14813 runtime/doc/vim9.txt, runtime/doc/visual.txt,
14814 runtime/doc/windows.txt
14815
14816Patch 8.2.2441
14817Problem: Vim9: extend() does not give an error for a type mismatch.
14818Solution: Check the type of the second argument. (closes #7760)
14819Files: src/list.c, src/testdir/test_vim9_builtin.vim
14820
14821Patch 8.2.2442
14822Problem: Automatic GUI selection does not check for GTK 3.
14823Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
14824 YES when checking for GTK2.
14825Files: src/configure.ac, src/auto/configure
14826
14827Patch 8.2.2443
14828Problem: Vim9: no compile time error for wrong str2float argument.
14829Solution: Check argument type. (closes #7759)
14830Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14831
14832Patch 8.2.2444
14833Problem: Vim9: compile error with combination of operator and list.
14834Solution: Generate constants before parsing a list or dict. (closes #7757)
14835Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14836
14837Patch 8.2.2445
14838Problem: Vim9: no proper error for lambda missing return type.
14839Solution: Check for this error. (closes #7758)
14840Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14841
14842Patch 8.2.2446
14843Problem: Setting 'term' empty has different error if compiled with GUI.
14844Solution: Insert "else". (closes #7766)
14845Files: src/optionstr.c, src/testdir/test_options.vim
14846
14847Patch 8.2.2447
14848Problem: 'foldlevel' not applied to folds restored from session.
14849Solution: Set 'foldlevel' after creaiting the folds. (closes #7767)
14850Files: src/fold.c, src/testdir/test_mksession.vim
14851
14852Patch 8.2.2448
14853Problem: Compilation error with Ruby 3.0.
14854Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
14855Files: src/if_ruby.c
14856
14857Patch 8.2.2449
14858Problem: Vim9: flatten() always changes the list type.
14859Solution: Disallow using flatten() and add flattennew().
14860Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14861 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
14862 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
14863
14864Patch 8.2.2450
14865Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
14866Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
14867Files: src/bufwrite.c
14868
14869Patch 8.2.2451
14870Problem: MS-Windows: Extended Attributes not preserved.
14871Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
14872 closes #7765)
14873Files: src/os_win32.c
14874
14875Patch 8.2.2452
14876Problem: No completion for the 'filetype' option.
14877Solution: Add filetype completion. (Martin Tournoij, closes #7747)
14878Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
14879
14880Patch 8.2.2453
14881Problem: Vim9: a variable name with "->" in the next line doesn't work.
14882Solution: Recognize a variable name by itself. (closes #7770)
14883Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
14884
14885Patch 8.2.2454
14886Problem: Leading space can not be made visible.
14887Solution: Add "lead:" to 'listchars'. (closes #7772)
14888Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
14889 src/message.c, src/screen.c, src/testdir/test_listchars.vim
14890
14891Patch 8.2.2455
14892Problem: Vim9: key type that can be used for literal dict and indexing is
14893 inconsistent.
14894Solution: Allow using number and bool as key for a literal dict. (#7771)
14895Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
14896 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
14897 src/testdir/test_vim9_script.vim
14898
14899Patch 8.2.2456
14900Problem: Coverity warning for strcpy() into fixed size array.
14901Solution: Add a type cast to hopefully silence the bogus warning.
14902Files: src/userfunc.c
14903
14904Patch 8.2.2457
14905Problem: Coverity warns for memory leak.
14906Solution: Free memory when out of memory.
14907Files: src/if_cscope.c
14908
14909Patch 8.2.2458
14910Problem: Coverity warns for :retab using freed memory.
14911Solution: Use the updated line pointer when moving text properties.
14912Files: src/indent.c
14913
14914Patch 8.2.2459
14915Problem: Coverity reports dead code.
14916Solution: Remove the dead code.
14917Files: src/eval.c
14918
14919Patch 8.2.2460
14920Problem: Coverity warns for unused value.
14921Solution: Do not reset the return value to OK.
14922Files: src/vim9compile.c
14923
14924Patch 8.2.2461
14925Problem: Coverity warns for unchecked return value.
14926Solution: Add "(void)" to avoid the warning.
14927Files: src/vim9execute.c
14928
14929Patch 8.2.2462
14930Problem: Coverity warns for not checking for fseek() error.
14931Solution: Give an error message if fseek() fails.
14932Files: src/spellfile.c
14933
14934Patch 8.2.2463
14935Problem: Using :arglocal in an autocommand may use freed memory.
14936 (houyunsong)
14937Solution: Check if the arglist is locked.
14938Files: src/arglist.c, src/testdir/test_autocmd.vim
14939
14940Patch 8.2.2464
14941Problem: Using freed memory if window closed in autocommand. (houyunsong)
14942Solution: Check the window still exists.
14943Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
14944
14945Patch 8.2.2465
14946Problem: Using freed memory in :psearch. (houyunsong)
14947Solution: Check the current window is still valid. Fix flaky test.
14948Files: src/search.c, src/testdir/test_autocmd.vim
14949
14950Patch 8.2.2466
14951Problem: Max() and min() can give many error messages.
14952Solution: Bail out at the first error. (closes #1039, closes #7778)
14953Files: src/evalfunc.c, src/testdir/test_functions.vim
14954
14955Patch 8.2.2467
14956Problem: Script generated by :mkview changes alternate file.
14957Solution: Only write :balt in the session file. (Harish Rajagopal,
14958 closes #7779)
14959Files: src/session.c, src/testdir/test_mksession.vim
14960
14961Patch 8.2.2468
14962Problem: Not easy to get the full command name from a shortened one.
14963Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
14964Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14965 src/ex_docmd.c, src/proto/evalfunc.pro,
14966 src/testdir/test_cmdline.vim
14967
14968Patch 8.2.2469
14969Problem: Confusing error if :winsize has a wrong argument.
14970Solution: Quote the argument in the error. (closes #2523)
14971Files: src/ex_docmd.c, src/testdir/test_excmd.vim
14972
14973Patch 8.2.2470
14974Problem: Popup_getoptions() does not get textprop from other tab.
14975Solution: use win_valid_any_tab(). (closes #7786)
14976Files: src/popupwin.c, src/testdir/test_popupwin.vim
14977
14978Patch 8.2.2471
14979Problem: Popup_setoptions() does not set textprop in other tab.
14980Solution: use win_valid_any_tab(). (closes #7788)
14981Files: src/popupwin.c, src/testdir/test_popupwin.vim
14982
14983Patch 8.2.2472
14984Problem: Crash when using command line window in an autocommand.
14985 (houyunsong)
14986Solution: Save and restore au_new_curbuf.
14987Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
14988
14989Patch 8.2.2473
14990Problem: Crash when leaving command line window triggers autocommand.
14991 (houyunsong)
14992Solution: Make sure not to close the current window or buffer.
14993Files: src/ex_getln.c, src/testdir/test_autocmd.vim
14994
14995Patch 8.2.2474
14996Problem: Using freed memory when window is closed by autocommand.
14997 (houyunsong)
14998Solution: Check the window pointer is still valid.
14999Files: src/quickfix.c, src/testdir/test_autocmd.vim
15000
15001Patch 8.2.2475
15002Problem: Autocommand tests hangs on MS-Windows.
15003Solution: Skip one test.
15004Files: src/testdir/test_autocmd.vim
15005
15006Patch 8.2.2476
15007Problem: Using freed memory when using an autocommand to split a window
15008 while a buffer is being closed.
15009Solution: Disallow splitting when the buffer has b_locked_split set.
15010Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15011 src/popupwin.c, src/testdir/test_autocmd.vim
15012
15013Patch 8.2.2477
15014Problem: Autocommand tests hang on MS-Windows.
15015Solution: Skip a couple of tests. Fix file name.
15016Files: src/testdir/test_autocmd.vim
15017
15018Patch 8.2.2478
15019Problem: MS-Windows: backup files for plugins are loaded.
15020Solution: Do not use the alternate file name for files ending in "~".
15021Files: src/filepath.c
15022
15023Patch 8.2.2479
15024Problem: set/getbufline test fails without the job feature.
15025Solution: Check whether the job feature is supported. (Dominique Pellé,
15026 closes #7790)
15027Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15028
15029Patch 8.2.2480
15030Problem: Vim9: some errors for white space do not show context.
15031Solution: Include the text at the error.
15032Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15033 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15034
15035Patch 8.2.2481
15036Problem: Vim9: confusing error when variable arguments have a default
15037 value.
15038Solution: Give a specific error message. (closes #7793)
15039Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15040
15041Patch 8.2.2482
15042Problem: Build error.
15043Solution: Add new error message.
15044Files: src/errors.h
15045
15046Patch 8.2.2483
15047Problem: Vim9: type error for misformed expression.
15048Solution: Check for end of command before checking type. (closes #7795)
15049Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15050
15051Patch 8.2.2484
15052Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15053Solution: Remove the check for "{" since #{ dictionaries are not supported.
15054Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15055
15056Patch 8.2.2485
15057Problem: When sourcing a script again the script version isn't reset.
15058Solution: Set sn_version to one when sourcing a script again. Clear
15059 sn_save_cpo properly. (closes #7608)
15060Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15061
15062Patch 8.2.2486
15063Problem: Vim9: some errors for white space do not show context.
15064Solution: Include the text at the error.
15065Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15066 src/vim9compile.c, src/vim9type.c
15067
15068Patch 8.2.2487
15069Problem: Terminal shows garbage after double-wide character with a
15070 combining character. (Kyoichiro Yamada)
15071Solution: Libvterm: do not add the width of the combining character to the
15072 glyph width. (closes #7801)
15073Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15074 src/testdir/dumps/Test_terminal_combining.dump
15075
15076Patch 8.2.2488
15077Problem: json_encode() gives generic argument error.
15078Solution: Mention the type that can't be encoded. (issue #7802)
15079Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15080
15081Patch 8.2.2489
15082Problem: current buffer is wrong after deletebufline() fails to delete a
15083 line in another buffer.
15084Solution: Restore the current buffer.
15085Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15086
15087Patch 8.2.2490
15088Problem: 'wrap' option is always reset when starting diff mode.
15089Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15090Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15091 src/testdir/test_diffmode.vim
15092
15093Patch 8.2.2491
15094Problem: Popup window for text property may show in first screen line.
15095Solution: If the text position is invisible do not show the popup window.
15096 (closes #7807)
15097Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15098 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15099 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15100 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15101
15102Patch 8.2.2492
15103Problem: Command line buffer name cannot be translated.
15104Solution: Add _(). (Gabriel Dupras, closes #7812)
15105Files: src/ex_getln.c
15106
15107Patch 8.2.2493
15108Problem: Text property for text left of window shows up.
15109Solution: Check if the text property ends before the current column.
15110 (closes #7806)
15111Files: src/drawline.c, src/testdir/test_textprop.vim,
15112 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15113 src/testdir/dumps/Test_textprop_nowrap_02.dump
15114
15115Patch 8.2.2494
15116Problem: ":rviminfo!" clears most of oldfiles.
15117Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15118Files: src/viminfo.c, src/vim.h
15119
15120Patch 8.2.2495
15121Problem: Text jumps up and down when moving the cursor in a small window
15122 with wrapping text and 'scrolloff' set.
15123Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15124 closes #7813)
15125Files: src/move.c, src/testdir/test_breakindent.vim
15126
15127Patch 8.2.2496 (after 8.2.2495)
15128Problem: Insufficien testing for text jumping fix.
15129Solution: Add another test case.
15130Files: src/testdir/test_breakindent.vim
15131
15132Patch 8.2.2497
15133Problem: No error when using more than one character for a register name.
15134Solution: In Vim9 script check for a single character string. (closes #7814)
15135 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15136Files: src/errors.h, src/evalfunc.c, src/typval.c,
15137 src/testdir/test_vim9_builtin.vim
15138
15139Patch 8.2.2498
15140Problem: No test for what 8.2.2494 fixes.
15141Solution: Add a simple change to test the fix. (closes #7818)
15142Files: src/testdir/test_viminfo.vim
15143
15144Patch 8.2.2499
15145Problem: "vim -g --version" does not redirect output.
15146Solution: Reset gui.starting when showing version info. (closes #7815)
15147Files: src/main.c, src/testdir/test_version.vim
15148
15149Patch 8.2.2500 (after 8.2.2499)
15150Problem: Build fails without the GUI feature.
15151Solution: Add #ifdef.
15152Files: src/main.c
15153
15154Patch 8.2.2501
15155Problem: Not always clear where an error is reported.
15156Solution: Add the where_T structure and pass it around. (closes #7796)
15157Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15158 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15159 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15160 src/proto/vim9script.pro, src/dict.c, src/list.c,
15161 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15162
15163Patch 8.2.2502
15164Problem: A few github actions are failing.
15165Solution: Install setuptools-rust. (closes #7823)
15166Files: .github/workflows/ci.yml
15167
15168Patch 8.2.2503
15169Problem: Vim9: a caught error may leave something on the stack.
15170Solution: Drop items from the stack if needed. (closes #7826)
15171Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15172
15173Patch 8.2.2504
15174Problem: Vim9: crash when using an argument from a closure.
15175Solution: Check if gen_load_outer is NULL. (closes #7821)
15176Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15177
15178Patch 8.2.2505
15179Problem: Vim9: crash after defining function with invalid return type.
15180Solution: Clear function growarrays. Fix memory leak.
15181Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15182
15183Patch 8.2.2506
15184Problem: Vim9: :continue does not work correctly in a :try block
15185Solution: Add the TRYCLEANUP instruction. (closes #7827)
15186Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15187 src/testdir/test_vim9_script.vim,
15188 src/testdir/test_vim9_disassemble.vim
15189
15190Patch 8.2.2507
15191Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15192 not needed.
15193Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15194 installing rust. (Ozaki Kiichi, closes #7820)
15195Files: .github/workflows/ci.yml
15196
15197Patch 8.2.2508
15198Problem: Cannot change the character displayed in non existing lines.
15199Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15200Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15201 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15202 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15203
15204Patch 8.2.2509
15205Problem: Tests fail on s390 build.
15206Solution: Initialize trycmd_T.
15207Files: src/vim9execute.c
15208
15209Patch 8.2.2510
15210Problem: Internal error when popup with mask is zero height or width.
15211Solution: Bail out if width or height is zero. (closes #7831)
15212Files: src/popupwin.c, src/testdir/test_popupwin.vim
15213
15214Patch 8.2.2511
15215Problem: Vim9: cannot use Vim9 script syntax in some places.
15216Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15217 mean ":vim9cmd" instead of ":vim9script".
15218Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15219 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15220 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15221 src/testdir/dumps/Test_wildmenu_1.dump,
15222 src/testdir/dumps/Test_wildmenu_2.dump,
15223 src/testdir/dumps/Test_wildmenu_3.dump,
15224 src/testdir/dumps/Test_wildmenu_4.dump,
15225 src/testdir/test_quickfix.vim
15226
15227Patch 8.2.2512
15228Problem: Vim9: compiling error test sometimes fails.
15229Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15230 Pellé, closes #7837)
15231Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15232 src/testdir/test_vim9_script.vim
15233
15234Patch 8.2.2513 (after 8.2.2511)
15235Problem: Vim9: missing part of :vim9cmd change.
15236Solution: Use command modifier in in_vim9script().
15237Files: src/vim9script.c
15238
15239Patch 8.2.2514 (after 8.2.2511)
15240Problem: Vim9: build error in tiny version.
15241Solution: Add #ifdef.
15242Files: src/ex_docmd.c
15243
15244Patch 8.2.2515
15245Problem: Memory access error when truncating an empty message.
15246Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15247Files: src/message.c, src/message_test.c
15248
15249Patch 8.2.2516
15250Problem: Test failure on s390. (analyses by James McCoy)
15251Solution: Only set the try_finally label when not skipping.
15252Files: src/vim9compile.c
15253
15254Patch 8.2.2517
15255Problem: Vim9: fix for s390 not tested on other systems.
15256Solution: Add a test.
15257Files: src/testdir/test_vim9_script.vim
15258
15259Patch 8.2.2518
15260Problem: 'listchars' should be window-local.
15261Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15262 closes #5206, closes #7850)
15263Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15264 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15265 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15266 src/option.h, src/optiondefs.h, src/optionstr.c,
15267 src/proto/screen.pro, src/screen.c, src/structs.h,
15268 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15269
15270Patch 8.2.2519
15271Problem: Vim9: no reason to keep strange Vi behavior.
15272Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15273 (closes #7840)
15274Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15275
15276Patch 8.2.2520
15277Problem: Missing tests for 'listchars'.
15278Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15279Files: src/testdir/test_listchars.vim
15280
15281Patch 8.2.2521
15282Problem: Some compilers can't handle pointer initialization. (John
15283 Marriott)
15284Solution: Use a local struct and assign it afterwards.
15285Files: src/screen.c
15286
15287Patch 8.2.2522
15288Problem: Beancount filetype not recognized.
15289Solution: Add a detection rule. (Brian Ryall, closes #7859)
15290Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15291
15292Patch 8.2.2523
15293Problem: Svelte filetype not recognized.
15294Solution: Add a detection rule. (Brian Ryall, closes #7858)
15295Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15296
15297Patch 8.2.2524
15298Problem: Cannot change the characters displayed in the foldcolumn.
15299Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15300 closes #7860)
15301Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15302 src/testdir/test_display.vim
15303
15304Patch 8.2.2525
15305Problem: Vim9: only local variables checked for a name.
15306Solution: Also check arguments and script variables. (closes #7838)
15307Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15308 src/testdir/test_vim9_cmd.vim
15309
15310Patch 8.2.2526 (after 8.2.2525)
15311Problem: Build failure.
15312Solution: Change lookup_scriptvar() arguments.
15313Files: src/evalvars.c, src/proto/evalvars.pro
15314
15315Patch 8.2.2527
15316Problem: Vim9: lambda return type is not determined at script level.
15317Solution: Compile the lambda to get the return type. (closes #7843)
15318Files: src/eval.c, src/vim.h, src/vim9.h,
15319 src/testdir/test_vim9_assign.vim
15320
15321Patch 8.2.2528
15322Problem: Vim9: crash when compiling lambda fails.
15323Solution: Bail out after compilation fails. (closes #7862)
15324Files: src/eval.c, src/testdir/test_vim9_assign.vim
15325
15326Patch 8.2.2529
15327Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15328Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15329Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15330 src/testdir/test_vim9_script.vim
15331
15332Patch 8.2.2530
15333Problem: Vim9: not enough testing for profiling.
15334Solution: Add a test with nested functions and a lambda. Fix profiling
15335 for calling a compiled function.
15336Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15337 src/vim9execute.c, src/testdir/test_profile.vim
15338
15339Patch 8.2.2531
15340Problem: Vim9: the :k command is obscure.
15341Solution: Disallow using :k, can use :mark instead. (closes #7874)
15342Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15343 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15344
15345Patch 8.2.2532
15346Problem: Vim9: confusing error if :k is used with a range.
15347Solution: Give an error about the range. (issue #7874)
15348Files: src/vim9script.c, src/vim9compile.c,
15349 src/testdir/test_vim9_script.vim
15350
15351Patch 8.2.2533
15352Problem: Vim9: cannot use a range with :unlet.
15353Solution: Implement ISN_UNLETRANGE.
15354Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15355 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
15356 src/vim9compile.c, src/vim9execute.c
15357 src/testdir/test_vim9_assign.vim
15358
15359Patch 8.2.2534
15360Problem: Missing test coverage.
15361Solution: Improve test coverage for completion with different encodings,
15362 mapset(), and term function failures. (Dominique Pellé,
15363 closes #7877)
15364Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15365 src/testdir/test_terminal3.vim
15366
15367Patch 8.2.2535
15368Problem: MS-Windows: cannot run all vim9 tests.
15369Solution: Make test_vim9 target work.
15370Files: src/Make_mvc.mak
15371
15372Patch 8.2.2536
15373Problem: Coverity complains about unchecked return value.
15374Solution: Add (void).
15375Files: src/userfunc.c
15376
15377Patch 8.2.2537
15378Problem: Vim9: crash when map() fails.
15379Solution: Clear typval before using it. (closes #7884)
15380Files: src/list.c, src/testdir/test_vim9_builtin.vim
15381
15382Patch 8.2.2538
15383Problem: Crash when using Python list iterator.
15384Solution: Increment the list reference count. (closes #7886)
15385Files: src/if_py_both.h, src/testdir/test_python3.vim
15386
15387Patch 8.2.2539
15388Problem: Vim9: return from finally block causes a hang.
15389Solution: Store both the finally and endtry indexes. (closes #7885)
15390Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15391 src/testdir/test_vim9_script.vim,
15392
15393Patch 8.2.2540
15394Problem: Vim9: no error for using script var name for argument.
15395Solution: Check for this error. (closes #7868)
15396Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15397 src/testdir/test_vim9_func.vim
15398
15399Patch 8.2.2541
15400Problem: Popup_create() does not allow boolean for "cursorline".
15401Solution: Use dict_get_bool(). (issue #7869)
15402Files: src/popupwin.c, src/testdir/test_popupwin.vim
15403
15404Patch 8.2.2542
15405Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15406Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15407 is part of the match. (closes #7883)
15408Files: src/match.c, src/testdir/test_search.vim,
15409 src/testdir/dumps/Test_hlsearch_1.dump,
15410 src/testdir/dumps/Test_hlsearch_2.dump
15411
15412Patch 8.2.2543
15413Problem: Vim9: a return inside try/catch does not restore exception state
15414 properly.
15415Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15416Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15417
15418Patch 8.2.2544
15419Problem: Vim9: error for argument when checking for lambda.
15420Solution: Respect the skip flag. (closes #7887)
15421Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15422
15423Patch 8.2.2545
15424Problem: Errors and crash when terminal window is zero height. (Leonid V.
15425 Fedorenchik)
15426Solution: Do not resize when width or height is zero. (closes #7890)
15427Files: src/terminal.c, src/testdir/test_terminal.vim
15428
15429Patch 8.2.2546
15430Problem: Typo in mouse key name.
15431Solution: Fix the typo. (issue #4725)
15432Files: src/misc2.c
15433
15434Patch 8.2.2547
15435Problem: "%" command not accurate for big files.
15436Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15437 closes #7889)
15438Files: src/normal.c
15439
15440Patch 8.2.2548
15441Problem: May get stuck in the cmdline window using :normal.
15442Solution: Have nv_esc() return K_IGNORE.
15443Files: src/normal.c
15444
15445Patch 8.2.2549
15446Problem: Crash after using "g:" in a for loop.
15447Solution: Increment the reference count. (closes #7892)
15448Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15449
15450Patch 8.2.2550
15451Problem: Signal stack size is wrong with latest glibc 2.34.
15452Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15453 #7895)
15454Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15455 src/auto/configure
15456
15457Patch 8.2.2551
15458Problem: MS-Windows: colors test file is not installed.
15459Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15460Files: nsis/gvim.nsi
15461
15462Patch 8.2.2552
15463Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15464Solution: Just use "{". (issue #7904)
15465Files: src/ex_cmds.h
15466
15467Patch 8.2.2553
15468Problem: Vim9: Cannot put "|" after "{".
15469Solution: Add the EX_TRLBAR flag. (issue #7904)
15470Files: src/ex_cmds.h, src/ex_eval.c
15471
15472Patch 8.2.2554
15473Problem: Vim9: exporting a final is not tested.
15474Solution: Add a test.
15475Files: src/testdir/test_vim9_script.vim
15476
15477Patch 8.2.2555
15478Problem: Vim9: missing test for 8.2.2553.
15479Solution: Add a simple test.
15480Files: src/testdir/test_vim9_script.vim
15481
15482Patch 8.2.2556
15483Problem: Vim9: :import with "as" not fully supported.
15484Solution: Implement "as" for more cases.
15485Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15486
15487Patch 8.2.2557
15488Problem: Compiler warning for shadowed variable.
15489Solution: Declare "p" only once.
15490Files: src/vim9script.c
15491
15492Patch 8.2.2558
15493Problem: No error if a lambda argument shadows a variable.
15494Solution: Check that the argument name shadows a local, argument or script
15495 variable. (closes #7898)
15496Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15497 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15498 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15499
15500Patch 8.2.2559
15501Problem: MS-Windows: guifont test fails on Windows XP.
15502Solution: Check windowsversion().
15503Files: src/testdir/test_gui.vim
15504
15505Patch 8.2.2560
15506Problem: Setting 'winminheigt' does not take tabline into account.
15507Solution: Subtract the tabline from the available height. (closes #7899)
15508Files: src/window.c, src/testdir/test_options.vim
15509
15510Patch 8.2.2561
15511Problem: Not all textprop code is covered by tests.
15512Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15513Files: src/testdir/test_textprop.vim
15514
15515Patch 8.2.2562
15516Problem: GUI: star register changed when 'clipboard is "unnamedplus". (Ingo
15517 Karkat)
15518Solution: Do not change the star register when 'clipboard' contains
15519 "unnamedplus" and not "unnamed". (closes #1516)
15520Files: src/register.c
15521
15522Patch 8.2.2563
15523Problem: Cannot use multibyte characters for folding in 'fillchars'.
15524Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15525 closes #7924)
15526Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15527 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15528 src/testdir/test_profile.vim
15529
15530Patch 8.2.2564
15531Problem: Focus events end Insert mode if 'esckeys' is not set.
15532Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15533Files: src/term.c
15534
15535Patch 8.2.2565
15536Problem: Vim9: "..=" not always recognized.
15537Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15538Files: src/eval.c, src/testdir/test_vim9_assign.vim
15539
15540Patch 8.2.2566
15541Problem: Vim9: Function name is not recognized.
15542Solution: Change lookup_scriptvar() to also find function names.
15543 (closes #7770)
15544Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15545 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15546
15547Patch 8.2.2567
15548Problem: Vim9: no error if variable is defined for existing function.
15549Solution: Check if name isn't already in use. (closes #7897)
15550Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15551
15552Patch 8.2.2568
15553Problem: Second time a preview popup is opened highlight is not set.
15554 (Gabriel Dupras)
15555Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15556Files: src/tag.c, src/testdir/test_popupwin.vim,
15557 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15558 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15559 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15560 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15561
15562Patch 8.2.2569
15563Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15564Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15565 Lakshmanan, closes #7927)
15566Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15567 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15568
15569Patch 8.2.2570
15570Problem: Tests fail when run as root.
15571Solution: Add a comment mentioning the expected failure. (issue #7919)
15572Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15573 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15574
15575Patch 8.2.2571
15576Problem: Test may leave file behind.
15577Solution: Delete the temporary file. Don't profile in the running Vim
15578 instance.
15579Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
15580
15581Patch 8.2.2572
15582Problem: Vim9: crash when getting the types for a legacy function.
15583Solution: Initialize the type list growarray. (closes #7929)
15584Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15585
15586Patch 8.2.2573
15587Problem: Vim9: using invalid pointer for error message.
15588Solution: Use the right pointer. (closes #7921)
15589Files: src/eval.c, src/testdir/test_vim9_expr.vim
15590
15591Patch 8.2.2574
15592Problem: Vim9: crash when calling partial with wrong function.
15593Solution: Check argument types of called function. (closes #7912)
15594Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
15595
15596Patch 8.2.2575
15597Problem: Vim9: a function name with "->" in the next line doesn't work.
15598Solution: Recognize a function name by itself. (closes #7770)
15599Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
15600
15601Patch 8.2.2576
15602Problem: Vim9: defining a :func function checks for white space after a
15603 comma in the arguments.
15604Solution: Only check for white space in a :def function. (closes #7930)
15605Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15606
15607Patch 8.2.2577
15608Problem: Compiler warning for type conversion.
15609Solution: Add a typecast. (Mike Williams)
15610Files: src/drawline.c
15611
15612Patch 8.2.2578
15613Problem: Lua cannot handle a passed in lambda.
15614Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
15615Files: src/if_lua.c, src/testdir/test_lua.vim
15616
15617Patch 8.2.2579
15618Problem: Vim9: crash in garbagecollect after for loop.
15619Solution: Do not set a reference in script item when the name was cleared.
15620 (closes #7935)
15621Files: src/evalvars.c
15622
15623Patch 8.2.2580
15624Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
15625Solution: Use the member type. (closes #7933)
15626Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15627
15628Patch 8.2.2581
15629Problem: Vim9: sourcing Vim9 script triggers a redraw.
15630Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
15631 (closes #7920)
15632Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
15633 src/vim9script.c, src/testdir/test_vim9_script.vim,
15634 src/testdir/dumps/Test_vim9_no_redraw.dump
15635
15636Patch 8.2.2582 (after 8.2.2581)
15637Problem: Vim9: screendump test fails on MS-Windows.
15638Solution: Use :function instead of :def.
15639Files: src/testdir/test_vim9_script.vim
15640
15641Patch 8.2.2583
15642Problem: Vim9: cannot compare result of getenv() with null.
15643Solution: Make the return type of getenv() "any". (closes #7943)
15644Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15645
15646Patch 8.2.2584
15647Problem: Vim9: type error for assigning the result of list concatenation to
15648 a list.
15649Solution: Do not consider concatenation result in a constant. (closes #7942)
15650Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15651
15652Patch 8.2.2585
15653Problem: Vim9: illegal memory access.
15654Solution: Check byte right after "null", not one more.
15655Files: src/vim9compile.c
15656
15657Patch 8.2.2586
15658Problem: Process id may be invalid.
15659Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
15660 van der Sanden, closes #7947)
15661Files: src/configure.ac, src/auto/configure, src/config.h.in,
15662 src/memline.c, src/testing.c, src/globals.h,
15663 src/testdir/test_recover.vim
15664
15665Patch 8.2.2587 (after 8.2.2586)
15666Problem: Recover test fails on FreeBSD.
15667Solution: Check for Linux.
15668Files: src/testdir/check.vim, src/testdir/test_recover.vim
15669
15670Patch 8.2.2588 (after 8.2.2586)
15671Problem: Build failure with tiny features.
15672Solution: Add #ifdef. Run recover test separately.
15673Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
15674
15675Patch 8.2.2589 (after 8.2.2586)
15676Problem: Recover test hangs in the GUI.
15677Solution: Add g:skipped_reason to skip a _nocatch_ test.
15678Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
15679
15680Patch 8.2.2590
15681Problem: Vim9: default argument value may cause internal error.
15682Solution: Hide later function arguments when compiling the expression.
15683 (closes #7948)
15684Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15685
15686Patch 8.2.2591
15687Problem: Poke files are not recognized.
15688Solution: Add a filetype entry. (Matt Ihlenfield)
15689Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15690
15691Patch 8.2.2592
15692Problem: Code coverage could be improved.
15693Solution: Add a few more tests. (Dominique Pellé, closes #7957)
15694Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
15695 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
15696 src/testdir/test_viminfo.vim
15697
15698Patch 8.2.2593
15699Problem: List of distributed files is incomplete.
15700Solution: Add a file and rename another.
15701Files: Filelist
15702
15703Patch 8.2.2594
15704Problem: Alternate buffer added to session file even when it's hidden.
15705Solution: Check the 'buflisted' option. (closes #7951)
15706Files: src/session.c, src/testdir/test_mksession.vim
15707
15708Patch 8.2.2595
15709Problem: Setting 'winminheight' may cause 'lines' to change.
15710Solution: Also take minimal height of other tabpages into account. (#7899)
15711Files: src/window.c, src/testdir/test_options.vim
15712
15713Patch 8.2.2596
15714Problem: :doautocmd may confuse scripts listening to WinEnter.
15715Solution: Do the current buffer last. (closes #7958)
15716Files: src/autocmd.c, src/testdir/test_autocmd.vim
15717
15718Patch 8.2.2597
15719Problem: Vim9: "import * as" does not work at script level.
15720Solution: Implement using an imported namespace.
15721Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
15722 src/vim9execute.c, src/errors.h, src/vim9script.c,
15723 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
15724
15725Patch 8.2.2598
15726Problem: Vim9: :open does not need to be supported.
15727Solution: Do not support :open in Vim9 script.
15728Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
15729
15730Patch 8.2.2599 (after 8.2.2597)
15731Problem: Build failure.
15732Solution: Add missing change.
15733Files: src/vim9compile.c
15734
15735Patch 8.2.2600
15736Problem: Vim9: crash when putting an unknown type in a dictionary.
15737 (Yegappan Lakshmanan)
15738Solution: Handle a NULL type pointer.
15739Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
15740
15741Patch 8.2.2601
15742Problem: Memory usage test often fails on FreeBSD.
15743Solution: Increase multiplier for upper limit.
15744Files: src/testdir/test_memory_usage.vim
15745
15746Patch 8.2.2602
15747Problem: Vim9: continue doesn't work if :while is very first command.
15748 (Yegappan Lakshmanan)
15749Solution: Add one to the continue instruction index.
15750Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15751
15752Patch 8.2.2603
15753Problem: Vim9: no effect if user command is also a function.
15754Solution: Check for paren following. (closes #7960)
15755Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
15756 src/proto/ex_docmd.pro, src/vim9compile.c,
15757 src/testdir/test_vim9_cmd.vim
15758
15759Patch 8.2.2604
15760Problem: GUI-specific command line arguments not tested.
15761Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
15762Files: src/testdir/test_startup.vim
15763
15764Patch 8.2.2605
15765Problem: Vim9: string index and slice does not include composing chars.
15766Solution: Include composing characters. (issue #6563)
15767Files: runtime/doc/vim9.txt, src/vim9execute.c,
15768 src/testdir/test_vim9_expr.vim
15769
15770Patch 8.2.2606
15771Problem: strchars() defaults to counting composing characters.
15772Solution: Add strcharlen() which ignores composing characters.
15773Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15774 src/testdir/test_utf8.vim
15775
15776Patch 8.2.2607
15777Problem: strcharpart() cannot include composing characters.
15778Solution: Add the {skipcc} argument.
15779Files: runtime/doc/eval.txt, src/evalfunc.c,
15780 src/testdir/test_expr_utf8.vim
15781
15782Patch 8.2.2608
15783Problem: Character input not fully tested.
15784Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
15785Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
15786 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
15787 src/testdir/test_undo.vim
15788
15789Patch 8.2.2609
15790Problem: Test disabled on MS-Windows even though it should work.
15791Solution: Restore the condition for skipping the test. (Ken Takata,
15792 closes #7970)
15793Files: src/testdir/test_startup.vim
15794
15795Patch 8.2.2610
15796Problem: Mouse click test fails when using remote connection.
15797Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
15798Files: src/testdir/test_selectmode.vim
15799
15800Patch 8.2.2611
15801Problem: Conditions for startup tests are not exactly right.
15802Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
15803 closes #7976)
15804Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
15805
15806Patch 8.2.2612
15807Problem: col('.') may get outdated column value.
15808Solution: Add a note to the help how to make this work and add a test for
15809 it. (closes #7971)
15810Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
15811
15812Patch 8.2.2613 (after 8.2.2612)
15813Problem: New test throws exception.
15814Solution: Adjust the function cleanup.
15815Files: src/testdir/test_mapping.vim
15816
15817Patch 8.2.2614
15818Problem: Vim9: function is deleted while executing.
15819Solution: increment the call count, when more than zero do not delete the
15820 function but mark it as dead. (closes #7977)
15821Files: src/vim9execute.c, src/userfunc.c,
15822 src/testdir/test_vim9_script.vim
15823
15824Patch 8.2.2615 (after 8.2.2614)
15825Problem: Test is sourcing the wrong file.
15826Solution: Correct the file name.
15827Files: src/testdir/test_vim9_script.vim
15828
15829Patch 8.2.2616
15830Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
15831Solution: Apply the changes to 'cpo' to the restored value.
15832Files: runtime/doc/vim9.txt, src/scriptfile.c,
15833 src/testdir/test_vim9_script.vim
15834
15835Patch 8.2.2617
15836Problem: Vim9: script variable in a block scope not found by a nested
15837 function.
15838Solution: Copy the block scope IDs before compiling the function.
15839Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
15840 src/testdir/test_vim9_disassemble.vim
15841
15842Patch 8.2.2618
15843Problem: Vim9: cannot use a normal list name to store function refs.
15844Solution: Allow a lower case name if it is indexed.
15845Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
15846
15847Patch 8.2.2619
15848Problem: Vim9: no test for return type of lambda.
15849Solution: Add a test.
15850Files: src/testdir/test_vim9_func.vim
15851
15852Patch 8.2.2620
15853Problem: Vim9: Using #{ for a dictionary gives strange errors.
15854Solution: Give an error when using #{ for a comment after a command.
15855Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
15856 src/errors.h, src/testdir/test_vim9_expr.vim,
15857 src/testdir/test_vim9_script.vim
15858
15859Patch 8.2.2621
15860Problem: typval2type() cannot handle recursive structures.
15861Solution: Use copyID. (closes #7979)
15862Files: src/list.c, src/vim9script.c, src/vim9type.c,
15863 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
15864
15865Patch 8.2.2622
15866Problem: GTK: error when starting up and -geometry is given. (Dominique
15867 Pellé)
15868Solution: Use another function to get the monitor if the window has not been
15869 created yet. (closes #7978)
15870Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
15871 src/gui_xim.c
15872
15873Patch 8.2.2623
15874Problem: Some tests fail when run as root.
15875Solution: Use CheckNotRoot.
15876Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15877 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15878
15879Patch 8.2.2624
15880Problem: Atom files not recognized.
15881Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
15882Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15883
15884Patch 8.2.2625
15885Problem: Rss files not recognized.
15886Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
15887Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15888
15889Patch 8.2.2626
15890Problem: GTK3: error when starting up and -geometry is given. (Dominique
15891 Pellé)
15892Solution: Use another function to get the monitor if the window has not been
15893 created yet. (closes #7978)
15894Files: src/gui_gtk_x11.c
15895
15896Patch 8.2.2627
15897Problem: No need to check for BSD after checking for not root.
15898Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
15899Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
15900 src/testdir/check.vim
15901
15902Patch 8.2.2628
15903Problem: Vim9: #{ can still be used at the script level.
15904Solution: Give an error for #{ like in a :def function.
15905Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
15906
15907Patch 8.2.2629
15908Problem: Vim9: error for #{{ is not desired.
15909Solution: Adjust the checks. (closes #7990)
15910Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
15911 src/testdir/test_vim9_expr.vim
15912
15913Patch 8.2.2630
15914Problem: Hard to see where a test gets stuck.
15915Solution: Print the executed test function. (Dominique Pellé, closes #7975)
15916Files: src/testdir/Makefile
15917
15918Patch 8.2.2631
15919Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
15920 Fedorenchik)
15921Solution: Repeat the size commands twice. (closes #7988)
15922Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
15923
15924Patch 8.2.2632
15925Problem: Not all command line arguments are tested.
15926Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
15927Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
15928
15929Patch 8.2.2633
15930Problem: Multi-byte 'fillchars' for folding do not show properly.
15931Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
15932 closes #7983, closes #7955)
15933Files: src/screen.c, src/testdir/test_fold.vim
15934
15935Patch 8.2.2634
15936Problem: 'tagfunc' does not indicate using a pattern.
15937Solution: Add the "r" flag. (Andy Massimino, closes #7982)
15938Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
15939
15940Patch 8.2.2635
15941Problem: Vim9: cannot define an inline function.
15942Solution: Make an inline function mostly work.
15943Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
15944 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
15945
15946Patch 8.2.2636 (after 8.2.2635)
15947Problem: Memory leak when compiling inline function.
15948Solution: Free the prefetched line.
15949Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
15950 src/eval.c
15951
15952Patch 8.2.2637
15953Problem: prop_remove() causes a redraw even when nothing changed.
15954Solution: Only redraw if a property was removed. (Dominique Pellé)
15955Files: src/textprop.c
15956
15957Patch 8.2.2638
15958Problem: Cannot write a message to the terminal from the GUI.
15959Solution: Add :echoconsole and use it in the test runner. (issue #7975)
15960Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
15961 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
15962 src/term.c, src/testdir/runtest.vim
15963
15964Patch 8.2.2639 (after 8.2.2638)
15965Problem: Build failure when fsync() is not available.
15966Solution: Add #ifdef.
15967Files: src/ui.c
15968
15969Patch 8.2.2640
15970Problem: screenstring() returns non-existing composing characters.
15971Solution: Only use composing characters if there is a base character.
15972Files: src/evalfunc.c, src/testdir/test_listchars.vim
15973
15974Patch 8.2.2641
15975Problem: Display test fails because of lacking redraw.
15976Solution: Add a redraw command.
15977Files: src/testdir/test_display.vim
15978
15979Patch 8.2.2642
15980Problem: Vim9: no clear error for wrong inline function.
15981Solution: Check for something following the "{".
15982Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15983
15984Patch 8.2.2643
15985Problem: Various code not covered by tests.
15986Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
15987Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
15988 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
15989 src/testdir/test_undo.vim
15990
15991Patch 8.2.2644
15992Problem: prop_clear() causes a screen update even when nothing changed.
15993Solution: Only redraw when a property was cleared. (Dominique Pellé)
15994Files: src/textprop.c
15995
15996Patch 8.2.2645
15997Problem: Using inline function is not properly tested.
15998Solution: Add test cases, esp. for errors. Minor code improvements.
15999Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16000 src/testdir/test_vim9_func.vim
16001
16002Patch 8.2.2646
16003Problem: Vim9: error for not using string doesn't mention argument.
16004Solution: Add argument number.
16005Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16006 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16007
16008Patch 8.2.2647
16009Problem: Terminal test sometimes hangs.
16010Solution: Wait for the shell to display a prompt.
16011Files: src/testdir/test_terminal.vim
16012
16013Patch 8.2.2648
16014Problem: Terminal resize test sometimes hangs.
16015Solution: Wait for the shell to display a prompt and other output.
16016Files: src/testdir/test_terminal2.vim
16017
16018Patch 8.2.2649
16019Problem: Vim9: some wincmd arguments cause a white space error.
16020Solution: Insert a space before the count. (closes #8001)
16021Files: src/window.c, src/testdir/test_vim9_cmd.vim
16022
16023Patch 8.2.2650
16024Problem: Vim9: command modifiers not handled in nested function.
16025Solution: Keep function-local info in a structure and save it on the stack.
16026Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16027
16028Patch 8.2.2651
16029Problem: Vim9: restoring command modifiers happens after jump.
16030Solution: Move the restore instruction to before the jump. (closes #8006)
16031 Also handle for and while.
16032Files: src/vim9compile.c, src/vim9execute.c,
16033 src/testdir/test_vim9_disassemble.vim
16034
16035Patch 8.2.2652
16036Problem: Vim9: can use command modifier without an effect.
16037Solution: Give an error for a misplaced command modifier. Fix error message
16038 number.
16039Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16040 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16041 src/testdir/test_vim9_builtin.vim,
16042 src/testdir/test_vim9_disassemble.vim
16043
16044Patch 8.2.2653
16045Problem: Build failure.
16046Solution: Add missing changes.
16047Files: src/errors.h
16048
16049Patch 8.2.2654
16050Problem: Vim9: getting a character from a string can be slow.
16051Solution: Avoid a function call to get the character byte size. (#8000)
16052Files: src/vim9execute.vim
16053
16054Patch 8.2.2655
16055Problem: The -w command line argument doesn't work.
16056Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16057Files: src/term.c, src/testdir/test_startup.vim
16058
16059Patch 8.2.2656
16060Problem: Some command line arguments and regexp errors not tested.
16061Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16062Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16063
16064Patch 8.2.2657
16065Problem: Vim9: error message for declaring variable in for loop.
16066Solution: Clear variables when entering block again. (closes #8012)
16067Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16068
16069Patch 8.2.2658
16070Problem: :for cannot loop over a string.
16071Solution: Accept a string argument and iterate over its characters.
16072Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16073 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16074 src/testdir/test_vim9_disassemble.vim,
16075 src/testdir/test_vim9_script.vim
16076
16077Patch 8.2.2659 (after 8.2.2658)
16078Problem: Eval test fails because for loop on string works.
16079Solution: Check looping over function reference fails.
16080Files: src/testdir/test_eval_stuff.vim
16081
16082Patch 8.2.2660
16083Problem: Vim9: no error for declaration with trailing text.
16084Solution: Give an error. (closes #8014)
16085Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16086
16087Patch 8.2.2661
16088Problem: Leaking memory when looping over a string.
16089Solution: Free the memory.
16090Files: src/eval.c
16091
16092Patch 8.2.2662
16093Problem: There is no way to avoid some escape sequences.
16094Solution: Suppress escape sequences when the --not-a-term argument is used.
16095 (Gary Johnson)
16096Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16097
16098Patch 8.2.2663
16099Problem: Vim9: leaking memory when inline function has an error.
16100Solution: Free the partially allocated function.
16101Files: src/userfunc.c
16102
16103Patch 8.2.2664
16104Problem: Vim9: not enough function arguments checked for string.
16105Solution: Check in balloon functions. Refactor function arguments.
16106Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16107 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16108
16109Patch 8.2.2665 (after 8.2.2664)
16110Problem: Test failures.
16111Solution: Check more specific feature. Add missing change.
16112Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16113
16114Patch 8.2.2666
16115Problem: Vim9: not enough function arguments checked for string.
16116Solution: Check in ch_logfile(), char2nr() and others.
16117Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16118 src/testdir/test_vim9_builtin.vim
16119
16120Patch 8.2.2667
16121Problem: prop_find() cannot find item matching both id and type.
16122Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16123Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16124 src/textprop.c
16125
16126Patch 8.2.2668
16127Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16128Solution: Do not recognize a modifier followed by "(".
16129Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16130
16131Patch 8.2.2669
16132Problem: Command line completion does not work after "vim9".
16133Solution: Include the "9". (Naohiro Ono, closes #8025)
16134Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16135
16136Patch 8.2.2670
16137Problem: Vim9: error for append(0, text).
16138Solution: Check for negative number. (closes #8022)
16139Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16140
16141Patch 8.2.2671 (after 8.2.2670)
16142Problem: Error for line number in legacy script.
16143Solution: Check for number type.
16144Files: src/typval.c
16145
16146Patch 8.2.2672
16147Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16148Solution: Implement locking support.
16149Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16150
16151Patch 8.2.2673
16152Problem: Vim9: script-local funcref can have lower case name.
16153Solution: Require an upper case name.
16154Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16155
16156Patch 8.2.2674
16157Problem: Motif: cancelling the font dialog resets the font.
16158Solution: When no font is selected to not change the font. (closes #7825,
16159 closes #8035) Fix compiler warnings.
16160Files: src/gui_x11.c, src/gui_motif.c
16161
16162Patch 8.2.2675
16163Problem: Directory change in a terminal window shell is not followed.
16164Solution: Add the 'autoshelldir' option. (closes #6290)
16165Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16166 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16167 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16168 src/testdir/test_terminal3.vim
16169
16170Patch 8.2.2676
16171Problem: Missing error message.
16172Solution: Add new error message.
16173Files: src/errors.h
16174
16175Patch 8.2.2677
16176Problem: Vim9: cannot use only some of the default arguments.
16177Solution: Use v:none to use default argument value. Remove
16178 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16179Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16180 src/userfunc.c, src/structs.h, src/vim9.h,
16181 src/testdir/test_vim9_disassemble.vim,
16182 src/testdir/test_vim9_func.vim
16183
16184Patch 8.2.2678
16185Problem: Test for 'autoshelldir' does not reset the option.
16186Solution: Reset the option after testing.
16187Files: src/testdir/test_terminal3.vim
16188
16189Patch 8.2.2679
16190Problem: Winbar drawn over status line for non-current window with winbar
16191 if frame is zero height. (Leonid V. Fedorenchik)
16192Solution: Do not draw the window if the frame height is zero. (closes #8037)
16193Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16194 src/testdir/dumps/Test_winbar_not_visible.dump
16195
16196Patch 8.2.2680
16197Problem: Vim9: problem defining a script variable from legacy function.
16198Solution: Check if the script is Vim9, not the current syntax.
16199 (closes #8032)
16200Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16201 src/testdir/test_vim9_script.vim
16202
16203Patch 8.2.2681
16204Problem: Vim9: test fails for redeclaring script variable.
16205Solution: It's OK to assign to an existing script variable in legacy.
16206Files: src/evalvars.c
16207
16208Patch 8.2.2682
16209Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16210 Goussas)
16211Solution: When no variable found try finding a function. (closes #8045)
16212 Check that the function was exported.
16213Files: src/vim9compile.c, src/vim9script.c,
16214 src/testdir/test_vim9_script.vim
16215
16216Patch 8.2.2683
16217Problem: Build failure without the +eval feature.
16218Solution: Add #ifdef.
16219Files: src/vim9script.c
16220
16221Patch 8.2.2684
16222Problem: Not enough folding code is tested.
16223Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16224Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16225 src/testdir/test_source.vim
16226
16227Patch 8.2.2685 (after 8.2.2152)
16228Problem: Custom statusline not drawn correctly with WinBar.
16229Solution: Also adjust the column for the custom status line. (Yee Cheng
16230 Chin, closes #8047)
16231Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16232 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16233 src/testdir/test_winbar.vim
16234
16235Patch 8.2.2686
16236Problem: Status line is not updated when going to cmdline mode.
16237Solution: Redraw status lines if 'statusline' is set and going to status
16238 line mode. (based on patch from Justin M. Keyes et al.,
16239 closes #8044)
16240Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16241 src/testdir/dumps/Test_statusline_mode_1.dump,
16242 src/testdir/dumps/Test_statusline_mode_2.dump
16243
16244Patch 8.2.2687
16245Problem: Vim9: cannot use "const" for global variable in :def function.
16246Solution: Do allow using :const for a global variable. (closes #8030)
16247Files: src/vim9compile.c, src/vim9execute.c,
16248 src/testdir/test_vim9_assign.vim
16249
16250Patch 8.2.2688
16251Problem: Vim9: crash when using s: for script variable.
16252Solution: Pass the end pointer. (closes #8045)
16253Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16254
16255Patch 8.2.2689
16256Problem: Tiny build fails.
16257Solution: Add #ifdef around use of p_stl.
16258Files: src/ex_getln.c
16259
16260Patch 8.2.2690
16261Problem: PowerShell files are not recognized.
16262Solution: Recognize several PowerShell extension. (Heath Stewart,
16263 closes #8051)
16264Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16265
16266Patch 8.2.2691
16267Problem: Autoconf may mess up compiler flags.
16268Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16269 closes #8049)
16270Files: src/configure.ac, src/auto/configure
16271
16272Patch 8.2.2692
16273Problem: Vim9: locked script variable can be changed.
16274Solution: Check for locked value. (closes #8031)
16275Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16276
16277Patch 8.2.2693
16278Problem: Vim9: locked script variable can be changed.
16279Solution: Check legacy script variable for being locked. (issue #8031)
16280Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16281
16282Patch 8.2.2694
16283Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16284Solution: Bail out when no character in 'matchpairs' was found.
16285 (closes #8053) Add assert_nobeep().
16286Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16287 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16288 src/testdir/test_textformat.vim
16289
16290Patch 8.2.2695
16291Problem: Cursor position reset with nested autocommands.
16292Solution: Only check and reset line numbers for not nested autocommands.
16293 (closes #5820)
16294Files: src/autocmd.c, src/testdir/test_terminal.vim
16295
16296Patch 8.2.2696
16297Problem: Lua test fails with Lua 5.4.3 and later.
16298Solution: Check for different error messages. (Yegappan Lakshmanan,
16299 closes #8050)
16300Files: src/testdir/test_lua.vim
16301
16302Patch 8.2.2697
16303Problem: Function list test fails.
16304Solution: Add missing function. (Yegappan Lakshmanan)
16305Files: runtime/doc/usr_41.txt
16306
16307Patch 8.2.2698 (after 8.2.2696)
16308Problem: Lua test fails on MS-Windows.
16309Solution: Fall back to old method if "lua -v" doesn't work.
16310Files: src/testdir/test_lua.vim
16311
16312Patch 8.2.2699
16313Problem: Lua test fails.
16314Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16315Files: src/testdir/test_lua.vim
16316
16317Patch 8.2.2700
16318Problem: Nested autocmd test fails sometimes.
16319Solution: Wait for the job to finish.
16320Files: src/testdir/test_terminal.vim
16321
16322Patch 8.2.2701
16323Problem: Order of removing FORTIFY_SOURCE is wrong.
16324Solution: Use the more specific pattern first.
16325Files: src/configure.ac, src/auto/configure
16326
16327Patch 8.2.2702
16328Problem: Compiler completion test fails when more scripts are added.
16329Solution: Add a more generic pattern.
16330Files: src/testdir/test_compiler.vim
16331
16332Patch 8.2.2703
16333Problem: Vim9: memory leak when failing on locked variable.
16334Solution: Free the memory.
16335Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16336
16337Patch 8.2.2704
16338Problem: Adding a lot of completions can be a bit slow.
16339Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16340 list of completions. (Ben Jackson, closes #8061)
16341Files: src/insexpand.c
16342
16343Patch 8.2.2705
16344Problem: Vim9: misleading reported line number for wrong type.
16345Solution: Remember and use the line number at the start. (closes #8059)
16346Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16347
16348Patch 8.2.2706
16349Problem: Vim9: wrong line number reported for boolean operator.
16350Solution: Use the line number before skipping over line break.
16351 (closes #8058)
16352Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16353
16354Patch 8.2.2707 (after 8.2.2704)
16355Problem: Adding a lot of completions can still be a bit slow.
16356Solution: Add the check for CP_FAST. (Ben Jackson)
16357Files: src/insexpand.c
16358
16359Patch 8.2.2708
16360Problem: Test sometimes fails waiting for shell in terminal.
16361Solution: Use WaitForAssert() so we can see the actual job status. Use
16362 Run_shell_in_terminal().
16363Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16364
16365Patch 8.2.2709
16366Problem: The GTK GUI has a gap next to the scrollbar.
16367Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16368Files: src/gui_gtk.c
16369
16370Patch 8.2.2710
16371Problem: Vim9: not all tests cover script and :def function.
16372Solution: Run tests in both if possible. Fix differences.
16373Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16374 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16375
16376Patch 8.2.2711
16377Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16378Solution: Add a check for being in a closed fold. (closes #8062)
16379Files: src/normal.c, src/testdir/test_fold.vim
16380
16381Patch 8.2.2712
16382Problem: Memory leak when adding to a blob fails.
16383Solution: Clear the second typval before returning.
16384Files: src/eval.c
16385
16386Patch 8.2.2713
16387Problem: Folding code not sufficiently tested.
16388Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16389Files: src/testdir/test_fold.vim
16390
16391Patch 8.2.2714
16392Problem: Filetype pattern ending in star is too far up.
16393Solution: Move down to where patterns ending in star belong. (closes #8065)
16394Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16395
16396Patch 8.2.2715
16397Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16398Solution: Check for the channel feature. (closes #8063)
16399Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16400
16401Patch 8.2.2716
16402Problem: The equivalent class regexp is missing some characters.
16403Solution: Update the list of equivalent characters. (Dominique Pellé,
16404 closes #8029)
16405Files: src/regexp_bt.c, src/regexp_nfa.c,
16406 src/testdir/test_regexp_utf8.vim
16407
16408Patch 8.2.2717
16409Problem: GTK menu items don't show a tooltip.
16410Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16411 closes #8067, closes #7810)
16412Files: src/gui_gtk.c
16413
16414Patch 8.2.2718
16415Problem: Vim9: no explicit test for using a global function without the g:
16416 prefix.
16417Solution: Add a test case.
16418Files: src/testdir/test_vim9_func.vim
16419
16420Patch 8.2.2719
16421Problem: Vim9: appending to dict item doesn't work in a :def function.
16422Solution: Implement assignment with operator on indexed item.
16423Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16424
16425Patch 8.2.2720
16426Problem: GTK menu tooltip moves the cursor.
16427Solution: Position the cursor after displaying the tooltip. Do not show the
16428 tooltip when editing the command line.
16429Files: src/gui_gtk.c
16430
16431Patch 8.2.2721
16432Problem: Vim9: cannot have a linebreak inside a lambda.
16433Solution: Compile the expression before the arguments.
16434Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16435
16436Patch 8.2.2722
16437Problem: Vim9: crash when using LHS with double index.
16438Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16439 Fix confusing error message for missing dict item.
16440Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16441
16442Patch 8.2.2723 (after 8.2.2722)
16443Problem: Assignment test fails.
16444Solution: Adjust error number.
16445Files: src/testdir/test_let.vim
16446
16447Patch 8.2.2724 (after 8.2.2722)
16448Problem: Vim9: concatenating to list in dict not tested.
16449Solution: Add a test. (issue #8068)
16450Files: src/testdir/test_vim9_assign.vim
16451
16452Patch 8.2.2725
16453Problem: Vim9: message about compiling is wrong when using try/catch.
16454Solution: Store the compiling flag with the message. (closes #8071)
16455Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16456 src/testdir/test_vim9_func.vim
16457
16458Patch 8.2.2726
16459Problem: Confusing error message with white space before comma in the
16460 arguments of a function declaration.
16461Solution: Give a specific error message. (closes #2235)
16462Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16463
16464Patch 8.2.2727 (after 8.2.2726)
16465Problem: Function test fails.
16466Solution: Adjust expected error number.
16467Files: src/testdir/test_user_func.vim
16468
16469Patch 8.2.2728
16470Problem: Special key names don't work if 'isident' is cleared.
16471Solution: Add vim_isNormalIDc() and use it for special key names.
16472 (closes #2389)
16473Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16474 src/testdir/test_mapping.vim
16475
16476Patch 8.2.2729
16477Problem: Vim9: wrong error message for referring to legacy script variable.
16478Solution: Do allow referring to a variable in legacy script without "s:" if
16479 it exists at compile time. (closes #8076)
16480Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16481
16482Patch 8.2.2730
16483Problem: Coverity complains about not restoring character.
16484Solution: Also restore the character in case of an error.
16485Files: src/vim9compile.c
16486
16487Patch 8.2.2731
16488Problem: Mac: SF symbols are not displayed properly.
16489Solution: Add custom range to list of double-width characters. (Yee Cheng
16490 Chin, closes #8077)
16491Files: src/mbyte.c
16492
16493Patch 8.2.2732
16494Problem: Prompt for s///c in Ex mode can be wrong.
16495Solution: Position the cursor before showing the prompt. (closes #8073)
16496Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16497
16498Patch 8.2.2733
16499Problem: Detecting Lua version is not reliable.
16500Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16501Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16502 src/testdir/test_lua.vim
16503
16504Patch 8.2.2734
16505Problem: Vim9: cannot use legacy script-local var from :def function.
16506Solution: Do not insist on using "s:" prefix. (closes #8076)
16507Files: src/vim9compile.c, src/proto/vim9compile.pro,
16508 src/testdir/test_vim9_expr.vim
16509
16510Patch 8.2.2735
16511Problem: Vim9: function reference found with prefix, not without.
16512Solution: Also find function reference without prefix.
16513Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16514
16515Patch 8.2.2736
16516Problem: Vim9: for loop over string is a bit slow.
16517Solution: Avoid using strlen().
16518Files: src/vim9execute.c
16519
16520Patch 8.2.2737
16521Problem: Status line not updated when local 'statusline' option set.
16522Solution: Check the 'statusline' option of each window.
16523Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16524 src/testdir/dumps/Test_statusline_mode_1.dump,
16525 src/testdir/dumps/Test_statusline_mode_2.dump
16526
16527Patch 8.2.2738
16528Problem: Extending a list with itself can give wrong result.
16529Solution: Remember the item before where the insertion happens and skip to
16530 after the already inserted items. (closes #1112)
16531Files: src/list.c, src/testdir/test_listdict.vim
16532
16533Patch 8.2.2739
16534Problem: Vim9: a lambda accepts too many arguments at the script level.
16535Solution: Do not set uf_varargs in Vim9 script.
16536Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16537 src/testdir/test_vim9_script.vim
16538
16539Patch 8.2.2740
16540Problem: Vim9: lambda with varargs doesn't work.
16541Solution: Make "...name" work. Require type to be a list.
16542Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16543 src/errors.h, src/testdir/test_vim9_func.vim,
16544 src/testdir/test_vim9_script.vim
16545
16546Patch 8.2.2741
16547Problem: Vim9: Partial call does not check right arguments.
16548Solution: Adjust the offset for whether the partial is before or after the
16549 arguments. (closes #8091)
16550Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16551
16552Patch 8.2.2742
16553Problem: Vim9: when compiling a function fails it is cleared.
16554Solution: Keep the function lines, prevent execution with a different
16555 status. (closes #8093)
16556Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16557 src/testdir/test_vim9_func.vim
16558
16559Patch 8.2.2743
16560Problem: Vim9: function state stuck when compiling with ":silent!".
16561Solution: Check for uf_def_status to be UF_COMPILING.
16562Files: src/vim9compile.c, src/message.c, src/globals.h,
16563 src/testdir/test_vim9_func.vim
16564
16565Patch 8.2.2744
16566Problem: Vim9: no way to explicitly ignore an argument.
16567Solution: Use the underscore as the name for an ignored argument.
16568Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16569 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16570
16571Patch 8.2.2745 (after 8.2.2744)
16572Problem: Vim9: missing part of the argument change.
16573Solution: Add missing changes.
16574Files: src/userfunc.c
16575
16576Patch 8.2.2746 (after 8.2.2745)
16577Problem: Check for duplicate arguments does not work.
16578Solution: Correct condition.
16579Files: src/userfunc.c
16580
16581Patch 8.2.2747
16582Problem: Vim9: not always an error for too many function arguments.
16583Solution: Check for getting too many arguments.
16584Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
16585 src/testdir/test_vim9_builtin.vim
16586
16587Patch 8.2.2748
16588Problem: Vim9: memory leak when calling :def function fails.
16589Solution: Jump to failed_early instead of returning.
16590Files: src/vim9execute.c
16591
16592Patch 8.2.2749
16593Problem: Vim9: test for error can be a bit flaky.
16594Solution: Increase the wait time a bit.
16595Files: src/testdir/test_vim9_script.vim
16596
16597Patch 8.2.2750
16598Problem: Vim9: error for using underscore in nested function.
16599Solution: Do not consider "_" already defined. (closes #8096)
16600Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16601
16602Patch 8.2.2751
16603Problem: Coverity warns for using NULL pointer.
16604Solution: Check for NULL in calling function.
16605Files: src/userfunc.c
16606
16607Patch 8.2.2752
16608problem: coverity reports unreachable code.
16609Solution: Remove check for positive index.
16610Files: src/typval.c
16611
16612Patch 8.2.2753
16613Problem: Vim9: cannot ignore an item in assignment unpack.
16614Solution: Allow using an underscore.
16615Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
16616 src/vim9compile.c, src/testdir/test_vim9_assign.vim
16617
16618Patch 8.2.2754
16619Problem: :sleep! does not always hide the cursor.
16620Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
16621 closes #7998)
16622Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
16623 src/term.c
16624
16625Patch 8.2.2755
16626Problem: Vim9: no error for using a number in a condition.
16627Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
16628 (closes #7644)
16629Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
16630 src/testdir/test_vim9_disassemble.vim
16631
16632Patch 8.2.2756
16633Problem: Vim9: blob index and slice not implemented yet.
16634Solution: Implement blob index and slice.
16635Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
16636 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
16637
16638Patch 8.2.2757
16639Problem: Vim9: blob tests for legacy and Vim9 script are separate.
16640Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
16641Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
16642 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
16643 src/testdir/vim9.vim, src/testdir/test_blob.vim
16644
16645Patch 8.2.2758
16646Problem: Vim9: wrong line number for autoload function with wrong name.
16647Solution: Set and restore SOURCING_LNUM. (closes #8100)
16648Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16649
16650Patch 8.2.2759
16651Problem: Vim9: for loop infers type of loop variable.
16652Solution: Do not get the member type. (closes #8102)
16653Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
16654 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
16655 src/testdir/test_vim9_script.vim
16656
16657Patch 8.2.2760
16658Problem: Vim9: no error for changing a for loop variable.
16659Solution: Make the loop variable read-only. (issue #8102)
16660Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
16661 src/testdir/test_vim9_script.vim
16662
16663Patch 8.2.2761
16664Problem: Using "syn include" does not work properly.
16665Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
16666 closes #8104)
16667Files: src/syntax.c, src/testdir/test_syntax.vim
16668
16669Patch 8.2.2762
16670Problem: Vim9: function line truncated when compiling.
16671Solution: Copy the line before processing it. (closes #8101)
16672Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
16673
16674Patch 8.2.2763
16675Problem: Vim9: cannot use type in for loop unpack at script level.
16676Solution: Advance over the type name.
16677Files: src/evalvars.c, src/testdir/test_vim9_script.vim
16678
16679Patch 8.2.2764
16680Problem: Memory leak when default function argument is allocated.
16681Solution: Free the expression result.
16682Files: src/userfunc.c, src/testdir/test_functions.vim
16683
16684Patch 8.2.2765
16685Problem: Vim9: not all blob operations work.
16686Solution: Run more tests also with Vim9 script and :def functions. Fix what
16687 doesn't work.
16688Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
16689 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
16690
16691Patch 8.2.2766 (after 8.2.2765)
16692Problem: Test failure.
16693Solution: Add change to Vim9 compilation error message.
16694Files: src/vim9compile.c
16695
16696Patch 8.2.2767 (after 8.2.2765)
16697Problem: Compiler warning for unused argument.
16698Solution: Remove the argument.
16699Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
16700
16701Patch 8.2.2768
16702Problem: Vim9: memory leak with blob range error.
16703Solution: Jump to end instead of returning.
16704Files: src/vim9compile.c
16705
16706Patch 8.2.2769
16707Problem: Modula-3 config files are not recognized.
16708Solution: Add filetype patterns. (Doug Kearns)
16709Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16710
16711Patch 8.2.2770
16712Problem: Vim9: type of loop variable is not used.
16713Solution: Parse and check the variable type. (closes #8107)
16714Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16715
16716Patch 8.2.2771
16717Problem: Vim9: assignment not recognized if declaration was skipped.
16718Solution: Also recognized an assignment if the variable does not exist.
16719 (closes #8108)
16720Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
16721
16722Patch 8.2.2772
16723Problem: Problems when restoring 'runtimepath' from a session file.
16724Solution: Add the "skiprtp" item in 'sessionoptions'.
16725Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
16726 src/option.h, src/vim.h, src/option.c,
16727 src/testdir/test_mksession.vim
16728
16729Patch 8.2.2773
16730Problem: PSL filetype not recognized.
16731Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
16732Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16733
16734Patch 8.2.2774
16735Problem: Vim9: cannot import an existing name even when using "as".
16736Solution: Do not check for an existing name when using "as". (closes #8113)
16737Files: src/vim9script.c, src/testdir/test_vim9_script.vim
16738
16739Patch 8.2.2775
16740Problem: Vim9: wrong line number used for some commands.
16741Solution: For :exe, :echo and the like use the line number of the start of
16742 the command. When calling a function set the line number in the
16743 script context.
16744Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
16745 src/testdir/test_vim9_script.vim
16746
16747Patch 8.2.2776
16748Problem: :mksession uses current value of 'splitbelow' and 'splitright'
16749 even though "options" is not in 'sessionoptions'. (Maxim Kim)
16750Solution: Save and restore the values, instead of setting to the current
16751 value. (closes #8119)
16752Files: src/session.c, src/testdir/test_mksession.vim
16753
16754Patch 8.2.2777
16755Problem: Vim9: blob operations not tested in all ways.
16756Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
16757 index work.
16758Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
16759 src/proto/blob.pro, src/testdir/test_blob.vim,
16760 src/testdir/test_vim9_disassemble.vim
16761
16762Patch 8.2.2778
16763Problem: Problem restoring 'packpath' in session.
16764Solution: Let "skiprtp" also apply to 'packpath'.
16765Files: runtime/doc/options.txt, src/option.c,
16766 src/testdir/test_mksession.vim
16767
16768Patch 8.2.2779
16769Problem: Memory access error in remove() for blob.
16770Solution: Adjust length for memmove().
16771Files: src/blob.c
16772
16773Patch 8.2.2780
16774Problem: Vim9: for loop over blob doesn't work.
16775Solution: Make it work.
16776Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
16777
16778Patch 8.2.2781
16779Problem: Add() silently skips when adding to null list or blob.
16780Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
16781 with list and dict.
16782Files: src/list.c, src/evalvars.c, src/vim9execute.c,
16783 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
16784
16785Patch 8.2.2782
16786Problem: Vim9: blob operations not fully tested.
16787Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
16788 insert() give an error for a null blob, like add().
16789Files: src/list.c, src/testdir/test_blob.vim,
16790 src/testdir/test_vim9_builtin.vim
16791
16792Patch 8.2.2783
16793Problem: Duplicate code for setting byte in blob, blob test may fail.
16794Solution: Call blob_set_append(). Test sort failure with "N".
16795Files: src/eval.c, src/testdir/test_blob.vim
16796
16797Patch 8.2.2784
16798Problem: Vim9: cannot use \=expr in :substitute.
16799Solution: Compile the expression into instructions and execute them when
16800 invoked.
16801Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
16802 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
16803 src/proto/ex_cmds.pro, src/globals.h,
16804 src/testdir/test_vim9_cmd.vim,
16805 src/testdir/test_vim9_disassemble.vim
16806
16807Patch 8.2.2785
16808Problem: Vim9: cannot redirect to local variable.
16809Solution: Compile :redir when redirecting to a variable.
16810Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
16811 src/evalvars.c, src/proto/evalvars.pro,
16812 src/testdir/test_vim9_cmd.vim,
16813 src/testdir/test_vim9_disassemble.vim
16814
16815Patch 8.2.2786
16816Problem: Vim9: memory leak when using :s with expression.
16817Solution: Clean up the instruction list.
16818Files: src/vim9compile.c
16819
16820Patch 8.2.2787
16821Problem: MS-Windows: crash when using :echoconsole.
16822Solution: Do not write a NUL when it's already there.
16823Files: src/os_win32.c
16824
16825Patch 8.2.2788
16826Problem: Raku is now the only name what once was called perl6.
16827Solution: Adjust the filetype detection. (closes #8120)
16828Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16829
16830Patch 8.2.2789
16831Problem: Vim9: using \=expr in :substitute does not handle jumps.
16832Solution: Start with instruction count zero. (closes #8128)
16833Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16834
16835Patch 8.2.2790 (after 8.2.2788)
16836Problem: filetype test fails
16837Solution: Also update the scripts detection
16838Files: runtime/scripts.vim
16839
16840Patch 8.2.2791
16841Problem: Vim9: memory leak when using \=expr in :substitute.
16842Solution: Do not allocate a new instruction list.
16843Files: src/vim9compile.c
16844
16845Patch 8.2.2792
16846Problem: Vim9: :disas shows instructions for default args but no text.
16847Solution: Show the expression test above the default argument instructions.
16848 (closes #8129)
16849Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
16850
16851Patch 8.2.2793
16852Problem: MS-Windows: string literals are writable with MSVC.
16853Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
16854 closes #8133)
16855Files: src/Make_mvc.mak, src/os_win32.c
16856
16857Patch 8.2.2794
16858Problem: Linux users don't know how to get ncurses.
16859Solution: Add the name of the package. (closes #8132)
16860Files: src/configure.ac, src/auto/configure
16861
16862Patch 8.2.2795
16863Problem: Coverity warns for not using return value.
16864Solution: Check the return value of compiling the substitute expression.
16865Files: src/vim9compile.c
16866
16867Patch 8.2.2796
16868Problem: Vim9: redir to variable does not accept an index.
16869Solution: Make the index work.
16870Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16871
16872Patch 8.2.2797
16873Problem: Search highlight disappears in the Visual area.
16874Solution: Combine the search attributes. (closes #8134)
16875Files: src/drawline.c, src/testdir/test_search.vim,
16876 src/testdir/dumps/Test_hlsearch_visual_1.dump
16877
16878Patch 8.2.2798
16879Problem: Vim9: redir to variable with append does not accept an index.
16880Solution: Make the appending work.
16881Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16882
16883Patch 8.2.2799
16884Problem: Vim9: type casts don't fully work at the script level.
16885Solution: Implement the missing piece.
16886Files: src/eval.c, src/testdir/test_vim9_expr.vim
16887
16888Patch 8.2.2800
16889Problem: After a timer displays text a hit-enter prompt is given.
16890Solution: Reset msg_didany and need_wait_return. (closes #8136)
16891Files: src/drawscreen.c, src/testdir/test_timers.vim
16892
16893Patch 8.2.2801
16894Problem: Free Pascal makefile not recognized.
16895Solution: Add the fpcmake filetype. (Doug Kearns)
16896Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16897
16898Patch 8.2.2802
16899Problem: Vim9: illegal memory access.
16900Solution: Check for comment before checking for white space. (closes #8142)
16901Files: src/eval.c, src/testdir/test_vim9_func.vim
16902
16903Patch 8.2.2803
16904Problem: Flicker when the popup menu has an info popup.
16905Solution: Avoid drawing over the popup when it's going to be redrawn in the
16906 same position. (closes #8131) Also avoid redrawing the scrollbar.
16907Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
16908 src/globals.h
16909
16910Patch 8.2.2804
16911Problem: Setting buffer local mapping with mapset() changes global mapping.
16912Solution: Only set the local mapping. (closes #8143)
16913Files: src/map.c, src/testdir/test_maparg.vim
16914
16915Patch 8.2.2805
16916Problem: Vim9: cannot use legacy syntax in Vim9 script.
16917Solution: Add the :legacy command.
16918Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
16919 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
16920 src/vim9compile.c, src/testdir/test_vim9_func.vim,
16921 src/testdir/test_vim9_assign.vim
16922
16923Patch 8.2.2806
16924Problem: Vim9: using "++nr" as a command might not work.
16925Solution: Do not recognize "++" and "--" in a following line as addition or
16926 subtraction.
16927Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
16928 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
16929 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
16930
16931Patch 8.2.2807
16932Problem: Build fails with tiny features.
16933Solution: Use a dummy function for ex_incdec().
16934Files: src/ex_docmd.c
16935
16936Patch 8.2.2808
16937Problem: Vim9: increment and decrement not sufficiently tested.
16938Solution: Add assertions.
16939Files: src/testdir/test_vim9_assign.vim
16940
16941Patch 8.2.2809
16942Problem: Vim9: :def function compilation fails when using :legacy.
16943Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
16944Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16945
16946Patch 8.2.2810
16947Problem: Vim9: crash when calling a function in a substitute expression.
16948Solution: Set the instructions back to the substitute expression
16949 instrunctions. (closes #8148)
16950Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
16951
16952Patch 8.2.2811
16953Problem: Vim9: error for missing white space doesn't say where it is
16954 missing
16955Solution: Mention the command. (closes #8149)
16956Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16957
16958Patch 8.2.2812
16959Problem: Vim9: still crash when using substitute expression.
16960Solution: Put the instruction list in the stack frame. (closes #8154)
16961Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
16962
16963Patch 8.2.2813
16964Problem: Cannot grep using fuzzy matching.
16965Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
16966Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
16967 src/quickfix.c, src/search.c, src/vim.h,
16968 src/testdir/test_quickfix.vim
16969
16970Patch 8.2.2814 (after 8.2.2812)
16971Problem: Vim9: unused variable. (John Marriott)
16972Solution: Adjust #ifdef.
16973Files: src/vim9execute.c
16974
16975Patch 8.2.2815
16976Problem: Status line flickers when redrawing popup menu info.
16977Solution: Do not redraw the status line when the focus is in the popup
16978 window. (issue #8144)
16979Files: src/popupmenu.c
16980
16981Patch 8.2.2816
16982Problem: Vim9: comment below expression in lambda causes problems.
16983Solution: Use a single space for empty and comment lines. (closes #8156)
16984Files: src/eval.c, src/testdir/test_vim9_expr.vim
16985
16986Patch 8.2.2817
16987Problem: Vim9: script sourcing continues after an error.
16988Solution: Make an error in any command in "vim9script" abort sourcing.
16989Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
16990 src/testdir/test_vim9_assign.vim,
16991 src/testdir/test_vim9_func.vim
16992
16993Patch 8.2.2818
16994Problem: No jump added to jumplist when opening terminal in current window.
16995Solution: Call setpcmark(). (closes #8158)
16996Files: src/terminal.c, src/testdir/test_terminal.vim
16997
16998Patch 8.2.2819
16999Problem: Finishing an abbreviation with a multi-byte char may not work.
17000Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17001Files: src/map.c, src/testdir/test_mapping.vim
17002
17003Patch 8.2.2820
17004Problem: Session file may divide by zero.
17005Solution: Avoid writing difide by zero. (closes #8162)
17006Files: src/session.c, src/testdir/test_mksession.vim
17007
17008Patch 8.2.2821
17009Problem: MS-Windows: unnessarily loading libraries when registering OLE.
17010Solution: Skip loading libraries when invoked with "-register".
17011Files: src/main.c, src/globals.h, src/os_win32.c
17012
17013Patch 8.2.2822 (after 8.2.2821)
17014Problem: MS-Windows: unnessarily loading libraries when unregistering OLE.
17015Solution: Also skip loading libraries when invoked with "-unregister". Run
17016 Vim for README.txt with user privileges.
17017Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17018
17019Patch 8.2.2823
17020Problem: MS-Windows: launching Vim from installer doesn't open README.
17021Solution: Adjust the quotes.
17022Files: nsis/gvim.nsi
17023
17024Patch 8.2.2824
17025Problem: MS-Windows: build failure with MSVC.
17026Solution: Adjust the list of distributed files. Add hint about python.
17027 Adjust path for reading runtime files.
17028Files: Filelist, src/testdir/shared.vim,
17029 src/testdir/test_function_lists.vim
17030
17031Patch 8.2.2825
17032Problem: Code in checkreadonly() not fully tested.
17033Solution: Add more tests. (Dominique Pellé, closes #8169)
17034Files: src/testdir/test_excmd.vim
17035
17036Patch 8.2.2826
17037Problem: Compiler warnings for int to size_t conversion. (Randall W.
17038 Morris)
17039Solution: Add type casts.
17040Files: src/map.c, src/quickfix.c
17041
17042Patch 8.2.2827
17043Problem: Test file was not deleted.
17044Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17045Files: src/testdir/test_mksession.vim
17046
17047Patch 8.2.2828
17048Problem: Coverity complains about not checking the rename() return value.
17049Solution: Add "(void)", can't do anything in case of a failure.
17050Files: src/fileio.c
17051
17052Patch 8.2.2829
17053Problem: Some comments are not correct or clear.
17054Solution: Adjust the comments. Add test for cursor position.
17055Files: src/regexp_bt.c, src/regexp_nfa.c,
17056 src/testdir/test_exec_while_if.vim,
17057 src/testdir/test_substitute.vim
17058
17059Patch 8.2.2830
17060Problem: Terminal colors are not updated when 'background' is set.
17061Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17062 closes #8171, closes #8150)
17063Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17064
17065Patch 8.2.2831
17066Problem: Vim9: expandcmd() not tested.
17067Solution: Add a test.
17068Files: src/testdir/test_vim9_builtin.vim
17069
17070Patch 8.2.2832
17071Problem: Operator cancelled by moving mouse when using popup. (Sergey
17072 Vlasov)
17073Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17074Files: src/normal.c
17075
17076Patch 8.2.2833
17077Problem: Two key command cancelled by moving mouse when using popup.
17078 (Sergey Vlasov)
17079Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17080Files: src/getchar.c
17081
17082Patch 8.2.2834
17083Problem: Vim9: :cexpr does not work with local variables.
17084Solution: Compile :cexpr.
17085Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17086 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17087 src/testdir/test_vim9_disassemble.vim
17088
17089Patch 8.2.2835 (after 8.2.2834)
17090Problem: Vim9: leaking memory in :cexpr.
17091Solution: Also free the command line copy.
17092Files: src/vim9compile.c
17093
17094Patch 8.2.2836 (after 8.2.2834)
17095Problem: Build failure without the +quickfix feature. (John Marriott)
17096Solution: Add #ifdef.
17097Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17098
17099Patch 8.2.2837
17100Problem: Various code lines not covered by tests.
17101Solution: Add test cases. (Dominique Pellé, closes #8178)
17102Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17103 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17104 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17105
17106Patch 8.2.2838
17107Problem: File extension .wrap not recognized.
17108Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17109Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17110
17111Patch 8.2.2839
17112Problem: Default redirection missing "ash" and "dash".
17113Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17114Files: runtime/doc/options.txt, src/option.c
17115
17116Patch 8.2.2840
17117Problem: Vim9: member operation not fully tested.
17118Solution: Add a few tests.
17119Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17120
17121Patch 8.2.2841
17122Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
17123 'statusline' are set.
17124Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17125Files: src/os_win32.c
17126
17127Patch 8.2.2842
17128Problem: Vim9: skip argument to searchpair() is not compiled.
17129Solution: Add VAR_INSTR.
17130Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17131 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17132 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17133 src/viminfo.c, src/if_py_both.h, src/json.c,
17134 src/testdir/test_vim9_disassemble.vim,
17135 src/testdir/test_vim9_builtin.vim
17136
17137Patch 8.2.2843 (after 8.2.2842)
17138Problem: Vim9: skip argument to searchpairpos() is not compiled.
17139Solution: Handle like searchpair(). Also for search() and searchpos().
17140Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17141
17142Patch 8.2.2844
17143Problem: Vim9: memory leak when using searchpair().
17144Solution: Free the v_instr field.
17145Files: src/typval.c
17146
17147Patch 8.2.2845
17148Problem: MS-Windows: warning for signed/unsigned comparison.
17149Solution: Add type cast.
17150Files: src/terminal.c
17151
17152Patch 8.2.2846
17153Problem: Vim9: "echo Func()" does not give an error for a function without
17154 a return value.
17155Solution: Give an error. Be more specific about why a value is invalid.
17156Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17157 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17158 src/testdir/test_vim9_cmd.vim
17159
17160Patch 8.2.2847
17161Problem: Perl not tested sufficiently.
17162Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17163Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17164
17165Patch 8.2.2848
17166Problem: Crash when calling partial.
17167Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17168Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17169 src/testdir/test_listdict.vim
17170
17171Patch 8.2.2849
17172Problem: Bufwrite not sufficiently tested.
17173Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17174Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17175
17176Patch 8.2.2850
17177Problem: Recalling commands from history is not tested.
17178Solution: Add tests. (closes #8194)
17179Files: src/testdir/test_cmdline.vim
17180
17181Patch 8.2.2851
17182Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17183 (Naohiro Ono)
17184Solution: Jump to cmdline_not_changed if the command line didn't change.
17185 (closes #8208)
17186Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17187
17188Patch 8.2.2852
17189Problem: Configure can add --as-needed a second time.
17190Solution: Only add --as-needed if not already there. (Natanael Copa,
17191 closes #8189, closes #8181)
17192Files: src/configure.ac, src/auto/configure
17193
17194Patch 8.2.2853 (after 8.2.2851)
17195Problem: Window is not updated after using <Cmd> mapping.
17196Solution: So jump to cmdline_changed but skip autocommand.
17197Files: src/ex_getln.c
17198
17199Patch 8.2.2854
17200Problem: Custom statusline cannot contain % items.
17201Solution: Add "%{% expr %}". (closes #8190)
17202Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17203 src/testdir/test_statusline.vim
17204
17205Patch 8.2.2855
17206Problem: White space after "->" does not give E274.
17207Solution: Do not skip white space in legacy script. (closes #8212)
17208Files: src/eval.c, src/testdir/test_method.vim
17209
17210Patch 8.2.2856
17211Problem: Get readonly error for device that can't be written to.
17212Solution: Check for being able to write first. (closes #8205)
17213Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17214
17215Patch 8.2.2857
17216Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17217Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17218Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17219 src/testdir/test_vim9_builtin.vim
17220
17221Patch 8.2.2858 (after 8.2.2857)
17222Problem: Test fails because of changed error message.
17223Solution: Adjust the expected error message.
17224Files: src/testdir/test_ex_mode.vim
17225
17226Patch 8.2.2859 (after 8.2.2857)
17227Problem: Tcl test fails because of changed error message.
17228Solution: Adjust the expected error message.
17229Files: src/testdir/test_tcl.vim
17230
17231Patch 8.2.2860
17232Problem: Adding a text property causes the whole window to be redawn.
17233Solution: Use changed_lines_buf() to only redraw the affected lines.
17234Files: src/change.c, src/proto/change.pro, src/textprop.c
17235
17236Patch 8.2.2861
17237Problem: Vim9: "legacy return" is not recognized as a return statement.
17238Solution: Specifically check for a return command. (closes #8213)
17239Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17240 src/testdir/test_vim9_expr.vim
17241
17242Patch 8.2.2862
17243Problem: Removing a text property causes the whole window to be redawn.
17244Solution: Use changed_lines_buf() to only redraw the affected lines.
17245Files: src/textprop.c
17246
17247Patch 8.2.2863 (after 8.2.2862)
17248Problem: Removing a text property does not redraw optimally.
17249Solution: Only redraw the lines that mithg actually have been changed.
17250Files: src/textprop.c
17251
17252Patch 8.2.2864
17253Problem: Vim9: crash when using inline function.
17254Solution: Check for NULL pointer. Make using inline function work inside
17255 lambda. (closes #8217)
17256Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17257
17258Patch 8.2.2865 (after 8.2.2864)
17259Problem: Skipping over function body fails.
17260Solution: Do not define the function when skipping.
17261Files: src/userfunc.c
17262
17263Patch 8.2.2866
17264Problem: Vim9: memory leak when using inline function.
17265Solution: Remember what strings to free.
17266Files: src/userfunc.c, src/structs.h, src/eval.c
17267
17268Patch 8.2.2867 (after 8.2.2866)
17269Problem: Build failure.
17270Solution: Add missing part of the change.
17271Files: src/globals.h
17272
17273Patch 8.2.2868
17274Problem: Vim9: When executing a compiled expression the trylevel at start
17275 is changed but not restored. (closes #8214)
17276Solution: Restore the trylevel at start.
17277Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17278
17279Patch 8.2.2869
17280Problem: Using unified diff is not tested.
17281Solution: Test all cases also with unified diff. (issue #8197)
17282Files: src/testdir/test_diffmode.vim
17283
17284Patch 8.2.2870
17285Problem: CmdlineChange event triggered twice for CTRL-R.
17286Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17287 (closes #8219)
17288Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17289
17290Patch 8.2.2871
17291Problem: Unnessary VIM_ISDIGIT() calls, badly indented code.
17292Solution: Call skipdigits() on the next character. Improve indenting.
17293 (Dominique Pellé, closes #8227)
17294Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17295 src/ops.c, src/tag.c, src/vim9compile.c
17296
17297Patch 8.2.2872
17298Problem: Python tests fail without the channel feature.
17299Solution: Add a feature check. (Dominique Pellé, closes #8226)
17300Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17301
17302Patch 8.2.2873
17303Problem: Not enough tests for writing buffers.
17304Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17305Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17306 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17307
17308Patch 8.2.2874
17309Problem: MS-Windows: screen redraws too often.
17310Solution: Do not redraw when peeking for a character. (closes #8230,
17311 closes #8211)
17312Files: src/os_win32.c
17313
17314Patch 8.2.2875
17315Problem: Cancelling inputlist() after a digit does not return zero.
17316Solution: Always return zero when cancelling. (closes #8231)
17317Files: src/misc1.c, src/testdir/test_functions.vim
17318
17319Patch 8.2.2876
17320Problem: Configure cannot detect Python 3.10.
17321Solution: Use sys.version_info. (closes #8233)
17322Files: src/configure.ac, src/auto/configure
17323
17324Patch 8.2.2877
17325Problem: Insufficient tests for popup menu rightleft.
17326Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17327Files: src/testdir/test_popup.vim,
17328 src/testdir/dumps/Test_pum_rightleft_01.dump,
17329 src/testdir/dumps/Test_pum_rightleft_02.dump,
17330 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17331 src/testdir/dumps/Test_pum_scrollbar_02.dump
17332
17333Patch 8.2.2878
17334Problem: Vim9: for loop list unpack only allows for one "_".
17335Solution: Drop the value when the variable is "_". (closes #8232)
17336Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17337
17338Patch 8.2.2879
17339Problem: File extension .hsig not recognized.
17340Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17341 closes #8236)
17342Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17343
17344Patch 8.2.2880
17345Problem: Unified diff fails if actually used.
17346Solution: Invoke :diffupdate in the test. Fix the check for working external
17347 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17348Files: src/diff.c, src/testdir/test_diffmode.vim
17349
17350Patch 8.2.2881
17351Problem: Various pieces of code not covered by tests.
17352Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17353Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17354 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17355 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17356 src/testdir/test_vim9_func.vim
17357
17358Patch 8.2.2882
17359Problem: Vim9: memory leak when lambda has an error.
17360Solution: Free the list of argument types on failure.
17361Files: src/userfunc.c
17362
17363Patch 8.2.2883
17364Problem: MS-Windows manifest file name is misleading.
17365Solution: Rename the file. (closes #8241)
17366Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17367 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17368
17369Patch 8.2.2884
17370Problem: Not enough cscope code is covered by tests.
17371Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17372Files: src/testdir/test_cscope.vim
17373
17374Patch 8.2.2885
17375Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17376Solution: Match end of line if column is MAXCOL. (closes #8238)
17377Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17378
17379Patch 8.2.2886
17380Problem: Various pieces of code not covered by tests.
17381Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17382Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17383 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17384 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17385 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17386
17387Patch 8.2.2887
17388Problem: Crash when passing null string to fullcommand().
17389Solution: Check for NULL pointer. (closes #8256)
17390Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17391
17392Patch 8.2.2888
17393Problem: Vim9: "k" command recognized in Vim9 script.
17394Solution: Do not recognize "k" or "s" and "d" with flags.
17395Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17396 src/testdir/test_vim9_script.vim
17397
17398Patch 8.2.2889
17399Problem: Typo and verbose comment in Makefiles.
17400Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17401Files: Makefile, src/testdir/Makefile
17402
17403Patch 8.2.2890
17404Problem: Text property duplicated when data block splits.
17405Solution: Do not continue text prop from previous line. (closes #8261)
17406Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17407
17408Patch 8.2.2891
17409Problem: Cannot build with Perl 5.34.
17410Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17411 closes #8250)
17412Files: src/if_perl.xs
17413
17414Patch 8.2.2892
17415Problem: Error message contains random characters.
17416Solution: Pass the right pointer to error_white_both(). (closes #8272,
17417 closes #8263)
17418Files: src/eval.c, src/testdir/test_vim9_expr.vim
17419
17420Patch 8.2.2893
17421Problem: Multi-byte text in popup title shows up wrong.
17422Solution: Use the character width instead of the byte length. (Ralf Schandl,
17423 closes #8267, closes #8264)
17424Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17425 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17426
17427Patch 8.2.2894
17428Problem: MS-Windows: using enc_locale() for strftime() might not work.
17429Solution: Use wcsftime(). (Ken Takata, closes #8271)
17430Files: src/time.c
17431
17432Patch 8.2.2895
17433Problem: Vim9: random characters appear in some error messages.
17434Solution: Pass the correct pointer. (closes #8277)
17435Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17436
17437Patch 8.2.2896
17438Problem: Spellfile functionality not fully tested.
17439Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17440 closes #8270)
17441Files: src/testdir/test_spellfile.vim
17442
17443Patch 8.2.2897
17444Problem: Vim9: can use reserved words at the script level.
17445Solution: Check variable names for reserved words. (closes #8253)
17446Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17447 src/eval.c, src/testdir/test_vim9_assign.vim
17448
17449Patch 8.2.2898
17450Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17451Solution: Call before_quit_autocmds(). (closes #8242)
17452Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17453
17454Patch 8.2.2899
17455Problem: Appveyor script does not detect nmake failure.
17456Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17457Files: ci/appveyor.bat
17458
17459Patch 8.2.2900
17460Problem: QuitPre is triggered before :wq writes the file, which is
17461 different from other commands.
17462Solution: Trigger QuitPre after writing the file. (closes #8279)
17463Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17464
17465Patch 8.2.2901
17466Problem: Some operators not fully tested.
17467Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17468Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17469 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17470 src/testdir/test_visual.vim
17471
17472Patch 8.2.2902
17473Problem: Spellfile functionality not fully tested.
17474Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17475 closes #8283)
17476Files: src/testdir/test_spellfile.vim
17477
17478Patch 8.2.2903
17479Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17480Solution: Don't add space for showbreak twice. (Christian Brabandt,
17481 closes #8262)
17482Files: src/drawline.c, src/testdir/test_display.vim
17483
17484Patch 8.2.2904
17485Problem: "g$" causes scroll if half a double width char is visible.
17486Solution: Advance to the last fully visible character. (closes #8254)
17487Files: src/normal.c, src/testdir/test_normal.vim
17488
17489Patch 8.2.2905
17490Problem: No error when defaults.vim cannot be loaded.
17491Solution: Add an error message. (Christian Brabandt, closes #8248)
17492Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17493 src/testdir/test_startup.vim
17494
17495Patch 8.2.2906 (after 8.2.2905)
17496Problem: ASAN reports errors for test_startup for unknown reasons.
17497Solution: Temporarily disable the new test.
17498Files: src/testdir/test_startup.vim
17499
17500Patch 8.2.2907
17501Problem: Memory leak when running out of memory.
17502Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17503Files: src/term.c
17504
17505Patch 8.2.2908
17506Problem: Crash when using a terminal popup window from the cmdline window.
17507Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17508 (closes #8286)
17509Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17510 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17511
17512Patch 8.2.2909
17513Problem: Build error with non-Unix system.
17514Solution: Always include limits.h.
17515Files: src/vim.h
17516
17517Patch 8.2.2910
17518Problem: Test for cmdline window and terminal fails on MS-Windows.
17519Solution: Skip the test on MS-Windows.
17520Files: src/testdir/test_cmdline.vim
17521
17522Patch 8.2.2911
17523Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17524Solution: Use the value of vi_curswant. (closes #8285)
17525Files: src/regexp.c, src/testdir/test_search.vim,
17526 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17527
17528Patch 8.2.2912
17529Problem: MS-Windows: most users expect using Unicode.
17530Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17531 closes #3907)
17532Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17533 src/testdir/test_writefile.vim
17534
17535Patch 8.2.2913
17536Problem: MS-Windows conpty supports using mouse events.
17537Solution: When enabling the mouse enable mouse input and disable quick edit
17538 mode. (Wez Furlong, closes #8280)
17539Files: src/os_win32.c
17540
17541Patch 8.2.2914
17542Problem: Cannot paste a block without adding padding.
17543Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17544 Brabandt, closes #8289)
17545Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17546 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17547 src/testdir/test_visual.vim
17548
17549Patch 8.2.2915
17550Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17551Solution: Use the system encoding. (Ken Takata, closes #8300)
17552Files: src/mbyte.c, runtime/doc/options.txt
17553
17554Patch 8.2.2916
17555Problem: Operators are not fully tested.
17556Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17557Files: src/ops.c, src/testdir/test_netbeans.vim,
17558 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17559
17560Patch 8.2.2917
17561Problem: Spellfile functionality not fully tested.
17562Solution: Add tests for SFX with removal of characters, spelling
17563 suggestions with NOBREAK and others. (Dominique Pellé,
17564 closes #8293)
17565Files: src/testdir/test_spellfile.vim
17566
17567Patch 8.2.2918
17568Problem: Builtin function can be shadowed by global variable.
17569Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17570 closes #8302)
17571Files: src/eval.c, src/testdir/test_functions.vim
17572
17573Patch 8.2.2919
17574Problem: Using ":!command" does not work if the command uses posix_spawn().
17575Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17576Files: src/os_unix.c
17577
17578Patch 8.2.2920
17579Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
17580Solution: Check the key when using extend(). (issue #8302)
17581Files: src/eval.c, src/dict.c, src/proto/dict.pro,
17582 src/testdir/test_functions.vim
17583
17584Patch 8.2.2921
17585Problem: E704 for script local variable is not backwards compatible.
17586 (Yasuhiro Matsumoto)
17587Solution: Only give the error in Vim9 script. Also check for function-local
17588 variable.
17589Files: src/dict.c, src/testdir/test_functions.vim
17590
17591Patch 8.2.2922
17592Problem: Computing array length is done in various ways.
17593Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
17594Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
17595 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
17596 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
17597 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
17598 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
17599 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
17600 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
17601 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
17602 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
17603 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
17604 src/usercmd.c, src/version.c
17605
17606Patch 8.2.2923
17607Problem: EBCDIC build is broken.
17608Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
17609Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
17610
17611Patch 8.2.2924
17612Problem: Superfluous extern declaration.
17613Solution: Delete the declaration. (Ken Takata, closes #8307)
17614Files: src/main.c
17615
17616Patch 8.2.2925
17617Problem: Vim9: line continuation comment uses legacy syntax.
17618Solution: Check for #\ instead of "\. (closes #8295)
17619Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17620
17621Patch 8.2.2926
17622Problem: Vim9: no good error for using :legacy in a :def function.
17623Solution: Give an explicit error where :legacy is not working.
17624 (closes #8309)
17625Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
17626
17627Patch 8.2.2927
17628Problem: Test commented out because it fails with ASAN.
17629Solution: Only skip the test when running with ASAN.
17630Files: src/testdir/test_startup.vim
17631
17632Patch 8.2.2928
17633Problem: The evalfunc.c file is too big.
17634Solution: Move float related functionality to a separate file. (Yegappan
17635 Lakshmanan, closes #8287)
17636Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
17637 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
17638 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
17639 src/proto/eval.pro, src/proto/float.pro
17640
17641Patch 8.2.2929
17642Problem: Accidentally enable tcl by default.
17643Solution: Revert change to Makefile
17644Files: src/Makefile
17645
17646Patch 8.2.2930
17647Problem: When a popup is visible a mouse move my restart Visual mode.
17648Solution: Reset held_button when ending Visual mode. (closes #8318)
17649Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
17650
17651Patch 8.2.2931
17652Problem: Vim9: line continuation comment still uses legacy syntax in one
17653 place.
17654Solution: Check for #\ instead of "\ earlier. (closes #8316)
17655Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17656
17657Patch 8.2.2932 (after 8.2.2930)
17658Problem: Select mode test fails.
17659Solution: Do not always reset the held mouse button.
17660Files: src/mouse.c, src/normal.c, src/proto/normal.pro
17661
17662Patch 8.2.2933
17663Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
17664Solution: Pass -1 to str_to_reg() and fix computing the character width
17665 instead of using the byte length. (Christian Brabandt,
17666 closes #8301, closes #8317)
17667Files: src/clipboard.c, src/mbyte.c, src/register.c
17668
17669Patch 8.2.2934 (after 8.2.2933)
17670Problem: ASAN error when using text from the clipboard.
17671Solution: Get width of each character.
17672Files: src/register.c
17673
17674Patch 8.2.2935 (after 8.2.2934)
17675Problem: Calculating register width is not always needed. (Christian
17676 Brabandt)
17677Solution: Only calculate the width when the type is MBLOCK.
17678Files: src/register.c
17679
17680Patch 8.2.2936
17681Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
17682 Halim)
17683Solution: Include the offset in the 2BOOL command.
17684Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
17685 src/testdir/test_vim9_expr.vim,
17686 src/testdir/test_vim9_disassemble.vim
17687
17688Patch 8.2.2937
17689Problem: Popup test fails if rightleft feature not enabled.
17690Solution: Check that the rightleft feature is available. (Dominique Pellé,
17691 closes #8321)
17692Files: src/testdir/test_popup.vim
17693
17694Patch 8.2.2938
17695Problem: After using motion force from feedkeys() it may not be reset.
17696Solution: Clear motion_force in clearop(). (closes #8323)
17697Files: src/normal.c, src/testdir/test_visual.vim
17698
17699Patch 8.2.2939
17700Problem: GTK: righthand scrollbar does not show with split window.
17701Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
17702 closes #8324)
17703Files: src/gui_gtk.c
17704
17705Patch 8.2.2940
17706Problem: MS-Windows: cannot see the size of the text area when resizing the
17707 gvim window.
17708Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
17709Files: src/gui_w32.c
17710
17711Patch 8.2.2941
17712Problem: Vim9: using `=expr` does not handle a list of strings.
17713Solution: Convert a list to a string and escape each item. (closes #8310)
17714Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17715
17716Patch 8.2.2942
17717Problem: Vim9: internal error when calling function with too few arguments
17718Solution: Check for argument count to be too few. (closes #8325)
17719Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17720
17721Patch 8.2.2943
17722Problem: Vim9: check for argument count ignores default values.
17723Solution: Take default argument values into account.
17724Files: src/vim9execute.c
17725
17726Patch 8.2.2944
17727Problem: Vim9: no error when using job or channel as a string.
17728Solution: Be more strict about conversion to string. (closes #8312)
17729Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
17730 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
17731 src/testdir/test_vim9_builtin.vim
17732
17733Patch 8.2.2945
17734Problem: Some buffer related code is not tested.
17735Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
17736Files: src/termlib.c, src/testdir/test_excmd.vim,
17737 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
17738 src/testdir/test_visual.vim
17739
17740Patch 8.2.2946
17741Problem: Vim9: substitute expression cannot be a List in a :def function.
17742Solution: Use typval2string(). (closes #8330)
17743Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17744
17745Patch 8.2.2947
17746Problem: Build failure without the channel feature.
17747Solution: Add back #ifdef. (John Marriott)
17748Files: src/eval.c
17749
17750Patch 8.2.2948
17751Problem: Substitute() accepts a number but not a float expression.
17752Solution: Also accept a float. (closes #8331)
17753Files: src/typval.c, src/testdir/test_substitute.vim
17754
17755Patch 8.2.2949 (after 8.2.2948)
17756Problem: Tests failing because there is no error for float to string
17757 conversion.
17758Solution: Change the check for failure to check for correct result. Make
17759 some conversions strict in Vim9 script.
17760Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
17761 src/filepath.c, src/testdir/test_eval_stuff.vim,
17762 src/testdir/test_execute_func.vim,
17763 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
17764 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
17765
17766Patch 8.2.2950
17767Problem: Sound code not fully tested.
17768Solution: Add more sound tests. (Dominique Pellé, closes #8332)
17769Files: src/testdir/test_sound.vim
17770
17771Patch 8.2.2951
17772Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
17773Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
17774 instruction.
17775Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
17776 src/testdir/test_vim9_func.vim,
17777 src/testdir/test_vim9_disassemble.vim
17778
17779Patch 8.2.2952
17780Problem: Recover test fails on big endian systems.
17781Solution: Disable the failing test on big endian systems. (Yegappan
17782 Lakshmanan, closes #8335)
17783Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
17784
17785Patch 8.2.2953 (after 8.2.2951)
17786Problem: Vim9: leaking memory when using heredoc script.
17787Solution: Free the first line.
17788Files: src/vim9execute.c
17789
17790Patch 8.2.2954
17791Problem: Short file name extension for Scala not recognized.
17792Solution: Recognize *.sc. (closes #8337)
17793Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17794
17795Patch 8.2.2955
17796Problem: Vim9: using filter in compiled command does not work.
17797Solution: Generate EXEC including the command modifier.
17798Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
17799 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
17800
17801Patch 8.2.2956
17802Problem: Vim9: need to plan for future additions.
17803Solution: Reserve commands for future use: :type, :class, :enum.
17804Files: src/ex_cmds.h, src/ex_cmdidxs.h
17805
17806Patch 8.2.2957
17807Problem: Using getchar() in Vim9 script is problematic.
17808Solution: Add getcharstr(). (closes #8343)
17809Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
17810 src/proto/getchar.pro, src/testdir/test_getchar.vim
17811
17812Patch 8.2.2958 (after 8.2.2957)
17813Problem: Function list test fails.
17814Solution: Add newly added function to the list. Fix typo.
17815Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
17816
17817Patch 8.2.2959
17818Problem: sound_playfile() is not tested on MS-Windows.
17819Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
17820Files: src/sound.c, src/testdir/test_sound.vim
17821
17822Patch 8.2.2960
17823Problem: Swap file recovery not sufficiently tested.
17824Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
17825Files: src/testdir/test_recover.vim
17826
17827Patch 8.2.2961
17828Problem: Keys typed during a :normal command are discarded.
17829Solution: Concatenate saved typeahead and typed kesy. (closes #8340)
17830Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
17831 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
17832
17833Patch 8.2.2962
17834Problem: MS-Windows command line arguments have wrong encoding.
17835Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
17836Files: src/os_win32.c
17837
17838Patch 8.2.2963
17839Problem: GUI: mouse move may start Visual mode with a popup visible.
17840Solution: Add special code for mouse move. (closes #8318)
17841Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
17842
17843Patch 8.2.2964
17844Problem: Vim9: hang when using space after ->. (Naohiro Ono)
17845Solution: Skip over white space to find the function name. (closes #8341)
17846Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17847
17848Patch 8.2.2965
17849Problem: Vim9: crash when calling function that failed to compile.
17850Solution: Fail when trying to call the function. (closes #8344)
17851Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
17852
17853Patch 8.2.2966
17854Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
17855Solution: Fix the cursor position after deleting lines.
17856Files: src/memline.c
17857
17858Patch 8.2.2967
17859Problem: Vim9: crash when using two levels of partials.
17860Solution: Add outer_ref_T and use it in the execution context.
17861Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
17862
17863Patch 8.2.2968 (after 8.2.2967)
17864Problem: Vim9: memory leak
17865Solution: Unreference pt_outer of partial.
17866Files: src/eval.c
17867
17868Patch 8.2.2969
17869Problem: Subtracting from number option fails when result is zero. (Ingo
17870 Karkat)
17871Solution: Reset the string value when using the numeric value.
17872 (closes #8351)
17873Files: src/evalvars.c, src/testdir/test_vimscript.vim
17874
17875Patch 8.2.2970
17876Problem: Python configure check uses deprecated command.
17877Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
17878 closes #8354)
17879Files: src/configure.ac, src/auto/configure
17880
17881Patch 8.2.2971
17882Problem: Cannot yank a block without trailing spaces.
17883Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
17884Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17885 src/ops.c, src/register.c, src/structs.h,
17886 src/testdir/test_visual.vim
17887
17888Patch 8.2.2972
17889Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
17890 Schandl)
17891Solution: Do not try to delete a popup window buffer. (closes #8349)
17892Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
17893
17894Patch 8.2.2973
17895Problem: Fix for recovery and diff mode not tested.
17896Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
17897Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
17898 src/testdir/test_recover.vim
17899
17900Patch 8.2.2974
17901Problem: Greek spell checking uses wrong case folding.
17902Solution: Fold capital sigma depending on whether it is at the end of a
17903 word or not. (closes #299)
17904Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
17905 src/spellsuggest.c
17906
17907Patch 8.2.2975
17908Problem: Vim9: can only use an autoload function name as a string.
17909Solution: Load the autoload script when encountered. (closes #8124)
17910Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
17911 src/testdir/test_vim9_func.vim
17912
17913Patch 8.2.2976 (after 8.2.2975)
17914Problem: Build failure without the +eval feature.
17915Solution: Add #ifdefs.
17916Files: src/scriptfile.c
17917
17918Patch 8.2.2977
17919Problem: Crash when using a null function reference. (Naohiro Ono)
17920Solution: Check for an invalid function name. (closes #8367)
17921Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
17922
17923Patch 8.2.2978 (after 8.2.2977)
17924Problem: Warning for uninitialized variable.
17925Solution: Set return value to FAIL.
17926Files: src/eval.c
17927
17928Patch 8.2.2979
17929Problem: Not all options code is covered by tests.
17930Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
17931Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
17932 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
17933 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
17934 src/testdir/test_window_cmd.vim
17935
17936Patch 8.2.2980
17937Problem: Popup window test is a bit flaky.
17938Solution: Add a redraw command.
17939Files: src/testdir/test_popupwin.vim
17940
17941Patch 8.2.2981
17942Problem: Recovery test is not run on big-endian systems.
17943Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
17944Files: src/testdir/test_recover.vim
17945
17946Patch 8.2.2982
17947Problem: Vim9: future commands are not reserved yet.
17948Solution: Add commands to be implemented later. Make "this" a reserved
17949 name.
17950Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
17951 src/vim9script.c, src/testdir/test_vim9_assign.vim
17952
17953Patch 8.2.2983
17954Problem: Vim9: an inline function requires specifying the return type.
17955Solution: Make the return type optional.
17956Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
17957 src/testdir/test_vim9_func.vim
17958
17959Patch 8.2.2984 (after 8.2.2983)
17960Problem: Vim9: Test fails because of missing return statement.
17961Solution: When type is unknown set type to void.
17962Files: src/vim9compile.c
17963
17964Patch 8.2.2985
17965Problem: Vim9: a compiled function cannot be debugged.
17966Solution: Add initial debugging support.
17967Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
17968 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
17969 src/vim9type.c, src/testdir/test_debugger.vim,
17970 src/testdir/test_vim9_disassemble.vim
17971
17972Patch 8.2.2986
17973Problem: Build failure without the profile feature.
17974Solution: Add #ifdef.
17975Files: src/vim9compile.c
17976
17977Patch 8.2.2987
17978Problem: Build failure with normal features.
17979Solution: Remove #define.
17980Files: src/vim9execute.c
17981
17982Patch 8.2.2988
17983Problem: Vim9: debugger test fails.
17984Solution: Get the debugger instructions when needed.
17985Files: src/vim.h, src/vim9.h
17986
17987Patch 8.2.2989
17988Problem: Vim9: memory leak when debugging a :def function.
17989Solution: Free the debug instructions.
17990Files: src/vim9compile.c
17991
17992Patch 8.2.2990
17993Problem: Jupyter Notebook files are not recognized.
17994Solution: Recognize *.ipynb. (closes #8375)
17995Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17996
17997Patch 8.2.2991
17998Problem: Vim9: no completion for :vim9 and :legacy.
17999Solution: Expand argument as a command. (closes #8377)
18000Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18001
18002Patch 8.2.2992
18003Problem: Vim9: completion for :disassemble is incomplete.
18004Solution: Recognize the "debug" and "profile" arguments.
18005Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18006 src/vim.h, src/testdir/test_cmdline.vim
18007
18008Patch 8.2.2993
18009Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18010 Johnson)
18011Solution: When 'encoding' is "utf-8" use a different default value for
18012 'fileencodings'.
18013Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18014 src/testdir/test_options.vim
18015
18016Patch 8.2.2994
18017Problem: Various code is not fully tested.
18018Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18019Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18020 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18021 src/testdir/test_paste.vim, src/vim9compile.c
18022
18023Patch 8.2.2995
18024Problem: Linker errors with dynamic Python 3.10.
18025Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18026 closes #8356)
18027Files: src/if_python3.c
18028
18029Patch 8.2.2996
18030Problem: Vim9: when debugging cannot inspect local variables.
18031Solution: Make local variables available when debugging.
18032Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18033 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18034
18035Patch 8.2.2997 (after 8.2 2996)
18036Problem: Vim9: disassemble test fails.
18037Solution: Adjust expected output.
18038Files: src/testdir/test_vim9_disassemble.vim
18039
18040Patch 8.2.2998 (after 8.2 2996)
18041Problem: Vim9: disassemble test fails.
18042Solution: Add missing call to lookup_debug_var().
18043Files: src/evalvars.c
18044
18045Patch 8.2.2999
18046Problem: Balloon sometimes does not hide with GTK 3.
18047Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18048Files: src/gui_beval.c
18049
18050Patch 8.2.3000
18051Problem: Vim9: warning for uninitialized variable.
18052Solution: Add initialization. (John Marriott)
18053Files: src/vim9compile.c
18054
18055Patch 8.2.3001
18056Problem: Vim9: memory leak when compilation fails.
18057Solution: Free the list of variable names.
18058Files: src/vim9compile.c
18059
18060Patch 8.2.3002
18061Problem: Vim doesn't abort on a fatal Tcl error.
18062Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18063Files: src/if_tcl.c
18064
18065Patch 8.2.3003
18066Problem: Vim9: closure compiled with wrong compile type.
18067Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18068Files: src/vim9execute.c, src/testdir/test_debugger.vim
18069
18070Patch 8.2.3004
18071Problem: Vim9: error for missing colon given while skipping.
18072Solution: Do not give the error when skipping. (closes #8385)
18073Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18074
18075Patch 8.2.3005
18076Problem: Vim9: using a void value does not give a proper error message.
18077Solution: Give a clear error message. (clodes #8387)
18078Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18079 src/testdir/test_vim9_expr.vim,
18080 src/testdir/test_vim9_disassemble.vim
18081
18082Patch 8.2.3006
18083Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18084Solution: Do not use a NUL to truncate the message, make a copy.
18085 (closes #8388)
18086Files: src/message.c, src/testdir/test_startup.vim
18087
18088Patch 8.2.3007 (after 8.2.3005)
18089Problem: Vim9: test for void value fails.
18090Solution: Adjust expected error. Do not make a copy of void.
18091Files: src/typval.c, src/testdir/test_functions.vim
18092
18093Patch 8.2.3008 (after 8.2.3006)
18094Problem: Startup test may hang.
18095Solution: Add quit command in the script.
18096Files: src/testdir/test_startup.vim
18097
18098Patch 8.2.3009 (after 8.2.3006)
18099Problem: Startup test may hang.
18100Solution: Do not run the test in the GUI.
18101Files: src/testdir/test_startup.vim
18102
18103Patch 8.2.3010
18104Problem: Not enough testing for viminfo code.
18105Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18106Files: src/register.c, src/testdir/test_fileformat.vim,
18107 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18108
18109Patch 8.2.3011
18110Problem: Vim9: cannot get argument values during debugging.
18111Solution: Lookup names in the list of arguments. Put debug instruction
18112 halfway for command.
18113Files: src/vim9compile.c, src/vim9execute.c,
18114 src/testdir/test_debugger.vim
18115
18116Patch 8.2.3012
18117Problem: When 'rightleft' is set the line number is sometimes drawn
18118 reversed.
18119Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18120 closes #8391)
18121Files: src/drawline.c, src/testdir/test_number.vim
18122
18123Patch 8.2.3013
18124Problem: Vim: when debugging only the first line of a command using line
18125 continuation is displayed.
18126Solution: Find the next command and concatenate lines until that one.
18127 (closes #8392)
18128Files: src/vim9execute.c, src/testdir/test_debugger.vim
18129
18130Patch 8.2.3014
18131Problem: Coverity warns for freeing static string.
18132Solution: Do not assign static string to pointer. (Dominique Pellé,
18133 closes #8397)
18134Files: src/vim9execute.c
18135
18136Patch 8.2.3015
18137Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18138Solution: Accent a number or a string. (closes #8396)
18139Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18140 src/testdir/test_vim9_assign.vim
18141
18142Patch 8.2.3016
18143Problem: Confusing error when expression is followed by comma.
18144Solution: Give a different error for trailing text. (closes #8395)
18145Files: src/eval.c, src/testdir/test_let.vim,
18146 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18147 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18148 src/testdir/test_vimscript.vim
18149
18150Patch 8.2.3017
18151Problem: Vim9: debugger shows too many lines.
18152Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18153Files: src/vim9execute.c, src/testdir/test_debugger.vim
18154
18155Patch 8.2.3018
18156Problem: Formatting using quickfixtextfunc is lost when updating location
18157 lists for different buffers. (Yorick Peterse)
18158Solution: Use the right window for the locaiton list. (Yegappan Lakshmanan,
18159 closes #8400, closes #8403)
18160Files: src/quickfix.c, src/testdir/test_quickfix.vim
18161
18162Patch 8.2.3019
18163Problem: Location list only has the start position.
18164Solution: Make it possible to add an end position. (Shane-XB-Qian,
18165 closes #8393)
18166Files: runtime/doc/eval.txt, src/quickfix.c,
18167 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18168 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18169 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18170 src/testdir/test_vim9_expr.vim
18171
18172Patch 8.2.3020
18173Problem: Unreachable code.
18174Solution: Remove the code. (closes #8406)
18175Files: src/ex_docmd.c
18176
18177Patch 8.2.3021
18178Problem: Spaces allowed between option name and "!", "?", etc.
18179Solution: Disallow spaces in Vim9 script, it was not documented.
18180 (closes #8408)
18181Files: src/option.c, src/testdir/test_vim9_script.vim
18182
18183Patch 8.2.3022
18184Problem: Available encryption methods are not strong enough.
18185Solution: Add initial support for xchaha20. (Christian Brabandt,
18186 closes #8394)
18187Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18188 runtime/doc/options.txt, runtime/doc/various.txt,
18189 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18190 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18191 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18192 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18193 src/memline.c, src/option.c, src/optionstr.c,
18194 src/proto/blowfish.pro, src/proto/crypt.pro,
18195 src/proto/crypt_zip.pro, src/structs.h,
18196 src/testdir/samples/crypt_sodium_invalid.txt,
18197 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18198
18199Patch 8.2.3023
18200Problem: Vim9: arguments for execute() not checked at compile time.
18201Solution: Add a function to check the argument types.
18202Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18203
18204Patch 8.2.3024 (after 8.2.3023)
18205Problem: execute() function test fails.
18206Solution: Adjust test for different error.
18207Files: src/testdir/test_execute_func.vim
18208
18209Patch 8.2.3025
18210Problem: Not enough tests for quickfix end_col and end_lnum.
18211Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18212Files: src/testdir/test_quickfix.vim
18213
18214Patch 8.2.3026
18215Problem: Vim9: cannot set breakpoint in compiled function.
18216Solution: Check for breakpoint when calling a function.
18217Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18218 src/debugger.c, src/testdir/test_debugger.vim
18219
18220Patch 8.2.3027
18221Problem: Vim9: breakpoint in compiled function not always checked.
18222Solution: Check for breakpoint when calling compiled function from compiled
18223 function.
18224Files: src/vim9execute.c, src/testdir/test_debugger.vim
18225
18226Patch 8.2.3028
18227Problem: GUI mouse events not tested.
18228Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18229 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18230Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18231 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18232 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18233 src/testing.c
18234
18235Patch 8.2.3029
18236Problem: Vim9: crash when using operator and list unpack assignment.
18237 (Naohiro Ono)
18238Solution: Get variable value before operation. (closes #8416)
18239Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18240 src/testdir/test_vim9_assign.vim,
18241 src/testdir/test_vim9_disassemble.vim
18242
18243Patch 8.2.3030
18244Problem: Coverity reports a memory leak.
18245Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18246Files: src/crypt.c, src/errors.h
18247
18248Patch 8.2.3031
18249Problem: No error if a function name starts with an underscore. (Naohiro
18250 Ono)
18251Solution: In Vim9 script disallow a function name starting with an
18252 underscore, as is mentioned in the help. (closes #8414)
18253Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18254
18255Patch 8.2.3032
18256Problem: Build problems with MSVC, other crypt issues with libsodium.
18257Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18258 Adjust error message used when key is wrong. Fix Coverity issues.
18259 (Christian Brabandt, closes #8420, closes #8411)
18260Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18261 src/memline.c, src/proto/crypt.pro
18262
18263Patch 8.2.3033
18264Problem: No error when using alpha delimiter with :global.
18265Solution: Check the delimiter like with :substitute. (closes #8415)
18266Files: src/ex_cmds.c, src/testdir/test_global.vim
18267
18268Patch 8.2.3034
18269Problem: Installing packages on github CI sometimes fails.
18270Solution: Update package information first. (Christian Brabandt,
18271 closes #8432)
18272Files: .github/workflows/ci.yml
18273
18274Patch 8.2.3035
18275Problem: Vim9: crash when calling :def function with partial and return
18276 type is not set.
18277Solution: When the return type is not set handle like the return type is
18278 unknown. (closes #8422)
18279Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18280
18281Patch 8.2.3036
18282Problem: Vim9: builtin function arguments not checked at compile time.
18283Solution: Add more argument type specs. Check arguments to test_setmouse()
18284 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18285Files: src/evalfunc.c, src/testdir/test_assert.vim,
18286 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18287 src/testdir/test_vim9_builtin.vim, src/testing.c
18288
18289Patch 8.2.3037
18290Problem: Configure reports libcanberra when checking for libsodium.
18291Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18292Files: src/configure.ac, src/auto/configure
18293
18294Patch 8.2.3038
18295Problem: Amiga built-in version string doesn't include build date.
18296Solution: Add the build date if available. (Ola Söder, closes #8437)
18297Files: src/os_amiga.c
18298
18299Patch 8.2.3039
18300Problem: Vim9: breakpoint at a comment line does not work.
18301Solution: Add the comment line number to the debug instruction.
18302 (closes #8429)
18303Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18304 src/testdir/test_debugger.vim,
18305 src/testdir/test_vim9_disassemble.vim
18306
18307Patch 8.2.3040
18308Problem: GUI: dropping files not tested.
18309Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18310 closes #8434)
18311Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18312 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18313 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18314
18315Patch 8.2.3041
18316Problem: Detecting if the process of a swap file is running fails if the
18317 process is owned by another user.
18318Solution: Check for the ESRCH error. (closes #8436)
18319Files: src/os_unix.c
18320
18321Patch 8.2.3042 (after 8.2.3041)
18322Problem: Swap file test fails.
18323Solution: Check for a very high process ID instead of one, which should be
18324 running.
18325Files: src/testdir/test_swap.vim
18326
18327Patch 8.2.3043
18328Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18329Solution: Use control sequences. (Ola Söder, closes #8438)
18330Files: src/os_amiga.c
18331
18332Patch 8.2.3044
18333Problem: Amiga MorphOS and AROS: process ID is not valid.
18334Solution: Use FindTask to return something which is unique to all processes.
18335 (Ola Söder, closes #8444)
18336Files: src/os_amiga.c
18337
18338Patch 8.2.3045
18339Problem: Minor typos.
18340Solution: Fix the typos. (Christian Brabandt, closes #8441)
18341Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18342
18343Patch 8.2.3046
18344Problem: Amiga MorphOS: Term mode is set using DOS packets.
18345Solution: Use the same way of setting term mdoe on all next gen Amiga-like
18346 systems. (Ola Söder, closes #8445)
18347Files: src/os_amiga.c
18348
18349Patch 8.2.3047
18350Problem: Increment and decrement don't allow for next command.
18351Solution: Allow for comment and next command. (closes #8442)
18352Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18353
18354Patch 8.2.3048
18355Problem: Strange error for white space after ++ command.
18356Solution: Check for white space explicitly. (closes #8440)
18357Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18358 src/testdir/test_vim9_assign.vim
18359
18360Patch 8.2.3049
18361Problem: JSON patch file not recognized.
18362Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18363Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18364
18365Patch 8.2.3050
18366Problem: Cannot recognize elixir files.
18367Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18368 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18369Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18370 src/testdir/test_filetype.vim
18371
18372Patch 8.2.3051
18373Problem: Vim9: for loop with one list variable does not work.
18374Solution: Use a separate flag for unpacking a list. (closes #8452)
18375Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18376
18377Patch 8.2.3052
18378Problem: Vim9: "legacy call" does not work.
18379Solution: Do not skip "call" after "legacy". (closes #8454)
18380Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18381
18382Patch 8.2.3053
18383Problem: Vim9: cannot assign to @@ in :def function
18384Solution: Handle '@' like '"'. (closes #8456)
18385Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18386
18387Patch 8.2.3054
18388Problem: Vim9: unpack assignment using "_" after semicolon fails.
18389Solution: Drop the expression result. (closes #8453)
18390Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18391
18392Patch 8.2.3055
18393Problem: Strange error for assigning to "x.key" on non-dictionary.
18394Solution: Add a specific error message. (closes #8451)
18395Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18396 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18397
18398Patch 8.2.3056
18399Problem: Vim9: using default value in lambda gives confusing error.
18400Solution: Pass "default_args" on the first pass to get the arguments.
18401 (closes #8455)
18402Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18403
18404Patch 8.2.3057
18405Problem: Vim9: debugger test fails with normal features and +terminal.
18406 (Dominique Pellé)
18407Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18408Files: src/vim9.h
18409
18410Patch 8.2.3058 (after 8.2.3056)
18411Problem: Vim9: cannot use ternary operator in parenthesis.
18412Solution: Do not use "==" for a default argument value. (closes #8462)
18413Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18414
18415Patch 8.2.3059 (after 8.2.3056)
18416Problem: Vim9: memory leak when using lambda.
18417Solution: Do not store the default value strings when skipping.
18418Files: src/userfunc.c
18419
18420Patch 8.2.3060 (after 8.2.3056)
18421Problem: Vim9: cannot use ternary operator in parenthesis.
18422Solution: Do not use "=~" for a default argument value. (closes #8462)
18423Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18424
18425Patch 8.2.3061
18426Problem: Testing the shell option is incomplete and spread out.
18427Solution: Move shell tests to one file and increase coverage. (Yegappan
18428 Lakshmanan, closes #8464)
18429Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18430 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18431 src/testdir/test_system.vim
18432
18433Patch 8.2.3062
18434Problem: Internal error when adding several text properties.
18435Solution: Do not handle text properties when deleting a line for splitting a
18436 data block. (closes #8466)
18437Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18438
18439Patch 8.2.3063
18440Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18441 undo file. (Martin Tournoij)
18442Solution: Disable reading undo file when decoding can't be done inplace.
18443 (issue #8467)
18444Files: src/fileio.c, src/bufwrite.c
18445
18446Patch 8.2.3064
18447Problem: Vim9: in script cannot set item in uninitialized list.
18448Solution: When a list is NULL allocate an empty one. (closes #8461)
18449Files: src/eval.c, src/testdir/test_vim9_assign.vim
18450
18451Patch 8.2.3065
18452Problem: Vim9: error when sourcing script twice and reusing a function
18453 name.
18454Solution: Check if the function is dead. (closes #8463)
18455Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18456
18457Patch 8.2.3066
18458Problem: Vim9: debugging lambda does not work.
18459Solution: Use the compile type of the function when compiling a lambda.
18460 (closes #8412)
18461Files: src/vim9compile.c, src/testdir/test_debugger.vim
18462
18463Patch 8.2.3067
18464Problem: Building fails with Athena. (Elimar Riesebieter)
18465Solution: Adjust #ifdefs and add the 'drop_file' feature.
18466Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18467
18468Patch 8.2.3068
18469Problem: Unicode tables are slightly outdated.
18470Solution: Update the tables for Unicode release 13. (Christian Brabandt
18471 closes #8430)
18472Files: runtime/tools/unicode.vim, src/mbyte.c
18473
18474Patch 8.2.3069
18475Problem: Error messages are spread out.
18476Solution: Move some error messages to errors.h. Use clearer names.
18477Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18478 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18479 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18480 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18481 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18482 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18483 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18484 src/vim9compile.c, src/window.c
18485
18486Patch 8.2.3070
18487Problem: Not enough testing for shell use.
18488Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18489Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18490
18491Patch 8.2.3071
18492Problem: Shell options are not set properly for PowerShell.
18493Solution: Use better option defaults. (Mike Williams, closes #8459)
18494Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18495 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18496 src/os_win32.c, src/testdir/test_shell.vim
18497
18498Patch 8.2.3072
18499Problem: The "zy" command does not work well when 'virtualedit' is set to
18500 "block". (Johann Höchtl)
18501Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18502 closes #8448)
18503Files: src/register.c, src/testdir/test_visual.vim
18504
18505Patch 8.2.3073
18506Problem: When cursor is moved for block append wrong text is inserted.
18507Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18508 closes #8288)
18509Files: src/ops.c, src/testdir/test_blockedit.vim,
18510 src/testdir/test_visual.vim
18511
18512Patch 8.2.3074
18513Problem: popup_atcursor() uses wrong position with concealing.
18514Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18515Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18516 src/ui.c, src/testdir/test_popupwin.vim,
18517 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18518
18519Patch 8.2.3075
18520Problem: Xxd always reports an old version string. (Åsmund Ervik)
18521Solution: Update the version string with the last known change date.
18522 (Jürgen Weigert, closes #8475)
18523Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18524
18525Patch 8.2.3076
18526Problem: Vim9: using try in catch block causes a hang.
18527Solution: Save and restore the ec_in_catch flag. (closes #8478)
18528Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18529
18530Patch 8.2.3077
18531Problem: Vim9: an error in a catch block is not reported.
18532Solution: Put the "in catch" flag in the try stack. (closes #8478)
18533Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18534
18535Patch 8.2.3078
18536Problem: Vim9: profile test fails.
18537Solution: Make throw in :catch jump to :finally.
18538Files: src/vim9compile.c, src/vim9execute.c,
18539 src/testdir/test_vim9_script.vim
18540
18541Patch 8.2.3079
18542Problem: Powershell core not supported by default.
18543Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18544Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18545 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18546 src/misc2.c, src/option.c, src/os_win32.c,
18547 src/testdir/test_shell.vim
18548
18549Patch 8.2.3080
18550Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18551Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18552 closes #8479)
18553Files: src/testdir/test_recover.vim
18554
18555Patch 8.2.3081
18556Problem: Cannot catch errors in a channel command.
18557Solution: Instead of skipping the error make it silent. (closes #8477)
18558Files: src/channel.c
18559
18560Patch 8.2.3082
18561Problem: A channel command "echoerr" does not show anything.
18562Solution: Do not use silent errors when using an "echoerr" command.
18563 (closes #8494)
18564Files: src/channel.c, src/testdir/test_channel.py,
18565 src/testdir/test_channel.vim
18566
18567Patch 8.2.3083
18568Problem: Crash when passing null string to charclass().
18569Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18570 closes #8498, closes #8260)
18571Files: src/mbyte.c, src/testdir/test_functions.vim
18572
18573Patch 8.2.3084
18574Problem: Vim9: builtin function argument types are not checked at compile
18575 time.
18576Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18577Files: src/evalfunc.c, src/testdir/test_functions.vim,
18578 src/testdir/test_glob2regpat.vim,
18579 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
18580
18581Patch 8.2.3085
18582Problem: JSONC files are not recognized.
18583Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
18584Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18585
18586Patch 8.2.3086
18587Problem: Vim9: breakpoint on "for" does not work.
18588Solution: Use the right line number in ISN_DEBUG. (closes #8486)
18589Files: src/vim9compile.c, src/testdir/test_debugger.vim
18590
18591Patch 8.2.3087
18592Problem: Gemtext files are not recognized.
18593Solution: Recognize .gmi and .gemini files. (closes #8427)
18594Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18595
18596Patch 8.2.3088
18597Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
18598 using "$". (Marco Trosi)
18599Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
18600Files: src/drawscreen.c, src/testdir/test_visual.vim,
18601 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
18602
18603Patch 8.2.3089
18604Problem: Garbage collection has useless code.
18605Solution: Bail out when aborting. (closes #8504)
18606Files: src/userfunc.c
18607
18608Patch 8.2.3090
18609Problem: With concealing enabled and indirectly closing a fold the cursor
18610 may be somewhere in a folded line.
18611Solution: Recompute the cursor position when the cursor line can be
18612 concealed. (closes #8480)
18613Files: src/drawscreen.c
18614
18615Patch 8.2.3091
18616Problem: Vim9: default argument expression cannot use previous argument
18617Solution: Correct argument index. (closes #8496)
18618Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
18619
18620Patch 8.2.3092
18621Problem: Vim9: builtin function test fails without the +channel feature.
18622Solution: Check the +channel feature is supported. (Dominique Pellé,
18623 closes #8507)
18624Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
18625
18626Patch 8.2.3093
18627Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
18628Solution: Skip the test when using Athena. (closes #8508)
18629Files: src/testdir/test_gui.vim, src/testdir/check.vim
18630
18631Patch 8.2.3094
18632Problem: Test_popup_atcursor_pos() fails without the conceal feature.
18633Solution: Add a check for the conceal feature. (Dominique Pellé,
18634 closes #8505)
18635Files: src/testdir/test_popupwin.vim
18636
18637Patch 8.2.3095 (after 8.2.3088)
18638Problem: With 'virtualedit' set to "block" block selection is wrong after
18639 using "$". (Marco Trosi)
18640Solution: Compute the longest selected line. (closes #8495)
18641Files: src/drawscreen.c, src/testdir/test_visual.vim,
18642 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
18643
18644Patch 8.2.3096
18645Problem: Temp files remain after running tests.
18646Solution: Delete the right files. (Dominique Pellé, closes #8509)
18647Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
18648 src/testdir/test_visual.vim
18649
18650
18651Patch 8.2.3097
18652Problem: Crash when using "quit" at recovery prompt and autocommands are
18653 triggered.
18654Solution: Block autocommands when creating an empty buffer to use as the
18655 current buffer. (closes #8506)
18656Files: src/buffer.c, src/testdir/test_swap.vim
18657
18658Patch 8.2.3098
18659Problem: Popup window test is flaky on MS-Windows with GUI.
18660Solution: Skip the check in this situation.
18661Files: src/testdir/test_popupwin.vim
18662
18663Patch 8.2.3099
18664Problem: Vim9: missing catch/finally not reported at script level.
18665Solution: Give an error. (closes #8487)
18666Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
18667
18668Patch 8.2.3100
18669Problem: Vim9: no error when using type with unknown number of arguments.
18670Solution: Do not ignore argument count of -1. (closes #8492)
18671Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
18672 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
18673 src/testdir/test_vim9_func.vim
18674
18675Patch 8.2.3101
18676Problem: Missing function prototype for vim_round().
18677Solution: Add the prototype.
18678Files: src/proto/float.pro
18679
18680Patch 8.2.3102 (after 8.2.3097)
18681Problem: Test for crash fix does not fail without the fix.
18682Solution: Adjust the test sequence. (closes #8506)
18683Files: src/testdir/test_swap.vim
18684
18685Patch 8.2.3103 (after 8.2.3102)
18686Problem: Swap test may fail on some systems when jobs take longer to exit.
18687Solution: Use different file names.
18688Files: src/testdir/test_swap.vim
18689
18690Patch 8.2.3104
18691Problem: Vim9: unspecified function type causes type error.
18692Solution: Don't check type when min_argcount is negative. (issue #8492)
18693Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
18694
18695Patch 8.2.3105
18696Problem: Vim9: type of partial is wrong when it has arguments.
18697Solution: Subtract arguments from the count. (issue #8492)
18698Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
18699
18700Patch 8.2.3106
18701Problem: Vim9: confusing line number reported for error.
18702Solution: Use the start line number for the store instruction.
18703 (closes #8488)
18704Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18705
18706Patch 8.2.3107
18707Problem: Vim9: error for arguments while type didn't specify arguments.
18708Solution: Do not update that type to check when no argument count is
18709 specified. (closes #8492)
18710Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
18711
18712Patch 8.2.3108
18713Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
18714Solution: Check that $DISPLAY is set. (Christian Brabandt)
18715Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
18716 src/testdir/test_vim9_builtin.vim
18717
18718Patch 8.2.3109
18719Problem: Check for $DISPLAY never fails.
18720Solution: Use eval().
18721Files: src/testdir/check.vim
18722
18723Patch 8.2.3110
18724Problem: A pattern that matches the cursor position is bit complicated.
18725Solution: Use a dot to indicate the cursor line and column. (Christian
18726 Brabandt, closes #8497, closes #8179)
18727Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
18728 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
18729
18730Patch 8.2.3111
18731Problem: Vim9: confusing error with extra whitespace before colon.
18732Solution: Check for colon after white space. (closes #8513)
18733Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
18734
18735Patch 8.2.3112 (after 8.2.3090)
18736Problem: With concealing enabled and indirectly closing a fold the cursor
18737 may be somewhere in a folded line when it is not on the first line
18738 of the fold.
18739Solution: Check if he cursor is somewhere in the folded text.
18740Files: src/drawscreen.c
18741
18742Patch 8.2.3113
18743Problem: No error when for loop variable shadows script variable.
18744Solution: Check for the error. (closes #8512)
18745Files: src/eval.c, src/testdir/test_vim9_script.vim
18746
18747Patch 8.2.3114
18748Problem: Amiga-like systems: build error checking for running process
18749Solution: Only build swapfile_process_running() on systems where it is
18750 actually used. (Ola Söder, closes #8519)
18751Files: src/memline.c
18752
18753Patch 8.2.3115
18754Problem: Coverity complains about free_wininfo() use.
18755Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
18756Files: src/window.c
18757
18758Patch 8.2.3116
18759Problem: Vim9: crash when debugging a function with line continuation.
18760Solution: Check for a NULL pointer. (closes #8521)
18761Files: src/vim9execute.c, src/testdir/test_debugger.vim
18762
18763Patch 8.2.3117
18764Problem: Vim9: type not properly checked in for loop.
18765Solution: Have items() return a list of lists. Add runtime type checks.
18766 (closes #8515)
18767Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
18768 src/testdir/test_vim9_script.vim
18769
18770Patch 8.2.3118
18771Problem: Vim9: "any" type not handled correctly in for loop.
18772Solution: Change compile time check into runtime check. (closes #8516)
18773Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18774
18775Patch 8.2.3119
18776Problem: Compiler warning for unused argument.
18777Solution: Add UNUSED.
18778Files: src/evalfunc.c
18779
18780Patch 8.2.3120
18781Problem: Crypt with sodium test fails on MS-Windows.
18782Solution: Make the tests pass. (closes #8428)
18783Files: src/testdir/test_crypt.vim
18784
18785Patch 8.2.3121
18786Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
18787 separator is missing. (Leonid V. Fedorenchik)
18788Solution: Only draw the "exceeds" character in the text area. Break the
18789 loop when not drawing the text. (closes #8524)
18790Files: src/drawline.c, src/testdir/test_listchars.vim,
18791 src/testdir/dumps/Test_listchars_01.dump,
18792 src/testdir/dumps/Test_listchars_02.dump,
18793 src/testdir/dumps/Test_listchars_03.dump,
18794 src/testdir/dumps/Test_listchars_04.dump,
18795 src/testdir/dumps/Test_listchars_05.dump
18796
18797Patch 8.2.3122
18798Problem: With 'nowrap' cursor position is unexected in narrow window.
18799 (Leonid V. Fedorenchik)
18800Solution: Put cursor on the last non-empty line. (closes #8525)
18801Files: src/move.c, src/testdir/test_listchars.vim,
18802 src/testdir/dumps/Test_listchars_06.dump,
18803 src/testdir/dumps/Test_listchars_07.dump
18804
18805Patch 8.2.3123
18806Problem: Vim9: confusing error when using white space after option, before
18807 one of "!&<".
18808Solution: Give a specific error. (issue #8408)
18809Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
18810
18811Patch 8.2.3124
18812Problem: Vim9: no error for white space between option and "=9".
18813Solution: Check for extraneous white space. (issue #8408)
18814Files: src/option.c, src/testdir/test_vim9_script.vim
18815
18816Patch 8.2.3125
18817Problem: Variables are set but not used.
18818Solution: Move the declarations to the block where they are used.
18819 (closes #8527)
18820Files: src/regexp_nfa.c
18821
18822Patch 8.2.3126
18823Problem: Vim9: for loop error reports wrong line number.
18824Solution: Save and restore the line number when evaluating the expression.
18825 (closes #8514)
18826Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
18827
18828Patch 8.2.3127
18829Problem: Vim9: no error when adding number to list of string.
18830Solution: Check the value type. (closes #8529)
18831Files: src/list.c, src/testdir/test_vim9_builtin.vim
18832
18833Patch 8.2.3128
18834Problem: Vim9: uninitialzed list does not get type checked.
18835Solution: Set the type when initializing the variable. (closes #8529)
18836Files: src/eval.c, src/evalvars.c, src/vim9script.c,
18837 src/userfunc.c, src/proto/vim9script.pro,
18838 src/testdir/test_vim9_builtin.vim
18839
18840Patch 8.2.3129
18841Problem: Vim9: imported uninitialized list does not get type checked.
18842Solution: Get type from imported variable.
18843Files: src/eval.c, src/evalvars.c, src/vim9script.c,
18844 src/proto/vim9script.pro, src/userfunc.c,
18845 src/testdir/test_vim9_script.vim
18846
18847Patch 8.2.3130
18848Problem: Vim9: import test fails.
18849Solution: Rename directory back to "import", use "p" to avoid an error when
18850 the directory already exists.
18851Files: src/testdir/test_vim9_script.vim
18852
18853Patch 8.2.3131
18854Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
18855Solution: Skip the test.
18856Files: src/testdir/test_channel.vim
18857
18858Patch 8.2.3132
18859Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
18860 Morris)
18861Solution: Add a type cast.
18862Files: src/drawscreen.c
18863
18864Patch 8.2.3133
18865Problem: Vim9: memory leak when add() fails.
18866Solution: Allocate listitem_T after type check.
18867Files: src/list.c
18868
18869Patch 8.2.3134
18870Problem: Crash when using typename() on a function reference. (Naohiro Ono)
18871Solution: Initialize pointer to NULL. (closes #8531)
18872Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
18873
18874Patch 8.2.3135
18875Problem: Vim9: builtin function arguments not checked at compile time.
18876Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
18877Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
18878 src/terminal.c, src/testdir/test_search.vim,
18879 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
18880 src/testing.c, src/textprop.c, src/typval.c
18881
18882Patch 8.2.3136
18883Problem: No test for E187 and "No swap file".
18884Solution: Add a test. (Dominique Pellé, closes #8540)
18885Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
18886
18887Patch 8.2.3137
18888Problem: Vim9: no error when a line only has a variable name.
18889Solution: Give an error when an expression is evaluated without an effect.
18890 (closes #8538)
18891Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
18892 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
18893 src/testdir/test_vim9_func.vim
18894
18895Patch 8.2.3138 (after 8.2.3137)
18896Problem: Debugger test fails.
18897Solution: Adjust eval command.
18898Files: src/testdir/test_debugger.vim
18899
18900Patch 8.2.3139
18901Problem: Functions for string manipulation are spread out.
18902Solution: Move string related functions to a new source file. (Yegappan
18903 Lakshmanan, closes #8470)
18904Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
18905 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
18906 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
18907 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
18908 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
18909 src/proto/strings.pro, src/strings.c
18910
18911Patch 8.2.3140 (after 8.2.3131)
18912Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
18913Solution: Skip the test also without the GUI.
18914Files: src/testdir/test_channel.vim
18915
18916Patch 8.2.3141
18917Problem: No error when using :complete for :command without -nargs.
18918Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
18919Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
18920
18921Patch 8.2.3142
18922Problem: Vim9: type check for has_key() argument is too strict.
18923Solution: Also allow for a number key argument. (closes #8542)
18924Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18925
18926Patch 8.2.3143
18927Problem: Vim9: A lambda may be compiled with the wrong context if it is
18928 called from a profiled function.
18929Solution: Compile the lambda with and without profiling. (closes #8543)
18930Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18931
18932Patch 8.2.3144
18933Problem: Vim9: no error when using an invalid value for a line number.
18934Solution: Give an error if the string value is not recognized.
18935 (closes #8536)
18936Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
18937
18938Patch 8.2.3145
18939Problem: Vim9: profile test fails without profile feature.
18940Solution: Check the profile feature is present.
18941Files: src/testdir/test_vim9_script.vim
18942
18943Patch 8.2.3146
18944Problem: Vim9: line number wrong for :execute argument.
18945Solution: Use the line number of the :execute command itself. (closes #8537)
18946Files: src/eval.c, src/testdir/test_vim9_script.vim
18947
18948Patch 8.2.3147
18949Problem: Vim9: profiling does not work with a nested function.
18950Solution: Also compile a nested function without profiling. (closes #8543)
18951 Handle that compiling may cause the table of compiled functions to
18952 change.
18953Files: src/vim9compile.c, src/vim9execute.c,
18954 src/testdir/test_vim9_script.vim
18955
18956Patch 8.2.3148
18957Problem: Vim9: function arg type check does not handle base offset.
18958Solution: Take the base offset into account when checking builtin function
18959 argument types.
18960Files: src/evalfunc.c, src/vim9compile.c,
18961 src/testdir/test_vim9_builtin.vim
18962
18963Patch 8.2.3149 (after 8.2.3141)
18964Problem: Some plugins have a problem with the error check for using
18965 :command with -complete but without -nargs.
18966Solution: In legacy script only give a warning message.
18967Files: src/usercmd.c, src/message.c, src/proto/message.pro,
18968 src/testdir/test_usercommands.vim
18969
18970Patch 8.2.3150
18971Problem: Vim9: argument types are not checked at compile time.
18972Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
18973Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
18974
18975Patch 8.2.3151
18976Problem: Vim9: profiling fails if nested function is also profiled.
18977Solution: Use the compile type from the outer function. (closes #8543)
18978Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18979
18980Patch 8.2.3152
18981Problem: Vim9: accessing "s:" results in an error.
18982Solution: Do not try to lookup a script variable for "s:". (closes #8549)
18983Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
18984
18985Patch 8.2.3153
18986Problem: URLs with a dash in the scheme are not recognized.
18987Solution: Allow for a scheme with a dash, but not at the start or end.
18988 (Tsuyoshi CHO, closes #8299)
18989Files: src/misc1.c, src/testdir/test_buffer.vim
18990
18991Patch 8.2.3154
18992Problem: Vim9: some type checks for builtin functions fail.
18993Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
18994 closes #8550)
18995Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18996
18997Patch 8.2.3155
18998Problem: Some option related code not covered by tests.
18999Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19000Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19001
19002Patch 8.2.3156
19003Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19004Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19005Files: src/testdir/test_vim9_builtin.vim
19006
19007Patch 8.2.3157
19008Problem: Crypt test may fail on MS-Windows.
19009Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19010 closes #8561)
19011Files: src/testdir/test_crypt.vim
19012
19013Patch 8.2.3158
19014Problem: Strange error message when using islocked() with a number.
19015 (Yegappan Lakshmanan)
19016Solution: Check that the name is empty.
19017Files: src/evalfunc.c, src/testdir/test_functions.vim
19018
19019Patch 8.2.3159
19020Problem: Cursor displayed in wrong position after deleting line.
19021Solution: When deleting lines do not approximate botline. (fixes #8559)
19022Files: src/change.c
19023
19024Patch 8.2.3160
19025Problem: 'breakindent' does not work well for bulleted and numbered lists.
19026Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19027 closes #8564, closes #1661)
19028Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19029 src/testdir/test_breakindent.vim
19030
19031Patch 8.2.3161
19032Problem: Vim9: no error when reltime() has invalid arguments.
19033Solution: Add an error. (closes #8562)
19034Files: src/time.c, src/testdir/test_vim9_builtin.vim
19035
19036Patch 8.2.3162
19037Problem: Vim9: argument types are not checked at compile time.
19038Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19039Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19040 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19041 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19042 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19043 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19044 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19045 src/time.c, src/typval.c
19046
19047Patch 8.2.3163
19048Problem: Location list window may open a wrong file.
19049Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19050 closes #8566)
19051Files: src/quickfix.c, src/testdir/test_quickfix.vim
19052
19053Patch 8.2.3164
19054Problem: MS-Windows: reported version lacks patchlevel, causing some update
19055 tools to update too often. (Klaus Frank)
19056Solution: Add the patchlevel to the version. (Christian Brabandt)
19057Files: src/dosinst.c
19058
19059Patch 8.2.3165
19060Problem: Vim9: in a || expression the error line number may be wrong.
19061Solution: Save and restore the line number when checking the type.
19062 (closes #8569)
19063Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19064
19065Patch 8.2.3166
19066Problem: Vim9: nested autoload call error overruled by "Unknown error".
19067Solution: Check need_rethrow before giving an "Unknown error".
19068 (closes #8568)
19069Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19070
19071Patch 8.2.3167
19072Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19073Solution: Use the sandbox only for executing a command, not for searching.
19074 (closes #8511)
19075Files: src/tag.c
19076
19077Patch 8.2.3168
19078Problem: Vim9: type error for constant of type any.
19079Solution: Do add a runtime type check if a constant has type any.
19080 (closes #8570)
19081Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19082
19083Patch 8.2.3169
19084Problem: Vim9: cannot handle nested inline function.
19085Solution: Check for nested inline function. (closes #8575)
19086Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19087 src/testdir/test_vim9_expr.vim
19088
19089Patch 8.2.3170
19090Problem: Illegal memory access in test.
19091Solution: Check pointer is not before the start of the line.
19092Files: src/userfunc.c
19093
19094Patch 8.2.3171
19095Problem: Another illegal memory access in test.
19096Solution: Check pointer is after the start of the line.
19097Files: src/userfunc.c
19098
19099Patch 8.2.3172
19100Problem: MzScheme test fails. (Christian Brabandt)
19101Solution: Correct function name.
19102Files: src/testdir/test_vim9_builtin.vim
19103
19104Patch 8.2.3173
19105Problem: Vim9: argument types are not checked at compile time.
19106Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19107Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19108 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19109 src/testdir/test_vim9_builtin.vim, src/typval.c
19110
19111Patch 8.2.3174
19112Problem: Vim9: "legacy undo" finds "undo" variable.
19113Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19114Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19115
19116Patch 8.2.3175
19117Problem: Vim9: using illegal pointer with inline function inside a lambda.
19118Solution: Clear eval_tofree_cmdline when advancing to the next line.
19119 (closes #8578)
19120Files: src/eval.c, src/testdir/test_vim9_func.vim
19121
19122Patch 8.2.3176
19123Problem: Vim9: no type error for comparing number with string.
19124Solution: Add a runtime type check. (closes #8571)
19125Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19126
19127Patch 8.2.3177
19128Problem: Vim9: can not use "for _ in expr" at script level.
19129Solution: Skip assignment if the loop variable is "_".
19130Files: src/eval.c, src/testdir/test_vim9_script.vim
19131
19132Patch 8.2.3178
19133Problem: Vim9: the file name of an :import cannot be an expression.
19134Solution: Accept an expression that results in a string. Do not support
19135 :import in a function.
19136Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19137 src/testdir/test_vim9_script.vim
19138
19139Patch 8.2.3179
19140Problem: Vim9: cannot assign to an imported variable at script level.
19141Solution: Lookup imported items when assigning.
19142Files: src/evalvars.c, src/errors.h, src/eval.c,
19143 src/testdir/test_vim9_script.vim
19144
19145Patch 8.2.3180
19146Problem: Vim9: memory leak when concatenating to an imported string.
19147Solution: Clear the destination.
19148Files: src/evalvars.c
19149
19150Patch 8.2.3181
19151Problem: Vim9: builtin function test fails without channel feature.
19152Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19153 checks more consistent.
19154Files: src/testdir/test_vim9_builtin.vim
19155
19156Patch 8.2.3182
19157Problem: Vim9: crash when using removing items from a constant list.
19158 (Yegappan Lakshmanan)
19159Solution: When a list was allocated with items copy them.
19160Files: src/list.c, src/testdir/test_vim9_builtin.vim
19161
19162Patch 8.2.3183
19163Problem: Duplicate error numbers.
19164Solution: Adjust the error numbers.
19165Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19166
19167Patch 8.2.3184
19168Problem: Cannot add a digraph with a leading space. It is not easy to list
19169 existing digraphs.
19170Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19171 getdigraphlist(). (closes #8580)
19172Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19173 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19174 src/ex_docmd.c, src/globals.h, src/errors.h,
19175 src/proto/digraph.pro, src/testdir/test_digraph.vim
19176
19177Patch 8.2.3185
19178Problem: Vim9: start of inline function found in comment line.
19179Solution: Do not check for inline function in comment line. (closes #8589)
19180Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19181
19182Patch 8.2.3186
19183Problem: Vim9: not all failures for import tested
19184Solution: Test more import failures
19185Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19186
19187Patch 8.2.3187
19188Problem: Vim9: popup timer callback is not compiled.
19189Solution: Compile the callback when creating the timer.
19190Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19191
19192Patch 8.2.3188
19193Problem: Vim9: argument types are not checked at compile time.
19194Solution: Add several more type checks, also at runtime. (Yegappan
19195 Lakshmanan, closes #8587)
19196Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19197 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19198 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19199 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19200 src/job.c, src/list.c, src/map.c, src/match.c,
19201 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19202 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19203 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19204 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19205
19206Patch 8.2.3189
19207Problem: Vim9: error when using "try|".
19208Solution: Allow for "|" right after a command.
19209Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19210
19211Patch 8.2.3190
19212Problem: Error messages are spread out.
19213Solution: Move error messages to errors.h and give them a clear name.
19214Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19215 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19216 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19217 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19218 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19219 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19220 src/userfunc.c, src/vim9execute.c, src/window.c
19221
19222Patch 8.2.3191
19223Problem: Vim9: not enough code is tested.
19224Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19225 problems.
19226Files: src/vim9compile.c, src/vim9execute.c,
19227 src/testdir/test_listdict.vim
19228
19229Patch 8.2.3192 (after 8.2.3190)
19230Problem: Build failure with small version (Tony Mechelynck).
19231Solution: Remove stray #ifdef.
19232Files: src/errors.h
19233
19234Patch 8.2.3193
19235Problem: screenpos() is wrong when the last line is partially visible and
19236 'display' is "lastline".
19237Solution: Also compute the position for a partially visible line.
19238 (closes #8599)
19239Files: src/move.c, src/testdir/test_cursor_func.vim
19240
19241Patch 8.2.3194
19242Problem: Vim9: argument types are not checked at compile time.
19243Solution: Add several more type checks, simplify some. (Yegappan
19244 Lakshmanan, closes #8598)
19245Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19246 src/proto/typval.pro, src/sign.c, src/terminal.c,
19247 src/testdir/test_vim9_builtin.vim, src/typval.c
19248
19249Patch 8.2.3195
19250Problem: Vim9: unclear error when passing too many arguments to lambda.
19251Solution: Pass the expression itself instead of "[expression]".
19252 (closes #8604)
19253Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19254
19255Patch 8.2.3196
19256Problem: Vim9: bool expression with numbers only fails at runtime.
19257Solution: Check constant to be bool at compile time. (closes #8603)
19258Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19259
19260Patch 8.2.3197
19261Problem: Error messages are spread out.
19262Solution: Move a few more error messages to errors.h.
19263Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19264 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19265 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19266 src/vim9compile.c, src/vim9script.c
19267
19268Patch 8.2.3198
19269Problem: Cannot use 'formatlistpat' for breakindent.
19270Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19271Files: runtime/doc/options.txt, src/indent.c,
19272 src/testdir/test_breakindent.vim
19273
19274Patch 8.2.3199
19275Problem: Vim9: execution speed can be improved.
19276Solution: Make the break counter static.
19277Files: src/vim9execute.c
19278
19279Patch 8.2.3200
19280Problem: Vim9: hard to guess where a type error is given.
19281Solution: Add the function name where possible. (closes #8608)
19282Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19283 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19284 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19285 src/errors.h, src/testdir/test_vim9_builtin.vim
19286
19287Patch 8.2.3201 (after 8.2.3200)
19288Problem: Crash in test.
19289Solution: Initialize "where".
19290Files: src/eval.c, src/evalvars.c
19291
19292Patch 8.2.3202
19293Problem: Vim9: tests are only executed for legacy script.
19294Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19295Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19296
19297Patch 8.2.3203
19298Problem: Vim9: compiled string expression causes type error. (Yegappan
19299 Lakshmanan)
19300Solution: Remove the string type from the stack.
19301Files: src/vim9compile.c, src/evalfunc.c
19302
19303Patch 8.2.3204
19304Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19305 Dupras)
19306Solution: Avoid inserting lines twice. (closes #7255)
19307Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19308 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19309 src/testdir/dumps/Test_cursorline_redraw_2.dump
19310
19311Patch 8.2.3205
19312Problem: Coverity reports a null pointer dereference.
19313Solution: Change the logic to avoid Coverity gets confused.
19314Files: src/vim9compile.c
19315
19316Patch 8.2.3206
19317Problem: Vim9: argument types are not checked at compile time.
19318Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19319Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19320 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19321 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19322 src/proto/typval.pro, src/sign.c, src/terminal.c,
19323 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19324 src/typval.c
19325
19326Patch 8.2.3207
19327Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19328Solution: Adjust the type stack length.
19329Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19330
19331Patch 8.2.3208
19332Problem: Dynamic library load error does not mention why it failed.
19333Solution: Add the error message. (Martin Tournoij, closes #8621)
19334Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19335 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19336 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19337 src/terminal.c
19338
19339Patch 8.2.3209
19340Problem: Vim9: lambda doesn't find block-local variable.
19341Solution: Adjust how a script-local variable is found. (closes #8614)
19342Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19343
19344Patch 8.2.3210
19345Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19346 Lakshmanan)
19347Solution: Only compile the fifth argument.
19348Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19349
19350Patch 8.2.3211
19351Problem: Vim9: argument types are not checked at compile time.
19352Solution: Add several more type checks. Fix type check for matchaddpos().
19353 (Yegappan Lakshmanan, closes #8619)
19354Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19355 src/job.c, src/proto/typval.pro,
19356 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19357
19358Patch 8.2.3212
19359Problem: Vim9: execution speed can be improved.
19360Solution: Use __builtin_expect() to have the compiler produce better code.
19361 (Dominique Pellé, closes #8613)
19362Files: src/vim9execute.c
19363
19364Patch 8.2.3213
19365Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19366Solution: Add a test. (Dominique Pellé, closes #8624)
19367Files: src/testdir/test_spellfile.vim
19368
19369Patch 8.2.3214
19370Problem: MS-Windows: passing /D does not set the install location.
19371Solution: Adjust how the installer uses $VIM. Update the documentation.
19372 (Christian Brabandt, closes #8605)
19373Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19374
19375Patch 8.2.3215
19376Problem: Vim9: argument types are not checked at compile time.
19377Solution: Add several more type checks. Sort the argument lists.
19378 (Yegappan Lakshmanan, closes #8626)
19379Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19380 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19381 src/testing.c
19382
19383Patch 8.2.3216
19384Problem: Vim9: crash when using variable in a loop at script level.
19385Solution: Do not clear the variable if a function was defined.
19386 Do not create a new entry in sn_var_vals every time.
19387 (closes #8628)
19388Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19389 src/evalvars.c, src/structs.h
19390
19391Patch 8.2.3217 (after 8.2.3216)
19392Problem: Build failure.
19393Solution: Add missing changes.
19394Files: src/globals.h
19395
19396Patch 8.2.3218
19397Problem: When using xchaha20 crypt undo file is not removed.
19398Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19399 closes #8630, closes #8467)
19400Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19401 src/testdir/test_crypt.vim, src/undo.c
19402
19403Patch 8.2.3219
19404Problem: :find searches non-existing directories.
19405Solution: Check the path is not "..". Update help. (Christian Brabandt,
19406 closes #8612, closes #8533)
19407Files: runtime/doc/editing.txt, src/findfile.c,
19408 src/testdir/test_findfile.vim
19409
19410Patch 8.2.3220
19411Problem: Test_term_setansicolors() fails in some configurations.
19412Solution: Check available features. (Dominique Pellé, closes #8636)
19413Files: src/testdir/test_vim9_builtin.vim
19414
19415Patch 8.2.3221
19416Problem: Vim9: argument types are not checked at compile time.
19417Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19418Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19419 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19420 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19421
19422Patch 8.2.3222
19423Problem: Vim9: cannot used loop variable later as lambda argument.
19424Solution: When not in function context check the current block ID.
19425 (closes #8637)
19426Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19427
19428Patch 8.2.3223
19429Problem: Vim: using {} block in autoloade omnifunc fails.
19430Solution: Allow using {} block when text is locked. (closes #8631)
19431Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19432
19433Patch 8.2.3224
19434Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19435 Robinson)
19436Solution: Skip over "<SNR>123".
19437Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19438
19439Patch 8.2.3225
19440Problem: Incsearch highlighting is attempted halfway a mapping.
19441Solution: Only do incsearch highlighting if keys were typed or there is no
19442 more typeahead.
19443Files: src/ex_getln.c
19444
19445Patch 8.2.3226
19446Problem: New digraph functions use old naming scheme.
19447Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580)
19448Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19449 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19450 src/evalfunc.c, src/proto/digraph.pro,
19451 src/testdir/test_digraph.vim
19452
19453Patch 8.2.3227
19454Problem: 'virtualedit' can only be set globally.
19455Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19456Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19457 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19458 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19459 src/optionstr.c, src/proto/option.pro, src/register.c,
19460 src/structs.h, src/testdir/test_virtualedit.vim
19461
19462Patch 8.2.3228
19463Problem: Cannot use a simple block for the :command argument. (Maarten
19464 Tournoij)
19465Solution: Recognize a simple {} block. (issue #8623)
19466Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19467 src/usercmd.c, src/testdir/test_usercommands.vim
19468
19469Patch 8.2.3229
19470Problem: Vim9: runtime and compile time type checks are not the same.
19471Solution: Add more runtime type checks for builtin functions. (Yegappan
19472 Lakshmanan, closes #8646)
19473Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19474 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19475 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19476 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19477 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19478 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19479 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19480 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19481 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19482 src/sound.c, src/strings.c, src/terminal.c,
19483 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19484 src/testdir/test_execute_func.vim,
19485 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19486 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19487 src/testdir/test_vim9_builtin.vim,
19488 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19489 src/time.c, src/typval.c, src/undo.c
19490
19491Patch 8.2.3230
19492Problem: Vim9: type error when function return type is not known yet.
19493Solution: When return type is unknown, use "any". (closes #8644)
19494Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19495
19496Patch 8.2.3231
19497Problem: Build failure with small features.
19498Solution: Adjust #ifdef.
19499Files: src/errors.h
19500
19501Patch 8.2.3232 (after 8.2.3229)
19502Problem: system() does not work without a second argument.
19503Solution: Do not require a second argument. (Yegappan Lakshmanan,
19504 closes #8651, closes #8650)
19505Files: src/misc1.c, src/proto/typval.pro,
19506 src/testdir/test_vim9_builtin.vim, src/typval.c
19507
19508Patch 8.2.3233
19509Problem: prop_list() and prop_find() do not indicate the buffer for the
19510 used type.
19511Solution: Add "type_bufnr" to the results. (closes #8647)
19512Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19513 src/textprop.c
19514
19515Patch 8.2.3234
19516Problem: Crash when printing long string with Lua.
19517Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19518Files: src/if_lua.c, src/testdir/test_lua.vim
19519
19520Patch 8.2.3235
19521Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19522Solution: Do not go over the end of the lambda.
19523Files: src/userfunc.c, src/testdir/test_usercommands.vim
19524
19525Patch 8.2.3236
19526Problem: mode() does not indicate using CTRL-O in Select mode.
19527Solution: Use "vs" and similar. (closes #8640)
19528Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19529 src/testdir/test_functions.vim
19530
19531Patch 8.2.3237
19532Problem: When a builtin function gives an error processing continues.
19533Solution: In Vim9 script return FAIL in get_func_tv().
19534Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19535
19536Patch 8.2.3238
19537Problem: Vim9: error message does not indicate the location.
19538Solution: Add the relevant text. (issue #8634)
19539Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19540
19541Patch 8.2.3239
19542Problem: Vim9: no error using heredoc for a number variable.
19543Solution: Add a type check. (closes #8627)
19544Files: src/vim9compile.c, src/evalvars.c,
19545 src/testdir/test_vim9_assign.vim
19546
19547Patch 8.2.3240
19548Problem: Lua print() does not work properly.
19549Solution: Put back lua_pop().
19550Files: src/if_lua.c, src/testdir/test_lua.vim
19551
19552Patch 8.2.3241
19553Problem: Vim9: memory leak when function reports an error.
19554Solution: Clear the return value.
19555Files: src/userfunc.c
19556
19557Patch 8.2.3242
19558Problem: Vim9: valgrind reports leaks in builtin function test.
19559Solution: Do not start a job.
19560Files: src/testdir/test_vim9_builtin.vim
19561
19562Patch 8.2.3243
19563Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19564 useful.
19565Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19566 closes #8645)
19567Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19568
19569Patch 8.2.3244
19570Problem: Lua 5.3 print() with a long string crashes.
19571Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19572 closes #8655)
19573Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19574
19575Patch 8.2.3245
19576Problem: The crypt key may appear in a swap partition.
19577Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt,
19578 closes #8657)
19579Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
19580 src/memline.c, src/vim.h
19581
19582Patch 8.2.3246
19583Problem: Memory use after free.
19584Solution: When clearing a string option set the pointer to "empty_option".
19585Files: src/option.c
19586
19587Patch 8.2.3247
19588Problem: Using uninitialized memory when checking for crypt method.
19589Solution: Check the header length before using the salt and seed.
19590Files: src/fileio.c
19591
19592Patch 8.2.3248
19593Problem: Vim9: error message for wrong input uses wrong line number.
19594Solution: Use the line number of the start of the command. (issue #8653)
19595Files: src/vim9script.c, src/testdir/test_vim9_script.vim
19596
19597Patch 8.2.3249
19598Problem: Vim9: error for re-imported function with default argument.
19599Solution: Do not check argument type if it is still unknown. (closes #8653)
19600Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
19601 src/vim.h, src/eval.c, src/vim9execute.c,
19602 src/testdir/test_vim9_script.vim
19603
19604Patch 8.2.3250
19605Problem: MS-Windows: cannot build with libsodium.
19606Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
19607 closes #8668, closes #8663)
19608Files: src/Make_mvc.mak
19609
19610Patch 8.2.3251
19611Problem: Listing builtin_gui as an available terminal is confusing.
19612Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
19613 closes #8661)
19614Files: src/term.c, src/testdir/test_termcodes.vim
19615
19616Patch 8.2.3252
19617Problem: Duplicated code for adding buffer lines.
19618Solution: Move code to a common function. Also move map functions to map.c.
19619 (Yegappan Lakshmanan, closes #8665)
19620Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
19621
19622Patch 8.2.3253
19623Problem: Channel test fails randomly.
19624Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
19625Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
19626
19627Patch 8.2.3254
19628Problem: win_gettype() does not recognize a quickfix window.
19629Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
19630Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
19631 src/testdir/test_quickfix.vim
19632
19633Patch 8.2.3255
19634Problem: ci" finds following string but ci< and others don't.
19635Solution: When not inside an object find the start. (Connor Lane Smit,
19636 closes #8670)
19637Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
19638
19639Patch 8.2.3256
19640Problem: Executable test may fail on new Ubuntu system.
19641Solution: Consider /usr/bin/cat and /bin/cat the same.
19642Files: src/testdir/test_functions.vim
19643
19644Patch 8.2.3257
19645Problem: Calling prop_find() with -1 for ID gives errornous error. (Naohiro
19646 Ono)
19647Solution: When passing -1 use -2. (closes #8674)
19648Files: src/textprop.c, src/testdir/test_textprop.vim
19649
19650Patch 8.2.3258
19651Problem: Error messages have the wrong text.
19652Solution: Adjust the error message.
19653Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
19654
19655Patch 8.2.3259
19656Problem: When 'indentexpr' causes an error the did_throw flag may remain
19657 set.
19658Solution: Reset did_throw and show the error. (closes #8677)
19659Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
19660
19661Patch 8.2.3260
19662Problem: Build failure with small features.
19663Solution: Add #ifdef.
19664Files: src/ex_docmd.c
19665
19666Patch 8.2.3261
19667Problem: Vim9: when compiling repeat(123, N) return type is number.
19668Solution: Make return type a string. (closes #8664)
19669Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19670
19671Patch 8.2.3262
19672Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
19673Solution: Adjust how estack_len_before is used.
19674Files: src/ex_docmd.c
19675
19676Patch 8.2.3263
19677Problem: Vim9: "..=" does not accept same types as the ".." operator.
19678Solution: Convert value to string like ".." does. (issue #8664)
19679Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
19680 src/testdir/test_vim9_disassemble.vim
19681
19682Patch 8.2.3264 (after 8.2.3263)
19683Problem: Vim9: assign test fails.
19684Solution: Add missing change.
19685Files: src/eval.c
19686
19687Patch 8.2.3265
19688Problem: Smartcase does not work correctly in very magic pattern.
19689Solution: Take the magicness into account when skipping over regexp items.
19690 (Christian Brabandt, closes #8682, closes #7845)
19691Files: src/search.c, src/testdir/test_search.vim
19692
19693Patch 8.2.3266
19694Problem: Vim9: assignment with two indexes may check next line.
19695Solution: Limit the number of lines to avoid checking the next line when
19696 assiging to a LHS subscript. (closes #8660)
19697Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19698
19699Patch 8.2.3267
19700Problem: Vim9: crash when disassembling a function that uses a deleted
19701 script variable.
19702Solution: Check the variable still exists. (closes #8683)
19703Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
19704
19705Patch 8.2.3268
19706Problem: Cannot use a block with :autocmd like with :command.
19707Solution: Add support for a {} block after :autocmd. (closes #8620)
19708Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
19709 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
19710 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
19711
19712Patch 8.2.3269
19713Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
19714Solution: Handle getting return type without arguments. Correct the minimal
19715 number of arguments for what is included in the partial.
19716 (closes #8667)
19717Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
19718
19719Patch 8.2.3270
19720Problem: prop_find() finds property with ID -2.
19721Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
19722Files: src/textprop.c
19723
19724Patch 8.2.3271
19725Problem: Vim9: cannot use :command or :au with a block in a :def function.
19726Solution: Recognize the start of the block.
19727Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
19728 src/proto/ex_docmd.pro, src/vim9compile.c,
19729 src/testdir/test_vim9_script.vim
19730
19731Patch 8.2.3272
19732Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
19733Solution: Also accept id zero.
19734Files: src/textprop.c, src/testdir/test_textprop.vim
19735
19736Patch 8.2.3273
19737Problem: Autocmd test fails.
19738Solution: Require white space before the "{" that starts a block.
19739Files: src/userfunc.c
19740
19741Patch 8.2.3274
19742Problem: Macro for printf format check can be simplified.
19743Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
19744Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
19745 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
19746 src/vim9execute.c
19747
19748Patch 8.2.3275
19749Problem: Optimizer can use hints about ga_grow() normally succeeding.
19750Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
19751 Pellé, issue #8635)
19752Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
19753
19754Patch 8.2.3276
19755Problem: Vim9: exists() can only be evaluated at runtime.
19756Solution: Evaluate at compile time for option name literals. (closes #8437)
19757Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
19758 src/testdir/test_vim9_builtin.vim
19759
19760Patch 8.2.3277 (after 8.2.3276)
19761Problem: Vim9: compiled has() does not work properly.
19762Solution: Fix check for has() vs exists().
19763Files: src/vim9compile.c
19764
19765Patch 8.2.3278
19766Problem: Vim9: error when adding 1 to float.
19767Solution: Accept t_number_bool. (closes #8687)
19768Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19769
19770Patch 8.2.3279
19771Problem: Vim9: cannot use block in cmdline window.
19772Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
19773Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
19774
19775Patch 8.2.3280
19776Problem: 'virtualedit' local to buffer is not the best solution.
19777Solution: Make it window-local. (Gary Johnson, closes #8685)
19778Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
19779 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
19780 src/structs.h, src/testdir/test_virtualedit.vim
19781
19782Patch 8.2.3281
19783Problem: Vim9: TODO items in tests can be taken care of.
19784Solution: Update test for now working functionality. (closes #8694)
19785Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
19786 src/testdir/test_vim9_script.vim
19787
19788Patch 8.2.3282
19789Problem: Vim9: error about using -complete without -nargs is confusing.
19790Solution: Change the wording.
19791Files: src/usercmd.c, src/errors.h
19792
19793Patch 8.2.3283
19794Problem: Julia filetype is not recognized
19795Solution: Add filetype detection. (Christian Clason, closes #8700)
19796Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19797
19798Patch 8.2.3284
19799Problem: No error for insert() or remove() changing a locked blob.
19800Solution: Check a blob is not locked before changing it. (Sean Dewar,
19801 closes #8696)
19802Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
19803 src/proto/blob.pro, src/testdir/test_blob.vim,
19804 src/testdir/test_eval_stuff.vim
19805
19806Patch 8.2.3285
19807Problem: Scdoc filetype is not recognized.
19808Solution: Add filetype detection. (Gregory Anders, closes #8701)
19809Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19810
19811Patch 8.2.3286
19812Problem: win_enter_ext() has too many boolean arguments.
19813Solution: use one flags argument with defined values.
19814Files: src/window.c
19815
19816Patch 8.2.3287
19817Problem: Channel events not handled in BufEnter autocommand.
19818Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
19819Files: src/window.c, src/testdir/test_channel.vim
19820
19821Patch 8.2.3288
19822Problem: Cannot easily access namespace dictionaries from Lua.
19823Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
19824 from NeoVim)
19825Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
19826
19827Patch 8.2.3289 (after 8.2.3287)
19828Problem: Compiler warning for unused variable with small features.
19829Solution: Rearrange #ifdefs.
19830Files: src/window.c
19831
19832Patch 8.2.3290
19833Problem: Vim9: compiling dict may use pointer after free and leak memory on
19834 failure.
19835Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
19836Files: src/vim9compile.c
19837
19838Patch 8.2.3291
19839Problem: Coverity warns for not checking return value.
19840Solution: If dict_add() fails give an error message.
19841Files: src/if_lua.c, src/testdir/test_lua.vim
19842
19843Patch 8.2.3292
19844Problem: Underscore in very magic pattern causes a hang. Pattern with \V
19845 are case sensitive. (Yutao Yuan)
19846Solution: Adjust condition for magicness and advance pointer. (Christian
19847 Brabandt, closes #8707, closes #8704, closes #8705)
19848Files: src/search.c, src/testdir/test_search.vim
19849
19850Patch 8.2.3293
19851Problem: Finding completions may cause an endless loop.
19852Solution: Use a better way to check coming back where the search started.
19853 (Andy Gozas, closes #8672, closes #8671)
19854Files: src/insexpand.c, src/testdir/Make_all.mak,
19855 src/testdir/test_ins_complete_no_halt.vim
19856
19857Patch 8.2.3294
19858Problem: Lua: memory leak when adding dict item fails.
19859Solution: Free the typval and the dict item.
19860Files: src/if_lua.c
19861
19862Patch 8.2.3295
19863Problem: 'cursorline' should not apply to 'breakindent'.
19864Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
19865 consistently. (closes #8684)
19866Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
19867 src/testdir/dumps/Test_Xcursorline_20.dump,
19868 src/testdir/dumps/Test_Xcursorline_21.dump,
19869 src/testdir/dumps/Test_Xcursorline_22.dump,
19870 src/testdir/dumps/Test_Xcursorline_23.dump,
19871 src/testdir/dumps/Test_Xcursorline_24.dump,
19872 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
19873 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
19874 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
19875 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
19876 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
19877
19878Patch 8.2.3296
19879Problem: Vim9: cannot add a number to a float.
19880Solution: Accept a number if the destination is a float. (closes #8703)
19881Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19882
19883Patch 8.2.3297
19884Problem: Cannot use all commands inside a {} block after :command and
19885 :autocmd.
19886Solution: Do consider \n to separate commands. (closes #8620)
19887Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
19888 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
19889 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
19890 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
19891 src/testdir/test_usercommands.vim
19892
19893Patch 8.2.3298
19894Problem: Build failure with small features.
19895Solution: Add #ifdef.
19896Files: src/ex_docmd.c
19897
19898Patch 8.2.3299
19899Problem: Vim9: exists() does not handle much at compile time.
19900Solution: Handle variable names. (closes #8688)
19901Files: src/vim9compile.c, src/evalfunc.c,
19902 src/testdir/test_vim9_builtin.vim
19903
19904Patch 8.2.3300
19905Problem: Lua: can only execute one Vim command at a time. Not easy to get
19906 the Vim version.
19907Solution: Make vim.command() accept multiple lines. Add vim.version().
19908 (Yegappan Lakshmanan, closes #8716)
19909Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
19910 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
19911 src/testdir/test_shell.vim
19912
19913Patch 8.2.3301
19914Problem: Memory allocation functions don't have their own place.
19915Solution: Move memory allocation functions to alloc.c. (Yegappan
19916 Lakshmanan, closes #8717)
19917Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19918 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19919 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
19920 src/proto/misc2.pro
19921
19922Patch 8.2.3302
19923Problem: Coverity is not run from github.
19924Solution: Add a coverity script. (James McCoy, closes #8714)
19925Files: .github/workflows/coverity.yml, Filelist
19926
19927Patch 8.2.3303
19928Problem: Some structures could be smaller.
19929Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
19930Files: src/structs.h, src/vim9.h, src/vim9execute.c
19931
19932Patch 8.2.3304
19933Problem: Popup window title with wide characters is truncated.
19934Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
19935 closes #8721)
19936Files: src/popupwin.c, src/testdir/test_popupwin.vim,
19937 src/testdir/dumps/Test_popupwin_multibytetitle.dump
19938
19939Patch 8.2.3305
19940Problem: Vim9: :finally in skipped block not handled correctly.
19941Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
19942 closes #8724)
19943Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
19944
19945Patch 8.2.3306
19946Problem: Unexpected "No matching autocommands".
19947Solution: Do not give the message when aborting. Mention the arguments in
19948 the message. (closes #8690)
19949Files: src/autocmd.c,
19950
19951Patch 8.2.3307
19952Problem: Vim9: :echoconsole cannot access local variables.
19953Solution: Handle like other :echo commands. (closes #8708)
19954Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
19955 src/testdir/test_vim9_script.vim,
19956 src/testdir/test_vim9_disassemble.vim
19957
19958Patch 8.2.3308
19959Problem: Vim9: no runtime check for argument type if a function only has
19960 varargs.
19961Solution: Also check argument types if uf_va_type is set. (closes #8715)
19962Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
19963
19964Patch 8.2.3309
19965Problem: Vim9: divide by zero causes a crash.
19966Solution: Give an error message. (closes #8727)
19967Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
19968
19969Patch 8.2.3310
19970Problem: Vim9: unpack assignment does not mention source of type error.
19971Solution: Mention the argument number. (closes #8719)
19972Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
19973 src/testdir/test_vim9_disassemble.vim
19974
19975Patch 8.2.3311
19976Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
19977Solution: Move to a separate function so it can be skipped by setting
19978 $TEST_SKIP_PAT.
19979Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
19980
19981Patch 8.2.3312
19982Problem: Vim9: after "if false" line breaks in expression not skipped.
19983Solution: Do parse the expression. (closes #8723)
19984Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19985
19986Patch 8.2.3313
19987Problem: Unused code in win_exchange() and frame_remove().
19988Solution: Remove the code. (closes #8728)
19989Files: src/window.c
19990
19991Patch 8.2.3314
19992Problem: Behavior of exists() in a :def function is unpredictable.
19993Solution: Add exists_compiled().
19994Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
19995 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19996
19997Patch 8.2.3315
19998Problem: Cannot use single quote in a float number for readability.
19999Solution: Support single quotes like in numbers. (closes #8713)
20000Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20001 src/viminfo.c, src/testdir/test_float_func.vim
20002
20003Patch 8.2.3316 (after 8.2.3315)
20004Problem: Float test fails.
20005Solution: Add missing change.
20006Files: src/evalfunc.c
20007
20008Patch 8.2.3317
20009Problem: Vim9: No error for missing white space before return type.
20010Solution: Check for white space. (closes #8733)
20011Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20012
20013Patch 8.2.3318
20014Problem: Vim9: cannot ignore quotes in number at the command line.
20015Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20016Files: src/typval.c, src/testdir/test_float_func.vim
20017
20018Patch 8.2.3319
20019Problem: Coverity action on github does not work.
20020Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20021Files: .github/workflows/coverity.yml
20022
20023Patch 8.2.3320
20024Problem: Some local functions are not static.
20025Solution: Add "static". Move snprintf() related code to strings.c.
20026 (Yegappan Lakshmanan, closes #8734)
20027Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20028 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20029 src/message.c, src/profiler.c, src/proto/channel.pro,
20030 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20031 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20032 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20033 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20034 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20035 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20036
20037Patch 8.2.3321
20038Problem: Some code is not tested.
20039Solution: Add some more tests. (Dominique Pellé, closes #8735)
20040Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20041
20042Patch 8.2.3322
20043Problem: Vim9: checking type of dict does not check member type.
20044Solution: When getting the type of a typval use dv_type and lv_type.
20045 (closes #8732)
20046Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20047
20048Patch 8.2.3323
20049Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20050Solution: Adjust the help tag.
20051Files: runtime/doc/eval.txt
20052
20053Patch 8.2.3324
20054Problem: Vim9: Cannot use :silent with :endwhile.
20055Solution: Allow for using the :silent modifier. (closes #8737)
20056Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20057 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20058
20059Patch 8.2.3325
20060Problem: Digraph test fails when LC_ALL is set to "C".
20061Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20062Files: src/testdir/test_digraph.vim
20063
20064Patch 8.2.3326
20065Problem: Vim9: no error passing an empty list of the wrong type.
20066Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20067Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20068 src/testdir/test_vim9_disassemble.vim
20069
20070Patch 8.2.3327
20071Problem: No check for sysconf() failing.
20072Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20073 (Zdenek Dohnal, closes #8743)
20074Files: src/os_unix.c
20075
20076Patch 8.2.3328
20077Problem: Coverity error for not checking return value.
20078Solution: Check value is not negative.
20079Files: src/spellfile.c
20080
20081Patch 8.2.3329
20082Problem: v_lock not set when getting value of environment variable.
20083Solution: Set v_lock to zero.
20084Files: src/typval.c
20085
20086Patch 8.2.3330
20087Problem: Coverity reports using uninitialized field.
20088Solution: Initialize the field early.
20089Files: src/tag.c
20090
20091Patch 8.2.3331
20092Problem: Coverity warns for using value without boundary check.
20093Solution: Add a boundary check.
20094Files: src/viminfo.c
20095
20096Patch 8.2.3332
20097Problem: Vim9: cannot assign to range in list.
20098Solution: Implement overwriting a list range.
20099Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20100 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20101 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20102
20103Patch 8.2.3333
20104Problem: Vim9: not enough tests run with Vim9.
20105Solution: Run a few more tests in Vim9 script and :def function.
20106Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20107
20108Patch 8.2.3334
20109Problem: Vim9: not enough tests run with Vim9.
20110Solution: Run a few more tests in Vim9 script and :def function. Fix
20111 islocked(). Fix error for locking local variable.
20112Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20113
20114Patch 8.2.3335
20115Problem: Vim9: not enough tests run with Vim9.
20116Solution: Run a few more tests in Vim9 script and :def function. Fix that
20117 items(), keys() and values9) return zero for a NULL dict.
20118 Make join() return an empty string for a NULL list. Make sort()
20119 return an empty list for a NULL list.
20120Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20121 src/testdir/vim9.vim
20122
20123Patch 8.2.3336
20124Problem: Behavior of negative index in list change changed. (Naruhiko
20125 Nishino)
20126Solution: Only change it for Vim9 script. (closes #8749)
20127Files: src/list.c, src/testdir/test_listdict.vim
20128
20129Patch 8.2.3337
20130Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20131Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20132Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20133
20134Patch 8.2.3338
20135Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20136Solution: Check the member type. (closes #8750)
20137Files: src/list.c, src/testdir/test_listdict.vim
20138
20139Patch 8.2.3339
20140Problem: Vim9: cannot lock a member in a local dict.
20141Solution: Get the local dict from the stack and pass it to get_lval().
20142Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20143 src/globals.h, src/testdir/test_vim9_cmd.vim,
20144 src/testdir/test_vim9_disassemble.vim
20145
20146Patch 8.2.3340 (after 8.2.3339)
20147Problem: Accessing uninitialized pointer.
20148Solution: Set pointer to NULL.
20149Files: src/eval.c
20150
20151Patch 8.2.3341
20152Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20153Solution: Ignore error caught by try/catch. (closes #8755)
20154Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20155 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20156
20157Patch 8.2.3342 (after 8.2.3341)
20158Problem: Test for :let errors fails.
20159Solution: Adjust the test and how to avoid a second error message.
20160Files: src/evalvars.c, src/testdir/test_let.vim
20161
20162Patch 8.2.3343 (after 8.2.3342)
20163Problem: Vim9: autoload test fails.
20164Solution: Adjust the way the second message is avoided
20165Files: src/evalvars.c
20166
20167Patch 8.2.3344 (after 8.2.3343)
20168Problem: Vimscript test fails.
20169Solution: Have test verify first error instead of second
20170Files: src/testdir/test_vimscript.vim
20171
20172Patch 8.2.3345
20173Problem: Some code not covered by tests.
20174Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20175Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20176 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20177
20178Patch 8.2.3346
20179Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20180 (Naohiro Ono)
20181Solution: Check for Vim9 script syntax. (closes #8756)
20182Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20183
20184Patch 8.2.3347
20185Problem: Check for legacy script is incomplete. (Naohiro Ono)
20186Solution: Also check the :legacy modifier. Use for string concatenation
20187 with "." and others (issue #8756)
20188Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20189 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20190 src/testdir/test_vim9_cmd.vim
20191
20192Patch 8.2.3348
20193Problem: line2byte() returns wrong value after adding textprop. (Yuto
20194 Kimura)
20195Solution: Reduce the length by the size of the text property. (closes #8759)
20196Files: src/memline.c, src/testdir/test_textprop.vim
20197
20198Patch 8.2.3349 (after 8.2.3347)
20199Problem: Eval test for scriptversion fails.
20200Solution: Fix off-by-one error.
20201Files: src/vim9script.c
20202
20203Patch 8.2.3350 (after 8.2.3348)
20204Problem: Text properties test fails on MS-Windows.
20205Solution: Set fileformat to unix.
20206Files: src/testdir/test_textprop.vim
20207
20208Patch 8.2.3351
20209Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20210Solution: Increment the reference count when using a function by name.
20211 (closes #8760)
20212Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20213
20214Patch 8.2.3352
20215Problem: Vim9: error for nested :enddef has wrong line number.
20216Solution: Compute the line number.
20217Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20218
20219Patch 8.2.3353
20220Problem: Vim9: type of argument for negate not checked at compile time.
20221Solution: Add a compile time check.
20222Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20223 src/testdir/test_vim9_script.vim,
20224 src/testdir/test_vim9_disassemble.vim
20225
20226Patch 8.2.3354
20227Problem: Build failure with +byte_offset but without +textprop. (John
20228 Marriott)
20229Solution: Adjust the #ifdef.
20230Files: src/memline.c
20231
20232Patch 8.2.3355
20233Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20234Solution: Add type casts.
20235Files: src/memline.c
20236
20237Patch 8.2.3356
20238Problem: Adding many text properties requires a lot of function calls.
20239Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20240 closes #8751)
20241Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20242 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20243 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20244 src/textprop.c
20245
20246Patch 8.2.3357
20247Problem: Crash when 'virtualedit' is set and window is narrow.
20248Solution: Check that width is not zero. (closes #8767)
20249Files: src/misc2.c, src/testdir/test_number.vim
20250
20251Patch 8.2.3358
20252Problem: Structurizr files are not recognized.
20253Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20254Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20255
20256Patch 8.2.3359
20257Problem: Vim9: error for type when variable is not set.
20258Solution: Give a specific error for a NULL function. (closes #8773)
20259Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20260
20261Patch 8.2.3360
20262Problem: User function completion fails with dict function.
20263Solution: Do not stop sequencing through the list if user functions when
20264 encountering an empty name. (Naohiro Ono, closes #8765,
20265 closes #8774)
20266Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20267
20268Patch 8.2.3361
20269Problem: Vim9: crash with nested :while.
20270Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20271Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20272
20273Patch 8.2.3362
20274Problem: Buffer overflow when completing long tag name.
20275Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20276Files: src/tag.c, src/testdir/test_tagjump.vim
20277
20278Patch 8.2.3363
20279Problem: When :edit reuses the current buffer the alternate file is set to
20280 the same buffer.
20281Solution: Only set the alternate file when not reusing the buffer.
20282 (closes #8783)
20283Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20284 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20285 src/testdir/test_vim9_script.vim
20286
20287Patch 8.2.3364
20288Problem: Vim9: crash when :for is skipped.
20289Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20290Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20291
20292Patch 8.2.3365
20293Problem: Vim9: cannot use option for all operations.
20294Solution: Recognize more operations. (closes #8779)
20295Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20296 src/testdir/test_vim9_cmd.vim
20297
20298Patch 8.2.3366
20299Problem: Vim9: debugging elseif does not stop before condition.
20300Solution: Move debug statement to after the jump. (closes #8781)
20301Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20302
20303Patch 8.2.3367
20304Problem: Vim9: :@r executing a register is inconsistent.
20305Solution: Use "@r" as the start of an expression. (issue #8779)
20306Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20307
20308Patch 8.2.3368
20309Problem: Not all Racket files are recognized.
20310Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20311Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20312
20313Patch 8.2.3369
20314Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20315Solution: Do not auto-format after the delete. (closes #8789)
20316Files: src/ops.c, src/testdir/test_textformat.vim
20317
20318Patch 8.2.3370
20319Problem: Vim9: no check for white space before type in declaration.
20320 (Naohiro Ono)
20321Solution: Check for white space like in a compiled function. (closes #8785)
20322Files: src/eval.c, src/testdir/test_vim9_assign.vim
20323
20324Patch 8.2.3371
20325Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20326Solution: Use "$ENV" as the start of an expression. (closes #8790)
20327Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20328
20329Patch 8.2.3372
20330Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20331Solution: Adjust length for text property. (closes #8772) Also fix it for
20332 deleting a line.
20333Files: src/memline.c, src/testdir/test_textprop.vim
20334
20335Patch 8.2.3373 (after 8.2.3372)
20336Problem: text property test fails on MS-Windows.
20337Solution: Set fileformat to "unix"
20338Files: src/testdir/test_textprop.vim
20339
20340Patch 8.2.3374
20341Problem: Pyret files are not recognized.
20342Solution: Recognize .arr files as Pyret. (Doug Kearns)
20343Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20344
20345Patch 8.2.3375
20346Problem: Using uninitialized memory.
20347Solution: Initialize textprop_save_len.
20348Files: src/memline.c
20349
20350Patch 8.2.3376
20351Problem: Vim9: no warning that "@r" does not do anything.
20352Solution: Give a "no effect" error. (closes #8779)
20353Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20354 src/testdir/test_vim9_cmd.vim
20355
20356Patch 8.2.3377
20357Problem: Vim9: :disass completion does not understand "s:".
20358Solution: Expand "s:" to a pattern. (closes #8780)
20359Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20360
20361Patch 8.2.3378
20362Problem: MS-Windows: completing environment variables with % is wrong.
20363Solution: Only complete environment variables with $. (Albert Liu,
20364 closes #8791)
20365Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20366
20367Patch 8.2.3379
20368Problem: Crash when using NULL job.
20369Solution: Copy static string into buffer. (issue #8260)
20370Files: src/job.c, src/testdir/test_channel.vim
20371
20372Patch 8.2.3380
20373Problem: Crash when using NULL string for funcref().
20374Solution: Check for NULL argument. (issue #8260)
20375Files: src/evalfunc.c, src/testdir/test_expr.vim
20376
20377Patch 8.2.3381
20378Problem: Crash when using NULL list with sign functions.
20379Solution: Handle a NULL list like an empty list. (issue #8260)
20380Files: src/globals.h, src/testdir/test_signs.vim
20381
20382Patch 8.2.3382
20383Problem: Crash when getting the type of a NULL partial.
20384Solution: Check for NULL. (closes #8260)
20385Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20386
20387Patch 8.2.3383
20388Problem: Vim9: completion for :disassemble adds parenthesis.
20389Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20390Files: src/userfunc.c, src/testdir/test_cmdline.vim
20391
20392Patch 8.2.3384
20393Problem: Cannot disable modeline for an individual file.
20394Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20395Files: runtime/doc/options.txt, src/buffer.c,
20396 src/testdir/test_modeline.vim
20397
20398Patch 8.2.3385
20399Problem: Escaping for fish shell does not work properly.
20400Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20401Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20402
20403Patch 8.2.3386
20404Problem: Using uninitialized memory.
20405Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20406Files: src/indent.c
20407
20408Patch 8.2.3387
20409Problem: Compiler warning for non-static function.
20410Solution: Make the function static. (Dominique Pellé, closes #8816)
20411Files: src/strings.c
20412
20413Patch 8.2.3388
20414Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20415 Briscoe)
20416Solution: Include the "/.." in the directory name. (closes #8808)
20417Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20418
20419Patch 8.2.3389
20420Problem: Cannot stop insert mode completion without side effects.
20421Solution: Add CTRL-X CTRL-Z. (closes #8821)
20422Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20423 src/testdir/test_ins_complete.vim
20424
20425Patch 8.2.3390
20426Problem: Included xdiff code is outdated.
20427Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20428Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20429 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20430 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20431 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20432 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20433
20434Patch 8.2.3391
20435Problem: Crash with combination of 'linebreak' and other options.
20436Solution: Avoid n_extra to become negative. (Christian Brabandt,
20437 closes #8817)
20438Files: src/drawline.c
20439
20440Patch 8.2.3392
20441Problem: augroup completion escapes regexp pattern characters.
20442Solution: Do not escape the augroup name. (closes #8826)
20443Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20444
20445Patch 8.2.3393
20446Problem: Escaping for fish shell is skipping some characters.
20447Solution: Escape character after backslash if needed. (Jason Cox,
20448 closes #8827)
20449Files: src/strings.c, src/testdir/test_shell.vim
20450
20451Patch 8.2.3394
20452Problem: Filler lines are wrong when changing text in diff mode.
20453Solution: Don't change the filler lines on every change. Check
20454 scrollbinding when updating the filler lines. (closes #8809)
20455Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20456 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20457 src/testdir/dumps/Test_diff_scroll_change_02.dump
20458
20459Patch 8.2.3395
20460Problem: Vim9: expression breakpoint not checked in :def function.
20461Solution: Always compile a function for debugging if there is an expression
20462 breakpoint. (closes #8803)
20463Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20464 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20465 src/testdir/test_debugger.vim
20466
20467Patch 8.2.3396
20468Problem: When libcall() fails invalid pointer may be used.
20469Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20470Files: src/evalfunc.c
20471
20472Patch 8.2.3397
20473Problem: No test for what 8.2.3391 fixes.
20474Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20475Files: src/testdir/test_breakindent.vim
20476
20477Patch 8.2.3398
20478Problem: Html text objects are not fully tested.
20479Solution: Add tests for dbcs encoding and different number of backslashes.
20480 (Dominique Pellé, closes #8831)
20481Files: src/testdir/test_textobjects.vim
20482
20483Patch 8.2.3399
20484Problem: Octave files are not recognized.
20485Solution: Detect Octave files. (Doug Kearns)
20486Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20487 runtime/filetype.vim, src/testdir/test_filetype.vim
20488
20489Patch 8.2.3400
20490Problem: ":z!" is not supported.
20491Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20492 Use display height instead of current window height.
20493Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20494 src/testdir/test_ex_z.vim
20495
20496Patch 8.2.3401
20497Problem: Vim9: cannot use a negative count with finddir() and findfile().
20498Solution: Adjust the return type. (closes #8776)
20499Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20500
20501Patch 8.2.3402
20502Problem: Invalid memory access when using :retab with large value.
20503Solution: Check the number is positive.
20504Files: src/indent.c, src/option.c, src/optionstr.c,
20505 src/testdir/test_retab.vim
20506
20507Patch 8.2.3403 (after 8.2.3402)
20508Problem: Memory leak for :retab with invalid argument.
20509Solution: Free the memory. Make error messages consistent.
20510Files: src/indent.c
20511
20512Patch 8.2.3404
20513Problem: Vim9: no error for white space before "(".
20514Solution: Give an error, like in a compiled function.
20515Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20516
20517Patch 8.2.3405
20518Problem: Cannot have a comment line in a {} block of a user command.
20519Solution: Continue after the line break. (closes #8837)
20520Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20521
20522Patch 8.2.3406
20523Problem: On some systems tests fail without _REENTRANT. (Elimar
20524 Riesebieter)
20525Solution: Add -D_REENTRANT in configure. (closes #7402)
20526Files: src/configure.ac, src/auto/configure
20527
20528Patch 8.2.3407
20529Problem: Using uninitialized memory with "let g:['bar'] = 2".
20530Solution: Initialize v_type of a new dict item.
20531Files: src/dict.c
20532
20533Patch 8.2.3408
20534Problem: Can delete a numbered function. (Naohiro Ono)
20535Solution: Disallow deleting a numbered function. (closes #8760)
20536Files: src/userfunc.c, src/testdir/test_user_func.vim
20537
20538Patch 8.2.3409
20539Problem: Reading beyond end of line with invalid utf-8 character.
20540Solution: Check for NUL when advancing.
20541Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20542
20543Patch 8.2.3410
20544Problem: Crash with linebreak, listchars and large tabstop.
20545Solution: Account for different size listchars for a tab. (closes #8841)
20546Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20547
20548Patch 8.2.3411
20549Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20550Solution: Check the import flags. (closes #8843)
20551Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20552
20553Patch 8.2.3412 (after 8.2.3411)
20554Problem: Vim9: importing the wrong file.
20555Solution: Correct the file name. Delete the file afterwards.
20556Files: src/testdir/test_vim9_script.vim
20557
20558Patch 8.2.3413
20559Problem: Vim9: too many characters are allowed in import name.
20560Solution: Disallow ':' and '#', check for white space. (closes #8845)
20561Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20562
20563Patch 8.2.3414
20564Problem: fullcommand() gives the wrong name if there is a buffer-local user
20565 command. (Naohiro Ono)
20566Solution: Use a separate function to get the user command name.
20567 (closes #8840)
20568Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20569 src/testdir/test_cmdline.vim
20570
20571Patch 8.2.3415
20572Problem: Vim9: Not all function argument types are properly checked.
20573Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20574 closes #8839)
20575Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20576 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20577
20578Patch 8.2.3416
20579Problem: Second error is reported while exception is being thrown.
20580Solution: Do not check for trailing characters when already aborting.
20581 (closes #8842)
20582Files: src/userfunc.c, src/testdir/test_trycatch.vim
20583
20584Patch 8.2.3417
20585Problem: Vim9: a failing debug expression aborts script sourcing.
20586Solution: Do not let expression failure abort script sourcing. (closes #8848)
20587Files: src/debugger.c, src/testdir/test_debugger.vim
20588
20589Patch 8.2.3418
20590Problem: Garbage collection while evaluating may cause trouble.
20591Solution: Disable garbage collection while evaluating an expression.
20592 (Christian Brabandt, issue #8848)
20593Files: src/eval.c
20594
20595Patch 8.2.3419
20596Problem: A failing debug expression may make Vim unusable.
20597Solution: Suppress error messages. (closes #8848)
20598Files: src/debugger.c, src/testdir/test_debugger.vim
20599
20600Patch 8.2.3420
20601Problem: _REENTRANT defined more than once.
20602Solution: Fix configure script. (Christian Brabandt, closes #8852)
20603Files: src/configure.ac, src/auto/configure
20604
20605Patch 8.2.3421
20606Problem: A bit of code is not covered by tests.
20607Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
20608Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
20609 src/testdir/test_startup.vim
20610
20611Patch 8.2.3422
20612Problem: Vim9: no failure if return type differs from returned variable.
20613Solution: Copy type when copying a list. (closes #8847)
20614Files: src/list.c, src/testdir/test_vim9_func.vim
20615
20616Patch 8.2.3423
20617Problem: Vim9: list += list creates a new list in :def function.
20618Solution: Append to the existing list.
20619Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
20620 src/testdir/test_vim9_assign.vim
20621
20622Patch 8.2.3424
20623Problem: A sequence of spaces is hard to see in list mode.
20624Solution: Add the "multispace" option to 'listchars'. (closes #8834)
20625Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
20626 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
20627
20628Patch 8.2.3425
20629Problem: Warning for using uninitialized variable.
20630Solution: Initialize it. (John Marriott)
20631Files: src/screen.c
20632
20633Patch 8.2.3426
20634Problem: Crash when deleting a listener in a listener callback. (Naohiro
20635 Ono)
20636Solution: Mark the listener and delete it later. (closes #8863)
20637Files: src/change.c, src/testdir/test_listener.vim
20638
20639Patch 8.2.3427
20640Problem: Double free when list is copied.
20641Solution: Allocate the type when making a copy. (closes #8862)
20642 Clear the type for flattennew(). Avoid a memory leak when
20643 flattennew() fails.
20644Files: src/list.c, src/testdir/test_vim9_builtin.vim
20645
20646Patch 8.2.3428
20647Problem: Using freed memory when replacing. (Dhiraj Mishra)
20648Solution: Get the line pointer after calling ins_copychar().
20649Files: src/normal.c, src/testdir/test_edit.vim
20650
20651Patch 8.2.3429
20652Problem: Leaking memory when assigning to list or dict.
20653Solution: Free the list or dict type before overwriting it.
20654Files: src/vim9type.c, src/evalvars.c
20655
20656Patch 8.2.3430
20657Problem: No generic way to trigger an autocommand on mode change.
20658Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
20659Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
20660 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
20661 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
20662 src/testdir/test_edit.vim, src/vim.h
20663
20664Patch 8.2.3431
20665Problem: Completion for :disas sorts local functions first.
20666Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
20667 closes #8860)
20668Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20669
20670Patch 8.2.3432
20671Problem: Octave/Matlab filetype detection does not work properly.
20672Solution: Update the patterns used for matching. (Doug Kearns)
20673Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
20674
20675Patch 8.2.3433
20676Problem: :delcommand does not take a -buffer option.
20677Solution: Add the -buffer option.
20678Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
20679 src/testdir/test_usercommands.vim
20680
20681Patch 8.2.3434 (after 8.2.3430)
20682Problem: Function prototype for trigger_modechanged() is incomplete.
20683Solution: Add "void".
20684Files: src/proto/misc1.pro
20685
20686Patch 8.2.3435
20687Problem: Vim9: dict is not passed to dict function.
20688Solution: Keep the dict used until a function call.
20689Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
20690 src/testdir/test_vim9_func.vim,
20691 src/testdir/test_vim9_disassemble.vim
20692
20693Patch 8.2.3436
20694Problem: Check for optional bool type has confusing return type.
20695Solution: Explicitly return OK.
20696Files: src/typval.c
20697
20698Patch 8.2.3437
20699Problem: Compiler warnings for 32/64 bit usage.
20700Solution: Add type casts. (Mike Williams, closes #8870)
20701Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
20702
20703Patch 8.2.3438
20704Problem: Cannot manipulate blobs.
20705Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
20706 closes #8868)
20707Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
20708 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
20709 src/proto/typval.pro, src/testdir/test_blob.vim,
20710 src/testdir/test_vim9_builtin.vim, src/typval.c
20711
20712Patch 8.2.3439
20713Problem: Deleted lines go to wrong yank register.
20714Solution: Reset y_append when not calling get_yank_register(). (Christian
20715 Brabandt, closes #8872)
20716Files: src/ops.c, src/proto/register.pro, src/register.c,
20717 src/testdir/test_registers.vim
20718
20719Patch 8.2.3440
20720Problem: Recover test fails if there is an old swap file.
20721Solution: Delete old swap files.
20722Files: src/testdir/test_recover.vim
20723
20724Patch 8.2.3441
20725Problem: MS-Windows: vimtutor can't handle path with spaces.
20726Solution: Add double quotes. (Christian Brabandt, closes #8871)
20727Files: vimtutor.bat
20728
20729Patch 8.2.3442
20730Problem: Vim9: || and && are not handled at compile time when possible.
20731Solution: When using constants generate fewer instructions.
20732Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
20733 src/testdir/test_vim9_disassemble.vim
20734
20735Patch 8.2.3443
20736Problem: Vim9: memory leak when and/or fails.
20737Solution: Also clear the growarray when the length is zero.
20738Files: src/vim9compile.c
20739
20740Patch 8.2.3444
20741Problem: concealed text not revealed when leaving insert mode. (Michael
20742 Soyka)
20743Solution: Check if concealing changed when leaving insert mode.
20744 (closes #8880)
20745Files: src/edit.c, src/testdir/test_conceal.vim,
20746 src/testdir/dumps/Test_conceal_two_windows_07in.dump
20747
20748Patch 8.2.3445
20749Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
20750Solution: Always declare longVersion in version.c
20751Files: src/globals.h, src/version.c
20752
20753Patch 8.2.3446
20754Problem: Not enough tests for empty string arguments.
20755Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
20756Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
20757 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
20758
20759Patch 8.2.3447
20760Problem: A couple of declarations are not ANSI C.
20761Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
20762Files: src/os_unix.h
20763
20764Patch 8.2.3448
20765Problem: :endtry after function call that throws not found.
20766Solution: Do check for following :endtry if an exception is being thrown.
20767 (closes #8889)
20768Files: src/userfunc.c, src/testdir/test_trycatch.vim
20769
20770Patch 8.2.3449
20771Problem: Sort fails if the sort compare function returns 999.
20772Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
20773Files: src/list.c, src/testdir/test_sort.vim
20774
20775Patch 8.2.3450
20776Problem: Coveralls action fails.
20777Solution: Disable it for now.
20778Files: .github/workflows/ci.yml
20779
20780Patch 8.2.3451
20781Problem: Not all apache files are recognized.
20782Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
20783Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20784
20785Patch 8.2.3452
20786Problem: MPD files are not recognized.
20787Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
20788Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20789
20790Patch 8.2.3453
20791Problem: Autocmd not executed when editing a directory ending in a path
20792 separator inside try block.
20793Solution: Return NOTDONE instead of FAIL. (closes #8885)
20794Files: src/fileio.c, src/testdir/test_autocmd.vim
20795
20796Patch 8.2.3454
20797Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
20798 Ono)
20799Solution: Count the inserted lines. (closes #8899)
20800Files: src/register.c, src/testdir/test_put.vim
20801
20802Patch 8.2.3455 (after 8.2.3454)
20803Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
20804Solution: Correct the mark position. (closes #8899)
20805Files: src/register.c, src/testdir/test_put.vim
20806
20807Patch 8.2.3456
20808Problem: Vim9: Not all functions are tested with an empty string argument.
20809Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
20810Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20811
20812Patch 8.2.3457
20813Problem: MS-Windows Vim9: test executed and fails.
20814Solution: Add extra check for not being on MS-Windows.
20815Files: src/testdir/test_vim9_script.vim
20816
20817Patch 8.2.3458
20818Problem: Not all dictdconf files are recognized.
20819Solution: Adjust the pattern. (Doug Kearns)
20820Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20821
20822Patch 8.2.3459
20823Problem: Vim9: need more tests for empty string arguments.
20824Solution: Add more tests. Also use empty argument with menu_info() to get
20825 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
20826Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
20827 src/testdir/test_vim9_builtin.vim
20828
20829Patch 8.2.3460
20830Problem: Some type casts are not needed.
20831Solution: Remove unnecessary type casts. (closes #8934)
20832Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
20833 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
20834 src/version.c
20835
20836Patch 8.2.3461
20837Problem: Cannot distinguish Normal and Terminal-Normal mode.
20838Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
20839Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
20840
20841Patch 8.2.3462
20842Problem: The ModeChanged event only uses one character for the new_mode and
20843 old_mode values.
20844Solution: Pass one as first argument to mode(). (issue #8856)
20845Files: src/misc1.c, src/testdir/test_edit.vim
20846
20847Patch 8.2.3463
20848Problem: Pattern matching with ModeChanged not tested.
20849Solution: Add a few more test lines. (issue #8856)
20850Files: src/testdir/test_edit.vim
20851
20852Patch 8.2.3464
20853Problem: nginx files are not recognized.
20854Solution: Add several file patterns. (Chris Aumann, closes #8922)
20855Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20856
20857Patch 8.2.3465
20858Problem: Cannot detect insert scroll mode.
20859Solution: Add "scroll" to complete_info(). (closes #8943)
20860Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
20861
20862Patch 8.2.3466
20863Problem: Completion submode not indicated for virtual replace.
20864Solution: Add submode to "Rv". (closes #8945)
20865Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
20866
20867Patch 8.2.3467
20868Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
20869Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
20870 (closes #8937)
20871Files: src/edit.c, src/testdir/test_autocmd.vim
20872
20873Patch 8.2.3468
20874Problem: Problem with :cd when editing file in non-existent directory. (Yee
20875 Cheng Chin)
20876Solution: Prepend the current directory to get the full path. (closes #8903)
20877Files: src/os_unix.c, src/testdir/test_cd.vim
20878
20879Patch 8.2.3469
20880Problem: Some files with json syntax are not recognized.
20881Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
20882Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20883
20884Patch 8.2.3470
20885Problem: Crash with error in :catch and also in :finally.
20886Solution: Only discard an exception if there is one. (closes #8954)
20887Files: src/ex_eval.c, src/testdir/test_trycatch.vim
20888
20889Patch 8.2.3471
20890Problem: Crash when using CTRL-T after an empty search pattern.
20891Solution: Bail out when there is no previous search pattern. (closes #8953)
20892Files: src/ex_getln.c, src/testdir/test_search.vim
20893
20894Patch 8.2.3472
20895Problem: Other crashes with empty search pattern not tested.
20896Solution: Add a few more test lines. (Dominique Pellé)
20897Files: src/testdir/test_search.vim
20898
20899Patch 8.2.3473
20900Problem: Some files with tcl syntax are not recognized.
20901Solution: Add a few file patterns. (Doug Kearns
20902Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20903
20904Patch 8.2.3474
20905Problem: Some places use "Vimscript" instead of "Vim script".
20906Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
20907Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
20908
20909Patch 8.2.3475
20910Problem: Expression register set by not executed put command.
20911Solution: Do not set the register if the command is skipped. (closes #8909)
20912Files: src/ex_docmd.c, src/testdir/test_excmd.vim
20913
20914Patch 8.2.3476
20915Problem: Renaming a buffer on startup may cause using freed memory.
20916Solution: Check if the buffer is used in a window. (closes #8955)
20917Files: src/buffer.c, src/testdir/test_startup.vim
20918
20919Patch 8.2.3477 (after 8.2.3476)
20920Problem: Startup test fails on MS-Windows.
20921Solution: Skip the test if not on Unix.
20922Files: src/testdir/test_startup.vim
20923
20924Patch 8.2.3478 (after 8.2.3470)
20925Problem: Still crash with error in :catch and also in :finally.
20926Solution: Only call finish_exception() once. (closes #8954)
20927Files: src/ex_eval.c, src/structs.h
20928
20929Patch 8.2.3479
20930Problem: Crash when calling job_start with an invalid argument. (Virginia
20931 Senioria)
20932Solution: Clear the first item in argv. (closes #8957)
20933Files: src/misc2.c, src/testdir/test_channel.vim
20934
20935Patch 8.2.3480 (after 8.2.3478)
20936Problem: Test does not fail without the fix for a crash.
20937Solution: Write the bad code in a file and source it. (Dominique Pellé,
20938 closes #8961)
20939Files: src/testdir/test_trycatch.vim
20940
20941Patch 8.2.3481
20942Problem: Failures when char is unsigned.
20943Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
20944 closes #8936)
20945Files: src/structs.h, .github/workflows/ci.yml
20946
20947Patch 8.2.3482
20948Problem: Reading beyond end of line ending in quote and backslash.
20949Solution: Check for non-NUL after backslash. (closes #8964)
20950Files: src/cindent.c, src/testdir/test_cindent.vim
20951
20952Patch 8.2.3483
20953Problem: #ifdef for using sysinfo() is incomplete.
20954Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
20955 (closes #8952)
20956Files: src/memline.c, src/configure.ac, src/auto/configure
20957
20958Patch 8.2.3484
20959Problem: Crash when going through spell suggestions.
20960Solution: Limit the text length for finding suggestions to the original
20961 length. Do not update buffers when exiting. (closes #8965)
20962Files: src/spellsuggest.c, src/clipboard.c,
20963 src/testdir/test_spell_utf8.vim
20964
20965Patch 8.2.3485
20966Problem: Python 3 test fails with Python 3.10.
20967Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
20968Files: src/testdir/test_python3.vim
20969
20970Patch 8.2.3486
20971Problem: Illegal memory access with invalid sequence of commands.
20972Solution: Do not call leave_block() when not in a try block. (closes #8966)
20973 Reset did_emsg so that exception is shown as an error.
20974Files: src/ex_eval.c, src/testdir/test_trycatch.vim
20975
20976Patch 8.2.3487
20977Problem: Illegal memory access if buffer name is very long.
20978Solution: Make sure not to go over the end of the buffer.
20979Files: src/drawscreen.c, src/testdir/test_statusline.vim
20980
20981Patch 8.2.3488
20982Problem: Issue template is not easy to use.
20983Solution: Use a yaml template. (closes #8928)
20984Files: .github/ISSUE_TEMPLATE/bug_report.md,
20985 .github/ISSUE_TEMPLATE/bug_report.yml
20986
20987Patch 8.2.3489
20988Problem: ml_get error after search with range.
20989Solution: Limit the line number to the buffer line count.
20990Files: src/ex_docmd.c, src/testdir/test_search.vim
20991
20992Patch 8.2.3490
20993Problem: Superfluous return statements.
20994Solution: Remove superfluous return statements from void functions.
20995 (closes #8977)
20996Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
20997 src/option.c
20998
20999Patch 8.2.3491
21000Problem: xpm2 filetype dection is not so good.
21001Solution: Adjust the check for xpm2. (closes #8914)
21002Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21003
21004Patch 8.2.3492
21005Problem: Crash when pasting too many times.
21006Solution: Limit the size to what fits in an int. (closes #8962)
21007Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21008
21009Patch 8.2.3493 (after 8.2.3492)
21010Problem: Large count test fails on MS-Windows.
21011Solution: Skip the test on MS-Windows.
21012Files: src/testdir/test_put.vim
21013
21014Patch 8.2.3494
21015Problem: Illegal memory access in utf_head_off.
21016Solution: Check cursor position when reselecting the Visual area.
21017 (closes #8963)
21018Files: src/normal.c, src/testdir/test_visual.vim
21019
21020Patch 8.2.3495
21021Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21022Solution: Add tolerance to the size check. (closes #8815)
21023Files: src/testdir/test_startup.vim
21024
21025Patch 8.2.3496
21026Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21027Solution: Use the just built xxd executable if it exists. (James McCoy,
21028 closes #8929)
21029Files: src/testdir/test_crypt.vim
21030
21031Patch 8.2.3497
21032Problem: Put test fails when run by itself.
21033Solution: Source check.vim. (Dominique Pellé, closes #8990)
21034Files: src/testdir/test_put.vim
21035
21036Patch 8.2.3498
21037Problem: Recover test may fail on some systems.
21038Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21039 closes #8941)
21040Files: src/testdir/test_recover.vim
21041
21042Patch 8.2.3499
21043Problem: GUI geometry startup test fails.
21044Solution: Check string values instead of numbers
21045Files: src/testdir/test_startup.vim
21046
21047Patch 8.2.3500
21048Problem: Github CI fails to install clang.
21049Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21050Files: .github/workflows/ci.yml
21051
21052Patch 8.2.3501
21053Problem: tmux filetype dection is incomplete
21054Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21055 closes #8971)
21056Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21057
21058Patch 8.2.3502 (after 8.2.2919)
21059Problem: Cannot enter password in shell command.
21060Solution: Revert patch 8.2.2919.
21061Files: src/os_unix.c
21062
21063Patch 8.2.3503
21064Problem: Vim9: using g:pat:cmd is confusing.
21065Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21066 (closes #8982)
21067Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21068 src/vim9compile.c, src/proto/vim9compile.pro,
21069 src/testdir/test_vim9_cmd.vim
21070
21071Patch 8.2.3504 (after 8.2.3503)
21072Problem: Vim9: warning for signed vs unsigned.
21073Solution: Add type cast.
21074Files: src/vim9compile.c
21075
21076Patch 8.2.3505 (after 8.2.3503)
21077Problem: Vim9: build failure without the +eval feature.
21078Solution: Add #ifdef.
21079Files: src/ex_cmds.c
21080
21081Patch 8.2.3506 (after 8.2.3503)
21082Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21083Solution: Add a few more test cases.
21084Files: src/testdir/test_vim9_cmd.vim
21085
21086Patch 8.2.3507
21087Problem: Generating proto files may fail.
21088Solution: Define __attribute().
21089Files: src/Makefile
21090
21091Patch 8.2.3508 (after 8.2.3503)
21092Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21093Solution: Add a few more test cases.
21094Files: src/testdir/test_vim9_cmd.vim
21095
21096Patch 8.2.3509
21097Problem: Undo file is not synced. (Sami Farin)
21098Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21099 closes #8879, closes #8920)
21100Files: runtime/doc/options.txt, src/undo.c
21101
21102Patch 8.2.3510
21103Problem: Changes are only detected with one second accuracy.
21104Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21105 closes #8873, closes #8875)
21106Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21107 src/config.h.in, src/configure.ac, src/fileio.c,
21108 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21109 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21110
21111Patch 8.2.3511
21112Problem: Vim9: entry for loop variable is created every round.
21113Solution: Only create the entry once. (closes #8996)
21114Files: src/evalvars.c, src/vim9script.c
21115
21116Patch 8.2.3512
21117Problem: Timestamp test fails on some systems.
21118Solution: Sleep for a short while.
21119Files: src/testdir/test_stat.vim
21120
21121Patch 8.2.3513
21122Problem: Using freed memory when using a timer and searching. (Dominique
21123 Pellé)
21124Solution: Allocated mr_pattern.
21125Files: src/search.c
21126
21127Patch 8.2.3514
21128Problem: Autoread test with nano second time sometimes fails.
21129Solution: Mark the test as being flaky.
21130Files: src/testdir/test_stat.vim
21131
21132Patch 8.2.3515
21133Problem: Nano time test fails on Mac and FreeBSD.
21134Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21135 closes #9000)
21136Files: src/fileio.c
21137
21138Patch 8.2.3516
21139Problem: Terminal window does not have transparent background when
21140 'termguicolors' is used.
21141Solution: Fix the background color. (closes #2361, closes #9002)
21142Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21143 src/terminal.c
21144
21145Patch 8.2.3517
21146Problem: TextChanged does not trigger after TextChangedI.
21147Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21148 closes #8968, closes #8932)
21149Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21150 src/testdir/test_autocmd.vim
21151
21152Patch 8.2.3518
21153Problem: Test_xrestore sometimes fails.
21154Solution: Mark the test as flayky. Move marking test as flaky to the test
21155 instead of listing them in runtest.
21156Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21157 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21158 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21159 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21160 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21161 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21162 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21163 src/testdir/test_timers.vim
21164
21165Patch 8.2.3519
21166Problem: TOML files are not recognized.
21167Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21168Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21169
21170Patch 8.2.3520
21171Problem: Cannot define a function for thesaurus completion.
21172Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21173 closes 8950)
21174Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21175 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21176 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21177 src/structs.h, src/testdir/test_edit.vim
21178
21179Patch 8.2.3521 (after 8.2.3520)
21180Problem: Options completion test fails.
21181Solution: Add 'thesaurusfunc' to the results.
21182Files: src/testdir/test_options.vim
21183
21184Patch 8.2.3522
21185Problem: Cannot use \x and \u when setting 'listchars'.
21186Solution: Support hex and unicode in hex form. (closes #9006)
21187Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21188 src/testdir/test_listchars.vim
21189
21190Patch 8.2.3523
21191Problem: Duplicated code in xxd.
21192Solution: Remove duplicated lines. (closes #8972)
21193Files: src/xxd/xxd.c
21194
21195Patch 8.2.3524
21196Problem: GUI: ligatures are not used.
21197Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21198Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21199 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21200 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21201 src/testdir/test_gui.vim
21202
21203Patch 8.2.3525
21204Problem: Option variable name does not match option name. (Christ van
21205 Willigen)
21206Solution: Rename the variable.
21207Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21208 src/structs.h
21209
21210Patch 8.2.3526
21211Problem: Tests have clumsy check for X11 based GUI.
21212Solution: Add CheckX11BasedGui.
21213Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21214 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21215
21216Patch 8.2.3527
21217Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21218Solution: Initialize it.
21219Files: src/gui_gtk_x11.c
21220
21221Patch 8.2.3528
21222Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21223Solution: Make 'thesaurusfunc' global-local.
21224Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21225 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21226 src/insexpand.c, src/testdir/test_edit.vim
21227
21228Patch 8.2.3529
21229Problem: Xxd usage output is incomplete.
21230Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21231Files: src/xxd/xxd.c
21232
21233Patch 8.2.3530
21234Problem: ":buf \{a}" fails while ":edit \{a}" works.
21235Solution: Unescape "\{". (closes #8917)
21236Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21237 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21238 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21239
21240Patch 8.2.3531 (after 8.2.3530)
21241Problem: Command line completion test fails on MS-Windows.
21242Solution: Do not test with "\{" on MS-Windows.
21243Files: src/testdir/test_cmdline.vim
21244
21245Patch 8.2.3532
21246Problem: The previous '' mark is restored after moving the cursor to the
21247 original jump position. (Tony Chen)
21248Solution: Forget the previous position after checking. (closes #8985)
21249Files: src/mark.c, src/testdir/test_marks.vim
21250
21251Patch 8.2.3533
21252Problem: Inefficient code in xxd.
21253Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21254Files: src/xxd/xxd.c
21255
21256Patch 8.2.3534
21257Problem: Autoread test is a bit flaky.
21258Solution: Wait a brief moment before overwriting the file.
21259Files: src/testdir/test_stat.vim
21260
21261Patch 8.2.3535
21262Problem: If-else indenting is confusing.
21263Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21264Files: src/drawscreen.c
21265
21266Patch 8.2.3536
21267Problem: The do_highlight() function is way too long.
21268Solution: Split it into several functions. (Yegappan Lakshmanan,
21269 closes #9011)
21270Files: src/highlight.c
21271
21272Patch 8.2.3537
21273Problem: mode() does not return the right value in 'operatorfunc'.
21274Solution: Reset finish_op while calling 'operatorfunc'.
21275Files: src/ops.c, src/testdir/test_functions.vim
21276
21277Patch 8.2.3538
21278Problem: Else-if indenting is confusing.
21279Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21280Files: src/highlight.c
21281
21282Patch 8.2.3539
21283Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21284Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21285Files: src/gui_gtk.c
21286
21287Patch 8.2.3540
21288Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21289Solution: Use the right line number. (closes #8956)
21290Files: src/register.c, src/testdir/test_put.vim
21291
21292Patch 8.2.3541
21293Problem: Compiler warning for unused variable in tiny version.
21294Solution: Add #ifdef. (John Marriott)
21295Files: src/highlight.c
21296
21297Patch 8.2.3542
21298Problem: Too many comments are old style.
21299Solution: Change comments to // style. (closes #9021)
21300Files: src/buffer.c
21301
21302Patch 8.2.3543
21303Problem: Swapname has double slash when 'directory' ends in double slash.
21304 (Shane Smith)
21305Solution: Remove the superfluous slash. (closes #8876)
21306Files: src/memline.c, src/testdir/test_swap.vim
21307
21308Patch 8.2.3544
21309Problem: Unix: may leak file descriptor when using a non-existing
21310 directory.
21311Solution: Always close the file. (closes #9023)
21312Files: src/os_unix.c
21313
21314Patch 8.2.3545
21315Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21316Solution: Check the value and give an error. (closes #9024)
21317Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21318 src/testdir/test_utf8.vim
21319
21320Patch 8.2.3546 (after 8.2.3545)
21321Problem: Build failure without the +eval feature.
21322Solution: Add #ifdef. (closes #9025)
21323Files: src/errors.h
21324
21325Patch 8.2.3547
21326Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21327 Peterse)
21328Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21329Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21330 src/testdir/test_quickfix.vim
21331
21332Patch 8.2.3548
21333Problem: GTK GUI crashen when reading from stdin.
21334Solution: Do not overwrite the NUL after the string. (closes #9028)
21335Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21336
21337Patch 8.2.3549
21338Problem: Mistakes in test comments.
21339Solution: Fix the comments. (closes #9029)
21340Files: src/testdir/test_autocmd.vim
21341
21342Patch 8.2.3550
21343Problem: completion() does not work properly.
21344Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21345 closes #9016)
21346Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21347
21348Patch 8.2.3551
21349Problem: Checking first character of url twice.
21350Solution: Only check once. (closes #9026)
21351Files: src/misc1.c
21352
21353Patch 8.2.3552
21354Problem: Xxd revert does not handle end of line correctly.
21355Solution: Check for newline first. (closes #9034)
21356Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21357
21358Patch 8.2.3553 (after 8.2.3552)
21359Problem: Xxd test fails on MS-Windows.
21360Solution: Split shell command in two.
21361Files: src/testdir/test_xxd.vim
21362
21363Patch 8.2.3554
21364Problem: Xxd has various way to exit.
21365Solution: Add function to print error and exit. (closes #9035)
21366Files: src/xxd/xxd.c
21367
21368Patch 8.2.3555
21369Problem: ModeChanged is not triggered on every mode change.
21370Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21371Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21372 src/misc1.c, src/normal.c, src/terminal.c,
21373 src/testdir/test_edit.vim
21374
21375Patch 8.2.3556
21376Problem: Filler lines are incorrect for other window in diff mode after
21377 making a change.
21378Solution: Copy filler lines from the current window. (closes #8809)
21379Files: src/diff.c, src/testdir/test_diffmode.vim,
21380 src/testdir/dumps/Test_diff_scroll_change_03.dump
21381
21382Patch 8.2.3557
21383Problem: Vim9: cannot call imported funcref at script level.
21384Solution: Check for an imported function. (closes #9007)
21385Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21386
21387Patch 8.2.3558 (after 8.2.3557)
21388Problem: Vim9: asserting the wrong variable.
21389Solution: Don't use Foo, use Goo.
21390Files: src/testdir/test_vim9_script.vim
21391
21392Patch 8.2.3559
21393Problem: Loop variable recreated every time.
21394Solution: Keep the loop variable when looping.
21395Files: src/ex_eval.c
21396
21397Patch 8.2.3560
21398Problem: Using freed memory with lambda.
21399Solution: Do not free lines early, keep them until the expression is
21400 finished. (closes #9020)
21401Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21402 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21403
21404Patch 8.2.3561
21405Problem: Cscope has a complicated way of giving an error message.
21406Solution: Use semsg(). (James McCoy, closes #9038)
21407Files: src/if_cscope.c
21408
21409Patch 8.2.3562
21410Problem: Cannot add color names.
21411Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21412Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21413 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21414 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21415 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21416 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21417 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21418 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21419 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21420 src/vim.h, src/globals.h, src/errors.h,
21421 src/testdir/test_highlight.vim
21422
21423Patch 8.2.3563 (after 8.2.3562)
21424Problem: Build failure with +eval but without GUI or +termguicolors
21425Solution: Adjust #ifdef. (John Marriott)
21426Files: src/highlight.c
21427
21428Patch 8.2.3564
21429Problem: Invalid memory access when scrolling without a valid screen.
21430Solution: Do not set VALID_BOTLINE in w_valid.
21431Files: src/move.c, src/testdir/test_normal.vim
21432
21433Patch 8.2.3565
21434Problem: Makefile dependencies are outdated. (Gary Johnson)
21435Solution: Run "make depend" and add missing dependencies.
21436Files: src/Makefile
21437
21438Patch 8.2.3566
21439Problem: Build failure on old systems when using nano timestamp.
21440Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21441 Johnson, closes #9054)
21442Files: src/vim.h
21443
21444Patch 8.2.3567
21445Problem: CTRL-I in Insert mode is not tested
21446Solution: Add a test case. (Dominique Pellé, closes #8866)
21447Files: src/testdir/test_edit.vim
21448
21449Patch 8.2.3568
21450Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21451Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21452Files: src/testdir/test_edit.vim
21453
21454Patch 8.2.3569
21455Problem: Error for :let when vimrc is Vim 9 script.
21456Solution: Prepend :legacy in the code for converting arguments. (Christian
21457 Brabandt, closes #9068, closes #9077)
21458Files: src/os_win32.c
21459
21460Patch 8.2.3570
21461Problem: Test_very_large_count fails on 32bit systems.
21462Solution: Bail out when using 32 bit numbers. (closes #9072)
21463Files: src/testdir/test_put.vim
21464
21465Patch 8.2.3571
21466Problem: Some unicode control characters are considered printable.
21467Solution: Make 0x2060 - 0x2069 not printable.
21468Files: src/mbyte.c
21469
21470Patch 8.2.3572
21471Problem: Memory leak when closing window and using "multispace" in
21472 'listchars'.
21473Solution: Free the memory. (closes #9071)
21474Files: src/window.c, src/testdir/test_listchars.vim
21475
21476Patch 8.2.3573
21477Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21478 (closes #9072)
21479Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21480 check for multiply overflow.
21481Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21482 src/testdir/test_put.vim
21483
21484Patch 8.2.3574 (after 8.2.3573)
21485Problem: Divide by zero.
21486Solution: Don't check for overflow if multiplicand is zero.
21487Files: src/register.c
21488
21489Patch 8.2.3575 (after 8.2.3574)
21490Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21491Solution: Use a float to check the result.
21492Files: src/register.c
21493
21494Patch 8.2.3576
21495Problem: Some functions are not documented for use with a method.
21496Solution: Add examples. Fix that sign_unplacelist() only takes one
21497 argument. (Sean Dewar, closes #9081)
21498Files: src/evalfunc.c, runtime/doc/eval.txt
21499
21500Patch 8.2.3577 (after 8.2.3574)
21501Problem: Overflow check fails with 32 bit ints.
21502Solution: Only test with 64 bit ints.
21503Files: src/testdir/test_put.vim
21504
21505Patch 8.2.3578
21506Problem: Manipulating highlighting is complicated.
21507Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21508 closes #9039)
21509Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21510 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21511 src/highlight.c, src/proto/highlight.pro,
21512 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21513
21514Patch 8.2.3579
21515Problem: CI sometimes fails for MinGW.
21516Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21517 closes #9078)
21518Files: src/testdir/runtest.vim
21519
21520Patch 8.2.3580
21521Problem: gj does not move properly with a wide character.
21522Solution: Move one to the right. (Christian Brabandt, closes #8702)
21523Files: src/normal.c, src/testdir/test_normal.vim
21524
21525Patch 8.2.3581
21526Problem: Reading character past end of line.
21527Solution: Correct the cursor column.
21528Files: src/ex_docmd.c, src/testdir/test_put.vim
21529
21530Patch 8.2.3582
21531Problem: Reading uninitialized memory when giving spell suggestions.
21532Solution: Check that preword is not empty.
21533Files: src/spellsuggest.c, src/testdir/test_spell.vim
21534
21535Patch 8.2.3583
21536Problem: The "gd" and "gD" commands do not update search stats. (Gary
21537 Johnson)
21538Solution: Clear search stats.
21539Files: src/normal.c, src/testdir/test_search_stat.vim,
21540 src/testdir/dumps/Test_searchstatgd_1.dump,
21541 src/testdir/dumps/Test_searchstatgd_2.dump
21542
21543Patch 8.2.3584
21544Problem: "verbose set efm" reports the location of the :compiler command.
21545 (Gary Johnson)
21546Solution: Add the "-keepscript" argument to :command and use it when
21547 defining CompilerSet.
21548Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21549 src/testdir/test_compiler.vim
21550
21551Patch 8.2.3585
21552Problem: Crash when passing float to "term_rows" in the options argument of
21553 term_start(). (Virginia Senioria)
21554Solution: Bail out if the argument is not a number. (closes #9116)
21555Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21556
21557Patch 8.2.3586 (after 8.2.3584)
21558Problem: Command completion test fails.
21559Solution: Add new argument to expected output
21560Files: src/testdir/test_usercommands.vim
21561
21562Patch 8.2.3587 (after 8.2.3584)
21563Problem: Compiler test fails with backslash file separator.
21564Solution: Accept slash and backslash.
21565Files: src/testdir/test_compiler.vim
21566
21567Patch 8.2.3588
21568Problem: Break statement is never reached.
21569Solution: Rely on return value of set_chars_option() not changing.
21570 (closes #9103)
21571Files: src/optionstr.c
21572
21573Patch 8.2.3589
21574Problem: Failure when the "term_rows" argument of term_start() is an
21575 unusual value.
21576Solution: Limit to range of zero to 1000. (closes #9116)
21577Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21578
21579Patch 8.2.3590
21580Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
21581Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
21582 closes #9105, closes #9073)
21583Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
21584 src/testdir/test_highlight.vim
21585
21586Patch 8.2.3591
21587Problem: No event is triggered when closing a window.
21588Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
21589Files: runtime/doc/autocmd.txt, src/autocmd.c,
21590 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
21591
21592Patch 8.2.3592
21593Problem: Test_hlset fails when terminal has many columns.
21594Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
21595 closes #9100)
21596Files: src/testdir/test_highlight.vim
21597
21598Patch 8.2.3593
21599Problem: Directory is wrong after executing "lcd" with win_execute().
21600Solution: Correct the directory when going back to the original window.
21601 (closes #9132)
21602Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
21603 src/testdir/test_execute_func.vim
21604
21605Patch 8.2.3594
21606Problem: Xxd code is a bit difficult to understand.
21607Solution: Move some lines to a separate function. (closes #9037)
21608Files: src/xxd/xxd.c
21609
21610Patch 8.2.3595
21611Problem: Check for signed overflow might not work everywhere.
21612Solution: Limit to 32 bit int. (closes #9043, closes #9067)
21613Files: src/getchar.c
21614
21615Patch 8.2.3596
21616Problem: Crash when using :pedit in Vim9 script.
21617Solution: Move check for arguments to after checking there are arguments.
21618 (Yegappan Lakshmanan, closes #9134, closes #9135)
21619Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
21620
21621Patch 8.2.3597
21622Problem: Vim seems to hang when writing a very long text to a terminal
21623 window.
21624Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
21625Files: runtime/doc/options.txt, src/terminal.c
21626
21627Patch 8.2.3598
21628Problem: RouterOS filetype is not recognized.
21629Solution: Add file and script patterns. (closes #9097)
21630Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21631
21632Patch 8.2.3599
21633Problem: Not all gdbinit files are recognized.
21634Solution: Add "gdbinit". (Doug Kearns)
21635Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21636
21637Patch 8.2.3600 (after 8.2.3598)
21638Problem: Filetype test fails.
21639Solution: Add missint change.
21640Files: runtime/scripts.vim
21641
21642Patch 8.2.3601
21643Problem: Check for overflow in put count does not work well.
21644Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
21645Files: src/register.c, src/testdir/test_put.vim
21646
21647Patch 8.2.3602
21648Problem: Python3 test fails with Python 3.10 on MS-Windows.
21649Solution: Adjust the expected error. (Ken Takata, closes #9118)
21650Files: src/testdir/test_python3.vim
21651
21652Patch 8.2.3603
21653Problem: Fish filetype not recognized.
21654Solution: Add a file pattern and match script line. (Doug Kearns)
21655Files: runtime/filetype.vim, runtime/scripts.vim,
21656 src/testdir/test_filetype.vim
21657
21658Patch 8.2.3604
21659Problem: Not all sudoers files are recognized.
21660Solution: Add a file pattern. (Doug Kearns, closes #1192)
21661Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21662
21663Patch 8.2.3605
21664Problem: Cannot clear and unlink a highlight group with hlset() in a
21665 single call.
21666Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
21667Files: runtime/doc/eval.txt, src/highlight.c,
21668 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
21669 src/testdir/test_vim9_cmd.vim
21670
21671Patch 8.2.3606
21672Problem: File missing from list of distributed files.
21673Solution: Add the file.
21674Files: Filelist
21675
21676Patch 8.2.3607
21677Problem: GTK3 screen updating is slow.
21678Solution: Remove some of the GTK3-specific code. (closes #9052)
21679Files: src/gui.h, src/gui_gtk_x11.c
21680
21681Patch 8.2.3608
21682Problem: Users who type "q:" instead of ":q" are confused.
21683Solution: Add an autocmd to give a message that explains this is the
21684 command-line window. (Egor Zvorykin, closes #9146)
21685Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
21686 src/testdir/test_cmdline.vim
21687
21688Patch 8.2.3609
21689Problem: Internal error when ModeChanged is triggered when v:event is
21690 already in use.
21691Solution: Save and restore v:event if needed.
21692Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
21693 src/insexpand.c, src/structs.h, src/register.c
21694
21695Patch 8.2.3610
21696Problem: Crash when ModeChanged triggered too early.
21697Solution: Trigger ModeChanged after setting VIsual.
21698Files: src/normal.c, src/testdir/test_edit.vim
21699
21700Patch 8.2.3611
21701Problem: Crash when using CTRL-W f without finding a file name.
21702Solution: Bail out when the file name length is zero.
21703Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
21704
21705Patch 8.2.3612
21706Problem: Using freed memory with regexp using a mark.
21707Solution: Get the line again after getting the mark position.
21708Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
21709
21710Patch 8.2.3613
21711Problem: :find test fails.
21712Solution: Put length check inside if block.
21713Files: src/findfile.c
21714
21715Patch 8.2.3614
21716Problem: zindex of popup windows not used when redrawing popup menu.
21717Solution: Check the zindex when redrawing the popup menu. (closes #9129,
21718 closes #9089)
21719Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
21720 src/screen.c, src/testdir/test_popupwin.vim,
21721 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
21722 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
21723
21724Patch 8.2.3615
21725Problem: When re-formatting with an indent expression the first line of a
21726 paragraph may get the wrong indent. (Martin F. Krafft)
21727Solution: Apply the correct indenting function for the first line.
21728 (Christian Brabandt, closes #9150, closes #9056)
21729Files: src/textformat.c, src/testdir/test_indent.vim
21730
21731Patch 8.2.3616
21732Problem: Arglist test does not clear the argument list consistently.
21733Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
21734Files: src/testdir/test_arglist.vim
21735
21736Patch 8.2.3617
21737Problem: ":verbose pwd" does not mention 'autochdir' was applied.
21738Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
21739Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
21740 src/main.c, src/netbeans.c, src/os_win32.c,
21741 src/testdir/test_autochdir.vim
21742
21743Patch 8.2.3618
21744Problem: getcwd() is unclear about how 'autochdir' is used.
21745Solution: Update the help for getcwd(). Without any arguments always return
21746 the actual current directory. (closes #9142)
21747Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
21748
21749Patch 8.2.3619
21750Problem: Cannot use a lambda for 'operatorfunc'.
21751Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
21752 closes #8775)
21753Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
21754 src/option.c, src/optionstr.c, src/proto/ops.pro,
21755 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
21756
21757Patch 8.2.3620
21758Problem: Memory leak reported in libtlib.
21759Solution: Call del_curterm() when cleaning up memory. Rename term.h to
21760 termdefs.h to avoid a name clash.
21761Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
21762 src/auto/configure, src/config.h.in, src/Makefile,
21763 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
21764 src/term.h, src/termdefs.h
21765
21766Patch 8.2.3621 (after 8.2.3620)
21767Problem: Build failure.
21768Solution: Add missing change.
21769Files: src/vim.h
21770
21771Patch 8.2.3622
21772Problem: "verbose pwd" shows confusing info when :lcd does not change
21773 directory.
21774Solution: Clear last_chdir_reason also when the directory does not change.
21775 (closes #9160)
21776Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
21777
21778Patch 8.2.3623
21779Problem: "$*" is expanded to "nonomatch".
21780Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
21781 Brabandt, closes #9159, closes #9153)
21782Files: src/os_unix.c, src/testdir/test_expand.vim
21783
21784Patch 8.2.3624
21785Problem: When renaming a terminal buffer the status text is not updated.
21786Solution: Clear the cached status text when renaming a terminal buffer.
21787 (closes #9162)
21788Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
21789 src/testdir/test_terminal.vim
21790
21791Patch 8.2.3625
21792Problem: Illegal memory access when C-indenting.
21793Solution: Also set the cursor column.
21794Files: src/cindent.c, src/testdir/test_cindent.vim
21795
21796Patch 8.2.3626
21797Problem: "au!" and "au! event" cannot be followed by another command as
21798 documented.
21799Solution: When a bar is found set nextcmd.
21800Files: src/autocmd.c, src/testdir/test_autocmd.vim
21801
21802Patch 8.2.3627
21803Problem: difficult to know where the text starts in a window. (Sergey
21804 Vlasov)
21805Solution: Add the "textoff" entry in the result of getwininfo().
21806 (closes #9163)
21807Files: runtime/doc/eval.txt, src/evalwindow.c,
21808 src/testdir/test_bufwintabinfo.vim
21809
21810Patch 8.2.3628
21811Problem: Looking up terminal colors is a bit slow.
21812Solution: Cache the terminal colors. (closes #9130, closes #9058)
21813Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
21814 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
21815 src/structs.h, src/terminal.c, src/window.c,
21816 src/testdir/test_terminal3.vim,
21817 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
21818 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
21819 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
21820 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
21821 src/testdir/dumps/Test_terminal_color_Terminal.dump,
21822 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
21823 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
21824 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
21825 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
21826 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
21827 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
21828 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
21829 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
21830 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
21831 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
21832 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
21833 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
21834 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
21835 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
21836 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
21837 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
21838 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
21839 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
21840 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
21841 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
21842 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
21843 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
21844 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
21845 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
21846 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
21847 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
21848 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
21849
21850Patch 8.2.3629
21851Problem: Command completion in cmdline window uses global user commands,
21852 not local commands for the window where it was opened from.
21853Solution: Use local commands. (closes #9168)
21854Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
21855 src/usercmd.c, src/testdir/test_ins_complete.vim
21856
21857Patch 8.2.3630
21858Problem: Printf() with %S does not handle multi-byte correctly.
21859Solution: Count cells instead of bytes. (closes #9169, closes #7486)
21860Files: src/strings.c, src/testdir/test_expr.vim
21861
21862Patch 8.2.3631
21863Problem: "syntax enable" does not work properly in Vim9 context.
21864Solution: Also handle Vim9 context. (closes #9161)
21865Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
21866
21867Patch 8.2.3632
21868Problem: GTK3: undercurl does not get removed properly.
21869Solution: Set the cairo cursor first. (closes #9170)
21870Files: src/gui_gtk_x11.c
21871
21872Patch 8.2.3633
21873Problem: Vim9: line number of lambda is off by one.
21874Solution: Add one to the line number. (closes #9083)
21875Files: src/userfunc.c, src/testdir/test_vim9_func.vim
21876
21877Patch 8.2.3634
21878Problem: Error for already defined function uses wrong line number.
21879Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
21880Files: src/userfunc.c, src/testdir/test_vim9_func.vim
21881
21882Patch 8.2.3635
21883Problem: GTK: composing underline does not show.
21884Solution: Include composing character in pango call. A few more
21885 optimizations for ligatures. (Dusan Popovic, closes #9171,
21886 closes #9147)
21887Files: src/gui_gtk_x11.c
21888
21889Patch 8.2.3636
21890Problem: Coverity warns for unreachable code.
21891Solution: Remove unreachable else block.
21892Files: src/gui_gtk_x11.c
21893
21894Patch 8.2.3637
21895Problem: Typos in test files.
21896Solution: Correct the typos. (Dominique Pellé, closes #9175)
21897Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
21898 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
21899 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
21900 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
21901 src/testdir/test_options.vim, src/testdir/test_python2.vim,
21902 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
21903 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
21904 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
21905 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
21906 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
21907
21908Patch 8.2.3638
21909Problem: getcompletion() always passes zero as position to custom
21910 completion function.
21911Solution: Pass the pattern length. (closes #9173)
21912Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21913
21914Patch 8.2.3639 (after 8.2.2922)
21915Problem: Line commented out accidentally.
21916Solution: Uncomment. (Volodymyr Kot, closes #9172)
21917Files: src/main.c
21918
21919Patch 8.2.3640
21920Problem: Freeze when calling term_wait() in a close callback.
21921Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
21922Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
21923 src/testdir/test_terminal.vim
21924
21925Patch 8.2.3641
21926Problem: Xxd code has duplicate expressions.
21927Solution: Refactor to avoid duplication. (closes #9185)
21928Files: src/xxd/xxd.c
21929
21930Patch 8.2.3642
21931Problem: List of distributed files is outdated.
21932Solution: Rename term.h to termdefs.h.
21933Files: Filelist
21934
21935Patch 8.2.3643
21936Problem: Header for source file is outdated.
21937Solution: Make the header more accurate. (closes #9186)
21938Files: src/map.c, src/getchar.c
21939
21940Patch 8.2.3644
21941Problem: Count for 'operatorfunc' in Visual mode is not redone.
21942Solution: Add the count to the redo buffer. (closes #9174)
21943Files: src/normal.c, src/proto/normal.pro, src/ops.c,
21944 src/testdir/test_normal.vim
21945
21946Patch 8.2.3645
21947Problem: Vim9: The "no effect" error is not given for all registers.
21948Solution: Include any character following '@'. (closes #8779)
21949Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
21950
21951Patch 8.2.3646
21952Problem: Using <sfile> in a function gives an unexpected result.
21953Solution: Give an error in a Vim9 function. (issue #9189)
21954Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
21955
21956Patch 8.2.3647
21957Problem: GTK: when using ligatures the cursor is drawn wrong.
21958Solution: Clear more characters when ligatures are used. (Dusan Popovic,
21959 closes #9190)
21960Files: src/gui.c
21961
21962Patch 8.2.3648
21963Problem: "verbose pwd" is incorrect after dropping files on Vim.
21964Solution: Set the chdir reason to "drop".
21965Files: src/gui.c
21966
21967Patch 8.2.3649
21968Problem: Vim9: error for variable declared in while loop.
21969Solution: Do not keep the first variable. (closes #9191)
21970Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
21971
21972Patch 8.2.3650
21973Problem: Vim9: for loop variable can be a list member.
21974Solution: Check for valid variable name. (closes #9179)
21975Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
21976 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
21977
21978Patch 8.2.3651
21979Problem: Vim9: no error for :lock or :unlock with unknown variable.
21980Solution: Give an error. (closes #9188)
21981Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
21982
21983Patch 8.2.3652
21984Problem: Can only get text properties one line at a time.
21985Solution: Add options to prop_list() to use a range of lines and filter by
21986 types. (Yegappan Lakshmanan, closes #9138)
21987Files: runtime/doc/textprop.txt, src/textprop.c,
21988 src/testdir/test_textprop.vim
21989
21990Patch 8.2.3653
21991Problem: Terminal ANSI colors may be wrong.
21992Solution: Initialize the color type. (closes #9198, closes #9197)
21993Files: src/terminal.c
21994
21995Patch 8.2.3654
21996Problem: GTK: a touch-drag does not update the selection.
21997Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
21998 closes #9194)
21999Files: src/gui_gtk_x11.c
22000
22001Patch 8.2.3655
22002Problem: Compiler warning for using size_t for int.
22003Solution: Add a type cast. (Mike Williams, closes #9199)
22004Files: src/vim9compile.c
22005
22006Patch 8.2.3656
22007Problem: Vim9: no error for an evironment variable by itself.
22008Solution: Give a "without effect" error. (closes #9166)
22009Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22010
22011Patch 8.2.3657
22012Problem: Vim9: debug text misses one line of return statement.
22013Solution: Add a line when not at a debug instruction. (closes #9137)
22014Files: src/vim9execute.c, src/testdir/test_debugger.vim
22015
22016Patch 8.2.3658
22017Problem: Duplicate code in xxd.
22018Solution: Merge duplicated code. Add more tests. (closes #9192)
22019Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22020
22021Patch 8.2.3659
22022Problem: Integer overflow with large line number.
22023Solution: Check for overflow. (closes #9202)
22024Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22025 src/normal.c, src/testdir/test_normal.vim
22026
22027Patch 8.2.3660 (after 8.2.3659)
22028Problem: Overflow check uses wrong number.
22029Solution: Divide by ten.
22030Files: src/normal.c
22031
22032Patch 8.2.3661 (after 8.2.3659)
22033Problem: Test for put with large count fails.
22034Solution: Adjust the counts in the test.
22035Files: src/testdir/test_put.vim
22036
22037Patch 8.2.3662
22038Problem: Illegal memory access if malloc() fails.
22039Solution: Check 'foldmethod' is not empty. (closes #9207)
22040Files: src/fold.c
22041
22042Patch 8.2.3663
22043Problem: Using %S in printf() does not work correctly.
22044Solution: Fix the problem and add more tests. (closes #9208)
22045Files: src/strings.c, src/testdir/test_expr.vim
22046
22047Patch 8.2.3664
22048Problem: Cannot adjust sign highlighting for 'cursorline'.
22049Solution: Add CursorLineSign and CursorLineFold highlight groups.
22050 (Gregory Anders, closes #9201)
22051Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22052 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22053 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22054 src/testdir/test_signs.vim
22055
22056Patch 8.2.3665
22057Problem: Cannot use a lambda for 'tagfunc'.
22058Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22059Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22060 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22061 src/testdir/test_tagfunc.vim
22062
22063Patch 8.2.3666
22064Problem: Libvterm is outdated.
22065Solution: Include patches from revision 769 to revision 789.
22066Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22067 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22068 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22069 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22070 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22071 src/libvterm/t/29state_fallback.test,
22072 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22073 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22074 src/terminal.c
22075
22076Patch 8.2.3667
22077Problem: Building libvterm fails with MSVC.
22078Solution: Don't use C99 construct.
22079Files: src/libvterm/src/state.c
22080
22081Patch 8.2.3668
22082Problem: Messages may be corrupted.
22083Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22084 closes #9195)
22085Files: src/highlight.c, src/testdir/test_highlight.vim
22086
22087Patch 8.2.3669
22088Problem: Buffer overflow with long help argument.
22089Solution: Use snprintf().
22090Files: src/help.c, src/testdir/test_help.vim
22091
22092Patch 8.2.3670
22093Problem: Error checks repeated several times.
22094Solution: Move the checks to functions. (closes #9213)
22095Files: src/xxd/xxd.c
22096
22097Patch 8.2.3671
22098Problem: Restarting Insert mode in prompt buffer too often when a callback
22099 switches windows and comes back. (Sean Dewar)
22100Solution: Do not set "restart_edit" when already in Insert mode.
22101 (closes #9212)
22102Files: src/window.c, src/testdir/test_prompt_buffer.vim
22103
22104Patch 8.2.3672 (after 8.2.3670)
22105Problem: Build failure with unsigned char.
22106Solution: Use int instead of char.
22107Files: src/xxd/xxd.c
22108
22109Patch 8.2.3673
22110Problem: Crash when allocating signal stack fails.
22111Solution: Only using sourcing info when available. (closes #9215)
22112Files: src/globals.h, src/message.c
22113
22114Patch 8.2.3674
22115Problem: When ml_get_buf() fails it messes up IObuff.
22116Solution: Return a local pointer. (closes #9214)
22117Files: src/memline.c
22118
22119Patch 8.2.3675
22120Problem: Using freed memory when vim_strsave() fails.
22121Solution: Clear "last_sourcing_name". Check for msg_source() called
22122 recursively. (closes #8217)
22123Files: src/message.c
22124
22125Patch 8.2.3676
22126Problem: Unused runtime file.
22127Solution: Remove rgb.txt.
22128Files: runtime/rgb.txt
22129
22130Patch 8.2.3677
22131Problem: After a put the '] mark is on the last byte of a multi-byte
22132 character.
22133Solution: Move it to the first byte. (closes #9047)
22134Files: src/register.c, src/testdir/test_put.vim
22135
22136Patch 8.2.3678 (after 8.2.3677)
22137Problem: Illegal memory access.
22138Solution: Ignore changed indent when computing byte offset.
22139Files: src/register.c
22140
22141Patch 8.2.3679
22142Problem: objc file detected as Octave. (Antony Lee)
22143Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22144 closes #9220)
22145Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22146
22147Patch 8.2.3680
22148Problem: Repeated code in xxd.
22149Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22150Files: src/xxd/xxd.c
22151
22152Patch 8.2.3681
22153Problem: Cannot drag popup window after click on a status line. (Sergey
22154 Vlasov)
22155Solution: Reset on_status_line. (closes #9221)
22156Files: src/mouse.c, src/testdir/test_popupwin.vim,
22157 src/testdir/dumps/Test_popupwin_drag_04.dump
22158
22159Patch 8.2.3682
22160Problem: Vim9: assigning to a script variable drops the required type.
22161Solution: Lookup the type of the variable and use it. (closes #9219)
22162Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22163 src/testdir/test_vim9_assign.vim
22164
22165Patch 8.2.3683
22166Problem: Vim9: cannot use `=expr` in :...do commands.
22167Solution: Add EX_EXPAND to the commands. (closes #9232)
22168Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22169
22170Patch 8.2.3684
22171Problem: Blockwise insert does not handle autoindent properly.
22172Solution: Adjust text column for indent. (closes #9229)
22173Files: src/ops.c, src/testdir/test_blockedit.vim
22174
22175Patch 8.2.3685
22176Problem: Visual studio project files are not recognized.
22177Solution: Use the xml file type. (Doug Kearns)
22178Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22179
22180Patch 8.2.3686
22181Problem: Filetype detection often mixes up Forth and F#.
22182Solution: Add a function to inspect the file contents. (Doug Kearns)
22183Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22184 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22185 src/testdir/test_filetype.vim
22186
22187Patch 8.2.3687
22188Problem: Blockwise insert does not handle autoindent properly when tab is
22189 inserted.
22190Solution: Adjust text column for indent before computing column.
22191 (closes #9229)
22192Files: src/ops.c, src/testdir/test_blockedit.vim
22193
22194Patch 8.2.3688
22195Problem: The window title is not updated when dragging the scrollbar.
22196Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22197Files: src/gui.c
22198
22199Patch 8.2.3689
22200Problem: ex_let_one() is too long.
22201Solution: Split into multiple functions.
22202Files: src/evalvars.c
22203
22204Patch 8.2.3690
22205Problem: Vim9: "filter #pat# cmd" does not work.
22206Solution: Do not see #pat# as a comment.
22207Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22208
22209Patch 8.2.3691
22210Problem: Build failure with small features.
22211Solution: Add #ifdef. (Dominique Pellé)
22212Files: src/gui.c
22213
22214Patch 8.2.3692
22215Problem: Vim9: cannot use :func inside a :def function.
22216Solution: Make it work.
22217Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22218 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22219
22220Patch 8.2.3693
22221Problem: Coverity warns for possibly using a NULL pointer.
22222Solution: Check for NULL and give an error.
22223Files: src/vim9execute.c, src/errors.h
22224
22225Patch 8.2.3694
22226Problem: Cannot use quotes in the count of an Ex command.
22227Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22228 a range. (closes #9240)
22229Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22230 src/testdir/test_usercommands.vim
22231
22232Patch 8.2.3695
22233Problem: Confusing error for missing key.
22234Solution: Use the actualy key for the error. (closes #9241)
22235Files: src/eval.c, src/testdir/test_listdict.vim
22236
22237Patch 8.2.3696
22238Problem: Vim9: error for invalid assignment when skipping.
22239Solution: Do not check white space when skipping. (closes #9243)
22240Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22241
22242Patch 8.2.3697
22243Problem: Cannot drag a popup without a border.
22244Solution: Add the "dragall" option. (closes #9218)
22245Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22246 src/testdir/test_popupwin.vim,
22247 src/testdir/dumps/Test_popupwin_drag_05.dump,
22248 src/testdir/dumps/Test_popupwin_drag_06.dump
22249
22250Patch 8.2.3698
22251Problem: Match highlighting continues over breakindent.
22252Solution: Stop before the end column. (closes #9242)
22253Files: src/match.c, src/proto/match.pro, src/drawline.c,
22254 src/testdir/test_match.vim,
22255 src/testdir/dumps/Test_match_linebreak.dump
22256
22257Patch 8.2.3699
22258Problem: The +title feature adds a lot of #ifdef but little code.
22259Solution: Graduate the +title feature.
22260Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22261 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22262 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22263 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22264 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22265 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22266 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22267 src/globals.h, src/option.h, src/optiondefs.h,
22268 runtime/doc/options.txt, runtime/doc/various.txt
22269
22270Patch 8.2.3700
22271Problem: Text property highlighting continues over breakindent.
22272Solution: Stop before the end column. (closes #9242)
22273Files: src/drawline.c, src/testdir/test_textprop.vim,
22274 src/testdir/dumps/Test_prop_linebreak.dump
22275
22276Patch 8.2.3701
22277Problem: Vim9: invalid LHS is not possible.
22278Solution: Remove unreachable error message.
22279Files: src/vim9compile.c
22280
22281Patch 8.2.3702
22282Problem: First key in dict is seen as curly expression and fails.
22283Solution: Ignore failure of curly expression. (closes #9247)
22284Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22285
22286Patch 8.2.3703 (after 8.2.3686)
22287Problem: Most people call F# "fsharp" and not "fs".
22288Solution: Rename filetype "fs" to "fsharp".
22289Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22290 src/testdir/test_filetype.vim
22291
22292Patch 8.2.3704
22293Problem: Vim9: cannot use a list declaration in a :def function.
22294Solution: Make it work.
22295Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22296 src/testdir/test_vim9_assign.vim
22297
22298Patch 8.2.3705
22299Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22300 Lakshmanan)
22301Solution: Handle a lambda name differently.
22302Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22303 src/testdir/test_expr.vim
22304
22305Patch 8.2.3706 (after 8.2.3700)
22306Problem: Text property highlighting is used on Tab.
22307Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22308Files: src/drawline.c, src/testdir/test_textprop.vim,
22309 src/testdir/dumps/Test_prop_after_tab.dump
22310
22311Patch 8.2.3707
22312Problem: Vim9: constant expression of elseif not recognized.
22313Solution: Set instruction count before generating the expression.
22314Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22315
22316Patch 8.2.3708 (after 8.2.3707)
22317Problem: Vim9: test fails with different error.
22318Solution: Correct the error number.
22319Files: src/testdir/test_vim9_cmd.vim
22320
22321Patch 8.2.3709
22322Problem: Vim9: backtick expression expanded when not desired.
22323Solution: Only expand a backtick expression for commands that expand their
22324 argument. Remove a few outdated TODO comments.
22325Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22326
22327Patch 8.2.3710
22328Problem: Vim9: backtick expression expanded for :global.
22329Solution: Check the following command.
22330Files: runtime/doc/vim9.txt, src/vim9compile.c,
22331 src/testdir/test_vim9_cmd.vim
22332
22333Patch 8.2.3711
22334Problem: Vim9: memory leak when compiling :elseif fails.
22335Solution: Cleanup ppconst.
22336Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22337
22338Patch 8.2.3712
22339Problem: Cannot use Vim9 lambda for 'tagfunc'.
22340Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22341Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22342 src/testdir/test_tagfunc.vim
22343
22344Patch 8.2.3713
22345Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22346Solution: Give an error message. (Christian Brabandt, closes #9245,
22347 closes #8762)
22348Files: src/quickfix.c, src/testdir/test_quickfix.vim
22349
22350Patch 8.2.3714
22351Problem: Some unused assignments and ugly code in xxd.
22352Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22353Files: src/xxd/xxd.c
22354
22355Patch 8.2.3715
22356Problem: Vim9: valgrind reports spurious problems for a test.
22357Solution: Move the test to the set that is known to fail.
22358Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22359
22360Patch 8.2.3716
22361Problem: Vim9: range without a command is not compiled.
22362Solution: Add the ISN_EXECRANGE byte code.
22363Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22364 src/vim9execute.c, src/vim9.h,
22365 src/testdir/test_vim9_disassemble.vim
22366
22367Patch 8.2.3717
22368Problem: Vim9: error for constant list size is only given at runtime.
22369Solution: Give the error at compile time if possible.
22370Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22371 src/testdir/test_vim9_script.vim,
22372 src/testdir/test_vim9_disassemble.vim
22373
22374Patch 8.2.3718
22375Problem: Compiler warns for unused variable without the +textprop feature.
22376 (John Marriott)
22377Solution: Adjust #ifdefs.
22378Files: src/drawline.c
22379
22380Patch 8.2.3719
22381Problem: MS-Windows: test sometimes runs into existing swap file.
22382Solution: Use a different file name.
22383Files: src/testdir/test_buffer.vim
22384
22385Patch 8.2.3720
22386Problem: Vim9: Internal error when invoking closure in legacy context.
22387Solution: Give a more appropriate error message. (closes #9251)
22388Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22389
22390Patch 8.2.3721
22391Problem: Using memory freed by losing the clipboard selection. (Dominique
22392 Pellé)
22393Solution: Check y_array is still valid after calling changed_lines().
22394 (closes #9253)
22395Files: src/errors.h, src/register.c
22396
22397Patch 8.2.3722
22398Problem: Amiga: superfluous messages for freeing lots of yanked text.
22399Solution: Assume that the machine isn't that slow these days.
22400Files: src/register.c
22401
22402Patch 8.2.3723
22403Problem: When using 'linebreak' a text property starts too early.
22404Solution: Decrement "bcol" when looking for property start. (closes #9242)
22405Files: src/drawline.c, src/testdir/test_textprop.vim,
22406 src/testdir/dumps/Test_prop_after_linebreak.dump
22407
22408Patch 8.2.3724
22409Problem: Build error for missing error message in small build.
22410Solution: Correct #ifdef.
22411Files: src/errors.h
22412
22413Patch 8.2.3725
22414Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22415Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22416Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22417 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22418 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22419 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22420 src/testdir/test_tagfunc.vim
22421
22422Patch 8.2.3726
22423Problem: README file in a config directory gets wrong filetype.
22424Solution: Match README before patterns that match everything in a directory.
22425Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22426
22427Patch 8.2.3727
22428Problem: In a gnome terminal keys are recognized as mouse events.
22429Solution: Only recognize DEC mouse events when four numbers are following.
22430 (closes #9256)
22431Files: src/term.c, src/testdir/test_termcodes.vim
22432
22433Patch 8.2.3728
22434Problem: Internal error when passing range() to list2blob().
22435Solution: Materialize the list first. (closes #9262)
22436Files: src/blob.c, src/testdir/test_blob.vim
22437
22438Patch 8.2.3729
22439Problem: No support for squirrels.
22440Solution: Recognize nuts. (closes #9259)
22441Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22442
22443Patch 8.2.3730
22444Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22445Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22446Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22447
22448Patch 8.2.3731
22449Problem: "set! termcap" shows codes in one column, but not keys.
22450Solution: Also use one column for keys. (closes #9258)
22451Files: src/option.c, src/term.c, src/proto/term.pro,
22452 src/testdir/test_set.vim
22453
22454Patch 8.2.3732 (after 8.2.3731)
22455Problem: "set! termcap" test fails.
22456Solution: Account for keys without a t_xx entry.
22457Files: src/testdir/test_set.vim
22458
22459Patch 8.2.3733
22460Problem: Vim9: using "legacy" before range does not work.
22461Solution: Skip over range before parsing command. (closes #9270)
22462Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22463
22464Patch 8.2.3734
22465Problem: Vim9: crash when no pattern match found.
22466Solution: Check for error.
22467Files: src/vim9execute.c
22468
22469Patch 8.2.3735
22470Problem: Cannot use a lambda for 'imactivatefunc'.
22471Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22472 (Yegappan Lakshmanan, closes #9275)
22473Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22474 src/optionstr.c, src/proto/gui_xim.pro,
22475 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22476
22477Patch 8.2.3736
22478Problem: Test fails without the channel feature. (Dominique Pellé)
22479Solution: Source the check.vim script. (closes #9277)
22480Files: src/testdir/test_vim9_fails.vim
22481
22482Patch 8.2.3737
22483Problem: Test fails without the 'autochdir' option.
22484Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22485Files: src/testdir/test_cd.vim
22486
22487Patch 8.2.3738
22488Problem: Screen is cleared when a FocusLost autocommand triggers.
22489Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22490Files: src/misc1.c
22491
22492Patch 8.2.3739
22493Problem: In wrong directory when using win_execute() with 'acd' set.
22494Solution: Restore the directory when returning to the window. (closes #9276)
22495Files: src/window.c, src/testdir/test_autochdir.vim
22496
22497Patch 8.2.3740
22498Problem: Memory left allocated on exit when using Tcl.
22499Solution: Call Tcl_Finalize().
22500Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22501
22502Patch 8.2.3741
22503Problem: Using freed memory in open command.
22504Solution: Make a copy of the current line.
22505Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22506
22507Patch 8.2.3742
22508Problem: Dec mouse test fails without gnome terminfo entry.
22509Solution: Check if there is a gnome entry. Also fix 'acd' test on
22510 MS-Windows. (Ozaki Kiichi, closes #9282)
22511Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22512
22513Patch 8.2.3743
22514Problem: ":sign" can add a highlight group without a name.
22515Solution: Give an error if the group name is missing. (closes #9280)
22516Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22517
22518Patch 8.2.3744
22519Problem: E854 is not tested; some spelling suggestions are not tested.
22520Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22521Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22522
22523Patch 8.2.3745
22524Problem: Autochdir test fails without the +channel feature.
22525Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22526Files: src/testdir/test_autochdir.vim
22527
22528Patch 8.2.3746
22529Problem: Cannot disassemble function starting with "debug" or "profile".
22530Solution: Check for white space following. (closes #9273)
22531Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22532
22533Patch 8.2.3747 (after 8.2.3743)
22534Problem: Cannot remove highlight from an existing sign. (James McCoy)
22535Solution: Only reject empty argument for a new sign.
22536Files: src/sign.c, src/testdir/test_signs.vim
22537
22538Patch 8.2.3748 (after 8.2.3747)
22539Problem: Giving an error for an empty sign argument breaks a plugin.
22540Solution: Do not give an error.
22541Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22542
22543Patch 8.2.3749
22544Problem: Error messages are everywhere.
22545Solution: Move more error messages to errors.h and adjust the names.
22546Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22547 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22548 src/bufwrite.c, src/cmdexpand.c
22549
22550Patch 8.2.3750
22551Problem: Error messages are everywhere.
22552Solution: Move more error messages to errors.h and adjust the names.
22553Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22554 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22555 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22556 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22557
22558Patch 8.2.3751
22559Problem: Cannot assign a lambda to an option that takes a function.
22560Solution: Automatically convert the lambda to a string. (Yegappan
22561 Lakshmanan, closes #9286)
22562Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22563 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22564 src/option.c, src/option.h, src/optiondefs.h,
22565 src/proto/option.pro, src/spell.c, src/typval.c,
22566 src/vim9compile.c, src/testdir/test_iminsert.vim,
22567 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22568
22569Patch 8.2.3752
22570Problem: Build error when using Photon GUI.
22571Solution: Adjust #ifdef. (closes #9288)
22572Files: src/beval.c
22573
22574Patch 8.2.3753
22575Problem: Vim9: function unreferenced while called is never deleted.
22576Solution: Delete a function when no longer referenced.
22577Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22578
22579Patch 8.2.3754 (after 8.2.3615)
22580Problem: Undesired changing of the indent of the first formatted line.
22581Solution: Do not indent the first formatted line.
22582Files: src/textformat.c, src/testdir/test_indent.vim
22583
22584Patch 8.2.3755
22585Problem: Coverity warns for using a buffer in another scope.
22586Solution: Declare the buffer in a common scope.
22587Files: src/evalvars.c
22588
22589Patch 8.2.3756
22590Problem: might crash when callback is not valid.
22591Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
22592Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
22593 src/userfunc.c, src/testdir/test_iminsert.vim,
22594 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22595
22596Patch 8.2.3757
22597Problem: An overlong highlight group name is silently truncated.
22598Solution: Give an error if the name is too long. (closes #9289)
22599Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
22600
22601Patch 8.2.3758
22602Problem: Options that take a function insufficiently tested.
22603Solution: Add additional tests and enhance existing tests. (Yegappan
22604 Lakshmanan, closes #9298)
22605Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22606 src/testdir/test_tagfunc.vim
22607
22608Patch 8.2.3759
22609Problem: Quickfix buffer becomes hidden while still in a window.
22610Solution: Check if the closed window is the last window showing the quickfix
22611 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
22612Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
22613
22614Patch 8.2.3760
22615Problem: Not automatically handling gnome terminal mouse like xterm.
22616Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
22617 (issue #9296)
22618Files: src/os_unix.c
22619
22620Patch 8.2.3761
22621Problem: Focus change is not passed on to a terminal window.
22622Solution: If the current window is a terminal and focus events are enabled
22623 send a focus event escape sequence to the terminal.
22624Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
22625 src/testdir/test_terminal.vim,
22626 src/testdir/dumps/Test_terminal_focus_1.dump,
22627 src/testdir/dumps/Test_terminal_focus_2.dump
22628
22629Patch 8.2.3762
22630Problem: If the quickfix buffer is wiped out getqflist() still returns its
22631 number.
22632Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
22633 closes #9306)
22634Files: src/quickfix.c, src/testdir/test_quickfix.vim
22635
22636Patch 8.2.3763
22637Problem: When editing the command line a FocusLost callback may cause the
22638 screen to scroll up.
22639Solution: Do not redraw at the last line but at the same place where the
22640 command line was before. (closes #9295)
22641Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
22642 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
22643 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
22644 src/testdir/test_terminal.vim,
22645 src/testdir/dumps/Test_terminal_focus_1.dump,
22646 src/testdir/dumps/Test_terminal_focus_2.dump,
22647 src/testdir/dumps/Test_terminal_focus_3.dump
22648
22649Patch 8.2.3764
22650Problem: Cannot see any text when window was made zero lines or zero
22651 columns.
22652Solution: Ensure there is at least one line and column. (fixes #9307)
22653Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
22654 src/testdir/test_window_cmd.vim
22655
22656Patch 8.2.3765
22657Problem: Vim9: cannot use a lambda for 'opfunc' and others.
22658Solution: Convert the lambda to a string.
22659Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
22660 src/testdir/test_vim9_func.vim,
22661 src/testdir/test_vim9_disassemble.vim
22662
22663Patch 8.2.3766
22664Problem: Converting a funcref to a string leaves out "g:", causing the
22665 meaning of the name depending on the context.
22666Solution: Prepend "g:" for a global function.
22667Files: src/eval.c, src/testdir/test_functions.vim
22668
22669Patch 8.2.3767 (after 8.2.3766)
22670Problem: Crash when using NULL partial.
22671Solution: Check for NULL.
22672Files: src/eval.c
22673
22674Patch 8.2.3768
22675Problem: timer_info() has the wrong repeat value in a timer callback.
22676 (Sergey Vlasov)
22677Solution: Do not add one to the repeat value when in the callback.
22678 (closes #9294)
22679Files: src/time.c, src/testdir/test_timers.vim
22680
22681Patch 8.2.3769
22682Problem: Zig files are not recognized.
22683Solution: Add *.zig. (Gregory Anders, closes #9313)
22684Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22685
22686Patch 8.2.3770
22687Problem: New compiler warnings from clang-12 and clang-13.
22688Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
22689Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
22690 src/os_unix.c, src/spellfile.c
22691
22692Patch 8.2.3771
22693Problem: Vim9: accessing freed memory when checking type.
22694Solution: Make a copy of a function type.
22695Files: src/structs.h, src/evalvars.c, src/vim9script.c,
22696 src/testdir/test_vim9_func.vim
22697
22698Patch 8.2.3772
22699Problem: Timer info test fails on slow machine.
22700Solution: Use WaitForAssert().
22701Files: src/testdir/test_timers.vim
22702
22703Patch 8.2.3773
22704Problem: Wrong window size when a modeline changes 'columns' and there is
22705 more than one tabpage. (Michael Soyka)
22706Solution: Adjust the frames of all tabpages. (closes #9315)
22707Files: src/window.c
22708
22709Patch 8.2.3774 (after 8.2.3773)
22710Problem: Test for command line height fails.
22711Solution: Use another way to handle window size change.
22712Files: src/structs.h, src/window.c
22713
22714Patch 8.2.3775
22715Problem: Vim9: lambda compiled without outer context when debugging.
22716Solution: When compiling a lambda for debugging also compile it without.
22717 (closes #9302)
22718Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
22719
22720Patch 8.2.3776
22721Problem: When a tags file line is long a tag may not be found.
22722Solution: When increasing the buffer size read the same line again.
22723Files: src/tag.c, src/testdir/test_taglist.vim
22724
22725Patch 8.2.3777
22726Problem: Spell file write error not checked.
22727Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
22728Files: src/spellfile.c
22729
22730Patch 8.2.3778
22731Problem: Lambda debug test fails in some configurations.
22732Solution: Check feature in a legacy function.
22733Files: src/testdir/test_vim9_script.vim
22734
22735Patch 8.2.3779
22736Problem: Using freed memory when defining a user command from a user
22737 command.
22738Solution: Do not use the command pointer after executing the command.
22739 (closes #9318)
22740Files: src/usercmd.c, src/testdir/test_usercommands.vim
22741
22742Patch 8.2.3780
22743Problem: ":cd" works differently on MS-Windows.
22744Solution: Add the 'cdhome' option. (closes #9324)
22745Files: runtime/doc/editing.txt, runtime/doc/options.txt,
22746 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
22747 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
22748 src/testdir/test_options.vim
22749
22750Patch 8.2.3781
22751Problem: The option window script is outdated.
22752Solution: Add several changes.
22753Files: runtime/optwin.vim
22754
22755Patch 8.2.3782
22756Problem: Vim9: no error if a function shadows a script variable.
22757Solution: Check the function doesn't shadow a variable. (closes #9310)
22758Files: src/userfunc.c, src/evalvars.c, src/vim.h,
22759 src/testdir/test_vim9_script.vim
22760
22761Patch 8.2.3783
22762Problem: Confusing error for using a variable as a function.
22763Solution: If a function is not found but there is a variable, give a more
22764 useful error. (issue #9310)
22765Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
22766 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
22767 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
22768
22769Patch 8.2.3784
22770Problem: The help for options is outdated.
22771Solution: Include all the recent changes.
22772Files: runtime/doc/options.txt
22773
22774Patch 8.2.3785
22775Problem: Running CI on MacOS with gcc is not useful.
22776Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
22777 normal features.
22778Files: .github/workflows/ci.yml
22779
22780Patch 8.2.3786
22781Problem: Test fails because of using Vim9 syntax in legacy function.
22782Solution: Add "call".
22783Files: src/testdir/test_functions.vim
22784
22785Patch 8.2.3787
22786Problem: No proper formatting of a C line comment after a statement.
22787Solution: Find the start of the line comment, insert the comment leader and
22788 indent the comment properly.
22789Files: src/change.c, src/proto/change.pro, src/search.c,
22790 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
22791 src/textformat.c, src/testdir/test_textformat.vim,
22792 src/testdir/test_cindent.vim
22793
22794Patch 8.2.3788
22795Problem: Lambda for option that is a function may be garbage collected.
22796Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
22797 closes #9330)
22798Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
22799 src/insexpand.c, src/ops.c, src/proto/eval.pro,
22800 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
22801 src/proto/tag.pro, src/quickfix.c, src/tag.c,
22802 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
22803 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
22804 src/testdir/test_tagfunc.vim
22805
22806Patch 8.2.3789
22807Problem: Test_window_minimal_size can fail on a slow machine.
22808Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
22809 closes #9335)
22810Files: src/testdir/test_window_cmd.vim
22811
22812Patch 8.2.3790
22813Problem: Test for term_gettitle() fails in some environments.
22814Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
22815Files: src/testdir/test_terminal2.vim
22816
22817Patch 8.2.3791
22818Problem: Build error with +cindent but without +smartindent.
22819Solution: Move declaration of "do_cindent". (John Marriott)
22820Files: src/change.c
22821
22822Patch 8.2.3792
22823Problem: Setting *func options insufficiently tested.
22824Solution: Impove tests. (Yegappan Lakshmanan, closes #9337)
22825Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
22826 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
22827 src/testdir/test_tagfunc.vim
22828
22829Patch 8.2.3793
22830Problem: Using "g:Func" as a funcref does not work in script context
22831 because "g:" is dropped.
22832Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
22833 operator prececence. (closes #9336)
22834Files: src/evalvars.c, src/testdir/test_vim9_func.vim
22835
22836Patch 8.2.3794
22837Problem: Vim9: cannot find script-local func using "s:". (Yegappan
22838 Lakshmanan)
22839Solution: Skip the "s:".
22840Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22841
22842Patch 8.2.3795
22843Problem: Too many #ifdefs.
22844Solution: Graduate the jumplist feature.
22845Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
22846 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
22847 src/mark.c, src/normal.c, src/undo.c, src/version.c,
22848 src/viminfo.c, src/window.c, src/structs.h,
22849 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
22850 src/testdir/test_normal.vim
22851
22852Patch 8.2.3796
22853Problem: The funcexe_T struct members are not named consistently.
22854Solution: Prefix "fe_" to all the members.
22855Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
22856 src/terminal.c, src/userfunc.c, src/vim9execute.c
22857
22858Patch 8.2.3797
22859Problem: No good reason to limit the message history in the tiny version.
22860Solution: Always use 200.
22861Files: runtime/doc/message.txt, src/feature.h
22862
22863Patch 8.2.3798
22864Problem: A :def callback function postpones an error message.
22865Solution: Display the error after calling the function. (closes #9340)
22866Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
22867 src/testdir/dumps/Test_opfunc_error.dump
22868
22869Patch 8.2.3799 (after 8.2.3798)
22870Problem: Edit test hangs or fails.
22871Solution: Do not rethrow an exception when inside try/catch.
22872Files: src/userfunc.c
22873
22874Patch 8.2.3800
22875Problem: When cross compiling the output of "uname" cannot be set. (Ben
22876 Reeves)
22877Solution: Use cache variables. (closes #9338)
22878Files: src/configure.ac, src/auto/configure
22879
22880Patch 8.2.3801
22881Problem: If a terminal shows in two windows, only one is redrawn.
22882Solution: Reset the dirty row range only after redrawing all windows.
22883 (closes #9341)
22884Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
22885 src/testdir/test_terminal.vim
22886
22887Patch 8.2.3802
22888Problem: Terminal in two windows test fails on some systems.
22889Solution: Wait a bit between commands.
22890Files: src/testdir/test_terminal.vim
22891
22892Patch 8.2.3803
22893Problem: Crash when 'writedelay' is set and using a terminal window to
22894 execute a shell command.
22895Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
22896Files: src/terminal.c
22897
22898Patch 8.2.3804
22899Problem: Script context not set when copying 'swf' and 'ts'.
22900Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
22901Files: src/option.c
22902
22903Patch 8.2.3805
22904Problem: i3config files are not recognized.
22905Solution: Add patterns to match i3config files. (Quentin Hibon,
22906 closes #7969)
22907Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22908
22909Patch 8.2.3806
22910Problem: Terminal focus test fails sometimes.
22911Solution: Run the test function before others.
22912Files: src/testdir/test_terminal.vim
22913
22914Patch 8.2.3807
22915Problem: Vim9: can call import with star directly.
22916Solution: Check that the import used star.
22917Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
22918
22919Patch 8.2.3808
22920Problem: Vim9: obsolete TODO items
22921Solution: Remove the comments.
22922Files: src/vim9execute.c
22923
22924Patch 8.2.3809
22925Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
22926 Senioria)
22927Solution: Set references in all the funcstacks. (closes #9348)
22928Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
22929 src/eval.c, src/testdir/test_vim9_func.vim
22930
22931Patch 8.2.3810
22932Problem: Vim9: expr4 test fails on MS-Windows.
22933Solution: Do not give an error for a missing function name when skipping.
22934Files: src/eval.c, src/testdir/test_vim9_expr.vim
22935
22936Patch 8.2.3811
22937Problem: The opfunc error test fails on a slow machine.
22938Solution: Use WaitForAssert().
22939Files: src/testdir/test_vim9_func.vim
22940
22941Patch 8.2.3812
22942Problem: Vim9: leaking memory in numbered function test.
22943Solution: Skip "g:" when checking for numbered function. Clean up after
22944 errors properly.
22945Files: src/userfunc.c
22946
22947Patch 8.2.3813
22948Problem: confusing error when using :cc without error list. (Gary Johnson)
22949Solution: Give the "no errors" error.
22950Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
22951
22952Patch 8.2.3814
22953Problem: .csx files and .sln files are not recognized.
22954Solution: Add filetype patterns. (Doug Kearns)
22955Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22956
22957Patch 8.2.3815
22958Problem: Vim9: cannot have a multi-line dict inside a block.
22959Solution: Do not split the command at a line break, handle NL characters
22960 as white space.
22961Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22962 src/eval.c, src/testdir/test_vim9_expr.vim
22963
22964Patch 8.2.3816
22965Problem: Compiler warning for posible loss of data on MS-Windows.
22966Solution: Add type cast. (Mike Williams, closes #9349)
22967Files: src/userfunc.c
22968
22969Patch 8.2.3817 (after 8.2.3815)
22970Problem: Vim9: Not using NL as command end does not work for :autocmd.
22971Solution: Only ignore NL for commands with an expression argument.
22972Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
22973
22974Patch 8.2.3818
22975Problem: Cannot filter or map characters in a string.
22976Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
22977 closes #9327)
22978Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
22979 src/testdir/test_filter_map.vim
22980
22981Patch 8.2.3819 (after 8.2.3818)
22982Problem: Test fails because error message changed.
22983Solution: Update screendumps.
22984Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
22985 src/testdir/dumps/Test_popupwin_three_errors_2.dump
22986
22987Patch 8.2.3820
22988Problem: "vrc" does not replace composing characters, while "rc" does.
22989Solution: Check the byte length including composing characters.
22990 (closes #9351)
22991Files: src/ops.c, src/testdir/test_visual.vim
22992
22993Patch 8.2.3821
22994Problem: ASAN test run fails.
22995Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
22996Files: .github/workflows/ci.yml
22997
22998Patch 8.2.3822
22999Problem: Leaking memory in map() and filter(), cannot use a string argument
23000 in Vim9 script.
23001Solution: Fix the leak, adjust the argument check, also run the tests as
23002 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23003Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23004 src/testdir/test_filter_map.vim,
23005 src/testdir/test_vim9_builtin.vim, src/typval.c
23006
23007Patch 8.2.3823
23008Problem: Test for visual replace is in wrong function.
23009Solution: Move it to another function.
23010Files: src/testdir/test_visual.vim
23011
23012Patch 8.2.3824
23013Problem: No ASAN support for MSVC.
23014Solution: Add ASAN support and fix a coupld of uncovered problems. (Yegappan
23015 Lakshmanan, closes #9357)
23016Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23017 src/testdir/test_fnamemodify.vim
23018
23019Patch 8.2.3825
23020Problem: Various comments could be improved.
23021Solution: Improve the comments.
23022Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23023 src/testdir/test_edit.vim, src/gui_motif.c
23024
23025Patch 8.2.3826
23026Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23027 function.
23028Solution: Include "g:" in the function name. (closes #9336)
23029Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23030 src/testdir/test_vim9_disassemble.vim
23031
23032Patch 8.2.3827
23033Problem: Huntr badge does not really fit in the list.
23034Solution: Move the link to Huntr to the issue template.
23035Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23036
23037Patch 8.2.3828
23038Problem: when opening a terminal from a timer the first typed character
23039 is lost. (Virginia Senioria)
23040Solution: When opening a terminal while waiting for a character put K_IGNORE
23041 in the input buffer.
23042Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23043
23044Patch 8.2.3829
23045Problem: No error when setting a func option to a script-local function.
23046Solution: Give an error if the name starts with "s:". (closes #9358)
23047Files: src/option.c, src/testdir/test_tagfunc.vim,
23048 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23049
23050Patch 8.2.3830
23051Problem: Error messages are spread out.
23052Solution: Move more error messages to errors.h.
23053Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23054 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23055 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23056 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23057 src/vim9type.c, src/window.c
23058
23059Patch 8.2.3831
23060Problem: Opfunc test fails when missing feature changes function name.
23061 (Dominique Pellé)
23062Solution: Check the relevant screen line instead of using a screendump.
23063 (closes #9360)
23064Files: src/testdir/test_vim9_func.vim,
23065 src/testdir/dumps/Test_opfunc_error.dump
23066
23067Patch 8.2.3832 (after 8.2.3830)
23068Problem: Test fails because of changed error message.
23069Solution: Adjust the expected error message.
23070Files: src/testdir/test_vimscript.vim
23071
23072Patch 8.2.3833
23073Problem: Error from term_start() not caught by try/catch.
23074Solution: save and restore did_emsg when applying autocommands. (Ozaki
23075 Kiichi, closes #9361)
23076Files: src/autocmd.c, src/testdir/test_terminal3.vim
23077
23078Patch 8.2.3834
23079Problem: Test_out_cb often fails on Mac.
23080Solution: Increase the timeout with every retry.
23081Files: src/testdir/test_channel.vim
23082
23083Patch 8.2.3835
23084Problem: The inline-function example does not work.
23085Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23086Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23087 src/testdir/test_vim9_expr.vim
23088
23089Patch 8.2.3836
23090Problem: Vim9: comment after expression not skipped to find NL.
23091Solution: After evaluating an expression look for a newline after a #
23092 comment.
23093Files: src/eval.c
23094
23095Patch 8.2.3837
23096Problem: QNX: crash when compiled with GUI but using terminal.
23097Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23098Files: src/autocmd.c
23099
23100Patch 8.2.3838
23101Problem: Cannot use script-local function for setting *func options.
23102Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23103Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23104 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23105 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23106
23107Patch 8.2.3839
23108Problem: Using \z() with \z1 not tested for syntax highlighting.
23109Solution: Add a test. (Dominique Pellé, closes #9365)
23110Files: src/testdir/test_syntax.vim
23111
23112Patch 8.2.3840
23113Problem: Useless test for negative index in check functions.
23114Solution: Remove the test for negative index. (Naruhiko Nishino,
23115 closes #9364)
23116Files: src/typval.c
23117
23118Patch 8.2.3841
23119Problem: Vim9: outdated TODO items, disabled tests that work.
23120Solution: Remove TODO items, run tests that work now. Check that a dict
23121 item isn't locked.
23122Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23123 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23124
23125Patch 8.2.3842
23126Problem: Vim9: can change locked list and list items.
23127Solution: Check that a list and list item isn't locked.
23128Files: src/vim9execute.c, src/testdir/test_listdict.vim
23129
23130Patch 8.2.3843
23131Problem: Dep3patch files are not recognized.
23132Solution: Recognize dep3patch files by their location and content. (James
23133 McCoy, closes #9367)
23134Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23135 src/testdir/test_filetype.vim
23136
23137Patch 8.2.3844
23138Problem: Vim9: no type error if assigning a value with type func(number) to
23139 a variable of type func(string).
23140Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23141 useful. (issue #8492)
23142Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23143 src/testdir/test_vim9_assign.vim
23144
23145Patch 8.2.3845
23146Problem: Vim9: test fails when the channel feature is missing.
23147Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23148Files: src/testdir/test_vim9_builtin.vim
23149
23150Patch 8.2.3846
23151Problem: No error when using control character for 'lcs' or 'fcs'.
23152Solution: Use char2cells() to check the width. (closes #9369)
23153Files: src/screen.c, src/testdir/test_display.vim,
23154 src/testdir/test_listchars.vim
23155
23156Patch 8.2.3847
23157Problem: Illegal memory access when using a lambda with an error.
23158Solution: Avoid skipping over the NUL after a string.
23159Files: src/eval.c, src/testdir/test_lambda.vim
23160
23161Patch 8.2.3848
23162Problem: Cannot use reduce() for a string.
23163Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23164Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23165 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23166 src/testdir/test_vim9_builtin.vim
23167
23168Patch 8.2.3849
23169Problem: Functions implementing reduce and map are too long.
23170Solution: Use a function for each type of value. Add a few more test cases
23171 and add to the help. (Yegappan Lakshmanan, closes #9370)
23172Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23173
23174Patch 8.2.3850
23175Problem: Illegal memory access when displaying a partial.
23176Solution: Terminate the string with a NUL. (closes #9371)
23177Files: src/eval.c, src/testdir/test_messages.vim
23178
23179Patch 8.2.3851
23180Problem: Vim9: overhead when comparing string, dict or function.
23181Solution: Call the intented compare function directly. Refactor to avoid
23182 duplicated code.
23183Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23184
23185Patch 8.2.3852
23186Problem: Vim9: not enough tests.
23187Solution: Also run existing tests for Vim9 script. Make errors more
23188 consistent.
23189Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23190 src/errors.h
23191
23192Patch 8.2.3853
23193Problem: Vim9: not enough tests.
23194Solution: Run more existing tests for Vim9 script.
23195Files: src/testdir/test_listdict.vim
23196
23197Patch 8.2.3854
23198Problem: Vim9: inconsistent arguments for test functions.
23199Solution: When :def function and script have different arguments use a list
23200 with two items instead of a separate function.
23201Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23202 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23203 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23204 src/testdir/test_vim9_assign.vim,
23205 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23206 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23207 src/testdir/test_vim9_script.vim
23208
23209Patch 8.2.3855
23210Problem: Illegal memory access when displaying a blob.
23211Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23212Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23213 src/testdir/test_messages.vim
23214
23215Patch 8.2.3856
23216Problem: Vim9: not enough tests.
23217Solution: Run more expression tests also with Vim9. Fix an uncovered
23218 problem.
23219Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23220
23221Patch 8.2.3857
23222Problem: Vim9: inconsistent error for using function().
23223Solution: Use a runtime type check for the result of function().
23224 (closes #8492)
23225Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23226
23227Patch 8.2.3858
23228Problem: Vim9: not enough tests.
23229Solution: Add tests for :try/:catch and :redir. Add missing type check.
23230Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23231 src/testdir/test_vim9_cmd.vim
23232
23233Patch 8.2.3859
23234Problem: Vim9: some code lines not tested.
23235Solution: Add a few specific tests.
23236Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23237 src/testdir/test_vim9_script.vim
23238
23239Patch 8.2.3860
23240Problem: Vim9: codecov struggles with the file size.
23241Solution: Split vim9compile.c into four files.
23242Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23243 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23244 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23245 src/vim9execute.c, src/vim9script.c, src/proto.h,
23246 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23247 src/Make_mvc.mak, src/Make_vms.mms
23248
23249Patch 8.2.3861
23250Problem: List of distributed files is outdated.
23251Solution: Add new files.
23252Files: Filelist
23253
23254Patch 8.2.3862
23255Problem: Crash on exit with EXITFREE and using win_execute().
23256Solution: Also save and restore tp_topframe. (issue #9374)
23257Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23258
23259Patch 8.2.3863 (after 8.2.3860)
23260Problem: Various build flags accidentally enabled.
23261Solution: Revert several lines in Makefile.
23262Files: src/Makefile
23263
23264Patch 8.2.3864
23265Problem: Cannot disable requesting key codes from xterm.
23266Solution: Add the 'xtermcodes' option, default on.
23267Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23268 src/optiondefs.h, src/term.c, runtime/optwin.vim
23269
23270Patch 8.2.3865
23271Problem: Vim9: compiler complains about using "try" as a struct member.
23272Solution: Rename "try" to "tryref".
23273Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23274
23275Patch 8.2.3866
23276Problem: Vim9: type checking global variables is inconsistent.
23277Solution: Use the "unknown" type in more places.
23278Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23279 src/evalfunc.c, src/testdir/test_vim9_func.vim
23280
23281Patch 8.2.3867
23282Problem: Implementation of some list functions too complicated.
23283Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23284 Lakshmanan, closes #9378)
23285Files: src/list.c
23286
23287Patch 8.2.3868 (after 8.2.3866)
23288Problem: Vim9: function test fails.
23289Solution: Add missing changes. Add test for earlier patch.
23290Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23291
23292Patch 8.2.3869
23293Problem: Vim9: type checking for "any" is inconsistent.
23294Solution: Always use a runtime type check for using "any" for a more
23295 specific type.
23296Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23297 src/testdir/test_vim9_func.vim
23298
23299Patch 8.2.3870
23300Problem: MS-Windows: wrong working directory when opening two files with
23301 right-click context menu. (Gabriel Dupras)
23302Solution: Use the working directory and pass it on to the process creation.
23303 (Nir Lichtman, closes #9382, closes #8874)
23304Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23305
23306Patch 8.2.3871
23307Problem: List.c contains code for dict and blob.
23308Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23309 closes #9386)
23310Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23311 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23312 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23313 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23314
23315Patch 8.2.3872
23316Problem: Vim9: finddir() and uniq() return types can be more specific.
23317Solution: Adjust the return type.
23318Files: src/evalfunc.c, src/testdir/vim9.vim,
23319 src/testdir/test_vim9_builtin.vim
23320
23321Patch 8.2.3873
23322Problem: go.mod files are not recognized.
23323Solution: Check for the file name. (closes #9380)
23324Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23325
23326Patch 8.2.3874
23327Problem: Cannot highlight the number column for a sign.
23328Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23329Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23330 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23331 src/testdir/test_signs.vim
23332
23333Patch 8.2.3875
23334Problem: gcc complains about buffer overrun.
23335Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23336Files: src/dict.c
23337
23338Patch 8.2.3876
23339Problem: 'cindent' does not recognize inline namespace.
23340Solution: Skip over "inline" to find "namespace". (closes #9383)
23341Files: src/cindent.c, src/testdir/test_cindent.vim
23342
23343Patch 8.2.3877
23344Problem: Function does not abort after a type error in compare
23345Solution: Check getting number fails. (closes #9384)
23346Files: src/typval.c, src/testdir/test_vim9_expr.vim
23347
23348Patch 8.2.3878
23349Problem: Vim9: debugger tries to read more lines than there are.
23350Solution: Check the number of lines. (closes #9394)
23351Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23352
23353Patch 8.2.3879
23354Problem: getreg() and getregtype() contain dead code.
23355Solution: Remove the needless check. (closes #9392) Also refactor to put
23356 common code in a shared function.
23357Files: src/evalfunc.c
23358
23359Patch 8.2.3880
23360Problem: Solution filter files are not recognized.
23361Solution: Add pattern *.slnf and use json. (Doug Kearns)
23362Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23363
23364Patch 8.2.3881
23365Problem: QNX: crash when compiled with GUI but using terminal.
23366Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23367Files: src/main.c
23368
23369Patch 8.2.3882 (after 8.2.3879)
23370Problem: More duplicated code in f_getreginfo().
23371Solution: Also use getreg_get_regname(). (closes #9398)
23372Files: src/evalfunc.c
23373
23374Patch 8.2.3883
23375Problem: Crash when switching to other regexp engine fails.
23376Solution: Check for regprog being NULL.
23377Files: src/ex_cmds.c
23378
23379Patch 8.2.3884
23380Problem: Crash when clearing the argument list while using it.
23381Solution: Lock the argument list for ":all".
23382Files: src/arglist.c, src/testdir/test_arglist.vim
23383
23384Patch 8.2.3885
23385Problem: Arglist test fails.
23386Solution: Adjust for locking the arglist for ":all".
23387Files: src/testdir/test_arglist.vim
23388
23389Patch 8.2.3886
23390Problem: Can define autocmd for every event by using "au!".
23391Solution: Check if a command is present also for "au!".
23392Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23393 src/testdir/test_arglist.vim
23394
23395Patch 8.2.3887
23396Problem: E1135 is used for two different errors.
23397Solution: Renumber one error.
23398Files: src/errors.h, src/testdir/test_mapping.vim
23399
23400Patch 8.2.3888
23401Problem: The argument list may contain duplicates.
23402Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23403Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23404 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23405 src/testdir/test_arglist.vim
23406
23407Patch 8.2.3889
23408Problem: Duplicate code for translating script-local function name.
23409Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23410 closes #9393)
23411Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23412 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23413 src/testdir/test_normal.vim
23414
23415Patch 8.2.3890
23416Problem: Vim9: type check for using v: variables is basic.
23417Solution: Specify a more precise type.
23418Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23419 src/testdir/test_vim9_expr.vim
23420
23421Patch 8.2.3891
23422Problem: Github CI: workflows may overlap.
23423Solution: Cancel previous workflows when starting a new one. (Yegappan
23424 Lakshmanan, closes #9400)
23425Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23426
23427Patch 8.2.3892
23428Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23429Solution: Check for uppercase C as well, fix minimum length.
23430Files: src/ui.c
23431
23432Patch 8.2.3893
23433Problem: Vim9: many local variables are initialized with an instruction.
23434Solution: Initialize local variables to zero to avoid the instructions.
23435Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23436 src/proto/vim9instr.pro, src/vim9cmds.c,
23437 src/testdir/test_vim9_disassemble.vim
23438
23439Patch 8.2.3894
23440Problem: Vim9: no proper type check for first argument of call().
23441Solution: Add specific type check.
23442Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23443 src/errors.h, src/testdir/test_vim9_builtin.vim
23444
23445Patch 8.2.3895
23446Problem: Vim9: confusing error when using function() with a number.
23447Solution: Check for a function or string argument.
23448Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23449
23450Patch 8.2.3896
23451Problem: Vim9: no test for nested function not available later.
23452Solution: Add a test.
23453Files: src/testdir/test_vim9_func.vim
23454
23455Patch 8.2.3897
23456Problem: Vim9: the second argument of map() and filter() is not checked at
23457 compile time.
23458Solution: Add more specific type check for the second argument.
23459Files: src/evalfunc.c, src/globals.h, src/list.c,
23460 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23461 src/testdir/test_vim9_script.vim
23462
23463Patch 8.2.3898
23464Problem: Vim9: not sufficient testing for variable initialization.
23465Solution: Add another test case.
23466Files: src/testdir/test_vim9_disassemble.vim
23467
23468Patch 8.2.3899 (after 8.2.3897)
23469Problem: Vim9: test for map() on string fails.
23470Solution: Expect string return type.
23471Files: src/evalfunc.c
23472
23473Patch 8.2.3900
23474Problem: It is not easy to use a script-local function for an option.
23475Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23476 Lakshmanan, closes #9401)
23477Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23478 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23479 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23480 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23481 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23482 src/testdir/test_normal.vim
23483
23484Patch 8.2.3901
23485Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23486Solution: Do not restore 'cpo' at the end of the main .vimrc.
23487Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23488 src/structs.h, src/testdir/test_vim9_script.vim
23489
23490Patch 8.2.3902
23491Problem: Vim9: double free with nested :def function.
23492Solution: Pass "line_to_free" from compile_def_function() and make sure
23493 cmdlinep is valid.
23494Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23495 src/vim9execute.c, src/testdir/test_vim9_func.vim
23496
23497Patch 8.2.3903
23498Problem: "gM" does not count tabs as expected.
23499Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23500Files: src/normal.c, src/testdir/test_normal.vim
23501
23502Patch 8.2.3904
23503Problem: Vim9: skip expression type is not checked at compile time.
23504Solution: Add argument type checks.
23505Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23506
23507Patch 8.2.3905
23508Problem: Dockerfile using prefix name not recognized.
23509Solution: Recognize Dockerfile.*. (closes #9410)
23510Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23511
23512Patch 8.2.3906
23513Problem: Vim9 help still contains "under development" warnings.
23514Solution: Remove the explicit warning.
23515Files: runtime/doc/vim9.txt
23516
23517Patch 8.2.3907
23518Problem: Error messages are spread out.
23519Solution: Move error messages to errors.h. Avoid duplicates.
23520Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23521 src/testdir/test_user_func.vim
23522
23523Patch 8.2.3908
23524Problem: Cannot use a script-local function for 'foldtext'.
23525Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23526Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23527 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23528 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23529 src/testdir/test_listdict.vim
23530
23531Patch 8.2.3909
23532Problem: Containerfile using prefix name not recognized.
23533Solution: Recognize Containerfile.*.
23534Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23535
23536Patch 8.2.3910
23537Problem: When the compare function of sort() produces and error then sort()
23538 does not abort.
23539Solution: Check if did_emsg was incremented.
23540Files: src/list.c, src/testdir/test_vim9_builtin.vim
23541
23542Patch 8.2.3911
23543Problem: Vim9: type check for filter() does not accept unknown.
23544Solution: Also accept unknown for the return type. (closes #9413)
23545Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23546
23547Patch 8.2.3912
23548Problem: The ins_complete() function is much too long.
23549Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23550 closes #9414)
23551Files: src/insexpand.c
23552
23553Patch 8.2.3913
23554Problem: Help for expressions does not mention Vim9 syntax.
23555Solution: Add the rules for Vim9 to the expression help. Rename functions
23556 to match the help.
23557Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23558
23559Patch 8.2.3914
23560Problem: Various spelling mistakes in comments.
23561Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23562Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23563 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23564 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23565 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23566 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23567 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23568 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23569 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23570 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23571 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23572 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23573 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23574 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23575 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23576 src/winclip.c, src/window.c
23577
23578Patch 8.2.3915
23579Problem: illegal memory access when completing with invalid bytes.
23580Solution: Avoid going over the end of the completion text.
23581Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23582
23583Patch 8.2.3916
23584Problem: No error for passing an invalid line number to append().
23585Solution: In Vim9 script check for a non-negative number. (closes #9417)
23586Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
23587 src/eval.c, src/testdir/test_vim9_builtin.vim
23588
23589Patch 8.2.3917
23590Problem: The eval.txt help file is way too big.
23591Solution: Move the builtin function details to a separate file.
23592Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
23593 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
23594
23595Patch 8.2.3918 (after 8.2.3916)
23596Problem: Function list test fails.
23597Solution: Adjust the test for the new location of the function list.
23598Files: src/testdir/test_function_lists.vim
23599
23600Patch 8.2.3919
23601Problem: Vim9: wrong argument for append() results in two errors.
23602Solution: Check did_emsg. Also for setline(). Adjust the help for
23603 appendbufline().
23604Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
23605 src/testdir/test_vim9_builtin.vim
23606
23607Patch 8.2.3920
23608Problem: Restoring directory after using another window is inefficient.
23609Solution: Only restore the directory for win_execute(). Apply 'autochdir'
23610 only when needed.
23611Files: src/evalwindow.c, src/testdir/test_autochdir.vim
23612
23613Patch 8.2.3921
23614Problem: The way xdiff is used is inefficient.
23615Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
23616 closes #9344)
23617Files: src/diff.c
23618
23619Patch 8.2.3922
23620Problem: Cannot build with dynamic Ruby 3.1.
23621Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
23622 Kiichi, closes #9420)
23623Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
23624 ci/config.mk.sed, src/Makefile, src/auto/configure,
23625 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
23626
23627Patch 8.2.3923
23628Problem: Vim9: double free if a nested function has a line break in the
23629 argument list.
23630Solution: Set cmdlinep when freeing the previous line.
23631Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23632
23633Patch 8.2.3924
23634Problem: Vim9: no error if something follows :enddef in a nested function.
23635Solution: Give an error. Move common code to a function.
23636Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
23637 src/testdir/test_vim9_func.vim
23638
23639Patch 8.2.3925
23640Problem: Diff mode confused by NUL bytes.
23641Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
23642 closes #9418)
23643Files: src/diff.c, src/testdir/test_diffmode.vim,
23644 src/testdir/dumps/Test_diff_bin_01.dump,
23645 src/testdir/dumps/Test_diff_bin_02.dump,
23646 src/testdir/dumps/Test_diff_bin_03.dump,
23647 src/testdir/dumps/Test_diff_bin_04.dump
23648
23649Patch 8.2.3926 (after 8.2.3920)
23650Problem: Build failure without the 'autochdir' option. (John Marriott)
23651Solution: Add #ifdefs.
23652Files: src/evalwindow.c
23653
23654Patch 8.2.3927
23655Problem: Vim9: double free when using lambda.
23656Solution: Don't free both cmdline and line_to_free.
23657Files: src/userfunc.c
23658
23659Patch 8.2.3928
23660Problem: Heredoc test fails.
23661Solution: Correct order of function arguments.
23662Files: src/userfunc.c
23663
23664Patch 8.2.3929
23665Problem: Using unititialized variable.
23666Solution: Set the option flags to zero for a terminal option.
23667Files: src/option.c
23668
23669Patch 8.2.3930
23670Problem: getcmdline() argument has a misleading type.
23671Solution: Use the correct type, even though the value is not used.
23672Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
23673 src/normal.c, src/register.c, src/userfunc.c
23674
23675Patch 8.2.3931
23676Problem: Coverity reports a memory leak.
23677Solution: Free memory in case of failure.
23678Files: src/diff.c
23679
23680Patch 8.2.3932
23681Problem: C line comment not formatted properly.
23682Solution: If a line comment follows after "#if" the next line is not the end
23683 of a paragraph.
23684Files: src/textformat.c, src/testdir/test_textformat.vim
23685
23686Patch 8.2.3933
23687Problem: After ":cd" fails ":cd -" is incorrect.
23688Solution: Set the previous directory only after successfully changing
23689 directory. (Richard Doty, closes #9419, closes #8983)
23690Files: src/ex_docmd.c, src/testdir/test_cd.vim
23691
23692Patch 8.2.3934
23693Problem: Repeating line comment is undesired for "O" command.
23694Solution: Do not copy line comment leader for "O". (closes #9426)
23695Files: src/change.c, src/testdir/test_textformat.vim
23696
23697Patch 8.2.3935
23698Problem: CTRL-U in Insert mode does not fix the indent.
23699Solution: Fix the indent when 'cindent' is set.
23700Files: src/edit.c, src/testdir/test_textformat.vim
23701
23702Patch 8.2.3936
23703Problem: No proper test for maintaining change mark in diff mode.
23704Solution: Run the test with internal and external diff. (Sean Dewar,
23705 closes #9424)
23706Files: src/testdir/test_diffmode.vim
23707
23708Patch 8.2.3937
23709Problem: Insert mode completion function is too long.
23710Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
23711 closes #9423)
23712Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23713
23714Patch 8.2.3938
23715Problem: Line comment start is also found in a string.
23716Solution: Skip line comments in a string.
23717Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
23718 src/testdir/test_textformat.vim
23719
23720Patch 8.2.3939
23721Problem: MS-Windows: fnamemodify('', ':p') does not work.
23722Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
23723 closes #9428, closes #9427)
23724Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
23725
23726Patch 8.2.3940
23727Problem: Match highlight disappears when doing incsearch for ":s/pat".
23728Solution: Only use line limit for incsearch highlighting. (closes #9425)
23729Files: src/match.c, src/testdir/test_match.vim,
23730 src/testdir/dumps/Test_match_with_incsearch_1.dump,
23731 src/testdir/dumps/Test_match_with_incsearch_2.dump
23732
23733Patch 8.2.3941
23734Problem: SIGTSTP is not handled.
23735Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
23736Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
23737 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
23738
23739Patch 8.2.3942
23740Problem: Coverity reports a possible memory leak.
23741Solution: Free the array if allocation fails.
23742Files: src/insexpand.c
23743
23744Patch 8.2.3943
23745Problem: Compiler warning from gcc for uninitialized variable.
23746Solution: Initialize variable. (closes #9429)
23747Files: src/diff.c
23748
23749Patch 8.2.3944
23750Problem: Insert mode completion functions are too long.
23751Solution: Split up into multiple functions. (Yegappan Lakshmanan,
23752 closes #9431)
23753Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23754
23755Patch 8.2.3945
23756Problem: Vim9: partial variable argument types are wrong, leading to a
23757 crash.
23758Solution: When adjusting the argument count also adjust the argument types.
23759 (closes #9433)
23760Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
23761
23762Patch 8.2.3946
23763Problem: When an internal error makes Vim exit the error is not seen.
23764Solution: Add the error to the test output.
23765Files: src/message.c, src/testdir/runtest.vim
23766
23767Patch 8.2.3947
23768Problem: Unnecessary check for NULL pointer.
23769Solution: Remove the check. (closes #9434)
23770Files: src/ex_docmd.c
23771
23772Patch 8.2.3948
23773Problem: Vim9: failure with partial with unknown argument count.
23774Solution: Do not copy argument types if there aren't any.
23775Files: src/vim9type.c
23776
23777Patch 8.2.3949
23778Problem: Using freed memory with /\%V.
23779Solution: Get the line again after getvvcol().
23780Files: src/regexp.c, src/testdir/test_regexp_latin.vim
23781
23782Patch 8.2.3950
23783Problem: Going beyond the end of the line with /\%V.
23784Solution: Check for valid column in getvcol().
23785Files: src/charset.c, src/testdir/test_regexp_latin.vim
23786
23787Patch 8.2.3951
23788Problem: Vim9: memory leak when text after a nested function.
23789Solution: Free the function if text is found after "enddef".
23790Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
23791
23792Patch 8.2.3952
23793Problem: First line not redrawn when adding lines to an empty buffer.
23794Solution: Adjust the argument to appended_lines(). (closes #9439,
23795 closes #9438)
23796Files: src/ex_cmds.c, src/testdir/test_excmd.vim
23797
23798Patch 8.2.3953
23799Problem: Insert completion code is too complicated.
23800Solution: More refactoring. Move function arguments into a struct.
23801 (Yegappan Lakshmanan, closes #9437)
23802Files: src/insexpand.c
23803
23804Patch 8.2.3954
23805Problem: Vim9: no error for shadowing if script var is declared later.
23806Solution: Check argument names when compiling a function.
23807Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23808 src/testdir/test_vim9_assign.vim
23809
23810Patch 8.2.3955
23811Problem: Error messages are spread out.
23812Solution: Move more errors to errors.h.
23813Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
23814 src/help.c, src/sign.c, src/spellfile.c
23815
23816Patch 8.2.3956
23817Problem: Duplicate assignment.
23818Solution: Remove the second assignment. (closes #9442)
23819Files: src/evalfunc.c
23820
23821Patch 8.2.3957
23822Problem: Error messages are spread out.
23823Solution: Move more errors to errors.h.
23824Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
23825 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c src/ex_eval.c,
23826 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
23827 src/vim9cmds.c, src/vim9compile.c
23828
23829Patch 8.2.3958
23830Problem: Build failure compiling xxd with "-std=c2x".
23831Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
23832Files: src/xxd/xxd.c
23833
23834Patch 8.2.3959
23835Problem: Error messages are spread out.
23836Solution: Move more errors to errors.h.
23837Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
23838 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
23839 src/getchar.c, src/gui.c, src/locale.c, src/map.c
23840
23841Patch 8.2.3960
23842Problem: Error messages are spread out.
23843Solution: Move more errors to errors.h.
23844Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
23845 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
23846
23847Patch 8.2.3961
23848Problem: Error messages are spread out.
23849Solution: Move more errors to errors.h.
23850Files: src/errors.h, src/globals.h src/arglist.c, src/autocmd.c,
23851 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
23852 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
23853 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
23854 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
23855 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
23856 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
23857 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
23858 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
23859 src/message.c, src/misc2.c, src/ops.c, src/option.c,
23860 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
23861 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
23862 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
23863 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
23864 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
23865
23866Patch 8.2.3962 (after 8.2.3961)
23867Problem: Build fails for missing error message.
23868Solution: Add changes in missed file.
23869Files: src/regexp_bt.c
23870
23871Patch 8.2.3963
23872Problem: Build failure with tiny and small features. (Tony Mechelynck)
23873Solution: Adjust #ifdefs.
23874Files: src/errors.h, src/message.c
23875
23876Patch 8.2.3964
23877Problem: Some common lisp and scheme files not recognized.
23878Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
23879 closes #9447)
23880Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23881
23882Patch 8.2.3965
23883Problem: Vim9: no easy way to check if Vim9 script is supported.
23884Solution: Add has('vim9script').
23885Files: runtime/doc/vim9.txt, src/evalfunc.c,
23886 src/testdir/test_vim9_script.vim
23887
23888Patch 8.2.3966
23889Problem: When using feedkeys() abbreviations may be blocked.
23890Solution: Reset tb_no_abbr_cnt when running out of characters.
23891 (closes #9448)
23892Files: src/getchar.c, src/testdir/test_feedkeys.vim
23893
23894Patch 8.2.3967
23895Problem: Error messages are spread out.
23896Solution: Move more errors to errors.h.
23897Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
23898 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
23899 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
23900 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
23901 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
23902 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
23903 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
23904 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
23905 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
23906 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
23907 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
23908 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
23909 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
23910 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
23911 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
23912 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
23913 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
23914 src/vim9script.c
23915
23916Patch 8.2.3968
23917Problem: Build failure.
23918Solution: Add missing changes.
23919Files: src/strings.c, src/vim9compile.c
23920
23921Patch 8.2.3969
23922Problem: Value of MAXCOL not available in Vim script.
23923Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
23924Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
23925 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
23926 src/testdir/test_put.vim, src/vim.h
23927
23928Patch 8.2.3970
23929Problem: Error messages are spread out.
23930Solution: Move more errors to errors.h.
23931Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
23932 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
23933 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
23934 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
23935 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
23936 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
23937 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
23938 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
23939 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
23940 src/vim9execute.c, src/vim9expr.c, src/window.c
23941
23942Patch 8.2.3971
23943Problem: Build fails.
23944Solution: Use the right error message name.
23945Files: src/typval.c
23946
23947Patch 8.2.3972
23948Problem: Error messages are spread out.
23949Solution: Move the last errors from globals.h to errors.h.
23950Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
23951 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
23952 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
23953 src/vim9cmds.c, src/vim9expr.c
23954
23955Patch 8.2.3973
23956Problem: Tiny build fails.
23957Solution: Adjust #ifdefs
23958Files: src/errors.h
23959
23960Patch 8.2.3974
23961Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
23962Solution: Check whether the list is locked. (closes #9452)
23963Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
23964
23965Patch 8.2.3975
23966Problem: Error messages are spread out.
23967Solution: Move more error messages to errors.h.
23968Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
23969 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
23970 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
23971 src/window.c
23972
23973Patch 8.2.3976
23974Problem: FEARG_LAST is never used. (Dominique Pellé)
23975Solution: Remove FEARG_LAST and the related code.
23976Files: src/evalfunc.c
23977
23978Patch 8.2.3977
23979Problem: Error messages are spread out.
23980Solution: Move more error messages to errors.h.
23981Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
23982 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
23983 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
23984 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
23985 src/terminal.c, src/textprop.c, src/userfunc.c
23986
23987Patch 8.2.3978
23988Problem: Build error when using dynamycally loaded Python 3.
23989Solution: Adjust #ifdef.
23990Files: src/errors.h
23991
23992Patch 8.2.3979
23993Problem: Vim9: the feature is not mentioned in the right places.
23994Solution: Add +vim9script to the help and :version output.
23995Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
23996
23997Patch 8.2.3980
23998Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
23999 may be changed. (Naohiro Ono)
24000Solution: Save and restore the information for redoing the Visual area.
24001 (closes #9455)
24002Files: src/ops.c, src/testdir/test_normal.vim
24003
24004Patch 8.2.3981
24005Problem: Vim9: debugging a for loop doesn't stop before it starts.
24006Solution: Keep the DEBUG instruction before the expression is evaluated.
24007 (closes #9456)
24008Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24009
24010Patch 8.2.3982
24011Problem: Some lines of code not covered by tests.
24012Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24013Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24014 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24015 src/testdir/test_vim9_builtin.vim
24016
24017Patch 8.2.3983
24018Problem: Error messages are spread out.
24019Solution: Move more error messages to errors.h.
24020Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24021 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24022 src/menu.c, src/normal.c, src/regexp_bt.c
24023
24024Patch 8.2.3984 (after 8.2.3981)
24025Problem: Debugger test fails.
24026Solution: Adjust the test for modified debugging of a for loop.
24027Files: src/testdir/test_debugger.vim
24028
24029Patch 8.2.3985
24030Problem: Error messages are spread out.
24031Solution: Move more error messages to errors.h.
24032Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24033 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24034 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24035 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24036 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24037 src/window.c
24038
24039Patch 8.2.3986
24040Problem: Error messages are spread out.
24041Solution: Move more error messages to errors.h.
24042Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24043 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24044 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24045 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24046 src/userfunc.c
24047
24048Patch 8.2.3987
24049Problem: Error messages are spread out.
24050Solution: Move more error messages to errors.h.
24051Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24052 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24053 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24054 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24055 src/term.c, src/viminfo.c
24056
24057Patch 8.2.3988 (after 8.2.3987)
24058Problem: Tiny build fails.
24059Solution: Fix misplaced #ifdef.
24060Files: src/errors.h
24061
24062Patch 8.2.3989
24063Problem: Some insert completion code is not tested.
24064Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24065 Lakshmanan, closes #9460)
24066Files: src/insexpand.c, src/testdir/test_edit.vim,
24067 src/testdir/test_ins_complete.vim
24068
24069Patch 8.2.3990
24070Problem: Testing wrong operator.
24071Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24072Files: src/testdir/test_normal.vim
24073
24074Patch 8.2.3991
24075Problem: Vim9: error when extending dict<any> with another type that it was
24076 initialized with.
24077Solution: Also set the type for dict<any> if the initializer has a more
24078 specific type. (closes #9461)
24079Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24080 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24081 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24082
24083Patch 8.2.3992
24084Problem: Wrong local-additions in the help with language mix.
24085Solution: Adjust how the local additions list is generated. (Hirohito
24086 Higashi, closes #9464)
24087Files: src/help.c, src/testdir/test_help.vim
24088
24089Patch 8.2.3993
24090Problem: When recording a change in Select mode the first typed character
24091 appears twice.
24092Solution: When putting the character back into typeahead remove it from
24093 recorded characters. (closes #9462)
24094Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24095 src/testdir/test_registers.vim
24096
24097Patch 8.2.3994
24098Problem: Vim9: extend() complains about the type even when it was not
24099 declared.
24100Solution: Only check the list or dict type when it was declared.
24101Files: src/list.c, src/testdir/test_vim9_builtin.vim
24102
24103Patch 8.2.3995
24104Problem: Not all sshconfig files are detected as such.
24105Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24106 closes #9322)
24107Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24108
24109Patch 8.2.3996
24110Problem: Vim9: type checking for list and dict lacks information about
24111 declared type.
24112Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24113 store two types in each entry.
24114Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24115 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24116 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24117 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24118 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24119 src/testdir/test_vim9_builtin.vim
24120
24121Patch 8.2.3997
24122Problem: Vim9: not enough testing for extend() and map().
24123Solution: Add more test cases. Fix uncovered problems. Remove unused type
24124 fields.
24125Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24126 src/testdir/test_vim9_builtin.vim,
24127 src/testdir/test_vim9_disassemble.vim
24128
24129Patch 8.2.3998
24130Problem: Asan error for adding zero to NULL.
24131Solution: Do not compute pointer if there are no entries.
24132Files: src/vim9type.c
24133
24134Patch 8.2.3999
24135Problem: Redundant check for NUL byte.
24136Solution: Remove the check for a NUL byte. (closes #9471)
24137Files: src/ex_docmd.c
24138
24139Patch 8.2.4000
24140Problem: Coverity warns for checking for NULL pointer after using it.
24141Solution: Remove check for NULL.
24142Files: src/help.c
24143
24144Patch 8.2.4001
24145Problem: Insert complete code uses global variables.
24146Solution: Make variables local to the file and use accessor functions.
24147 (Yegappan Lakshmanan, closes #9470)
24148Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24149 src/proto/insexpand.pro, src/search.c
24150
24151Patch 8.2.4002
24152Problem: First char typed in Select mode can be wrong.
24153Solution: Escape special bytes in the input buffer. (closes #9469)
24154Files: src/getchar.c, src/testdir/test_utf8.vim
24155
24156Patch 8.2.4003
24157Problem: Error messages are spread out.
24158Solution: Move more error messages to errors.h.
24159Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24160 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24161 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24162 src/typval.c
24163
24164Patch 8.2.4004
24165Problem: Old compiler complains about struct init with variable.
24166Solution: Set the struct member later. (John Marriott)
24167Files: src/evalfunc.c
24168
24169Patch 8.2.4005
24170Problem: Error messages are spread out.
24171Solution: Move more error messages to errors.h.
24172Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24173 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24174 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24175 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24176 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24177 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24178
24179Patch 8.2.4006
24180Problem: Vim9: crash when declaring variable on the command line.
24181Solution: Use a temporary type list. (closes #9474)
24182Files: src/eval.c, src/testdir/test_vim9_assign.vim
24183
24184Patch 8.2.4007
24185Problem: Session does not restore help buffer properly when "options' is
24186 missing from 'sessionoptions'.
24187Solution: Use a ":help" command to create the help window. (closes #9475,
24188 closes #9458, closes #9472)
24189Files: src/session.c, src/testdir/test_mksession.vim
24190
24191Patch 8.2.4008
24192Problem: Error messages are spread out.
24193Solution: Move more error messages to errors.h.
24194Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24195 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24196 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24197 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24198 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24199 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24200 src/typval.c, src/undo.c, src/userfunc.c
24201
24202Patch 8.2.4009
24203Problem: Reading one byte beyond the end of the line.
24204Solution: Check for NUL byte first.
24205Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24206
24207Patch 8.2.4010
24208Problem: Error messages are spread out.
24209Solution: Move more error messages to errors.h.
24210Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24211 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24212 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24213 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24214 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24215 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24216 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24217 src/userfunc.c, src/window.c
24218
24219Patch 8.2.4011
24220Problem: Test fails because of changed error number.
24221Solution: Restore old duplicate error message.
24222Files: src/errors.h, src/match.c
24223
24224Patch 8.2.4012
24225Problem: Error messages are spread out.
24226Solution: Move the last error messages to errors.h.
24227Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24228 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24229 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24230 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24231 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24232 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24233 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24234 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24235
24236Patch 8.2.4013
24237Problem: Build failure without the spell feature.
24238Solution: Adjust #ifdefs.
24239Files: src/errors.h
24240
24241Patch 8.2.4014
24242Problem: Git and gitcommit file types not properly recognized.
24243Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24244Files: runtime/filetype.vim, runtime/scripts.vim,
24245 src/testdir/test_filetype.vim
24246
24247Patch 8.2.4015
24248Problem: Build failure with tiny features. (Tony Mechelynck)
24249Solution: Adjust #ifdefs.
24250Files: src/errors.h
24251
24252Patch 8.2.4016
24253Problem: Vim9: incorrect error for argument that is shadowing var.
24254Solution: Ignore variable that is not in block where the function was
24255 defined.
24256Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24257
24258Patch 8.2.4017
24259Problem: Gcc warns for misleading indent in Athena menu code.
24260Solution: Add curlies around the two statements. (Dominique Pellé,
24261 closes #9480)
24262Files: src/gui_athena.c
24263
24264Patch 8.2.4018
24265Problem: ml_get error when win_execute redraws with Visual selection.
24266Solution: Disable Visual area temporarily. (closes #9479)
24267Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24268 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24269 src/if_py_both.h, src/evalfunc.c,
24270 src/testdir/test_execute_func.vim
24271
24272Patch 8.2.4019
24273Problem: Vim9: import mechanism is too complicated.
24274Solution: Do not use the Javascript mechanism but a much simpler one.
24275Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24276 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24277 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24278 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24279 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24280
24281Patch 8.2.4020 (after 8.2.4019)
24282Problem: Debugger test fails.
24283Solution: Fix import statement.
24284Files: src/testdir/test_debugger.vim
24285
24286Patch 8.2.4021 (after 8.2.4019)
24287Problem: Missing part of the :import changes.
24288Solution: Add changes in vim9cmds.c.
24289Files: src/vim9cmds.c
24290
24291Patch 8.2.4022
24292Problem: Two error messages in the wrong file.
24293Solution: Use the error message from errors.h.
24294Files: src/popupwin.c, src/usercmd.c
24295
24296Patch 8.2.4023
24297Problem: Using uninitialized variable.
24298Solution: Initialize "ufunc" also when an item is not exported.
24299Files: src/vim9script.c
24300
24301Patch 8.2.4024
24302Problem: Confusing error message if imported name is used directly.
24303Solution: Give a better error message.
24304Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24305 src/testdir/test_vim9_script.vim
24306
24307Patch 8.2.4025
24308Problem: Error for import not ending in .vim does not work for .vimrc.
24309Solution: Check that .vim is the end. (closes #9484)
24310Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24311
24312Patch 8.2.4026
24313Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24314Solution: Check cursor and Visual area are OK.
24315Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24316
24317Patch 8.2.4027
24318Problem: Import test fails on MS-Windows.
24319Solution: Use a different directory name.
24320Files: src/testdir/test_vim9_script.vim
24321
24322Patch 8.2.4028
24323Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24324Solution: Disable Visual mode while executing autocommands.
24325Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24326
24327Patch 8.2.4029
24328Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24329Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24330 is set when used. Fix breakindent and indent caching. (Christian
24331 Brabandt, closes #9482)
24332Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24333
24334Patch 8.2.4030
24335Problem: A script local funcref is not found from a mapping.
24336Solution: When looking for a function, also find a script-local funcref.
24337 (closes #9485)
24338Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24339 src/testdir/test_vim9_script.vim
24340
24341Patch 8.2.4031
24342Problem: Crash in xterm with only two lines. (Dominique Pellé)
24343Solution: Only perform xterm compatibility test if possible. (closes #9488)
24344Files: src/term.c, src/testdir/test_startup.vim
24345
24346Patch 8.2.4032
24347Problem: ATTRIBUTE_NORETURN is not needed.
24348Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24349Files: src/if_ruby.c, src/vim.h
24350
24351Patch 8.2.4033
24352Problem: Running filetype tests leaves directory behind.
24353Solution: Delete the top directory. (closes #9483)
24354Files: src/testdir/test_filetype.vim
24355
24356Patch 8.2.4034
24357Problem: Coverity warns for possibly using a NULL pointer.
24358Solution: Check v_partial is not NULL.
24359Files: src/vim9type.c
24360
24361Patch 8.2.4035
24362Problem: Timer triggered at the debug prompt may cause trouble.
24363Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24364Files: src/time.c
24365
24366Patch 8.2.4036
24367Problem: Vim9: script test file is getting too long.
24368Solution: Split the import/export functionality to a separate file.
24369Files: src/testdir/test_vim9_script.vim src/testdir/test_vim9_import.vim,
24370 src/testdir/Make_all.mak
24371
24372Patch 8.2.4037
24373Problem: Insert mode completion is insufficiently tested.
24374Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24375 closes #9489)
24376Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24377
24378Patch 8.2.4038
24379Problem: Various code not used when features are disabled.
24380Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24381Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24382 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24383 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24384 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24385 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24386 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24387 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24388 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24389 src/vim9type.c
24390
24391Patch 8.2.4039
24392Problem: The xdiff library is linked in even when not used.
24393Solution: Use configure to decide whether xdiff object files are included.
24394Files: src/Makefile, src/config.mk.in, src/configure.ac,
24395 src/auto/configure, src/feature.h
24396
24397Patch 8.2.4040
24398Problem: Keeping track of allocated lines in user functions is too
24399 complicated.
24400Solution: Instead of freeing individual lines keep them all until the end.
24401Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24402 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24403 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24404
24405Patch 8.2.4041
24406Problem: Using unitialized pointer.
24407Solution: Store "ht" when variable is in another script.
24408Files: src/evalvars.c
24409
24410Patch 8.2.4042
24411Problem: Vim9: build error.
24412Solution: Use grow array instead of character pointer.
24413Files: src/vim9execute.c
24414
24415Patch 8.2.4043
24416Problem: Using int for second argument of ga_init2().
24417Solution: Remove unnessary type cast (int) when using sizeof().
24418Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24419 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24420 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24421 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24422 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24423 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24424 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24425 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24426 src/viminfo.c, src/window.c, src/if_py_both.h
24427
24428Patch 8.2.4044
24429Problem: Vim9: no error when importing the same script twice.
24430Solution: Give an error, unless it is a reload.
24431Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24432
24433Patch 8.2.4045
24434Problem: Some global functions are only used in one file.
24435Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24436Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24437 src/proto/highlight.pro, src/proto/vim9compile.pro,
24438 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24439 src/vim9instr.c, src/window.c
24440
24441Patch 8.2.4046
24442Problem: Some error messages not in the right place.
24443Solution: Adjust the errors file. Fix typo.
24444Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24445
24446Patch 8.2.4047
24447Problem: Depending on the build features error messages are unused.
24448Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24449Files: src/errors.h
24450
24451Patch 8.2.4048
24452Problem: gcc complains about use of "%p" in printf.
24453Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24454Files: src/if_py_both.h
24455
24456Patch 8.2.4049
24457Problem: Vim9: reading before the start of the line with "$" by itself.
24458Solution: Do not subtract one when reporting the error.
24459Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24460
24461Patch 8.2.4050
24462Problem: Vim9: need to prefix every item in an autoload script.
24463Solution: First step in supporting "vim9script autoload" and "import
24464 autoload".
24465Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24466 src/errors.h, src/vim9script.c, src/scriptfile.c,
24467 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24468 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24469 src/vim9expr.c, src/testdir/test_vim9_script.vim
24470
24471Patch 8.2.4051
24472Problem: Compiler complains about possibly uninitialized variable.
24473Solution: Add code to avoid a compiler warning. (John Marriott)
24474Files: src/scriptfile.c
24475
24476Patch 8.2.4052
24477Problem: Not easy to resize a window from a plugin.
24478Solution: Add win_move_separator() and win_move_statusline() functions.
24479 (Daniel Steinberg, closes #9486)
24480Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24481 src/evalwindow.c, src/proto/evalwindow.pro,
24482 src/testdir/test_window_cmd.vim
24483
24484Patch 8.2.4053
24485Problem: Vim9: autoload mechanism doesn't fully work yet.
24486Solution: Define functions and variables with their autoload name, add the
24487 prefix when calling a function, find the variable in the table of
24488 script variables.
24489Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24490 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24491 src/evalvars.c, src/testdir/test_vim9_script.vim
24492
24493Patch 8.2.4054 (after 8.2.4053)
24494Problem: Vim9 script test fails.
24495Solution: Add missing change.
24496Files: src/vim9compile.c
24497
24498Patch 8.2.4055
24499Problem: Vim9: line break in expression causes v:errmsg to be filled.
24500 (Yegappan Lakshmanan)
24501Solution: Do not give an error when skipping over an expression.
24502Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24503
24504Patch 8.2.4056
24505Problem: Vim9: memory leak when exporting function in autoload script.
24506Solution: Free the name if replacing it.
24507Files: src/scriptfile.c
24508
24509Patch 8.2.4057
24510Problem: Vim9: not fully implementing the autoload mechanism.
24511Solution: Allow for exporting a legacy function. Improve test coverage.
24512Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24513 src/testdir/test_vim9_script.vim
24514
24515Patch 8.2.4058
24516Problem: Vim9: import test failure in wrong line.
24517Solution: Adjust line number.
24518Files: src/testdir/test_vim9_import.vim
24519
24520Patch 8.2.4059
24521Problem: Vim9: an expression of a map cannot access script-local items.
24522 (Maxim Kim)
24523Solution: Use the script ID of where the map was defined.
24524Files: src/getchar.c, src/map.c, src/proto/map.pro,
24525 src/testdir/test_vim9_import.vim
24526
24527Patch 8.2.4060
24528Problem: win_execute() is slow on systems where getcwd() or chdir() is
24529 slow. (Rick Howe)
24530Solution: Avoid using getcwd() and chdir() if no local directory is used and
24531 'acd' is not set. (closes #9504)
24532Files: src/evalwindow.c
24533
24534Patch 8.2.4061
24535Problem: Codecov bash script is deprecated.
24536Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24537Files: .github/workflows/ci.yml
24538
24539Patch 8.2.4062
24540Problem: Match highlighting of tab too short.
24541Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24542 closes #9507, closes #9500)
24543Files: src/drawline.c, src/testdir/test_match.vim,
24544 src/testdir/dumps/Test_match_tab_linebreak.dump
24545
24546Patch 8.2.4063
24547Problem: Vim9: exported function in autoload script not found. (Yegappan
24548 Lakshmanan)
24549Solution: Use the autoload prefix to search for the function.
24550Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24551
24552Patch 8.2.4064
24553Problem: Foam files are not detected.
24554Solution: Detect the foam filetype by the path and file contents. (Mohammed
24555 Elwardi Fadeli, closes #9501)
24556Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24557 src/testdir/test_filetype.vim
24558
24559Patch 8.2.4065
24560Problem: Computation overflow with large count for :yank.
24561Solution: Avoid an overflow.
24562Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24563
24564Patch 8.2.4066
24565Problem: Vim9: imported autoload script loaded again.
24566Solution: Do not create a new imported_T every time.
24567Files: src/vim9script.c, src/vim9compile.c,
24568 src/testdir/test_vim9_import.vim
24569
24570Patch 8.2.4067
24571Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24572Solution: Translate the function name. (closes #9510)
24573Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24574
24575Patch 8.2.4068 (after 8.2.4066)
24576Problem: Vim9: import test fails.
24577Solution: Add missing change.
24578Files: src/scriptfile.c
24579
24580Patch 8.2.4069
24581Problem: Vim9: import test fails on MS-Windows.
24582Solution: Ignore case. Adjust test to avoid name that only differs in case.
24583Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
24584
24585Patch 8.2.4070
24586Problem: Using uninitialized memory when reading empty file.
24587Solution: Check for empty file before checking for NL. (Dominique Pellé,
24588 closes #9511)
24589Files: src/filepath.c, src/testdir/test_eval_stuff.vim
24590
24591Patch 8.2.4071
24592Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
24593Solution: Check if any of the blocks inside try/endtry did not end in
24594 return.
24595Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
24596 src/testdir/test_vim9_script.vim
24597
24598Patch 8.2.4072
24599Problem: Vim9: compiling function fails when autoload script is not loaded
24600 yet.
24601Solution: Depend on runtime loading.
24602Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
24603 src/vim9execute.c, src/testdir/test_vim9_import.vim
24604
24605Patch 8.2.4073
24606Problem: Coverity warns for using NULL pointer.
24607Solution: Bail out when running out of memory. Check for running over end of
24608 a string.
24609Files: src/userfunc.c,
24610
24611Patch 8.2.4074
24612Problem: Going over the end of NameBuff.
24613Solution: Check length when appending a space.
24614Files: src/drawscreen.c, src/testdir/test_edit.vim
24615
24616Patch 8.2.4075 (after 8.2.4073)
24617Problem: Test failures.
24618Solution: Change check for NULL pointer.
24619Files: src/userfunc.c
24620
24621Patch 8.2.4076
24622Problem: Memory leak in autoload import.
24623Solution: Do not overwrite the autoload prefix.
24624Files: src/vim9script.c
24625
24626Patch 8.2.4077
24627Problem: Not all Libsensors files are recognized.
24628Solution: Add "sensors.d/*" pattern. (Doug Kearns)
24629Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24630
24631Patch 8.2.4078
24632Problem: Terminal test for current directory not used on FreeBSD.
24633Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
24634 TermWait() inside Run_shell_in_terminal() as a generic solution.
24635Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
24636 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
24637 src/testdir/test_mapping.vim
24638
24639Patch 8.2.4079
24640Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
24641Solution: Adjust #ifdef. (Ken Takata, closes #9517)
24642Files: src/main.c
24643
24644Patch 8.2.4080
24645Problem: Not sufficient test coverage for xxd.
24646Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
24647Files: src/testdir/test_xxd.vim
24648
24649Patch 8.2.4081
24650Problem: CodeQL reports problem in if_cscope causing it to fail.
24651Solution: Use execvp() instead of execl(). Merge the header file into the
24652 source file. (Ozaki Kiichi, closes #9519)
24653Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
24654 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
24655 src/testdir/test_cscope.vim
24656
24657Patch 8.2.4082
24658Problem: Check for autoload file name and prefix fails. (Christian J.
24659 Robinson)
24660Solution: Only lower case the prefix on systems where the file name is not
24661 case sensitive.
24662Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
24663
24664Patch 8.2.4083
24665Problem: Vim9: no test for "vim9script autoload' and using script variable
24666 in the same script.
24667Solution: Add a simple test. Fix uncovered problem.
24668Files: src/evalvars.c, src/testdir/test_vim9_import.vim
24669
24670Patch 8.2.4084
24671Problem: Memory leak when looking for autoload prefixed variable.
24672Solution: Free the concatenated string.
24673Files: src/evalvars.c
24674
24675Patch 8.2.4085
24676Problem: Vim9: no test for using import in legacy script.
24677Solution: Add a test.
24678Files: src/testdir/test_vim9_import.vim
24679
24680Patch 8.2.4086
24681Problem: "cctx" argument of find_func_even_dead() is unused.
24682Solution: Remove the argument.
24683Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
24684 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
24685 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
24686 src/vim9type.c
24687
24688Patch 8.2.4087
24689Problem: Cannot test items from an autoload script easily.
24690Solution: Add the "autoload" value for test_override().
24691Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
24692 src/vim9script.c, src/testdir/test_vim9_import.vim
24693
24694Patch 8.2.4088
24695Problem: Xxd cannot output everything in one line.
24696Solution: Make zero columns mean infinite columns. (Erik Auerswald,
24697 closes #9524)
24698Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
24699 src/xxd/xxd.c
24700
24701Patch 8.2.4089 (after 8.2.4078)
24702Problem: Terminal test for current directory fails on FreeBSD.
24703Solution: Skip the test.
24704Files: src/testdir/test_terminal3.vim
24705
24706Patch 8.2.4090
24707Problem: After restoring a session buffer order can be quite different.
24708Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
24709Files: src/session.c, src/testdir/test_mksession.vim
24710
24711Patch 8.2.4091
24712Problem: Virtcol is recomputed for statusline unnecessarily.
24713Solution: Just use "w_virtcol". (closes #9523)
24714Files: src/buffer.c, src/testdir/test_statusline.vim
24715
24716Patch 8.2.4092
24717Problem: MacOS CI: unnecessarily doing "Install packages".
24718Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
24719 closes #9521)
24720Files: .github/workflows/ci.yml
24721
24722Patch 8.2.4093
24723Problem: Cached breakindent values not initialized properly.
24724Solution: Initialize and cache formatlistpat. (Christian Brabandt,
24725 closes #9526, closes #9512)
24726Files: runtime/doc/options.txt, src/indent.c, src/option.c,
24727 src/proto/option.pro, src/testdir/test_breakindent.vim
24728
24729Patch 8.2.4094
24730Problem: 'virtualedit' is window-local but using buffer-local enum.
24731Solution: Use window-local enum. (closes #9529)
24732Files: src/option.h, src/optiondefs.h
24733
24734Patch 8.2.4095
24735Problem: Sed script not recognized by the first line.
24736Solution: Recognize a sed script starting with "#n". (Doug Kearns)
24737Files: runtime/scripts.vim, src/testdir/test_filetype.vim
24738
24739Patch 8.2.4096
24740Problem: Linux CI: unnecessarily installing packages
24741Solution: Only install packages for huge build. (Ozaki Kiichi,
24742 closes #9530)
24743Files: .github/workflows/ci.yml
24744
24745Patch 8.2.4097
24746Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
24747 Glaubitz)
24748Solution: Add type cast. (closes #9527)
24749Files: src/vim9compile.c
24750
24751Patch 8.2.4098
24752Problem: Typing "interrupt" at debug prompt may keep exception around,
24753 causing function calls to fail.
24754Solution: Discard any exception at the toplevel. (closes #9532)
24755Files: src/main.c
24756
24757Patch 8.2.4099
24758Problem: Vim9: cannot use Vim9 syntax in mapping.
24759Solution: Add <ScriptCmd> to use the script context for a command.
24760Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
24761 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
24762 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
24763 src/testdir/test_vim9_import.vim
24764
24765Patch 8.2.4100
24766Problem: Early return when getting the 'formatlistpat' value.
24767Solution: Remove the first line. (Christian Brabandt)
24768Files: src/option.c, src/testdir/test_breakindent.vim
24769
24770Patch 8.2.4101
24771Problem: Warning for unused argument in tiny version.
24772Solution: Add "UNUSED".
24773Files: src/getchar.c
24774
24775Patch 8.2.4102
24776Problem: Vim9: import cannot be used after method.
24777Solution: Recognize an imported function name. (closes #9496)
24778Files: src/eval.c, src/testdir/test_vim9_import.vim
24779
24780Patch 8.2.4103
24781Problem: Vim9: variable declared in for loop not initialzed.
24782Solution: Always initialze the variable. (closes #9535)
24783Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
24784 src/testdir/test_vim9_assign.vim
24785
24786Patch 8.2.4104
24787Problem: Vim9: lower casing the autoload prefix causes problems.
24788Solution: Always store the prefix with case preserved.
24789Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
24790
24791Patch 8.2.4105
24792Problem: Translation related comment in the wrong place.
24793Solution: Move it back with the text. (Ken Takata, closes #9537)
24794Files: src/errors.h, src/ex_docmd.c
24795
24796Patch 8.2.4106
24797Problem: Going over the end of the w_lines array.
24798Solution: Break out of the loop when "idx" is too big. (issue #9540)
24799Files: src/drawscreen.c
24800
24801Patch 8.2.4107
24802Problem: Script context not restored after using <ScriptCmd>.
24803Solution: Also restore context when not in a script. (closes #9536)
24804 Add the 'c' flag to feedkeys() to be able to test this.
24805Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
24806 src/testdir/test_mapping.vim
24807
24808Patch 8.2.4108
24809Problem: Going over the end of the w_lines array.
24810Solution: Check not going over the end and limit to Rows. (issue #9540)
24811Files: src/drawscreen.c
24812
24813Patch 8.2.4109
24814Problem: MS-Windows: high dpi support is outdated.
24815Solution: Improve High DPI support by using PerMonitorV2. (closes #9525,
24816 closes #3102)
24817Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
24818
24819Patch 8.2.4110
24820Problem: Coverity warns for using NULL pointer.
24821Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
24822Files: src/eval.c
24823
24824Patch 8.2.4111
24825Problem: Potential proglem when map is deleted while executing.
24826Solution: Reset last used map pointer when deleting a mapping.
24827Files: src/map.c
24828
24829Patch 8.2.4112
24830Problem: Function not deleted at end of test.
24831Solution: Delete the function.
24832Files: src/testdir/test_diffmode.vim
24833
24834Patch 8.2.4113
24835Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
24836Solution: Correct the typo. (closes #9539)
24837Files: src/vim.h, src/testdir/test_mapping.vim
24838
24839Patch 8.2.4114
24840Problem: Vim9: type checking for a funcref does not work for when it is
24841 used in a method.
24842Solution: Pass the base to where the type is checked.
24843Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
24844 src/testdir/test_vim9_expr.vim
24845
24846Patch 8.2.4115
24847Problem: Cannot use a method with a complex expression.
24848Solution: Evaluate the expression after "->" and use the result.
24849Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
24850
24851Patch 8.2.4116
24852Problem: Vim9: cannot use a method with a complex expression in a :def
24853 function.
24854Solution: Implement compiling the expression.
24855Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24856
24857Patch 8.2.4117
24858Problem: Vim9: wrong white space error after using imported item.
24859Solution: Don't skip over white space. (closes #9544)
24860Files: src/eval.c, src/testdir/test_vim9_import.vim
24861
24862Patch 8.2.4118
24863Problem: Using UNUSED for argument that is used.
24864Solution: Remove UNUSED.
24865Files: src/usercmd.c
24866
24867Patch 8.2.4119
24868Problem: Build failure when disabling the channel feature.
24869Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
24870Files: src/misc2.c
24871
24872Patch 8.2.4120
24873Problem: Block insert goes over the end of the line.
24874Solution: Handle invalid byte better. Fix inserting the wrong text.
24875Files: src/ops.c, src/testdir/test_visual.vim
24876
24877Patch 8.2.4121
24878Problem: Visual test fails on MS-Windows.
24879Solution: Set 'isprint' so that the character used is not printable.
24880Files: src/testdir/test_visual.vim
24881
24882Patch 8.2.4122
24883Problem: ":command Cmd" does not show custom completion argument.
24884Solution: Show the completion argument when using ":verbose".
24885Files: src/usercmd.c, src/testdir/test_usercommands.vim
24886
24887Patch 8.2.4123
24888Problem: Complete function cannot be import.Name.
24889Solution: Dereference the function name if needed. Also: do not see
24890 "import.Name" as a builtin function. (closes #9541)
24891Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
24892
24893Patch 8.2.4124
24894Problem: Vim9: method in compiled function may not see script item.
24895Solution: Make sure not to skip to the next line. (closes #9496)
24896Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24897
24898Patch 8.2.4125
24899Problem: Completion tests fail.
24900Solution: Disable error messages while dereferencing the function name.
24901Files: src/eval.c
24902
24903Patch 8.2.4126
24904Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
24905 (Dominique Pellé)
24906Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
24907Files: src/if_tcl.c
24908
24909Patch 8.2.4127
24910Problem: Build failure without the +eval feature.
24911Solution: Add #ifdef.
24912Files: src/usercmd.c
24913
24914Patch 8.2.4128
24915Problem: Crash when method cannot be found. (Christian J. Robinson)
24916Solution: Don't mix up pointer names.
24917Files: src/eval.c, src/testdir/test_vim9_expr.vim
24918
24919Patch 8.2.4129
24920Problem: Building with +sound but without +eval fails. (Dominique Pellé)
24921Solution: Disable canberra in tiny and small build. (closes #9548)
24922Files: src/configure.ac, src/auto/configure
24923
24924Patch 8.2.4130
24925Problem: MS-Windows: MSVC build may have libraries duplicated.
24926Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
24927Files: src/Make_mvc.mak
24928
24929Patch 8.2.4131
24930Problem: Vim9: calling function in autoload import does not work in a :def
24931 function.
24932Solution: When a variable is not found and a PCALL follows use a funcref.
24933 (closes #9550)
24934Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
24935
24936Patch 8.2.4132
24937Problem: Vim9: wrong error message when autoload script can't be found.
24938Solution: Correct check for using autoload with wrong name.
24939Files: src/vim9script.c, src/testdir/test_vim9_import.vim
24940
24941Patch 8.2.4133
24942Problem: output of ":scriptnames" goes into the message history, while this
24943 des not happen for other commands, such as ":ls".
24944Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
24945Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
24946
24947Patch 8.2.4134
24948Problem: MS-Windows: test for import with absolute path fails.
24949Solution: Handle path starting with slash as an absolute path.
24950Files: src/vim9script.c
24951
24952Patch 8.2.4135
24953Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
24954Solution: Mark the unloaded script with "A". (closes #9552)
24955Files: runtime/doc/repeat.txt, src/scriptfile.c,
24956 src/testdir/test_vim9_import.vim
24957
24958Patch 8.2.4136
24959Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
24960Solution: Remove the argument. (closes #9555)
24961Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
24962 src/errors.h, src/testdir/test_vim9_import.vim
24963
24964Patch 8.2.4137
24965Problem: Vim9: calling import with and without method is inconsistent.
24966Solution: Set a flag that a parenthsis follows to compile_load_scriptvar().
24967 Add some more tests. Improve error message.
24968Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
24969 src/testdir/test_vim9_import.vim
24970
24971Patch 8.2.4138
24972Problem: Vim9: no error for return with argument when the function does not
24973 return anything.
24974Solution: Give an error for the invalid argument. (issue #9497)
24975Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
24976
24977Patch 8.2.4139
24978Problem: Using freed memory if an expression abbreviation deletes the
24979 abbreviation.
24980Solution: Do not access the pointer after evaluating the expression.
24981Files: src/map.c, src/testdir/test_mapping.vim
24982
24983Patch 8.2.4140
24984Problem: maparg() does not indicate the type of script where it was defined.
24985Solution: Add "scriptversion".
24986Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
24987
24988Patch 8.2.4141 (after 8.2.4140)
24989Problem: Vim9 builtin functions test fails.
24990Solution: Add "scriptversion" item to maparg() result.
24991Files: src/testdir/test_vim9_builtin.vim
24992
24993Patch 8.2.4142
24994Problem: Build failure with normal features without persistent undo.
24995Solution: Adjust #ifdef. (closes #9557)
24996Files: src/fileio.c
24997
24998Patch 8.2.4143
24999Problem: MS-Windows: IME support for Win9x is obsolete.
25000Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25001Files: src/gui_w32.c
25002
25003Patch 8.2.4144
25004Problem: Cannot load libsodium dynamically.
25005Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25006Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25007 src/crypt.c, src/memline.c, src/proto/crypt.pro
25008
25009Patch 8.2.4145
25010Problem: Confusing error when using name of import for a function.
25011Solution: Pass a flag to trans_function_name().
25012Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25013 src/testdir/test_vim9_import.vim
25014
25015Patch 8.2.4146
25016Problem: Vim9: shadowed function can be used in compiled function but not
25017 at script level.
25018Solution: Also give an error in a compiled function. (closes #9563)
25019Files: src/vim9expr.c
25020
25021Patch 8.2.4147
25022Problem: E464 does not always include the offending command.
25023Solution: Add another error message with "%s". (closes #9564)
25024Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25025 src/testdir/test_vim9_script.vim
25026
25027Patch 8.2.4148
25028Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25029 context.
25030Solution: Only reset last_used_map if it is the deleted mapping.
25031 (closes #9568)
25032Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25033 src/testdir/test_mapping.vim
25034
25035Patch 8.2.4149
25036Problem: Test override not restored, autocommand left behind.
25037Solution: Correct restoring test override. Delete autocommand afterwards.
25038Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25039
25040Patch 8.2.4150
25041Problem: Coverity warns for using pointer after free.
25042Solution: Swap statements, even though using the pointer is no problem.
25043Files: src/map.c
25044
25045Patch 8.2.4151
25046Problem: Reading beyond the end of a line.
25047Solution: For block insert only use the offset for correcting the length.
25048Files: src/ops.c, src/testdir/test_visual.vim
25049
25050Patch 8.2.4152
25051Problem: Block insert with double wide character fails.
25052Solution: Adjust the expected output.
25053Files: src/testdir/test_utf8.vim
25054
25055Patch 8.2.4153
25056Problem: MS-Windows: Global IME is no longer supported.
25057Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25058Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25059 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25060
25061Patch 8.2.4154
25062Problem: ml_get error when exchanging windows in Visual mode.
25063Solution: Correct end of Visual area when entering another buffer.
25064Files: src/window.c, src/testdir/test_visual.vim
25065
25066Patch 8.2.4155
25067Problem: Translating strftime() argument results in check error.
25068Solution: Add gettext comment.
25069Files: src/time.c
25070
25071Patch 8.2.4156
25072Problem: Fileinfo message overwrites echo'ed message.
25073Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25074 closes #9569)
25075Files: src/message.c, src/testdir/test_messages.vim,
25076 src/testdir/dumps/Test_fileinfo_after_echo.dump
25077
25078Patch 8.2.4157
25079Problem: Terminal test fails because Windows sets the title.
25080Solution: Add the "vterm_title" testing override and use it in the test.
25081 (Ozaki Kiichi, closes #9556)
25082Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25083 src/testing.c, src/testdir/test_terminal.vim
25084
25085Patch 8.2.4158
25086Problem: MS-Windows: memory leak in :browse.
25087Solution: Free stuff before returning. (Ken Takata, closes #9574)
25088Files: src/gui_w32.c
25089
25090Patch 8.2.4159
25091Problem: MS-Windows: _WndProc() is very long.
25092Solution: Move code to separate functions. (Ken Takata, closes #9573)
25093Files: src/gui_w32.c
25094
25095Patch 8.2.4160
25096Problem: Cannot change the register used for Select mode delete.
25097Solution: Make CTRL-R set the register to be used when deleting text for
25098 Select mode. (Shougo Matsushita, closes #9531)
25099Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25100 src/testdir/test_selectmode.vim
25101
25102Patch 8.2.4161
25103Problem: Vim9: warning for missing white space after imported variable.
25104Solution: Do not skip white space. (closes #9567)
25105Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25106
25107Patch 8.2.4162
25108Problem: Vim9: no error for redefining function with export.
25109Solution: Check for existing function with/without prefix. (closes #9577)
25110Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25111
25112Patch 8.2.4163
25113Problem: No error for omitting function name after autoload prefix.
25114Solution: Check for missing function name. (issue #9577)
25115Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25116
25117Patch 8.2.4164 (after 8.2.4162)
25118Problem: Error in legacy code for function shadowing variable.
25119Solution: Only give the error in Vim9 script.
25120Files: src/userfunc.c
25121
25122Patch 8.2.4165
25123Problem: The nv_g_cmd() function is too long.
25124Solution: Move code to separate functions. (Yegappan Lakshmanan,
25125 closes #9576)
25126Files: src/normal.c
25127
25128Patch 8.2.4166
25129Problem: Undo synced when switching buffer in another window.
25130Solution: Do not sync undo when not needed. (closes #9575)
25131Files: src/buffer.c, src/testdir/test_timers.vim
25132
25133Patch 8.2.4167
25134Problem: Vim9: error message for old style import.
25135Solution: Use another error message. Add a test.
25136Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25137
25138Patch 8.2.4168 (after 8.2.4163)
25139Problem: Disallowing empty function name breaks existing plugins.
25140Solution: Allow empty function name in legacy script.
25141Files: src/userfunc.c, src/testdir/test_autoload.vim,
25142 src/testdir/sautest/autoload/foo.vim
25143
25144Patch 8.2.4169
25145Problem: MS-Windows: unnessary casts and other minor things.
25146Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25147Files: src/gui_w32.c
25148
25149Patch 8.2.4170
25150Problem: MS-Windows: still using old message API calls.
25151Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25152Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25153
25154Patch 8.2.4171
25155Problem: Cannot invoke option function using autoload import.
25156Solution: Expand the import to an autoload function name. (closes #9578)
25157Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25158 src/option.c, src/testdir/test_vim9_import.vim
25159
25160Patch 8.2.4172
25161Problem: Filetype detection for BASIC is not optimal.
25162Solution: Improve BASIC filetype detection. (Doug Kearns)
25163Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25164 src/testdir/test_filetype.vim
25165
25166Patch 8.2.4173
25167Problem: Cannot use an import in 'foldexpr'.
25168Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25169 Fix that the script context was not set for all buffers.
25170Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25171 src/option.c, src/testdir/test_vim9_import.vim
25172
25173Patch 8.2.4174
25174Problem: Vim9: can use an autoload name in normal script.
25175Solution: Disallow using an autoload name.
25176Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25177
25178Patch 8.2.4175
25179Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25180Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25181Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25182
25183Patch 8.2.4176
25184Problem: Vim9: cannot use imported function with call().
25185Solution: Translate the function name. (closes #9590)
25186Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25187
25188Patch 8.2.4177
25189Problem: Vim9: autoload script not loaded after "vim9script noclear".
25190Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25191Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25192
25193Patch 8.2.4178
25194Problem: Vim9: invalid error for return type of lambda when debugging.
25195Solution: Do not check the return type of a lambda. (closes #9589)
25196Files: src/vim9cmds.c
25197
25198Patch 8.2.4179
25199Problem: 'foldtext' is evaluated in the current script context.
25200Solution: Use the script context where the option was set.
25201Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25202 src/findfile.c, src/testdir/test_vim9_import.vim
25203
25204Patch 8.2.4180
25205Problem: 'balloonexpr' is evaluated in the current script context.
25206Solution: Use the script context where the option was set.
25207Files: src/beval.c, src/option.c, src/proto/option.pro,
25208 src/testdir/test_balloon.vim,
25209 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25210 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25211 src/testdir/dumps/Test_balloon_eval_term_02.dump
25212
25213Patch 8.2.4181
25214Problem: Vim9: cannot use an import in 'diffexpr'.
25215Solution: Set the script context when evaluating 'diffexpr'. Do not require
25216 'diffexpr' to return a bool, it was ignored anyway.
25217Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25218
25219Patch 8.2.4182 (after 8.2.4182)
25220Problem: Memory leak when evaluating 'diffexpr'.
25221Solution: Use free_tv() instead of clear_tv().
25222Files: src/evalvars.c
25223
25224Patch 8.2.4183
25225Problem: Cannot use an import in 'formatexpr'.
25226Solution: Set the script context when evaluating 'formatexpr'.
25227Files: src/textformat.c, src/testdir/test_vim9_import.vim
25228
25229Patch 8.2.4184
25230Problem: Cannot use an import in 'includeexpr'.
25231Solution: Set the script context when evaluating 'includeexpr'
25232Files: src/findfile.c, src/testdir/test_vim9_import.vim
25233
25234Patch 8.2.4185
25235Problem: Cannot use an import in 'indentexpr'.
25236Solution: Set the script context when evaluating 'indentexpr'
25237Files: src/indent.c, src/testdir/test_vim9_import.vim
25238
25239Patch 8.2.4186
25240Problem: Cannot use an import in 'patchexpr'.
25241Solution: Set the script context when evaluating 'patchexpr'. Do not
25242 require 'patchexpr' to return a bool, it was ignored anyway.
25243Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25244
25245Patch 8.2.4187
25246Problem: Gnuplot file not recognized.
25247Solution: Recognize ".gnuplot". (closes #9588)
25248Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25249
25250Patch 8.2.4188
25251Problem: Not all gitconfig files are recognized.
25252Solution: Add a few more patterns. (Tim Pope, closes #9597)
25253Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25254
25255Patch 8.2.4189
25256Problem: MS-Windows: code for "old look" is obsolete.
25257Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25258 closes #9596)
25259Files: src/gui_w32.c
25260
25261Patch 8.2.4190
25262Problem: All conceal tests are skipped without the screendumps feature.
25263Solution: Only skip the tests that use screendumps. (closes #9599)
25264Files: src/testdir/test_conceal.vim
25265
25266Patch 8.2.4191
25267Problem: json5 files are not recognized.
25268Solution: Add a pattern for json5 files. (closes #9601)
25269Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25270
25271Patch 8.2.4192
25272Problem: Cannot use an import in 'printexpr'.
25273Solution: Set the script context when evaluating 'printexpr'.
25274Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25275
25276Patch 8.2.4193
25277Problem: Cannot use an import in 'charconvert'.
25278Solution: Set the script context when evaluating 'charconvert'. Also expand
25279 script-local functions in 'charconvert'.
25280Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25281
25282Patch 8.2.4194
25283Problem: MS-Windows: code for calculating font size is duplicated.
25284Solution: Move the code to a function. (Ken Takata, closes #9603)
25285Files: src/gui_w32.c
25286
25287Patch 8.2.4195
25288Problem: Resizing terminal may cause to behave like CTRL-Z.
25289Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25290 closes #9602, closes #9586)
25291Files: src/os_unix.c
25292
25293Patch 8.2.4196
25294Problem: Various file types not recognized.
25295Solution: Add patterns to recognize more file types (closes #9607)
25296Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25297
25298Patch 8.2.4197
25299Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25300Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25301Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25302
25303Patch 8.2.4198
25304Problem: Vim9: the switch for executing instructions is too long.
25305Solution: Move some code to separate functions.
25306Files: src/vim9execute.c
25307
25308Patch 8.2.4199
25309Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25310Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25311Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25312 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25313 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25314 src/proto/os_win32.pro, src/time.c, src/vim.h
25315
25316Patch 8.2.4200
25317Problem: Some tests do not clean up properly.
25318Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25319Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25320 src/testdir/test_vim9_import.vim
25321
25322Patch 8.2.4201
25323Problem: When using the GUI CTRL-Z does not stop gvim.
25324Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25325 closes #9570)
25326Files: src/os_unix.c
25327
25328Patch 8.2.4202
25329Problem: Vim9: cannot export function that exists globally.
25330Solution: When checking if a function already exists only check for
25331 script-local functions. (closes #9615)
25332Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
25333 src/vim9compile.c, src/vim9instr.c,
25334 src/testdir/test_vim9_import.vim
25335
25336Patch 8.2.4203
25337Problem: Entering a character with CTRL-V may include modifiers.
25338Solution: Reset "mod_mask" when entering a character with digits after
25339 CTRL-V. (closes #9610)
25340Files: src/edit.c, src/testdir/test_edit.vim
25341
25342Patch 8.2.4204
25343Problem: screenpos() has non-zero row for invisible text.
25344Solution: Only add the window row when the text is visible. (closes #9618)
25345Files: src/move.c, src/testdir/test_cursor_func.vim
25346
25347Patch 8.2.4205
25348Problem: The normal_cmd() function is too long.
25349Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25350 closes #9608)
25351Files: src/normal.c
25352
25353Patch 8.2.4206
25354Problem: Condition with many "(" causes a crash.
25355Solution: Limit recursion to 1000.
25356Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25357
25358Patch 8.2.4207 (after 8.2.4206)
25359Problem: Recursion test fails with MSVC.
25360Solution: Use a smaller limit for MSVC.
25361Files: src/eval.c
25362
25363Patch 8.2.4208
25364Problem: Using setbufvar() may change the window title.
25365Solution: Do not redraw when creating the autocommand window. (closes #9613)
25366Files: src/autocmd.c, src/testdir/test_functions.vim
25367
25368Patch 8.2.4209
25369Problem: partial in 'opfunc' cannot use an imported function.
25370Solution: Also expand the function name in a partial. (closes #9614)
25371Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25372
25373Patch 8.2.4210 (after 8.2.4208)
25374Problem: Window title test fails in some configurations.
25375Solution: Only run the test if the title can be obtained.
25376Files: src/testdir/test_functions.vim
25377
25378Patch 8.2.4211 (after 8.2.4208)
25379Problem: Window title test still fails in some configurations.
25380Solution: Use WaitForAssert().
25381Files: src/testdir/test_functions.vim
25382
25383Patch 8.2.4212 (after 8.2.4208)
25384Problem: Window title test still fails in some configurations.
25385Solution: Explicitly set the 'title' option.
25386Files: src/testdir/test_functions.vim
25387
25388Patch 8.2.4213
25389Problem: Too much code for supporting old MSVC versions.
25390Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25391Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25392 src/msvcsetup.bat, src/os_win32.c
25393
25394Patch 8.2.4214
25395Problem: Illegal memory access with large 'tabstop' in Ex mode.
25396Solution: Allocate enough memory.
25397Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25398
25399Patch 8.2.4215
25400Problem: Illegal memory access when copying lines in Visual mode.
25401Solution: Adjust the Visual position after copying lines.
25402Files: src/ex_cmds.c, src/testdir/test_visual.vim
25403
25404Patch 8.2.4216
25405Problem: Vim9: cannot use a function from an autoload import directly.
25406Solution: Add the AUTOLOAD instruction to figure out at runtime.
25407 (closes #9620)
25408Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25409 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25410 src/testdir/test_vim9_disassemble.vim
25411
25412Patch 8.2.4217
25413Problem: Illegal memory access when undo makes Visual area invalid.
25414Solution: Correct the Visual area after undo.
25415Files: src/undo.c, src/testdir/test_visual.vim
25416
25417Patch 8.2.4218
25418Problem: Illegal memory access with bracketed paste in Ex mode.
25419Solution: Reserve space for the trailing NUL.
25420Files: src/edit.c, src/testdir/test_paste.vim
25421
25422Patch 8.2.4219
25423Problem: Reading before the start of the line.
25424Solution: Check boundary before trying to read the character.
25425Files: src/register.c, src/testdir/test_visual.vim
25426
25427Patch 8.2.4220
25428Problem: MS-Windows: some old compiler support remains.
25429Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25430Files: src/Make_mvc.mak, src/vim.h
25431
25432Patch 8.2.4221
25433Problem: Some functions in normal.c are very long.
25434Solution: Move code to separate functions. (Yegappan Lakshmanan,
25435 closes #9628)
25436Files: src/normal.c
25437
25438Patch 8.2.4222
25439Problem: MS-Windows: clumsy way to suppress progress on CI.
25440Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25441Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25442
25443Patch 8.2.4223
25444Problem: Long/int compiler warnings; function arguments swapped.
25445Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25446Files: src/alloc.c, src/eval.c, src/vim9script.c
25447
25448Patch 8.2.4224
25449Problem: Vim9: no error when using a number for map() second argument
25450Solution: Disallow number to string conversion. (closes #9630)
25451Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25452
25453Patch 8.2.4225
25454Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25455Solution: Parse the optional depth argument. (closes #9629)
25456 Fix that locking doesn't work for a non-materialize list.
25457Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25458 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25459 src/testdir/test_vim9_disassemble.vim
25460
25461Patch 8.2.4226 (after 8.2.4224)
25462Problem: Filter-map test fails.
25463Solution: Only reject number argument in Vim9 script.
25464Files: src/eval.c
25465
25466Patch 8.2.4227
25467Problem: Vim9: using "lockvar!" in :def function does not work.
25468Solution: Add "!" instead of "-1". (closes #9634)
25469Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25470
25471Patch 8.2.4228
25472Problem: No tests for clicking in the GUI tabline.
25473Solution: Add test functions to generate the events. Add tests using the
25474 functions. (Yegappan Lakshmanan, closes #9638)
25475Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25476 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25477 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25478 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25479 src/testing.c
25480
25481Patch 8.2.4229
25482Problem: Possible crash when invoking timer callback fails.
25483Solution: Initialize the typval. Give an error for an empty callback.
25484 (closes #9636)
25485Files: src/time.c, src/testdir/test_vim9_builtin.vim
25486
25487Patch 8.2.4230
25488Problem: MS-Windows: set_guifontwide() is included but won't work.
25489Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25490Files: src/gui.c
25491
25492Patch 8.2.4231
25493Problem: Vim9: map() gives type error when type was not declared.
25494Solution: Only check the type when it was declared, like extend() does.
25495 (closes #9635)
25496Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25497 src/testdir/test_vim9_builtin.vim,
25498 src/testdir/test_vim9_assign.vim
25499
25500Patch 8.2.4232 (after 8.2.4231)
25501Problem: Some compilers don't like a goto label without statement.
25502Solution: Return instead of using a goto.
25503Files: src/list.c
25504
25505Patch 8.2.4233
25506Problem: Crash when recording and using Select mode.
25507Solution: When deleting the last recorded character check there is something
25508 to delete.
25509Files: src/getchar.c, src/testdir/test_registers.vim
25510
25511Patch 8.2.4234
25512Problem: test_garbagecollect_now() does not check v:testing as documented.
25513Solution: Give an error if v:testing is not set.
25514Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25515
25516Patch 8.2.4235
25517Problem: Invalid check for NULL pointer.
25518Solution: Remove the check.
25519Files: src/getchar.c
25520
25521Patch 8.2.4236
25522Problem: Accessing freed memory.
25523Solution: Set the bh_curr pointer to NULL.
25524Files: src/getchar.c
25525
25526Patch 8.2.4237
25527Problem: Record buffer wrong if character in Select mode was not typed.
25528Solution: Only delete the tail from the record buffer if the character was
25529 typed. (closes #9650)
25530Files: src/normal.c, src/testdir/test_registers.vim
25531
25532Patch 8.2.4238
25533Problem: *.tf file could be fileytpe "tf" or "terraform".
25534Solution: Detect the type from the file contents. (closes #9642)
25535Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25536 src/testdir/test_filetype.vim
25537
25538Patch 8.2.4239
25539Problem: Build fails with unusual configuration.
25540Solution: Adjust #ifdef. (closes #9651)
25541Files: src/testing.c
25542
25543Patch 8.2.4240
25544Problem: Error for using flatten() in Vim9 script is unclear.
25545Solution: Add a remark to use flattennew().
25546Files: src/errors.h
25547
25548Patch 8.2.4241
25549Problem: Some type casts are redundant.
25550Solution: Remove the type casts. (closes #9643)
25551Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25552 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25553 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25554 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25555 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25556 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25557 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25558 src/undo.c, src/window.c
25559
25560Patch 8.2.4242
25561Problem: Put in Visual mode cannot be repeated.
25562Solution: Use "P" to put without yanking the deleted text into the unnamed
25563 register. (Shougo Matsushita, closes #9591)
25564Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25565 src/testdir/test_visual.vim
25566
25567Patch 8.2.4243
25568Problem: Lua tests fail with Lua 5.4.4.
25569Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
25570Files: src/testdir/test_lua.vim
25571
25572Patch 8.2.4244
25573Problem: MS-Windows: warning from MSVC on debug build.
25574Solution: Adjust "/opt"o options. Remove unused variables. Make variables
25575 uppercase for consistency. (Ken Takata, closes #9647)
25576Files: src/Make_mvc.mak
25577
25578Patch 8.2.4245
25579Problem: ":retab 0" may cause illegal memory access.
25580Solution: Limit the value of 'tabstop' to 10000.
25581Files: src/option.c, src/vim.h, src/indent.c,
25582 src/testdir/test_options.vim
25583
25584Patch 8.2.4246
25585Problem: One error message not in errors.h. (Antonio Colombo)
25586Solution: Move the message and rename.
25587Files: src/errors.h, src/if_perl.xs
25588
25589Patch 8.2.4247
25590Problem: Stack corruption when looking for spell suggestions.
25591Solution: Prevent the depth increased too much. Add a five second time
25592 limit to finding suggestions.
25593Files: src/spellsuggest.c, src/testdir/test_spell.vim
25594
25595Patch 8.2.4248
25596Problem: No proper test for moving the window separator.
25597Solution: Add a test. Add comment in code. (closes #9656)
25598Files: src/window.c, src/testdir/test_window_cmd.vim
25599
25600Patch 8.2.4249
25601Problem: The timeout limit for spell suggestions is always 5000 milli
25602 seconds.
25603Solution: Add the "timeout" entry to 'spellsuggest'.
25604Files: runtime/doc/options.txt, src/spellsuggest.c,
25605 src/testdir/test_spell.vim
25606
25607Patch 8.2.4250
25608Problem: Channel out callback test is flaky on Mac.
25609Solution: Assign high priority to the test process. (Ozaki Kiichi,
25610 closes #9653)
25611Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
25612
25613Patch 8.2.4251
25614Problem: Vala files are not recognized.
25615Solution: Add the *.vala pattern. (closes #9654)
25616Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25617
25618Patch 8.2.4252
25619Problem: Generating the normal command table at runtime is inefficient.
25620Solution: Generate the table with a Vim script and put it in a header file.
25621 (Yegappan Lakshmanan, closes #9648)
25622Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
25623 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
25624 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
25625 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
25626
25627Patch 8.2.4253
25628Problem: Using freed memory when substitute uses a recursive function call.
25629Solution: Make a copy of the substitute text.
25630Files: src/ex_cmds.c, src/testdir/test_substitute.vim
25631
25632Patch 8.2.4254
25633Problem: Using short instead of int.
25634Solution: Use int. (closes #9658)
25635Files: src/if_cscope.c
25636
25637Patch 8.2.4255
25638Problem: Theoretical computation overflow.
25639Solution: Perform multiplication in a wider type. (closes #9657)
25640Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
25641 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
25642 src/memline.c, src/popupwin.c
25643
25644Patch 8.2.4256
25645Problem: MS-Windows: compiler warnings when compiled with /W4.
25646Solution: Small adjustments to the code. (Ken Takata, closes #9659)
25647Files: src/gui_w32.c, src/os_win32.c
25648
25649Patch 8.2.4257
25650Problem: Vim9: finding global function without g: prefix but not finding
25651 global variable is inconsistent.
25652Solution: Require using g: for a global function. Change the vim9.vim
25653 script into a Vim9 script with exports. Fix that import in legacy
25654 script does not work.
25655Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
25656 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
25657 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25658 src/testdir/test_vim9_disassemble.vim,
25659 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25660 src/testdir/test_vim9_import.vim,
25661 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
25662 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
25663 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
25664 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
25665 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
25666 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
25667 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
25668 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
25669 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
25670 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
25671 src/testdir/test_usercommands.vim
25672
25673Patch 8.2.4258
25674Problem: Coverity warns for array overrun.
25675Solution: Restrict depth to MAXWLEN - 1.
25676Files: src/spellsuggest.c
25677
25678Patch 8.2.4259
25679Problem: Number of test functions for GUI events is growing.
25680Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
25681 closes #9660)
25682Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25683 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
25684 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
25685 src/testing.c
25686
25687Patch 8.2.4260
25688Problem: Vim9: can still use a global function without g: at the script
25689 level.
25690Solution: Also check for g: at the script level. (issue #9637)
25691Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
25692 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
25693 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25694 src/testdir/test_vim9_disassemble.vim,
25695 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25696 src/testdir/test_vim9_import.vim,
25697 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
25698 src/testdir/dumps/Test_popupwin_scroll_11.dump,
25699 src/testdir/dumps/Test_popupwin_scroll_12.dump
25700
25701Patch 8.2.4261
25702Problem: Accessing invalid memory when a regular expression checks the
25703 Visual area while matching in a string.
25704Solution: Do not try matching the Visual area in a string.
25705Files: src/regexp.c, src/testdir/test_help.vim
25706
25707Patch 8.2.4262 (after 8.2.4261)
25708Problem: Some search tests fail.
25709Solution: Use a better way to reject searching for the Visual area.
25710Files: src/regexp.c
25711
25712Patch 8.2.4263
25713Problem: No test for the GUI find/replace dialog.
25714Solution: Add a test function and a test. (Yegappan Lakshmanan,
25715 closes #9662)
25716Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
25717
25718Patch 8.2.4264
25719Problem: Vim9: can use old style autoload function name.
25720Solution: Give an error for old style autoload function name.
25721Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
25722 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
25723
25724Patch 8.2.4265 (after 8.2.4264)
25725Problem: Autoload tests fails.
25726Solution: Use export instead of name with #.
25727Files: src/testdir/sautest/autoload/auto9.vim,
25728 src/testdir/test_autoload.vim src/testdir/test_ins_complete.vim
25729
25730Patch 8.2.4266
25731Problem: Compiler warning for uninitialized variable.
25732Solution: Initialize saved_did_emsg.
25733Files: src/userfunc.c
25734
25735Patch 8.2.4267
25736Problem: Unused entry in keymap enum.
25737Solution: Remove the entry.
25738Files: src/keymap.h
25739
25740Patch 8.2.4268
25741Problem: CI log output is long.
25742Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
25743Files: .github/workflows/ci.yml
25744
25745Patch 8.2.4269
25746Problem: Coverity warns for using a NULL pointer.
25747Solution: Check for "name" to not be NULL.
25748Files: src/userfunc.c
25749
25750Patch 8.2.4270
25751Problem: Generating nv_cmdidxs.h requires building Vim twice.
25752Solution: Move the table into a separate file and use a separate executable
25753 to extract the command characters. (Ozaki Kiichi, closes #9669)
25754Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
25755 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25756 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
25757 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
25758
25759Patch 8.2.4271
25760Problem: MS-Windows: cannot build with Ruby 3.1.0.
25761Solution: Adjust the DLL name and include directory. (Ken Takata,
25762 closes #9666)
25763Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
25764
25765Patch 8.2.4272
25766Problem: Vim9 expr test fails without the channel feature. (Dominique
25767 Pellé)
25768Solution: Remove "g:" before "CheckFeature". (closes #9671)
25769Files: src/testdir/test_vim9_expr.vim
25770
25771Patch 8.2.4273
25772Problem: The EBCDIC support is outdated.
25773Solution: Remove the EBCDIC support.
25774Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
25775 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
25776 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
25777 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
25778 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
25779 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
25780 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
25781 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
25782 src/spell.c, src/strings.c, src/structs.h, src/term.c,
25783 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
25784 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
25785 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
25786
25787Patch 8.2.4274
25788Problem: Basic and form filetype detection is incomplete.
25789Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
25790Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25791 src/testdir/test_filetype.vim
25792
25793Patch 8.2.4275
25794Problem: Cannot use an autoload function from a package under start.
25795Solution: Also look in the "start" package directory. (Bjorn Linse,
25796 closes #7193)
25797Files: src/scriptfile.c, src/testdir/test_packadd.vim
25798
25799Patch 8.2.4276
25800Problem: Separate test function for the GUI scrollbar.
25801Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
25802Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25803 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
25804 src/proto/testing.pro, src/testdir/test_gui.vim,
25805 src/testdir/test_vim9_builtin.vim
25806
25807Patch 8.2.4277
25808Problem: Vim9: an import does not shadow a command modifier.
25809Solution: Do not accept a command modifier followed by a dot.
25810Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
25811
25812Patch 8.2.4278
25813Problem: Build with Athena GUI fails. (Elimar Riesebieter)
25814Solution: Add #ifdef.
25815Files: src/testing.c
25816
25817Patch 8.2.4279
25818Problem: Vim9: cannot change item type with map() after range().
25819Solution: Split the return type in current type and declared type.
25820 (closes #9665)
25821Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
25822 src/vim9type.c, src/proto/vim9type.pro,
25823 src/testdir/test_vim9_builtin.vim
25824
25825Patch 8.2.4280 (after 8.2.4279)
25826Problem: list-dict test crashes.
25827Solution: Check declared type for add().
25828Files: src/vim9expr.vim
25829
25830Patch 8.2.4281
25831Problem: Using freed memory with :lopen and :bwipe.
25832Solution: Do not use a wiped out buffer.
25833Files: src/buffer.c, src/testdir/test_quickfix.vim
25834
25835Patch 8.2.4282
25836Problem: Restricted mode requires the -Z command line option.
25837Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
25838 (closes #9681)
25839Files: runtime/doc/starting.txt, src/option.c,
25840 src/testdir/test_restricted.vim
25841
25842Patch 8.2.4283
25843Problem: Using a variable for the return value is not needed.
25844Solution: Return the value directly. (closes #9687)
25845Files: src/ex_docmd.c, src/misc2.c
25846
25847Patch 8.2.4284
25848Problem: Old mac resources files are no longer used.
25849Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
25850Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
25851 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
25852 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
25853
25854Patch 8.2.4285
25855Problem: Vim9: type of item in for loop not checked properly.
25856Solution: Adjust the type checking. (closes #9683)
25857Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
25858 src/testdir/test_vim9_script.vim
25859
25860Patch 8.2.4286
25861Problem: Vim9: strict type checking after copy() and deepcopy().
25862Solution: Allow type to change after making a copy. (closes #9644)
25863Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
25864 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
25865 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
25866 src/testdir/test_vim9_builtin.vim,
25867 src/testdir/test_vim9_assign.vim
25868
25869Patch 8.2.4287
25870Problem: Cannot assign empty list with any list type to variable with
25871 specific list type.
25872Solution: Use unknown list type for empty list if the specified type is any.
25873Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
25874 src/testdir/test_vim9_func.vim
25875
25876Patch 8.2.4288
25877Problem: Preprocessor indents are inconsistent.
25878Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
25879Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
25880 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
25881
25882Patch 8.2.4289
25883Problem: Warnings reported by MSVC.
25884Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
25885Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
25886 src/menu.c, src/os_win32.c, src/version.c
25887
25888Patch 8.2.4290
25889Problem: MS-Windows: using type casts for timer IDs.
25890Solution: Remove type casts and use the right type. (Ken Takata,
25891 closes #9690) Remove old debug comments. Rename variables and
25892 functions.
25893Files: src/gui_w32.c
25894
25895Patch 8.2.4291
25896Problem: Error number used twice.
25897Solution: Renumber of of the errors.
25898Files: src/errors.h
25899
25900Patch 8.2.4292 (after 8.2.4291)
25901Problem: Test fails.
25902Solution: Adjust the expected error number.
25903Files: src/testdir/test_vim9_cmd.vim
25904
25905Patch 8.2.4293
25906Problem: Vim9: when copying a list it gets type list<any> even when the
25907 original list did not have a type.
25908Solution: Only set the type when the original list has a type. (closes #9692)
25909Files: src/list.c, src/testdir/test_vim9_expr.vim
25910
25911Patch 8.2.4294
25912Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
25913Solution: Simplify the conditions. (Ken Takata, closes #9693)
25914Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
25915 src/os_win32.h
25916
25917Patch 8.2.4295
25918Problem: Vim9: concatenating two lists may result in wrong type.
25919Solution: Remove the type instead of using list<any>. (closes #9692)
25920Files: src/list.c, src/testdir/test_vim9_expr.vim
25921
25922Patch 8.2.4296
25923Problem: Vim9: not all code covered by tests.
25924Solution: Add a few more tests for corner cases. Fix hang when single quote
25925 is missing.
25926Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
25927 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
25928
25929Patch 8.2.4297
25930Problem: Vim9: not all code covered by tests.
25931Solution: Add a couple more tests.
25932Files: src/testdir/test_vim9_script.vim,
25933 src/testdir/test_vim9_disassemble.vim
25934
25935Patch 8.2.4298
25936Problem: Divide by zero with huge tabstop value.
25937Solution: Reject tabstop value that overflows to zero.
25938Files: src/indent.c, src/testdir/test_vartabs.vim
25939
25940Patch 8.2.4299
25941Problem: SafeState autocommand interferes with debugging.
25942Solution: Do not trigger SafeState while debugging. (closes #9697)
25943Files: src/main.c
25944
25945Patch 8.2.4300 (after 8.2.4299)
25946Problem: Cannot build tiny version. (Tony Mechelynck)
25947Solution: Add #ifdef.
25948Files: src/main.c
25949
25950Patch 8.2.4301
25951Problem: Vim9: type error for copy of dict.
25952Solution: Do not use dict<any> but no type. (closes #9696)
25953Files: src/dict.c, src/testdir/test_vim9_builtin.vim
25954
25955Patch 8.2.4302
25956Problem: Vim9: return type of getline() is too strict.
25957Solution: Make the declared type list<any>. Also do this for other
25958 functions returning a list of a specific type.
25959Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25960
25961Patch 8.2.4303
25962Problem: A few messages should not be translated.
25963Solution: Remove _(). (Dominique Pellé, closes #9702)
25964Files: src/syntax.c
25965
25966Patch 8.2.4304
25967Problem: Vim9: slice() makes a copy but doesn't change the type.
25968Solution: Change the declared type like copy(). (closes #9696)
25969Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25970
25971Patch 8.2.4305
25972Problem: Tex filetype detection fails.
25973Solution: Check value to be positive. (closes #9704)
25974Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
25975
25976Patch 8.2.4306
25977Problem: No test for fixed perl filetype check.
25978Solution: Add a test. Sort test functions.
25979Files: src/testdir/test_filetype.vim
25980
25981Patch 8.2.4307
25982Problem: A few more messages should not be translated.
25983Solution: Remove _().
25984Files: src/syntax.c
25985
25986Patch 8.2.4308
25987Problem: Vim9: cannot list autoload function.
25988Solution: Don't give an error for using # when listing a function.
25989 (closes #9703)
25990Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25991
25992Patch 8.2.4309
25993Problem: Vim9: crash when using a partial in the wrong context.
25994Solution: Don't use an NULL outer pointer. (closes #9706)
25995Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
25996
25997Patch 8.2.4310
25998Problem: Vim9: constant list and dict get a declaration type other than
25999 "any".
26000Solution: A constant list and dict have a declared member type "any".
26001 (closes #9701)
26002Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26003 src/testdir/test_vim9_builtin.vim
26004
26005Patch 8.2.4311
26006Problem: Vim9: changing script variable type not caught at compile time.
26007Solution: Set the declared type.
26008Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26009
26010Patch 8.2.4312
26011Problem: No error for using :vim9script in a :def function.
26012Solution: Give an error when compiling.
26013Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26014
26015Patch 8.2.4313
26016Problem: Vim9: cannot change type of list after making a slice.
26017Solution: Adjust the declared member type. (closes #9696)
26018Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26019
26020Patch 8.2.4314 (after 8.2.4312)
26021Problem: Test fails where lines are skipped.
26022Solution: Only give an error when not skipping commands.
26023Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26024
26025Patch 8.2.4315
26026Problem: Put in Visual mode not fully tested.
26027Solution: Add a few more test cases. (closes #9708)
26028Files: src/testdir/test_visual.vim
26029
26030Patch 8.2.4316
26031Problem: __CYGWIN32__ is not defined on 64 bit systems.
26032Solution: Update #ifdefs. (Ken Takata, closes #9709)
26033Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26034
26035Patch 8.2.4317
26036Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26037Solution: Hook into the exit() function to recover from the failure.
26038 (Ken Takata, closes #9710)
26039Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26040 src/errors.h, src/proto/os_win32.pro
26041
26042Patch 8.2.4318
26043Problem: Various comment and indent mistakes, returning wrong zero.
26044Solution: Fix the mistakes. Return NULL instead of FAIL.
26045Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26046 src/window.c
26047
26048Patch 8.2.4319
26049Problem: :put does not work properly in compiled function. (John Beckett)
26050Solution: Adjust the direction when using line zero.
26051Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26052
26053Patch 8.2.4320
26054Problem: Athena and Motif: when maximized scrollbar position is wrong.
26055Solution: Implement the scrollbar padding functions. (closes #9712)
26056Files: src/gui_athena.c, src/gui_motif.c
26057
26058Patch 8.2.4321
26059Problem: Vim9: crash when using a funcref to a closure.
26060Solution: Copy pt_outer to the new partial. (closes #9714)
26061Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26062
26063Patch 8.2.4322
26064Problem: Vim9: crash when using funcref with closure.
26065Solution: Keep a reference to the funcref that has the outer context.
26066 (closes #9716)
26067Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26068 src/testdir/test_vim9_func.vim
26069
26070Patch 8.2.4323
26071Problem: Vim9: nested function name can start with "_".
26072Solution: Use same rule for function name for nested functions.
26073 (closes #9713)
26074Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26075
26076Patch 8.2.4324
26077Problem: Vim9: script-local function name can start with "_".
26078Solution: Check for leading capital after "s:". Correct error message.
26079Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26080 src/testdir/test_vim9_func.vim
26081
26082Patch 8.2.4325
26083Problem: 'wildmenu' only shows few matches.
26084Solution: Add the "pum" option: use a popup menu to show the matches.
26085 (Yegappan Lakshmanan et al., closes #9707)
26086Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26087 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26088 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26089 src/testdir/test_cmdline.vim,
26090 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26091 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26092 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26093 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26094 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26095 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26096 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26097 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26098 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26099 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26100 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26101 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26102 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26103 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26104 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26105 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26106 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26107 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26108 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26109 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26110 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26111 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26112 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26113 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26114 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26115 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26116 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26117 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26118 src/testdir/dumps/Test_wildmenu_pum_29.dump
26119
26120Patch 8.2.4326
26121Problem: "o" and "O" copying comment not sufficiently tested.
26122Solution: Add a test case. (closes #9718)
26123Files: src/testdir/test_textformat.vim
26124
26125Patch 8.2.4327
26126Problem: May end up with no current buffer.
26127Solution: When deleting the current buffer to not pick a quickfix buffer as
26128 the new current buffer.
26129Files: src/buffer.c, src/testdir/test_quickfix.vim
26130
26131Patch 8.2.4328
26132Problem: Command line complete matches cleard when typing character.
26133 (Dominique Pellé)
26134Solution: Only remove a popup menu if there is one.
26135Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26136 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26137 src/testdir/dumps/Test_wildmenu_pum_31.dump
26138
26139Patch 8.2.4329
26140Problem: No support for end line number and column in 'errorformat'.
26141Solution: Add %e and %k. (closes #9624)
26142Files: runtime/doc/quickfix.txt, src/quickfix.c,
26143 src/testdir/test_quickfix.vim
26144
26145Patch 8.2.4330
26146Problem: Vim9: no error if script imports itself.
26147Solution: Give an error when a script imports itself.
26148Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26149
26150Patch 8.2.4331
26151Problem: Vim9: no test for existing script variable in block.
26152Solution: Add a test.
26153Files: src/testdir/test_vim9_func.vim
26154
26155Patch 8.2.4332
26156Problem: Vim9: incomplete test for existing script variable in block.
26157Solution: Add a couple more tests. Fix uncovered problem.
26158Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26159 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26160
26161Patch 8.2.4333
26162Problem: cstack not always passed to where it is needed.
26163Solution: Pass ctack through functions.
26164Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26165 src/proto/vim9script.pro, src/vim9compile.c,
26166 src/proto/vim9compile.pro
26167
26168Patch 8.2.4334
26169Problem: Command line popup menu not positioned correctly.
26170Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26171 closes #9727)
26172Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26173 src/testdir/dumps/Test_wildmenu_pum_32.dump
26174
26175Patch 8.2.4335
26176Problem: No autocommand event triggered before changing directory. (Ronnie
26177 Magatti)
26178Solution: Add DirChangedPre. (closes #9721)
26179Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26180 src/vim.h, src/autocmd.c, src/misc2.c,
26181 src/testdir/test_autocmd.vim
26182
26183Patch 8.2.4336
26184Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26185Solution: Call message_filtered(). (closes #9720)
26186Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26187
26188Patch 8.2.4337
26189Problem: Part of condition is always true.
26190Solution: Remove that part of the condition. (closes #9729)
26191Files: src/filepath.c
26192
26193Patch 8.2.4338
26194Problem: An error from an expression mapping messes up the display.
26195Solution: When the expression results in an empty string return K_IGNORE.
26196 In cmdline mode redraw the command line. (closes #9726)
26197Files: src/getchar.c, src/testdir/test_mapping.vim,
26198 src/testdir/dumps/Test_map_expr_2.dump,
26199 src/testdir/dumps/Test_map_expr_3.dump,
26200 src/testdir/dumps/Test_map_expr_4.dump
26201
26202Patch 8.2.4339
26203Problem: CTRL-A does not work properly with the cmdline popup menu.
26204Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26205 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26206 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26207Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26208 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26209 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26210 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26211 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26212 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26213 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26214 src/testdir/test_textprop.vim,
26215 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26216 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26217 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26218 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26219 src/testdir/dumps/Test_wildmenu_pum_37.dump
26220
26221Patch 8.2.4340
26222Problem: Amiga: mch_can_exe() is not implemented.
26223Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26224Files: src/os_amiga.c
26225
26226Patch 8.2.4341
26227Problem: Command line not redrawn when finishing popup menu and the screen
26228 has scrolled up.
26229Solution: Redraw the command line after updating the screen. (closes #9722)
26230Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26231 src/testdir/dumps/Test_wildmenu_pum_38.dump
26232
26233Patch 8.2.4342
26234Problem: CI will soon switch to other windows version.
26235Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26236 closes #9740)
26237Files: .github/workflows/ci.yml
26238
26239Patch 8.2.4343
26240Problem: When reloading not all properties are detected.
26241Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26242Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26243 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26244 src/testdir/test_filechanged.vim
26245
26246Patch 8.2.4344
26247Problem: Amiga: header file included twice.
26248Solution: Remove #include. (Ola Söder, closes #9733)
26249Files: src/memfile.c
26250
26251Patch 8.2.4345
26252Problem: <amatch> is expanded like a file name for DirChangedPre.
26253Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26254Files: src/autocmd.c, src/testdir/test_autocmd.vim
26255
26256Patch 8.2.4346
26257Problem: A custom statusline may cause Esc to work like Enter on the
26258 command line when the popup menu is displayed.
26259Solution: Save and restore KeyTyped. (closes #9749)
26260Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26261 src/testdir/dumps/Test_wildmenu_pum_39.dump
26262
26263Patch 8.2.4347
26264Problem: In some build setups UNUSED is not defined.
26265Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26266 closes #9734)
26267Files: src/vim.h
26268
26269Patch 8.2.4348
26270Problem: "legacy exe cmd" does not do what one would expect.
26271Solution: Apply the "legacy" and "vim9script" command modifiers to the
26272 argument of ":execute".
26273Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26274 src/testdir/test_vim9_cmd.vim
26275
26276Patch 8.2.4349
26277Problem: FileChangedShell test fails on MS-Windows.
26278Solution: Skip the test on MS-Windows.
26279Files: src/testdir/test_filechanged.vim
26280
26281Patch 8.2.4350
26282Problem: FEAT_GUI_ENABLED defined but never used.
26283Solution: Remove the #define. (Ola Söder, closes #9732)
26284Files: src/vim.h
26285
26286Patch 8.2.4351
26287Problem: No coverage is measured on MS-Windows CI.
26288Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26289Files: .github/workflows/ci.yml
26290
26291Patch 8.2.4352
26292Problem: ReScript files are not recognized.
26293Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26294Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26295
26296Patch 8.2.4353
26297Problem: CI does not use the latest Lua and Python.
26298Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26299Files: .github/workflows/ci.yml
26300
26301Patch 8.2.4354
26302Problem: Dynamic loading of libsodium not handled properly.
26303Solution: Fix has() and :version. Show an error message when loading fails.
26304 Fix memory leaks. (Ken Takata, closes #9754)
26305Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26306 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26307 src/version.c
26308
26309Patch 8.2.4355
26310Problem: Unnecessary call to check_colorcolumn().
26311Solution: Remove the call. (Sean Dewar, closes #9748)
26312Files: src/option.c, src/window.c
26313
26314Patch 8.2.4356
26315Problem: Command line completion functions are very long.
26316Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26317 closes #9753)
26318Files: src/cmdexpand.c
26319
26320Patch 8.2.4357 (after 8.2.4348)
26321Problem: sticky command modifiers are too sticky.
26322Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26323Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26324
26325Patch 8.2.4358
26326Problem: Vim9: line number of exception is not set.
26327Solution: Set the line number before throwing an exception. (closes #9755)
26328Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26329
26330Patch 8.2.4359
26331Problem: crash when repeatedly using :retab.
26332Solution: Bail out when the line is getting too long.
26333Files: src/indent.c, src/testdir/test_retab.vim
26334
26335Patch 8.2.4360
26336Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26337Solution: Disallow using "s:" in Vim9 script at the script level.
26338Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26339 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26340 src/testdir/test_vim9_assign.vim,
26341 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26342 src/testdir/test_vim9_disassemble.vim,
26343 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26344 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26345
26346Patch 8.2.4361 (after 8.2.4360)
26347Problem: Vim9: some tests fail.
26348Solution: Fix the tests, mostly by removing "s:".
26349Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26350 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26351 src/testdir/test_tagfunc.vim
26352
26353Patch 8.2.4362
26354Problem: :retab may allocate too much memory.
26355Solution: Bail out when allocating more than MAXCOL bytes.
26356Files: src/indent.c
26357
26358Patch 8.2.4363
26359Problem: MS-Windows: running out of memory for a very long line.
26360Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26361Files: src/vim.h
26362
26363Patch 8.2.4364
26364Problem: MS-Windows: still running out of memory for a very long line.
26365Solution: Check for negative length.
26366Files: src/indent.c
26367
26368Patch 8.2.4365 (after 8.2.4348)
26369Problem: sticky command modifiers are too sticky.
26370Solution: Do not apply command modifiers to a called function. (closes #9751)
26371Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26372
26373Patch 8.2.4366
26374Problem: Not enough tests for command line completion.
26375Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26376Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26377 src/testdir/test_usercommands.vim
26378
26379Patch 8.2.4367
26380Problem: Calling in_vim9script() multiple times.
26381Solution: Call it once and keep the result.
26382Files: src/userfunc.c, src/eval.c
26383
26384Patch 8.2.4368
26385Problem: Amiga: a few compiler warnings.
26386Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26387 closes #9757)
26388Files: src/term.c, src/os_amiga.c
26389
26390Patch 8.2.4369
26391Problem: Redundant #ifdef argument.
26392Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26393Files: src/feature.h
26394
26395Patch 8.2.4370
26396Problem: MS-Windows: libsodium.dll not included with the installer.
26397Solution: Add the file to the installer if it exists. (Christian Brabandt,
26398 closes #9762)
26399Files: nsis/gvim.nsi
26400
26401Patch 8.2.4371
26402Problem: Vim9: can create a script variable from a legacy function.
26403Solution: Disallow creating a script variable from a function.
26404Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26405
26406Patch 8.2.4372
26407Problem: Filetype detection from file contents is in legacy script.
26408Solution: Use a compiled function for filetype detection.
26409Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26410
26411Patch 8.2.4373
26412Problem: Expression test fails.
26413Solution: Make the test work with latest Vim9 syntax.
26414Files: src/testdir/test_expr.vim
26415
26416Patch 8.2.4374
26417Problem: Unreachable code.
26418Solution: Remove outdated code lines.
26419Files: src/vim9compile.c
26420
26421Patch 8.2.4375
26422Problem: ctx_imports is not used.
26423Solution: Delete ctx_imports. Add missing dependency.
26424Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26425 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26426 src/vim9expr.c, src/vim9script.c, src/Makefile
26427
26428Patch 8.2.4376
26429Problem: Not enough tests for command line completion.
26430Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26431Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26432
26433Patch 8.2.4377
26434Problem: CI steps for Windows are a bit unorganized.
26435Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26436Files: .github/workflows/ci.yml
26437
26438Patch 8.2.4378
26439Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26440 function. (Mirko Palmer)
26441Solution: Save and restore the incsearch state. (Christian Brabandt,
26442 closes #9763, closes #9633)
26443Files: src/search.c, src/testdir/test_search_stat.vim,
26444 src/testdir/dumps/Test_searchstat_inc_1.dump,
26445 src/testdir/dumps/Test_searchstat_inc_2.dump,
26446 src/testdir/dumps/Test_searchstat_inc_3.dump
26447
26448Patch 8.2.4379
26449Problem: An empty change is reported to a listener.
26450Solution: Do not report an empty change. (closes #9768) Remove unused
26451 return value.
26452Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26453
26454Patch 8.2.4380
26455Problem: Small differences between Chinese translation files.
26456Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26457Files: src/po/Makefile, src/po/Make_all.mak
26458
26459Patch 8.2.4381 (after 8.2.4380)
26460Problem: Translation file listed twice.
26461Solution: Remove one entry.
26462Files: src/po/Make_all.mak
26463
26464Patch 8.2.4382 (after 8.2.4346)
26465Problem: A custom 'tabline' may cause Esc to work like Enter on the
26466 command line when the popup menu is displayed.
26467Solution: Save and restore KeyTyped. (closes #9776)
26468Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26469 src/testdir/dumps/Test_wildmenu_pum_40.dump
26470
26471Patch 8.2.4383
26472Problem: Vim9: unused code lines.
26473Solution: Rely on either "cctx" or "cstack" to not be NULL.
26474Files: src/vim9compile.c
26475
26476Patch 8.2.4384
26477Problem: Vim9: error message not tested, some code not tested.
26478Solution: Add a couple of test cases. Give an error for a command modifier
26479 without a command.
26480Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26481 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26482
26483Patch 8.2.4385 (after 8.2.4384)
26484Problem: Cannot build tiny version.
26485Solution: Adjust #ifdefs.
26486Files: src/errors.h
26487
26488Patch 8.2.4386 (after 8.2.4384)
26489Problem: Still cannot build tiny version.
26490Solution: Adjust #ifdefs.
26491Files: src/ex_docmd.c
26492
26493Patch 8.2.4387
26494Problem: Command line completion doesn't always work properly.
26495Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26496 Lakshmanan, closes #9779)
26497Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26498
26499Patch 8.2.4388
26500Problem: Dead code in op_insert().
26501Solution: Remove condition and else block. (closes #9782)
26502Files: src/ops.c
26503
26504Patch 8.2.4389
26505Problem: screenpos() does not handle a position in a closed fold.
26506Solution: Check if the position is inside a closed fold. (closes #9778)
26507Files: src/move.c, src/testdir/test_cursor_func.vim
26508
26509Patch 8.2.4390
26510Problem: Vim9: list from declaration with inferred type does not set the
26511 type on the value.
26512Solution: When inferring the type in a variable declaration also set the
26513 type of the list or dictionary. (closes #9705) Do not set the
26514 type when the member is "any".
26515Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26516 src/testdir/test_vim9_builtin.vim,
26517 src/testdir/test_vim9_disassemble.vim
26518
26519Patch 8.2.4391
26520Problem: Command line executed when typing Esc in the GUI.
26521Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26522 (closes #9783)
26523Files: src/buffer.c, src/screen.c
26524
26525Patch 8.2.4392 (after 8.2.4002)
26526Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26527Solution: Put back #ifdef. (Ken Takata, closes #9769)
26528Files: src/getchar.c
26529
26530Patch 8.2.4393
26531Problem: Possible number overflow with nested folds.
26532Solution: Avoid a negative line number.
26533Files: src/fold.c
26534
26535Patch 8.2.4394 (after 8.2.4392)
26536Problem: UTF8 select mode test fails on MS-Windows.
26537Solution: Revert the #ifdef change.
26538Files: src/getchar.c
26539
26540Patch 8.2.4395
26541Problem: Some code lines not covered by tests.
26542Solution: Add a few more test cases. Fix getting more than one error for
26543 invalid assignment.
26544Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26545 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26546 src/testdir/test_vim9_func.vim
26547
26548Patch 8.2.4396 (after 8.2.4395)
26549Problem: Python3 test fails.
26550Solution: Remove "let".
26551Files: src/testdir/test_vim9_func.vim
26552
26553Patch 8.2.4397
26554Problem: Crash when using many composing characters in error message.
26555Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26556Files: src/testing.c, src/testdir/test_assert.vim
26557
26558Patch 8.2.4398
26559Problem: Some command completion functions are too long.
26560Solution: Refactor code into separate functions. Add a few more tests.
26561 (Yegappan Lakshmanan, closes #9785)
26562Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26563 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26564
26565Patch 8.2.4399
26566Problem: Crash after ml_get error.
26567Solution: When returning "???" flush the line and set ml_line_lnum.
26568Files: src/memline.c
26569
26570Patch 8.2.4400 (after 8.2.4394)
26571Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26572Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26573 closes #9769)
26574Files: src/getchar.c
26575
26576Patch 8.2.4401
26577Problem: Map listing does not clear the rest of the command line.
26578Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26579Files: src/map.c, src/testdir/test_mapping.vim,
26580 src/testdir/dumps/Test_map_list_1.dump
26581
26582Patch 8.2.4402
26583Problem: Missing parenthesis may cause unexpected problems.
26584Solution: Add more parenthesis is macros. (closes #9788)
26585Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
26586 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
26587 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
26588 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
26589 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
26590
26591Patch 8.2.4403
26592Problem: ml_get error with nested folds and deleting lines.
26593Solution: Correct the last line number before calling hasFoldingWin().
26594Files: src/change.c
26595
26596Patch 8.2.4404
26597Problem: Vim9: some code not covered by tests.
26598Solution: Add a few specific test cases.
26599Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
26600 src/testdir/test_vim9_import.vim
26601
26602Patch 8.2.4405
26603Problem: Compiler warning for unused variable without the +folding feature.
26604 (Tony Mechelynck)
26605Solution: Add #ifdef.
26606Files: src/change.c
26607
26608Patch 8.2.4406
26609Problem: Expand functions use confusing argument names.
26610Solution: Rename "file" to "match". Refactor some completion code. Add a
26611 few more tests. (Yegappan Lakshmanan, closes #9790)
26612Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
26613
26614Patch 8.2.4407
26615Problem: Vim9: some code not covered by tests.
26616Solution: Add more tests. Avoid giving two errors. Remove dead code.
26617Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26618 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
26619
26620Patch 8.2.4408
26621Problem: Vim9: some code not covered by tests.
26622Solution: Add a few more tests. Correct error message. Allow unlet on dict
26623 with a number key.
26624Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
26625
26626Patch 8.2.4409
26627Problem: Vim9: some code not covered by tests.
26628Solution: Add a few more tests. Fix reported line number.
26629Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
26630
26631Patch 8.2.4410
26632Problem: Vim9: some code not covered by tests.
26633Solution: Add a few more tests. Remove dead code.
26634Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26635 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
26636 src/testdir/test_vim9_script.vim
26637
26638Patch 8.2.4411
26639Problem: Bicep files are not recognized.
26640Solution: Match *.bicep files. (Dundar Goc, closes #9791)
26641Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26642
26643Patch 8.2.4412
26644Problem: Translation cleanup script does not remove empty lines at end.
26645Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
26646Files: src/po/cleanup.vim
26647
26648Patch 8.2.4413
26649Problem: Vim9: Coverity warns for using NULL pointer.
26650Solution: Give an internal error when funcref function can't be found.
26651Files: src/vim9execute.c
26652
26653Patch 8.2.4414
26654Problem: Solidity files are not recognized.
26655Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
26656Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26657
26658Patch 8.2.4415
26659Problem: Function argument name conflicts with C++ keyword.
26660Solution: Rename the argument.
26661Files: src/usercmd.c, src/proto/usercmd.pro
26662
26663Patch 8.2.4416
26664Problem: Vim9: using a script-local function requires using "s:" when
26665 setting 'completefunc'.
26666Solution: Do not require "s:" in Vim9 script. (closes #9796)
26667Files: runtime/doc/options.txt, src/userfunc.c,
26668 src/testdir/test_ins_complete.vim
26669
26670Patch 8.2.4417 (after 8.2.4416)
26671Problem: Using NULL pointer.
26672Solution: Set offset after checking for NULL pointer.
26673Files: src/userfunc.c
26674
26675Patch 8.2.4418
26676Problem: Crash when using special multi-byte character.
26677Solution: Don't use isalpha() for an arbitrary character.
26678Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
26679 src/testdir/test_autochdir.vim
26680
26681Patch 8.2.4419
26682Problem: Illegal memory access when using exactly 20 highlights.
26683Solution: Add one more item in the array. (Brandon Richardson,
26684 closes #9800)
26685Files: src/buffer.c, src/testdir/test_tabline.vim
26686
26687Patch 8.2.4420
26688Problem: Menu translations are inconsistent.
26689Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
26690 closes #9801)
26691Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
26692 runtime/lang/menu_ca_es.latin1.vim,
26693 runtime/lang/menu_chinese_gb.936.vim,
26694 runtime/lang/menu_chinese_taiwan.950.vim,
26695 runtime/lang/menu_cs_cz.iso_8859-2.vim,
26696 runtime/lang/menu_cs_cz.utf-8.vim,
26697 runtime/lang/menu_czech_czech_republic.1250.vim,
26698 runtime/lang/menu_czech_czech_republic.ascii.vim,
26699 runtime/lang/menu_da.utf-8.vim,
26700 runtime/lang/menu_de_de.latin1.vim,
26701 runtime/lang/menu_eo.utf-8.vim,
26702 runtime/lang/menu_es_es.latin1.vim,
26703 runtime/lang/menu_fi_fi.latin1.vim,
26704 runtime/lang/menu_fr_fr.latin1.vim,
26705 runtime/lang/menu_hu_hu.iso_8859-2.vim,
26706 runtime/lang/menu_hu_hu.utf-8.vim,
26707 runtime/lang/menu_is_is.latin1.vim,
26708 runtime/lang/menu_it_it.latin1.vim,
26709 runtime/lang/menu_ja_jp.euc-jp.vim,
26710 runtime/lang/menu_ja_jp.utf-8.vim,
26711 runtime/lang/menu_japanese_japan.932.vim,
26712 runtime/lang/menu_ko_kr.euckr.vim,
26713 runtime/lang/menu_ko_kr.utf-8.vim,
26714 runtime/lang/menu_nl_nl.latin1.vim,
26715 runtime/lang/menu_no_no.latin1.vim,
26716 runtime/lang/menu_pl_pl.iso_8859-2.vim,
26717 runtime/lang/menu_pl_pl.utf-8.vim,
26718 runtime/lang/menu_polish_poland.1250.vim,
26719 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
26720 runtime/lang/menu_ru.utf-8.vim,
26721 runtime/lang/menu_ru_ru.koi8-r.vim,
26722 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
26723 runtime/lang/menu_sk_sk.iso_8859-2.vim,
26724 runtime/lang/menu_sl_si.cp1250.vim,
26725 runtime/lang/menu_sl_si.latin2.vim,
26726 runtime/lang/menu_sl_si.utf-8.vim,
26727 runtime/lang/menu_slovak_slovak_republic.1250.vim,
26728 runtime/lang/menu_sr_rs.ascii.vim,
26729 runtime/lang/menu_sr_rs.iso_8859-2.vim,
26730 runtime/lang/menu_sr_rs.iso_8859-5.vim,
26731 runtime/lang/menu_sr_rs.utf-8.vim,
26732 runtime/lang/menu_sv_se.latin1.vim,
26733 runtime/lang/menu_tr_tr.cp1254.vim,
26734 runtime/lang/menu_tr_tr.iso_8859-9.vim,
26735 runtime/lang/menu_tr_tr.utf-8.vim,
26736 runtime/lang/menu_uk_ua.cp1251.vim,
26737 runtime/lang/menu_uk_ua.koi8-u.vim,
26738 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
26739 runtime/lang/menu_zh_cn.utf-8.vim,
26740 runtime/lang/menu_zh_tw.utf-8.vim
26741
26742Patch 8.2.4421
26743Problem: Some installed files and directories have wrong permissions.
26744Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
26745Files: src/Makefile, src/installman.sh
26746
26747Patch 8.2.4422
26748Problem: Autochdir test fails on MS-Windows.
26749Solution: Expecta nother error on MS-Windows.
26750Files: src/testdir/test_autochdir.vim
26751
26752Patch 8.2.4423
26753Problem: "make nvcmdidxs" fails.
26754Solution: Use "-S" instead of "-u" to source the script.
26755Files: src/Makefile
26756
26757Patch 8.2.4424
26758Problem: ".gts" and ".gjs" files are not recognized.
26759Solution: Recognize Glimmer flavored typescript and javascript.
26760 (closes #9799)
26761Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26762
26763Patch 8.2.4425
26764Problem: map() function does not check function arguments at compile time.
26765Solution: Give an error if the arguments of a map() function are wrong.
26766Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
26767 src/testdir/test_vim9_func.vim
26768
26769Patch 8.2.4426
26770Problem: map() function on string and blob does not check argument types at
26771 compile time.
26772Solution: Check string and blob argument types. Support "0z1234->func()".
26773Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
26774 src/testdir/test_vim9_builtin.vim
26775
26776Patch 8.2.4427
26777Problem: getchar() may return modifiers if no character is available.
26778Solution: Do not process modifiers when there is no character. (closes #9806)
26779Files: src/getchar.c, src/testdir/test_functions.vim
26780
26781Patch 8.2.4428
26782Problem: Crash when switching tabpage while in the cmdline window.
26783Solution: Disallow switching tabpage when in the cmdline window.
26784Files: src/window.c, src/proto/window.pro, src/evalvars.c,
26785 src/evalvars.c, src/usercmd.c
26786
26787Patch 8.2.4429
26788Problem: Using script-local function from the wrong script when using a
26789 partial. (Yegappan Lakshmanan)
26790Solution: Include the script ID in the partial name.
26791Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
26792 src/vim9type.c, src/testdir/test_vim9_import.vim
26793
26794
26795
26796
26797
26798
26799 vim:tw=78:ts=8:noet:ft=help:norl: