| Commit message (Collapse) | Author | Age |
... | |
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Works by making value pushed on stack represent the exhausted list.
Fixes #5901, except for dictionaries which need similar adjustment.
|
| | | | | | |
|
| | | | | | |
|
| | |_|/ /
| |/| | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I gone through every single line, renamed the variables to be more consistent
and reordered many lines. Information is now printed as soon as it's available
and errors lead to early returns.
I altered the suggestions for each condition to be more precise and checked that
they fail properly.
This also prevents invalid arguments getting passed to s:version_cmp().
|
|\ \ \ \
| | | | |
| | | | | |
Refactor eval/typval_encode.h
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Otherwise copyID will stay forever on empty dictionaries.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also fixed dumping of partials by encode_vim_to_object and added code which is
able to work with partials and dictionaries to test/unit/eval/helpers.lua
(mostly copied from #5119, except for partials handling).
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Fixed local test failures somewhere in process.
|
| | | | |
| | | | |
| | | | | |
Should fix some tests, including core/job_partial tests.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Should only happen when clearing VAR_FUNC typval which is not placed inside
a container.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Except when they are system just in case. There should be no .c.h system files
though, but if there will be it is unlikely that they inherit the same
convention.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Is known to crash in the current state.
Ref #5825.
|
| | | |
| | | |
| | | | |
maybe-uninitialized warning observed with -Ofast.
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:7.4.2127
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: The short form of ":noswapfile" is ":noswap" instead of ":now".
(Kent Sibilev)
Solution: Only require three characters. Add a test for the short forms.
https://github.com/vim/vim/commit/3bcfca3ab4db415d0e750e00204dd25a91fcee77
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vim-patch: 7.4.2103
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Can't have "augroup END" right after ":au!".
Solution: Check for the bar character before the command argument.
https://github.com/vim/vim/commit/e99e84497b89e5f91df519790802770920ecf4fe
|
| | | | |
| | | | |
| | | | |
| | | | | |
Closes #5397
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Clarify documentation.
- Return `FAIL` and truncate if `fname` is too long.
- Add tests.
|