]> granicus.if.org Git - vim/log
vim
8 years agopatch 8.0.0214: leaking memory when syntax cluster id is unknown v8.0.0214
Bram Moolenaar [Sun, 22 Jan 2017 14:28:55 +0000 (15:28 +0100)]
patch 8.0.0214: leaking memory when syntax cluster id is unknown

Problem:    Leaking memory when syntax cluster id is unknown. (Coverity)
Solution:   Free the memory.

8 years agopatch 8.0.0213: Netbeans specialKeys command does not check argument length v8.0.0213
Bram Moolenaar [Sun, 22 Jan 2017 14:19:22 +0000 (15:19 +0100)]
patch 8.0.0213: Netbeans specialKeys command does not check argument length

Problem:    The Netbeans "specialKeys" command does not check if the argument
            fits in the buffer. (Coverity)
Solution:   Add a length check.

8 years agopatch 8.0.0212: buffer for key name may be too small v8.0.0212
Bram Moolenaar [Sun, 22 Jan 2017 14:05:12 +0000 (15:05 +0100)]
patch 8.0.0212: buffer for key name may be too small

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.

8 years agopatch 8.0.0211: cannot build without the multi-byte feature v8.0.0211
Bram Moolenaar [Sat, 21 Jan 2017 21:50:00 +0000 (22:50 +0100)]
patch 8.0.0211: cannot build without the multi-byte feature

Problem:    Build fails if the multi-byte feature is disabled.
Solution:   Change #ifdef around ins_char_bytes.

8 years agopatch 8.0.0210: no support for bracketed paste v8.0.0210
Bram Moolenaar [Sat, 21 Jan 2017 19:04:22 +0000 (20:04 +0100)]
patch 8.0.0210: no support for bracketed paste

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.

8 years agopatch 8.0.0209: cursor binding does not work with :substitute v8.0.0209
Bram Moolenaar [Sat, 21 Jan 2017 13:45:09 +0000 (14:45 +0100)]
patch 8.0.0209: cursor binding does not work with :substitute

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)

8 years agopatch 8.0.0208: internally used commands end up in history v8.0.0208
Bram Moolenaar [Fri, 20 Jan 2017 20:51:53 +0000 (21:51 +0100)]
patch 8.0.0208: internally used commands end up in history

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)

8 years agopatch 8.0.0207: leaking file descriptor when system() fails v8.0.0207
Bram Moolenaar [Fri, 20 Jan 2017 18:59:54 +0000 (19:59 +0100)]
patch 8.0.0207: leaking file descriptor when system() fails

Problem:    Leaking file descriptor when system() cannot find the buffer.
            (Coverity)
Solution:   Close the file descriptor.  (Dominique Pelle, closes #1398)

8 years agopatch 8.0.0206: test coverage for :retab insufficient v8.0.0206
Bram Moolenaar [Tue, 17 Jan 2017 21:16:00 +0000 (22:16 +0100)]
patch 8.0.0206: test coverage for :retab insufficient

Problem:    Test coverage for :retab insufficient.
Solution:   Add test for :retab. (Dominique Pelle, closes #1391)

8 years agopatch 8.0.0205: wrong behavior after :undojoin v8.0.0205
Bram Moolenaar [Tue, 17 Jan 2017 21:09:45 +0000 (22:09 +0100)]
patch 8.0.0205: wrong behavior after :undojoin

Problem:    After :undojoin some commands don't work properly, such as :redo.
            (Matthew Malcomson)
Solution:   Don't set curbuf->b_u_curhead. (closes #1390)

8 years agopatch 8.0.0204: compiler warns for uninitialized variable v8.0.0204
Bram Moolenaar [Tue, 17 Jan 2017 18:48:53 +0000 (19:48 +0100)]
patch 8.0.0204: compiler warns for uninitialized variable

Problem:    Compiler warns for uninitialized variable. (Tony Mechelynck)
Solution:   When skipping set "id" to -1.

8 years agopatch 8.0.0203: order of complication flags is sometimes wrong v8.0.0203
Bram Moolenaar [Tue, 17 Jan 2017 18:20:15 +0000 (19:20 +0100)]
patch 8.0.0203: order of complication flags is sometimes wrong

Problem:    Order of complication flags is sometimes wrong.
Solution:   Put interface-specific flags before ALL_CFLAGS. (idea by Yousong
            Zhou, closes #1100)

8 years agopatch 8.0.0202: no test for invalid syntax group name v8.0.0202
Bram Moolenaar [Tue, 17 Jan 2017 17:14:54 +0000 (18:14 +0100)]
patch 8.0.0202: no test for invalid syntax group name

Problem:    No test for invalid syntax group name.
Solution:   Add a test for group name error and warning.

8 years agopatch 8.0.0201: completion of highlight groups includes cleared names v8.0.0201
Bram Moolenaar [Tue, 17 Jan 2017 16:44:46 +0000 (17:44 +0100)]
patch 8.0.0201: completion of highlight groups includes cleared names

Problem:    When completing a group name for a highlight or syntax command
            cleared groups are included.
Solution:   Skip groups that have been cleared.

8 years agopatch 8.0.0200: some syntax arguments are not tested v8.0.0200
Bram Moolenaar [Tue, 17 Jan 2017 16:19:00 +0000 (17:19 +0100)]
patch 8.0.0200: some syntax arguments are not tested

Problem:    Some syntax arguments are not tested.
Solution:   Add more syntax command tests.

8 years agopatch 8.0.0199: compiler warnings for libcall v8.0.0199
Bram Moolenaar [Tue, 17 Jan 2017 15:56:28 +0000 (16:56 +0100)]
patch 8.0.0199: compiler warnings for libcall

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)

8 years agopatch 8.0.0198: some syntax arguments take effect even after "if 0" v8.0.0198
Bram Moolenaar [Tue, 17 Jan 2017 15:27:10 +0000 (16:27 +0100)]
patch 8.0.0198: some syntax arguments take effect even after "if 0"

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.

8 years agoUpdate runtime files.
Bram Moolenaar [Tue, 17 Jan 2017 11:22:32 +0000 (12:22 +0100)]
Update runtime files.

8 years agopatch 8.0.0197: system() test skips some parts for MS-Windows v8.0.0197
Bram Moolenaar [Mon, 16 Jan 2017 21:53:57 +0000 (22:53 +0100)]
patch 8.0.0197: system() test skips some parts for MS-Windows

Problem:    On MS-Windows the system() test skips a few parts.
Solution:   Swap single and double quotes for the command.

8 years agopatch 8.0.0196: profile test is slo and does not work on MS-Windows v8.0.0196
Bram Moolenaar [Mon, 16 Jan 2017 21:37:42 +0000 (22:37 +0100)]
patch 8.0.0196: profile test is slo and does not work on MS-Windows

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()

8 years agopatch 8.0.0195: fail to jump to static tag in current file v8.0.0195
Bram Moolenaar [Mon, 16 Jan 2017 19:53:34 +0000 (20:53 +0100)]
patch 8.0.0195: fail to jump to static tag in current file

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)

8 years agopatch 8.0.0194: profile tests fails if total and self time are equal v8.0.0194
Bram Moolenaar [Sun, 15 Jan 2017 20:12:48 +0000 (21:12 +0100)]
patch 8.0.0194: profile tests fails if total and self time are equal

Problem:    Profile tests fails if total and self time are equal.
Solution:   Make one time optional.

8 years agopatch 8.0.0193: accidentally removed #ifdef v8.0.0193
Bram Moolenaar [Sun, 15 Jan 2017 19:51:37 +0000 (20:51 +0100)]
patch 8.0.0193: accidentally removed #ifdef

Problem:    Accidentally removed #ifdef.
Solution:   Put it back. (Masanori Misono)

8 years agopatch 8.0.0192: cannot build with tiny features v8.0.0192
Bram Moolenaar [Sun, 15 Jan 2017 16:18:57 +0000 (17:18 +0100)]
patch 8.0.0192: cannot build with tiny features

Problem:    Build fails with tiny features.
Solution:   Change #ifdef for hash_clear().  Avoid warning for unused
            argument.

8 years agopatch 8.0.0191: can't build with Ruby on some systems v8.0.0191
Bram Moolenaar [Sun, 15 Jan 2017 15:59:07 +0000 (16:59 +0100)]
patch 8.0.0191: can't build with Ruby on some systems

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)

8 years agopatch 8.0.0190: finding duplicate tags uses a slow linear search v8.0.0190
Bram Moolenaar [Sun, 15 Jan 2017 15:52:51 +0000 (16:52 +0100)]
patch 8.0.0190: finding duplicate tags uses a slow linear search

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.

8 years agopatch 8.0.0189: profile commands are not tested v8.0.0189
Bram Moolenaar [Sun, 15 Jan 2017 14:22:33 +0000 (15:22 +0100)]
patch 8.0.0189: profile commands are not tested

Problem:    There are no tests for the :profile command.
Solution:   Add tests. (Dominique Pelle, closes #1383)

8 years agopatch 8.0.0188: redrawing for 'cursorbind' is inefficient v8.0.0188
Bram Moolenaar [Sun, 15 Jan 2017 12:53:49 +0000 (13:53 +0100)]
patch 8.0.0188: redrawing for 'cursorbind' is inefficient

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.

8 years agopatch 8.0.0187: cant build with new Ruby version v8.0.0187
Bram Moolenaar [Sat, 14 Jan 2017 19:12:01 +0000 (20:12 +0100)]
patch 8.0.0187: cant build with new Ruby version

Problem:    Building with a new Ruby version fails.
Solution:   Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf,
            closes #1382)

8 years agopatch 8.0.0186: confusing error message from assert_notequal() v8.0.0186
Bram Moolenaar [Sat, 14 Jan 2017 19:06:14 +0000 (20:06 +0100)]
patch 8.0.0186: confusing error message from assert_notequal()

Problem:    The error message from assert_notequal() is confusing.
Solution:   Only mention the expected value.

8 years agopatch 8.0.0185: system() test fails on MS-Windows v8.0.0185
Bram Moolenaar [Sat, 14 Jan 2017 18:38:36 +0000 (19:38 +0100)]
patch 8.0.0185: system() test fails on MS-Windows

Problem:    The system() test fails on MS-Windows.
Solution:   Skip the test on MS-Windows.

8 years agopatch 8.0.0184: when an error is caught Vim still exits with non-zero result v8.0.0184
Bram Moolenaar [Sat, 14 Jan 2017 18:24:52 +0000 (19:24 +0100)]
patch 8.0.0184: when an error is caught Vim still exits with non-zero result

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)

8 years agopatch 8.0.0183: ubsan warns for unaligned address v8.0.0183
Bram Moolenaar [Sat, 14 Jan 2017 16:04:38 +0000 (17:04 +0100)]
patch 8.0.0183: ubsan warns for unaligned address

Problem:    Ubsan warns for using a pointer that is not aligned.
Solution:   First copy the address. (Yegappan Lakshmanan)

8 years agopatch 8.0.0182: cursor ilne not update when 'cursorbind' is set v8.0.0182
Bram Moolenaar [Sat, 14 Jan 2017 14:52:46 +0000 (15:52 +0100)]
patch 8.0.0182: cursor ilne not update when 'cursorbind' is set

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.

8 years agopatch 8.0.0181: with cursorbind set cursor column highlighting is off v8.0.0181
Bram Moolenaar [Sat, 14 Jan 2017 13:54:33 +0000 (14:54 +0100)]
patch 8.0.0181: with cursorbind set cursor column highlighting is off

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)

8 years agopatch 8.0.0180: error E937 is used twice v8.0.0180
Bram Moolenaar [Sat, 14 Jan 2017 13:36:08 +0000 (14:36 +0100)]
patch 8.0.0180: error E937 is used twice

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)

8 years agopatch 8.0.0179: cannot have a local value for 'formatprg' v8.0.0179
Bram Moolenaar [Sat, 14 Jan 2017 13:28:30 +0000 (14:28 +0100)]
patch 8.0.0179: cannot have a local value for 'formatprg'

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)

8 years agopatch 8.0.0178: command count test fails on MS-Windows v8.0.0178
Bram Moolenaar [Fri, 13 Jan 2017 21:30:08 +0000 (22:30 +0100)]
patch 8.0.0178: command count test fails on MS-Windows

Problem:    test_command_count may fail when a previous test interferes, seen
            on MS-Windows.
Solution:   Run it separately.

8 years agopatch 8.0.0177: BufEnter autocommand not fired for a directory v8.0.0177
Bram Moolenaar [Fri, 13 Jan 2017 21:01:02 +0000 (22:01 +0100)]
patch 8.0.0177: BufEnter autocommand not fired for a directory

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)

8 years agopatch 8.0.0176: cannot use :change inside a function definition v8.0.0176
Bram Moolenaar [Thu, 12 Jan 2017 21:20:54 +0000 (22:20 +0100)]
patch 8.0.0176: cannot use :change inside a function definition

Problem:    Using :change in between :function and :endfunction fails.
Solution:   Recognize :change inside a function. (ichizok, closes #1374)

8 years agopatch 8.0.0175: setting language on MS-Windows does not always work v8.0.0175
Bram Moolenaar [Thu, 12 Jan 2017 20:44:49 +0000 (21:44 +0100)]
patch 8.0.0175: setting language on MS-Windows does not always work

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)

8 years agopatch 8.0.0174: executing "locale -a" on MS-Windows needlessly v8.0.0174
Bram Moolenaar [Thu, 12 Jan 2017 19:28:25 +0000 (20:28 +0100)]
patch 8.0.0174: executing "locale -a" on MS-Windows needlessly

Problem:    For completion "locale -a" is executed on MS-Windows, even though
            it most likely won't work.
Solution:   Skip executing "locale -a" on MS-Windows. (Ken Takata)

8 years agopatch 8.0.0173: build fails with EBCDIC defined v8.0.0173
Bram Moolenaar [Thu, 12 Jan 2017 19:06:33 +0000 (20:06 +0100)]
patch 8.0.0173: build fails with EBCDIC defined

Problem:    When compiling with EBCDIC defined the build fails. (Yaroslav
            Kuzmin)
Solution:   Move sortFunctions() to the right file.  Avoid warning for
            redefining __SUSV3.

8 years agopatch 8.0.0172: command line window does not work v8.0.0172
Bram Moolenaar [Wed, 11 Jan 2017 21:40:19 +0000 (22:40 +0100)]
patch 8.0.0172: command line window does not work

Problem:    The command selected in the command line window is not executed.
            (Andrey Starodubtsev)
Solution:   Save and restore the command line at a lower level. (closes #1370)

8 years agopatch 8.0.0171: JS style JSON does not support single quotes v8.0.0171
Bram Moolenaar [Wed, 11 Jan 2017 20:50:08 +0000 (21:50 +0100)]
patch 8.0.0171: JS style JSON does not support single quotes

Problem:    JS style JSON does not support single quotes.
Solution:   Allow for single quotes. (Yasuhiro Matsumoto, closes #1371)

8 years agopatch 8.0.0170: crash in channel test v8.0.0170
Bram Moolenaar [Tue, 10 Jan 2017 21:57:34 +0000 (22:57 +0100)]
patch 8.0.0170: crash in channel test

Problem:    Channel test fails for using freed memory.
Solution:   Fix memory use in json_decode().

8 years agopatch 8.0.0169: json_decode() may run out of stack space v8.0.0169
Bram Moolenaar [Tue, 10 Jan 2017 18:44:18 +0000 (19:44 +0100)]
patch 8.0.0169: json_decode() may run out of stack space

Problem:    For complicated string json_decode() may run out of stack space.
Solution:   Change the recursive solution into an iterative solution.

8 years agopatch 8.0.0168: not all float functionality is tested v8.0.0168
Bram Moolenaar [Tue, 10 Jan 2017 15:31:20 +0000 (16:31 +0100)]
patch 8.0.0168: not all float functionality is tested

Problem:    Still some float functionality is not covered by tests.
Solution:   Add more tests. (Dominique Pelle, closes #1364)

8 years agopatch 8.0.0167: str2nr()/str2float() fail with negative values v8.0.0167
Bram Moolenaar [Tue, 10 Jan 2017 15:12:29 +0000 (16:12 +0100)]
patch 8.0.0167: str2nr()/str2float() fail with negative values

Problem:    str2nr() and str2float() do not always work with negative values.
Solution:   Be more flexible about handling signs. (LemonBoy, closes #1332)
            Add more tests.

8 years agopatch 8.0.0166: JSON with a duplicate key gives an internal error v8.0.0166
Bram Moolenaar [Tue, 10 Jan 2017 14:15:37 +0000 (15:15 +0100)]
patch 8.0.0166: JSON with a duplicate key gives an internal error

Problem:    JSON with a duplicate key gives an internal error. (Lcd)
Solution:   Give a normal error.  Avoid an error when parsing JSON from a
            remote client fails.

8 years agopatch 8.0.0165: ubsan warns for integer overflow v8.0.0165
Bram Moolenaar [Tue, 10 Jan 2017 12:55:14 +0000 (13:55 +0100)]
patch 8.0.0165: ubsan warns for integer overflow

Problem:    Ubsan warns for integer overflow.
Solution:   Swap two conditions. (Dominique Pelle)

8 years agopatch 8.0.0164: outdated and misplaced comments v8.0.0164
Bram Moolenaar [Tue, 10 Jan 2017 12:51:09 +0000 (13:51 +0100)]
patch 8.0.0164: outdated and misplaced comments

Problem:    Outdated and misplaced comments.
Solution:   Fix the comments.

8 years agoUpdated runtime files.
Bram Moolenaar [Tue, 10 Jan 2017 12:31:15 +0000 (13:31 +0100)]
Updated runtime files.

8 years agopatch 8.0.0163: cannot build with Ruby 2.4 v8.0.0163
Bram Moolenaar [Mon, 9 Jan 2017 20:10:31 +0000 (21:10 +0100)]
patch 8.0.0163: cannot build with Ruby 2.4

Problem:    Ruby 2.4 no longer supports rb_cFixnum.
Solution:   move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365)

8 years agopatch 8.0.0162: build error on Fedora 23 v8.0.0162
Bram Moolenaar [Mon, 9 Jan 2017 19:30:27 +0000 (20:30 +0100)]
patch 8.0.0162: build error on Fedora 23

Problem:    Build error on Fedora 23 with small features and gnome2.
Solution:   Undefine ngettext(). (Hirohito Higashi)

8 years agopatch 8.0.0161: can't build with small features v8.0.0161
Bram Moolenaar [Mon, 9 Jan 2017 11:58:11 +0000 (12:58 +0100)]
patch 8.0.0161: can't build with small features

Problem:    Build fails when using small features.
Solution:   Update #ifdef for using save_ccline. (Hirohito Higashi)

8 years agopatch 8.0.0160: EMSG() is sometimes used where it should be IEMSG() v8.0.0160
Bram Moolenaar [Sun, 8 Jan 2017 19:50:52 +0000 (20:50 +0100)]
patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG()

Problem:    EMSG() is sometimes used for internal errors.
Solution:   Change them to IEMSG(). (Dominique Pelle)  And a few more.

8 years agopatch 8.0.0159: crash on startup when updating tabline v8.0.0159
Bram Moolenaar [Sun, 8 Jan 2017 19:00:04 +0000 (20:00 +0100)]
patch 8.0.0159: crash on startup when updating tabline

Problem:    Using a NULL pointer when using feedkeys() to trigger drawing a
            tabline.
Solution:   Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
            Also fix recursing into getcmdline() from the cmd window.

8 years agopatch 8.0.0158: float funcion test fails on MS-Windows v8.0.0158
Bram Moolenaar [Sun, 8 Jan 2017 18:25:40 +0000 (19:25 +0100)]
patch 8.0.0158: float funcion test fails on MS-Windows

Problem:    On MS-Windows some float functions return a different value when
            passed unusual values.  strtod() doesn't work for "inf" and "nan".
Solution:   Accept both results.  Fix str2float() for MS-Windows.  Also
            reorder assert function arguments.

8 years agopatch 8.0.0157: no completion for :syntax spell and :syntax sync v8.0.0157
Bram Moolenaar [Sun, 8 Jan 2017 17:28:22 +0000 (18:28 +0100)]
patch 8.0.0157: no completion for :syntax spell and :syntax sync

Problem:    No command line completion for ":syntax spell" and ":syntax sync".
Solution:   Implement the completion. (Dominique Pelle)

8 years agopatch 8.0.0156: not enough test coverage for float functions v8.0.0156
Bram Moolenaar [Sun, 8 Jan 2017 16:59:14 +0000 (17:59 +0100)]
patch 8.0.0156: not enough test coverage for float functions

Problem:    Several float functions are not covered by tests.
Solution:   Add float tests. (Dominique Pelle)

8 years agopatch 8.0.0155: ubsan complains about NULL pointer v8.0.0155
Bram Moolenaar [Sun, 8 Jan 2017 16:46:20 +0000 (17:46 +0100)]
patch 8.0.0155: ubsan complains about NULL pointer

Problem:    When sorting zero elements a NULL pointer is passed to qsort(),
            which ubsan warns for.
Solution:   Don't call qsort() if there are no elements. (Dominique Pelle)

8 years agopatch 8.0.0154: system() test fails on OS/X v8.0.0154
Bram Moolenaar [Sun, 8 Jan 2017 13:14:43 +0000 (14:14 +0100)]
patch 8.0.0154: system() test fails on OS/X

Problem:    system() test fails on OS/X.
Solution:   Deal with leading spaces.

8 years agopatch 8.0.0153: system() test fails on MS-Windows v8.0.0153
Bram Moolenaar [Sun, 8 Jan 2017 12:55:06 +0000 (13:55 +0100)]
patch 8.0.0153: system() test fails on MS-Windows

Problem:    system() test fails on MS-Windows.
Solution:   Deal when extra space and CR.

8 years agopatch 8.0.0152: stray channellog created when running tests v8.0.0152
Bram Moolenaar [Sun, 8 Jan 2017 12:38:58 +0000 (13:38 +0100)]
patch 8.0.0152: stray channellog created when running tests

Problem:    Running the channel test creates channellog.
Solution:   Delete the debug line.

8 years agopatch 8.0.0151: passing buffer content to system() is clumsy v8.0.0151
Bram Moolenaar [Sun, 8 Jan 2017 12:26:03 +0000 (13:26 +0100)]
patch 8.0.0151: passing buffer content to system() is clumsy

Problem:    To pass buffer content to system() and systemlist() one has to
            first create a string or list.
Solution:   Allow passing a buffer number. (LemonBoy, closes #1240)

8 years agopatch 8.0.0150: completion for :filter does not skip the pattern v8.0.0150
Bram Moolenaar [Sat, 7 Jan 2017 19:39:53 +0000 (20:39 +0100)]
patch 8.0.0150: completion for :filter does not skip the pattern

Problem:    When the pattern of :filter does not have a separator then
            completion of the command fails.
Solution:   Skip over the pattern. (Ozaki Kiichi, clodes #1299)

8 years agopatch 8.0.0149: :earlier does not work after reading the undo file v8.0.0149
Bram Moolenaar [Sat, 7 Jan 2017 15:14:57 +0000 (16:14 +0100)]
patch 8.0.0149: :earlier does not work after reading the undo file

Problem:    ":earlier" and ":later" do not work after startup or reading the
            undo file.
Solution:   Use absolute time stamps instead of relative to the Vim start
            time. (Christian Brabandt, Pavel Juhas, closes #1300, closes
            #1254)

8 years agopatch 8.0.0148: wrong indent in C preprocessor with line continuation v8.0.0148
Bram Moolenaar [Sat, 7 Jan 2017 14:39:43 +0000 (15:39 +0100)]
patch 8.0.0148: wrong indent in C preprocessor with line continuation

Problem:    When a C preprocessor statement has two line continuations the
            following line does not have the right indent. (Ken Takata)
Solution:   Add the indent of the previous continuation line. (Hirohito
            Higashi)

8 years agopatch 8.0.0147: searchpair() fails when 'magic' is off v8.0.0147
Bram Moolenaar [Fri, 6 Jan 2017 19:03:58 +0000 (20:03 +0100)]
patch 8.0.0147: searchpair() fails when 'magic' is off

Problem:    searchpair() does not work when 'magic' is off. (Chris Paul)
Solution:   Add \m in the pattern. (Christian Brabandt, closes #1341)

8 years agopatch 8.0.0146: termguicolors uses wrong colors on MS-Windows with ConEmu v8.0.0146
Bram Moolenaar [Fri, 6 Jan 2017 17:16:19 +0000 (18:16 +0100)]
patch 8.0.0146: termguicolors uses wrong colors on MS-Windows with ConEmu

Problem:    When using 'termguicolors' on MS-Windows the RGB definition causes
            the colors to be wrong.
Solution:   Undefined RGB and use our own. (Gabriel Barta)

8 years agopatch 8.0.0145: running tests on MS-Windows is noisy v8.0.0145
Bram Moolenaar [Fri, 6 Jan 2017 17:00:12 +0000 (18:00 +0100)]
patch 8.0.0145: running tests on MS-Windows is noisy

Problem:    Running tests on MS-Windows is a little bit noisy.
Solution:   Redirect some output to "nul". (Ken Takata)

8 years agoOnly install coveralls when used.
Bram Moolenaar [Fri, 6 Jan 2017 15:47:24 +0000 (16:47 +0100)]
Only install coveralls when used.

8 years agoBetter solution to make coveralls work again.
Bram Moolenaar [Fri, 6 Jan 2017 15:35:04 +0000 (16:35 +0100)]
Better solution to make coveralls work again.

8 years agoTune travis config for coverage with gcc only.
Bram Moolenaar [Fri, 6 Jan 2017 15:01:59 +0000 (16:01 +0100)]
Tune travis config for coverage with gcc only.

8 years agoAnother attempt to make coveralls work.
Bram Moolenaar [Fri, 6 Jan 2017 14:37:45 +0000 (15:37 +0100)]
Another attempt to make coveralls work.

8 years agoAttempt to make coverage working again.
Bram Moolenaar [Fri, 6 Jan 2017 14:28:44 +0000 (15:28 +0100)]
Attempt to make coverage working again.

8 years agopatch 8.0.0144: when using MSVC the GvimExt directory is cleaned twice v8.0.0144
Bram Moolenaar [Fri, 6 Jan 2017 13:55:36 +0000 (14:55 +0100)]
patch 8.0.0144: when using MSVC the GvimExt directory is cleaned twice

Problem:    When using MSVC the GvimExt directory is cleaned twice.
Solution:   Remove the lines. (Ken Takata)

8 years agopatch 8.0.0143: line number of current buffer in getbufinfo() is wrong v8.0.0143
Bram Moolenaar [Fri, 6 Jan 2017 13:04:54 +0000 (14:04 +0100)]
patch 8.0.0143: line number of current buffer in getbufinfo() is wrong

Problem:    Line number of current buffer in getbufinfo() is wrong.
Solution:   For the current buffer use the current line number. (Ken Takata)

8 years agopatch 8.0.0142 v8.0.0142
Bram Moolenaar [Mon, 2 Jan 2017 20:37:40 +0000 (21:37 +0100)]
patch 8.0.0142
Problem:    Normal colors are wrong with 'termguicolors'.
Solution:   Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes
            #1344)

8 years agoUpdated runtime files.
Bram Moolenaar [Mon, 2 Jan 2017 20:27:47 +0000 (21:27 +0100)]
Updated runtime files.

8 years agopatch 8.0.0141 v8.0.0141
Bram Moolenaar [Mon, 2 Jan 2017 17:32:39 +0000 (18:32 +0100)]
patch 8.0.0141
Problem:    Nested function test fails on AppVeyor.
Solution:   Disable the test on Windows for now.

8 years agopatch 8.0.0140 v8.0.0140
Bram Moolenaar [Mon, 2 Jan 2017 16:31:24 +0000 (17:31 +0100)]
patch 8.0.0140
Problem:    Pasting inserted text in Visual mode does not work properly.
            (Matthew Malcomson)
Solution:   Stop Visual mode before stuffing the inserted text. (Christian
            Brabandt, from neovim #5709)

8 years agopatch 8.0.0139 v8.0.0139
Bram Moolenaar [Mon, 2 Jan 2017 16:26:00 +0000 (17:26 +0100)]
patch 8.0.0139
Problem:    Warning for unused argument.
Solution:   Add UNUSED.

8 years agopatch 8.0.0138 v8.0.0138
Bram Moolenaar [Mon, 2 Jan 2017 15:16:39 +0000 (16:16 +0100)]
patch 8.0.0138
Problem:    Small build fails.
Solution:   Add #ifdef.

8 years agopatch 8.0.0137 v8.0.0137
Bram Moolenaar [Mon, 2 Jan 2017 14:26:27 +0000 (15:26 +0100)]
patch 8.0.0137
Problem:    When 'maxfuncdepth' is set above 200 the nesting is limited to
            200. (Brett Stahlman)
Solution:   Allow for Ex command recursion depending on 'maxfuncdepth'.

8 years agopatch 8.0.0136 v8.0.0136
Bram Moolenaar [Mon, 2 Jan 2017 13:57:08 +0000 (14:57 +0100)]
patch 8.0.0136
Problem:    When using indent folding and changing indent the wrong fold is
            opened. (Jonathan Fudger)
Solution:   Open the fold under the cursor a bit later. (Christian Brabandt)

8 years agopatch 8.0.0135 v8.0.0135
Bram Moolenaar [Mon, 2 Jan 2017 13:27:34 +0000 (14:27 +0100)]
patch 8.0.0135
Problem:    An address relative to the current line, ":.,+3y", does not work
            properly on a closed fold. (Efraim Yawitz)
Solution:   Correct for including the closed fold. (Christian Brabandt)

8 years agopatch 8.0.0134 v8.0.0134
Bram Moolenaar [Wed, 14 Dec 2016 20:42:00 +0000 (21:42 +0100)]
patch 8.0.0134
Problem:    Null pointer access reported by UBsan.
Solution:   Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan)

8 years agopatch 8.0.0133 v8.0.0133
Bram Moolenaar [Sun, 11 Dec 2016 20:34:23 +0000 (21:34 +0100)]
patch 8.0.0133
Problem:    "2;'(" causes ml_get errors in an empty buffer.  (Dominique Pelle)
Solution:   Check the cursor line earlier.

8 years agopatch 8.0.0132 v8.0.0132
Bram Moolenaar [Sun, 11 Dec 2016 14:24:48 +0000 (15:24 +0100)]
patch 8.0.0132
Problem:    Test fails because of using :finish.
Solution:   Change to return.

8 years agopatch 8.0.0131 v8.0.0131
Bram Moolenaar [Sun, 11 Dec 2016 14:11:17 +0000 (15:11 +0100)]
patch 8.0.0131
Problem:    Not enough test coverage for syntax commands.
Solution:   Add more tests. (Dominique Pelle)

8 years agopatch 8.0.0130 v8.0.0130
Bram Moolenaar [Fri, 9 Dec 2016 19:11:26 +0000 (20:11 +0100)]
patch 8.0.0130
Problem:    Configure uses "ushort" while the Vim code doesn't.
Solution:   Use "unsigned short" instead. (Fredrik Fornwall, closes #1314)

8 years agopatch 8.0.0129 v8.0.0129
Bram Moolenaar [Fri, 9 Dec 2016 18:57:14 +0000 (19:57 +0100)]
patch 8.0.0129
Problem:    Parallel make still doesn't work. (Lewis Muir)
Solution:   Define OBJ_MAIN.

8 years agopatch 8.0.0128 v8.0.0128
Bram Moolenaar [Fri, 9 Dec 2016 18:51:49 +0000 (19:51 +0100)]
patch 8.0.0128
Problem:    Display test fails on MS-Windows.
Solution:   Set 'isprint' to "@".

8 years agopatch 8.0.0127 v8.0.0127
Bram Moolenaar [Fri, 9 Dec 2016 18:36:56 +0000 (19:36 +0100)]
patch 8.0.0127
Problem:    Cancelling completion still inserts text when formatting is done
            for 'textwidth'. (lacygoill)
Solution:   Don't format when CTRL-E was typed. (Hirohito Higashi,
            closes #1312)

8 years agopatch 8.0.0126 v8.0.0126
Bram Moolenaar [Fri, 9 Dec 2016 18:28:48 +0000 (19:28 +0100)]
patch 8.0.0126
Problem:    Display problem with 'foldcolumn' and a wide character.
            (esiegerman)
Solution:   Don't use "extra" but an allocated buffer. (Christian Brabandt,
            closes #1310)

8 years agopatch 8.0.0125 v8.0.0125
Bram Moolenaar [Fri, 9 Dec 2016 17:42:20 +0000 (18:42 +0100)]
patch 8.0.0125
Problem:    Not enough testing for entering Ex commands.
Solution:   Add test for CTRL-\ e {expr}. (Dominique Pelle)

8 years agopatch 8.0.0124 v8.0.0124
Bram Moolenaar [Sun, 4 Dec 2016 12:37:41 +0000 (13:37 +0100)]
patch 8.0.0124
Problem:    Internal error for assert_inrange(1, 1).
Solution:   Adjust number of allowed arguments. (Dominique Pelle)

8 years agopatch 8.0.0123 v8.0.0123
Bram Moolenaar [Sat, 3 Dec 2016 15:40:51 +0000 (16:40 +0100)]
patch 8.0.0123
Problem:    Modern Sun compilers define "__sun" instead of "sun".
Solution:   Use __sun. (closes #1296)