Bram Moolenaar
f39d9e9dca
patch 9.0.1479: small source file problems; outdated list of distrib. files
...
Problem: Small source file problems; outdated list of distributed files.
Solution: Small updates to source files and list of distributed files.
2023-04-22 22:54:40 +01:00
Bram Moolenaar
ea83c19462
patch 9.0.1414: <M-S-x> in Kitty does not use the Shift modifier
...
Problem: <M-S-x> in Kitty does not use the Shift modifier.
Solution: Apply the Shift modifier to ASCII letters. (closes #11913 )
2023-03-18 17:22:46 +00:00
Bram Moolenaar
7ac5023a5f
patch 9.0.1392: using NULL pointer with nested :open command
...
Problem: Using NULL pointer with nested :open command.
Solution: Check that ccline.cmdbuff is not NULL.
2023-03-07 21:05:04 +00:00
Bram Moolenaar
6b066c6d8f
patch 9.0.1333: when redo'ing twice <ScriptCmd> may not get the script ID
...
Problem: When redo'ing twice <ScriptCmd> may not get the script ID.
Solution: When "last_used_map" map is not set use "last_used_sid".
(closes #11930 )
2023-02-20 18:44:33 +00:00
Bram Moolenaar
a9a6b0323e
patch 9.0.1285: various small problems
...
Problem: Various small problems.
Solution: Adjust white space and comments.
2023-02-05 18:00:42 +00:00
Yegappan Lakshmanan
fadc02a2a5
patch 9.0.1251: checking returned value of ga_grow() is inconsistent
...
Problem: Checking returned value of ga_grow() is inconsistent.
Solution: Check for FAIL instaed of "not OK". (Yegappan Lakshmanan,
closes #11897 )
2023-01-27 21:03:12 +00:00
Bram Moolenaar
0f843ef091
patch 9.0.1244: cursor displayed in wrong position when leaving Insert mode
...
Problem: Cursor briefly displayed in a wrong position when pressing Esc in
Insert mode after autoindent was used.
Solution: Do not adjust the cursor position for assumed deleted white space
if text is following. (closes #11877 )
2023-01-25 17:34:41 +00:00
Yegappan Lakshmanan
7f8b2559a3
patch 9.0.1158: code is indented more than necessary
...
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11787 )
2023-01-08 13:44:24 +00:00
Bram Moolenaar
dffa6ea85c
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.
2022-11-29 20:33:20 +00:00
Bram Moolenaar
c255b78965
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.
2022-11-26 19:16:48 +00:00
Bram Moolenaar
d330e8422d
patch 9.0.0943: pretending to go out of Insert mode when Esc is received
...
Problem: Pretending to go out of Insert mode when Esc is received has side
effects.
Solution: When the kitty keyboard protocol is enabled expect Esc to always
be the start of an escape sequence.
2022-11-24 20:23:24 +00:00
Bram Moolenaar
47f1fdc28c
patch 9.0.0939: still using simplified mappings when using kitty protocol
...
Problem: Still using simplified mappings when using the kitty keyboard
protocol.
Solution: Use the kitty_protocol_state value to decide whether to use
simplified mappings. Improve how seenModifyOtherKeys is set and
reset.
2022-11-24 13:27:36 +00:00
Christopher Plewright
0319306f20
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 )
2022-11-22 12:58:27 +00:00
Bram Moolenaar
c896adbcde
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.
2022-11-19 19:02:40 +00:00
Bram Moolenaar
88456cd3c4
patch 9.0.0904: various comment and indent flaws
...
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
2022-11-18 22:14:09 +00:00
dundargoc
c57b5bcd22
patch 9.0.0828: various typos
...
Problem: Various typos.
Solution: Correct typos. (closes #11432 )
2022-11-02 13:30:51 +00:00
Christopher Plewright
7fa02bcb3b
patch 9.0.0812: GUI mouse scrollwheel mappings don't work
...
Problem: GUI mouse scrollwheel mappings don't work.
Solution: Add check for "gui.in_use". (Christopher Plewright, closes #11418 )
2022-10-21 13:03:33 +01:00
zeertzjq
49660f5139
patch 9.0.0806: 'langmap' works differently when there are modifiers
...
Problem: 'langmap' works differently when there are modifiers.
Solution: Only apply 'langmap' to a character where modifiers have no
effect. (closes #11395 , closes #11404 )
2022-10-20 17:59:38 +01:00
Christopher Plewright
4c36678ffd
patch 9.0.0802: MS-Windows: cannot map console mouse scroll events
...
Problem: MS-Windows: cannot map console mouse scroll events.
Solution: Change CSI to K_SPECIAL when checking for a mapping. (Christopher
Plewright, closes #11410 )
2022-10-20 13:11:15 +01:00
Christopher Plewright
605d02a9b7
patch 9.0.0793: MS-Windows: mouse scroll events only work with the dll
...
Problem: MS-Windows: mouse scroll events only work with the dll.
Solution: Accept CSI codes for MS-Windows without the GUI. (Christopher
Plewright, closes #11401 )
2022-10-19 11:54:46 +01:00
Martin Tournoij
ba43e76fcd
patch 9.0.0747: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330 )
2022-10-13 22:12:15 +01:00
Yee Cheng Chin
4314e4f7da
patch 9.0.0694: no native sound support on Mac OS
...
Problem: No native sound support on Mac OS.
Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274 )
2022-10-08 13:50:05 +01:00
Martin Tournoij
7904fa420e
patch 9.0.0657: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268 )
2022-10-04 16:28:45 +01:00
Bram Moolenaar
78aed95c8d
patch 9.0.0575: the getchar() function behaves strangely with bracketed paste
...
Problem: The getchar() function behaves strangely with bracketed paste.
Solution: Do not handle paste-start in getchar(). (issue #11172 )
2022-09-24 15:36:35 +01:00
Bram Moolenaar
ddf7dba96e
patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context
...
Problem: repeating a <ScriptCmd> mapping does not use the right script
context.
Solution: When using a mapping put <SID>{sid}; in the redo buffer.
(closes #11049 )
2022-09-05 16:53:21 +01:00
zeertzjq
c47b16a470
patch 9.0.0385: GUI: when CTRL-D is mapped in Insert mode it gets inserted
...
Problem: GUI: when CTRL-D is mapped in Insert mode it gets inserted.
(Yasuhiro Matsumoto)
Solution: Also recognize modifier starting with CSI. (closes #11057 )
2022-09-05 13:05:29 +01:00
Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
Bram Moolenaar
13608d851a
patch 9.0.0318: clearing screen causes flicker
...
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-29 15:06:50 +01:00
Bram Moolenaar
8d69637133
patch 9.0.0234: cannot make difference between :normal end and argument char
...
Problem: Cannot make difference between the end of :normal and a character
in its argument.
Solution: Add the "typebuf_was_empty" flag. (closes #10950 )
2022-08-21 10:40:07 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Shougo Matsushita
f39cfb7262
patch 9.0.0114: the command line takes up space even when not used
...
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675 , closes #940 )
2022-07-30 16:54:05 +01:00
Bram Moolenaar
7f9969c559
patch 9.0.0067: cannot show virtual text
...
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
2022-07-25 18:13:54 +01:00
zeertzjq
bb404f5ad5
patch 9.0.0059: test file has wrong name
...
Problem: Test file has wrong name.
Solution: Rename the file. Various small fixes. (closes #10674 )
2022-07-23 06:25:29 +01:00
Bram Moolenaar
b8329db36a
patch 9.0.0044: typos in comments, wrapping lines
...
Problem: Typos in comments, wrapping lines.
Solution: Adjust comments. Wrap lines.
2022-07-06 13:31:28 +01:00
Bram Moolenaar
af043e12d9
patch 9.0.0024: may access part of typeahead buf that isn't filled
...
Problem: May access part of typeahead buf that isn't filled.
Solution: Check length of typeahead.
2022-07-02 12:08:16 +01:00
zeertzjq
2e7cba347f
patch 8.2.5076: unnecessary code
...
Problem: Unnecessary code.
Solution: Remove code and replace with function call. (closes #10552 )
2022-06-10 15:30:32 +01:00
zeertzjq
3760bfddc4
patch 8.2.5064: no test for what 8.1.0052 fixes
...
Problem: No test for what 8.1.0052 fixes.
Solution: Add a test. (closes #10531 )
2022-06-06 16:22:46 +01:00
zeertzjq
e3a529bc87
patch 8.2.5058: input() does not handle composing characters properly
...
Problem: input() does not handle composing characters properly.
Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
(closes #10527 )
2022-06-05 19:01:37 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
zeertzjq
ee44603069
patch 8.2.4848: local completion with mappings and simplification not working
...
Problem: Local completion with mappings and simplification not working.
Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
not simplified. (closes #10323 )
2022-04-30 15:02:22 +01:00
zeertzjq
bad8a013c2
patch 8.2.4846: termcodes test fails
...
Problem: Termcodes test fails.
Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316 )
2022-04-29 16:44:00 +01:00
zeertzjq
758a8d1999
patch 8.2.4844: <C-S-I> is simplified to <S-Tab>
...
Problem: <C-S-I> is simplified to <S-Tab>.
Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313 )
2022-04-29 11:06:34 +01:00
zeertzjq
68a573ce2b
patch 8.2.4837: modifiers not simplified when timed out
...
Problem: Modifiers not simplified when timed out or using feedkeys() with
'n" flag.
Solution: Adjust how mapped flag and timeout are used. (closes #10305 )
2022-04-28 14:10:01 +01:00
zeertzjq
12e21e387b
patch 8.2.4833: failure of mapping not checked for
...
Problem: Failure of mapping not checked for.
Solution: Check return value of ins_typebuf(). (closes #10299 )
2022-04-27 11:58:01 +01:00
zeertzjq
fc78a0369e
patch 8.2.4832: passing zero instead of NULL to a pointer argument
...
Problem: Passing zero instead of NULL to a pointer argument.
Solution: Use NULL. (closes #10296 )
2022-04-26 22:11:38 +01:00
zeertzjq
17c95d9608
patch 8.2.4829: a key may be simplified to NUL
...
Problem: A key may be simplified to NUL.
Solution: Use K_ZERO instead. Use macros instead of hard coded values.
(closes #10290 )
2022-04-26 12:51:07 +01:00
Bram Moolenaar
31e5c60a68
patch 8.2.4753: error from setting an option is silently ignored
...
Problem: Error from setting an option is silently ignored.
Solution: Handle option value errors better. Fix uses of N_().
2022-04-15 13:53:33 +01:00
zeertzjq
81b46a6ccd
patch 8.2.4722: ending recording with mapping records too much
...
Problem: When a recording is ended with a mapped key that key is also
recorded.
Solution: Remember the previous last_recorded_len. (closes #10122 )
2022-04-09 17:58:49 +01:00
zeertzjq
6d4e725a34
patch 8.2.4705: jump list marker disappears
...
Problem: Jump list marker disappears.
Solution: Reset reg_executing later. (closes #10111 , closes #10100 )
2022-04-07 13:58:04 +01:00
zeertzjq
0f68e6c07a
patch 8.2.4692: no test for what 8.2.4691 fixes
...
Problem: No test for what 8.2.4691 fixes.
Solution: Add a test. Use a more generic sotlution. (closes #10090 )
2022-04-05 13:17:01 +01:00