aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:83799a7b7Daniel Hahler2019-06-08
| | | | | | | | 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
* Merge #10114 from erw7/vim-8.1.1270Justin M. Keyes2019-06-07
|\ | | | | vim-patch:8.1.{0629,1270,1271,1283,1288,1289,1350,1375,1390,1475}
| * vim-patch:8.1.1475: search string not displayed when 'rightleft' is seterw72019-06-07
| | | | | | | | | | | | Problem: Search string not displayed when 'rightleft' is set. Solution: Clear the right part of the old text. (closes vim/vim#4488, closes vim/vim#4489) https://github.com/vim/vim/commit/db294adc65d73ffa5cdf3d0ab45ccbf05b965414
| * vim-patch:8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt oftenerw72019-06-07
| | | | | | | | | | | | | | Problem: Without "TS" in 'shortmess' get a hit-enter prompt often. Solution: Always truncate the search message. Also avoid putting it in the message history. (closes vim/vim#4413) https://github.com/vim/vim/commit/984f031fb02fe301a8dbf8a35b871c9f60b8f61e
| * vim-patch:8.1.1390: search stats are off when using count or offseterw72019-06-05
| | | | | | | | | | | | Problem: Search stats are off when using count or offset. Solution: Recompute the stats when needed. (Masato Nishihata, closes vim/vim#4410) https://github.com/vim/vim/commit/8f46e4c4bde13fd5ad68a6670b79cc462b65fbec
| * vim-patch:8.1.1350: "W" for wrapping not shown when more than 99 matcheserw72019-06-05
| | | | | | | | | | | | Problem: "W" for wrapping not shown when more than 99 matches. Solution: Adjust check for length. (Masato Nishihata, closes vim/vim#4388) https://github.com/vim/vim/commit/dc6855af974f2ef553aceee619fadcb858e25d39
| * vim-patch:8.1.1288: search stats don't show for mapped commanderw72019-06-05
| | | | | | | | | | | | | | Problem: Search stats don't show for mapped command. Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/9ce3fa828d238ff28d57b0092bb37575e20010ec
| * vim-patch:8.1.1283: delaying half a second after the top-bot messageerw72019-06-05
| | | | | | | | | | | | Problem: Delaying half a second after the top-bot message. Solution: Instead of the delay add "W" to the search count. https://github.com/vim/vim/commit/c7a10b35de70471519d104a74d402c63557f0512
| * vim-patch:8.1.1270: cannot see current match positionerw72019-06-05
| | | | | | | | | | | | | | Problem: Cannot see current match position. Solution: Show "3/44" when using the "n" command and "S" is not in 'shortmess'. (Christian Brabandt, closes vim/vim#4317) https://github.com/vim/vim/commit/9dfa3139198b38b28673e251a3756430065914e9
| * vim-patch:8.1.0629: "gn" selects the wrong text with a multi-line matcherw72019-06-04
| | | | | | | | | | | | Problem: "gn" selects the wrong text with a multi-line match. Solution: Get the end position from searchit() directly. (closes vim/vim#3695) https://github.com/vim/vim/commit/5d24a2257e597fd752e33b2c1e9c19cf9114a517
* | vim-patch:8.1.0060: crash when autocommands delete the current bufferJan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | Problem: Crash when autocommands delete the current buffer. (Dominique Pelle) Solution: Check that autocommands don't change the buffer. https://github.com/vim/vim/commit/600323b4ef51a58a8e800d8ca469383a3c911db7
* | vim-patch:8.0.1784: gvim test gets stuck in dialogJan Edmund Lazo2019-06-06
| | | | | | | | | | | | Problem: Gvim test gets stuck in dialog. Solution: Rename the file used. https://github.com/vim/vim/commit/bc7845da935c0707e119812077cecd6cfb5a65e2
* | vim-patch:8.0.1669: :vimgrep may add entries to the wrong quickfix listJan Edmund Lazo2019-06-06
| | | | | | | | | | | | Problem: :vimgrep may add entries to the wrong quickfix list. Solution: Use the list identifier. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e1bb879f49665bb828197135b80aaf72cc190073
* | vim-patch:8.0.1414: accessing freed memory in :lfile.Jan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | Problem: Accessing freed memory in :lfile. Solution: Get the current window after executing autocommands. (Yegappan Lakshmanan, closes vim/vim#2473) https://github.com/vim/vim/commit/14a4deb064610c30a50f00d524dde9b3292aad59
* | vim-patch:8.0.1412: using free memory using setloclist()Jan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | Problem: Using free memory using setloclist(). (Dominique Pelle) Solution: Mark location list context as still in use when needed. (Yegappan Lakshmanan, closes vim/vim#2462) https://github.com/vim/vim/commit/12237448499aaeb8c4f2be7a1deda60c0f160627
* | vim-patch:8.0.1384: not enough quickfix help; confusing winidJan Edmund Lazo2019-06-06
| | | | | | | | | | | | | | | | | | Problem: Not enough quickfix help; confusing winid. Solution: Add more examples in the help. When the quickfix window is not present, return zero for getqflist() with 'winid'. Add more tests for jumping to quickfix list entries. (Yegappan Lakshmanan, closes vim/vim#2427) https://github.com/vim/vim/commit/74240d3febd1e3bc7cf086c647c9348b20716c33
* | vim-patch:8.1.0002: :stopinsert changes the message positionJan Edmund Lazo2019-06-03
| | | | | | | | | | | | | | Problem: :stopinsert changes the message position. Solution: Save and restore msg_col and msg_row in clearmode(). (Jason Franklin) https://github.com/vim/vim/commit/2abad54cede7c33f090fbde19a9a3eb3dbf78e53
* | vim-patch:8.1.0804: crash when setting v:errmsg to empty listJan Edmund Lazo2019-06-03
| | | | | | | | | | | | Problem: Crash when setting v:errmsg to empty list. (Jaon Franklin) Solution: Separate getting value and assigning result. https://github.com/vim/vim/commit/4b9e91f0ba02192e4592a5c4a9bdcdd6e9efeb5e
* | vim-patch:8.0.1518: error messages suppressed after ":silent! try"Jan Edmund Lazo2019-06-03
|/ | | | | | Problem: Error messages suppressed after ":silent! try". (Ben Reilly) Solution: Restore emsg_silent before executing :try. (closes vim/vim#2531) https://github.com/vim/vim/commit/2be57331524e93da52a0663f4a334d21c05123bb
* oldtests: set laststatus=1Jan Edmund Lazo2019-06-03
|
* vim-patch:8.1.0571: non-silent execute() resets display column to zeroJan Edmund Lazo2019-06-03
| | | | | | Problem: Non-silent execute() resets display column to zero. Solution: Keep the display column as-is. https://github.com/vim/vim/commit/446e7a3cd36b2de7d559f167eb5795d1e1cd3ddb
* vim-patch:8.1.0569: execute() always resets display column to zeroJan Edmund Lazo2019-06-03
| | | | | | Problem: Execute() always resets display column to zero. (Sha Liu) Solution: Don't reset it to zero, restore the previous value. (closes vim/vim#3669) https://github.com/vim/vim/commit/10ccaa17ec8b2be1132fd19059e1cd5fb5c902c4
* Merge #10086 'vim-patch:8.1.{902,1114}'Justin M. Keyes2019-06-02
|\
| * vim-patch:8.1.1114: confusing overloaded operator "." for string concatenationerw72019-05-29
| | | | | | | | | | | | Problem: Confusing overloaded operator "." for string concatenation. Solution: Add ".." for string concatenation. Also "let a ..= b". https://github.com/vim/vim/commit/0f248b006c2574abc00c9aa7886d8f33620eb822
| * vim-patch:8.1.0902: incomplete set of assignment operatorserw72019-05-29
| | | | | | | | | | | | Problem: Incomplete set of assignment operators. Solution: Add /=, *= and %=. (Ozaki Kiichi, closes vim/vim#3931) https://github.com/vim/vim/commit/ff697e6cef8ced7717a21fd525ab3200b2f1724f
* | vim-patch:8.1.1436: writefile test fails when run under /tmpJan Edmund Lazo2019-06-01
|/ | | | | | Problem: Writefile test fails when run under /tmp. Solution: Adjust 'backupskip. (Kenta Sato, closes vim/vim#4462) https://github.com/vim/vim/commit/c28cb5b16df76353a5995fda3b9341612b8630c1
* vim-patch:8.1.1077: reg_executing() is reset by calling input()Jan Edmund Lazo2019-05-26
| | | | | | | Problem: reg_executing() is reset by calling input(). Solution: Implement a more generic way to save and restore reg_executing. (Ozaki Kiichi, closes vim/vim#4192) https://github.com/vim/vim/commit/9a2c091a748b380efafe60583698c9afcaab1e46
* vim-patch:8.1.0995: a getchar() call resets the reg_executing() resultJan Edmund Lazo2019-05-26
| | | | | | | Problem: A getchar() call while executing a register resets the reg_executing() result. Solution: Save and restore reg_executing. (closes vim/vim#406 https://github.com/vim/vim/commit/f0fab3046c2b5c4115979347464a802853011220
* vim-patch:8.1.0020: cannot tell whether a register is executing or recordingJan Edmund Lazo2019-05-26
| | | | | | | | | Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes vim/vim#2745) Rename the global variables for consistency. Store the register name in reg_executing. https://github.com/vim/vim/commit/0b6d911e5de1a1c10a23d4c2ee1b0275c474a2dd
* Skipping Test_sign_memfailures (unsupported memory checks)Andrej Zieger2019-05-26
|
* vim-patch:8.1.0767: when deleting lines at the bottom signs are misplacedAndrej Zieger2019-05-26
| | | | | | | 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
* vim-patch:8.1.0717: there is no function for the ":sign jump" commandAndrej Zieger2019-05-26
| | | | | | 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
* vim-patch:8.1.0702: ":sign place" only uses the current bufferAndrej Zieger2019-05-26
| | | | | | | | 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
* vim-patch:8.1.0701: sign message not translated and inconsistent spacingAndrej Zieger2019-05-26
| | | | | | | 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
* vim-patch:8.1.0697: ":sign place" requires the buffer argumentAndrej Zieger2019-05-26
| | | | | | | 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
* vim-patch:8.1.0679: sign functions do not take buffer argument as documentedAndrej Zieger2019-05-26
| | | | | | 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
* vim-patch:8.1.0669: the ex_sign() function is too longAndrej Zieger2019-05-26
| | | | | | | 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
* vim-patch:8.1.0660: sign_cleanup() may leak memoryAndrej Zieger2019-05-26
| | | | | | | 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
* vim-patch:8.1.0658: deleting signs and completion for :sign is insufficientAndrej Zieger2019-05-26
| | | | | | | | | | 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
* vim-patch:8.1.0644: finding next sign ID is inefficientAndrej Zieger2019-05-26
| | | | | | 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
* vim-patch:8.1.0632: using sign group names is inefficientAndrej Zieger2019-05-26
| | | | | | | | 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
* vim-patch:8.1.0614: placing signs can be complicatedAndrej Zieger2019-05-26
| | | | | | | | 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
* vim-patch:8.1.0307: there is no good way to get the window layoutJan Edmund Lazo2019-05-26
| | | | | | 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
* test/old: remove duplicates, run test_tabpage.vimJan Edmund Lazo2019-05-25
|
* vim-patch:8.1.0751: some regexp errors are not testedJan Edmund Lazo2019-05-25
| | | | | | Problem: Some regexp errors are not tested. Solution: Add a test function. https://github.com/vim/vim/commit/6057ed4720eaa1d546bbd234e6957ec0163e0e9b
* vim-patch:8.1.0547: modeline test with keymap still failsJan Edmund Lazo2019-05-25
| | | | | | 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
* vim-patch:8.1.0546: modeline test with keymap failsJan Edmund Lazo2019-05-25
| | | | | | Problem: Modeline test with keymap fails. Solution: Check that the keymap feature is available. https://github.com/vim/vim/commit/4ace6ab7e72151d78f1563b23b498ed20fa00211
* vim-patch:8.1.0506: modeline test fails when run by rootJan Edmund Lazo2019-05-25
| | | | | | | | | | 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
* vim-patch:8.1.0206: duplicate test function nameJan Edmund Lazo2019-05-25
| | | | | | Problem: Duplicate test function name. Solution: Rename both functions. https://github.com/vim/vim/commit/cd96eef3a869557bd3d2d4497861d87cb525db06
* vim-patch:8.1.0205: invalid memory access with invalid modelineJan Edmund Lazo2019-05-25
| | | | | | 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