Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | encoding: update tests | Björn Linse | 2016-11-05 |
| | | | | | | | Change shada reencoding tests to check for correct handling of UTF-8 and binary strings. Delete enc=latin1 json tests. | ||
* | test: fix command_count_spec | Björn Linse | 2016-06-23 |
| | | | | The test hit wait_return if x or .x.swp exists in the project root directory. | ||
* | functests: Check logs in lua code | ZyX | 2016-06-10 |
| | | | | | | It is otherwise impossible to determine which test failed sanitizer/valgrind check. test/functional/helpers.lua module return was changed so that tests which do not provide after_each function to get new check will automatically fail. | ||
* | Satisfy testlint. | KillTheMule | 2016-04-28 |
| | | | | For that, make luatest ignore the preload.lua files. | ||
* | functests: Make json_functions_spec use new NIL where appropriate | ZyX | 2016-04-18 |
| | |||
* | eval/encode: Make sure that encoder can encode NULL variables | ZyX | 2016-04-18 |
| | | | | | | | | | Adds two undocumented v: variables: _null_list and _null_dict because I do not know a reproducible way to get such lists (though I think I heard about this) and dictionaries (do not remember hearing about them). NULL strings are obtained using $XXX_UNEXISTENT_VAR_XXX. Fixes crash in json_encode($XXX_UNEXISTENT_VAR_XXX). Other added tests worked fine before this commit. | ||
* | functests: Replace \xXX escapes with \DDD in lua code | ZyX | 2016-04-18 |
| | |||
* | eval/encode: Dump FF character correctly | ZyX | 2016-04-18 |
| | |||
* | eval: Treat [] and [""] as any other empty string | ZyX | 2016-04-18 |
| | |||
* | eval: Fix overflow in error message in f_json_decode | ZyX | 2016-04-18 |
| | |||
* | documentation,functests: State that UTF-8-only support is intentional | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Accept `\r` as space character | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Reject even more numbers | ZyX | 2016-04-18 |
| | | | | Rejects leading zeroes and numbers like 1.e+5 (decimal dot with missing number with signed exponent). | ||
* | eval/decode: Reject more numbers, accept 1e5 | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Do not loose high surrogates followed by high surrogates | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Make sure that error messages do not cause overflow | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Make sure that blank input does not crash Neovim | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Make sure that U+00C3 is parsed correctly | ZyX | 2016-04-18 |
| | |||
* | functests: Make sure that json functions are tested with C messages | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Rename brackets in error messages | ZyX | 2016-04-18 |
| | | | | | U+007D is officially RIGHT CURLY BRACKET. U+005D is officially RIGHT SQUARE BRACKET. | ||
* | encode: Handle incomplete surrogates like `\uSURR\uOTHR` properly | ZyX | 2016-04-18 |
| | |||
* | encode: Fail to dump NaN and infinity | ZyX | 2016-04-18 |
| | | | | Thanks to vim/vim#654 | ||
* | eval: Rename json* functions to json_* | ZyX | 2016-04-18 |
| | |||
* | eval/encode: Fix invalid UTF-8 strings handling: | ZyX | 2016-04-18 |
| | | | | 1. Do not allow reading past buffer end when creating error messages. 2. Fix surrogate pairs range, avoid magic constants. | ||
* | eval/encode: Fix non-utf-8 &encoding handling, add tests | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Add support for special maps | ZyX | 2016-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 dictionaries | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Fix surrogate pairs processing | ZyX | 2016-04-18 |
| | |||
* | eval/decode: Fail on control and invalid unicode characters | ZyX | 2016-04-18 |
| | |||
* | eval: Add jsondecode() function | ZyX | 2016-04-18 |
| | |||
* | eval: Add jsonencode() function | ZyX | 2016-04-18 |
Ref #3471 |