aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_quickfix.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.0.0688: cannot resize the window in a FileType autocommandJan Edmund Lazo2018-06-26
| | | | | | | Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat) Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat, closes vim/vim#1804) https://github.com/vim/vim/commit/9c4fefffb65a2ed9b4a5b0f1bde0da8f349470b5
* vim-patch:8.0.0677: setting 'filetype' may switch buffersJan Edmund Lazo2018-06-26
| | | | | | | Problem: Setting 'filetype' internally may cause the current buffer and window to change unexpectedly. Solution: Set curbuf_lock. (closes vim/vim#1734) https://github.com/vim/vim/commit/1814183b865059679f6ee526ec23fc575e536e66
* oldtests: use expand() to fix pathsepJan Edmund Lazo2018-04-12
| | | | Fix failing oldtests because of noshellslash.
* vim-patch:8.0.1224: still interference between test functionsJustin M. Keyes2018-02-11
| | | | | | | | Problem: Still interference between test functions. Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a specific start context. https://github.com/vim/vim/commit/cf1ba35fc2ebd41b9a7738bbd1f026f5311560aa
* vim-patch:8.0.0657: cannot get and set quickfix list itemsJames McCoy2017-12-31
| | | | | | | | Problem: Cannot get and set quickfix list items. Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6a8958db259d4444da6e6956e54a6513c1af8860
* vim-patch:8.0.0634: cannot easily get to the last quickfix listJames McCoy2017-12-31
| | | | | | | | Problem: Cannot easily get to the last quickfix list. Solution: Add "$" as a value for the "nr" argument of getqflist() and setqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/875feea6ce223462d55543735143d747dcaf4287
* vim-patch:8.0.0606: cannot set the context for a specified quickfix listJames McCoy2017-12-19
| | | | | | | | Problem: Cannot set the context for a specified quickfix list. Solution: Use the list index instead of the current list. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6e62da3e14d32f76f60d5cc8b267059923842f17
* vim-patch:8.0.0590: cannot add a context to locationsJames McCoy2017-12-19
| | | | | | | | Problem: Cannot add a context to locations. Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan, closes vim/vim#1012) https://github.com/vim/vim/commit/8f77c5a4ec756f3f866bd6b18feb6fca6f2a2e91
* vim-patch:8.0.0580: cannot set the valid flag with setqflist()James McCoy2017-12-18
| | | | | | | Problem: Cannot set the valid flag with setqflist(). Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes vim/vim#1642) https://github.com/vim/vim/commit/f1d21c8cc83f40c815b6bf13cd2043152db533ee
* vim-patch:8.0.0579: duplicate test case for quickfixJames McCoy2017-12-18
| | | | | | | Problem: Duplicate test case for quickfix. Solution: Remove the function. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/9b77016545d5ef1a1f4a90c9bb4b7a6693af8918
* vim-patch:8.0.0574: get only one quickfix list after :caddbufJames McCoy2017-12-18
| | | | | | | Problem: Get only one quickfix list after :caddbuf. Solution: Reset qf_multiline. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/99895eac1cf71be43ece7e14b50e206e041fbe9f
* vim-patch:8.0.0536: quickfix window not updated when freeing quickfix stackJames McCoy2017-12-18
| | | | | | | Problem: Quickfix window not updated when freeing quickfix stack. Solution: Update the quickfix window. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/69f40be64555d50f603c6f22722cf762aaa6bbc1
* vim-patch:8.0.0517: there is no way to remove quickfix listsJames McCoy2017-12-18
| | | | | | | | Problem: There is no way to remove quickfix lists (for testing). Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b6fa30ccc39cdb7f1d07b99fe2f4c6b61671dac2
* vim-patch:8.0.0484: :lhelpgrep does not fail after a successful oneJames McCoy2017-12-17
| | | | | | | | | Problem: Using :lhelpgrep with an argument that should fail does not produce an error if the previous :helpgrep worked. Solution: Use another way to detect that autocommands made the quickfix info invalid. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ee85df37634dfb0c40ae5de0b4f246aef460b392
* vim-patch:8.0.0404: not enough testing for quickfixJames McCoy2017-12-17
| | | | | | | Problem: Not enough testing for quickfix. Solution: Add some more tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/391b1dd040af204b150d43c5a1c97477ee450a28
* vim-patch:8.0.0084Jurica Bradaric2017-07-16
| | | | | | | | Problem: Using freed memory when adding to a quickfix list. (Domenique Pelle) Solution: Clear the directory name. https://github.com/vim/vim/commit/7618e00d3b8bfe064cfc524640d754607361f9df
* vim-patch:8.0.0079Jurica Bradaric2017-07-16
| | | | | | | Problem: Accessing freed memory in quickfix. (Domenique Pelle) Solution: Do not free the current list when adding to it. https://github.com/vim/vim/commit/2b946c9f9b0e0fd805fb8f3e4c16e0a68ae13129
* vim-patch:8.0.0078Jurica Bradaric2017-07-16
| | | | | | | Problem: Accessing freed memory in quickfix. Solution: Reset pointer when freeing 'errorformat'. (Domenique Pelle) https://github.com/vim/vim/commit/63bed3d319b5d90765dbdae93a3579b6322d79fb
* vim-patch:8.0.0026Jurica Bradaric2017-07-16
| | | | | | | Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth) Solution: Skip code when qf_multiignore is set. (Lcd) https://github.com/vim/vim/commit/9b4579481892a62e7e002498b9eddaaf75bbda49
* vim-patch:8.0.0017Jurica Bradaric2017-07-16
| | | | | | | | Problem: Cannot get the number of the current quickfix or location list. Solution: Use the current list if "nr" in "what" is zero. (Yegappan Lakshmanan) Remove debug command from test. https://github.com/vim/vim/commit/890680ca6364386fabb271c85e0755bcaa6a33c1
* vim-patch:8.0.0037Justin M. Keyes2017-03-22
| | | | | | | | Problem: Get E924 when switching tabs. () Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille, closes vim/vim#1167, closes vim/vim#1171) https://github.com/vim/vim/commit/0a9046fbcb33770517ab0220b8100c4494bddab2
* Merge #6254 'vim-patch:7.4.2135,7.4.2144,7.4.2151'Justin M. Keyes2017-03-15
|\
| * vim-patch:7.4.2151lonerover2017-03-11
| | | | | | | | | | | | | | Problem: Quickfix test fails on MS-Windows. Solution: Close the help window. (Christian Brabandt) https://github.com/vim/vim/commit/cf25fdb8f10a92b3bf9e295c466c1b69812b7886
* | vim-patch:7.4.2264 (#6275)lonerover2017-03-14
| | | | | | | | | | | | Problem: When adding entries to an empty quickfix list the title is reset. Solution: Improve handling of the title. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2b529bb6260b52246e92429375d995b9b5ce76b6
* | vim-patch:8.0.0068 (#6243)Daniel Hahler2017-03-11
|/ | | | | | | | Problem: Checking did_throw after executing autocommands is wrong. (Daniel Hahler) Solution: Call aborting() instead, and only when autocommands were executed. https://github.com/vim/vim/commit/21662be2211675824df1771c7f169948ede40c41
* vim-patch:7.4.2299 (#6232)Jurica Bradarić2017-03-07
| | | | | | | Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always triggered. Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/04c4ce650f9e533cd35b2aa6803f4d354d3ec7aa
* Merge pull request #6121 from lonerover/vim-7.4.2046James McCoy2017-02-27
|\ | | | | | | vim-patch:7.4.2046
| * vim-patch:7.4.2061lonerover2017-02-16
| | | | | | | | | | | | | | Problem: qf_init_ext() is too big. Solution: Move code to qf_parse_line() (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e87e6dddc2b2a99572ec0db0833c052214c4fbd3
* | vim-patch:7.4.2200James McCoy2017-02-27
|/ | | | | | | | Problem: Cannot get all information about a quickfix list. Solution: Add an optional argument to get/set loc/qf list(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/d823fa910cca43fec3c31c030ee908a14c272640
* vim-patch:7.4.2081lonerover2017-01-19
| | | | | | | Problem: Line numbers in the error list are not always adjusted. Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c1542744e788d96fed24dd421f43009288092504
* vim-patch:7.4.2050lonerover2017-01-19
| | | | | | | Problem: When using ":vimgrep" may end up with duplicate buffers. Solution: When adding an error list entry pass the buffer number if possible. https://github.com/vim/vim/commit/015102e91e978a0bb42a14461c132a85e8f7e1ea
* vim-patch:7.4.2049lonerover2017-01-19
| | | | | | | Problem: There is no way to get a list of the error lists. Solution: Add ":chistory" and ":lhistory". https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
* vim-patch:7.4.2010James McCoy2016-12-27
| | | | | | | Problem: There is a :cbottom command but no :lbottom command. Solution: Add :lbottom. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
* vim-patch:7.4.1997James McCoy2016-12-27
| | | | | | | Problem: Cannot easily scroll the quickfix window. Solution: Add ":cbottom". https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
* vim-patch:7.4.1984James McCoy2016-12-27
| | | | | | | Problem: Not all quickfix features are tested. Solution: Add a few more tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/0fcc7c6dd1902b71e0e7d0a35ddabafef6455a83
* vim-patch:7.4.1980James McCoy2016-12-27
| | | | | | | | | Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add to two location lists asynchronously. Solution: Keep the previously parsed data when appropriate. (mostly by Yegappan Lakshmanan) https://github.com/vim/vim/commit/361c8f0e517e41f1f1d34dae328044406fde80ac
* vim-patch:7.4.1953James McCoy2016-12-27
| | | | | | | Problem: Not all parts of the quickfix code are tested. Solution: Add more tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/049cba9e9760152b5695399a991dc61cea9ba143
* vim-patch:7.4.1950James McCoy2016-12-27
| | | | | | | Problem: Quickfix long lines test not executed for buffer. Solution: Call the function to test long lines. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/f50df3925b7c909d1cda4c868d8c7ba38189aabe
* vim-patch:7.4.1949James McCoy2016-12-27
| | | | | | | Problem: Minor problems with the quickfix code. Solution: Fix the problems. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/38df43bd13a2498cc96b3ddd9a20dd75126bd171
* vim-patch:7.4.1941James McCoy2016-12-27
| | | | | | | | Problem: Not all quickfix tests are also done with the location lists. Solution: Test more quickfix code. Use user commands instead of "exe". (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3ef5bf7d459d6b8a21aaefc80f65448f5a7aa59f
* vim-patch:7.4.1937James McCoy2016-12-27
| | | | | | | Problem: No test for directory stack in quickfix. Solution: Add a test. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ab47c61f46f0797308217cd3c045472cb0ec3195
* vim-patch:7.4.1912James McCoy2016-12-27
| | | | | | | Problem: No test for using setqflist() on an older quickfix list. Solution: Add a couple of tests. https://github.com/vim/vim/commit/1cee693b310e1494115a1677fac064941092e1bb
* vim-patch:7.4.1841James McCoy2016-12-27
| | | | | | | Problem: The code to reallocate the buffer used for quickfix is repeated. Solution: Move the code to a function. (Yegappan Lakshmanan, closes vim/vim#831) https://github.com/vim/vim/commit/2b2b8ae5ab37b04584633c469265d85825166905
* vim-patch:7.4.1802James McCoy2016-12-27
| | | | | | | Problem: Quickfix doesn't handle long lines well, they are split. Solution: Drop characters after a limit. (Anton Lindqvist) https://github.com/vim/vim/commit/6be8c8e165204b8aa4eeb8a52be87a58d8b41b9e
* vim-patch:7.4.1768James McCoy2016-12-27
| | | | | | | | Problem: Arguments of setqflist() are not checked properly. Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi, closes vim/vim#661) https://github.com/vim/vim/commit/d106e5ba7f10f0d2a14eaefe5d78405044416cb9
* vim-patch:7.4.1752James McCoy2016-12-27
| | | | | | | Problem: When adding to the quickfix list the current position is reset. Solution: Do not reset the position when not needed. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c1808d5822ed9534ef7f0fe509b15bee92a5cc28
* test: quickfix: Move upstream vim quickfix test to src/nvim/testdirJames McCoy2016-12-27
Massaging the upstream patches for this test into the lua tests are too cumbersome and slow down patching.