kylo252
ae6f1d8b14
patch 8.2.4402: missing parenthesis may cause unexpected problems
...
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788 )
2022-02-16 19:24:07 +00:00
zeertzjq
646bb7247a
patch 8.2.4400: MS-Windows: cannot use the mouse in the console with VIMDLL
...
Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784 ,
closes #9769 )
2022-02-16 17:51:47 +00:00
Bram Moolenaar
9fdde7992a
patch 8.2.4394: UTF8 select mode test fails on MS-Windows
...
Problem: UTF8 select mode test fails on MS-Windows.
Solution: Revert the #ifdef change.
2022-02-15 19:52:56 +00:00
Bram Moolenaar
64d95cfc56
patch 8.2.4392: MS-Windows with VIMDLL: Escaping CSI is wrong
...
Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
Solution: Put back #ifdef. (Ken Takata, closes #9769 )
2022-02-15 17:17:18 +00:00
Bram Moolenaar
74a0a5b26d
patch 8.2.4338: an error from an expression mapping messes up the display
...
Problem: An error from an expression mapping messes up the display.
Solution: When the expression results in an empty string return K_IGNORE.
In cmdline mode redraw the command line. (closes #9726 )
2022-02-10 14:07:41 +00:00
K.Takata
5411910c77
patch 8.2.4289: warnings reported by MSVC
...
Problem: Warnings reported by MSVC.
Solution: Rename variables and other fixes. (Ken Takata, closes #9689 )
2022-02-03 13:33:03 +00:00
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
Bram Moolenaar
166788c657
patch 8.2.4236: accessing freed memory
...
Problem: Accessing freed memory.
Solution: Set the bh_curr pointer to NULL.
2022-01-27 21:56:40 +00:00
Bram Moolenaar
37cf413e3e
patch 8.2.4235: invalid check for NULL pointer
...
Problem: Invalid check for NULL pointer.
Solution: Remove the check.
2022-01-27 20:47:03 +00:00
Bram Moolenaar
a4bc2dd7cc
patch 8.2.4233: crash when recording and using Select mode
...
Problem: Crash when recording and using Select mode.
Solution: When deleting the last recorded character check there is something
to delete.
2022-01-27 19:27:16 +00:00
Bram Moolenaar
f61c89d2e6
patch 8.2.4148: deleting any mapping may cause <ScritpCmd> to fail
...
Problem: Deleting any mapping may cause <ScritpCmd> to not set the script
context.
Solution: Only reset last_used_map if it is the deleted mapping.
(closes #9568 )
2022-01-19 22:51:48 +00:00
Bram Moolenaar
a9725221ac
patch 8.2.4107: script context not restored after using <ScriptCmd>
...
Problem: Script context not restored after using <ScriptCmd>.
Solution: Also restore context when not in a script. (closes #9536 )
Add the 'c' flag to feedkeys() to be able to test this.
2022-01-16 13:30:33 +00:00
Bram Moolenaar
d4e2f50901
patch 8.2.4101: warning for unused argument in tiny version
...
Problem: Warning for unused argument in tiny version.
Solution: Add "UNUSED".
2022-01-15 18:48:32 +00:00
Bram Moolenaar
e32c3c462c
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mapping
...
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
2022-01-15 18:26:04 +00:00
Bram Moolenaar
19db9e6ba7
patch 8.2.4059: Vim9: an expression of a map cannot access script-local items
...
Problem: Vim9: an expression of a map cannot access script-local items.
(Maxim Kim)
Solution: Use the script ID of where the map was defined.
2022-01-11 11:58:19 +00:00
zeertzjq
6cac77016b
patch 8.2.4002: first char typed in Select mode can be wrong
...
Problem: First char typed in Select mode can be wrong.
Solution: Escape special bytes in the input buffer. (closes #9469 )
2022-01-04 18:01:21 +00:00
Yegappan Lakshmanan
d94fbfc74a
patch 8.2.4001: insert complete code uses global variables
...
Problem: Insert complete code uses global variables.
Solution: Make variables local to the file and use accessor functions.
(Yegappan Lakshmanan, closes #9470 )
2022-01-04 17:01:44 +00:00
Bram Moolenaar
c88e977862
patch 8.2.3993: when recording a change in Select mode char appears twice
...
Problem: When recording a change in Select mode the first typed character
appears twice.
Solution: When putting the character back into typeahead remove it from
recorded characters. (closes #9462 )
2022-01-03 13:47:50 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
b37a65e4bf
patch 8.2.3966: when using feedkeys() abbreviations may be blocked
...
Problem: When using feedkeys() abbreviations may be blocked.
Solution: Reset tb_no_abbr_cnt when running out of characters.
(closes #9448 )
2022-01-01 12:42:56 +00:00
Bram Moolenaar
6d0570117a
patch 8.2.3959: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 18:49:43 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
Bram Moolenaar
52797bae17
patch 8.2.3825: various comments could be improved
...
Problem: Various comments could be improved.
Solution: Improve the comments.
2021-12-16 14:45:13 +00:00
Bram Moolenaar
12f3c1b77f
patch 8.2.3749: error messages are everywhere
...
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
2021-12-05 21:46:34 +00:00
zeertzjq
a3f83feb63
patch 8.2.3643: header for source file is outdated
...
Problem: Header for source file is outdated.
Solution: Make the header more accurate. (closes #9186 )
2021-11-22 12:47:39 +00:00
Bram Moolenaar
0d5a12ea04
patch 8.2.3595: check for signed overflow might not work everywhere
...
Problem: Check for signed overflow might not work everywhere.
Solution: Limit to 32 bit int. (closes #9043 , closes #9067 )
2021-11-14 14:05:18 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
3826c0513b
patch 8.2.3490: superfluous return statements
...
Problem: Superfluous return statements.
Solution: Remove superfluous return statements from void functions.
(closes #8977 )
2021-10-09 15:39:25 +01:00
h-east
965d2edbce
patch 8.2.3474: some places use "Vimscript" instead of "Vim script"
...
Problem: Some places use "Vimscript" instead of "Vim script".
Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910 )
2021-10-04 21:51:57 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
dfa5e464d4
patch 8.2.3460: some type casts are not needed
...
Problem: Some type casts are not needed.
Solution: Remove unnecessary type casts. (closes #8934 )
2021-10-02 11:26:51 +01:00
Yegappan Lakshmanan
8ee52affe7
patch 8.2.3320: some local functions are not static
...
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734 )
2021-08-09 19:59:06 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Bram Moolenaar
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +02:00
Bram Moolenaar
c41badb748
patch 8.2.2961: keys typed during a :normal command are discarded
...
Problem: Keys typed during a :normal command are discarded.
Solution: Concatenate saved typeahead and typed kesy. (closes #8340 )
2021-06-07 22:04:52 +02:00
Bram Moolenaar
3a7503c34c
patch 8.2.2957: using getchar() in Vim9 script is problematic
...
Problem: Using getchar() in Vim9 script is problematic.
Solution: Add getcharstr(). (closes #8343 )
2021-06-07 18:29:17 +02:00
Bram Moolenaar
3a00659db7
patch 8.2.2833: two key command cancelled by moving mouse when using popup
...
Problem: Two key command cancelled by moving mouse when using popup.
(Sergey Vlasov)
Solution: Ignore K_MOUSEMOVE in plain_vgetc().
2021-05-05 19:58:17 +02:00
Bram Moolenaar
8e7d6223f6
patch 8.2.2160: various typos
...
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494 )
2020-12-18 19:49:56 +01:00
Bram Moolenaar
0684e36a7e
patch 8.2.2084: CTRL-V U doesn't work to enter a Unicode character
...
Problem: CTRL-V U doesn't work to enter a Unicode character when
modifyOtherKeys is effective. (Ken Takata)
Solution: Add a flag to get_literal() for the shift key. (closes #7413 )
2020-12-03 19:54:42 +01:00
Bram Moolenaar
4a44120e3d
patch 8.2.2062: <Cmd> does not handle CTRL-V
...
Problem: <Cmd> does not handle CTRL-V.
Solution: Call get_literal() after encountering CTRL-V. (closes #7387 )
2020-11-28 14:43:26 +01:00
Bram Moolenaar
c77534c303
patch 8.2.2005: redoing a mapping with <Cmd> doesn't work properly
...
Problem: Redoing a mapping with <Cmd> doesn't work properly.
Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
(closes #7282 )
2020-11-18 11:34:37 +01:00
Bram Moolenaar
ca359cbedd
patch 8.2.1991: Coverity warns for not using the ga_grow() return value
...
Problem: Coverity warns for not using the ga_grow() return value.
Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303 )
2020-11-15 20:49:41 +01:00
Bram Moolenaar
957cf67d50
patch 8.2.1978: making a mapping work in all modes is complicated
...
Problem: Making a mapping work in all modes is complicated.
Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282 ,
closes 4784, based on patch by Bjorn Linse)
2020-11-12 14:21:06 +01:00
Bram Moolenaar
4778b4d0e1
patch 8.2.1948: GUI: crash when handling message while closing a window
...
Problem: GUI: crash when handling message while closing a window. (Srinath
Avadhanula)
Solution: Don't handle message while closing a window. (closes #7250 )
2020-11-04 11:03:12 +01:00
Bram Moolenaar
4934ad0e44
patch 8.2.1769: popup filter interferes with using :normal to move the cursor
...
Problem: A popup filter interferes with using :normal to move the cursor in
a popup.
Solution: Do not invoke the filter when ex_normal_busy is set.
2020-09-28 22:29:58 +02:00
Bram Moolenaar
189832bf66
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
...
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
2020-09-23 12:29:11 +02:00
Bram Moolenaar
15183b41c4
patch 8.2.1608: Vim9: getchar() test fails with GUI
...
Problem: Vim9: getchar() test fails with GUI.
Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
2020-09-05 19:59:39 +02:00
Bram Moolenaar
c08cc72947
patch 8.2.1603: Vim9: cannot use "true" with getchar()
...
Problem: Vim9: cannot use "true" with getchar().
Solution: use tv_get_bool_chk(). (closes #6874 )
2020-09-05 17:51:23 +02:00
Bram Moolenaar
b8d732e93e
patch 8.2.1377: triggering the ATTENTION prompt causes typeahead mess up
...
Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
Solution: Increment tb_change_cnt. (closes #6541 )
2020-08-05 22:07:26 +02:00
Bram Moolenaar
ae97b94176
patch 8.2.1166: once mouse move events are enabled getchar() returns them
...
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424 )
2020-07-09 19:16:35 +02:00
Bram Moolenaar
be5ee8686a
patch 8.2.0952: no simple way to interrupt Vim
...
Problem: No simple way to interrupt Vim.
Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
closes #1718 )
2020-06-10 20:56:58 +02:00
Bram Moolenaar
673fc3e23f
patch 8.2.0919: merging modifier for modifyOtherKeys is done twice
...
Problem: Merging modifier for modifyOtherKeys is done twice.
Solution: Remove the merging done in vgetc().
2020-06-07 15:46:11 +02:00