summaryrefslogtreecommitdiff
path: root/src/misc2.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* patch 8.0.0055v8.0.0055Bram Moolenaar2016-10-301-0/+1
| | | | | Problem: Minor comment and style deficiencies. Solution: Update comments and fix style.
* patch 8.0.0029v8.0.0029Bram Moolenaar2016-10-121-4/+4
| | | | | | Problem: Code for MS-Windows is complicated because of the exceptions for old systems. Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
* patch 7.4.2326v7.4.2326Bram Moolenaar2016-09-041-0/+22
| | | | | | Problem: Illegal memory access when Visual selection starts in invalid position. (Dominique Pelle) Solution: Correct position when needed.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2209v7.4.2209Bram Moolenaar2016-08-141-13/+21
| | | | | | Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string.
* patch 7.4.2137v7.4.2137Bram Moolenaar2016-08-011-4/+8
| | | | | | | Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues.
* patch 7.4.2130v7.4.2130Bram Moolenaar2016-07-301-0/+3
| | | | | Problem: Pending timers cause false memory leak reports. Solution: Free all timers on exit.
* patch 7.4.2048v7.4.2048Bram Moolenaar2016-07-161-1/+1
| | | | | Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi)
* patch 7.4.2024v7.4.2024Bram Moolenaar2016-07-101-1/+4
| | | | | Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead.
* patch 7.4.1976v7.4.1976Bram Moolenaar2016-07-011-1/+1
| | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata)
* patch 7.4.1975v7.4.1975Bram Moolenaar2016-07-011-1/+1
| | | | | | Problem: On MS-Windows large files (> 2Gbyte) cause problems. Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct stat". Use 64 bit system functions if available. (Ken Takata)
* patch 7.4.1968v7.4.1968Bram Moolenaar2016-07-011-2/+4
| | | | | Problem: Invalid memory access with "\<C-">. Solution: Do not recognize this as a special character. (Dominique Pelle)
* patch 7.4.1955v7.4.1955Bram Moolenaar2016-06-261-11/+11
| | | | | | Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption. (Christian Brabandt) Solution: Use time_T instead of time_t for global variables. (Ken Takata)
* patch 7.4.1909v7.4.1909Bram Moolenaar2016-06-081-1/+1
| | | | | Problem: Doubled semicolons. Solution: Reduce to one. (Dominique Pelle)
* patch 7.4.1868v7.4.1868Bram Moolenaar2016-06-011-6/+2
| | | | | Problem: Setting really_exiting causes memory leaks to be reported. Solution: Add the in_free_all_mem flag.
* patch 7.4.1866v7.4.1866Bram Moolenaar2016-06-011-0/+3
| | | | | | Problem: Invalid memory access when exiting with EXITFREE defined. (Dominique Pelle) Solution: Set "really_exiting" and skip error messages.
* patch 7.4.1855v7.4.1855Bram Moolenaar2016-05-281-3/+4
| | | | | Problem: Valgrind reports memory leak for job that is not freed. Solution: Free all jobs on exit. Add test for failing job.
* patch 7.4.1669v7.4.1669Bram Moolenaar2016-03-281-0/+3
| | | | | Problem: When writing buffer lines to a pipe Vim may block. Solution: Avoid blocking, write more lines later.
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-2/+2
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1537v7.4.1537Bram Moolenaar2016-03-111-4/+4
| | | | | Problem: Too many feature flags for pipes, jobs and channels. Solution: Only use FEAT_JOB_CHANNEL.
* patch 7.4.1462v7.4.1462Bram Moolenaar2016-02-291-1/+2
| | | | | Problem: Two more rarily used functions with errors. Solution: Add proper argument types. (Dominique Pelle)
* patch 7.4.1399v7.4.1399Bram Moolenaar2016-02-231-26/+6
| | | | | Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
* patch 7.4.1380v7.4.1380Bram Moolenaar2016-02-211-0/+4
| | | | | Problem: The job exit callback is not implemented. Solution: Add the "exit-cb" option.
* patch 7.4.1379v7.4.1379Bram Moolenaar2016-02-211-0/+5
| | | | | | | Problem: Channel test fails on Win32 console. Solution: Don't sleep when timeout is zero. Call channel_wait() before channel_read(). Channels are not polled during ":sleep". (Yukihiro Nakadaira)
* patch 7.4.1364v7.4.1364Bram Moolenaar2016-02-201-4/+4
| | | | | Problem: The Win 16 code is not maintained and unused. Solution: Remove the Win 16 support.
* patch 7.4.1315v7.4.1315Bram Moolenaar2016-02-131-0/+3
| | | | | Problem: Using a channel handle does not allow for freeing it when unused. Solution: Add the Channel variable type.
* patch 7.4.1217v7.4.1217Bram Moolenaar2016-01-301-0/+4
| | | | | Problem: Execution of command on channel doesn't work yet. Solution: Implement the "ex" and "normal" commands.
* patch 7.4.1216v7.4.1216Bram Moolenaar2016-01-301-4/+0
| | | | | Problem: Still using HAVE_STDARG_H. Solution: Assume it's always defined.
* patch 7.4.1211v7.4.1211Bram Moolenaar2016-01-301-384/+215
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-25/+25
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* patch 7.4.1131v7.4.1131Bram Moolenaar2016-01-181-0/+20
| | | | | | | Problem: New lines in the viminfo file are dropped. Solution: Copy lines starting with "|". Fix that when using :rviminfo in a function global variables were restored as function-local variables.