]> granicus.if.org Git - vim/log
vim
2 years agopatch 8.2.4525: some GUI tests don't work on Athena v8.2.4525
Yegappan Lakshmanan [Mon, 7 Mar 2022 16:57:22 +0000 (16:57 +0000)]
patch 8.2.4525: some GUI tests don't work on Athena

Problem:    Some GUI tests don't work on Athena.
Solution:   Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)

2 years agopatch 8.2.4524: MS-Windows: cannot build with some sodium libraries v8.2.4524
K.Takata [Mon, 7 Mar 2022 15:16:15 +0000 (15:16 +0000)]
patch 8.2.4524: MS-Windows: cannot build with some sodium libraries

Problem:    MS-Windows: cannot build with some sodium libraries.
Solution:   Make the DLL name configuragle.  Add build instructions.
            (Ken Takata, closes #9905)

2 years agopatch 8.2.4523: when gvim is started maximized the 'window' option isn't set v8.2.4523
K.Takata [Mon, 7 Mar 2022 13:31:15 +0000 (13:31 +0000)]
patch 8.2.4523: when gvim is started maximized the 'window' option isn't set

Problem:    When gvim is started maximized the 'window' option isn't set
            properly. (Christian J. Robinson)
Solution:   Check if 'windows' was already set or not. (Ken Takata,
            closes #9904)

2 years agopatch 8.2.4522: GUI test fails with Motif v8.2.4522
Bram Moolenaar [Sun, 6 Mar 2022 22:21:37 +0000 (22:21 +0000)]
patch 8.2.4522: GUI test fails with Motif

Problem:    GUI test fails with Motif. (Dominique Pellé)
Solution:   Remove using an invalid value for 'guifontset'.

2 years agopatch 8.2.4521: build failure without the +diff feature v8.2.4521
Bram Moolenaar [Sun, 6 Mar 2022 20:47:01 +0000 (20:47 +0000)]
patch 8.2.4521: build failure without the +diff feature

Problem:    Build failure without the +diff feature. (John Marriott)
Solution:   Define filler+lines if not declaring it.

2 years agopatch 8.2.4520: using wrong highlight for cursor line number v8.2.4520
Bram Moolenaar [Sun, 6 Mar 2022 19:54:13 +0000 (19:54 +0000)]
patch 8.2.4520: using wrong highlight for cursor line number

Problem:    Using wrong highlight for cursor line number.
Solution:   Take filler lines into account when using CursorLineNr.
            (closes #9897)

2 years agopatch 8.2.4519: Vim9: Can still use ":fini" and ":finis" for ":finish" v8.2.4519
Bram Moolenaar [Sun, 6 Mar 2022 14:51:22 +0000 (14:51 +0000)]
patch 8.2.4519: Vim9: Can still use ":fini" and ":finis" for ":finish"

Problem:    Vim9: Can still use ":fini" and ":finis" for ":finish".
Solution:   Require using ":finish".

2 years agopatch 8.2.4518: the binary tag search feature is always enabled v8.2.4518
Yegappan Lakshmanan [Sun, 6 Mar 2022 14:27:10 +0000 (14:27 +0000)]
patch 8.2.4518: the binary tag search feature is always enabled

Problem:    The binary tag search feature is always enabled.
Solution:   Remove the #ifdefs.  Add a few more tests. (Yegappan Lakshmanan,
            closes #9893)

2 years agopatch 8.2.4517: MS-Windows: cannot specify location of sodium library v8.2.4517
K.Takata [Sun, 6 Mar 2022 14:01:52 +0000 (14:01 +0000)]
patch 8.2.4517: MS-Windows: cannot specify location of sodium library

Problem:    MS-Windows: cannot specify location of sodium library.
Solution:   Allow for using a path for SODIUM. (Ken Takata, closes #9896)

2 years agopatch 8.2.4516: build failure without the +eval feature v8.2.4516
Bram Moolenaar [Sat, 5 Mar 2022 22:07:32 +0000 (22:07 +0000)]
patch 8.2.4516: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Move error message outside of #ifdef.

2 years agopatch 8.2.4515: old subsitute syntax is still supported v8.2.4515
Bram Moolenaar [Sat, 5 Mar 2022 21:13:26 +0000 (21:13 +0000)]
patch 8.2.4515: old subsitute syntax is still supported

Problem:    Old subsitute syntax is still supported.
Solution:   Disallow using backslash after ":s" in Vim9 script.

2 years agopatch 8.2.4514: Vim9: some flow commands can be shortened v8.2.4514
Bram Moolenaar [Sat, 5 Mar 2022 20:24:41 +0000 (20:24 +0000)]
patch 8.2.4514: Vim9: some flow commands can be shortened

Problem:    Vim9: some flow commands can be shortened.
Solution:   Also require using the full name for ":return", ":enddef",
            ":continue", ":export" and ":import".

2 years agopatch 8.2.4513: window-local directory is not applied if 'acd' fails v8.2.4513
zeertzjq [Sat, 5 Mar 2022 17:00:31 +0000 (17:00 +0000)]
patch 8.2.4513: window-local directory is not applied if 'acd' fails

Problem:    Window-local directory is not applied if 'acd' fails.
Solution:   Don't call do_autochdir(). (closes #9891)

2 years agopatch 8.2.4512: the find_tags_in_file() function is much too long v8.2.4512
Yegappan Lakshmanan [Sat, 5 Mar 2022 14:35:12 +0000 (14:35 +0000)]
patch 8.2.4512: the find_tags_in_file() function is much too long

Problem:    The find_tags_in_file() function is much too long.
Solution:   Refactor into multiple smaller functions. (Yegappan Lakshmanan,
            closes #9892)

2 years agopatch 8.2.4511: filetype test fails v8.2.4511
Bram Moolenaar [Sat, 5 Mar 2022 13:45:56 +0000 (13:45 +0000)]
patch 8.2.4511: filetype test fails

Problem:    Filetype test fails.
Solution:   Change "endw" to "endwhile".

2 years agopatch 8.2.4510: Vim9: shortening commands leads to confusing script v8.2.4510
Bram Moolenaar [Sat, 5 Mar 2022 12:56:44 +0000 (12:56 +0000)]
patch 8.2.4510: Vim9: shortening commands leads to confusing script

Problem:    Vim9: shortening commands leads to confusing script.
Solution:   In Vim9 script require at least ":cont" for ":continue", "const"
            instead of "cons", "break" instead of "brea", "catch" instead of
            "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
            instead of "endfo" "endif" instead of "en" "endtry" instead of
            "endt", "finally" instead of "fina", "throw" instead of "th",
            "while" instead of "wh".

2 years agopatch 8.2.4509: Vim9: can declare a variable with ":va" v8.2.4509
Bram Moolenaar [Sat, 5 Mar 2022 11:37:48 +0000 (11:37 +0000)]
patch 8.2.4509: Vim9: can declare a variable with ":va"

Problem:    Vim9: can declare a variable with ":va".
Solution:   Disallow using ":va", require using ":var".

2 years agopatch 8.2.4508: Vim9: cannot assign to a global variable on the command line v8.2.4508
Bram Moolenaar [Sat, 5 Mar 2022 11:05:57 +0000 (11:05 +0000)]
patch 8.2.4508: Vim9: cannot assign to a global variable on the command line

Problem:    Vim9: cannot assign to a global variable on the command line.
Solution:   Allow using :vim9cmd for assignment on the command line.

2 years agopatch 8.2.4507: test fails because of new error message v8.2.4507
Bram Moolenaar [Fri, 4 Mar 2022 23:22:27 +0000 (23:22 +0000)]
patch 8.2.4507: test fails because of new error message

Problem:    Test fails because of new error message.
Solution:   Avoid the test fails.

2 years agopatch 8.2.4506: "pattern not found" for :global is not an error message v8.2.4506
Bram Moolenaar [Fri, 4 Mar 2022 21:34:31 +0000 (21:34 +0000)]
patch 8.2.4506: "pattern not found" for :global is not an error message

Problem:    "pattern not found" for :global is not an error message.
Solution:   In Vim9 script make this an actual error, so that try/catch can be
            used as expected.

2 years agopatch 8.2.4505: Vim9: outdated "autocmd nested" still works v8.2.4505
Bram Moolenaar [Fri, 4 Mar 2022 20:10:38 +0000 (20:10 +0000)]
patch 8.2.4505: Vim9: outdated "autocmd nested" still works

Problem:    Vim9: outdated "autocmd nested" still works.
Solution:   Do not accept the :autocmd argument "nested" without "++" in Vim9
            script.

2 years agopatch 8.2.4504: when there is a partially matching map full map may not work v8.2.4504
Bram Moolenaar [Fri, 4 Mar 2022 19:22:36 +0000 (19:22 +0000)]
patch 8.2.4504: when there is a partially matching map full map may not work

Problem:    When there is a partially matching map and modifyOtherKeys is
            active a full map may not work.
Solution:   Only simplify modifiers when there is no matching mapping.
            (closes #8792)

2 years agopatch 8.2.4503: Vim9: there is no point in supporting :Print and :mode v8.2.4503
Bram Moolenaar [Fri, 4 Mar 2022 17:10:19 +0000 (17:10 +0000)]
patch 8.2.4503: Vim9: there is no point in supporting :Print and :mode

Problem:    Vim9: there is no point in supporting :Print and :mode.
Solution:   Do not recognize :Print and :mode as commands. (closes #9870)

2 years agopatch 8.2.4502: in the GUI a modifier is not recognized after CTRL-X v8.2.4502
Bram Moolenaar [Fri, 4 Mar 2022 14:51:06 +0000 (14:51 +0000)]
patch 8.2.4502: in the GUI a modifier is not recognized after CTRL-X

Problem:    In the GUI a modifier is not recognized for the key typed after
            CTRL-X, which may result in a mapping to be used. (Daniel
            Steinberg)
Solution:   Recognize a modifier starting with CSI. (closes #9889)

2 years agopatch 8.2.4501: with 'showbreak' set cursor displayed in wrong position v8.2.4501
Bram Moolenaar [Thu, 3 Mar 2022 20:04:03 +0000 (20:04 +0000)]
patch 8.2.4501: with 'showbreak' set cursor displayed in wrong position

Problem:    With 'showbreak' set and after the end of the line the cursor
            may be displayed in the wrong position.
Solution:   Do not apply 'showbreak' after the end of the line. (closes #9884)

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