aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
...
* test/functional: Fix api/vim_spec.lua.Rui Abreu Ferreira2015-12-31
| | | | | On Windows the default file format is DOS i.e. newlines are \r\n instead of \n.
* Windows: fix serverstart functional testRui Abreu Ferreira2015-12-31
|
* Merge pull request #3869 from oni-link/fix.issue.3844Justin M. Keyes2015-12-30
|\ | | | | helpers.c: Handle msgpack str/bin objects with length 0 correctly
| * helpers.c: Handle msgpack str/bin objects with length 0 correctlyoni-link2015-12-21
| | | | | | | | | | | | | | | | | | | | | | When converting a msgpack object to a String object, strings (and byte arrays) with length 0 are handled as errors. This is fixed by always using the msgpack data pointer as a valid pointer. For a NULL pointer there is nothing to copy. Test by @snoe Fixes #3844
* | Tests: fix according to lualintMarco Hinz2015-12-20
|/
* Merge pull request #3722 from ZyX-I/fix-3721Justin M. Keyes2015-12-18
|\ | | | | shada: Continue dumping when variables failed to dump
| * shada: Continue dumping when variables failed to dumpZyX2015-12-18
| | | | | | | | Closes #3721
* | vim-patch:7.4.803Johan Klokkhammer Helsing2015-12-13
| | | | | | | | | | | | | | Problem: C indent does not support C11 raw strings. (Mark Lodato) Solution: Do not change indent inside the raw string. https://github.com/vim/vim/commit/f7bb86dc593913d055e4cce16cec43f6271adda3
* | vim-patch:7.4.670Johan Klokkhammer Helsing2015-12-13
| | | | | | | | | | | | | | Problem: Using 'cindent' for Javascript is less than perfect. Solution: Improve indenting of continuation lines. (Hirohito Higashi) https://github.com/vim/vim/commit/dcefba993456263100785f18d21d780cf531f2dc
* | test: fixeol_spec: setup/teardownJustin M. Keyes2015-12-13
| | | | | | | | Without this cleanup, test will fail if run multiple times.
* | Merge #3443 'vim-patch:7.4.{785,795,898}'Justin M. Keyes2015-12-13
|\ \ | |/ |/|
| * Convert legacy test for fixeol to lua test.Johan Klokkhammer Helsing2015-11-22
| |
* | Merge pull request #3753 from watiko/vim-7.4.790Justin M. Keyes2015-12-12
|\ \ | | | | | | Vim 7.4.{786,787,789,790}
| * | tests: Improve legacy autocmd_option.watiko2015-12-12
| | | | | | | | | | | | | | | * Compare tables instead of strings * Add neovim specific test
| * | tests: Keep each autocmd_option's test in isolation.watiko2015-11-28
| | |
| * | tests: Improve legacy test autocmd_option.watiko2015-11-28
| | |
| * | tests: Migrate legacy test autocmd_option.watiko2015-11-28
| | |
* | | Test: remove artifacts from root directoryMarco Hinz2015-12-01
|/ / | | | | | | | | | | | | | | | | The tests would leave the following test files in the root directory: Xtest-functional-plugin-shada.shada Xtest-functional-plugin-shada.shada.tmp.f Clean them up in teardown().
* | Merge pull request #3724 from ZyX-I/fix-3635Justin M. Keyes2015-11-27
|\ \ | | | | | | shada: Do not save unlisted and quickfix buffers
| * | shada: Do not save unlisted and quickfix buffersZyX2015-11-23
| | | | | | | | | Fixes #3635
* | | Merge pull request #3581 from ZyX-I/fix-shadaFelipe Morales2015-11-23
|\ \ \ | | | | | | | | Store last search direction when writing ShaDa files
| * | | shada: Also store last search directionZyX2015-11-23
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: it looks like viminfo files do not store search direction intentionally. After reading viminfo file search direction was considered to be “forward”. Note 2: all files created on earlier Neovim version will automatically receive “forward” direction. Fixes #3580
* | | test/functional: clean up according to luacheck (part 2)Marco Hinz2015-11-23
| | |
* | | test/functional: clean up according to luacheck (part 1)Marco Hinz2015-11-23
| | |
* | | Reorganize focus events test into individual testsJoe Hermaszewski2015-11-23
| | | | | | | | | | | | | | | The focus event tests now live in their own `describe` block with each test testing the handling of focus events in a single mode.
* | | Enable focus events in cmdline and terminal modesJoe Hermaszewski2015-11-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | This change adds switch cases for K_FOCUSGAINED and K_FOCUSLOST to the input handling functions in ex_getln.c and terminal.c. The handling is identical to what's found in edit.c (just calling apply_autocmds). If one enters cmdline-mode by feeding `:` and sends a focuslost event (by leaving the window for example) the text `<FocusLost>` will be inserted into the command line. There is similar behaviour in terminal mode. This patch corrects this behavior to fire the apropriate autocmd instead. Fixes #3714
* | Merge pull request #3270 from ZyX-I/shada-supportFelipe Morales2015-11-23
|\ \ | |/ |/| Add plugin for editing ShaDa files
| * runtime: Add shada.vim syntax fileZyX2015-11-01
| |
| * runtime: Add [ft]plugin/shada.vim files that automatically open .shadaZyX2015-11-01
| |
| * runtime: Add autoload/shada.vim helper fileZyX2015-11-01
| | | | | | | | Contains most of the logic
| * functests: Do not run some tests if there is no -NaNZyX2015-11-01
| |
| * runtime: Add autoload/msgpack.vim helper fileZyX2015-11-01
| |
* | Add tests for focus eventsJoe Hermaszewski2015-11-17
| |
* | Workaround the unstable ordering of v:oldfiles in some more tests.John Szakmeister2015-11-16
| | | | | | | | | | | | Fixes #3676. Reviewed-by: Marco Hinz <mh.codebro@gmail.com>
* | Test: add functional/autocmd/termclose_spec.luaMarco Hinz2015-11-15
| |
* | Add TermClose eventMarco Hinz2015-11-15
| | | | | | | | | | | | | | | | A terminal buffer now exits with: [Process exited <return value>] You can hook into it. E.g. :au TermClose * call feedkeys('<cr>') Closes #2293.
* | Test: improve functional/ex_cmds/oldfiles_spec.luaMarco Hinz2015-11-11
| | | | | | | | | | | | | | | | | | | | - change approach for test 1: screen:expect() instead of assert() - use execute() instead of command() - 2 new tests that check none and wrong input for :oldfiles! Helped-by: @fwalch Helped-by: @tarruda Helper-by: @justinmk
* | Add tests for :oldfilesMarco Hinz2015-11-10
| |
* | Add test/functional/ex_cmds/profile_spec.luaMarco Hinz2015-11-10
| | | | | | | | | | | | | | This adds two new tests for: :profile dump :profile stop
* | eval: Implement dictionary change notificationsThiago de Arruda2015-11-09
| |
* | Merge pull request #3616 from jszakmeister/sort-results-shada-testJohn Szakmeister2015-11-06
|\ \ | | | | | | Sort oldfiles in the marks_spec tests to avoid random ordering errors.
| * | Sort oldfiles in the marks_spec tests to avoid random ordering errors.John Szakmeister2015-11-06
| | | | | | | | | | | | | | | According to @ZyX-I in #3594, ordering is not important so let's use @tarruda's fix by sorting the results.
* | | undo: Remove incorrect NONNULL_ALL attributeZyX2015-11-05
|/ / | | | | Fixes #3605
* / Ensure a session is running before attempting to do Python detection.John Szakmeister2015-11-04
|/
* tui: Fix abort when stdout and stderr are not tty.Thiago de Arruda2015-10-29
| | | | | The abort came from using libuv tty handle on non-tty fd. Use uv_pipe_t in these cases. Also add simple test for this case.
* input: Remove CURSORHOLD keyThiago de Arruda2015-10-26
| | | | | | | | | | | Refactor input.c, normal.c and edit.c to use the K_EVENT special key to trigger the CURSORHOLD event. In normal and edit mode, K_EVENT is treated as K_CURSORHOLD, which enables better handling of arbitrary actions in those states(eg: In normal mode the previous operator counts will be restored). Also fix a test in vim_spec.lua. The test had a wrong assumption: cmdheight is only used to determine when the press enter screen will be shown, not to limit how many lines or control pagination.
* test: Add more TUI tests and increase timeoutThiago de Arruda2015-10-26
|
* vim-patch:7.4.849Justin M. Keyes2015-10-26
| | | | | | | | | | Problem: Moving the cursor in Insert mode starts new undo sequence. Solution: Add CTRL-G U to keep the undo sequence for the following cursor movement command. (Christian Brabandt) https://github.com/vim/vim/commit/8b5f65a527c353b9942e362e719687c3a7592309 Closes #3492
* Merge pull request #3470 from ZyX-I/pr-3198Justin M. Keyes2015-10-25
|\ | | | | XDG base directory specification support
| * functests: Fix testsZyX2015-10-23
| |