Jan Edmund Lazo
e6a1bea1eb
vim-patch:8.0.0931: getwininfo() does not indicate a terminal window
...
Problem: getwininfo() does not indicate a terminal window.
Solution: Add "terminal" to the dictionary.
69905d108b
2019-06-13 19:39:55 -04:00
Björn Linse
a0496e3b76
Merge pull request #10221 from bfredl/showcmd_cursor
...
screen: showcmd should never move the cursor
2019-06-13 22:30:50 +02:00
Daniel Hahler
dd21cd2a4d
tests: increase timeout with "timers doesn't mess up the cmdline" ( #10212 )
...
This might be required on (slower) CI.
[ RUN ] timers doesn't mess up the cmdline: ERR
test/functional/ui/screen.lua:562: expected intermediate screen state before final screen state
stack traceback:
test/functional/ui/screen.lua:562: in function '_wait'
test/functional/ui/screen.lua:366: in function 'expect'
.../build/neovim/neovim/test/functional/eval/timer_spec.lua:221: in function <.../build/neovim/neovim/test/functional/eval/timer_spec.lua:199>
Ref: https://travis-ci.org/neovim/neovim/jobs/544974506#L3861
2019-06-13 22:11:33 +02:00
Björn Linse
21cf4b0ce6
screen: showcmd should never move the cursor
...
Also restore the symmetry between grid_puts_line_start and
grid_puts_line_flush.
2019-06-13 20:22:37 +02:00
Daniel Hahler
cc4d463cad
Merge pull request #10202 from blueyed/vim-8.0.1704
...
vim-patch:8.0.1704: 'backupskip' default doesn't work for Mac
Also aligns tests from two previous patched to the ones in upstream.
2019-06-13 14:20:51 +02:00
Harm te Hennepe
424ddd01f5
tui: support rgba background detection ( #10205 )
...
Fixes https://github.com/neovim/neovim/issues/10159 .
2019-06-13 14:14:41 +02:00
Daniel Hahler
66613ace48
vim-patch:8.0.1704: 'backupskip' default doesn't work for Mac
...
Problem: 'backupskip' default doesn't work for Mac.
Solution: Use "/private/tmp". (Rainer Müller, closes vim/vim#2793 )
b8e22a053b
2019-06-13 00:28:16 +02:00
Daniel Hahler
5db3be092a
tests: align tests in test_options to Vim (moved)
2019-06-12 23:08:27 +02:00
Daniel Hahler
6f27f5ef91
main: do event_init before early_init #10183
...
Fixes https://github.com/neovim/neovim/issues/10172
* move log_init to event_init
* move init_signs to end of early_init
2019-06-12 14:22:42 +02:00
Justin M. Keyes
babcf641ef
Merge #10192 from janlazo/vim-8.0.1689
...
vim-patch:8.0.1689,8.1.0213
2019-06-12 08:21:31 +02:00
Jan Edmund Lazo
22d58ab664
vim-patch:8.1.0213: CTRL-W CR does not work properly in a quickfix window
...
Problem: CTRL-W CR does not work properly in a quickfix window.
Solution: Split the window if needed. (Jason Franklin)
0a08c63da1
2019-06-12 00:22:16 -04:00
Jan Edmund Lazo
005316ae41
vim-patch:8.0.1689: no tests for xxd
...
Problem: No tests for xxd.
Solution: Add a test. (Christian Brabandt)
29f9ed20b4
2019-06-11 22:31:21 -04:00
Justin M. Keyes
f8d0e41b28
Merge #10163 from blueyed/vim-8.1.1292
...
vim-patch:8.1.1292: invalid command line arguments not tested
2019-06-11 14:01:09 +02:00
Daniel Hahler
432f69fc09
vim-patch:8.1.1211: test user command code #10162
...
Problem: Not all user command code is tested.
Solution: Add more tests.
e61e548dd6
2019-06-11 13:56:15 +02:00
Daniel Hahler
304861e0ee
adjust tests for nvim
2019-06-11 12:52:17 +02:00
Daniel Hahler
76506ca0a3
vim-patch:8.1.1292: invalid command line arguments not tested
...
Problem: Invalid command line arguments not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4346 )
ba9ea91beb
2019-06-10 18:10:15 +02:00
Daniel Hahler
6fe430f582
local.mk.example: add example for -Werror [ci skip] #10178
2019-06-10 17:20:41 +02:00
erw7
ce90a19abd
TUI: set os/input.c:global_fd to input->in_fd #10174
...
Problem: When we changed startup to wait for the TUI (like a remote UI),
we forgot to set os/input.c:global_fd. That used to be done by
input_start().
Solution: Initialize os/input.c:global_fd before initializing libtermkey
(termkey_new_abstract) so that tui_get_stty_erase() and
friends can inspect the correct fd.
fixes #10134
close #10174
2019-06-10 16:43:52 +02:00
Justin M. Keyes
04e2ba85b1
doc [ci skip] #10129
...
- document lua vim.loop #10123
2019-06-10 15:53:42 +02:00
George Zhao
c83926cd0a
lua: introduce vim.loop (expose libuv event-loop) #10123
...
Co-authored-by: Andrey Popp <8mayday@gmail.com>
closes #9546
closes #10084
2019-06-10 14:13:18 +02:00
Jan Edmund Lazo
3e58e60568
vim-patch:8.0.1278: Add the "k" flag in 'guioptions' #10175
...
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 vim/vim#703 )
8ac441576f
2019-06-10 12:18:59 +02:00
Justin M. Keyes
7612dd3f8a
Merge #10173 from janlazo/vim-8.0.1756
...
vim-patch:8.0.1756,8.1.1509
2019-06-09 22:52:03 +02:00
Jan Edmund Lazo
84ba37fbcb
lint
2019-06-09 16:25:10 -04:00
Jan Edmund Lazo
aecbbb0b11
vim-patch:8.1.1509: cmdline_row can become negative, causing a crash
...
Problem: Cmdline_row can become negative, causing a crash.
Solution: Make sure cmdline_row does not become negagive. (closes vim/vim#4102 )
954bb06363
2019-06-09 16:12:51 -04:00
Jan Edmund Lazo
1ce28d7d9b
vim-patch:8.0.1756: GUI: after prompting for a number the mouse shape is wrong
...
Problem: GUI: after prompting for a number the mouse shape is sometimes
wrong.
Solution: Call setmouse() after setting "State". (Hirohito Higashi,
closes vim/vim#2709 )
73658317ba
2019-06-09 16:02:35 -04:00
Santos Gallegos
6c96c3b3f5
search_stat: show "??/?" dual in right-to-left case #10170
...
Co-Authored-By: James McCoy <jamessan@jamessan.com>
2019-06-09 19:59:44 +02:00
Justin M. Keyes
b397a3f397
Merge #10142 from blueyed/vim-1fbfe7c48
...
vim-patch:8.1.013{0,1}
2019-06-09 16:20:09 +02:00
Daniel Hahler
b74da2ff3e
vim-patch.sh: git-for-each-ref: use strip [ci skip] #10169
...
- It is a synonym for lstrip, which works with older Git versions also
(2.7.4, Ubuntu Xenial).
- exit in case of errors from git-foreach-ref
- msg_err: echo to stderr
Ref: https://github.com/neovim/neovim/pull/10165#issuecomment-500164356
2019-06-09 16:13:06 +02:00
Daniel Hahler
a2bb63c182
vim-patch.sh: improve performance with -l [ci skip] #10165
...
Down to < 1s now also (without get_vim_sources).
2019-06-09 16:01:18 +02:00
Jan Edmund Lazo
0b4c53fc23
vim-patch:8.0.1305: writefile() never calls fsync() #10153
...
Problem: Writefile() never calls fsync().
Solution: Follow the 'fsync' option with override to enable or disable.
7567d0b115
2019-06-09 00:12:28 +02:00
Daniel Hahler
93afb34712
vim-patch:8.1.1191: test debug commands #10158
...
Problem: Not all debug commands are covered by a test.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#4282 )
0fdd943595
2019-06-09 00:10:33 +02:00
Daniel Hahler
bf3e12ac85
vim-patch:8.1.0769: :stop is covered in two tests #10157
...
Problem: :stop is covered in two tests.
Solution: Remove Test_stop_in_terminal(). Make other test exit Vim cleanly.
(Ozaki Kiichi, closes vim/vim#3814 )
3020ccb113
2019-06-09 00:09:35 +02:00
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
Daniel Hahler
7d70166e77
vim-patch:8.1.0131: :profdel is not tested
...
Problem: :profdel is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3123 )
1fbfe7c48c
2019-06-08 16:40:32 +02:00
Daniel Hahler
7823b35781
vim-patch:8.1.0130: ":profdel func" does not work if func was called already
...
Problem: ":profdel func" does not work if func was called already.
(Dominique Pelle)
Solution: Reset uf_profiling and add a flag to indicate initialization was
done.
ad64809610
2019-06-08 16:40:32 +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