aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* pvscheck: Provide arguments to `patch_sources` in correct orderZyX2017-05-20
|
* pvscheck: Handle invalid option error gracefullyZyX2017-05-20
|
* pvscheck: Add --only-analyse modeZyX2017-05-20
|
* generators: separate source generators from scriptsBjörn Linse2017-05-10
|
* api: generate ui eventsBjörn Linse2017-05-10
|
* generators: Do not leak error messages textZyX2017-05-08
|
* Merge branch 'master' into luaviml'/luaZyX2017-05-08
|\
| * dist: AppImage #6638AdnoC2017-05-04
| | | | | | | | | | | | | | scripts/genappimage.sh produces an executable: nvim-${NVIM_VERSION}-glibc${GLIBC_VERSION}-${ARCHITECTURE}.AppImage Closes #6083
| * pvscheck: Use absolute path for finding test-include.cZyX2017-05-02
| | | | | | | | | | | | It was currently unknown in which directory create_compile_commands will end up in. [ci skip]
| * pvscheck: When using --recheck rerun buildZyX2017-05-02
| | | | | | | | [ci skip]
| * pvscheck: Add --deps to build with all dependenciesZyX2017-05-02
| | | | | | | | [ci skip]
| * pvscheck: Add --pvs-install modeZyX2017-05-02
| | | | | | | | [ci skip]
| * pvscheck: Refactor script so that it only `cd`s in a subshellZyX2017-05-02
| | | | | | | | [ci skip]
| * pvscheck: Create getopts_long implementationZyX2017-05-02
| | | | | | | | | | | | | | Needed as argument list is growing large and I absolutely do not find short options provided by getopts being particularly readable for unfamiliar commands. [ci skip]
| * Merge #6636 from ZyX-I/pvs-updateJustin M. Keyes2017-05-02
| |\
| | * pvscheck: Add --pvs key to pvscheck.shZyX2017-05-02
| | | | | | | | | | | | [ci skip]
| | * pvscheck: Update pvs-studio URLZyX2017-05-02
| | | | | | | | | | | | [ci skip]
| | * pvscheck: Do not use `test x`ZyX2017-05-02
| | | | | | | | | | | | [ci skip]
| * | scripts/release.shJustin M. Keyes2017-05-01
| |/
| * api: deprecate obsolete nvim_buf_get_number functionBjörn Linse2017-04-30
| |
| * doc: Removed t_XX options/keycodes. (#6616)Justin M. Keyes2017-04-29
| | | | | | | | | | Closes #4482 TODO: revisit find_key_option_len()
| * api/dispatch: Mark generated functions table readonly (#6576)Patrick Jackson2017-04-24
| |
| * api_set_error(): renameJustin M. Keyes2017-04-23
| |
| * 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.