summaryrefslogtreecommitdiff
path: root/src/quickfix.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.2299v7.4.2299Bram Moolenaar2016-09-011-8/+70
| | | | | | Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always triggered. Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan Lakshmanan)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2264v7.4.2264Bram Moolenaar2016-08-271-2/+13
| | | | | Problem: When adding entries to an empty quickfix list the title is reset. Solution: Improve handling of the title. (Yegappan Lakshmanan)
* patch 7.4.2239v7.4.2239Bram Moolenaar2016-08-211-54/+0
| | | | | | Problem: Warning for missing declaration of skip_vimgrep_pat(). (John Marriott) Solution: Move it to another file.
* patch 7.4.2234v7.4.2234Bram Moolenaar2016-08-211-52/+54
| | | | | Problem: Can't build with +eval but without +quickfix. (John Marriott) Solution: Move skip_vimgrep_pat() to separate #ifdef block.
* patch 7.4.2200v7.4.2200Bram Moolenaar2016-08-121-29/+181
| | | | | | Problem: Cannot get all information about a quickfix list. Solution: Add an optional argument to get/set loc/qf list(). (Yegappan Lakshmanan)
* patch 7.4.2144v7.4.2144Bram Moolenaar2016-08-021-17/+7
| | | | | | Problem: On MS-Windows quickix does not handle a line with 1023 bytes ending in CR-LF properly. Solution: Don't consider CR a line break. (Ken Takata)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-1/+1
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.2081v7.4.2081Bram Moolenaar2016-07-201-4/+7
| | | | | Problem: Line numbers in the error list are not always adjusted. Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
* patch 7.4.2067v7.4.2067Bram Moolenaar2016-07-181-3/+8
| | | | | | Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck) Inefficient code. Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast.
* patch 7.4.2064v7.4.2064Bram Moolenaar2016-07-171-1/+1
| | | | | Problem: Coverity warns for possible buffer overflow. Solution: Use vim_strcat() instead of strcat().
* patch 7.4.2061v7.4.2061Bram Moolenaar2016-07-171-321/+356
| | | | | Problem: qf_init_ext() is too big. Solution: Move code to qf_parse_line() (Yegappan Lakshmanan)
* patch 7.4.2050v7.4.2050Bram Moolenaar2016-07-161-3/+10
| | | | | Problem: When using ":vimgrep" may end up with duplicate buffers. Solution: When adding an error list entry pass the buffer number if possible.
* patch 7.4.2049v7.4.2049Bram Moolenaar2016-07-161-10/+40
| | | | | Problem: There is no way to get a list of the error lists. Solution: Add ":chistory" and ":lhistory".
* patch 7.4.2047v7.4.2047Bram Moolenaar2016-07-161-1/+3
| | | | | Problem: Compiler warning for initializing a struct. Solution: Initialize in another way. (Anton Lindqvist)
* patch 7.4.2046v7.4.2046Bram Moolenaar2016-07-151-232/+322
| | | | | Problem: The qf_init_ext() function is too big. Solution: Refactor it. (Yegappan Lakshmanan)
* patch 7.4.2024v7.4.2024Bram Moolenaar2016-07-101-5/+8
| | | | | Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead.
* patch 7.4.2023v7.4.2023Bram Moolenaar2016-07-101-0/+4
| | | | | | Problem: buflist_findname_stat() may find a dummy buffer. Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start finding buffers from the end of the list.
* patch 7.4.2018v7.4.2018Bram Moolenaar2016-07-101-4/+4
| | | | | | Problem: buf_valid() can be slow when there are many buffers. Solution: Add bufref_valid(), only go through the buffer list when a buffer was freed.
* patch 7.4.2017v7.4.2017Bram Moolenaar2016-07-101-3/+28
| | | | | | | | | Problem: When there are many errors adding them to the quickfix list takes a long time. Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options(). Remember the last file name used. When going through the buffer list start from the end of the list. Only call buf_valid() when autocommands were executed.
* patch 7.4.2010v7.4.2010Bram Moolenaar2016-07-091-2/+14
| | | | | Problem: There is a :cbottom command but no :lbottom command. Solution: Add :lbottom. (Yegappan Lakshmanan)
* patch 7.4.1997v7.4.1997Bram Moolenaar2016-07-071-15/+40
| | | | | Problem: Cannot easily scroll the quickfix window. Solution: Add ":cbottom".
* patch 7.4.1980v7.4.1980Bram Moolenaar2016-07-021-51/+90
| | | | | | | Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add to two location lists asynchronously. Solution: Keep the previously parsed data when appropriate. (mostly by Yegappan Lakshmanan)
* patch 7.4.1976v7.4.1976Bram Moolenaar2016-07-011-5/+5
| | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata)
* patch 7.4.1975v7.4.1975Bram Moolenaar2016-07-011-1/+1
| | | | | | Problem: On MS-Windows large files (> 2Gbyte) cause problems. Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct stat". Use 64 bit system functions if available. (Ken Takata)
* patch 7.4.1971v7.4.1971Bram Moolenaar2016-07-011-5/+20
| | | | | | Problem: It is not easy to see unrecognized error lines below the current error position. Solution: Add ":clist +count".
* patch 7.4.1966v7.4.1966Bram Moolenaar2016-06-281-3/+2
| | | | | Problem: Coverity reports a resource leak. Solution: Close "fd" also when bailing out.
* patch 7.4.1964v7.4.1964Bram Moolenaar2016-06-261-226/+286
| | | | | | Problem: The quickfix init function is too big. Solution: Factor out parsing 'errorformat' to a separate function. (Yegappan Lakshmanan)
* patch 7.4.1949v7.4.1949Bram Moolenaar2016-06-201-4/+7
| | | | | Problem: Minor problems with the quickfix code. Solution: Fix the problems. (Yegappan Lakshmanan)
* patch 7.4.1884v7.4.1884Bram Moolenaar2016-06-031-29/+46
| | | | | | Problem: Updating marks in a quickfix list is very slow when the list is long. Solution: Only update marks if the buffer has a quickfix entry.
* patch 7.4.1882v7.4.1882Bram Moolenaar2016-06-021-2/+2
| | | | | Problem: Check for line break at end of line wrong. (Dominique Pelle) Solution: Correct the logic.
* patch 7.4.1881v7.4.1881Bram Moolenaar2016-06-021-48/+49
| | | | | Problem: Appending to a long quickfix list is slow. Solution: Add qf_last.
* patch 7.4.1871v7.4.1871Bram Moolenaar2016-06-021-40/+92
| | | | | | | Problem: Appending to the quickfix list while the quickfix window is open is very slow. Solution: Do not delete all the lines, only append the new ones. Avoid using a window while updating the list. (closes #841)
* patch 7.4.1841v7.4.1841Bram Moolenaar2016-05-241-48/+37
| | | | | Problem: The code to reallocate the buffer used for quickfix is repeated. Solution: Move the code to a function. (Yegappan Lakshmanan, closes #831)
* patch 7.4.1823v7.4.1823Bram Moolenaar2016-05-081-1/+1
| | | | | Problem: Warning from 64 bit compiler. Solution: Add type cast. (Mike Williams)
* patch 7.4.1815v7.4.1815Bram Moolenaar2016-05-011-3/+3
| | | | | Problem: Compiler warnings for unused variables. (Ajit Thakkar) Solution: Add a dummy initialization. (Yasuhiro Matsumoto)
* patch 7.4.1813v7.4.1813Bram Moolenaar2016-05-011-6/+6
| | | | | Problem: Memory access error when running test_quickfix. Solution: Allocate one more byte. (Yegappan Lakshmanan)
* patch 7.4.1802v7.4.1802Bram Moolenaar2016-04-301-27/+209
| | | | | Problem: Quickfix doesn't handle long lines well, they are split. Solution: Drop characters after a limit. (Anton Lindqvist)
* patch 7.4.1752v7.4.1752Bram Moolenaar2016-04-181-11/+16
| | | | | Problem: When adding to the quickfix list the current position is reset. Solution: Do not reset the position when not needed. (Yegappan Lakshmanan)
* patch 7.4.1664v7.4.1664Bram Moolenaar2016-03-271-1/+2
| | | | | Problem: Crash in :cgetexpr. Solution: Check for NULL pointer. (Dominique) Add a test.
* patch 7.4.1647v7.4.1647Bram Moolenaar2016-03-251-1/+4
| | | | | Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique) Solution: Set qf_ptr when adding the first item to the quickfix list.
* patch 7.4.1640v7.4.1640Bram Moolenaar2016-03-231-2/+45
| | | | | | Problem: Crash when an autocommand changes a quickfix list. (Dominique) Solution: Check wether an entry is still valid. (Yegappan Lakshmanan, Hirohito Higashi)
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-11/+2
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1592v7.4.1592Bram Moolenaar2016-03-191-3/+17
| | | | | Problem: Quickfix code using memory after being freed. (Dominique Pelle) Solution: Detect that the window was closed. (Hirohito Higashi)
* patch 7.4.1591v7.4.1591Bram Moolenaar2016-03-181-1/+4
| | | | | Problem: The quickfix title is truncated. Solution: Save the command before it is truncated. (Anton Lindqvist)
* patch 7.4.1213v7.4.1213Bram Moolenaar2016-01-301-173/+105
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1199v7.4.1199Bram Moolenaar2016-01-291-28/+28
| | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
* patch 7.4.1153v7.4.1153Bram Moolenaar2016-01-221-3/+2
| | | | | | Problem: Autocommands triggered by quickfix cannot always get the current title value. Solution: Call qf_fill_buffer() later. (Christian Brabandt)
* patch 7.4.1149v7.4.1149Bram Moolenaar2016-01-211-4/+1
| | | | | | Problem: Using the local value of 'errorformat' causes more problems than it solves. Solution: Revert 7.4.1013.
* patch 7.4.1130v7.4.1130Bram Moolenaar2016-01-181-0/+3
| | | | | Problem: Memory leak in :vimgrep. Solution: Call FreeWild(). (Yegappan Lakshmanan)