Bram Moolenaar
c9cc9c78f2
patch 8.1.0345: cannot get the window id associated with the location list
...
Problem: Cannot get the window id associated with the location list.
Solution: Add the "filewinid" argument to getloclist(). (Yegappan
Lakshmanan, closes #3202 )
2018-09-02 15:18:42 +02:00
Bram Moolenaar
6f6ef7c195
patch 8.1.0330: the qf_add_entries() function is too long
...
Problem: The qf_add_entries() function is too long.
Solution: Split in two parts. (Yegappan Lakshmanan)
2018-08-28 22:07:44 +02:00
Bram Moolenaar
c631f2df62
patch 8.1.0315: helpgrep with language doesn't work properly
...
Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara)
Solution: Check for the language earlier. (Hirohito Higashi)
2018-08-21 21:58:13 +02:00
Bram Moolenaar
4d77c65a9e
patch 8.1.0293: checks for type of stack is cryptic
...
Problem: Checks for type of stack is cryptic.
Solution: Define IS_QF_STACK() and IS_LL_STACK(). (Yegappan Lakshmanan)
2018-08-18 19:59:54 +02:00
Bram Moolenaar
2dfcef4c08
patch 8.1.0289: cursor moves to wrong column after quickfix jump
...
Problem: Cursor moves to wrong column after quickfix jump.
Solution: Set the curswant flag. (Andy Massimino, closes #3331 )
2018-08-15 22:29:51 +02:00
Bram Moolenaar
396659592f
patch 8.1.0288: quickfix code uses cmdidx too often
...
Problem: Quickfix code uses cmdidx too often.
Solution: Add is_loclist_cmd(). (Yegappan Lakshmanan)
2018-08-15 20:59:48 +02:00
Bram Moolenaar
90f1e2b7bc
patch 8.1.0267: no good check if restoring quickfix list worked
...
Problem: No good check if restoring quickfix list worked.
Solution: Let qf_restore_list() return OK/FAIL. (Yegappan Lakshmanan)
2018-08-11 13:36:56 +02:00
Bram Moolenaar
38efd1d17a
patch 8.1.0261: Coverity complains about a negative array index
...
Problem: Coverity complains about a negative array index.
Solution: When qf_id2nr() cannot find the list then don't set qf_curlist.
2018-08-09 21:52:24 +02:00
Bram Moolenaar
3f347e4716
patch 8.1.0259: no test for fixed quickfix issue
...
Problem: No test for fixed quickfix issue.
Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan)
2018-08-09 21:19:20 +02:00
Bram Moolenaar
de3b3677f7
patch 8.1.0252: quickfix functions are too long
...
Problem: Quickfix functions are too long.
Solution: Refactor. (Yegappan Lakshmanan, closes #2950 )
2018-08-07 21:54:41 +02:00
Bram Moolenaar
8d8a65e389
patch 8.1.0248: duplicated quickfix code
...
Problem: duplicated quickfix code.
Solution: Move the code to a function.
2018-08-07 19:48:08 +02:00
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