| Commit message (Collapse) | Author | Age |
... | |
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Let build systems define TEST_SKIP_FRAGILE to skip tests that are known to be
resource-intensive (unreliable on slow systems).
References https://github.com/neovim/neovim/pull/5488#issuecomment-265622113
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
- Improve test reliability by only checking for a line with the string
we are interested in ("Interrupt").
- Try to avoid OOM by loading an existing big file instead of looping to
create one.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On Windows, if the nvim process has a directory open the lua process
cannot remove it. After failing once, it's safe to force `nvim` to the
top-level directory. Then try again.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
- Eliminate global test_autochdir.
- Eliminate VimL function test_autochdir()
- Use a lua test instead. Fails correctly after reverting
0c4347997954 / vim-patch:7.4.2015.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Keeps arguments separated and not joined as a single string as long as possible.
Abstracts away additional arguments so that Gcc:preprocess should work for
compilers with different conventions should they be supported.
|
| | | |
|
| | |
| | |
| | |
| | | |
Previous commit made preprocess.lua know how its output will be used. This moves
state to cimport, making only it know which is cleaner.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Works by saving all preprocessor defines and reusing them on each run. This also
saves NVIM_HEADER_H defines. Saving other defines is needed for defines like
`Map(foo, bar)` which are sometimes used to declare types or functions. Saving
types or function declarations is not needed because they are recorded as luajit
state.
Fixes #5857
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
stdout activity may reach the queue before `exit`; just discard it.
Observed on Travis CI, ubuntu "trusty" beta image:
[ RUN ] ...is/build/neovim/neovim/test/functional/core/job_spec.lua @ 509: jobs running tty-test program jobclose() sends SIGHUP
...is/build/neovim/neovim/test/functional/core/job_spec.lua:511: Expected objects to be the same.
Passed in:
(table) {
[1] = 'notification'
*[2] = 'stdout'
[3] = {
[1] = 0
[2] = {
[1] = '
'
[2] = '' } } }
Expected:
(table) {
[1] = 'notification'
*[2] = 'exit'
[3] = {
[1] = 0
[2] = 42 } }
stack traceback:
...is/build/neovim/neovim/test/functional/core/job_spec.lua:511: in function <...is/build/neovim/neovim/test/functional/core/job_spec.lua:509>
[ FAILED ] ...is/build/neovim/neovim/test/functional/core/job_spec.lua @ 509: jobs running tty-test program jobclose() sends SIGHUP (2.81 ms)
|
| |
| |
| |
| | |
Fixes #5455.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Arguments of setqflist() are not checked properly.
Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi,
closes vim/vim#661)
https://github.com/vim/vim/commit/d106e5ba7f10f0d2a14eaefe5d78405044416cb9
|
| |
| |
| |
| |
| | |
Massaging the upstream patches for this test into the lua tests are too
cumbersome and slow down patching.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
shada: Respect the optional buffer count for shada-%
|
| | |
| | |
| | |
| | | |
Closes #5759
|
|/ /
| |
| | |
Closes #5763.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Catching exception that won't be thrown.
Solution: Remove try/catch.
https://github.com/vim/vim/commit/3905e291fe4375ca5c59efa9ffcb01a39c7be3a9
|
| | |
|
| |
| |
| |
| | |
Closes #5465
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This ameliorates use-cases like:
:!cat foo.txt
:make
where the user is interested in the last few lines of output.
Try these shell-based ex-commands before/after this commit:
:grep -r '' *
:make
:!yes
:!grep -r '' *
:!git grep ''
:!cat foo
:!echo foo
:!while true; do date; done
:!for i in `seq 1 20000`; do echo XXXXXXXXXX $i; done
In all cases the last few lines of the command should always be shown,
regardless of where throttling was triggered.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Periodically skip :! spam. This is a "cheat" that works for all UIs and greatly
improves responsiveness when :! spams MB or GB of output:
:!yes
:!while true; do date; done
:!git grep ''
:grep -r '' *
After ~10KB of data is seen from a single :! invocation, output will be skipped
for ~1s and three dots "..." will pulse in the bottom-left. Thereafter the
behavior alternates at every:
* 10KB received
* ~1s throttled
This also avoids out-of-memory which could happen with large :! outputs.
Note: This commit does not change the behavior of execute(':!foo').
execute(':!foo') returns the string ':!foo^M', it captures *only* Vim
messages, *not* shell command output. Vim behaves the same way.
Use system('foo') for capturing shell command output.
Closes #1234
Helped-by: oni-link <knil.ino@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes #1234
multiqueue:
- Implement multiqueue_size()
- Rename MultiQueueItem.parent to MultiQueueItem.parent_item, to avoid confusion
with MultiQueue.parent.
|
| |
| |
| |
| | |
Closes #5727
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Add cmdline mode to ui_mode_change
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
use set_cursor_shape_bar for cmdline mode
fix test of screen_basic_spec.lua & screen.lua
comment fix
|
|\ \ \
| | | |
| | | | |
vim-patch:7.4.1701
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Equivalence classes still tested in old style tests.
Solution: Remove the duplicate.
https://github.com/vim/vim/commit/f9f22dbe4f90673ecce601a9dee4bb750ce3cd8f
|
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Problem: :packadd does not work the same when used early or late.
Solution: Always load plugins matching "plugin/**/*.vim".
https://github.com/vim/vim/commit/71fb0c146bef08dc276fc5793bd47366e6e0f32a
|
| | |
| | |
| | |
| | |
| | | |
Also fix snapshot_util() to work even if default_attr_ids is not a
proper lua array.
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: has('patch-7.4.1') doesn't work.
Solution: Fix off-by-one error. (Thinca)
https://github.com/vim/vim/commit/819821c5a95fc60797ecbb5e5ca1302e397e3d9a
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://github.com/mpeterv/luacheck/pull/81#issuecomment-261099606
> If you really want to use bleeding-edge version you should get the
> rockspec from master branch, not a fixed commit ...
> The correct way to install from a specific commit is cloning that
> commit and running "luarocks make" from project directory. The reason
> is that running "install" or "build" on an scm rockspec fetches
> sources from master but uses build description from the rockspec
> itself, which may be outdated.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash in :cgetexpr.
Solution: Check for NULL pointer. (Dominique) Add a test.
https://github.com/vim/vim/commit/89c64d557dbe0bacfdd7b2872411b00cc1523d85
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Quickfix test fails.
Solution: Accept any number of matches.
https://github.com/vim/vim/commit/f68f1d70799631d38461c36cd59d08cf839b010d
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique)
Solution: Set qf_ptr when adding the first item to the quickfix list.
https://github.com/vim/vim/commit/8b20179c657b4266dff115486ca68c6a50324071
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to not conflict with new error codes that Vim adds, all Neovim
error codes should be above 5000. The three existing sub-5000 error
codes (E926, E951, and E952) are now E50003, E5004, and E5005
respectively.
E953 was removed in 6167ce6df2753d5474ad49aea19f5957128ab015, so just
remove it from the help.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when an autocommand changes a quickfix list. (Dominique)
Solution: Check wether an entry is still valid. (Yegappan Lakshmanan,
Hirohito Higashi)
https://github.com/vim/vim/commit/ffec3c53496d49668669deabc0724ec78e2274fd
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su)
Solution: Do not set compl_curr_match when called from complete_check().
(closes vim/vim#1168)
https://github.com/vim/vim/commit/472e85970ee3a80abd824bef510df12e9cfe9e96
|
|\ \
| | |
| | | |
'inccommand': auto-disable if too slow; fix other behaviors
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Call update_topline() to adjust the current viewport.
Closes #5597
|