aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
| * | | | | | | viml/parser/expressions: Add support for subscript and list literalsZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Error out on multiple colons in a rowZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Add support for the dot operator and numbersZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Make lexer parse numbers, support non-decimalZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Forbid dot or alpha characters after a floatZyX2017-10-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is basically what Vim already does, in addition to forbidding floats should there be a concat immediately before it.
| * | | | | | | viml/parser/expressions: Add support for comparison operatorsZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Make sure that arrows outside lambda throwZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Add support for ternary operatorZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Fix determining invalid commas/colonsZyX2017-10-15
| | | | | | | |
| * | | | | | | viml/parser/expressions: Fix call inside nested parenthesisZyX2017-10-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It may have incorrectly tried to call everything because of essentially “value” nodes being treated as not such.
| * | | | | | | unittests: Add support for dumping “expected” stateZyX2017-10-08
| | | | | | | | | | | | | | | | | | | | | | | | Purpose is similar to that of `screen:snapshot_util()`, but in different domain.
| * | | | | | | viml/parser/expressions: Add a way to adjust lexerZyX2017-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It also adds support for kExprLexOr which for some reason was forgotten. It was only made sure that KLEE test compiles in non-KLEE mode, not that something works or that KLEE is able to run tests.
| * | | | | | | viml/parser/expressions: Make curly braces name actually workZyX2017-10-08
| | | | | | | |
| * | | | | | | viml/parser/expressions: Make commas actually work when callingZyX2017-10-08
| | | | | | | |
| * | | | | | | viml/parser/expressions: Make commas actually work when callingZyX2017-10-08
| | | | | | | |
| * | | | | | | viml/parser/expressions: Add support for figure braces (three kinds)ZyX2017-10-08
| | | | | | | |
| * | | | | | | klee: Start preparing for klee testsZyX2017-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First stage: something compiling without klee, but with a buch of dirty hacks - done. Second stage: something running under klee, able to emit useful results, but still using dirty hacks - done. Third stage: make CMake care about clang argumnets - not done, may be omitted if proves to be too hard. Not that klee can be run on CI in any case.
| * | | | | | | viml/parser/expressions: Start creating expressions parserZyX2017-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently supported nodes: - Register as it is one of the simplest value nodes (even numbers are not that simple with that dot handling). - Plus, both unary and binary. - Parenthesis, both nesting and calling. Note regarding unit tests: it stores data for AST in highlighting in strings in place of tables because luassert fails to do a good job at representing big tables. Squashing a bunch of data into a single string simply yields more readable result.
| * | | | | | | unittests: Move some functions into helpers modulesZyX2017-10-08
| | | | | | | |
| * | | | | | | viml/parser: Handle encoding conversionsZyX2017-10-08
| | | | | | | |
| * | | | | | | viml/expressions: Add lexer with some basic testsZyX2017-10-08
| | | | | | | |
| * | | | | | | unittests: Add a way to print trace on regular errorZyX2017-09-29
| | | | | | | |
| * | | | | | | test/helpers: Add format_string and format_luavZyX2017-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First intended to provide %r functionality like in Python (and also support for %*.*s, but this was not checked), second adds nice table formatting for use in cases similar to screen:snapshot_util().
* | | | | | | | ui: fix glitch with both ext_cmdline and cmd_wildmenuBjörn Linse2017-12-06
| | | | | | | |
* | | | | | | | tests: cleanup ui/cmdline_spec.luaBjörn Linse2017-12-05
| | | | | | | |
* | | | | | | | Merge #7477 from FlorianGit/empty-lists-dicts-stringsJustin M. Keyes2017-12-05
|\ \ \ \ \ \ \ \
| * | | | | | | | Viml: Make filter and map handle null list correctFlorianGit2017-12-03
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filter('v:_null_list, 'v:val') should return v:_null_list and a similar statement should hold for map. Changes after review * Test inserted in legacy test suite has been removed by reverting the commit adding it. * Change the fix to tv_copy the argument before returning. * Readd the two tests on crashes, and modified their expected return value. * Move the test from 'incorrect behaviour' section to 'correct behaviour section' * Add analogous tests for v:_null_dict Always copy list or dictionary to return variable If the type of input is correct (i.e. either a list or a dictionary), this should also be returned.
* | | | | | | | tui: flush -V3 ('verbose' >= 3) info ASAPJustin M. Keyes2017-12-05
| | | | | | | |
* | | | | | | | test/tui: -V3log logs terminfo valuesJustin M. Keyes2017-12-05
| | | | | | | |
* | | | | | | | test: write_file(): support append-modeJustin M. Keyes2017-12-05
| | | | | | | |
* | | | | | | | test: retry(): fix time calculationJustin M. Keyes2017-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libuv caches the results of uv.now() until the next loop tick. If a test does not spin the libuv event loop, retry() enters an infinite cycle.
* | | | | | | | test: macOS 10.13: unibilium cannot find "xterm" terminfoJustin M. Keyes2017-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some macOS versions we can't find the terminfo for whatever reason, so just skip the test if it fails.
* | | | | | | | test: tui_spec: narrower scope for timeout tweaksJustin M. Keyes2017-12-05
|/ / / / / / /
* | | | | | | unittest: Ignore _Float128 types in ffiJames McCoy2017-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with certain GCC versions, a _Float128 type is present when setting up the ffi for unit tests. ./test/unit/helpers.lua:256: declaration specifier expected near '_Float128' at line 396 /usr/bin/luajit: /usr/share/lua/5.1/busted/runner.lua:99: attempt to concatenate local 'message' (a table value) stack traceback: /usr/share/lua/5.1/busted/runner.lua:99: in function 'fn' /usr/share/lua/5.1/mediator.lua:103: in function 'publish' /usr/share/lua/5.1/busted/modules/helper_loader.lua:21: in function 'helperLoader' /usr/share/lua/5.1/busted/runner.lua:147: in function </usr/share/lua/5.1/busted/runner.lua:11> /usr/bin/busted:3: in main chunk [C]: at 0x004044a0 CMake Error at /<<PKGBUILDDIR>>/cmake/RunTests.cmake:53 (message): Running unit tests failed with error: 1. Since this is being pulled in by a dependency, not directly used by nvim, just ignore the type. Closes #7423
* | | | | | | Merge #7640 'term' optionJustin M. Keyes2017-11-27
|\ \ \ \ \ \ \
| * | | | | | | lintJustin M. Keyes2017-11-27
| | | | | | | |
| * | | | | | | test: tui_spec.lua: use robust settingsJustin M. Keyes2017-11-27
| | | | | | | |
| * | | | | | | tui: expose terminal type in 'term' optionJustin M. Keyes2017-11-27
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since "builtin" terminfo definitions were implemented (7cbf52db1bdf), the decisions made by tui.c and terminfo.c are more relevant. Exposing that decision in the 'term' option helps with troubleshooting. Also: remove code that allowed setting t_Co. `:set t_Co=…` has never worked; the highlight_spec test asserting that nvim_set_option('t_Co') _does_ work makes no sense, and should not have worked.
* / | | | | | tests: mark flaky socket test pending for nowBjörn Linse2017-11-27
|/ / / / / /
* | | | | | Merge pull request #6844 from bfredl/channelBjörn Linse2017-11-26
|\ \ \ \ \ \ | | | | | | | | | | | | | | channels: support buffered output and bytes sockets/stdio
| * | | | | | channels: testsBjörn Linse2017-11-26
| | | | | | |
| * | | | | | core dumps: don't use pipe, it does not workBjörn Linse2017-11-25
| | | | | | |
| * | | | | | test: add hexdump utilitiy functionBjörn Linse2017-11-25
| | | | | | |
* | | | | | | test: :highlight validation errorsnate2017-11-25
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | add test when highlight group doesn't exist. add test when an invalid color name is used for `cterm`.
* | | | | | FIXUP: duplicate error number in #7422Björn Linse2017-11-23
| | | | | |
* | | | | | cmdline: CmdlineEnter and CmdlineLeave autocommands (#7422)Björn Linse2017-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:fafcf0dd59fd patch 8.0.1206: no autocmd for entering or leaving the command line Problem: No autocmd for entering or leaving the command line. Solution: Add CmdlineEnter and CmdlineLeave. https://github.com/vim/vim/commit/fafcf0dd59fd9c4ef743bb333ae40d1d322b6079
* | | | | | Merge #7345 'location-list update on buffer-modified'Justin M. Keyes2017-11-21
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | quickfix: fix location list updates (test).Lech Lorens2017-10-31
| | | | | |
* | | | | | 'viewoptions': add "curdir" flag #7447Eric Roberts2017-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The flag enables the current local directory set by ":lcd" to be saved to views which is the current default behaviour. The option can be removed to disable this behaviour. closes #7435 vim-patch:8.0.1289
* | | | | | defaults: scrollback=10000 (#7556)Justin M. Keyes2017-11-14
| | | | | |