Bram Moolenaar [Thu, 2 Nov 2017 17:19:19 +0000 (18:19 +0100)]
patch 8.0.1249: no error when WaitFor() gets an invalid wrong expression
Problem: No error when WaitFor() gets an invalid wrong expression.
Solution: Do not ignore errors in evaluationg the expression. Fix places
where the expression was wrong.
Bram Moolenaar [Thu, 2 Nov 2017 15:58:00 +0000 (16:58 +0100)]
patch 8.0.1245: when WaitFor() has a wrong expression it just waits a second
Problem: When WaitFor() has a wrong expression it just waits a second,
which goes unnoticed. (James McCoy)
Solution: When WaitFor() times out throw an exception. Fix places where the
expression was wrong.
Bram Moolenaar [Mon, 30 Oct 2017 20:48:41 +0000 (21:48 +0100)]
patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()
Problem: Cannot use a lambda for the skip argument to searchpair().
Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454,
closes #2265)
Bram Moolenaar [Sun, 29 Oct 2017 15:40:30 +0000 (16:40 +0100)]
patch 8.0.1238: incremental search only shows one match
Problem: Incremental search only shows one match.
Solution: When 'incsearch' and and 'hlsearch' are both set highlight all
matches. (haya14busa, closes #2198)
Bram Moolenaar [Sun, 29 Oct 2017 14:26:57 +0000 (15:26 +0100)]
patch 8.0.1237: ":set scroll&" often gives an error
Problem: ":set scroll&" often gives an error.
Solution: Don't use a fixed default value, use half the window height. Add a
test. (Ozaki Kiichi, closes #2104)
Bram Moolenaar [Sat, 28 Oct 2017 19:11:06 +0000 (21:11 +0200)]
patch 8.0.1236: Mac features are confusing
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
Bram Moolenaar [Sat, 28 Oct 2017 17:23:11 +0000 (19:23 +0200)]
patch 8.0.1234: MS-Windows: composing chars are not shown properly
Problem: MS-Windows: composing characters are not shown properly.
Solution: Pass base character and composing characters to the renderer at
once. (Ken Takata, closes #2206)
Bram Moolenaar [Sat, 28 Oct 2017 16:36:48 +0000 (18:36 +0200)]
patch 8.0.1232: MS-Windows users are confused about default mappings
Problem: MS-Windows users are confused about default mappings.
Solution: Don't map keys in the console where they don't work. Add a choice
in the installer to use MS-Windows key bindings or not. (Christian
Brabandt, Ken Takata, closes #2093)
Bram Moolenaar [Mon, 23 Oct 2017 19:53:30 +0000 (21:53 +0200)]
patch 8.0.1214: accessing freed memory when EXITFREE is set
Problem: Accessing freed memory when EXITFREE is set and there is more than
one tab and window. (Dominique Pelle)
Solution: Free options later. Skip redraw when exiting.
Bram Moolenaar [Sun, 22 Oct 2017 12:44:17 +0000 (14:44 +0200)]
patch 8.0.1210: CTRL-G and CTRL-T are ignored with typeahead
Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when
there is typeahead.
Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa,
closes #2233)
Bram Moolenaar [Sun, 22 Oct 2017 12:22:16 +0000 (14:22 +0200)]
patch 8.0.1208: 'statusline' drops empty group with highlight change
Problem: 'statusline' drops empty group with highlight change.
Solution: Do not drop an empty group if it changes highlighting. (Marius
Gedminas, closes #2228)
Bram Moolenaar [Thu, 19 Oct 2017 19:04:37 +0000 (21:04 +0200)]
patch 8.0.1207: profiling skips the first and last script line
Problem: Profiling skips the first and last script line.
Solution: Check for BOM after setting script ID. (Lemonboy, closes #2103,
closes #2112) Add a test. List the trailing script lines.
Bram Moolenaar [Sun, 15 Oct 2017 20:42:23 +0000 (22:42 +0200)]
patch 8.0.1202: :wall gives an errof for a terminal window
Problem: :wall gives an errof for a terminal window. (Marius Gedminas)
Solution: Don't try writing a buffer that can't be written. (Yasuhiro
Matsumoto, closes #2190)
Bram Moolenaar [Sat, 14 Oct 2017 17:05:44 +0000 (19:05 +0200)]
patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Problem: MS-Windows: missing 32 and 64 bit files in installer.
Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove
old Windows code from the installer. (Ken Takata, closes #2144)
Bram Moolenaar [Sat, 14 Oct 2017 14:06:20 +0000 (16:06 +0200)]
patch 8.0.1190: unusable after opening new window in BufWritePre event
Problem: Vim becomes unusable after opening new window in BufWritePre
event.
Solution: Call not_exiting(). (Martin Tournoij, closes #2205)
Also for "2q" when a help window is open. Add a test.
Bram Moolenaar [Thu, 12 Oct 2017 19:29:22 +0000 (21:29 +0200)]
patch 8.0.1186: still quite a few old style tests
Problem: Still quite a few old style tests.
Solution: Convert old to new style tests. (Yegappan Lakshmanan)
Avoid ringing the bell while running tests.
Bram Moolenaar [Sat, 7 Oct 2017 18:03:23 +0000 (20:03 +0200)]
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Problem: Test_popup_and_window_resize() does not always pass.
Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file.
(Ozaki Kiichi, closes #2186)
Bram Moolenaar [Sat, 7 Oct 2017 15:35:09 +0000 (17:35 +0200)]
patch 8.0.1177: in a terminal window the popup menu is not cleared
Problem: In a terminal window the popup menu is not cleared. (Gerry
Agbobada)
Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes
#2194)
patch 8.0.1168: wrong highlighting with combination of match and 'cursorline'
Problem: wrong highlighting with combination of match and 'cursorline'.
Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111)
But don't highlight more than one character.
patch 8.0.1164: changing StatusLine highlight does not always work
Problem: Changing StatusLine highlight while evaluating 'statusline' may
not change the status line color.
Solution: When changing highlighting while redrawing don't cause another
redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120)
patch 8.0.1161: popup menu drawing problem when resizing terminal
Problem: Popup menu drawing problem when resizing terminal.
Solution: Redraw after resizing also when a popup menu is visible. (Ozaki
Kiichi, closes #2110)