aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | | | Merge #9124 'vim-patch:8.0.1672'Justin M. Keyes2018-10-17
|\ \ \ \
| * | | | functionaltest: map error does not cancel promptJan Edmund Lazo2018-10-14
| |/ / /
* | | | test: Improve 008_autocommands_spec reliability (#9129)Justin M. Keyes2018-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes 008_autocommands_spec fails like this: [ RUN ] autocommands that delete and unload buffers: BufUnload, VimLeave: -- Output to stderr: CMake Error at /home/travis/build/neovim/neovim/cmake/RunTests.cmake:53 (message): functional tests failed with error: 1 The final :quit + wait() is a race. Use command() instead, which is synchronous. Use command('silent! ...') everywhere else too, because it's clearer instead of feeding input and clearing the expected errors with CTRL-L.
* | | | tests: improve robustness of immediate successes in screen testsBjörn Linse2018-10-15
|/ / /
* | | test: adjust timer testsJustin M. Keyes2018-10-13
| | | | | | | | | | | | | | | Timer tests are less reliable on Travis CI macOS 10.12 (most egregious). Also somewhat on 10.13.
* | | Merge pull request #9121 from bfredl/virt_invalidBjörn Linse2018-10-13
|\ \ \ | | | | | | | | API: make nvim_buf_set_virtual_text handle invalid chars
| * | | api: make nvim_buf_set_virtual_text handle invalid charsBjörn Linse2018-10-13
| | | | | | | | | | | | | | | | | | | | Clients are supposed to supply only valid text, but if it is invalid, translate it rather than messing up the screen
* | | | signs: Add "numhl" argument #9113Reto Schnyder2018-10-13
|/ / / | | | | | | | | | | | | close #9113 ref #9040
* | | doc: xdg, MAINTAIN.md, channel-id, job controlJustin M. Keyes2018-10-11
| | | | | | | | | | | | - tutor: emphasize K
* | | test: replace wait() with pre-assertion in assert_term_colorsBjörn Linse2018-10-06
| | |
* | | Fix crash if --embed is used more than onceJames McCoy2018-10-03
| | |
* | | ui: reserve the right to split a screen redraw into multiple batches.Björn Linse2018-10-02
| | |
* | | ui: rename ext_newgrid to ext_linegridBjörn Linse2018-10-01
| | |
* | | test: check_cores(): Fix tmp dir exclusion (#9061)Justin M. Keyes2018-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tmpdir_get() may be an absolute path, but we invoke glob() with a relative `initial_path`. That can lead to this error: [ ERROR ] test/functional/helpers.lua @ 752: after_each test/helpers.lua:95: cannot open ./Xtest-tmpdir/nvim8jKCjR: No such file or directory stack traceback: test/helpers.lua:95: in function 'glob' test/helpers.lua:273: in function 'check_cores' test/functional/helpers.lua:757: in function <test/functional/helpers.lua:752>
* | | test: Do not load entire log-file into memoryJustin M. Keyes2018-09-23
| | | | | | | | | | | | With DEBUG-level logging, after `make test`, log file could be 1+ GB.
* | | swapfile: Always show swap dialog (E325)Justin M. Keyes2018-09-23
| | | | | | | | | | | | | | | | | | | | | If swapfile dialog prompts for input, it must be displayed to the user. fix #8840 fix #9027
* | | shortmess+=F: Hide :bnext, :bprev fileinfo messagesJustin M. Keyes2018-09-23
| | |
* | | startup: always wait for UI with --embed, unless --headless also is suppliedBjörn Linse2018-09-22
| | |
* | | shell/logging: Fix E730 with verbose system({List}) #9009Justin M. Keyes2018-09-21
| | | | | | | | | | | | | | | | | | | | | | | | ref https://github.com/neovim/neovim/issues/9001#issuecomment-421843790 Steps to reproduce: :set verbose=9 :call system(['echo']) E730: using List as a String
* | | startup: don't erase screen on `:hi Normal` during startupBjörn Linse2018-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | NB: existing `color default` test was actually enough to trigger the bug, when ext_newgrid=false is used. I created the `:hi Normal` test as I thought the builtin colors wouldn't set Normal (unless 'bg' is changed) But as the root cause actually comes from `:hi Normal`, it makes sense to still add the separate test (if `color default` here gets optimized to become a no-op, or something).
* | | doc: test/README.md (#9020)Daniel Hahler2018-09-20
| | | | | | | | | | | | | | | | | | - testdir location - no old style tests are left in the fixed list in the Makefile [ci skip]
* | | test: system_spec: remove redundant clear()Justin M. Keyes2018-09-19
| | |
* | | startup: wait for embedder before executing startup commands and filesBjörn Linse2018-09-18
| | | | | | | | | | | | | | | | | | Give embeders a chance to set up nvim, by processing a request before startup. This allows an external UI to show messages and prompts from --cmd and buffer loading (e.g. swap files)
* | | buffer: add support for virtual text annotationsBjörn Linse2018-09-17
| | |
* | | vim-patch:8.1.0355 Incorrect adjusting the popup menu (#8996)Ronan Pigott2018-09-16
| | | | | | | | | | | | | | | Problem: Incorrect adjusting the popup menu for the preview window. Solution: Compute position and height properl. (Ronan Pigott) Also show at least ten items. (closes vim/vim#3414)
* | | getchar: allow <SID> in <Cmd> mappingBjörn Linse2018-09-13
| | |
* | | test: popupmenu placementrpigott2018-09-13
| | |
* | | tests: update expected output of :digraph commandJan Edmund Lazo2018-09-08
| | |
* | | functests: Add testsZyX2018-09-06
| | |
* | | test/win: job_spec: increase jobwait() timeoutJustin M. Keyes2018-09-05
| | | | | | | | | | | | | | | | | | | | | powershell is slow, and this timeout is "worst case" so it doesn't make the tests more costly, only avoids a false-positive. close #8958
* | | Merge #8888 from janlazo/vim-8.0.1020Justin M. Keyes2018-09-05
|\ \ \
| * | | tests: call getchar(1) in timer callbackJan Edmund Lazo2018-09-04
| | | | | | | | | | | | | | | | Test changes from 8.0.1020 and 8.0.1048.
* | | | test: API validation: assert exact stringJustin M. Keyes2018-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | expect_err() matches against a pattern. Terminate the pattern with "$" to check against buffer overrun. ref #8931
* | | | API: Avoid overrun when formatting error-messageJustin M. Keyes2018-09-05
|/ / / | | | | | | | | | | | | | | | | | | msgpack_rpc_to_object (called by handle_request .. msgpack_rpc_to_array) always NUL-terminates API Strings. But handle_request .. msgpack_rpc_get_handler_for operates on a raw msgpack_object, before preparation.
* | | Merge #8921 'highlight: Fix after-EOL matches at cursor'Justin M. Keyes2018-09-04
|\ \ \
| * | | Add tests for highlighting after the end of a line.Ricky Zhou2018-09-03
| | | |
* | | | Merge pull request #8942 from bfredl/attr_stateBjörn Linse2018-09-03
|\ \ \ \ | |/ / / |/| | | screen.lua: extend snapshot_util() to work with extension state
| * | | screen.lua: extend snapshot_util() to work with extension stateBjörn Linse2018-09-03
| | | | | | | | | | | | | | | | | | | | Simplify handling of attributes: collect new attributes in the same pass as screen lines are rendered, instead of using two passes.
* | | | test: Dump $NVIM_LOG_FILE contents (#8926)Justin M. Keyes2018-08-28
| | | | | | | | | | | | | | | | | | | | | | | | Do this at the test-framework level instead of CI (Travis) scripts. Then it works for QuickBuild and AppVeyor. ref eb6dd3e42dc38460e8624dc5faef894e21c6aa26
* | | | API: nvim_unsubscribe(): Handle unknown events #8745Daniel Hahler2018-08-28
|/ / / | | | | | | | | | close #8745
* | | tests: introduce screen:expect{...} formBjörn Linse2018-08-27
| | |
* | | warn about tests without libintlMatthieu Coudron2018-08-25
| | |
* | | vim-patch:8.0.1291: C indent wrong when * immediately follows commentJan Edmund Lazo2018-08-20
| | | | | | | | | | | | | | | | | | Problem: C indent wrong when * immediately follows comment. (John Bowler) Solution: Do not see "/*" after "*" as a comment start. (closes vim/vim#2321) https://github.com/vim/vim/commit/f8c53d3d268fc67a29c8c1a4e76fae85762e11b5
* | | cmdline: always use save_cmdline before command_line_enterBjörn Linse2018-08-17
| | | | | | | | | | | | | | | ":normal :" might be invoked in various ways, so its safest to always allow recursive invocation of cmdline mode
* | | oldtests: finish port of 8.0.1224Jan Edmund Lazo2018-08-15
| | |
* | | cursor_shape: use attribute ids instead of syntax idsBjörn Linse2018-08-13
| | | | | | | | | | | | | | | As attribute ids is the convention in the UI protocol Also remove non-threadsafe calls in tui.c to syntax module.
* | | Merge pull request #8660 from ↵Björn Linse2018-08-02
|\ \ \ | | | | | | | | | | | | | | | | phodge/7688-nvim-buf-lines-should-return-empty-list-for-unloaded-buffer handle unloaded buffers in nvim_buf_*() functions
| * | | functests: tests related to operations on unloaded buffers #7688Peter Hodge2018-07-25
| | | |
* | | | system(): handle profiling and 'verbose' #8730Marcos Almeida2018-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #8362 Vim's code calls `call_shell` directly from `get_system_output_as_rettv` whereas in Nvim this function has been rewritten to not call `call_shell` but to call `os_system` via `do_os_system`, losing the support for profiling and verbose. Changing the code to call `call_shell` from `get_system_output_as_rettv` seems to be too complicated to be worth it on the current version of the code. So this commit duplicates the relevant code.
* | | | screen.c: add update_window_hl to special redrawing entrypointsBjörn Linse2018-07-27
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following (run as a script) used to cause a crash due to :sign using a special redraw (not updating nvim's specific highlight data structures) without proper redraw first, as split just flags for redraw later. set cursorline sign define piet text=>> texthl=Search split sign place 3 line=2 name=piet buffer=1