summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
AgeCommit message (Collapse)Author
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.
2022-01-04patch 8.2.4002: first char typed in Select mode can be wrongv8.2.4002zeertzjq
Problem: First char typed in Select mode can be wrong. Solution: Escape special bytes in the input buffer. (closes #9469)
2022-01-04patch 8.2.4001: insert complete code uses global variablesv8.2.4001Yegappan Lakshmanan
Problem: Insert complete code uses global variables. Solution: Make variables local to the file and use accessor functions. (Yegappan Lakshmanan, closes #9470)
2022-01-03patch 8.2.3993: when recording a change in Select mode char appears twicev8.2.3993Bram Moolenaar
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-01patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2022-01-01patch 8.2.3966: when using feedkeys() abbreviations may be blockedv8.2.3966Bram Moolenaar
Problem: When using feedkeys() abbreviations may be blocked. Solution: Reset tb_no_abbr_cnt when running out of characters. (closes #9448)
2021-12-31patch 8.2.3959: error messages are spread outv8.2.3959Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-27patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
2021-12-16patch 8.2.3825: various comments could be improvedv8.2.3825Bram Moolenaar
Problem: Various comments could be improved. Solution: Improve the comments.
2021-12-05patch 8.2.3749: error messages are everywherev8.2.3749Bram Moolenaar
Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
2021-11-22patch 8.2.3643: header for source file is outdatedv8.2.3643zeertzjq
Problem: Header for source file is outdated. Solution: Make the header more accurate. (closes #9186)
2021-11-14patch 8.2.3595: check for signed overflow might not work everywherev8.2.3595Bram Moolenaar
Problem: Check for signed overflow might not work everywhere. Solution: Limit to 32 bit int. (closes #9043, closes #9067)
2021-10-09patch 8.2.3490: superfluous return statementsv8.2.3490=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Superfluous return statements. Solution: Remove superfluous return statements from void functions. (closes #8977)