aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | executor: Add :lua commandZyX2017-03-27
| | | | | | | | | | | | | | | | | | Does not work currently.
| * | | | | api: Also shift numbers in api_metadata outputZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes problem introduced by “api: Allow kObjectTypeNil to be zero without breaking compatibility”: apparently there are clients which use metadata and there are which aren’t. For the first that commit would not be needed, for the second that commit misses this critical piece.
| * | | | | functests: Fix “function has more then 60 upvalues” errorZyX2017-03-27
| | | | | |
| * | | | | cmake: Also include luajit directories for libnvim targetZyX2017-03-27
| | | | | |
| * | | | | 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
| | | | | |
| * | | | | cmake: Use LuaJIT include directory for declarations generatorZyX2017-03-27
| | | | | |
| * | | | | cmake: Link libnvim-test with luajit in place of lua, disable ASANZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasoning: luajit is not being compiled with sanitizers, lua is. Given that linking with sanitized libraries requires sanitizers enabled, it is needed to either compile libnvim-test with sanitizers or link it with lua compiled without sanitizers. Most easy way to do the latter is just use luajit which is compiled without sanitizers (as they do not work well with luajit).
| * | | | | deps: Always build lua with -fPIC and -O0ZyX2017-03-27
| | | | | |
| * | | | | cmake: Try fixing ASAN nvim-test compilationZyX2017-03-27
| | | | | |
| * | | | | ci: When building lua use -fPICZyX2017-03-27
| | | | | |
| * | | | | msgpack_rpc: Fix #HANDLE_TYPE_CONVERSION_IMPLZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Function declarations generator is able to handle properly only the *first* function definition that is in macros, and only if it is the first entity in the macros. So msgpack_rpc_from_* was already really a static function, additionally its attributes were useless. This commit switches to explicit declarations and makes generated functions static.
| * | | | | clint: Allow omitting include guards in .c.h file and func_attr.h fileZyX2017-03-27
| | | | | |
| * | | | | api: Allow kObjectTypeNil to be zero without breaking compatibilityZyX2017-03-27
| | | | | |
| * | | | | scripts: Make generate_vim_module more genericZyX2017-03-27
| | | | | |
| * | | | | ci: Make ASAN build link with lua, build lua with address sanitizerZyX2017-03-27
| | | | | |
| * | | | | cmake: Allow switching from luajit to luaZyX2017-03-27
| | | | | |
| * | | | | functests: Some more testsZyX2017-03-27
| | | | | |
| * | | | | executor/executor: Free lcmd on errorZyX2017-03-27
| | | | | |
| * | | | | functests: Move existing tests from lua_spec to lua/*, fix themZyX2017-03-27
| | | | | |
| * | | | | executor/executor: When reporting errors use lua string lengthZyX2017-03-27
| | | | | |
| * | | | | genmsgpack: Include error source in error messagesZyX2017-03-27
| | | | | |
| * | | | | eval/decode: Fix memory leak in JSON functionsZyX2017-03-27
| | | | | |
| * | | | | functests: Add some testsZyX2017-03-27
| | | | | |
| * | | | | executor/converter: Use readable lua numbers for handlesZyX2017-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.
| * | | | | executor/converter: Allow converting self-referencing lua objectsZyX2017-03-27
| | | | | |
| * | | | | 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.
| * | | | | executor/converter: Make it possible to supply `{}` to Dictionary argZyX2017-03-27
| | | | | |
| * | | | | executor/converter: Make nlua_pop_Object not recursiveZyX2017-03-27
| | | | | |
| * | | | | executor/converter: Fix how maxidx is determinedZyX2017-03-27
| | | | | |
| * | | | | executor/converter: Fix conversion of self-containing containersZyX2017-03-27
| | | | | |
| * | | | | executor: Make sure it works with API valuesZyX2017-03-27
| | | | | |
| * | | | | *: Silence linterZyX2017-03-27
| | | | | |
| * | | | | viml/executor: Directly generate typval_T valuesZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: this will *still* crash when using API in cases similar to the one described in first commit. Just it needs different code to reproduce.
| * | | | | 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
* | | | | | Merge pull request #6701 from ZyX-I/fix-ri-aliasNikolai Aleksandrovich Pavlov2017-05-08
|\ \ \ \ \ \ | | | | | | | | | | | | | | CONTRIBUTING.md: Fix ri alias
| * | | | | | CONTRIBUTING.md: Fix ri aliasZyX2017-05-08
| | |_|_|/ / | |/| | | |
* | | | | | man.vim: Fix filename argument in mandoc #6693Matthew Wynn2017-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the -l flag to open a man file. TODO: Does not work on SunOS. Fixes #6683
* | | | | | doc: nvim-from-vim: Prepend "~/.vim" #6694Adam Byrtek2017-05-08
| | | | | |
* | | | | | Merge #6597 'winhighlight'Justin M. Keyes2017-05-08
|\ \ \ \ \ \
| * | | | | | docs: 'winhighlight'Björn Linse2017-05-08
| | | | | | |
| * | | | | | tests: add basic test for 'winhighlight`Björn Linse2017-05-08
| | | | | | |
| * | | | | | options: allow different highlights in windowsBjörn Linse2017-05-08
| | | | | | |
| * | | | | | options: consolidate updates for window string options affected by copy_winoptBjörn Linse2017-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | update note at options.c head about window options
* | | | | | | Merge #6595 from justinmk/term-refresh-on-exitJustin M. Keyes2017-05-08
|\ \ \ \ \ \ \
| * | | | | | | Revert "event/process.c: send SIGTERM directly (#6644)"Justin M. Keyes2017-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 34c3f03013375817d3d089e685793290eded553a.
| * | | | | | | terminal: refresh before on_exit. #5217Richard Adenling2017-05-08
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | References #3030 References https://github.com/radenling/vim-dispatch-neovim/issues/6 The terminal is updated by a timer, but on_exit needs the final state. Before this change, on_exit callback could see a stale terminal buffer. Helped-by: oni-link <knil.ino@gmail.com>