summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
AgeCommit message (Collapse)Author
2017-04-08patch 8.0.0551: the typeahead buffer is reallocated too oftenv8.0.0551Bram Moolenaar
Problem: The typeahead buffer is reallocated too often. Solution: Re-use the existing buffer if possible.
2017-04-07patch 8.0.0548: saving the redo buffer only works one timev8.0.0548Bram Moolenaar
Problem: Saving the redo buffer only works one time, resulting in the "." command not working well for a function call inside another function call. (Ingo Karkat) Solution: Save the redo buffer at every user function call. (closes #1619)
2017-03-16patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-12patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-02patch 8.0.0402: :map completion does not have <special>v8.0.0402Bram Moolenaar
Problem: :map completion does not have <special>. (Dominique Pelle) Solution: Recognize <special> in completion. Add a test.
2017-01-21patch 8.0.0210: no support for bracketed pastev8.0.0210Bram Moolenaar
Problem: Vim does not support bracketed paste, as implemented by xterm and other terminals. Solution: Add t_BE, t_BD, t_PS and t_PE.
2017-01-10patch 8.0.0164: outdated and misplaced commentsv8.0.0164Bram Moolenaar
Problem: Outdated and misplaced comments. Solution: Fix the comments.
2016-11-10patch 8.0.0074v8.0.0074Bram Moolenaar
Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-26patch 7.4.2263v7.4.2263Bram Moolenaar
Problem: :filter does not work for many commands. Can only get matching messages. Solution: Make :filter work for :command, :map, :list, :number and :print. Make ":filter!" show non-matching lines.
2016-08-17patch 7.4.2223v7.4.2223Bram Moolenaar
Problem: Buffer overflow when using latin1 character with feedkeys(). Solution: Check for an illegal character. Add a test.
2016-08-16patch 7.4.2222v7.4.2222Bram Moolenaar
Problem: Sourcing a script where a character has 0x80 as a second byte does not work. (Filipe L B Correia) Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian Brabandt, closes #728) Add a test case.
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)