aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
| * vim-patch:8.0.0489: clipboard and "* register is not testedlonerover2018-05-20
|/ | | | | | Problem: Clipboard and "* register is not tested. Solution: Add a test for Mac and X11. (Kazunobu Kuriyama) https://github.com/vim/vim/commit/7dd4850698e37c3ed4a3c3b23f4cdbf1ae6542f8
* vim-patch:8.0.0559: setting ttytype to xxx does not always failJustin M. Keyes2018-05-19
| | | | | | | Problem: Setting ttytype to xxx does not always fail as expected. (Marvin Schmidt) Solution: Catch both possible errors. (closes vim/vim#1601) https://github.com/vim/vim/commit/f803a7697808f63949ea26fc256d4c9a8647089e
* vim-patch:8.0.0342: double free with EXITFREE and setting 'ttytype'Justin M. Keyes2018-05-19
| | | | | | | Problem: Double free when compiled with EXITFREE and setting 'ttytype'. Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle, closes vim/vim#1461) https://github.com/vim/vim/commit/673911457d6745b6b779eb769c2f41965592d12c
* vim-patch:8.0.0304: assign test fails in the GUIJustin M. Keyes2018-05-19
| | | | | | | | Problem: Assign test fails in the GUI. Solution: Skip the test for setting t_k1. https://github.com/vim/vim/commit/1fb0d49803b4f57025ed6a43b1f5b9eb91524645 vim-patch:8.0.0354
* test/old: remove `abort` from test declarationJustin M. Keyes2018-05-19
| | | | | No idea why this was added, it isn't in the Vim patch. The Vim (oldtest) test-runner doesn't work with `Test_` functions marked as `abort`.
* Merge #8377 'TextChangedP autocommand'Justin M. Keyes2018-05-19
|\
| * Merge #8377 'TextChangedP autocommand'Justin M. Keyes2018-05-19
| |\
| | * vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible popup menuShougo Matsushita2018-05-14
| |/ | | | | | | | | | | | | | | | | | | Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes vim/vim#2372, closes vim/vim#1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script. https://github.com/vim/vim/commit/5a093437199001a0d60d8e18e2b9539b99a7757c
* / vim-patch:8.0.0497: arabic support is not fully tested (#8404)nthanben2018-05-19
|/ | | | | | Problem: Arabic support is not fully tested. Solution: Add more tests for the untested functions. Comment out unreachable code. vim/vim@3ff2f09
* Merge #4486 'refactor: Remove maxmem, maxmemtot options'Justin M. Keyes2018-05-02
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After this change we never release blocks from memory (in practice it never happened because the memory limits are never reached). Let the OS take care of that. --- On today's systems the 'maxmem' and 'maxmemtot' values are huge (4+ GB) so the limits are never reached in practice, but Vim wastes a lot of time checking if the limit was reached. If the limit is reached Vim starts saving pieces of the swap file that were in memory to the disk. Said in a different way: Vim implements its own memory-paging mechanism. This is unnecessary and inefficient since the operating system already has virtual memory and will swap to the disk if programs start using too much memory. This change does... 1. Reduce the number of config options and need for documentation. 2. Make the code more efficient as we don't have to keep track of memory usage nor check if the memory limits were reached to start swapping to disk every time we need memory for buffers. 3. Simplify the code. Once memfile.c is simple enough it could be replaced by actual operating system memory mapping (mmap, MemoryViewOfFile...). This change does not prevent Vim to recover changes from swap files since the swapping code is never triggered with the huge limits set by default.
* | oldtests: win: skip test49Jan Edmund Lazo2018-04-12
| | | | | | | | | | Vim doesn't test it on Windows. See https://github.com/vim/vim/blob/master/src/testdir/Make_all.mak
* | oldtests: win: keep set dir=/Jan Edmund Lazo2018-04-12
| | | | | | | | | | | | | | Any user can create a directory on root. Creating a directory on root allows any user to write files within that directory. Test_recover_root_dir() passes when run locally as a regular user (not admin).
* | win: getftype(symlink) returns 'link'Jan Edmund Lazo2018-04-12
| | | | | | | | Vim doesn't detect symlinks correctly so stick with Neovim's behaviour.
* | oldtests: check +iconv for makeencodingJan Edmund Lazo2018-04-12
| | | | | | | | | | MSVC builds don't include it. Test utf8 and latin only if +iconv is missing.
* | oldtests: win: help sp?it opens split()Jan Edmund Lazo2018-04-12
| | | | | | | | Vim 8 and Neovim 0.2.3 open the same target on Windows.
* | oldtests: win: shellslash for cdpath,tags,:findJan Edmund Lazo2018-04-12
| |
* | oldtests: win: cmd.exe echo has trailing CRJan Edmund Lazo2018-04-12
| |
* | oldtests: use expand() to fix pathsepJan Edmund Lazo2018-04-12
| | | | | | | | Fix failing oldtests because of noshellslash.
* | oldtests: newstyle: win: reset shell to cmd.exeJan Edmund Lazo2018-04-12
| | | | | | | | | | | | | | | | Unset $SHELL so that child nvim use cmd.exe as default shell. Unset $TERM so that child nvim don't segfault with negative exit code. sh/bash use TERM=cygwin by default if it is unset. mintty sets TERM to xterm.
* | timer_pause: stop the timer resource (#8199)Utkarsh Maheshwari2018-03-30
| | | | | | | | | | If the timer isn't stopped, it still emits events which consume some CPU. Fix #8188
* | vim-patch:8.0.0417: test for the clipboard fails sometimes (#8174)KunMing Xie2018-03-25
| | | | | | | | | | Problem: Test for the clipboard fails sometimes. Solution: Add it to the flaky tests. https://github.com/vim/vim/commit/0fbff646d5beb1f48c9be3d0ce0339be90fd49f5
* | vim-patches: test_system.vimJustin M. Keyes2018-03-24
| | | | | | | | | | | | vim-patch:8.0.0185: system() test fails on MS-Windows vim-patch:8.0.0197: system() test skips some parts for MS-Windows vim-patch:8.0.0701: system test failing when using X11 forwarding
* | vim-patch:8.0.0184: fix ex-mode exit code #7943sohnryang2018-03-24
| | | | | | | | | | | | | | | | | | Problem: When in Ex mode and an error is caught by try-catch, Vim still exits with a non-zero exit code. Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian Brabandt) https://github.com/vim/vim/commit/2b7bc567b9238aaac682236cb4f727d0376e1302
* | vim-patch:8.0.0357: crash when setting 'guicursor' to weird value (#8161)KunMing Xie2018-03-22
| | | | | | | | | | Problem: Crash when setting 'guicursor' to weird value. Solution: Avoid negative size. (Dominique Pelle, closes vim/vim#1465) https://github.com/vim/vim/commit/24922ec23360e7ea7c5a803c9edf476bb6395b32
* | Merge #8147 'Run old tests in :terminal'Justin M. Keyes2018-03-21
|\ \
| * | oldtests: Make test output least verboseZyX2018-03-21
| | | | | | | | | | | | Also removes `-` before `rm -rf` as `-f` is supposed to already suppress error.
| * | oldtests: Run old tests in :terminalZyX2018-03-18
|/ / | | | | | | | | | | | | | | | | | | | | Reasoning: - No need to check for terminal size. - No need to mess with terminal title. - Allows old tests to timeout with the rest of the build proceeding. - Less and less messy output to travis log. - Opens a path allowing old tests run in parallel. Though last bit needs test refactoring.
* | vim-patch:8.0.0344: unlet command leaks memory (#8141)KunMing Xie2018-03-17
| | | | | | | | | | Problem: Unlet command leaks memory. (Nikolai Pavlov) Solution: Free the memory on error. (closes vim/vim#1497) https://github.com/vim/vim/commit/49439c4cdf7d2822255f292adda4226656fe144d
* | vim-patch:8.0.0262,8.0.0263 (#8123)KunMing Xie2018-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0262: Farsi support is barely tested Problem: Farsi support is barely tested. Solution: Add more tests for Farsi. Clean up the code. https://github.com/vim/vim/commit/ddf662a1c86ef0b4bd0c55c5f0aa192ebd6d9a5e vim-patch:8.0.0263: Farsi support is not tested enough Problem: Farsi support is not tested enough. Solution: Add more tests for Farsi. Clean up the code. https://github.com/vim/vim/commit/80627cf51fd4274320875193a43ce11cee58c96e
* | vim-patch:8.0.0513: fix getting name of cleared highlight group (#8103)KunMing Xie2018-03-08
| | | | | | | | | | | | | | Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski) Solution: Only skip over cleared names for completion. (closes vim/vim#1592) Also fix that a cleared group causes duplicate completions. https://github.com/vim/vim/commit/c96272e30e2b81e5e0c8418f09d9db4e2fcd5d73
* | vim-patch:8.0.0220: highlight completion misses some values #8013ckelsel2018-03-04
| | | | | | | | | | | | | | | | Problem: Completion for :match does not show "none" and other missing highlight names. Solution: Skip over cleared entries before checking the index to be at the end. https://github.com/vim/vim/commit/15eedf1d621d980cb40f50cc6a78a09ab94388c7
* | vim-patch:8.0.0234,8.0.0236,8.0.0225 (#8052)KunMing Xie2018-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0234: crash when using put in Visual mode Problem: When several lines are visually selected and one of them is short, using put may cause a crash. (Axel Bender) Solution: Check for a short line. (Christian Brabandt) https://github.com/vim/vim/commit/941c12da3c087fd04aa6c120a76bf28f19349d96 vim-patch:8.0.0236: gcc complains about uninitialized variable Problem: Gcc complains that a variable may be used uninitialized. Confusion between variable and label name. (John Marriott) Solution: Initialize it. Rename end to end_lnum. https://github.com/vim/vim/commit/6a717f17ec6b09634be1c29e0ac4c35213f7b32d vim-patch:8.0.0225: put in Visual block mode terminates early Problem: When a block is visually selected and put is used on the end of the selection only one line is changed. Solution: Check for the end properly. (Christian Brabandt, neovim issue 5781) https://github.com/vim/vim/commit/9957a10d0f0c34d8083af6ed66e198e4796038e0
* | 'fillchars': fix defaults logic; handle ambiwidth=double #7986Matthieu Coudron2018-02-23
| | | | | | | | Update tests.
* | vim-patch:8.0.0225: put in Visual block mode terminates early (#8040)UTkarsh Maheshwari2018-02-21
| | | | | | | | | | | | | | Problem: When a block is visually selected and put is used on the end of the selection only one line is changed. Solution: Check for the end properly. (Christian Brabandt, neovim issue 5781) https://github.com/vim/vim/commit/9957a10d0f0c34d8083af6ed66e198e4796038e0
* | vim-patch:8.0.0222: blockwise put on multi-byte char (#8030)KunMing Xie2018-02-20
| | | | | | | | | | | | | | | | | | Note: code change was covered by c2a18216114bae75b6d6a2c7f1a68db04578abce Problem: When a multi-byte character ends in a zero byte, putting blockwise text puts it before the character instead of after it. Solution: Use int instead of char for the character under the cursor. (Luchr, closes vim/vim#1403) Add a test. https://github.com/vim/vim/commit/c81299684b2b9045e56525d3da3f45e8440fbf0d
* | vim-patch:8.0.1493: completion items cannot be annotated (#8003)Shougo2018-02-18
| | | | | | | | | | | | | | Problem: Completion items cannot be annotated. Solution: Add a "user_data" entry to the completion item. (Ben Jackson, coses vim/vim#2608, closes vim/vim#2508) https://github.com/vim/vim/commit/9b56a57cdae31f7a2c85d440392bf63d3253a158
* | vim-patch:8.0.0323: one second pause when running cmdline test (#8015)Danish Prakash2018-02-16
| | | | | | | | | | | | Problem: When running the command line tests there is a one second wait. Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/31eb139b8877439d06db0ca57692dfe35fec3f0c
* | Merge #8001 from justinmk/vimpatchesJustin M. Keyes2018-02-12
|\ \
| * | vim-patch:8.0.1271: still too many old style testsJustin M. Keyes2018-02-12
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2290) https://github.com/vim/vim/commit/fb094e14c19337de824d4e6710ca6a2617930ab0
| * | test/old: skip encoding=latin1 testJustin M. Keyes2018-02-11
| | |
| * | vim-patch:8.0.1302: still too many old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2326) https://github.com/vim/vim/commit/209d3874c19d73b209e7d223cf05ea22e183f408
| * | vim-patch:8.0.1205: it is possible to unload a changed bufferJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe) Solution: Check the right window for changes. https://github.com/vim/vim/commit/ff930cad8a9100eeb04256aab1a14de993c1d7e9
| * | vim-patch:8.0.1226: edit and popup tests failingJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Edit and popup tests failing. Solution: Make the tests pass. https://github.com/vim/vim/commit/2a45d64d0a7ab28d77eee277244e76dbbf8c2db8
| * | vim-patch:8.0.1333: some tests are run twiceJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Some tests are run twice. Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan Lakshmanan, closes vim/vim#2369) https://github.com/vim/vim/commit/2c997d76034d5294c92305108357daef6feabd95
| * | vim-patch:8.0.0311: linebreak tests are old styleJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Linebreak tests are old style. Solution: Turn the tests into new style. Share utility functions. (Ozaki Kiichi, closes vim/vim#1444) https://github.com/vim/vim/commit/544d3bc9f0e494cb712a33b61558b8e8e12b1e0b
| * | vim-patch:26a280c47a1cJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | Fix duplication of patch. https://github.com/vim/vim/commit/26a280c47a1c6e32cdced79032dc495c60710d0d
| * | vim-patch:8.0.0699: checksum tests are not actually runJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Checksum tests are not actually run. Solution: Add the tests to the list. (Dominique Pelle, closes vim/vim#1819) https://github.com/vim/vim/commit/710b4a16465fb38492801a0dccf2293397aadc6a
| * | vim-patch:8.0.0684: old style tests are not niceJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Old style tests are not nice. Solution: Turn two tests into new style. (pschuh, closes vim/vim#1797) https://github.com/vim/vim/commit/28b238225ae618f63cfe5d3d723120960a941da7
| * | vim-patch:8.0.0446: the ";" command does not work after some charactersJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The ";" command does not work after characters with a lower byte that is NUL. Solution: Properly check for not having a previous character. (Hirohito Higashi) https://github.com/vim/vim/commit/454709baffd3205bf2b7d2519419675a122f2bd2
| * | test/old: restore test_alot_utf8.vimJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for later Vim patches. Stub test_alot_latin.vim to avoid merge-conflict noise. vim-patch:7.4.1700 vim-patch:7.4.1734 vim-patch:7.4.1740 vim-patch:7.4.2086 vim-patch:7.4.2223 vim-patch:8.0.0250