Bram Moolenaar [Fri, 22 Dec 2017 20:06:56 +0000 (21:06 +0100)]
patch 8.0.1421: accessing invalid memory with overlong byte sequence
Problem: Accessing invalid memory with overlong byte sequence.
Solution: Check for NUL character. (test by Dominique Pelle, closes #2485)
Bram Moolenaar [Thu, 21 Dec 2017 19:54:49 +0000 (20:54 +0100)]
patch 8.0.1420: accessing freed memory in vimgrep
Problem: Accessing freed memory in vimgrep.
Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan,
closes #2474)
Bram Moolenaar [Thu, 21 Dec 2017 19:27:47 +0000 (20:27 +0100)]
patch 8.0.1419: cursor column is not updated after ]s
Problem: Cursor column is not updated after ]s. (Gary Johnson)
Solution: Set the curswant flag.
Bram Moolenaar [Wed, 20 Dec 2017 21:32:20 +0000 (22:32 +0100)]
patch 8.0.1418: no test for expanding backticks
Problem: No test for expanding backticks.
Solution: Add a test. (Dominique Pelle, closes #2479)
Bram Moolenaar [Tue, 19 Dec 2017 21:25:40 +0000 (22:25 +0100)]
patch 8.0.1417: test doesn't search for a sentence
Problem: Test doesn't search for a sentence. Still fails when searching for
start of sentence. (Dominique Pelle)
Solution: Add paren. Check for MAXCOL in dec().
Bram Moolenaar [Tue, 19 Dec 2017 20:23:21 +0000 (21:23 +0100)]
patch 8.0.1416: crash when searching for a sentence
Problem: Crash when searching for a sentence.
Solution: Return NUL when getting character at MAXCOL. (closes #2468)
Bram Moolenaar [Tue, 19 Dec 2017 18:42:41 +0000 (19:42 +0100)]
patch 8.0.1415: warning for unused function without timers feature
Problem: Warning for unused function without timers feature.
Solution: Add #ifdef. (John Marriott)
Bram Moolenaar [Tue, 19 Dec 2017 15:48:55 +0000 (16:48 +0100)]
patch 8.0.1414: accessing freed memory in :lfile.
Problem: Accessing freed memory in :lfile.
Solution: Get the current window after executing autocommands. (Yegappan
Lakshmanan, closes #2473)
Bram Moolenaar [Tue, 19 Dec 2017 15:41:14 +0000 (16:41 +0100)]
patch 8.0.1413: accessing freed memory in :cbuffer
Problem: Accessing freed memory in :cbuffer.
Solution: Get quickfix list after executing autocmds. (closes #2470)
Bram Moolenaar [Tue, 19 Dec 2017 11:38:52 +0000 (12:38 +0100)]
patch 8.0.1412: using free memory using setloclist()
Problem: Using free memory using setloclist(). (Dominique Pelle)
Solution: Mark location list context as still in use when needed. (Yegappan
Lakshmanan, closes #2462)
Bram Moolenaar [Tue, 19 Dec 2017 11:27:23 +0000 (12:27 +0100)]
patch 8.0.1411: reading invalid memory with CTRL-W :
Problem: Reading invalid memory with CTRL-W :.
Solution: Correct the command characters. (closes #2469)
Bram Moolenaar [Tue, 19 Dec 2017 10:55:26 +0000 (11:55 +0100)]
patch 8.0.1410: hang when using count() with an empty string
Problem: Hang when using count() with an empty string.
Solution: Return zero for an empty string. (Dominique Pelle, closes #2465)
Bram Moolenaar [Tue, 19 Dec 2017 09:49:34 +0000 (10:49 +0100)]
patch 8.0.1409: buffer overflow in :tags command
Problem: Buffer overflow in :tags command.
Solution: Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475)
Add a test.
Bram Moolenaar [Tue, 19 Dec 2017 09:22:19 +0000 (10:22 +0100)]
patch 8.0.1408: crash in setqflist()
Problem: Crash in setqflist().
Solution: Check for string to be NULL. (Dominique Pelle, closes #2464)
Bram Moolenaar [Tue, 19 Dec 2017 09:02:43 +0000 (10:02 +0100)]
patch 8.0.1407: GUI: CursorHold may trigger before 'updatetime'
Problem: GUI: CursorHold may trigger before 'updatetime' when using timers.
Solution: Check that 'updatetime' has passed.
Bram Moolenaar [Mon, 18 Dec 2017 18:48:58 +0000 (19:48 +0100)]
patch 8.0.1406: difficult to track changes to a quickfix list
Problem: Difficult to track changes to a quickfix list.
Solution: Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460)
Bram Moolenaar [Mon, 18 Dec 2017 17:14:47 +0000 (18:14 +0100)]
patch 8.0.1405: duplicated code for getting a typed character
Problem: Duplicated code for getting a typed character. CursorHold is
called too often in the GUI. (lilydjwg)
Solution: Refactor code to move code up from mch_inchar(). Don't fire
CursorHold if feedkeys() was used. (closes #2451)
Bram Moolenaar [Mon, 18 Dec 2017 15:21:44 +0000 (16:21 +0100)]
patch 8.0.1404: invalid memory access on exit
Problem: Invalid memory access on exit when autocommands wipe out a buffer.
(gy741, Dominique Pelle)
Solution: Check if the buffer is still valid. (closes #2449)
Bram Moolenaar [Mon, 18 Dec 2017 14:33:00 +0000 (15:33 +0100)]
patch 8.0.1403: using freed buffer in grep command
Problem: Using freed buffer in grep command. (gy741, Dominique Pelle)
Solution: Lock the dummy buffer to avoid autocommands wiping it out.
Bram Moolenaar [Mon, 18 Dec 2017 11:37:55 +0000 (12:37 +0100)]
patch 8.0.1402: crash with nasty autocommand
Problem: Crash with nasty autocommand. (gy741, Dominique Pelle)
Solution: Check that the new current buffer isn't wiped out. (closes #2447)
Bram Moolenaar [Sun, 17 Dec 2017 20:54:55 +0000 (21:54 +0100)]
patch 8.0.1401: cannot build with GTK but without XIM
Problem: Cannot build with GTK but without XIM. (Guido)
Solution: Adjust #ifdef. (closes #2461)
Bram Moolenaar [Sun, 17 Dec 2017 16:17:07 +0000 (17:17 +0100)]
Update runtime files
Bram Moolenaar [Sun, 17 Dec 2017 15:11:09 +0000 (16:11 +0100)]
patch 8.0.1400: color scheme check script shows up as color scheme
Problem: Color scheme check script shows up as color scheme.
Solution: Move it to the "tools" subdirectory. (closes #2457)
Bram Moolenaar [Sun, 17 Dec 2017 13:55:01 +0000 (14:55 +0100)]
patch 8.0.1399: warnings and errors when building tiny version
Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
Solution: Add #ifdefs.
Bram Moolenaar [Sun, 17 Dec 2017 13:26:46 +0000 (14:26 +0100)]
patch 8.0.1398: :packadd does not load packages from the "start" directory
Problem: :packadd does not load packages from the "start" directory.
(Alejandro Hernandez)
Solution: Make :packadd look in the "start" directory if those packages were
not loaded on startup.
Bram Moolenaar [Sat, 16 Dec 2017 18:59:37 +0000 (19:59 +0100)]
patch 8.0.1397: pattern with \& following nothing gives an error
Problem: Pattern with \& following nothing gives an error.
Solution: Emit an empty node when needed.
Bram Moolenaar [Sat, 16 Dec 2017 18:05:22 +0000 (19:05 +0100)]
patch 8.0.1396: memory leak when CTRL-G in search command line fails
Problem: Memory leak when CTRL-G in search command line fails.
Solution: Move restore_last_search_pattern to after "if".
Bram Moolenaar [Sat, 16 Dec 2017 17:53:35 +0000 (18:53 +0100)]
patch 8.0.1395: it is not easy to see if a colorscheme is well written
Problem: It is not easy to see if a colorscheme is well written.
Solution: Add a script that checks for common mistakes. (Christian Brabandt)
Bram Moolenaar [Sat, 16 Dec 2017 17:27:02 +0000 (18:27 +0100)]
patch 8.0.1394: cannot intercept a yank command
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333)
Bram Moolenaar [Sat, 16 Dec 2017 15:33:44 +0000 (16:33 +0100)]
patch 8.0.1393: too much highlighting with 'hlsearch' and 'incsearch' set
Problem: Too much highlighting with 'hlsearch' and 'incsearch' set.
Solution: Do not highlight matches when the pattern matches everything.
Bram Moolenaar [Sat, 16 Dec 2017 13:37:06 +0000 (14:37 +0100)]
patch 8.0.1392: build fails with --with-features=huge --disable-channel
Problem: Build fails with --with-features=huge --disable-channel.
Solution: Don't enable the terminal feature when the channel feature is
missing. (Dominique Pelle, closes #2453)
Bram Moolenaar [Fri, 15 Dec 2017 20:25:01 +0000 (21:25 +0100)]
patch 8.0.1391: encoding empty string to JSON sometimes gives "null"
Problem: Encoding empty string to JSON sometimes gives "null".
Solution: Handle NULL string as empty string. (closes #2446)
Bram Moolenaar [Thu, 14 Dec 2017 18:56:46 +0000 (19:56 +0100)]
move netrw back to the previous version
Bram Moolenaar [Thu, 14 Dec 2017 12:15:19 +0000 (13:15 +0100)]
patch 8.0.1390: DirectX scrolling can be slow, vertical positioning is off
Problem: DirectX scrolling can be slow, vertical positioning is off.
Solution: Make scroll slightly faster when using "scrlines:1". Fix y
position of displayed text. Fix DirectX with non-utf8 encoding.
(Ken Takata, closes #2440)
Bram Moolenaar [Tue, 12 Dec 2017 21:45:31 +0000 (22:45 +0100)]
patch 8.0.1389: getqflist() items are missing if not set
Problem: getqflist() items are missing if not set, that makes it more
difficult to handle the values.
Solution: When a value is not available return zero or another invalid
value. (Yegappan Lakshmanan, closes #2430)
Bram Moolenaar [Tue, 12 Dec 2017 21:29:30 +0000 (22:29 +0100)]
patch 8.0.1388: char not overwritten with ambiguous width char
Problem: Char not overwritten with ambiguous width char, if the ambiguous
char is single width but we reserve double-width space.
Solution: First clear the screen cells. (Ozaki Kiichi, closes #2436)
Bram Moolenaar [Mon, 11 Dec 2017 21:55:26 +0000 (22:55 +0100)]
patch 8.0.1387: wordcount test is old style
Problem: Wordcount test is old style.
Solution: Change into a new style test. (Yegappan Lakshmanan, closes #2434)
Bram Moolenaar [Sun, 10 Dec 2017 20:06:22 +0000 (21:06 +0100)]
patch 8.0.1386: cannot select modified buffers with getbufinfo()
Problem: Cannot select modified buffers with getbufinfo().
Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431)
Bram Moolenaar [Sun, 10 Dec 2017 17:17:44 +0000 (18:17 +0100)]
patch 8.0.1385: Python 3.5 is getting old
Problem: Python 3.5 is getting old.
Solution: Make Python 3.6 the default. (Ken Takata, closes #2429)
Bram Moolenaar [Sun, 10 Dec 2017 14:26:15 +0000 (15:26 +0100)]
patch 8.0.1384: not enough quickfix help; confusing winid
Problem: Not enough quickfix help; confusing winid.
Solution: Add more examples in the help. When the quickfix window is not
present, return zero for getqflist() with 'winid'. Add more tests
for jumping to quickfix list entries. (Yegappan Lakshmanan, closes
#2427)
Bram Moolenaar [Sat, 9 Dec 2017 20:10:13 +0000 (21:10 +0100)]
patch 8.0.1383: local additions in help skips some files
Problem: Local additions in help skips some files. (joshklod)
Solution: Check the base file name length equals.
Bram Moolenaar [Sat, 9 Dec 2017 18:51:49 +0000 (19:51 +0100)]
patch 8.0.1382: get "no write since last change" message if terminal is open
Problem: Get "no write since last change" message if a terminal is open.
(Fritz mehner)
Solution: Don't consider a buffer changed if it's a terminal window.
Bram Moolenaar [Sat, 9 Dec 2017 18:13:13 +0000 (19:13 +0100)]
patch 8.0.1381: ch_readraw() waits for NL if channel mode is NL
Problem: ch_readraw() waits for NL if channel mode is NL.
Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
Bram Moolenaar [Sat, 9 Dec 2017 14:11:24 +0000 (15:11 +0100)]
patch 8.0.1380: using "vim -r swapfile" the hit-enter prompt is misplaced.
Problem: When recovering a file with "vim -r swapfile" the hit-enter prompt
is at the top of the window.
Solution: Invalidate the cursor position.
Bram Moolenaar [Thu, 7 Dec 2017 21:29:11 +0000 (22:29 +0100)]
patch 8.0.1379: configure check for selinux does not check for header file
Problem: Configure check for selinux does not check for header file.
Solution: Add an AC_CHECK_HEADER(). (Benny Siegert)
Bram Moolenaar [Thu, 7 Dec 2017 21:23:04 +0000 (22:23 +0100)]
patch 8.0.1378: autoload script sources itself when defining function
Problem: Autoload script sources itself when defining function.
Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
Matsumoto, closes #2423)
Bram Moolenaar [Thu, 7 Dec 2017 21:11:27 +0000 (22:11 +0100)]
patch 8.0.1377: cannot call a dict function in autoloaded dict
Problem: Cannot call a dict function in autoloaded dict.
Solution: Call get_lval() passing the read-only flag.
Bram Moolenaar [Tue, 5 Dec 2017 20:32:33 +0000 (21:32 +0100)]
patch 8.0.1376: cursor in terminal not always updated
Problem: Cursor in terminal not always updated.
Solution: Call gui_mch_flush(). (Ken Takata)
Bram Moolenaar [Tue, 5 Dec 2017 19:31:07 +0000 (20:31 +0100)]
patch 8.0.1375: window size wrong after maximizing with WinBar
Problem: Window size wrong after maximizing with WinBar. (Lifepillar)
Solution: Fix height computations. Redraw window when it is zero height but
has a WinBar. (closes #2356)
Bram Moolenaar [Tue, 5 Dec 2017 16:22:12 +0000 (17:22 +0100)]
patch 8.0.1374: CTRL-A does not work with an empty line
Problem: CTRL-A does not work with an empty line. (Alex)
Solution: Decrement the end only once. (Hirohito Higashi, closes #2387)
Bram Moolenaar [Tue, 5 Dec 2017 15:57:56 +0000 (16:57 +0100)]
patch 8.0.1373: no error when settting 'renderoptions' before starting GUI
Problem: No error when settting 'renderoptions' to an invalid value before
starting the GUI.
Solution: Always check the value. (Ken Takata, closes #2413)
Bram Moolenaar [Tue, 5 Dec 2017 15:46:28 +0000 (16:46 +0100)]
patch 8.0.1372: profile log may be truncated halfway a character
Problem: Profile log may be truncated halfway a character.
Solution: Find the start of the character. (Ozaki Kiichi, closes #2385)
Bram Moolenaar [Tue, 5 Dec 2017 14:14:46 +0000 (15:14 +0100)]
patch 8.0.1371: Shift-Insert doesn't always work in MS-Windows console
Problem: Shift-Insert doesn't always work in MS-Windows console.
Solution: Handle K_NUL differently if the second character is more than one
byte. (Yasuhiro Matsumoto, closes #2381)
Bram Moolenaar [Tue, 5 Dec 2017 13:04:27 +0000 (14:04 +0100)]
patch 8.0.1370: channel test for callback is flaky
Problem: Channel test for callback is flaky.
Solution: Add the test to thelist of flaky tests.
Bram Moolenaar [Tue, 5 Dec 2017 12:22:16 +0000 (13:22 +0100)]
patch 8.0.1369: MS-Windows: drawing underline slow, mFallbackDC not updated
Problem: MS-Windows: drawing underline, curl and strike-throw is slow,
mFallbackDC not properly updated.
Solution: Several performance improvements. (Ken Takata, Taro Muraoka,
Yasuhiro Matsumoto, closes #2401)
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 [Tue, 5 Dec 2017 11:30:03 +0000 (12:30 +0100)]
patch 8.0.1367: terminal test hangs, executing abcde
Problem: terminal test hangs, executing abcde. (Stucki)
Solution: Rename abcde to abxde.
Bram Moolenaar [Sun, 3 Dec 2017 17:20:32 +0000 (18:20 +0100)]
patch 8.0.1367
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 [Sat, 2 Dec 2017 14:43:37 +0000 (15:43 +0100)]
patch 8.0.1364: there is no easy way to get the window position
Problem: There is no easy way to get the window position.
Solution: Add win_screenpos().
Bram Moolenaar [Sat, 2 Dec 2017 14:11:22 +0000 (15:11 +0100)]
patch 8.0.1363: recovering does not work when swap file ends in .stz
Problem: Recovering does not work when swap file ends in .stz.
Solution: Check for all possible swap file names. (Elfling, closes #2395,
closes #2396)
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 [Fri, 1 Dec 2017 19:35:58 +0000 (20:35 +0100)]
patch 8.0.1361: some users don't want to diff with hidden buffers
Problem: Some users don't want to diff with hidden buffers.
Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394)
Bram Moolenaar [Thu, 30 Nov 2017 21:07:07 +0000 (22:07 +0100)]
patch 8.0.1360: the Terminal highlighting doesn't work in a terminal
Problem: The Terminal highlighting doesn't work in a terminal. (Ozaki
Kiichi)
Solution: Use the Terminal highlighting when the cterm index is zero.
Bram Moolenaar [Thu, 30 Nov 2017 19:27:52 +0000 (20:27 +0100)]
Update runtime files
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 19:47:40 +0000 (20:47 +0100)]
patch 8.0.1356: using simalt in a GUIEnter autocommand inserts characters
Problem: Using simalt in a GUIEnter autocommand inserts strange characters.
(Chih-Long Chang)
Solution: Ignore K_NOP in Insert mode. (closes #2379)
Bram Moolenaar [Tue, 28 Nov 2017 19:06:10 +0000 (20:06 +0100)]
patch 8.0.1355: cursor keys don't work in MS-Windows console
Problem: Cursor keys don't work in MS-Windows console.
Solution: Revert the previous patch. Also delete dead code.
Bram Moolenaar [Tue, 28 Nov 2017 17:07:59 +0000 (18:07 +0100)]
patch 8.0.1354: Shift-Insert doesn't always work in MS-Windows console
Problem: Shift-Insert doesn't always work in MS-Windows console.
Solution: Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381)
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 [Tue, 28 Nov 2017 13:19:07 +0000 (14:19 +0100)]
patch 8.0.1352: dead URLs in the help go unnoticed
Problem: Dead URLs in the help go unnoticed.
Solution: Add a script to check URLs in the help files. (Christian Brabandt)
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 16:18:06 +0000 (17:18 +0100)]
patch 8.0.1348: make testclean deletes script file on MS-Windows
Problem: Make testclean deletes script file on MS-Windows.
Solution: Rename file to avoid it starting with an "x".
Bram Moolenaar [Sun, 26 Nov 2017 16:08:03 +0000 (17:08 +0100)]
patch 8.0.1347: MS-Windows: build broken by misplaced curly
Problem: MS-Windows: build broken by misplaced curly.
Solution: Move curly after #endif
Bram Moolenaar [Sun, 26 Nov 2017 15:53:16 +0000 (16:53 +0100)]
patch 8.0.1346: crash when passing 50 char string to balloon_split()
Problem: Crash when passing 50 char string to balloon_split().
Solution: Fix off-by-one error.
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:56:16 +0000 (14:56 +0100)]
patch 8.0.1344: using 'imactivatefunc' in the GUI does not work
Problem: Using 'imactivatefunc' in the GUI does not work.
Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.
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 20:07:46 +0000 (21:07 +0100)]
patch 8.0.1342: cannot build with Motif and multi-byte
Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba)
Solution: Use the right input method status flag. (closes #2374)
Bram Moolenaar [Sat, 25 Nov 2017 16:58:28 +0000 (17:58 +0100)]
patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows
Problem: 'imactivatefunc' test fails on MS-Windows.
Solution: Skip the text.
Bram Moolenaar [Sat, 25 Nov 2017 16:48:33 +0000 (17:48 +0100)]
patch 8.0.1340: MS-Windows: cannot build GUI without IME
Problem: MS-Windows: cannot build GUI without IME.
Solution: Define im_get_status() and im_set_active() when IME is not used.
Bram Moolenaar [Sat, 25 Nov 2017 16:24:09 +0000 (17:24 +0100)]
patch 8.0.1339: no test for what 8.0.1335 fixes
Problem: No test for what 8.0.1335 fixes.
Solution: Add a test. (Yasuhiro Matsumoto, closes #2373)
Bram Moolenaar [Sat, 25 Nov 2017 16:14:33 +0000 (17:14 +0100)]
patch 8.0.1338: USE_IM_CONTROL is confusing and incomplete
Problem: USE_IM_CONTROL is confusing and incomplete.
Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
Bram Moolenaar [Sat, 25 Nov 2017 14:24:56 +0000 (15:24 +0100)]
patch 8.0.1337: typo in #ifdef
Problem: Typo in #ifdef.
Solution: Fix the #if line.
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:37:11 +0000 (14:37 +0100)]
patch 8.0.1335: writefile() using fsync() may give an error.
Problem: Writefile() using fsync() may give an error for a device.
(Yasuhiro Matsumoto)
Solution: Ignore fsync() failing. (closes #2373)
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 [Thu, 23 Nov 2017 21:52:09 +0000 (22:52 +0100)]
patch 8.0.1333: some tests are run twice
Problem: Some tests are run twice.
Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan
Lakshmanan, closes #2369)
Bram Moolenaar [Thu, 23 Nov 2017 21:05:45 +0000 (22:05 +0100)]
patch 8.0.1332: highlighting in quickfix window could be better
Problem: Highlighting in quickfix window could be better. (Axel Bender)
Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan)
Bram Moolenaar [Wed, 22 Nov 2017 21:22:11 +0000 (22:22 +0100)]
patch 8.0.1331: possible crash when window can be zero lines high
Problem: Possible crash when window can be zero lines high. (Joseph
Dornisch)
Solution: Only set w_fraction if the window is at least two lines high.
Bram Moolenaar [Tue, 21 Nov 2017 22:09:50 +0000 (23:09 +0100)]
Update runtime files.
Bram Moolenaar [Tue, 21 Nov 2017 17:11:27 +0000 (18:11 +0100)]
patch 8.0.1330: MS-Windows: job in terminal can't get back to Vim
Problem: MS-Windows: job in terminal can't get back to Vim.
Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
#2360)
Bram Moolenaar [Tue, 21 Nov 2017 14:14:51 +0000 (15:14 +0100)]
patch 8.0.1329: when a flaky test fails it also often fails the second time
Problem: When a flaky test fails it also often fails the second time.
Solution: Sleep a couple of seconds before the second try.
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 12:52:14 +0000 (13:52 +0100)]
patch 8.0.1327: new proto file missing from distribution
Problem: New proto file missing from distribution.
Solution: Add it. (closes #2355)
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)