aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.2.2850: recalling commands from history is not testedJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Recalling commands from history is not tested. Solution: Add tests. (closes vim/vim#8194) https://github.com/vim/vim/commit/71c6f7a665eb467054fbf319989d97c252af28d2
* | vim-patch:8.2.2473: crash when leaving command line window triggers autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when leaving command line window triggers autocommand. (houyunsong) Solution: Make sure not to close the current window or buffer. https://github.com/vim/vim/commit/8c6951fa2836a1ae3257770e7b927a9380439912 N/A patches for version.c: vim-patch:8.2.2414: using freed memory when closing the cmdline window Problem: Using freed memory when closing the cmdline window. Solution: Check the window is still valid. https://github.com/vim/vim/commit/b7e2670b6a1de02c772af5097ba24f2a15b26eec
* | vim-patch:8.2.2433: opening cmdline window gives error in BufLeave autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Opening cmdline window gives error in BufLeave autocommand. Solution: Reset cmdwin_type when triggering the autocommand. https://github.com/vim/vim/commit/b63f3ca66db20f7b135aae706d36be538f91f8cc
* | vim-patch:8.2.2419: autocmd test was failing on MS-Windows with GUIJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Autocmd test was failing on MS-Windows with GUI. Solution: Remove stray feedkeys(). https://github.com/vim/vim/commit/d697ddea1466d877a79f8c56d46361dc54e9baef
* | vim-patch:8.2.2359: strange test failure with MS-WindowsJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Strange test failure with MS-Windows. Solution: Skip the system() call for now. https://github.com/vim/vim/commit/e2924328c165f1fc549f91bf212c93c87bb1d9ed
* | vim-patch:8.2.2354: crash with a weird combination of autocommandsJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Crash with a weird combination of autocommands. Solution: Increment b_nwindows when needed. (closes vim/vim#7674) https://github.com/vim/vim/commit/797e63b9f2baa1853e7063aac478d663cd02f207
* | vim-patch:8.2.1059: crash when using :tabonly in an autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan) Solution: Do not allow the autocommand window to be closed. https://github.com/vim/vim/commit/cf8441704d6e517bda1899f4afa82c6b4eecbaec E813 error message does not mention 'popup' window because Neovim floating window are regular windows, unlike Vim popups. https://github.com/neovim/neovim/pull/14532#discussion_r631731829
* | vim-patch:8.2.1000: get error when leaving Ex mode with :visualJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter autocommand was used. Solution: Reset ex_pressedreturn. (closes vim/vim#6293) https://github.com/vim/vim/commit/158ea175a99fc23eae1b0a5ee9a81cdd973854a6
* | vim-patch:8.2.0023: command line editing not sufficiently testedJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | | | | | Problem: Command line editing not sufficiently tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#5374) https://github.com/vim/vim/commit/59cb041d0a56d8555857da7e063ec61504ee1fa7 Ported to commit test_ex_mode.vim for later patches. Test fails because feedkeys() filters out modifier keys on output.
* | Revert "vim-patch:8.1.1378: delete() can not handle a file name that looks ↵Marco Hinz2021-05-12
| | | | | | | | | | | | | | | | | | like a pattern (#12784)" This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145. Unfortunately, that commit stalled the Windows builds on GHA and likely requires other patches to work properly.
* | Merge pull request #14403 from seandewar/vim-8.2.1933Jan Edmund Lazo2021-05-09
|\ \ | |/ |/| vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
| * vim-patch:8.2.2287: sort test fails when locale is French CanadianSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Sort test fails when locale is French Canadian. Solution: Expect a different sort order. (Dominique Pellé, closes vim/vim#7609) https://github.com/vim/vim/commit/cec77d4530ae51ee9ffe0ab57fa7a37cced2b181
| * vim-patch:8.2.2286: sort test fails when locale is Canadian EnglishSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Sort test fails when locale is Canadian English. (Neil H Watson) Solution: Expect a different sort order. (closes vim/vim#7609) https://github.com/vim/vim/commit/fefa6c347e2c7f01ed2b095084f4aa694ff72149
| * vim-patch:8.2.1946: sort() with NULL string not testedSean Dewar2021-04-20
| | | | | | | | | | | | Problem: sort() with NULL string not tested. Solution: Add a test. use v:collate. (Dominique Pellé, closes vim/vim#7247) https://github.com/vim/vim/commit/35efa22ff2b98126363098db9304796b5624f97f
| * vim-patch:8.2.1935: sort test fails on MacSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Sort test fails on Mac. Solution: Disable the sort test with locale on Mac. https://github.com/vim/vim/commit/578f4cc7d0ce67101832b25cf77246fcd630e3c0
| * vim-patch:8.2.1933: cannot sort using locale orderingSean Dewar2021-04-20
| | | | | | | | | | | | | | Problem: Cannot sort using locale ordering. Solution: Add a flag for :sort and sort() to use the locale. (Dominique Pellé, closes vim/vim#7237) https://github.com/vim/vim/commit/55e29611d20bca14fa5efc61385bc8a6b7acd9e2
| * eval: port v:collateSean Dewar2021-04-20
| | | | | | | | Cherry-picked from patch v8.2.0988. Required for patch v8.2.1933.
| * vim-patch:8.2.0174: various commands not completely testedSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Various commands not completely tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551) https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
* | vim-patch:8.2.2838: file extension .wrap not recognizedJan Edmund Lazo2021-05-08
| | | | | | | | | | | | Problem: File extension .wrap not recognized. Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes vim/vim#8177) https://github.com/vim/vim/commit/e3e598e82b79a2ab5ba5e312d54e65c940e2e809
* | Merge pull request #13664 from ivechan/win_exectuteJan Edmund Lazo2021-05-07
|\ \ | | | | | | vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
| * | vim-patch:8.2.2340: win_execute() unexpectedly returns number zero when failingjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: win_execute() unexpectedly returns number zero when failing. Solution: Return an empty string. (closes vim/vim#7665) https://github.com/vim/vim/commit/37487e16da7877129edee8d11b9b7f5c8df312c6
| * | vim-patch:8.2.0137: crash when using win_execute() from a new tabjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Crash when using win_execute() from a new tab. Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes vim/vim#5512) https://github.com/vim/vim/commit/a44b3eeafa57d4904a3de86b132008b93404f0fd
| * | vim-patch:8.1.2124: ruler is not updated if win_execute() moves cursorjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Ruler is not updated if win_execute() moves cursor. Solution: Update the status line. (closes vim/vim#5022) https://github.com/vim/vim/commit/345f28df5482cd35f5fa74b06443376379f113b0
| * | vim-patch:8.1.1832: win_execute() does not work in other tabjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Win_execute() does not work in other tab. (Rick Howe) Solution: Take care of the tab. (closes vim/vim#4792) https://github.com/vim/vim/commit/820680b9ff1de8699156c7b060f97e5c0b87ad15
| * | vim-patch:8.1.1440: win_execute() test failsjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Win_execute() test fails. Solution: Adjust the expected error number. Move to popup test. https://github.com/vim/vim/commit/2d247849ce612050ba1085df806746b23be1f0a3
| * | vim-patch:8.1.1418: win_execute() is not implemented yetjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Win_execute() is not implemented yet. Solution: Implement it. https://github.com/vim/vim/commit/868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d
* | | vim-patch:8.1.1378: delete() can not handle a file name that looks like a ↵Shougo2021-05-07
| | | | | | | | | | | | | | | | | | | | | | | | pattern (#12784) Problem: Delete() can not handle a file name that looks like a pattern. Solution: Use readdir() instead of appending "/*" and expanding wildcards. (Ken Takata, closes vim/vim#4424, closes vim/vim#696) https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
* | | vim-patch:8.2.2829: some comments are not correct or clearJan Edmund Lazo2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Some comments are not correct or clear. Solution: Adjust the comments. Add test for cursor position. https://github.com/vim/vim/commit/df36514a6455342e178af693553ef9df9fcf8c83
* | | vim-patch:8.2.2827: test file was not deletedJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | Problem: Test file was not deleted. Solution: Uncomment the delete() call. (Dominique Pellé, closes vim/vim#8172) https://github.com/vim/vim/commit/5f8ed7408aaf477215bcfde3e487e24b9e6ad870
* | | vim-patch:8.2.2825: code in checkreadonly() not fully testedJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | Problem: Code in checkreadonly() not fully tested. Solution: Add more tests. (Dominique Pellé, closes vim/vim#8169) https://github.com/vim/vim/commit/2bf6034e5caf36b319148f46ba9a12e36c3bd41d
* | | vim-patch:8.2.2820: session file may divide by zeroJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Session file may divide by zero. Solution: Avoid writing difide by zero. (closes vim/vim#8162) https://github.com/vim/vim/commit/b6c2e9a010ebd7db586081957e634903d4972fa1 Avoid typecasts if possible. Use PRIdLINENR, PRId64, to format line numbers.
* | | vim-patch:8.2.2819: finishing an abbreviation with multi-byte char may not workJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | Problem: Finishing an abbreviation with a multi-byte char may not work. Solution: Escape K_SPECIAL in the typed character. (closes vim/vim#8160) https://github.com/vim/vim/commit/4934ed34c3e2090d1963c89c629cd3ce81d3ecd1
* | | vim-patch:8.2.2788: Raku is now the only name what once was called perl6Jan Edmund Lazo2021-05-02
| | | | | | | | | | | | | | | | | | Problem: Raku is now the only name what once was called perl6. Solution: Adjust the filetype detection. (closes vim/vim#8120) https://github.com/vim/vim/commit/3f88e71fa2b8b1fc97f3c218989474ea8687d197
* | | vim-patch:8.2.1827: filetype detection does not test enough file namesJan Edmund Lazo2021-05-01
| | | | | | | | | | | | | | | | | | Problem: Filetype detection does not test enough file names. Solution: Test more file names. (Adam Stankiewicz, closes vim/vim#7099) https://github.com/vim/vim/commit/10a1a534d1ae1d798bb695f9a521052ebbf1e289
* | | vim-patch:8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbersJan Edmund Lazo2021-04-28
| | | | | | | | | | | | | | | | | | Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers. Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes vim/vim#6144) https://github.com/vim/vim/commit/aaad995f8384a77a64efba6846c9c4ac99de0953
* | | vim-patch:8.2.2801: free Pascal makefile not recognizedJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | Problem: Free Pascal makefile not recognized. Solution: Add the fpcmake filetype. (Doug Kearns) https://github.com/vim/vim/commit/f6d9935a13a7b37272ad71761d3d86b7f40c3d5f
* | | vim-patch:8.2.2388: no easy way to get the maximum or mininum number valueJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | Problem: No easy way to get the maximum or mininum number value. Solution: Add v:numbermax and v:numbermin. https://github.com/vim/vim/commit/57d5a01cb45d6edb16c3835a49b42d6d8fc0163e
* | | vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problemsJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | Problem: Mixing up "long long" and __int64 may cause problems. (John Marriott) Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize. https://github.com/vim/vim/commit/f9706e9df0e37d214fb08eda30ba29627e97a607
* | | vim-patch:1ff14ba24c4dJan Edmund Lazo2021-04-27
|/ / | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d
* | vim-patch:8.2.2776: :mksession uses current value of 'splitbelow' and ↵Jan Edmund Lazo2021-04-22
| | | | | | | | | | | | | | | | | | | | | | | | 'splitright' (#14398) Problem: :mksession uses current value of 'splitbelow' and 'splitright' even though "options" is not in 'sessionoptions'. (Maxim Kim) Solution: Save and restore the values, instead of setting to the current value. (closes vim/vim#8119) https://github.com/vim/vim/commit/0995c81f2ffe276669daa004f7778ecc6f5ee09d Patch v8.2.1682 is not ported. Replace "goto fail;" with "return FAIL;".
* | fix(oldtest): fix assert_match() for :buffers tSean Dewar2021-04-21
| | | | | | | | | | Previous pattern could cause test to fail if ":buffers t" reported "1 second ago".
* | vim-patch:8.2.1588: cannot read back the prompt of a prompt bufferSean Dewar2021-04-21
| | | | | | | | | | | | | | | | | | Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851) https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803 Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e and removed mention of method syntax usage (not supported by Nvim).
* | oldtest: port test_prompt_buffer.vimSean Dewar2021-04-21
|/ | | | | Included from before v8.2.1588. Required for v8.2.1588. Many tests use stuff like term_sendkeys() which is N/A, so are skipped.
* Merge pull request #12323 from da-x/orphaned-signsMatthieu Coudron2021-04-18
|\ | | | | Handle 'orphaned signs' on line deletion for signcolumn >= 2
| * test_signs.vim: adjust for sign removal on line deletionDan Aloni2021-04-17
| |
* | vim-patch:8.2.2773: PSL filetype not recognized (#14389)Jan Edmund Lazo2021-04-17
|/ | | | | Problem: PSL filetype not recognized. Solution: Add a filetype pattern. (Daniel Kho, closes vim/vim#8117) https://github.com/vim/vim/commit/112a006417a0d4700ff39ddba3bb5e985ae9770f
* Merge pull request #14355 from janlazo/vim-8.1.2313Jan Edmund Lazo2021-04-15
|\ | | | | vim-patch:8.1.2313,8.2.{2046,2769}
| * vim-patch:8.2.2769: Modula-3 config files are not recognizedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | Problem: Modula-3 config files are not recognized. Solution: Add filetype patterns. (Doug Kearns) https://github.com/vim/vim/commit/6bc00699c5049c40761d212bef1b490e2af7944c
| * vim-patch:8.2.2046: some test failures don't give a clear errorJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | Problem: Some test failures don't give a clear error. Solution: Use assert_match() and assert_fails() instead of assert_true(). (Ken Takata, closes vim/vim#7368) https://github.com/vim/vim/commit/5dc4e2f883896c99ebe83355822ac6067970b031
* | vim-patch:8.2.2764: memory leak when default function argument is allocatedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | Problem: Memory leak when default function argument is allocated. Solution: Free the expression result. https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315