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.
v8.0.1409
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 )
v8.0.1408
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.
v8.0.1407
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 )
v8.0.1406
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 )
v8.0.1405
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 )
v8.0.1404
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.
v8.0.1403
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 )
v8.0.1402
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 )
v8.0.1401
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 )
v8.0.1400
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.
v8.0.1399
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.
v8.0.1398
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.
v8.0.1397
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".
v8.0.1396
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)
v8.0.1395
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 )
v8.0.1394
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.
v8.0.1393
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 )
v8.0.1392
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 )
v8.0.1391
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 )
v8.0.1390
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 )
v8.0.1389
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 )
v8.0.1388
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 )
v8.0.1387
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 )
v8.0.1386
2017-12-10 21:06:22 +01:00
Bram Moolenaar
59eb016dff
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 )
v8.0.1385
2017-12-10 18:17:44 +01:00
Bram Moolenaar
74240d3feb
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 )
v8.0.1384
2017-12-10 15:26:15 +01:00
Bram Moolenaar
35c5e8155d
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.
v8.0.1383
2017-12-09 21:10:13 +01:00
Bram Moolenaar
f405c8fe85
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.
v8.0.1382
2017-12-09 19:51:49 +01:00
Bram Moolenaar
620ca2da37
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)
v8.0.1381
2017-12-09 19:13:13 +01:00
Bram Moolenaar
05684310a5
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.
v8.0.1380
2017-12-09 15:11:24 +01:00
Bram Moolenaar
e4b78e2a42
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)
v8.0.1379
2017-12-07 22:29:11 +01:00
Bram Moolenaar
3388d33457
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 )
v8.0.1378
2017-12-07 22:23:04 +01:00
Bram Moolenaar
6e65d594aa
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.
v8.0.1377
2017-12-07 22:11:27 +01:00
Bram Moolenaar
23c1b2b018
patch 8.0.1376: cursor in terminal not always updated
...
Problem: Cursor in terminal not always updated.
Solution: Call gui_mch_flush(). (Ken Takata)
v8.0.1376
2017-12-05 21:32:33 +01:00
Bram Moolenaar
415a6939a4
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 )
v8.0.1375
2017-12-05 20:31:07 +01:00
Bram Moolenaar
5fe6bdf858
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 )
v8.0.1374
2017-12-05 17:22:12 +01:00
Bram Moolenaar
3767c6e9ee
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 )
v8.0.1373
2017-12-05 16:57:56 +01:00
Bram Moolenaar
ac112f01a6
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 )
v8.0.1372
2017-12-05 16:46:28 +01:00
Bram Moolenaar
feeb4d0901
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 )
v8.0.1371
2017-12-05 15:14:46 +01:00
Bram Moolenaar
1eca6f13d6
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.
v8.0.1370
2017-12-05 14:04:27 +01:00
Bram Moolenaar
92467d3351
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 )
v8.0.1369
2017-12-05 13:22:16 +01:00
Bram Moolenaar
ce6179c799
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 )
v8.0.1368
2017-12-05 13:06:16 +01:00
Bram Moolenaar
461fe50fea
patch 8.0.1367: terminal test hangs, executing abcde
...
Problem: terminal test hangs, executing abcde. (Stucki)
Solution: Rename abcde to abxde.
v8.0.1367
2017-12-05 12:30:03 +01:00
Bram Moolenaar
1ad022a9b8
patch 8.0.1367
v8.0.1366
2017-12-03 18:20:32 +01:00
Bram Moolenaar
24820691e6
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.
v8.0.1365
2017-12-02 16:38:12 +01:00
Bram Moolenaar
22044dc317
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().
v8.0.1364
2017-12-02 15:43:37 +01:00
Bram Moolenaar
af903e5d49
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 )
v8.0.1363
2017-12-02 15:11:22 +01:00
Bram Moolenaar
a7c54cfcf8
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 )
v8.0.1362
2017-12-01 21:07:20 +01:00