summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
AgeCommit message (Collapse)Author
2022-09-24patch 9.0.0575: the getchar() function behaves strangely with bracketed pastev9.0.0575Bram Moolenaar
Problem: The getchar() function behaves strangely with bracketed paste. Solution: Do not handle paste-start in getchar(). (issue #11172)
2022-09-05patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script contextv9.0.0387Bram Moolenaar
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-05patch 9.0.0385: GUI: when CTRL-D is mapped in Insert mode it gets insertedv9.0.0385zeertzjq
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-08-31patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340Bram Moolenaar
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
2022-08-29patch 9.0.0318: clearing screen causes flickerv9.0.0318Bram Moolenaar
Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-21patch 9.0.0234: cannot make difference between :normal end and argument charv9.0.0234Bram Moolenaar
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-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-07-30patch 9.0.0114: the command line takes up space even when not usedv9.0.0114Shougo Matsushita
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-25patch 9.0.0067: cannot show virtual textv9.0.0067Bram Moolenaar
Problem: Cannot show virtual text. Solution: Initial changes for virtual text support, using text properties.
2022-07-23patch 9.0.0059: test file has wrong namev9.0.0059zeertzjq
Problem: Test file has wrong name. Solution: Rename the file. Various small fixes. (closes #10674)
2022-07-06patch 9.0.0044: typos in comments, wrapping linesv9.0.0044Bram Moolenaar
Problem: Typos in comments, wrapping lines. Solution: Adjust comments. Wrap lines.
2022-07-02patch 9.0.0024: may access part of typeahead buf that isn't filledv9.0.0024Bram Moolenaar
Problem: May access part of typeahead buf that isn't filled. Solution: Check length of typeahead.
2022-06-10patch 8.2.5076: unnecessary codev8.2.5076zeertzjq
Problem: Unnecessary code. Solution: Remove code and replace with function call. (closes #10552)
2022-06-06patch 8.2.5064: no test for what 8.1.0052 fixesv8.2.5064zeertzjq
Problem: No test for what 8.1.0052 fixes. Solution: Add a test. (closes #10531)
2022-06-05patch 8.2.5058: input() does not handle composing characters properlyv8.2.5058zeertzjq
Problem: input() does not handle composing characters properly. Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv(). (closes #10527)
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-04-30patch 8.2.4848: local completion with mappings and simplification not workingv8.2.4848zeertzjq
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-29patch 8.2.4846: termcodes test failsv8.2.4846zeertzjq
Problem: Termcodes test fails. Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
2022-04-29patch 8.2.4844: <C-S-I> is simplified to <S-Tab>v8.2.4844zeertzjq
Problem: <C-S-I> is simplified to <S-Tab>. Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
2022-04-28patch 8.2.4837: modifiers not simplified when timed outv8.2.4837zeertzjq
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-27patch 8.2.4833: failure of mapping not checked forv8.2.4833zeertzjq
Problem: Failure of mapping not checked for. Solution: Check return value of ins_typebuf(). (closes #10299)
2022-04-26patch 8.2.4832: passing zero instead of NULL to a pointer argumentv8.2.4832zeertzjq
Problem: Passing zero instead of NULL to a pointer argument. Solution: Use NULL. (closes #10296)
2022-04-26patch 8.2.4829: a key may be simplified to NULv8.2.4829zeertzjq
Problem: A key may be simplified to NUL. Solution: Use K_ZERO instead. Use macros instead of hard coded values. (closes #10290)
2022-04-15patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar
Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
2022-04-09patch 8.2.4722: ending recording with mapping records too muchv8.2.4722zeertzjq
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-07patch 8.2.4705: jump list marker disappearsv8.2.4705zeertzjq
Problem: Jump list marker disappears. Solution: Reset reg_executing later. (closes #10111, closes #10100)
2022-04-05patch 8.2.4692: no test for what 8.2.4691 fixesv8.2.4692zeertzjq
Problem: No test for what 8.2.4691 fixes. Solution: Add a test. Use a more generic sotlution. (closes #10090)
2022-04-04patch 8.2.4691: solution for <Cmd> in a mapping causes troublev8.2.4691Bram Moolenaar
Problem: Solution for <Cmd> in a mapping causes trouble. Solution: Use another solution: put back CTRL-O after reading the <Cmd> sequence.
2022-04-04patch 8.2.4689: using <Cmd> in a mapping does not work for mouse keysv8.2.4689Bram Moolenaar
Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert mode. (Sergey Vlasov) Solution: When reading the <Cmd> argument do not use the stuff buffer. (closes #10080)
2022-03-18patch 8.2.4588: mapping with key after other matching mapping does not workv8.2.4588Bram Moolenaar
Problem: Mapping with key code after other matching mapping does not work. Solution: Change ">" to ">=". (closes #9903)
2022-03-12patch 8.2.4551: when mapping <Esc> terminal codes are not recognizedv8.2.4551Bram Moolenaar
Problem: When mapping <Esc> terminal codes are not recognized. Solution: Specifically recognize a mapping with just <Esc> and check for terminal codes even though there is no partial mapping. (closes #9903)
2022-03-04patch 8.2.4504: when there is a partially matching map full map may not workv8.2.4504Bram Moolenaar
Problem: When there is a partially matching map and modifyOtherKeys is active a full map may not work. Solution: Only simplify modifiers when there is no matching mapping. (closes #8792)
2022-03-04patch 8.2.4502: in the GUI a modifier is not recognized after CTRL-Xv8.2.4502Bram Moolenaar
Problem: In the GUI a modifier is not recognized for the key typed after CTRL-X, which may result in a mapping to be used. (Daniel Steinberg) Solution: Recognize a modifier starting with CSI. (closes #9889)
2022-03-03patch 8.2.4498: using <Plug> with "noremap" does not workv8.2.4498Bram Moolenaar
Problem: Using <Plug> with "noremap" does not work. Solution: Always remap <Plug>. (closes #9879, closes #9789)
2022-02-20patch 8.2.4427: getchar() may return modifiers if no character is availablev8.2.4427zeertzjq
Problem: getchar() may return modifiers if no character is available. Solution: Do not process modifiers when there is no character. (closes #9806)
2022-02-16patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402kylo252
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
2022-02-16patch 8.2.4400: MS-Windows: cannot use the mouse in the console with VIMDLLv8.2.4400zeertzjq
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-15patch 8.2.4394: UTF8 select mode test fails on MS-Windowsv8.2.4394Bram Moolenaar
Problem: UTF8 select mode test fails on MS-Windows. Solution: Revert the #ifdef change.
2022-02-15patch 8.2.4392: MS-Windows with VIMDLL: Escaping CSI is wrongv8.2.4392Bram Moolenaar
Problem: MS-Windows with VIMDLL: Escaping CSI is wrong. Solution: Put back #ifdef. (Ken Takata, closes #9769)
2022-02-10patch 8.2.4338: an error from an expression mapping messes up the displayv8.2.4338Bram Moolenaar
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-03patch 8.2.4289: warnings reported by MSVCv8.2.4289K.Takata
Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-27patch 8.2.4236: accessing freed memoryv8.2.4236Bram Moolenaar
Problem: Accessing freed memory. Solution: Set the bh_curr pointer to NULL.
2022-01-27patch 8.2.4235: invalid check for NULL pointerv8.2.4235Bram Moolenaar
Problem: Invalid check for NULL pointer. Solution: Remove the check.
2022-01-27patch 8.2.4233: crash when recording and using Select modev8.2.4233Bram Moolenaar
Problem: Crash when recording and using Select mode. Solution: When deleting the last recorded character check there is something to delete.
2022-01-19patch 8.2.4148: deleting any mapping may cause <ScritpCmd> to failv8.2.4148Bram Moolenaar
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-16patch 8.2.4107: script context not restored after using <ScriptCmd>v8.2.4107Bram Moolenaar
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-15patch 8.2.4101: warning for unused argument in tiny versionv8.2.4101Bram Moolenaar
Problem: Warning for unused argument in tiny version. Solution: Add "UNUSED".
2022-01-15patch 8.2.4099: Vim9: cannot use Vim9 syntax in mappingv8.2.4099Bram Moolenaar
Problem: Vim9: cannot use Vim9 syntax in mapping. Solution: Add <ScriptCmd> to use the script context for a command.
2022-01-11patch 8.2.4059: Vim9: an expression of a map cannot access script-local itemsv8.2.4059Bram Moolenaar
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.