aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | functests: Check whether it is a problem with an arrayZyX2017-04-11
| | | |
| * | | lua/converter: Remove useless macrosZyX2017-04-11
| | | |
| * | | lua: Fix header guardsZyX2017-04-11
| | | |
| * | | functests: Add another check for the similar transformationZyX2017-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasoning is majorly the same: check whether lua has bug or API function has bug, but on the other side: previous commit is checking whether similar bug when using API via msgpack RPC, this commit is checking whether another API function used via lua bindings triggers the same bug. Should additionally give a hint about which lua code contains a bug.
| * | | functests: Test for “string cannot contain newline” set_lines errorZyX2017-04-11
| | | | | | | | | | | | | | | | Should make me able to determine whether they are lua bindings that contain a bug or set_lines.
| * | | cmake: Append lua include also to single-includes targetsZyX2017-04-11
| | | |
| * | | functests: Make sure funcs.luaeval receives only one argumentZyX2017-04-11
| | | |
| * | | lua: Move files from src/nvim/viml/executor to src/nvim/luaZyX2017-04-11
| | | |
| * | | viml/executor: Fix check-single-includesZyX2017-04-11
| | | |
| * | | eval/decode: Include header needed for TriStateZyX2017-04-10
| | | |
| * | | cmake: Add FindLua.cmakeZyX2017-04-10
| | | | | | | | | | | | Copied from CMake v3.8.0-707-g0419ecb, modified one include() line.
| * | | api: Bump nvim__*id functions since valueZyX2017-04-10
| | | |
| * | | Merge branch 'master' into luaviml'/luaZyX2017-04-10
| |\ \ \
| * | | | api: Rename _vim_id functions to nvim__idZyX2017-04-08
| | | | |
| * | | | api: Add FUNC_API_SINCE(1) to new functionsZyX2017-04-08
| | | | |
| * | | | Merge branch 'master' into luaviml'/luaZyX2017-04-08
| |\ \ \ \
| * | | | | cmake: Use set_property in place of target_include_dirsZyX2017-03-27
| | | | | | | | | | | | | | | | | | Should work with cmake-2.8.7.
| * | | | | eval,functests: Fix linter errorsZyX2017-03-27
| | | | | |
| * | | | | functests: Add test for debug.debugZyX2017-03-27
| | | | | |
| * | | | | executor: Add :lua debug.debug mockZyX2017-03-27
| | | | | |
| * | | | | executor,functests: Add print() tests, some fixesZyX2017-03-27
| | | | | |
| * | | | | doc: Update vim_diff data regarding ShaDaZyX2017-03-27
| | | | | |
| * | | | | doc: Update vim_diff.txtZyX2017-03-27
| | | | | |
| * | | | | executor: Add print() functionZyX2017-03-27
| | | | | |
| * | | | | api: Use a form of `1 << 63` for INTERNAL_CALL_MASKZyX2017-03-27
| | | | | |
| * | | | | executor: Do not use S_LEN for memcpyZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | Sometimes it is implemented as a macro and `S_LEN` is treated as a single argument in this case.
| * | | | | doc: Enhance documentationZyX2017-03-27
| | | | | |
| * | | | | executor: Add :luafile commandZyX2017-03-27
| | | | | |
| * | | | | executor: Fix some memory leaksZyX2017-03-27
| | | | | |
| * | | | | executor,functests: Add tests for :luado, also some fixesZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 1. Allocate space for the NUL byte. 2. Do not exclude last line from range. 3. Remove code for sandbox: it is handled earlier. 4. Fix index in new_line_transformed when converting NULs to NLs. 5. Always allocate new_line_transformed, but save allocated value.
| * | | | | executor: Add :luado commandZyX2017-03-27
| | | | | |
| * | | | | doc,functests: Add documentationZyX2017-03-27
| | | | | | | | | | | | | | | | | | Missing: updates to various lists.
| * | | | | functests: Add tests for :luaZyX2017-03-27
| | | | | |
| * | | | | ex_getln: Refactor script_get()ZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Use `char *` for strings. 2. Add `const` qualifiers. 3. Add attributes and documentation. 4. Handle skipping *inside*. 5. Handle non-heredoc argument also inside: deferring this to the caller is pointless because all callers need the same thing. Though new ex_lua caller may live without allocations in this case, allocating nevertheless produces cleaner code. 6. Note that all callers call script_get with `eap` and `eap->arg`. Thus second argument is useless in practice: it is one and the same always and can be reached through the first argument.
| * | | | | executor: Add some const qualifiersZyX2017-03-27
| | | | | |
| * | | | | 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
| | | | | |