Bram Moolenaar
d82a81cad9
patch 8.1.0988: deleting location list buffer breaks location list window
...
Problem: Deleting a location list buffer breaks location list window
functionality.
Solution: (Yegappan Lakshmanan, closes #4056 )
2019-03-02 07:57:18 +01:00
Bram Moolenaar
eeb1b9c7ed
patch 8.1.0892: failure when closing a window when location list is in use
...
Problem: Failure when closing a window when location list is in use.
Solution: Handle the situation gracefully. Make sure memory for 'switchbuf'
is not freed at the wrong time. (Yegappan Lakshmanan,
closes #3928 )
2019-02-10 22:59:04 +01:00
Bram Moolenaar
ee8188fc74
patch 8.1.0877: new buffer used every time the quickfix window is opened
...
Problem: New buffer used every time the quickfix window is opened.
Solution: Reuse the buffer. (Yegappan Lakshmanan, closes #3902 )
2019-02-05 21:23:04 +01:00
Bram Moolenaar
c45eb770a5
patch 8.1.0859: "%v" in 'errorformat' does handle multi-byte characters
...
Problem: "%v" in 'errorformat' does handle multi-byte characters.
Solution: Handle multi-byte characters. (Yegappan Lakshmanan, closes #3700 )
2019-01-31 14:27:04 +01:00
Bram Moolenaar
6aba96dd57
patch 8.1.0828: still using FEAT_VIRTUALEDIT
...
Problem: Still using FEAT_VIRTUALEDIT.
Solution: Remove last use of FEAT_VIRTUALEDIT.
2019-01-26 17:43:21 +01:00
Bram Moolenaar
a12a161b8c
patch 8.1.0809: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 3.
2019-01-24 16:39:02 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
b5443cc46d
patch 8.1.0753: printf format not checked for semsg()
...
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes #3805 )
2019-01-15 20:19:40 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
5b69c22fd2
patch 8.1.0720: cannot easily change the current quickfx list index
...
Problem: Cannot easily change the current quickfx list index.
Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan,
closes #3701 )
2019-01-11 14:50:06 +01:00
Bram Moolenaar
9752c72f49
patch 8.1.0622: adding quickfix items marks items as valid errors
...
Problem: Adding quickfix items marks items as valid errors. (Daniel Hahler)
Solution: Check when items are valid. (Yegappan Lakshmanan, closes #3683 ,
closes #3633 )
2018-12-22 16:49:34 +01:00
Bram Moolenaar
8f66717a1f
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()
...
Problem: Using illogical name for get_dict_number()/get_dict_string().
Solution: Rename to start with dict_.
2018-12-14 15:38:31 +01:00
Bram Moolenaar
2d67d307ee
patch 8.1.0532: cannot distinguish between quickfix and location list
...
Problem: Cannot distinguish between quickfix and location list.
Solution: Add an explicit type variable. (Yegappan Lakshmanan)
2018-11-16 18:46:02 +01:00
Bram Moolenaar
b244373bec
patch 8.1.0523: opening window from quickfix leaves empty buffer behind
...
Problem: Opening window from quickfix leaves empty buffer behind.
Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574 )
2018-11-11 22:50:27 +01:00
Bram Moolenaar
1c29943416
patch 8.1.0499: :2vimgrep causes an ml_get error
...
Problem: :2vimgrep causes an ml_get error
Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
2018-10-28 14:36:09 +01:00
Bram Moolenaar
b6f1480a6a
patch 8.1.0489: crash when autocmd clears vimpgrep location list
...
Problem: Crash when autocmd clears vimpgrep location list.
Solution: Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan)
2018-10-21 18:47:43 +02:00
Bram Moolenaar
9f84ded38b
patch 8.1.0488: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists
until it is safe. (Yegappan Lakshmanan, closes #3538 )
2018-10-20 20:54:02 +02:00
Bram Moolenaar
108e7b422b
patch 8.1.0469: too often indexing in qf_lists[]
...
Problem: Too often indexing in qf_lists[].
Solution: Use a qf_list_T pointer. (Yegappan Lakshmanan)
2018-10-11 17:39:12 +02:00
Bram Moolenaar
00bf8cd211
patch 8.1.0461: quickfix code uses too many /* */ comments
...
Problem: Quickfix code uses too many /* */ comments.
Solution: Change to // comments. (Yegappan Lakshmanan)
2018-10-07 20:26:20 +02:00
Bram Moolenaar
019dfe6855
patch 8.1.0455: checking for empty quickfix stack is not consistent
...
Problem: Checking for empty quickfix stack is not consistent.
Solution: Use qf_stack_empty(). (Yegappan Lakshmanan)
2018-10-07 14:38:49 +02:00
Bram Moolenaar
b434ae2a1f
patch 8.1.0438: the ex_make() function is too long
...
Problem: The ex_make() function is too long.
Solution: Split it into several functions. (Yegappan Lakshmanan)
2018-09-28 23:09:55 +02:00
Bram Moolenaar
09037503ea
patch 8.1.0434: copy_loclist() is too long
...
Problem: copy_loclist() is too long.
Solution: Split in multiple functions. (Yegappan Lakshmanan)
2018-09-25 22:08:14 +02:00
Bram Moolenaar
6dae96ef7a
patch 8.1.0431: the qf_jump() function is too long
...
Problem: The qf_jump() function is too long.
Solution: Refactor to split it into several functions. (Yegappan Lakshmanan)
2018-09-24 21:50:12 +02:00
Bram Moolenaar
476c0db002
patch 8.1.0410: the ex_copen() function is too long
...
Problem: The ex_copen() function is too long.
Solution: Refactor to split off two functions. (Yegappan Lakshmanan)
2018-09-19 21:56:02 +02:00
Bram Moolenaar
fe15b7dfa6
patch 8.1.0407: quickfix code mixes using the stack and a list pointer
...
Problem: Quickfix code mixes using the stack and a list pointer.
Solution: Use a list pointer in more places. (Yegappan Lakshmanan,
closes #3443 )
2018-09-18 22:50:06 +02:00
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