aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | | | | | 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).
* | | | | | 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
| | | | | |
* | | | | | functests: Make sure that json functions are tested with C messagesZyX2016-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.
* | | | | | encode: Handle incomplete surrogates like `\uSURR\uOTHR` properlyZyX2016-04-18
| | | | | |
* | | | | | encode: Fail to dump NaN and infinityZyX2016-04-18
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to vim/vim#654
* | | | | | eval: Rename json* functions to json_*ZyX2016-04-18
| | | | | |
* | | | | | api: Replace set_var(name, NIL) with del_var(name)ZyX2016-04-18
| | | | | |
* | | | | | eval/encode: Fix invalid UTF-8 strings handling:ZyX2016-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 writing strings starting with NL to listZyX2016-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error [found][1] by oni-link. [1]: https://github.com/neovim/neovim/pull/4131/files#r52239384
* | | | | | eval/encode: Fix non-utf-8 &encoding handling, add testsZyX2016-04-18
| | | | | |
* | | | | | shada: Make sure that NIL and EXT values can also be parsed backZyX2016-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 presentZyX2016-04-18
| | | | | |
* | | | | | eval: Make assert_true and assert_false accept v:true and v:falseZyX2016-04-18
| | | | | |
* | | | | | eval: Remove v:noneZyX2016-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 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/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: Add jsondecode() functionZyX2016-04-18
| | | | | |
* | | | | | functests/msgpack: Test dumping special nil and bool dictsZyX2016-04-18
| | | | | |
* | | | | | runtime/msgpack: Add support for special valuesZyX2016-04-18
| | | | | |
* | | | | | eval: Add special variables v:false, v:null, v:noneZyX2016-04-18
| | | | | |
* | | | | | eval: Add special variable typeZyX2016-04-18
| | | | | |
* | | | | | eval: Add jsonencode() functionZyX2016-04-18
| | | | | | | | | | | | | | | | | | Ref #3471
* | | | | | functests(msgpack): Fix location of one of the testsZyX2016-04-18
| | | | | |
* | | | | | functests(msgpack): Fix test namesZyX2016-04-18
| | | | | |
* | | | | | Merge pull request #4574 from oni-link/fix.utfc_ptr2char_lenJustin M. Keyes2016-04-17
|\ \ \ \ \ \ | | | | | | | | | | | | | | mbyte.c: Fix invalid memory access in utfc_ptr2char_len
| * | | | | | mbyte_spec.lua: Fix indentationoni-link2016-04-17
| | | | | | |
| * | | | | | mbyte_spec.lua: Fix wordingoni-link2016-04-17
| | | | | | |
| * | | | | | mbyte.c: Unittest for utfc_ptr2char_len()oni-link2016-04-15
| | | | | | |
* | | | | | | Make completion_spec.lua more robustKillTheMule2016-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.luaJustin M. Keyes2016-04-15
| | | | | |
* | | | | | test: move server_spec.luaJustin M. Keyes2016-04-15
| | | | | | | | | | | | | | | | | | | | | | | | Old layout was too granular, we do not need a server/ folder.
* | | | | | tests: fix indeterministic oldfiles! testBjörn Linse2016-04-14
| | | | | |
* | | | | | Update lua client to 0.0.1-24Thiago de Arruda2016-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 pendingThiago de Arruda2016-04-11
| | | | | |
* | | | | | Remove indeterminism in oldfiles_spec.luaThiago de Arruda2016-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If Nvim is in a "Press ENTER..." screen before the `get_vvar()` call, the test will hang.
* | | | | | Synchronize shada reset helper with other functional testsThiago de Arruda2016-04-11
| | | | | |
* | | | | | Merge pull request #4357 from jbradaric/vim-7.4.1105Justin M. Keyes2016-04-09
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:7.4.1105
| * | | | | | vim-patch:7.4.1105Jurica Bradaric2016-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using slices there is a mixup of variable name and namespace. Solution: Recognize variables that can't be a namespace. (Hirohito Higashi) https://github.com/vim/vim/commit/9bbf63dbf8286fadc0cd6b3428010abb67b1b64d
* | | | | | | complete: noinsert/noselect should not set 'modified'. #4509Shougo Matsushita2016-04-09
| | | | | | |
* | | | | | | buffer.c: change return type to boolCharles Joachim2016-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Wayne Rowcliffe (@war1025)