ZyX
ceb45a0885
*: Fix test failures
2017-12-11 01:43:36 +03:00
ZyX
622d355ab4
functests: Add some more NULL tests
2017-12-10 23:16:00 +03:00
ZyX
d11884db49
eval: Fix uniq() crash in legacy test 055
2017-12-10 23:02:19 +03:00
ZyX
0b03ac2cb2
functests: Mark islocked("v:_null_list") behaviour correct
...
It is the same for other VAR_FIXED lists.
2017-12-10 22:34:32 +03:00
ZyX
83f77c80c0
quickfix: Fix :cexpr and :lexpr
2017-12-10 22:33:05 +03:00
ZyX
5008205a3e
eval: Fix setmatches(), setqflist() and setloclist()
2017-12-10 22:28:18 +03:00
ZyX
f572bd7e4e
eval,functests: Fix tests and complete() and setline() behaviour
2017-12-10 22:24:11 +03:00
ZyX
ac4bbf55f6
*: Hide list implementation in other files as well
2017-12-10 22:04:43 +03:00
ZyX
5c1ddb5078
eval: Fix writefile()
2017-12-10 04:00:54 +03:00
ZyX
21745d72b8
eval: Fix inputlist()
2017-12-10 04:00:54 +03:00
ZyX
274f32d42e
*: Start hiding list implementation
...
Most of files, except for eval.c and eval/* were only processed by perl.
2017-12-10 04:00:52 +03:00
Justin M. Keyes
3cc7ebf810
Merge #7234 'built-in expression parser'
2017-12-09 18:47:34 +01:00
Björn Linse
ba7d6a9e6b
ui: fix glitch with both ext_cmdline and cmd_wildmenu
2017-12-06 09:41:51 +01:00
Björn Linse
9714b9f590
tests: cleanup ui/cmdline_spec.lua
2017-12-05 13:32:02 +01:00
Justin M. Keyes
aec81f44d1
Merge #7477 from FlorianGit/empty-lists-dicts-strings
2017-12-05 03:33:01 +01:00
Justin M. Keyes
2d4abc1cae
tui: flush -V3 ('verbose' >= 3) info ASAP
2017-12-05 01:46:41 +01:00
Justin M. Keyes
837100fcb1
test/tui: -V3log logs terminfo values
2017-12-05 01:46:41 +01:00
Justin M. Keyes
5f288220f9
test: write_file(): support append-mode
2017-12-05 01:46:41 +01:00
Justin M. Keyes
7f386b175c
test: retry(): fix time calculation
...
libuv caches the results of uv.now() until the next loop tick. If a test
does not spin the libuv event loop, retry() enters an infinite cycle.
2017-12-05 01:46:40 +01:00
Justin M. Keyes
175174597d
test: macOS 10.13: unibilium cannot find "xterm" terminfo
...
On some macOS versions we can't find the terminfo for whatever reason,
so just skip the test if it fails.
2017-12-05 01:46:40 +01:00
Justin M. Keyes
a11751eae8
test: tui_spec: narrower scope for timeout tweaks
2017-12-05 01:46:40 +01:00
FlorianGit
d763d2fe7a
Viml: Make filter and map handle null list correct
...
filter('v:_null_list, 'v:val') should return v:_null_list and a similar
statement should hold for map.
Changes after review
* Test inserted in legacy test suite has been removed by reverting the commit
adding it.
* Change the fix to tv_copy the argument before returning.
* Readd the two tests on crashes, and modified their expected return value.
* Move the test from 'incorrect behaviour' section to 'correct behaviour section'
* Add analogous tests for v:_null_dict
Always copy list or dictionary to return variable
If the type of input is correct (i.e. either a list or a dictionary), this
should also be returned.
2017-12-03 17:03:31 +01:00
ZyX
5ab0f988ca
*: Replace all occurrences of NVim with Nvim
2017-11-30 11:53:25 +03:00
ZyX
b588ccddd7
Merge branch 'master' into expression-parser
2017-11-30 02:02:55 +03:00
ZyX
de45ec0146
keymap: Do not use vim_isIDc in keymap.c
...
Note: there are three changes to ascii_isident. Reverting first two (in
find_special_key and first in get_special_key_code) normally fails the new test
with empty &isident, but reverting the third does not. Hence adding `>` to
&isident.
Ref vim/vim#2389 .
2017-11-30 02:01:49 +03:00
Justin M. Keyes
d109f5645b
Merge #7640 'term' option
2017-11-27 22:07:23 +01:00
Björn Linse
e3c4c8a90e
tests: mark flaky socket test pending for now
2017-11-27 11:43:24 +01:00
Justin M. Keyes
6cf186edb5
lint
2017-11-27 09:45:32 +01:00
Justin M. Keyes
c8b40930c0
test: tui_spec.lua: use robust settings
2017-11-27 09:45:32 +01:00
Justin M. Keyes
944e3c0619
tui: expose terminal type in 'term' option
...
Since "builtin" terminfo definitions were implemented (7cbf52db1b ),
the decisions made by tui.c and terminfo.c are more relevant. Exposing
that decision in the 'term' option helps with troubleshooting.
Also: remove code that allowed setting t_Co. `:set t_Co=…` has never
worked; the highlight_spec test asserting that nvim_set_option('t_Co')
_does_ work makes no sense, and should not have worked.
2017-11-27 09:45:32 +01:00
ZyX
cddf84c398
functests: Add some more tests
2017-11-26 16:45:29 +03:00
ZyX
17077b6813
viml/parser/expressions: Make $ENV not depend on &isident
2017-11-26 16:08:53 +03:00
ZyX
b9c7813058
Merge branch 'master' into expression-parser
2017-11-26 15:54:03 +03:00
Björn Linse
207b7ca4bc
Merge pull request #6844 from bfredl/channel
...
channels: support buffered output and bytes sockets/stdio
2017-11-26 10:18:01 +01:00
Björn Linse
91b856ccce
channels: tests
2017-11-26 09:17:04 +01:00
nate
ebed8c6a2e
test: :highlight validation errors
...
add test when highlight group doesn't exist.
add test when an invalid color name is used for `cterm`.
2017-11-25 23:22:23 +01:00
Björn Linse
8540b5e4ad
test: add hexdump utilitiy function
2017-11-25 09:37:00 +01:00
Björn Linse
d9b3ebfede
FIXUP: duplicate error number in #7422
2017-11-23 07:36:35 +01:00
Björn Linse
a4f6cec7a3
cmdline: CmdlineEnter and CmdlineLeave autocommands ( #7422 )
...
vim-patch:fafcf0dd59fd
patch 8.0.1206: no autocmd for entering or leaving the command line
Problem: No autocmd for entering or leaving the command line.
Solution: Add CmdlineEnter and CmdlineLeave.
fafcf0dd59
2017-11-22 22:35:20 +01:00
Justin M. Keyes
9b6bf8fa37
Merge #7345 'location-list update on buffer-modified'
2017-11-21 01:53:12 +01:00
ZyX
03a129aacf
Merge branch 'master' into expression-parser
2017-11-19 22:05:22 +03:00
ZyX
ebb33eddd9
tests: Stabilize float format and %e in format_luav and format_string
2017-11-19 22:00:59 +03:00
ZyX
f20f97c936
*: Fix linter errors
2017-11-19 21:13:27 +03:00
ZyX
a94255a7ac
tests: Use single test file for unit and functional parser tests
2017-11-19 20:20:06 +03:00
ZyX
53fa435a1f
functests: Fix ui/cmdline test
2017-11-19 19:34:15 +03:00
ZyX
c287893225
viml/parser/expressions,unittests: Do better testing, fix found issues
2017-11-19 19:22:54 +03:00
Eric Roberts
a6de144c3e
'viewoptions': add "curdir" flag #7447
...
The flag enables the current local directory set by ":lcd" to be saved
to views which is the current default behaviour. The option can be
removed to disable this behaviour.
closes #7435
vim-patch:8.0.1289
2017-11-18 12:02:15 +01:00
Justin M. Keyes
67e4529292
defaults: scrollback=10000 ( #7556 )
2017-11-14 20:55:25 +01:00
James McCoy
8d8212d384
Merge pull request #7545 from jamessan/test-fixes
...
Fix test failures found in Debian builds, closes #7522
2017-11-12 21:09:44 -05:00
Justin M. Keyes
e6beb60da5
:terminal : fix crash on resize ( #7547 )
...
closes #7538
Fix wrong window references from #7440
Remove some eager resizing. Still mostly doesn't address #4997 .
2017-11-13 02:06:32 +01:00