| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Some .po files do not have UTF8 versions, leave those alone for now.
Also remove sjiscorr.c utility.
|
|
|
|
|
|
|
|
|
| |
grep 2.26 changed its behavior when redirecting its output to /dev/null
such that it exits as soon as one match is found. This causes sed to
get a SIGPIPE which, due to "set -o pipefail", falsely implies that the
patch is not applied.
Removing "set -o pipefail" preserves the good exit status from grep.
|
|
|
|
|
|
|
|
|
|
|
| |
Since data.integer is a different (larger) integer type than
data.{buffer,window,tabpage}, we cannot abuse the union by using
data.integer to access the value for all 4 types. Instead, remove the
{buffer,window,tabpage} members and always use the integer member.
In order to accomodate this, perform distinct validation and coercion
between the Integer type and Buffer/Window/Tabpage types in
object_to_vim, msgpack_rpc helpers, and gendispatch.lua.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FEATURES:
0b5a7e4ad5ee #4432 API: external UIs can render custom popupmenu
c6ac4f84b163 #4934 API: call any API method from vimscript
31df051ed9a3 #4568 API: nvim_call_atomic(): multiple calls in a single request
b268ba353af4 #5424 API: nvim_win_get_number(), nvim_tabpage_get_number()
e7e2844d468d has("nvim-1.2.3") checks for a specific Nvim version
522b885a0db7 #5295, #5493 `:CheckHealth` checks tmux, terminfo, performance
719dae2e010c #5384 events: allow event processing in getchar()
f25797f86976 #5386 API: metadata: Nvim version & API level
22dfe6925d47 #5389 API: metadata: "since", "deprecated_since"
605e74327a40 Added QuickFixLine highlight group
CHANGES:
4af6ec746c82 #5253 perf: Disable clipboard in do_cmdline()
6e9f329d051c #5299 perf: Skip foldUpdate() in insert-mode.
9d4fcec7c6b6 #5426 perf: Do not auto-update folds for some foldmethods.
eeec0cab5848 #5419 tui: Default to normal-mode cursor shape.
FIXES:
e83845285cf3 #5436 tui: Fix "weird characters" / "bleeding termcodes"
10a54ad12e2d #5243 signal_init: Always unblock SIGCHLD.
bccb49bedb9b #5316 eval.c: Fix memory leak for detached pty job
626065d385c4 #5227 tchdir: New tab should inherit CWD.
cd321b7d0fb1 #5292 getcwd(): Return empty string if CWD is invalid.
6127eaef0534 shada: Fix non-writeable ShaDa directory handling
ca65514a241b #2789 system(): Respect shellxescape, shellxquote
2daf54ee8dd9 #4874 Restore vim-like tab dragging
0c536b5d8afe #5319 syntax.c: Support bg/fg special color-names.
3c53371b0ccb #4972 from justinmk/schedule-ui_refresh
68bcb32ec43e #4789 tui.c: Do not wait for tui loop on teardown.
c8b6ec2e6a85 #5409 v:count broken in command-line window
6bc3bcefc6ca #5461 fix emoji display
51937e1322de #5470 fix :terminal with :argadd, :argu
79d77da8a06b #5481 external UIs: opening multiple files from command-line
657ba62a84de #5501 rplugin: resolve paths in manifest file
6a6f188d2ac4 #5502 system('foo &', 'bar'): Show error, don't crash.
1ff162c0d99c #5515 os_nodetype: open fd with O_NONBLOCK
2a6c5bb0c4b0 #5450 modeline: Handle version number overflow.
0ade1bb7067d #5225 CI tests now run against Windows!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The API level is disconnected from the NVIM version. The API metadata
holds the current API level, and the lowest backwards-compatible level
supported by this instance.
Release 0.1.6 will be the first release reporting the Nvim version and
API level.
metadata['version'] = {
major: 0,
minor: 1,
patch: 6,
prerelease: true,
api_level: 1,
api_compatible: 0,
}
The API level may remain unchanged across Neovim releases if the API has
not changed.
When changing the API the CMake variable NVIM_API_PRERELEASE is set to
true, and NVIM_API_CURRENT/NVIM_API_COMPATIBILITY are incremented
accordingly.
The functional tests check the API table against fixtures of past
versions of Neovim. It compares all the functions in the old table with
the new one, it does ignore some metadata attributes that do not alter
the function signature or were removed since 0.1.5. Currently the only
fixture is 0.mpack, generated from Neovim 0.1.5 with nvim --api-info.
|
|
|
|
|
|
| |
Also include missing changes from:
https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810
https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
|
|\
| |
| | |
atomic multi request for async remote plugins
|
| |
| |
| |
| | |
remove unused response_id parameter of handle_nvim_... helpers
|
|/
|
|
|
| |
Remove max_fname_len check, which caused false successful lookups,
and was an optimization for a very rare case.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Let genunicodetables determine which files it needs from the unicode
directory. cmake just needs to pass the directory and destination file
to the script.
|
|
|
|
|
|
|
|
| |
Problem: Handling emoji characters as full width has problems with
backwards compatibility.
Solution: Only put characters in the 1f000 range in the emoji table.
https://github.com/vim/vim/commit/6a08454b93784c92296d4c08456401cbaa74c9d5
|
|
|
|
|
|
|
|
|
|
| |
Problem: Handling emoji characters as full width has problems with
backwards compatibility.
Solution: Remove ambiguous and double width characters from the emoji table.
Use a separate table for the character class.
(partly by Yashuhiro Matsumoto)
https://github.com/vim/vim/commit/b86f10ee10bdf932df02bdaf601dffa671518a47
|
|
|
|
|
|
|
| |
Problem: Emoji characters are not considered as a kind of word character.
Solution: Give emoji characters a word class number. (Yashuhiro Matsumoto)
https://github.com/vim/vim/commit/4077b33a8370afb3d5ae74e556a0119cf51fe294
|
|
|
|
|
|
|
|
|
| |
Problem: Although emoji characters are ambiguous width, best is to treat
them as full width.
Solution: Update the Unicode character tables. Add the 'emoji' options.
(Yasuhiro Matsumoto)
https://github.com/vim/vim/commit/3848e00e0177abdb31bc600234967863ec487233
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without the groupings, only the first alternation matches the diff
marker. For example,
local na_doc='todo\.txt\|version\d\.txt\|tags'
... +'g^diff --git a/runtime/doc/'${na_doc}'...
becomes, after expansion,
... +'g^diff --git a/runtime/doc/todo\.txt\|version\d\.txt\|tags'...
so the matches become "^diff --get a/runtime/doc/todo\.txt",
"version\d\.txt", or "tags". Adding the grouping ensures the expected
behavior of requiring "^diff --get a/runtime/doc/" before every
filename.
|
|
|
|
| |
implemation
|
|
|
|
|
| |
Left over change from acb7c82 (fix leak when a api function is
incorrectly called with a list.). These initializations are now never
used and causes warnings in static analysis
|
|
|
|
| |
Also: neovim => nvim
|
|
|
|
|
|
|
| |
- Remove not-applicable Vim changes such as *.proto, todo.txt, ...
Also:
- support NVIM_SOURCE_DIR override
|
|
|
|
| |
This applies both to msgpack-rpc and eval.
|
| |
|
|
|
|
| |
Blacklist deprecated functions and functions depending on channel_id
|
|
|
|
| |
make api functions highlighted as builtins in vim.vim
|
|
|
|
| |
also allow handle==0 meaning curbuf/curwin/curtab
|
| |
|
|
|
|
| |
header generator.
|
|
|
|
|
|
|
|
|
| |
Problems:
- Disables cross-compiling (alternative: keeps two hash implementations which
need to be synchronized with each other).
- Puts code-specific name literals into CMakeLists.txt.
- Workaround for lua’s absence of bidirectional pipe communication is rather
ugly.
|
|
|
|
|
|
| |
Removes all kinds of problems with sorting, provides a ready-to-use function
list representation for genvimvim.lua, does not require specifying function name
twice (VimL function name (string) + f_ function name).
|
|
|
|
| |
Also: hacks for BSD sed.
|
|
|
|
| |
git-log-pretty-since.sh: fix bug
|
| |
|
|
|
| |
[ci skip]
|
|
|
|
|
|
|
|
|
| |
Without this the "cd scripts/.." might change to another dir (since
CDPATH is looked at before a local path), and then NEOVIM_SOURCE_DIR
might end up being "/somewhere/else\n/somewhere/else" (since the "cd"
prints the dir already in that case).
Closes https://github.com/neovim/neovim/pull/5213.
|
|\
| |
| | |
option: Do not expand options, obtained from XDG vars
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is a wrong thing to do, this makes valid variable values be treated
incorrectly: in
XDG_DATA_HOME='/home/$foo/.local/share'
`$foo` should be treated literally and not expanded to `foo` environment
variable value.
Also makes option_expand not try to expand too long strings even if these too
long strings are default values. Previously it thought that default values
should always be expanded. Also does not try to expand NULL should it be the
default value just in case.
Fixes #4961
|
| | |
|
| |
| |
| |
| | |
Fixes https://github.com/neovim/neovim/issues/5060.
|
|/ |
|
|
|
| |
goto statement was only introduced in Lua 5.2.
|
|
|
| |
vimpatch.sh: fix awk expr
|
|
|
|
|
|
|
| |
If a user has multiple remotes set for neovim/neovim, then
find_get_remote was returning 'remote1\nremote2\n', which breaks
anything trying to use it. Since we're just using this remote to fetch
from, any one will do.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
check_executable now just wraps the "exists && executable" check. This
will be needed to allow fallbacks for commands.
|
|
|
|
|
|
|
|
|
| |
It's acceptable for “git describe --tags --exact-match …” to fail, since
all runtime updates commits are untagged. All that matters is that we
get a tag when one exists.
Therefore, ignore the failure status of the git describe call, relying
on the captured output instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a total of 5 shell scripts in the Neovim source tree.
All but runtime\macros\less.sh had warnings/errors when run through
Shellcheck (http://www.shellcheck.net/).
This commit fixes all warnings/errors and also changes the shebang to
"#!/bin/sh" when possible (this was not possible for vim-patch.sh
because it uses many bashisms).
The shellcheck errors that were fixed are:
SC2068: Double quote array expansions to avoid re-splitting elements.
SC2086: Double quote to prevent globbing and word splitting.
SC2124: Assigning an array to a string! Assign as array, or use *
instead of @ to concatenate
SC2155: Declare and assign separately to avoid masking return values.
|