aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/typval_encode.c.h
Commit message (Collapse)AuthorAge
* eval: Fix failing testZyX2017-01-07
|
* eval: Make sure that copyID is reset when neededZyX2017-01-07
| | | | | Works by making value pushed on stack represent the exhausted list. Fixes #5901, except for dictionaries which need similar adjustment.
* eval/typval_encode: Dump empty dictionary before checking for refcycleZyX2017-01-06
| | | Otherwise copyID will stay forever on empty dictionaries.
* eval/typval_encode: Use TYPVAL_ENCODE_CONV_EMPTY_DICT for partialsZyX2017-01-06
|
* eval: Fix errorneous early exit when converting lists and dictionariesZyX2017-01-03
|
* eval/typval_encode: Handle NULL partials properlyZyX2017-01-03
|
* eval/typval_encode: Provide proper values as dict argumentZyX2017-01-03
|
* eval/typval_encode: Refactor arguments to argument macrosesZyX2017-01-03
| | | Fixed local test failures somewhere in process.
* eval/typval_encode: Rename some \*tv variablesZyX2017-01-03
| | | | | Renames `tv` function argument to `top_tv` and `cur_tv` variable to `tv`, so `tv` will mean something more or less the same in both _TYPVAL_ENCODE_CONVERT_ONE_VALUE and _TYPVAL_ENCODE_ENCODE functions.
* eval/typval_encode: Fix infinite loopZyX2017-01-03
| | | | | | | | | Occurs when trying to dump a partial with attached self dictionary which references that partial. “Infinite” loop should normally result in Neovim killed by OOM killer. Also moved the place when partials are unreferenced by clear_tv: from …FUNC_START to …FUNC_END.
* eval/typval_encode: Fix linter errorsZyX2017-01-03
|
* eval/typval_encode: Fix crashesZyX2017-01-03
|
* eval/typval_encode: Refactor big-big macros into .c.h fileZyX2017-01-03
This makes gdb backtraces much more meaningful: specifically I now know at which line it crashes in place of seeing that it crashes at TYPVAL_ENCODE_DEFINE_CONV_FUNCTIONS macros invocation.