aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
* provider/nodejs: check version in Detect()Justin M. Keyes2017-12-17
|
* test: remove inspect test; set NODE_PATH in nodejs_spec.luaJan Edmund Lazo2017-12-17
| | | | | | | | | | | provider#node#can_inspect will fail on some systems because it is common to have old node versions in OS (any Linux OS that has LTS releases) and CI (Travis, Appveyor). NODE_PATH can be trivially set with VimL. Build scripts don't have to set it for the nodejs tests to work. NODE_PATH is optional to begin with and is used only as a workaround for the neovim node.js host.
* ci: nodejs client acceptance-test #7706Jan Edmund Lazo2017-12-17
| | | | | | | | | | | | | | | | | | | | | | | | ci: install nodejs 8 in Appveyor, Travis provider: check node version for debug support Resolve https://github.com/neovim/neovim/pull/7577#issuecomment-350590592 for Unix. provider: test if nodejs in ci supports --inspect-brk nodejs host for neovim requires nodejs 6+ to work properly. nodejs 6.12+ or 7.6+ is required for debug support via `node --inspect-brk`. provider: run cli.js of nodejs host directly npm shims are useless because the user cannot set node to debug mode via --inspect-brk. This is problematic on Windows which use batchfiles and shell scripts to compensate for not supporting shebang. The patch uses `npm root -g` to get the absolute path of the global npm modules. If that fails, then the user did not install neovim npm package globally. Use that absolute path to find `neovim/bin/cli.js`, which is what the npm shim actually runs with node. glob() is for a simple file check in case bin/ is removed because the npm shims are ignored now.
* ui: forward relevant option updates to UIs (#7520)Björn Linse2017-12-12
| | | also make termguicolors mutable after startup
* window.c: do BufEnter in correct window after closing help #7431glacambre2017-12-10
| | | | | | | | | | | | closes #7429 Problem: after a help window was closed, a window was selected and its autocommands triggered. After that, restore_snapshot was called and the focused window changed, confusing the user. Solution: Add function get_snapshot_focus() that returns the window that holds the cursor in a snapshot. Use this function in win_close to make sure the right window is selected before any autocommand is triggered.
* Merge #7234 'built-in expression parser'Justin M. Keyes2017-12-09
|\
| * *: Replace all occurrences of NVim with NvimZyX2017-11-30
| |
| * Merge branch 'master' into expression-parserZyX2017-11-30
| |\
| * | keymap: Do not use vim_isIDc in keymap.cZyX2017-11-30
| | | | | | | | | | | | | | | | | | | | | | | | Note: there are three changes to ascii_isident. Reverting first two (in find_special_key and first in get_special_key_code) normally fails the new test with empty &isident, but reverting the third does not. Hence adding `>` to &isident. Ref vim/vim#2389.
| * | functests: Add some more testsZyX2017-11-26
| | |
| * | viml/parser/expressions: Make $ENV not depend on &isidentZyX2017-11-26
| | |
| * | Merge branch 'master' into expression-parserZyX2017-11-26
| |\ \
| * \ \ Merge branch 'master' into expression-parserZyX2017-11-19
| |\ \ \
| * | | | tests: Stabilize float format and %e in format_luav and format_stringZyX2017-11-19
| | | | |
| * | | | *: Fix linter errorsZyX2017-11-19
| | | | |
| * | | | tests: Use single test file for unit and functional parser testsZyX2017-11-19
| | | | |
| * | | | functests: Fix ui/cmdline testZyX2017-11-19
| | | | |
| * | | | viml/parser/expressions,unittests: Do better testing, fix found issuesZyX2017-11-19
| | | | |
| * | | | unittests,syntax: Check for sanity of highlight_init_cmdlineZyX2017-11-13
| | | | | | | | | | | | | | | | | | | | Also fixes some errors found.
| * | | | Merge branch 'master' into expression-parserZyX2017-11-06
| |\ \ \ \
| * | | | | api/vim: Add “len” dictionary keyZyX2017-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows determining where parsing ended which may be needed for e.g. parsing `:echo` with that API function.
| * | | | | tests: Add missing test casesZyX2017-11-06
| | | | | |
| * | | | | api/vim,functests: Add tests for nvim_parse_expression, fix found bugsZyX2017-11-06
| | | | | |
| * | | | | api/vim: Create part of nvim_parse_expression functionZyX2017-11-06
| | | | | |
| * | | | | tests: Fix testlint errorsZyX2017-11-06
| | | | | |
| * | | | | Merge branch 'master' into expression-parserZyX2017-10-30
| |\ \ \ \ \
| * | | | | | ex_getln: Make use of new parser to color expressionsZyX2017-10-29
| | | | | | | | | | | | | | | | | | | | | Retires g:Nvim_color_expr callback.
* | | | | | | 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
|/ / / / / /
* | | | | | 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
| | | | | |
| * | | | | 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
| | | | |