aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* api: add blanket implementation of "since"Björn Linse2016-09-27
|
* api: define the set of function attributes to expose in the metadataBjörn Linse2016-09-27
|
* api: restore old return type of deprecated ui_try_resize methodBjörn Linse2016-09-27
|
* genunicodetables: Give the unicode directory as the first argumentJames McCoy2016-09-24
| | | | | | Let genunicodetables determine which files it needs from the unicode directory. cmake just needs to pass the directory and destination file to the script.
* vim-patch:7.4.1642James McCoy2016-09-24
| | | | | | | | 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
* vim-patch:7.4.1629James McCoy2016-09-24
| | | | | | | | | | 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
* vim-patch:7.4.1620James McCoy2016-09-24
| | | | | | | 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
* vim-patch:7.4.1604James McCoy2016-09-24
| | | | | | | | | 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
* vim-patch: Group alternations in preprocess_patchJames McCoy2016-09-22
| | | | | | | | | | | | | | | | | 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.
* gendispatch: warn for deprecated alias if the deprecated function has ↵Björn Linse2016-09-15
| | | | implemation
* api: remove unnecessary initializations causing warnings in api dispatch (#5337)Björn Linse2016-09-14
| | | | | 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
* vim-patch.sh: Use printf instead of echoJustin M. Keyes2016-09-13
| | | | Also: neovim => nvim
* vim-patch.sh: preprocess_patch()Justin M. Keyes2016-09-13
| | | | | | | - Remove not-applicable Vim changes such as *.proto, todo.txt, ... Also: - support NVIM_SOURCE_DIR override
* api: fix leak when a api function is incorrectly called with a list.Björn Linse2016-08-31
| | | | This applies both to msgpack-rpc and eval.
* api: consistently use nvim_ prefix and update documentationBjörn Linse2016-08-31
|
* api: Allow blacklist functions that shouldn't be accesible from evalBjörn Linse2016-08-31
| | | | Blacklist deprecated functions and functions depending on channel_id
* eval: use gperf to generate the hash of builtin functionsBjörn Linse2016-08-31
| | | | make api functions highlighted as builtins in vim.vim
* api: unify buffer numbers and window ids with handlesBjörn Linse2016-08-31
| | | | also allow handle==0 meaning curbuf/curwin/curtab
* api: auto generate api function wrappers for vimlBjörn Linse2016-08-31
|
* api: rename "msgpack_rpc/defs.h" to "api/private/dispatch.h" and use the ↵Björn Linse2016-08-31
| | | | header generator.
* eval: Use generated hash to look up function listZyX2016-08-31
| | | | | | | | | 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.
* eval: Move VimL functions list to a lua fileZyX2016-08-31
| | | | | | 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).
* release.sh: Sign the tag.Justin M. Keyes2016-08-26
| | | | Also: hacks for BSD sed.
* release.sh: Touch NVIM_VERSION_PATCH, show obnoxious message.Justin M. Keyes2016-08-22
| | | | git-log-pretty-since.sh: fix bug
* version bumpJustin M. Keyes2016-08-22
|
* scripts/vim-patch.sh: fix typo (#5221)Daniel Hahler2016-08-14
| | | [ci skip]
* scripts/vim-patch.sh: use privileged mode (set -p)Daniel Hahler2016-08-11
| | | | | | | | | 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.
* Merge #4964 from ZyX-I/no-xdg-expandJustin M. Keyes2016-08-04
|\ | | | | option: Do not expand options, obtained from XDG vars
| * option: Do not expand options, obtained from XDG varsZyX2016-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | fixup! genvimvim.lua: fix matching functionsDaniel Hahler2016-07-14
| |
* | genvimvim.lua: fix matching functionsDaniel Hahler2016-07-13
| | | | | | | | Fixes https://github.com/neovim/neovim/issues/5060.
* | vim-patch.sh: ignore coloring and pagers (#5030)Simon Weil2016-07-10
|/
* msgpack-gen: Fix for Lua 5.1. (#4857)Florian Walch2016-06-01
| | | goto statement was only introduced in Lua 5.2.
* vimpatch.sh: bug fix in find_git_remote regex (#4863)Shota2016-06-01
| | | vimpatch.sh: fix awk expr
* vim-patch.sh: Only print the first neovim/neovim remote nameJames McCoy2016-05-28
| | | | | | | 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.
* api: refactor remote ui to use API dispatch generationBjörn Linse2016-05-27
|
* vim-patch.sh: Show if a patch includes runtime filesJames McCoy2016-05-19
|
* vim-patch.sh: Add support for sociomatic/git-hubJames McCoy2016-05-19
|
* vim-patch.sh: Rename check_executable to require_executableJames McCoy2016-05-19
| | | | | check_executable now just wraps the "exists && executable" check. This will be needed to allow fallbacks for commands.
* vim-patch.sh: Ignore “git describe” failures in list_vim_patchesJames McCoy2016-05-17
| | | | | | | | | 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.
* Run shellcheck (shell scripting linter) on shell scripts.Michael Ennen2016-05-11
| | | | | | | | | | | | | | | | | 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.
* release.sh: Automate release process.Justin M. Keyes2016-04-24
|
* vim-patch.sh: fix/improve pattern with find_git_remoteDaniel Hahler2016-04-24
|
* vim-patch.sh: Query git for name of neovim remoteJames McCoy2016-04-23
| | | | | Rather than assume the user named their neovim/neovim remote "upstream", parse the information from "git remote -v".
* Update lua client to 0.0.1-24Thiago de Arruda2016-04-13
| | | | | The new version of the lua client uses libmpack as a backend, and some test scripts had to be updated to reflect that.
* vim-patch.sh: Fetch the whole vim repository and fix a regexppips.linux2016-04-08
| | | | | | | Make get_vim_sources fetch the whole repository (it's not THAT big) so we can pick up all the patches. The regexp didn't pick up the NA patches if there was a comma after NA, so I extended it (I allowed arbitray things after NA, so maybe someone can write a comment or so, should not lead to confusion).
* Revert "build system: avoid more unneccesary recompiles"Björn Linse2016-02-25
| | | | This was not the correct way to fix the issue.
* vim-patch.sh: Replace #<number> with vim/vim#<number> in commit messages.Florian Walch2016-02-17
|
* vim-patch.sh: Support multi-patch pull requests.Florian Walch2016-02-17
| | | | | | | | | | | | | | * Calling "vim-patch.sh -p" on a checked-out branch already created with "-p" will re-use the branch and append commits. * Fetch upstream/master before checking out branch on first call of "-p". * Reverted creation of commit in submit step ("-s") to previous behavior: Create an empty commit with correct commit message when "-p" is called. * Submitting a pull request with "-s" will create a correct pull request message even if multiple patches have been ported in one single branch with "-p".
* vim-patch.sh: Add -s (submit pull request) option.Florian Walch2016-02-17
| | | | | | When calling "vim-patch.sh -s" on a checked-out branch created with "vim-patch.sh -p", create commit from staged changes, push to origin, create pull request (using hub), and clean up patch files.