Bram Moolenaar [Tue, 5 Dec 2017 12:06:16 +0000 (13:06 +0100)]
patch 8.0.1368: cannot drag status or separator of new terminal window
Problem: Cannot drag status line or vertical separator of new terminal
window. (UncleBill)
Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto,
closes #2410)
Bram Moolenaar [Sat, 2 Dec 2017 15:38:12 +0000 (16:38 +0100)]
patch 8.0.1365: when one channel test fails others fail as well
Problem: When one channel test fails others fail as well.
Solution: Stop the job after a failure. Also add a couple of tests to the
list of flaky tests.
Bram Moolenaar [Fri, 1 Dec 2017 20:07:20 +0000 (21:07 +0100)]
patch 8.0.1362: terminal window colors wrong when using Terminal highlighting
Problem: Terminal window colors wrong when using Terminal highlighting.
Solution: Set ansi_index when setting the default color. Also cache the
color index for Terminal. (Ozaki Kiichi, closes #2393)
Bram Moolenaar [Wed, 29 Nov 2017 21:33:38 +0000 (22:33 +0100)]
patch 8.0.1359: libvterm ANSI colors can not always be recognized
Problem: Libvterm ANSI colors can not always be recognized from the RGB
values. The default color is wrong when t_RB is empty.
Solution: Add the ANSI color index to VTermColor.
Bram Moolenaar [Tue, 28 Nov 2017 20:25:21 +0000 (21:25 +0100)]
patch 8.0.1358: undercurl is not used in the terminal
Problem: Undercurl is not used in the terminal. (Kovid Goyal)
Solution: Only fall back to underline when undercurl highlighting is not
defined. (closes #1306)
Bram Moolenaar [Tue, 28 Nov 2017 20:06:18 +0000 (21:06 +0100)]
patch 8.0.1357: startup test fails on OpenBSD
Problem: Startup test fails on OpenBSD. (Edd Barrett)
Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy,
closes #2376, closes #2378)
Bram Moolenaar [Tue, 28 Nov 2017 17:03:44 +0000 (18:03 +0100)]
patch 8.0.1353: QuickFixCmdPost is not used consistently
Problem: QuickFixCmdPost is not used consistently.
Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
(Yegappan Lakshmanan, closes #2377)
Bram Moolenaar [Mon, 27 Nov 2017 22:24:08 +0000 (23:24 +0100)]
patch 8.0.1351: warning for unused variables building with MinGW
Problem: Warning for unused variables building with MinGW.
Solution: Change a few #ifdefs (suggested by John Marriott). Remove
superfluous checks of FEAT_MBYTE.
Bram Moolenaar [Mon, 27 Nov 2017 21:49:01 +0000 (22:49 +0100)]
patch 8.0.1350: cannot build with +eval and -multi_byte
Problem: Cannot build with +eval and -multi_byte.
Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte
feature when an input method feature is enabled.
Bram Moolenaar [Sun, 26 Nov 2017 22:47:18 +0000 (23:47 +0100)]
patch 8.0.1349: options test fails when using Motif or GTK GUI
Problem: Options test fails when using Motif or GTK GUI.
Solution: Use "fixed" instead of "fixedsys" for Unix. Don't try "xxx" for
guifonteset. Don't set 'termencoding' to anything but "utf-8" for
GTK. Give an error if 'termencoding' can't be converted.
Bram Moolenaar [Sun, 26 Nov 2017 15:50:41 +0000 (16:50 +0100)]
patch 8.0.1345: race condition between stat() and open() for viminfo
Problem: Race condition between stat() and open() for the viminfo temp
file. (Simon Ruderich)
Solution: use open() with O_EXCL to atomically check if the file exists.
Don't try using a temp file, renaming it will fail anyway.
Bram Moolenaar [Sun, 26 Nov 2017 13:29:32 +0000 (14:29 +0100)]
patch 8.0.1343: MS-Windows: does not show colored emojis
Problem: MS-Windows: does not show colored emojis.
Solution: Implement colored emojis. Improve drawing speed. Make 'taamode'
work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375)
Bram Moolenaar [Sat, 25 Nov 2017 14:20:02 +0000 (15:20 +0100)]
patch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim
Problem: Cannot use imactivatefunc() unless compiled with +xim.
Solution: Allow using imactivatefunc() when not compiled with +xim.
(Yasuhiro Matsumoto, closes #2349)
Bram Moolenaar [Sat, 25 Nov 2017 13:19:43 +0000 (14:19 +0100)]
patch 8.0.1334: splitting a window with a WinBar damages window layout
Problem: Splitting a window with a WinBar damages window layout.
(Lifepillar)
Solution: Take the winbar into account when computing the new window
position. Add WINBAR_HEIGHT().
Bram Moolenaar [Tue, 21 Nov 2017 13:47:57 +0000 (14:47 +0100)]
patch 8.0.1328: trouble when using ":term ++close" with autocmd
Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
(closes #2339)
Bram Moolenaar [Tue, 21 Nov 2017 10:43:08 +0000 (11:43 +0100)]
patch 8.0.1326: largefile test fails on CI, glob test on MS-Windows
Problem: Largefile test fails on CI, glob test on MS-Windows.
Solution: Remove largefile test from list of all tests. Don't run
Test_glob() on non-unix systems. More cleanup. (Yegappan
Lakshmanan, closes #2354)
Bram Moolenaar [Mon, 20 Nov 2017 20:49:19 +0000 (21:49 +0100)]
patch 8.0.1323: mouse events in a terminal window may cause endless loop
Problem: Mouse events in a terminal window may cause endless loop.
Solution: Adjust position computation. Don't stuff a mouse event when
coming from normal_cmd().
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)