aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
...
* 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.
* vim-patch.sh: Use .patch files only.Florian Walch2016-02-17
|
* vim-patch.sh: Improvements for review functionality.Florian Walch2016-02-17
| | | | | | * Support pull requests with multiple commits. * Offer to clean up files after review. * Always use full commit hash in assign_commit_details().
* Merge #4140 'vim-patch:7.4.771'.Justin M. Keyes2016-02-15
|\
| * legacy2luatest: Use before_each instead of setup.Jurica Bradaric2016-02-01
| | | | | | | | | | | | This will avoid confusion if additional `it()` blocks are added. (`setup()` only runs once per `describe()` block, whereas `before_each()` runs before each `it()`).
* | build system: avoid more unneccesary recompilesBjörn Linse2016-02-14
| |
* | vim-patch:7.4.749watiko2016-02-09
|/ | | | | | | Problem: For some options two consecutive commas are OK. (Nikolay Pavlov) Solution: Add the P_ONECOMMA flag. https://github.com/vim/vim/commit/0e7c4b99c608d22fd1b8526e700420b248319b1f
* vim-patch.sh: List in chronological order. #4034Florian Walch2016-01-20
|
* vim-patch.sh: Fix listing of NA patches. #4034Florian Walch2016-01-17
|
* vim-patch.sh: fix regressionJustin M. Keyes2016-01-08
|
* vim-patch.sh: force LC_ALL=C for preprocessingJustin M. Keyes2015-12-17
| | | | | | | | | | Any patch may contain mixed encodings, so we must process them as byte arrays. E.g. with stock `sed` on OS X patch 8a94d873aa8c753a8522ea86a049bdf2abd0c507 causes this error: sed: RE error: illegal byte sequence To avoid that, set LC_ALL=C. Also remove redundant *.patch creation from review_pr().
* vim-patch.sh: fix order of non-tagged patchesJustin M. Keyes2015-12-17
| | | | Sort non-tagged patches in descending order, like tagged patches.
* Fix the examples for vim-patch.sh so they are valid commands. #3631Johan Klokkhammer Helsing2015-11-08
| | | | The examples were missing the required -p flag.
* scripts: Add filter argument to shadacat.pyZyX2015-10-23
|
* scripts: Improve shadacat to work with unknown itemsZyX2015-10-08
|
* scripts: Also print entry offset in shadacat.pyZyX2015-10-08
|
* shada: Add support for dumping/restoring bufs changes and win jumpsZyX2015-10-08
|
* viminfo: First version of ShaDa file dumpingZyX2015-10-08
| | | | | | | | | | | | | | | | | | | | What works: 1. ShaDa file dumping: header, registers, jump list, history, search patterns, substitute strings, variables. 2. ShaDa file reading: registers, global marks, variables. Most was not tested. TODO: 1. Merging. 2. Reading history, local marks, jump and buffer lists. 3. Documentation update. 4. Converting some data from &encoding. 5. Safer variant of dumping viminfo (dump to temporary file then rename). 6. Removing old viminfo code (currently masked with `#if 0` in a ShaDa file for reference).
* vim-patch.sh: best-effort for older git.Justin M. Keyes2015-08-27
|
* vim-patch.sh: get all untagged patches #3250Justin Gassner2015-08-27
|
* vim-patch.sh: update for gitJustin M. Keyes2015-08-26
|
* vim-patch.sh: update for Vim's hg => git migrationJohn Whitley2015-08-26
|
* Windows: Accept CRLF in msgpack-gen.lua grammar #3226Rui Abreu Ferreira2015-08-24
| | | | - MSVC generates output using Windows newlines (\r\n) instead of (\n).
* Merge pull request #2159 from ZyX-I/auto-unicodeJustin M. Keyes2015-08-19
|\ | | | | Generate unicode tables with script
| * documentation: Document table meanings in comment to genunicodetablesZyX2015-07-26
| |
| * Create script that downloads and commits UNIDATA filesZyX2015-07-26
| |
| * Generate unicode tables with script when buildingZyX2015-07-26
| |
* | msgpack: Replace FUNC_ATTR_DEFERRED by FUNC_ATTR_ASYNCThiago de Arruda2015-08-13
| | | | | | | | | | | | | | | | | | | | | | API functions exposed via msgpack-rpc now fall into two categories: - async functions, which are executed as soon as the request is parsed - sync functions, which are invoked in nvim main loop when processing the `K_EVENT special key Only a few functions which can be safely executed in any context are marked as async.
* | vim-patch.sh: Add --review option to compare PR and original diffs. #3083Florian Walch2015-08-03
|/ | | | Helped-by: Michael Reed <m.reed@mykolab.com>
* syntax: Exclude deprecated optionsZyX2015-07-26
| | | | Excluded options (compatible, edcompatible and ttyfast) are listed in vimOnlyOption group.
* syntax: List NeoVim-specific autocmd eventsZyX2015-07-26
| | | | Note: list was copied from master (7a6bf3f418c5ad94ac2ac71f21275a87d08e87b9). I did not add more events there.
* scripts: Add script which is able to generate part of vim.vim fileZyX2015-07-26
|
* options: Move option definitions to options.luaZyX2015-07-26
|
* fileio: Move event definitions to the generator scriptZyX2015-07-26
|
* Fix compiling with gcc 5. #2566oni-link2015-05-04
| | | | | Pattern matching failed, because the preprocessor added additional linemarkers around type Bool.
* scripts/legacy2luatest.pl: remove modeline #2536Justin M. Keyes2015-05-02
| | | | | Several legacy tests have "vim: set ft=vim" modelines which causes the new lua file to be opened with filetype=vim.
* vim-patch:7.4.530-531Felipe Morales2015-04-28
| | | | | | | | | | | | | | | | | | | | | | | Specify different kinds of counts for commands. Updated ex commands generator scripts. Includes fixes to comments from patch 7.4.531 Original message: Problem: Many commands take a count or range that is not using line numbers. Solution: For each command specify what kind of count it uses. For windows, buffers and arguments have "$" and "." have a relevant meaning. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?r=v7-4-530 https://code.google.com/p/vim/source/detail?r=v7-4-531 Add legacy tests for 7.4.530 https://code.google.com/p/vim/source/detail?r=1e6d87a36dcdca231721dde8cbbc26610fb3df27
* vim-patch.sh: Fix indentation, use GH URL for tagged versions. #2525Florian Walch2015-04-28
| | | | | | * Link to the commit details on GitHub for a tagged version. * Non-tagged patches (runtime updates) are still linked to Google Code because they are identified by a Mercurial commit hash.
* msgpack: coerce Ints to Windows/Buffers/TabpagesThiago de Arruda2015-04-13
| | | | Add conversion checking when generating msgpack handlers.