| 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: Wrong type for "isunnamed" returned by getreginfo().
Solution: Use VAR_BOOL instead of VAR_SPECIAL. (closes vim/vim#11598)
https://github.com/vim/vim/commit/82946e1439d31e86dfeb6166415c73e70475cce2
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Various pieces of code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8255)
https://github.com/vim/vim/commit/34fcb697240c1bc9e69417ed75db3b1a83479724
Nvim does not have test_unknown().
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5988)
https://github.com/vim/vim/commit/99fa721944dda9d07c53c907c33466728df5c271
Omit test_listener.vim: changed again in patch 8.2.1183.
Omit test_textprop.vim: changed again in patch 8.2.1183.
Cherry-pick quickfix feature checks from patch 8.1.2373.
Omit Test_saveas() change: duplicate and removed in patch 8.2.0866.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Problem: Some Normal mode commands not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#7073)
https://github.com/vim/vim/commit/d1ad99b65470d3e754f6a0588a6b0dc2214a1eab
Cherry-pick test_registers.vim change from patch 8.2.0644.
|
| |
|
|
|
|
|
|
| |
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7059)
https://github.com/vim/vim/commit/8a9bc95eaec53f4e0c951ff8f2686ae5113a5709
Cherry-pick Test_normal_gdollar_cmd() change from patch 8.2.0540.
|
| |
|
|
|
|
|
|
| |
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: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5751)
https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc
Cherry-pick a fix from patch 8.2.3162.
Omit test_iminsert.vim as previous patches to that file are N/A, and
Nvim doesn't support iminsert=2 either, so that test isn't useful.
|
| |
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649)
https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
|
| |
|
|
|
|
| |
Problem: When a recording is ended with a mapped key that key is also
recorded.
Solution: Remember the previous last_recorded_len. (closes vim/vim#10122)
https://github.com/vim/vim/commit/81b46a6ccd818609e1ca8cd410e26a58428c30ba
|
| |
|
|
| |
vim-patch:8.2.4705
|
| |
|
|
|
|
|
| |
Problem: Use register one too often and not properly tested.
Solution: Do not always use register one when specifying a register.
(closes vim/vim#4085) Add more tests.
https://github.com/vim/vim/commit/9d7fdd403a3a9ee0d008b6dcbcd2ecc9ec0f57b7
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Cannot execute a register containing line continuation.
Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
closes vim/vim#6272)
https://github.com/vim/vim/commit/856c1110c1cf0d6e44e387b70732ca4b4c8ef0f2
According to #2542 the "Future:" part was removed intentionally.
Use size_t in more places to reduce type casts.
|
| |
|
|
|
|
| |
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes vim/vim#5532)
https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099
|
| |
|
|
|
|
|
|
|
| |
typed
Problem: Record buffer wrong if character in Select mode was not typed.
Solution: Only delete the tail from the record buffer if the character was
typed. (closes vim/vim#9650)
https://github.com/vim/vim/commit/fbf4f1ca159028382eaeb3bfc31bb6bb96dbb67a
|
| |
|
|
|
|
|
| |
Problem: Crash when recording and using Select mode.
Solution: When deleting the last recorded character check there is something
to delete.
https://github.com/vim/vim/commit/a4bc2dd7cccf5a4a9f78b58b6f35a45d17164323
|
| | |
|
| |\
| |
| | |
vim-patch:8.1.2302,8.2.{3936,4112}
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Not all register related code is covered by tests.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5301)
https://github.com/vim/vim/commit/54c8d229f54e36e89fcd5d84e523fd894d018024
Can't be fully ported until "set clipboard=autoselect,autoselectplus" is
re-implemented for Test_clipboard_regs (and last visual selection to PRIMARY
selection works).
|
| |/
|
|
|
|
|
|
| |
Problem: When recording a change in Select mode the first typed character
appears twice.
Solution: When putting the character back into typeahead remove it from
recorded characters. (closes vim/vim#9462)
https://github.com/vim/vim/commit/c88e977862ba6477a3b5b28706c45f96069a3073
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: No suffucient testing for registers.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5296)
Fix that "p" on last virtual column of tab inserts spaces.
https://github.com/vim/vim/commit/6f1f0ca3edf395102ff3109c998d81300c8be3c9
This patch doesn't actually change any behavior in Nvim, because Nvim
always has vartabs feature.
I modified a line in the test because of #6137.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: setreg() does not always clear the register.
Solution: Clear the register if the dict argument is empty. (Andy Massimino,
closes vim/vim#3370)
https://github.com/vim/vim/commit/7633fe595e6a27d6bb376548ff89f0dcce481600
Do not getdigits for block_len strictly. For example, a user could
previously abort Nvim using:
:call setreg("0", "abort!", "\<C-V>999999999999999999")
or, after v8.2.0924's port:
:call setreg("0", #{regcontents: ["abort!"],
\ regtype: "\<C-V>999999999999999999"})
Instead, default to 0 so block_len is -1, which acts like the selection
width was omitted (defaults to length of longest line).
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes vim/vim#3370)
https://github.com/vim/vim/commit/bb861e293e0170455184079fa537278754b07911
Cherry-pick eval.txt changes for getreginfo() from:
https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404
https://github.com/vim/vim/commit/207f009326c8f878defde0e594d7d9ed9860106e
|
| |
|
|
|
|
|
|
|
| |
like a pattern (#12784)"
This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145.
Unfortunately, that commit stalled the Windows builds on GHA and likely requires
other patches to work properly.
|
| |
|
|
|
|
|
|
| |
pattern (#12784)
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes vim/vim#4424, closes vim/vim#696)
https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
|
| |
|
|
|
|
|
|
|
| |
Problem: Typos and small problems in test files.
Solution: Small improvements.
https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5
Include unmerged patch v8.0.1200 changes
because this patch depends on `set beloff=all` removed in 1 test.
|
| |
|
|
|
|
| |
Problem: No test for the "recording @x" message.
Solution: Add a test. (Dominique Pellé, closes vim/vim#6427)
https://github.com/vim/vim/commit/11a5b19a8ce543c258832ac53d771047f4e1061d
|
| |
|
|
|
|
|
|
| |
Problem: Cannot see the selection type in :reg output. (Ayberk Aydın)
Solution: Add c/l/b. (Christian Brabandt, closes vim/vim#5110, closes vim/vim#4546)
https://github.com/vim/vim/commit/3691f1ee72b68a47e6dcc75927bfa46565cf3614
Patch v8.1.0999 is not ported so ":registers" does not omit register 1.
|
| |
|
|
|
|
| |
Problem: Assert arguments order reversed.
Solution: Swap the arguments. (Christian Brabandt, closes vim/vim#7531)
https://github.com/vim/vim/commit/9f63a65f22b6a899925ba15adbb711e86251114e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot repeat a command that uses the small delete register.
Solution: Store the register name instead of the contents. (Christian
Brabandt, closes vim/vim#7527)
https://github.com/vim/vim/commit/032a2d050b82b146d70d6ff714838ee62c07d8ad
N/A patches for version.c:
vim-patch:8.2.2192: Codecov on github actions fails
Problem: Codecov on github actions fails.
Solution: Revert to codecov script. (Ozaki Kiichi, closes vim/vim#7529)
https://github.com/vim/vim/commit/e5492609b3a153c631f1d600ecdef1af1c913bef
|
| |
|
|
|
|
|
| |
Problem: v:register is not cleared after an operator was executed.
Solution: Clear v:register after finishing an operator (Andy Massimino,
closes vim/vim#5305)
https://github.com/vim/vim/commit/cc613031b96f1cfa5a184253e745c26f1def9be4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Cursor off by one with block paste while 'virtualedit' is "all".
Solution: Adjust condition. (Hugo Gualandi, closes vim/vim#6430)
https://github.com/vim/vim/commit/ef85a9b2d9e992ab594e089af3883e381cfad426
N/A patches for version.c:
vim-patch:8.2.1114: terminal test sometimes times out
Problem: Terminal test sometimes times out.
Solution: Split the test in two parts.
https://github.com/vim/vim/commit/1112c0febb509d0cb219f3a2479fd36833507167
vim-patch:8.2.1171: possible crash when out of memory
Problem: Possible crash when out of memory.
Solution: Check for NULL pointer. (Dominique Pellé, closes vim/vim#6432)
https://github.com/vim/vim/commit/58bb61cf5ee008254eb331bc3574eac87d2dcc4a
vim-patch:8.2.1172: error messages when doing "make clean" in doc or tee
Problem: Error messages when doing "make clean" in the runtime/doc or
src/tee directories.
Solution: Use "rm -f".
https://github.com/vim/vim/commit/08fc48492acc07259d91293df12bf66447819443
vim-patch:8.2.1173: tee doesn't build on some systems
Problem: Tee doesn't build on some systems.
Solution: Include header files. (Dominique Pelle, closes vim/vim#6431)
https://github.com/vim/vim/commit/40043152924827fa8c4064951065ff507c610164
vim-patch:8.2.1177: terminal2 test sometimes hangs in the GUI
Problem: Terminal2 test sometimes hangs in the GUI.
Solution: Move some tests to other files to further locate the problem.
Set the GUI to a fixed screen size.
https://github.com/vim/vim/commit/18aa13d13b69c090dbe186cd4939896488c433e3
vim-patch:8.2.1179: Test_termwinscroll() sometimes hangs in the GUI
Problem: Test_termwinscroll() sometimes hangs in the GUI.
Solution: Skip the test in the GUI.
https://github.com/vim/vim/commit/f65927fc8d0102ef2d0fea776381caedf4c51e32
vim-patch:8.2.1180: build failure in small version
Problem: Build failure in small version.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/1e624c912dff19e889c9398b56fe537952c02fef
vim-patch:8.2.1181: json code not fully tested
Problem: Json code not fully tested.
Solution: Add more test coverage. (Dominique Pellé, closes vim/vim#6433)
https://github.com/vim/vim/commit/21e5bdd271fa4d0ff4511cf74b160315e1d17cff
|
| |
|
|
|
| |
Problem: Registers are not sufficiently tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes vim/vim#5288)
https://github.com/vim/vim/commit/71136db1bfbc67c2e55f8070cdf0a241c643e45b
|
| |
|
|
|
|
| |
Problem: Not restoring t_F2 in registers test.
Solution: Assign to &t_F2 instead of t_F2. (Andy Massimino, closes vim/vim#4434)
https://github.com/vim/vim/commit/a5e44600ebb02057fb15ae7a2f15c5cae8f63bcc
|
| |
|
|
|
|
| |
Problem: Test fails because t_F2 is not set.
Solution: Add try-catch.
https://github.com/vim/vim/commit/55d81cd2a15d93dba89b2ff1c988d82789919b6b
|
| |
|
|
|
|
|
| |
(#10155)
Problem: Playing back recorded key sequence mistakes key code.
Solution: Insert a <Nop> after the <Esc>. (closes vim/vim#4068)
https://github.com/vim/vim/commit/6edbbd8114320089c0e603e033775d9dd34cb10a
|
| |
|
|
|
|
| |
Problem: No test for :registers command.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2880)
https://github.com/vim/vim/commit/7ce551f317a0bb92f8c0521e96325301e2d220ca
|
|
|
Problem: The message for yanking doesn't indicate the register.
Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
closes vim/vim#1803, closes vim/vim#1809)
https://github.com/vim/vim/commit/e45deb79978677cb41f1477ba4140bccff658fd1
|