]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0750: crash when popup closed in callback v9.0.0750
Bram Moolenaar [Fri, 14 Oct 2022 16:04:09 +0000 (17:04 +0100)]
patch 9.0.0750: crash when popup closed in callback

Problem:    Crash when popup closed in callback. (Maxim Kim)
Solution:   In syntax_end_parsing() check that syn_block is valid.

2 years agopatch 9.0.0749: alloc/free of buffer for each quickfix entry is inefficient v9.0.0749
Yegappan Lakshmanan [Fri, 14 Oct 2022 12:11:13 +0000 (13:11 +0100)]
patch 9.0.0749: alloc/free of buffer for each quickfix entry is inefficient

Problem:    Alloc/free of buffer for each quickfix entry is inefficient.
Solution:   Use a shared grow array. (Yegappan Lakshmanan, closes #11365)

2 years agopatch 9.0.0748: Kitty may send key without modifiers with CSI u code v9.0.0748
Trygve Aaberge [Fri, 14 Oct 2022 11:08:24 +0000 (12:08 +0100)]
patch 9.0.0748: Kitty may send key without modifiers with CSI u code

Problem:    Kitty may send key without modifiers with CSI u code.
Solution:   Handle CSI u code without modifiers. (Trygve Aaberge,
            closes #11364)

2 years agopatch 9.0.0747: too many #ifdefs v9.0.0747
Martin Tournoij [Thu, 13 Oct 2022 21:12:15 +0000 (22:12 +0100)]
patch 9.0.0747: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Gradudate the +cmdline_info feature. (Martin Tournoij,
            closes #11330)

2 years agopatch 9.0.0746: breakindent test cases are commented out v9.0.0746
Bram Moolenaar [Thu, 13 Oct 2022 20:54:28 +0000 (21:54 +0100)]
patch 9.0.0746: breakindent test cases are commented out

Problem:    Breakindent test cases are commented out.
Solution:   Adjust expected result to slightly different behavior.  Correct
            computations for cursor position.

2 years agopatch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line v9.0.0745
Bram Moolenaar [Thu, 13 Oct 2022 19:23:28 +0000 (20:23 +0100)]
patch 9.0.0745: wrong cursor position when using "gj" and "gk" in a long line

Problem:    Wrong cursor position when using "gj" and "gk" in a long line.
Solution:   Adjust computations for the cursor position and skipcol. Re-enable
            tests that pass now, disable failing breakindent test.

2 years agopatch 9.0.0744: in script in autoload dir exported variable is not found v9.0.0744
Bram Moolenaar [Thu, 13 Oct 2022 16:47:42 +0000 (17:47 +0100)]
patch 9.0.0744: in script in autoload dir exported variable is not found

Problem:    In script in autoload dir exported variable is not found. (Doug
            Kearns)
Solution:   Find the variable with the "script#" prefix. (closes #11361)

2 years agopatch 9.0.0743: starting cscope on Unix does not quote the arguments right v9.0.0743
Bram Moolenaar [Thu, 13 Oct 2022 15:34:30 +0000 (16:34 +0100)]
patch 9.0.0743: starting cscope on Unix does not quote the arguments right

Problem:    Starting cscope on Unix does not quote the arguments correctly.
            (Gary Johnson)
Solution:   Move the final quote after the arguments.

2 years agopatch 9.0.0742: reading past end of the line when compiling a function v9.0.0742
Bram Moolenaar [Thu, 13 Oct 2022 15:12:57 +0000 (16:12 +0100)]
patch 9.0.0742: reading past end of the line when compiling a function

Problem:    Reading past end of the line when compiling a function with
            errors.
Solution:   Do not return an invalid pointer.  Fix skipping redirection.

2 years agopatch 9.0.0741: cannot specify an ID for each item with prop_add_list() v9.0.0741
Bram Moolenaar [Thu, 13 Oct 2022 13:35:24 +0000 (14:35 +0100)]
patch 9.0.0741: cannot specify an ID for each item with prop_add_list()

Problem:    Cannot specify an ID for each item with prop_add_list(). (Sergey
            Vlasov)
Solution:   Add an optional fifth number to the item. (closes #11360)

2 years agopatch 9.0.0740: prop_add_list() gives multiple errors for invalid argument v9.0.0740
Bram Moolenaar [Thu, 13 Oct 2022 13:00:45 +0000 (14:00 +0100)]
patch 9.0.0740: prop_add_list() gives multiple errors for invalid argument

Problem:    prop_add_list() gives multiple errors for invalid argument.
Solution:   Only give one error message.

2 years agopatch 9.0.0739: mouse column not correctly used for popup_setpos v9.0.0739
Yee Cheng Chin [Thu, 13 Oct 2022 12:17:40 +0000 (13:17 +0100)]
patch 9.0.0739: mouse column not correctly used for popup_setpos

Problem:    Mouse column not correctly used for popup_setpos.
Solution:   Adjust off-by-one error and handle Visual line selection properly.
            (Yee Cheng Chin, closes #11356)

2 years agopatch 9.0.0738: cannot suppress completion "scanning" messages v9.0.0738
=?UTF-8?q?Bj=C3=B6rn=20Linse?= [Thu, 13 Oct 2022 11:51:13 +0000 (12:51 +0100)]
patch 9.0.0738: cannot suppress completion "scanning" messages

Problem:    Cannot suppress completion "scanning" messages.
Solution:   Add the "C" flag in 'shortmess'. (Bjorn Linse, closes #11354)

2 years agopatch 9.0.0737: Lisp word only recognized when a space follows v9.0.0737
Bram Moolenaar [Thu, 13 Oct 2022 11:30:08 +0000 (12:30 +0100)]
patch 9.0.0737: Lisp word only recognized when a space follows

Problem:    Lisp word only recognized when a space follows.
Solution:   Also match a word at the end of a line.  Rename the test.  Use a
            compiled function to avoid backslashes.

2 years agopatch 9.0.0736: quickfix listing does not handle very long messages v9.0.0736
Yegappan Lakshmanan [Thu, 13 Oct 2022 10:59:22 +0000 (11:59 +0100)]
patch 9.0.0736: quickfix listing does not handle very long messages

Problem:    Quickfix listing does not handle very long messages.
Solution:   Use a growarray instead of a fixed size buffer. (Yegappan
            Lakshmanan, closes #11357)

2 years agopatch 9.0.0735: breakindent and scrolloff tests fail v9.0.0735
Bram Moolenaar [Wed, 12 Oct 2022 20:32:42 +0000 (21:32 +0100)]
patch 9.0.0735: breakindent and scrolloff tests fail

Problem:    Breakindent and scrolloff tests fail.
Solution:   Temporarily skip the assertions.

2 years agopatch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll' v9.0.0734
Bram Moolenaar [Wed, 12 Oct 2022 18:53:38 +0000 (19:53 +0100)]
patch 9.0.0734: cursor position invalid when scrolling with 'smoothscroll'

Problem:    Cursor position invalid when scrolling with 'smoothscroll' set.
            (Ernie Rael)
Solution:   Add w_valid_skipcol and clear flags when it changes.  Adjust
            w_skipcol after moving the cursor.

2 years agopatch 9.0.0733: use of strftime() is not safe v9.0.0733
Dominique Pelle [Wed, 12 Oct 2022 12:30:25 +0000 (13:30 +0100)]
patch 9.0.0733: use of strftime() is not safe

Problem:    Use of strftime() is not safe.
Solution:   Check the return value of strftime().  Use a larger buffer and
            correctly pass the available space. (Dominique PellĂ©, closes
            #11348)

2 years agopatch 9.0.0732: no check for white space before and after "=<<" v9.0.0732
Bram Moolenaar [Wed, 12 Oct 2022 11:58:54 +0000 (12:58 +0100)]
patch 9.0.0732: no check for white space before and after "=<<"

Problem:    No check for white space before and after "=<<". (Doug Kearns)
Solution:   Check for white space in Vim9 script. (closes #11351)

2 years agopatch 9.0.0731: clang-tidy configuration files are not recognized v9.0.0731
dundargoc [Wed, 12 Oct 2022 11:09:40 +0000 (12:09 +0100)]
patch 9.0.0731: clang-tidy configuration files are not recognized

Problem:    clang-tidy configuration files are not recognized.
Solution:   Recognize clang-tidy files as yaml. (closes #11350)

2 years agopatch 9.0.0730: startup test fails with right-left feature v9.0.0730
Bram Moolenaar [Wed, 12 Oct 2022 10:54:34 +0000 (11:54 +0100)]
patch 9.0.0730: startup test fails with right-left feature

Problem:    Startup test fails with right-left feature.
Solution:   Do not delete test file too early.

2 years agopatch 9.0.0729: the rightleft and arabic features are disabled v9.0.0729
Bram Moolenaar [Wed, 12 Oct 2022 10:12:49 +0000 (11:12 +0100)]
patch 9.0.0729: the rightleft and arabic features are disabled

Problem:    The rightleft and arabic features are disabled.
Solution:   Re-enable the features, some users want to use the functionality.

2 years agopatch 9.0.0728: extend() test fails v9.0.0728
Bram Moolenaar [Tue, 11 Oct 2022 22:12:59 +0000 (23:12 +0100)]
patch 9.0.0728: extend() test fails

Problem:    extend() test fails.
Solution:   Item is final, not const.

2 years agopatch 9.0.0727: help in the repository differs from patched version too much v9.0.0727
Bram Moolenaar [Tue, 11 Oct 2022 20:54:04 +0000 (21:54 +0100)]
patch 9.0.0727: help in the repository differs from patched version too much

Problem:    Help in the repository differs from patched version too much.
Solution:   Make a patch for a few help files.

2 years agopatch 9.0.0726: looping over list of lists works in script, not in function v9.0.0726
Bram Moolenaar [Tue, 11 Oct 2022 20:41:25 +0000 (21:41 +0100)]
patch 9.0.0726: looping over list of lists works in script, not in function

Problem:    Looping over list of lists and changing the list contents works in
            Vim9 script, not in a compiled function.
Solution:   Mark the loop variable final instead of const. (closes #11347)

2 years agopatch 9.0.0725: virtual text "after" wraps to next line when 'wrap' is off v9.0.0725
Bram Moolenaar [Tue, 11 Oct 2022 20:02:09 +0000 (21:02 +0100)]
patch 9.0.0725: virtual text "after" wraps to next line when 'wrap' is off

Problem:    Virtual text "after" wraps to next line even when 'wrap' is off
            and 'list' is set.
Solution:   Do not use the minimum width when 'wrap' is off. (issue #11336)

2 years agopatch 9.0.0724: closure in compiled function gets same variable in block v9.0.0724
Bram Moolenaar [Tue, 11 Oct 2022 19:04:09 +0000 (20:04 +0100)]
patch 9.0.0724: closure in compiled function gets same variable in block

Problem:    Closure in compiled function gets same variable in block.
Solution:   At the end of a block to not always reset the variable count.
            (issue #11094)

2 years agopatch 9.0.0723: extra empty line below virtual text when 'list' is set v9.0.0723
Bram Moolenaar [Tue, 11 Oct 2022 15:47:22 +0000 (16:47 +0100)]
patch 9.0.0723: extra empty line below virtual text when 'list' is set

Problem:    Extra empty line below virtual text when 'list' is set.
Solution:   Do not reset lcs_eol_one but set text_prop_follows. (closes #11339)

2 years agopatch 9.0.0722: virtual text "after" does not show with 'list' set v9.0.0722
Bram Moolenaar [Tue, 11 Oct 2022 14:29:50 +0000 (15:29 +0100)]
patch 9.0.0722: virtual text "after" does not show with 'list' set

Problem:    Virtual text "after" does not show with 'list' set.
Solution:   Do not break out of the loop when another text prop follows.
            (closes #11337)

2 years agopatch 9.0.0721: virtual text "above" with padding not displayed correctly v9.0.0721
Bram Moolenaar [Tue, 11 Oct 2022 13:54:42 +0000 (14:54 +0100)]
patch 9.0.0721: virtual text "above" with padding not displayed correctly

Problem:    Virtual text "above" with padding not displayed correctly.
Solution:   Take padding into account when truncating. (closes #11340)

2 years agopatch 9.0.0720: MS-Windows GUI may have pixel dust from antialiasing v9.0.0720
Bram Moolenaar [Tue, 11 Oct 2022 11:48:44 +0000 (12:48 +0100)]
patch 9.0.0720: MS-Windows GUI may have pixel dust from antialiasing

Problem:    MS-Windows GUI may have pixel dust from antialiasing.
Solution:   When a character changes also redraw the next one. (issue #8532)

2 years agopatch 9.0.0719: too many delete() calls in tests v9.0.0719
Bram Moolenaar [Mon, 10 Oct 2022 21:39:42 +0000 (22:39 +0100)]
patch 9.0.0719: too many delete() calls in tests

Problem:    Too many delete() calls in tests.
Solution:   Use deferred delete where possible.

2 years agopatch 9.0.0718: extra empty line between two virtual text "below" v9.0.0718
Bram Moolenaar [Mon, 10 Oct 2022 20:10:03 +0000 (21:10 +0100)]
patch 9.0.0718: extra empty line between two virtual text "below"

Problem:    Extra empty line between two virtual text "below" when 'wrap' and
            'number' are set.
Solution:   Reset "before" when there is no text in the screen line.
            (closes #11334)

2 years agopatch 9.0.0717: compiler warning for unused variable in tiny build v9.0.0717
Bram Moolenaar [Mon, 10 Oct 2022 19:33:25 +0000 (20:33 +0100)]
patch 9.0.0717: compiler warning for unused variable in tiny build

Problem:    Compiler warning for unused variable in tiny build.
Solution:   Add #ifdefs.

2 years agopatch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left v9.0.0716
Bram Moolenaar [Mon, 10 Oct 2022 18:50:42 +0000 (19:50 +0100)]
patch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left

Problem:    With 'nowrap' virtual text "after" does not scroll left.
Solution:   Skip part of the virtual text that is left of the window.
            (closes #11320)  Fix going beyond the last column of the window.

2 years agopatch 9.0.0715: wrong argument for append() gives two error messages v9.0.0715
Bram Moolenaar [Mon, 10 Oct 2022 15:08:16 +0000 (16:08 +0100)]
patch 9.0.0715: wrong argument for append() gives two error messages

Problem:    Wrong argument for append() gives two error messages.
Solution:   When getting an error for a number argument don't try using it as
            a string. (closes #11335)

2 years agopatch 9.0.0714: with 'nowrap' two virtual text below not displayed correctly v9.0.0714
Bram Moolenaar [Mon, 10 Oct 2022 14:40:04 +0000 (15:40 +0100)]
patch 9.0.0714: with 'nowrap' two virtual text below not displayed correctly

Problem:    With 'nowrap' two virtual text below not displayed correctly.
Solution:   Set text_prop_follows before continuing.  Correct for number
            column. (closes #11333)

2 years agopatch 9.0.0713: <amatch> of MenuPopup event is expanded like a file name v9.0.0713
zeertzjq [Mon, 10 Oct 2022 12:46:15 +0000 (13:46 +0100)]
patch 9.0.0713: <amatch> of MenuPopup event is expanded like a file name

Problem:    <amatch> of MenuPopup event is expanded like a file name.
Solution:   Do not expand <amatch> for MenuPopup. (closes #11328)

2 years agopatch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum v9.0.0712
Bram Moolenaar [Mon, 10 Oct 2022 11:42:57 +0000 (12:42 +0100)]
patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum

Problem:    Wrong column when calling setcursorcharpos() with zero lnum.
Solution:   Set the line number before calling buf_charidx_to_byteidx().
            (closes #11329)

2 years agopatch 9.0.0711: SubStation Alpha files are not recognized v9.0.0711
ObserverOfTime [Mon, 10 Oct 2022 11:08:59 +0000 (12:08 +0100)]
patch 9.0.0711: SubStation Alpha files are not recognized

Problem:    SubStation Alpha files are not recognized.
Solution:   Add patterns for SubStation Alpha files. (closes #11332)

2 years agopatch 9.0.0710: quitting/unloading/hiding a terminal does not work properly v9.0.0710
Yee Cheng Chin [Mon, 10 Oct 2022 10:46:16 +0000 (11:46 +0100)]
patch 9.0.0710: quitting/unloading/hiding a terminal does not work properly

Problem:    Quitting/unloading/hiding a terminal buffer does not always work
            properly.
Solution:   Avoid that ":q!" leaves an empty buffer behind.  ":bunload!" also
            kills the job and unloads the buffer.  ":hide" does not unload the
            buffer. (Yee Cheng Chin, closes #11323)

2 years agopatch 9.0.0709: virtual text "after" not correct with 'nowrap' v9.0.0709
Bram Moolenaar [Sun, 9 Oct 2022 20:53:58 +0000 (21:53 +0100)]
patch 9.0.0709: virtual text "after" not correct with 'nowrap'

Problem:    Virtual text "after" not correct with 'nowrap'.
Solution:   Do not display "after" text prop on the next line when 'wrap' is
            off.

2 years agopatch 9.0.0708: :confirm does not work properly for a terminal buffer v9.0.0708
Yee Cheng Chin [Sun, 9 Oct 2022 17:53:32 +0000 (18:53 +0100)]
patch 9.0.0708: :confirm does not work properly for a terminal buffer

Problem:    :confirm does not work properly for a terminal buffer.
Solution:   Handle :confirm for a terminal buffer differently.  (Yee Cheng
            Chin, closes #11312)

2 years agopatch 9.0.0707: with 'smoothscroll' cursor position not adjusted in long line v9.0.0707
Bram Moolenaar [Sun, 9 Oct 2022 16:19:27 +0000 (17:19 +0100)]
patch 9.0.0707: with 'smoothscroll' cursor position not adjusted in long line

Problem:    With 'smoothscroll' and 'scrolloff' non-zero the cursor position
            is not properly adjusted in a long line.
Solution:   Move the cursor further up or down in the line.

2 years agopatch 9.0.0706: :help in a narrow window always opens at the top v9.0.0706
Bram Moolenaar [Sun, 9 Oct 2022 14:54:53 +0000 (15:54 +0100)]
patch 9.0.0706: :help in a narrow window always opens at the top

Problem:    :help in a narrow window always opens at the top.
Solution:   Respect 'splitbelow'. (closes #11319)

2 years agopatch 9.0.0705: virtual text truncation does not take padding into account v9.0.0705
Bram Moolenaar [Sun, 9 Oct 2022 14:26:03 +0000 (15:26 +0100)]
patch 9.0.0705: virtual text truncation does not take padding into account

Problem:    Virtual text truncation does not take padding into account.
Solution:   Subtract the padding from the available space. (closes #11318)

2 years agopatch 9.0.0704: CI runs "tiny" and "small" builds, which are the same v9.0.0704
Naruhiko Nishino [Sun, 9 Oct 2022 12:28:36 +0000 (13:28 +0100)]
patch 9.0.0704: CI runs "tiny" and "small" builds, which are the same

Problem:    CI runs "tiny" and "small" builds, which are the same.
Solution:   Remove the "small" build. (Naruhiko Nishino, closes #11315)

2 years agopatch 9.0.0703: failing check for argument type for const any v9.0.0703
Bram Moolenaar [Sun, 9 Oct 2022 11:55:33 +0000 (12:55 +0100)]
patch 9.0.0703: failing check for argument type for const any

Problem:    Failing check for argument type for const any.
Solution:   Check for any type properly. (closes #11316)

2 years agopatch 9.0.0702: incomplete testing cursor position with 'linebreak' set v9.0.0702
zeertzjq [Sun, 9 Oct 2022 10:44:28 +0000 (11:44 +0100)]
patch 9.0.0702: incomplete testing cursor position with 'linebreak' set

Problem:    Incomplete testing cursor position after change with 'linebreak'
            set.
Solution:   Add a test and move test cases together. (closes #11313)

2 years agopatch 9.0.0701: with 'smoothscroll' cursor position not adjusted in long line v9.0.0701
Bram Moolenaar [Sat, 8 Oct 2022 20:13:40 +0000 (21:13 +0100)]
patch 9.0.0701: with 'smoothscroll' cursor position not adjusted in long line

Problem:    With 'smoothscroll' the cursor position s not adjusted in a long
            line.
Solution:   Move the cursor further up or down in the line.

2 years agopatch 9.0.0700: there is no real need for a "big" build v9.0.0700
Martin Tournoij [Sat, 8 Oct 2022 18:26:41 +0000 (19:26 +0100)]
patch 9.0.0700: there is no real need for a "big" build

Problem:    There is no real need for a "big" build.
Solution:   Move common features to "normal" build, less often used features
            to the "huge" build. (Martin Tournoij, closes #11283)

2 years agopatch 9.0.0699: tiny build fails v9.0.0699
Bram Moolenaar [Sat, 8 Oct 2022 16:55:32 +0000 (17:55 +0100)]
patch 9.0.0699: tiny build fails

Problem:    Tiny build fails.
Solution:   Add #ifdef.

2 years agopatch 9.0.0698: VisVim is outdated, does not work with current Visual Studio v9.0.0698
Martin Tournoij [Sat, 8 Oct 2022 16:15:28 +0000 (17:15 +0100)]
patch 9.0.0698: VisVim is outdated, does not work with current Visual Studio

Problem:    VisVim is outdated, does not work with current Visual Studio.
Solution:   Remove VisVim. (Martin Tournoij)

2 years agopatch 9.0.0697: cursor in wrong position with Visual substitute v9.0.0697
Bram Moolenaar [Sat, 8 Oct 2022 15:41:32 +0000 (16:41 +0100)]
patch 9.0.0697: cursor in wrong position with Visual substitute

Problem:    Cursor in wrong position with Visual substitute.
Solution:   When restoring 'linebreak' mark the virtual column as invalid.
            (closes #11309, closes #11311)

2 years agopatch 9.0.0696: it is unclear if the +rightleft and +arabic features are used v9.0.0696
Bram Moolenaar [Sat, 8 Oct 2022 14:30:55 +0000 (15:30 +0100)]
patch 9.0.0696: it is unclear if the +rightleft and +arabic features are used

Problem:    It is unclear if the +rightleft and +arabic features are actively
            being used.
Solution:   Disable the features, await feedback.

2 years agopatch 9.0.0695: failing check for dictionary type for const any v9.0.0695
Bram Moolenaar [Sat, 8 Oct 2022 13:39:36 +0000 (14:39 +0100)]
patch 9.0.0695: failing check for dictionary type for const any

Problem:    Failing check for dictionary type for const any.
Solution:   Check for any type properly. (closes #11310)

2 years agopatch 9.0.0694: no native sound support on Mac OS v9.0.0694
Yee Cheng Chin [Sat, 8 Oct 2022 12:50:05 +0000 (13:50 +0100)]
patch 9.0.0694: no native sound support on Mac OS

Problem:    No native sound support on Mac OS.
Solution:   Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)

2 years agopatch 9.0.0693: browse() first argument cannot be a bool v9.0.0693
Bram Moolenaar [Sat, 8 Oct 2022 11:52:09 +0000 (12:52 +0100)]
patch 9.0.0693: browse() first argument cannot be a bool

Problem:    browse() first argument cannot be a bool.
Solution:   Use tv_get_bool_chk() instead of tv_get_number_chk().
            (closes #11308)

2 years agopatch 9.0.0692: PoE filter files are not recognized v9.0.0692
ObserverOfTime [Sat, 8 Oct 2022 11:20:28 +0000 (12:20 +0100)]
patch 9.0.0692: PoE filter files are not recognized

Problem:    PoE filter files are not recognized.
Solution:   Add a pattern to detect PoE filter files. (closes #11305)

2 years agopatch 9.0.0691: lalloc(0) error in listchars test v9.0.0691
Bram Moolenaar [Sat, 8 Oct 2022 10:46:02 +0000 (11:46 +0100)]
patch 9.0.0691: lalloc(0) error in listchars test

Problem:    lalloc(0) error in listchars test.
Solution:   Skip generating text for tab if tab_len is zero.

2 years agopatch 9.0.0690: buffer size for expanding tab not correctly computed v9.0.0690
Bram Moolenaar [Sat, 8 Oct 2022 10:16:40 +0000 (11:16 +0100)]
patch 9.0.0690: buffer size for expanding tab not correctly computed

Problem:    Buffer size for expanding tab not correctly computed.
Solution:   Correctly use size of end character.

2 years agopatch 9.0.0689: compiler warning for unused function v9.0.0689
Bram Moolenaar [Fri, 7 Oct 2022 21:46:24 +0000 (22:46 +0100)]
patch 9.0.0689: compiler warning for unused function

Problem:    Compiler warning for unused function.
Solution:   Add #ifdef. (John Marriott)

2 years agopatch 9.0.0688: debugger does not display the whole command v9.0.0688
Bram Moolenaar [Fri, 7 Oct 2022 17:51:23 +0000 (18:51 +0100)]
patch 9.0.0688: debugger does not display the whole command

Problem:    Debugger does not display the whole command.
Solution:   Set ea.cmd before checking for a breakpoint.

2 years agopatch 9.0.0687: "export def" does not work in a nested block v9.0.0687
Bram Moolenaar [Fri, 7 Oct 2022 16:26:22 +0000 (17:26 +0100)]
patch 9.0.0687: "export def" does not work in a nested block

Problem:    "export def" does not work in a nested block.
Solution:   Do not handle "export" with a separate function but in the same
            command stack. (closes #11304)

2 years agopatch 9.0.0686: the right ALT key does not work on some MS-Windows keyboards v9.0.0686
Anton Sharonov [Fri, 7 Oct 2022 15:28:48 +0000 (16:28 +0100)]
patch 9.0.0686: the right ALT key does not work on some MS-Windows keyboards

Problem:    The right ALT key does not work on some MS-Windows keyboards.
Solution:   Adjust the modifiers based on GetKeyState(). (Anoton Sharonov,
            closes #11300)

2 years agopatch 9.0.0685: FORTIFY_SOURCE causes a crash in Vim9 script v9.0.0685
Yee Cheng Chin [Fri, 7 Oct 2022 15:00:04 +0000 (16:00 +0100)]
patch 9.0.0685: FORTIFY_SOURCE causes a crash in Vim9 script

Problem:    FORTIFY_SOURCE causes a crash in Vim9 script.
Solution:   Use a pointer to the first char. (Yee Cheng Chin, closes #11302)

2 years agopatch 9.0.0684: skipped :exe command fails compilation on MS-Windows v9.0.0684
Bram Moolenaar [Fri, 7 Oct 2022 14:09:27 +0000 (15:09 +0100)]
patch 9.0.0684: skipped :exe command fails compilation on MS-Windows

Problem:    Skipped :exe command fails compilation on MS-Windows.
Solution:   Adjust return value when skipping.

2 years agopatch 9.0.0683: cannot specify a time for :echowindow v9.0.0683
Bram Moolenaar [Fri, 7 Oct 2022 13:31:45 +0000 (14:31 +0100)]
patch 9.0.0683: cannot specify a time for :echowindow

Problem:    Cannot specify a time for :echowindow.
Solution:   A count can be used to specify the display time. Add
            popup_findecho().

2 years agopatch 9.0.0682: crash when popup with deleted timer is closed v9.0.0682
Bram Moolenaar [Fri, 7 Oct 2022 10:20:29 +0000 (11:20 +0100)]
patch 9.0.0682: crash when popup with deleted timer is closed

Problem:    Crash when popup with deleted timer is closed. (Igbanam
            Ogbuluijah)
Solution:   Check the timer still exists. (closes #11301)

2 years agopatch 9.0.0681: "<<<" shows for 'smoothscroll' even when 'showbreak is set v9.0.0681
Bram Moolenaar [Thu, 6 Oct 2022 20:24:34 +0000 (21:24 +0100)]
patch 9.0.0681: "<<<" shows for 'smoothscroll' even when 'showbreak is set

Problem:    "<<<" shows for 'smoothscroll' even when 'showbreak is set.
Solution:   When 'showbreak' is set do not display "<<<".

2 years agopatch 9.0.0680: tests failing with 'breakindent', 'number' and "n" in 'cpo' v9.0.0680
Bram Moolenaar [Thu, 6 Oct 2022 19:48:00 +0000 (20:48 +0100)]
patch 9.0.0680: tests failing with 'breakindent', 'number' and "n" in 'cpo'

Problem:    Tests failing with 'breakindent', 'number' and "n" in 'cpo'.
Solution:   Do count the number column in topline if 'breakindent' is set.

2 years agopatch 9.0.0679: tests failing with 'smoothscroll', 'number' and "n" in 'cpo' v9.0.0679
Bram Moolenaar [Thu, 6 Oct 2022 19:18:16 +0000 (20:18 +0100)]
patch 9.0.0679: tests failing with 'smoothscroll', 'number' and "n" in 'cpo'

Problem:    Tests failing with 'smoothscroll', 'number' and "n" in 'cpo'.
Solution:   Do not count number column in topline if columns are skipped.

2 years agopatch 9.0.0678: using exclamation marks on :function v9.0.0678
Bram Moolenaar [Thu, 6 Oct 2022 18:49:13 +0000 (19:49 +0100)]
patch 9.0.0678: using exclamation marks on :function

Problem:    Using exclamation marks on :function.
Solution:   Use :func and :endfunc as usual.

2 years agopatch 9.0.0677: breakindent test accepts wrong result v9.0.0677
Bram Moolenaar [Thu, 6 Oct 2022 18:21:20 +0000 (19:21 +0100)]
patch 9.0.0677: breakindent test accepts wrong result

Problem:    Breakindent test accepts wrong result.
Solution:   Fix the number column and adjust the expected text.

2 years agopatch 9.0.0676: CI on Mac M1 with gcc actually uses clang v9.0.0676
ichizok [Thu, 6 Oct 2022 15:56:44 +0000 (16:56 +0100)]
patch 9.0.0676: CI on Mac M1 with gcc actually uses clang

Problem:    CI on Mac M1 with gcc actually uses clang.
Solution:   Remove the gcc task. (Ozaki Kiichi, closes #11297)

2 years agopatch 9.0.0675: search test screendump is outdated v9.0.0675
Bram Moolenaar [Thu, 6 Oct 2022 15:33:15 +0000 (16:33 +0100)]
patch 9.0.0675: search test screendump is outdated

Problem:    Search test screendump is outdated.
Solution:   Update the screendump for improved display.

2 years agopatch 9.0.0674: build error with tiny version v9.0.0674
Bram Moolenaar [Thu, 6 Oct 2022 15:03:09 +0000 (16:03 +0100)]
patch 9.0.0674: build error with tiny version

Problem:    Build error with tiny version.
Solution:   Use PLINES_NOFILL macro.

2 years agopatch 9.0.0673: first line wong with 'smoothscroll' and 'scrolloff' zero v9.0.0673
Bram Moolenaar [Thu, 6 Oct 2022 14:46:49 +0000 (15:46 +0100)]
patch 9.0.0673: first line wong with 'smoothscroll' and 'scrolloff' zero

Problem:    First line not scrolled properly with 'smoothscroll' and
            'scrolloff' zero and using "k".
Solution:   Make sure the cursor position is visible.

2 years agopatch 9.0.0672: line partly shows with 'smoothscroll' and 'scrolloff' zero v9.0.0672
Bram Moolenaar [Thu, 6 Oct 2022 13:57:53 +0000 (14:57 +0100)]
patch 9.0.0672: line partly shows with 'smoothscroll' and 'scrolloff' zero

Problem:    Cursor line only partly shows with 'smoothscroll' and 'scrolloff'
            zero.
Solution:   Do not use 'smoothscroll' when adjusting the bottom of the window.
            (closes #11269)

2 years agopatch 9.0.0671: negative topline using CTRL-Y with 'smoothscroll' and 'diff' v9.0.0671
Bram Moolenaar [Thu, 6 Oct 2022 12:09:17 +0000 (13:09 +0100)]
patch 9.0.0671: negative topline using CTRL-Y with 'smoothscroll' and 'diff'

Problem:    Negative topline using CTRL-Y with 'smoothscroll' and 'diff'.
            (Ernie Rael)
Solution:   Only use 'smoothscroll' when 'wrap' is set.

2 years agopatch 9.0.0670: no space for command line when there is a tabline v9.0.0670
Bram Moolenaar [Thu, 6 Oct 2022 10:39:06 +0000 (11:39 +0100)]
patch 9.0.0670: no space for command line when there is a tabline

Problem:    No space for command line when there is a tabline.
Solution:   Correct computation of where the command line should be.
            (closes #11295)

2 years agopatch 9.0.0669: too many delete() calls in tests v9.0.0669
Bram Moolenaar [Wed, 5 Oct 2022 20:45:30 +0000 (21:45 +0100)]
patch 9.0.0669: too many delete() calls in tests

Problem:    Too many delete() calls in tests.
Solution:   Use deferred delete where possible.

2 years agopatch 9.0.0668: CI on Mac M1 only uses clang v9.0.0668
Philip H [Wed, 5 Oct 2022 19:41:01 +0000 (20:41 +0100)]
patch 9.0.0668: CI on Mac M1 only uses clang

Problem:    CI on Mac M1 only uses clang
Solution:   Also run with gcc. (closes #11263)

2 years agopatch 9.0.0667: ml_get error when 'splitkeep' is "screen" v9.0.0667
Luuk van Baal [Wed, 5 Oct 2022 17:26:42 +0000 (18:26 +0100)]
patch 9.0.0667: ml_get error when 'splitkeep' is "screen"

Problem:    ml_get error when 'splitkeep' is "screen". (Marius Gedminas)
Solution:   Check the botline is not too large. (Luuk van Baal,
            closes #11293, closes #11292)

2 years agopatch 9.0.0666: spacing-combining characters handled as composing v9.0.0666
Bram Moolenaar [Wed, 5 Oct 2022 17:03:00 +0000 (18:03 +0100)]
patch 9.0.0666: spacing-combining characters handled as composing

Problem:    Spacing-combining characters handled as composing, causing text to
            take more space than expected.
Solution:   Handle characters marked with "Mc" not as composing.
            (closes #11282

2 years agopatch 9.0.0665: setting 'cmdheight' has no effect if last window was resized v9.0.0665
Bram Moolenaar [Wed, 5 Oct 2022 14:42:32 +0000 (15:42 +0100)]
patch 9.0.0665: setting 'cmdheight' has no effect if last window was resized

Problem:    Setting 'cmdheight' has no effect if last window was resized.
Solution:   Do apply 'cmdheight' when told to.  Use the frame height instead
            of the cmdline_row.  (closes #11286)

2 years agopatch 9.0.0664: bad redrawing with spell checking, using "C" and "$" in 'cpo' v9.0.0664
Bram Moolenaar [Wed, 5 Oct 2022 12:29:15 +0000 (13:29 +0100)]
patch 9.0.0664: bad redrawing with spell checking, using "C" and "$" in 'cpo'

Problem:    Bad redrawing with spell checking, using "C" and "$" in 'cpo'.
Solution:   Do not redraw the next line when "$" is in 'cpo'. (closes #11285)

2 years agopatch 9.0.0663: tests check for +cmdwin feature which is always present v9.0.0663
zeertzjq [Wed, 5 Oct 2022 10:24:46 +0000 (11:24 +0100)]
patch 9.0.0663: tests check for +cmdwin feature which is always present

Problem:    Tests check for +cmdwin feature which is always present.
Solution:   Remove the checks. (closes #11287)

2 years agopatch 9.0.0662: concealed characters do not work correctly v9.0.0662
Bram Moolenaar [Tue, 4 Oct 2022 21:40:56 +0000 (22:40 +0100)]
patch 9.0.0662: concealed characters do not work correctly

Problem:    Concealed characters do not work correctly.
Solution:   Subtract boguscols instead of adding them. (closes #11273)

2 years agopatch 9.0.0661: multi-byte "lastline" in 'fillchars' does not work properly v9.0.0661
zeertzjq [Tue, 4 Oct 2022 19:35:37 +0000 (20:35 +0100)]
patch 9.0.0661: multi-byte "lastline" in 'fillchars' does not work properly

Problem:    Multi-byte "lastline" item in 'fillchars' does not work properly
            when the window is two columns wide.
Solution:   Compute the text length correctly. (closes #11280)

2 years agopatch 9.0.0660: mapping with CTRL keys does not work in the GUI v9.0.0660
zeertzjq [Tue, 4 Oct 2022 19:14:28 +0000 (20:14 +0100)]
patch 9.0.0660: mapping with CTRL keys does not work in the GUI

Problem:    Mapping with CTRL keys does not work in the GUI.
Solution:   Recognize CSI next to K_SPECIAL. (closes #11275, closes #11270)

2 years agopatch 9.0.0659: wrong type of comment in SetSyn() function v9.0.0659
Bram Moolenaar [Tue, 4 Oct 2022 17:42:10 +0000 (18:42 +0100)]
patch 9.0.0659: wrong type of comment in SetSyn() function

Problem:    Wrong type of comment in SetSyn() function.
Solution:   Use Vim9 comment. (closes #11278)

2 years agopatch 9.0.0658: tiny build fails on Mac OS v9.0.0658
Bram Moolenaar [Tue, 4 Oct 2022 15:50:21 +0000 (16:50 +0100)]
patch 9.0.0658: tiny build fails on Mac OS

Problem:    Tiny build fails on Mac OS.
Solution:   Define FEAT_CLIPBOARD only for normal build.

2 years agopatch 9.0.0657: too many #ifdefs v9.0.0657
Martin Tournoij [Tue, 4 Oct 2022 15:28:45 +0000 (16:28 +0100)]
patch 9.0.0657: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Graduate the +cmdwin feature.  Now the tiny and small builds are
            equal, drop the small build.  (Martin Tournoij, closes #11268)

2 years agopatch 9.0.0656: cannot specify another character to use instead of '@' v9.0.0656
Bram Moolenaar [Tue, 4 Oct 2022 13:36:29 +0000 (14:36 +0100)]
patch 9.0.0656: cannot specify another character to use instead of '@'

Problem:    Cannot specify another character to use instead of '@' at the end
            of the window.
Solution:   Add "lastline" to 'fillchars'. (Martin Tournoij, closes #11264,
            closes #10963)

2 years agopatch 9.0.0655: passing modifier codes to a shell running in the GUI v9.0.0655
Bram Moolenaar [Tue, 4 Oct 2022 12:17:31 +0000 (13:17 +0100)]
patch 9.0.0655: passing modifier codes to a shell running in the GUI

Problem:    passing modifier codes to a shell running in the GUI. (Gary
            Johnson)
Solution:   Include modifier codes into the key and drop the modifiers.

2 years agopatch 9.0.0654: breakindent test fails v9.0.0654
Bram Moolenaar [Mon, 3 Oct 2022 21:10:37 +0000 (22:10 +0100)]
patch 9.0.0654: breakindent test fails

Problem:    Breakindent test fails.
Solution:   Temporarily accept wrong result.

2 years agopatch 9.0.0653: BS and DEL do not work properly in an interacive shell v9.0.0653
Bram Moolenaar [Mon, 3 Oct 2022 19:24:39 +0000 (20:24 +0100)]
patch 9.0.0653: BS and DEL do not work properly in an interacive shell

Problem:    BS and DEL do not work properly in an interacive shell. (Gary
            Johnson)
Solution:   Adjust the length for replaced codes.

2 years agopatch 9.0.0652: 'smoothscroll' not tested with 'number' and "n" in 'cpo' v9.0.0652
Bram Moolenaar [Mon, 3 Oct 2022 19:01:16 +0000 (20:01 +0100)]
patch 9.0.0652: 'smoothscroll' not tested with 'number' and "n" in 'cpo'

Problem:    'smoothscroll' not tested with 'number' and "n" in 'cpo'.
Solution:   Add tests, fix uncovered problem.

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 3 Oct 2022 17:04:35 +0000 (18:04 +0100)]
Update runtime files