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.
Bram Moolenaar [Thu, 9 Feb 2017 19:22:30 +0000 (20:22 +0100)]
patch 8.0.0321: errors when trying to use scripts in tiny version
Problem: When using the tiny version trying to load the matchit plugin
gives an error. On MS-Windows some default mappings fail.
Solution: Add a check if the command used is available. (Christian Brabandt)
Bram Moolenaar [Thu, 9 Feb 2017 16:37:03 +0000 (17:37 +0100)]
patch 8.0.0319: insert mode completion does not respect 'backspace'
Problem: Insert mode completion does not respect "start" in 'backspace'.
Solution: Check whether backspace can go before where insert started.
(Hirohito Higashi)
Bram Moolenaar [Mon, 6 Feb 2017 20:56:09 +0000 (21:56 +0100)]
patch 8.0.0312: failure when a channel receives a split json message
Problem: When a json message arrives in pieces, the start is dropped and
the decoding fails.
Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a
test. Reset the timeout when something is received.
Bram Moolenaar [Sun, 5 Feb 2017 15:07:54 +0000 (16:07 +0100)]
patch 8.0.0308: 'runtimepath' not update correctly when using symbolic link
Problem: When using a symbolic link, the package path will not be inserted
at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
Solution: Resolve symbolic links when finding the right position in
'runtimepath'. (Hirohito Higashi)
Bram Moolenaar [Sun, 5 Feb 2017 14:10:51 +0000 (15:10 +0100)]
patch 8.0.0307: asan detects a memory error when EXITFREE is defined
Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
Pelle)
Solution: In getvcol() check for ml_get_buf() returning an empty string.
Also skip adjusting the scroll position. Set "exiting" in
mch_exit() for all systems.
Bram Moolenaar [Fri, 3 Feb 2017 21:01:47 +0000 (22:01 +0100)]
patch 8.0.0299: a window resize is sometimes not taking effect
Problem: When the GUI window is resized Vim does not always take over the
new size. (Luchr)
Solution: Reset new_p_guifont in gui_resize_shell(). Call
gui_may_resize_shell() in the main loop.