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