ZyX
7849070f99
tests: Add missing test cases
2017-11-06 01:17:39 +03:00
ZyX
7bc6de7526
api/vim,functests: Add tests for nvim_parse_expression, fix found bugs
2017-11-06 01:17:39 +03:00
ZyX
07ec709141
vim/api: Actually dump AST, fix some bugs in nvim_parse_expression
2017-11-06 01:17:38 +03:00
ZyX
b9d5aea073
api/vim: Create part of nvim_parse_expression function
2017-11-06 01:17:38 +03:00
ZyX
d98199de9c
charset: Refactor vim_str2nr
2017-11-06 01:17:38 +03:00
ZyX
3ecb95298f
tests: Fix testlint errors
2017-11-06 01:17:37 +03:00
ZyX
0356dbbb36
ex_getln: Fix variable name which is wrong after the merge
2017-10-30 01:38:02 +03:00
ZyX
a9b203d23f
*: Fix linter errors
...
Big function in expressions.c may be refactored, if I ever catch the idea how to
split it right.
2017-10-30 01:32:10 +03:00
ZyX
b29a776550
Merge branch 'master' into expression-parser
2017-10-30 00:49:12 +03:00
ZyX
538af1c90a
syntax,viml/parser/expressions: Add missing highlight groups
...
Also adjusts some names.
2017-10-29 22:02:19 +03:00
ZyX
b91cb18c36
syntax: Adjust position and arguments of syn_init_cmdline_highlight
...
This way it works both after `nvim -u NORC` and after that and `colorscheme
wombat256mod`. Removed the comment because I do not actually know why it works
here with these arguments and not in previous position with previous arguments.
2017-10-29 21:42:37 +03:00
ZyX
748f3ad5bb
syntax,viml/expressions/parser: Create defaults for expr highlighting
2017-10-29 21:30:06 +03:00
ZyX
22d161a5dd
api/vim: Add nvim_parse_expression function
2017-10-29 20:11:44 +03:00
ZyX
1be29dc5ac
gen_declarations: Do not generate line numbers by default
2017-10-29 16:56:59 +03:00
ZyX
b935a12dab
ex_getln: Make use of new parser to color expressions
...
Retires g:Nvim_color_expr callback.
2017-10-29 16:32:13 +03:00
Justin M. Keyes
45296b331f
Merge #7444 'vim-patch: test :profile'
2017-10-29 13:54:17 +01:00
Justin M. Keyes
6c43fccb27
vim-patch:8.0.0944
...
Problem: Test_profile is a little bit flaky.
Solution: Accept a match when self and total time are the same. (James
McCoy, closes vim/vim#1972 )
d21b16f3c0
2017-10-29 13:48:03 +01:00
Björn Linse
2a3bcd1ff8
rpc: Don't delay notifications when request is pending ( #6544 )
...
With the old behavior, if a GUI makes a blocking request that requires user
interaction (like nvim_input()), it would not get any screen updates.
The client, not nvim, should decide how to handle notifications during a
pending request. If an rplugin wants to avoid async calls while a sync call is
busy, it likely wants to avoid processing async calls while another async call
also is handled as well.
This may break the expectation of some existing rplugins. For compatibility,
remote/define.vim reimplements the old behavior. Clients can opt-out by
specifying `sync=urgent`.
- Legacy hosts should be updated to use `sync=urgent`. They could add a flag
indicating which async methods are always safe to call and which must wait
until the main loop returns.
- New hosts can expose the full asyncness, they don't need to offer both
behaviors.
ref #6532
ref #1398 d83868fe90
2017-10-29 03:06:53 +01:00
Justin M. Keyes
3a938fff09
test/win: partially disable :terminal resize test ( #7453 )
2017-10-29 02:10:37 +01:00
Justin M. Keyes
7b0ceb3726
Merge #7173 'api/ui: externalize cmdline'
...
closes #6162
2017-10-29 02:13:12 +02:00
Justin M. Keyes
1a93f58831
test: ui/cmdline_spec.lua: enable on Windows
2017-10-29 02:12:45 +02:00
Justin M. Keyes
8526902790
doc/ui.txt
2017-10-29 02:12:45 +02:00
ZyX
06bdc9ed83
klee: Update vim_str2nr in mock as well
2017-10-29 01:40:55 +03:00
ZyX
c202f17c8d
unittests: Avoid alloc log checking errors when printing tests
2017-10-29 01:31:31 +03:00
ZyX
568cf73c90
viml/parser/expressions: Fix last error found by KLEE
2017-10-29 01:29:48 +03:00
ZyX
b574e95850
charset: Some more refactoring of vim_str2nr
2017-10-29 01:17:00 +03:00
KunMing Xie
122f52bf89
vim-patch:8.0.0206 ( #7446 )
...
Problem: Test coverage for :retab insufficient.
Solution: Add test for :retab. (Dominique Pelle, closes vim/vim#1391 )
8822744b4d
2017-10-28 18:05:59 +02:00
Justin M. Keyes
8c732f7274
Merge #7440 "terminal: adjust for 'number'"
...
closes #5310
2017-10-28 18:02:21 +02:00
Matthew Malcomson
da13d9a30c
test: ctrl_c_spec: bias timeouts for success ( #7451 )
...
Having timeouts that are likely to fail incurs a penalty of waiting for
screen:expect() to fail, hence removing such small timeouts will speed
up the test on average.
2017-10-28 18:01:38 +02:00
Justin M. Keyes
bcf266de46
test: :terminal + numberwidth=9
2017-10-28 17:55:11 +02:00
Sam Wilson
b8a67551d8
terminal: Account for number column ( #5310 )
2017-10-27 17:59:54 -04:00
Justin M. Keyes
1de5b041a7
doc: debian badge
2017-10-27 19:34:02 +02:00
ckelsel
20f1bf325c
fix TEST_FILE=test_profile.res make oldtest failed
2017-10-27 21:49:28 +08:00
ckelsel
45a95a8a5b
vim-patch:8.0.0196
...
Problem: The test for :profile is slow and does not work on MS-Windows.
Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double
quotes for system()
c011a3d083
2017-10-27 09:50:01 +08:00
ckelsel
2bd424c1c5
vim-patch:8.0.0194
...
Problem: Profile tests fails if total and self time are equal.
Solution: Make one time optional.
e32bbded64
2017-10-27 09:48:52 +08:00
ckelsel
aab16e6939
vim-patch:8.0.0189
...
Problem: There are no tests for the :profile command.
Solution: Add tests. (Dominique Pelle, closes vim/vim#1383 )
296b1f28ca
2017-10-27 09:47:54 +08:00
Björn Linse
f640ae0d6e
docs: breakout ui.txt from msgpack_rpc.txt
2017-10-26 20:29:10 +02:00
Björn Linse
445f25998c
ext_cmdline: fix inputsecret()
2017-10-26 20:29:10 +02:00
Björn Linse
91d8e26bc7
ext_cmdline: interact with cmdline window
2017-10-26 20:29:10 +02:00
Björn Linse
bed0a3a842
ext_cmdline: implement redraw!
2017-10-26 20:29:08 +02:00
Björn Linse
2050e66046
ext_cmdline: turn nested cmdlines into a linked list
2017-10-26 20:28:49 +02:00
Björn Linse
91f94bfef8
ext_cmdline: restructure and improve tests
2017-10-26 20:28:49 +02:00
Björn Linse
87a723963e
ext_cmdline: documentation
2017-10-26 20:28:49 +02:00
Björn Linse
f2aaa4ae8b
ext_cmdline: rename cmdline_char to cmdline_special_char
2017-10-26 20:28:49 +02:00
Björn Linse
a68817f565
ext_cmdline: extend "function" to generic "block" mechanism
2017-10-26 20:28:49 +02:00
Björn Linse
ddfc077da4
ext_cmdline: disable some redraws
2017-10-26 20:28:49 +02:00
Björn Linse
22402fb99d
ext_cmdline: add support for highlighting
2017-10-26 20:28:47 +02:00
Dongdong Zhou
5ad591ef2d
ext_cmdline: lint
2017-10-26 09:35:13 +02:00
Dongdong Zhou
fb389a6b4b
ext_cmdline: added indent
2017-10-26 09:35:13 +02:00
Dongdong Zhou
461ae69824
ext_cmdline: Add function block support
2017-10-26 09:35:13 +02:00