Justin M. Keyes
fdbb5a8f72
Merge #10208 from janlazo/vim-8.0.0931
...
vim-patch:8.0.{931,933,953}
2019-06-14 04:38:41 -07:00
Jan Edmund Lazo
18b031ea1d
vim-patch:8.0.0953: get "no write since last change" error in terminal window
...
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
f5be7cd016
2019-06-13 22:40:12 -04:00
Jan Edmund Lazo
6efa3bff09
test/old: pass Test_statusline on Windows
2019-06-13 19:39:55 -04:00
Jan Edmund Lazo
47a5456670
vim-patch:8.0.0933: terminal test tries to start GUI when it's not possible
...
Problem: Terminal test tries to start GUI when it's not possible.
Solution: Check if the GUI can run. (James McCoy, closes vim/vim#1971 )
9f0139a2a8
2019-06-13 19:39:55 -04:00
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
erw7
2fbeea8326
Change to not test msg_puts_pirntf() in unix CI
2019-06-09 19:02:52 +09:00
erw7
6cbcca775e
Change to use VV_PROGPATH instead os_exepath()
2019-06-09 19:01:08 +09:00
erw7
da8f7141ce
Add msg_puts_printf() test for multibyte characters
2019-06-09 13:29:51 +09:00
erw7
1fbc01f4ab
Fix problems with message catalog directory
...
- In appimage, the message catalog is not used because there is no
message catalog in LOCALE_INSTALL_DIR. Therefore, change to
exepath/../share/locale instead of LOCALE_INSTALL_DIR.
- The old vim style($runtime/lang) is no longer used. Thus all relevant
code is removed.
2019-06-09 13:28:10 +09:00
erw7
2d6e440877
Remove display_erros()
...
do_shell() in Nvim uses the Nvim UI, not the tty directly, so
display_errors() is not necessary anymore.
2019-06-09 13:28:10 +09:00
erw7
f66ffc64f6
Remove USE_MCH_ERRMSG
...
USE_MCH_ERRMSG has never been defined, so the dead code has been removed.
2019-06-09 13:28:10 +09:00
erw7
6fad1736fb
Change mch_errmsg and mch_msg from macro to function
2019-06-09 13:28:10 +09:00
erw7
53551d823e
Add test for #7967
2019-06-09 13:28:10 +09:00
erw7
9609f327da
Fix garbled problem with msg_puts_printf on Windows
2019-06-09 13:27:54 +09: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