aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
| * | | | | | Even though the patch is not needed for neovim, add a test for the bugfixKillTheMule2016-04-29
| | | | | | |
* | | | | | | Add test for vim-patch 7.4.672KillTheMule2016-05-02
| | | | | | |
* | | | | | | vim-patch:7.4.672KillTheMule2016-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When completing a shell command, directories in the current directory are not listed. Solution: When "." is not in $PATH also look in the current directory for directories. https://github.com/vim/vim/commit/b5971141dff0c69355fd64196fcc0d0d071d4c82 Most of it applied manually.
* | | | | | | ex_getln: Do not crash with :append/:insert/:changeZyX2016-04-29
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change effectively disables history for lines inserted using this method. Not a big problem since it does not work for them in Vim in first place. Also solves a bug(?): ex_window() run while in :append mode opens search history in Vim for some reason. Now it opens empty cmdline window.
* / / / / / Remove old UNIX ifdef from buf_write()Rui Abreu Ferreira2016-04-28
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When backupcopy=auto buf_write assumes backupcopy=yes when the file is a hard/symbolic link. However this check was guarded by a UNIX ifdef. The check itself is portable and the guard can be removed. Added a couple tests to check the behaviour of bkc=auto and bkc=no with a symbolic link. Reported in #4525
* | | | | test: matchparen_spec.luaKillTheMule2016-04-27
| | | | | | | | | | | | | | | | | | | | Covers vim-patch 7.4.1296
* | | | | vim-patch:7.4.1006 #4605Michael Ennen2016-04-27
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The fix in patch 7.3.192 is not tested. Solution: Add a test, one for each regexp engine. (Elias Diem) https://github.com/vim/vim/commit/96c664af27ec9535f2c3cd9b889faad3e9460ad6 The patch was applied to 044_099_regexp_multibyte_magic_spec.lua as these two legacy tests (44 and 99) were merged together (and de-duplicated) in Neovim.
* | | | Merge pull request #4325 from watiko/vim-7.4.984Justin M. Keyes2016-04-25
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.{984,1093}
| * | | | tests: Migrate legacy test searchposwatiko2016-03-02
| | | | |
* | | | | Merge #4303 'vim-patch:7.4.{951,1143,1144}'.Justin M. Keyes2016-04-25
|\ \ \ \ \
| * | | | | tests: Migrate legacy test sortwatiko2016-03-02
| | | | | |
| * | | | | vim-patch:7.4.1143watiko2016-03-02
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can't sort on floating point numbers. Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f" flag to sort(). https://github.com/vim/vim/commit/f7edf40448a09e04eec3bd05e043f7fea93b07c9
* | | | | Merge pull request #4273 from watiko/vim-7.4.957Justin M. Keyes2016-04-25
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.{941,942,957}
| * | | | | tests: Migrate legacy test tagcasewatiko2016-03-06
| | | | | |
* | | | | | mouse: Implement horizontal scroll. #3450bambu2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Code from Vim source. - Removed the check for 'guioptions' - mouse_spec.lua: test <ScrollWheelLeft> and <ScrollWheelRight> - Move horizontal scroll logic to mouse.c - Remove 'gui_' from the function names - Renamed variables to be more specific (as opposed to generic p, w). - Marked some functions as `static`
* | | | | | test/unit: ensure event_init()Justin M. Keyes2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #4635 References #4630 References https://github.com/neovim/neovim/pull/4070#discussion_r50626558
* | | | | | test: shell_spec: rename variableJustin M. Keyes2016-04-24
| | | | | |
* | | | | | tests/ui: screen tests for completion popupmenuBjörn Linse2016-04-24
| | | | | |
* | | | | | Merge pull request #4367 from jbradaric/vim-7.4.1107Justin M. Keyes2016-04-22
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:7.4.{1107,1114,1116,1117,1120}
| * | | | | | delete_spec: Fix linter errors.Jurica Bradaric2016-04-20
| | | | | | |
| * | | | | | Merge tempfile.c back into fileio.cJurica Bradaric2016-04-20
| | | | | | |
| * | | | | | vim-patch:7.4.1120Jurica Bradaric2016-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: delete(x, 'rf') fails if a directory is empty. (Lcd) Solution: Ignore not finding matches in an empty directory. https://github.com/vim/vim/commit/336bd622c31e1805495c034e1a8cfadcc0bbabc7
| * | | | | | vim-patch:7.4.1114Jurica Bradaric2016-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: delete() does not work well with symbolic links. Solution: Recognize symbolik links. https://github.com/vim/vim/commit/43a34f9f74fdce462fa250baab620264c28b6165
| * | | | | | vim-patch:7.4.1107Jurica Bradaric2016-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim can create a directory but not delete it. Solution: Add an argument to delete() to make it possible to delete a directory, also recursively. https://github.com/vim/vim/commit/da440d21a6b94d7f525fa7be9b1417c78dd9aa4c
* | | | | | | Merge #3229 ':tcd'Justin M. Keyes2016-04-21
|\ \ \ \ \ \ \
| * | | | | | | tcd: doc, error messagesJustin M. Keyes2016-04-21
| | | | | | | |
| * | | | | | | Implement tab-local working directory feature.HiPhish2016-04-20
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New ex commands: 'tcd', 'tchdir' Changed Vimscript functions: 'haslocaldir', 'getcwd' The ex-commands ':tcd' and ':tchdir' are the tab-local equivalents of ':lcd' and ':lchdir'. There are no new Vimscript functions introduced, instead the functions 'haslocaldir' and 'getcwd' take in optional arguments. See the documentation for details Since there is now different levels of local directory a simple boolean at source level is no longer sufficient; a new enumeration type is used for the scope-level from now on. The documentation has been accommodated for these new commands and functional tests have been written to test the feature.
* / / / / / / eval: let getreg() return valid list for an undefined registerBjörn Linse2016-04-21
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.1755 this prevents a crash when the list is used in setreg() later
* | | | | | test: remote/define.vim: Add some spice.Justin M. Keyes2016-04-18
| | | | | |
* | | | | | test: formatCase Nelson2016-04-18
| | | | | |
* | | | | | test: remote/define.vim: rangeCase Nelson2016-04-18
| | | | | |
* | | | | | test: convert test_marks.in.Justin M. Keyes2016-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:35e7594 https://github.com/vim/vim/commit/35e7594dd429f7a8a06cefd61c3e8d48b9bd74e2 "Add missing test files from 7.4.634 to the repository." The discrepancy between the expected getpos() result of the old test [0, 15, 2, 0] and the converted test [0, 3, 2, 0] is just a matter of how the buffer is constructed: in the old Vim test the buffer has a bunch of junk at the top. The central purpose of the test is to verify that the getpost("'a") does *not* return [0, 0, 0, 0].
* | | | | | functests: Make json_functions_spec use new NIL where appropriateZyX2016-04-18
| | | | | |
* | | | | | eval/encode: Make sure that encoder can encode NULL variablesZyX2016-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds two undocumented v: variables: _null_list and _null_dict because I do not know a reproducible way to get such lists (though I think I heard about this) and dictionaries (do not remember hearing about them). NULL strings are obtained using $XXX_UNEXISTENT_VAR_XXX. Fixes crash in json_encode($XXX_UNEXISTENT_VAR_XXX). Other added tests worked fine before this commit.
* | | | | | functests: Replace \xXX escapes with \DDD in lua codeZyX2016-04-18
| | | | | |
* | | | | | eval/encode: Dump FF character correctlyZyX2016-04-18
| | | | | |
* | | | | | eval: Treat [] and [""] as any other empty stringZyX2016-04-18
| | | | | |
* | | | | | eval: Fix overflow in error message in f_json_decodeZyX2016-04-18
| | | | | |
* | | | | | documentation,functests: State that UTF-8-only support is intentionalZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Accept `\r` as space characterZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Do not overflow when parsing `-`ZyX2016-04-18
| | | | | | | | | | | | | | | | | | Also makes if’s less nested.
* | | | | | eval/decode: Reject even more numbersZyX2016-04-18
| | | | | | | | | | | | | | | | | | | | | | | | Rejects leading zeroes and numbers like 1.e+5 (decimal dot with missing number with signed exponent).
* | | | | | eval/decode: Reject more numbers, accept 1e5ZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Do not loose high surrogates followed by high surrogatesZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Make sure that error messages do not cause overflowZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Make sure that parsing strings does not overflowZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Make sure that blank input does not crash NeovimZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Make sure that U+00C3 is parsed correctlyZyX2016-04-18
| | | | | |
* | | | | | functests: Make sure that json functions are tested with C messagesZyX2016-04-18
| | | | | |
* | | | | | eval/decode: Avoid overflow when parsing incomplete null/true/falseZyX2016-04-18
| | | | | | | | | | | | | | | | | | | | | | | | Note: second test does not crash or produce asan errors, even though it should.