patch 9.0.1146: MS-Windows: various special keys/modifiers are not mappable
Problem: MS-Windows: various special keys and modifiers are not mappable.
Solution: Adjust the handling of keys with modifiers. (Christian Plewright,
closes #11768)
Bram Moolenaar [Wed, 4 Jan 2023 13:16:20 +0000 (13:16 +0000)]
patch 9.0.1142: crash and/or memory leak when redefining function
Problem: Crash and/or memory leak when redefining function after error.
Solution: Clear pointer after making a copy. Clear arrays on failure.
(closes #11774)
Alexey Radkov [Wed, 4 Jan 2023 11:15:30 +0000 (11:15 +0000)]
patch 9.0.1141: 'cursorcolumn' and 'colorcolumn' wrong after concealing
Problem: 'cursorcolumn' and 'colorcolumn' wrong after concealing and
wrapping line.
Solution: Reset "wlv.vcol_off" after each screen line. (Alexey Radkov,
closes #11777)
Bram Moolenaar [Mon, 2 Jan 2023 13:08:01 +0000 (13:08 +0000)]
patch 9.0.1130: unexpected output when autoloading a script
Problem: Unexpected output when autoloading a script for an interactive
operation.
Solution: Reset "KeyTyped" while loading a script and when handling a nested
function. (closes #11773)
Bram Moolenaar [Sun, 1 Jan 2023 14:04:51 +0000 (14:04 +0000)]
patch 9.0.1124: virtual text at a column position is truncated
Problem: Virtual text at a column position is truncated at the window edge.
(Yegappan Lakshmanan)
Solution: Do not truncated virtual text that is placed at a column.
Bram Moolenaar [Sat, 31 Dec 2022 15:13:22 +0000 (15:13 +0000)]
patch 9.0.1121: cursor positioning and display problems with 'smoothscroll'
Problem: Cursor positioning and display problems with 'smoothscroll' and
using "zt", "zb" or "zz".
Solution: Adjust computations and conditions. (Yee Cheng Chin,
closes #11764)
Bram Moolenaar [Fri, 30 Dec 2022 21:10:25 +0000 (21:10 +0000)]
patch 9.0.1117: terminfo entries for bracketed paste are not used
Problem: Terminfo entries for bracketed paste are not used.
Solution: Use the newly added terminfo entries for bracketed paste.
Correct mixup of output strings and key codes.
Bram Moolenaar [Mon, 26 Dec 2022 13:51:26 +0000 (13:51 +0000)]
patch 9.0.1100: a hashtab with many removed items is not cleaned up
Problem: A hashtab with many removed items is not cleaned up.
Solution: Re-hash a hashtab even when the size didn't change if too many
items were removed.
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.