aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/decode.c
Commit message (Collapse)AuthorAge
...
| * *: Fix linter errorsZyX2017-04-08
| | | | | | | | | | | | Drops comments `// for …` that do not pass linter for them being unmaintainable and fast to becoming incomplete or even incorrect. Mention @dedmass
| * eval/*code,shada: Drop support for converting UTF-8 from/to p_encZyX2017-04-08
| | | | | | | | Not needed any longer since p_enc is always utf-8.
| * eval/decode: Omit calling convert_setup for each stringZyX2017-04-08
| | | | | | Uses the same trick eval/encode does.
| * eval/decode,shada: Do not forget to clean up convertersZyX2017-04-08
| |
* | Merge branch 'master' into luaviml'/luaZyX2017-04-08
|\|
| * Add handling for MSGPACK_OBJECT_FLOAT{32,64}James McCoy2017-03-30
| | | | | | | | | | | | msgpack-c previously only had MSGPACK_OBJECT_FLOAT, which was a 64-bit value. Now, 32-bit and 64-bit floats are supported as distinct types, but we'll simply continue to treat everything as 64-bit types.
| * *: Move some dictionary functions to typval.h and use char*ZyX2017-03-29
| | | | | | | | Also fixes buffer reusage in setmatches() and complete().
| * eval: Split eval.c into smaller filesZyX2017-03-29
| |
* | eval/decode: Fix memory leak in JSON functionsZyX2017-03-27
| |
* | viml/executor: Directly generate typval_T valuesZyX2017-03-27
|/ | | | | Note: this will *still* crash when using API in cases similar to the one described in first commit. Just it needs different code to reproduce.
* lib/kvec: Do not use kv_init unless neededZyX2016-05-30
|
* lib/kvec: Remove useless type argument from kv_push macrosZyX2016-05-30
|
* *: Make set_vim_var_\* functions have proper argument typesZyX2016-04-18
|
* eval/decode: Accept `\r` as space characterZyX2016-04-18
|
* eval/decode: Do not overflow when parsing `-`ZyX2016-04-18
| | | Also makes if’s less nested.
* eval/decode: Clarify meaning of some pointer argumentsZyX2016-04-18
|
* eval/decode: Fix typo in internal error messageZyX2016-04-18
|
* eval/decode: Reject even more numbersZyX2016-04-18
| | | | Rejects leading zeroes and numbers like 1.e+5 (decimal dot with missing number with signed exponent).
* *: Fix linter errorsZyX2016-04-18
|
* eval/decode: Rewrite json_decode_string end as suggested by oni-linkZyX2016-04-18
|
* eval/decode: Reject more numbers, accept 1e5ZyX2016-04-18
|
* eval/decode: Do not loose high surrogates followed by high surrogatesZyX2016-04-18
|
* eval/decode: Make sure that error messages do not cause overflowZyX2016-04-18
|
* eval/decode: Make sure that parsing strings does not overflowZyX2016-04-18
|
* eval/decode: Make sure that blank input does not crash NeovimZyX2016-04-18
|
* eval/decode: Make sure that U+00C3 is parsed correctlyZyX2016-04-18
|
* eval/decode: Avoid overflow when parsing incomplete null/true/falseZyX2016-04-18
| | | | Note: second test does not crash or produce asan errors, even though it should.
* eval/decode: Rename brackets in error messagesZyX2016-04-18
| | | | | U+007D is officially RIGHT CURLY BRACKET. U+005D is officially RIGHT SQUARE BRACKET.
* eval/decode: Record that `obj` may be freedZyX2016-04-18
|
* eval/decode: Also use VAR_UNLOCKED in old codeZyX2016-04-18
|
* encode: Handle incomplete surrogates like `\uSURR\uOTHR` properlyZyX2016-04-18
|
* *: Fix memory leaks found by clang sanitizerZyX2016-04-18
|
* *: Fix gcc warningsZyX2016-04-18
|
* eval/decode: Fix vim_str2nr invocationZyX2016-04-18
|
* *: Fix linter errorsZyX2016-04-18
|
* eval: Remove get_vim_var_tv functionZyX2016-04-18
|
* eval/decode: Add support for special mapsZyX2016-04-18
| | | | | | | Special dictionaries representing map are created when encountering duplicate key or when key is empty or contains NUL. Also checks that values are separated by a comma/colon properly.
* eval/decode: Parse strings with NUL to special dictionariesZyX2016-04-18
|
* eval/*: Fix some linter errorsZyX2016-04-18
|
* eval/decode: Fix surrogate pairs processingZyX2016-04-18
|
* eval/decode: Fail on control and invalid unicode charactersZyX2016-04-18
|
* eval/decode: Make msgpackparse() function use new v: varsZyX2016-04-18
|
* eval/decode: Replace INIT_SPECIAL_DICT macros with inline functionZyX2016-04-18
|
* eval: Move some decoding functions to eval/decode.cZyX2016-04-18