| Commit message (Collapse) | Author | Age |
... | |
|\ \
| | |
| | | |
input: Do not set high-bit. Preserve META modifier.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Background: Vim internally prefers to represent ALT/META chords as
single-byte keys, by setting the high bit of the key byte.
extract_modifiers() _discards_ the meta/alt modifier, but we need it for
libvterm and libtermkey.
Closes #2440
Closes #3727
Closes #2017
References #2277
References #2254
https://github.com/neovim/neovim/issues/2017#issuecomment-140423557
> We [not libtermkey] are setting the high bit for some reason
https://github.com/neovim/neovim/issues/176#issuecomment-77834715
> libvtermkey requires the leading esc to parse alt/meta
https://github.com/neovim/neovim/pull/3246#issuecomment-136328450
> A program could do better than the current logic on some terminals, by
> asking for pure 8bit mode (S8C1T) and then immediately querying the
> mode again. If the result comes back as an 8bit single-byte CSI, then
> it can presume the mode setting was successful, and now the ESC prefix
> byte won't be seen in multibyte sequences; only as an Alt- prefix or
> a real Escape key. On such a terminal, it could therefore avoid
> needing to use that waiting timeout.
|
|\ \ \
| | | |
| | | | |
shell: Unquote &shell* options before using them
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | | |
MAXNAMLEN can be defined using _MAX_PATH from stdlib.h
which will fix the BASENAMELEN definition too.
|
|/ /
| |
| |
| |
| | |
PRId64 format expects int64_t.
Regression from c6e481cba559d35891f20ef4ac9ca6a41bdcdbd3.
|
|\ \
| | |
| | | |
cmake: Pass MIN_LOG_LEVEL as compiler definition
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Check if MIN_LOG_LEVEL value is a number 0-3, default to
INFO (1) or ignore it in Release mode
- When TRAVIS_CI_BUILD is ON the default is DEBUG (0)
- Add local.mk.example
|
| | |
| | |
| | |
| | |
| | |
| | | |
The block is only compiled if the system is NOT WIN32, but the closing
parenthesis for the statement opened outside the block is closed inside
the block.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Running "make newtests" in src/testdir has no output.
Solution: List the messages file when a test fails. (Christian Brabandt)
Update the list of tests.
https://github.com/vim/vim/commit/e7893a4088d6ea796bcab6195d232cb26c12c317
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: message from assert_false() does not look nice.
Solution: Handle missing sourcing_name. Use right number of spaces. (Watiko)
Don't use line number if it's zero.
https://github.com/vim/vim/commit/cbfe32953aea09d35d9ac7e5865c915b14e310c1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When a test script navigates to another buffer the .res file is
created with the wrong name.
Solution: Use the "testname" for the .res file. (Damien)
https://github.com/vim/vim/commit/de0ad40cb3c1bc691a754698ed16a5b6cdb4086b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: v:errors is not initialized.
Solution: Initialze it to an empty list. (Thinca)
https://github.com/vim/vim/commit/4649ded2877508fe343cbcf6f7e7fd277be0aab3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Missing changes in source file.
Solution: Include changes to the eval.c file.
https://github.com/vim/vim/commit/bbfbaf9741deebb9f1ed790885bd571c4cbce17a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: New style testing is incomplete.
Solution: Add the runtest script to the list of distributed files.
Add the new functions to the function overview.
Rename the functions to match Vim function style.
Move undolevels testing into a new style test script.
https://github.com/vim/vim/commit/683fa185a4b4ed7595e5942901548b8239ed5cdb
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Writing tests for Vim script is hard.
Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add
the v:errors variable. Add the runtest script. Add a first new
style test script.
https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
|
| |
| |
| |
| |
| |
| |
| | |
The relevant code was never actually in Neovim, most likely due to being
unifdef(1)'d out during the initial import.
see `:h hidden-options'
|
|\ \
| | |
| | | |
eval: Use better error messages when failing to dump values
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Examples:
let g:SR = [[]]
call add(g:SR[0], g:SR)
wshada
" E952: Unable to dump variable g:SR: container references itself in index 0, index 0
let g:F = {'_TYPE': v:msgpack_types.map, '_VAL': [[{'abc': 1}, function("tr")]]}
wshada
" E951: Error while dumping variable g:F, key {'abc': 1} at index 0 from special map, key '': attempt to dump function reference
" (no msgpack#string available)
" E951: Error while dumping variable g:F, key {="abc": 1} at index 0 from special map, key '': attempt to dump function reference
" (msgpack#string available)
let g:F = {'_TYPE': v:msgpack_types.map, '_VAL': [[g:SR, function("tr")]]}
wshada
" E951: Error while dumping variable g:F, key [[[[{E724@0}]]]] at index 0 from special map, index 1: attempt to dump function reference
call msgpackdump([g:SR])
" E952: Unable to dump msgpackdump() argument, index 0: container references itself in index 0, index 0
Not tested yet.
|
| | |
| | |
| | |
| | | |
This was forgotten in 10b2a0e52980aba2d1efc072368fcaf1f33e7512
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The nested line was the else-branch of an if-then-else block that dealt
with cryptography, but after commit
85338fe1d5a56f82546e16c305c2048c081771e0 (Remove cryptography) removed
the if-then part, the indentation of this line was not adjusted.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Recording the compilation time modifies the source for dubious gain, and
interferes with reproducible builds [1].
[1] https://reproducible-builds.org/
|
|/ / |
|
| | |
|
| |
| |
| |
| | |
Preverve the locale-depedency for fileencodings=default
|
| |
| |
| |
| |
| | |
The Vim code for windows in if_cscope.c/.h was removed during the refactor,
added missing code for error_closing().
|
|\ \
| | |
| | | |
Windows: Make the os_get_uname argument portable
|
| | |
| | |
| | |
| | |
| | |
| | | |
Since uid_t is not defined on Windows use uv_uid_t instead.
We now use uv_uid_t everywhere except one place in src/nvim/main.c
which is wrapped in a #ifdef UNIX check.
|
|\ \ \
| |/ /
|/| | |
vim-patch:7.4.605
|
| | |
| | |
| | |
| | |
| | | |
file_pat_to_reg_pat() and buflist_findpat() do not modify the data of
these parameters.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The # register is not writable, it cannot be restored after
jumping around.
Solution: Make the # register writable. (Marcin Szamotulski)
https://github.com/vim/vim/commit/3b3a9498d1eab3c28c524cce115160528a9a9297
|
|\ \ \
| | | |
| | | | |
os_fsync
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | | |
Previously oap->motion_type == MCHAR would be blockwise if
oap->block_mode was set.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The do_path_expand() function is still using the unix_expandpath
variant from Vim. For Windows it should behave as the old
dos_expandpath() function. This commit adds an ifdef to ignore
EW_ICASE flag in this function, otherwise all matches fail on Windows
if wildignorecase is set.
|
|\ \ \
| | | |
| | | | |
MSVC: Fix UI_CALL for MSVC
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The UI_CALL macro uses variadic macros and relies on the non standard
GCC extension. MSVC already applies similar behavior for the regular
__VA_ARGS__ removing the comma.
In MSVC UI_CALL can be implemented by calling UI_CALL_MORE directly.
|
|\ \ \ \
| |_|/ /
|/| | | |
Update version.c to 7.4.1000
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
NA patches list:
607 Compiler warning
620 Compiler warning
624 result check for realloc
628 volatile add, but no code in neovim
641 tabnew fix, but no code in neovim
661 no K_CURSORHOLD in neovim
841 add ifdef
842 Windows GUI
854 CONTRIBUTION.md
863 FEAT_DIFF
864 Tiny build
923 add ifdef
924 configure changes
927 if_ruby
928 client server
930 Windows GUI
934 Appveyor
938 X11 and GTK GUI fix
940 term
948 ifdef
954 if_lua
959 term
960 Windows build
962 Makefile fix
965 ifdef fix
966 configure fix
967 Makefile fix
976 configure fix
979 crypt feature
985 if_ruby
986 test fix in Windows
987 if_ruby
988 build rule
990 Appveyor
992 build fix in Windows
994 tests for Windows
995 GTK GUI
996 GTK GUI
997 Travis CI
999 Makefile change
|
|\ \ \ \
| | | | |
| | | | | |
helpers.c: Handle msgpack str/bin objects with length 0 correctly
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When converting a msgpack object to a String object, strings (and byte
arrays) with length 0 are handled as errors. This is fixed by
always using the msgpack data pointer as a valid pointer. For a NULL
pointer there is nothing to copy.
Test by @snoe
Fixes #3844
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
MSVC: Define STDOUT_FILENO and STDERR_FILENO
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Windows: Fix cast in if_cscope.c
|
| |/ / / |
|