neovim/scripts
ZyX ba2f615cd4 functests: Test for error conditions
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.
2017-03-27 00:11:28 +03:00
..
download-unicode-files.sh vim-patch:7.4.1604 2016-09-24 14:03:14 -04:00
finddeclarations.pl Remove remaining declarations with new script: finddeclarations.pl 2014-06-02 11:04:18 -03:00
gen_api_vimdoc.py doc/api.txt: Merge with api-funcs.txt 2017-03-01 23:14:45 +01:00
gen_events.lua fileio: Move event definitions to the generator script 2015-07-26 12:39:01 +03:00
gendeclarations.lua api: refactor remote ui to use API dispatch generation 2016-05-27 13:18:04 +02:00
generate_vim_module.lua eval: Add luaeval function 2017-03-27 00:11:24 +03:00
geneval.lua api: consistently use nvim_ prefix and update documentation 2016-08-31 21:57:06 +02:00
genex_cmds.lua message,strings: Move vim_*printf functions to strings.c 2017-02-14 00:53:03 +03:00
genmsgpack.lua functests: Test for error conditions 2017-03-27 00:11:28 +03:00
genoptions.lua vim-patch:8.0.0121 2017-01-13 23:40:59 +01:00
genunicodetables.lua genunicodetables: Give the unicode directory as the first argument 2016-09-24 20:46:09 -04:00
genvimvim.lua eval: use gperf to generate the hash of builtin functions 2016-08-31 21:57:04 +02:00
git-log-pretty-since.sh release.sh: Touch NVIM_VERSION_PATCH, show obnoxious message. 2016-08-22 15:39:14 -04:00
legacy2luatest.pl legacy2luatest: Use before_each instead of setup. 2016-02-01 09:09:08 +01:00
movedocs.pl Move documentation from function declarations to definitions 2014-06-02 11:04:04 -03:00
release.sh release.sh: add api metadata fixture if api level was bumped 2017-03-15 15:01:06 +01:00
run-api-tests.exp server: Rename address environment variable 2014-09-13 21:35:47 -03:00
shadacat.py scripts: Add filter argument to shadacat.py 2015-10-23 14:47:59 +03:00
stripdecls.py Add automatic generation of headers 2014-06-02 11:04:17 -03:00
vim-patch.sh scripts/vim-patch.sh: Remove "Last change ..." lines. 2017-03-21 12:19:16 +01:00