| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
|
| |
Problem: Undo misbehaves when writing from an insert mode mapping.
Solution: Sync undo when writing. (closes vim/vim#11674)
https://github.com/vim/vim/commit/3f8f82772313af9f2417b06651f30988b63e1c96
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
| |
Problem: Undo earlier test sometimes fails on MS-Windows.
Solution: Use another file name.
https://github.com/vim/vim/commit/cce293f87beb57a75ff738fade7fafadbc4a78a9
|
| |
|
|
|
|
|
|
|
| |
Problem: Various code not covered by tests.
Solution: Add a few more test. (Yegappan Lakshmanan, closes vim/vim#7995)
https://github.com/vim/vim/commit/1f448d906b3c516e5864dc5bae3ddbf3664ee649
Cherry-pick some test_edit.vim changes from patches 8.2.{1022,1432}.
Reorder test_undo.vim to match upstream.
|
| |
|
|
|
|
|
|
| |
Problem: Character input not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963)
https://github.com/vim/vim/commit/f4fcedc59d4cc5ae6b5270a933e8377030283c1c
Cherry-pick related changes from patches 8.2.{0433,0866}.
|
| |
|
|
|
|
|
|
|
| |
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5618)
https://github.com/vim/vim/commit/9f6277bdde97b7767ded43a0b5a2023eb601b3b7
Cherry-pick Test_window_only() from patch 8.2.0203.
Cherry-pick a memory leak fix from patch 8.2.0399.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is set (#19306)
Problem: When :edit reuses the current buffer the alternate file is set to
the same buffer.
Solution: Only set the alternate file when not reusing the buffer.
(closes vim/vim#8783)
https://github.com/vim/vim/commit/b8bd2e6ebab03baf2672067067a599df69a278c0
Cherry-pick Test_cmdline_expand_special() from patches 8.2.{0243,2873}.
Move Test_cmd_backtick() to the right place.
|
| |
|
|
|
| |
Problem: '[ and '] marks may be wrong after undo.
Solution: Adjust the '[ and '] marks if needed. (closes vim/vim#10407, closes vim/vim#1281)
https://github.com/vim/vim/commit/82444cefa3fef87624a078ea86a72af7ef4ef42e
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
https://github.com/vim/vim/commit/f92e58cadb03156879e9bdbf6341bf662d9c87cc
Cherry-pick s:normalize_fname for tolower test from v8.1.0894 and v8.1.1417 (even though it is
unused for now).
Fix header for win_id2tabwin in eval.txt.
|
| | |
|
| |
|
|
|
|
| |
Some skipped tests have custom error messages.
Use ":CheckFunction" command for standard error message
on missing function.
|
| |
|
|
|
|
| |
Problem: Undo file not found when using ":args" or ":next".
Solution: Handle like editing another file. (closes vim/vim#7072)
https://github.com/vim/vim/commit/55b419b871dd35f5b05dd2aed65f14461b493ba9
|
| |
|
|
|
|
| |
Problem: Delete call commented out for debugging.
Solution: Restore the delete call. (Christian Brabandt)
https://github.com/vim/vim/commit/9283f92008accd0b797d2c913ce191b490ce3c3d
|
| |
|
|
|
|
| |
Problem: Reading a truncted undo file hangs Vim.
Solution: Check for reading EOF. (closes vim/vim#4769)
https://github.com/vim/vim/commit/fb06d767a8d76eead5391302fc88115d6e3879d8
|
| |
|
| |
This was not added in e0e482589 with Vim patch 8.0.0205.
|
| |
|
|
|
|
| |
Problem: Some undo functionality is not tested.
Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#5364)
https://github.com/vim/vim/commit/559b9c68fe550f3af63d42e0838622aab1ceb1b3
|
| |
|
|
|
|
| |
Problem: Test72 is old style.
Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5362)
https://github.com/vim/vim/commit/3e2d1c8cd61ca073e680f3b221ce887e05ba39cf
|
| | |
|
| |
|
|
|
|
| |
Problem: Undo test fails on Mac.
Solution: Expect "private" on the Mac.
https://github.com/vim/vim/commit/2b39d806f04c1a474b6d689a7970253850d4adb8
|
| |
|
|
|
|
|
| |
Problem: Undofile() reports wrong name. (Francisco Giordano)
Solution: Clean up the name before changing path separators. (closes vim/vim#4392,
closes vim/vim#4394)
https://github.com/vim/vim/commit/e9ebc9a91cac357fd4888f4b71fdff7d97b41160
|
| |
|
|
|
|
| |
Problem: Test_swap_group may leave file behind.
Solution: Add a try/finally.
https://github.com/vim/vim/commit/5842a748be8039fd6d267f5557fe391c6c95399d
|
| |
|
|
|
|
| |
Problem: Undo test may fail on MS-Windows.
Solution: Also handle lower case drive letters.
https://github.com/vim/vim/commit/56242f2b08737677812513c447955579a19aa620
|
| |
|
|
|
|
|
| |
Problem: Using ":undo 0" leaves undo in wrong state.
Solution: Instead of searching for state 1 and go above, just use the start.
(Ozaki Kiichi, closes vim/vim#2595)
https://github.com/vim/vim/commit/ce46d934af35d0f774be7f996001db03cf0b894a
|
| |
|
|
|
|
| |
Set undodir to Vim's default value.
Fix pathsep of expected undofile path for Windows.
Comment out invalid test case for Neovim.
|
| |
|
|
|
|
| |
Problem: No test for the undofile() function.
Solution: Add test. (Dominique Pelle, closes vim/vim#2958)
https://github.com/vim/vim/commit/e5fa11186fde4a19e505eba403d3af8c61d11304
|
| |
|
|
|
|
|
| |
Problem: Illegal memory access after undo. (Dominique Pelle)
Solution: Avoid the column becomes negative. (Christian Brabandt,
closes vim/vim#2533)
https://github.com/vim/vim/commit/95dbcbea6d85a5b79d9617ab3863458fdf0217a0
|
| |
|
|
|
|
|
| |
Problem: seq_cur of undotree() wrong after undo.
Solution: Get the actual sequence number instead of decrementing the current
one. (Ozaki Kiichi, closes vim/vim#2319)
https://github.com/vim/vim/commit/80eaddd3a0bc47cb14168964678420cfe03a2502
|
| |
|
|
|
|
|
| |
Problem: Tests switch the bell off twice.
Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
|
| |
|
|
|
|
|
|
| |
Problem: Invalid memory access in read_redo(). (gy741)
Solution: Convert the replacement character back from a negative number to
CR or NL. (hint by Dominique Pelle, closes vim/vim#2616)
https://github.com/vim/vim/commit/f12519dec88251305793f1651f558d16506b4be2
|
| |
|
|
|
|
|
|
| |
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes vim/vim#2256)
https://github.com/vim/vim/commit/15993ce9210e8b8d4bc11e1d640f6447b18d3e6c
|
| |
|
|
|
|
|
| |
Problem: Quite a few beeps when running tests.
Solution: Set 'belloff' for these tests. (Christian Brabandt)
https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
|
| |
|
|
|
|
|
|
|
| |
Problem: ":earlier" and ":later" do not work after startup or reading the
undo file.
Solution: Use absolute time stamps instead of relative to the Vim start
time. (Christian Brabandt, Pavel Juhas, closes vim/vim#1300, closes
vim/vim#1254)
https://github.com/vim/vim/commit/cbd4de44e8d08fba3c09eb40ad6e36e83faf020a
|
| |
|
|
|
|
|
| |
Problem: No tests for :undolist and "U" command.
Solution: Add tests. (Dominique Pelle)
https://github.com/vim/vim/commit/c628fdcd46e93c308f742efdf54248695960e290
|
| |
|
|
| |
Also: skip Test_undo_del_chars the right way. #6287
|
|
|
Problem: Test for undo is flaky.
Solution: Turn it into a new style test. Use test_settime() to avoid
flakyness.
https://github.com/vim/vim/commit/170b10b421f0c9fda08b7cfd3bb043c064f3659a
|