| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649)
https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: Write file test still fails on MS-Windows.
Solution: Set fileformat with the :edit command
https://github.com/vim/vim/commit/16204962c7ad7380a40f0855443303ad16114e2b
|
| |
|
|
|
|
| |
Problem: Write file test fails on MS-Windows.
Solution: Force edit after setting 'fileformat'.
https://github.com/vim/vim/commit/bd318559cf8dea210e943100536011473f25bf68
|
| |
|
|
|
|
|
| |
Problem: First write after setting 'eol' does not have NL added. (Tomáš
Janoušek)
Solution: Only use b_no_eol_lnum when doing a binary write. (closes vim/vim#7535)
https://github.com/vim/vim/commit/b3c8b1d25414f2e24ad03551cdf125b3e2c142b1
|
| |
|
|
|
|
|
|
| |
Problem: Test 42 is still old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes vim/vim#6561)
https://github.com/vim/vim/commit/b61ef01cce2afd70fbfa2805336a26643109dfb7
Including the Xtest2 -> Xfile2 change from Vim patch 8.2.1498.
|
| |
|
|
|
|
| |
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: Not easy to recognize the system Vim runs on.
Solution: Add more items to the features list. (Ozaki Kiichi, closes vim/vim#3855)
https://github.com/vim/vim/commit/39536dd557e847e80572044c2be319db5886abe3
Some doc changes have already been applied. Some others are N/A.
"moon" was removed in patch 8.2.0427 so I did not add it.
|
| |
|
|
|
|
|
|
|
| |
Problem: Some code is not tested.
Solution: Add some more tests. (Dominique Pellé, closes vim/vim#8735)
https://github.com/vim/vim/commit/bd9e7961256ea6a98bd5a7bfe14e32c4c47186e6
Include Test_confirm_write_partial_file() anyway, even though it will
not be run.
|
| |
|
|
|
|
| |
Problem: Writefile() error does not give a hint.
Solution: Add remark about first argument.
https://github.com/vim/vim/commit/18a2b87ca27c378a555b20f14a284d2ce3511427
|
| |
|
|
|
|
|
| |
Problem: QuitPre is triggered before :wq writes the file, which is
different from other commands.
Solution: Trigger QuitPre after writing the file. (closes vim/vim#8279)
https://github.com/vim/vim/commit/1174b018a6d705ddb8c04f3d21f78ae760aa0856
|
| |
|
|
|
|
| |
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 tests are still old style.
Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
closes vim/vim#6544) Fix error in FinishTesting().
https://github.com/vim/vim/commit/622b3568fa1baf07671d31390815fb0a55a99891
Omit test_mzscheme.vim.
Neovim does not support "mzscheme" feature.
|
| |
|
|
|
|
|
| |
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes vim/vim#5059)
https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
|
| |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
|
|
|
|
|
| |
Problem: Some tests fail on Solaris.
Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish
case change. (Libor Bukata, Bjorn Linse, closes vim/vim#3403)
https://github.com/vim/vim/commit/f1c118be93184e8e57e3e80b1b3383f464ed649e
|
| |
|
|
|
| |
Problem: Writefile() never calls fsync().
Solution: Follow the 'fsync' option with override to enable or disable.
https://github.com/vim/vim/commit/7567d0b115e332f61a9f390aaccdf7825b891227
|
| | |
|
| |
|
|
|
|
|
|
| |
patch 8.0.1744: on some systems /dev/stdout isn't writable
Problem: On some systems /dev/stdout isn't writable.
Solution: Skip test if writing is not possible. (James McCoy, closes vim/vim#2830)
https://github.com/vim/vim/commit/9980b37a80dc72eef05bf8862aaf475ab17790a5
|
| |
|
|
|
|
|
|
| |
patch 8.0.1339: no test for what 8.0.1335 fixes
Problem: No test for what 8.0.1335 fixes.
Solution: Add a test. (Yasuhiro Matsumoto, closes vim/vim#2373)
https://github.com/vim/vim/commit/83799a7b7414048df4ff4e507293416e8438e225
|
| |
|
|
|
|
| |
Problem: Writefile test fails when run under /tmp.
Solution: Adjust 'backupskip. (Kenta Sato, closes vim/vim#4462)
https://github.com/vim/vim/commit/c28cb5b16df76353a5995fda3b9341612b8630c1
|
| |
|
|
|
|
|
|
| |
Problem: If writing runs into a conversion error the backup file is
deleted. (Arseny Nasokin)
Solution: Don't delete the backup file is the file was overwritten and a
conversion error occurred. (Christian Brabandt, closes vim/vim#4387)
https://github.com/vim/vim/commit/cf0bfd9ade5173bcc12563bfc90c21a4db10535d
|
| |
|
|
|
|
|
|
| |
Problem: When making backups is disabled and conversion with iconv fails
the written file is truncated. (Luo Chen)
Solution: First try converting the file and write the file only when it did
not fail. (partly by Christian Brabandt)
https://github.com/vim/vim/commit/e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3
|
| |
|
|
|
|
|
| |
Problem: 'autowrite' takes effect when buffer is not to be written.
Solution: Don't write buffers that are not supposed to be written. (Even Q
Jones, closes vim/vim#3391) Add tests for 'autowrite'.
https://github.com/vim/vim/commit/8c9e7b00f6566dc41e794ef11c93d93b034c7134
|
| |
|
|
|
|
|
|
| |
Problem: Vim becomes unusable after opening new window in BufWritePre
event.
Solution: Call not_exiting(). (Martin Tournoij, closes vim/vim#2205)
Also for "2q" when a help window is open. Add a test.
https://github.com/vim/vim/commit/2c33d7bb69c4c2c5b0e39b03cc4b0c04cfdfbb0b
|
| |
|
|
|
|
| |
It validates list items with tv_check_str_on_nr()
to catch invalid types (ex. E745, E805).
If there is an invalid item, it does not write to the file.
|
| |
|
|
|
|
|
| |
Problem: writefile() continues after detecting an error.
Solution: Bail out as soon as an error is detected. (suggestions by Nikolai
Pavlov, closes vim/vim#1476)
https://github.com/vim/vim/commit/8cf91286ca46a501d24e4b7d631b193256782c88
|
|
|
Problem: Marks, writefile and nested function tests are old style.
Solution: Turn them into new style tests. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/19a1669ffc796e30a83c5600f82f12ebf63a2261
|