ZyX
24f0056ca5
message: Add support for replacing <
to str2special
2017-07-02 19:37:21 +03:00
ZyX
a1fee487ba
functests: Add tests for new behaviour
...
Apparently it is not working yet.
2017-07-02 19:28:44 +03:00
ZyX
4b8bdd953e
functests: Remove local_copy function
2017-07-02 19:21:21 +03:00
ZyX
df040e55fb
eval/typval: Add tv_dict_add_allocated_str() function
2017-07-02 19:01:09 +03:00
Justin M. Keyes
ca4633bfe4
ci/quickbuild: XXX: disable server_requests test ( #6851 )
...
Temporarily disable this test which hangs quickbuild.
From #6905 : The hang occurs when calling nvim_set_current_line.
References #6594 5a151555c8
2017-07-02 00:30:00 +02:00
KunMing Xie
57d691e81a
test: handle single-char hostname ( #6939 )
2017-07-01 18:48:17 +02:00
ZyX
7ab152aaa5
ex_getln: Save and restore try state
...
Problem: when processing cycle such as
:for pat in [' \ze*', ' \zs*']
: try
: let l = matchlist('x x', pat)
: $put ='E888 NOT detected for ' . pat
: catch
: $put ='E888 detected for ' . pat
: endtry
:endfor
`:let l = …` throwing an error causes this error to be caught after
color_cmdline attempts to get callback for highlighting next line (the one with
`$put = 'E888 NOT…`). Saving/restoring state prevents this from happening.
2017-07-01 15:34:25 +03:00
ZyX
ea75966e42
ex_getln: Do not make <C-c> interrupt input() after interrupting hl cb
2017-06-28 22:54:13 +03:00
ZyX
3da49cd68e
ex_getln: Fix “echoerr msg not shown” problem
...
This also attempted to fix problem with cancelling input() on error by avoiding
standard error printing facilities (assumed thrown error message is the
problem), but with no luck so far.
2017-06-28 22:09:10 +03:00
ZyX
9ccb3abbb5
functests: Uncomment {REDRAW}
part of “works” test
2017-06-28 14:39:52 +03:00
ZyX
5e4976559a
functests: Partially uncomment <C-c> test
2017-06-28 14:34:12 +03:00
ZyX
0ed95423de
ex_getln: Call highlight callback inside :try
2017-06-28 14:26:23 +03:00
ZyX
493d250446
functests: Make “stops executing callback” test work
...
Needed to be adjusted to use input() (previously relied on side-effects of
executing `:cmd`) and dismiss something (hidden “Press ENTER” message?).
2017-06-28 13:58:51 +03:00
ZyX
36a84d8f4a
functests: Fix typo
2017-06-28 13:54:04 +03:00
James McCoy
91749c06dc
Merge pull request #6927 from jamessan/vim-7.4.2259
...
vim-patch:7.4.2259,7.4.2268,7.4.2318,7.4.2320
2017-06-27 03:19:01 +00:00
James McCoy
54d5e90a2b
vim-patch:7.4.2320
...
Problem: Redraw problem when using 'incsearch'.
Solution: Save the current view when deleting characters. (Christian
Brabandt) Fix that the '" mark is set in the wrong position. Don't
change the search start when using BS.
dda933d06c
2017-06-26 22:08:13 -04:00
James McCoy
0dd6455659
vim-patch:7.4.2268
...
Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys.
Solution: Use CTRL-T and CTRL-G instead.
1195669f9e
2017-06-26 22:08:11 -04:00
James McCoy
518b42db91
functests/legacy: Add lua version of test_search.vim
2017-06-26 22:07:28 -04:00
Justin M. Keyes
f34befe74c
Merge #6789 from ZyX-I/lua-path
...
lua: Add paths from &runtimepath to package.path and package.cpath
2017-06-27 02:29:15 +02:00
ZyX
edc2a7ee46
functests: Make tests work with input()
...
There are still some issues: specifically, new “pending” test hangs busted.
2017-06-27 02:15:49 +03:00
ZyX
8e5134784c
functests: Comment out failing test
2017-06-27 01:55:21 +03:00
ZyX
71616fce0b
functests: Abstract away some ways to enter cmdline coloring mode
...
Reason: should actually switch to using input() coloring because other coloring
variants are eventually going away.
2017-06-27 01:54:08 +03:00
ZyX
95fe5614a0
functests: Add missing wait()
2017-06-27 01:34:54 +03:00
ZyX
407abb3a6c
eval,ex_getln: Add support for coloring input() prompts
2017-06-27 01:34:54 +03:00
ZyX
d82741f8c0
ex_getln: Add some more tests, fix some found errors
2017-06-27 01:34:54 +03:00
ZyX
3d25200127
functests: Start adding some tests
2017-06-27 01:34:54 +03:00
ZyX
476c28f433
functests: Fix screen.lua supplying dedent additional argument
2017-06-21 10:58:47 +03:00
ZyX
ae457ff64a
functests: Check that minimal distance between commands works
2017-06-21 10:58:47 +03:00
ZyX
607dc3e0f9
functests: Add tests
2017-06-21 10:58:47 +03:00
ZyX
d5839770ee
functests: Refactor redir_exec
2017-06-20 18:17:47 +03:00
ZyX
e57d4eef88
functests: Move function_spec to eval
2017-06-20 18:17:47 +03:00
Björn Linse
16ae369474
screen.c: make more highlights window specific
2017-06-14 20:31:14 +02:00
HiPhish
9f534f338a
mksession: Restore tab-local working directory #6859
...
The ':tcd' command is the first tab-specific command written to the file
and it is wrapped inside an 'if has('nvim')' block to keep the session
file compatible with Vim.
Closes #6678
2017-06-11 15:51:53 +02:00
Justin M. Keyes
16cce1ac17
Merge #6827 'Always enable logging'
2017-06-07 23:19:02 +02:00
James McCoy
bf4de3f6f7
functests/msgpack: Correct representation of literal INT64_MIN
...
In order to generate INT64_MIN from literal values, it's necessary to
use "-0x7fffffffffffffff - 1". Using "-0x8000000000000000" causes the
value to get clamped to INT64_MAX and then negated.
2017-06-06 21:38:31 -04:00
James McCoy
d69286c065
functests/msgpack: Use assert_equal() for more informative errors
2017-06-06 21:38:30 -04:00
Justin M. Keyes
b4b09afabd
test: iswin(): detect without nvim session
2017-06-07 00:27:26 +02:00
Justin M. Keyes
d07661b9a3
log: Fall back to CWD-relative .nvimlog
...
If if the resolved $NVIM_LOG_FILE *and* stdpath("data")/log cannot be
created (e.g. because the XDG data directory does not exist), fall back
to .nvimlog in the current direcrtory.
2017-06-07 00:27:26 +02:00
Justin M. Keyes
bb96b8219d
log: set $NVIM_LOG_FILE; fallback to $XDG_DATA_HOME/nvim/log
2017-06-07 00:26:56 +02:00
Justin M. Keyes
698ec9eb6e
loop_close: Avoid infinite loop, and log it.
...
Avoids a hang, and also helps diagnose issues like:
https://github.com/neovim/neovim/pull/6594#issuecomment-298321826
2017-06-07 00:26:21 +02:00
James McCoy
d707b2a171
vim-patch:8.0.0478
...
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
37175409d7
2017-06-06 06:15:16 -04:00
Jonathan de Boyne Pollard
86d796656c
tui: Correct commentary on tmux colour tests.
2017-06-03 18:53:29 +01:00
Jonathan de Boyne Pollard
1c1231bf13
tui: Add built-in terminfo entry for VTE.
...
Also slightly refactor the way in which GNOME/MATE Terminal pretending to be
xterm is detected.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
5377de33ac
tui: Add st to the always 256-colour capable list.
...
Also comment and augment some terminal colour tests.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
3f8dedd7ae
tui: Correct a copy and paste error in stterm tests.
...
The test decsription was correct; the test was not.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
8f60395dd1
tui: Update colour tests some more.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
e6cbb01b55
tui: Update colour tests.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
838277e28a
test: fix bashisms ( #6791 )
2017-06-01 00:46:00 +02:00
Justin M. Keyes
133f8bc628
Merge #4700 from AdnoC/keep-default-register
2017-05-31 23:43:40 +02:00
AdnoC
5908f562df
test: Fix and add cases for unnamed register
...
Also:
Add ru to shada tests with all keys
Add test for unset unnamed and register 0
2017-05-31 13:31:05 -04:00