]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0938: MS-Windows: debug executable not found when running test v9.0.0938
Christopher Plewright [Thu, 24 Nov 2022 12:19:50 +0000 (12:19 +0000)]
patch 9.0.0938: MS-Windows: debug executable not found when running test

Problem:    MS-Windows: debug executable not found when running test.
Solution:   Look for vimd.exe. (Christopher Plewright, closes #11602)

2 years agopatch 9.0.0937: forked repositories send out useless email v9.0.0937
shane.xb.qian [Thu, 24 Nov 2022 12:01:45 +0000 (12:01 +0000)]
patch 9.0.0937: forked repositories send out useless email

Problem:    Forked repositories send out useless email.
Solution:   When Coverity fails to run just ignore it. (Shane-XB-Qian,
            closes #11604)

2 years agopatch 9.0.0936: wrong type for "isunnamed" returned by getreginfo() v9.0.0936
Bram Moolenaar [Thu, 24 Nov 2022 11:31:29 +0000 (11:31 +0000)]
patch 9.0.0936: wrong type for "isunnamed" returned by getreginfo()

Problem:    Wrong type for "isunnamed" returned by getreginfo().
Solution:   Use VAR_BOOL instead of VAR_SPECIAL. (closes #11598)

2 years agopatch 9.0.0935: when using dash it may not be recognize as filetype "sh" v9.0.0935
Eisuke Kawashima [Thu, 24 Nov 2022 10:58:10 +0000 (10:58 +0000)]
patch 9.0.0935: when using dash it may not be recognize as filetype "sh"

Problem:    When using dash it may not be recognize as filetype "sh".
Solution:   Add checks for "dash". (Eisuke Kawashima,closes #11600)

2 years agopatch 9.0.0934: various code formatting issues v9.0.0934
Bram Moolenaar [Thu, 24 Nov 2022 00:09:02 +0000 (00:09 +0000)]
patch 9.0.0934: various code formatting issues

Problem:    Various code formatting issues.
Solution:   Improve code formatting.

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 23 Nov 2022 23:46:31 +0000 (23:46 +0000)]
Update runtime files

2 years agopatch 9.0.0933: Kitty shows "already at oldest change" on startup v9.0.0933
Bram Moolenaar [Wed, 23 Nov 2022 23:30:58 +0000 (23:30 +0000)]
patch 9.0.0933: Kitty shows "already at oldest change" on startup

Problem:    Kitty shows "already at oldest change" on startup.
Solution:   When receiving the keyboard protocol state return the ignore key.
            (closes #11601)

2 years agopatch 9.0.0932: Oblivion files are not recognized v9.0.0932
Bram Moolenaar [Wed, 23 Nov 2022 22:34:23 +0000 (22:34 +0000)]
patch 9.0.0932: Oblivion files are not recognized

Problem:    Oblivion files are not recognized.
Solution:   Recognize Oblivion files and alike as "obse". (closes #11540)

2 years agopatch 9.0.0931: MS-Windows: mouse column limited to 223 v9.0.0931
Christopher Plewright [Wed, 23 Nov 2022 22:28:08 +0000 (22:28 +0000)]
patch 9.0.0931: MS-Windows: mouse column limited to 223

Problem:    MS-Windows: mouse column limited to 223.
Solution:   Use two bytes for each mouse coordinate.  Add the mouse position
            to scroll events. (Christopher Plewright, closes #11597)

2 years agopatch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug v9.0.0930
Bram Moolenaar [Wed, 23 Nov 2022 20:20:18 +0000 (20:20 +0000)]
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug

Problem:    Cannot debug the Kitty keyboard protocol with TermDebug.
Solution:   Add Kitty keyboard protocol support to the libvterm fork.
            Recognize the escape sequences that the protocol generates.  Add
            the 'keyprotocol' option to allow the user to specify for which
            terminal what protocol is to be used, instead of hard-coding this.
            Add recognizing the kitty keyboard protocol status.

2 years agopatch 9.0.0929: build failure with tiny version v9.0.0929
Bram Moolenaar [Wed, 23 Nov 2022 14:33:01 +0000 (14:33 +0000)]
patch 9.0.0929: build failure with tiny version

Problem:    Build failure with tiny version. (Tony Mechelynck)
Solution:   Add #ifdef.

2 years agopatch 9.0.0928: using Ruby LDFLAGS may cause build problems v9.0.0928
Zdenek Dohnal [Wed, 23 Nov 2022 12:06:08 +0000 (12:06 +0000)]
patch 9.0.0928: using Ruby LDFLAGS may cause build problems

Problem:    Using Ruby LDFLAGS may cause build problems.
Solution:   Do not add Ruby LDFLAGS to Vim's LDFLAGS. (Zdenek Dohnal,
            closes #11592)

2 years agopatch 9.0.0927: Coverity warns for using a NULL pointer v9.0.0927
Bram Moolenaar [Wed, 23 Nov 2022 11:36:22 +0000 (11:36 +0000)]
patch 9.0.0927: Coverity warns for using a NULL pointer

Problem:    Coverity warns for using a NULL pointer.
Solution:   Check for memory allocaion failure.

2 years agopatch 9.0.0926: Coverity warns for not using return value of dict_add() v9.0.0926
Bram Moolenaar [Wed, 23 Nov 2022 11:34:01 +0000 (11:34 +0000)]
patch 9.0.0926: Coverity warns for not using return value of dict_add()

Problem:    Coverity warns for not using return value of dict_add().
Solution:   When dict_add() fails then don't call hash_remove().

2 years agopatch 9.0.0925: two conditions are always false v9.0.0925
zeertzjq [Wed, 23 Nov 2022 11:23:17 +0000 (11:23 +0000)]
patch 9.0.0925: two conditions are always false

Problem:    Two conditions are always false.
Solution:   Remove the conditions.  Update return value types to make clear
            what could be returned. (closes #11593)

2 years agopatch 9.0.0924: the first termcap entry of a builtin termcap is not used v9.0.0924
Bram Moolenaar [Tue, 22 Nov 2022 22:03:39 +0000 (22:03 +0000)]
patch 9.0.0924: the first termcap entry of a builtin termcap is not used

Problem:    The first termcap entry of a builtin termcap is not used.
Solution:   Remove increment that was previously skipping the KS_NAME entry.

2 years agopatch 9.0.0923: second SIGWINCH signal may be ignored v9.0.0923
Bram Moolenaar [Tue, 22 Nov 2022 20:41:05 +0000 (20:41 +0000)]
patch 9.0.0923: second SIGWINCH signal may be ignored

Problem:    Second SIGWINCH signal may be ignored.
Solution:   When set_shellsize() is busy when called then run the inner code
            again when it's done.  (issue #424)

2 years agopatch 9.0.0922: Mermaid files are not recognized v9.0.0922
Bram Moolenaar [Tue, 22 Nov 2022 19:16:29 +0000 (19:16 +0000)]
patch 9.0.0922: Mermaid files are not recognized

Problem:    Mermaid files are not recognized.
Solution:   Add patterns for Mermaid. (Crag MacEachern)

2 years agopatch 9.0.0921: missing defined(PROTO) in #ifdef v9.0.0921
Bram Moolenaar [Tue, 22 Nov 2022 18:18:38 +0000 (18:18 +0000)]
patch 9.0.0921: missing defined(PROTO) in #ifdef

Problem:    Missing defined(PROTO) in #ifdef.
Solution:   Adjust #ifdef so that proto works with different features.
            Clean up some preprocessor indenting.

2 years agopatch 9.0.0920: cannot find an import prefixed with "s:" v9.0.0920
Bram Moolenaar [Tue, 22 Nov 2022 18:12:44 +0000 (18:12 +0000)]
patch 9.0.0920: cannot find an import prefixed with "s:"

Problem:    Cannot find an import prefixed with "s:". (Doug Kearns)
Solution:   Skip over the "s:". (closes #11585)

2 years agopatch 9.0.0919: build failure with tiny features v9.0.0919
Bram Moolenaar [Tue, 22 Nov 2022 13:29:20 +0000 (13:29 +0000)]
patch 9.0.0919: build failure with tiny features

Problem:    Build failure with tiny features.
Solution:   Adjust #ifdef's.

2 years agopatch 9.0.0918: MS-Windows: modifier keys do not work with mouse scroll event v9.0.0918
Christopher Plewright [Tue, 22 Nov 2022 12:58:27 +0000 (12:58 +0000)]
patch 9.0.0918: MS-Windows: modifier keys do not work with mouse scroll event

Problem:    MS-Windows: modifier keys do not work with mouse scroll events.
Solution:   Use K_SPECIAL instead of CSI for the modifier keys. (Christopher
            Plewright, closes #11587)

2 years agopatch 9.0.0917: the WinScrolled autocommand event is not enough v9.0.0917
Bram Moolenaar [Tue, 22 Nov 2022 12:40:50 +0000 (12:40 +0000)]
patch 9.0.0917: the WinScrolled autocommand event is not enough

Problem:    The WinScrolled autocommand event is not enough.
Solution:   Add WinResized and provide information about what changed.
            (closes #11576)

2 years agopatch 9.0.0916: getbufline() is inefficient for getting a single line v9.0.0916
Bram Moolenaar [Mon, 21 Nov 2022 19:57:04 +0000 (19:57 +0000)]
patch 9.0.0916: getbufline() is inefficient for getting a single line

Problem:    getbufline() is inefficient for getting a single line.
Solution:   Add getbufoneline().

2 years agopatch 9.0.0915: WinScrolled may trigger immediately when defined v9.0.0915
Bram Moolenaar [Sun, 20 Nov 2022 12:11:45 +0000 (12:11 +0000)]
patch 9.0.0915: WinScrolled may trigger immediately when defined

Problem:    WinScrolled may trigger immediately when defined.
Solution:   Initialize the fields in all windows. (closes #11582)

2 years agopatch 9.0.0914: deletebufline() may move marks in the wrong window v9.0.0914
zeertzjq [Sun, 20 Nov 2022 11:13:17 +0000 (11:13 +0000)]
patch 9.0.0914: deletebufline() may move marks in the wrong window

Problem:    deletebufline() may move marks in the wrong window.
Solution:   Find a window for the buffer being changed. (closes #11583)

2 years agopatch 9.0.0913: only change in current window triggers the WinScrolled event v9.0.0913
Bram Moolenaar [Sat, 19 Nov 2022 21:18:11 +0000 (21:18 +0000)]
patch 9.0.0913: only change in current window triggers the WinScrolled event

Problem:    Only a change in the current window triggers the WinScrolled
            event.
Solution:   Trigger WinScrolled if any window scrolled or changed size.
            (issue #11576)

2 years agopatch 9.0.0912: libvterm with modifyOtherKeys level 2 does not match xterm v9.0.0912
Bram Moolenaar [Sat, 19 Nov 2022 19:02:40 +0000 (19:02 +0000)]
patch 9.0.0912: libvterm with modifyOtherKeys level 2 does not match xterm

Problem:    libvterm with modifyOtherKeys level 2 does not match xterm.
Solution:   Adjust key code escape sequences to be the same as what xterm
            sends in modifyOtherKeys level 2 mode.  Check the value of
            no_reduce_keys before using it.

2 years agopatch 9.0.0911: with 'smoothscroll' set mouse click position may be wrong v9.0.0911
Yee Cheng Chin [Sat, 19 Nov 2022 14:31:08 +0000 (14:31 +0000)]
patch 9.0.0911: with 'smoothscroll' set mouse click position may be wrong

Problem:    With 'smoothscroll' set mouse click position may be wrong.
Solution:   Adjust computations for w_skipcol. (Yee Cheng Chin, closes #11514)

2 years agopatch 9.0.0910: setting lines in another buffer may not work well v9.0.0910
Bram Moolenaar [Sat, 19 Nov 2022 13:59:43 +0000 (13:59 +0000)]
patch 9.0.0910: setting lines in another buffer may not work well

Problem:    Setting lines in another buffer may not work well.
Solution:   Make sure the buffer being changed has a window. (issue #11558)

2 years agopatch 9.0.0909: error message for layout change does not match action v9.0.0909
Bram Moolenaar [Sat, 19 Nov 2022 13:14:10 +0000 (13:14 +0000)]
patch 9.0.0909: error message for layout change does not match action

Problem:    Error message for layout change does not match action.
Solution:   Pass the command to where the error is given. (closes #11573)

2 years agopatch 9.0.0908: with 'smoothscroll' cursor may end up in wrong position v9.0.0908
Yee Cheng Chin [Sat, 19 Nov 2022 12:25:16 +0000 (12:25 +0000)]
patch 9.0.0908: with 'smoothscroll' cursor may end up in wrong position

Problem:    With 'smoothscroll' cursor may end up in wrong position.
Solution:   Correct the computation of screen lines. (Yee Cheng Chin,
            closes #11502)

2 years agopatch 9.0.0907: restoring window after WinScrolled may fail v9.0.0907
Bram Moolenaar [Sat, 19 Nov 2022 11:41:30 +0000 (11:41 +0000)]
patch 9.0.0907: restoring window after WinScrolled may fail

Problem:    Restoring window after WinScrolled may fail.
Solution:   Lock the window layout when triggering WinScrolled.

2 years agopatch 9.0.0906: mouse scroll code is not optimal v9.0.0906
Christopher Plewright [Sat, 19 Nov 2022 10:47:49 +0000 (10:47 +0000)]
patch 9.0.0906: mouse scroll code is not optimal

Problem:    Mouse scroll code is not optimal.
Solution:   Properly organise Normal mode, Insert mode and common code.
            (Christopher Plewright, closes #11572)

2 years agopatch 9.0.0905: virtual text after the line wraps when 'wrap' is off v9.0.0905
Bram Moolenaar [Fri, 18 Nov 2022 23:13:47 +0000 (23:13 +0000)]
patch 9.0.0905: virtual text after the line wraps when 'wrap' is off

Problem:    Virtual text after the line wraps when 'wrap' is off.
Solution:   Only set text_prop_follows when wrapping. (closes #11463)

2 years agopatch 9.0.0904: various comment and indent flaws v9.0.0904
Bram Moolenaar [Fri, 18 Nov 2022 22:14:09 +0000 (22:14 +0000)]
patch 9.0.0904: various comment and indent flaws

Problem:    Various comment and indent flaws.
Solution:   Improve comments and indenting.

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 18 Nov 2022 21:49:57 +0000 (21:49 +0000)]
Update runtime files

2 years agopatch 9.0.0903: key code checker doesn't check modifyOtherKeys resource v9.0.0903
Bram Moolenaar [Fri, 18 Nov 2022 21:20:25 +0000 (21:20 +0000)]
patch 9.0.0903: key code checker doesn't check modifyOtherKeys resource

Problem:    Key code checker doesn't check modifyOtherKeys resource.
Solution:   Request the modifyOtherKeys resource value.  Drop resource DCS
            responses.

2 years agopatch 9.0.0902: some mouse scroll code is not in a good place v9.0.0902
Christopher Plewright [Fri, 18 Nov 2022 17:53:34 +0000 (17:53 +0000)]
patch 9.0.0902: some mouse scroll code is not in a good place

Problem:    Some mouse scroll code is not in a good place.
Solution:   Refactor the code. (Christopher Plewright, closes #11561)

2 years agopatch 9.0.0901: setting w_leftcol and handling side effects is confusing v9.0.0901
Bram Moolenaar [Fri, 18 Nov 2022 14:07:20 +0000 (14:07 +0000)]
patch 9.0.0901: setting w_leftcol and handling side effects is confusing

Problem:    Setting w_leftcol and handling side effects is confusing.
Solution:   Use a function to set w_leftcol() and handle side effects.

2 years agopatch 9.0.0900: cursor moves too far with 'smoothscroll' v9.0.0900
Yee Cheng Chin [Fri, 18 Nov 2022 12:52:50 +0000 (12:52 +0000)]
patch 9.0.0900: cursor moves too far with 'smoothscroll'

Problem:    Cursor moves too far with 'smoothscroll'.
Solution:   Only move as far as really needed. (Yee Cheng Chin, closes #11504)

2 years agopatch 9.0.0899: the builtin terminals are in one long list v9.0.0899
Bram Moolenaar [Thu, 17 Nov 2022 22:05:12 +0000 (22:05 +0000)]
patch 9.0.0899: the builtin terminals are in one long list

Problem:    The builtin terminals are in one long list.
Solution:   Refactor into multiple lists and an index of the lists.

2 years agopatch 9.0.0898: with 'smoothscroll' cursor is one screen line too far down v9.0.0898
Bram Moolenaar [Thu, 17 Nov 2022 19:00:14 +0000 (19:00 +0000)]
patch 9.0.0898: with 'smoothscroll' cursor is one screen line too far down

Problem:    With 'smoothscroll' cursor is one screen line too far down. (Ernie
            Rael)
Solution:   Add a test that currently has the wrong result so that a fix can
            be made. (issue #11436)

2 years agopatch 9.0.0897: Clinical Quality Language files are not recognized v9.0.0897
mgramigna [Thu, 17 Nov 2022 18:30:16 +0000 (18:30 +0000)]
patch 9.0.0897: Clinical Quality Language files are not recognized

Problem:    Clinical Quality Language files are not recognized.
Solution:   Add the "*.cql" pattern. (Matthew Gramigna, closes #11452)

2 years agopatch 9.0.0896: test for home key fails when 'term' is "tmux" v9.0.0896
Bram Moolenaar [Thu, 17 Nov 2022 16:43:35 +0000 (16:43 +0000)]
patch 9.0.0896: test for home key fails when 'term' is "tmux"

Problem:    Test for home key fails when 'term' is "tmux".
Solution:   Only save termcap entries that exist.  Adjust code for xHome to
            what xterm uses. (closes #11566)

2 years agopatch 9.0.0895: file renamed twice in test, missing feature check v9.0.0895
zeertzjq [Thu, 17 Nov 2022 15:23:52 +0000 (15:23 +0000)]
patch 9.0.0895: file renamed twice in test, missing feature check

Problem:    File renamed twice in test; missing feature check.
Solution:   Remove a rename() call.  Add check for cryptv feature.
            (closes #11564)

2 years agopatch 9.0.0894: virtual text property highlight ignores window background v9.0.0894
Bram Moolenaar [Thu, 17 Nov 2022 14:56:00 +0000 (14:56 +0000)]
patch 9.0.0894: virtual text property highlight ignores window background

Problem:    Virtual text property highlight ignores window background.
Solution:   Combine text prop attribute with win_attr into extra_attr.
            (closes #11462)

2 years agopatch 9.0.0893: 'smoothscroll' cursor calculations wrong when 'number' is set v9.0.0893
Yee Cheng Chin [Thu, 17 Nov 2022 12:41:42 +0000 (12:41 +0000)]
patch 9.0.0893: 'smoothscroll' cursor calculations wrong when 'number' is set

Problem:    'smoothscroll' cursor calculations wrong when 'number' is set.
Solution:   Correct the code that computes the width. (closes #11492)

2 years agopatch 9.0.0892: may redraw when not needed v9.0.0892
Bram Moolenaar [Thu, 17 Nov 2022 11:34:38 +0000 (11:34 +0000)]
patch 9.0.0892: may redraw when not needed

Problem:    May redraw when not needed, causing slow scrolling.
Solution:   Do not redraw when w_skipcol doesn't change.  When w_skipcol
            changes only redraw from the top. (issue #11559)

2 years agopatch 9.0.0891: virtual text below after match has wrong highlight v9.0.0891
Bram Moolenaar [Wed, 16 Nov 2022 22:12:57 +0000 (22:12 +0000)]
patch 9.0.0891: virtual text below after match has wrong highlight

Problem:    Virtual text below after match has wrong highlight.
Solution:   Restore search_attr only after the virtual text.
            (closes #11446)

2 years agopatch 9.0.0890: no test for what patch 9.0.0827 fixes v9.0.0890
Bram Moolenaar [Wed, 16 Nov 2022 20:33:21 +0000 (20:33 +0000)]
patch 9.0.0890: no test for what patch 9.0.0827 fixes

Problem:    No test for what patch 9.0.0827 fixes.
Solution:   Add a test (still doesn't fail when fix is reverted).

2 years agopatch 9.0.0889: keycode check script has a few flaws v9.0.0889
Bram Moolenaar [Wed, 16 Nov 2022 16:08:30 +0000 (16:08 +0000)]
patch 9.0.0889: keycode check script has a few flaws

Problem:    Keycode check script has a few flaws.
Solution:   Sort on terminal name.  Ignore XTGETTCAP responses.  Check for
            version and status response.  Update entries.

2 years agopatch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard v9.0.0888
Aedin Louis Xavier [Wed, 16 Nov 2022 12:02:28 +0000 (12:02 +0000)]
patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard

Problem:    MS-Windows GUI: CTRL-] does not work on Swiss keyboard.
Solution:   Check the key code and don't consider it as a dead key. (Aedin
            Louis Xavier, closes #11556)

2 years agopatch 9.0.0887: cannot easily try out what codes various keys produce v9.0.0887
Bram Moolenaar [Tue, 15 Nov 2022 22:59:07 +0000 (22:59 +0000)]
patch 9.0.0887: cannot easily try out what codes various keys produce

Problem:    Cannot easily try out what codes various keys produce.
Solution:   Add a script to gather key code information, with an initial list
            of codes to compare with.

2 years agopatch 9.0.0886: horizontal mouse scroll only works in the GUI v9.0.0886
Christopher Plewright [Tue, 15 Nov 2022 17:43:36 +0000 (17:43 +0000)]
patch 9.0.0886: horizontal mouse scroll only works in the GUI

Problem:    Horizontal mouse scroll only works in the GUI.
Solution:   Make horizontal mouse scroll also work in a terminal.
            (Christopher Plewright, closes #11448)

2 years agopatch 9.0.0885: informational message has an error message number v9.0.0885
Bram Moolenaar [Tue, 15 Nov 2022 13:57:38 +0000 (13:57 +0000)]
patch 9.0.0885: informational message has an error message number

Problem:    Informational message has an error message number.
Solution:   Use a message without an error number. (closes #11530)

2 years agopatch 9.0.0884: mouse shape remains in op-pending mode after failed change v9.0.0884
zeertzjq [Tue, 15 Nov 2022 13:46:12 +0000 (13:46 +0000)]
patch 9.0.0884: mouse shape remains in op-pending mode after failed change

Problem:    Mouse shape remains in op-pending mode after failed change.
Solution:   Reset finish_op and restore it. (closes #11545)

2 years agopatch 9.0.0883: a silent mapping may cause dots on the command line v9.0.0883
Bram Moolenaar [Mon, 14 Nov 2022 22:07:45 +0000 (22:07 +0000)]
patch 9.0.0883: a silent mapping may cause dots on the command line

Problem:    A silent mapping may cause dots on the command line.
Solution:   Don't show dots for completion if they are not going to be removed
            again. (closes #11501)

2 years agopatch 9.0.0882: using freed memory after SpellFileMissing autocmd uses bwipe v9.0.0882
Bram Moolenaar [Mon, 14 Nov 2022 20:52:14 +0000 (20:52 +0000)]
patch 9.0.0882: using freed memory after SpellFileMissing autocmd uses bwipe

Problem:    Using freed memory after SpellFileMissing autocmd uses bwipe.
Solution:   Bail out if the window no longer exists.

2 years agopatch 9.0.0881: cannot get the currently showing mouse shape v9.0.0881
Bram Moolenaar [Mon, 14 Nov 2022 19:49:15 +0000 (19:49 +0000)]
patch 9.0.0881: cannot get the currently showing mouse shape

Problem:    Cannot get the currently showing mouse shape.
Solution:   Add getmouseshape().

2 years agopatch 9.0.0880: preprocessor indenting is off v9.0.0880
K.Takata [Mon, 14 Nov 2022 15:31:07 +0000 (15:31 +0000)]
patch 9.0.0880: preprocessor indenting is off

Problem:    Preprocessor indenting is off.
Solution:   Adjust preprocessor indentation. (Ken Takata, closes #11546)

2 years agopatch 9.0.0879: unnecessary nesting in makefile v9.0.0879
K.Takata [Mon, 14 Nov 2022 14:50:15 +0000 (14:50 +0000)]
patch 9.0.0879: unnecessary nesting in makefile

Problem:    Unnecessary nesting in makefile.
Solution:   Join "else" and "ifeq". (Ken Takata, closes #11547)

2 years agopatch 9.0.0878: Coverity warns for dead code v9.0.0878
Bram Moolenaar [Mon, 14 Nov 2022 14:36:41 +0000 (14:36 +0000)]
patch 9.0.0878: Coverity warns for dead code

Problem:    Coverity warns for dead code.
Solution:   Remove the dead code.

2 years agopatch 9.0.0877: using freed memory with :comclear while listing commands v9.0.0877
Bram Moolenaar [Sun, 13 Nov 2022 23:30:06 +0000 (23:30 +0000)]
patch 9.0.0877: using freed memory with :comclear while listing commands

Problem:    Using freed memory with :comclear while listing commands.
Solution:   Bail out when the command list has changed. (closes #11440)

2 years agopatch 9.0.0876: code is indented more than needed v9.0.0876
Yegappan Lakshmanan [Sun, 13 Nov 2022 22:38:10 +0000 (22:38 +0000)]
patch 9.0.0876: code is indented more than needed

Problem:    Code is indented more than needed.
Solution:   Split ExpandEscape() in two. (Yegappan Lakshmanan, closes #11539)

2 years agopatch 9.0.0875: using freed memory when executing delfunc at more prompt v9.0.0875
Bram Moolenaar [Sun, 13 Nov 2022 22:13:33 +0000 (22:13 +0000)]
patch 9.0.0875: using freed memory when executing delfunc at more prompt

Problem:    Using freed memory when executing delfunc at the more prompt.
Solution:   Check function list not changed in another place. (closes #11437)

2 years agopatch 9.0.0874: using freed memory when executing unmenu at more prompt v9.0.0874
Bram Moolenaar [Sun, 13 Nov 2022 21:10:02 +0000 (21:10 +0000)]
patch 9.0.0874: using freed memory when executing unmenu at more prompt

Problem:    Using freed memory when executing unmenu at the more prompt.
Solution:   Do not clear menus while listing them. (closes #11439)

2 years agopatch 9.0.0873: using freed memory when executing mapclear at more prompt v9.0.0873
Bram Moolenaar [Sun, 13 Nov 2022 20:43:19 +0000 (20:43 +0000)]
patch 9.0.0873: using freed memory when executing mapclear at more prompt

Problem:    Using freed memory when executing mapclear at the more prompt.
Solution:   Do not clear mappings while listing them. (closes #11438)

2 years agopatch 9.0.0872: code is indented more than needed v9.0.0872
Yegappan Lakshmanan [Sun, 13 Nov 2022 18:11:17 +0000 (18:11 +0000)]
patch 9.0.0872: code is indented more than needed

Problem:    Code is indented more than needed.
Solution:   Return early. (Yegappan Lakshmanan, closes #11538)

2 years agopatch 9.0.0871: using freed memory when clearing augroup at more prompt v9.0.0871
Bram Moolenaar [Sun, 13 Nov 2022 17:53:46 +0000 (17:53 +0000)]
patch 9.0.0871: using freed memory when clearing augroup at more prompt

Problem:    Using freed memory when clearing augroup at more prompt.
Solution:   Delay clearing augroup until it's safe. (closes #11441)

2 years agopatch 9.0.0870: get E967 when using text property in quickfix window v9.0.0870
Bram Moolenaar [Sun, 13 Nov 2022 12:54:50 +0000 (12:54 +0000)]
patch 9.0.0870: get E967 when using text property in quickfix window

Problem:    Get E967 when using text property in quickfix window. (Sergey
            Vlasov)
Solution:   Do not add an extra NUL and compute the text length correctly.
            (closes #11513)

2 years agopatch 9.0.0869: bogus error when string used after :elseif v9.0.0869
Bram Moolenaar [Sat, 12 Nov 2022 23:12:55 +0000 (23:12 +0000)]
patch 9.0.0869: bogus error when string used after :elseif

Problem:    Bogus error when string used after :elseif.
Solution:   Do not consider a double quote the start of a comment.
            (closes #11534)

2 years agopatch 9.0.0868: MS-Windows: after Vim exits console resizing problem v9.0.0868
Christopher Plewright [Sat, 12 Nov 2022 18:46:05 +0000 (18:46 +0000)]
patch 9.0.0868: MS-Windows: after Vim exits console resizing problem

Problem:    MS-Windows: after Vim exits console resizing does not work
            properly.
Solution:   Restore screen behavior checks for various WT and VTP
            combinations. (Christopher Plewright, closes #11526,
            closes #11507)

2 years agopatch 9.0.0867: wildmenu redrawing code is spread out v9.0.0867
Bram Moolenaar [Sat, 12 Nov 2022 17:44:13 +0000 (17:44 +0000)]
patch 9.0.0867: wildmenu redrawing code is spread out

Problem:    Wildmenu redrawing code is spread out.
Solution:   Refactor to move code together. (closes #11528)

2 years agopatch 9.0.0866: no test for what patch 8.2.2207 fixes v9.0.0866
zeertzjq [Sat, 12 Nov 2022 17:30:25 +0000 (17:30 +0000)]
patch 9.0.0866: no test for what patch 8.2.2207 fixes

Problem:    No test for what patch 8.2.2207 fixes.
Solution:   Add a test case. (closes #11531)

2 years agopatch 9.0.0865: duplicate arguments are not always detected v9.0.0865
Nir Lichtman [Sat, 12 Nov 2022 17:00:31 +0000 (17:00 +0000)]
patch 9.0.0865: duplicate arguments are not always detected

Problem:    Duplicate arguments are not always detected.
Solution:   Expand to full path before comparing arguments. (Nir Lichtman,
            closes #11505, closes #9402)

2 years agopatch 9.0.0864: crash when using "!!" without a previous shell command v9.0.0864
Bram Moolenaar [Sat, 12 Nov 2022 16:36:35 +0000 (16:36 +0000)]
patch 9.0.0864: crash when using "!!" without a previous shell command

Problem:    Crash when using "!!" without a previous shell command.
Solution:   Check "prevcmd" is not NULL. (closes #11487)

2 years agopatch 9.0.0863: col() and charcol() only work for the current window v9.0.0863
Yegappan Lakshmanan [Sat, 12 Nov 2022 16:07:47 +0000 (16:07 +0000)]
patch 9.0.0863: col() and charcol() only work for the current window

Problem:    col() and charcol() only work for the current window.
Solution:   Add an optional winid argument. (Yegappan Lakshmanan,
            closes #11466, closes #11461)

2 years agopatch 9.0.0862: default value of 'endoffile' is wrong v9.0.0862
Bram Moolenaar [Sat, 12 Nov 2022 11:54:26 +0000 (11:54 +0000)]
patch 9.0.0862: default value of 'endoffile' is wrong

Problem:    Default value of 'endoffile' is wrong.
Solution:   The default must be 'noendoffile'.

2 years agopatch 9.0.0861: solution for "!!sort" in closed fold is not optimal v9.0.0861
Bram Moolenaar [Fri, 11 Nov 2022 22:58:36 +0000 (22:58 +0000)]
patch 9.0.0861: solution for "!!sort" in closed fold is not optimal

Problem:    Solution for "!!sort" in closed fold is not optimal.
Solution:   Use a different range instead of the subtle difference in handling
            a range with an offset. (issue #11487)

2 years agopatch 9.0.0860: MS-Windows: windres fails with clang 15.0.4 v9.0.0860
Bram Moolenaar [Fri, 11 Nov 2022 21:24:18 +0000 (21:24 +0000)]
patch 9.0.0860: MS-Windows: windres fails with clang 15.0.4

Problem:    MS-Windows: windres fails with clang 15.0.4.
Solution:   Use llvm-windres. (John Marriott)

2 years agopatch 9.0.0859: compiler warning for unused variable v9.0.0859
Bram Moolenaar [Fri, 11 Nov 2022 01:40:48 +0000 (01:40 +0000)]
patch 9.0.0859: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Add #ifdef.

2 years agopatch 9.0.0858: "!!sort" in a closed fold sorts too many lines v9.0.0858
Bram Moolenaar [Fri, 11 Nov 2022 01:20:35 +0000 (01:20 +0000)]
patch 9.0.0858: "!!sort" in a closed fold sorts too many lines

Problem:    "!!sort" in a closed fold sorts too many lines.
Solution:   Round to end of fold after adding the line count. (closes #11487)

2 years agopatch 9.0.0857: selecting MSVC 2017 does not set $PLATFORM v9.0.0857
K.Takata [Thu, 10 Nov 2022 23:17:19 +0000 (23:17 +0000)]
patch 9.0.0857: selecting MSVC 2017 does not set $PLATFORM

Problem:    Selecting MSVC 2017 does not set $PLATFORM.
Solution:   Use $VSCMD_ARG_TGT_ARCH. (Ken Takata, closes #11485)

2 years agopatch 9.0.0856: MS-Windows: executable not found when running test v9.0.0856
Christopher Plewright [Thu, 10 Nov 2022 18:21:30 +0000 (18:21 +0000)]
patch 9.0.0856: MS-Windows: executable not found when running test

Problem:    MS-Windows: executable not found when running individual test.
Solution:   Also look for vimd.exe. (Christopher Plewright, closes #11525)

2 years agopatch 9.0.0855: comment not located above the code it refers to v9.0.0855
zeertzjq [Thu, 10 Nov 2022 17:05:28 +0000 (17:05 +0000)]
patch 9.0.0855: comment not located above the code it refers to

Problem:    Comment not located above the code it refers to.
Solution:   Move the comment. (closes #11527)

2 years agopatch 9.0.0854: no proper test for what 9.0.0846 fixes v9.0.0854
zeertzjq [Thu, 10 Nov 2022 13:21:34 +0000 (13:21 +0000)]
patch 9.0.0854: no proper test for what 9.0.0846 fixes

Problem:    No proper test for what 9.0.0846 fixes.
Solution:   Run test in a terminal so that the hit-enter prompt can show up.
            (closes #11523)

2 years agopatch 9.0.0853: terminal mouse test is still flaky on MacOS M1 v9.0.0853
Bram Moolenaar [Thu, 10 Nov 2022 12:38:16 +0000 (12:38 +0000)]
patch 9.0.0853: terminal mouse test is still flaky on MacOS M1

Problem:    Terminal mouse test is still flaky on MacOS M1.
Solution:   Also wait for the file to have some contents.

2 years agopatch 9.0.0852: crypt test is skipped if xxd is not found v9.0.0852
Bram Moolenaar [Thu, 10 Nov 2022 00:25:05 +0000 (00:25 +0000)]
patch 9.0.0852: crypt test is skipped if xxd is not found

Problem:    Crypt test is skipped if xxd is not found.
Solution:   Find xxd where it was supposed to be build.

2 years agopatch 9.0.0851: terminal mouse test is still flaky v9.0.0851
Bram Moolenaar [Thu, 10 Nov 2022 00:09:22 +0000 (00:09 +0000)]
patch 9.0.0851: terminal mouse test is still flaky

Problem:    Terminal mouse test is still flaky.
Solution:   Also use WaitForAssert().

2 years agopatch 9.0.0850: MS-Windows Terminal has unstable color control v9.0.0850
Christopher Plewright [Wed, 9 Nov 2022 23:55:52 +0000 (23:55 +0000)]
patch 9.0.0850: MS-Windows Terminal has unstable color control

Problem:    MS-Windows Terminal has unstable color control.
Solution:   Do not try to read the old command prompt colortable, use modern
            VT sequences. (Christopher Plewright, closes #11450,
            closes #11373)

2 years agopatch 9.0.0849: terminal mouse test is a bit flaky v9.0.0849
James McCoy [Wed, 9 Nov 2022 23:29:14 +0000 (23:29 +0000)]
patch 9.0.0849: terminal mouse test is a bit flaky

Problem:    Terminal mouse test is a bit flaky.
Solution:   Add WaitFor() calls. (James McCoy closes #11519)  Tune wait times
            to reduce flakiness.

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 9 Nov 2022 21:21:04 +0000 (21:21 +0000)]
Update runtime files

2 years agopatch 9.0.0848: help item for --log argument is not aligned nicely v9.0.0848
K.Takata [Wed, 9 Nov 2022 16:29:24 +0000 (16:29 +0000)]
patch 9.0.0848: help item for --log argument is not aligned nicely

Problem:    Help item for --log argument is not aligned nicely.
Solution:   Add a Tab. (Ken Takata, closes #11521)

2 years agopatch 9.0.0847: CI: not totally clear what MS-Windows version is used v9.0.0847
K.Takata [Wed, 9 Nov 2022 16:12:47 +0000 (16:12 +0000)]
patch 9.0.0847: CI: not totally clear what MS-Windows version is used

Problem:    CI: not totally clear what MS-Windows version is used.
Solution:   Show the Windows version. (Ken Takata, closes #11524)

2 years agopatch 9.0.0846: using assert_fails() may cause hit-enter prompt v9.0.0846
Bram Moolenaar [Wed, 9 Nov 2022 00:44:30 +0000 (00:44 +0000)]
patch 9.0.0846: using assert_fails() may cause hit-enter prompt

Problem:    Using assert_fails() may cause hit-enter prompt.
Solution:   Set no_wait_return. (closes #11522)

2 years agopatch 9.0.0845: shell command with just space gives strange error v9.0.0845
shane.xb.qian [Tue, 8 Nov 2022 21:40:04 +0000 (21:40 +0000)]
patch 9.0.0845: shell command with just space gives strange error

Problem:    Shell command with just space gives strange error.
Solution:   Skip white space at start of the argument. (Christian Brabandt,
            Shane-XB-Qian, closes #11515, closes #11495)

2 years agopatch 9.0.0844: handling 'statusline' errors is spread out v9.0.0844
Luuk van Baal [Mon, 7 Nov 2022 12:16:51 +0000 (12:16 +0000)]
patch 9.0.0844: handling 'statusline' errors is spread out

Problem:    Handling 'statusline' errors is spread out.
Solution:   Pass the option name to the lower levels so the option can be
            reset there when an error is encountered. (Luuk van Baal,
            closes #11467)

2 years agopatch 9.0.0843: VHS tape files are not recognized v9.0.0843
Carlos A Becker [Mon, 7 Nov 2022 11:17:29 +0000 (11:17 +0000)]
patch 9.0.0843: VHS tape files are not recognized

Problem:    VHS tape files are not recognized.
Solution:   Add a filetype pattern. (Carlos Alexandro Becker, closes #11452)

2 years agopatch 9.0.0842: Unicode range for Apple SF symbols is outdated v9.0.0842
Yee Cheng Chin [Mon, 7 Nov 2022 11:05:52 +0000 (11:05 +0000)]
patch 9.0.0842: Unicode range for Apple SF symbols is outdated

Problem:    Unicode range for Apple SF symbols is outdated.
Solution:   Update to SF Symbols 4. (Yee Cheng Chin, closes #11474)