summaryrefslogtreecommitdiffstatshomepage
path: root/test/old/testdir/test_execute_func.vim
AgeCommit message (Collapse)AuthorFiles
2026-04-18vim-patch:8.2.3024: execute() function test failsJan Edmund Lazo1
Problem: execute() function test fails. Solution: Adjust test for different error. https://github.com/vim/vim/commit/2fb1b89d721682585228f9a6ee7da4b6d3c6634d Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-08-25vim-patch:8.1.2371: FEAT_TEXT_PROP is a confusing name (#35466)Jan Edmund Lazo1
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes vim/vim#5291) https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22 textprop,popuwin remain N/A features. getchar.c has the relevant code changes. Port runtest.vim changes from patch v8.1.1561. Co-authored-by: Bram Moolenaar <Bram@vim.org>
2024-03-12vim-patch:9.1.0169: current window number returned by tabpagewinnr may be ↵Sean Dewar1
outdated Problem: current window number returned by tabpagewinnr may be outdated when called from win_execute for the original tabpage. Solution: update the original tabpage's tp_curwin in switch_win; use {un}use_tabpage instead. Don't do it in restore_win to ensure tp_curwin of the temporarily visited tabpage is unchanged from switch_win visiting it, as before. (Sean Dewar) Maybe restore_win should only restore tp_curwin if `curtab == switchwin->sw_curtab`, in case the user changed tabpages from within win_execute, but not doing that is consistent with the old behaviour. related: vim/vim#14186 https://github.com/vim/vim/commit/e101028a5c896480c61fef7ea16855255925709b
2024-03-09vim-patch:8.2.3862: crash on exit with EXITFREE and using win_execute()Sean Dewar1
Problem: Crash on exit with EXITFREE and using win_execute(). Solution: Also save and restore tp_topframe. (issue vim/vim#9374) https://github.com/vim/vim/commit/dab17a0689a2f31f69f428975f84b0c3c7ba3030 Couldn't repro the crash in the test, but I only care about this patch so switch_win sets topframe properly for win_split_ins in nvim_open_win and nvim_win_set_config. Add a test using nvim_win_call and :wincmd, as I couldn't repro the issue via nvim_open_win or nvim_win_set_config (though it's clear they're affected by this patch). That said, at that point, could just use {un}use_tabpage inside switch_win instead, which also updates tp_curwin (though maybe continue to not set it in restore_win). That would also fix possible inconsistent behaviour such as: :call win_execute(w, "let curwin_nr1 = tabpagewinnr(1)") :let curwin_nr2 = tabpagewinnr(1) Where it's possible for curwin_nr1 != curwin_nr2 if these commands are run from the 1st tabpage, but window "w" is in the 2nd (as the 1st tabpage's tp_curwin may still be invalid). I'll probably PR a fix for that later in Vim. Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-13vim-patch:8.1.2373: cannot build with +popupwin but without +quickfixzeertzjq1
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs. https://github.com/vim/vim/commit/5a4c3082d7ab51b3d448a91578479c96c1ab0ad3 Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-06-12vim-patch:8.2.2949: tests failing because no error for float to string ↵zeertzjq1
conversion Problem: Tests failing because there is no error for float to string conversion. Solution: Change the check for failure to check for correct result. Make some conversions strict in Vim9 script. https://github.com/vim/vim/commit/3cfa5b16b06bcc034f6de77070fa779d698ab5e9 Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-04-15vim-patch:8.2.0633: crash when using null partial in filter()zeertzjq1
Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes vim/vim#5976) https://github.com/vim/vim/commit/9d8d0b5c644ea53364d04403740b3f23e57c1497 Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-04-15vim-patch:8.2.0103: using null object with execute() has strange effectszeertzjq1
Problem: Using null object with execute() has strange effects. Solution: Give an error message ofr Job and Channel. https://github.com/vim/vim/commit/e2a8f0773e91685843c062b1e48259712d5f2213 Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-03-07test: move oldtests to test directory (#22536)dundargoc1
The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.