]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.2718: Vim9: no explicit test for using a global function without g: v8.2.2718
Bram Moolenaar [Mon, 5 Apr 2021 13:38:51 +0000 (15:38 +0200)]
patch 8.2.2718: Vim9: no explicit test for using a global function without g:

Problem:    Vim9: no explicit test for using a global function without the g:
            prefix.
Solution:   Add a test case.

3 years agopatch 8.2.2717: GTK menu items don't show a tooltip v8.2.2717
Bram Moolenaar [Mon, 5 Apr 2021 12:13:20 +0000 (14:13 +0200)]
patch 8.2.2717: GTK menu items don't show a tooltip

Problem:    GTK menu items don't show a tooltip.
Solution:   Add a callback to show the tooltip. (Leonid V. Fedorenchik,
            closes #8067, closes #7810)

3 years agopatch 8.2.2716: the equivalent class regexp is missing some characters v8.2.2716
Bram Moolenaar [Mon, 5 Apr 2021 11:59:53 +0000 (13:59 +0200)]
patch 8.2.2716: the equivalent class regexp is missing some characters

Problem:    The equivalent class regexp is missing some characters.
Solution:   Update the list of equivalent characters. (Dominique Pellé,
            closes #8029)

3 years agopatch 8.2.2715: Vim9: tests fail without the channel feature v8.2.2715
Bram Moolenaar [Mon, 5 Apr 2021 11:36:34 +0000 (13:36 +0200)]
patch 8.2.2715: Vim9: tests fail without the channel feature

Problem:    Vim9: tests fail without the channel feature. (Dominique Pellé)
Solution:   Check for the channel feature. (closes #8063)

3 years agopatch 8.2.2714: filetype pattern ending in star is too far up v8.2.2714
Bram Moolenaar [Mon, 5 Apr 2021 11:10:43 +0000 (13:10 +0200)]
patch 8.2.2714: filetype pattern ending in star is too far up

Problem:    Filetype pattern ending in star is too far up.
Solution:   Move down to where patterns ending in star belong. (closes #8065)

3 years agopatch 8.2.2713: folding code not sufficiently tested v8.2.2713
Bram Moolenaar [Mon, 5 Apr 2021 10:47:25 +0000 (12:47 +0200)]
patch 8.2.2713: folding code not sufficiently tested

Problem:    Folding code not sufficiently tested.
Solution:   Add a few more test cases. (Yegappan Lakshmanan, closes #8064)

3 years agopatch 8.2.2712: memory leak when adding to a blob fails v8.2.2712
Bram Moolenaar [Sun, 4 Apr 2021 19:55:23 +0000 (21:55 +0200)]
patch 8.2.2712: memory leak when adding to a blob fails

Problem:    Memory leak when adding to a blob fails.
Solution:   Clear the second typval before returning.

3 years agopatch 8.2.2711: "gj" in a closed fold does not move out of the fold v8.2.2711
Bram Moolenaar [Sun, 4 Apr 2021 19:26:04 +0000 (21:26 +0200)]
patch 8.2.2711: "gj" in a closed fold does not move out of the fold

Problem:    "gj" in a closed fold does not move out of the fold. (Marco Hinz)
Solution:   Add a check for being in a closed fold. (closes #8062)

3 years agopatch 8.2.2710: Vim9: not all tests cover script and :def function v8.2.2710
Bram Moolenaar [Sun, 4 Apr 2021 18:49:50 +0000 (20:49 +0200)]
patch 8.2.2710: Vim9: not all tests cover script and :def function

Problem:    Vim9: not all tests cover script and :def function.
Solution:   Run tests in both if possible. Fix differences.

3 years agopatch 8.2.2709: the GTK GUI has a gap next to the scrollbar v8.2.2709
Bram Moolenaar [Sun, 4 Apr 2021 13:57:12 +0000 (15:57 +0200)]
patch 8.2.2709: the GTK GUI has a gap next to the scrollbar

Problem:    The GTK GUI has a gap next to the scrollbar.
Solution:   Calculate the scrollbar padding for GTK. (closes #8027)

3 years agopatch 8.2.2708: test sometimes fails waiting for shell in terminal v8.2.2708
Bram Moolenaar [Sun, 4 Apr 2021 13:28:59 +0000 (15:28 +0200)]
patch 8.2.2708: test sometimes fails waiting for shell in terminal

Problem:    Test sometimes fails waiting for shell in terminal.
Solution:   Use WaitForAssert() so we can see the actual job status.  Use
            Run_shell_in_terminal().

3 years agopatch 8.2.2707: adding a lot of completions can still be a bit slow v8.2.2707
Bram Moolenaar [Sun, 4 Apr 2021 13:05:22 +0000 (15:05 +0200)]
patch 8.2.2707: adding a lot of completions can still be a bit slow

Problem:    Adding a lot of completions can still be a bit slow.
Solution:   Add the check for CP_FAST. (Ben Jackson)

3 years agopatch 8.2.2706: Vim9: wrong line number reported for boolean operator v8.2.2706
Bram Moolenaar [Sat, 3 Apr 2021 19:47:07 +0000 (21:47 +0200)]
patch 8.2.2706: Vim9: wrong line number reported for boolean operator

Problem:    Vim9: wrong line number reported for boolean operator.
Solution:   Use the line number before skipping over line break.
            (closes #8058)

3 years agopatch 8.2.2705: Vim9: misleading reported line number for wrong type v8.2.2705
Bram Moolenaar [Sat, 3 Apr 2021 19:01:01 +0000 (21:01 +0200)]
patch 8.2.2705: Vim9: misleading reported line number for wrong type

Problem:    Vim9: misleading reported line number for wrong type.
Solution:   Remember and use the line number at the start. (closes #8059)

3 years agopatch 8.2.2704: adding a lot of completions can be a bit slow v8.2.2704
Bram Moolenaar [Sat, 3 Apr 2021 18:13:30 +0000 (20:13 +0200)]
patch 8.2.2704: adding a lot of completions can be a bit slow

Problem:    Adding a lot of completions can be a bit slow.
Solution:   Use fast_breakcheck() instead of ui_breakcheck() when adding a
            list of completions. (Ben Jackson, closes #8061)

3 years agopatch 8.2.2703: Vim9: memory leak when failing on locked variable v8.2.2703
Bram Moolenaar [Sat, 3 Apr 2021 17:32:44 +0000 (19:32 +0200)]
patch 8.2.2703: Vim9: memory leak when failing on locked variable

Problem:    Vim9: memory leak when failing on locked variable.
Solution:   Free the memory.

3 years agopatch 8.2.2702: compiler completion test fails when more scripts are added v8.2.2702
Bram Moolenaar [Sat, 3 Apr 2021 17:07:05 +0000 (19:07 +0200)]
patch 8.2.2702: compiler completion test fails when more scripts are added

Problem:    Compiler completion test fails when more scripts are added.
Solution:   Add a more generic pattern.

3 years agopatch 8.2.2701: order of removing FORTIFY_SOURCE is wrong v8.2.2701
Bram Moolenaar [Sat, 3 Apr 2021 15:33:52 +0000 (17:33 +0200)]
patch 8.2.2701: order of removing FORTIFY_SOURCE is wrong

Problem:    Order of removing FORTIFY_SOURCE is wrong.
Solution:   Use the more specific pattern first.

3 years agopatch 8.2.2700: nested autocmd test fails sometimes v8.2.2700
Bram Moolenaar [Sat, 3 Apr 2021 15:22:29 +0000 (17:22 +0200)]
patch 8.2.2700: nested autocmd test fails sometimes

Problem:    Nested autocmd test fails sometimes.
Solution:   Wait for the job to finish.

3 years agopatch 8.2.2699: Lua test fails v8.2.2699
Bram Moolenaar [Sat, 3 Apr 2021 15:18:52 +0000 (17:18 +0200)]
patch 8.2.2699: Lua test fails

Problem:    Lua test fails.
Solution:   Fix condition. (Yegappan Lakshmanan, closes #8060)

3 years agopatch 8.2.2698: Lua test fails on MS-Windows v8.2.2698
Bram Moolenaar [Sat, 3 Apr 2021 13:35:50 +0000 (15:35 +0200)]
patch 8.2.2698: Lua test fails on MS-Windows

Problem:    Lua test fails on MS-Windows.
Solution:   Fall back to old method if "lua -v" doesn't work.

3 years agopatch 8.2.2697: function list test fails v8.2.2697
Bram Moolenaar [Sat, 3 Apr 2021 13:15:47 +0000 (15:15 +0200)]
patch 8.2.2697: function list test fails

Problem:    Function list test fails.
Solution:   Add missing function. (Yegappan Lakshmanan)

3 years agopatch 8.2.2696: Lua test fails with Lua 5.4.3 and later v8.2.2696
Bram Moolenaar [Sat, 3 Apr 2021 12:13:33 +0000 (14:13 +0200)]
patch 8.2.2696: Lua test fails with Lua 5.4.3 and later

Problem:    Lua test fails with Lua 5.4.3 and later.
Solution:   Check for different error messages. (Yegappan Lakshmanan,
            closes #8050)

3 years agopatch 8.2.2695: cursor position reset with nested autocommands v8.2.2695
Bram Moolenaar [Sat, 3 Apr 2021 11:19:26 +0000 (13:19 +0200)]
patch 8.2.2695: cursor position reset with nested autocommands

Problem:    Cursor position reset with nested autocommands.
Solution:   Only check and reset line numbers for not nested autocommands.
            (closes #5820)

3 years agopatch 8.2.2694: when 'matchpairs' is empty every character beeps v8.2.2694
Bram Moolenaar [Fri, 2 Apr 2021 16:55:57 +0000 (18:55 +0200)]
patch 8.2.2694: when 'matchpairs' is empty every character beeps

Problem:    When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution:   Bail out when no character in 'matchpairs' was found.
            (closes #8053)  Add assert_nobeep().

3 years agopatch 8.2.2693: Vim9: locked script variable can be changed v8.2.2693
Bram Moolenaar [Fri, 2 Apr 2021 12:44:02 +0000 (14:44 +0200)]
patch 8.2.2693: Vim9: locked script variable can be changed

Problem:    Vim9: locked script variable can be changed.
Solution:   Check legacy script variable for being locked. (issue #8031)

3 years agopatch 8.2.2692: Vim9: locked script variable can be changed v8.2.2692
Bram Moolenaar [Fri, 2 Apr 2021 12:35:15 +0000 (14:35 +0200)]
patch 8.2.2692: Vim9: locked script variable can be changed

Problem:    Vim9: locked script variable can be changed.
Solution:   Check for locked value. (closes #8031)

3 years agopatch 8.2.2691: autoconf may mess up compiler flags v8.2.2691
Bram Moolenaar [Fri, 2 Apr 2021 11:30:59 +0000 (13:30 +0200)]
patch 8.2.2691: autoconf may mess up compiler flags

Problem:    Autoconf may mess up compiler flags.
Solution:   Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
            closes #8049)

3 years agopatch 8.2.2690: PowerShell files are not recognized v8.2.2690
Bram Moolenaar [Fri, 2 Apr 2021 11:00:15 +0000 (13:00 +0200)]
patch 8.2.2690: PowerShell files are not recognized

Problem:    PowerShell files are not recognized.
Solution:   Recognize several PowerShell extension. (Heath Stewart,
            closes #8051)

3 years agopatch 8.2.2689: tiny build fails v8.2.2689
Bram Moolenaar [Thu, 1 Apr 2021 19:57:46 +0000 (21:57 +0200)]
patch 8.2.2689: tiny build fails

Problem:    Tiny build fails.
Solution:   Add #ifdef around use of p_stl.

3 years agopatch 8.2.2688: Vim9: crash when using s: for script variable v8.2.2688
Bram Moolenaar [Thu, 1 Apr 2021 19:38:53 +0000 (21:38 +0200)]
patch 8.2.2688: Vim9: crash when using s: for script variable

Problem:    Vim9: crash when using s: for script variable.
Solution:   Pass the end pointer. (closes #8045)

3 years agopatch 8.2.2687: Vim9: cannot use "const" for global variable in :def function v8.2.2687
Bram Moolenaar [Thu, 1 Apr 2021 17:42:48 +0000 (19:42 +0200)]
patch 8.2.2687: Vim9: cannot use "const" for global variable in :def function

Problem:    Vim9: cannot use "const" for global variable in :def function.
Solution:   Do allow using :const for a global variable. (closes #8030)

3 years agopatch 8.2.2686: status line is not updated when going to cmdline mode v8.2.2686
Bram Moolenaar [Thu, 1 Apr 2021 16:47:14 +0000 (18:47 +0200)]
patch 8.2.2686: status line is not updated when going to cmdline mode

Problem:    Status line is not updated when going to cmdline mode.
Solution:   Redraw status lines if 'statusline' is set and going to status
            line mode. (based on patch from Justin M. Keyes et al.,
            closes #8044)

3 years agopatch 8.2.2685: custom statusline not drawn correctly with WinBar v8.2.2685
Bram Moolenaar [Thu, 1 Apr 2021 14:16:18 +0000 (16:16 +0200)]
patch 8.2.2685: custom statusline not drawn correctly with WinBar

Problem:    Custom statusline not drawn correctly with WinBar.
Solution:   Also adjust the column for the custom status line. (Yee Cheng
            Chin, closes #8047)

3 years agopatch 8.2.2684: not enough folding code is tested v8.2.2684
Bram Moolenaar [Thu, 1 Apr 2021 11:39:51 +0000 (13:39 +0200)]
patch 8.2.2684: not enough folding code is tested

Problem:    Not enough folding code is tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #8046)

3 years agopatch 8.2.2683: build failure without the +eval feature v8.2.2683
Bram Moolenaar [Thu, 1 Apr 2021 11:17:50 +0000 (13:17 +0200)]
patch 8.2.2683: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.

3 years agopatch 8.2.2682: Vim9: cannot find Name.Func from "import * as Name" v8.2.2682
Bram Moolenaar [Thu, 1 Apr 2021 10:57:57 +0000 (12:57 +0200)]
patch 8.2.2682: Vim9: cannot find Name.Func from "import * as Name"

Problem:    Vim9: cannot find Name.Func from "import * as Name". (Alexander
            Goussas)
Solution:   When no variable found try finding a function. (closes #8045)
            Check that the function was exported.

3 years agopatch 8.2.2681: Vim9: test fails for redeclaring script variable v8.2.2681
Bram Moolenaar [Wed, 31 Mar 2021 19:47:33 +0000 (21:47 +0200)]
patch 8.2.2681: Vim9: test fails for redeclaring script variable

Problem:    Vim9: test fails for redeclaring script variable.
Solution:   It's OK to assign to an existing script variable in legacy.

3 years agopatch 8.2.2680: Vim9: problem defining a script variable from legacy function v8.2.2680
Bram Moolenaar [Wed, 31 Mar 2021 19:07:24 +0000 (21:07 +0200)]
patch 8.2.2680: Vim9: problem defining a script variable from legacy function

Problem:    Vim9: problem defining a script variable from legacy function.
Solution:   Check if the script is Vim9, not the current syntax.
            (closes #8032)

3 years agoUpdate runtime files.
Bram Moolenaar [Wed, 31 Mar 2021 18:07:33 +0000 (20:07 +0200)]
Update runtime files.

3 years agopatch 8.2.2679: status line missing for non-current window with winbar v8.2.2679
Bram Moolenaar [Tue, 30 Mar 2021 20:12:12 +0000 (22:12 +0200)]
patch 8.2.2679: status line missing for non-current window with winbar

Problem:    Winbar drawn over status line for non-current window with winbar
            if frame is zero height. (Leonid V. Fedorenchik)
Solution:   Do not draw the window if the frame height is zero. (closes #8037)

3 years agopatch 8.2.2678: test for 'autoshelldir' does not reset the option v8.2.2678
Bram Moolenaar [Tue, 30 Mar 2021 18:54:28 +0000 (20:54 +0200)]
patch 8.2.2678: test for 'autoshelldir' does not reset the option

Problem:    Test for 'autoshelldir' does not reset the option.
Solution:   Reset the option after testing.

3 years agopatch 8.2.2677: Vim9: cannot use only some of the default arguments v8.2.2677
Bram Moolenaar [Mon, 29 Mar 2021 20:14:55 +0000 (22:14 +0200)]
patch 8.2.2677: Vim9: cannot use only some of the default arguments

Problem:    Vim9: cannot use only some of the default arguments.
Solution:   Use v:none to use default argument value.  Remove
            uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)

3 years agopatch 8.2.2676: missing error message v8.2.2676
Bram Moolenaar [Mon, 29 Mar 2021 19:06:04 +0000 (21:06 +0200)]
patch 8.2.2676: missing error message

Problem:    Missing error message.
Solution:   Add new error message.

3 years agopatch 8.2.2675: directory change in a terminal window shell is not followed v8.2.2675
Bram Moolenaar [Mon, 29 Mar 2021 18:49:05 +0000 (20:49 +0200)]
patch 8.2.2675: directory change in a terminal window shell is not followed

Problem:    Directory change in a terminal window shell is not followed.
Solution:   Add the 'autoshelldir' option. (closes #6290)

3 years agopatch 8.2.2674: Motif: cancelling the font dialog resets the font v8.2.2674
Bram Moolenaar [Mon, 29 Mar 2021 18:10:26 +0000 (20:10 +0200)]
patch 8.2.2674: Motif: cancelling the font dialog resets the font

Problem:    Motif: cancelling the font dialog resets the font.
Solution:   When no font is selected to not change the font. (closes #7825,
            closes #8035)  Fix compiler warnings.

3 years agopatch 8.2.2673: Vim9: script-local funcref can have lower case name v8.2.2673
Bram Moolenaar [Sun, 28 Mar 2021 19:14:06 +0000 (21:14 +0200)]
patch 8.2.2673: Vim9: script-local funcref can have lower case name

Problem:    Vim9: script-local funcref can have lower case name.
Solution:   Require an upper case name.

3 years agopatch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled script v8.2.2672
Bram Moolenaar [Sun, 28 Mar 2021 18:38:34 +0000 (20:38 +0200)]
patch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled script

Problem:    Vim9: cannot use :lockvar and :unlockvar in compiled script.
Solution:   Implement locking support.

3 years agopatch 8.2.2671: error for line number in legacy script v8.2.2671
Bram Moolenaar [Sun, 28 Mar 2021 14:26:41 +0000 (16:26 +0200)]
patch 8.2.2671: error for line number in legacy script

Problem:    Error for line number in legacy script.
Solution:   Check for number type.

3 years agopatch 8.2.2670: Vim9: error for append(0, text) v8.2.2670
Bram Moolenaar [Sun, 28 Mar 2021 13:46:16 +0000 (15:46 +0200)]
patch 8.2.2670: Vim9: error for append(0, text)

Problem:    Vim9: error for append(0, text).
Solution:   Check for negative number. (closes #8022)

3 years agopatch 8.2.2669: command line completion does not work after "vim9" v8.2.2669
Bram Moolenaar [Sun, 28 Mar 2021 13:29:43 +0000 (15:29 +0200)]
patch 8.2.2669: command line completion does not work after "vim9"

Problem:    Command line completion does not work after "vim9".
Solution:   Include the "9". (Naohiro Ono, closes #8025)

3 years agopatch 8.2.2668: Vim9: omitting "call" for "confirm()" does not give an error v8.2.2668
Bram Moolenaar [Sat, 27 Mar 2021 21:20:21 +0000 (22:20 +0100)]
patch 8.2.2668: Vim9: omitting "call" for "confirm()" does not give an error

Problem:    Vim9: omitting "call" for "confirm()" does not give an error.
Solution:   Do not recognize a modifier followed by "(".

3 years agopatch 8.2.2667: prop_find() cannot find item matching both id and type v8.2.2667
Bram Moolenaar [Sat, 27 Mar 2021 21:07:29 +0000 (22:07 +0100)]
patch 8.2.2667: prop_find() cannot find item matching both id and type

Problem:    prop_find() cannot find item matching both id and type.
Solution:   Add the "both" argument. (Naohiro Ono, closes #8019)

3 years agopatch 8.2.2666: Vim9: not enough function arguments checked for string v8.2.2666
Bram Moolenaar [Sat, 27 Mar 2021 20:23:30 +0000 (21:23 +0100)]
patch 8.2.2666: Vim9: not enough function arguments checked for string

Problem:    Vim9: not enough function arguments checked for string.
Solution:   Check in ch_logfile(), char2nr() and others.

3 years agopatch 8.2.2665: test failures v8.2.2665
Bram Moolenaar [Sat, 27 Mar 2021 18:09:02 +0000 (19:09 +0100)]
patch 8.2.2665: test failures

Problem:    Test failures.
Solution:   Check more specific feature.  Add missing change.

3 years agopatch 8.2.2664: Vim9: not enough function arguments checked for string v8.2.2664
Bram Moolenaar [Sat, 27 Mar 2021 17:59:25 +0000 (18:59 +0100)]
patch 8.2.2664: Vim9: not enough function arguments checked for string

Problem:    Vim9: not enough function arguments checked for string.
Solution:   Check in balloon functions.  Refactor function arguments.

3 years agopatch 8.2.2663: Vim9: leaking memory when inline function has an error v8.2.2663
Bram Moolenaar [Sat, 27 Mar 2021 14:40:11 +0000 (15:40 +0100)]
patch 8.2.2663: Vim9: leaking memory when inline function has an error

Problem:    Vim9: leaking memory when inline function has an error.
Solution:   Free the partially allocated function.

3 years agopatch 8.2.2662: there is no way to avoid some escape sequences v8.2.2662
Bram Moolenaar [Sat, 27 Mar 2021 11:11:33 +0000 (12:11 +0100)]
patch 8.2.2662: there is no way to avoid some escape sequences

Problem:    There is no way to avoid some escape sequences.
Solution:   Suppress escape sequences when the --not-a-term argument is used.
            (Gary Johnson)

3 years agopatch 8.2.2661: leaking memory when looping over a string v8.2.2661
Bram Moolenaar [Fri, 26 Mar 2021 21:15:26 +0000 (22:15 +0100)]
patch 8.2.2661: leaking memory when looping over a string

Problem:    Leaking memory when looping over a string.
Solution:   Free the memory.

3 years agopatch 8.2.2660: Vim9: no error for declaration with trailing text v8.2.2660
Bram Moolenaar [Fri, 26 Mar 2021 20:27:52 +0000 (21:27 +0100)]
patch 8.2.2660: Vim9: no error for declaration with trailing text

Problem:    Vim9: no error for declaration with trailing text.
Solution:   Give an error. (closes #8014)

3 years agopatch 8.2.2659: eval test fails because for loop on string works v8.2.2659
Bram Moolenaar [Fri, 26 Mar 2021 19:56:45 +0000 (20:56 +0100)]
patch 8.2.2659: eval test fails because for loop on string works

Problem:    Eval test fails because for loop on string works.
Solution:   Check looping over function reference fails.

3 years agopatch 8.2.2658: :for cannot loop over a string v8.2.2658
Bram Moolenaar [Fri, 26 Mar 2021 19:41:29 +0000 (20:41 +0100)]
patch 8.2.2658: :for cannot loop over a string

Problem:    :for cannot loop over a string.
Solution:   Accept a string argument and iterate over its characters.

3 years agopatch 8.2.2657: Vim9: error message for declaring variable in for loop v8.2.2657
Bram Moolenaar [Fri, 26 Mar 2021 17:49:22 +0000 (18:49 +0100)]
patch 8.2.2657: Vim9: error message for declaring variable in for loop

Problem:    Vim9: error message for declaring variable in for loop.
Solution:   Clear variables when entering block again. (closes #8012)

3 years agopatch 8.2.2656: some command line arguments and regexp errors not tested v8.2.2656
Bram Moolenaar [Fri, 26 Mar 2021 16:24:34 +0000 (17:24 +0100)]
patch 8.2.2656: some command line arguments and regexp errors not tested

Problem:    Some command line arguments and regexp errors not tested.
Solution:   Add a few test cases. (Dominique Pellé, closes #8013)

3 years agopatch 8.2.2655: The -w command line argument doesn't work v8.2.2655
Bram Moolenaar [Fri, 26 Mar 2021 13:14:18 +0000 (14:14 +0100)]
patch 8.2.2655: The -w command line argument doesn't work

Problem:    The -w command line argument doesn't work.
Solution:   Don't set 'window' when set with the -w argument. (closes #8011)

3 years agopatch 8.2.2654: Vim9: getting a character from a string can be slow v8.2.2654
Bram Moolenaar [Fri, 26 Mar 2021 12:34:05 +0000 (13:34 +0100)]
patch 8.2.2654: Vim9: getting a character from a string can be slow

Problem:    Vim9: getting a character from a string can be slow.
Solution:   Avoid a function call to get the character byte size. (#8000)

3 years agopatch 8.2.2653: build failure v8.2.2653
Bram Moolenaar [Thu, 25 Mar 2021 21:22:30 +0000 (22:22 +0100)]
patch 8.2.2653: build failure

Problem:    Build failure.
Solution:   Add missing changes.

3 years agopatch 8.2.2652: Vim9: can use command modifier without an effect v8.2.2652
Bram Moolenaar [Thu, 25 Mar 2021 21:15:28 +0000 (22:15 +0100)]
patch 8.2.2652: Vim9: can use command modifier without an effect

Problem:    Vim9: can use command modifier without an effect.
Solution:   Give an error for a misplaced command modifier.  Fix error message
            number.

3 years agopatch 8.2.2651: Vim9: restoring command modifiers happens after jump v8.2.2651
Bram Moolenaar [Thu, 25 Mar 2021 20:12:15 +0000 (21:12 +0100)]
patch 8.2.2651: Vim9: restoring command modifiers happens after jump

Problem:    Vim9: restoring command modifiers happens after jump.
Solution:   Move the restore instruction to before the jump. (closes #8006)
            Also handle for and while.

3 years agopatch 8.2.2650: Vim9: command modifiers not handled in nested function v8.2.2650
Bram Moolenaar [Wed, 24 Mar 2021 21:00:56 +0000 (22:00 +0100)]
patch 8.2.2650: Vim9: command modifiers not handled in nested function

Problem:    Vim9: command modifiers not handled in nested function.
Solution:   Keep function-local info in a structure and save it on the stack.

3 years agopatch 8.2.2649: Vim9: some wincmd arguments cause a white space error v8.2.2649
Bram Moolenaar [Wed, 24 Mar 2021 19:08:12 +0000 (20:08 +0100)]
patch 8.2.2649: Vim9: some wincmd arguments cause a white space error

Problem:    Vim9: some wincmd arguments cause a white space error.
Solution:   Insert a space before the count. (closes #8001)

3 years agopatch 8.2.2648: terminal resize test sometimes hangs v8.2.2648
Bram Moolenaar [Tue, 23 Mar 2021 18:22:12 +0000 (19:22 +0100)]
patch 8.2.2648: terminal resize test sometimes hangs

Problem:    Terminal resize test sometimes hangs.
Solution:   Wait for the shell to display a prompt and other output.

3 years agopatch 8.2.2647: terminal test sometimes hangs v8.2.2647
Bram Moolenaar [Tue, 23 Mar 2021 15:25:09 +0000 (16:25 +0100)]
patch 8.2.2647: terminal test sometimes hangs

Problem:    Terminal test sometimes hangs.
Solution:   Wait for the shell to display a prompt.

3 years agopatch 8.2.2646: Vim9: error for not using string doesn't mentionargument v8.2.2646
Bram Moolenaar [Mon, 22 Mar 2021 21:21:26 +0000 (22:21 +0100)]
patch 8.2.2646: Vim9: error for not using string doesn't mentionargument

Problem:    Vim9: error for not using string doesn't mention argument.
Solution:   Add argument number.

3 years agopatch 8.2.2645: using inline function is not properly tested v8.2.2645
Bram Moolenaar [Mon, 22 Mar 2021 19:49:02 +0000 (20:49 +0100)]
patch 8.2.2645: using inline function is not properly tested

Problem:    Using inline function is not properly tested.
Solution:   Add test cases, esp. for errors.  Minor code improvements.

3 years agopatch 8.2.2644: prop_clear() causes a screen update even when nothing changed v8.2.2644
Bram Moolenaar [Mon, 22 Mar 2021 18:43:34 +0000 (19:43 +0100)]
patch 8.2.2644: prop_clear() causes a screen update even when nothing changed

Problem:    prop_clear() causes a screen update even when nothing changed.
Solution:   Only redraw when a property was cleared. (Dominique Pellé)

3 years agopatch 8.2.2643: various code not covered by tests v8.2.2643
Bram Moolenaar [Mon, 22 Mar 2021 18:37:06 +0000 (19:37 +0100)]
patch 8.2.2643: various code not covered by tests

Problem:    Various code not covered by tests.
Solution:   Add a few more test. (Yegappan Lakshmanan, closes #7995)

3 years agopatch 8.2.2642: Vim9: no clear error for wrong inline function v8.2.2642
Bram Moolenaar [Mon, 22 Mar 2021 17:22:30 +0000 (18:22 +0100)]
patch 8.2.2642: Vim9: no clear error for wrong inline function

Problem:    Vim9: no clear error for wrong inline function.
Solution:   Check for something following the "{".

3 years agopatch 8.2.2641: display test fails because of lacking redraw v8.2.2641
Bram Moolenaar [Mon, 22 Mar 2021 16:30:47 +0000 (17:30 +0100)]
patch 8.2.2641: display test fails because of lacking redraw

Problem:    Display test fails because of lacking redraw.
Solution:   Add a redraw command.

3 years agopatch 8.2.2640: screenstring() returns non-existing composing characters v8.2.2640
Bram Moolenaar [Mon, 22 Mar 2021 16:11:15 +0000 (17:11 +0100)]
patch 8.2.2640: screenstring() returns non-existing composing characters

Problem:    screenstring() returns non-existing composing characters.
Solution:   Only use composing characters if there is a base character.

3 years agopatch 8.2.2639: build failure when fsync() is not available v8.2.2639
Bram Moolenaar [Mon, 22 Mar 2021 15:45:35 +0000 (16:45 +0100)]
patch 8.2.2639: build failure when fsync() is not available

Problem:    Build failure when fsync() is not available.
Solution:   Add #ifdef.

3 years agopatch 8.2.2638: cannot write a message to the terminal from the GUI v8.2.2638
Bram Moolenaar [Mon, 22 Mar 2021 15:19:45 +0000 (16:19 +0100)]
patch 8.2.2638: cannot write a message to the terminal from the GUI

Problem:    Cannot write a message to the terminal from the GUI.
Solution:   Add :echoconsole and use it in the test runner. (issue #7975)

3 years agopatch 8.2.2637: prop_remove() causes a redraw even when nothing changed v8.2.2637
Bram Moolenaar [Sun, 21 Mar 2021 21:29:54 +0000 (22:29 +0100)]
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed

Problem:    prop_remove() causes a redraw even when nothing changed.
Solution:   Only redraw if a property was removed.

3 years agopatch 8.2.2636: memory leak when compiling inline function v8.2.2636
Bram Moolenaar [Sun, 21 Mar 2021 21:12:34 +0000 (22:12 +0100)]
patch 8.2.2636: memory leak when compiling inline function

Problem:    Memory leak when compiling inline function.
Solution:   Free the prefetched line.

3 years agopatch 8.2.2635: Vim9: cannot define an inline function v8.2.2635
Bram Moolenaar [Sun, 21 Mar 2021 19:53:29 +0000 (20:53 +0100)]
patch 8.2.2635: Vim9: cannot define an inline function

Problem:    Vim9: cannot define an inline function.
Solution:   Make an inline function mostly work.

3 years agopatch 8.2.2634: 'tagfunc' does not indicate using a pattern v8.2.2634
Bram Moolenaar [Sun, 21 Mar 2021 13:49:57 +0000 (14:49 +0100)]
patch 8.2.2634: 'tagfunc' does not indicate using a pattern

Problem:    'tagfunc' does not indicate using a pattern.
Solution:   Add the "r" flag. (Andy Massimino, closes #7982)

3 years agopatch 8.2.2633: multi-byte 'fillchars' for folding do not show properly v8.2.2633
Bram Moolenaar [Sun, 21 Mar 2021 13:39:19 +0000 (14:39 +0100)]
patch 8.2.2633: multi-byte 'fillchars' for folding do not show properly

Problem:    Multi-byte 'fillchars' for folding do not show properly.
Solution:   Handle multi-byte characters correctly. (Yegappan Lakshmanan,
            closes #7983, closes #7955)

3 years agopatch 8.2.2632: not all command line arguments are tested v8.2.2632
Bram Moolenaar [Sat, 20 Mar 2021 21:16:56 +0000 (22:16 +0100)]
patch 8.2.2632: not all command line arguments are tested

Problem:    Not all command line arguments are tested.
Solution:   Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)

3 years agopatch 8.2.2631: commands from winrestcmd() do not always work properly v8.2.2631
Bram Moolenaar [Sat, 20 Mar 2021 18:55:35 +0000 (19:55 +0100)]
patch 8.2.2631: commands from winrestcmd() do not always work properly

Problem:    Commands from winrestcmd() do not always work properly. (Leonid V.
            Fedorenchik)
Solution:   Repeat the size commands twice. (closes #7988)

3 years agopatch 8.2.2630: hard to see where a test gets stuck v8.2.2630
Bram Moolenaar [Sat, 20 Mar 2021 15:44:25 +0000 (16:44 +0100)]
patch 8.2.2630: hard to see where a test gets stuck

Problem:    Hard to see where a test gets stuck.
Solution:   Print the executed test function. (Dominique Pellé, closes #7975)

3 years agopatch 8.2.2629: Vim9: error for #{{ is not desired v8.2.2629
Bram Moolenaar [Sat, 20 Mar 2021 14:00:01 +0000 (15:00 +0100)]
patch 8.2.2629: Vim9: error for #{{ is not desired

Problem:    Vim9: error for #{{ is not desired.
Solution:   Adjust the checks. (closes #7990)

3 years agopatch 8.2.2628: Vim9: #{ can still be used at the script level v8.2.2628
Bram Moolenaar [Sat, 20 Mar 2021 12:29:38 +0000 (13:29 +0100)]
patch 8.2.2628: Vim9: #{ can still be used at the script level

Problem:    Vim9: #{ can still be used at the script level.
Solution:   Give an error for #{ like in a :def function.

3 years agopatch 8.2.2627: no need to check for BSD after checking for not root v8.2.2627
Bram Moolenaar [Sat, 20 Mar 2021 11:49:15 +0000 (12:49 +0100)]
patch 8.2.2627: no need to check for BSD after checking for not root

Problem:    No need to check for BSD after checking for not root.
Solution:   Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)

3 years agopatch 8.2.2626: GTK3: error when starting up and -geometry is given v8.2.2626
Bram Moolenaar [Sat, 20 Mar 2021 11:36:46 +0000 (12:36 +0100)]
patch 8.2.2626: GTK3: error when starting up and -geometry is given

Problem:    GTK3: error when starting up and -geometry is given. (Dominique
            Pellé)
Solution:   Use another function to get the monitor if the window has not been
            created yet. (closes #7978)

3 years agopatch 8.2.2625: rss files not recognized v8.2.2625
Bram Moolenaar [Fri, 19 Mar 2021 19:27:40 +0000 (20:27 +0100)]
patch 8.2.2625: rss files not recognized

Problem:    Rss files not recognized.
Solution:   Recognize .rss as XML. (Kivin Locke, closes #7987)

3 years agopatch 8.2.2624: atom files not recognized v8.2.2624
Bram Moolenaar [Fri, 19 Mar 2021 19:19:12 +0000 (20:19 +0100)]
patch 8.2.2624: atom files not recognized

Problem:    Atom files not recognized.
Solution:   Recognize .atom as XML. (Kivin Locke, closes #7986)

3 years agopatch 8.2.2623: some tests fail when run as root v8.2.2623
Bram Moolenaar [Fri, 19 Mar 2021 13:38:12 +0000 (14:38 +0100)]
patch 8.2.2623: some tests fail when run as root

Problem:    Some tests fail when run as root.
Solution:   Use CheckNotRoot.

3 years agopatch 8.2.2622: GTK: error when starting up and -geometry is given v8.2.2622
Bram Moolenaar [Thu, 18 Mar 2021 21:28:57 +0000 (22:28 +0100)]
patch 8.2.2622: GTK: error when starting up and -geometry is given

Problem:    GTK: error when starting up and -geometry is given. (Dominique
            Pellé)
Solution:   Use another function to get the monitor if the window has not been
            created yet. (closes #7978)

3 years agopatch 8.2.2621: typval2type() cannot handle recursive structures v8.2.2621
Bram Moolenaar [Thu, 18 Mar 2021 21:15:04 +0000 (22:15 +0100)]
patch 8.2.2621: typval2type() cannot handle recursive structures

Problem:    typval2type() cannot handle recursive structures.
Solution:   Use copyID. (closes #7979)

3 years agopatch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors v8.2.2620
Bram Moolenaar [Thu, 18 Mar 2021 20:37:55 +0000 (21:37 +0100)]
patch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors

Problem:    Vim9: Using #{ for a dictionary gives strange errors.
Solution:   Give an error when using #{ for a comment after a command.