| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for :registers command.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2880)
https://github.com/vim/vim/commit/7ce551f317a0bb92f8c0521e96325301e2d220ca
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Message about what register to yank into is not translated.
(LemonBoy)
Solution: Add _().
https://github.com/vim/vim/commit/60d0e97497f1104b31f711072ef174af533b61fa
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The message for yanking doesn't indicate the register.
Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
closes vim/vim#1803, closes vim/vim#1809)
https://github.com/vim/vim/commit/e45deb79978677cb41f1477ba4140bccff658fd1
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
directory (#8762)
Problem: :packadd does not load packages from the "start" directory.
(Alejandro Hernandez)
Solution: Make :packadd look in the "start" directory if those packages were
not loaded on startup.
https://github.com/vim/vim/commit/9e1d399e63903c6f84d7888ad8d84ebf4e29d8a1
|
| |
| |
| | |
ref https://github.com/neovim/neovim/pull/8709#issuecomment-406319186
|
|\ \
| | |
| | | |
UI grid protocol revision: line based updates and semantic highlights
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add ext_newgrid and ext_hlstate extensions. These use predefined
highlights and line-segment based updates, for efficiency and
simplicity.. The ext_hlstate extension in addition allows semantic
identification of builtin and syntax highlights.
Reimplement the old char-based updates in the remote UI layer, for
compatibility. For the moment, this is still the default. The bulitin
TUI uses the new line-based protocol.
cmdline uses curwin cursor position when ext_cmdline is active.
|
| | |
| | |
| | |
| | | |
Note: this has not been working since the TUI reimplementation
|
| | |
| | |
| | |
| | |
| | | |
This allows us to keep track of the source higlight groups,
and not only the final combined highlights.
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Combine variable declaration and initialization to add const.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when using :hardcopy with illegal byte.
Solution: Check for string_convert() returning NULL. (Dominique Pelle)
https://github.com/vim/vim/commit/43dee181f596c81b99e200b6cdfeb02ecfed42c8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Access memory beyond end of string. (Coverity)
Solution: Keep allocated memory in separate pointer. Avoid outputting the
NUL character.
https://github.com/vim/vim/commit/cdd09aa51a8d34bb384460af4f91026dbff5bf48
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: ":if 0|syntax {on,off}|endif" skips the default of "syntax on"
because the executor was setting the `did_syntax_onoff` flag even though
"syntax {on,off}" is not actually executed.
closes #8728
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
FEATURES:
07499a842b1f #8709 man.vim: C highlighting for EXAMPLES section
07f82ad1be4f #8699 TUI: urxvt: also send xterm focus-reporting seqs
40911e435e8a #8616 API: emit nvim_buf_lines_event from :terminal
c46997aa8744 #8546 fillchars: Add "eob" flag
FIXES:
74d19f685faf #8576 startup: avoid blank stdin buffer if other files were opened
4874214139ab #8737 Only waitpid() for processes that we care about
cd6e7e8cf302 #8743 Check all child processes for exit in SIGCHLD handler
c230ef24a2b5 #8746 channel.c: Prevent channel_destroy_early() from freeing uninitialized rpc stuff
0ed8b12a07e7 #8681 transstr_buf: fix length comparison
d241f278d3d9 #8708 TUI: Fix standout mode
9afed40ea684 #8698 man.vim: fix for mandoc
e889640048dd #8682 provider/node: npm --loglevel silent
1cbc8301897c #8613 API: nvim_win_set_cursor: set curswant
bf6048e81d63 #8628 checkhealth: Python: fix VIRTUAL_ENV check
3cc350696576 #8528 checkhealth: node.js: also search yarn
CHANGES:
b7514493a0c4 #8619 defaults: shortmess+=F
12481781a021 #8578 highlight: high-priority CursorLine if fg is set.
01570f1ff3c4 #8726 terminal: handle &confirm and :confirm on unloading
56065bbdc6d2 #8721 screen: truncate showmode messages
bf2460e2f980 #7551 buffer: fix copying :setlocal options
c1c14faad935 #8520 Ex mode: always "improved" (gQ)
050f3975f6b4 #7992 options: remove 'maxcombine` option (always 6)
INTERNAL:
463da8480685 #7992 screen: use UTF-8 representation
|
|\ \
| |/
|/| |
|
| | |
|
|/ |
|
|\
| |
| | |
Check all child processes for exit in SIGCHLD handler
|
| |
| |
| |
| |
| |
| |
| |
| | |
If a second and third child exit while we are already in the handler, we
will only see a single additional SIGCHLD. Therefore the handler must
not stop after processing a single child but should check all children.
Fixes #8740
|
|\ \
| | |
| | | |
channel.c: refactor spaghetti code
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
channel.c: WIP remove redundant method check and added FUNC_ATTR_NONNULL_ALL macro
channel.c channel_defs.h helpers.c: added Error field to RequestEvent, added no_op handler func
channel.c: use const char* instead of string and cleanup
channel.c; channel_defs.h; helpers.c: removed error from event again; send errors directly to the channel without using handlers and events
channel.c: fixed memory leak and lint errors
api/private/dispatch.c; api/vim.c; msgpack_rpc/channel.c msgpack_rpc/helpers.c added Error* field to msgpack_get_handler_for; further refactored channel.c
channel.c:323 changed order of evaluation in if statement
channel.c: removed superflous whitespace
dispatch.c: review comment
|
|\ \
| |/
|/| |
Fix crash in channel_job_start() in combination with rpc and unknown command
|
|/
|
|
|
|
|
|
| |
Without this patch the following commands would crash:
:call rpcstart('unknown_command')
:set sh=unknown_command
:call jobstart('ls',{'rpc':1})
|
|\
| |
| | |
Only waitpid() for processes that we care about
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It seems as though in an AppImage there's an extra child process that
dies at some early point, before we have set up a SIGCHLD handler. So
when we later get a SIGCHLD from a child that we do care about,
waitpid(-1, ...) tells us about the extra child - and we don't notice
that the interesting child has exited.
Or something like that!
See also:
* https://patchwork.kernel.org/patch/9949491/ in which perf hit
something similar
* discussion at the AppImage repository:
https://github.com/AppImage/AppImageKit/issues/812#issuecomment-404662110.
Fix is to be explicit about which process we are waitpid()'ing for, so
we never need be distracted by children that we don't know about.
Fixes #8104
|
| |
| |
| |
| |
| |
| |
| | |
Problem: The :global command does not work recursively, which makes it
difficult to execute a command on a line where one pattern matches
and another does not match. (Miles Cranmer)
Solution: Allow for recursion if it is for only one line. (closes vim/vim#1760)
https://github.com/vim/vim/commit/f84b122a99da75741ae686fabb6f81b8b4755998
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
KE_MOUSEMOVE, KE_CANCEL are added in later patches.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Recorded key sequences may become invalid.
Solution: Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the
key_extra enum.
https://github.com/vim/vim/commit/8858498516108432453526f07783f14c9196e112
|
| |
| |
| |
| |
| |
| | |
Show a proper confirmation dialog when trying to unload a terminal buffer while
the confirm option is set or when :confirm is used.
Fixes https://github.com/neovim/neovim/issues/4651
|
|\ \
| | |
| | | |
Fix redrawing issues with narrow screen and remove extra wait in resize tests
|
| | |
| | |
| | |
| | |
| | | |
Before this, bottom of screen got messed up when modemsg (+ one extra
space to not force terminal scroll) didn't fit on one line.
|
| | |
| | |
| | |
| | | |
Saves ~10 seconds in UI tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* vim-patch:8.0.0474: the client-server feature is not tested
Problem: The client-server feature is not tested.
Solution: Add a test.
https://github.com/vim/vim/commit/15bf76d40be1f1622ff5cc16596c308e76e2ca94
* vim-patch:8.0.0475: not enough testing for the client-server feature
Problem: Not enough testing for the client-server feature.
Solution: Add more tests. Add the remote_startserver() function. Fix that
a locally evaluated expression uses function-local variables.
https://github.com/vim/vim/commit/7416f3e73ab2c4e7ae3adc2ff6e70234f7d40d2e
* vim-patch:8.0.0492: a failing client-server request can make Vim hang
Problem: A failing client-server request can make Vim hang.
Solution: Add a timeout argument to functions that wait.
https://github.com/vim/vim/commit/81b9d0bd5c705815e903e671e81b0b05828efd9c
Include src/nvim/testdir/test_clientserver.vim changes from
patches 8.0.0477, 8.0.0479.
* vim-patch:8.0.0633: the client-server test is still a bit flaky
Problem: The client-server test is still a bit flaky.
Solution: Wait a bit for the GUI to start. Check that the version number
can be obtained.
https://github.com/vim/vim/commit/60964f68740b8abcbb2d3f0f3aeade21d1bacb22
Include src/nvim/testdir/test_clientserver.vim changes
from patches 8.0.0507, 8.0.0511.
* vim-patch:8.0.1251: invalid expressin passed to WaitFor()
Problem: Invalid expressin passed to WaitFor().
Solution: Check if the variable exists.
https://github.com/vim/vim/commit/d97fbf171ec0e63117813da045d2a1c51a9b6f62
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Wordcount test is old style.
Solution: Change into a new style test. (Yegappan Lakshmanan, closes vim/vim#2434)
https://github.com/vim/vim/commit/a703aaee4d6230ed81469ef0cb37f331bf255136
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Test 80 is old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1a333bc44a5d7e51575b1c3cd864fb37fd5b5f2b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes vim/vim#2272)
https://github.com/vim/vim/commit/430dc5d360166ca5bb6a73f2c87ae53e09282ecb
Skip Test_tag_file_encoding.
083_tag_search_with_file_encoding_spec.lua handles the same test case.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Still old style tests.
Solution: Convert two tests to new style. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/bb3e6416f157f68799ccb6070fa2f91df6780e79
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
test: Rename includes/pre/uv-errno.h to includes/pre/uv.h
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that uv.h is directly being included, pre-processing of
test/includes/pre/uv.h fails on Linux with
In file included from «SRCDIR»/neovim/test/includes/pre/uv.h:1:
In file included from /usr/include/uv.h:62:
/usr/include/uv/unix.h:72:11: fatal error: 'uv/pthread-barrier.h' file not found
# include "uv/pthread-barrier.h"
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
This happens because we're missing -D_GNU_SOURCE (part of ${gen_cdefs}),
which makes the pthread_barrier_* functionality visible.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
libuv users are only supposed to directly include uv.h. In v1.21.0, all
the uv-*.h headers were renamed to uv/*.h, which caused the unit tests
to fail with
[123/125] Generating post/uv-errno.h
FAILED: test/includes/post/uv-errno.h
cd «SRCDIR»/src/neovim/build/test/includes && /usr/bin/clang -std=c99 -E -P «SRCDIR»/src/neovim/test/includes/pre/uv-errno.h -I/usr/include -I/usr/include -o «SRCDIR»/neovim/build/test/includes/post/uv-errno.h
«SRCDIR»/src/neovim/test/includes/pre/uv-errno.h:1:10: error: 'uv-errno.h' file not found with <angled> include; use "quotes" instead
#include <uv-errno.h>
^~~~~~~~~~~~
"uv-errno.h"
The intention of the file is to extend libuv's error constants with more
values used by the unit tests. This can just as easily be achieved
without poking into pseudo-private header files.
|