aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval
Commit message (Collapse)AuthorAge
...
* timers: make timers work with zero timeoutBjörn Linse2016-06-29
|
* test: fix command_count_specBjörn Linse2016-06-23
| | | | The test hit wait_return if x or .x.swp exists in the project root directory.
* Merge #4697 'capture() function'.Justin M. Keyes2016-06-20
|\
| * Port capture() functionShougo Matsushita2016-05-27
| | | | | | | | https://groups.google.com/forum/#!msg/vim_dev/H3Z3ChSUh_4/beZs6KzYdBsJ
* | functests: Check logs in lua codeZyX2016-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.
* cmdline: Redraw the cmdline after processing eventsBjörn Linse2016-05-24
| | | | | | | vim-patch:7.4.1603 TODO(bfredl): if we allow events in HITRETURN and ASKMORE states, we need to add the necessary redraws as well.
* eval: implement timers. vim-patch: 7.4.1578, 7.4.1831Björn Linse2016-05-24
| | | | | For the moment, timers are triggered during sleep, but not in wait-for-input modes, like press-RETURN or f_getchar()
* vim-patch:cb00f03KillTheMule2016-05-08
| | | | | | | | | Add missing test file. https://github.com/vim/vim/commit/cb00f039332d3188931035e9d07144546fdea78a Converted to a lua test. Change the tolerance of the test to avoid false positives on travis.
* Satisfy testlint.KillTheMule2016-04-28
| | | | For that, make luatest ignore the preload.lua files.
* functests: Make json_functions_spec use new NIL where appropriateZyX2016-04-18
|
* eval/encode: Make sure that encoder can encode NULL variablesZyX2016-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 codeZyX2016-04-18
|
* eval/encode: Dump FF character correctlyZyX2016-04-18
|
* eval: Treat [] and [""] as any other empty stringZyX2016-04-18
|
* eval: Fix overflow in error message in f_json_decodeZyX2016-04-18
|
* documentation,functests: State that UTF-8-only support is intentionalZyX2016-04-18
|
* eval/decode: Accept `\r` as space characterZyX2016-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).
* 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 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: 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
|
* 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 non-utf-8 &encoding handling, add testsZyX2016-04-18
|
* 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
|
* 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
|
* test: move server_spec.luaJustin M. Keyes2016-04-15
| | | | Old layout was too granular, we do not need a server/ folder.
* eval: add v:event, which will contain data events want to propagate to their ↵Björn Linse2016-02-29
| | | | | | receivers. Add helper functions dict_clear and dict_set_keys_readonly.
* functests: Add string() function testsZyX2016-02-02
|
* eval: Return different values when dividing by zeroZyX2016-02-02
| | | | Fixes #3263
* test: printf_spec: fix missing setupJustin M. Keyes2016-01-21
| | | | | before_each(clear) is required to init the test harness for single-test runs, and also to ensure a known environment for each test.