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)
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
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.
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.
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)
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)
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.
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.
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.
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)
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)
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)
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)
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.
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.
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)
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)
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)
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)
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.