summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
AgeCommit message (Collapse)Author
2016-06-04patch 7.4.1897v7.4.1897Bram Moolenaar
Problem: Various typos, long lines and style mistakes. Solution: Fix the typos, wrap lines, improve style.
2016-06-04patch 7.4.1886v7.4.1886Bram Moolenaar
Problem: When waiting for a character is interrupted by receiving channel data and the first character of a mapping was typed, the mapping times out. (Ramel Eshed) Solution: When dealing with channel data don't return from mch_inchar().
2016-05-25patch 7.4.1844v7.4.1844Bram Moolenaar
Problem: Using old function name in comment. More functions should start with test_. Solution: Rename function in comment. (Higashi Higashi) Rename disable_char_avail_for_testing() to test_disable_char_avail(). And alloc_fail() to test_alloc_fail().
2016-04-14patch 7.4.1727v7.4.1727Bram Moolenaar
Problem: Cannot detect a crash in tests when caused by garbagecollect(). Solution: Add garbagecollect_for_testing(). Do not free a job if is still useful.
2016-02-23patch 7.4.1399v7.4.1399Bram Moolenaar
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
2016-02-10patch 7.4.1300v7.4.1300Bram Moolenaar
Problem: Cannot test CursorMovedI because there is typeahead. Solution: Add disable_char_avail_for_testing().
2016-01-31patch 7.4.1227v7.4.1227Bram Moolenaar
Problem: Compiler warnings. Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
2016-01-31patch 7.4.1222v7.4.1222Bram Moolenaar
Problem: ":normal" command and others missing in tiny build. Solution: Graduate FEAT_EX_EXTRA.
2016-01-30patch 7.4.1207v7.4.1207Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1197v7.4.1197Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-21patch 7.4.1150v7.4.1150Bram Moolenaar
Problem: 'langmap' applies to the first character typed in Select mode. (David Watson) Solution: Check for SELECTMODE. (Christian Brabandt, closes #572) Add the 'x' flag to feedkeys().
2015-12-31patch 7.4.1008v7.4.1008Bram Moolenaar
Problem: The OS/2 code pollutes the source while nobody uses it these days. Solution: Drop the support for OS/2.
2015-09-15patch 7.4.870v7.4.870Bram Moolenaar
Problem: May get into an invalid state when using getchar() in an expression mapping. Solution: Anticipate mod_mask to change. (idea by Yukihiro Nakadaira)
2015-09-15patch 7.4.866v7.4.866Bram Moolenaar
Problem: Crash when changing the 'tags' option from a remote command. (Benjamin Fritz) Solution: Instead of executing messages immediately, use a queue, like for netbeans. (James Kolb)
2015-07-10patch 7.4.773v7.4.773Bram Moolenaar
Problem: 'langmap' is used in command-line mode when checking for mappings. Issue 376. Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez)
2015-01-14updated for version 7.4.571v7.4.571Bram Moolenaar
Problem: Can't build with tiny features. (Ike Devolder) Solution: Add #ifdef.
2015-01-14updated for version 7.4.569v7.4.569Bram Moolenaar
Problem: Having CTRL-C interrupt or not does not check the mode of the mapping. (Ingo Karkat) Solution: Use a bitmask with the map mode. (Christian Brabandt)
2014-12-14updated for version 7.4.552v7.4.552Bram Moolenaar
Problem: Langmap applies to Insert mode expression mappings. Solution: Check for Insert mode. (Daniel Hahler)
2014-10-21updated for version 7.4.485v7.4.485Bram Moolenaar
Problem: Abbreviations don't work. (Toothpik) Solution: Move the length computation inside the for loop. Compare against the unescaped key.
2014-10-21updated for version 7.4.484v7.4.484Bram Moolenaar
Problem: Compiler warning on MS-Windows. (Ken Takata) Solution: Add type cast.
2014-10-21updated for version 7.4.483v7.4.483Bram Moolenaar
Problem: A 0x80 byte is not handled correctly in abbreviations. Solution: Unescape special characters. Add a test. (Christian Brabandt)
2014-10-09updated for version 7.4.468v7.4.468Bram Moolenaar
Problem: Issue 26: CTRL-C does not interrupt after it was mapped and then unmapped. Solution: Reset mapped_ctrl_c. (Christian Brabandt)
2014-07-30updated for version 7.4.387v7.4.387Bram Moolenaar
Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica) Solution: Write the ESC in the second stuff buffer.
2014-07-23updated for version 7.4.382v7.4.382Bram Moolenaar
Problem: Mapping characters may not work after typing Esc in Insert mode. Solution: Fix the noremap flags for inserted characters. (Jacob Niehus)
2014-06-25updated for version 7.4.338v7.4.338Bram Moolenaar
Problem: Cannot wrap lines taking indent into account. Solution: Add the 'breakindent' option. (many authors, final improvements by Christian Brabandt)
2014-05-22updated for version 7.4.306v7.4.306Bram Moolenaar
Problem: getchar(0) does not return Esc. Solution: Do not wait for an Esc sequence to be complete. (Yasuhiro Matsumoto)
2014-03-23updated for version 7.4.212v7.4.212Bram Moolenaar
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
2014-03-12updated for version 7.4.204v7.4.204Bram Moolenaar
Problem: A mapping where the second byte is 0x80 doesn't work. Solution: Unescape before checking for incomplete multi-byte char. (Nobuhiro Takasaki)
2014-02-15updated for version 7.4.181v7.4.181Bram Moolenaar
Problem: When using 'pastetoggle' the status lines are not updated. (Samuel Ferencik, Jan Christoph Ebersbach) Solution: Update the status lines. (Nobuhiro Takasaki)
2014-02-11updated for version 7.4.171v7.4.171Bram Moolenaar
Problem: Redo does not set v:count and v:count1. Solution: Use a separate buffer for redo, so that we can set the counts when performing redo.
2013-06-29updated for version 7.3.1261v7.3.1261Bram Moolenaar
Problem: A buffer-local language mapping from a keymap stops a global insert mode mapping from working. (Ron Aaron) Solution: Do not wait for more characters to be typed only when the mapping was defined with <nowait>.
2013-06-12updated for version 7.3.1179v7.3.1179Bram Moolenaar
Problem: When a global mapping starts with the same characters as a buffer-local mapping Vim waits for a character to be typed to find out whether the global mapping is to be used. (Andy Wokula) Solution: Use the local mapping without waiting. (Michael Henry)
2013-05-06updated for version 7.3.927v7.3.927Bram Moolenaar
Problem: Missing combining characters when putting text in a register. Solution: Include combining characters. (David Bürgin)
2013-04-15updated for version 7.3.901v7.3.901Bram Moolenaar
Problem: Outdated comment, ugly condition. Solution: Update a few comments, break line.
2013-03-16updated for version 7.3.865v7.3.865Bram Moolenaar
Problem: Mouse position may be wrong. Solution: Let vungetc() restore the mouse position.
2012-06-06updated for version 7.3.540v7.3.540Bram Moolenaar
Problem: Cursor is left on the text instead of the command line. Solution: Don't call setcursor() in command line mode.
2012-06-01updated for version 7.3.535v7.3.535Bram Moolenaar
Problem: Many #ifdefs for MB_MAXBYTES. Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix places where the buffer didn't include space for a NUL byte.
2012-04-05updated for version 7.3.489v7.3.489Bram Moolenaar
Problem: CTRL-] in Insert mode does not expand abbreviation when used in a mapping. (Yichao Zhou) Solution: Special case using CTRL-]. (Christian Brabandt)
2012-02-05updated for version 7.3.431v7.3.431Bram Moolenaar
Problem: Fetching a key at a prompt may be confused by escape sequences. Especially when getting a prompt at a VimEnter autocommand. (Alex Efros) Solution: Properly handle escape sequences deleted by check_termcode().
2012-02-05updated for version 7.3.429v7.3.429Bram Moolenaar
Problem: When 'cpoptions' includes "E" "c0" in the first column is an error. The redo register is then set to the errornous command. Solution: Do not set the redo register if the command fails because of an empty region. (Hideki Eiraku)
2012-01-10updated for version 7.3.400v7.3.400Bram Moolenaar
Problem: Compiler warnings for shadowed variables. Solution: Remove or rename the variables.
2011-12-23updated for version 7.3.385v7.3.385Bram Moolenaar
Problem: When using an expression mapping on the command line the cursor ends up in the wrong place. (Yasuhiro Matsumoto) Solution: Save and restore msg_col and msg_row when evaluating the expression.
2011-10-12updated for version 7.3.338v7.3.338Bram Moolenaar
Problem: Using getchar() in an expression mapping doesn't work well. Solution: Don't save and restore the typeahead. (James Vega)
2011-08-17updated for version 7.3.284v7.3.284Bram Moolenaar
Problem: The str2special() function doesn't handle multi-byte characters properly. Solution: Recognize multi-byte characters. (partly by Vladimir Vichniakov)
2011-08-17updated for version 7.3.283v7.3.283Bram Moolenaar
Problem: An expression mapping with a multi-byte character containing a 0x80 byte gets messed up. (ZyX) Solution: Unescape the expression before evaluating it (Yukihiro Nakadaira)
2011-04-28updated for version 7.3.168v7.3.168Bram Moolenaar
Problem: When the second argument of input() contains a CR the text up to that is used without asking the user. (Yasuhiro Matsumoto) Solution: Change CR, NL and ESC in the text to a space.
2011-03-22updated for version 7.3.139v7.3.139Bram Moolenaar
Problem: When 'lazyredraw' is set ":ver" output can't be read. Solution: Don't redraw the screen when at a prompt or command line.
2011-03-03updated for version 7.3.137v7.3.137Bram Moolenaar
Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan Krasilnikov) Solution: Call update_screen() before waiting for input.
2010-12-30updated for version 7.3.091v7.3.091Bram Moolenaar
Problem: "vim -w foo" writes special key codes for removed escape sequences. (Josh Triplett) Solution: Don't write K_IGNORE codes.
2010-10-27updated for version 7.3.045v7.3.045Bram Moolenaar
Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable always.