Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | | | | | eval: let getreg() return valid list for an undefined register | Björn Linse | 2016-04-21 | |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.1755 this prevents a crash when the list is used in setreg() later | |||
* | | | | | test: remote/define.vim: Add some spice. | Justin M. Keyes | 2016-04-18 | |
| | | | | | ||||
* | | | | | test: format | Case Nelson | 2016-04-18 | |
| | | | | | ||||
* | | | | | test: remote/define.vim: range | Case Nelson | 2016-04-18 | |
| | | | | | ||||
* | | | | | test: convert test_marks.in. | Justin M. Keyes | 2016-04-18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:35e7594 https://github.com/vim/vim/commit/35e7594dd429f7a8a06cefd61c3e8d48b9bd74e2 "Add missing test files from 7.4.634 to the repository." The discrepancy between the expected getpos() result of the old test [0, 15, 2, 0] and the converted test [0, 3, 2, 0] is just a matter of how the buffer is constructed: in the old Vim test the buffer has a bunch of junk at the top. The central purpose of the test is to verify that the getpost("'a") does *not* return [0, 0, 0, 0]. | |||
* | | | | | 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 | |
| | | | | | ||||
* | | | | | api: Replace set_var(name, NIL) with del_var(name) | 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 | |
| | | | | | ||||
* | | | | | shada: Make sure that NIL and EXT values can also be parsed back | ZyX | 2016-04-18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: currently they are both *dumped*, but parsing them produces an error. This is inappropriate: variables should either be skipped with error message when dumping or should be read back properly. It also appears that I did not have test for “has wrong variable value type” error, so nothing got removed from errors_spec. | |||
* | | | | | eval: Port parts of 7.4.1267 that are not already present | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | eval: Make assert_true and assert_false accept v:true and v:false | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | eval: Remove v:none | ZyX | 2016-04-18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | To get v:none back just rever this commit. This will not make json*() functions compatible with Vim though. | |||
* | | | | | 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/decode: Make msgpackparse() function use new v: vars | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | eval: Add jsondecode() function | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | functests/msgpack: Test dumping special nil and bool dicts | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | runtime/msgpack: Add support for special values | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | eval: Add special variables v:false, v:null, v:none | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | eval: Add special variable type | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | eval: Add jsonencode() function | ZyX | 2016-04-18 | |
| | | | | | | | | | | | | | | | Ref #3471 | |||
* | | | | | functests(msgpack): Fix location of one of the tests | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | functests(msgpack): Fix test names | ZyX | 2016-04-18 | |
| | | | | | ||||
* | | | | | Make completion_spec.lua more robust | KillTheMule | 2016-04-16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having a tags file in the calling directory of make test would make this test fail, so disable tag file completion for it. Disable all other options except the current buffer, to, applying the principle of least surprise. | |||
* | | | | | test: defaults_spec.lua | Justin M. Keyes | 2016-04-15 | |
| | | | | | ||||
* | | | | | test: move server_spec.lua | Justin M. Keyes | 2016-04-15 | |
| | | | | | | | | | | | | | | | | | | | | Old layout was too granular, we do not need a server/ folder. | |||
* | | | | | tests: fix indeterministic oldfiles! test | Björn Linse | 2016-04-14 | |
| | | | | | ||||
* | | | | | Update lua client to 0.0.1-24 | Thiago de Arruda | 2016-04-13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The new version of the lua client uses libmpack as a backend, and some test scripts had to be updated to reflect that. | |||
* | | | | | Mark cursor_spec.lua indeterministic test as pending | Thiago de Arruda | 2016-04-11 | |
| | | | | |