Rob Pilling [Fri, 23 Dec 2022 19:06:04 +0000 (19:06 +0000)]
patch 9.0.1092: search error message doesn't show used pattern
Problem: Search error message doesn't show used pattern.
Solution: Pass the actually used pattern to where the error message is
given. (Rob Pilling, closes #11742)
Bram Moolenaar [Fri, 23 Dec 2022 17:56:27 +0000 (17:56 +0000)]
patch 9.0.1091: assignment to non-existing member causes a crash
Problem: Assignment to non-existing member causes a crash. (Yegappan
Lakshmanan)
Solution: Give an error message and bail out when a member cannot be found.
patch 9.0.1086: display wrong in Windows terminal after exiting Vim
Problem: Display wrong in Windows terminal after exiting Vim.
Solution: Apply screen restore fix for Windows 11 also to Windows 10 builds.
(Christopher Plewright, closes #11713, closes #11706)
Bram Moolenaar [Mon, 19 Dec 2022 18:56:48 +0000 (18:56 +0000)]
patch 9.0.1080: the "kitty" terminfo entry is not widespread
Problem: The "kitty" terminfo entry is not widespread, resulting in the
kitty terminal not working properly.
Solution: Go back to using "xterm-kitty" and avoid the problems it causes in
another way.
Bram Moolenaar [Mon, 19 Dec 2022 13:31:06 +0000 (13:31 +0000)]
patch 9.0.1077: can add text property with negative ID before virtual text
Problem: Can add text property with negative ID before virtual text
property.
Solution: Remember that a text property with a negative ID was used and give
an appropriate error message. (closes #11725)
Fix index computation.
Bram Moolenaar [Sun, 18 Dec 2022 17:47:18 +0000 (17:47 +0000)]
patch 9.0.1073: using "xterm-kitty" for 'term' causes problems
Problem: Using "xterm-kitty" for 'term' causes problems.
Solution: Remove the "xterm-" part when 'term' is set from $TERM. Detect a
few kitty-specific properties based on the version response
instead of the terminal name.
Bram Moolenaar [Sat, 17 Dec 2022 13:49:16 +0000 (13:49 +0000)]
patch 9.0.1068: no information about whether request term codes has an effect
Problem: No information about whether requesting term codes has an effect.
Solution: Add ch_log() calls to report the effect of term code responses.
Avoid deleting an entry and then adding back the same one.
Bram Moolenaar [Fri, 16 Dec 2022 18:33:20 +0000 (18:33 +0000)]
patch 9.0.1065: a shell command switching screens may still have a problem
Problem: A shell command switching screens may still have a problem with
the kitty keyboard protocol.
Solution: Disable the kitty keyboard protocol both in the current and the
alternate screen, if there are indications it might be needed.
(issue #11705) Also fix naming.
patch 9.0.1064: code for making 'shortmess' temporarily empty is repeated
Problem: Code for making 'shortmess' temporarily empty is repeated.
Solution: Add functions for making 'shortmess' empty and restoring it.
(Christian Brabandt, closes #11709)
Bram Moolenaar [Fri, 16 Dec 2022 13:08:36 +0000 (13:08 +0000)]
patch 9.0.1063: when using Kitty a shell command may mess up the key state
Problem: When using Kitty a shell command may mess up the key protocol
state.
Solution: Output t_te before t_TE. If t_te switches between the main and
the alternate screen then deactivating the key protocol by t_TE
should happen after switching screen. (issue #11705)
zeertzjq [Thu, 15 Dec 2022 13:48:30 +0000 (13:48 +0000)]
patch 9.0.1062: some test function names do not match what they are doing
Problem: Some test function names do not match what they are doing.
Solution: Leave out user data for the test that is called "NoUserData".
(closes #11703)
Bram Moolenaar [Wed, 14 Dec 2022 17:50:00 +0000 (17:50 +0000)]
patch 9.0.1059: build failure with some compilers
Problem: Build failure with some compilers that can't handle a
declaration directly after a "case" statement.
Solution: Add a block to put the declarations in.
Chris Kipp [Wed, 14 Dec 2022 16:42:15 +0000 (16:42 +0000)]
patch 9.0.1057: conflict between supercollider and scala filetype detection
Problem: Conflict between supercollider and scala filetype detection.
Solution: Do not check for "Class : Method", it can appear in both
filetypes. (Chris Kipp, closes #11699)
Bram Moolenaar [Tue, 13 Dec 2022 21:14:28 +0000 (21:14 +0000)]
patch 9.0.1054: object member can't get type from initializer
Problem: Object member can't get type from initializer.
Solution: If there is no type specified try to use the type of the
initializer. Check for a valid type.
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.