summaryrefslogtreecommitdiff
path: root/src/misc2.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* patch 7.4.1108v7.4.1108Bram Moolenaar2016-01-161-1/+1
| | | | | | Problem: Expanding "~" halfway a file name. Solution: Handle the file name as one name. (Marco Hinz) Add a test. Closes #564.
* patch 7.4.1096v7.4.1096Bram Moolenaar2016-01-151-3/+7
| | | | | | Problem: Need several lines to verify a command produces an error. Solution: Add assert_fails(). (suggested by Nikolay Pavlov) Make the quickfix alloc test actually work.
* patch 7.4.1073v7.4.1073Bram Moolenaar2016-01-091-4/+2
| | | | | | | Problem: Alloc_id depends on numbers, may use the same one twice. It's not clear from the number what it's for. Solution: Use an enum. Add a function to lookup the enum value from the name.
* patch 7.4.1069v7.4.1069Bram Moolenaar2016-01-091-2/+2
| | | | | Problem: Compiler warning for unused argument. Solution: Add UNUSED.
* patch 7.4.1061v7.4.1061Bram Moolenaar2016-01-071-2/+3
| | | | | Problem: Compiler warning for ignoring return value of fwrite(). Solution: Do use the return value. (idea: Charles Campbell)
* patch 7.4.1058v7.4.1058Bram Moolenaar2016-01-071-0/+48
| | | | | | Problem: It is not possible to test code that is only reached when memory allocation fails. Solution: Add the alloc_fail() function. Try it out with :vimgrep.
* patch 7.4.1027v7.4.1027Bram Moolenaar2016-01-021-2/+2
| | | | | Problem: No support for binary numbers. Solution: Add "bin" to nrformats. (Jason Schulz)
* patch 7.4.1008v7.4.1008Bram Moolenaar2015-12-311-1/+1
| | | | | Problem: The OS/2 code pollutes the source while nobody uses it these days. Solution: Drop the support for OS/2.
* patch 7.4.944v7.4.944Bram Moolenaar2015-11-291-1/+5
| | | | | | | Problem: Writing tests for Vim script is hard. Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add the v:errors variable. Add the runtest script. Add a first new style test script.
* patch 7.4.916v7.4.916Bram Moolenaar2015-11-101-3/+0
| | | | | | Problem: When running out of memory while copying a dict memory may be freed twice. (ZyX) Solution: Do not call the garbage collector when running out of memory.
* patch 7.4.885v7.4.885Bram Moolenaar2015-09-291-12/+11
| | | | | | Problem: When doing an upwards search without wildcards the search fails if the initial directory doesn't exist. Solution: Fix the non-wildcard case. (Stefan Kempf)
* patch 7.4.877v7.4.877Bram Moolenaar2015-09-251-1/+1
| | | | | Problem: ":find" sometimes fails. (Excanoe) Solution: Compare current characters instead of previous ones.
* patch 7.4.867v7.4.867Bram Moolenaar2015-09-151-1/+1
| | | | | Problem: Can't build on MS-Windows. (Taro Muraoka) Solution: Adjust #ifdef.
* patch 7.4.866v7.4.866Bram Moolenaar2015-09-151-0/+20
| | | | | | | 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)
* patch 7.4.843v7.4.843Bram Moolenaar2015-08-271-5/+7
| | | | | Problem: Still possible to go beyond the end of a string. Solution: Check for NUL also in second string. (Dominique Pelle)
* patch 7.4.835v7.4.835Bram Moolenaar2015-08-251-10/+14
| | | | | | Problem: Comparing utf-8 sequences does not handle different byte sizes correctly. Solution: Get the byte size of each character. (Dominique Pelle)
* patch 7.4.783v7.4.783Bram Moolenaar2015-07-171-34/+0
| | | | | Problem: copy_chars() and copy_spaces() are inefficient. Solution: Use memset() instead. (Dominique Pelle)
* patch 7.4.782v7.4.782Bram Moolenaar2015-07-171-2/+2
| | | | | Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode. Solution: Fix the reported problems. (Christian Brabandt)
* patch 7.4.704v7.4.704Bram Moolenaar2015-04-211-2/+5
| | | | | | | | Problem: Searching for a character matches an illegal byte and causes invalid memory access. (Dominique Pelle) Solution: Do not match an invalid byte when search for a character in a string. Fix equivalence classes using negative numbers, which result in illegal bytes.
* updated for version 7.4.649v7.4.649Bram Moolenaar2015-03-051-1/+1
| | | | | | Problem: Compiler complains about ignoring return value of fwrite(). (Michael Jarvis) Solution: Add (void).
* updated for version 7.4.642v7.4.642Bram Moolenaar2015-02-271-1/+10
| | | | | Problem: When using "gf" escaped spaces are not handled. Solution: Recognize escaped spaces.
* updated for version 7.4.457v7.4.457Bram Moolenaar2014-09-231-0/+1
| | | | | | Problem: Using getchar() in an expression mapping may result in K_CURSORHOLD, which can't be recognized. Solution: Add the <CursorHold> key. (Hirohito Higashi)
* updated for version 7.4.446v7.4.446Bram Moolenaar2014-09-191-1/+2
| | | | | | | Problem: In some situations, when setting up an environment to trigger an autocommand, the environment is not properly restored. Solution: Check the return value of switch_win() and call restore_win() always. (Daniel Hahler)
* updated for version 7.4.399v7.4.399Bram Moolenaar2014-08-101-318/+17
| | | | | | | | | Problem: Encryption implementation is messy. Blowfish encryption has a weakness. Solution: Refactor the encryption, store the state in an allocated struct instead of using a save/restore mechanism. Introduce the "blowfish2" method, which does not have the weakness and encrypts the whole undo file. (largely by David Leadbeater)
* updated for version 7.4.338v7.4.338Bram Moolenaar2014-06-251-3/+4
| | | | | | Problem: Cannot wrap lines taking indent into account. Solution: Add the 'breakindent' option. (many authors, final improvements by Christian Brabandt)
* updated for version 7.4.279v7.4.279Bram Moolenaar2014-05-071-6/+14
| | | | | | Problem: globpath() returns a string, making it difficult to get a list of matches. (Greg Novack) Solution: Add an optional argument like with glob(). (Adnan Zafar)
* updated for version 7.4.212v7.4.212Bram Moolenaar2014-03-231-15/+2
| | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
* updated for version 7.4.191v7.4.191Bram Moolenaar2014-02-231-3/+7
| | | | | | Problem: Escaping a file name for shell commands can't be done without a function. Solution: Add the :S file name modifier.
* updated for version 7.4.133v7.4.133Bram Moolenaar2014-01-061-2/+2
| | | | | Problem: Clang warns for using NUL. Solution: Change NUL to NULL. (Dominique Pelle)
* updated for version 7.4.130v7.4.130Bram Moolenaar2013-12-141-2/+2
| | | | | Problem: Relative line numbers mix up windows when using folds. Solution: Use hasFoldingWin() instead of hasFolding(). (Lech Lorens)
* updated for version 7.4.026v7.4.026Bram Moolenaar2013-09-081-7/+9
| | | | | Problem: Clang warning for int shift overflow. Solution: Use unsigned and cast back to int. (Dominique Pelle)
* updated for version 7.4a.002v7.4a.002Bram Moolenaar2013-07-071-1/+2
| | | | | Problem: Valgrind errors in test 89. (Simon Ruderich) Solution: Allocate one more byte. (Dominique Pelle)
* updated for version 7.3.1305v7.3.1305Bram Moolenaar2013-07-041-6/+7
| | | | | Problem: Warnings from 64 bit compiler. Solution: Add type casts.
* updated for version 7.3.1301v7.3.1301Bram Moolenaar2013-07-031-3/+3
| | | | | | Problem: Some tests fail on MS-Windows. Solution: Fix path separators in test 89 and 96. Omit test 97, escaping works differently. Make findfile() work on MS-Windows.
* updated for version 7.3.1298v7.3.1298Bram Moolenaar2013-07-031-3/+3
| | | | | Problem: Crash. Solution: Use STRCPY() instead of STRCAT() and allocate one more byte.
* updated for version 7.3.1297v7.3.1297Bram Moolenaar2013-07-031-2/+52
| | | | | | Problem: findfile() directory matching does not work when a star follows text. (Markus Braun) Solution: Make a wildcard work properly. (Christian Brabandt)
* updated for version 7.3.1149v7.3.1149Bram Moolenaar2013-06-081-3/+3
| | | | | | Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
* updated for version 7.3.925v7.3.925Bram Moolenaar2013-05-061-2/+2
| | | | | Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
* updated for version 7.3.888v7.3.888Bram Moolenaar2013-04-121-13/+20
| | | | | | Problem: Filename completion with 'fileignorecase' does not work for multi-byte characters. Solution: Make 'fileignorecase' work properly. (Hirohito Higashi)
* updated for version 7.3.874v7.3.874Bram Moolenaar2013-03-191-13/+11
| | | | | | Problem: Comparing file names does not handle multi-byte characters properly. Solution: Implement multi-byte handling.
* updated for version 7.3.872v7.3.872Bram Moolenaar2013-03-191-10/+3
| | | | | | | Problem: On some systems case of file names is always ignored, on others never. Solution: Add the 'fileignorecase' option to control this at runtime. Implies 'wildignorecase'.
* updated for version 7.3.740v7.3.740Bram Moolenaar2012-11-281-2/+2
| | | | | Problem: IOC tool complains about undefined behavior for int. Solution: Change to unsigned int. (Dominique Pelle)
* updated for version 7.3.632v7.3.632Bram Moolenaar2012-08-151-0/+3
| | | | | Problem: Cannot select beyond 222 columns with the mouse in xterm. Solution: Add support for SGR mouse tracking. (Hayaki Saito)
* updated for version 7.3.631v7.3.631Bram Moolenaar2012-08-151-0/+3
| | | | | Problem: Cannot complete user names. Solution: Add user name completion. (Dominique Pelle)