| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
Problem: When deleting lines at the bottom signs are misplaced.
Solution: Properly update the line number of signs at the end of a buffer
after a delete/undo operation. (Yegappan Lakshmanan, closes vim/vim#3798)
https://github.com/vim/vim/commit/c771bf901622064dc27421b04853e16b6914a295
|
| |
|
|
|
|
| |
Problem: There is no function for the ":sign jump" command.
Solution: Add the sign_jump() function. (Yegappan Lakshmanan, closes vim/vim#3780)
https://github.com/vim/vim/commit/6b7b7190aa9e5c4f51bceaebf9275aa5097cfea1
|
| |
|
|
|
|
|
|
| |
Problem: ":sign place" only uses the current buffer.
Solution: List signs for all buffers when there is no buffer argument.
Fix error message for invalid buffer name in sign_place().
(Yegappan Lakshmanan, closes vim/vim#3774)
https://github.com/vim/vim/commit/b589f95b38ddd779d7e696abb0ea011dc92ea903
|
| |
|
|
|
|
|
| |
Problem: Sign message not translated and inconsistent spacing.
Solution: Add _() for translation. Add a space. (Ken Takata) Also use
MSG_BUF_LEN instead of BUFSIZ.
https://github.com/vim/vim/commit/d730c8e2974609034016ca66db09d2ef78784343
|
| |
|
|
|
|
|
| |
Problem: ":sign place" requires the buffer argument.
Solution: Make the argument optional. Also update the help and clean up the
sign test. (Yegappan Lakshmanan, closes vim/vim#3767)
https://github.com/vim/vim/commit/b328cca2548936c5f68fff683049a929882f5011
|
| |
|
|
|
|
| |
Problem: Sign functions do not take buffer argument as documented.
Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes vim/vim#3755)
https://github.com/vim/vim/commit/2cbc1a02cb72916dfdbd0d307512c7c3fb766edf
|
| |
|
|
|
|
|
| |
Problem: The ex_sign() function is too long.
Solution: Refactor the function. Add a bit more testing. (Yegappan
Lakshmanan, closes vim/vim#3745)
https://github.com/vim/vim/commit/a355652ea5b0c1633e8126ad9af2d970e05f4e1a
|
| |
|
|
|
|
|
| |
Problem: sign_cleanup() may leak memory.
Solution: Free the group name before returning. Add a few more tests.
(Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1ea88a3e12e5f6afc5353cd0d6e6d4f4a89ced94
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Deleting signs and completion for :sign is insufficient.
Solution: Add deleting signs in a specified or any group from the current
cursor location. Add group and priority to sign command
completion. Add tests for different sign unplace commands. Update
help text. Add tests for sign jump with group. Update help for
sign jump. (Yegappan Lakshmanan, closes vim/vim#3731)
https://github.com/vim/vim/commit/7d83bf4f2b785b46d87c7bc376fc9d0a862af782
|
| |
|
|
|
|
| |
Problem: Finding next sign ID is inefficient.
Solution: Add next_sign_id. (Yegappan Lakshmanan, closes vim/vim#3717)
https://github.com/vim/vim/commit/6436cd83f90a0efc326798792e49e8ff96a43dce
|
| |
|
|
|
|
|
|
| |
Problem: Using sign group names is inefficient.
Solution: Store group names in a hash table and use a reference to them.
Also remove unnecessary use of ":exe" from the tests. (Yegappan
Lakshmanan, closes vim/vim#3715)
https://github.com/vim/vim/commit/7a2d9892b7158edf8dc48e9bcaaae70a40787b37
|
| |
|
|
|
|
|
|
| |
Problem: Placing signs can be complicated.
Solution: Add functions for defining and placing signs. Introduce a group
name to avoid different plugins using the same signs. (Yegappan
Lakshmanan, closes vim/vim#3652)
https://github.com/vim/vim/commit/162b71479bd4dcdb3a2ef9198a1444f6f99e6843
|
| |
|
|
|
|
| |
Problem: There is no good way to get the window layout.
Solution: Add the winlayout() function. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/0f6b4f06dece71487a6d8546c50de775d9c8c287
|
| | |
|
| |
|
|
|
|
| |
Problem: Some regexp errors are not tested.
Solution: Add a test function.
https://github.com/vim/vim/commit/6057ed4720eaa1d546bbd234e6957ec0163e0e9b
|
| |
|
|
|
|
| |
Problem: Modeline test with keymap still fails.
Solution: Check that the keymap feature is available for the failure assert.
https://github.com/vim/vim/commit/3067a4dd0d768d1e4a47cf3c100f3e2b462717d7
|
| |
|
|
|
|
| |
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
https://github.com/vim/vim/commit/4ace6ab7e72151d78f1563b23b498ed20fa00211
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Modeline test fails when run by root.
Solution: Set 'modeline' for the test. (James McCoy, closes vim/vim#3592)
https://github.com/vim/vim/commit/9691f82f862ed18c2e3e48f9d2cd902bb947f803
N/A patches:
vim-patch:8.1.0208: file left behind after running individual test
|
| |
|
|
|
|
| |
Problem: Duplicate test function name.
Solution: Rename both functions.
https://github.com/vim/vim/commit/cd96eef3a869557bd3d2d4497861d87cb525db06
|
| |
|
|
|
|
| |
Problem: Invalid memory access with invalid modeline.
Solution: Pass pointer limit. Add a test. (closes vim/vim#3241)
https://github.com/vim/vim/commit/9cf4b5005f12ce1d6692266140bdda05d0312d79
|
| |
|
|
|
| |
Problem: ":=" command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3859)
https://github.com/vim/vim/commit/99531a7604ce89ba82f41cdb519669abb61f3df0
|
| | |
|
| |
|
|
|
|
| |
Problem: Cscope test fails when using shadow directory.
Solution: Resolve symlink in Vim. (James McCoy, closes vim/vim#3364)
https://github.com/vim/vim/commit/320bf2d85e9e2924d896b3072979598c954922e7
|
| |
|
|
|
|
| |
Problem: No test for ":cscope add".
Solution: Add a test. (Dominique Pelle, closes vim/vim#3212)
https://github.com/vim/vim/commit/2196bca7377ff245866cc3cee65b0adb48432ac3
|
| |
|
|
|
|
|
| |
Problem: Statusline test could fail in large terminal.
Solution: Make the test work on a huge terminal. (Dominique Pelle,
closes vim/vim#4255)
https://github.com/vim/vim/commit/316c16797a0baee8f4bced2235b783b21fbbea65
|
| |
|
|
|
|
| |
Problem: Skipping empty statusline groups is not correct.
Solution: Also set group_end_userhl. (itchyny)
https://github.com/vim/vim/commit/235dddf1f4afe3a40047dbf2aca1bd177b7be18b
|
| |
|
|
|
|
|
| |
Problem: 'statusline' drops empty group with highlight change.
Solution: Do not drop an empty group if it changes highlighting. (Marius
Gedminas, closes vim/vim#2228)
https://github.com/vim/vim/commit/6b89dbb55f84c485310c8c9e094dbafe3ecbace6
|
| |
|
|
|
|
|
| |
Problem: "[p" in Visual mode puts in wrong line.
Solution: Call nv_put() instead of duplicating the functionality.
(closes vim/vim#4408)
https://github.com/vim/vim/commit/0ab190c05706b1c72e6e2ca4d990febfa81cf886
|
| |
|
|
|
|
| |
Problem: ":vert options" does not make a vertical split.
Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata,
closes vim/vim#4401)
https://github.com/vim/vim/commit/e0b5949a3b28be9940bb8a46b2579e960100b83b
|
| |
|
|
|
|
|
| |
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: Getchangelist() does not use argument as bufname().
Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes vim/vim#2641)
https://github.com/vim/vim/commit/341a64c9cabff08e4a7dc8cd932a598e12134457
|
| |
|
|
|
|
|
| |
Problem: Getting the list of changes is not easy.
Solution: Add the getchangelist() function. (Yegappan Lakshmanan,
closes vim/vim#2634)
https://github.com/vim/vim/commit/07ad816525da67cab3c0db21d1286d221dbc7477
|
| |
|
|
|
|
| |
Problem: Test 37 is old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes vim/vim#4398)
https://github.com/vim/vim/commit/999dc14644b8a9530ce0da22e90ca402c95c9c5a
|
| |
|
|
|
|
|
| |
Problem: Index in getjumplist() may be wrong. (Epheien)
Solution: Call cleanup_jumplist() earlier. (Yegappan Lakshmanan,
closes vim/vim#3941)
https://github.com/vim/vim/commit/57ee2b6e0b5b730d12ee9db00a8e2a577df9e374
|
| |
|
|
|
|
| |
Problem: Getjumplist() returns duplicate entries. (lacygoill)
Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/a7e18d237f817637815f0de44b08df1e0ca0f4f9
|
| |
|
|
|
|
| |
Problem: Getting the jump list requires parsing the output of :jumps.
Solution: Add getjumplist(). (Yegappan Lakshmanan, closes vim/vim#2609)
https://github.com/vim/vim/commit/4f50588ba336e7f086a72c53f5688c2494fc34b3
|
| |
|
|
|
|
| |
Problem: Tests fail when run under valgrind.
Solution: Increase waiting times.
https://github.com/vim/vim/commit/9d18961323a2a5c3b609c98ce0d78613c71f3532
|
| |
|
|
|
|
| |
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
|
| |\
| |
| | |
vim-patch:8.1.{1325,1345,1348,1349}
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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: Running tests may cause the window to move.
Solution: Correct the reported window position for the offset with the
position after ":winpos". Works around an xterm bug.
https://github.com/vim/vim/commit/f8191c5f07c650b75b85c5a5b3d000fd5cae1643
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Cannot build with +eval but without +channel and +timers. (John
Marriott)
Solution: Adjust #ifdef for get_callback().
https://github.com/vim/vim/commit/97b0075b0d733cc58c29247b09e7887b9991d7bf
|
| | |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
| |
Also, don't compute load factor unless load_adjust() was called, it
slows down the test suite.
ref #9292
|
| |
|
|
|
|
|
|
| |
Problem: "extends" from 'listchars' is used when 'list' is off. (Hiroyuki
Yoshinaga)
Solution: Only use the "extends" character when 'list' is on. (Hirohito
Higashi, closes vim/vim#4360)
https://github.com/vim/vim/commit/a5c6a0b6c71ae11078cbf6f5e18ce49a0468a117
|
| |
|
|
|
|
| |
Problem: When 'listchars' only contains "nbsp:X" it does not work.
Solution: Set extra_check when lcs_nbsp is set. (Ralf Schandl, closes vim/vim#3889)
https://github.com/vim/vim/commit/895d966e341c187ffcf9da88dba193cbfcebf000
|
| |
|
|
|
|
|
| |
Problem: A BufReadPre autocommand may cause the cursor to move.
Solution: Restore the cursor position after executing the autocommand,
unless the autocommand moved it. (Christian Brabandt,
closes vim/vim#4302, closes vim/vim#4294)
https://github.com/vim/vim/commit/a68e59590905da9b4448ff1fcac929ad1a18da9e
|
| |
|
|
|
|
|
| |
Problem: tagfiles() can have duplicate entries.
Solution: Simplify the filename to make checking for duplicates work better.
Add a test. (Dominique Pelle, closes vim/vim#2979)
https://github.com/vim/vim/commit/46577b5e5445c4aaa1e7ae1764373d11dae71663
|
| | |
|