| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes vim/vim#7004)
https://github.com/vim/vim/commit/531be47ac5522807b265c6287021a01c9b895ac9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
https://github.com/vim/vim/commit/9b7bf9e98f06ece595fed7a3ff53ecce89797a53
Skip test_listener.vim, test_textprop.vim, test_viminfo.vim.
Skip test_python2.vim: affected line fails and hasn't been ported.
Skip test_python3.vim: affected lines fail and haven't been ported.
Skip CHECK_LIST_MATERIALIZE.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
| |
Problem: Regexp and other code not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5904)
https://github.com/vim/vim/commit/004a6781b3cf15ca5dd632c38cc09bb3b253d1f8
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes vim/vim#5843)
https://github.com/vim/vim/commit/0e05de46226eb4e5ea580beefa71831f92d613d3
Cherry-pick test changes from patch 8.2.0427 and skip Test_has().
Cherry-pick Test_complete_wildmenu() change from patch 8.2.4339.
|
| |
|
|
|
|
|
| |
substitute() (#20216)
Problem: Varargs does not work for replacement function of substitute().
Solution: Check the varargs flag of the function. (closes vim/vim#11142)
https://github.com/vim/vim/commit/48db5dafecacced4a9e42de3f92838b2d59beb4c
|
| |
|
|
|
| |
Problem: Substitute prompt does not highlight an empty match.
Solution: Highlight at least one character.
https://github.com/vim/vim/commit/a04f457a6c071179bac4088c9314007d39d5c5e0
|
| |
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add a few more tests. (Dominique Pellé, closes vim/vim#8757)
https://github.com/vim/vim/commit/bfb2bb16bc69441fa3ec13caacb2c94637a8a0ec
|
| |
|
|
|
|
|
|
| |
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5855)
https://github.com/vim/vim/commit/ca68ae13114619df3e4c195b41ad0575516f5ff6
Cherry-pick test_clientserver.vim changes form patch 8.2.0448.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.2.0212: missing search/substitute pattern hardly tested
Problem: Missing search/substitute pattern hardly tested.
Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
closes vim/vim#5579)
https://github.com/vim/vim/commit/07ada5ff2fd8f22ed3233ae5c4ddf87c7b3f56fe
vim-patch:8.2.0250: test_clear_search_pat() is unused
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes vim/vim#5624)
https://github.com/vim/vim/commit/4f5776c17cd86f904a7e2f92db297c73e28939b7
|
| |
|
|
|
|
|
| |
Problem: Command line test fails.
Solution: Also beep when cmdline win can't be opened because of locks.
Make the test not beep. Make the test pass on MS-Windows.
https://github.com/vim/vim/commit/be99042b03edf7b8156c9adbc23516bfcf2cec0f
|
| |
|
|
|
|
|
| |
Problem: Can open a cmdline window from a substitute expression.
Solution: Disallow opening a command line window when text or buffer is
locked.
https://github.com/vim/vim/commit/71223e2db87c2bf3b09aecb46266b56cda26191d
|
| |
|
|
|
|
| |
Problem: Substitute overwrites allocated buffer.
Solution: Disallow undo when in a substitute command.
https://github.com/vim/vim/commit/338f1fc0ee3ca929387448fe464579d6113fa76a
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Memory leak when substitute expression nests.
Solution: Use an array of expression results.
https://github.com/vim/vim/commit/44ddf19ec0ff59c969658ec7d9ed42070c59c51b
Cherry-pick a comment change from patch 8.2.5057.
N/A patches for version.c:
vim-patch:8.2.5154: still mentioning version8, some cosmetic issues
Problem: Still mentioning version8, some cosmetic issues.
Solution: Prefer mentioning version9, cosmetic improvements.
https://github.com/vim/vim/commit/abd56da30bae4a5c6c20b9363ccae12f7b126026
|
| |
|
|
|
|
|
|
|
|
| |
window
Problem: Memory access error when substitute expression changes window.
Solution: Disallow changing window in substitute expression.
https://github.com/vim/vim/commit/e2bd8600b873d2cd1f9d667c28cba8b1dba18839
"textwinlock" was renamed back to "textlock" in patch 8.2.5029.
|
| |
|
|
|
|
| |
Problem: Not enough testing for 2/3 letter substitute commands.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#10019)
https://github.com/vim/vim/commit/5e877baf87530d5c4fe4da2c5a6269cf19526c27
|
| |
|
|
|
|
| |
Problem: Substitute test has a one second delay.
Solution: Use ":silent!". Add another test case. (closes vim/vim#10558)
https://github.com/vim/vim/commit/3269efdf014dd3b6e60e330950d40a7cc5d13d3a
|
| |
|
|
|
| |
Copy test_regex_char_classes.vim from upstream to avoid future encoding
problems.
|
| |
|
|
|
|
|
|
| |
Problem: Using freed memory when substitute uses a recursive function call.
Solution: Make a copy of the substitute text.
https://github.com/vim/vim/commit/37f47958b8a2a44abc60614271d9537e7f14e51a
'compatible' doesn't seem needed for the test.
|
| | |
|
| |
|
|
|
|
| |
Problem: Some Ex commands not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5565)
https://github.com/vim/vim/commit/ea3db914c0fa35797ad73f6d5bb3a4288d690065
|
| |
|
|
|
|
|
|
| |
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
https://github.com/vim/vim/commit/1e1153600c0377472d62cc553173fe555ddcf5a7
Some of the changes were already applied previously.
|
| |
|
|
|
|
| |
test(old) fix Test_ex_mode_count_overflow
test(old) change usage of Q to gQ
|
| |
|
|
|
|
| |
We should now be equal with Vim in regards to method call support of already ported built-ins.
Enable all relevant commented-out uses of the syntax in tests that I could grep.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
https://github.com/vim/vim/commit/f6ed61e1489e40eada55a4f1782e1ed82bcad7d9
+sound is needed for sound_* functions.
Make swapinfo and swapname take exactly one argument.
Previously, they could erroneously take one or more.
|
| |\
| |
| | |
vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
|
| | |
| |
| |
| |
| |
| | |
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551)
https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
|
| |/
|
|
|
|
| |
Problem: Some comments are not correct or clear.
Solution: Adjust the comments. Add test for cursor position.
https://github.com/vim/vim/commit/df36514a6455342e178af693553ef9df9fcf8c83
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Crash when using submatch(0, 1) in substitute().
Solution: Increment reference count. (closes vim/vim#6887)
https://github.com/vim/vim/commit/8a0dcf43305586853f452a77fa295b0c8d54b463
N/A patches for version.c:
vim-patch:8.2.2674: Motif: cancelling the font dialog resets the font
Problem: Motif: cancelling the font dialog resets the font.
Solution: When no font is selected to not change the font. (closes vim/vim#7825,
closes vim/vim#8035) Fix compiler warnings.
https://github.com/vim/vim/commit/9dbe701fe19597ad59c0e0c70a05927b587bea9f
|
| |
|
|
| |
Patch 8.1.0711 is too difficult to merge in 1 commit.
|
| |
|
|
|
|
|
| |
Problem: Crash when passing many arguments through a partial. (Andy
Massimino)
Solution: Check the number of arguments. (closes vim/vim#5186)
https://github.com/vim/vim/commit/4c054e9fb23027b55a09ee647a3a2c91936aeb1b
|
| |
|
|
|
|
| |
Problem: Crash when passing partial to substitute().
Solution: Take extra arguments into account. (closes vim/vim#5186)
https://github.com/vim/vim/commit/b0745b221d284e381f1bd4b591cd68ea54b6a51d
|
| |
|
|
|
|
| |
Problem: Mouse double click test is a bit flaky.
Solution: Add to list of flaky tests. Update a couple of comments.
https://github.com/vim/vim/commit/f1699968baf3619a4147b44c891ba4a0985e7656
|
| |
|
|
|
|
| |
Problem: Ml_get error if pattern matches beyond last line.
Solution: Adjust position if needed. (Christian Brabandt, closes )
https://github.com/vim/vim/commit/bb26596242fa7db477e2cd706dd99f9a426b5f71
|
| |
|
|
|
|
|
| |
Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat)
Solution: Save the value of 'modifiable' earlier' (Christian Brabandt,
closes vim/vim#4403)
https://github.com/vim/vim/commit/80341bcd89764d96f87859a3aac8bc00aad1d762
|
| |
|
|
|
|
| |
Problem: Stuck in sandbox with ":s/../\=Function/gn".
Solution: Don't skip over code to restore sandbox. (Christian Brabandt)
https://github.com/vim/vim/commit/6349e9411fd17f80c7aff9c678a8800647d34cfa
|
| |
|
|
|
|
| |
Problem: Old style tests.
Solution: Move tests from test14 to new style test files. (Yegappan
Lakshmanan, closes vim/vim#4308)
https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
|
| |
|
|
|
|
|
|
| |
anyway
Problem: When substitute string throws error, substitute happens anyway.
Solution: Skip substitution when aborting. (closes vim/vim#4161)
https://github.com/vim/vim/commit/0e97b9487571cf725a9cb28fe4dcefc800415f69
|
| |
|
|
|
|
| |
Problem: The 'l' flag in :subsitute is sticky.
Solution: Reset the flag. (Dominique Pelle, closes vim/vim#3925)
https://github.com/vim/vim/commit/9474716d39764ac5642e55b5548580cf53bd9bed
|
| |
|
|
|
|
| |
Problem: Substitute command inssuficiently tested.
Solution: Add more test coverage. (Dominique Pelle)
https://github.com/vim/vim/commit/d77aa4d22e943998c337d5a603622ac5cf2928cb
|
| |
|
|
|
|
| |
Problem: Test 80 is old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1a333bc44a5d7e51575b1c3cd864fb37fd5b5f2b
|
| | |
|
| |
|
|
|
|
|
|
| |
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: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution: Avoid the column being negative. Also fix a hang in Ex mode.
https://github.com/vim/vim/commit/ba748c8a847561c043a63827bcb1d98bdebe16e6
|
| |
|
|
|
|
|
|
| |
Problem: Flags of :substitute not sufficiently tested.
Solution: Test up to two letter flag combinations. (James McCoy, closes
vim/vim#1479)
https://github.com/vim/vim/commit/8c50d50b6e19b755d7bad7b2724d14ead29364a7
|
|
|
Problem: Several tests are old style.
Solution: Turn them into new style tests. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/cd055da370114f66c960be9c8b1eb0f33a9e0a85
|