aboutsummaryrefslogtreecommitdiff
path: root/test/old
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.1247: urxvt mouse codes are not testedzeertzjq2023-04-28
| | | | | | | | | | | Problem: Urxvt mouse codes are not tested. Solution: Also set 'ttymouse' to "urxvt" in the termcodes test. https://github.com/vim/vim/commit/d0621d85a6ceb17e1e6fb17415c3f94a755aaafa Use code from latest tests instead. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1244: no tests for CTRL-mouse-clickzeertzjq2023-04-28
| | | | | | | | | | | Problem: No tests for CTRL-mouse-click. Solution: Add a few tests. (Dominique Pelle, closes vim/vim#4323) https://github.com/vim/vim/commit/1ee36d6ff5bc51a1ecb5631c3e5bb632b5d1bcfc Use usr_toc.txt instead of help.txt. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1223: middle mouse click test fails without a clipboardzeertzjq2023-04-28
| | | | | | | | | | | | | Problem: Middle mouse click test fails without a clipboard. Solution: Check if the clipboard can be used. (Dominique Pelle, Christian Brabandt) Also use WorkingClipboard() instead of checking for the "clipboard" feature. https://github.com/vim/vim/commit/564344ace9ef06b22e4e60a0196c41b410ac27da Use CheckFeature clipboard_working from latest test instead. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1216: mouse middle click is not testedzeertzjq2023-04-28
| | | | | | | | | Problem: Mouse middle click is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#4310) https://github.com/vim/vim/commit/c1b8160b44b43cca3acd7a47c1b85350cb648fe5 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1181: tests for mouse clicks are a bit flakyzeertzjq2023-04-28
| | | | | | | | | | | Problem: Tests for mouse clicks are a bit flaky when run in an interactive terminal. Solution: Use "xterm2" instead of "xterm" for 'ttymouse' to avoid spurious drag events. https://github.com/vim/vim/commit/2b00b9b0f355421fdb49e3a15f5a62af657d1922 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1179: no test for mouse clicks in the fold columnzeertzjq2023-04-28
| | | | | | | | | Problem: No test for mouse clicks in the fold column. Solution: Add a test. (Dominique Pelle, closes vim/vim#4261) https://github.com/vim/vim/commit/696d6377289eb7c703263aaabe58134968335c4b Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1178: when mouse click tests fails value of 'ttytype' is unknownzeertzjq2023-04-28
| | | | | | | | | Problem: When mouse click tests fails value of 'ttytype' is unknown. Solution: Add a message to the assert. https://github.com/vim/vim/commit/4945219b99f8e191c599f80dedc0c4be02ed821e Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1176: test for dragging a tab is flakyzeertzjq2023-04-28
| | | | | | | | | Problem: Test for dragging a tab is flaky. Solution: Add a brief sleep. https://github.com/vim/vim/commit/7f27976589f075d591d54f754be257b5f6e6fd92 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1175: no test for dragging a tab and double click for new tabzeertzjq2023-04-28
| | | | | | | | | | | | Problem: No test for dragging a tab with the mouse and for creating a new tab by double clicking in the tabline. Solution: Add two tests. (Dominique Pelle, closes vim/vim#4258) https://github.com/vim/vim/commit/e3e3828f935392bb3c2147a000db1c7b094a4360 Set 'mousetime' to 0 instead. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1167: no test for closing tab by click in tablinezeertzjq2023-04-28
| | | | | | | | | | Problem: No test for closing tab by click in tabline. Solution: Add a test. Also fix that dragging window separator could fail in a large terminal. (Dominique Pelle, closes vim/vim#4253) https://github.com/vim/vim/commit/39f76c6ac0f5e07a0e608ddf920a67702ec83824 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1165: no test for mouse clicks in the terminal tabpage linezeertzjq2023-04-28
| | | | | | | | | | Problem: No test for mouse clicks in the terminal tabpage line. Solution: Add a test. (Dominique Pelle, closes vim/vim#4247). Also init TabPageIdxs[], in case it's used before a redraw. https://github.com/vim/vim/commit/ca57ab54d759a3e265b19bbe31b57dfed00bbdd0 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.1160: termcodes test would fail in a very big terminalzeertzjq2023-04-28
| | | | | | | | | | Problem: Termcodes test would fail in a very big terminal. Solution: Bail out when the row is larger than what will work. (Dominique Pelle, closes vim/vim#4246) https://github.com/vim/vim/commit/c8b3ddab51cd2901d5946949d02c96e1035b25c0 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:partial:8.1.1155: termcodes tests can be improvedzeertzjq2023-04-28
| | | | | | | | | | Problem: Termcodes tests can be improved. Solution: Add helper functions to simplify tests. Dragging statusline for xterm and sgr. (Dominique Pelle, closes vim/vim#4237) https://github.com/vim/vim/commit/3fbd2d7c316eaeea463b2f84f29b36d439306bf9 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:partial:8.2.0425: code for modeless selection not sufficiently ↵zeertzjq2023-04-28
| | | | | | | | | | | tested (#23362) Problem: Code for modeless selection not sufficiently tested. Solution: Add tests. Move mouse code functionality to a common script file. (Yegappan Lakshmanan, closes vim/vim#5821) Add some mouse.vim functions that can be made to work in Nvim. https://github.com/vim/vim/commit/515545e11f523d14343b1e588dc0b9bd3d362bc2
* vim-patch:9.0.1494: crash when recovering from corrupted swap file (#23358)zeertzjq2023-04-28
| | | | | | | | Problem: Crash when recovering from corrupted swap file. Solution: Bail out when the line index looks wrong. (closes vim/vim#12276) https://github.com/vim/vim/commit/bf1b7132021bac0fccefebb4a1c24a5f372bae4f Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1493: popup menu position wrong in window with toolbarzeertzjq2023-04-28
| | | | | | | | | | Problem: Popup menu position wrong in window with toolbar. Solution: Take the window toolbar into account when positioning the popup menu. (closes vim/vim#12308) https://github.com/vim/vim/commit/4e1ca0d9a6c6d66987da67155e97f83f286ffbcc Fixed in the previous commit. Test only.
* vim-patch:9.0.1492: using uninitialized memory when argument is missing (#23351)zeertzjq2023-04-28
| | | | | | | | | Problem: Using uninitialized memory when argument is missing. Solution: Check there are sufficient arguments before the base. (closes vim/vim#12302) https://github.com/vim/vim/commit/b7f2270bab102d68f83a6300699b7f98efad81f2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1491: wrong scrolling with ls=0 and :botright split (#23333)zeertzjq2023-04-27
| | | | | | Problem: Wrong scrolling with ls=0 and :botright split. Solution: Add statusline before calling frame_new_height(). (closes vim/vim#12299) https://github.com/vim/vim/commit/fbf2071ac9ef08302a1df86c15f3d4ddbe871243
* vim-patch:9.0.1490: the ModeChanged event may be triggered too oftenzeertzjq2023-04-26
| | | | | | | | Problem: The ModeChanged event may be triggered too often. Solution: Only trigger ModeChanged when no operator is pending. (closes vim/vim#12298) https://github.com/vim/vim/commit/73916bac5ac2a054a0c71adfe8d742691cdfd95c
* vim-patch:9.0.1485: no functions for converting from/to UTF-16 index (#23318)zeertzjq2023-04-26
| | | | | | | | | Problem: no functions for converting from/to UTF-16 index. Solution: Add UTF-16 flag to existing funtions and add strutf16len() and utf16idx(). (Yegappan Lakshmanan, closes vim/vim#12216) https://github.com/vim/vim/commit/67672ef097dd708244ff042a8364994da2b91e75 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:partial:9.0.0359: error message for wrong argument type is not ↵zeertzjq2023-04-25
| | | | | | | | | | | | | specific (#23315) Problem: Error message for wrong argument type is not specific. Solution: Include more information in the error. (Yegappan Lakshmanan, closes vim/vim#11037) https://github.com/vim/vim/commit/8deb2b30c77035bb682ccf80b781455ac1d6038b Skip reduce() and deepcopy() changes because of missing patches. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:9.0.0875: using freed memory when executing delfunc at more prompt ↵zeertzjq2023-04-25
| | | | | | | | | | (#23314) Problem: Using freed memory when executing delfunc at the more prompt. Solution: Check function list not changed in another place. (closes vim/vim#11437) https://github.com/vim/vim/commit/398a26f7fcd58fbc6e2329f892edbb7479a971bb Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3772: timer info test fails on slow machinezeertzjq2023-04-25
| | | | | | | | | Problem: Timer info test fails on slow machine. Solution: Use WaitForAssert(). https://github.com/vim/vim/commit/ff39a650b2bd31e30d1bb8766e8560f9a14a7137 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3768: timer_info() has the wrong repeat value in a timer callbackzeertzjq2023-04-25
| | | | | | | | | | Problem: timer_info() has the wrong repeat value in a timer callback. Solution: Do not add one to the repeat value when in the callback. (closes vim/vim#9294) https://github.com/vim/vim/commit/95b2dd0c008f0977ebb3cbe233a5064001a332e1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.5019: cannot get the first screen column of a character (#23312)zeertzjq2023-04-25
| | | | | | | | | Problem: Cannot get the first screen column of a character. Solution: Let virtcol() optionally return a list. (closes vim/vim#10482, closes vim/vim#7964) https://github.com/vim/vim/commit/0f7a3e1de6f71e8e1423fe594890d6aa7f94e132 Co-authored-by: LemonBoy <thatlemon@gmail.com>
* vim-patch:9.0.0335: checks for Dictionary argument often give a vague error ↵zeertzjq2023-04-25
| | | | | | | | | | | | (#23309) Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes vim/vim#11009) https://github.com/vim/vim/commit/04c4c5746e15884768d2cb41370c3276a196cd4c Cherry-pick removal of E922 from docs from patch 9.0.1403. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:9.0.1478: filetypes for *.v files not detected properly (#23282)Christian Clason2023-04-23
| | | | | | | | | | | | * vim-patch:9.0.1478: filetypes for *.v files not detected properly Problem: Filetypes for *.v files not detected properly. Solution: Use the file contents to detect the filetype. (Turiiya, closes vim/vim#12281) https://github.com/vim/vim/commit/80406c26188219f3773b2e9c49160caeeb386ee2 Co-authored-by: Turiiya <34311583+tobealive@users.noreply.github.com> Co-authored-by: Jonas Strittmatter <40792180+smjonas@users.noreply.github.com>
* vim-patch:9.0.1477: crash when recovering from corrupted swap file (#23273)zeertzjq2023-04-23
| | | | | | | | Problem: Crash when recovering from corrupted swap file. Solution: Check for a valid page count. (closes vim/vim#12275) https://github.com/vim/vim/commit/b67ba03d3ef2e6c5f207d508e85fc6906f938028 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1476: lines put in non-current window are not displayed (#23265)zeertzjq2023-04-23
| | | | | | | | | | Problem: Lines put in non-current window are not displayed. (Marius Gedminas) Solution: Don't increment the topline when inserting just above it. (closes vim/vim#12212) https://github.com/vim/vim/commit/e7f05a8780426dc7af247419c6d02d5f1e896689 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1475: busted configuration files are not recognized (#23266)zeertzjq2023-04-22
| | | | | | | Problem: Busted configuration files are not recognized. Solution: Recognize busted configuration files as Lua. (Craig MacEachern, closes vim/vim#12209) Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com>
* vim-patch:9.0.1472: ":drop fname" may change the last used tab page (#23230)zeertzjq2023-04-21
| | | | | | | | | Problem: ":drop fname" may change the last used tab page. Solution: Restore the last used tab page when :drop has changed it. (closes vim/vim#12087) https://github.com/vim/vim/commit/8281a16efc76197f7b0b2a385dffb44fce66d33e Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.4598: profile completion test sometimes fails (#23208)zeertzjq2023-04-20
| | | | | | | | Problem: Profile completion test sometimes fails. Solution: Delete the .res file before running tests. https://github.com/vim/vim/commit/7e0be3ea211748a77d32cb1d3d35ecfc246cf0f2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1470: deferred functions invoked in unexpected order (#23199)zeertzjq2023-04-19
| | | | | | | | Problem: Deferred functions invoked in unexpected order when using :qa and autocommands. Solution: Call deferred functions for the current funccal before using the stack. (closes vim/vim#12278) https://github.com/vim/vim/commit/1be4b81bfb3d7edf0e2ae41711d429e8fa5e0555
* vim-patch:9.0.1141: 'cursorcolumn' and 'colorcolumn' wrong after concealingzeertzjq2023-04-19
| | | | | | | | | | | | | Problem: 'cursorcolumn' and 'colorcolumn' wrong after concealing and wrapping line. Solution: Reset "wlv.vcol_off" after each screen line. (Alexey Radkov, closes vim/vim#11777) https://github.com/vim/vim/commit/aaa16b09180080284c4a5049fe16bdaccbb13b74 Cherry-pick test_conceal.vim changes from patches 8.2.4339, 9.0.0418. Co-authored-by: Alexey Radkov <alexey.radkov@gmail.com>
* vim-patch:9.0.1467: Jenkinsfiles are not recognized as groovy (#23195)Christian Clason2023-04-19
| | | | | | | | Problem: Jenkinsfiles are not recognized as groovy. Solution: Add a pattern for Jenkinsfiles. (closes vim/vim#12236) https://github.com/vim/vim/commit/142ffb024dd5123090c2fd02f55702e76520f1df Co-authored-by: dundargoc <gocdundar@gmail.com>
* vim-patch:9.0.1464: strace filetype detection is expensive (#23175)Christian Clason2023-04-19
| | | | | | | | | Problem: Strace filetype detection is expensive. Solution: Match with a cheap pattern first. (Federico Mengozzi, closes vim/vim#12220) https://github.com/vim/vim/commit/6e5a9f948221b52caaaf106079cb3430c4dd7c77 Co-authored-by: Federico Mengozzi <19249682+fedemengo@users.noreply.github.com>
* vim-patch:9.0.1034: reporting swap file when windows are splitzeertzjq2023-04-19
| | | | | | | | | Problem: Reporting swap file when windows are split. Solution: Close extra windows after running a test. https://github.com/vim/vim/commit/e5eae82bb7199bd71c6216269e78c69e9a793c8f Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1021: test trips over g:namezeertzjq2023-04-19
| | | | | | | | | Problem: Test trips over g:name. Solution: Delete g:name after using it. https://github.com/vim/vim/commit/d6e74f547910d5273a3b99c23fb3197131c7d379 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1020: tests call GetSwapFileList() before it is definedzeertzjq2023-04-19
| | | | | | | | | | Problem: Tests call GetSwapFileList() before it is defined. Solution: Move the call to after defining the function. (Christopher Plewright) https://github.com/vim/vim/commit/6572a90287c7aa6e8042b18604891e9df3657245 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1012: tests may get stuck in buffer with swap filezeertzjq2023-04-19
| | | | | | | | | Problem: Tests may get stuck in buffer with swap file. Solution: Bail out when bwipe! doesn't get another buffer. https://github.com/vim/vim/commit/fa2533c8bb96abcec29b9dc6bd4fe7054c7c7e50 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1010: stray warnings for existing swap fileszeertzjq2023-04-19
| | | | | | | | | Problem: Stray warnings for existing swap files. Solution: Wipe out the buffer until it has no name and no swap file. https://github.com/vim/vim/commit/23526d2539e8679ea8df14e3a018101dedc3f391 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1009: test for catch after interrupt is flaky on MS-Windowszeertzjq2023-04-19
| | | | | | | | | Problem: Test for catch after interrupt is flaky on MS-Windows. Solution: Mark the test as flaky. https://github.com/vim/vim/commit/72b5b0d51aa9ddf8d338a5a133a667a3c2392ae1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1008: test for swapfilelist() fails on MS-Windowszeertzjq2023-04-19
| | | | | | | | | Problem: Test for swapfilelist() fails on MS-Windows. Solution: Only check the tail of the path. Mark a test as flaky. https://github.com/vim/vim/commit/6cf3151f0e3839332c89367b7384c395a1185927 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.1007: there is no way to get a list of swap file nameszeertzjq2023-04-19
| | | | | | | | | | | | | | | | | | | | | Problem: There is no way to get a list of swap file names. Solution: Add the swapfilelist() function. Use it in the test script to clean up. Remove deleting individual swap files. https://github.com/vim/vim/commit/c216a7a21a25a701b84b79abc1ba6ab0baa3a311 vim-patch:9.0.1005: a failed test may leave a swap file behind Problem: A failed test may leave a swap file behind. Solution: Delete the swap file to avoid another test to fail. Use another file name. https://github.com/vim/vim/commit/d0f8d39d20f8d42f7451f781f7be0bcd20e06741 Cherry-pick test_window_cmd.vim changes from patch 8.2.1593. Remove FUNC_ATTR_UNUSED from eval functions as fptr is always unused. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0561: when a test gets stuck it just hangs foreverzeertzjq2023-04-19
| | | | | | | | | | | | Problem: When a test gets stuck it just hangs forever. Solution: Set a timeout of 30 seconds. https://github.com/vim/vim/commit/3bcd0ddc2deb34794c735c6ea0b8f964b510c6db Note: This doesn't cause test_timers.vim failures in Nvim because there is a SetUp() function that calls timer_stopall(). Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0560: elapsed time since testing started is not visiblezeertzjq2023-04-19
| | | | | | | | | Problem: Elapsed time since testing started is not visible. Solution: Show the elapsed time while running tests. https://github.com/vim/vim/commit/b9093d50098ccff3848c2a404b9d0324a074c7b7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0545: when a test is slow and CI times out there is no time infozeertzjq2023-04-19
| | | | | | | | | Problem: When a test is slow and CI times out there is no time info. Solution: Add the elapsed time to the "Executing" message. https://github.com/vim/vim/commit/daaa3d9965d74faf1f75aea218822bfb7ba687a7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0514: terminal test sometimes hangszeertzjq2023-04-19
| | | | | | | | | Problem: Terminal test sometimes hangs. Solution: Add a bit more information to the test output. (issue vim/vim#11179) https://github.com/vim/vim/commit/a22c56a59a1e60f6976e61d16001623424a26b3a Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0426: failed flaky tests reports only start timezeertzjq2023-04-19
| | | | | | | | | Problem: Failed flaky tests reports only start time. Solution: Also report the end time. https://github.com/vim/vim/commit/65258d36ddfab371c7982343efc9b2533ba39075 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0372: MS-Windows: "%T" time format does not appear to workzeertzjq2023-04-19
| | | | | | | | | Problem: MS-Windows: "%T" time format does not appear to work. Solution: Use "%H:%M:%S" instead. https://github.com/vim/vim/commit/5fbbec180b623cd6ebfc9528be6fa70b4cf664d4 Co-authored-by: Bram Moolenaar <Bram@vim.org>