]> granicus.if.org Git - vim/log
vim
2 years agopatch 8.2.4500: Vim9: can declare a global variable on the command line v8.2.4500
Bram Moolenaar [Thu, 3 Mar 2022 17:05:35 +0000 (17:05 +0000)]
patch 8.2.4500: Vim9: can declare a global variable on the command line

Problem:    Vim9: can declare a global variable on the command line.
Solution:   Disallow declaring a variable on the command line. (closes #9881)

2 years agopatch 8.2.4499: Vim9: at the script level declarations leak to next block v8.2.4499
Bram Moolenaar [Thu, 3 Mar 2022 15:11:20 +0000 (15:11 +0000)]
patch 8.2.4499: Vim9: at the script level declarations leak to next block

Problem:    Vim9: at the script level declarations leak from try block to
            catch and finally block.
Solution:   End the block and start a new one. (closes #9883)

2 years agopatch 8.2.4498: using <Plug> with "noremap" does not work v8.2.4498
Bram Moolenaar [Thu, 3 Mar 2022 13:56:24 +0000 (13:56 +0000)]
patch 8.2.4498: using <Plug> with "noremap" does not work

Problem:    Using <Plug> with "noremap" does not work.
Solution:   Always remap <Plug>. (closes #9879, closes #9789)

2 years agopatch 8.2.4497: wrong color for half of wide character next to pum scrollbar v8.2.4497
Bram Moolenaar [Thu, 3 Mar 2022 11:46:00 +0000 (11:46 +0000)]
patch 8.2.4497: wrong color for half of wide character next to pum scrollbar

Problem:    Wrong color for half of wide character next to pum scrollbar.
Solution:   Redraw the screen cell with the right color. (closes #9874)

2 years agopatch 8.2.4496: Coverity gives warnings after tags code refactoring v8.2.4496
Bram Moolenaar [Thu, 3 Mar 2022 10:44:17 +0000 (10:44 +0000)]
patch 8.2.4496: Coverity gives warnings after tags code refactoring

Problem:    Coverity gives warnings after tags code refactoring.
Solution:   Avoid the warnings. (Yegappan Lakshmanan, closes #9882)

2 years agopatch 8.2.4495: help test fails in 24 line terminal v8.2.4495
Bram Moolenaar [Wed, 2 Mar 2022 20:49:50 +0000 (20:49 +0000)]
patch 8.2.4495: help test fails in 24 line terminal

Problem:    Help test fails in 24 line terminal.
Solution:   Use up to 23 lines for text.

2 years agopatch 8.2.4494: the find_tags() function is much too long v8.2.4494
Yegappan Lakshmanan [Wed, 2 Mar 2022 20:29:35 +0000 (20:29 +0000)]
patch 8.2.4494: the find_tags() function is much too long

Problem:    The find_tags() function is much too long.
Solution:   Refactor the function. (Yegappan Lakshmanan, closes #9869)

2 years agopatch 8.2.4493: options test fails in the GUI v8.2.4493
Bram Moolenaar [Wed, 2 Mar 2022 20:12:03 +0000 (20:12 +0000)]
patch 8.2.4493: options test fails in the GUI

Problem:    Options test fails in the GUI.
Solution:   Do not save and restore 'term'.

2 years agopatch 8.2.4492: no error if an option is given a value with ":let &opt = val" v8.2.4492
Bram Moolenaar [Wed, 2 Mar 2022 19:49:38 +0000 (19:49 +0000)]
patch 8.2.4492: no error if an option is given a value with ":let &opt = val"

Problem:    No error if an option is given an invalid value with
            ":let &opt = val".
Solution:   Give the error. (closes #9864)

2 years agopatch 8.2.4491: MS-Windows makefile dependencies are outdated v8.2.4491
K.Takata [Wed, 2 Mar 2022 17:34:56 +0000 (17:34 +0000)]
patch 8.2.4491: MS-Windows makefile dependencies are outdated

Problem:    MS-Windows makefile dependencies are outdated.
Solution:   Update dependencies. (Ken Takata, closes #9876)

2 years agopatch 8.2.4490: terminal focus reporting only works for xterm-like terminals v8.2.4490
Bram Moolenaar [Wed, 2 Mar 2022 17:16:39 +0000 (17:16 +0000)]
patch 8.2.4490: terminal focus reporting only works for xterm-like terminals

Problem:    Terminal focus reporting only works for xterm-like terminals.
            (Jonathan Rascher)
Solution:   Remove the "focus_mode" flag. (closes #9859)

2 years agopatch 8.2.4489: failing test for comparing v:null with number v8.2.4489
Bram Moolenaar [Wed, 2 Mar 2022 13:13:30 +0000 (13:13 +0000)]
patch 8.2.4489: failing test for comparing v:null with number

Problem:    Failing test for comparing v:null with number.
Solution:   Allow comparing v:null with number in legacy script.
            (Ken Takata, closes #9873)  Also do this for float.

2 years agopatch 8.2.4488: build error with +eval but without +channel or +job v8.2.4488
Bram Moolenaar [Tue, 1 Mar 2022 19:52:48 +0000 (19:52 +0000)]
patch 8.2.4488: build error with +eval but without +channel or +job

Problem:    Build error with +eval but without +channel or +job.
Solution:   Add #ifdef. (John Marriott)

2 years agopatch 8.2.4487: Vim9: cannot compare with v:null v8.2.4487
Bram Moolenaar [Tue, 1 Mar 2022 19:23:24 +0000 (19:23 +0000)]
patch 8.2.4487: Vim9: cannot compare with v:null

Problem:    Vim9: cannot compare with v:null.
Solution:   Allow comparing anything with v:null. (closes #9866)

2 years agopatch 8.2.4486: MS-Windows GUI: slow scrolling with maximized window v8.2.4486
Bram Moolenaar [Tue, 1 Mar 2022 16:02:26 +0000 (16:02 +0000)]
patch 8.2.4486: MS-Windows GUI: slow scrolling with maximized window

Problem:    MS-Windows GUI: slow scrolling with maximized window.
Solution:   Use a better way to check the window is on screen. (Ken Takata,
            closes #9865)

2 years agopatch 8.2.4485: compiler warning for uninitialized variable v8.2.4485
Bram Moolenaar [Mon, 28 Feb 2022 21:02:19 +0000 (21:02 +0000)]
patch 8.2.4485: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize the variable. (John Marriott)

2 years agopatch 8.2.4484: Vim9: some error messages are not tested v8.2.4484
Bram Moolenaar [Mon, 28 Feb 2022 20:55:02 +0000 (20:55 +0000)]
patch 8.2.4484: Vim9: some error messages are not tested

Problem:    Vim9: some error messages are not tested.
Solution:   Add a few more test cases.  Delete dead code.

2 years agopatch 8.2.4483: command completion makes two rounds to collect matches v8.2.4483
Yegappan Lakshmanan [Mon, 28 Feb 2022 13:28:38 +0000 (13:28 +0000)]
patch 8.2.4483: command completion makes two rounds to collect matches

Problem:    Command completion makes two rounds to collect matches.
Solution:   Use a growarray to collect matches. (Yegappan Lakshmanan,
            closes #9860)

2 years agopatch 8.2.4482: no fuzzy cmdline completion for user defined completion v8.2.4482
Yegappan Lakshmanan [Sun, 27 Feb 2022 21:03:21 +0000 (21:03 +0000)]
patch 8.2.4482: no fuzzy cmdline completion for user defined completion

Problem:    No fuzzy cmdline completion for user defined completion.
Solution:   Add fuzzy completion for user defined completion. (Yegappan
            Lakshmanan, closes #9858)

2 years agopatch 8.2.4481: cmdline popup menu not removed when 'lazyredraw' is set v8.2.4481
Bram Moolenaar [Sun, 27 Feb 2022 14:28:31 +0000 (14:28 +0000)]
patch 8.2.4481: cmdline popup menu not removed when 'lazyredraw' is set

Problem:    Cmdline popup menu not removed when 'lazyredraw' is set.
Solution:   Temporarily reset 'lazyredraw' when removing the popup menu.
            (closes #9857)

2 years agopatch 8.2.4480: suspending with CTRL-Z does not work on Android v8.2.4480
xtkoba [Sun, 27 Feb 2022 12:31:52 +0000 (12:31 +0000)]
patch 8.2.4480: suspending with CTRL-Z does not work on Android

Problem:    Suspending with CTRL-Z does not work on Android.
Solution:   Do not handle SIGTSTP. (closes #9854)

2 years agopatch 8.2.4479: no fuzzy completieon for maps and abbreviations v8.2.4479
Yegappan Lakshmanan [Sun, 27 Feb 2022 12:07:30 +0000 (12:07 +0000)]
patch 8.2.4479: no fuzzy completieon for maps and abbreviations

Problem:    No fuzzy completieon for maps and abbreviations.
Solution:   Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
            closes #9856)

2 years agopatch 8.2.4478: crash when using fuzzy completion v8.2.4478
Yegappan Lakshmanan [Sat, 26 Feb 2022 16:05:08 +0000 (16:05 +0000)]
patch 8.2.4478: crash when using fuzzy completion

Problem:    Crash when using fuzzy completion.
Solution:   Temporary fix: put back regexp. (closes #9852, closes #9851)

2 years agopatch 8.2.4477: crash when using fuzzy completion v8.2.4477
Bram Moolenaar [Sat, 26 Feb 2022 15:52:08 +0000 (15:52 +0000)]
patch 8.2.4477: crash when using fuzzy completion

Problem:    Crash when using fuzzy completion.
Solution:   Temporary fix: put back regexp. (closes #9851)

2 years agoUpdate runtime files.
Bram Moolenaar [Sat, 26 Feb 2022 12:25:45 +0000 (12:25 +0000)]
Update runtime files.

2 years agopatch 8.2.4476: operator name spelled wrong v8.2.4476
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 26 Feb 2022 11:46:13 +0000 (11:46 +0000)]
patch 8.2.4476: operator name spelled wrong

Problem:    Operator name spelled wrong.
Solution:   Change trinary to ternary. (Goc Dundar, closes #9850)

2 years agopatch 8.2.4475: fuzzy cmdline completion does not work for lower case v8.2.4475
Yegappan Lakshmanan [Sat, 26 Feb 2022 11:04:42 +0000 (11:04 +0000)]
patch 8.2.4475: fuzzy cmdline completion does not work for lower case

Problem:    Fuzzy cmdline completion does not work for lower case.
Solution:   Also use fuzzy completion for lower case input. (Yegappan
            Lakshmanan, closes #9849)

2 years agopatch 8.2.4474: memory allocation failures not tested in quickfix code v8.2.4474
Yegappan Lakshmanan [Sat, 26 Feb 2022 10:31:32 +0000 (10:31 +0000)]
patch 8.2.4474: memory allocation failures not tested in quickfix code

Problem:    Memory allocation failures not tested in quickfix code.
Solution:   Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)

2 years agopatch 8.2.4473: Coverity warnds for not checking return value of ftell() v8.2.4473
Bram Moolenaar [Fri, 25 Feb 2022 21:47:48 +0000 (21:47 +0000)]
patch 8.2.4473: Coverity warnds for not checking return value of ftell()

Problem:    Coverity warnds for not checking return value of ftell().
Solution:   Bail out if ftell() returns a negative value.

2 years agopatch 8.2.4472: Coverity warns for use of a freed function name v8.2.4472
Bram Moolenaar [Fri, 25 Feb 2022 21:35:17 +0000 (21:35 +0000)]
patch 8.2.4472: Coverity warns for use of a freed function name

Problem:    Coverity warns for use of a freed function name.
Solution:   Only check an autoload name when is prefixed.

2 years agopatch 8.2.4471: Coverity warns for uninitialized variable v8.2.4471
Bram Moolenaar [Fri, 25 Feb 2022 21:10:53 +0000 (21:10 +0000)]
patch 8.2.4471: Coverity warns for uninitialized variable

Problem:    Coverity warns for uninitialized variable.
Solution:   Set flags to zero.

2 years agopatch 8.2.4470: Coverity warns for uninitialized variable v8.2.4470
Bram Moolenaar [Fri, 25 Feb 2022 21:05:36 +0000 (21:05 +0000)]
patch 8.2.4470: Coverity warns for uninitialized variable

Problem:    Coverity warns for uninitialized variable.
Solution:   Set can_spell to zero.

2 years agopatch 8.2.4469: Coverity warns for uninitialized variable v8.2.4469
Bram Moolenaar [Fri, 25 Feb 2022 20:57:11 +0000 (20:57 +0000)]
patch 8.2.4469: Coverity warns for uninitialized variable

Problem:    Coverity warns for uninitialized variable.
Solution:   Set the value to zero.

2 years agopatch 8.2.4468: Coverity warns for uninitialized struct member v8.2.4468
Bram Moolenaar [Fri, 25 Feb 2022 20:48:26 +0000 (20:48 +0000)]
patch 8.2.4468: Coverity warns for uninitialized struct member

Problem:    Coverity warns for uninitialized struct member.
Solution:   Set color.index to zero.

2 years agopatch 8.2.4467: running filetype test leaves file behind v8.2.4467
Bram Moolenaar [Fri, 25 Feb 2022 17:45:04 +0000 (17:45 +0000)]
patch 8.2.4467: running filetype test leaves file behind

Problem:    Running filetype test leaves file behind.
Solution:   Delete the file.

2 years agopatch 8.2.4466: MS-Windows: illegal memory access in installer v8.2.4466
Cam Sinclair [Fri, 25 Feb 2022 17:42:23 +0000 (17:42 +0000)]
patch 8.2.4466: MS-Windows: illegal memory access in installer

Problem:    MS-Windows: illegal memory access in installer when using
            "create-directories" as the final argument.
Solution:   Check the argument count. (Cam Sinclair, closes #9844)

2 years agopatch 8.2.4465: fuzzy completion does not order matches properly v8.2.4465
Yegappan Lakshmanan [Fri, 25 Feb 2022 15:24:24 +0000 (15:24 +0000)]
patch 8.2.4465: fuzzy completion does not order matches properly

Problem:    Fuzzy completion does not order matches properly.
Solution:   Do not use regular expression match. (Yegappan Lakshmanan,
            closes #9843)

2 years agopatch 8.2.4464: Dtrace files are recognized as filetype D v8.2.4464
=?UTF-8?q?Teubel=20Gy=C3=B6rgy?= [Thu, 24 Feb 2022 17:59:09 +0000 (17:59 +0000)]
patch 8.2.4464: Dtrace files are recognized as filetype D

Problem:    Dtrace files are recognized as filetype D.
Solution:   Add a pattern for Dtrace files. (Teubel György, closes #9841)
            Add some more testing.

2 years agopatch 8.2.4463: completion only uses strict matching v8.2.4463
Yegappan Lakshmanan [Thu, 24 Feb 2022 13:28:41 +0000 (13:28 +0000)]
patch 8.2.4463: completion only uses strict matching

Problem:    Completion only uses strict matching.
Solution:   Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
            closes #9803)

2 years agopatch 8.2.4462: not enough testing for quickfix code v8.2.4462
Yegappan Lakshmanan [Thu, 24 Feb 2022 12:33:17 +0000 (12:33 +0000)]
patch 8.2.4462: not enough testing for quickfix code

Problem:    Not enough testing for quickfix code.
Solution:   Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
            closes #9839)

2 years agopatch 8.2.4461: MS-Windows: garbage characters on stdout with VIMDLL v8.2.4461
Bram Moolenaar [Thu, 24 Feb 2022 11:39:43 +0000 (11:39 +0000)]
patch 8.2.4461: MS-Windows: garbage characters on stdout with VIMDLL

Problem:    MS-Windows: garbage characters on stdout with VIMDLL.
Solution:   Don't call gui_focus_change() when about to quit. (Ken Takata,
            closes #9840)

2 years agopatch 8.2.4460: Vim9: wrong error for defining dict function v8.2.4460
Bram Moolenaar [Wed, 23 Feb 2022 22:12:02 +0000 (22:12 +0000)]
patch 8.2.4460: Vim9: wrong error for defining dict function

Problem:    Vim9: wrong error for defining dict function.
Solution:   Explicitly check for trying to define a dict function.
            (closes 9827)

2 years agopatch 8.2.4459: Vim9: compiling sort() call fails with unknown arguments v8.2.4459
Bram Moolenaar [Wed, 23 Feb 2022 21:03:32 +0000 (21:03 +0000)]
patch 8.2.4459: Vim9: compiling sort() call fails with unknown arguments

Problem:    Vim9: compiling sort() call fails with a funcref that has unknown
            arguments.
Solution:   Do not check the arguments if they are unknown at compile time.
            (closes #9835)

2 years agopatch 8.2.4458: Vim9: compiling filter() call fails with unknown arguments v8.2.4458
Bram Moolenaar [Wed, 23 Feb 2022 19:11:49 +0000 (19:11 +0000)]
patch 8.2.4458: Vim9: compiling filter() call fails with unknown arguments

Problem:    Vim9: compiling filter() call fails with funcref that has unknown
            arguments.
Solution:   Do not check the arguments if they are unknown at compile time.
            (closes #9835)

2 years agopatch 8.2.4457: the GPM library can only be linked statically v8.2.4457
Bram Moolenaar [Wed, 23 Feb 2022 18:07:38 +0000 (18:07 +0000)]
patch 8.2.4457: the GPM library can only be linked statically

Problem:    The GPM library can only be linked statically.
Solution:   Make it possible to load the GPM library dynamically. (Damien)

2 years agopatch 8.2.4456: terminal test may fail on some machines v8.2.4456
Zdenek Dohnal [Wed, 23 Feb 2022 14:25:17 +0000 (14:25 +0000)]
patch 8.2.4456: terminal test may fail on some machines

Problem:    Terminal test may fail on some machines.
Solution:   Increase wait time. (Zdenek Dohnal, closes #9834)

2 years agopatch 8.2.4455: accepting one and zero for second sort() argument is strange v8.2.4455
Bram Moolenaar [Wed, 23 Feb 2022 13:17:47 +0000 (13:17 +0000)]
patch 8.2.4455: accepting one and zero for second sort() argument is strange

Problem:    Accepting one and zero for the second sort() argument is strange.
Solution:   Disallow using one and zero in Vim9 script.

2 years agopatch 8.2.4454: resetting cmdwin_type only for one situation v8.2.4454
zeertzjq [Wed, 23 Feb 2022 12:23:08 +0000 (12:23 +0000)]
patch 8.2.4454: resetting cmdwin_type only for one situation

Problem:    Resetting cmdwin_type only for one situation.
Solution:   Reset cmdwin_type before closing windows. (closes #9822)

2 years agopatch 8.2.4453: :helpgrep may free an option that was not allocated v8.2.4453
Bram Moolenaar [Wed, 23 Feb 2022 12:06:00 +0000 (12:06 +0000)]
patch 8.2.4453: :helpgrep may free an option that was not allocated

Problem:    :helpgrep may free an option that was not allocated. (Yegappan
            Lakshmanan)
Solution:   Check if the value was allocated.

2 years agopatch 8.2.4452: test for what 8.2.4436 fixes does not check for regression v8.2.4452
Bram Moolenaar [Wed, 23 Feb 2022 10:52:41 +0000 (10:52 +0000)]
patch 8.2.4452: test for what 8.2.4436 fixes does not check for regression

Problem:    Test for what 8.2.4436 fixes does not check for regression.
Solution:   Set several options. (Ken Takata, closes #9830)

2 years agopatch 8.2.4451: sort() fails when ignoring case v8.2.4451
Bram Moolenaar [Tue, 22 Feb 2022 22:53:10 +0000 (22:53 +0000)]
patch 8.2.4451: sort() fails when ignoring case

Problem:    sort() fails when ignoring case.
Solution:   Accept a number one argument in sort().

2 years agopatch 8.2.4450: list sort test fails v8.2.4450
Bram Moolenaar [Tue, 22 Feb 2022 22:17:00 +0000 (22:17 +0000)]
patch 8.2.4450: list sort test fails

Problem:    List sort test fails.
Solution:   Pass a valid "how" argument.

2 years agopatch 8.2.4449: vim9: function argument of sort() not checked at compile time v8.2.4449
Bram Moolenaar [Tue, 22 Feb 2022 21:54:44 +0000 (21:54 +0000)]
patch 8.2.4449: vim9: function argument of sort() not checked at compile time

Problem:    vim9: function argument of sort() not checked at compile time.
Solution:   Add a compile time check.

2 years agopatch 8.2.4448: filetype detection is failing v8.2.4448
Bram Moolenaar [Tue, 22 Feb 2022 21:17:40 +0000 (21:17 +0000)]
patch 8.2.4448: filetype detection is failing

Problem:    Filetype detection is failing.
Solution:   Do not use "s:" where it is no longer allowed.

2 years agopatch 8.2.4447: Vim9: can still use s:var in a compiled function v8.2.4447
Bram Moolenaar [Tue, 22 Feb 2022 20:43:36 +0000 (20:43 +0000)]
patch 8.2.4447: Vim9: can still use s:var in a compiled function

Problem:    Vim9: can still use s:var in a compiled function.
Solution:   Disallow using s:var for Vim9 script. (closes #9824)

2 years agopatch 8.2.4446: Vim9: cannot refer to a global function like a local one v8.2.4446
Bram Moolenaar [Tue, 22 Feb 2022 19:39:13 +0000 (19:39 +0000)]
patch 8.2.4446: Vim9: cannot refer to a global function like a local one

Problem:    Vim9: cannot refer to a global function like a local one.
Solution:   When g:name is not a variable but a function, use a function
            reference. (closes #9826)

2 years agopatch 8.2.4445: exit test fails on MS-Windows anyway v8.2.4445
Bram Moolenaar [Tue, 22 Feb 2022 18:48:11 +0000 (18:48 +0000)]
patch 8.2.4445: exit test fails on MS-Windows anyway

Problem:    Exit test fails on MS-Windows anyway.
Solution:   Skip the test on MS-Windows.

2 years agopatch 8.2.4444: beep caused by test v8.2.4444
Bram Moolenaar [Tue, 22 Feb 2022 17:42:48 +0000 (17:42 +0000)]
patch 8.2.4444: beep caused by test

Problem:    Beep caused by test.  ASAN reports leaks.
Solution:   Do not put a NL at the end of the script.  Make the text work on
            MS-Windows.  Do not run the test with ASAN.

2 years agopatch 8.2.4443: regexp pattern test fails on Mac v8.2.4443
Bram Moolenaar [Tue, 22 Feb 2022 16:19:37 +0000 (16:19 +0000)]
patch 8.2.4443: regexp pattern test fails on Mac

Problem:    Regexp pattern test fails on Mac.
Solution:   Do not use a swapfile for the buffer.

2 years agopatch 8.2.4442: test for error reading input fails on MS-Windows v8.2.4442
Bram Moolenaar [Tue, 22 Feb 2022 15:24:51 +0000 (15:24 +0000)]
patch 8.2.4442: test for error reading input fails on MS-Windows

Problem:    Test for error reading input fails on MS-Windows.
Solution:   Don't run the test on MS-Windows.

2 years agopatch 8.2.4441: Vim9: function argument of filter() not checked like map() v8.2.4441
Bram Moolenaar [Tue, 22 Feb 2022 15:12:14 +0000 (15:12 +0000)]
patch 8.2.4441: Vim9: function argument of filter() not checked like map()

Problem:    Vim9: function argument of filter() not checked like map().
Solution:   Also check the function argument of filter().

2 years agopatch 8.2.4440: crash with specific regexp pattern and string v8.2.4440
Bram Moolenaar [Tue, 22 Feb 2022 13:37:31 +0000 (13:37 +0000)]
patch 8.2.4440: crash with specific regexp pattern and string

Problem:    Crash with specific regexp pattern and string.
Solution:   Stop at the start of the string.

2 years agopatch 8.2.4439: accepting "iso8859" 'encoding' as "iso-8859-" v8.2.4439
Bram Moolenaar [Tue, 22 Feb 2022 12:34:28 +0000 (12:34 +0000)]
patch 8.2.4439: accepting "iso8859" 'encoding' as "iso-8859-"

Problem:    Accepting "iso8859" 'encoding' as "iso-8859-".
Solution:   use "iso8859" as "iso-8859-1".

2 years agopatch 8.2.4438: crash on exit when using cmdline window v8.2.4438
Bram Moolenaar [Tue, 22 Feb 2022 12:08:07 +0000 (12:08 +0000)]
patch 8.2.4438: crash on exit when using cmdline window

Problem:    Crash on exit when using cmdline window.
Solution:   Reset "cmdwin_type" before exiting. (closes #9817)

2 years agopatch 8.2.4437: vartabs test fails on MS-Windows v8.2.4437
K.Takata [Tue, 22 Feb 2022 11:04:50 +0000 (11:04 +0000)]
patch 8.2.4437: vartabs test fails on MS-Windows

Problem:    Vartabs test fails on MS-Windows.
Solution:   Use iso8859-1 'encoding'. (Ken Takata, closes #9818)

2 years agopatch 8.2.4436: crash with weird 'vartabstop' value v8.2.4436
Bram Moolenaar [Mon, 21 Feb 2022 19:36:12 +0000 (19:36 +0000)]
patch 8.2.4436: crash with weird 'vartabstop' value

Problem:    Crash with weird 'vartabstop' value.
Solution:   Check for running into the end of the line.

2 years agopatch 8.2.4435: dead code in checking map() arguments v8.2.4435
Bram Moolenaar [Mon, 21 Feb 2022 18:34:30 +0000 (18:34 +0000)]
patch 8.2.4435: dead code in checking map() arguments

Problem:    Dead code in checking map() arguments. (Dominique Pellé)
Solution:   Remove the first return statement. (closes #9815)

2 years agopatch 8.2.4434: duplicate check for cmdline window v8.2.4434
Sean Dewar [Mon, 21 Feb 2022 17:56:33 +0000 (17:56 +0000)]
patch 8.2.4434: duplicate check for cmdline window

Problem:    Duplicate check for cmdline window.
Solution:   Remove the second check. (Sean Dewar, closes #9816)

2 years agopatch 8.2.4433: CI: cannot see interface versions for MS-Windows v8.2.4433
K.Takata [Mon, 21 Feb 2022 17:49:28 +0000 (17:49 +0000)]
patch 8.2.4433: CI: cannot see interface versions for MS-Windows

Problem:    CI: cannot see interface versions for MS-Windows.
Solution:   List the interface versions. (Ken Takata, closes #9811)

2 years agopatch 8.2.4432: cannot use settabvar() while the cmdline window is open v8.2.4432
Bram Moolenaar [Mon, 21 Feb 2022 16:13:49 +0000 (16:13 +0000)]
patch 8.2.4432: cannot use settabvar() while the cmdline window is open

Problem:    Cannot use settabvar() while the cmdline window is open.
Solution:   Only give an error when actually switching tabpage.
            (closes #9813)

2 years agopatch 8.2.4431: unnecessary condition when assigning to a variable v8.2.4431
Bram Moolenaar [Mon, 21 Feb 2022 15:59:11 +0000 (15:59 +0000)]
patch 8.2.4431: unnecessary condition when assigning to a variable

Problem:    Unnecessary condition when assigning to a variable.
Solution:   Remove the condition.

2 years agopatch 8.2.4430: GTK: crash when using 'guiligatures' and reading from stdin v8.2.4430
Amon Sha [Mon, 21 Feb 2022 15:07:12 +0000 (15:07 +0000)]
patch 8.2.4430: GTK: crash when using 'guiligatures' and reading from stdin

Problem:    GTK: crash when using 'guiligatures' and reading from stdin.
Solution:   Make a copy of the message. (Amon Sha, closes #9719, closes #9814)

2 years agopatch 8.2.4429: using script-local function from the wrong script v8.2.4429
Bram Moolenaar [Mon, 21 Feb 2022 13:13:50 +0000 (13:13 +0000)]
patch 8.2.4429: using script-local function from the wrong script

Problem:    Using script-local function from the wrong script when using a
            partial. (Yegappan Lakshmanan)
Solution:   Include the script ID in the partial name.

2 years agopatch 8.2.4428: crash when switching tabpage while in the cmdline window v8.2.4428
Bram Moolenaar [Sun, 20 Feb 2022 20:49:35 +0000 (20:49 +0000)]
patch 8.2.4428: crash when switching tabpage while in the cmdline window

Problem:    Crash when switching tabpage while in the cmdline window.
Solution:   Disallow switching tabpage when in the cmdline window.

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 20 Feb 2022 19:48:20 +0000 (19:48 +0000)]
Update runtime files

2 years agopatch 8.2.4427: getchar() may return modifiers if no character is available v8.2.4427
zeertzjq [Sun, 20 Feb 2022 19:05:10 +0000 (19:05 +0000)]
patch 8.2.4427: getchar() may return modifiers if no character is available

Problem:    getchar() may return modifiers if no character is available.
Solution:   Do not process modifiers when there is no character. (closes #9806)

2 years agopatch 8.2.4426: map() function on string and blob does not check types v8.2.4426
Bram Moolenaar [Sun, 20 Feb 2022 18:26:46 +0000 (18:26 +0000)]
patch 8.2.4426: map() function on string and blob does not check types

Problem:    map() function on string and blob does not check argument types at
            compile time.
Solution:   Check string and blob argument types.  Support "0z1234->func()".

2 years agopatch 8.2.4425: map() function does not check function arguments v8.2.4425
Bram Moolenaar [Sun, 20 Feb 2022 15:52:28 +0000 (15:52 +0000)]
patch 8.2.4425: map() function does not check function arguments

Problem:    map() function does not check function arguments at compile time.
Solution:   Give an error if the arguments of a map() function are wrong.

2 years agopatch 8.2.4424: ".gts" and ".gjs" files are not recognized v8.2.4424
NullVoxPopuli [Sat, 19 Feb 2022 16:35:58 +0000 (16:35 +0000)]
patch 8.2.4424: ".gts" and ".gjs" files are not recognized

Problem:    ".gts" and ".gjs" files are not recognized.
Solution:   Recognize Glimmer flavored typescript and javascript.
            (closes #9799)

2 years agopatch 8.2.4423: "make nvcmdidxs" fails v8.2.4423
Bram Moolenaar [Sat, 19 Feb 2022 16:00:16 +0000 (16:00 +0000)]
patch 8.2.4423: "make nvcmdidxs" fails

Problem:    "make nvcmdidxs" fails.
Solution:   Use "-S" instead of "-u" to source the script.

2 years agopatch 8.2.4422: autochdir test fails on MS-Windows v8.2.4422
Bram Moolenaar [Sat, 19 Feb 2022 14:49:51 +0000 (14:49 +0000)]
patch 8.2.4422: autochdir test fails on MS-Windows

Problem:    Autochdir test fails on MS-Windows.
Solution:   Expecta nother error on MS-Windows.

2 years agopatch 8.2.4421: some installed files and directories have wrong permissions v8.2.4421
Bram Moolenaar [Sat, 19 Feb 2022 13:25:18 +0000 (13:25 +0000)]
patch 8.2.4421: some installed files and directories have wrong permissions

Problem:    Some installed files and directories have wrong permissions.
Solution:   Adjust the Makefile and shell to set permissions. (closes #9793)

2 years agopatch 8.2.4420: menu translations are inconsistent v8.2.4420
Ada [Sat, 19 Feb 2022 12:06:09 +0000 (12:06 +0000)]
patch 8.2.4420: menu translations are inconsistent

Problem:    Menu translations are inconsistent.
Solution:   Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
            closes #9801)

2 years agopatch 8.2.4419: illegal memory access when using 20 highlights v8.2.4419
Brandon Richardson [Sat, 19 Feb 2022 11:45:03 +0000 (11:45 +0000)]
patch 8.2.4419: illegal memory access when using 20 highlights

Problem:    Illegal memory access when using exactly 20 highlights.
Solution:   Add one more item in the array. (Brandon Richardson,
            closes #9800)

2 years agopatch 8.2.4418: crash when using special multi-byte character v8.2.4418
Bram Moolenaar [Sat, 19 Feb 2022 11:20:12 +0000 (11:20 +0000)]
patch 8.2.4418: crash when using special multi-byte character

Problem:    Crash when using special multi-byte character.
Solution:   Don't use isalpha() for an arbitrary character.

2 years agopatch 8.2.4417: using NULL pointer v8.2.4417
Bram Moolenaar [Fri, 18 Feb 2022 18:34:45 +0000 (18:34 +0000)]
patch 8.2.4417: using NULL pointer

Problem:    Using NULL pointer.
Solution:   Set offset after checking for NULL pointer.

2 years agopatch 8.2.4416: Vim9: using a script-local function requires using "s:" v8.2.4416
Bram Moolenaar [Fri, 18 Feb 2022 17:50:47 +0000 (17:50 +0000)]
patch 8.2.4416: Vim9: using a script-local function requires using "s:"

Problem:    Vim9: using a script-local function requires using "s:" when
            setting 'completefunc'.
Solution:   Do not require "s:" in Vim9 script. (closes #9796)

2 years agopatch 8.2.4415: function argument name conflicts with C++ keyword v8.2.4415
Bram Moolenaar [Fri, 18 Feb 2022 13:56:38 +0000 (13:56 +0000)]
patch 8.2.4415: function argument name conflicts with C++ keyword

Problem:    Function argument name conflicts with C++ keyword.
Solution:   Rename the argument.

2 years agopatch 8.2.4414: solidity files are not recognized v8.2.4414
=?UTF-8?q?Dundar=20G=C3=B6c?= [Fri, 18 Feb 2022 13:45:55 +0000 (13:45 +0000)]
patch 8.2.4414: solidity files are not recognized

Problem:    Solidity files are not recognized.
Solution:   Add the *.sol pattern. (Dundar Goc, closes #9792)

2 years agopatch 8.2.4413: Vim9: Coverity warns for using NULL pointer v8.2.4413
Bram Moolenaar [Fri, 18 Feb 2022 13:24:52 +0000 (13:24 +0000)]
patch 8.2.4413: Vim9: Coverity warns for using NULL pointer

Problem:    Vim9: Coverity warns for using NULL pointer.
Solution:   Give an internal error when funcref function can't be found.

2 years agopatch 8.2.4412: translation cleanup script does not remove empty lines at end v8.2.4412
Bram Moolenaar [Fri, 18 Feb 2022 11:28:29 +0000 (11:28 +0000)]
patch 8.2.4412: translation cleanup script does not remove empty lines at end

Problem:    Translation cleanup script does not remove empty lines at end.
Solution:   Remove empty lines at the end. (Ken Takata, closes #9794)

2 years agopatch 8.2.4411: bicep files are not recognized v8.2.4411
=?UTF-8?q?Dundar=20G=C3=B6c?= [Thu, 17 Feb 2022 21:30:26 +0000 (21:30 +0000)]
patch 8.2.4411: bicep files are not recognized

Problem:    Bicep files are not recognized.
Solution:   Match *.bicep files. (Dundar Goc, closes #9791)

2 years agopatch 8.2.4410: Vim9: some code not covered by tests v8.2.4410
Bram Moolenaar [Thu, 17 Feb 2022 19:44:07 +0000 (19:44 +0000)]
patch 8.2.4410: Vim9: some code not covered by tests

Problem:    Vim9: some code not covered by tests.
Solution:   Add a few more tests. Remove dead code.

2 years agopatch 8.2.4409: Vim9: some code not covered by tests v8.2.4409
Bram Moolenaar [Thu, 17 Feb 2022 16:30:11 +0000 (16:30 +0000)]
patch 8.2.4409: Vim9: some code not covered by tests

Problem:    Vim9: some code not covered by tests.
Solution:   Add a few more tests.  Fix reported line number.

2 years agopatch 8.2.4408: Vim9: some code not covered by tests v8.2.4408
Bram Moolenaar [Thu, 17 Feb 2022 14:42:02 +0000 (14:42 +0000)]
patch 8.2.4408: Vim9: some code not covered by tests

Problem:    Vim9: some code not covered by tests.
Solution:   Add a few more tests.  Correct error message.  Allow unlet on dict
            with a number key.

2 years agopatch 8.2.4407: Vim9: some code not covered by tests v8.2.4407
Bram Moolenaar [Thu, 17 Feb 2022 13:08:26 +0000 (13:08 +0000)]
patch 8.2.4407: Vim9: some code not covered by tests

Problem:    Vim9: some code not covered by tests.
Solution:   Add more tests.  Avoid giving two errors.  Remove dead code.

2 years agopatch 8.2.4406: expand functions use confusing argument names v8.2.4406
Yegappan Lakshmanan [Thu, 17 Feb 2022 11:26:42 +0000 (11:26 +0000)]
patch 8.2.4406: expand functions use confusing argument names

Problem:    Expand functions use confusing argument names.
Solution:   Rename "file" to "match".  Refactor some completion code.  Add a
            few more tests. (Yegappan Lakshmanan, closes #9790)

2 years agopatch 8.2.4405: compiler warning for unused variable without +folding v8.2.4405
Bram Moolenaar [Wed, 16 Feb 2022 21:51:00 +0000 (21:51 +0000)]
patch 8.2.4405: compiler warning for unused variable without +folding

Problem:    Compiler warning for unused variable without the +folding feature.
            (Tony Mechelynck)
Solution:   Add #ifdef.

2 years agopatch 8.2.4404: Vim9: some code not covered by tests v8.2.4404
Bram Moolenaar [Wed, 16 Feb 2022 21:48:25 +0000 (21:48 +0000)]
patch 8.2.4404: Vim9: some code not covered by tests

Problem:    Vim9: some code not covered by tests.
Solution:   Add a few specific test cases.

2 years agopatch 8.2.4403: ml_get error with nested folds and deleting lines v8.2.4403
Bram Moolenaar [Wed, 16 Feb 2022 20:30:52 +0000 (20:30 +0000)]
patch 8.2.4403: ml_get error with nested folds and deleting lines

Problem:    ml_get error with nested folds and deleting lines.
Solution:   Correct the last line number before calling hasFoldingWin().