summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
AgeCommit message (Collapse)Author
2020-08-05patch 8.2.1377: triggering the ATTENTION prompt causes typeahead mess upv8.2.1377Bram Moolenaar
Problem: Triggering the ATTENTION prompt causes typeahead to be messed up. Solution: Increment tb_change_cnt. (closes #6541)
2020-07-09patch 8.2.1166: once mouse move events are enabled getchar() returns themv8.2.1166Bram Moolenaar
Problem: Once mouse move events are enabled getchar() returns them. Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
2020-06-10patch 8.2.0952: no simple way to interrupt Vimv8.2.0952Bram Moolenaar
Problem: No simple way to interrupt Vim. Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes, closes #1718)
2020-06-07patch 8.2.0919: merging modifier for modifyOtherKeys is done twicev8.2.0919Bram Moolenaar
Problem: Merging modifier for modifyOtherKeys is done twice. Solution: Remove the merging done in vgetc().
2020-06-06patch 8.2.0916: mapping with partly modifyOtherKeys code does not workv8.2.0916Bram Moolenaar
Problem: Mapping with partly modifyOtherKeys code does not work. Solution: If there is no mapping with a separate modifier include the modifier in the key and then try mapping again. (closes #6200)
2020-06-04patch 8.2.0904: assuming modifyOtherKeys for rhs of mappingv8.2.0904Bram Moolenaar
Problem: Assuming modifyOtherKeys for rhs of mapping. Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
2020-05-30patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUIv8.2.0851Bram Moolenaar
Problem: Can't distinguish <M-a> from accented "a" in the GUI. Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
2020-05-29patch 8.2.0839: dropping modifier when putting a character back in typeaheadv8.2.0839Bram Moolenaar
Problem: Dropping modifier when putting a character back in typeahead. Solution: Add modifier to ins_char_typebuf(). (closes #6158)
2020-05-28patch 8.2.0835: Motif: mapping <C-bslash> still doesn't workv8.2.0835Bram Moolenaar
Problem: Motif: mapping <C-bslash> still doesn't work. Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character early. (closes #6150)
2020-05-03patch 8.2.0694: Haiku: channel and terminal do not workv8.2.0694Bram Moolenaar
Problem: Haiku: channel and terminal do not work. Solution: Close files when the job has finished. (Ozaki Kiichi, closes #6039)
2020-05-01patch 8.2.0674: some source files are too bigv8.2.0674Bram Moolenaar
Problem: Some source files are too big. Solution: Move text formatting functions to a new file. (Yegappan Lakshmanan, closes #6021)
2020-04-05patch 8.2.0514: several global functions are used in only one filev8.2.0514Bram Moolenaar
Problem: Several global functions are used in only one file. Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
2020-03-11patch 8.2.0370: the typebuf_was_filled flag is sometimes not resetv8.2.0370Bram Moolenaar
Problem: The typebuf_was_filled flag is sometimes not reset, which may cause a hang. Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is empty.
2020-03-04patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSIv8.2.0356Bram Moolenaar
Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly. Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken Takata, closes #5726)
2020-02-18patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :globalv8.2.0274Bram Moolenaar
Problem: Hang with combination of feedkeys(), Ex mode and :global. (Yegappan Lakshmanan) Solution: Add the pending_exmode_active flag.
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2019-12-01patch 8.1.2380: using old C style commentsv8.1.2380Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-30patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
2019-11-26patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeysv8.1.2350Bram Moolenaar
Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys. Solution: Convert the Escape sequence back to key as if modifyOtherKeys is not set, and use CTRL-SHIFT-V to get the Escape sequence itself. (closes #5254)
2019-11-22patch 8.1.2336: when an expr mapping moves the cursor it is not restoredv8.1.2336Bram Moolenaar
Problem: When an expr mapping moves the cursor it is not restored. Solution: Position the cursor after an expr mapping. (closes #5256)
2019-11-21patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't workv8.1.2333Bram Moolenaar
Problem: With modifyOtherKeys CTRL-^ doesn't work. Solution: Handle the exception.
2019-11-02patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
2019-10-22patch 8.1.2200: crash when memory allocation failsv8.1.2200Bram Moolenaar
Problem: Crash when memory allocation fails. Solution: Check for NULL curwin and curbuf. (Christian Brabandt, closes #4839)
2019-10-20patch 8.1.2191: when using modifyOtherKeys CTRL-X mode may not workv8.1.2191Bram Moolenaar
Problem: When using modifyOtherKeys CTRL-X mode may not work. Solution: Recognize a control character also in the form with a modifier.
2019-10-17patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar
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-13patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledv8.1.2145Bram Moolenaar
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-10patch 8.1.2135: with modifyOtherKeys Alt-a does not work properlyv8.1.2135Bram Moolenaar
Problem: With modifyOtherKeys Alt-a does not work properly. Solution: Remove the ALT modifier. Get multi-byte after applying ALT.
2019-10-10patch 8.1.2134: modifier keys are not always recognizedv8.1.2134Bram Moolenaar
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-06patch 8.1.2120: some MB_ macros are more complicated than necessaryv8.1.2120Bram Moolenaar
Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline.
2019-10-03patch 8.1.2110: CTRL-C closes two popups instead of onev8.1.2110Bram Moolenaar
Problem: CTRL-C closes two popups instead of one. Solution: Reset got_int when the filter consumed the key.
2019-09-28patch 8.1.2091: double free when memory allocation failsv8.1.2091Bram Moolenaar
Problem: Double free when memory allocation fails. (Zu-Ming Jiang) Solution: Use VIM_CLEAR() instead of vim_free(). (closes #4991)
2019-09-18patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()v8.1.2053Bram Moolenaar
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-17patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggeredv8.1.2048Bram Moolenaar
Problem: Not clear why SafeState and SafeStateAgain are not triggered. Solution: Add log statements.
2019-09-16patch 8.1.2046: SafeState may be triggered at the wrong momentv8.1.2046Bram Moolenaar
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-15patch 8.1.2042: the evalfunc.c file is too bigv8.1.2042Bram Moolenaar
Problem: The evalfunc.c file is too big. Solution: Move getchar() and parse_queued_messages() to getchar.c.
2019-08-21patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
2019-08-20patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar
Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
2019-08-08patch 8.1.1827: allocating more memory than needed for extended structsv8.1.1827Bram Moolenaar
Problem: Allocating more memory than needed for extended structs. Solution: Use offsetof() instead of sizeof(). (Dominique Pelle, closes #4786)
2019-08-03patch 8.1.1799: cannot avoid mapping for a popup windowv8.1.1799Bram Moolenaar
Problem: Cannot avoid mapping for a popup window. Solution: Add the "mapping" property, default TRUE.
2019-08-03patch 8.1.1798: warning for unused variable in tiny versionv8.1.1798Bram Moolenaar
Problem: Warning for unused variable in tiny version. (Tony Mechelynck) Solution: Move inside #ifdef. Reformat code.
2019-08-03patch 8.1.1797: the vgetorpeek() function is too longv8.1.1797Bram Moolenaar
Problem: The vgetorpeek() function is too long. Solution: Split off the part that handles mappings, with fix.
2019-08-02patch 8.1.1794: tests are flakyv8.1.1794Bram Moolenaar
Problem: Tests are flaky. Solution: Undo the change to vgetorpeek().
2019-08-02patch 8.1.1792: the vgetorpeek() function is too longv8.1.1792Bram Moolenaar
Problem: The vgetorpeek() function is too long. Solution: Split off the part that handles mappings.
2019-08-01patch 8.1.1785: map functionality mixed with character inputv8.1.1785Bram Moolenaar
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-07-27patch 8.1.1759: no mode char for terminal mapping from maparg()v8.1.1759Bram Moolenaar
Problem: No mode char for terminal mapping from maparg(). Solution: Check for TERMINAL mode. (closes #4735)
2019-07-05patch 8.1.1640: the CursorHold autocommand takes down a balloonv8.1.1640Bram Moolenaar
Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly) Solution: Ignore the CursorHold pseudo-key.
2019-06-25patch 8.1.1591: on error garbage collection may free memory in usev8.1.1591Bram Moolenaar
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-01patch 8.1.1441: popup window filter not yet implementedv8.1.1441Bram Moolenaar
Problem: Popup window filter not yet implemented. Solution: Implement the popup filter.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
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-24patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar
Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).