aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* test: Add basic tests for the TUIThiago de Arruda2015-10-01
| | | | The tests use `termopen` to spawn nvim and verify the TUI.
* tui: Don't use 'pastetoggle' for automatic pastingThiago de Arruda2015-10-01
| | | | | | | Add a new special key that can be used by UIs to toggle the 'paste' option and use it in the TUI instead of the user's 'pastetoggle' value. Close #2843 #2092
* shell: Ensure silent bang mappings won't cut outputThiago de Arruda2015-10-01
| | | | | | | Setting `msg_didout` after `call_shell` is enough as it will cause `hit_return_msg()` to print on next line. Close #3269
* Disable a broken functional test.John Szakmeister2015-10-01
| | | | | | No one has taken a real interest in fixing this, so let's disable it for now. The issue crops up most on the QB OS X node, but it has periodically occurred under other nodes too.
* functests: Do not use user viminfo fileZyX2015-09-30
|
* eval/msgpackdump(): Use copyID for protecting against recursive inputZyX2015-09-30
| | | Should be faster then O(depth) iteration, but removes const qualifiers.
* test: Check for installed Python module with Vimscript function.Florian Walch2015-09-27
| | | | | | Use the existing Vimscript function provider#pythonx#Detect() to determine whether the Neovim Python module is installed and Python 2/3 tests can be run.
* test: K, 'keywordprg'Justin M. Keyes2015-09-23
|
* functests: Test how msgpack\* functions behave with invalid inputZyX2015-09-19
|
* functests: Split msgpack\* function tests into three groups:ZyX2015-09-19
| | | | | - Tests that use both functions. - Tests that use msgpackparse(). - Tests that use msgpackdump().
* functests/helpers: Add exc_exec function that checks the exceptionZyX2015-09-19
|
* terminal: Run screen refresh timer in a deferred queueThiago de Arruda2015-09-18
| | | | Close #3332
* os/path: Fix path_get_absolute_path for top-level pathsThiago de Arruda2015-09-18
| | | | Close #2833
* api: vim_err_write: add tests for multiline handlingBjörn Linse2015-09-16
|
* loop: Free the parent queue last when destroying the loopThiago de Arruda2015-09-16
| | | | This avoids a heap-use-after-free ASAN error. Close #3334
* encoding: test that `&encoding` cannot be changedBjörn Linse2015-09-08
| | | | Helped-By: Justin M. Keyes <justinkz@gmail.com>
* encoding: Update handling of encoding in testsBjörn Linse2015-09-08
| | | | | | | Always run tests with encoding=utf-8, regardless of user locale Don't set &encoding after startup in tests Helped-By: Michael Reed <m.reed@mykolab.com>
* clipboard: avoid clipboard during :global. #2809Felipe Morales2015-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is equivalent to patches 7.4.396, 7.4.445 and 7.4.598. vim-patch:7.4.396 Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful) Solution: Only set the clipboard after the last delete. (Christian Brabandt) https://github.com/vim/vim/commit/1f285eb49a709e00552f7bef7e74efff5ae79026 vim-patch:7.4.445 Problem: Clipboard may be cleared on startup. Solution: Set clip_did_set_selection to -1 during startup. (Christian Brabandt) https://github.com/vim/vim/commit/1a19d37d90f037c09183ba68fdddf70ab8ee179a vim-patch:7.4.598 Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed. (Salman Halim) Solution: Change how clip_did_set_selection is used and add clipboard_needs_update and global_change_count. (Christian Brabandt) https://github.com/vim/vim/commit/af6a579263a688f30bfbbee72b28d08cc7e0f3d4 Co-Author: @bfredl
* test59: Store all text as utf-8 and convert when neededBjörn Linse2015-08-26
|
* test59: Make "syntax off" explicit, as default may change with #2675Björn Linse2015-08-26
| | | | Helped-By: Felipe Morales <hel.sheep@gmail.com>
* test59: Fixup incorrectly encoded utf-8Björn Linse2015-08-26
|
* test59: Split tests into 1-1, etcLucas Hoffmann2015-08-26
| | | | | Helped-By: Björn Linse <bjorn.linse@gmail.com> Fixed some output issues
* test59: Turn the VimL test function into a lua function.Lucas Hoffmann2015-08-26
| | | | | Helped-By: Björn Linse <bjorn.linse@gmail.com> `spelldump | quit` must be in a function
* test59: Write spell files from lua and use cp to get the right files in placeLucas Hoffmann2015-08-26
| | | | Use teardown to remove these temporary files
* test59: Save source file in utf8, this will mess up a lot of characters.Lucas Hoffmann2015-08-26
|
* test59: Turn function definition into source() call.Lucas Hoffmann2015-08-26
|
* test59: Inital clean up.Lucas Hoffmann2015-08-26
| | | | | Fix some feed() calls and string delimiters Fix trimming of buffer before final expect().
* tests: Migrate legacy test 59.Lucas Hoffmann2015-08-26
|
* defaults: set 'laststatus' to 2. #2876Felipe Morales2015-08-24
|
* defaults: set 'listchars' to "tab:> ,trail:-,nbsp:+". #2872Felipe Morales2015-08-22
| | | | Re: https://github.com/neovim/neovim/issues/2676
* terminal: Fix use after freeThiago de Arruda2015-08-22
| | | | | Since close_cb may free the terminal structure, save the "wipe" flag before calling it.
* tests: fix the glob tests when building under a long path #3214John Szakmeister2015-08-21
|
* eval: Protect job callbacks from being redefinedThiago de Arruda2015-08-21
| | | | ref: #3188
* Notify attached UIs whenever menus changeRobin Allen2015-08-21
| | | | | This adds a redraw notification "update_menu" which is sent whenever Vim's menus are changed by the :menu command and friends.
* os/fs.c: remove os_file_is_readonly()Justin M. Keyes2015-08-17
| | | | | | | | | | | | | | | | | | | os_file_is_readonly() in its current form is equivalent to !os_file_is_writable(). This does not appear to be a bug, because Vim's use of check_file_readonly() (which we changed to os_file_is_readonly()) is equivalent to !os_file_is_writable() in every case. os_file_is_readonly() also fails this test: returns false if the file is non-read, non-write A more useful form would define behavior under these cases: - path is executable (but not writable) - path is non-existent - path is directory But there is no reason for os_file_is_readonly() to exist, so remove it.
* test: more cases for os_file_is_readonly()Justin M. Keyes2015-08-17
|
* test: cover os_file_is_readable()Justin M. Keyes2015-08-17
|
* queue: Implement a more flexible event queueThiago de Arruda2015-08-13
|
* test: Make sure ENTER prompt is exited in clipboard_provider_specThiago de Arruda2015-08-13
| | | | The test may hang without this.
* test: cover :grepJustin M. Keyes2015-08-11
| | | | References #3156
* test: fix pending() invocationsJustin M. Keyes2015-08-09
| | | | | AFAICT busted does not report pending() invocations without the 2nd argument.
* test: move runtime/autoload/* to provider/Justin M. Keyes2015-08-09
| | | | | - Organize tests by logical function, not the literal impl location. - Avoid deep nesting / hyper-hierarchy.
* test: python: report pending() if python{2,3} is missingJustin M. Keyes2015-08-09
|
* vim-patch:7.4.773 #3066Marco Hinz2015-08-09
| | | | | | | | Problem: 'langmap' is used in command-line mode when checking for mappings. Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez) Original patch: https://code.google.com/p/vim/source/detail?r=5b1eefbf9a532f32a66fa13abbd671488aaafd5c
* clipboard: support clipboard=unnamedplus,unnamedBjörn Linse2015-08-07
|
* test: cover msgpackparse() regressionJustin M. Keyes2015-08-05
|
* Merge pull request #3034 from ZyX-I/msgpack-evalJustin M. Keyes2015-08-03
|\ | | | | msgpack viml functions for dump/restore
| * functests: Use eval subdirectory in place of vimlZyX2015-08-02
| |
| * eval: Remove most of msgpack* functions limitationsZyX2015-08-02
| |
| * eval: Add msgpackparse and msgpackdump functionsZyX2015-08-02
| |