summaryrefslogtreecommitdiffstats
path: root/src/htags.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup util.h by moving some functions to other filesDimitri van Heesch2021-05-011-0/+1
|
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-7/+7
| | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-11/+7
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-11/+8
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: Replaced QFileInfo with FileInfoDimitri van Heesch2021-03-181-1/+2
| | | | | - FileInfo is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: modernize htags g_symbolDictDimitri van Heesch2021-01-221-8/+9
|
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-16/+16
|
* Renamed Portables to PortableDimitri van Heesch2019-12-081-3/+3
|
* Refactoring of portable.h and portable.cpp functions to be contained in a ↵Tobias Off2019-11-281-3/+3
| | | | | | namespace Fixing some memory issues caused by not correctly freed pointers
* Bug 489766 - Wrong MSC syntax rejected *silently*albert-github2019-06-131-0/+4
| | | | In case of an error at least a message (consistency) should be given (besides msc also for dia and htags).
* Bug 781306 - *** Error in `doxygen': realloc(): invalid pointer: ↵albert-github2019-05-121-1/+1
| | | | | | | | 0x0000000001d45ba0 @ exit Crash occurs, as indicated in error report, on line 131 of htags.cpp (line.resize(len+1);) Looks like there is a buffer problem (enlarge after making the buffer smaller beforehand). The readLine should place a `\0` at the end but to be on the save side.
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-6/+6
| | | | improve performance
* Spelling correction for error message with USE_HTAGS usagealbert-github2015-07-051-1/+1
|
* Revert "Spelling correction for error message with USE_HTAGS usage"albert-github2015-07-051-1/+1
| | | | This reverts commit 0d060c455207ab32092e5a7edcd5457bb00f4653.
* Spelling correction for error message with USE_HTAGS usagealbert-github2015-07-051-1/+1
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Merge pull request #272 from albert-github/feature/bug_unusedDimitri van Heesch2015-01-031-1/+0
|\ | | | | Remove unused local and static global variables
| * Remove unused local and static global variablesalbert-github2014-12-271-1/+0
| | | | | | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* | Fixed a couple of cases where sharing string data could lead to corruptionDimitri van Heesch2015-01-021-1/+3
|/ | | | | Also made dangerous string access more visible by introducing rawData(). This replaces data() which will now return a constant string.
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-3/+3
|
* Release-1.8.3.1-20130402Dimitri van Heesch2013-04-021-1/+1
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-1/+1
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-4/+3
|
* Release-1.7.6.1-20120220Dimitri van Heesch2012-02-201-1/+1
|
* Release-1.7.3-20110123Dimitri van Heesch2011-01-231-1/+1
|
* Release-1.7.1Dimitri van Heesch2010-06-251-3/+3
|
* Release-1.6.3-20100603Dimitri van Heesch2010-06-031-0/+2
|
* Release-1.6.2-20100124Dimitri van Heesch2010-01-241-1/+1
|
* Release-1.5.4-20080101Dimitri van Heesch2008-01-171-1/+1
|
* Release-1.5.1-20070219Dimitri van Heesch2007-02-191-2/+3
|
* Release-1.4.6-20060507Dimitri van Heesch2006-05-071-1/+1
|
* Release-1.4.3Dimitri van Heesch2005-05-161-1/+1
|
* Release-1.4.2-20050508Dimitri van Heesch2005-05-081-0/+176