Bram Moolenaar
828ffd5963
patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work
...
Problem: With modifyOtherKeys CTRL-^ doesn't work.
Solution: Handle the exception.
2019-11-21 23:24:00 +01:00
Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00
Bram Moolenaar
1cac70953d
patch 8.1.2200: crash when memory allocation fails
...
Problem: Crash when memory allocation fails.
Solution: Check for NULL curwin and curbuf. (Christian Brabandt,
closes #4839 )
2019-10-22 21:54:31 +02:00
Bram Moolenaar
88d3d09e07
patch 8.1.2191: when using modifyOtherKeys CTRL-X mode may not work
...
Problem: When using modifyOtherKeys CTRL-X mode may not work.
Solution: Recognize a control character also in the form with a modifier.
2019-10-20 16:00:47 +02:00
Bram Moolenaar
a1cb1d1dce
patch 8.1.2171: mouse support not always available
...
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-17 23:00:07 +02:00
Bram Moolenaar
459fd785e4
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
...
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
2019-10-13 16:43:39 +02:00
Bram Moolenaar
00eab7f128
patch 8.1.2135: with modifyOtherKeys Alt-a does not work properly
...
Problem: With modifyOtherKeys Alt-a does not work properly.
Solution: Remove the ALT modifier. Get multi-byte after applying ALT.
2019-10-10 21:49:28 +02:00
Bram Moolenaar
6a0299d8f4
patch 8.1.2134: modifier keys are not always recognized
...
Problem: Modifier keys are not always recognized.
Solution: Handle key codes generated by xterm with modifyOtherKeys set.
Add this to libvterm so we can debug it.
2019-10-10 21:14:03 +02:00
Bram Moolenaar
1614a14901
patch 8.1.2120: some MB_ macros are more complicated than necessary
...
Problem: Some MB_ macros are more complicated than necessary. (Dominique
Pelle)
Solution: Simplify the macros. Expand inline.
2019-10-06 22:00:13 +02:00
Bram Moolenaar
e8a7dfedfc
patch 8.1.2110: CTRL-C closes two popups instead of one
...
Problem: CTRL-C closes two popups instead of one.
Solution: Reset got_int when the filter consumed the key.
2019-10-03 22:35:52 +02:00
Bram Moolenaar
0f1c6708fd
patch 8.1.2091: double free when memory allocation fails
...
Problem: Double free when memory allocation fails. (Zu-Ming Jiang)
Solution: Use VIM_CLEAR() instead of vim_free(). (closes #4991 )
2019-09-28 15:24:00 +02:00
Bram Moolenaar
d103ee7843
patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
...
Problem: SafeStateAgain not triggered if callback uses feedkeys().
Solution: Check for safe state in the input loop. Make log messages easier
to find. Add 'S' flag to state().
2019-09-18 21:15:31 +02:00
Bram Moolenaar
37d1807a80
patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggered
...
Problem: Not clear why SafeState and SafeStateAgain are not triggered.
Solution: Add log statements.
2019-09-17 20:28:38 +02:00
Bram Moolenaar
69198cb8c0
patch 8.1.2046: SafeState may be triggered at the wrong moment
...
Problem: SafeState may be triggered at the wrong moment.
Solution: Move it up higher to after where messages are processed. Add a
SafeStateAgain event to tigger there.
2019-09-16 21:58:13 +02:00
Bram Moolenaar
9c658c9eac
patch 8.1.2042: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move getchar() and parse_queued_messages() to getchar.c.
2019-09-15 21:00:54 +02:00
Bram Moolenaar
e2c453d38f
patch 8.1.1901: the +insert_expand feature is not always available
...
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
2019-08-21 14:37:09 +02:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00
Bram Moolenaar
47ed553fd5
patch 8.1.1827: allocating more memory than needed for extended structs
...
Problem: Allocating more memory than needed for extended structs.
Solution: Use offsetof() instead of sizeof(). (Dominique Pelle,
closes #4786 )
2019-08-08 20:49:14 +02:00
Bram Moolenaar
749fa0af85
patch 8.1.1799: cannot avoid mapping for a popup window
...
Problem: Cannot avoid mapping for a popup window.
Solution: Add the "mapping" property, default TRUE.
2019-08-03 16:18:07 +02:00
Bram Moolenaar
eda35f7127
patch 8.1.1798: warning for unused variable in tiny version
...
Problem: Warning for unused variable in tiny version. (Tony Mechelynck)
Solution: Move inside #ifdef. Reformat code.
2019-08-03 14:59:44 +02:00
Bram Moolenaar
edd680f364
patch 8.1.1797: the vgetorpeek() function is too long
...
Problem: The vgetorpeek() function is too long.
Solution: Split off the part that handles mappings, with fix.
2019-08-03 14:23:48 +02:00
Bram Moolenaar
f2d8b7a0a6
patch 8.1.1794: tests are flaky
...
Problem: Tests are flaky.
Solution: Undo the change to vgetorpeek().
2019-08-02 22:46:11 +02:00
Bram Moolenaar
dd00035cb5
patch 8.1.1792: the vgetorpeek() function is too long
...
Problem: The vgetorpeek() function is too long.
Solution: Split off the part that handles mappings.
2019-08-02 21:35:33 +02:00
Bram Moolenaar
b66bab381c
patch 8.1.1785: map functionality mixed with character input
...
Problem: Map functionality mixed with character input.
Solution: Move the map functionality to a separate file. (Yegappan
Lakshmanan, closes #4740 ) Graduate the +localmap feature.
2019-08-01 14:28:24 +02:00
Bram Moolenaar
14371ed697
patch 8.1.1759: no mode char for terminal mapping from maparg()
...
Problem: No mode char for terminal mapping from maparg().
Solution: Check for TERMINAL mode. (closes #4735 )
2019-07-27 21:05:21 +02:00
Bram Moolenaar
c2f5054be9
patch 8.1.1640: the CursorHold autocommand takes down a balloon
...
Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly)
Solution: Ignore the CursorHold pseudo-key.
2019-07-05 23:24:56 +02:00
Bram Moolenaar
7d491c4253
patch 8.1.1591: on error garbage collection may free memory in use
...
Problem: On error garbage collection may free memory in use.
Solution: Reset may_garbage_collect when evaluating expression mapping.
Add tests. (Ozaki Kiichi, closes #4579 )
2019-06-25 06:28:02 +02:00
Bram Moolenaar
bf0eff0b72
patch 8.1.1441: popup window filter not yet implemented
...
Problem: Popup window filter not yet implemented.
Solution: Implement the popup filter.
2019-06-01 17:13:36 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24 19:39:03 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
5357552140
patch 8.1.1365: source command doesn't check for the sandbox
...
Problem: Source command doesn't check for the sandbox. (Armin Razmjou)
Solution: Check for the sandbox when sourcing a file.
2019-05-22 22:38:25 +02:00
Bram Moolenaar
386b43e594
patch 8.1.1358: cannot enter character with a CSI byte
...
Problem: Cannot enter character with a CSI byte.
Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata,
closes #4396 )
2019-05-19 21:57:11 +02:00
Bram Moolenaar
ed5ab2a959
patch 8.1.1269: MS-Windows GUI: multibyte chars with a 0x80 byte do not work
...
Problem: MS-Windows GUI: multibyte chars with a 0x80 byte do not work when
compiled with VIMDLL.
Solution: Adjust the condition for fixing the input buffer. (Ken Takata,
closes #4330 )
2019-05-04 20:00:00 +02:00
Bram Moolenaar
2cb9f02532
patch 8.1.1251: no test for completion of mapping keys
...
Problem: No test for completion of mapping keys.
Solution: Add a test. Also clean up the code.
2019-05-03 15:13:57 +02:00
Bram Moolenaar
a9dd2d3c75
patch 8.1.1239: key with byte sequence containing CSI does not work
...
Problem: Key with byte sequence containing CSI does not work.
Solution: Do not recognize CSI as special unless the GUI is active. (Ken
Takata, closes #4318 )
2019-04-29 21:58:41 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
725310d89e
patch 8.1.1201: output of :command is hard to read
...
Problem: Output of :command is hard to read.
Solution: Make some columns wider, some narrower. Truncate the command when
listing all.
2019-04-24 23:08:23 +02:00
Bram Moolenaar
86ec6d7e1e
patch 8.1.1185: mapping for CTRL-X is inconsistent
...
Problem: Mapping for CTRL-X is inconsistent.
Solution: Map CTRL-X to "*d also for the MS-Windows console. (Ken Takata,
closes #4265 )
2019-04-18 21:09:02 +02:00
Bram Moolenaar
652de23dc7
patch 8.1.1118: a couple of conditions are hard to understand
...
Problem: A couple of conditions are hard to understand.
Solution: Split the conditions into pieces. (Ozaki Kiichi, closes #3879 )
2019-04-04 20:13:09 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
6edbbd8114
patch 8.1.1003: playing back recorded key sequence mistakes key code
...
Problem: Playing back recorded key sequence mistakes key code.
Solution: Insert a <Nop> after the <Esc>. (closes #4068 )
2019-03-10 09:41:51 +01:00
Bram Moolenaar
fd731b0e31
patch 8.1.1000: indenting is off
...
Problem: Indenting is off.
Solution: Make indenting consistent and update comments. (Ozaki Kiichi,
closes #4079 )
2019-03-09 11:23:58 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
14184a3133
patch 8.1.0932: Farsi support is outdated and unused
...
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
2019-02-16 15:10:30 +01:00
Bram Moolenaar
cb574f4154
patch 8.1.0822: peeking and flushing output slows down execution
...
Problem: Peeking and flushing output slows down execution.
Solution: Do not update the mode message when global_busy is set. Do not
flush when only peeking for a character. (Ken Takata)
2019-01-25 22:29:57 +01:00
Bram Moolenaar
264b74fa54
patch 8.1.0810: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 4.
2019-01-24 17:18:42 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00