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
Bram Moolenaar
fc2b270cfd
patch 8.0.1112: can't get size or current index from quickfix list
...
Problem: Can't get size or current index from quickfix list.
Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
2017-09-15 22:43:07 +02:00
Bram Moolenaar
ef6b8de42f
patch 8.0.1104: the qf_jump() function is too long
...
Problem: The qf_jump() function is too long.
Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
2017-09-14 13:57:37 +02:00
Bram Moolenaar
b4d5fbabc9
patch 8.0.1093: various small quickfix issues
...
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)
2017-09-11 19:31:28 +02:00
Bram Moolenaar
3653822546
patch 8.0.1040: cannot use another error format in getqflist()
...
Problem: Cannot use another error format in getqflist().
Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
2017-09-02 19:51:44 +02:00
Bram Moolenaar
2c809b7c7d
patch 8.0.1031: "text" argument for getqflist() is confusing
...
Problem: "text" argument for getqflist() is confusing. (Lcd47)
Solution: Use "lines" instead. (Yegappan Lakshmanan)
2017-09-01 18:34:02 +02:00
Bram Moolenaar
da73253a0b
patch 8.0.1029: return value of getqflist() is inconsistent
...
Problem: Return value of getqflist() is inconsistent. (Lcd47)
Solution: Always return an "items" entry.
2017-08-31 20:58:02 +02:00
Bram Moolenaar
a539f4f1ae
patch 8.0.1023: it is not easy to identify a quickfix list
...
Problem: It is not easy to identify a quickfix list.
Solution: Add the "id" field. (Yegappan Lakshmanan)
2017-08-30 20:33:55 +02:00
Bram Moolenaar
7adf06f4e2
patch 8.0.1006: quickfix list changes when parsing text with 'erroformat'
...
Problem: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
2017-08-27 15:23:41 +02:00
Bram Moolenaar
f5be7cd016
patch 8.0.0953: get "no write since last change" error in terminal window
...
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.
2017-08-17 16:55:13 +02:00
Bram Moolenaar
55b6926450
patch 8.0.0922: quickfix list always added after current one
...
Problem: Quickfix list always added after current one.
Solution: Make it possible to add a quickfix list after the last one.
(Yegappan Lakshmanan)
2017-08-13 13:42:01 +02:00
Bram Moolenaar
ae33833850
patch 8.0.0904: cannot set a location list from text
...
Problem: Cannot set a location list from text.
Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
2017-08-11 20:25:26 +02:00
Bram Moolenaar
d28cc3f55d
patch 8.0.0782: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Handle a help window differently. (Yegappan Lakshmanan)
2017-07-27 22:03:50 +02:00
Bram Moolenaar
f0a521f4f7
patch 8.0.0776: function prototypes missing without the quickfix feature
...
Problem: Function prototypes missing without the quickfix feature. (Tony
Mechelynck)
Solution: Move non-quickfix functions to buffer.c.
2017-07-25 23:31:12 +02:00
Bram Moolenaar
1f2903c431
patch 8.0.0761: options not set properly for a terminal buffer
...
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.
2017-07-23 19:51:01 +02:00
Bram Moolenaar
a8788f4d0b
patch 8.0.0735: no indication that the quickfix window/buffer changed
...
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)
2017-07-19 17:06:20 +02:00
Bram Moolenaar
a7df8c70c8
patch 8.0.0733: can only add entries to one list in the quickfix stack
...
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)
2017-07-19 13:23:06 +02:00
Bram Moolenaar
86f100dc09
patch 8.0.0687: minor issues related to quickfix
...
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)
2017-06-28 21:26:27 +02:00
Bram Moolenaar
1814183b86
patch 8.0.0677: setting 'filetype' may switch buffers
...
Problem: Setting 'filetype' internally may cause the current buffer and
window to change unexpectedly.
Solution: Set curbuf_lock. (closes #1734 )
2017-06-25 21:17:25 +02:00
Bram Moolenaar
6a8958db25
patch 8.0.0657: cannot get and set quickfix list items
...
Problem: Cannot get and set quickfix list items.
Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan
Lakshmanan)
2017-06-22 21:33:20 +02:00
Bram Moolenaar
fbd0b0af68
patch 8.0.0643: when a pattern search is slow Vim becomes unusable
...
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.
2017-06-17 18:44:21 +02:00
Bram Moolenaar
2102035488
patch 8.0.0641: cannot set a separate highlighting for the quickfix line
...
Problem: Cannot set a separate highlighting for the current line in the
quickfix window.
Solution: Add QuickFixLine. (anishsane, closes #1755 )
2017-06-13 17:21:04 +02:00
Bram Moolenaar
875feea6ce
patch 8.0.0634: cannot easily get to the last quickfix list
...
Problem: Cannot easily get to the last quickfix list.
Solution: Add "$" as a value for the "nr" argument of getqflist() and
setqflist(). (Yegappan Lakshmanan)
2017-06-11 16:07:51 +02:00
Bram Moolenaar
a3921f48c6
patch 8.0.0608: cannot manipulate other than the current quickfix list
...
Problem: Cannot manipulate other than the current quickfix list.
Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan)
2017-06-04 15:30:34 +02:00
Bram Moolenaar
45e5fd135d
patch 8.0.0607: after :bwipe + :new bufref might still be valid
...
Problem: When creating a bufref, then using :bwipe and :new it might get
the same memory and bufref_valid() returns true.
Solution: Add br_fnum to check the buffer number didn't change.
2017-06-04 14:58:02 +02:00
Bram Moolenaar
6e62da3e14
patch 8.0.0606: cannot set the context for a specified quickfix list
...
Problem: Cannot set the context for a specified quickfix list.
Solution: Use the list index instead of the current list. (Yegappan
Lakshmanan)
2017-05-28 08:16:25 +02:00
Bram Moolenaar
6dd4a53502
patch 8.0.0605: the quickfix cached buffer may become invalid
...
Problem: The buffer that quickfix caches for performance may become
invalid. (Daniel Hahler)
Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler,
closes #1728 , closes #1676 )
2017-05-28 07:56:36 +02:00
Bram Moolenaar
253f912877
patch 8.0.0597: off-by-one error in size computation
...
Problem: Off-by-one error in buffer size computation.
Solution: Use ">=" instead of ">". (Lemonboy, closes #1694 )
2017-05-15 08:45:13 +02:00
Bram Moolenaar
beb9cb19c6
patch 8.0.0595: Coverity warning for not checking return value
...
Problem: Coverity warning for not checking return value of dict_add().
Solution: Check the return value for FAIL.
2017-05-01 14:14:04 +02:00
Bram Moolenaar
8f77c5a4ec
patch 8.0.0590: cannot add a context to locations
...
Problem: Cannot add a context to locations.
Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan,
closes #1012 )
2017-04-30 14:21:00 +02:00
Bram Moolenaar
d788f6fe89
patch 8.0.0584: memory leak when executing quickfix tests
...
Problem: Memory leak when executing quickfix tests.
Solution: Free the list reference. (Yegappan Lakshmanan)
2017-04-23 17:19:43 +02:00
Bram Moolenaar
f1d21c8cc8
patch 8.0.0580: cannot set the valid flag with setqflist()
...
Problem: Cannot set the valid flag with setqflist().
Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes #1642 )
2017-04-22 21:20:46 +02:00
Bram Moolenaar
99895eac1c
patch 8.0.0574: get only one quickfix list after :caddbuf
...
Problem: Get only one quickfix list after :caddbuf.
Solution: Reset qf_multiline. (Yegappan Lakshmanan)
2017-04-20 22:44:47 +02:00
Bram Moolenaar
31bdd13c33
patch 8.0.0565: using freed memory in :caddbuf
...
Problem: Using freed memory in :caddbuf after clearing quickfix list.
(Dominique Pelle)
Solution: Set qf_last to NULL.
2017-04-15 15:22:52 +02:00
Bram Moolenaar
69f40be645
patch 8.0.0536: quickfix window not updated when freeing quickfix stack
...
Problem: Quickfix window not updated when freeing quickfix stack.
Solution: Update the quickfix window. (Yegappan Lakshmanan)
2017-04-02 15:15:49 +02:00
Bram Moolenaar
b6fa30ccc3
patch 8.0.0517: there is no way to remove quickfix lists
...
Problem: There is no way to remove quickfix lists (for testing).
Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan
Lakshmanan)
2017-03-29 14:19:25 +02:00
Bram Moolenaar
ee85df3763
patch 8.0.0484: :lhelpgrep does not fail after a successful one
...
Problem: Using :lhelpgrep with an argument that should fail does not
produce an error if the previous :helpgrep worked.
Solution: Use another way to detect that autocommands made the quickfix info
invalid. (Yegappan Lakshmanan)
2017-03-19 14:19:50 +01:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
2c7292dc5b
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'
...
Problem: When running :make the output may be in the system encoding,
different from 'encoding'.
Solution: Add the 'makeencoding' option. (Ken Takata)
2017-03-05 17:43:31 +01:00
Bram Moolenaar
7618e00d3b
patch 8.0.0084
...
Problem: Using freed memory when adding to a quickfix list. (Domenique
Pelle)
Solution: Clear the directory name.
2016-11-13 15:09:26 +01:00
Bram Moolenaar
2b946c9f9b
patch 8.0.0079
...
Problem: Accessing freed memory in quickfix. (Domenique Pelle)
Solution: Do not free the current list when adding to it.
2016-11-12 18:14:44 +01:00
Bram Moolenaar
63bed3d319
patch 8.0.0078
...
Problem: Accessing freed memory in quickfix.
Solution: Reset pointer when freeing 'errorformat'. (Domenique Pelle)
2016-11-12 15:36:54 +01:00
Bram Moolenaar
95f096030e
patch 8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
2016-11-10 20:01:45 +01:00
Bram Moolenaar
a1f4cb93ba
patch 8.0.0069
...
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add #ifdef.
2016-11-06 15:25:42 +01:00
Bram Moolenaar
21662be221
patch 8.0.0068
...
Problem: Checking did_throw after executing autocommands is wrong. (Daniel
Hahler)
Solution: Call aborting() instead, and only when autocommands were executed.
2016-11-06 14:46:44 +01:00