]> granicus.if.org Git - vim/log
vim
8 years agopatch 8.0.0527: leftover file from RISC OS v8.0.0527
Bram Moolenaar [Thu, 30 Mar 2017 19:51:31 +0000 (21:51 +0200)]
patch 8.0.0527: leftover file from RISC OS

Problem:    RISC OS support was removed long ago, but one file is still
            included.
Solution:   Delete the file. (Thomas Dziedzic, closes #1603)

8 years agopatch 8.0.0526: Coverity complains about possible negative value v8.0.0526
Bram Moolenaar [Thu, 30 Mar 2017 19:18:45 +0000 (21:18 +0200)]
patch 8.0.0526: Coverity complains about possible negative value

Problem:    Coverity complains about possible negative value.
Solution:   Check return value of ftell() not to be negative.

8 years agopatch 8.0.0525: completion for user command argument not tested v8.0.0525
Bram Moolenaar [Wed, 29 Mar 2017 19:30:04 +0000 (21:30 +0200)]
patch 8.0.0525: completion for user command argument not tested

Solution:   Completion for user command argument not tested.
Problem:    Add a test.

8 years agopatch 8.0.0524: folds messed up v8.0.0524
Bram Moolenaar [Wed, 29 Mar 2017 18:38:59 +0000 (20:38 +0200)]
patch 8.0.0524: folds messed up

Problem:    Folds are messed up when 'encodin' is "utf-8".
Solution:   Also set the fold character when it's not multi-byte.

8 years agopatch 8.0.0523: dv} deletes part of a multi-byte character. v8.0.0523
Bram Moolenaar [Wed, 29 Mar 2017 17:48:11 +0000 (19:48 +0200)]
patch 8.0.0523: dv} deletes part of a multi-byte character.

Problem:    dv} deletes part of a multi-byte character. (Urtica Dioica)
Solution:   Include the whole character.

8 years agopatch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work v8.0.0522
Bram Moolenaar [Wed, 29 Mar 2017 17:20:41 +0000 (19:20 +0200)]
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work

Problem:    MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
            :global command.
Solution:   When setting the clipboard was postponed, do not clear the
            register.

8 years agopatch 8.0.0521: GtkForm handling is outdated v8.0.0521
Bram Moolenaar [Wed, 29 Mar 2017 16:07:40 +0000 (18:07 +0200)]
patch 8.0.0521: GtkForm handling is outdated

Problem:    GtkForm handling is outdated.
Solution:   Get rid of event filter functions.  Get rid of GtkForm.width and
            .height.  Eliminate gtk_widget_size_request() calls. (Kazunobu
            Kuriyama)

8 years agopatch 8.0.0520: using a function pointer while the function is known v8.0.0520
Bram Moolenaar [Wed, 29 Mar 2017 15:30:27 +0000 (17:30 +0200)]
patch 8.0.0520: using a function pointer while the function is known

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)

8 years agopatch 8.0.0519: character classes are not well tested v8.0.0519
Bram Moolenaar [Wed, 29 Mar 2017 13:31:20 +0000 (15:31 +0200)]
patch 8.0.0519: character classes are not well tested

Problem:    Character classes are not well tested. They can differ between
            platforms.
Solution:   Add tests.  In the documentation make clear which classes depend
            on what library function.  Only use :cntrl: and :graph: for ASCII.
            (Kazunobu Kuriyama, Dominique Pelle, closes #1560)
            Update the documentation.

8 years agopatch 8.0.0518: bad fold text when a multi-byte char has a zero byte v8.0.0518
Bram Moolenaar [Wed, 29 Mar 2017 12:40:47 +0000 (14:40 +0200)]
patch 8.0.0518: bad fold text when a multi-byte char has a zero byte

Problem:    Storing a zero byte from a multi-byte character causes fold text
            to show up wrong.
Solution:   Avoid putting zero in ScreenLines. (Christian Brabandt,
            closes #1567)

8 years agopatch 8.0.0517: there is no way to remove quickfix lists v8.0.0517
Bram Moolenaar [Wed, 29 Mar 2017 12:19:25 +0000 (14:19 +0200)]
patch 8.0.0517: there is no way to remove quickfix lists

Problem:    There is no way to remove quickfix lists (for testing).
Solution:   Add the 'f' action to setqflist(). Add tests. (Yegappan
            Lakshmanan)

8 years agoUpdate runtime files.
Bram Moolenaar [Wed, 29 Mar 2017 11:48:40 +0000 (13:48 +0200)]
Update runtime files.

8 years agopatch 8.0.0516: a large count on a normal command causes trouble v8.0.0516
Bram Moolenaar [Wed, 29 Mar 2017 11:08:35 +0000 (13:08 +0200)]
patch 8.0.0516: a large count on a normal command causes trouble

Problem:    A large count on a normal command causes trouble. (Dominique
            Pelle)
Solution:   Make "opcount" long.

8 years agopatch 8.0.0515: ml_get errors in silent Ex mode v8.0.0515
Bram Moolenaar [Mon, 27 Mar 2017 21:02:07 +0000 (23:02 +0200)]
patch 8.0.0515: ml_get errors in silent Ex mode

Problem:    ml_get errors in silent Ex mode. (Dominique Pelle)
Solution:   Clear valid flags when setting the cursor.  Set the topline when
            not in full screen mode.

8 years agopatch 8.0.0514: script for creating cmdidxs can be improved v8.0.0514
Bram Moolenaar [Sun, 26 Mar 2017 19:46:28 +0000 (21:46 +0200)]
patch 8.0.0514: script for creating cmdidxs can be improved

Problem:    Script for creating cmdidxs can be improved.
Solution:   Count skipped lines instead of collecting the lines.  Add "const".
            (Dominique Pelle, closes #1594)

8 years agopatch 8.0.0513: getting name of cleared highlight group is wrong v8.0.0513
Bram Moolenaar [Sun, 26 Mar 2017 11:50:09 +0000 (13:50 +0200)]
patch 8.0.0513: getting name of cleared highlight group is wrong

Problem:    Getting name of cleared highlight group is wrong. (Matt Wozniski)
Solution:   Only skip over cleared names for completion. (closes #1592)
            Also fix that a cleared group causes duplicate completions.

8 years agopatch 8.0.0512: check for available characters takes too long v8.0.0512
Bram Moolenaar [Sat, 25 Mar 2017 19:16:28 +0000 (20:16 +0100)]
patch 8.0.0512: check for available characters takes too long

Problem:    Check for available characters takes too long.
Solution:   Only check did_start_blocking if wtime is negative. (Daisuke
            Suzuki, closes #1591)

8 years agopatch 8.0.0511: message for skipping client-server tests is unclear v8.0.0511
Bram Moolenaar [Sat, 25 Mar 2017 19:14:34 +0000 (20:14 +0100)]
patch 8.0.0511: message for skipping client-server tests is unclear

Problem:    Menuage for skipping client-server tests is unclear.
Solution:   Be more specific about what's missing (Hirohito Higashi, Kazunobu
            Kuriyama)

8 years agopatch 8.0.0510: typo in link to codecov.io results v8.0.0510
Bram Moolenaar [Sat, 25 Mar 2017 17:10:31 +0000 (18:10 +0100)]
patch 8.0.0510: typo in link to codecov.io results

Problem:    Typo in link to codecov.io results.
Solution:   Remove duplicate https:.

8 years agopatch 8.0.0509: no link to codecov.io results v8.0.0509
Bram Moolenaar [Sat, 25 Mar 2017 17:04:32 +0000 (18:04 +0100)]
patch 8.0.0509: no link to codecov.io results

Problem:    No link to codecov.io results.
Solution:   Add a badge to the readme file.

8 years agopatch 8.0.0508: Coveralls no longer shows per-file coverage v8.0.0508
Bram Moolenaar [Sat, 25 Mar 2017 16:46:59 +0000 (17:46 +0100)]
patch 8.0.0508: Coveralls no longer shows per-file coverage

Problem:    Coveralls no longer shows per-file coverage.
Solution:   Add coverage from codecov.io. (Christian Brabandt)

8 years agopatch 8.0.0507: client-server tests fail when $DISPLAY is not set v8.0.0507
Bram Moolenaar [Sat, 25 Mar 2017 14:20:06 +0000 (15:20 +0100)]
patch 8.0.0507: client-server tests fail when $DISPLAY is not set

Problem:    Client-server tests fail when $DISPLAY is not set.
Solution:   Check for E240 before running the test.

8 years agopatch 8.0.0506: can't build with ANSI C v8.0.0506
Bram Moolenaar [Sat, 25 Mar 2017 14:07:43 +0000 (15:07 +0100)]
patch 8.0.0506: can't build with ANSI C

Problem:    Can't build with ANSI C.
Solution:   Move declarations to start of block.

8 years agopatch 8.0.0505: failed window split for :stag not handled v8.0.0505
Bram Moolenaar [Sat, 25 Mar 2017 14:03:45 +0000 (15:03 +0100)]
patch 8.0.0505: failed window split for :stag not handled

Problem:    Failed window split for :stag not handled. (Coverity CID 99204)
Solution:   If the split fails skip to the end. (bstaletic, closes #1577)

8 years agopatch 8.0.0504: looking up an Ex command is a bit slow v8.0.0504
Bram Moolenaar [Sat, 25 Mar 2017 13:51:01 +0000 (14:51 +0100)]
patch 8.0.0504: looking up an Ex command is a bit slow

Problem:    Looking up an Ex command is a bit slow.
Solution:   Instead of just using the first letter, also use the second letter
            to skip ahead in the list of commands. Generate the table with a
            Perl script. (Dominique Pelle, closes #1589)

8 years agopatch 8.0.0503: endless loop in updating folds with 32 bit ints v8.0.0503
Bram Moolenaar [Thu, 23 Mar 2017 20:53:35 +0000 (21:53 +0100)]
patch 8.0.0503: endless loop in updating folds with 32 bit ints

Problem:    Endless loop in updating folds with 32 bit ints.
Solution:   Subtract from LHS instead of add to the RHS. (Matthew Malcomson)

8 years agopatch 8.0.0502: Coverity complains about possible NULL pointer v8.0.0502
Bram Moolenaar [Tue, 21 Mar 2017 20:58:00 +0000 (21:58 +0100)]
patch 8.0.0502: Coverity complains about possible NULL pointer

Problem:    Coverity complains about possible NULL pointer.
Solution:   Add an assert(), let's see if this works on all systems.

8 years agopatch 8.0.0501: on MS-Windows ":!start" does not work as expected v8.0.0501
Bram Moolenaar [Tue, 21 Mar 2017 18:29:26 +0000 (19:29 +0100)]
patch 8.0.0501: on MS-Windows ":!start" does not work as expected

Problem:    On MS-Windows ":!start" does not work as expected.
Solution:   When creating a process fails try passing the argument to
            ShellExecute().  (Katsuya Hino, closes #1570)

8 years agoUpdate runtime files. Add Rust support.
Bram Moolenaar [Tue, 21 Mar 2017 18:18:29 +0000 (19:18 +0100)]
Update runtime files.  Add Rust support.

8 years agopatch 8.0.0500: quotestar test is still a bit flaky v8.0.0500
Bram Moolenaar [Tue, 21 Mar 2017 17:02:41 +0000 (18:02 +0100)]
patch 8.0.0500: quotestar test is still a bit flaky

Problem:    Quotestar test is still a bit flaky.
Solution:   Add a slower check for v:version.

8 years agopatch 8.0.0499: taglist() does not prioritize tags for a buffer v8.0.0499
Bram Moolenaar [Tue, 21 Mar 2017 16:09:10 +0000 (17:09 +0100)]
patch 8.0.0499: taglist() does not prioritize tags for a buffer

Problem:    taglist() does not prioritize tags for a buffer.
Solution:   Add an optional buffer argument. (Duncan McDougall, closes #1194)

8 years agopatch 8.0.0498: two autocmd tests are skipped on MS-Windows v8.0.0498
Bram Moolenaar [Tue, 21 Mar 2017 14:50:12 +0000 (15:50 +0100)]
patch 8.0.0498: two autocmd tests are skipped on MS-Windows

Problem:    Two autocmd tests are skipped on MS-Windows.
Solution:   Make the test pass on MS-Windows. Write the messages in a file
            instead of getting the output of system().

8 years agopatch 8.0.0497: arabic support is not fully tested v8.0.0497
Bram Moolenaar [Tue, 21 Mar 2017 12:22:44 +0000 (13:22 +0100)]
patch 8.0.0497: arabic support is not fully tested

Problem:    Arabic support is not fully tested.
Solution:   Add more tests for the untested functions.  Comment out
            unreachable code.

8 years agopatch 8.0.0496: insufficient testing for folding v8.0.0496
Bram Moolenaar [Tue, 21 Mar 2017 10:48:39 +0000 (11:48 +0100)]
patch 8.0.0496: insufficient testing for folding

Problem:    Insufficient testing for folding.
Solution:   Add a couple more fold tests. (Dominique Pelle, closes #1579)

8 years agopatch 8.0.0495: quotestar test uses timer instead of timeout v8.0.0495
Bram Moolenaar [Mon, 20 Mar 2017 20:47:16 +0000 (21:47 +0100)]
patch 8.0.0495: quotestar test uses timer instead of timeout

Problem:    The quotestar test uses a timer instead of a timeout, thus it
            cannot be rerun like a flaky test.
Solution:   Remove the timer and add a timeout. (Kazunobu Kuriyama)

8 years agopatch 8.0.0494: build failure with older compiler on MS-Windows v8.0.0494
Bram Moolenaar [Sun, 19 Mar 2017 20:47:50 +0000 (21:47 +0100)]
patch 8.0.0494: build failure with older compiler on MS-Windows

Problem:    Build failure with older compiler on MS-Windows.
Solution:   Move declaration to start of block.

8 years agopatch 8.0.0493: crash with cd command with very long argument v8.0.0493
Bram Moolenaar [Sun, 19 Mar 2017 20:37:13 +0000 (21:37 +0100)]
patch 8.0.0493: crash with cd command with very long argument

Problem:    Crash with cd command with very long argument.
Solution:   Check for running out of space. (Dominique pending, closes #1576)

8 years agopatch 8.0.0492: a failing client-server request can make Vim hang v8.0.0492
Bram Moolenaar [Sun, 19 Mar 2017 20:20:53 +0000 (21:20 +0100)]
patch 8.0.0492: a failing client-server request can make Vim hang

Problem:    A failing client-server request can make Vim hang.
Solution:   Add a timeout argument to functions that wait.

8 years agopatch 8.0.0491: quotestar test fails when features are missing v8.0.0491
Bram Moolenaar [Sun, 19 Mar 2017 20:01:14 +0000 (21:01 +0100)]
patch 8.0.0491: quotestar test fails when features are missing

Problem:    The quotestar test fails when a required feature is missing.
Solution:   Prepend "Skipped" to the thrown exception.

8 years agopatch 8.0.0490: vertical split makes 'winfixwidth' window smaller v8.0.0490
Bram Moolenaar [Sun, 19 Mar 2017 19:22:36 +0000 (20:22 +0100)]
patch 8.0.0490: vertical split makes 'winfixwidth' window smaller

Problem:    Splitting a 'winfixwidth' window vertically makes it one column
            smaller. (Dominique Pelle)
Solution:   Add one to the width for the separator.

8 years agopatch 8.0.0489: clipboard and "* register is not tested v8.0.0489
Bram Moolenaar [Sun, 19 Mar 2017 19:04:22 +0000 (20:04 +0100)]
patch 8.0.0489: clipboard and "* register is not tested

Problem:    Clipboard and "* register is not tested.
Solution:   Add a test for Mac and X11. (Kazunobu Kuriyama)

8 years agopatch 8.0.0488: running tests leaves an "xxx" file behind v8.0.0488
Bram Moolenaar [Sun, 19 Mar 2017 18:11:35 +0000 (19:11 +0100)]
patch 8.0.0488: running tests leaves an "xxx" file behind

Problem:    Running tests leaves an "xxx" file behind.
Solution:   Delete the 'verbosefile' after resetting the option.

8 years agopatch 8.0.0487: the autocmd test hangs on MS-Windows v8.0.0487
Bram Moolenaar [Sun, 19 Mar 2017 17:34:46 +0000 (18:34 +0100)]
patch 8.0.0487: the autocmd test hangs on MS-Windows

Problem:    The autocmd test hangs on MS-Windows.
Solution:   Skip the hanging tests for now.

8 years agopatch 8.0.0486: crash and endless loop when closing windows in autocmd v8.0.0486
Bram Moolenaar [Sun, 19 Mar 2017 16:09:56 +0000 (17:09 +0100)]
patch 8.0.0486: crash and endless loop when closing windows in autocmd

Problem:    Crash and endless loop when closing windows in a SessionLoadPost
            autocommand.
Solution:   Check for valid tabpage.  (partly neovim #6308)

8 years agopatch 8.0.0485: not all windows commands are tested v8.0.0485
Bram Moolenaar [Sun, 19 Mar 2017 15:09:46 +0000 (16:09 +0100)]
patch 8.0.0485: not all windows commands are tested

Problem:    Not all windows commands are tested.
Solution:   Add more tests for windows commands. (Dominique Pelle,
            closes #1575) Run test_autocmd separately, it interferes with
            other tests.  Fix tests that depended on side effects.

8 years agopatch 8.0.0484: :lhelpgrep does not fail after a successful one v8.0.0484
Bram Moolenaar [Sun, 19 Mar 2017 13:19:50 +0000 (14:19 +0100)]
patch 8.0.0484: :lhelpgrep does not fail after a successful one

Problem:    Using :lhelpgrep with an argument that should fail does not
            produce an error if the previous :helpgrep worked.
Solution:   Use another way to detect that autocommands made the quickfix info
            invalid. (Yegappan Lakshmanan)

8 years agopatch 8.0.0483: illegal memory access when using :all v8.0.0483
Bram Moolenaar [Sat, 18 Mar 2017 22:11:04 +0000 (23:11 +0100)]
patch 8.0.0483: illegal memory access when using :all

Problem:    Illegal memory access when using :all. (Dominique Pelle)
Solution:   Adjust the cursor position right after setting "curwin".

8 years agopatch 8.0.0482: the setbufvar() function may mess up the window layout v8.0.0482
Bram Moolenaar [Sat, 18 Mar 2017 21:35:30 +0000 (22:35 +0100)]
patch 8.0.0482: the setbufvar() function may mess up the window layout

Problem:    The setbufvar() function may mess up the window layout. (Kay Z.)
Solution:   Do not check the window to be valid if it is NULL.

8 years agopatch 8.0.0481: unnecessary if statement v8.0.0481
Bram Moolenaar [Sat, 18 Mar 2017 20:37:28 +0000 (21:37 +0100)]
patch 8.0.0481: unnecessary if statement

Problem:    Unnecessary if statement.
Solution:   Remove the statement.  Fix "it's" vs "its" mistakes. (Dominique
            Pelle, closes #1568)

8 years agopatch 8.0.0480: the remote_peek() test fails on MS-Windows v8.0.0480
Bram Moolenaar [Sat, 18 Mar 2017 20:22:47 +0000 (21:22 +0100)]
patch 8.0.0480: the remote_peek() test fails on MS-Windows

Problem:    The remote_peek() test fails on MS-Windows.
Solution:   Check for pending messages. Also report errors in the first run if
            a flaky test fails twice.

8 years agopatch 8.0.0479: remote_peek() is not tested v8.0.0479
Bram Moolenaar [Sat, 18 Mar 2017 19:45:05 +0000 (20:45 +0100)]
patch 8.0.0479: remote_peek() is not tested

Problem:    remote_peek() is not tested.
Solution:   Add a test.

8 years agopatch 8.0.0478: tests use assert_true(0) and assert_false(1) to report errors v8.0.0478
Bram Moolenaar [Sat, 18 Mar 2017 19:18:45 +0000 (20:18 +0100)]
patch 8.0.0478: tests use assert_true(0) and assert_false(1) to report errors

Problem:    Tests use assert_true(0) and assert_false(1) to report errors.
Solution:   Use assert_report().

8 years agopatch 8.0.0477: the client-server test may hang when failing v8.0.0477
Bram Moolenaar [Sat, 18 Mar 2017 18:42:22 +0000 (19:42 +0100)]
patch 8.0.0477: the client-server test may hang when failing

Problem:    The client-server test may hang when failing.
Solution:   Set a timer.  Add assert_report()

8 years agopatch 8.0.0476: missing change to main.c v8.0.0476
Bram Moolenaar [Sat, 18 Mar 2017 17:15:16 +0000 (18:15 +0100)]
patch 8.0.0476: missing change to main.c

Problem:    Missing change to main.c.
Solution:   Add new function.

8 years agopatch 8.0.0475: not enough testing for the client-server feature v8.0.0475
Bram Moolenaar [Sat, 18 Mar 2017 17:10:13 +0000 (18:10 +0100)]
patch 8.0.0475: not enough testing for the client-server feature

Problem:    Not enough testing for the client-server feature.
Solution:   Add more tests.  Add the remote_startserver() function.  Fix that
            a locally evaluated expression uses function-local variables.

8 years agopatch 8.0.0474: the client-server feature is not tested v8.0.0474
Bram Moolenaar [Sat, 18 Mar 2017 15:18:37 +0000 (16:18 +0100)]
patch 8.0.0474: the client-server feature is not tested

Problem:    The client-server feature is not tested.
Solution:   Add a test.

8 years agopatch 8.0.0473: no test covering arg_all() v8.0.0473
Bram Moolenaar [Thu, 16 Mar 2017 21:52:32 +0000 (22:52 +0100)]
patch 8.0.0473: no test covering arg_all()

Problem:    No test covering arg_all().
Solution:   Add a test expanding ##.

8 years agopatch 8.0.0472: when a test fails another test may also fail v8.0.0472
Bram Moolenaar [Thu, 16 Mar 2017 21:38:00 +0000 (22:38 +0100)]
patch 8.0.0472: when a test fails another test may also fail

Problem:    When a test fails and test.log is created, Test_edit_CTRL_I
            matches it instead of test1.in.
Solution:   Match with runtest.vim instead.

8 years agopatch 8.0.0471: exit callback test sometimes fails v8.0.0471
Bram Moolenaar [Thu, 16 Mar 2017 21:30:37 +0000 (22:30 +0100)]
patch 8.0.0471: exit callback test sometimes fails

Problem:    Exit callback test sometimes fails.
Solution:   Add it to the list of flaky tests.

8 years agopatch 8.0.0470: not enough testing for help commands v8.0.0470
Bram Moolenaar [Thu, 16 Mar 2017 21:26:44 +0000 (22:26 +0100)]
patch 8.0.0470: not enough testing for help commands

Problem:    Not enough testing for help commands.
Solution:   Add a few more help tests. (Dominique Pelle, closes #1565)

8 years agopatch 8.0.0469: compiler warnings on MS-Windows v8.0.0469
Bram Moolenaar [Thu, 16 Mar 2017 21:06:57 +0000 (22:06 +0100)]
patch 8.0.0469: compiler warnings on MS-Windows

Problem:    Compiler warnings on MS-Windows.
Solution:   Add type casts. (Christian Brabandt)

8 years agopatch 8.0.0468: after aborting an Ex command g< does not work v8.0.0468
Bram Moolenaar [Thu, 16 Mar 2017 18:58:25 +0000 (19:58 +0100)]
patch 8.0.0468: after aborting an Ex command g< does not work

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.

8 years agopatch 8.0.0467: using g< after :for does not show the right output v8.0.0467
Bram Moolenaar [Thu, 16 Mar 2017 18:04:19 +0000 (19:04 +0100)]
patch 8.0.0467: using g< after :for does not show the right output

Problem:    Using g< after :for does not show the right output. (Marcin
            Szamotulski)
Solution:   Call msg_sb_eol() in :echomsg.

8 years agoUpdate runtime files.
Bram Moolenaar [Thu, 16 Mar 2017 16:41:02 +0000 (17:41 +0100)]
Update runtime files.

8 years agopatch 8.0.0466: still macros that should be all-caps v8.0.0466
Bram Moolenaar [Thu, 16 Mar 2017 16:23:31 +0000 (17:23 +0100)]
patch 8.0.0466: still macros that should be all-caps

Problem:    There are still a few macros that should be all-caps.
Solution:   Make a few more macros all-caps.

8 years agopatch 8.0.0465: off-by-one error in using :move with folding v8.0.0465
Bram Moolenaar [Thu, 16 Mar 2017 14:59:14 +0000 (15:59 +0100)]
patch 8.0.0465: off-by-one error in using :move with folding

Problem:    Off-by-one error in using :move with folding.
Solution:   Correct off-by-one mistakes and add more tests. (Matthew
            Malcomson)

8 years agopatch 8.0.0464: can't find executable name on Solaris and FreeBSD v8.0.0464
Bram Moolenaar [Thu, 16 Mar 2017 14:13:45 +0000 (15:13 +0100)]
patch 8.0.0464: can't find executable name on Solaris and FreeBSD

Problem:    Can't find executable name on Solaris and FreeBSD.
Solution:   Check for "/proc/self/path/a.out". (Danek Duvall) And for
            "/proc/curproc/file".

8 years agopatch 8.0.0463: side effects from resetting 'compatible' in defaults.vim v8.0.0463
Bram Moolenaar [Thu, 16 Mar 2017 13:19:36 +0000 (14:19 +0100)]
patch 8.0.0463: side effects from resetting 'compatible' in defaults.vim

Problem:    Resetting 'compatible' in defaults.vim has unexpected side
            effects. (David Fishburn)
Solution:   Only reset 'compatible' if it was set.

8 years agopatch 8.0.0462: failure of an MS-Windows test may go unnoticed v8.0.0462
Bram Moolenaar [Thu, 16 Mar 2017 13:04:51 +0000 (14:04 +0100)]
patch 8.0.0462: failure of an MS-Windows test may go unnoticed

Problem:    If an MS-Windows tests succeeds at first and then fails in a way
            it does not produce a test.out file it looks like the test
            succeeded.
Solution:   Delete the previous output file.

8 years agopatch 8.0.0461: test 45 hangs on MS-Windows v8.0.0461
Bram Moolenaar [Thu, 16 Mar 2017 12:54:10 +0000 (13:54 +0100)]
patch 8.0.0461: test 45 hangs on MS-Windows

Problem:    Test 45 hangs on MS-Windows.
Solution:   Reset 'shiftwidth'.  Also remove redundent function.

8 years agopatch 8.0.0460: can't build on HPUX v8.0.0460
Bram Moolenaar [Thu, 16 Mar 2017 11:22:38 +0000 (12:22 +0100)]
patch 8.0.0460: can't build on HPUX

Problem:    Can't build on HPUX.
Solution:   Fix argument names in vim_stat(). (John Marriott)

8 years agopatch 8.0.0459: old fix for :move and folding no longer needed v8.0.0459
Bram Moolenaar [Wed, 15 Mar 2017 19:45:53 +0000 (20:45 +0100)]
patch 8.0.0459: old fix for :move and folding no longer needed

Problem:    Old fix for :move messing up folding no longer needed, now that we
            have a proper solution.
Solution:   Revert patch 7.4.700. (Christian Brabandt)

8 years agopatch 8.0.0458: potential crash if adding list or dict to dict fails v8.0.0458
Bram Moolenaar [Tue, 14 Mar 2017 21:17:14 +0000 (22:17 +0100)]
patch 8.0.0458: potential crash if adding list or dict to dict fails

Problem:    Potential crash if adding list or dict to dict fails.
Solution:   Make sure the reference count is correct. (Nikolai Pavlov, closes
            #1555)

8 years agopatch 8.0.0457: using :move messes up manual folds v8.0.0457
Bram Moolenaar [Tue, 14 Mar 2017 20:53:58 +0000 (21:53 +0100)]
patch 8.0.0457: using :move messes up manual folds

Problem:    Using :move messes up manual folds.
Solution:   Split adjusting marks and folds.  Add foldMoveRange(). (neovim
            patch #6221)

8 years agopatch 8.0.0456: typo in MinGW test makefile v8.0.0456
Bram Moolenaar [Mon, 13 Mar 2017 21:41:42 +0000 (22:41 +0100)]
patch 8.0.0456: typo in MinGW test makefile

Problem:    Typo in MinGW test makefile.
Solution:   Change an underscore to a dot. (Michael Soyka)

8 years agoFix duplication of patch.
Bram Moolenaar [Mon, 13 Mar 2017 20:50:55 +0000 (21:50 +0100)]
Fix duplication of patch.

8 years agopatch 8.0.0455: the mode test may hang v8.0.0455
Bram Moolenaar [Mon, 13 Mar 2017 19:37:15 +0000 (20:37 +0100)]
patch 8.0.0455: the mode test may hang

Problem:    The mode test may hang in Test_mode(). (Michael Soyka)
Solution:   Set 'complete' to only search the current buffer (as suggested by
            Michael)

8 years agopatch 8.0.0454: compiler warnings for "always true" comparison v8.0.0454
Bram Moolenaar [Sun, 12 Mar 2017 20:31:58 +0000 (21:31 +0100)]
patch 8.0.0454: compiler warnings for "always true" comparison

Problem:    Compiler warnings for comparing unsigned char with 256 always
            being true. (Manuel Ortega)
Solution:   Add type cast.

8 years agopatch 8.0.0453: adding fold marker creates new comment v8.0.0453
Bram Moolenaar [Sun, 12 Mar 2017 19:37:21 +0000 (20:37 +0100)]
patch 8.0.0453: adding fold marker creates new comment

Problem:    Adding fold marker creates new comment.
Solution:   Use an existing comment if possible. (LemonBoy, closes #1549)

8 years agopatch 8.0.0452: some macros are in lower case v8.0.0452
Bram Moolenaar [Sun, 12 Mar 2017 19:10:05 +0000 (20:10 +0100)]
patch 8.0.0452: some macros are in lower case

Problem:    Some macros are in lower case.
Solution:   Make a few more macros upper case.

8 years agopatch 8.0.0451: some macros are in lower case v8.0.0451
Bram Moolenaar [Sun, 12 Mar 2017 18:22:36 +0000 (19:22 +0100)]
patch 8.0.0451: some macros are in lower case

Problem:    Some macros are in lower case.
Solution:   Make a few more macros upper case. Avoid lower case macros use an
            argument twice.

8 years agopatch 8.0.0450: v:progpath is not reliably set v8.0.0450
Bram Moolenaar [Sun, 12 Mar 2017 17:38:02 +0000 (18:38 +0100)]
patch 8.0.0450: v:progpath is not reliably set

Problem:    v:progpath is not reliably set.
Solution:   Read /proc/self/exe if possible. (idea by Michal Grochmal)
            Also fixes missing #if.

8 years agopatch 8.0.0449: part of fold patch accidentally included v8.0.0449
Bram Moolenaar [Sun, 12 Mar 2017 17:32:32 +0000 (18:32 +0100)]
patch 8.0.0449: part of fold patch accidentally included

Problem:    Part of fold patch accidentally included.
Solution:   Revert that part of the patch.

8 years agopatch 8.0.0448: some macros are in lower case v8.0.0448
Bram Moolenaar [Sun, 12 Mar 2017 17:23:53 +0000 (18:23 +0100)]
patch 8.0.0448: some macros are in lower case

Problem:    Some macros are in lower case, which can be confusing.
Solution:   Make a few lower case macros upper case.

8 years agopatch 8.0.0447: getting font name does not work on X11 v8.0.0447
Bram Moolenaar [Sun, 12 Mar 2017 16:10:33 +0000 (17:10 +0100)]
patch 8.0.0447: getting font name does not work on X11

Problem:    Getting font name does not work on X11.
Solution:   Implement gui_mch_get_fontname() for X11.  Add more GUI tests.
            (Kazunobu Kuriyama)

8 years agopatch 8.0.0446: the ";" command does not work after some characters v8.0.0446
Bram Moolenaar [Sun, 12 Mar 2017 15:37:14 +0000 (16:37 +0100)]
patch 8.0.0446: the ";" command does not work after some characters

Problem:    The ";" command does not work after characters with a lower byte
            that is NUL.
Solution:   Properly check for not having a previous character. (Hirohito
            Higashi)

8 years agopatch 8.0.0445: getpgid is not supported on all systems v8.0.0445
Bram Moolenaar [Sat, 11 Mar 2017 19:03:42 +0000 (20:03 +0100)]
patch 8.0.0445: getpgid is not supported on all systems

Problem:    Getpgid is not supported on all systems.
Solution:   Add a configure check.

8 years agopatch 8.0.0444: diffpatch fails when the file name has a quote v8.0.0444
Bram Moolenaar [Sat, 11 Mar 2017 18:21:53 +0000 (19:21 +0100)]
patch 8.0.0444: diffpatch fails when the file name has a quote

Problem:    Diffpatch fails when the file name has a quote.
Solution:   Escape the name properly. (zetzei)

8 years agopatch 8.0.0443: terminal width is set to 80 in test3 v8.0.0443
Bram Moolenaar [Sat, 11 Mar 2017 17:42:56 +0000 (18:42 +0100)]
patch 8.0.0443: terminal width is set to 80 in test3

Problem:    Terminal width is set to 80 in test3.
Solution:   Instead of setting 'columns' set 'wrapmargin' depending on
            'columns.

8 years agopatch 8.0.0442: patch shell command not well escaped v8.0.0442
Bram Moolenaar [Thu, 9 Mar 2017 18:21:30 +0000 (19:21 +0100)]
patch 8.0.0442: patch shell command not well escaped

Problem:    Patch shell command uses double quotes around the argument, which
            allows for $HOME to be expanded. (Etienne)
Solution:   Use single quotes on Unix. (closes #1543)

8 years agopatch 8.0.0441: dead code in #ifdef v8.0.0441
Bram Moolenaar [Thu, 9 Mar 2017 17:59:14 +0000 (18:59 +0100)]
patch 8.0.0441: dead code in #ifdef

Problem:    Dead code in #ifdef.
Solution:   Remove the #ifdef and #else part.

8 years agopatch 8.0.0440: not enough test coverage in Insert mode v8.0.0440
Bram Moolenaar [Thu, 9 Mar 2017 17:20:16 +0000 (18:20 +0100)]
patch 8.0.0440: not enough test coverage in Insert mode

Problem:    Not enough test coverage in Insert mode.
Solution:   Add lots of tests.  Add test_override(). (Christian Brabandt,
            closes #1521)

8 years agopatch 8.0.0439: ":%argdel" gives an error for an empty arglist v8.0.0439
Bram Moolenaar [Thu, 9 Mar 2017 14:58:30 +0000 (15:58 +0100)]
patch 8.0.0439: ":%argdel" gives an error for an empty arglist

Problem:    Using ":%argdel" while the argument list is already empty gives an
            error. (Pavol Juhas)
Solution:   Don't give an error. (closes #1546)

8 years agopatch 8.0.0438: the fnamemodify test may cause later tests to fail v8.0.0438
Bram Moolenaar [Thu, 9 Mar 2017 13:00:27 +0000 (14:00 +0100)]
patch 8.0.0438: the fnamemodify test may cause later tests to fail

Problem:    The fnamemodify test changes 'shell' in a way later tests may not
            be able to use system().
Solution:   Save and restore 'shell'.

8 years agopatch 8.0.0437: packadd test does not fully work v8.0.0437
Bram Moolenaar [Thu, 9 Mar 2017 12:58:02 +0000 (13:58 +0100)]
patch 8.0.0437: packadd test does not fully work

Problem:    The packadd test does not create the symlink correctly and does
            not test the right thing.
Solution:   Create the directory and symlink correctly.

8 years agopatch 8.0.0436: running the options test sometimes resizes the terminal v8.0.0436
Bram Moolenaar [Thu, 9 Mar 2017 12:55:01 +0000 (13:55 +0100)]
patch 8.0.0436: running the options test sometimes resizes the terminal

Problem:    Running the options test sometimes resizes the terminal.
Solution:   Clear out t_WS.

8 years agopatch 8.0.0435: some functions are not tested v8.0.0435
Bram Moolenaar [Thu, 9 Mar 2017 11:09:32 +0000 (12:09 +0100)]
patch 8.0.0435: some functions are not tested

Problem:    Some functions are not tested.
Solution:   Add more tests for functions. (Dominique Pelle, closes #1541)

8 years agopatch 8.0.0434: clang version not correctly detected v8.0.0434
Bram Moolenaar [Thu, 9 Mar 2017 10:58:40 +0000 (11:58 +0100)]
patch 8.0.0434: clang version not correctly detected

Problem:    Clang version not correctly detected.
Solution:   Adjust the configure script. (Kazunobu Kuriyama)

8 years agopatch 8.0.0433: beeps when running tests v8.0.0433
Bram Moolenaar [Wed, 8 Mar 2017 21:55:19 +0000 (22:55 +0100)]
patch 8.0.0433: beeps when running tests

Problem:    Quite a few beeps when running tests.
Solution:   Set 'belloff' for these tests. (Christian Brabandt)

8 years agopatch 8.0.0432: "make shadow" creates an invalid link v8.0.0432
Bram Moolenaar [Wed, 8 Mar 2017 21:39:50 +0000 (22:39 +0100)]
patch 8.0.0432: "make shadow" creates an invalid link

Problem:    "make shadow" creates an invalid link.
Solution:   Don't link "*.vim". (Kazunobu Kuriyama)