aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* test: sys/fcntl.h -> fcntl.hMichael Reed2016-01-14
| | | | | | | | | POSIX.1-2008[1] says that the latter should be used, and all of our supported platforms would seem to support this scheme, apparently even Windows[2]. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html [2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
* vim-patch:7.4.614watiko2016-01-14
| | | | | | | Problem: There is no test for what patch 7.4.601 fixes. Solution: Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/d7ce7a9ad2d9311f7ec3368eeddec8fce6d8e890
* terminal: less babysitting of mapped_ctrl_cJustin M. Keyes2016-01-13
| | | | | process_interrupts() checks get_real_state() so we can avoid some housekeeping of mapped_ctrl_c in terminal-mode.
* vim-patch:7.4.569/573Shougo Matsushita2016-01-13
| | | | | | | | | | | | | | | | | vim-patch:7.4.569 vim-patch:7.4.573 Helped-by: @glts https://github.com/neovim/neovim/pull/2621 Problem: Having CTRL-C interrupt or not does not check the mode of the mapping. (Ingo Karkat) Solution: Use a bitmask with the map mode. (Christian Brabandt) https://github.com/vim/vim/commit/651863c94a882a97aec7968fc87a638ff78e56ff Problem: Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat) Solution: Call get_real_state() instead of using State directly. https://github.com/vim/vim/commit/5000869712f799d9ca25c0e45dc21d332edae5f4
* Merge pull request #3982 from justinmk/nohighbitJustin M. Keyes2016-01-11
|\ | | | | input: Do not set high-bit. Preserve META modifier.
| * input: Do not set high-bit; preserve ALT modifier.Justin M. Keyes2016-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Background: Vim internally prefers to represent ALT/META chords as single-byte keys, by setting the high bit of the key byte. extract_modifiers() _discards_ the meta/alt modifier, but we need it for libvterm and libtermkey. Closes #2440 Closes #3727 Closes #2017 References #2277 References #2254 https://github.com/neovim/neovim/issues/2017#issuecomment-140423557 > We [not libtermkey] are setting the high bit for some reason https://github.com/neovim/neovim/issues/176#issuecomment-77834715 > libvtermkey requires the leading esc to parse alt/meta https://github.com/neovim/neovim/pull/3246#issuecomment-136328450 > A program could do better than the current logic on some terminals, by > asking for pure 8bit mode (S8C1T) and then immediately querying the > mode again. If the result comes back as an 8bit single-byte CSI, then > it can presume the mode setting was successful, and now the ESC prefix > byte won't be seen in multibyte sequences; only as an Alt- prefix or > a real Escape key. On such a terminal, it could therefore avoid > needing to use that waiting timeout.
* | shell: Unquote &shell* options before using themZyX2016-01-11
|/
* portability: use portable format specifierJustin M. Keyes2016-01-10
|
* tests: Make helper.source() return tempname.watiko2016-01-10
|
* tests: Fix OSX's tempname issue.watiko2016-01-10
|
* tests: Rename 100_undo_level to 100_lispwords.watiko2016-01-10
|
* tests: Migrate legacy test undolevels.watiko2016-01-10
|
* tests: Migrate legacy test assert.watiko2016-01-10
|
* eval: Do not use msgpack#string for error messagesZyX2016-01-07
|
* functests: Update testsZyX2016-01-07
|
* encoding: update testsBjörn Linse2016-01-02
|
* test: change CI_TARGET reference to CIJustin M. Keyes2016-01-01
| | | | | | | | Travis defines[1] $CI for its builds, whereas $CI_TARGET is a Neovim-specific env var from 6483a198e4bee1e80683ba12e061616c3e6c4090 that lost prominence in d2eb4a934683b5da63000d8b79a0d4c9a314d1c0. [1] https://docs.travis-ci.com/user/environment-variables/
* 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
* | | Use libuv errors instead of errno in unit testsRui Abreu Ferreira2015-11-25
| | | | | | | | | | | | | | | | | | | | | | | | Replaced old unit tests for errno with libuv error codes UV_ENOENT and UV_EEXIST (for os_open and os_getperms). Added libuv include path to test/includes compiler calls - needed to get hold of libuv headers.
* | | 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
| | |
* | | test/unit: clean up according to luacheckMarco Hinz2015-11-23
| | |
* | | test/benchmark: clean up according to luacheckMarco Hinz2015-11-23
| | |
* | | Tests: add luacheck for linting testsMarco Hinz2015-11-23
| | | | | | | | | | | | | | | | | | | | | Source: https://github.com/mpeterv/luacheck Docs: http://luacheck.readthedocs.org/en/0.12.0/index.html Run via "make testlint".
* | | 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
| |