Bram Moolenaar [Sun, 19 Nov 2017 19:34:59 +0000 (20:34 +0100)]
patch 8.0.1321: can't build huge version with Athena
Problem: Can't build huge version with Athena. (Mark Kelly)
Solution: Move including beval.h to before structs.h. Include beval.pro like
other proto files.
Bram Moolenaar [Sun, 19 Nov 2017 18:56:27 +0000 (19:56 +0100)]
patch 8.0.1318: terminal balloon only shows one line
Problem: Terminal balloon only shows one line.
Solution: Split into several lines in a clever way. Add balloon_split().
Make balloon_show() accept a list in the terminal.
Bram Moolenaar [Sat, 18 Nov 2017 21:13:31 +0000 (22:13 +0100)]
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
Bram Moolenaar [Sat, 18 Nov 2017 17:52:04 +0000 (18:52 +0100)]
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
Bram Moolenaar [Sat, 18 Nov 2017 13:55:23 +0000 (14:55 +0100)]
patch 8.0.1308: the "Reading from stdin" message may be undesired
Problem: The "Reading from stdin" message may be undesired and there is no
easy way to skip it.
Solution: Don't show the message with --not-a-term was used.
Bram Moolenaar [Thu, 16 Nov 2017 16:03:45 +0000 (17:03 +0100)]
patch 8.0.1300: file permissions may end up wrong when writing
Problem: File permissions may end up wrong when writing.
Solution: Use fchmod() instead of chmod() when possible. Don't truncate
until we know we can change the file.
Bram Moolenaar [Sat, 11 Nov 2017 22:37:08 +0000 (23:37 +0100)]
patch 8.0.1290: seq_cur of undotree() wrong after undo
Problem: seq_cur of undotree() wrong after undo.
Solution: Get the actual sequence number instead of decrementing the current
one. (Ozaki Kiichi, closes #2319)
Bram Moolenaar [Sat, 11 Nov 2017 15:45:19 +0000 (16:45 +0100)]
patch 8.0.1287: temp file used for viminfo may have wrong permissions
Problem: The temp file used when updating the viminfo file may have the
wrong permissions if setting the group fails.
Solution: Check if the group matches and reduce permissions if not.
Bram Moolenaar [Thu, 9 Nov 2017 18:45:48 +0000 (19:45 +0100)]
patch 8.0.1279: initializing menus can be slow
Problem: Initializing menus can be slow, especially when there are many
keymaps, color schemes, etc.
Solution: Do the globbing for runtime files lazlily. (Ken Takata)
Bram Moolenaar [Thu, 9 Nov 2017 17:33:29 +0000 (18:33 +0100)]
patch 8.0.1278: GUI window always resizes when adding scrollbar
Problem: GUI window always resizes when adding/removing a scrollbar,
toolbar, etc.
Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
change the number of lines/columns instead. (Ychin, closes #703)
Bram Moolenaar [Thu, 9 Nov 2017 16:33:11 +0000 (17:33 +0100)]
patch 8.0.1277: terminal window CR-NL conversions may cause problems
Problem: Terminal window CR-NL conversions may cause problems.
Solution: Avoid most conversions, only fetch the current backspace key value
from the tty. (mostly by Ozaki Kiichi, closes #2278)
Bram Moolenaar [Thu, 9 Nov 2017 12:21:58 +0000 (13:21 +0100)]
patch 8.0.1276: key lost when window closed in exit callback
Problem: Typed key is lost when the terminal window is closed in exit
callback. (Gabriel Barta)
Solution: When the current window changes bail out of the wait loop. (closes
#2302)
Bram Moolenaar [Sat, 4 Nov 2017 20:35:01 +0000 (21:35 +0100)]
patch 8.0.1263: others can read the swap file if a user is careless
Problem: Others can read the swap file if a user is careless with his
primary group.
Solution: If the group permission allows for reading but the world
permissions doesn't, make sure the group is right.
Bram Moolenaar [Sat, 4 Nov 2017 17:48:43 +0000 (18:48 +0100)]
patch 8.0.1259: search test can be flaky
Problem: Search test can be flaky.
Solution: Use WaitFor() instead of a delay. Make it possible to pass a
funcref to WaitFor() to avoid the need for global variables.
(James McCoy, closes #2282)
Bram Moolenaar [Thu, 2 Nov 2017 18:08:48 +0000 (19:08 +0100)]
patch 8.0.1250: 'hlsearch' highlighting not removed after incsearch
Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill)
Solution: Redraw all windows. Start search at the end of the match. Improve
how CTRL-G works with incremental search. Add tests. (Christian
Brabandt, Hirohito Higashi, haya14busa, closes #2267)
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)