]> granicus.if.org Git - vim/log
vim
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

2 years agopatch 9.0.0651: build fails without the +conceal feature v9.0.0651
Bram Moolenaar [Mon, 3 Oct 2022 16:45:55 +0000 (17:45 +0100)]
patch 9.0.0651: build fails without the +conceal feature

Problem:    Build fails without the +conceal feature.
Solution:   Rename called function.

2 years agopatch 9.0.0650: some tests are failing v9.0.0650
Bram Moolenaar [Mon, 3 Oct 2022 16:07:34 +0000 (17:07 +0100)]
patch 9.0.0650: some tests are failing

Problem:    Some tests are failing.
Solution:   Adjust for "<<<" showing up.

2 years agopatch 9.0.0649: no indication the first line is broken for 'smoothscroll' v9.0.0649
Bram Moolenaar [Mon, 3 Oct 2022 15:44:12 +0000 (16:44 +0100)]
patch 9.0.0649: no indication the first line is broken for 'smoothscroll'

Problem:    No indication when the first line is broken for 'smoothscroll'.
Solution:   Show "<<<" in the first line.

2 years agopatch 9.0.0648: when using powershell input redirection does not work v9.0.0648
Yegappan Lakshmanan [Mon, 3 Oct 2022 15:05:28 +0000 (16:05 +0100)]
patch 9.0.0648: when using powershell input redirection does not work

Problem:    When using powershell input redirection does not work.
Solution:   Use a different shell command for powershell. (Yegappan
            Lakshmanan, closes #11257)

2 years agopatch 9.0.0647: the 'splitscroll' option is not a good name v9.0.0647
Luuk van Baal [Mon, 3 Oct 2022 14:28:08 +0000 (15:28 +0100)]
patch 9.0.0647: the 'splitscroll' option is not a good name

Problem:    The 'splitscroll' option is not a good name.
Solution:   Rename 'splitscroll' to 'splitkeep' and make it a string option,
            also supporting "topline". (Luuk van Baal, closes #11258)

2 years agopatch 9.0.0646: with 'smoothscroll' CTRL-E is wrong when 'foldmethod' set v9.0.0646
Bram Moolenaar [Mon, 3 Oct 2022 13:06:02 +0000 (14:06 +0100)]
patch 9.0.0646: with 'smoothscroll' CTRL-E is wrong when 'foldmethod' set

Problem:    with 'smoothscroll' set CTRL-E does not work properly when
            'foldmethod' is set to "indent". (Yee Cheng Chin)
Solution:   Merge the code for scroling with folds and 'smoothscroll'.
            (closes #11262)

2 years agopatch 9.0.0645: CTRL-Y does not stop at line 1 v9.0.0645
Bram Moolenaar [Mon, 3 Oct 2022 11:11:13 +0000 (12:11 +0100)]
patch 9.0.0645: CTRL-Y does not stop at line 1

Problem:    CTRL-Y does not stop at line 1. (John Marriott)
Solution:   Stop at line 1 when 'smoothscroll' is not set. (closes #11261)

2 years agopatch 9.0.0644: 'smoothscroll' is not copied to a new window on :split v9.0.0644
Bram Moolenaar [Mon, 3 Oct 2022 10:23:02 +0000 (11:23 +0100)]
patch 9.0.0644: 'smoothscroll' is not copied to a new window on :split

Problem:    'smoothscroll' is not copied to a new window on :split.
Solution:   Copy the option value.  Add a test.

2 years agopatch 9.0.0643: smoothscroll test fails v9.0.0643
Bram Moolenaar [Sun, 2 Oct 2022 21:32:08 +0000 (22:32 +0100)]
patch 9.0.0643: smoothscroll test fails

Problem:    Smoothscroll test fails.
Solution:   Check if skipcol changed.

2 years agopatch 9.0.0642: breakindent test fails v9.0.0642
Bram Moolenaar [Sun, 2 Oct 2022 21:10:25 +0000 (22:10 +0100)]
patch 9.0.0642: breakindent test fails

Problem:    Breakindent test fails.
Solution:   Correct logic for resetting need_showbreak.

2 years agopatch 9.0.0641: missing part of the new option code v9.0.0641
Bram Moolenaar [Sun, 2 Oct 2022 20:46:58 +0000 (21:46 +0100)]
patch 9.0.0641: missing part of the new option code

Problem:    Missing part of the new option code.
Solution:   Add missing WV_SMS.

2 years agopatch 9.0.0640: cannot scroll by screen line if a line wraps v9.0.0640
Bram Moolenaar [Sun, 2 Oct 2022 20:29:55 +0000 (21:29 +0100)]
patch 9.0.0640: cannot scroll by screen line if a line wraps

Problem:    Cannot scroll by screen line if a line wraps.
Solution:   Add the 'smoothscroll' option.  Only works for CTRL-E and CTRL-Y
            so far.

2 years agopatch 9.0.0639: checking for popup in screen_char() is too late v9.0.0639
Bram Moolenaar [Sun, 2 Oct 2022 14:21:04 +0000 (15:21 +0100)]
patch 9.0.0639: checking for popup in screen_char() is too late

Problem:    Checking for popup in screen_char() is too late, the attribute has
            already been changed.
Solution:   Move check for popup to where screen_char() is called.

2 years agopatch 9.0.0638: popup menu highlight wrong on top of preview popup v9.0.0638
Bram Moolenaar [Sun, 2 Oct 2022 13:28:30 +0000 (14:28 +0100)]
patch 9.0.0638: popup menu highlight wrong on top of preview popup

Problem:    Popup menu highlight wrong on top of preview popup. (Yegappan
            Lakshmanan)
Solution:   Also check for the popup menu in screen_line().

2 years agopatch 9.0.0637: syntax of commands in Vim9 script depends on +eval feature v9.0.0637
Bram Moolenaar [Sun, 2 Oct 2022 11:59:00 +0000 (12:59 +0100)]
patch 9.0.0637: syntax of commands in Vim9 script depends on +eval feature

Problem:    Syntax of commands in Vim9 script depends on +eval feature.
Solution:   Use same syntax with and without the +eval feature.

2 years agopatch 9.0.0636: underline color may not work in some terminals v9.0.0636
Bram Moolenaar [Sat, 1 Oct 2022 20:22:17 +0000 (21:22 +0100)]
patch 9.0.0636: underline color may not work in some terminals

Problem:    Underline color does not work in terminals that don't send a
            termresponse.
Solution:   Do output t_8u if it was set explicitly. (closes #11253)

2 years agopatch 9.0.0635: build error and compiler warnings v9.0.0635
Bram Moolenaar [Sat, 1 Oct 2022 19:17:17 +0000 (20:17 +0100)]
patch 9.0.0635: build error and compiler warnings

Problem:    Build error and compiler warnings.
Solution:   Add missing change.  Add type casts.

2 years agopatch 9.0.0634: evaluating "expr" options has more overhead than needed v9.0.0634
Bram Moolenaar [Sat, 1 Oct 2022 18:43:52 +0000 (19:43 +0100)]
patch 9.0.0634: evaluating "expr" options has more overhead than needed

Problem:    Evaluating "expr" options has more overhead than needed.
Solution:   Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
            "expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
            'formatexpr', 'indentexpr' and 'charconvert'.

2 years agopatch 9.0.0633: FEAT_TITLE was removed but is still used v9.0.0633
rbtnn [Sat, 1 Oct 2022 14:47:04 +0000 (15:47 +0100)]
patch 9.0.0633: FEAT_TITLE was removed but is still used

Problem:    FEAT_TITLE was removed but is still used.
Solution:   Remove FEAT_TITLE. (Naruhiko Nishino, closes #11256)

2 years agopatch 9.0.0632: calling a function from an "expr" option has overhead v9.0.0632
Bram Moolenaar [Sat, 1 Oct 2022 14:32:46 +0000 (15:32 +0100)]
patch 9.0.0632: calling a function from an "expr" option has overhead

Problem:    Calling a function from an "expr" option has too much overhead.
Solution:   Add call_simple_func() and use it for 'foldexpr'

2 years agopatch 9.0.0631: too many delete() calls in tests v9.0.0631
Bram Moolenaar [Fri, 30 Sep 2022 20:57:11 +0000 (21:57 +0100)]
patch 9.0.0631: too many delete() calls in tests

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

2 years agopatch 9.0.0630: in Vim9 script a numbered function cannot be called v9.0.0630
Bram Moolenaar [Fri, 30 Sep 2022 18:19:04 +0000 (19:19 +0100)]
patch 9.0.0630: in Vim9 script a numbered function cannot be called

Problem:    In Vim9 script a numbered function cannot be called.
Solution:   Do not require "g:" before a numbered function name.
            (closes #11254)

2 years agopatch 9.0.0629: get an error for using const only when executing v9.0.0629
Bram Moolenaar [Fri, 30 Sep 2022 16:57:47 +0000 (17:57 +0100)]
patch 9.0.0629: get an error for using const only when executing

Problem:    Get an error for using const only when executing.
Solution:   Check for const at compile time for filter(), map(), remove(),
            reverse(), sort() and uniq().

2 years agopatch 9.0.0628: Coverity warns for not checking return value v9.0.0628
Bram Moolenaar [Fri, 30 Sep 2022 11:00:06 +0000 (12:00 +0100)]
patch 9.0.0628: Coverity warns for not checking return value

Problem:    Coverity warns for not checking return value.
Solution:   Check the return value and simplify the code.

2 years agopatch 9.0.0627: "const" and "final" both make the type a constant v9.0.0627
Bram Moolenaar [Fri, 30 Sep 2022 10:04:50 +0000 (11:04 +0100)]
patch 9.0.0627: "const" and "final" both make the type a constant

Problem:    "const" and "final" both make the type a constant. (Daniel
            Steinberg)
Solution:   Only have "const" make the type a constant.

2 years agopatch 9.0.0626: too many delete() calls in tests v9.0.0626
Bram Moolenaar [Thu, 29 Sep 2022 20:37:33 +0000 (21:37 +0100)]
patch 9.0.0626: too many delete() calls in tests

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

2 years agopatch 9.0.0625: too many delete() calls in tests v9.0.0625
Bram Moolenaar [Thu, 29 Sep 2022 20:01:57 +0000 (21:01 +0100)]
patch 9.0.0625: too many delete() calls in tests

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

2 years agopatch 9.0.0624: leaking argument type array v9.0.0624
Bram Moolenaar [Thu, 29 Sep 2022 19:23:35 +0000 (20:23 +0100)]
patch 9.0.0624: leaking argument type array

Problem:    Leaking argument type array.
Solution:   Add allocated memory to type_gap.

2 years agopatch 9.0.0623: error for modifying a const is not detected at compile time v9.0.0623
Bram Moolenaar [Thu, 29 Sep 2022 18:14:42 +0000 (19:14 +0100)]
patch 9.0.0623: error for modifying a const is not detected at compile time

Problem:    Error for modifying a const is not detected at compile time.
Solution:   Add TTFLAG_CONST and check for it in add() and extend().

2 years agopatch 9.0.0622: matchaddpos() can get slow when adding many matches v9.0.0622
Bram Moolenaar [Thu, 29 Sep 2022 12:50:08 +0000 (13:50 +0100)]
patch 9.0.0622: matchaddpos() can get slow when adding many matches

Problem:    matchaddpos() can get slow when adding many matches.
Solution:   Update the next available match ID when manually picking an ID and
            remove check if the available ID can be used. (idea by Rick Howe)

2 years agopatch 9.0.0621: filetype test leaves file behind v9.0.0621
Dominique Pelle [Thu, 29 Sep 2022 12:07:18 +0000 (13:07 +0100)]
patch 9.0.0621: filetype test leaves file behind

Problem:    Filetype test leaves file behind.
Solution:   Add deferred delete flag to writefile(). (Dominique PellĂ©,
            closes #11249)

2 years agopatch 9.0.0620: matchaddpos() can only add up to 8 matches v9.0.0620
Bram Moolenaar [Thu, 29 Sep 2022 11:50:17 +0000 (12:50 +0100)]
patch 9.0.0620: matchaddpos() can only add up to 8 matches

Problem:    matchaddpos() can only add up to 8 matches.
Solution:   Allocate the array of positions. (closes #11248)

2 years agopatch 9.0.0619: too many delete() calls in tests v9.0.0619
Bram Moolenaar [Wed, 28 Sep 2022 20:07:03 +0000 (21:07 +0100)]
patch 9.0.0619: too many delete() calls in tests

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

2 years agopatch 9.0.0618: calling function for reduce() has too much overhead v9.0.0618
Bram Moolenaar [Wed, 28 Sep 2022 15:16:15 +0000 (16:16 +0100)]
patch 9.0.0618: calling function for reduce() has too much overhead

Problem:    Calling function for reduce() has too much overhead.
Solution:   Do not create a funccall_T every time.

2 years agopatch 9.0.0617: calling function for reduce() has too much overhead v9.0.0617
Bram Moolenaar [Wed, 28 Sep 2022 14:19:10 +0000 (15:19 +0100)]
patch 9.0.0617: calling function for reduce() has too much overhead

Problem:    Calling function for reduce() has too much overhead.
Solution:   Only call clear_tv() when needed.

2 years agopatch 9.0.0616: spell test fails because error message changed v9.0.0616
Bram Moolenaar [Wed, 28 Sep 2022 13:08:23 +0000 (14:08 +0100)]
patch 9.0.0616: spell test fails because error message changed

Problem:    Spell test fails because error message changed.
Solution:   Adjust expected error message.