summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
AgeCommit message (Collapse)Author
2019-08-03patch 8.1.1799: cannot avoid mapping for a popup windowv8.1.1799Bram Moolenaar
Problem: Cannot avoid mapping for a popup window. Solution: Add the "mapping" property, default TRUE.
2019-08-03patch 8.1.1798: warning for unused variable in tiny versionv8.1.1798Bram Moolenaar
Problem: Warning for unused variable in tiny version. (Tony Mechelynck) Solution: Move inside #ifdef. Reformat code.
2019-08-03patch 8.1.1797: the vgetorpeek() function is too longv8.1.1797Bram Moolenaar
Problem: The vgetorpeek() function is too long. Solution: Split off the part that handles mappings, with fix.
2019-08-02patch 8.1.1794: tests are flakyv8.1.1794Bram Moolenaar
Problem: Tests are flaky. Solution: Undo the change to vgetorpeek().
2019-08-02patch 8.1.1792: the vgetorpeek() function is too longv8.1.1792Bram Moolenaar
Problem: The vgetorpeek() function is too long. Solution: Split off the part that handles mappings.
2019-08-01patch 8.1.1785: map functionality mixed with character inputv8.1.1785Bram Moolenaar
Problem: Map functionality mixed with character input. Solution: Move the map functionality to a separate file. (Yegappan Lakshmanan, closes #4740) Graduate the +localmap feature.
2019-07-27patch 8.1.1759: no mode char for terminal mapping from maparg()v8.1.1759Bram Moolenaar
Problem: No mode char for terminal mapping from maparg(). Solution: Check for TERMINAL mode. (closes #4735)
2019-07-05patch 8.1.1640: the CursorHold autocommand takes down a balloonv8.1.1640Bram Moolenaar
Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly) Solution: Ignore the CursorHold pseudo-key.
2019-06-25patch 8.1.1591: on error garbage collection may free memory in usev8.1.1591Bram Moolenaar
Problem: On error garbage collection may free memory in use. Solution: Reset may_garbage_collect when evaluating expression mapping. Add tests. (Ozaki Kiichi, closes #4579)
2019-06-01patch 8.1.1441: popup window filter not yet implementedv8.1.1441Bram Moolenaar
Problem: Popup window filter not yet implemented. Solution: Implement the popup filter.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-24patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar
Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
2019-05-22patch 8.1.1365: source command doesn't check for the sandboxv8.1.1365Bram Moolenaar
Problem: Source command doesn't check for the sandbox. (Armin Razmjou) Solution: Check for the sandbox when sourcing a file.
2019-05-19patch 8.1.1358: cannot enter character with a CSI bytev8.1.1358Bram Moolenaar
Problem: Cannot enter character with a CSI byte. Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata, closes #4396)
2019-05-04patch 8.1.1269: MS-Windows GUI: multibyte chars with a 0x80 byte do not workv8.1.1269Bram Moolenaar
Problem: MS-Windows GUI: multibyte chars with a 0x80 byte do not work when compiled with VIMDLL. Solution: Adjust the condition for fixing the input buffer. (Ken Takata, closes #4330)
2019-05-03patch 8.1.1251: no test for completion of mapping keysv8.1.1251Bram Moolenaar
Problem: No test for completion of mapping keys. Solution: Add a test. Also clean up the code.
2019-04-29patch 8.1.1239: key with byte sequence containing CSI does not workv8.1.1239Bram Moolenaar
Problem: Key with byte sequence containing CSI does not work. Solution: Do not recognize CSI as special unless the GUI is active. (Ken Takata, closes #4318)
2019-04-28patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar
Problem: A lot of code is shared between vim.exe and gvim.exe. Solution: Optionally put the shared code in vim.dll. (Ken Takata, closes #4287)
2019-04-24patch 8.1.1201: output of :command is hard to readv8.1.1201Bram Moolenaar
Problem: Output of :command is hard to read. Solution: Make some columns wider, some narrower. Truncate the command when listing all.
2019-04-18patch 8.1.1185: mapping for CTRL-X is inconsistentv8.1.1185Bram Moolenaar
Problem: Mapping for CTRL-X is inconsistent. Solution: Map CTRL-X to "*d also for the MS-Windows console. (Ken Takata, closes #4265)
2019-04-04patch 8.1.1118: a couple of conditions are hard to understandv8.1.1118Bram Moolenaar
Problem: A couple of conditions are hard to understand. Solution: Split the conditions into pieces. (Ozaki Kiichi, closes #3879)
2019-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-03-10patch 8.1.1003: playing back recorded key sequence mistakes key codev8.1.1003Bram Moolenaar
Problem: Playing back recorded key sequence mistakes key code. Solution: Insert a <Nop> after the <Esc>. (closes #4068)
2019-03-09patch 8.1.1000: indenting is offv8.1.1000Bram Moolenaar
Problem: Indenting is off. Solution: Make indenting consistent and update comments. (Ozaki Kiichi, closes #4079)
2019-02-17patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
2019-02-16patch 8.1.0932: Farsi support is outdated and unusedv8.1.0932Bram Moolenaar
Problem: Farsi support is outdated and unused. Solution: Delete the Farsi support.
2019-01-25patch 8.1.0822: peeking and flushing output slows down executionv8.1.0822Bram Moolenaar
Problem: Peeking and flushing output slows down execution. Solution: Do not update the mode message when global_busy is set. Do not flush when only peeking for a character. (Ken Takata)
2019-01-24patch 8.1.0810: too many #ifdefsv8.1.0810Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 4.
2019-01-20patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar
Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2018-10-07patch 8.1.0466: autocmd test failsv8.1.0466Bram Moolenaar
Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-09-30patch 8.1.0439: recursive use of getcmdline() still not protectedv8.1.0439Bram Moolenaar
Problem: Recursive use of getcmdline() still not protected. Solution: Instead of saving the command buffer when making a call which may cause recursiveness, save the buffer when actually being called recursively.
2018-09-10patch 8.1.0362: cannot get the script line number when executing a functionv8.1.0362Bram Moolenaar
Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes #3362) Also display the line number with ":verbose set".
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.