aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_quickfix.vim
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.2.1599: missing line end when skipping a long line with :cgetfileJan Edmund Lazo2020-10-07
| | | | | | | | | | | | Problem: Missing line end when skipping a long line with :cgetfile. Solution: Fix off-by-one error. (closes vim/vim#6870) https://github.com/vim/vim/commit/59941cbd8035415d68683edc4e571306b10669ad
* | vim-patch:8.1.2401: :cexpr does not handle | in expressionJan Edmund Lazo2020-10-06
| | | | | | | | | | | | Problem: :cexpr does not handle | in expression. Solution: Remove EX_TRLBAR and set nextcmd pointer. https://github.com/vim/vim/commit/88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed
* | vim-patch:8.1.2310: no proper test for directory changes in quickfixJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | Problem: No proper test for directory changes in quickfix. Solution: Add a test that uses multiple directories. (Yegappan Lakshmanan, closes vim/vim#5230) https://github.com/vim/vim/commit/d8a8c4ca089eaaf7934c0f2b3be676df5a4c0248
* | vim-patch:8.2.1775: MS-Windows: adding a long quickfix list is slow (#13019)Jan Edmund Lazo2020-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.1775: MS-Windows: adding a long quickfix list is slow Problem: MS-Windows: adding a long quickfix list is slow. Solution: Shorten the buffer name only for the first entry. (Yegappan Lakshmanan, closes vim/vim#7039, closes vim/vim#7033) https://github.com/vim/vim/commit/8ec92c977976d9e9225183e36a80e6b0cdbf1f51 N/A patches for version.c: vim-patch:8.1.2226: cannot use system copy/paste in non-xterm terminals Problem: Cannot use system copy/paste in non-xterm terminals. Solution: Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim. https://github.com/vim/vim/commit/5b418992cf254137fde2a14d7066fbea5afddb28 vim-patch:8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window Problem: Cannot use CTRL-W <Down> to move out of a terminal window. Solution: Use special_to_buf() instead of mb_char2bytes(). (closes vim/vim#7045) https://github.com/vim/vim/commit/f43e7ac4eee22dbb26fc069ec9a3d1598ec8dfe9 vim-patch:8.2.1774: GTK: hang when forced to exit Problem: GTK: hang when forced to exit. Solution: Do not clean up "mainwin" when really_exiting is set. (Zdenek Dohnal, closes vim/vim#7042) https://github.com/vim/vim/commit/32fbc4f247a31e35ade0939542e11aa033a2554f vim-patch:8.2.1776: filetype.vim may be loaded twice Problem: Filetype.vim may be loaded twice. Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz, closes vim/vim#7049) https://github.com/vim/vim/commit/17bb4d4607a95e13e913519af106f1bf8b26c178
* | vim-patch:8.1.0499: :2vimgrep causes an ml_get errorJan Edmund Lazo2020-09-13
|/ | | | | | Problem: :2vimgrep causes an ml_get error Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/1c29943416207e21abbc790eaf563b36789170c2
* vim-patch:8.1.2340: quickfix test fails under valgrind and asanJan Edmund Lazo2020-08-02
| | | | | | | | Problem: Quickfix test fails under valgrind and asan. Solution: Make sure long line does not overflow IObuff. (Dominique Pelle, closes vim/vim#5263) Put back fix for large terminals. (Yegappan Lakshmanan, closes vim/vim#5264) https://github.com/vim/vim/commit/a106e6cde682bda4ad10ed745acb51975fcb02e0
* vim-patch:8.2.0381: using freed memory with :lvimgrep and autocommandJan Edmund Lazo2020-04-13
| | | | | | | Problem: Using freed memory with :lvimgrep and autocommand. (extracted from POC by Dominique Pelle) Solution: Avoid deleting a dummy buffer used in a window. (closes vim/vim#5777) https://github.com/vim/vim/commit/2573af3519ad062ddad647b97e32090f106f2ac1
* vim-patch:8.2.0241: crash when setting 'buftype' to "quickfix"Jan Edmund Lazo2020-02-16
| | | | | | Problem: Crash when setting 'buftype' to "quickfix". Solution: Check that error list is not NULL. (closes vim/vim#5613) https://github.com/vim/vim/commit/99234f29aa8767f2e71bb1f5db6ee0131bc8e64e
* src/nvim/testdir/test_quickfix.vim: align with Vim (#11502)Daniel Hahler2019-12-02
|
* vim-patch:8.1.2315: switchbuf=uselast #11480Daniel Hahler2019-11-29
| | | | | Problem: Not always using the right window when jumping to an error. Solution: Add the "uselast" flag in 'switchbuf'. (closes vim/vim#1652) https://github.com/vim/vim/commit/539aa6b25eaea91dfd1a175cd053c0f259fa2e58
* vim-patch:8.1.0622: adding quickfix items marks items as valid errors #11373Jan Edmund Lazo2019-11-11
| | | | | | Problem: Adding quickfix items marks items as valid errors. (Daniel Hahler) Solution: Check when items are valid. (Yegappan Lakshmanan, closes vim/vim#3683, closes vim/vim#3633) https://github.com/vim/vim/commit/9752c72f492312acd1c84e673864faed31a3bc97
* Merge PR #11291 from shanesmith/vim-8.1.1256-take2Marco Hinz2019-11-04
|\
| * vim-patch:8.1.1256: cannot navigate through errors relative to the cursorShane Smith2019-10-27
| | | | | | | | | | | | | | Problem: Cannot navigate through errors relative to the cursor. Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan, closes vim/vim#4316) https://github.com/vim/vim/commit/3ff33114d70fc0f7e9c3187c5fec9028f6499cf3
| * vim-patch:8.1.1112: duplicate code in quickfix fileShane Smith2019-10-27
| | | | | | | | | | | | Problem: Duplicate code in quickfix file. Solution: Move code into functions. (Yegappan Lakshmanan, closes vim/vim#4207) https://github.com/vim/vim/commit/87f59b09ea4b9af2712598374a6044f5fa1b54a4
| * vim-patch:8.1.0488: using freed memory in quickfix codeShane Smith2019-10-27
| | | | | | | | | | | | | | Problem: Using freed memory in quickfix code. (Dominique Pelle) Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists until it is safe. (Yegappan Lakshmanan, closes #3538) https://github.com/vim/vim/commit/9f84ded38b62c82a4ee57b54f403b1b185ed8170
| * vim-patch:8.1.0469: too often indexing in qf_lists[]Shane Smith2019-10-27
| | | | | | | | | | | | Problem: Too often indexing in qf_lists[]. Solution: Use a qf_list_T pointer. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/108e7b422b7b59153dd5af1fb75e83fa36ff3db4
| * vim-patch:8.1.0252: quickfix functions are too longShane Smith2019-10-27
| | | | | | | | | | | | Problem: Quickfix functions are too long. Solution: Refactor. (Yegappan Lakshmanan, closes vim/vim#2950) https://github.com/vim/vim/commit/de3b3677f7eace66be454196db0fbf710cfc8c5e
* | vim-patch:8.1.2154: quickfix window height wrong when there is a tablineJan Edmund Lazo2019-10-27
| | | | | | | | | | | | | | Problem: Quickfix window height wrong when there is a tabline. (Daniel Hahler) Solution: Take the tabline height into account. (closes vim/vim#5058) https://github.com/vim/vim/commit/1142a31b8c44c4e7dbf28a83ae52995113b37917
* | vim-patch:8.1.1245: ":copen 10" sets height in full-height windowJan Edmund Lazo2019-10-27
|/ | | | | | | Problem: ":copen 10" sets height in full-height window. (Daniel Hahler) Solution: Don't set the height if the quickfix window is full height. (closes vim/vim#4325) https://github.com/vim/vim/commit/36d502225c3ec5e8b30771d58ee20171ce564b2f
* vim-patch:8.1.2220: :cfile does not abort like other quickfix commandsJan Edmund Lazo2019-10-26
| | | | | | | Problem: :cfile does not abort like other quickfix commands. Solution: Abort when desired. Add tests for aborting. (Yegappan Lakshmanan, closes vim/vim#5121) https://github.com/vim/vim/commit/6a0cc916bd3cd6c2fd88b2972c92ade225603229
* vim-patch:8.1.0859: handle multibyte "%v" in 'errorformat' #11285Jan Edmund Lazo2019-10-25
| | | | | Problem: "%v" in 'errorformat' does handle multi-byte characters. Solution: Handle multi-byte characters. (Yegappan Lakshmanan, closes vim/vim#3700) https://github.com/vim/vim/commit/c45eb770a5988734ff2c572e5e2ce307158c33c8
* vim-patch:8.1.0345: cannot get the window id associated with the location listJan Edmund Lazo2019-10-23
| | | | | | | Problem: Cannot get the window id associated with the location list. Solution: Add the "filewinid" argument to getloclist(). (Yegappan Lakshmanan, closes vim/vim#3202) https://github.com/vim/vim/commit/c9cc9c78f21caba7ecb5c90403df5e19a57aa96a
* vim-patch:8.1.1585: :let-heredoc does not trim enoughJurica Bradaric2019-10-13
| | | | | | | Problem: :let-heredoc does not trim enough. Solution: Trim indent from the contents based on the indent of the first line. Use let-heredoc in more tests. https://github.com/vim/vim/commit/e7eb92708ec2092a2fc11e78703b5dcf83844412
* vim-patch:8.1.1362: code and data in tests can be hard to readJurica Bradaric2019-10-07
| | | | | | Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400) https://github.com/vim/vim/commit/c79745a82faeb5a6058e915ca49a4c69fa60ea01
* vim-patch:8.1.0315: helpgrep with language doesn't work properlyJan Edmund Lazo2019-10-01
| | | | | | Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara) Solution: Check for the language earlier. (Hirohito Higashi) https://github.com/vim/vim/commit/c631f2df624954184509df49479d52ad7fe5233b
* vim-patch:8.0.1754: ex_helpgrep() is too long #11084Jan Edmund Lazo2019-09-23
| | | | | Problem: ex_helpgrep() is too long. Solution: Refactor the function. (Yegappan Lakshmanan, closes vim/vim#2766) https://github.com/vim/vim/commit/2225ebb48644f3924311b8df02a1319ab7675d42
* vim-patch:8.1.0289: cursor moves to wrong column after quickfix jumpJan Edmund Lazo2019-09-14
| | | | | | Problem: Cursor moves to wrong column after quickfix jump. Solution: Set the curswant flag. (Andy Massimino, closes vim/vim#3331) https://github.com/vim/vim/commit/2dfcef4c08a3371e2126504bea00b274f937a840
* vim-patch:8.1.0259: no test for fixed quickfix issueJan Edmund Lazo2019-09-13
| | | | | | Problem: No test for fixed quickfix issue. Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3f347e4716c44cf6458be407e712e3d708d82580
* vim-patch:8.1.0145: test with grep is failing on MS-WindowsJan Edmund Lazo2019-09-04
| | | | | | Problem: Test with grep is failing on MS-Windows. Solution: Skip the test. https://github.com/vim/vim/commit/851332ea9cdabf24980a7f7c293da81fa990f864
* vim-patch:8.0.1844: superfluous quickfix code, missing examplesJan Edmund Lazo2019-09-04
| | | | | | | Problem: Superfluous quickfix code, missing examples. Solution: Remove unneeded code. Add a few examples. Add a bit more testing. (Yegappan Lakshmanan, closes vim/vim#2916) https://github.com/vim/vim/commit/78ddc06bdd5c59cffdbb61eed7dcb5dcc4a17f19
* vim-patch:8.0.1752: qf_set_properties() is to longJan Edmund Lazo2019-09-04
| | | | | | | Problem: qf_set_properties() is to long. Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan Lakshmanan, closes vim/vim#2812) https://github.com/vim/vim/commit/a2aa8a2b22de909619d7faa3ff5383a6224defc5
* vim-patch:8.1.0141: :cexpr no longer jumps to the first error #10901Marco Hinz2019-09-01
| | | | | | Problem: :cepxr no longer jumps to the first error. Solution: Use the quickfix list identifier. (Yegappan Lakshmanan) Fixes https://github.com/neovim/neovim/issues/10895
* oldtest: windows: revert setting shellslash individually (#10189)Daniel Hahler2019-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "oldtests: win: shellslash for cdpath,tags,:find" This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31. * Revert "oldtests: set shellslash for ":cd" test" This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a. * Revert "oldtests: set shellslash in Test_shellescape()" This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93. * Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries" This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c. * Revert "test/old: pass Test_statusline on Windows" This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286. * Revert "oldtests: set shellslash for Test_non_zero_arg" This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094. * Revert "oldtests: set shellslash in Test_true_false_arg()" This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8. * Remove unnecessary set shellslash Since #10679 no longer requires individual set shellslash, it is removed. Co-Authored-By: erw7 <erw7.github@gmail.com>
* vim-patch:8.1.0165: :clist output can be very longJan Edmund Lazo2019-06-23
| | | | | | Problem: :clist output can be very long. Solution: Support filtering :clist entries. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/4cde86c2ef885e82fff3d925dee9fb5671c025cf
* vim-patch:8.1.0073: crash when autocommands call setloclist()Jan Edmund Lazo2019-06-19
| | | | | | Problem: Crash when autocommands call setloclist(). (Dominique Pelle) Solution: If the quickfix list changes then don't jump to the error. https://github.com/vim/vim/commit/0366c0161e988e32420d2f37111a60129684905b
* vim-patch:8.1.0213: CTRL-W CR does not work properly in a quickfix windowJan Edmund Lazo2019-06-12
| | | | | | Problem: CTRL-W CR does not work properly in a quickfix window. Solution: Split the window if needed. (Jason Franklin) https://github.com/vim/vim/commit/0a08c63da17dfd93ac2885e3f3f8a083a9b3131c
* 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
* fixup! vim-patch:8.0.1782: no simple way to label quickfix entriesJan Edmund Lazo2019-05-06
|
* vim-patch:8.0.1750: crash clearing location list #9968Justin M. Keyes2019-05-05
| | | | | | Problem: Crash when clearing loccation list in autocommand. Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3b9474b4ad4d85b5396f7f641b436f193dc9d486
* vim-patch:8.0.1831: sometimes the quickfix title is incorrectly prefixed ↵Marco Hinz2019-05-05
| | | | | | | | | with ':' Problem: Sometimes the quickfix title is incorrectly prefixed with ':'. Solution: Prepend the colon in another way. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/8b62e31003693fee4b288e7aea49170f032aeef3
* vim-patch:8.0.1782: no simple way to label quickfix entriesMarco Hinz2019-05-05
| | | | | | | | Problem: No simple way to label quickfix entries. Solution: Add the "module" item, to be used instead of the file name for display purposes. (Martin Szamotulski) https://github.com/vim/vim/commit/d76ce852668635d81778cedacc2d3f021ed4e475
* vim-patch:8.0.1678: errorformat "%r" implies "%>"Marco Hinz2019-05-05
| | | | | | | Problem: Errorformat "%r" implies "%>". (Jan Gosmann) Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e333e79f9bdff82432e0fd7fcf7ae30ef8e3d092
* vim-patch:8.0.1432: after ":copen" can't get the window-ID of the quickfix ↵Marco Hinz2019-05-04
| | | | | | | | | | | window Problem: After ":copen" can't get the window-ID of the quickfix window. (FalacerSelene) Solution: Make it work without a quickfix list. Add a test. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2ec364e94dbc080ccdf6c5dfc6f1653b5b7ded64
* vim-patch:8.0.1420: accessing freed memory in vimgrepMarco Hinz2019-05-04
| | | | | | | Problem: Accessing freed memory in vimgrep. Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3c09722600e3218905b5d4a7b635a9e6560f87b3
* vim-patch:8.0.1406: difficult to track changes to a quickfix listMarco Hinz2019-05-04
| | | | | | | Problem: Difficult to track changes to a quickfix list. Solution: Add a "changedtick" value. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b254af312d1696b12367085acfbe41a41b7f1ea5