aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
Commit message (Collapse)AuthorAge
* 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
* vim-patch:7.4.1964James McCoy2016-12-27
| | | | | | | | Problem: The quickfix init function is too big. Solution: Factor out parsing 'errorformat' to a separate function. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/688e3d1fd9b9129a5ba0e0d599ccfe6f4443daf3
* vim-patch:7.4.1949James McCoy2016-12-27
| | | | | | | Problem: Minor problems with the quickfix code. Solution: Fix the problems. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/38df43bd13a2498cc96b3ddd9a20dd75126bd171
* vim-patch:7.4.1884James McCoy2016-12-27
| | | | | | | | 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. https://github.com/vim/vim/commit/2f095a4bc4d786e0ac834f48dd18a94fe2d140e3
* vim-patch:7.4.1882James McCoy2016-12-27
| | | | | | | Problem: Check for line break at end of line wrong. (Dominique Pelle) Solution: Correct the logic. https://github.com/vim/vim/commit/b37662a0fbb952838fca87aff4d26b596030b67b
* vim-patch:7.4.1881James McCoy2016-12-27
| | | | | | | Problem: Appending to a long quickfix list is slow. Solution: Add qf_last. https://github.com/vim/vim/commit/83e6d7ac6a1c2a0cb5ee6c8420a5dc792f1d5ffa
* vim-patch:7.4.1871James McCoy2016-12-27
| | | | | | | | | 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 vim/vim#841) https://github.com/vim/vim/commit/864293abb72d62604d8d6b458addfb43c14230c3
* vim-patch:7.4.1841James McCoy2016-12-27
| | | | | | | Problem: The code to reallocate the buffer used for quickfix is repeated. Solution: Move the code to a function. (Yegappan Lakshmanan, closes vim/vim#831) https://github.com/vim/vim/commit/2b2b8ae5ab37b04584633c469265d85825166905
* vim-patch:7.4.1815James McCoy2016-12-27
| | | | | | | Problem: Compiler warnings for unused variables. (Ajit Thakkar) Solution: Add a dummy initialization. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/9a3b3311d26c990208150255ad65472bb4eefaa4
* vim-patch:7.4.1813James McCoy2016-12-27
| | | | | | | Problem: Memory access error when running test_quickfix. Solution: Allocate one more byte. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/9b4ebc692d77ca8ef90d72517347f74c2474dd3d
* vim-patch:7.4.1802James McCoy2016-12-27
| | | | | | | Problem: Quickfix doesn't handle long lines well, they are split. Solution: Drop characters after a limit. (Anton Lindqvist) https://github.com/vim/vim/commit/6be8c8e165204b8aa4eeb8a52be87a58d8b41b9e
* vim-patch:7.4.1752James McCoy2016-12-27
| | | | | | | Problem: When adding to the quickfix list the current position is reset. Solution: Do not reset the position when not needed. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c1808d5822ed9534ef7f0fe509b15bee92a5cc28
* lintJames McCoy2016-11-15
|
* vim-patch:7.4.1664James McCoy2016-11-15
| | | | | | | Problem: Crash in :cgetexpr. Solution: Check for NULL pointer. (Dominique) Add a test. https://github.com/vim/vim/commit/89c64d557dbe0bacfdd7b2872411b00cc1523d85
* vim-patch:7.4.1647James McCoy2016-11-15
| | | | | | | Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique) Solution: Set qf_ptr when adding the first item to the quickfix list. https://github.com/vim/vim/commit/8b20179c657b4266dff115486ca68c6a50324071
* vim-patch:7.4.1640James McCoy2016-11-15
| | | | | | | | Problem: Crash when an autocommand changes a quickfix list. (Dominique) Solution: Check wether an entry is still valid. (Yegappan Lakshmanan, Hirohito Higashi) https://github.com/vim/vim/commit/ffec3c53496d49668669deabc0724ec78e2274fd
* vim-patch:7.4.1591James McCoy2016-11-11
| | | | | | | Problem: The quickfix title is truncated. Solution: Save the command before it is truncated. (Anton Lindqvist) https://github.com/vim/vim/commit/5584df65a0ca2315d1eebc13c54a448bee4d0758
* 'inccommand': reworkJustin M. Keyes2016-11-08
| | | | | | | | | | | | | | | | | - Eliminate/isolate static/global variables - Remove special-case parameter from buflist_new() - Remove special-case ECMD_RESERVED_BUFNR - To determine when u_undo_and_forget() should be done, check b_changedtick instead of a heuristic. - use mb_string2cells() instead of strlen() to measure the :sub patterns - call ml_close() before buf_clear_file(). Avoids leaks caught by ASan. Original patch by: Robin Elrharbi-Fleury (Robinhola) Audrey Rayé (Adrey06) Philémon Hullot (DesbyP) Aymeric Collange (aym7) Clément Guyomard (Clement0)
* LintedKillTheMule2016-10-30
|
* Incsubsitution featureKillTheMule2016-10-30
| | | | | | | | | | | | | | | | | Originally implemented by * Clement0 * DesbyP * aym7 * Adrey06 * Robinhola in #4811. Major reworkings and bug fixes by * bfredl Most tests suggested by ZyX-l, suggestions for improvements by oni-link.
* refactor: eliminate misc2.cJustin M. Keyes2016-09-13
| | | | | | | | | | move `call_shell` to misc1.c Move some fns to state.c Move some fns to option.c Move some fns to memline.c Move `vim_chdir*` fns to file_search.c Move some fns to new module, bytes.c Move some fns to fileio.c
* vim-patch:7.4.1971 (#5262)Jurica Bradarić2016-09-04
| | | | | | | Problem: It is not easy to see unrecognized error lines below the current error position. Solution: Add ":clist +count". https://github.com/vim/vim/commit/e8fea0728a2fa1fe78ef0ac90dee1a84bd7ef9fb
* eval: remove (char_u *) in constant get_dict_(string|number) parametersBjörn Linse2016-08-24
| | | | | Remove redundant item availibility checks when constructing complete items from a dict.
* LintingTommy Allen2016-08-17
|
* highlight: Added QuickFixLine highlight groupTommy Allen2016-08-17
| | | | | | | | | | | | - Links to Search by default screen.c: Combine CursorLine with QuickFixLine - HLF_QFL takes priority over HLF_CUL docs: Updated to mention QuickFixLine runtime: Added QuickFixLine to nvimHLGroup tests: QuickFixLine highlight
* os/fs: Rename os_file_exists to os_path_exists (#4973)Daniel Xu2016-07-06
| | | | Because the old name did not indicate that the function would return true on directories as well.
* lintJames McCoy2016-06-22
|
* vim-patch:7.4.1592James McCoy2016-06-22
| | | | | | | Problem: Quickfix code using memory after being freed. (Dominique Pelle) Solution: Detect that the window was closed. (Hirohito Higashi) https://github.com/vim/vim/commit/0899d698030ec076eb26352cda1ea334ab0819d9
* vim-patch:7.4.1059Michael Ennen2016-05-19
| | | | | | | Problem: Code will never be executed. Solution: Remove the code. https://github.com/vim/vim/commit/fd39d08fb6f61bc6c1366de8a7af19a42dc1b377
* *: Fix new linter errorsZyX2016-05-01
| | | | Originally there were 128 new errors, so I thought this is a good idea to fix all of them. Of course, this commit also fixes many suppressed errors.
* Merge tempfile.c back into fileio.cJurica Bradaric2016-04-20
|
* *: Make set_vim_var_\* functions have proper argument typesZyX2016-04-18
|
* Correctly reset qf_list_T in qf_free()Jun T2016-03-25
|
* quickfix.c: enable -WconversionCharles Joachim2016-03-10
|
* coverity/56808: STRING_OVERFLOWJustin M. Keyes2016-02-28
| | | | | | This was caught by FORTIFY_SOURCE (and coverity). Fixes #4371
* Fix linter errors.Jurica Bradaric2016-01-30
|
* vim-patch:7.4.747Jurica Bradaric2016-01-30
| | | | | | | | Problem: ":cnext" may jump to the wrong column when setting 'virtualedit=all' (cs86661) Solution: Reset the coladd field. (Hirohito Higashi) https://github.com/vim/vim/commit/b8c890035efd694daab5cdd71b5265c52c23fa81
* vim-patch:7.4.718Michael Ennen2016-01-22
| | | | | | | | | Problem: Autocommands triggered by quickfix cannot get the current title value. Solution: Set w:quickfix_title earlier. (Yannick) Also move the check for a title into the function. https://github.com/vim/vim/commit/81278efadf45ad745ec9733fdd9970f070571544
* vim-patch:7.4.858Florian Walch2015-12-24
| | | | | | | | Problem: It's a bit clumsy to execute a command on a list of matches. Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
* src/*: Remove `VIM - Vi improved ...` headerMichael Reed2015-11-27
| | | | | | | | | | | | | | | | | | | Regarding the individual items in the header: `Vim - Vi improved by Bram Moolenar` Bram Moolenar is already mentioned throughout the documentation, as well as the intro screen. `:help uganda` It's already shown to all users who don't use `shortmess+=I` upon starting nvim, and is already placed prominently in help.txt, i.e., `:help` run with no arguments. `:help credits` Already mentioned near the top of help.txt. `README.md` Already mentioned in develop.txt.
* Remove unnecessary includes for errno.hRui Abreu Ferreira2015-11-25
|
* src: README.txt -> README.mdMichael Reed2015-11-23
| | | | | The former no longer exists in this repo; see the top of src/nvim/README.md.
* Remove char_u: message:smsg()Michael Reed2015-05-13
|
* Remove char_u: concat_fnames()Mark Bainter2015-05-06
|
* Remove char_u: add_pathsep()Mark Bainter2015-05-06
|
* vim-patch:7.4.554David Bürgin2015-04-27
| | | | | | | Problem: Missing part of patch 7.4.519. Solution: Copy back regprog after calling vim_regexec. https://github.com/vim/vim/tree/v7-4-554