summaryrefslogtreecommitdiffstats
path: root/src/outputgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Optimize performance by using FILE* instead of ofstream for outputgenDimitri van Heesch2021-04-271-4/+4
|
* Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-2/+2
| | | | | - methods were marked const but still returned a non-const reference, cause wrongly optimized code for some platforms/compilers
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-2/+2
| | | | | | | | | | | | | | | | | 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: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-6/+7
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-10/+8
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-0/+1
| | | | | | | | | | | | Changes: - Change TooltipManager back into a singleton - Give the OutputList object a unique output id - Increment the id at each startFile() atomically - Pass the id to the HTML code generator - Store tooltips per output id. - Keep track of tooltips that are already written for a given id - for output formats other than HTML the output id is 0 and tooltips are not collected and written
* Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-241-21/+92
| | | | | | | | | | | | | | - Initialized member variables inside the class - Added copy & assign operators for OutputGenerator and Derived classes. - throw a runtime exception when OutputGenerator is copied while is file is still in progress. - Added clone method to make a copy of OutputList. - Moved the implementation of enable() & disable() and friend into OutputGen instead of having the same implementation in each derived class. - Made m_dir and m_fileName readonly (members dir() and fileName()) - Removed call to new while adding generators to OutputList - Replaced QStack by std::stack for the "enabled" state.
* Minor fixesDimitri van Heesch2019-12-251-16/+16
| | | | | Avoid code duplication by adding function addHtmlExtensionIfMissing() and avoid member shadowing by using 'm_' prefix for member variables
* Removed exitCode parameter as it is always 1Dimitri van Heesch2019-12-221-1/+1
|
* Better termination messagealbert-github2019-11-221-2/+1
| | | | | In case a `WARN_LOGFILE` is used it in this file no clear whether doxygen finished correctly or exited beforehand in case a fatal error. Now a 'Exiting...' is also given in the warning log file in case an error is a fatal error.
* Fixed various issues found by PVS-Studio.Dimitri van Heesch2015-08-181-5/+0
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-1/+1
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-1/+2
|
* Release-1.7.6.1-20120220Dimitri van Heesch2012-02-201-1/+1
|
* Release-1.7.4-20110629Dimitri van Heesch2011-06-291-2/+3
|
* Release-1.7.4Dimitri van Heesch2011-03-281-0/+2
|
* Release-1.7.3-20110123Dimitri van Heesch2011-01-231-1/+1
|
* Release-1.6.3-20100603Dimitri van Heesch2010-06-031-1/+2
|
* Release-1.6.3-20100507Dimitri van Heesch2010-05-071-48/+2
|
* Release-1.6.2-20100124Dimitri van Heesch2010-01-241-1/+1
|
* Release-1.5.4-20080101Dimitri van Heesch2008-01-171-5/+3
|
* Release-1.5.4Dimitri van Heesch2008-01-161-1/+1
|
* Release-1.5.1-20070219Dimitri van Heesch2007-02-191-4/+31
|
* Release-1.5.1-20070107Dimitri van Heesch2007-01-071-1/+1
|
* Release-1.5.1-20061202Dimitri van Heesch2006-12-021-1/+1
|
* Release-1.4.6-20060507Dimitri van Heesch2006-05-071-1/+1
|
* Release-1.4.1Dimitri van Heesch2005-01-111-1/+1
|
* Release-1.3.5-20040105Dimitri van Heesch2004-01-051-1/+1
|
* Release-1.3-rc2-20030119Dimitri van Heesch2003-01-191-1/+1
|
* Doxygen-1.2.13-20020122Dimitri van Heesch2002-01-221-1/+1
|
* Release-1.2.5Dimitri van Heesch2001-02-041-0/+1
|
* Release-1.2.4-20010107Dimitri van Heesch2001-01-071-1/+1
|
* Release-1.1.5_20000709Dimitri van Heesch2000-07-091-4/+5
|
* Release 1.1.2Dimitri van Heesch2000-04-091-0/+3
|
* Release 2000-04-03Dimitri van Heesch2000-04-031-1/+2
|
* Release-1.1.1-20000326Dimitri van Heesch2000-03-261-1/+1
|
* Upgrade to 1.1.0Dimitri van Heesch2000-02-151-1/+16
|
* mods for doxygen-0.49-990728Dimitri van Heesch1999-12-151-4/+5
|
* initial versionDimitri van Heesch1999-12-151-0/+77