aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | | | Merge pull request #4588 from KillTheMule/vim-patch-1285Justin M. Keyes2016-05-10
|\ \ \ \ | | | | | | | | | | vim-patch: 7.4.1285
| * | | | vim-patch:cb00f03KillTheMule2016-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing test file. https://github.com/vim/vim/commit/cb00f039332d3188931035e9d07144546fdea78a Converted to a lua test. Change the tolerance of the test to avoid false positives on travis.
* | | | | Merge pull request #4720 from jbradaric/vim-7.4.1042Justin M. Keyes2016-05-10
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.1042
| * | | | | vim-patch:7.4.1042Jurica Bradaric2016-05-08
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: g-CTRL-G shows the word count, but there is no way to get the word count in a script. Solution: Add the wordcount() function. (Christian Brabandt) https://github.com/vim/vim/commit/ed767a2073ef150971b0439a58e7ee582af6984e
* | | | | test/functional: clear the temp directory before each tempfile testJohn Szakmeister2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible that the first test encounters a temp directory with files in it, due to a previous test causing the first test to fail. Instead, let's clean up before and after the test to make sure the temp area is pristine before and after the test.
* | | | | test/functional: fix a dependency on the previous test suiteJohn Szakmeister2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While trying to debug an issue, I discovered that the tests for illegal arguments depended on the prior suite having run and started a session. Let's remove that unintentional dependency by starting our own session before each test.
* | | | | test/functional: prefix the cd command with silent to prevent hangingJohn Szakmeister2016-05-06
|/ / / / | | | | | | | | | | | | | | | | In longer directory paths, the test can hang waiting for the user to hit enter to continue. Let's use the silent prefix to avoid this.
* | | | Merge pull request #4654 from KillTheMule/testlintJustin M. Keyes2016-05-06
|\ \ \ \ | | | | | | | | | | Satisfy testlint.
| * | | | Satisfy testlint.KillTheMule2016-04-28
| | | | | | | | | | | | | | | | | | | | For that, make luatest ignore the preload.lua files.
* | | | | vim-patch:27a82e3James McCoy2016-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new file left out from patch 7.4.1034. https://github.com/vim/vim/commit/27a82e31ee9acedb6922093b2764f7f6860b0f91
* | | | | Merge pull request #4540 from KillTheMule/vim-patch-1236Justin M. Keyes2016-05-04
|\ \ \ \ \ | | | | | | | | | | | | vim-patch: 7.4.1236
| * | | | | vim-patch:7.4.1236pips.linux2016-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When "syntax manual" was used switching between buffers removes the highlighting. Solution: Set the syntax option without changing the value. (Anton Lindqvist) https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1 Patch applied cleanly to the nvim sources except for version.c.
* | | | | | Merge pull request #4644 from KillTheMule/vim-7.4.882Justin M. Keyes2016-05-04
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:7.4.882
| * | | | | | 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
| | | | | |