]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3808: Vim9: obsolete TODO items v8.2.3808
Bram Moolenaar [Tue, 14 Dec 2021 14:29:16 +0000 (14:29 +0000)]
patch 8.2.3808: Vim9: obsolete TODO items

Problem:    Vim9: obsolete TODO items
Solution:   Remove the comments.

3 years agopatch 8.2.3807: Vim9: can call import with star directly v8.2.3807
Bram Moolenaar [Tue, 14 Dec 2021 12:06:16 +0000 (12:06 +0000)]
patch 8.2.3807: Vim9: can call import with star directly

Problem:    Vim9: can call import with star directly.
Solution:   Check that the import used star.

3 years agopatch 8.2.3806: terminal focus test fails sometimes v8.2.3806
Bram Moolenaar [Tue, 14 Dec 2021 11:16:31 +0000 (11:16 +0000)]
patch 8.2.3806: terminal focus test fails sometimes

Problem:    Terminal focus test fails sometimes.
Solution:   Run the test function before others.

3 years agopatch 8.2.3805: i3config files are not recognized v8.2.3805
Quentin Hibon [Tue, 14 Dec 2021 09:34:41 +0000 (09:34 +0000)]
patch 8.2.3805: i3config files are not recognized

Problem:    i3config files are not recognized.
Solution:   Add patterns to match i3config files. (Quentin Hibon,
            closes #7969)

3 years agopatch 8.2.3804: script context not set when copying 'swf' and 'ts' v8.2.3804
Bram Moolenaar [Tue, 14 Dec 2021 09:01:38 +0000 (09:01 +0000)]
patch 8.2.3804: script context not set when copying 'swf' and 'ts'

Problem:    Script context not set when copying 'swf' and 'ts'.
Solution:   Use COPY_OPT_SCTX with the right argument. (closes #9347)

3 years agopatch 8.2.3803: GUI: crash with 'writedelay' set using a terminal window v8.2.3803
Bram Moolenaar [Tue, 14 Dec 2021 08:41:38 +0000 (08:41 +0000)]
patch 8.2.3803: GUI: crash with 'writedelay' set using a terminal window

Problem:    Crash when 'writedelay' is set and using a terminal window to
            execute a shell command.
Solution:   Check that "tl_vterm" isn't NULL. (closes #9346)

3 years agopatch 8.2.3802: terminal in two windows test fails on some systems v8.2.3802
Bram Moolenaar [Mon, 13 Dec 2021 22:17:44 +0000 (22:17 +0000)]
patch 8.2.3802: terminal in two windows test fails on some systems

Problem:    Terminal in two windows test fails on some systems.
Solution:   Wait a bit between commands.

3 years agopatch 8.2.3801: if a terminal shows in two windows, only one is redrawn v8.2.3801
Bram Moolenaar [Mon, 13 Dec 2021 21:59:09 +0000 (21:59 +0000)]
patch 8.2.3801: if a terminal shows in two windows, only one is redrawn

Problem:    If a terminal shows in two windows, only one is redrawn.
Solution:   Reset the dirty row range only after redrawing all windows.
            (closes #9341)

3 years agopatch 8.2.3800: when cross compiling the output of "uname" cannot be set v8.2.3800
Bram Moolenaar [Mon, 13 Dec 2021 20:37:59 +0000 (20:37 +0000)]
patch 8.2.3800: when cross compiling the output of "uname" cannot be set

Problem:    When cross compiling the output of "uname" cannot be set. (Ben
            Reeves)
Solution:   Use cache variables. (closes #9338)

3 years agopatch 8.2.3799: edit test hangs or fails v8.2.3799
Bram Moolenaar [Mon, 13 Dec 2021 19:14:52 +0000 (19:14 +0000)]
patch 8.2.3799: edit test hangs or fails

Problem:    Edit test hangs or fails.
Solution:   Do not rethrow an exception when inside try/catch.

3 years agopatch 8.2.3798: a :def callback function postpones an error message v8.2.3798
Bram Moolenaar [Mon, 13 Dec 2021 18:19:55 +0000 (18:19 +0000)]
patch 8.2.3798: a :def callback function postpones an error message

Problem:    A :def callback function postpones an error message.
Solution:   Display the error after calling the function. (closes #9340)

3 years agopatch 8.2.3797: no good reason to limit the message history in tiny version v8.2.3797
Bram Moolenaar [Mon, 13 Dec 2021 14:40:53 +0000 (14:40 +0000)]
patch 8.2.3797: no good reason to limit the message history in tiny version

Problem:    No good reason to limit the message history in the tiny version.
Solution:   Always use 200.

3 years agopatch 8.2.3796: the funcexe_T struct members are not named consistently v8.2.3796
Bram Moolenaar [Mon, 13 Dec 2021 14:26:44 +0000 (14:26 +0000)]
patch 8.2.3796: the funcexe_T struct members are not named consistently

Problem:    The funcexe_T struct members are not named consistently.
Solution:   Prefix "fe_" to all the members.

3 years agopatch 8.2.3795: too many #ifdefs v8.2.3795
Bram Moolenaar [Mon, 13 Dec 2021 13:12:53 +0000 (13:12 +0000)]
patch 8.2.3795: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Graduate the jumplist feature.

3 years agopatch 8.2.3794: Vim9: cannot find script-local func using "s:" v8.2.3794
Bram Moolenaar [Mon, 13 Dec 2021 11:31:04 +0000 (11:31 +0000)]
patch 8.2.3794: Vim9: cannot find script-local func using "s:"

Problem:    Vim9: cannot find script-local func using "s:". (Yegappan
            Lakshmanan)
Solution:   Skip the "s:".

3 years agopatch 8.2.3793: using "g:Func" as a funcref does not work in script context v8.2.3793
Bram Moolenaar [Sun, 12 Dec 2021 21:02:03 +0000 (21:02 +0000)]
patch 8.2.3793: using "g:Func" as a funcref does not work in script context

Problem:    Using "g:Func" as a funcref does not work in script context
            because "g:" is dropped.
Solution:   Keep "g:" in the name.  Also add parenthesis to avoid confusing
            operator prececence. (closes #9336)

3 years agopatch 8.2.3792: setting *func options insufficiently tested v8.2.3792
Yegappan Lakshmanan [Sun, 12 Dec 2021 20:08:05 +0000 (20:08 +0000)]
patch 8.2.3792: setting *func options insufficiently tested

Problem:    Setting *func options insufficiently tested.
Solution:   Impove tests. (Yegappan Lakshmanan, closes #9337)

3 years agopatch 8.2.3791: build error with +cindent but without +smartindent v8.2.3791
Bram Moolenaar [Sun, 12 Dec 2021 19:10:44 +0000 (19:10 +0000)]
patch 8.2.3791: build error with +cindent but without +smartindent

Problem:    Build error with +cindent but without +smartindent.
Solution:   Move declaration of "do_cindent". (John Marriott)

3 years agopatch 8.2.3790: test for term_gettitle() fails in some environments v8.2.3790
Bram Moolenaar [Sun, 12 Dec 2021 18:50:19 +0000 (18:50 +0000)]
patch 8.2.3790: test for term_gettitle() fails in some environments

Problem:    Test for term_gettitle() fails in some environments.
Solution:   Make the digits after "VIM" optional. (Kenta Sato, closes #9334)

3 years agopatch 8.2.3789: Test_window_minimal_size can fail on a slow machine v8.2.3789
ichizok [Sun, 12 Dec 2021 16:42:09 +0000 (16:42 +0000)]
patch 8.2.3789: Test_window_minimal_size can fail on a slow machine

Problem:    Test_window_minimal_size can fail on a slow machine.
Solution:   Do not rely on timers firing at the expected time. (Ozaki Kiichi,
            closes #9335)

3 years agopatch 8.2.3788: lambda for option that is a function may be freed v8.2.3788
Yegappan Lakshmanan [Sun, 12 Dec 2021 16:26:44 +0000 (16:26 +0000)]
patch 8.2.3788: lambda for option that is a function may be freed

Problem:    Lambda for option that is a function may be garbage collected.
Solution:   Set a reference in the funcref. (Yegappan Lakshmanan,
            closes #9330)

3 years agopatch 8.2.3787: no proper formatting of a C line comment after a statement v8.2.3787
Bram Moolenaar [Sun, 12 Dec 2021 14:16:39 +0000 (14:16 +0000)]
patch 8.2.3787: no proper formatting of a C line comment after a statement

Problem:    No proper formatting of a C line comment after a statement.
Solution:   Find the start of the line comment, insert the comment leader and
            indent the comment properly.

3 years agoUse text area for environment in the bug template.
Bram Moolenaar [Sun, 12 Dec 2021 11:44:11 +0000 (11:44 +0000)]
Use text area for environment in the bug template.

3 years agoUpdate issue template.
Bram Moolenaar [Sun, 12 Dec 2021 11:34:22 +0000 (11:34 +0000)]
Update issue template.

3 years agopatch 8.2.3786: test fails because of using Vim9 syntax in legacy function v8.2.3786
Bram Moolenaar [Sat, 11 Dec 2021 18:46:29 +0000 (18:46 +0000)]
patch 8.2.3786: test fails because of using Vim9 syntax in legacy function

Problem:    Test fails because of using Vim9 syntax in legacy function.
Solution:   Add "call".

3 years agopatch 8.2.3785: running CI on MacOS with gcc is not useful v8.2.3785
ichizok [Sat, 11 Dec 2021 17:34:19 +0000 (17:34 +0000)]
patch 8.2.3785: running CI on MacOS with gcc is not useful

Problem:    Running CI on MacOS with gcc is not useful.
Solution:   Only use clang. (Ozaki Kiichi, closes #9326)  Also build with
            normal features.

3 years agopatch 8.2.3784: the help for options is outdated v8.2.3784
Bram Moolenaar [Sat, 11 Dec 2021 17:24:39 +0000 (17:24 +0000)]
patch 8.2.3784: the help for options is outdated

Problem:    The help for options is outdated.
Solution:   Include all the recent changes.

3 years agopatch 8.2.3783: confusing error for using a variable as a function v8.2.3783
Bram Moolenaar [Sat, 11 Dec 2021 16:14:07 +0000 (16:14 +0000)]
patch 8.2.3783: confusing error for using a variable as a function

Problem:    Confusing error for using a variable as a function.
Solution:   If a function is not found but there is a variable, give a more
            useful error. (issue #9310)

3 years agopatch 8.2.3782: Vim9: no error if a function shadows a script variable v8.2.3782
Bram Moolenaar [Sat, 11 Dec 2021 13:54:46 +0000 (13:54 +0000)]
patch 8.2.3782: Vim9: no error if a function shadows a script variable

Problem:    Vim9: no error if a function shadows a script variable.
Solution:   Check the function doesn't shadow a variable. (closes #9310)

3 years agopatch 8.2.3781: the option window script is outdated v8.2.3781
Bram Moolenaar [Sat, 11 Dec 2021 12:33:52 +0000 (12:33 +0000)]
patch 8.2.3781: the option window script is outdated

Problem:    The option window script is outdated.
Solution:   Add several changes.

3 years agopatch 8.2.3780: ":cd" works differently on MS-Windows v8.2.3780
Bakudankun [Sat, 11 Dec 2021 12:28:08 +0000 (12:28 +0000)]
patch 8.2.3780: ":cd" works differently on MS-Windows

Problem:    ":cd" works differently on MS-Windows.
Solution:   Add the 'cdhome' option. (closes #9324)

3 years agopatch 8.2.3779: using freed memory when defining a user command recursively v8.2.3779
Bram Moolenaar [Fri, 10 Dec 2021 21:46:09 +0000 (21:46 +0000)]
patch 8.2.3779: using freed memory when defining a user command recursively

Problem:    Using freed memory when defining a user command from a user
            command.
Solution:   Do not use the command pointer after executing the command.
            (closes #9318)

3 years agopatch 8.2.3778: lambda debug test fails in some configurations v8.2.3778
Bram Moolenaar [Fri, 10 Dec 2021 21:05:53 +0000 (21:05 +0000)]
patch 8.2.3778: lambda debug test fails in some configurations

Problem:    Lambda debug test fails in some configurations.
Solution:   Check feature in a legacy function.

3 years agopatch 8.2.3777: spell file write error not checked v8.2.3777
=?UTF-8?q?Bj=C3=B6rn=20Linse?= [Fri, 10 Dec 2021 20:39:17 +0000 (20:39 +0000)]
patch 8.2.3777: spell file write error not checked

Problem:    Spell file write error not checked.
Solution:   Check writing the prefix conditions. (Bjorn Linse, closes #9323)

3 years agopatch 8.2.3776: when a tags file line is long a tag may not be found v8.2.3776
Bram Moolenaar [Fri, 10 Dec 2021 20:15:15 +0000 (20:15 +0000)]
patch 8.2.3776: when a tags file line is long a tag may not be found

Problem:    When a tags file line is long a tag may not be found.
Solution:   When increasing the buffer size read the same line again.

3 years agopatch 8.2.3775: Vim9: lambda compiled without outer context when debugging v8.2.3775
Bram Moolenaar [Fri, 10 Dec 2021 16:55:58 +0000 (16:55 +0000)]
patch 8.2.3775: Vim9: lambda compiled without outer context when debugging

Problem:    Vim9: lambda compiled without outer context when debugging.
Solution:   When compiling a lambda for debugging also compile it without.
            (closes #9302)

3 years agopatch 8.2.3774: test for command line height fails v8.2.3774
Bram Moolenaar [Fri, 10 Dec 2021 13:40:08 +0000 (13:40 +0000)]
patch 8.2.3774: test for command line height fails

Problem:    Test for command line height fails.
Solution:   Use another way to handle window size change.

3 years agopatch 8.2.3773: wrong window size when a modeline changes 'columns' v8.2.3773
Bram Moolenaar [Fri, 10 Dec 2021 12:11:09 +0000 (12:11 +0000)]
patch 8.2.3773: wrong window size when a modeline changes 'columns'

Problem:    Wrong window size when a modeline changes 'columns' and there is
            more than one tabpage. (Michael Soyka)
Solution:   Adjust the frames of all tabpages. (closes #9315)

3 years agopatch 8.2.3772: timer info test fails on slow machine v8.2.3772
Bram Moolenaar [Fri, 10 Dec 2021 10:57:08 +0000 (10:57 +0000)]
patch 8.2.3772: timer info test fails on slow machine

Problem:    Timer info test fails on slow machine.
Solution:   Use WaitForAssert().

3 years agopatch 8.2.3771: Vim9: accessing freed memory when checking type v8.2.3771
Bram Moolenaar [Fri, 10 Dec 2021 10:37:38 +0000 (10:37 +0000)]
patch 8.2.3771: Vim9: accessing freed memory when checking type

Problem:    Vim9: accessing freed memory when checking type.
Solution:   Make a copy of a function type.

3 years agopatch 8.2.3770: new compiler warnings from clang-12 and clang-13 v8.2.3770
ichizok [Thu, 9 Dec 2021 21:08:01 +0000 (21:08 +0000)]
patch 8.2.3770: new compiler warnings from clang-12 and clang-13

Problem:    New compiler warnings from clang-12 and clang-13.
Solution:   Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)

3 years agopatch 8.2.3769: zig files are not recognized v8.2.3769
Gregory Anders [Thu, 9 Dec 2021 20:54:21 +0000 (20:54 +0000)]
patch 8.2.3769: zig files are not recognized

Problem:    Zig files are not recognized.
Solution:   Add *.zig. (Gregory Anders, closes #9313)

3 years agopatch 8.2.3768: timer_info() has the wrong repeat value in a timer callback v8.2.3768
Bram Moolenaar [Thu, 9 Dec 2021 18:42:57 +0000 (18:42 +0000)]
patch 8.2.3768: timer_info() has the wrong repeat value in a timer callback

Problem:    timer_info() has the wrong repeat value in a timer callback.
Solution:   Do not add one to the repeat value when in the callback.
            (closes #9294)

3 years agopatch 8.2.3767: crash when using NULL partial v8.2.3767
Bram Moolenaar [Thu, 9 Dec 2021 17:44:01 +0000 (17:44 +0000)]
patch 8.2.3767: crash when using NULL partial

Problem:    Crash when using NULL partial.
Solution:   Check for NULL.

3 years agopatch 8.2.3766: converting a funcref to a string leaves out "g:" v8.2.3766
Bram Moolenaar [Thu, 9 Dec 2021 16:40:18 +0000 (16:40 +0000)]
patch 8.2.3766: converting a funcref to a string leaves out "g:"

Problem:    Converting a funcref to a string leaves out "g:", causing the
            meaning of the name depending on the context.
Solution:   Prepend "g:" for a global function.

3 years agopatch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others v8.2.3765
Bram Moolenaar [Thu, 9 Dec 2021 14:23:43 +0000 (14:23 +0000)]
patch 8.2.3765: Vim9: cannot use a lambda for 'opfunc' and others

Problem:    Vim9: cannot use a lambda for 'opfunc' and others.
Solution:   Convert the lambda to a string.

3 years agopatch 8.2.3764: cannot see any text when window was made zero lines v8.2.3764
Bram Moolenaar [Thu, 9 Dec 2021 11:57:22 +0000 (11:57 +0000)]
patch 8.2.3764: cannot see any text when window was made zero lines

Problem:    Cannot see any text when window was made zero lines or zero
            columns.
Solution:   Ensure there is at least one line and column. (fixes #9307)

3 years agopatch 8.2.3763: when editing the cmdline a callback may cause a scroll up v8.2.3763
Bram Moolenaar [Thu, 9 Dec 2021 10:51:05 +0000 (10:51 +0000)]
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up

Problem:    When editing the command line a FocusLost callback may cause the
            screen to scroll up.
Solution:   Do not redraw at the last line but at the same place where the
            command line was before. (closes #9295)

3 years agopatch 8.2.3762: if quickfix buffer is wiped out getqflist() still returns it v8.2.3762
Yegappan Lakshmanan [Thu, 9 Dec 2021 09:27:06 +0000 (09:27 +0000)]
patch 8.2.3762: if quickfix buffer is wiped out getqflist() still returns it

Problem:    If the quickfix buffer is wiped out getqflist() still returns its
            number.
Solution:   Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
            closes #9306)

3 years agopatch 8.2.3761: focus change is not passed on to a terminal window v8.2.3761
Bram Moolenaar [Wed, 8 Dec 2021 22:13:38 +0000 (22:13 +0000)]
patch 8.2.3761: focus change is not passed on to a terminal window

Problem:    Focus change is not passed on to a terminal window.
Solution:   If the current window is a terminal and focus events are enabled
            send a focus event escape sequence to the terminal.

3 years agopatch 8.2.3760: not automatically handling gnome terminal mouse like xterm v8.2.3760
Bram Moolenaar [Wed, 8 Dec 2021 21:00:24 +0000 (21:00 +0000)]
patch 8.2.3760: not automatically handling gnome terminal mouse like xterm

Problem:    Not automatically handling gnome terminal mouse like xterm.
Solution:   Default 'ttymouse' to "xterm" and recognize Focus events.
            (issue #9296)

3 years agopatch 8.2.3759: quickfix buffer becomes hidden while still in a window v8.2.3759
Yegappan Lakshmanan [Wed, 8 Dec 2021 20:03:31 +0000 (20:03 +0000)]
patch 8.2.3759: quickfix buffer becomes hidden while still in a window

Problem:    Quickfix buffer becomes hidden while still in a window.
Solution:   Check if the closed window is the last window showing the quickfix
            buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)

3 years agopatch 8.2.3758: options that take a function insufficiently tested v8.2.3758
Yegappan Lakshmanan [Wed, 8 Dec 2021 10:46:21 +0000 (10:46 +0000)]
patch 8.2.3758: options that take a function insufficiently tested

Problem:    Options that take a function insufficiently tested.
Solution:   Add additional tests and enhance existing tests. (Yegappan
            Lakshmanan, closes #9298)

3 years agopatch 8.2.3757: an overlong highlight group name is silently truncated v8.2.3757
erw7 [Tue, 7 Dec 2021 21:29:20 +0000 (21:29 +0000)]
patch 8.2.3757: an overlong highlight group name is silently truncated

Problem:    An overlong highlight group name is silently truncated.
Solution:   Give an error if the name is too long. (closes #9289)

3 years agopatch 8.2.3756: might crash when callback is not valid v8.2.3756
Yegappan Lakshmanan [Tue, 7 Dec 2021 12:23:57 +0000 (12:23 +0000)]
patch 8.2.3756: might crash when callback is not valid

Problem:    might crash when callback is not valid.
Solution:   Check for valid callback. (Yegappan Lakshmanan, closes #9293)

3 years agopatch 8.2.3755: Coverity warns for using a buffer in another scope v8.2.3755
Bram Moolenaar [Tue, 7 Dec 2021 11:03:39 +0000 (11:03 +0000)]
patch 8.2.3755: Coverity warns for using a buffer in another scope

Problem:    Coverity warns for using a buffer in another scope.
Solution:   Declare the buffer in a common scope.

3 years agopatch 8.2.3754: undesired changing of the indent of the first formatted line v8.2.3754
Bram Moolenaar [Mon, 6 Dec 2021 19:51:01 +0000 (19:51 +0000)]
patch 8.2.3754: undesired changing of the indent of the first formatted line

Problem:    Undesired changing of the indent of the first formatted line.
Solution:   Do not indent the first formatted line.

3 years agoAdd Huntr badge.
Bram Moolenaar [Mon, 6 Dec 2021 15:13:31 +0000 (15:13 +0000)]
Add Huntr badge.

3 years agopatch 8.2.3753: Vim9: function unreferenced while called is never deleted v8.2.3753
Bram Moolenaar [Mon, 6 Dec 2021 15:06:54 +0000 (15:06 +0000)]
patch 8.2.3753: Vim9: function unreferenced while called is never deleted

Problem:    Vim9: function unreferenced while called is never deleted.
Solution:   Delete a function when no longer referenced.

3 years agopatch 8.2.3752: build error when using Photon GUI v8.2.3752
h-east [Mon, 6 Dec 2021 11:24:09 +0000 (11:24 +0000)]
patch 8.2.3752: build error when using Photon GUI

Problem:    Build error when using Photon GUI.
Solution:   Adjust #ifdef. (closes #9288)

3 years agopatch 8.2.3751: cannot assign a lambda to an option that takes a function v8.2.3751
Yegappan Lakshmanan [Mon, 6 Dec 2021 11:03:55 +0000 (11:03 +0000)]
patch 8.2.3751: cannot assign a lambda to an option that takes a function

Problem:    Cannot assign a lambda to an option that takes a function.
Solution:   Automatically convert the lambda to a string. (Yegappan
            Lakshmanan, closes #9286)

3 years agopatch 8.2.3750: error messages are everywhere v8.2.3750
Bram Moolenaar [Sun, 5 Dec 2021 22:19:27 +0000 (22:19 +0000)]
patch 8.2.3750: error messages are everywhere

Problem:    Error messages are everywhere.
Solution:   Move more error messages to errors.h and adjust the names.

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 5 Dec 2021 21:54:04 +0000 (21:54 +0000)]
Update runtime files

3 years agopatch 8.2.3749: error messages are everywhere v8.2.3749
Bram Moolenaar [Sun, 5 Dec 2021 21:46:34 +0000 (21:46 +0000)]
patch 8.2.3749: error messages are everywhere

Problem:    Error messages are everywhere.
Solution:   Move more error messages to errors.h and adjust the names.

3 years agopatch 8.2.3748: giving an error for an empty sign argument breaks a plugin v8.2.3748
Bram Moolenaar [Sun, 5 Dec 2021 19:10:04 +0000 (19:10 +0000)]
patch 8.2.3748: giving an error for an empty sign argument breaks a plugin

Problem:    Giving an error for an empty sign argument breaks a plugin.
Solution:   Do not give an error.

3 years agopatch 8.2.3747: cannot remove highlight from an existing sign v8.2.3747
Bram Moolenaar [Sun, 5 Dec 2021 17:45:49 +0000 (17:45 +0000)]
patch 8.2.3747: cannot remove highlight from an existing sign

Problem:    Cannot remove highlight from an existing sign. (James McCoy)
Solution:   Only reject empty argument for a new sign.

3 years agopatch 8.2.3746: cannot disassemble function starting with "debug" or "profile" v8.2.3746
Bram Moolenaar [Sun, 5 Dec 2021 17:20:24 +0000 (17:20 +0000)]
patch 8.2.3746: cannot disassemble function starting with "debug" or "profile"

Problem:    Cannot disassemble function starting with "debug" or "profile".
Solution:   Check for white space following. (closes #9273)

3 years agopatch 8.2.3745: autochdir test fails without the +channel feature v8.2.3745
Dominique Pelle [Sun, 5 Dec 2021 13:40:01 +0000 (13:40 +0000)]
patch 8.2.3745: autochdir test fails without the +channel feature

Problem:    Autochdir test fails without the +channel feature.
Solution:   Remove the ch_logfile() call. (Dominique Pellé, closes #9281)

3 years agopatch 8.2.3744: E854 is not tested; some spelling suggestions are not tested v8.2.3744
Dominique Pelle [Sun, 5 Dec 2021 13:21:18 +0000 (13:21 +0000)]
patch 8.2.3744: E854 is not tested; some spelling suggestions are not tested

Problem:    E854 is not tested; some spelling suggestions are not tested.
Solution:   Add a couple of tests. (Dominique Pellé, closes #9279)

3 years agopatch 8.2.3743: ":sign" can add a highlight group without a name v8.2.3743
Bram Moolenaar [Sun, 5 Dec 2021 13:02:50 +0000 (13:02 +0000)]
patch 8.2.3743: ":sign" can add a highlight group without a name

Problem:    ":sign" can add a highlight group without a name.
Solution:   Give an error if the group name is missing. (closes #9280)

3 years agopatch 8.2.3742: dec mouse test fails without gnome terminfo entry v8.2.3742
Dominique Pelle [Sun, 5 Dec 2021 12:39:21 +0000 (12:39 +0000)]
patch 8.2.3742: dec mouse test fails without gnome terminfo entry

Problem:    Dec mouse test fails without gnome terminfo entry.
Solution:   Check if there is a gnome entry. Also fix 'acd' test on
            MS-Windows. (Dominique Pellé, closes #9282)

3 years agopatch 8.2.3741: using freed memory in open command v8.2.3741
Bram Moolenaar [Sun, 5 Dec 2021 12:06:24 +0000 (12:06 +0000)]
patch 8.2.3741: using freed memory in open command

Problem:    Using freed memory in open command.
Solution:   Make a copy of the current line.

3 years agopatch 8.2.3740: memory left allocated on exit when using Tcl v8.2.3740
Bram Moolenaar [Sun, 5 Dec 2021 11:36:23 +0000 (11:36 +0000)]
patch 8.2.3740: memory left allocated on exit when using Tcl

Problem:    Memory left allocated on exit when using Tcl.
Solution:   Call Tcl_Finalize().

3 years agopatch 8.2.3739: in wrong directory when using win_execute() with 'acd' set v8.2.3739
Bram Moolenaar [Sat, 4 Dec 2021 22:03:34 +0000 (22:03 +0000)]
patch 8.2.3739: in wrong directory when using win_execute() with 'acd' set

Problem:    In wrong directory when using win_execute() with 'acd' set.
Solution:   Restore the directory when returning to the window. (closes #9276)

3 years agopatch 8.2.3738: screen is cleared when a FocusLost autocommand triggers v8.2.3738
Bram Moolenaar [Sat, 4 Dec 2021 17:20:27 +0000 (17:20 +0000)]
patch 8.2.3738: screen is cleared when a FocusLost autocommand triggers

Problem:    Screen is cleared when a FocusLost autocommand triggers.
Solution:   Do not redraw when at the hit-enter or more prompt. (closes #9274)

3 years agopatch 8.2.3737: test fails without the 'autochdir' option v8.2.3737
Dominique Pelle [Sat, 4 Dec 2021 15:12:40 +0000 (15:12 +0000)]
patch 8.2.3737: test fails without the 'autochdir' option

Problem:    Test fails without the 'autochdir' option.
Solution:   Check that the option is available. (Dominique Pellé, closes #9272)

3 years agopatch 8.2.3736: test fails without the channel feature v8.2.3736
Bram Moolenaar [Sat, 4 Dec 2021 15:00:23 +0000 (15:00 +0000)]
patch 8.2.3736: test fails without the channel feature

Problem:    Test fails without the channel feature. (Dominique Pellé)
Solution:   Source the check.vim script. (closes #9277)

3 years agopatch 8.2.3735: cannot use a lambda for 'imactivatefunc' v8.2.3735
Yegappan Lakshmanan [Sat, 4 Dec 2021 14:02:30 +0000 (14:02 +0000)]
patch 8.2.3735: cannot use a lambda for 'imactivatefunc'

Problem:    Cannot use a lambda for 'imactivatefunc'.
Solution:   Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
            (Yegappan Lakshmanan, closes #9275)

3 years agopatch 8.2.3734: Vim9: crash when no pattern match found v8.2.3734
Bram Moolenaar [Sat, 4 Dec 2021 13:15:10 +0000 (13:15 +0000)]
patch 8.2.3734: Vim9: crash when no pattern match found

Problem:    Vim9: crash when no pattern match found.
Solution:   Check for error.

3 years agopatch 8.2.3733: Vim9: using "legacy" before range does not work v8.2.3733
Bram Moolenaar [Sat, 4 Dec 2021 11:57:00 +0000 (11:57 +0000)]
patch 8.2.3733: Vim9: using "legacy" before range does not work

Problem:    Vim9: using "legacy" before range does not work.
Solution:   Skip over range before parsing command. (closes #9270)

3 years agopatch 8.2.3732: "set! termcap" test fails v8.2.3732
Bram Moolenaar [Fri, 3 Dec 2021 21:18:14 +0000 (21:18 +0000)]
patch 8.2.3732: "set! termcap" test fails

Problem:    "set! termcap" test fails.
Solution:   Account for keys without a t_xx entry.

3 years agopatch 8.2.3731: "set! termcap" shows codes in one column, but not keys v8.2.3731
Bram Moolenaar [Fri, 3 Dec 2021 20:43:24 +0000 (20:43 +0000)]
patch 8.2.3731: "set! termcap" shows codes in one column, but not keys

Problem:    "set! termcap" shows codes in one column, but not keys.
Solution:   Also use one column for keys. (closes #9258)

3 years agopatch 8.2.3730: "/etc/Muttrc.d/README" gets filetype muttrc v8.2.3730
Bram Moolenaar [Fri, 3 Dec 2021 19:24:41 +0000 (19:24 +0000)]
patch 8.2.3730: "/etc/Muttrc.d/README" gets filetype muttrc

Problem:    "/etc/Muttrc.d/README" gets filetype muttrc.
Solution:   Move the Muttrc.d pattern down, add exception for *.rc files.

3 years agopatch 8.2.3729: no support for squirrels v8.2.3729
Matt Dunford [Fri, 3 Dec 2021 17:44:26 +0000 (17:44 +0000)]
patch 8.2.3729: no support for squirrels

Problem:    No support for squirrels. (closes #9259)
Solution:   Recognize nuts.

3 years agopatch 8.2.3728: internal error when passing range() to list2blob() v8.2.3728
kuuote [Fri, 3 Dec 2021 13:57:00 +0000 (13:57 +0000)]
patch 8.2.3728: internal error when passing range() to list2blob()

Problem:    Internal error when passing range() to list2blob().
Solution:   Materialize the list first. (closes #9262)

3 years agopatch 8.2.3727: in a gnome terminal keys are recognized as mouse events v8.2.3727
Bram Moolenaar [Fri, 3 Dec 2021 13:20:29 +0000 (13:20 +0000)]
patch 8.2.3727: in a gnome terminal keys are recognized as mouse events

Problem:    In a gnome terminal keys are recognized as mouse events.
Solution:   Only recognize DEC mouse events when four numbers are following.
            (closes #9256)

3 years agopatch 8.2.3726: README file in a config directory gets wrong filetype v8.2.3726
Bram Moolenaar [Fri, 3 Dec 2021 11:44:03 +0000 (11:44 +0000)]
patch 8.2.3726: README file in a config directory gets wrong filetype

Problem:    README file in a config directory gets wrong filetype.
Solution:   Match README before patterns that match everything in a directory.

3 years agopatch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc' v8.2.3725
Yegappan Lakshmanan [Fri, 3 Dec 2021 11:09:29 +0000 (11:09 +0000)]
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'

Problem:    Cannot use a lambda for 'completefunc' and 'omnifunc'.
Solution:   Implement lambda support. (Yegappan Lakshmanan, closes #9257)

3 years agopatch 8.2.3724: build error for missing error message in small build v8.2.3724
Bram Moolenaar [Thu, 2 Dec 2021 20:44:42 +0000 (20:44 +0000)]
patch 8.2.3724: build error for missing error message in small build

Problem:    Build error for missing error message in small build.
Solution:   Correct #ifdef.

3 years agopatch 8.2.3723: when using 'linebreak' a text property starts too early v8.2.3723
Bram Moolenaar [Thu, 2 Dec 2021 19:46:57 +0000 (19:46 +0000)]
patch 8.2.3723: when using 'linebreak' a text property starts too early

Problem:    When using 'linebreak' a text property starts too early.
Solution:   Decrement "bcol" when looking for property start. (closes #9242)

3 years agopatch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text v8.2.3722
Bram Moolenaar [Thu, 2 Dec 2021 18:55:16 +0000 (18:55 +0000)]
patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text

Problem:    Amiga: superfluous messages for freeing lots of yanked text.
Solution:   Assume that the machine isn't that slow these days.

3 years agopatch 8.2.3721: using memory freed by losing the clipboard selection v8.2.3721
Bram Moolenaar [Thu, 2 Dec 2021 18:42:33 +0000 (18:42 +0000)]
patch 8.2.3721: using memory freed by losing the clipboard selection

Problem:    Using memory freed by losing the clipboard selection. (Dominique
            Pellé)
Solution:   Check y_array is still valid after calling changed_lines().
            (closes #9253)

3 years agopatch 8.2.3720: Vim9: Internal error when invoking closure in legacy context v8.2.3720
Bram Moolenaar [Thu, 2 Dec 2021 16:38:52 +0000 (16:38 +0000)]
patch 8.2.3720: Vim9: Internal error when invoking closure in legacy context

Problem:    Vim9: Internal error when invoking closure in legacy context.
Solution:   Give a more appropriate error message. (closes #9251)

3 years agopatch 8.2.3719: MS-Windows: test sometimes runs into existing swap file v8.2.3719
Bram Moolenaar [Thu, 2 Dec 2021 12:30:22 +0000 (12:30 +0000)]
patch 8.2.3719: MS-Windows: test sometimes runs into existing swap file

Problem:    MS-Windows: test sometimes runs into existing swap file.
Solution:   Use a different file name.

3 years agopatch 8.2.3718: compiler warns for unused variable without +textprop v8.2.3718
Bram Moolenaar [Thu, 2 Dec 2021 11:34:21 +0000 (11:34 +0000)]
patch 8.2.3718: compiler warns for unused variable without +textprop

Problem:    Compiler warns for unused variable without the +textprop feature.
            (John Marriott)
Solution:   Adjust #ifdefs.

3 years agopatch 8.2.3717: Vim9: error for constant list size is only given at runtime v8.2.3717
Bram Moolenaar [Wed, 1 Dec 2021 17:38:01 +0000 (17:38 +0000)]
patch 8.2.3717: Vim9: error for constant list size is only given at runtime

Problem:    Vim9: error for constant list size is only given at runtime.
Solution:   Give the error at compile time if possible.

3 years agopatch 8.2.3716: Vim9: range without a command is not compiled v8.2.3716
Bram Moolenaar [Wed, 1 Dec 2021 15:22:56 +0000 (15:22 +0000)]
patch 8.2.3716: Vim9: range without a command is not compiled

Problem:    Vim9: range without a command is not compiled.
Solution:   Add the ISN_EXECRANGE byte code.

3 years agopatch 8.2.3715: Vim9: valgrind reports spurious problems for a test v8.2.3715
Bram Moolenaar [Wed, 1 Dec 2021 12:41:31 +0000 (12:41 +0000)]
patch 8.2.3715: Vim9: valgrind reports spurious problems for a test

Problem:    Vim9: valgrind reports spurious problems for a test.
Solution:   Move the test to the set that is known to fail.

3 years agopatch 8.2.3714: some unused assignments and ugly code in xxd v8.2.3714
DungSaga [Wed, 1 Dec 2021 11:24:52 +0000 (11:24 +0000)]
patch 8.2.3714: some unused assignments and ugly code in xxd

Problem:    Some unused assignments and ugly code in xxd.
Solution:   Leave out assignments.  Use marcro for fprintf(). (closes #9246)

3 years agopatch 8.2.3713: MS-Windows: no error if vimgrep pattern is not matching v8.2.3713
Christian Brabandt [Wed, 1 Dec 2021 10:54:24 +0000 (10:54 +0000)]
patch 8.2.3713: MS-Windows: no error if vimgrep pattern is not matching

Problem:    MS-Windows: No error message if vimgrep pattern is not matching.
Solution:   Give an error message. (Christian Brabandt, closes #9245,
            closes #8762)