]> granicus.if.org Git - vim/log
vim
8 years agopatch 8.0.0550: cannot parse some etags format tags file v8.0.0550
Bram Moolenaar [Fri, 7 Apr 2017 18:30:29 +0000 (20:30 +0200)]
patch 8.0.0550: cannot parse some etags format tags file

Problem:    Some etags format tags file use 0x01, breaking the parsing.
Solution:   Use 0x02 for TAG_SEP. (James McCoy, closes #1614)

8 years agopatch 8.0.0549: no test for the 8g8 command v8.0.0549
Bram Moolenaar [Fri, 7 Apr 2017 18:09:51 +0000 (20:09 +0200)]
patch 8.0.0549: no test for the 8g8 command

Problem:    No test for the 8g8 command.
Solution:   Add a test. (Dominique Pelle, closes #1615)

8 years agopatch 8.0.0548: saving the redo buffer only works one time v8.0.0548
Bram Moolenaar [Fri, 7 Apr 2017 17:50:12 +0000 (19:50 +0200)]
patch 8.0.0548: saving the redo buffer only works one time

Problem:    Saving the redo buffer only works one time, resulting in the "."
            command not working well for a function call inside another
            function call. (Ingo Karkat)
Solution:   Save the redo buffer at every user function call. (closes #1619)

8 years agopatch 8.0.0547: extra line break in verbosefile v8.0.0547
Bram Moolenaar [Fri, 7 Apr 2017 14:17:39 +0000 (16:17 +0200)]
patch 8.0.0547: extra line break in verbosefile

Problem:    Extra line break in verbosefile when using ":echomsg". (Ingo
            Karkat)
Solution:   Don't call msg_start(). (closes #1618)

8 years agopatch 8.0.0546: swap file exists briefly when opening the command window v8.0.0546
Bram Moolenaar [Fri, 7 Apr 2017 13:42:25 +0000 (15:42 +0200)]
patch 8.0.0546: swap file exists briefly when opening the command window

Problem:    Swap file exists briefly when opening the command window.
Solution:   Set the noswapfile command modifier before splitting the window.
            (James McCoy, closes #1620)

8 years agopatch 8.0.0545: edit test may fail on some systems v8.0.0545
Bram Moolenaar [Fri, 7 Apr 2017 12:10:48 +0000 (14:10 +0200)]
patch 8.0.0545: edit test may fail on some systems

Problem:    Edit test may fail on some systems.
Solution:   If creating a directory with a very long path fails, bail out.

8 years agopatch 8.0.0544: cppcheck warnings v8.0.0544
Bram Moolenaar [Fri, 7 Apr 2017 12:02:01 +0000 (14:02 +0200)]
patch 8.0.0544: cppcheck warnings

Problem:    Cppcheck warnings.
Solution:   Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
            Pelle)

8 years agopatch 8.0.0543: test_edit causes older xfce4-terminal to close v8.0.0543
Bram Moolenaar [Tue, 4 Apr 2017 20:41:10 +0000 (22:41 +0200)]
patch 8.0.0543: test_edit causes older xfce4-terminal to close

Problem:    Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
Solution:   Reduce number of columns to 2000.  Try to restore the window
            position.

8 years agopatch 8.0.0542: getpos() can return a negative line number v8.0.0542
Bram Moolenaar [Mon, 3 Apr 2017 20:02:55 +0000 (22:02 +0200)]
patch 8.0.0542: getpos() can return a negative line number

Problem:    getpos() can return a negative line number. (haya14busa)
Solution:   Handle a zero topline and botline. (closes #1613)

8 years agopatch 8.0.0541: compiler warning on MS-Windows v8.0.0541
Bram Moolenaar [Mon, 3 Apr 2017 19:35:42 +0000 (21:35 +0200)]
patch 8.0.0541: compiler warning on MS-Windows

Problem:    Compiler warning on MS-Windows.
Solution:   Add a type cast. (Mike Williams)

8 years agopatch 8.0.0540: building unit tests fails v8.0.0540
Bram Moolenaar [Sun, 2 Apr 2017 16:19:53 +0000 (18:19 +0200)]
patch 8.0.0540: building unit tests fails

Problem:    Building unit tests fails.
Solution:   Move params outside of #ifdef.

8 years agopatch 8.0.0539: startup test fails on Mac v8.0.0539
Bram Moolenaar [Sun, 2 Apr 2017 15:21:16 +0000 (17:21 +0200)]
patch 8.0.0539: startup test fails on Mac

Problem:    Startup test fails on Mac.
Solution:   Use another term name, "unknown" is known. Avoid a 2 second delay.

8 years agopatch 8.0.0538: no test for falling back to default term value v8.0.0538
Bram Moolenaar [Sun, 2 Apr 2017 14:54:09 +0000 (16:54 +0200)]
patch 8.0.0538: no test for falling back to default term value

Problem:    No test for falling back to default term value.
Solution:   Add a test.

8 years agopatch 8.0.0537: illegal memory access with :z and large count v8.0.0537
Bram Moolenaar [Sun, 2 Apr 2017 13:45:17 +0000 (15:45 +0200)]
patch 8.0.0537: illegal memory access with :z and large count

Problem:    Illegal memory access with :z and large count.
Solution:   Check for number overflow, using long instead of int. (Dominique
            Pelle, closes #1612)

8 years agopatch 8.0.0536: quickfix window not updated when freeing quickfix stack v8.0.0536
Bram Moolenaar [Sun, 2 Apr 2017 13:15:49 +0000 (15:15 +0200)]
patch 8.0.0536: quickfix window not updated when freeing quickfix stack

Problem:    Quickfix window not updated when freeing quickfix stack.
Solution:   Update the quickfix window. (Yegappan Lakshmanan)

8 years agopatch 8.0.0535: memory leak when exiting from within a user function v8.0.0535
Bram Moolenaar [Sat, 1 Apr 2017 19:21:30 +0000 (21:21 +0200)]
patch 8.0.0535: memory leak when exiting from within a user function

Problem:    Memory leak when exiting from within a user function.
Solution:   Clear the function call stack on exit.

8 years agopatch 8.0.0534: defaults.vim does not work well with tiny features v8.0.0534
Bram Moolenaar [Sat, 1 Apr 2017 14:59:29 +0000 (16:59 +0200)]
patch 8.0.0534: defaults.vim does not work well with tiny features

Problem:    Defaults.vim does not work well with tiny features. (crd477)
Solution:   When the +eval feature is not available always reset 'compatible'.

8 years agopatch 8.0.0533: abbreviation doesn't work after backspacing newline v8.0.0533
Bram Moolenaar [Sat, 1 Apr 2017 13:15:52 +0000 (15:15 +0200)]
patch 8.0.0533: abbreviation doesn't work after backspacing newline

Problem:    Abbreviation doesn't work after backspacing newline. (Hkonrk)
Solution:   Set the insert start column. (closes #1609)

8 years agopatch 8.0.0532: test with long directory name fails on Mac v8.0.0532
Bram Moolenaar [Sat, 1 Apr 2017 12:13:14 +0000 (14:13 +0200)]
patch 8.0.0532: test with long directory name fails on Mac

Problem:    Test with long directory name fails on Mac.
Solution:   Skip the test on Mac systems.

8 years agopatch 8.0.0531: test with long directory name fails on non-unix systems v8.0.0531
Bram Moolenaar [Fri, 31 Mar 2017 21:32:53 +0000 (23:32 +0200)]
patch 8.0.0531: test with long directory name fails on non-unix systems

Problem:    Test with long directory name fails on non-unix systems.
Solution:   Skip the test on non-unix systems.

8 years agopatch 8.0.0530: buffer overflow when 'columns' is very big v8.0.0530
Bram Moolenaar [Fri, 31 Mar 2017 20:27:12 +0000 (22:27 +0200)]
patch 8.0.0530: buffer overflow when 'columns' is very big

Problem:    Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
Solution:   Correctly compute where to truncate.  Fix translation.
            (closes #1600)

8 years agopatch 8.0.0529: line in test commented out v8.0.0529
Bram Moolenaar [Thu, 30 Mar 2017 20:20:29 +0000 (22:20 +0200)]
patch 8.0.0529: line in test commented out

Problem:    Line in test commented out.
Solution:   Uncomment the lines for character classes that were failing before
            8.0.0519. (Dominique Pelle, closes #1599)

8 years agopatch 8.0.0528: highlight wrong text when 'wim' includes "longest" v8.0.0528
Bram Moolenaar [Thu, 30 Mar 2017 20:04:55 +0000 (22:04 +0200)]
patch 8.0.0528: highlight wrong text when 'wim' includes "longest"

Problem:    When 'wildmenu' is set and 'wildmode' has "longest" then the first
            file name is highlighted, even though the text shows the longest
            match.
Solution:   Do not highlight the first match. (LemonBoy, closes #1602)

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)