summaryrefslogtreecommitdiffstats
path: root/src/docbookgen.h
Commit message (Collapse)AuthorAgeFilesLines
* Implementation functions for INLINE_SIMPLE_STRUCTS for docbook outputalbert-github2021-06-151-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of the `INLINE_SIMPLE_STRUCTS` functions was missing for docbook. The problem shows up when using e.g. ``` /** \file */ /** outer */ struct Outer { /** foo */ union Foo { /** Bar */ struct FooFlags { bool cond1; /*!< \brief bar 1 * \details details1 bar 1 */ bool cond2; /*!< bar 2 */ } flags; /*!< \brief foo bar * \details details2 of foo bar */ } myMember; /*!< public member */ private: void myWork(); /*!< private member function */ }; ``` with ``` INLINE_SIMPLE_STRUCTS = YES QUIET=YES GENERATE_DOCBOOK=YES ``` Note with the `INLINE_SIMPLE_STRUCTS` there is also a mismatch with the opening and closing `section` tags, but that is unrelated to this implementation(in this case is is "solved" by adding a closing section tag to struct_outer.xml and removing the last closing section tag from structs_8hpp.xml
* bug_674442 CREATE_FOLDERS should not create unused foldersalbert-github2021-06-121-0/+1
| | | | | | Also known as issue #4672 The folders are still created but in case the folders are empty after the doxygen run the directories are removed.
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-80/+80
| | | | | | | | | | | | | | | | | 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()'
* issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352)Dimitri van Heesch2021-04-081-0/+2
|
* Regression: source code was not longer visible in HTML/LaTeX/docbook outputDimitri van Heesch2021-03-311-6/+1
|
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-4/+4
| | | | | - 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-6/+6
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-2/+2
| | | | | | | | | | | | 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
* Fix for broken LaTeX output.Dimitri van Heesch2020-09-271-3/+3
| | | | | | Fixes error: "\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}" while generating the LaTeX version of the manual
* Refactoring: prepare output generators for multi-threaded useDimitri van Heesch2020-09-271-40/+42
|
* Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-241-30/+23
| | | | | | | | | | | | | | - 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.
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-26/+26
|
* Restructure section handlingDimitri van Heesch2020-02-211-2/+2
|
* Minor fixesDimitri van Heesch2019-12-251-3/+3
| | | | | Avoid code duplication by adding function addHtmlExtensionIfMissing() and avoid member shadowing by using 'm_' prefix for member variables
* refactoring dot.cppThomas Haller2019-06-131-6/+6
|
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-3/+3
|
* Remove old obsolete docbook generatoralbert-github2018-10-171-2/+0
| | | | The docbook generator has been replaced by a new implementation. The old implementation was still present, removed now (disrupts easy updates due to false positive searches in the code).
* C++11 features used in Doxygenalbert-github2018-09-171-8/+8
| | | | | - corrected some initializations - corrected some missing, new, cases (reported by travis CI)
* Implementation of standard generator for docbook outputalbert-github2018-09-071-1/+346
| | | | | | | | Till now docbook had its own output generator, but lot of possibilities were missing (see remark about updating below), with this patch the (more than) basic implementation has been made. Added some docbook tests to the current tests and updated documentation where necessary Tried updating current version but too many issues remained that were generically handled in the standard generator, code is in current version behind '#if 0' construct in doxygen.cpp and name with '_v1' and in docbookgen.cp'
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-0/+20