Justin M. Keyes
f85cbea725
Merge #7917 'API: buffer updates'
2018-06-08 10:13:04 +02:00
林千里
451c48a092
terminal: flush vterm output buffer on pty output #8486
...
Fixes #4151
libvterm uses an "output buffer" for terminal reporting
(e.g. \e[6n to report cursor position)
Flush it in on_channel_output() not just terminal_send_key()
See also this line from pangoterm:
https://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/607/pangoterm.c#L2159
2018-06-08 02:18:27 +02:00
Justin M. Keyes
db68d1d638
Merge #8491 from janlazo/vim-8.0.0255
2018-06-07 18:31:50 +02:00
Jan Edmund Lazo
e0d39d8e53
vim-patch:8.0.0256: missing changes to one file breaks test
...
Problem: Tests fail because some changes were not included.
Solution: Add changes to evalfunc.c
3a29abcb61
2018-06-07 12:02:57 -04:00
Justin M. Keyes
3abf17ae88
API: validation: mention invalid method name ( #8489 )
2018-06-07 10:56:44 +02:00
Jan Edmund Lazo
7f6c1d256f
vim-patch:8.0.0254: error message of assert functions ( #8488 )
...
Problem: When using an assert function one can either specify a message or
get a message about what failed, not both.
Solution: Concatenate the error with the message.
c7b831ca15
2018-06-07 09:59:45 +02:00
Justin M. Keyes
5861dc5966
Merge #8461 from bfredl/scrollstatus
2018-06-06 00:34:08 +02:00
Jan Edmund Lazo
6ffcc2b800
fixup: exclude node_modules/ for crash detection
...
node.js client uses lodash which has core.js.
2018-06-05 07:33:26 -04:00
Jan Edmund Lazo
f274b84e1e
test: give more time for nodejs
...
Link neovim package to project root directory.
Increase delay to 3 seconds.
Reduce the total lines in temporary node scripts.
2018-06-04 19:42:28 -04:00
Justin M. Keyes
402a797d08
Merge #8456 'API: nvim_list_uis: include channel id'
2018-06-03 08:29:45 +02:00
Björn Linse
37e00c6e65
ex_getln: remove msg_scrolled cargo-cult magic, fixes #8251
2018-06-02 10:07:07 +02:00
Björn Linse
1efe65a155
ex_getln: don't redraw statusline on top of scrolled messages
2018-06-02 09:39:39 +02:00
Alexander Karle
39a03c0fe7
wildmenu: close before redrawing statusline ( #8453 )
...
Fixes #8385
2018-06-02 00:22:53 +02:00
Björn Linse
5be3865ce7
nvim_list_uis: include channel id
2018-06-01 10:20:13 +02:00
Jan Edmund Lazo
e21f454e11
fixup: always delete Xfile, fix exit code check
...
after_each + os.remove ensures Xfile is deleted after every test.
Windows exit code is inconsistent.
2018-05-25 07:43:02 -04:00
Jan Edmund Lazo
05282069db
win: test: close shada file before os.remove
2018-05-24 22:11:16 -04:00
Jan Edmund Lazo
51db8ebf67
win: test: delete sautest/
2018-05-24 22:11:15 -04:00
Jan Edmund Lazo
64177e3e98
win: test: don't test symlink if not admin user
2018-05-24 22:11:14 -04:00
Jan Edmund Lazo
209f05b487
win: test: disable non-admin failing tests
...
mkfifo (msysgit) does not work outside of msys2 environment.
gzip tests fail on Windows.
mklink requires admin privs for file symbolic links so mklink fails.
2018-05-24 22:11:12 -04:00
KillTheMule
333679ad0e
Add empty options dict to buf_attach
2018-05-23 22:07:27 +02:00
KillTheMule
65e7f6f0b9
Rename some more, fixe borked renaming
2018-05-23 22:07:27 +02:00
KillTheMule
0bee3925ab
Send changedtick as first event if buffer contents weren't requested
2018-05-23 22:07:27 +02:00
KillTheMule
ad151847f1
Unify updates_start and updates to lines_event
...
Also rename changedtick -> changedtick_event
2018-05-23 22:07:27 +02:00
KillTheMule
3866137eed
Update test
2018-05-23 22:07:27 +02:00
KillTheMule
e7451f8a91
Some renamings and doc changes
2018-05-23 22:07:27 +02:00
KillTheMule
de5d1e863c
Try fixing that test on travis
2018-05-23 22:07:27 +02:00
KillTheMule
5aa8af7cdb
Increase sendkeys timeout
2018-05-23 22:07:27 +02:00
KillTheMule
6bdcbef2f5
The grand renaming
2018-05-23 22:07:27 +02:00
KillTheMule
ec215a1962
Fix tests on windows
...
`cat` is distributed with neovim, so when can use it everywhere, as
opposed to `sort`.
The diffget test fails for unknown reasons on appveyor, mark it pending
for now.
2018-05-23 22:07:27 +02:00
KillTheMule
0476e0aef3
Make LiveUpdate return lastline instead of numreplaced
...
In analogy to `nvim_buf_set_lines`.
2018-05-23 22:07:27 +02:00
KillTheMule
37b8e95fd6
Lint
2018-05-23 22:07:27 +02:00
KillTheMule
8bcc011959
Make separate functions to start/stop live updates
2018-05-23 22:07:27 +02:00
KillTheMule
bafae1c427
Add argument to not send a buffers content when updates are enabled
...
Add a test.
2018-05-23 22:07:27 +02:00
Peter Hodge
79184809bb
Tests for buffer updates
...
Originally written by @phodge in
https://github.com/neovim/neovim/pull/5269 .
2018-05-23 22:07:27 +02:00
Björn Linse
6da4548f0e
api: list information about all channels/jobs.
...
Fire autocmd when channel opens or its info changes.
Add a way for API clients can describe themselves.
2018-05-23 18:18:16 +02:00
Justin M. Keyes
d995825c66
Merge #8377 'TextChangedP autocommand'
2018-05-19 11:44:52 +02:00
Justin M. Keyes
3de81ea351
test: inccommand_spec: retry unreliable test ( #8311 )
2018-05-18 19:41:14 +02:00
Justin M. Keyes
2ed2939597
Merge #8406 'stdpath(): handle NULL default values'
2018-05-18 19:33:28 +02:00
Justin M. Keyes
26d5a981eb
do not pass NULL to os_getenv
...
closes #8393
2018-05-18 19:04:37 +02:00
Björn Linse
a676c658cc
channel: avoid references to non-rooted vimL list with output
...
likely fixes #7768 #7913
If multiple internal stream callbacks were recieved before vimL
callbacks got called, only invoke one vimL callback with all data.
2018-05-17 19:09:32 +02:00
Justin M. Keyes
2aa308c685
Merge #5658 'Apply :lmap in macros'
2018-05-17 02:13:31 +02:00
Justin M. Keyes
efb6caa39b
test: nodejs_spec: fix test after upstream API change
...
closes https://github.com/neovim/node-client/issues/72
2018-05-15 00:03:21 +02:00
Shougo Matsushita
021c5875c1
vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible popup menu
...
Problem: No autocmd triggered in Insert mode with visible popup menu.
Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
closes vim/vim#2372 , closes vim/vim#1691 )
Fix that the TextChanged autocommands are not always triggered
when sourcing a script.
5a09343719
2018-05-14 19:14:25 +08:00
Justin M. Keyes
137eedb4ed
API: nvim_get_commands(): return Dictionary
2018-05-12 07:29:21 +02:00
Justin M. Keyes
cb6672853a
API: nvim_get_commands(): builtin is irrelevant for buffer-local
...
builtin commands are never buffer-local, so we can return empty for that
case.
2018-05-12 07:29:21 +02:00
Justin M. Keyes
738bffea2c
API: nvim_get_commands(): more attributes
...
Support more :command attributes:
-bang
-bar
-register
2018-05-11 13:50:00 +02:00
Justin M. Keyes
9fa7727ce0
API: nvim_get_commands(): always return keys
...
- Always return all keys, with at least NIL value.
- Require `opts` param to be {"builtin":false}
- Validate `opts` param
2018-05-11 13:20:43 +02:00
Nimit Bhardwaj
25b6304840
API: nvim_get_commands()
2018-05-11 13:20:19 +02:00
Justin M. Keyes
273d2cd5d5
Merge #8329 'API: Make nvim_set_option() update :verbose set …'
2018-05-11 10:08:09 +02:00
Justin M. Keyes
8d40b3617c
Merge #8371 'API: more reliable/descriptive VimL errors'
2018-05-10 19:18:58 +02:00