aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
* vim-patch:8.0.0533: abbreviation doesn't work after backspacing newlineJan Edmund Lazo2018-06-08
| | | | | | Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk) Solution: Set the insert start column. (closes vim/vim#1609) https://github.com/vim/vim/commit/878c263a489b7e211eda31fa13a3d5ad9e120554
* vim-patch:8.0.0525: completion for user command argument not tested (#8506)Jan Edmund Lazo2018-06-09
| | | | | Solution: Completion for user command argument not tested. Problem: Add a test. https://github.com/vim/vim/commit/a33ddbbd04ca9b81cba6114708f42b8e26293b99
* Merge #8498 from janlazo/vim-8.0.0523Justin M. Keyes2018-06-08
|\
| * vim-patch:8.0.0523: dv} deletes part of a multi-byte character.Jan Edmund Lazo2018-06-07
| | | | | | | | | | | | Problem: dv} deletes part of a multi-byte character. (Urtica Dioica) Solution: Include the whole character. https://github.com/vim/vim/commit/bf3d58073f7b34b2d65d1d08a728d1164e03cceb
* | vim-patch:8.0.0355: using uninitialized memory when 'isfname' is empty (#8493)Jan Edmund Lazo2018-06-08
| | | | | | | | | | | | Problem: Using uninitialized memory when 'isfname' is empty. Solution: Don't call getpwnam() without an argument. (Dominique Pelle, closes vim/vim#1464) https://github.com/vim/vim/commit/187a4f28140f10ff833862be7e3ef823d317e1c7
* | vim-patch:8.0.0586: no test for mapping timing out (#8501)Jan Edmund Lazo2018-06-08
|/ | | | | Problem: No test for mapping timing out. Solution: Add a test. https://github.com/vim/vim/commit/b7637c44c26b057d1f3721d932bbab06d9f74393
* Merge #8491 from janlazo/vim-8.0.0255Justin M. Keyes2018-06-07
|\
| * vim-patch:8.0.0255: setpos() does not use the buffer argument for all marksJan Edmund Lazo2018-06-06
| | | | | | | | | | | | | | | | Problem: When calling setpos() with a buffer argument it often is ignored. (Matthew Malcomson) Solution: Make the buffer argument work for all marks local to a buffer. (neovim vim/vim#5713) Add more tests. https://github.com/vim/vim/commit/f13e00b2cf381e13fd327b5387a5bd6f004ac2a3
* | vim-patch:8.0.0265: ml_get error when :pydo deletes lines (#8492)Jan Edmund Lazo2018-06-07
|/ | | | | | | | Problem: May get ml_get error when :pydo deletes lines or switches to another buffer. (Nikolai Pavlov, issue vim/vim#1421) Solution: Check the buffer and line every time. https://github.com/vim/vim/commit/a58883b4ea0bbb813fd4dd7eb49dd6f03e3e5387 (We only include the tests, the Vim code changes are N/A for Nvim.)
* vim-patch:8.0.0675: 'colorcolumn' has a higher priority than 'hlsearch' (#8483)Jan Edmund Lazo2018-06-05
| | | | | | Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be the other way around. (Nazri Ramliy) Solution: Change the priorities. (LemonBoy, closes vim/vim#1794) https://github.com/vim/vim/commit/774e5a9673260b1b8b88463669213a96637f72e8
* Merge #8479 from janlazo/vim-8.0.0529Justin M. Keyes2018-06-05
|\
| * vim-patch:8.0.0623: error for invalid regexp is not very informativeJan Edmund Lazo2018-06-04
| | | | | | | | | | | | Problem: The message "Invalid range" is used for multiple errors. Solution: Add two more specific error messages. (Itchyny, Ken Hamada) https://github.com/vim/vim/commit/966e58e413ffa88af8d748e697aa2999571fcd7b
| * vim-patch:8.0.0529: line in test commented outJan Edmund Lazo2018-06-04
| | | | | | | | | | | | | | Problem: Line in test commented out. Solution: Uncomment the lines for character classes that were failing before 8.0.0519. (Dominique Pelle, closes vim/vim#1599) https://github.com/vim/vim/commit/13489b9c41922b9ecb16fa47564ec76641515c08
* | vim-patch:8.0.0851: 'smartindent' is used even when 'indentexpr' is set (#8481)Jan Edmund Lazo2018-06-05
|/ | | | | | | | | | Problem: 'smartindent' is used even when 'indentexpr' is set. Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi) https://github.com/vim/vim/commit/69a76feda9e9d308be6b5fc2185286a061dfecd6 --- This also fixes "delfunction!" which was not merged fully in a185ab70fd2eb8d55 (vim-patch:8.0.0655)
* vim-patches: 8.0.0399 8.0.0401 (#8475)Justin M. Keyes2018-06-04
| | | | | | | | | | | | | | vim-patch:8.0.0399: crash when using balloon_show() when not supported Problem: Crash when using balloon_show() when not supported. (Hirohito Higashi) Solution: Check for balloonEval not to be NULL. (Ken Takata) https://github.com/vim/vim/commit/caf6434ac937cf26050276d7b474be2d2d6a06b3 vim-patch:8.0.0401: test fails with missing balloon feature Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature. https://github.com/vim/vim/commit/a0107bdf8762d81cb49909ef02ffff9954092fb6 vim-patch:8.0.0414: balloon eval is not tested
* vim-patch:8.0.1237: ":set scroll&" often gives an error (#8473)Jan Edmund Lazo2018-06-04
| | | | | | | Problem: ":set scroll&" often gives an error. Solution: Don't use a fixed default value, use half the window height. Add a test. (Ozaki Kiichi, closes vim/vim#2104) https://github.com/vim/vim/commit/af2d20c6285c1d2973e3d9b5e8f727e3ed180493
* Merge #8467 'vim-patches'Justin M. Keyes2018-06-03
|\
| * oldtests: comment out highlight group assertionsJan Edmund Lazo2018-06-03
| | | | | | | | | | nvim always defines default highlight groups so hlexists() returns 1. This happens even with `-u NONE --cmd`.
| * oldtests: comment out v:none assertionsJan Edmund Lazo2018-06-03
| | | | | | | | nvim does not support v:none for json_encode() and json_decode().
| * vim-patch:8.0.1311: no test for strpart()Jan Edmund Lazo2018-06-02
| | | | | | | | | | | | Problem: No test for strpart(). Solution: Add a test. (Dominique Pelle, closes vim/vim#2347) https://github.com/vim/vim/commit/c7d16dce2f180c8ebfc8105ad090b0ea2deedcdc
| * vim-patch:8.0.0435: some functions are not testedJan Edmund Lazo2018-06-02
| | | | | | | | | | | | Problem: Some functions are not tested. Solution: Add more tests for functions. (Dominique Pelle, closes vim/vim#1541) https://github.com/vim/vim/commit/41042f3cfdb91f946e553456278a995e61dd8578
| * vim-patch:8.0.0261: not enough test coverage for eval functionsJan Edmund Lazo2018-06-02
| | | | | | | | | | | | Problem: Not enough test coverage for eval functions. Solution: Add more tests. (Dominique Pelle, closes vim/vim#1420) https://github.com/vim/vim/commit/24c2e48ef8b8b9053fa18039e6f6118337f908f8
* | Merge #8465 'vim-patch:8.0.0558,8.0.0562'Justin M. Keyes2018-06-03
|\ \ | |/ |/|
| * vim-patch:8.0.0562: not enough test coverage for syntax commandsJan Edmund Lazo2018-06-02
| | | | | | | | | | | | Problem: Not enough test coverage for syntax commands. Solution: Add a few more tests. (Dominique Pelle, closes vim/vim#1624) https://github.com/vim/vim/commit/ea588154d00aec288e48b344b2685e46bea99cd6
| * oldtests: add conceal check for patch 8.0.0562Jan Edmund Lazo2018-06-02
| |
| * vim-patch:8.0.0558: :ownsyntax is not testedJan Edmund Lazo2018-06-01
|/ | | | | | Problem: The :ownsyntax command is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#1622) https://github.com/vim/vim/commit/f8ec998613d8037e345f4e7e08460dfc15c528a9
* vim-patch:8.0.0519: character classes not well tested (#8460)KunMing Xie2018-06-01
| | | | | | | | | Problem: Character classes are not well tested. They can differ between platforms. Solution: Add tests. In the documentation make clear which classes depend on what library function. Only use :cntrl: and :graph: for ASCII. (Kazunobu Kuriyama, Dominique Pelle, closes vim/vim#1560) Update the documentation. https://github.com/vim/vim/commit/0c078fc7db2902d4ccba04506db082ddbef45a8c
* vim-patch:8.0.0516 (#8458)KunMing Xie2018-06-01
| | | | | | Problem: A large count on a normal command causes trouble. (Dominique Pelle) Solution: Make "opcount" long. https://github.com/vim/vim/commit/b1e04fca3704e272a30afbe062498819eaacd4f9
* Merge #8451 from ckelsel/vim-8.0.0507Justin M. Keyes2018-05-30
|\
| * vim-patch:8.0.0511: message for skipping client-server tests is unclearckelsel2018-05-30
| | | | | | | | | | | | | | Problem: Menuage for skipping client-server tests is unclear. Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu Kuriyama) https://github.com/vim/vim/commit/a683ec44c34f0717dcc6a0c03493ba39b879ac38
| * vim-patch:8.0.0507: client-server tests fail when $DISPLAY is not setckelsel2018-05-30
| | | | | | | | | | | | Problem: Client-server tests fail when $DISPLAY is not set. Solution: Check for E240 before running the test. https://github.com/vim/vim/commit/a2845b8f5a3058c8c89699771ffd4d69513b097d
* | vim-patch:8.0.0515: ml_get errors in silent Ex mode (#8452)KunMing Xie2018-05-30
|/ | | | | | Problem: ml_get errors in silent Ex mode. (Dominique Pelle) Solution: Clear valid flags when setting the cursor. Set the topline when not in full screen mode. https://github.com/vim/vim/commit/d5d37537d1fa46fd468bd378af2006dd09840f38
* vim-patch:8.0.0496: insufficient testing for folding (#8438)KunMing Xie2018-05-26
| | | | | Problem: Insufficient testing for folding. Solution: Add a couple more fold tests. (Dominique Pelle, closes vim/vim#1579) https://github.com/vim/vim/commit/518c9b133baed4b1a555d7be0ece1b48bb234b1d
* test/old: fix test filenameJustin M. Keyes2018-05-20
|
* Merge #8417 'vim-patch: 8.0.0489, 8.0.0491, 8.0.0495, 8.0.0500'Justin M. Keyes2018-05-20
|\
| * vim-patch:8.0.0500: quotestar test is still a bit flakylonerover2018-05-20
| | | | | | | | | | | | Problem: Quotestar test is still a bit flaky. Solution: Add a slower check for v:version. https://github.com/vim/vim/commit/4889ad7c6cd46368f553cc1140ca17508e8beaaa
| * vim-patch:8.0.0495: quotestar test uses timer instead of timeoutlonerover2018-05-20
| | | | | | | | | | | | | | Problem: The quotestar test uses a timer instead of a timeout, thus it cannot be rerun like a flaky test. Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama) https://github.com/vim/vim/commit/f5610da7a8a5908e747d1ae39dbed1408bbd2644
| * vim-patch:8.0.0491: quotestar test fails when features are missinglonerover2018-05-20
| | | | | | | | | | | | Problem: The quotestar test fails when a required feature is missing. Solution: Prepend "Skipped" to the thrown exception. https://github.com/vim/vim/commit/bfd830d3e2dbd1e9b14c65625f18773074e6ac67
| * 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).