aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | | | | | 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)
* | | | | | | tests: update tests to use [gs]et_lines instead of [gs]et_line_sliceBjörn Linse2016-04-01
| | | | | | |
* | | | | | | api/buffer: add tests for buffer_[gs]et_linesBjörn Linse2016-04-01
| | | | | | |
* | | | | | | api/buffer: introduce buffer_[gs]et_lines with new indexing convention.Björn Linse2016-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -1 is index past the end, and -2 is the index of the last element. This eliminates the need for include_start/include_end. Allow the handling of out-of-bounds to be configurable.
* | | | | | | vim-patch:7.4.1654James McCoy2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using expand('%:S') in a buffer without a name. Solution: Don't set a NUL. (James McCoy, closes vim/vim#714) https://github.com/vim/vim/commit/52c6eaffd43a8c8865f8d6ed7cde0a8b137479e2
* | | | | | | vim-patch:7.4.1652James McCoy2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Old style test for fnamemodify(). Solution: Turn it into a new style test. https://github.com/vim/vim/commit/610cc1b9b3c8104382f5506606c1f87118c28114
* | | | | | | vim-patch:7.4.1643James McCoy2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Terminating file name has side effects. Solution: Restore the character. (mostly by James McCoy, closes vim/vim#713) https://github.com/vim/vim/commit/d4caf5c16a9f1c9477d426e58d8d3dc47ab5f066
* | | | | | | vim-patch:7.4.1641James McCoy2016-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using unterminated string. Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy) https://github.com/vim/vim/commit/5ca84ce4aa2832041f843e624c222bbc1f4d3e14
* | | | | | | Merge pull request #4461 from bfredl/pum_k_eventJustin M. Keyes2016-03-18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | K_EVENT should not hide the popupmenu
| * | | | | | | edit.c: K_EVENT should not hide the popupmenuBjörn Linse2016-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nor should K_FOCUSGAINED and K_FOCUSLOST.