Bram Moolenaar
2ec364e94d
patch 8.0.1432: after ":copen" can't get the window-ID of the quickfix window
...
Problem: After ":copen" can't get the window-ID of the quickfix window.
(FalacerSelene)
Solution: Make it work without a quickfix list. Add a test. (Yegappan
Lakshmanan, closes #2541 )
2018-01-27 11:52:13 +01:00
Bram Moolenaar
0cbcd949e1
patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars
...
Problem: MS-Windows: vimtutor fails if %TMP% has special chars.
Solution: Add quotes. (Tamce, closes #2561 )
2018-01-26 22:22:55 +01:00
Bram Moolenaar
4aad53c369
patch 8.0.1430: crash when term_start() fails
...
Problem: Crash when term_start() fails.
Solution: Initialize winpty_err.
2018-01-26 21:11:03 +01:00
Bram Moolenaar
ede35bbbd0
patch 8.0.1429: crash when calling term_start() with empty argument
...
Problem: Crash when calling term_start() with empty argument.
Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes #2503 )
Fix memory leak.
2018-01-26 20:05:18 +01:00
Bram Moolenaar
200ea8ffaa
patch 8.0.1428: compiler warning on 64 bit MS-Windows system
...
Problem: Compiler warning on 64 bit MS-Windows system.
Solution: Change type from "int" to "size_t". (Mike Williams)
2018-01-02 15:37:46 +01:00
Bram Moolenaar
de04654ddc
patch 8.0.1427: the :leftabove modifier doesn't work for :copen
...
Problem: The :leftabove modifier doesn't work for :copen.
Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496 )
2017-12-26 13:53:11 +01:00
Bram Moolenaar
9e3dfc6501
patch 8.0.1426: "gf" and <cfile> don't accept ? and & in URL
...
Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
Solution: Check for a URL and allow for extra characters. (closes #2493 )
2017-12-25 14:29:18 +01:00
Bram Moolenaar
2095148277
patch 8.0.1425: execute() does not work in completion of user command
...
Problem: execute() does not work in completion of user command. (thinca)
Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492 )
2017-12-25 13:44:43 +01:00
Bram Moolenaar
df980db69b
update a few runtime files
2017-12-24 13:22:00 +01:00
Bram Moolenaar
a47ebdbd22
patch 8.0.1424: the timer_pause test is flaky on Travis
...
Problem: The timer_pause test is flaky on Travis.
Solution: Accept a longer sleep time on Mac.
2017-12-23 18:41:35 +01:00
Bram Moolenaar
fabaf753e2
patch 8.0.1423: error in return not caught by try/catch
...
Problem: Error in return not caught by try/catch.
Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483 )
2017-12-23 17:26:11 +01:00
Bram Moolenaar
45a0000d5c
patch 8.0.1422: no fallback to underline when undercurl is not set
...
Problem: No fallback to underline when undercurl is not set. (Ben Jackson)
Solution: Check for the value to be empty instead of NULL. (closes #2424 )
2017-12-22 21:12:34 +01:00
Bram Moolenaar
e6640ad44e
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 )
2017-12-22 21:06:56 +01:00
Bram Moolenaar
3c09722600
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 )
2017-12-21 20:54:49 +01:00
Bram Moolenaar
b73fa629d6
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.
2017-12-21 20:27:47 +01:00
Bram Moolenaar
ae6f865125
patch 8.0.1418: no test for expanding backticks
...
Problem: No test for expanding backticks.
Solution: Add a test. (Dominique Pelle, closes #2479 )
2017-12-20 22:32:20 +01:00
Bram Moolenaar
1bd999f982
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().
2017-12-19 22:25:40 +01:00
Bram Moolenaar
8ada6aa929
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 )
2017-12-19 21:23:21 +01:00
Bram Moolenaar
4ce46c2a6b
patch 8.0.1415: warning for unused function without timers feature
...
Problem: Warning for unused function without timers feature.
Solution: Add #ifdef. (John Marriott)
2017-12-19 19:42:41 +01:00
Bram Moolenaar
14a4deb064
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 )
2017-12-19 16:48:55 +01:00
Bram Moolenaar
aaf6e43b7a
patch 8.0.1413: accessing freed memory in :cbuffer
...
Problem: Accessing freed memory in :cbuffer.
Solution: Get quickfix list after executing autocmds. (closes #2470 )
2017-12-19 16:41:14 +01:00
Bram Moolenaar
1223744849
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 )
2017-12-19 12:38:52 +01:00
Bram Moolenaar
2efb323e87
patch 8.0.1411: reading invalid memory with CTRL-W :
...
Problem: Reading invalid memory with CTRL-W :.
Solution: Correct the command characters. (closes #2469 )
2017-12-19 12:27:23 +01:00
Bram Moolenaar
338e47fdfd
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 )
2017-12-19 11:55:26 +01:00
Bram Moolenaar
132f75255e
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.
2017-12-19 10:49:34 +01:00
Bram Moolenaar
a0ca7d002d
patch 8.0.1408: crash in setqflist()
...
Problem: Crash in setqflist().
Solution: Check for string to be NULL. (Dominique Pelle, closes #2464 )
2017-12-19 10:22:19 +01:00
Bram Moolenaar
4af031dbc8
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.
2017-12-19 10:02:43 +01:00
Bram Moolenaar
b254af312d
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 )
2017-12-18 19:48:58 +01:00
Bram Moolenaar
c9e649ae81
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 )
2017-12-18 18:14:47 +01:00
Bram Moolenaar
606d45ccd8
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 )
2017-12-18 16:21:44 +01:00
Bram Moolenaar
4fb921e388
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.
2017-12-18 15:33:00 +01:00
Bram Moolenaar
9bca805ec4
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 )
2017-12-18 12:37:55 +01:00
Bram Moolenaar
cb89c98c26
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 )
2017-12-17 21:54:55 +01:00
Bram Moolenaar
f0b03c4e98
Update runtime files
2017-12-17 17:17:07 +01:00
Bram Moolenaar
8ee2d36e21
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 )
2017-12-17 16:11:09 +01:00
Bram Moolenaar
ee219b0e9f
patch 8.0.1399: warnings and errors when building tiny version
...
Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
Solution: Add #ifdefs.
2017-12-17 14:55:01 +01:00
Bram Moolenaar
9e1d399e63
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.
2017-12-17 14:26:46 +01:00
Bram Moolenaar
890dd05492
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.
2017-12-16 19:59:37 +01:00
Bram Moolenaar
a1d5c154db
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".
2017-12-16 19:05:22 +01:00
Bram Moolenaar
200d0e36bc
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)
2017-12-16 18:53:35 +01:00
Bram Moolenaar
7e1652c63c
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 )
2017-12-16 18:27:02 +01:00
Bram Moolenaar
6621605eb9
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.
2017-12-16 16:33:44 +01:00
Bram Moolenaar
8b42328cef
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 )
2017-12-16 14:37:06 +01:00
Bram Moolenaar
b29d328eb4
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 )
2017-12-15 21:25:01 +01:00
Bram Moolenaar
4697399e8c
move netrw back to the previous version
2017-12-14 19:56:46 +01:00
Bram Moolenaar
7f88b65f6c
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 )
2017-12-14 13:15:19 +01:00
Bram Moolenaar
a6d4849c71
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 )
2017-12-12 22:45:31 +01:00
Bram Moolenaar
fae8ed1fc8
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 )
2017-12-12 22:29:30 +01:00
Bram Moolenaar
a703aaee4d
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 )
2017-12-11 22:55:26 +01:00
Bram Moolenaar
8e6a31df81
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 )
2017-12-10 21:06:22 +01:00