]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.1050: using freed memory when assigning to variable twice v9.0.1050
Bram Moolenaar [Mon, 12 Dec 2022 18:56:32 +0000 (18:56 +0000)]
patch 9.0.1050: using freed memory when assigning to variable twice

Problem:    Using freed memory when assigning to variable twice.
Solution:   Make copy of the list type. (closes #11691)

2 years agopatch 9.0.1049: crash when opening a very small terminal window v9.0.1049
Bram Moolenaar [Mon, 12 Dec 2022 13:47:44 +0000 (13:47 +0000)]
patch 9.0.1049: crash when opening a very small terminal window

Problem:    Crash when opening a very small terminal window.
Solution:   Instead of crashing fix the cursor position. (closes #11697)

2 years agopatch 9.0.1048: with "screenline" in 'culopt' cursorline highlight is wrong v9.0.1048
zeertzjq [Mon, 12 Dec 2022 13:20:43 +0000 (13:20 +0000)]
patch 9.0.1048: with "screenline" in 'culopt' cursorline highlight is wrong

Problem:    With "screenline" in 'culopt' cursorline highlight is wrong.
Solution:   Apply the priority logic also when "screenline is in 'culopt'.
            (closes #11696)

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 11 Dec 2022 15:53:04 +0000 (15:53 +0000)]
Update runtime files

2 years agopatch 9.0.1047: matchparen is slow v9.0.1047
Bram Moolenaar [Sun, 11 Dec 2022 14:18:31 +0000 (14:18 +0000)]
patch 9.0.1047: matchparen is slow

Problem:    Matchparen is slow.
Solution:   Actually use the position where the match started, not the
            position where the search started. (closes #11644)

2 years agopatch 9.0.1046: class method disassemble test fails on MS-Windows v9.0.1046
Bram Moolenaar [Sat, 10 Dec 2022 19:03:51 +0000 (19:03 +0000)]
patch 9.0.1046: class method disassemble test fails on MS-Windows

Problem:    Class method disassemble test fails on MS-Windows.
Solution:   Do not match with a specific size.

2 years agopatch 9.0.1045: in a class object members cannot be initialized v9.0.1045
Bram Moolenaar [Sat, 10 Dec 2022 18:42:12 +0000 (18:42 +0000)]
patch 9.0.1045: in a class object members cannot be initialized

Problem:    In a class object members cannot be initialized.
Solution:   Support initializing object members. Make "dissassemble" work on
            an object method.

2 years agopatch 9.0.1044: setting window height using Python may cause errors v9.0.1044
Bram Moolenaar [Sat, 10 Dec 2022 11:17:11 +0000 (11:17 +0000)]
patch 9.0.1044: setting window height using Python may cause errors

Problem:    Setting window height using Python may cause errors.
Solution:   When setting "curwin" also set "curbuf". (closes #11687)

2 years agopatch 9.0.1043: macro has confusing name and is duplicated v9.0.1043
zeertzjq [Sat, 10 Dec 2022 10:22:29 +0000 (10:22 +0000)]
patch 9.0.1043: macro has confusing name and is duplicated

Problem:    Macro has confusing name and is duplicated.
Solution:   Use one macro with an understandable name. (closes #11686)

2 years agopatch 9.0.1042: ASAN gives false alarm about array access. v9.0.1042
Bram Moolenaar [Fri, 9 Dec 2022 22:49:23 +0000 (22:49 +0000)]
patch 9.0.1042: ASAN gives false alarm about array access.

Problem:    ASAN gives false alarm about array access.
Solution:   Use an intermediate pointer.

2 years agopatch 9.0.1041: cannot define a method in a class v9.0.1041
Bram Moolenaar [Fri, 9 Dec 2022 21:41:48 +0000 (21:41 +0000)]
patch 9.0.1041: cannot define a method in a class

Problem:    Cannot define a method in a class.
Solution:   Implement defining an object method.  Make calling an object
            method work.

2 years agopatch 9.0.1040: test for <Cmd> mapping with CmdlineChanged fails v9.0.1040
Bram Moolenaar [Fri, 9 Dec 2022 12:41:32 +0000 (12:41 +0000)]
patch 9.0.1040: test for <Cmd> mapping with CmdlineChanged fails

Problem:    Test for <Cmd> mapping with CmdlineChanged fails.
Solution:   Put back the check for the cmdline length not changing.

2 years agopatch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice v9.0.1039
Bram Moolenaar [Fri, 9 Dec 2022 12:21:50 +0000 (12:21 +0000)]
patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice

Problem:    Using a <Cmd> mapping CmdlineChanged may be triggered twice.
Solution:   Count the number of times CmdlineChanged is triggered and avoid
            doing it twice. (closes #116820

2 years agopatch 9.0.1038: function name does not match what it is used for v9.0.1038
zeertzjq [Fri, 9 Dec 2022 11:36:36 +0000 (11:36 +0000)]
patch 9.0.1038: function name does not match what it is used for

Problem:    Function name does not match what it is used for.
Solution:   Include the modifier in the name. (closes #11679)

2 years agopatch 9.0.1037: lalloc(0) error for a class without members v9.0.1037
Bram Moolenaar [Thu, 8 Dec 2022 22:09:14 +0000 (22:09 +0000)]
patch 9.0.1037: lalloc(0) error for a class without members

Problem:    lalloc(0) error for a class without members.
Solution:   Don't allocate room for members if there aren't any.
            Don't create the class if there was an error.

2 years agopatch 9.0.1036: undo misbehaves when writing from an insert mode mapping v9.0.1036
Bram Moolenaar [Thu, 8 Dec 2022 21:49:35 +0000 (21:49 +0000)]
patch 9.0.1036: undo misbehaves when writing from an insert mode mapping

Problem:    Undo misbehaves when writing from an insert mode mapping.
Solution:   Sync undo when writing. (closes #11674)

2 years agopatch 9.0.1035: object members are not being marked as used v9.0.1035
Bram Moolenaar [Thu, 8 Dec 2022 20:42:00 +0000 (20:42 +0000)]
patch 9.0.1035: object members are not being marked as used

Problem:    Object members are not being marked as used, garbage collection
            may free them.
Solution:   Mark object members as used.  Fix reference counting.

2 years agopatch 9.0.1034: reporting swap file when windows are split v9.0.1034
Bram Moolenaar [Thu, 8 Dec 2022 16:30:16 +0000 (16:30 +0000)]
patch 9.0.1034: reporting swap file when windows are split

Problem:    Reporting swap file when windows are split.
Solution:   Close extra windows after running a test.

2 years agopatch 9.0.1033: tiny build fails because of conflicting typedef v9.0.1033
Bram Moolenaar [Thu, 8 Dec 2022 16:10:01 +0000 (16:10 +0000)]
patch 9.0.1033: tiny build fails because of conflicting typedef

Problem:    Tiny build fails because of conflicting typedef.
Solution:   Remove one typedef.

2 years agopatch 9.0.1032: test fails when terminal feature is missing v9.0.1032
Bram Moolenaar [Thu, 8 Dec 2022 15:44:22 +0000 (15:44 +0000)]
patch 9.0.1032: test fails when terminal feature is missing

Problem:    Test fails when terminal feature is missing.
Solution:   Use CheckRunVimInTerminal.

2 years agopatch 9.0.1031: Vim9 class is not implemented yet v9.0.1031
Bram Moolenaar [Thu, 8 Dec 2022 15:32:33 +0000 (15:32 +0000)]
patch 9.0.1031: Vim9 class is not implemented yet

Problem:    Vim9 class is not implemented yet.
Solution:   Add very basic class support.

2 years agopatch 9.0.1030: using freed memory with the cmdline popup menu v9.0.1030
Bram Moolenaar [Thu, 8 Dec 2022 12:00:50 +0000 (12:00 +0000)]
patch 9.0.1030: using freed memory with the cmdline popup menu

Problem:    Using freed memory with the cmdline popup menu.
Solution:   Clear the popup menu when clearing the matches. (closes #11677)

2 years agopatch 9.0.1029: autoload directory missing from distribution v9.0.1029
Bram Moolenaar [Thu, 8 Dec 2022 10:03:48 +0000 (10:03 +0000)]
patch 9.0.1029: autoload directory missing from distribution

Problem:    Autoload directory missing from distribution.
Solution:   Add the autoload/zig directory to the list of distributed files.

2 years agopatch 9.0.1028: mouse shape test is flaky, especially on Mac OS v9.0.1028
Yee Cheng Chin [Thu, 8 Dec 2022 09:41:24 +0000 (09:41 +0000)]
patch 9.0.1028: mouse shape test is flaky, especially on Mac OS

Problem:    Mouse shape test is flaky, especially on Mac OS.
Solution:   Instead of starting all timers at the same time, start the next
            one in the callback of the previous one. (Yee Cheng Chin,
            closes #11673)  Also use "bwipe!" instead of "close!" to avoid
            swap files remaining.

2 years agopatch 9.0.1027: LGTM is soon shutting down v9.0.1027
Philip H [Wed, 7 Dec 2022 23:00:26 +0000 (23:00 +0000)]
patch 9.0.1027: LGTM is soon shutting down

Problem:    LGTM is soon shutting down.
Solution:   Remove LGTM from CI. (closes #11671)

2 years agopatch 9.0.1026: type of w_last_topfill is wrong v9.0.1026
Bram Moolenaar [Wed, 7 Dec 2022 22:30:18 +0000 (22:30 +0000)]
patch 9.0.1026: type of w_last_topfill is wrong

Problem:    type of w_last_topfill is wrong.
Solution:   Use "int" instead of "linenr_T". (closes #11670)

2 years agopatch 9.0.1025: WinScrolled is not triggered when filler lines change v9.0.1025
zeertzjq [Wed, 7 Dec 2022 09:17:59 +0000 (09:17 +0000)]
patch 9.0.1025: WinScrolled is not triggered when filler lines change

Problem:    WinScrolled is not triggered when filler lines change.
Solution:   Add "topfill" to the values that WinScrolled triggers on.
            (closes #11668)

2 years agoUpdate runtime files
Bram Moolenaar [Tue, 6 Dec 2022 18:20:10 +0000 (18:20 +0000)]
Update runtime files

2 years agopatch 9.0.1024: CI doesn't use the latest FreeBSD version v9.0.1024
Philip H [Tue, 6 Dec 2022 16:56:44 +0000 (16:56 +0000)]
patch 9.0.1024: CI doesn't use the latest FreeBSD version

Problem:    CI doesn't use the latest FreeBSD version.
Solution:   Go from 12.3 to 12.4. (closes #11423)

2 years agopatch 9.0.1023: MS-Windows: dynamic loading of libsodium doesn't work v9.0.1023
K.Takata [Tue, 6 Dec 2022 16:17:01 +0000 (16:17 +0000)]
patch 9.0.1023: MS-Windows: dynamic loading of libsodium doesn't work

Problem:    MS-Windows: dynamic loading of libsodium doesn't work.
Solution:   Add "randombytes_random". (Ken Takata, closes #11667)

2 years agopatch 9.0.1022: suspend test fails on Mac OS when suspending Vim v9.0.1022
Bram Moolenaar [Tue, 6 Dec 2022 16:09:52 +0000 (16:09 +0000)]
patch 9.0.1022: suspend test fails on Mac OS when suspending Vim

Problem:    Suspend test fails on Mac OS when suspending Vim.
Solution:   Make 'keyprotocol' empty.

2 years agopatch 9.0.1021: test trips over g:name v9.0.1021
Bram Moolenaar [Tue, 6 Dec 2022 15:07:56 +0000 (15:07 +0000)]
patch 9.0.1021: test trips over g:name

Problem:    Test trips over g:name.
Solution:   Delete g:name after using it.

2 years agopatch 9.0.1020: tests call GetSwapFileList() before it is defined v9.0.1020
Bram Moolenaar [Tue, 6 Dec 2022 14:21:09 +0000 (14:21 +0000)]
patch 9.0.1020: tests call GetSwapFileList() before it is defined

Problem:    Tests call GetSwapFileList() before it is defined.
Solution:   Move the call to after defining the function. (Christopher
            Plewright)

2 years agopatch 9.0.1019: 'smoothscroll' and virtual text above don't work together v9.0.1019
Bram Moolenaar [Tue, 6 Dec 2022 14:17:57 +0000 (14:17 +0000)]
patch 9.0.1019: 'smoothscroll' and virtual text above don't work together

Problem:    'smoothscroll' and virtual text above don't work together.
            (Yee Cheng Chin)
Solution:   Skip virtual text above when w_skipcol is non-zero.
            (closes #11665)

2 years agopatch 9.0.1018: suspend test still fails on Mac OS v9.0.1018
Bram Moolenaar [Tue, 6 Dec 2022 09:11:39 +0000 (09:11 +0000)]
patch 9.0.1018: suspend test still fails on Mac OS

Problem:    Suspend test still fails on Mac OS.
Solution:   Make 'keyprotocol' empty.

2 years agopatch 9.0.1017: test for srand() fails on MS-Windows v9.0.1017
Bram Moolenaar [Tue, 6 Dec 2022 09:05:25 +0000 (09:05 +0000)]
patch 9.0.1017: test for srand() fails on MS-Windows

Problem:    Test for srand() fails on MS-Windows.
Solution:   Do not expect the same result a second time.

2 years agopatch 9.0.1016: screenpos() does not count filler lines for diff mode v9.0.1016
Bram Moolenaar [Mon, 5 Dec 2022 22:26:44 +0000 (22:26 +0000)]
patch 9.0.1016: screenpos() does not count filler lines for diff mode

Problem:    screenpos() does not count filler lines for diff mode.
Solution:   Add filler lines. (closes 11658)

2 years agopatch 9.0.1015: without /dev/urandom srand() seed is too predictable v9.0.1015
Yasuhiro Matsumoto [Mon, 5 Dec 2022 21:55:55 +0000 (21:55 +0000)]
patch 9.0.1015: without /dev/urandom srand() seed is too predictable

Problem:    Without /dev/urandom srand() seed is too predictable.
Solution:   Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto,
            closes #11656)

2 years agopatch 9.0.1014: zir files are not recognized v9.0.1014
Bram Moolenaar [Mon, 5 Dec 2022 21:40:39 +0000 (21:40 +0000)]
patch 9.0.1014: zir files are not recognized

Problem:    Zir files are not recognized.
Solution:   Add a pattern for Zir files. (closes #11664)

2 years agopatch 9.0.1013: suspend test often fails on Mac OS v9.0.1013
Bram Moolenaar [Mon, 5 Dec 2022 21:21:46 +0000 (21:21 +0000)]
patch 9.0.1013: suspend test often fails on Mac OS

Problem:    Suspend test often fails on Mac OS.
Solution:   Make t_RP empty.

2 years agopatch 9.0.1012: tests may get stuck in buffer with swap file v9.0.1012
Bram Moolenaar [Mon, 5 Dec 2022 20:58:04 +0000 (20:58 +0000)]
patch 9.0.1012: tests may get stuck in buffer with swap file

Problem:    Tests may get stuck in buffer with swap file.
Solution:   Bail out when bwipe! doesn't get another buffer.

2 years agopatch 9.0.1011: ml_get error when using screenpos() v9.0.1011
Bram Moolenaar [Mon, 5 Dec 2022 16:23:24 +0000 (16:23 +0000)]
patch 9.0.1011: ml_get error when using screenpos()

Problem:    ml_get error when using screenpos().
Solution:   Give an error for the line number. (closes #11661)

2 years agopatch 9.0.1010: stray warnings for existing swap files v9.0.1010
Bram Moolenaar [Mon, 5 Dec 2022 15:50:41 +0000 (15:50 +0000)]
patch 9.0.1010: stray warnings for existing swap files

Problem:    Stray warnings for existing swap files.
Solution:   Wipe out the buffer until it has no name and no swap file.

2 years agopatch 9.0.1009: test for catch after interrupt is flaky on MS-Windows v9.0.1009
Bram Moolenaar [Mon, 5 Dec 2022 15:24:20 +0000 (15:24 +0000)]
patch 9.0.1009: test for catch after interrupt is flaky on MS-Windows

Problem:    Test for catch after interrupt is flaky on MS-Windows.
Solution:   Mark the test as flaky.

2 years agopatch 9.0.1008: test for swapfilelist() fails on MS-Windows v9.0.1008
Bram Moolenaar [Mon, 5 Dec 2022 15:01:05 +0000 (15:01 +0000)]
patch 9.0.1008: test for swapfilelist() fails on MS-Windows

Problem:    Test for swapfilelist() fails on MS-Windows.
Solution:   Only check the tail of the path.  Mark a test as flaky.

2 years agopatch 9.0.1007: there is no way to get a list of swap file names v9.0.1007
Bram Moolenaar [Mon, 5 Dec 2022 13:50:55 +0000 (13:50 +0000)]
patch 9.0.1007: there is no way to get a list of swap file names

Problem:    There is no way to get a list of swap file names.
Solution:   Add the swapfilelist() function.  Use it in the test script to
            clean up.  Remove deleting individual swap files.

2 years agopatch 9.0.1006: suspend test still sometimes fails on MacOS v9.0.1006
Bram Moolenaar [Sun, 4 Dec 2022 23:30:19 +0000 (23:30 +0000)]
patch 9.0.1006: suspend test still sometimes fails on MacOS

Problem:    Suspend test still sometimes fails on MacOS.
Solution:   Wait a little while for terminal responses.

2 years agopatch 9.0.1005: a failed test may leave a swap file behind v9.0.1005
Bram Moolenaar [Sun, 4 Dec 2022 23:00:41 +0000 (23:00 +0000)]
patch 9.0.1005: a failed test may leave a swap file behind

Problem:    A failed test may leave a swap file behind.
Solution:   Delete the swap file to avoid another test to fail.  Use another
            file name.

2 years agopatch 9.0.1004: suspend test sometimes fails on MacOS v9.0.1004
Bram Moolenaar [Sun, 4 Dec 2022 22:26:40 +0000 (22:26 +0000)]
patch 9.0.1004: suspend test sometimes fails on MacOS

Problem:    Suspend test sometimes fails on MacOS.
Solution:   Wait a short while for terminal responses.

2 years agopatch 9.0.1003: tiny build fails v9.0.1003
Bram Moolenaar [Sun, 4 Dec 2022 21:40:51 +0000 (21:40 +0000)]
patch 9.0.1003: tiny build fails

Problem:    Tiny build fails.
Solution:   Remove #ifdef from error message.

2 years agopatch 9.0.1002: command list test fails v9.0.1002
Bram Moolenaar [Sun, 4 Dec 2022 21:09:48 +0000 (21:09 +0000)]
patch 9.0.1002: command list test fails

Problem:    Command list test fails.
Solution:   Add commands added to the list.

2 years agopatch 9.0.1001: classes are not documented or implemented yet v9.0.1001
Bram Moolenaar [Sun, 4 Dec 2022 20:13:24 +0000 (20:13 +0000)]
patch 9.0.1001: classes are not documented or implemented yet

Problem:    Classes are not documented or implemented yet.
Solution:   Make the first steps at documenting Vim9 objects, classes and
            interfaces.  Make initial choices for the syntax.  Add a skeleton
            implementation.  Add "public" and "this" in the command table.

2 years agopatch 9.0.1000: with 'smoothscroll' skipcol may be reset unnecessarily v9.0.1000
Bram Moolenaar [Sat, 3 Dec 2022 18:35:07 +0000 (18:35 +0000)]
patch 9.0.1000: with 'smoothscroll' skipcol may be reset unnecessarily

Problem:    With 'smoothscroll' skipcol may be reset unnecessarily.
Solution:   Check the line does actually fit in the window.

2 years agopatch 9.0.0999: memory may leak v9.0.0999
Bram Moolenaar [Sat, 3 Dec 2022 13:52:24 +0000 (13:52 +0000)]
patch 9.0.0999: memory may leak

Problem:    Memory may leak.
Solution:   Free the sound callback function name if it was allocated.

2 years agopatch 9.0.0998: "gk" may reset skipcol when not needed v9.0.0998
Bram Moolenaar [Sat, 3 Dec 2022 11:51:54 +0000 (11:51 +0000)]
patch 9.0.0998: "gk" may reset skipcol when not needed

Problem:    "gk" may reset skipcol when not needed.
Solution:   Only reset skipcol if the cursor column is less.

2 years agopatch 9.0.0997: Coverity warns for dead code v9.0.0997
Bram Moolenaar [Sat, 3 Dec 2022 10:13:30 +0000 (10:13 +0000)]
patch 9.0.0997: Coverity warns for dead code

Problem:    Coverity warns for dead code.
Solution:   Don't use ASCII_ISUPPER() for a negative value.

2 years agopatch 9.0.0996: if 'keyprotocol' is empty "xterm" still uses modifyOtherKeys v9.0.0996
Bram Moolenaar [Sat, 3 Dec 2022 00:00:38 +0000 (00:00 +0000)]
patch 9.0.0996: if 'keyprotocol' is empty "xterm" still uses modifyOtherKeys

Problem:    If 'keyprotocol' is empty "xterm" still uses modifyOtherKeys.
Solution:   Remove t_TI, t_RK and t_TE from the "xterm" builtin termcap and
            let the default value of 'keyprotocol' add those.

2 years agopatch 9.0.0995: padding before virtual text is highlighted v9.0.0995
Bram Moolenaar [Fri, 2 Dec 2022 21:50:14 +0000 (21:50 +0000)]
patch 9.0.0995: padding before virtual text is highlighted

Problem:    Padding before virtual text below is highlighted when 'number' and
            'nowrap' are set.
Solution:   Save and restore n_attr_skip. (closes #11643)

2 years agopatch 9.0.0994: tests for empty prop type name fail v9.0.0994
Bram Moolenaar [Fri, 2 Dec 2022 21:37:45 +0000 (21:37 +0000)]
patch 9.0.0994: tests for empty prop type name fail

Problem:    Tests for empty prop type name fail.
Solution:   Correct the error number.

2 years agopatch 9.0.0993: display errors when adding or removing text property type v9.0.0993
Bram Moolenaar [Fri, 2 Dec 2022 20:46:26 +0000 (20:46 +0000)]
patch 9.0.0993: display errors when adding or removing text property type

Problem:    Display errors when adding or removing text property type.
Solution:   Perform a full redraw.  Only use text properties for which the
            type is defined. (closes #11655)

2 years agopatch 9.0.0992: Vim9 script: get E1096 when comment follows return v9.0.0992
mityu [Fri, 2 Dec 2022 18:12:05 +0000 (18:12 +0000)]
patch 9.0.0992: Vim9 script: get E1096 when comment follows return

Problem:    Vim9 script: get E1096 when comment follows return.
Solution:   Adjust condition for return without expression. (closes #11654)

2 years agopatch 9.0.0991: crash when reading help index with various options set v9.0.0991
Bram Moolenaar [Fri, 2 Dec 2022 16:39:44 +0000 (16:39 +0000)]
patch 9.0.0991: crash when reading help index with various options set

Problem:    Crash when reading help index with various options set. (Marius
            Gedminas)
Solution:   Do not set wlv.c_extra to NUL when wlv.p_extra is NULL.
            (closes #11651)

2 years agopatch 9.0.0990: callback name argument is changed by setqflist() v9.0.0990
Bram Moolenaar [Fri, 2 Dec 2022 15:58:38 +0000 (15:58 +0000)]
patch 9.0.0990: callback name argument is changed by setqflist()

Problem:    Callback name argument is changed by setqflist().
Solution:   Use the expanded function name for the callback, do not store it
            in the argument. (closes #11653)

2 years agopatch 9.0.0989: popupwin test is more flaky on MacOS v9.0.0989
Bram Moolenaar [Fri, 2 Dec 2022 15:06:07 +0000 (15:06 +0000)]
patch 9.0.0989: popupwin test is more flaky on MacOS

Problem:    Popupwin test is more flaky on MacOS.
Solution:   Use a longer wait time.

2 years agopatch 9.0.0988: using feedkeys() does not show up in a channel log v9.0.0988
Bram Moolenaar [Fri, 2 Dec 2022 13:37:36 +0000 (13:37 +0000)]
patch 9.0.0988: using feedkeys() does not show up in a channel log

Problem:    Using feedkeys() does not show up in a channel log.
Solution:   Add ch_log() calls and clean up the code.

2 years agopatch 9.0.0987: file missing from list of distributed files v9.0.0987
Bram Moolenaar [Fri, 2 Dec 2022 13:20:19 +0000 (13:20 +0000)]
patch 9.0.0987: file missing from list of distributed files

Problem:    File missing from list of distributed files.
Solution:   Add logfile.pro to list of distributed files.

2 years agopatch 9.0.0986: build failure with tiny version v9.0.0986
Bram Moolenaar [Fri, 2 Dec 2022 13:10:03 +0000 (13:10 +0000)]
patch 9.0.0986: build failure with tiny version

Problem:    Build failure with tiny version.
Solution:   Add #ifdef.

2 years agopatch 9.0.0985: when using kitty keyboard protocol function keys may not work v9.0.0985
Bram Moolenaar [Fri, 2 Dec 2022 12:28:47 +0000 (12:28 +0000)]
patch 9.0.0985: when using kitty keyboard protocol function keys may not work

Problem:    When using kitty keyboard protocol function keys may not work.
            (Kovid Goyal)
Solution:   Recognize CSI ending in [ABCDEFHPQRS] also when the termcap
            entries are not specified. (closes #11648)

2 years agopatch 9.0.0984: GUI: remote_foreground() does not always work v9.0.0984
Bram Moolenaar [Thu, 1 Dec 2022 19:40:55 +0000 (19:40 +0000)]
patch 9.0.0984: GUI: remote_foreground() does not always work

Problem:    GUI: remote_foreground() does not always work. (Ron Aaron)
Solution:   For GTK use gtk_window_set_keep_above(). (issue #11641)

2 years agopatch 9.0.0983: stray characters displayed when starting the GUI v9.0.0983
Bram Moolenaar [Thu, 1 Dec 2022 19:25:04 +0000 (19:25 +0000)]
patch 9.0.0983: stray characters displayed when starting the GUI

Problem:    Stray characters displayed when starting the GUI.
Solution:   Add t_RK to the list of terminal options.

2 years agopatch 9.0.0982: 'cursorline' not drawn before virtual text below v9.0.0982
Bram Moolenaar [Thu, 1 Dec 2022 18:38:02 +0000 (18:38 +0000)]
patch 9.0.0982: 'cursorline' not drawn before virtual text below

Problem:    'cursorline' not drawn before virtual text below.
Solution:   Add the 'cursorline' attribute to the empty space. (closes #11647)

2 years agopatch 9.0.0981: build error in tiny version v9.0.0981
Bram Moolenaar [Thu, 1 Dec 2022 12:29:43 +0000 (12:29 +0000)]
patch 9.0.0981: build error in tiny version

Problem:    Build error in tiny version.
Solution:   Add #ifdef.

2 years agopatch 9.0.0980: the keyboard state response may end up in a shell command v9.0.0980
Bram Moolenaar [Thu, 1 Dec 2022 12:03:47 +0000 (12:03 +0000)]
patch 9.0.0980: the keyboard state response may end up in a shell command

Problem:    The keyboard state response may end up in a shell command.
Solution:   Only request the keyboard protocol state when the typeahead is
            empty, no more commands are following and not exiting.  Add the
            t_RK termcap entry for this.

2 years agopatch 9.0.0979: ch_log() text can be hard to find in the log file v9.0.0979
Bram Moolenaar [Thu, 1 Dec 2022 11:02:23 +0000 (11:02 +0000)]
patch 9.0.0979: ch_log() text can be hard to find in the log file

Problem:    ch_log() text can be hard to find in the log file.
Solution:   Prepend "ch_log()" to the text.

2 years agopatch 9.0.0978: build errors without the +channel feature v9.0.0978
Bram Moolenaar [Wed, 30 Nov 2022 20:20:56 +0000 (20:20 +0000)]
patch 9.0.0978: build errors without the +channel feature

Problem:    Build errors without the +channel feature. (John Marriott)
Solution:   Adjust #ifdefs.

2 years agopatch 9.0.0977: it is not easy to see what client-server commands are doing v9.0.0977
Bram Moolenaar [Wed, 30 Nov 2022 18:12:19 +0000 (18:12 +0000)]
patch 9.0.0977: it is not easy to see what client-server commands are doing

Problem:    It is not easy to see what client-server commands are doing.
Solution:   Add channel log messages if ch_log() is available.  Move the
            channel logging and make it available with the +eval feature.

2 years agopatch 9.0.0976: enabling the kitty keyboard protocol uses push/pop v9.0.0976
Bram Moolenaar [Wed, 30 Nov 2022 10:23:17 +0000 (10:23 +0000)]
patch 9.0.0976: enabling the kitty keyboard protocol uses push/pop

Problem:    Enabling the kitty keyboard protocol uses push/pop.
Solution:   Use the start/stop codes to avoid unpredictable behavior.

2 years agopatch 9.0.0975: virtual text below empty line misplaced when 'number' set v9.0.0975
Bram Moolenaar [Tue, 29 Nov 2022 21:37:13 +0000 (21:37 +0000)]
patch 9.0.0975: virtual text below empty line misplaced when 'number' set

Problem:    Virtual text below an empty line is misplaced when 'number' is
            set.
Solution:   Adjust the computations. (closes #11629)

2 years agopatch 9.0.0974: even when Esc is encoded a timeout is used v9.0.0974
Bram Moolenaar [Tue, 29 Nov 2022 20:33:20 +0000 (20:33 +0000)]
patch 9.0.0974: even when Esc is encoded a timeout is used

Problem:    Even when Esc is encoded a timeout is used.
Solution:   Use K_ESC when an encoded Esc is found.

2 years agopatch 9.0.0973: Kitty keyboard protocol key with NumLock not decoded v9.0.0973
Bram Moolenaar [Tue, 29 Nov 2022 18:32:32 +0000 (18:32 +0000)]
patch 9.0.0973: Kitty keyboard protocol key with NumLock not decoded

Problem:    Kitty keyboard protocol key not decoded when it has an unsupported
            modifier, such as NumLock.
Solution:   Accept a key with any modifier. (closes #11638)

2 years agopatch 9.0.0972: build failure on some systems v9.0.0972
Bram Moolenaar [Tue, 29 Nov 2022 16:09:18 +0000 (16:09 +0000)]
patch 9.0.0972: build failure on some systems

Problem:    Build failure on some systems.
Solution:   Adjust #ifdefs related to the termresponse feature.

2 years agopatch 9.0.0971: escape sequences not recognized without termresponse feature v9.0.0971
Bram Moolenaar [Tue, 29 Nov 2022 13:59:13 +0000 (13:59 +0000)]
patch 9.0.0971: escape sequences not recognized without termresponse feature

Problem:    Escape sequences not recognized without the termresponse feature.
Solution:   Recognize escape sequences to avoid display mess up.

2 years agopatch 9.0.0970: Coverity warns for uninitialized variable v9.0.0970
Bram Moolenaar [Tue, 29 Nov 2022 13:46:48 +0000 (13:46 +0000)]
patch 9.0.0970: Coverity warns for uninitialized variable

Problem:    Coverity warns for uninitialized variable.
Solution:   Initialize "ren_ret".

2 years agopatch 9.0.0969: matchparen highlight is not updated when switching buffers v9.0.0969
Bram Moolenaar [Mon, 28 Nov 2022 22:21:12 +0000 (22:21 +0000)]
patch 9.0.0969: matchparen highlight is not updated when switching buffers

Problem:    Matchparen highlight is not updated when switching buffers.
Solution:   Listen to the BufLeave and the BufWinEnter autocmd events.
            (closes #11626)

2 years agopatch 9.0.0968: GUI mouse event test is a bit flaky v9.0.0968
Bram Moolenaar [Mon, 28 Nov 2022 21:20:48 +0000 (21:20 +0000)]
patch 9.0.0968: GUI mouse event test is a bit flaky

Problem:    GUI mouse event test is a bit flaky.
Solution:   Mark the test case as flaky.  Move test function failure checks to
            a separate test function.

2 years agopatch 9.0.0967: leaking memory from autocmd windows v9.0.0967
Bram Moolenaar [Mon, 28 Nov 2022 20:34:52 +0000 (20:34 +0000)]
patch 9.0.0967: leaking memory from autocmd windows

Problem:    Leaking memory from autocmd windows.
Solution:   Free window when auc_win is not NULL.

2 years agopatch 9.0.0966: some compilers don't allow a declaration after a label v9.0.0966
Bram Moolenaar [Mon, 28 Nov 2022 19:11:02 +0000 (19:11 +0000)]
patch 9.0.0966: some compilers don't allow a declaration after a label

Problem:    Some compilers don't allow a declaration after a label.
Solution:   Move the declaration to the start of the block. (John Marriott)

2 years agopatch 9.0.0965: using one window for executing autocommands is insufficient v9.0.0965
Bram Moolenaar [Mon, 28 Nov 2022 18:51:43 +0000 (18:51 +0000)]
patch 9.0.0965: using one window for executing autocommands is insufficient

Problem:    Using one window for executing autocommands is insufficient.
Solution:   Use up to five windows for executing autocommands.

2 years agopatch 9.0.0964: status line not redrawn when 'splitkeep' is "screen" v9.0.0964
Luuk van Baal [Mon, 28 Nov 2022 16:49:36 +0000 (16:49 +0000)]
patch 9.0.0964: status line not redrawn when 'splitkeep' is "screen"

Problem:    Status line of other window not redrawn when dragging it when
            'splitkeep' is set to "screen".
Solution:   Set w_redr_status earlier. (Luuk van Baal, closes #11635,
            closes #11632)

2 years agopatch 9.0.0963: function name does not match autocmd event name v9.0.0963
zeertzjq [Mon, 28 Nov 2022 11:36:50 +0000 (11:36 +0000)]
patch 9.0.0963: function name does not match autocmd event name

Problem:    Function name does not match autocmd event name.
Solution:   Rename "optionsset" to "optionset". (closes #11630)

2 years agopatch 9.0.0962: virtual text below cannot be placed below empty lines v9.0.0962
porygonisaduck [Sun, 27 Nov 2022 20:55:05 +0000 (20:55 +0000)]
patch 9.0.0962: virtual text below cannot be placed below empty lines

Problem:    Virtual text below cannot be placed below empty lines.
Solution:   Add one character. (James Alvarado, closes #11606, closes #11520)

2 years agopatch 9.0.0961: using deletebufline() may jump to another window v9.0.0961
Bram Moolenaar [Sun, 27 Nov 2022 19:45:49 +0000 (19:45 +0000)]
patch 9.0.0961: using deletebufline() may jump to another window

Problem:    Using deletebufline() may jump to another window.
Solution:   Do not use a window where the buffer was only in the past.
            (closes #11594)

2 years agopatch 9.0.0960: error when using the "Spelling / Find More Languages" menu v9.0.0960
Bram Moolenaar [Sun, 27 Nov 2022 16:18:33 +0000 (16:18 +0000)]
patch 9.0.0960: error when using the "Spelling / Find More Languages" menu

Problem:    Error when using the "Tools / Spelling / Find More Languages"
            menu.
Solution:   Remove "<SID>".  Reset "g:menutrans_set_lang_to" when 'encoding'
            changes. (closes #11625)

2 years agopatch 9.0.0959: error when using the "File Settings / Text Width" menu v9.0.0959
Bram Moolenaar [Sun, 27 Nov 2022 15:51:46 +0000 (15:51 +0000)]
patch 9.0.0959: error when using the "File Settings / Text Width" menu

Problem:    Error when using the "File Settings / Text Width" menu.
Solution:   Use str2nr(). (closes #11624)

2 years agopatch 9.0.0958: messages test is flaky v9.0.0958
Bram Moolenaar [Sun, 27 Nov 2022 14:39:31 +0000 (14:39 +0000)]
patch 9.0.0958: messages test is flaky

Problem:    Messages test is flaky.
Solution:   Add a short delay.

2 years agopatch 9.0.0957: tests fail without the terminal feature v9.0.0957
Bram Moolenaar [Sun, 27 Nov 2022 13:51:22 +0000 (13:51 +0000)]
patch 9.0.0957: tests fail without the terminal feature

Problem:    Tests fail without the terminal feature.
Solution:   Move functions to another utility script.

2 years agopatch 9.0.0956: terminal tests fail when using key with modifier v9.0.0956
Bram Moolenaar [Sun, 27 Nov 2022 12:45:41 +0000 (12:45 +0000)]
patch 9.0.0956: terminal tests fail when using key with modifier

Problem:    Terminal tests fail when using key with modifier.
Solution:   Use the modifyOtherKeys encoding when using RunVimInTerminal().

2 years agopatch 9.0.0955: libvterm does not support the XTQMODKEYS request v9.0.0955
Bram Moolenaar [Sun, 27 Nov 2022 11:31:23 +0000 (11:31 +0000)]
patch 9.0.0955: libvterm does not support the XTQMODKEYS request

Problem:    Libvterm does not support the XTQMODKEYS request.
Solution:   Implement the XTQMODKEYS request and response.  Update the keycode
            check results.

2 years agopatch 9.0.0954: cannot detect whether modifyOtherKeys is enabled v9.0.0954
Bram Moolenaar [Sat, 26 Nov 2022 19:16:48 +0000 (19:16 +0000)]
patch 9.0.0954: cannot detect whether modifyOtherKeys is enabled

Problem:    Cannot detect whether modifyOtherKeys is enabled.
Solution:   Use XTQMODKEYS introduced by xterm version 377 to request the
            modifyOtherKeys level.  Update the keycode check results.

2 years agopatch 9.0.0953: part of making search more efficient is missing v9.0.0953
Bram Moolenaar [Sat, 26 Nov 2022 18:59:19 +0000 (18:59 +0000)]
patch 9.0.0953: part of making search more efficient is missing

Problem:    Part of making search more efficient is missing.
Solution:   Add the change in searchit().