Justin M. Keyes
42b80c3acf
Merge #7165 'lua: Move stricmp to vim module'
2017-10-22 16:29:36 +02:00
ZyX
b1a8dcefee
lua/executor: Fix crash when first string contains NUL and second not
2017-08-15 17:18:05 +03:00
ZyX
93ef823f5e
lua/executor: Move stricmp to vim “module” and document it
2017-08-15 16:34:51 +03:00
ZyX
96b1600bc8
functests: Add test for stricmp
2017-08-15 16:34:25 +03:00
Nikolai Aleksandrovich Pavlov
bf1b1ea6ee
lua/executor: Fix crash when printing empty string ( #7157 )
2017-08-13 17:37:35 +02:00
ZyX
a409fa2b3f
lua: Use automatic determining of suffixes only for package.cpath
2017-05-28 23:55:51 +03:00
ZyX
97602371e6
lua: Add paths from &runtimepath to package.path and package.cpath
2017-05-25 16:27:40 +03:00
ZyX
5b6d598ca8
functests: Fix tests
2017-05-08 21:21:03 +03:00
ZyX
09f849b600
Merge branch 'master' into luaviml'/lua
2017-05-08 15:43:45 +03:00
ZyX
78082e8d3e
functests: Check whether it is a problem with an array
2017-04-11 11:05:19 +03:00
ZyX
acd9ed8d83
functests: Add another check for the similar transformation
...
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.
2017-04-11 02:32:13 +03:00
ZyX
9cad5155e3
functests: Make sure funcs.luaeval receives only one argument
2017-04-11 01:18:42 +03:00
ZyX
a40a969e9a
api: Rename _vim_id functions to nvim__id
2017-04-08 20:33:48 +03:00
ZyX
a24e94215e
eval,functests: Fix linter errors
2017-03-27 00:18:55 +03:00
ZyX
d13fdfd446
functests: Add test for debug.debug
2017-03-27 00:18:54 +03:00
ZyX
9fd2bf67aa
executor,functests: Add print() tests, some fixes
2017-03-27 00:13:16 +03:00
ZyX
dcb992ab37
executor: Add :luafile command
2017-03-27 00:12:42 +03:00
ZyX
295e7607c4
executor: Fix some memory leaks
2017-03-27 00:12:42 +03:00
ZyX
e1bbaca7ac
executor,functests: Add tests for :luado, also some fixes
...
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.
2017-03-27 00:12:42 +03:00
ZyX
9114d9be77
executor: Add :luado command
2017-03-27 00:12:42 +03:00
ZyX
b4e2860c69
doc,functests: Add documentation
...
Missing: updates to various lists.
2017-03-27 00:12:42 +03:00
ZyX
7a5646d594
functests: Add tests for :lua
2017-03-27 00:12:42 +03:00
ZyX
666d85d3ce
functests: Some more tests
2017-03-27 00:12:22 +03:00
ZyX
bca9c2f3c4
functests: Move existing tests from lua_spec to lua/*, fix them
2017-03-27 00:12:22 +03:00
ZyX
a3ea05c1e5
functests: Add some tests
2017-03-27 00:12:22 +03:00