summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.0223: Coverity warns for an uninitialized variablev8.0.0223Bram Moolenaar2017-01-232-1/+13
| | | | | | Problem: Coverity gets confused by the flags passed to find_tags() and warnts for an uninitialized variable. Solution: Disallow using cscope and help tags at the same time.
* patch 8.0.0222: blockwise put on multi-byte character misplacedv8.0.0222Bram Moolenaar2017-01-225-1/+17
| | | | | | | Problem: When a multi-byte character ends in a zero byte, putting blockwise text puts it before the character instead of after it. Solution: Use int instead of char for the character under the cursor. (Luchr, closes #1403) Add a test.
* patch 8.0.0221: unnecessary condition on PROTOv8.0.0221Bram Moolenaar2017-01-222-1/+3
| | | | | Problem: Checking if PROTO is defined inside a function has no effect. Solution: Remove the check for PROTO. (Hirohito Higashi)
* patch 8.0.0220: completion of highlight names misses a few valuesv8.0.0220Bram Moolenaar2017-01-223-7/+36
| | | | | | | Problem: Completion for :match does not show "none" and other missing highlight names. Solution: Skip over cleared entries before checking the index to be at the end.
* patch 8.0.0219: ubsan reports errors for overflowv8.0.0219Bram Moolenaar2017-01-226-31/+59
| | | | | | Problem: Ubsan reports errors for integer overflow. Solution: Define macros for minimum and maximum values. Select an expression based on the value. (Mike Williams)
* patch 8.0.0218: no completion for :cexpr and similar commandsv8.0.0218Bram Moolenaar2017-01-223-0/+36
| | | | | Problem: No command line completion for :cexpr, :cgetexpr, :caddexpr, etc. Solution: Make completion work. (Yegappan Lakshmanan) Add a test.
* patch 8.0.0217: build fails without cscope featurev8.0.0217Bram Moolenaar2017-01-222-1/+7
| | | | | Problem: Build fails without the cscope feature. Solution: Add #ifdef.
* patch 8.0.0216: decoding js style json may failv8.0.0216Bram Moolenaar2017-01-223-4/+16
| | | | | | Problem: When decoding JSON with a JS style object the JSON test may use a NULL pointer. (Coverity) Solution: Check for a NULL pointer.
* patch 8.0.0215: NULL pointer use if cscope line looks like emacs tagv8.0.0215Bram Moolenaar2017-01-222-1/+4
| | | | | | Problem: When a Cscope line contains CTRL-L a NULL pointer may be used. (Coverity) Solution: Don't check for an emacs tag in a cscope line.
* patch 8.0.0214: leaking memory when syntax cluster id is unknownv8.0.0214Bram Moolenaar2017-01-222-1/+6
| | | | | Problem: Leaking memory when syntax cluster id is unknown. (Coverity) Solution: Free the memory.
* patch 8.0.0213: Netbeans specialKeys command does not check argument lengthv8.0.0213Bram Moolenaar2017-01-222-5/+11
| | | | | | Problem: The Netbeans "specialKeys" command does not check if the argument fits in the buffer. (Coverity) Solution: Add a length check.
* patch 8.0.0212: buffer for key name may be too smallv8.0.0212Bram Moolenaar2017-01-223-4/+14
| | | | | | | 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.0211: cannot build without the multi-byte featurev8.0.0211Bram Moolenaar2017-01-212-7/+7
| | | | | Problem: Build fails if the multi-byte feature is disabled. Solution: Change #ifdef around ins_char_bytes.
* patch 8.0.0210: no support for bracketed pastev8.0.0210Bram Moolenaar2017-01-2113-17/+185
| | | | | | 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.0209: cursor binding does not work with :substitutev8.0.0209Bram Moolenaar2017-01-212-0/+6
| | | | | | Problem: When using :substitute with the "c" flag and 'cursorbind' is set the cursor is not updated in other windows. Solution: Call do_check_cursorbind(). (Masanori Misono)
* patch 8.0.0208: internally used commands end up in historyv8.0.0208Bram Moolenaar2017-01-203-3/+5
| | | | | | | Problem: Internally used commands for CTRL-Z and mouse click end up in history. (Matthew Malcomson) Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead buffer. (James McCoy, closes #1395)
* patch 8.0.0207: leaking file descriptor when system() failsv8.0.0207Bram Moolenaar2017-01-202-0/+3
| | | | | | Problem: Leaking file descriptor when system() cannot find the buffer. (Coverity) Solution: Close the file descriptor. (Dominique Pelle, closes #1398)
* patch 8.0.0206: test coverage for :retab insufficientv8.0.0206Bram Moolenaar2017-01-174-0/+81
| | | | | Problem: Test coverage for :retab insufficient. Solution: Add test for :retab. (Dominique Pelle, closes #1391)
* patch 8.0.0205: wrong behavior after :undojoinv8.0.0205Bram Moolenaar2017-01-173-6/+15
| | | | | | Problem: After :undojoin some commands don't work properly, such as :redo. (Matthew Malcomson) Solution: Don't set curbuf->b_u_curhead. (closes #1390)
* patch 8.0.0204: compiler warns for uninitialized variablev8.0.0204Bram Moolenaar2017-01-172-1/+5
| | | | | Problem: Compiler warns for uninitialized variable. (Tony Mechelynck) Solution: When skipping set "id" to -1.
* patch 8.0.0203: order of complication flags is sometimes wrongv8.0.0203Bram Moolenaar2017-01-172-11/+16
| | | | | | Problem: Order of complication flags is sometimes wrong. Solution: Put interface-specific flags before ALL_CFLAGS. (idea by Yousong Zhou, closes #1100)
* patch 8.0.0202: no test for invalid syntax group namev8.0.0202Bram Moolenaar2017-01-172-0/+13
| | | | | Problem: No test for invalid syntax group name. Solution: Add a test for group name error and warning.
* patch 8.0.0201: completion of highlight groups includes cleared namesv8.0.0201Bram Moolenaar2017-01-173-9/+34
| | | | | | Problem: When completing a group name for a highlight or syntax command cleared groups are included. Solution: Skip groups that have been cleared.
* patch 8.0.0200: some syntax arguments are not testedv8.0.0200Bram Moolenaar2017-01-172-2/+34
| | | | | Problem: Some syntax arguments are not tested. Solution: Add more syntax command tests.
* patch 8.0.0199: compiler warnings for libcallv8.0.0199Bram Moolenaar2017-01-173-5/+5
| | | | | | | Problem: Warning for an unused parameter when the libcall feature is disabled. Warning for a function type cast when compiling with -pedantic. Solution: Add UNUSED. Use a different type cast. (Damien Molinier)
* patch 8.0.0198: some syntax arguments take effect even after "if 0"v8.0.0198Bram Moolenaar2017-01-173-18/+185
| | | | | | | | Problem: Some syntax arguments take effect even after "if 0". (Taylor Venable) Solution: Properly skip the syntax statements. Make "syn case" and "syn conceal" report the current state. Fix that "syn clear" didn't reset the conceal flag. Add tests for :syntax skipping properly.
* Update runtime files.Bram Moolenaar2017-01-1716-118/+107
|
* patch 8.0.0197: system() test skips some parts for MS-Windowsv8.0.0197Bram Moolenaar2017-01-162-23/+28
| | | | | Problem: On MS-Windows the system() test skips a few parts. Solution: Swap single and double quotes for the command.
* patch 8.0.0196: profile test is slo and does not work on MS-Windowsv8.0.0196Bram Moolenaar2017-01-162-40/+52
| | | | | | Problem: The test for :profile is slow and does not work on MS-Windows. Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double quotes for system()
* patch 8.0.0195: fail to jump to static tag in current filev8.0.0195Bram Moolenaar2017-01-163-10/+33
| | | | | | | Problem: Jumping to a tag that is a static item in the current file fails. (Kazunobu Kuriyama) Solution: Make sure the first byte of the tag key is not NUL. (Suggested by James McCoy, closes #1387)
* patch 8.0.0194: profile tests fails if total and self time are equalv8.0.0194Bram Moolenaar2017-01-152-1/+4
| | | | | Problem: Profile tests fails if total and self time are equal. Solution: Make one time optional.
* patch 8.0.0193: accidentally removed #ifdefv8.0.0193Bram Moolenaar2017-01-152-0/+4
| | | | | Problem: Accidentally removed #ifdef. Solution: Put it back. (Masanori Misono)
* patch 8.0.0192: cannot build with tiny featuresv8.0.0192Bram Moolenaar2017-01-153-3/+3
| | | | | | Problem: Build fails with tiny features. Solution: Change #ifdef for hash_clear(). Avoid warning for unused argument.
* patch 8.0.0191: can't build with Ruby on some systemsv8.0.0191Bram Moolenaar2017-01-152-4/+6
| | | | | | | Problem: Some systems do not have ruby_sysinit(), causing the build to fail. Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro Muraoka)
* patch 8.0.0190: finding duplicate tags uses a slow linear searchv8.0.0190Bram Moolenaar2017-01-152-162/+160
| | | | | | Problem: Detecting duplicate tags uses a slow linear search. Solution: Use a much faster hash table solution. (James McCoy, closes #1046) But don't add hi_keylen, it makes hash tables 50% bigger.
* patch 8.0.0189: profile commands are not testedv8.0.0189Bram Moolenaar2017-01-154-0/+139
| | | | | Problem: There are no tests for the :profile command. Solution: Add tests. (Dominique Pelle, closes #1383)
* patch 8.0.0188: redrawing for 'cursorbind' is inefficientv8.0.0188Bram Moolenaar2017-01-152-4/+4
| | | | | | Problem: Using NOT_VALID for redraw_later() to update the cursor line/column highlighting is not efficient. Solution: Call validate_cursor() when 'cul' or 'cuc' is set.
* patch 8.0.0187: cant build with new Ruby versionv8.0.0187Bram Moolenaar2017-01-142-0/+6
| | | | | | Problem: Building with a new Ruby version fails. Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, closes #1382)
* patch 8.0.0186: confusing error message from assert_notequal()v8.0.0186Bram Moolenaar2017-01-143-11/+16
| | | | | Problem: The error message from assert_notequal() is confusing. Solution: Only mention the expected value.
* patch 8.0.0185: system() test fails on MS-Windowsv8.0.0185Bram Moolenaar2017-01-142-0/+6
| | | | | Problem: The system() test fails on MS-Windows. Solution: Skip the test on MS-Windows.
* patch 8.0.0184: when an error is caught Vim still exits with non-zero resultv8.0.0184Bram Moolenaar2017-01-143-2/+41
| | | | | | | Problem: When in Ex mode and an error is caught by try-catch, Vim still exits with a non-zero exit code. Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian Brabandt)
* patch 8.0.0183: ubsan warns for unaligned addressv8.0.0183Bram Moolenaar2017-01-142-1/+10
| | | | | Problem: Ubsan warns for using a pointer that is not aligned. Solution: First copy the address. (Yegappan Lakshmanan)
* patch 8.0.0182: cursor ilne not update when 'cursorbind' is setv8.0.0182Bram Moolenaar2017-01-142-1/+3
| | | | | | | Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is not, then the cursor line highlighting is not updated. (Hirohito Higashi) Solution: Call redraw_later() with NOT_VALID.
* patch 8.0.0181: with cursorbind set cursor column highlighting is offv8.0.0181Bram Moolenaar2017-01-142-0/+6
| | | | | | Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column highlignt in non-current windows is wrong. Solution: Add validate_cursor(). (Masanori Misono, closes #1372)
* patch 8.0.0180: error E937 is used twicev8.0.0180Bram Moolenaar2017-01-143-2/+4
| | | | | | Problem: Error E937 is used both for duplicate key in JSON and for trying to delete a buffer that is in use. Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376)
* patch 8.0.0179: cannot have a local value for 'formatprg'v8.0.0179Bram Moolenaar2017-01-147-16/+43
| | | | | | Problem: 'formatprg' is a global option but the value may depend on the type of buffer. (Sung Pae) Solution: Make 'formatprg' global-local. (closes #1380)
* patch 8.0.0178: command count test fails on MS-Windowsv8.0.0178Bram Moolenaar2017-01-133-1/+3
| | | | | | Problem: test_command_count may fail when a previous test interferes, seen on MS-Windows. Solution: Run it separately.
* patch 8.0.0177: BufEnter autocommand not fired for a directoryv8.0.0177Bram Moolenaar2017-01-137-11/+40
| | | | | | | | Problem: When opening a buffer on a directory and inside a try/catch then the BufEnter event is not triggered. Solution: Return NOTDONE from readfile() for a directory and deal with the three possible return values. (Justin M. Keyes, closes #1375, closes #1353)
* patch 8.0.0176: cannot use :change inside a function definitionv8.0.0176Bram Moolenaar2017-01-123-1/+79
| | | | | Problem: Using :change in between :function and :endfunction fails. Solution: Recognize :change inside a function. (ichizok, closes #1374)
* patch 8.0.0175: setting language on MS-Windows does not always workv8.0.0175Bram Moolenaar2017-01-126-59/+123
| | | | | | Problem: Setting language in gvim on MS-Windows does not work when libintl.dll is dynamically linked with msvcrt.dll. Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082)