Bram Moolenaar
91335e5a67
patch 8.1.0230: directly checking 'buftype' value
...
Problem: Directly checking 'buftype' value.
Solution: Add the bt_normal() function. (Yegappan Lakshmanan)
2018-08-01 17:53:12 +02:00
Bram Moolenaar
0a08c63da1
patch 8.1.0213: CTRL-W CR does not work properly in a quickfix window
...
Problem: CTRL-W CR does not work properly in a quickfix window.
Solution: Split the window if needed. (Jason Franklin)
2018-07-25 22:36:52 +02:00
Bram Moolenaar
a9defadb8f
patch 8.1.0169: calling message_filtered() a bit too often
...
Problem: Calling message_filtered() a bit too often.
Solution: Only call message_filtered() when filtering is already false.
2018-07-08 18:20:24 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
4cde86c2ef
patch 8.1.0165: :clist output can be very long
...
Problem: :clist output can be very long.
Solution: Support filtering :clist entries. (Yegappan Lakshmanan)
2018-07-08 16:01:08 +02:00
Bram Moolenaar
531b9a3a63
patch 8.1.0141: :cexpr no longer jumps to the first error
...
Problem: :cexpr no longer jumps to the first error.
Solution: Use the quickfix list identifier. (Yegappan Lakshmanan,
closes #3092 )
2018-07-03 16:54:23 +02:00
Bram Moolenaar
d6b01a2d38
patch 8.1.0074: crash when running quickfix tests
...
Problem: Crash when running quickfix tests.
Solution: Do not alloc a new location list when checking for the reference
to be still valid.
2018-06-18 21:53:28 +02:00
Bram Moolenaar
0366c0161e
patch 8.1.0073: crash when autocommands call setloclist()
...
Problem: Crash when autocommands call setloclist(). (Dominique Pelle)
Solution: If the quickfix list changes then don't jump to the error.
2018-06-18 20:52:13 +02:00
Bram Moolenaar
600323b4ef
patch 8.1.0060: crash when autocommands delete the current buffer
...
Problem: Crash when autocommands delete the current buffer. (Dominique
Pelle)
Solution: Check that autocommands don't change the buffer.
2018-06-16 22:16:47 +02:00
Bram Moolenaar
6053f2d29a
patch 8.1.0014: qf_init_ext() is too long
...
Problem: qf_init_ext() is too long.
Solution: Split it into multiple functions. (Yegappan Lakshmanan,
closes #2939 )
2018-05-21 16:56:38 +02:00
Bram Moolenaar
6bff719f7e
patch 8.1.0010: efm_to_regpat() is too long
...
Problem: efm_to_regpat() is too long.
Solution: Split off three functions. (Yegappan Lakshmanan, closes #2924 )
2018-05-20 15:41:17 +02:00
Bram Moolenaar
78ddc06bdd
patch 8.0.1844: superfluous quickfix code, missing examples
...
Problem: Superfluous quickfix code, missing examples.
Solution: Remove unneeded code. Add a few examples. Add a bit more
testing. (Yegappan Lakshmanan, closes #2916 )
2018-05-15 21:56:34 +02:00
Bram Moolenaar
8b62e31003
patch 8.0.1831: sometimes the quickfix title is incorrectly prefixed with ':'
...
Problem: Sometimes the quickfix title is incorrectly prefixed with ':'.
Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes
#2905 )
2018-05-13 15:29:04 +02:00
Bram Moolenaar
7a2b0e55e9
patch 8.0.1812: the qf_jump_to_usable_window() function is too long
...
Problem: The qf_jump_to_usable_window() function is too long.
Solution: Split it in parts. (Yegappan Lakshmanan, closes #2891 )
2018-05-10 18:55:28 +02:00
Bram Moolenaar
18cebf4417
patch 8.0.1805: qf_parse_line() is too long
...
Problem: qf_parse_line() is too long.
Solution: Split it in parts. Properly handle vim_realloc() failing.
(Yegappan Lakshmanan, closes #2881 )
2018-05-08 22:31:37 +02:00
Bram Moolenaar
d76ce85266
patch 8.0.1782: no simple way to label quickfix entries
...
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, closes #1757 )
2018-05-01 15:02:04 +02:00
Bram Moolenaar
a796d46f29
patch 8.0.1781: file names in quickfix window are not shortened
...
Problem: File names in quickfix window are not always shortened.
Solution: Shorten the file name when opening the quickfix window. (Yegappan
Lakshmanan, closes #2851 , closes #2846 )
2018-05-01 14:30:36 +02:00
Bram Moolenaar
c36651b4b9
patch 8.0.1773: dialog messages are not translated
...
Problem: Dialog messages are not translated.
Solution: Add N_() and _() where needed. (Sergey Alyoshin)
2018-04-29 12:22:56 +02:00
Bram Moolenaar
29ce409bfc
patch 8.0.1772: quickfix: mixup of FALSE and FAIL, returning -1
...
Problem: Quickfix: mixup of FALSE and FAIL, returning -1.
Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
2018-04-28 21:56:44 +02:00
Bram Moolenaar
2225ebb486
patch 8.0.1754: ex_helpgrep() is too long
...
Problem: ex_helpgrep() is too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766 )
2018-04-24 15:48:11 +02:00
Bram Moolenaar
a2aa8a2b22
patch 8.0.1752: qf_set_properties() is to long
...
Problem: qf_set_properties() is to long.
Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan
Lakshmanan, closes #2812 )
2018-04-24 13:55:00 +02:00
Bram Moolenaar
3b9474b4ad
patch 8.0.1750: crash when clearing loccation list in autocommand
...
Problem: Crash when clearing loccation list in autocommand.
Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan)
2018-04-23 21:29:48 +02:00
Bram Moolenaar
353eeeaca2
patch 8.0.1727: qf_get_properties() function is too long
...
Problem: qf_get_properties() function is too long.
Solution: Refactor the code. (Yegappan Lakshmanan, closes #2807 )
2018-04-16 18:04:57 +02:00
Bram Moolenaar
ee5b94a8ec
patch 8.0.1702: leaking memory when autocommands make quickfix list invalid
...
Problem: Leaking memory when autocommands make a quickfix list invalid.
Solution: Call FreeWild(). (Yegappan Lakshmanan)
2018-04-12 20:35:05 +02:00
Bram Moolenaar
e333e79f9b
patch 8.0.1678: errorformat "%r" implies "%>"
...
Problem: Errorformat "%r" implies "%>". (Jan Gosmann)
Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan,
closes #2785 )
2018-04-08 13:27:39 +02:00
Bram Moolenaar
e1bb879f49
patch 8.0.1669: :vimgrep may add entries to the wrong quickfix list
...
Problem: :vimgrep may add entries to the wrong quickfix list.
Solution: Use the list identifier. (Yegappan Lakshmanan)
2018-04-06 22:58:23 +02:00
Bram Moolenaar
75b0a888e4
patch 8.0.1634: the ex_vimgrep() function is too long
...
Problem: The ex_vimgrep() function is too long.
Solution: Split it in smaller functions. (Yegappan Lakshmanan)
2018-03-24 14:01:56 +01:00
Bram Moolenaar
6ed86ad170
patch 8.0.1622: possible NULL pointer dereference
...
Problem: Possible NULL pointer dereferencey. (Coverity)
Solution: Reverse the check for a NULL pointer.
2018-03-20 13:30:42 +01:00
Bram Moolenaar
fc6f16b57c
patch 8.0.1583: using C99 comment
...
Problem: Using C99 comment.
Solution: Use old style comment. (Kazunobu Kuriyama)
2018-03-06 17:43:22 +01:00
Bram Moolenaar
28ada699c1
patch 8.0.1569: warning for uninitialized variable from gcc
...
Problem: Warning for uninitialized variable from gcc.
Solution: Initialize the variable.
2018-03-05 12:42:42 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
0549a1e184
patch 8.0.1500: possible NULL pointer dereference
...
Problem: Possible NULL pointer dereference. (Coverity)
Solution: Check for the pointer not being NULL.
2018-02-11 15:02:48 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
2ec364e94d
patch 8.0.1432: after ":copen" can't get the window-ID of the quickfix 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, closes #2541 )
2018-01-27 11:52:13 +01:00
Bram Moolenaar
de04654ddc
patch 8.0.1427: the :leftabove modifier doesn't work for :copen
...
Problem: The :leftabove modifier doesn't work for :copen.
Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496 )
2017-12-26 13:53:11 +01:00
Bram Moolenaar
3c09722600
patch 8.0.1420: accessing freed memory in vimgrep
...
Problem: Accessing freed memory in vimgrep.
Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan,
closes #2474 )
2017-12-21 20:54:49 +01:00
Bram Moolenaar
14a4deb064
patch 8.0.1414: accessing freed memory in :lfile.
...
Problem: Accessing freed memory in :lfile.
Solution: Get the current window after executing autocommands. (Yegappan
Lakshmanan, closes #2473 )
2017-12-19 16:48:55 +01:00
Bram Moolenaar
aaf6e43b7a
patch 8.0.1413: accessing freed memory in :cbuffer
...
Problem: Accessing freed memory in :cbuffer.
Solution: Get quickfix list after executing autocmds. (closes #2470 )
2017-12-19 16:41:14 +01:00
Bram Moolenaar
1223744849
patch 8.0.1412: using free memory using setloclist()
...
Problem: Using free memory using setloclist(). (Dominique Pelle)
Solution: Mark location list context as still in use when needed. (Yegappan
Lakshmanan, closes #2462 )
2017-12-19 12:38:52 +01:00
Bram Moolenaar
a0ca7d002d
patch 8.0.1408: crash in setqflist()
...
Problem: Crash in setqflist().
Solution: Check for string to be NULL. (Dominique Pelle, closes #2464 )
2017-12-19 10:22:19 +01:00
Bram Moolenaar
b254af312d
patch 8.0.1406: difficult to track changes to a quickfix list
...
Problem: Difficult to track changes to a quickfix list.
Solution: Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460 )
2017-12-18 19:48:58 +01:00
Bram Moolenaar
4fb921e388
patch 8.0.1403: using freed buffer in grep command
...
Problem: Using freed buffer in grep command. (gy741, Dominique Pelle)
Solution: Lock the dummy buffer to avoid autocommands wiping it out.
2017-12-18 15:33:00 +01:00
Bram Moolenaar
a6d4849c71
patch 8.0.1389: getqflist() items are missing if not set
...
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, closes #2430 )
2017-12-12 22:45:31 +01:00
Bram Moolenaar
74240d3feb
patch 8.0.1384: not enough quickfix help; confusing winid
...
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
#2427 )
2017-12-10 15:26:15 +01:00
Bram Moolenaar
1ed2276fd5
patch 8.0.1353: QuickFixCmdPost is not used consistently
...
Problem: QuickFixCmdPost is not used consistently.
Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
(Yegappan Lakshmanan, closes #2377 )
2017-11-28 18:03:44 +01:00
Bram Moolenaar
93a32e2ec4
patch 8.0.1332: highlighting in quickfix window could be better
...
Problem: Highlighting in quickfix window could be better. (Axel Bender)
Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan)
2017-11-23 22:05:45 +01:00
Bram Moolenaar
0b05e491b4
patch 8.0.1144: using wrong #ifdef for computing length
...
Problem: Using wrong #ifdef for computing length.
Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro
Matsomoto, closes #2153 )
2017-09-24 19:39:09 +02:00
Bram Moolenaar
0263146b5d
patch 8.0.1136: W_WIDTH() is always the same
...
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
2017-09-22 15:20:32 +02:00
Bram Moolenaar
9cb03716c9
patch 8.0.1130: the qf_jump() function is still too long
...
Problem: The qf_jump() function is still too long.
Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
2017-09-20 22:43:02 +02:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
2017-09-16 20:54:51 +02:00