| Commit message (Collapse) | Author | Age |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
msg_putchar() is not updating msg_col, this causes an infinite loop. Observed
with execute('version') *nested* in another execute(), in particular this line:
let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+')
when called by :CheckHealth (see runtime/autoload/health/nvim ..
s:check_performance()).
But invoking some variation of execute('...execute("version")') is not enough to
provoke the bug, maybe it needs to be in a user function?
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | | |
Helped-by: Daniel Hahler <git@thequod.de>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also include missing changes from:
https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810
https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
|
|\ \ \
| | | |
| | | | |
vim-patch 0648142, 91c4937, 06d2d38, 2685212, 269f595
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updated runtime files.
https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Update runtime files.
https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updated runtime files.
https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updated runtime files.
https://github.com/vim/vim/commit/91c4937be15b0b743b6bc495df602c1abbff6b87
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Update runtime files.
https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
|
| |_|/
|/| |
| | |
| | | |
TODO: Also spec behavior of Press-Enter prompt for these API functions.
|
|\ \ \
| |_|/
|/| | |
test: system(): Avoid indeterminism. Also adjust docs.
|
| | | |
|
|/ /
| |
| |
| | |
Clarify behavior of v:errmsg and the Error object.
|
|\ \
| | |
| | | |
vim-patch: 8.0.0041, 8.0.0042, 8.0.0043
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When using Insert mode completion with 'completeopt' containing
"noinsert" with CTRL-N the change is not saved for undo. (Tommy
Allen)
Solution: Call stop_arrow() before inserting for any key.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When using Insert mode completion with 'completeopt' containing
"noinsert" change is not saved for undo. (Tommy Allen)
Solution: Call stop_arrow() before inserting for pressing Enter.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When using Insert mode completion but not actually inserting
anything an undo item is still created. (Tommy Allen)
Solution: Do not call stop_arrow() when not inserting anything.
|
|/ /
| |
| |
| |
| |
| | |
Problem: Tab page tests are old style.
Solution: Change into new style tests. (Hirohito Higashi)
https://github.com/vim/vim/commit/1381d791478ee77c8368b89a3d4954316bf839b5
|
|\ \
| | |
| | | |
atomic multi request for async remote plugins
|
| | |
| | |
| | |
| | | |
remove unused response_id parameter of handle_nvim_... helpers
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
vim-patch:b20617b
Add OSX build to Travis CI. (Christian Brabandt)
https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
vim-patch:471a897
Update gitignore for new test binary. (Oyvind Holm, closes vim/vim#954)
https://github.com/vim/vim/commit/471a8975690af01a1244b28d5b5f978ca623028f
vim-patch:2cb70a2
Put building with interfaces on the right target.
https://github.com/vim/vim/commit/2cb70a2744d484d1b2005be0fd0ea7d6a94a8db7
vim-patch:87776a1
Correct build condition.
https://github.com/vim/vim/commit/87776a1ac12db3c800e87adcc08541cb609189a5
vim-patch:8de7465
Add missing "then".
https://github.com/vim/vim/commit/8de7465d77bcb46eb8c53aaa4cb1f951937788ba
vim-patch:1a9f947
Add a separate build target for the unittests. Hopefully the coverage will be merged then.
https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
vim-patch:8211fcb
Run unittests before scripttests. Hopefully does not mess up coverage.
https://github.com/vim/vim/commit/8211fcbdc903b98e4a4ab331613c206292da4a1c
vim-patch:8e77bad
Add json_test to gitignore (Hirohito Higashi)
https://github.com/vim/vim/commit/8e77bad3c18245f05a3db3acc566856d30667db8
|
| | |
| | |
| | |
| | |
| | | |
Closes #5267
Helped-by: oni-link <knil.ino@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
vim-patch:7.4.1704
Problem: Using freed memory with "wincmd p". (Dominique Pelle)
Solution: Also clear "prevwin" in other tab pages.
https://github.com/vim/vim/commit/3dda7db4e1f7c4a8110a1f83001ec36b46693d27
|
| | |
| | |
| | |
| | | |
References #2748
|
|\ \ \
| | | |
| | | |
| | | | |
vim-patch:7.4.1588
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Problem: Old style test for quickfix.
Solution: Turn test 96 into a new style test.
https://github.com/vim/vim/commit/1ff2b64b11e7d263c6853745d5e594bd8f94b91e
|
|\ \ \
| | | |
| | | | |
vim-patch:7.4.1565
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when assert_equal() runs into a NULL string.
Solution: Check for NULL. (Dominique) Add a test.
https://github.com/vim/vim/commit/f1551964448607f8222de2d8f0992ea43eb2fe67
|
|\ \ \
| | | |
| | | | |
vim-patch:7.4.1494
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
During -S execution, ccline.cmdfirstc is NULL, so calling histadd() with
a hist-name of '' would fail. Mimic Vim's behavior and fallback to '/'
in this scenario, since '' is a documented hist-name as of
vim/vim@3e496b0e.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: clr_history() does not work properly.
Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/119d4693e06e68d4f099aa7287e375ae3d265fd0
Note: Only added a test. The change to `histptr` had already been made.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a file is opened by nvim with ft=man already set, and
"has('vim_starting')", ftplugin/man.vim calls
'execute 'file man://'.ref', this causes nvim to display something like
this:
````
"<name of original file>" 977, 41017C
"man://foo(1)" [Not edited] 977 lines --0%--
Press ENTER or type command to continue
````
This is annoying, because nothing of note has actually happened.
Use cases why you might want to read a man page from a file:
`MANPAGER='bash -c "nvim -c \"set ft=man\" </dev/tty <(col -bx)"' man git`
`nvim -c 'set ft=man' <(man -P cat git)`
|
|\ \ \ \
| | | | |
| | | | | |
tests: fix racyness in terminal/api_spec.lua
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Previously, the nvim_input from the socket channels could be processed
before the input from stdin in rare cases.
|
|\ \ \ \
| |_|_|/
|/| | | |
refactor gendispatch.lua to move verbatim c code to .c files
|
|/ / /
| | |
| | |
| | |
| | | |
Remove max_fname_len check, which caused false successful lookups,
and was an optimization for a very rare case.
|
| | | |
|
|\ \ \
| | | |
| | | | |
system('foo &', 'bar'): Show error, don't crash.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Closes #3529
Closes #5241
In Vim,
:echo system('cat - &', 'foo')
works because for both system() and :! Vim writes input to a temp file and uses
shell syntax to redirect the file to the backgrounded `cat` (get_cmd_output()
.. make_filter_cmd()).
In Nvim,
:echo system('cat - &', 'foo')
fails because we write the input directly via pipes (shell.c:do_os_system()),
but (per POSIX[1]) backgrounded process input stream is redirected from
/dev/null (unless overridden by shell redirection; supported only by some shells
[2]), so our writes are ignored, the process exits quickly, and if we are
writing data larger than the buffer size we'll see EPIPE.
This still works:
:%w !tee > foo1358.txt &
but this does not:
:%w !tee foo1358.txt &
though it *should* (why doesn't it?) because we still do the temp file dance
in do_bang() .. do_filter().
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02
[2] http://unix.stackexchange.com/a/71218
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These tests are essentially affirming a regression vs Vim. In Vim,
:echo system('cat - &', 'foo')
returns "foo", because Vim internally wraps the command with shell-specific
syntax to redirect the streams from /dev/null[1].
That can't work in Nvim because we use pipes directly (instead of temp files)
and don't wrap the command with shell-specific redirection syntax.
References #3529
References #5241
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02
|
|/ /
| |
| |
| |
| |
| |
| | |
`:CheckHealth nvim` would always report an outdated manifest if symlinks were
used, because the manifest file contains unresolved paths that get compared
against resolved paths.
Now we resolve paths before they get written to the manifest file.
|
| | |
|
|\ \
| | |
| | | |
CheckHealth: check tmux, terminfo
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
This reverts commit c13f72ee0a6600963a10e57155d2e814d56599e2.
References #5447.
|
| |
| |
| |
| |
| |
| | |
The previous form was passing because it happens immediately before this form;
but on a very fast(?) server the screen check might miss that form. It's also
not really want we want to assert anyways.
|