summaryrefslogtreecommitdiff
path: root/src/tag.c
AgeCommit message (Collapse)Author
2018-06-30patch 8.1.0133: tagfiles() can have duplicate entriesBram Moolenaar
Problem: tagfiles() can have duplicate entries. Solution: Simplify the filename to make checking for duplicates work better. Add a test. (Dominique Pelle, closes #2979)
2018-04-27patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong wayBram Moolenaar
Problem: SET_NO_HLSEARCH() used in a wrong way. Solution: Make it a function. (suggested by Dominique Pelle, closes #2850)
2018-03-04patch 8.0.1564: too many #ifdefsBram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesBram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-02-09patch 8.0.1488: emacs tags no longer workBram Moolenaar
Problem: Emacs tags no longer work. (zdohnal) Solution: Do not skip over end of line.
2017-12-19patch 8.0.1409: buffer overflow in :tags commandBram Moolenaar
Problem: Buffer overflow in :tags command. Solution: Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475) Add a test.
2017-10-26patch 8.0.1218: writing to freed memory in autocmdBram Moolenaar
Problem: Writing to freed memory in autocmd. Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245)
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsBram Moolenaar
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-06-17patch 8.0.0643: when a pattern search is slow Vim becomes unusableBram Moolenaar
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-05patch 8.0.0621: :stag does not respect 'switchbuf'Bram Moolenaar
Problem: The ":stag" command does not respect 'switchbuf'. Solution: Check 'switchbuf' for tag commands that may open a new window. (Ingo Karkat, closes #1681) Define macros for the return values of getfile().
2017-04-07patch 8.0.0550: cannot parse some etags format tags fileBram Moolenaar
Problem: Some etags format tags file use 0x01, breaking the parsing. Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614)
2017-03-25patch 8.0.0505: failed window split for :stag not handledBram Moolenaar
Problem: Failed window split for :stag not handled. (Coverity CID 99204) Solution: If the split fails skip to the end. (bstaletic, closes #1577)
2017-03-21patch 8.0.0499: taglist() does not prioritize tags for a bufferBram Moolenaar
Problem: taglist() does not prioritize tags for a buffer. Solution: Add an optional buffer argument. (Duncan McDougall, closes #1194)
2017-03-16patch 8.0.0466: still macros that should be all-capsBram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-12patch 8.0.0452: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-03-12patch 8.0.0448: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-03-01patch 8.0.0393: order of duplicate tags is not preservedBram Moolenaar
Problem: When the same tag appears more than once, the order is unpredictable. (Charles Campbell) Solution: Besides using a dict for finding duplicates, use a grow array for keeping the tags in sequence.
2017-01-23patch 8.0.0223: Coverity warns for an uninitialized variableBram Moolenaar
Problem: Coverity gets confused by the flags passed to find_tags() and warnts for an uninitialized variable. Solution: Disallow using cscope and help tags at the same time.
2017-01-22patch 8.0.0217: build fails without cscope featureBram Moolenaar
Problem: Build fails without the cscope feature. Solution: Add #ifdef.
2017-01-22patch 8.0.0215: NULL pointer use if cscope line looks like emacs tagBram Moolenaar
Problem: When a Cscope line contains CTRL-L a NULL pointer may be used. (Coverity) Solution: Don't check for an emacs tag in a cscope line.
2017-01-16patch 8.0.0195: fail to jump to static tag in current fileBram Moolenaar
Problem: Jumping to a tag that is a static item in the current file fails. (Kazunobu Kuriyama) Solution: Make sure the first byte of the tag key is not NUL. (Suggested by James McCoy, closes #1387)
2017-01-15patch 8.0.0190: finding duplicate tags uses a slow linear searchBram Moolenaar
Problem: Detecting duplicate tags uses a slow linear search. Solution: Use a much faster hash table solution. (James McCoy, closes #1046) But don't add hi_keylen, it makes hash tables 50% bigger.
2016-12-01patch 8.0.0116Bram Moolenaar
Problem: When reading English help and using CTRl-] the language from 'helplang' is used. Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito Higashi, closes #1249)
2016-12-01patch 8.0.0109Bram Moolenaar
Problem: Still checking if memcmp() exists while every system should have it now. Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
2016-10-15patch 8.0.0035Bram Moolenaar
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) Solution: Do not set compl_curr_match when called from complete_check(). (closes #1168)
2016-09-06patch 7.4.2338Bram Moolenaar
Problem: Can't build with small features. (John Marriott) Solution: Nearly always define FEAT_TAG_BINS.
2016-09-06patch 7.4.2337Bram Moolenaar
Problem: taglist() is still slow. (Luc Hermitte) Solution: Check for CTRL-C less often when finding duplicates.
2016-09-06patch 7.4.2335Bram Moolenaar
Problem: taglist() is slow. (Luc Hermitte) Solution: Check for CTRL-C less often when doing a linear search. (closes #1044)
2016-08-29patch 7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-24patch 7.4.2248Bram Moolenaar
Problem: When cancelling the :ptjump prompt a preview window is opened for a following command. Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that the test runner gets stuck in trying to close a window.
2016-08-20patch 7.4.2230Bram Moolenaar
Problem: There is no equivalent of 'smartcase' for a tag search. Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian Brabandt, closes #712) Turn tagcase test into new style.
2016-08-12patch 7.4.2200Bram Moolenaar
Problem: Cannot get all information about a quickfix list. Solution: Add an optional argument to get/set loc/qf list(). (Yegappan Lakshmanan)
2016-07-01patch 7.4.1975Bram Moolenaar
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)
2016-05-05patch 7.4.1819Bram Moolenaar
Problem: Compiler warnings when sprintf() is a macro. Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis, closes #788)
2016-04-18patch 7.4.1751Bram Moolenaar
Problem: Crash when 'tagstack' is off. (Dominique Pelle) Solution: Fix it. (Hirohito Higashi)
2016-04-08patch 7.4.1719Bram Moolenaar
Problem: Leaking memory when there is a cycle involving a job and a partial. Solution: Add a copyID to job and channel. Set references in items referred by them. Go through all jobs and channels to find unreferenced items. Also, decrement reference counts when garbage collecting.
2016-03-12patch 7.4.1552Bram Moolenaar
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
2016-01-30patch 7.4.1214Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1199Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2015-11-24patch 7.4.941Bram Moolenaar
Problem: There is no way to ignore case only for tag searches. Solution: Add the 'tagcase' option. (Gary Johnson)
2015-06-19patch 7.4.746Bram Moolenaar
Problem: ":[count]tag" is not always working. (cs86661) Solution: Set cur_match a bit later. (Hirohito Higashi)
2014-04-02updated for version 7.4.240Bram Moolenaar
Problem: ":tjump" shows "\n" as "\\n". Solution: Skip over "\" that escapes a backslash. (Gary Johnson)
2013-11-28updated for version 7.4.105Bram Moolenaar
Problem: Completing a tag pattern may give an error for invalid pattern. Solution: Suppress the error, just return no matches.
2013-11-08updated for version 7.4.079Bram Moolenaar
Problem: A script cannot detect whether 'hlsearch' highlighting is actually displayed. Solution: Add the "v:hlsearch" variable. (ZyX)
2013-09-05updated for version 7.4.017Bram Moolenaar
Problem: ":help !!" does not find the "!!" tag in the help file. (Ben Fritz) Solution: When reading the start of the tags file do parse lines that are not header lines.
2013-06-15updated for version 7.3.1202Bram Moolenaar
Problem: Tags are not found in case-folded tags file. (Darren cole, Issue 90) Solution: Take into account that when case folding was used for the tags file "!rm" sorts before the "!_TAG" header lines.
2013-06-08updated for version 7.3.1149Bram Moolenaar
Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
2012-09-12updated for version 7.3.660Bram Moolenaar
Problem: ":help !" jumps to help for ":!". Solution: Adjust check for tag header line. (Andy Wokula)
2012-09-05updated for version 7.3.650Bram Moolenaar
Problem: Completion after ":help \{-" gives an error message and messes up the command line. Solution: Cancel the tag search if the pattern can't be compiled. (Yasuhiro Matsumoto)