summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
AgeCommit message (Collapse)Author
2018-07-27patch 8.1.0216: part of file not indented properlyv8.1.0216Bram Moolenaar
Problem: Part of file not indented properly. Solution: Adjust the indent. (Ken Takata)
2018-07-03patch 8.1.0140: recording into a register has focus eventsv8.1.0140Bram Moolenaar
Problem: Recording into a register has focus events. (Michael Naumann) Solution: Don't record K_FOCUSGAINED and K_FOCUSLOST. (closes #3143)
2018-06-12patch 8.1.0052: when mapping to <Nop> times out the next mapping is skippedv8.1.0052Bram Moolenaar
Problem: When a mapping to <Nop> times out the next mapping is skipped. Solution: Reset "timedout" when waiting for a character. (Christian Brabandt, closes #2921)
2018-05-23patch 8.1.0022: repeating put from expression register failsv8.1.0022Bram Moolenaar
Problem: Repeating put from expression register fails. Solution: Re-evaluate the expression register. (Andy Massimino, closes #2945)
2018-05-22patch 8.1.0020: cannot tell whether a register is executing or recordingv8.1.0020Bram Moolenaar
Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes #2745) Rename the global variables for consistency. Store the register name in reg_executing.
2018-05-15patch 8.0.1845: various comment updates needed, missing white spacev8.0.1845Bram Moolenaar
Problem: Various comment updates needed, missing white space. Solution: Update comments, add white space.
2018-05-12patch 8.0.1825: might use NULL pointer when out of memoryv8.0.1825Bram Moolenaar
Problem: Might use NULL pointer when out of memory. (Coverity) Solution: Handle NULL pointer better.
2018-05-01patch 8.0.1786: no test for 'termwinkey'v8.0.1786Bram Moolenaar
Problem: No test for 'termwinkey'. Solution: Add a test. Make feedkeys() handle terminal_loop() returning before characters are consumed.
2018-04-24patch 8.0.1753: various warnings from a static analyserv8.0.1753Bram Moolenaar
Problem: Various warnings from a static analyser Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, closes #2770)
2018-04-18patch 8.0.1735: flexible array member feature not supported by HP-UXv8.0.1735Bram Moolenaar
Problem: Flexible array member feature not supported by HP-UX. (John Marriott) Solution: Do not use the flexible array member feature of C99.
2018-04-16patch 8.0.1723: using one item array size declaration is misleadingv8.0.1723Bram Moolenaar
Problem: Using one item array size declaration is misleading. Solution: Instead of using "[1]" and actually using a larger array, use "[]". This is to verify that this C99 feature works for all compilers.
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
2018-02-27patch 8.0.1546: using feedkeys() in a terminal may trigger mappingsv8.0.1546Bram Moolenaar
Problem: Using feedkeys() in a terminal window may trigger mappings. (Charles Sheridan) Solution: Avoid triggering a mapping when peeking for a key.
2018-02-09patch 8.0.1479: insert mode completion state is confusingv8.0.1479Bram Moolenaar
Problem: Insert mode completion state is confusing. Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
2018-01-31patch 8.0.1449: slow redrawing with DirectXv8.0.1449Bram Moolenaar
Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
2017-11-25patch 8.0.1338: USE_IM_CONTROL is confusing and incompletev8.0.1338Bram Moolenaar
Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
2017-11-18patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar
Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
2017-11-18patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar
Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
2017-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-09-14patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108Bram Moolenaar
Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)
2017-09-05patch 8.0.1060: when imstyle is one, mapping <Left> breaks preeditingv8.0.1060Bram Moolenaar
Problem: When imstyle is one, mapping <Left> breaks preediting. Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes #2064, closes #2063)
2017-08-30patch 8.0.1020: when a timer calls getchar(1) input is overwrittenv8.0.1020Bram Moolenaar
Problem: When a timer calls getchar(1) input is overwritten. Solution: Increment tb_change_cnt in inchar(). (closes #1940)
2017-06-24patch 8.0.0671: hang when typing CTRL-C in confirm() in timerv8.0.0671Bram Moolenaar
Problem: When a function invoked from a timer calls confirm() and the user types CTRL-C then Vim hangs. Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791)
2017-06-07patch 8.0.0628: cursor disappears after silent mappingv8.0.0628Bram Moolenaar
Problem: Cursor disappears after silent mapping. (Ramel Eshed) Solution: Do restore the cursor when it was changed, but don't change it in the first place for a silent mapping.
2017-06-05patch 8.0.0626: in the GUI the cursor may flickerv8.0.0626Bram Moolenaar
Problem: In the GUI the cursor may flicker. Solution: Check the cmd_silent flag before updating the cursor shape. (Hirohito Higashi, closes #1637)
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().