Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tests: Make format_string('%q', ...) output more stable | ZyX | 2018-02-02 |
| | | | It appears to be different on lua and luajit. | ||
* | os/input.c: parse keycodes in non-string context #7411 | lePerdu | 2018-01-18 |
| | | | | | | | | | | | cb02137dfac7 had two mistakes, of the same nature: trans_special() must be invoked with in_string=false unless the parsing context is a VimL string. replace_termcodes() and input_enqueue() are low-level mechanisms where VimL strings do not exist. keymap.c: adjust double-quote case to satisfy keymap_spec.lua closes #7410 | ||
* | *: Provide list length when allocating lists | ZyX | 2018-01-14 |
| | |||
* | *: Fix linter errors | ZyX | 2017-12-24 |
| | |||
* | eval: Replace some tv_list_item_remove() calls | ZyX | 2017-12-24 |
| | | | | | There is nothing wrong with them, just it is generally better to remove a range then to remove items individually. | ||
* | unittests: Do gc after reporting error, not before | ZyX | 2017-12-24 |
| | | | | | Reason: test may contain cleanup at the endwhich is needed for GC to work properly, but is not done if test fails. With collectgarbage() in former position it would crash when collecting garbage. | ||
* | unittests: Remove start of trace, not end | ZyX | 2017-12-24 |
| | |||
* | eval: Rename tv_list_remove_items() to tv_list_drop_items() | ZyX | 2017-12-24 |
| | | | tv_list_remove_items() may cause confusion with tv_list_item_remove() | ||
* | eval/typval: Make tv_list_item_remove return pointer to the next item | ZyX | 2017-12-24 |
| | |||
* | eval/typval: Remove tv_list_item_free() as it is unused | ZyX | 2017-12-24 |
| | |||
* | eval/typval: Make tv_list_item_alloc static | ZyX | 2017-12-24 |
| | | | | Better write this bit in lua then make reviewers or clint filter out tv_list_item_alloc(). | ||
* | *: Remove most calls to tv_list_item_alloc | ZyX | 2017-12-24 |
| | | | | Still left calls in eval/typval.c and test/unit/eval/helpers.lua. Latter is the only reason why function did not receive `static` modifier. | ||
* | tests: Fix linter errors | ZyX | 2017-12-03 |
| | |||
* | *: Replace all occurrences of NVim with Nvim | ZyX | 2017-11-30 |
| | |||
* | unittests: Reduce memory used by vim_str2nr test | ZyX | 2017-11-30 |
| | |||
* | Merge branch 'master' into expression-parser | ZyX | 2017-11-30 |
|\ | |||
| * | unittest: Ignore _Float128 types in ffi | James McCoy | 2017-11-29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with certain GCC versions, a _Float128 type is present when setting up the ffi for unit tests. ./test/unit/helpers.lua:256: declaration specifier expected near '_Float128' at line 396 /usr/bin/luajit: /usr/share/lua/5.1/busted/runner.lua:99: attempt to concatenate local 'message' (a table value) stack traceback: /usr/share/lua/5.1/busted/runner.lua:99: in function 'fn' /usr/share/lua/5.1/mediator.lua:103: in function 'publish' /usr/share/lua/5.1/busted/modules/helper_loader.lua:21: in function 'helperLoader' /usr/share/lua/5.1/busted/runner.lua:147: in function </usr/share/lua/5.1/busted/runner.lua:11> /usr/bin/busted:3: in main chunk [C]: at 0x004044a0 CMake Error at /<<PKGBUILDDIR>>/cmake/RunTests.cmake:53 (message): Running unit tests failed with error: 1. Since this is being pulled in by a dependency, not directly used by nvim, just ignore the type. Closes #7423 | ||
* | | viml/parser/expressions: Make sure that listed nodes may be present | ZyX | 2017-11-26 |
| | | | | | | | | With the new test leaving `assert(false);` for any of the cases makes tests crash. | ||
* | | functests: Add some more tests | ZyX | 2017-11-26 |
| | | |||
* | | unittests: Run vim_str2nr tests with GC enabled | ZyX | 2017-11-19 |
| | | |||
* | | unittests: Populate ARGTYPES in child process only | ZyX | 2017-11-19 |
| | | |||
* | | Merge branch 'master' into expression-parser | ZyX | 2017-11-19 |
|\| | |||
| * | test/unit/path_spec: expect correct buffer size (#7514) | Marco Hinz | 2017-11-13 |
| | | | | | | | | Fixed-size buffers and lfs.currentdir().. does not compute. The tests would fail if the current working directory was longer than expected. | ||
* | | unittests: Avoid infinite cycle somewhere because of init failure | ZyX | 2017-11-19 |
| | | |||
* | | tests: Stabilize float format and %e in format_luav and format_string | ZyX | 2017-11-19 |
| | | |||
* | | *: Fix linter errors | ZyX | 2017-11-19 |
| | | |||
* | | tests: Use single test file for unit and functional parser tests | ZyX | 2017-11-19 |
| | | |||
* | | viml/parser/expressions,unittests: Do better testing, fix found issues | ZyX | 2017-11-19 |
| | | |||
* | | unittests,viml/parser/expressions: Start adding asgn parsing tests | ZyX | 2017-11-13 |
| | | |||
* | | unittests: Fix automatic test case generation | ZyX | 2017-11-13 |
| | | |||
* | | unittests,syntax: Check for sanity of highlight_init_cmdline | ZyX | 2017-11-13 |
| | | | | | | | | Also fixes some errors found. | ||
* | | unittests: Add some more edge test cases | ZyX | 2017-11-12 |
| | | |||
* | | viml/parser/expressions: Add support for parsing assignments | ZyX | 2017-11-12 |
| | | |||
* | | unittests: Add a way to show some custom messages only when crashed | ZyX | 2017-11-11 |
| | | |||
* | | *: Fix linter errors | ZyX | 2017-11-06 |
| | | |||
* | | unittests: Add tests for vim_str2nr | ZyX | 2017-11-06 |
| | | |||
* | | tests: Add missing test cases | ZyX | 2017-11-06 |
| | | |||
* | | api/vim,functests: Add tests for nvim_parse_expression, fix found bugs | ZyX | 2017-11-06 |
| | | |||
* | | charset: Refactor vim_str2nr | ZyX | 2017-11-06 |
| | | |||
* | | tests: Fix testlint errors | ZyX | 2017-11-06 |
| | | |||
* | | syntax,viml/parser/expressions: Add missing highlight groups | ZyX | 2017-10-29 |
| | | | | | | Also adjusts some names. | ||
* | | syntax,viml/expressions/parser: Create defaults for expr highlighting | ZyX | 2017-10-29 |
| | | |||
* | | unittests: Avoid alloc log checking errors when printing tests | ZyX | 2017-10-29 |
| | | |||
* | | viml/parser/expressions: Fix last error found by KLEE | ZyX | 2017-10-29 |
| | | |||
* | | viml/parser/expressions: Fix some errors spotted by KLEE | ZyX | 2017-10-19 |
| | | | | | | Not all of them are fixed yet though. | ||
* | | unittests: Free everything and check for memory leaks | ZyX | 2017-10-16 |
| | | | | | | Also improves error reporting. | ||
* | | test/unit/formatc: Fix parsing of most recent viml_parser_highlight | ZyX | 2017-10-16 |
| | | |||
* | | viml/parser/expressions: Highlight prefix separately from number | ZyX | 2017-10-16 |
| | | | | | | Should make accidental octals more visible. | ||
* | | charset: Avoid overflow in vim_str2nr | ZyX | 2017-10-16 |
| | | |||
* | | Merge branch 'master' into expression-parser | ZyX | 2017-10-15 |
|\| |