| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Problem: Crash when clearing loccation list in autocommand.
Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/3b9474b4ad4d85b5396f7f641b436f193dc9d486
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Problem: qf_get_properties() function is too long.
Solution: Refactor the code. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/353eeeaca269ed5e83900bd4a24dc6dc80bb4880
|
|
|
|
|
|
|
| |
Problem: Errorformat "%r" implies "%>". (Jan Gosmann)
Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/e333e79f9bdff82432e0fd7fcf7ae30ef8e3d092
|
|
|
|
|
|
|
| |
Problem: The ex_vimgrep() function is too long.
Solution: Split it in smaller functions. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/75b0a888e41bcda4163072f41bb7b5471fef7651
|
|
|
|
|
|
|
| |
Problem: Warning for uninitialized variable from gcc.
Solution: Initialize the variable.
https://github.com/vim/vim/commit/28ada699c13833219acaeb7e768acc2acae50e02
|
|
|
|
|
|
|
| |
Problem: Possible NULL pointer dereference. (Coverity)
Solution: Check for the pointer not being NULL.
https://github.com/vim/vim/commit/0549a1e184d33674f4c2b8fb44ccdf6b9b9808a3
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Problem: Accessing freed memory in vimgrep.
Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/3c09722600e3218905b5d4a7b635a9e6560f87b3
|
|
|
|
|
|
|
| |
Problem: Difficult to track changes to a quickfix list.
Solution: Add a "changedtick" value. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/b254af312d1696b12367085acfbe41a41b7f1ea5
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Problem: QuickFixCmdPost is not used consistently.
Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
(Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1ed2276fd50f34e824eeae93d5a5ebfdf118be26
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Problem: The qf_jump() function is too long.
Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/ef6b8de42f439271edcf5cf22b2450f2cf302c2e
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Found by clang scan-build 5.0
|
| |
|
|\ |
|
|/
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Problem: Cannot use another error format in getqflist().
Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/3653822546fb0f1005c32bb5b70dc9bfacdfc954
|
| |
|
|
|
|
|
|
| |
Problem: "text" argument for getqflist() is confusing. (Lcd47)
Solution: Use "lines" instead. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/2c809b7c7d2bb5e4b7fd09c3d312cadecf0c1ff0
|
|
|
|
|
|
| |
Problem: Return value of getqflist() is inconsistent. (Lcd47)
Solution: Always return an "items" entry.
https://github.com/vim/vim/commit/da73253a0b908bad03ddcd625fe3fb32008efbf6
|
|
|
|
|
|
| |
Problem: It is not easy to identify a quickfix list.
Solution: Add the "id" field. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/a539f4f1ae4a2b3a7dfce89cd3800214c9e990cf
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Problem: Cannot set a location list from text.
Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/ae338338508ef42866204f90dca861ac555f4298
|
| |
|
|
|
|
| |
free_buf (param) and help_window (variable) are bool.
|
|
|
|
|
|
| |
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Handle a help window differently. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/d28cc3f55d4a5a980f6ac6fa682382822a223720
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Problem: Accessing freed memory in :cbuffer.
Solution: Get quickfix list after executing autocmds. (closes vim/vim#2470)
https://github.com/vim/vim/commit/aaf6e43b7a99cedb89d73ba749a46f7a0f16bbb6
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Problem: Possible NULL pointer dereferencey. (Coverity)
Solution: Reverse the check for a NULL pointer.
https://github.com/vim/vim/commit/6ed86ad170b60517eeddb54c2b22fdc888a22c0b
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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
|