aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* Merge pull request #11764 from blueyed/vim-patch-usageJames McCoy2020-05-15
|\
| * docDaniel Hahler2020-01-26
| |
| * set -u before returnDaniel Hahler2020-01-26
| | | | | | | | Follow up to a4d21f059.
| * scripts/vim-patch.sh: add -m to usageDaniel Hahler2020-01-26
| | | | | | | | Ref: https://github.com/neovim/neovim/pull/11514#issuecomment-569476828
* | Merge pull request #12081 from xylix/bash-version-checkJames McCoy2020-04-21
|\ \
| * | Apply suggestions from code reviewKerkko Pelttari2020-04-07
| | | | | | | | | | | | | | | | | | Improve error message for unsupported bash version, use double square bracket operator Co-Authored-By: Daniel Hahler <github@thequod.de>
| * | Check for bash version in vim-patch.shKerkko Pelttari2020-04-06
| |/
* / vim-patch.sh: Fix creation of commit list for PR reviewJames McCoy2020-03-31
|/ | | | [ci skip]
* terminal: absolute CWD in term:// URI #11289Chris LaRose2020-01-26
| | | | | | | | | This makes it possible to restore the working directory of :terminal buffers when reading those buffers from a session file. Fixes #11288 Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* fixup! fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514Jan Edmund Lazo2020-01-19
|
* doc [ci skip] #11656Justin M. Keyes2020-01-12
|
* vim-patch.sh: fix for bash 4.3 or older #11700Jan Edmund Lazo2020-01-11
|
* gen_vimdoc.py: rename `mode` to `target`Justin M. Keyes2019-12-31
|
* gen_vimdoc.py: generate LSP docsJustin M. Keyes2019-12-31
|
* gen_vimdoc.py: sort by nameJustin M. Keyes2019-12-30
|
* gen_vimdoc.py: better handling of inline (non-block) nodesJustin M. Keyes2019-12-30
|
* gen_vimdoc.py: fix deprecated checkJustin M. Keyes2019-12-30
|
* fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514Jan Edmund Lazo2019-12-29
|
* Fix scripts/vim-patch.sh for Bash 4.3Daniel Hahler2019-12-25
| | | | Ref: https://github.com/neovim/neovim/pull/11514#issuecomment-568780231
* vim-patch.sh: list related missing Vim patches [ci skip] #11514Daniel Hahler2019-12-24
| | | | | | | | * scripts/vim-patch.sh: factor out _set_tokens_and_tags This allows for caching `$tokens` and `$vim_commit_tags`, which will become relevant with the next commit adding `list_missing_previous_vimpatches_for_patch`.
* gen_vimdoc.py: lint #11593Daniel Hahler2019-12-23
|
* Merge #11396 'gen_vimdoc.py: mpack result' [ci skip]Justin M. Keyes2019-12-22
|\
| * gen_vimdoc.py: rename for clarityJustin M. Keyes2019-12-21
| | | | | | | | | | - render_para => fmt_node_as_vimhelp - Inline parse_parblock() in fmt_node_as_vimhelp()
| * gen_vimdoc.py: mpack: collect functions in 1 dictJustin M. Keyes2019-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All Nvim API, core Vimscript, and core Lua functions are globally unique, so there is no need for per-module nested dicts. BEFORE (generated mpack structure): [ { "buffer.c": { "nvim__buf_stats": { ... }, ... }, "window.c": { "nvim_win_close": { ... }, ... }, ... } ] AFTER (generated mpack structure): [ { "nvim__buf_stats": { ... }, "nvim_buf_attach": { ... }, "nvim_tabpage_set_var": { ... }, "nvim_ui_attach": { ... }, "nvim_win_close": { ... } } ]
| * gen_vimdoc.py: fix "seealso", "xrefs"Justin M. Keyes2019-12-21
| | | | | | | | | | | | - Also fix xrefs ("Deprecated" section) - Fix "Deprecated" rendering by a weird hack (see comment). - Eliminate unnecessary use of render_para()
| * gen_vimdoc.py: mpack: exclude deprecated functionsJustin M. Keyes2019-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `mpack` variable was a tuple, which manifests as an array in the generated msgpack structure. - Removes noise from the mpack data (deprecated functions are deprecated). - Eliminates 1 level of nesting. BEFORE: [ { "buffer.c": [ { "nvim__buf_stats": { ... }, ... }, { "buffer_del_line": { ... }, ... }, ], ... } ] AFTER: [ { "buffer.c": { "nvim__buf_stats": { ... }, ... }, ... ]
| * gen_vimdoc.py: fix mpack generatorJustin M. Keyes2019-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make parameters_doc a dict intead of a list BEFORE: "parameters_doc": [ { "buffer": "Buffer handle, or 0 for current buffer" } ], AFTER: "parameters_doc": { "buffer": "Buffer handle, or 0 for current buffer" }, - make "return", "seealso", lists instead of strings
| * gen_vimdoc.py: DRYJustin M. Keyes2019-12-21
| |
| * [scripts/gen_vimdoc.py] Generate better-formatted mpacksmolck2019-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the generated msgpack result values in the runtime/doc/*.mpack files to be formatted like this (instead of being formatted like Vim help text): [ 'nvim_win_get_var': { 'signature': 'nvim_win_get_var({window}, {name}, {err})', 'parameters': [('Window', 'window'), ('String', 'name'), ('Error *', 'err')], 'parameters_doc': [{'window': 'Window handle, or 0 for current window', 'name': 'Variable name'}], 'doc': ['Gets a window-scoped (w:) variable'], 'return': ['Variable value'], 'seealso': [] } }, ... ]
* | doc: fix typosBrian Wignall2019-11-27
| | | | | | | | close #11459
* | release.sh [ci skip]Justin M. Keyes2019-11-24
| |
* | doc: Lua [ci skip] #11378Justin M. Keyes2019-11-17
| | | | | | | | - Rework :help lua-commands - Rename if_lua.txt => lua.txt
* | vim-patch.sh: multiline printf -> heredoc (#11351)Marco Hinz2019-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following script is cut out from vim-patch.sh: ```sh #!/usr/bin/env bash BASENAME=vim-patch.sh printf "\nInstructions: To port one of the above patches to Neovim, execute this script with the patch revision as argument and follow the instructions, e.g. '%s -p v8.0.1234', or '%s -P v8.0.1234' NOTE: Please port the _oldest_ patch if you possibly can. You can use '%s -l path/to/file' to see what patches are missing for a file. " "${BASENAME}" "${BASENAME}" "${BASENAME}" ``` The code itself should be correct, but shellcheck 0.7.0 says: ``` In /tmp/test.sh line 5: printf "\nInstructions: ^-- SC2183: This format string has 2 variables, but is passed 3 arguments. ``` We also had a problem before that a `%s` was added, but the accompanying argument to printf was forgotten. Using a heredoc is less error-prone, since we insert variables directly.
* | vim-patch.sh: add missing argumentMarco Hinz2019-11-08
|/ | | | [skip ci]
* Merge #11319 'inccommand: fix issues with modifiers and prompting'Justin M. Keyes2019-11-05
|\
* | update_version_stamp.lua: Use NUL on Windows #11323erw72019-11-02
|/
* scripts/lua2dox.lua: Remove class declaration blockHirokazu Hata2019-10-27
| | | | | | | Judging class definitions in the form "string.find (line, '=% s * class% (')" must force writing class definitions in this format, but such a mechanism is Absent. Also, Lua has no formal class in the language specification, and implements inheritance with setmetadable. To detect this, we should have a parser for it, not a simple regular expression.
* lintJustin M. Keyes2019-10-26
|
* gen_vimdoc.py: dump API docs to msgpack #11296smolck2019-10-26
| | | | | | | | | | | | | | | | | | | | | | | Convenient for API clients who want to reuse the API docs in their own docs. Could be used e.g. to eliminate nvim.net's own doxygen parser: https://github.com/neovim/nvim.net/tree/3a736232a4e7b7a2a1eff4bded24d2bf27a918c2/src/NvimClient.APIGenerator/Docs TODO: currently the result values are formatted as Vim help docs. We should change the values to have structure, something like this: [{ 'nvim_win_get_var': [ 'line1, 'line2', [ 'item1', 'item2', ... ] ], 'nvim_win_set_var': [ ... ], ... }] close #11296
* scripts/vim-patch.sh: lazily update Vim source (#11207)Daniel Hahler2019-10-16
| | | | | | This gets done only initially, for `-l`, and when a commit cannot be found. Also provide more compact instructions with `-l` / `show_vimpatches`.
* scripts/vim-patch.sh -l: display commit subjectsDaniel Hahler2019-10-13
| | | | Closes https://github.com/neovim/neovim/pull/11182.
* update_version_stamp: redirect stderr on first try, --first-parent #11186Daniel Hahler2019-10-10
| | | | | | | | | | | | | Avoid noise during builds: > fatal: No annotated tags can describe '417449f468c4ba186954f6295b3338fb55ee7b4a'. > However, there were unannotated tags: try --tags. This might be useful in general, but is expected to not happen - and falling back is OK then. The fallback command would still display errors then. It also uses `--first-parent`, which is important for when a release branch gets merged back.
* Fix/revisit git-describe enhancement (#11124)Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | | | | | | | * Fix/keep massaging git-describe result Ref: https://github.com/neovim/neovim/pull/11117#issuecomment-536416223 * build: revisit generation of version from Git Fixes "make clean && make", where "auto/versiondef.h" would be missing since b18b84d - because BYPRODUCTS are apparently removed when cleaning. This includes the following improvements/changes: - do not run git-describe during CMake's configure phase just for reporting - do not print with changed Git version (too noisy, simplifies code) * Move to src/nvim (included before config) for easier flow * fallback to describe always, write empty include file * update_version_stamp.lua: use prefix always
* build: run git-describe for dev version during build (#11117)Daniel Hahler2019-09-30
| | | | | | | | This avoids invoking CMake after a new commit, which might take 15s on some systems. Skipped on CMake < 3.2.0 (missing BYPRODUCTS support). Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
* release.sh [ci skip]Justin M. Keyes2019-09-15
|
* release.sh [ci skip]Justin M. Keyes2019-09-15
|
* release.sh: bump nvim.appdata.xmlJustin M. Keyes2019-09-14
|
* doc: |api-fast| [ci skip]Justin M. Keyes2019-09-09
|
* vim-patch.sh: fix "unbound variable" error with Bash < 4.4 [ci skip] (#10917)Daniel Hahler2019-09-03
| | | Ref: https://github.com/neovim/neovim/pull/10888#issuecomment-526774032
* scripts/vim-patch.sh: massage args for git-log [ci skip] (#10888)Daniel Hahler2019-08-30
| | | | | | | | | | Replace "src/nvim/" => "src/". Replace ".*/.vim-src/" => "". This allows to use tab completion based on existing files in Neovim's source, or via .vim-src. Previously you would have to typically remove the "nvim/" part manually yourself.