aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
Commit message (Collapse)AuthorAge
...
* vim-patch:8.0.1144: using wrong #ifdef for computing lengthJan Edmund Lazo2019-05-07
| | | | | | | Problem: Using wrong #ifdef for computing length. Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro Matsomoto, closes vim/vim#2153) https://github.com/vim/vim/commit/0b05e491b473dbf39cd9f519030bf6363c272300
* PVS/V547: Expression is always falseJustin M. Keyes2019-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
* lintMarco Hinz2019-05-05
|
* 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.1805: qf_parse_line() is too longMarco Hinz2019-05-05
| | | | | | | | Problem: qf_parse_line() is too long. Solution: Split it in parts. Properly handle vim_realloc() failing. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/18cebf44177542e6658251bacf6152aa9009ca58
* 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.1727: qf_get_properties() function is too longMarco Hinz2019-05-05
| | | | | | | Problem: qf_get_properties() function is too long. Solution: Refactor the code. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/353eeeaca269ed5e83900bd4a24dc6dc80bb4880
* 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.1634: the ex_vimgrep() function is too longMarco Hinz2019-05-05
| | | | | | | Problem: The ex_vimgrep() function is too long. Solution: Split it in smaller functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/75b0a888e41bcda4163072f41bb7b5471fef7651
* vim-patch:8.0.1569: warning for uninitialized variable from gccMarco Hinz2019-05-05
| | | | | | | Problem: Warning for uninitialized variable from gcc. Solution: Initialize the variable. https://github.com/vim/vim/commit/28ada699c13833219acaeb7e768acc2acae50e02
* vim-patch:8.0.1500: possible NULL pointer dereferenceMarco Hinz2019-05-04
| | | | | | | Problem: Possible NULL pointer dereference. (Coverity) Solution: Check for the pointer not being NULL. https://github.com/vim/vim/commit/0549a1e184d33674f4c2b8fb44ccdf6b9b9808a3
* 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
* vim-patch:8.0.1389: getqflist() items are missing if not setMarco Hinz2019-05-03
| | | | | | | | | Problem: getqflist() items are missing if not set, that makes it more difficult to handle the values. Solution: When a value is not available return zero or another invalid value. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a6d4849c711379b773529afaed640455287ac934
* vim-patch:8.0.1353: QuickFixCmdPost is not used consistentlyMarco Hinz2019-05-03
| | | | | | | | Problem: QuickFixCmdPost is not used consistently. Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/1ed2276fd50f34e824eeae93d5a5ebfdf118be26
* vim-patch:8.0.1112: can't get size or current index from quickfix listJan Edmund Lazo2019-04-14
| | | | | | Problem: Can't get size or current index from quickfix list. Solution: Add "idx" and "size" options. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/fc2b270cfd36230166df486aae4d96d9d1f32755
* vim-patch:8.0.1093: various small quickfix issuesJan Edmund Lazo2019-04-14
| | | | | | | | Problem: Various small quickfix issues. Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). function. Add a couple more tests. Update documentation. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b4d5fbabc99917a8069ba32a60c2d73d4f60e128
* vim-patch:8.0.0776: function prototypes missing without the quickfix featureJan Edmund Lazo2019-04-14
| | | | | | | Problem: Function prototypes missing without the quickfix feature. (Tony Mechelynck) Solution: Move non-quickfix functions to buffer.c. https://github.com/vim/vim/commit/f0a521f4f76904edb74e182c12732189b347ff68
* vim-patch:8.0.0761: options not set properly for a terminal bufferJan Edmund Lazo2019-04-14
| | | | | | | | | Problem: Options of a buffer for a terminal window are not set properly. Solution: Add "terminal" value for 'buftype'. Make 'buftype' and 'bufhidden' not depend on the quickfix feature. Also set the buffer name and show "running" or "finished" in the window title. https://github.com/vim/vim/commit/1f2903c43109b16594d141a730659317b15f388d
* vim-patch:8.0.1130: the qf_jump() function is still too longMarco Hinz2019-04-13
| | | | | | | Problem: The qf_jump() function is still too long. Solution: Split of parts to separate functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/9cb03716c963338f9a98d2ebc7aa3ac8b9c1eea6
* vim-patch:8.0.1104: the qf_jump() function is too longMarco Hinz2019-04-13
| | | | | | | Problem: The qf_jump() function is too long. Solution: Split of parts to separate functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ef6b8de42f439271edcf5cf22b2450f2cf302c2e
* vim-patch:8.0.0643: when a pattern search is slow Vim becomes unusableBilly Su2019-03-07
| | | | | | | | | Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states. https://github.com/vim/vim/commit/fbd0b0af6800f6ff89857863d6a07ea03f09ff6c
* ui: implement ext_messagesBjörn Linse2019-02-10
| | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>
* cleanup: reduce some duplicate code, avoid function pointers for a conditionBjörn Linse2019-01-23
| | | | | | | Add 'multiline' flag to history for correct :messages output Use larger buffer size for multiline messages. if this turns out to not be enough, we could do size calculation like api_set_error
* build: enable -WshadowJustin M. Keyes2019-01-02
| | | | | | | | | | Note about shada.c: - shada_read_next_item_start was intentionally shadowing `unpacked` and `i` because many of the macros (e.g. ADDITIONAL_KEY) implicitly depended on those variable names. - Macros were changed to parameterize `unpacked` (but not `i`). Macros like CLEAR_GA_AND_ERROR_OUT do control-flow (goto), so any other approach is messy.
* vim-patch:8.0.1427: the :leftabove modifier doesn't work for :copenJan Edmund Lazo2018-11-19
| | | | | | Problem: The :leftabove modifier doesn't work for :copen. Solution: Respect the split modifier. (Yegappan Lakshmanan, closes vim/vim#2496) https://github.com/vim/vim/commit/de04654ddc865af94ef04b1738b335a924be7923
* fix warning: null arg passed to 'nonnull' paramJustin M. Keyes2018-10-21
| | | | Found by clang scan-build 5.0
* globals: KeyTyped is boolJan Edmund Lazo2018-09-14
|
* Merge #8967 'vim-patch:8.0.1781'Justin M. Keyes2018-09-10
|\
| * vim-patch:8.0.1781: file names in quickfix window are not shortenedAndrzej Pacanowski2018-09-10
|/ | | | | | | Problem: File names in quickfix window are not always shortened. Solution: Shorten the file name when opening the quickfix window. (Yegappan Lakshmanan, closes vim/vim#2851, closes vim/vim#2846) https://github.com/vim/vim/commit/a796d46f29e3cc235cc981696d7ee80faccb5000
* vim-patch:8.0.1040: cannot use another error format in getqflist()Jan Edmund Lazo2018-09-08
| | | | | | Problem: Cannot use another error format in getqflist(). Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3653822546fb0f1005c32bb5b70dc9bfacdfc954
* lintJan Edmund Lazo2018-09-08
|
* vim-patch:8.0.1031: "text" argument for getqflist() is confusingJan Edmund Lazo2018-09-08
| | | | | | Problem: "text" argument for getqflist() is confusing. (Lcd47) Solution: Use "lines" instead. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2c809b7c7d2bb5e4b7fd09c3d312cadecf0c1ff0
* vim-patch:8.0.1029: return value of getqflist() is inconsistentJan Edmund Lazo2018-09-08
| | | | | | Problem: Return value of getqflist() is inconsistent. (Lcd47) Solution: Always return an "items" entry. https://github.com/vim/vim/commit/da73253a0b908bad03ddcd625fe3fb32008efbf6
* vim-patch:8.0.1023: it is not easy to identify a quickfix listJan Edmund Lazo2018-09-08
| | | | | | Problem: It is not easy to identify a quickfix list. Solution: Add the "id" field. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a539f4f1ae4a2b3a7dfce89cd3800214c9e990cf
* vim-patch:8.0.1006: quickfix list changes when parsing text with 'erroformat'Jan Edmund Lazo2018-09-07
| | | | | | | Problem: Cannot parse text with 'erroformat' without changing a quickfix list. Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/7adf06f4e25c795ba32ff0b2e8591330f6a41afb
* vim-patch:8.0.0922: quickfix list always added after current oneJan Edmund Lazo2018-09-07
| | | | | | | Problem: Quickfix list always added after current one. Solution: Make it possible to add a quickfix list after the last one. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/55b6926450d75788dada3ff44a35e328224df758
* vim-patch:8.0.0904: cannot set a location list from textJan Edmund Lazo2018-09-06
| | | | | | Problem: Cannot set a location list from text. Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ae338338508ef42866204f90dca861ac555f4298
* lintJan Edmund Lazo2018-09-06
|
* window: refactor boolean variables in win_close()Jan Edmund Lazo2018-09-06
| | | | free_buf (param) and help_window (variable) are bool.
* vim-patch:8.0.0782: using freed memory in quickfix codeJan Edmund Lazo2018-09-06
| | | | | | Problem: Using freed memory in quickfix code. (Dominique Pelle) Solution: Handle a help window differently. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/d28cc3f55d4a5a980f6ac6fa682382822a223720
* vim-patch:8.0.0733: can only add entries to one list in the quickfix stackJan Edmund Lazo2018-09-05
| | | | | | | Problem: Can only add entries to one list in the quickfix stack. Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a7df8c70c85c793bc4d75abc625d36883ab029cc
* vim-patch:8.0.1413: accessing freed memory in :cbufferJan Edmund Lazo2018-08-15
| | | | | | Problem: Accessing freed memory in :cbuffer. Solution: Get quickfix list after executing autocmds. (closes vim/vim#2470) https://github.com/vim/vim/commit/aaf6e43b7a99cedb89d73ba749a46f7a0f16bbb6
* vim-patch:8.0.0735: no indication that the quickfix window/buffer changedJan Edmund Lazo2018-07-28
| | | | | | | | Problem: There is no way to notice that the quickfix window contents has changed. Solution: Increment b:changedtick when updating the quickfix window. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a8788f4d0b991f466b607c2c5bc6fd600bc78a97
* vim-patch:8.0.0687: minor issues related to quickfixJan Edmund Lazo2018-07-28
| | | | | | | | | Problem: Minor issues related to quickfix. Solution: Set the proper return status for all cases in setqflist() and at test cases for this. Move the "adding" flag outside of FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/86f100dc0922e83bead7bcd5fd2bb2abbf153f46
* vim-patch:8.0.1622: possible NULL pointer dereferenceJan Edmund Lazo2018-07-23
| | | | | | Problem: Possible NULL pointer dereferencey. (Coverity) Solution: Reverse the check for a NULL pointer. https://github.com/vim/vim/commit/6ed86ad170b60517eeddb54c2b22fdc888a22c0b
* 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
* vim-patch:8.0.0466: still macros that should be all-caps (#8510)Jan Edmund Lazo2018-06-10
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps. https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c