summaryrefslogtreecommitdiffstats
path: root/src/if_cscope.c
AgeCommit message (Collapse)Author
2023-01-22patch 9.0.1234: the code style has to be checked manuallyv9.0.1234Bram Moolenaar
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
2023-01-12patch 9.0.1183: code is indented more than necessaryv9.0.1183Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11805)
2022-10-13patch 9.0.0743: starting cscope on Unix does not quote the arguments rightv9.0.0743Bram Moolenaar
Problem: Starting cscope on Unix does not quote the arguments correctly. (Gary Johnson) Solution: Move the final quote after the arguments.
2022-10-01patch 9.0.0635: build error and compiler warningsv9.0.0635Bram Moolenaar
Problem: Build error and compiler warnings. Solution: Add missing change. Add type casts.
2022-09-25patch 9.0.0584: cscope test with wrong executable name failsv9.0.0584Bram Moolenaar
Problem: Cscope test with wrong executable name fails. Solution: Use /bin/sh to execute the command. (Yegappan Lakshmanan)
2022-08-29patch 9.0.0318: clearing screen causes flickerv9.0.0318Bram Moolenaar
Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-06-05patch 8.2.5061: C89 requires signal handlers to return voidv8.2.5061Bram Moolenaar
Problem: C89 requires signal handlers to return void. Solution: Drop RETSIGTYPE and hard-code a void return value.
2022-02-12patch 8.2.4354: dynamic loading of libsodium not handled properlyv8.2.4354K.Takata
Problem: Dynamic loading of libsodium not handled properly. Solution: Fix has() and :version. Show an error message when loading fails. Fix memory leaks. (Ken Takata, closes #9754)
2022-01-29patch 8.2.4254: using short instead of intv8.2.4254=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Using short instead of int. Solution: Use int. (closes #9658)
2022-01-28patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
2022-01-24patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not usefulv8.2.4199K.Takata
Problem: MS-Windows: Support for MSVC 2003 is not useful. Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
2022-01-13patch 8.2.4081: CodeQL reports problem in if_cscope causing it to failv8.2.4081ichizok
Problem: CodeQL reports problem in if_cscope causing it to fail. Solution: Use execvp() instead of execl(). Merge the header file into the source file. (Ozaki Kiichi, closes #9519)
2022-01-04patch 8.2.4003: error messages are spread outv8.2.4003Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-02patch 8.2.3987: error messages are spread outv8.2.3987Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-02patch 8.2.3986: error messages are spread outv8.2.3986Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3977: error messages are spread outv8.2.3977Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3975: error messages are spread outv8.2.3975Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-10-24patch 8.2.3561: cscope has a complicated way of giving an error messagev8.2.3561James McCoy
Problem: Cscope has a complicated way of giving an error message. Solution: Use semsg(). (James McCoy, closes #9038)
2021-10-02patch 8.2.3460: some type casts are not neededv8.2.3460=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes #8934)
2021-07-24patch 8.2.3211: Vim9: argument types are not checked at compile timev8.2.3211Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Fix type check for matchaddpos(). (Yegappan Lakshmanan, closes #8619)
2021-07-24patch 8.2.3208: dynamic library load error does not mention why it failedv8.2.3208Martin Tournoij
Problem: Dynamic library load error does not mention why it failed. Solution: Add the error message. (Martin Tournoij, closes #8621)
2021-02-03patch 8.2.2457: Coverity warns for memory leakv8.2.2457Bram Moolenaar
Problem: Coverity warns for memory leak. Solution: Free memory when out of memory.
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-08-23patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513Bram Moolenaar
Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
2020-07-11patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar
Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
2019-12-04patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-09-05patch 8.1.1991: still cannot build with eval but without cscopev8.1.1991Bram Moolenaar
Problem: Still cannot build with eval but without cscope. Solution: Move f_cscope_connection() outside of #ifdef.
2019-09-05patch 8.1.1989: the evalfunc.c file is still too bigv8.1.1989Bram Moolenaar
Problem: The evalfunc.c file is still too big. Solution: Move f_pathshorten() to filepath.c. Move f_cscope_connection() to if_cscope.c. Move diff_ functions to diff.c. Move timer_ functions to ex_cmds2.c. move callback functions to evalvars.c.
2019-09-04patch 8.1.1979: code for handling file names is spread outv8.1.1979Bram Moolenaar
Problem: Code for handling file names is spread out. Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
2019-08-18patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar
Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
2019-05-23patch 8.1.1371: cannot recover from a swap filev8.1.1371Bram Moolenaar
Problem: Cannot recover from a swap file. Solution: Do not expand environment variables in the swap file name. Do not check the extension when we already know a file is a swap file. (Ken Takata, closes 4415, closes #4369)
2019-02-17patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-15patch 8.1.0753: printf format not checked for semsg()v8.1.0753Bram Moolenaar
Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-08-11patch 8.1.0268: file type checking has too many #ifdefv8.1.0268Bram Moolenaar
Problem: File type checking has too many #ifdef. Solution: Always define the S_IF macros. (Ken Takata, closes #3306)
2018-07-25patch 8.1.0211: expanding a file name "~" results in $HOMEv8.1.0211Bram Moolenaar
Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran) Solution: Change "~" to "./~" before expanding. (closes #3072)
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram 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 linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-01-30patch 8.0.1442: using pointer before it is setv8.0.1442Bram Moolenaar
Problem: Using pointer before it is set. Solution: Search in whole buffer instead of next token.
2018-01-30patch 8.0.1439: if cscope fails a search Vim may hangv8.0.1439Bram Moolenaar
Problem: If cscope fails a search Vim may hang. Solution: Bail out when a search error is encountered. (Safouane Baroudi, closes #2598)
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram 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-03-16patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram 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 casev8.0.0452Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-05patch 8.0.0420: text garbled when the system encoding differs from 'encoding'v8.0.0420Bram Moolenaar
Problem: When running :make the output may be in the system encoding, different from 'encoding'. Solution: Add the 'makeencoding' option. (Ken Takata)
2017-01-15patch 8.0.0192: cannot build with tiny featuresv8.0.0192Bram Moolenaar
Problem: Build fails with tiny features. Solution: Change #ifdef for hash_clear(). Avoid warning for unused argument.