aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* vim-patch:7.4.710David Bürgin2015-04-27
| | | | | | | | | Problem: It is not possible to make spaces visibible in list mode. Solution: Add the "space" item to 'listchars'. (David Bürgin, issue 350) https://github.com/vim/vim/releases/tag/v7-4-710 Closes #2485.
* vim-patch:7.4.537 #2509David Bürgin2015-04-27
| | | | | | | | Problem: Value of v:hlsearch reflects an internal variable. Solution: Make the value reflect whether search highlighting is actually displayed. (Christian Brabandt) https://github.com/vim/vim/releases/tag/v7-4-537
* vim-patch:7.4.532 #2504David Bürgin2015-04-27
| | | | | | | | Problem: When using 'incsearch' "2/pattern/e" highlights the first match. Solution: Move the code to set extra_col inside the loop for count. (Ozaki Kiichi) https://github.com/vim/vim/releases/tag/v7-4-532
* test: don't process vimrc #2511Marco Hinz2015-04-25
| | | | | | 676133aa introduced a new test for calling a nvim instance recursively. But without '-u NONE', the vimrc (and all plugins) get loaded too, which breaks the test for things that do stuff on VimEnter.
* Add if_python3 supportShougo Matsushita2015-04-21
| | | | | Reviewed-by: Michael Reed <m.reed@mykolab.com>, Daniel Hahler <github@thequod.de> Helped-by: Daniel Hahler <github@thequod.de>
* clipboard: cleanup `valid_yank_reg` and use it for `:redir`Björn Linse2015-04-17
| | | | | | | This fixes missing clipboard support for `:redir` Helped-By: Michael Reed <m.reed@mykolab.com> Helped-By: Scott Prager <splinterofchaos@gmail.com>
* clipboard: simplify handling of of put in visual mode.Björn Linse2015-04-17
| | | | | When clipboard=unnamed and put over visual selection, reduces number of provider calls from 6 to 2. Also add test.
* Merge pull request #2331 from splinterofchaos/serverlistenScott Prager2015-04-14
|\ | | | | vimL: serverlisten({addr}), list(), and stop({addr})
| * server: add unit testsScott Prager2015-04-14
| |
| * Implement os_unsetenv()Rui Abreu Ferreira2015-04-14
| | | | | | | | | | | | | | - In UNIX systems where unsetenv() is available, it is used. Otherwise the variables are set with the empty string. - New check HAVE_UNSETENV for unsetenv() - Added unit test to env_spec.lua
* | channel: recognized nvim-style errorsScott Prager2015-04-13
| |
* | msgpack: Allow notifications to execute commands.Scott Prager2015-04-13
|/ | | | | | | | | | Consider: `let vim = rpcstart('nvim', ['--embed'])` Allows `rpcnotify(vim, ...)` to work like an asynchronous `rpcrequest(nvim, ...)`. Helped-by: Michael Reed <m.reed@mykolab.com> Helped-by: Justin M. Keyes <>
* tests: Fix test setup/teardown in path_spec.lua #2402David Bürgin2015-04-12
| | | | | | | | A call to lfs.mkdir instead of lfs.rmdir left a temp directory hanging around. Changed to do proper setup/teardown using {before,after}_each. Helped-by: Scott Prager <splinterofchaos@gmail.com> Suggested-by: Scott Prager <splinterofchaos@gmail.com>
* test regression: recover_spec.luaJustin M. Keyes2015-04-12
|
* test: helpers.lua: add temporary set_session() functionJustin M. Keyes2015-04-12
| | | | | This function is needed until helpers.lua is refactored to support multiple sessions.
* test: migrate legacy test 78Justin M. Keyes2015-04-12
|
* Remove all references to JobActivityMarco Hinz2015-04-11
| | | | | | | | | The JobActivity event got replaced by callback functions provided to jobstart() or termopen(). It got removed here: https://github.com/neovim/neovim/commit/6e7757ad51dfe3b2de857ff8a8688718ff6115ac
* test: Remove indeterminism in job_spec.lua pty testsThiago de Arruda2015-04-11
|
* eval: Fix `jobwait()`Thiago de Arruda2015-04-11
| | | | | | - Properly save job event deferring state for recursive calls - Disable breakcheck while running. Breakcheck can invoke job callbacks in unexpected places.
* clipboard: fix "" register not updated when clipboard=unnamedBjörn Linse2015-04-11
| | | | Helped-By: Scott Prager <splinterofchaos@gmail.com>
* clipboard: adjust v:register when clipboard=unnamedBjörn Linse2015-04-11
| | | | | Helped-By: Nicolas Hillegeer <nicolas@hillegeer.com> Helped-By: Michael Reed <m.reed@mykolab.com>
* Add new highlight groups TermCursor/TermCursorNCMarco Hinz2015-04-09
| | | | | | | These highlight groups replace the old mechanism of setting: - {g,b}:terminal_focused_cursor_highlight - {g,b}:terminal_unfocused_cursor_highlight
* messages: Update common instances of Vim to Nvim #2031Michael Reed2015-04-08
|
* Merge pull request #2346 from splinterofchaos/fix-terminalScott Prager2015-04-08
|\ | | | | [RFC] terminal: Handle loss of focus in event loop.
| * term: after <C-\>, resume normal input loopScott Prager2015-04-05
| | | | | | | | | | | | | | | | Pressing <C-\> and then a mouse click will insert the click into the terminal as if a keyboard button had been pressed. Keep track of whether the last input was <C-\> and only call terminal_send_key() if the next input is a key press.
| * terminal: Handle loss of focus in event loop.Scott Prager2015-04-05
| | | | | | | | | | | | | | | | | | | | | | | | While in a terminal and insert mode, if an event caused loss of focus, nvim would stay in the terminal event loop causing an inconsistent view of internal state and/or segfault. Remove the "term" argument from terminal_enter() as it only makes sense to call it with curbuf->terminal. Terminate the loop when switched to a different buffer. fixes #2301
* | legacy tests: migrate test38 #2367Murali Suresh2015-04-07
| |
* | tests: Migrate legacy tests 44 and 99 #2366David Bürgin2015-04-07
| | | | | | | | Consolidates the old test44 and test99 tests into one busted spec.
* | tests: Migrate legacy tests 92 and 93 #2261David Bürgin2015-04-05
| |
* | vim-patch:7.4.497 #2295David Bürgin2015-04-05
|/ | | | | | | | | | | | | Problem: With some regexp patterns the NFA engine uses many states and becomes very slow. To the user it looks like Vim freezes. Solution: When the number of states reaches a limit fall back to the old engine. (Christian Brabandt) https://github.com/vim/vim/releases/tag/v7-4-497 Helped-by: David Bürgin <676c7473@gmail.com> Helped-by: Justin M. Keyes <justinkz@gmail.com> Helped-by: Scott Prager <splinterofchaos@gmail.com>
* clipboard: handle clipboard reading directly in `get_yank_register`Björn Linse2015-04-05
| | | | | | | | This makes :<c-r>* work as expected and avoids clobbering zero register ("0) when pasting unnamed clipboard Helped-By: Scott Prager <splinterofchaos@gmail.com> Helped-By: Michael Reed <m.reed@mykolab.com>
* test/clipboard: more clipboard test cleanupsBjörn Linse2015-04-05
|
* clipboard: improve the handling of newlines in `get_clipboard`Björn Linse2015-04-05
| | | | | | This makes the interpretion consistent with the way newlines are used in the VIMENC format, while keeping the same fallback behaviour when regtype is unspecified. Also check both cases explicitly in the tests.
* clipboard: reallow `:put`Björn Linse2015-04-05
|
* clipboard: show "* and "+ in :registersBjörn Linse2015-04-05
| | | | | Helped-by: Robin Allen <r@foon.uk> Helped-by: Scott Prager <splinterofchaos@gmail.com>
* test/clipboard: split unrelated subtestsBjörn Linse2015-04-05
|
* Merge pull request #2320 from richchurcher/fix_path_testJohn Szakmeister2015-04-04
|\ | | | | Use lfs.currentdir() to fix symlink test fail.
| * Use lfs.currentdir() to fix symlink test fail.Rich Churcher2015-04-01
| |
* | test/ui: Fix indeterminism in screen_basic_specThiago de Arruda2015-04-03
| |
* | tests/ui: warn when the correct state was seen temporarily.Björn Linse2015-04-03
| | | | | | | | Helped-by: Thiago de Arruda <tpadilha84@gmail.com>
* | test/ui: add redraw debug utilBjörn Linse2015-04-03
| |
* | test: Remove indeterminism from `jobwait` testsThiago de Arruda2015-04-02
|/ | | | | | | - Use on_exit instead of on_stdout since there's no guarantee that the OS will send the data in time(It fails randomly in slow environments such as travis/valgrind) - Increase the timeout gap for the "jobwait with timeout" test
* path_fix_case: unit testScott Prager2015-03-31
|
* eval: Implement `jobclose()` vimscript functionThiago de Arruda2015-03-29
|
* eval: Implement `jobwait()` vimscript functionThiago de Arruda2015-03-29
|
* eval: Refactor vimscript job control APIThiago de Arruda2015-03-29
| | | | | | | | | | - Remove JobActivity autocmd and v:job_data variable - Simplify `jobstart` to receive: - An argument vector - An optional dictionary which may contain any of the current `jobstart` options plus `on_stdout`, `on_stderr` and `on_exit` callbacks. - Refactor and add more job tests - Update documentation
* test: Add missing `before_each` call to sign_spec.luaThiago de Arruda2015-03-28
| | | | | | | Without this the test will inherit the previous test environment, causing random failures. Close #2243
* test: Add terminal testsThiago de Arruda2015-03-25
| | | | | | | | | | | | - Modify tty-test to allow easier control over the terminal - Add a new directory with various terminal tests/specifications - Remove a pending job/pty test. - Flush stdout in Screen:snapshot_util() (avoid waiting for the test to finish) - Replace libuv sigwinch watcher by a sigaction handler. libuv randomly fails to deliver signals on OSX. Might be related to the problem fixed by @bbcddc55ee1e5605657592644be0102ed3a5f104 (under the hoods, libuv uses a pipe to deliver signals to the main thread, which might be blocking in some situations)
* tests: Migrate legacy test 94 #2218David Bürgin2015-03-25
|
* refactor: add tests for env_expand_escbobtwinkles2015-03-24
|