| Commit message (Collapse) | Author | Age |
|
|
|
| |
Also revert possibly-wrong change in f_sign_getplaced() from
652be3cb0040.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Problem: Calling message_filtered() a bit too often.
Solution: Only call message_filtered() when filtering is already false.
https://github.com/vim/vim/commit/a9defadb8f03ecd03f3297305d5482ba380774dc
|
|
|
|
|
|
| |
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes vim/vim#3154)
https://github.com/vim/vim/commit/e0be167a805fd547c25ec1ec97fd4c7f13046236
|
|
|
|
|
|
| |
Problem: :clist output can be very long.
Solution: Support filtering :clist entries. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/4cde86c2ef885e82fff3d925dee9fb5671c025cf
|
|
|
|
|
|
|
| |
Problem: Crash when running quickfix tests.
Solution: Do not alloc a new location list when checking for the reference
to be still valid.
https://github.com/vim/vim/commit/d6b01a2d3884ee0abe10aad161f584889a496e3f
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
https://github.com/vim/vim/commit/f5be7cd01642fafc4b7d68894eb60cca60c7a405
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Problem: Leaking memory when autocommands make a quickfix list invalid.
Solution: Call FreeWild(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/ee5b94a8ecbaeafa11c7c7c8cf7bef765fbea912
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Problem: :vimgrep may add entries to the wrong quickfix list.
Solution: Use the list identifier. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/e1bb879f49665bb828197135b80aaf72cc190073
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Accidentally removed in 34f9e72af9c9.
ref #6201
|
|
|
|
|
|
|
|
| |
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
vim-patch:8.0.1481
|
|\ |
|
|/
|
|
|
|
| |
Problem: Checks for type of stack is cryptic.
Solution: Define IS_QF_STACK() and IS_LL_STACK(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/4d77c65a9e57e1d1a459c44411930c7a892835fd
|
|
|
|
|
|
| |
Problem: Coverity warning for using uninitialized variable.
Solution: Clear exarg_T.
https://github.com/vim/vim/commit/4ca41534b726c4116d2e430e877e34146b4d4831
|
|
|
|
|
|
|
| |
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
|