summaryrefslogtreecommitdiff
path: root/src/misc2.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.0519: cannot save and restore the tag stackv8.1.0519Bram Moolenaar2018-11-111-1/+1
| | | | | | Problem: Cannot save and restore the tag stack. Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan, closes #3604)
* patch 8.1.0488: using freed memory in quickfix codev8.1.0488Bram Moolenaar2018-10-201-10/+13
| | | | | | Problem: Using freed memory in quickfix code. (Dominique Pelle) Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists until it is safe. (Yegappan Lakshmanan, closes #3538)
* patch 8.1.0464: MS-Windows: job_info() has cmd without backslashesv8.1.0464Bram Moolenaar2018-10-071-4/+4
| | | | | | Problem: MS-Windows: job_info() has cmd without backslashes. (Daniel Hahler) Solution: Use rem_backslash(). (closes #3517, closes #3404)
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-10/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.1.0342: crash when a callback deletes a window that is being usedv8.1.0342Bram Moolenaar2018-09-011-8/+13
| | | | | | | Problem: Crash when a callback deletes a window that is being used. Solution: Do not unload a buffer that is being displayed while redrawing the screen. Also avoid invoking callbacks while redrawing. (closes #2107)
* patch 8.1.0226: too many #ifdefsv8.1.0226Bram Moolenaar2018-07-291-2/+0
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs.
* patch 8.1.0127: build failure when disabling the session featurev8.1.0127Bram Moolenaar2018-06-291-2/+2
| | | | | Problem: Build failure when disabling the session feature. (Pawel Slowik) Solution: Adjust #ifdef for vim_chdirfile().
* patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmdv8.0.1747Bram Moolenaar2018-04-211-0/+62
| | | | | Problem: MS-Windows: term_start() does not set job_info() cmd. Solution: Share the code from job_start() to set jv_argv.
* patch 8.0.1745: build failure on MS-Windowsv8.0.1745Bram Moolenaar2018-04-211-0/+85
| | | | | Problem: Build failure on MS-Windows. Solution: Build job arguments for MS-Windows. Fix allocating job twice.
* patch 8.0.1660: the terminal API "drop" command doesn't support optionsv8.0.1660Bram Moolenaar2018-04-041-1/+1
| | | | | Problem: The terminal API "drop" command doesn't support options. Solution: Implement the options.
* patch 8.0.1620: reading spell file has no good EOF detectionv8.0.1620Bram Moolenaar2018-03-201-12/+36
| | | | | Problem: Reading spell file has no good EOF detection. Solution: Check for EOF at every character read for a length field.
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-6/+0
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-13/+2
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1492: memory leak in balloon_split()v8.0.1492Bram Moolenaar2018-02-101-0/+4
| | | | | Problem: Memory leak in balloon_split(). Solution: Free the balloon lines. Free the balloon when exiting.
* patch 8.0.1481: clearing a pointer takes two linesv8.0.1481Bram Moolenaar2018-02-091-3/+16
| | | | | Problem: Clearing a pointer takes two lines. Solution: Add vim_clear() to free and clear the pointer.
* patch 8.0.1460: missing file in patchv8.0.1460Bram Moolenaar2018-02-031-2/+9
| | | | | Problem: Missing file in patch. Solution: Add changes to missing file.
* patch 8.0.1421: accessing invalid memory with overlong byte sequencev8.0.1421Bram Moolenaar2017-12-221-2/+14
| | | | | Problem: Accessing invalid memory with overlong byte sequence. Solution: Check for NUL character. (test by Dominique Pelle, closes #2485)
* patch 8.0.1417: test doesn't search for a sentencev8.0.1417Bram Moolenaar2017-12-191-3/+20
| | | | | | Problem: Test doesn't search for a sentence. Still fails when searching for start of sentence. (Dominique Pelle) Solution: Add paren. Check for MAXCOL in dec().
* patch 8.0.1416: crash when searching for a sentencev8.0.1416Bram Moolenaar2017-12-191-11/+16
| | | | | Problem: Crash when searching for a sentence. Solution: Return NUL when getting character at MAXCOL. (closes #2468)
* patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar2017-11-181-1/+2
| | | | | | 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.
* patch 8.0.1276: key lost when window closed in exit callbackv8.0.1276Bram Moolenaar2017-11-091-0/+7
| | | | | | | Problem: Typed key is lost when the terminal window is closed in exit callback. (Gabriel Barta) Solution: When the current window changes bail out of the wait loop. (closes #2302)
* patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar2017-10-281-16/+5
| | | | | | Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
* patch 8.0.1214: accessing freed memory when EXITFREE is setv8.0.1214Bram Moolenaar2017-10-231-1/+3
| | | | | | Problem: Accessing freed memory when EXITFREE is set and there is more than one tab and window. (Dominique Pelle) Solution: Free options later. Skip redraw when exiting.
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-3/+3
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-14/+1
| | | | | | 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.
* patch 8.0.1019: pasting in virtual edit happens in the wrong placev8.0.1019Bram Moolenaar2017-08-301-2/+5
| | | | | Problem: Pasting in virtual edit happens in the wrong place. Solution: Do not adjust coladd when after the end of the line (closes #2015)
* patch 8.0.1000: cannot open a terminal without running a job in itv8.0.1000Bram Moolenaar2017-08-261-1/+1
| | | | | Problem: Cannot open a terminal without running a job in it. Solution: Make ":terminal NONE" open a terminal with a pty.
* patch 8.0.0962: crash with virtualedit and joining linesv8.0.0962Bram Moolenaar2017-08-191-0/+11
| | | | | | Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim #6726) Solution: When using a mark check that coladd is valid.
* patch 8.0.0751: OpenPTY missing with some combination of featuresv8.0.0751Bram Moolenaar2017-07-221-0/+3
| | | | | | Problem: OpenPTY missing with some combination of features. (Kazunobu Kuriyama) Solution: Adjust #ifdef. Also include pty.pro when needed.
* patch 8.0.0661: recognizing urxvt mouse codes does not work wellv8.0.0661Bram Moolenaar2017-06-221-0/+1
| | | | | Problem: Recognizing urxvt mouse codes does not work well. Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)
* patch 8.0.0561: undefined behavior when using backslash after empty linev8.0.0561Bram Moolenaar2017-04-101-1/+1
| | | | | Problem: Undefined behavior when using backslash after empty line. Solution: Check for an empty line. (Dominique Pelle, closes #1631)
* patch 8.0.0520: using a function pointer while the function is knownv8.0.0520Bram Moolenaar2017-03-291-1/+1
| | | | | | | Problem: Using a function pointer instead of the actual function, which we know. Solution: Change mb_ functions to utf_ functions when already checked for Unicode. (Dominique Pelle, closes #1582)
* patch 8.0.0493: crash with cd command with very long argumentv8.0.0493Bram Moolenaar2017-03-191-12/+41
| | | | | Problem: Crash with cd command with very long argument. Solution: Check for running out of space. (Dominique pending, closes #1576)
* patch 8.0.0468: after aborting an Ex command g< does not workv8.0.0468Bram Moolenaar2017-03-161-2/+2
| | | | | | | | Problem: After aborting an Ex command g< does not work. (Marcin Szamotulski) Solution: Postpone clearing scrollback messages to until the command line has been entered. Also fix that the screen isn't redrawn if after g< the command line is cancelled.
* patch 8.0.0460: can't build on HPUXv8.0.0460Bram Moolenaar2017-03-161-2/+2
| | | | | Problem: Can't build on HPUX. Solution: Fix argument names in vim_stat(). (John Marriott)
* patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar2017-03-121-1/+1
| | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
* patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar2017-03-121-5/+16
| | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
* patch 8.0.0397: can't build with +viminfo but without +evalv8.0.0397Bram Moolenaar2017-03-011-1/+1
| | | | | | Problem: Cannot build with the viminfo feature but without the eval feature. Solution: Adjust #ifdef. (John Marriott)
* patch 8.0.0357: crash when setting 'guicursor' to weird valuev8.0.0357Bram Moolenaar2017-02-231-2/+3
| | | | | Problem: Crash when setting 'guicursor' to weird value. Solution: Avoid negative size. (Dominique Pelle, closes #1465)
* patch 8.0.0248: vim_strcat() cannot handle overlapping argumentsv8.0.0248Bram Moolenaar2017-01-271-2/+2
| | | | | | Problem: vim_strcat() cannot handle overlapping arguments. Solution: Use mch_memmove() instead of strcpy(). (Justin M Keyes, closes #1415)
* patch 8.0.0243: tolower() does not work if the byte count changesv8.0.0243Bram Moolenaar2017-01-261-1/+67
| | | | | | Problem: When making a character lower case with tolower() changes the byte cound, it is not made lower case. Solution: Add strlow_save(). (Dominique Pelle, closes #1406)
* patch 8.0.0241: fallback implementation of mch_memmove is unusedv8.0.0241Bram Moolenaar2017-01-261-28/+0
| | | | | | | Problem: Vim defines a mch_memmove() function but it doesn't work, thus is always unused. Solution: Remove the mch_memmove implementation. (suggested by Dominique Pelle)
* patch 8.0.0212: buffer for key name may be too smallv8.0.0212Bram Moolenaar2017-01-221-2/+9
| | | | | | | Problem: The buffer used to store a key name theoreticaly could be too small. (Coverity) Solution: Count all possible modifier characters. Add a check for the length just in case.
* patch 8.0.0210: no support for bracketed pastev8.0.0210Bram Moolenaar2017-01-211-0/+2
| | | | | | 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.
* patch 8.0.0164: outdated and misplaced commentsv8.0.0164Bram Moolenaar2017-01-101-1/+1
| | | | | Problem: Outdated and misplaced comments. Solution: Fix the comments.
* patch 8.0.0118v8.0.0118Bram Moolenaar2016-12-011-3/+5
| | | | | Problem: "make proto" adds extra function prototype. Solution: Add #ifdef.
* patch 8.0.0109v8.0.0109Bram Moolenaar2016-12-011-21/+0
| | | | | | Problem: Still checking if memcmp() exists while every system should have it now. Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
* patch 8.0.0103v8.0.0103Bram Moolenaar2016-11-261-4/+1
| | | | | Problem: May not process channel readahead. (skywind) Solution: If there is readahead don't block on input.
* patch 8.0.0097v8.0.0097Bram Moolenaar2016-11-241-0/+31
| | | | | | Problem: When a channel callback consumes a lot of time Vim becomes unresponsive. (skywind) Solution: Bail out of checking channel readahead after 100 msec.
* patch 8.0.0074v8.0.0074Bram Moolenaar2016-11-101-28/+2
| | | | | | Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.