erw7
1614e805b3
win/test: tty-test: print screen size explicitly with CTRL-Q
...
tty-test.exe causes abnormal termination with low repeatability, try
changing it so as not to use SIGWINCH.
2017-08-16 09:13:44 +02:00
erw7
4b1f21de75
win: support :terminal
2017-08-16 09:13:43 +02:00
Justin M. Keyes
bb70eec177
Merge #6364 'command-line color hook'
2017-08-16 00:20:37 +02:00
ZyX
b1a8dcefee
lua/executor: Fix crash when first string contains NUL and second not
2017-08-15 17:18:05 +03:00
ZyX
93ef823f5e
lua/executor: Move stricmp to vim “module” and document it
2017-08-15 16:34:51 +03:00
ZyX
96b1600bc8
functests: Add test for stricmp
2017-08-15 16:34:25 +03:00
ZyX
19a28352a9
ex_getln: Make error messages look better
2017-08-14 01:56:48 +03:00
ZyX
0571b8cb0e
functests: Alter comment
2017-08-14 01:22:10 +03:00
ZyX
a5449f79ac
functests: Check that input is correctly silenced
2017-08-14 01:17:16 +03:00
Nikolai Aleksandrovich Pavlov
bf1b1ea6ee
lua/executor: Fix crash when printing empty string ( #7157 )
2017-08-13 17:37:35 +02:00
ZyX
474aa823dc
Merge branch 'master' into colored-cmdline
2017-08-06 15:25:17 +03:00
ZyX
efb03903eb
functests: Remove wait() from input_spec
2017-08-06 14:43:46 +03:00
Justin M. Keyes
3827d5bc71
input: skip dialogs if no UI is active
...
Treat dialogs in the same way as "silent mode" (`nvim -es`).
References #1984
References #3901
2017-08-06 04:22:45 +02:00
Justin M. Keyes
30996359ef
clint: allow starting brace after enum
2017-08-06 02:51:49 +02:00
Justin M. Keyes
efb0aca0ee
test/helpers: disable powershell logo/banner message
2017-08-06 02:51:48 +02:00
Justin M. Keyes
a31482db4d
terminal: block redraw during c_CTRL-D
...
Unlike the normal wildmenu, the CTRL-D wild-list is not restored by
statusline redraw. (Semantics: ^D is controlled by 'wildoptions' option,
so it's in the "wild..." family.)
TODO: externalize the c_CTRL-D wild-list.
2017-08-05 21:32:34 +02:00
Justin M. Keyes
c695443727
win_redr_status(): skip if wildmenu is showing
...
This might be too coarse, but it passes all tests ...
A more nuanced approach might be: only skip the windows whose
statuslines are overwritten by the wildmenu.
Closes #2255
Closes #7108
vim-patch:8.0.0710 N/A because of the changes in this commit.
2017-08-05 21:32:34 +02:00
Justin M. Keyes
92101947fe
test: job_spec.lua: disable shada in test instance
2017-08-04 22:25:39 +02:00
ZyX
fbe60af538
Merge branch 'master' into colored-cmdline
2017-07-31 02:05:02 +03:00
ckelsel
5cd68b3900
vim-patch:8.0.0124 #7092
...
Problem: Internal error for assert_inrange(1, 1).
Solution: Adjust number of allowed arguments. (Dominique Pelle)
3421566376
2017-07-30 14:15:26 +02:00
Justin M. Keyes
3b45f676c0
menu_get(): doc
2017-07-28 02:34:24 +02:00
Matthieu Coudron
dc685387a3
viml: introduce menu_get() function #6322
...
menu_get({path}, {modes}). See :h menu_get.
2017-07-28 01:27:58 +02:00
ZyX
1011462b40
Revert "functests: Replace wait() with nvim_async"
...
This reverts commit e129607988
.
Tests stopped working in CI.
2017-07-27 18:49:13 +03:00
ZyX
c5857e3f38
ex_getln: Cache highlight callback calling results
2017-07-26 22:56:48 +03:00
ZyX
e129607988
functests: Replace wait() with nvim_async
2017-07-26 22:04:39 +03:00
ZyX
1ba21b4a31
functests: Remove unneeded wait()s
2017-07-26 13:02:45 +03:00
ZyX
0a46ae3c0a
functests: Add sleep to <C-c> test
2017-07-18 01:29:41 +03:00
ZyX
25f669049c
functests: Test input() nesting support
2017-07-18 01:17:59 +03:00
ZyX
759f71d50e
functests: Check for previously unchecked errors
2017-07-18 00:34:39 +03:00
ZyX
8a581b918b
ex_getln: Check prev_prompt_errors before running redrawcmdline
...
Otherwise there will be infinite recursion and shortly a crash. Running
redrawcmdline recursively occurs under color_cmdline_error label.
2017-07-18 00:20:21 +03:00
ZyX
cfb1d937a6
api helpers: Also save and restore did_emsg
2017-07-18 00:08:57 +03:00
ZyX
f4744e1821
ex_getln: Do not goto color_cmdline_end without first cleaning up
...
The issue with debug mode was actually not cleaning up after `try_enter`:
location `&tstate` was pointing to got invalidated and received some “garbage”
(actually, values that got stored on the stack afterwards). But pointer to that
garbage was still stored in `msg_list`, so next attempt to check it resulted in
a crash.
2017-07-17 01:55:10 +03:00
Justin M. Keyes
d72db1ac8f
test: mouse_spec: remove obnoxious wait times ( #7029 )
...
helpers.skip_fragile() already skips the problematic tests
on the ASan build. But the 15s timeout plus 5s 'mousetime'
cause the tests to take 1+ minutes anyways.
2017-07-15 18:00:00 +02:00
ZyX
69719e658c
Merge branch 'master' into colored-cmdline
2017-07-15 18:56:45 +03:00
Justin M. Keyes
d15317ece4
health.vim: fix test
2017-07-15 16:15:47 +02:00
James McCoy
d67e48379f
test: shada: Replace hard-coded 704 with dynamic version
2017-07-14 06:44:22 -04:00
Nikolai Aleksandrovich Pavlov
702c94aacf
mbyte: Fix crash when using multibyte chars in maparg() return ( #6986 )
...
This is a refactoring typo from #6947 .
Fixes #6985
Combined with #6947 where typo was made it also fixes vim/vim#1827 which was
present in Neovim.
2017-07-09 10:40:46 +02:00
KillTheMule
619838f85d
inccommand: improve performance #6949
...
During a preview, we can stop looking for matches after we got enough
lines for the preview buffer.
Because of this perf improvement, the 'redrawtime' test needs to be
slowed down in a different way: _long_ lines instead of just many lines.
2017-07-08 17:51:42 +02:00
Justin M. Keyes
0ea7e45bc1
'cpoptions': remove "<" flag; ignore <special>
...
Closes #6937 "nvim_get_keymap output is unreliable"
2017-07-08 16:34:35 +02:00
d10n
69e9cda5ac
i_CTRL-O: fix :startinsert at end of line ( #6963 )
...
The gchar_cursor() == NUL check is already done in ins_ctrl_o.
ins_esc changes gchar_cursor() so this if block is probably never
entered.
Issue:
Pressing CTRL-O in insert mode at the end of the line and typing
:startinsert moves the cursor 1 column back, when I expect the cursor
to remain at the end of the line
This is a regression from Vim behavior. Since at least Vim version 7.0,
Vim returns you to insert mode at the end of the line.
091e7d033c
is the first bad neovim commit
Steps to reproduce using `nvim -u NORC`:
`aaaa<C-o>:startinsert<CR>`
Fixes #6962
2017-07-08 12:50:58 +02:00
James McCoy
773ea9dbdc
Merge pull request #6823 from blueyed/fix-term-stop
...
fix SIGTERM/SIGHUP for jobs
2017-07-07 10:29:49 -04:00
James McCoy
5f5f2ce0de
test: tui_spec: Remove unused is_linux variable
2017-07-07 10:07:53 -04:00
Daniel Hahler
f31c26f1af
jobstop/process_stop: send SIGTERM directly
...
This reverts the revert of #6644 (7c1a5d1d4
), and handles it properly
now (with tests).
2017-07-07 13:11:20 +02:00
Justin M. Keyes
105d680aea
Merge #6816 'TUI improvements'
...
Removed these commits (test-suite changes):
e2fba01910
7c809c4bc7
18e7cd9e97
2017-07-07 00:34:37 +02:00
Justin M. Keyes
1b70a1da04
Merge #6958 from ZyX-I/fix-6957
2017-07-04 21:56:05 +02:00
ZyX
91b9ad7d82
shada: Make sure that code does not attempt to read too long items
...
Fixes #6957
2017-07-04 15:41:59 +03:00
ZyX
2208b64891
functests: Ensure different SIDs on successive source() calls
2017-07-04 15:15:23 +03:00
ZyX
480598dcda
functests: Add some more :echo tests which also check for regression
...
Fixes #6954
2017-07-04 02:38:40 +03:00
ZyX
d113d3d737
functests: Make ex_cmds/echo actually use :echo
2017-07-04 02:22:26 +03:00
ZyX
b199194a2c
functests: Copy eval/string_spec.lua to ex_cmds/echo_spec.lua
2017-07-04 02:06:04 +03:00