aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
...
| * api/internal: Remove `set` field from Error type.Justin M. Keyes2017-04-23
| |
| * api: Do not truncate errors <1 MB. #6237Sander Bosma2017-04-23
| | | | | | | | Closes #5984
| * Merge #6550 from ZyX-I/pvs-check-commentJustin M. Keyes2017-04-20
| |\
| | * scripts: Add newline after the commentZyX2017-04-19
| | |
| | * scripts: Allow patching only build filesZyX2017-04-19
| | |
| | * scripts: Do not patch already patched sources in patch modeZyX2017-04-19
| | | | | | | | | Also do not patch header files, that is not needed.
| | * scripts: Make pvs do not patch separate directory, add patch modeZyX2017-04-19
| | |
| * | scripts/vim-patch.sh: word-boundaries in preprocess regexJustin M. Keyes2017-04-19
| |/
| * pvscheck: Add --recheck argumentZyX2017-04-10
| |
| * pvscheck: Do not use --depthZyX2017-04-10
| |
| * pvscheck: Do not trace helpZyX2017-04-10
| |
| * pvsscript: Use git clone and not git worktreeZyX2017-04-10
| |
| * pvscheck: Add helpZyX2017-04-10
| |
| * scripts: Create script which checks Neovim with PVS-studioZyX2017-04-10
| |
* | genmsgpack: Do not export functions with __Björn Linse2017-04-11
| |
* | lua: Move files from src/nvim/viml/executor to src/nvim/luaZyX2017-04-11
| |
* | Merge branch 'master' into luaviml'/luaZyX2017-04-08
|\|
| * vim-patch: Update regex for included_patches array (#6449)James McCoy2017-04-06
| | | | | | | | | | 28dafe3ff const-ified the array without updating the regex. [ci skip]
| * eval/typval: Add missing includes, also add a script to find themZyX2017-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contains unfinished attempt to integrate IWYU (ref #549). To finish it different job should be done, specifically: - Instead of feeding IWYU with modified file a mirror source tree should be created with the help of CMake which will contain modified sources. This solves the problem with IWYU thinking that `*.generated.h` headers should be included in place of `*` headers. - Build IWYU as all other third-party utilities. - Make modified sources avoid problems with `nvim/func_attr.h` includes and various related tricks. Current script may only be used for manual checks like this: ./scripts/check-includes.py \ --generated-includes-dir build/include \ --generated-includes-dir build/src/nvim/auto \ --file src/nvim/eval/typval.c \ -- -Isrc -Ibuild/include -Ibuild/src/nvim/auto \ -DINCLUDE_GENERATED_DECLARATIONS (it is also somewhat fine with `--file src/nvim/eval/typval.h`). I have no idea why (I mean, why developer think that these lines are needed, why they are suggested is pretty obvious: because there is typedef which mentions them before structs are defined), but for typval.h it reports, among other things, that it should add lines struct dictvar_S; struct listitem_S; struct listvar_S; struct listwatch_S;
* | gendeclarations: Make declarations generator work with macros funcsZyX2017-03-27
| | | | | | | | | | Now it checks functions also after every semicolon and closing figure brace, possibly preceded by whitespaces (tabs and spaces). This should make messing with declarations in macros not needed.
* | gendeclarations: Handle case when text did not matchZyX2017-03-27
| |
* | gendeclarations: Also save information about directoryZyX2017-03-27
| |
* | gendeclarations: Save where declaration is comping fromZyX2017-03-27
| |
* | scripts: Make generate_vim_module more genericZyX2017-03-27
| |
* | genmsgpack: Include error source in error messagesZyX2017-03-27
| |
* | api: Reserve more numbers for internal callsZyX2017-03-27
| | | | | | | | | | | | Reasoning; currently INTERNAL_CALL is mostly used to determine whether it is needed to deal with NL-used-as-NUL problem. This code is useful for nvim_… API calls done from VimL, but not for API calls done from lua, yet lua needs to supply something as channel_id.
* | functests: Test for error conditionsZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During testing found the following bugs: 1. msgpack-gen.lua script is completely unprepared for Float values either in return type or in arguments. Specifically: 1. At the time of writing relevant code FLOAT_OBJ did not exist as well as FLOATING_OBJ, but it would be used by msgpack-gen.lua should return type be Float. I added FLOATING_OBJ macros later because did not know that msgpack-gen.lua uses these _OBJ macros, otherwise it would be FLOAT_OBJ. 2. msgpack-gen.lua should use .data.floating in place of .data.float. But it did not expect that .data subattribute may have name different from lowercased type name. 2. vim_replace_termcodes returned its argument as-is if it receives an empty string (as well as _vim_id*() functions did). But if something in returned argument lives in an allocated memory such action will cause double free: once when freeing arguments, then when freeing return value. It did not cause problems yet because msgpack bindings return empty string as {NULL, 0} and nothing was actually allocated. 3. New code in msgpack-gen.lua popped arguments in reversed order, making lua bindings’ signatures be different from API ones.
* | eval: Add luaeval functionZyX2017-03-27
|/ | | | | | | | | | | | No tests yet, no documentation update, no :lua* stuff, no vim module. converter.c should also work with typval_T, not Object. Known problem: luaeval("1", {}) results in PANIC: unprotected error in call to Lua API (attempt to index a nil value) Ref #3823
* scripts/vim-patch.sh: Remove "Last change ..." lines.Justin M. Keyes2017-03-21
| | | | | | Also: - fix ignoring doc/tags file - use 12 chars of hash instead of 7
* release.sh: add api metadata fixture if api level was bumpedBjörn Linse2017-03-15
|
* api: implement FUNC_API_SINCEBjörn Linse2017-03-15
|
* doc/api.txt: Merge with api-funcs.txtJustin M. Keyes2017-03-01
| | | | | | | | | | It's important that users have a single, easy-to-remember place for reading about the API. So this commit changes gen_api_vimdoc.py so that the generated section is appended to api.txt instead of creating a separate document. Also remove the section numbering and ToC: it's a maintenance cost, and it will be unnecessary when #5169 is integrated.
* scripts: Annotate API functions in generated docs (#6199)Tommy Allen2017-03-01
|
* vim-patch.sh: Bump base Vim version to 7.4.1980James McCoy2017-02-27
| | | | | | | All patches up through 7.4.1974 have been merged and 7.4.1975-1979 are pending in a PR. [ci skip]
* Merge #6110 'refactor: Move vim_*printf to strings.c'.Justin M. Keyes2017-02-17
|\
| * message,strings: Move vim_*printf functions to strings.cZyX2017-02-14
| | | | | | | | Allows eval/typval.h to #include message.h.
* | vim-patch.sh: don't ignore runtime/doc/tagsrch.txtlonerover2017-02-14
|/
* vim-patch: Use get_vim_patch to retrieve patch for reviewJames McCoy2017-02-06
| | | | | | | This ensures the downloaded Vim patch is preprocessed so unused material isn't presented to the reviewer. [ci skip]
* vim-patch:8.0.0121Daniel Hahler2017-01-13
| | | | | | | Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler) Solution: Add the P_RWINONLY flag. (closes vim/vim#1297) https://github.com/vim/vim/commit/a2477fd3490c1166522631eee53c57d34321086a
* automation: Generate API documentation (#5798)Tommy Allen2017-01-03
| | | | | runtime: Add underscore to {} helpSpecial syntax pattern docs: Added generated api-funcs.txt
* vim-patch: fix default answersMarco Hinz2016-12-22
|
* vim-patch: Allow skipping non-"vim-patch" commits during reviewJames McCoy2016-12-15
| | | | | | | It's not atypical to have extra, non-"vim-patch" commits in a PR merging a bigger or set of related patches from Vim. Rather than immediately aborting, display the patch header to the user and let them decide whether to continue reviewing.
* vim-patch: Add -g switch to download/preprocess patchJames McCoy2016-12-12
|
* l10n: Remove some non-UTF8 .po files. (#5622)Justin M. Keyes2016-11-17
| | | | | Some .po files do not have UTF8 versions, leave those alone for now. Also remove sjiscorr.c utility.
* vim-patch.sh: Remove "set -o pipefail"James McCoy2016-11-15
| | | | | | | | | 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.
* object_to_vim: Fix buffer/window/tabpage conversion on BE systemsJames McCoy2016-11-02
| | | | | | | | | | | 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.
* NVIM v0.1.6v0.1.6Justin M. Keyes2016-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* api: Nvim version, API level #5386Rui Abreu Ferreira2016-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* doc; vim-patch.shJustin M. Keyes2016-10-24
| | | | | | Also include missing changes from: https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810 https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
* Merge pull request #4568 from bfredl/multirequestBjörn Linse2016-10-22
|\ | | | | atomic multi request for async remote plugins