Bram Moolenaar [Tue, 7 Mar 2017 23:01:35 +0000 (00:01 +0100)]
patch 8.0.0430: options test fails or hangs on MS-Windows
Problem: Options test fails or hangs on MS-Windows.
Solution: Run it separately instead of part of test_alot. Use "-S" instead
of "-u" to run the script. Fix failures.
Bram Moolenaar [Tue, 7 Mar 2017 20:31:27 +0000 (21:31 +0100)]
patch 8.0.0428: git and hg see new files after running tests
Problem: Git and hg see new files after running tests. (Manuel Ortega)
Solution: Add the generated file to .hgignore (or .gitignore). Delete the
resulting verbose file. (Christian Brabandt) Improve dependency
on opt_test.vim. Reset the 'more' option.
Bram Moolenaar [Sun, 5 Mar 2017 18:44:06 +0000 (19:44 +0100)]
patch 8.0.0423: changing 'cinoptions' does not always work
Problem: The effect of adding "#" to 'cinoptions' is not always removed.
(David Briscoe)
Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)
Bram Moolenaar [Sun, 5 Mar 2017 13:29:12 +0000 (14:29 +0100)]
patch 8.0.0416: setting v:progpath is not quite right
Problem: Setting v:progpath is not quite right.
Solution: On MS-Windows add the extension. On Unix use the full path for a
relative directory. (partly by James McCoy, closes #1531)
Bram Moolenaar [Sat, 4 Mar 2017 17:42:39 +0000 (18:42 +0100)]
patch 8.0.0408: updating folds does not always work properly
Problem: Updating folds does not work properly when inserting a file and a
few other situations.
Solution: Adjust the way folds are updated. (Matthew Malcomson)
Bram Moolenaar [Wed, 1 Mar 2017 17:30:34 +0000 (18:30 +0100)]
patch 8.0.0395: testing the + register fails with Motif
Problem: Testing the + register fails with Motif.
Solution: Also ignore the "failed to create input context" error in the
second gvim. Don't use msg() when it would result in a dialog.
Bram Moolenaar [Wed, 1 Mar 2017 17:04:05 +0000 (18:04 +0100)]
patch 8.0.0394: tabs are not aligned when scrolling horizontally
Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't
fit. (Axel Bender)
Solution: Handle a Tab as a not fitting character. (Christian Brabandt)
Also fix that ":redraw" does not scroll horizontally to show the
cursor. And fix the test that depended on the old behavior.
Bram Moolenaar [Wed, 1 Mar 2017 14:45:05 +0000 (15:45 +0100)]
patch 8.0.0393: order of duplicate tags is not preserved
Problem: When the same tag appears more than once, the order is
unpredictable. (Charles Campbell)
Solution: Besides using a dict for finding duplicates, use a grow array for
keeping the tags in sequence.
Bram Moolenaar [Wed, 1 Mar 2017 11:29:10 +0000 (12:29 +0100)]
patch 8.0.0390: when the window scrolls the popup menu may be garbled
Problem: When the window scrolls horizontally when the popup menu is
displayed part of it may not be cleared. (Neovim issue #6184)
Solution: Remove the menu when the windows scrolled. (closes #1524)
Bram Moolenaar [Tue, 28 Feb 2017 21:51:12 +0000 (22:51 +0100)]
patch 8.0.0389: test for arabic does not check what is displayed
Problem: Test for arabic does not check what is displayed.
Solution: Improve what is asserted. (Dominique Pelle, closes #1523)
Add a first shaping test.
Bram Moolenaar [Tue, 28 Feb 2017 20:53:56 +0000 (21:53 +0100)]
patch 8.0.0388: filtering lines changes folds
Problem: filtering lines through "cat", without changing the line count,
changes manual folds.
Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from
neovim #6194.
Bram Moolenaar [Sun, 26 Feb 2017 18:40:59 +0000 (19:40 +0100)]
patch 8.0.0380: with 'linebreak' double wide char wraps badly
Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide
character results in "<<" displayed.
Solution: Check for the character not to be replaced. (Ozaki Kiichi,
closes #1456)
Bram Moolenaar [Sat, 25 Feb 2017 20:37:57 +0000 (21:37 +0100)]
patch 8.0.0370: invalid memory access when setting wildchar empty
Problem: Invalid memory access when setting wildchar empty.
Solution: Avoid going over the end of the option value. (Dominique Pelle,
closes #1509) Make option test check all number options with
empty value.
Bram Moolenaar [Sat, 25 Feb 2017 20:12:29 +0000 (21:12 +0100)]
patch 8.0.0369: a few options are not defined, depending on features
Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
not defined without the +balloon_eval feature. Testing that an
option value fails does not work for unsupported options.
Solution: Make the options defined but not supported. Don't test if
setting unsupported options fails.
Bram Moolenaar [Sat, 25 Feb 2017 15:01:49 +0000 (16:01 +0100)]
patch 8.0.0367: types in include files may be inconsistent
Problem: If configure defines _LARGE_FILES some include files are included
before it is defined.
Solution: Include vim.h first. (Sam Thursfield, closes #1508)
Bram Moolenaar [Sat, 25 Feb 2017 13:21:10 +0000 (14:21 +0100)]
patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Problem: ]s does not move cursor with two spell errors in one line. (Manuel
Ortega)
Solution: Don't stop search immediately when wrapped, search the line first.
(Ken Takata) Add a test.
Bram Moolenaar [Thu, 23 Feb 2017 13:55:59 +0000 (14:55 +0100)]
patch 8.0.0353: if [RO] is translated it may be truncated
Problem: If [RO] in the status line is translated to a longer string, it is
trunctted to 4 bytes.
Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
Bram Moolenaar [Thu, 23 Feb 2017 11:20:35 +0000 (12:20 +0100)]
patch 8.0.0349: redrawing errors with GTK 3
Problem: Redrawing errors with GTK 3.
Solution: When updating, first clear all rectangles and then draw them.
(Kazunobu Kuriyama, Christian Ludwig, closes #848)
Bram Moolenaar [Wed, 22 Feb 2017 21:04:04 +0000 (22:04 +0100)]
patch 8.0.0348: using shadow dir on Mac lack +clipboard
Problem: When building with a shadow directory on macOS lacks the
+clipboard feature.
Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama)
Bram Moolenaar [Tue, 21 Feb 2017 22:00:36 +0000 (23:00 +0100)]
patch 8.0.0347: when using completion comment leader wont work
Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment
leader may not work. (Klement)
Solution: Save and restore did_ai. (Christian Brabandt, closes #1494)
Bram Moolenaar [Sun, 19 Feb 2017 20:07:04 +0000 (21:07 +0100)]
patch 8.0.0342: double free with EXITFREE and setting 'ttytype'
Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
closes #1461)
Bram Moolenaar [Sun, 19 Feb 2017 14:26:18 +0000 (15:26 +0100)]
patch 8.0.0341: undo does not work properly when using completion
Problem: When using complete() and typing a character undo is saved after
the character was inserted. (Shougo)
Solution: Save for undo before inserting the character.