Justin M. Keyes
644a725725
Merge #10135 from janlazo/vim-8.1.0406
...
vim-patch:8.1.{406,409,417,426}
close #10148
2019-06-09 00:08:44 +02:00
Daniel Hahler
3dd31b2b65
vim-patch:8.1.1491: fix skipping after exception #10164
...
Problem: When skipping over code after an exception was thrown expression
evaluation is aborted after a function call. (Ingo Karkat)
Solution: Do not fail if not executing the expression. (closes vim/vim#4507 )
6064073841
2019-06-08 19:57:54 +02:00
Jan Edmund Lazo
0206f279ba
vim-patch:8.1.0426: accessing invalid memory in SmcOpenConnection()
...
Problem: Accessing invalid memory in SmcOpenConnection().
Solution: Reduce size of errorstring by one. (Dominique Pelle, closes vim/vim#3469 )
4841a7ccae
2019-06-08 10:25:12 -04:00
Jan Edmund Lazo
b868f87310
test/old: ignore defaults.vim assertion
2019-06-08 10:25:12 -04:00
Jan Edmund Lazo
a64e0e6a58
vim-patch:8.1.0417: several command line arguments are not tested
...
Problem: Several command line arguments are not tested.
Solution: Add tests for -m, -M, -R and -Vfile. (Dominique Pelle,
closes vim/vim#3458 )
036b09ca78
2019-06-08 10:25:12 -04:00
Jan Edmund Lazo
a597ea7bcc
vim-patch:8.1.0409: startup test fails on MS-Windows
...
Problem: Startup test fails on MS-Windows.
Solution: Do the Arabic test in silent Ex mode. Loosen the check for -V2.
4b1c9a91b5
2019-06-08 10:25:12 -04:00
Jan Edmund Lazo
de16b6dc7a
vim-patch:8.1.0406: several command line arguments are not tested
...
Problem: Several command line arguments are not tested.
Solution: Add tests for -A, -F, -H, -p and -V. (Dominique Pelle,
closes vim/vim#3446 )
9e81db9742
2019-06-08 10:25:12 -04:00
Daniel Hahler
b398b1eedd
vim-patch.sh: use --no-backup-if-mismatch [ci skip] #10156
2019-06-08 15:06:16 +02:00
Daniel Hahler
a11fb248ef
vim-patch:8.1.0830: test leaves directory behind #10152
...
Problem: Test leaves directory behind on MS-Windows.
Solution: Close buffer before deleting directory.
e3d0654544
2019-06-08 14:57:20 +02:00
Jaskaran Singh
d646fe73ac
vim-patch:8.1.1199: no test for :abclear #9936
...
Problem: No test for :abclear.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4292 )
8485be4e49
2019-06-08 14:53:32 +02:00
Justin M. Keyes
d486ea37b2
Merge #10151 from blueyed/vim-8.1.0807
...
vim-patch:8.1.{0807,0813}
2019-06-08 14:46:16 +02:00
Daniel Hahler
766657320a
vim-patch.sh: improve patching [ci skip] #10154
...
(fuzz, unified, exit)
Fixes https://github.com/neovim/neovim/issues/10143
2019-06-08 14:42:17 +02:00
Justin M. Keyes
230e75b63f
Merge #10149 from blueyed/vim-8.1.0430
...
vim-patch:8.1.{0430,0529}
2019-06-08 14:19:35 +02:00
Daniel Hahler
bf16b14f46
vim-patch.sh: improve performance #10137
...
`vim-patch.sh -L`: down to ~0.5s from ~85s.
`vim-patch.sh -l`: down to ~6s from ~90s.
% diff old new:
193c193
< • v8.0.1366
---
> • v8.0.1367
354d353
< • v8.0.1738
This is due to duplicate tags for Vim commits
(https://github.com/vim/vim/issues/4510 ):
- vim/vim@1ad022a9b : tagged as v8.0.1367, v8.0.1366
- vim/vim@5d69da462 : tagged as v8.0.1739, v8.0.1738
2019-06-08 14:18:35 +02:00
Daniel Hahler
25ec0c8805
vim-patch.sh: fix shellcheck issues [ci skip] #10138
2019-06-08 14:02:30 +02:00
Daniel Hahler
192460e6b6
vim-patch:8.1.0813: FileChangedShell not sufficiently tested
...
Problem: FileChangedShell not sufficiently tested.
Solution: Add a more comprehensive test case.
0566e891f7
2019-06-08 13:59:19 +02:00
Daniel Hahler
40dee0c82e
vim-patch:8.1.0807: session test fails on MS-Windows
...
Problem: Session test fails on MS-Windows.
Solution: Don't try creating file with illegal name.
9e79ccbe9c
2019-06-08 13:55:13 +02:00
Daniel Hahler
7810c7ab76
vim-patch:8.1.0529: flaky test sometimes fails in different ways
...
Problem: Flaky test sometimes fails in different ways.
Solution: When the second run gives a different error, try running the test
again, up to five times.
f77af0e613
2019-06-08 13:49:56 +02:00
Daniel Hahler
ce1b4f95fe
vim-patch:8.1.0430: Xargadd file left behind after running test
...
Problem: Xargadd file left behind after running test.
Solution: Delete the file. (Dominique Pelle)
d339828b4b
2019-06-08 13:46:16 +02:00
Justin M. Keyes
faec6fcc6a
Merge #10141 from blueyed/vim-8.0.1335
...
vim-patch:8.0.{1335,1339,1744}
2019-06-08 13:09:35 +02:00
Daniel Hahler
78df9eb51d
vim-patch:1ebff3dc9 #10144
...
patch 8.1.0158: GUI: input() fails if CTRL-C was pressed before
Problem: GUI: input() fails if CTRL-C was pressed before. (Michael Naumann)
Solution: call vpeekc() to drop the CTRL-C from the input stream.
1ebff3dc93
2019-06-08 13:02:26 +02:00
Daniel Hahler
7d542b5900
Test_writefile_sync_dev_stdout: use s for sync explicitly
2019-06-08 10:56:06 +02:00
Daniel Hahler
b6eeb40d19
vim-patch:9980b37a80
...
patch 8.0.1744: on some systems /dev/stdout isn't writable
Problem: On some systems /dev/stdout isn't writable.
Solution: Skip test if writing is not possible. (James McCoy, closes vim/vim#2830 )
9980b37a80
2019-06-08 10:56:06 +02:00
Daniel Hahler
5972ff0056
vim-patch:83799a7b7
...
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 vim/vim#2373 )
83799a7b74
2019-06-08 10:53:48 +02:00
Daniel Hahler
17528fff0c
vim-patch:291a9d15e
...
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 vim/vim#2373 )
291a9d15ed
N/A: Neovim ignores EINVAL already in `file_fsync`
(https://github.com/neovim/neovim/blob/93dc59b1149/src/nvim/os/fileio.c#L232 )
2019-06-08 10:52:45 +02:00
Justin M. Keyes
bb24fec333
defaults: exclude "S" from 'shortmess' #10136
...
ref #6289
2019-06-07 23:11:28 +02:00
Justin M. Keyes
f6f9e4a231
Merge #10114 from erw7/vim-8.1.1270
...
vim-patch:8.1.{0629,1270,1271,1283,1288,1289,1350,1375,1390,1475}
2019-06-07 21:28:53 +02:00
Justin M. Keyes
d583b7c2fa
Merge #10128 from janlazo/vim-8.0.1384
...
vim-patch:8.0.{1384,1412,1414,1669,1702,1784},8.1.0060
2019-06-07 13:15:48 +02:00
Jan Edmund Lazo
e653f39f4f
vim-patch:8.0.1702: leaking memory when autocommands make quickfix list invalid
...
Problem: Leaking memory when autocommands make a quickfix list invalid.
Solution: Call FreeWild(). (Yegappan Lakshmanan)
ee5b94a8ec
2019-06-06 22:43:48 -04:00
Jan Edmund Lazo
bb4e0deaf9
vim-patch:8.1.0060: crash when autocommands delete the current buffer
...
Problem: Crash when autocommands delete the current buffer. (Dominique
Pelle)
Solution: Check that autocommands don't change the buffer.
600323b4ef
2019-06-06 22:43:48 -04:00
Jan Edmund Lazo
7d345a7294
vim-patch:8.0.1784: gvim test gets stuck in dialog
...
Problem: Gvim test gets stuck in dialog.
Solution: Rename the file used.
bc7845da93
2019-06-06 22:43:47 -04:00
Jan Edmund Lazo
fb2b0fa5ba
vim-patch:8.0.1669: :vimgrep may add entries to the wrong quickfix list
...
Problem: :vimgrep may add entries to the wrong quickfix list.
Solution: Use the list identifier. (Yegappan Lakshmanan)
e1bb879f49
2019-06-06 22:43:47 -04:00
Jan Edmund Lazo
0234d579a7
vim-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 vim/vim#2473 )
14a4deb064
2019-06-06 22:43:47 -04:00
Jan Edmund Lazo
427140048b
vim-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 vim/vim#2462 )
1223744849
2019-06-06 22:43:47 -04:00
Jan Edmund Lazo
773c488140
vim-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
vim/vim#2427 )
74240d3feb
2019-06-06 22:43:47 -04:00
erw7
2a4e8a427e
vim-patch:8.1.1475: search string not displayed when 'rightleft' is set
...
Problem: Search string not displayed when 'rightleft' is set.
Solution: Clear the right part of the old text. (closes vim/vim#4488 , closes vim/vim#4489 )
db294adc65
2019-06-07 09:32:49 +09:00
erw7
5263828614
vim-patch:8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often
...
Problem: Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution: Always truncate the search message. Also avoid putting it in the
message history. (closes vim/vim#4413 )
984f031fb0
2019-06-07 09:01:38 +09:00
Jan Edmund Lazo
8e8c7d7544
vim-patch:8.1.1470: new doublewidth Unicode character U32FF #10126
...
Problem: New Unicode character U32FF missing from double-width table.
Solution: Add the character.
6d718c4c38
2019-06-06 11:35:23 +02:00
Björn Linse
3305769eae
Merge pull request #10120 from bfredl/lua_schedule
...
Add lua function vim.schedule(cb) to defer callbacks to main loop
2019-06-05 11:49:39 +02:00
Björn Linse
b684bd05b5
lua: docs and tests for vim.schedule
2019-06-05 10:46:22 +02:00
Andrey Popp
81e1dbca99
lua: add vim.schedule(cb)
...
This executes Lua callback on main loop's event queue so that nvim API
is safe to call.
2019-06-05 10:42:23 +02:00
erw7
ec671c7048
vim-patch:8.1.1390: search stats are off when using count or offset
...
Problem: Search stats are off when using count or offset.
Solution: Recompute the stats when needed. (Masato Nishihata, closes vim/vim#4410 )
8f46e4c4bd
2019-06-05 10:08:45 +09:00
erw7
2d567ac47e
vim-patch:8.1.1350: "W" for wrapping not shown when more than 99 matches
...
Problem: "W" for wrapping not shown when more than 99 matches.
Solution: Adjust check for length. (Masato Nishihata, closes vim/vim#4388 )
dc6855af97
2019-06-05 09:57:38 +09:00
erw7
68202520c6
vim-patch:8.1.1289: may not have enough space to add "W" to search stats
...
Problem: May not have enough space to add "W" to search stats.
Solution: Reserve a bit more space. (Christian Brabandt)
b6cb26ffe1
2019-06-05 09:57:37 +09:00
erw7
287fc076e1
vim-patch:8.1.1288: search stats don't show for mapped command
...
Problem: Search stats don't show for mapped command.
Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian
Brabandt)
9ce3fa828d
2019-06-05 09:57:37 +09:00
erw7
e8ca281d3b
vim-patch:8.1.1283: delaying half a second after the top-bot message
...
Problem: Delaying half a second after the top-bot message.
Solution: Instead of the delay add "W" to the search count.
c7a10b35de
2019-06-05 09:57:25 +09:00
erw7
6cee73195f
vim-patch:8.1.1271: compiler warnings for use of STRNCPY()
...
Problem: Compiler warnings for use of STRNCPY(). (John Marriott)
Solution: Use mch_memmove() instead of STRNCPY().
b3de6c4a76
2019-06-05 09:55:09 +09:00
erw7
777c2a25ce
vim-patch:8.1.1270: cannot see current match position
...
Problem: Cannot see current match position.
Solution: Show "3/44" when using the "n" command and "S" is not in
'shortmess'. (Christian Brabandt, closes vim/vim#4317 )
9dfa313919
2019-06-05 09:54:52 +09:00
Björn Linse
16ee24082f
Merge pull request #10117 from bfredl/ctrl-o_event
...
normal: Don't exit CTRL-O mode after processing K_EVENT
2019-06-04 15:23:40 +02:00
Björn Linse
3adb8a10b1
Merge pull request #9170 from bfredl/lua_cb
...
lua callbacks for nvim_buf_attach
2019-06-04 14:54:44 +02:00