aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
Commit message (Collapse)AuthorAge
...
* quickfix: fix location list updates.Lech Lorens2017-10-31
| | | | | | Fix quickfix performance optimization which prevented quickfix items from being updated when there were multiple windows with location lists but the buffer with errors only in one of the lists.
* vim-patch: 8.0.00{12, 46, 93} (#7098)lonerover2017-07-30
| | | | | | | | | | | | | vim-patch:8.0.0012 Problem: Typos in comments. Solution: Change "its" to "it's". (Matthew Brener, closes vim/vim#1088) https://github.com/vim/vim/commit/9af418427652562384744648d7d173a4bfebba95 vim-patch:8.0.0046 version.c: mark 8.0.0046 applied vim-patch:8.0.0063 version.c: mark 8.0.0063 as NA patch
* vim-patch:8.0.0069ckelsel2017-07-23
| | | | | | | Problem: Compiler warning for self-comparison. Solution: Define ONE_WINDOW and add vim/vim#ifdef. https://github.com/vim/vim/commit/a1f4cb93ba50ea9e40cd4b1f5592b8a6d1398660
* vim-patch:8.0.0084Jurica Bradaric2017-07-16
| | | | | | | | Problem: Using freed memory when adding to a quickfix list. (Domenique Pelle) Solution: Clear the directory name. https://github.com/vim/vim/commit/7618e00d3b8bfe064cfc524640d754607361f9df
* vim-patch:8.0.0079Jurica Bradaric2017-07-16
| | | | | | | Problem: Accessing freed memory in quickfix. (Domenique Pelle) Solution: Do not free the current list when adding to it. https://github.com/vim/vim/commit/2b946c9f9b0e0fd805fb8f3e4c16e0a68ae13129
* vim-patch:8.0.0078Jurica Bradaric2017-07-16
| | | | | | | Problem: Accessing freed memory in quickfix. Solution: Reset pointer when freeing 'errorformat'. (Domenique Pelle) https://github.com/vim/vim/commit/63bed3d319b5d90765dbdae93a3579b6322d79fb
* vim-patch:8.0.0026Jurica Bradaric2017-07-16
| | | | | | | Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth) Solution: Skip code when qf_multiignore is set. (Lcd) https://github.com/vim/vim/commit/9b4579481892a62e7e002498b9eddaaf75bbda49
* vim-patch:8.0.0017Jurica Bradaric2017-07-16
| | | | | | | | Problem: Cannot get the number of the current quickfix or location list. Solution: Use the current list if "nr" in "what" is zero. (Yegappan Lakshmanan) Remove debug command from test. https://github.com/vim/vim/commit/890680ca6364386fabb271c85e0755bcaa6a33c1
* vim-patch:8.0.0607 (#6879)Daniel Hahler2017-06-11
| | | | | | | | 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. https://github.com/vim/vim/commit/45e5fd135da5710f24a1acc142692f120f8b0b78
* vim-patch:7.4.1976James McCoy2017-06-04
| | | | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata) https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
* vim-patch:8.0.0605 (#6821)Daniel Hahler2017-05-28
| | | | | | | | 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 vim/vim#1728, closes vim/vim#1676) https://github.com/vim/vim/commit/6dd4a53502fb4ec1b66104eab1805e7254ad9e41
* vim-patch:7.4.2239James McCoy2017-04-29
| | | | | | | | Problem: Warning for missing declaration of skip_vimgrep_pat(). (John Marriott) Solution: Move it to another file. https://github.com/vim/vim/commit/9baf297c99cc35adb921bee04369499d76438889
* *: Add comment to all C filesZyX2017-04-19
|
* quicfix: Avoid possible NULL dereferenceZyX2017-04-16
|
* quicfix: Remove duplicate conditionZyX2017-04-16
|
* quickfix: Remove unneeded conditionZyX2017-04-16
| | | fmt_ptr was checked for being NULL in if() condition earlier.
* eval: Move free_tv to eval/typval.h, remove most of its usagesZyX2017-03-29
|
* eval: Split and move dict_add_nr_str to typval.cZyX2017-03-29
| | | | Function was split into tv_dict_add_nr() and tv_dict_add_str().
* *: Move some dictionary functions to typval.h and use char*ZyX2017-03-29
| | | | Also fixes buffer reusage in setmatches() and complete().
* eval: Split eval.c into smaller filesZyX2017-03-29
|
* vim-patch:8.0.0037Justin M. Keyes2017-03-22
| | | | | | | | Problem: Get E924 when switching tabs. () Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille, closes vim/vim#1167, closes vim/vim#1171) https://github.com/vim/vim/commit/0a9046fbcb33770517ab0220b8100c4494bddab2
* Merge #6254 'vim-patch:7.4.2135,7.4.2144,7.4.2151'Justin M. Keyes2017-03-15
|\
| * vim-patch:7.4.2144lonerover2017-03-11
| | | | | | | | | | | | | | | | 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) https://github.com/vim/vim/commit/796aa9c804f09276bd3cc45123f4a191a001dec2
* | vim-patch:7.4.2264 (#6275)lonerover2017-03-14
| | | | | | | | | | | | Problem: When adding entries to an empty quickfix list the title is reset. Solution: Improve handling of the title. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2b529bb6260b52246e92429375d995b9b5ce76b6
* | vim-patch:8.0.0068 (#6243)Daniel Hahler2017-03-11
|/ | | | | | | | Problem: Checking did_throw after executing autocommands is wrong. (Daniel Hahler) Solution: Call aborting() instead, and only when autocommands were executed. https://github.com/vim/vim/commit/21662be2211675824df1771c7f169948ede40c41
* vim-patch:7.4.2299 (#6232)Jurica Bradarić2017-03-07
| | | | | | | Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always triggered. Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/04c4ce650f9e533cd35b2aa6803f4d354d3ec7aa
* Merge pull request #6121 from lonerover/vim-7.4.2046James McCoy2017-02-27
|\ | | | | | | vim-patch:7.4.2046
| * vim-patch:7.4.2061lonerover2017-02-16
| | | | | | | | | | | | | | Problem: qf_init_ext() is too big. Solution: Move code to qf_parse_line() (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e87e6dddc2b2a99572ec0db0833c052214c4fbd3
| * vim-patch:7.4.2047lonerover2017-02-15
| | | | | | | | | | | | | | Problem: Compiler warning for initializing a struct. Solution: Initialize in another way. (Anton Lindqvist) https://github.com/vim/vim/commit/bfafb4c4a01db3f8c508716daf689e0dfe92b649
| * vim-patch:7.4.2046rover2017-02-15
| | | | | | | | | | | | | | Problem: The qf_init_ext() function is too big. Solution: Refactor it. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/e0d3797664c59afc9705808f86a7cf00fd6d874d
* | lintJames McCoy2017-02-27
| |
* | vim-patch:7.4.2200James McCoy2017-02-27
| | | | | | | | | | | | | | | | Problem: Cannot get all information about a quickfix list. Solution: Add an optional argument to get/set loc/qf list(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/d823fa910cca43fec3c31c030ee908a14c272640
* | *: Fix linter errorsZyX2017-02-15
| |
* | *: Partial string handling refactoringZyX2017-02-15
|/ | | | | | | | Main points: - Replace `char_u` with `char` in some cases. - Remove `str[len] = NUL` hack in some cases when `str` may be considered `const`.
* Fix clint issuesMarco Hinz2017-02-04
|
* vim-patch:7.4.2024Marco Hinz2017-02-04
| | | | | | | | | | Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead. NOTE: Some changes related to channels and the Python and Netbeans interfaces were obviously left out. https://github.com/vim/vim/commit/7c0a2f367f2507669560b1a66423155c70d2e75b
* vim-patch:7.4.2023Marco Hinz2017-02-04
| | | | | | | | | | | 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. NOTE: In Neovim, buflist_findname_stat() was replaced by buflist_findname_file_id() in c41535d69. https://github.com/vim/vim/commit/ea3f2e7be447a8f0c4436869620f908de5e8ef1e
* vim-patch:7.4.2018Marco Hinz2017-02-04
| | | | | | | | 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. https://github.com/vim/vim/commit/b25f9a97e9aad3cbb4bc3fe87cdbd5700f8aa0c6
* vim-patch:7.4.2017Marco Hinz2017-02-04
| | | | | | | | | | | 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. https://github.com/vim/vim/commit/8240433f48f7383c281ba2453cc55f10b8ec47d9
* refactor: Replace vim_strcat() with xstrlcat().Justin M. Keyes2017-01-23
|
* vim-patch:7.4.2081lonerover2017-01-19
| | | | | | | Problem: Line numbers in the error list are not always adjusted. Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c1542744e788d96fed24dd421f43009288092504
* vim-patch:7.4.2067lonerover2017-01-19
| | | | | | | | 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. https://github.com/vim/vim/commit/16ec3c9be3fcdc38530bddb12978bc5a7b98c0f6
* vim-patch:7.4.2064lonerover2017-01-19
| | | | | | | Problem: Coverity warns for possible buffer overflow. Solution: Use vim_strcat() instead of strcat(). https://github.com/vim/vim/commit/4f5c5f29806e53251b7a7b68ce7de86a21ff8015
* vim-patch:7.4.2050lonerover2017-01-19
| | | | | | | Problem: When using ":vimgrep" may end up with duplicate buffers. Solution: When adding an error list entry pass the buffer number if possible. https://github.com/vim/vim/commit/015102e91e978a0bb42a14461c132a85e8f7e1ea
* vim-patch:7.4.2049lonerover2017-01-19
| | | | | | | Problem: There is no way to get a list of the error lists. Solution: Add ":chistory" and ":lhistory". https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954
* lintJames McCoy2016-12-27
|
* vim-patch:7.4.2010James McCoy2016-12-27
| | | | | | | Problem: There is a :cbottom command but no :lbottom command. Solution: Add :lbottom. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
* vim-patch:7.4.1997James McCoy2016-12-27
| | | | | | | Problem: Cannot easily scroll the quickfix window. Solution: Add ":cbottom". https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
* vim-patch:7.4.1980James McCoy2016-12-27
| | | | | | | | | 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) https://github.com/vim/vim/commit/361c8f0e517e41f1f1d34dae328044406fde80ac
* vim-patch:7.4.1966James McCoy2016-12-27
| | | | | | | Problem: Coverity reports a resource leak. Solution: Close "fd" also when bailing out. https://github.com/vim/vim/commit/bcf7772a23624edc0942120e564f6b4ac95604ad