summaryrefslogtreecommitdiffstats
path: root/src/docbookgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-62/+85
| | | | | | | | | | | | | | | | | 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/+24
|
* Regression: source code was not longer visible in HTML/LaTeX/docbook outputDimitri van Heesch2021-03-311-9/+3
|
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-180/+180
| | | | | - 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-89/+88
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-3/+3
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: replace QTextStream by ifstreamDimitri van Heesch2021-03-031-1/+0
|
* Refactoring: replace QRegExp by std::regex in docparser.cppDimitri van Heesch2021-02-201-1/+0
|
* issue #8357 XML output does not include cross-references in code-fragmentsalbert-github2021-01-271-2/+2
| | | | | | | In case of explicit code samples the language was not specified for the code and the code was parsed verbatim. Same was valid for code in the Docbook output. The LaTeX version has been taken as reference for the implementation.
* Refactoring: cleanup unused qtools headersDimitri van Heesch2021-01-221-1/+0
|
* Bug when running docbook with debug outputalbert-github2021-01-121-2/+2
| | | | Wrong "file pointer" used in print.
* Refactoring: replace Doxygen::directories by Doxygen::dirLinkedMapDimitri van Heesch2021-01-011-12/+1
|
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-12/+1
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-10/+2
|
* Refactoring: replace NamespaceSDict by NamespaceLinkedMapDimitri van Heesch2020-12-231-13/+1
|
* Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMapDimitri van Heesch2020-12-191-16/+1
|
* Improve handling of inline namespace members in LateX/RTF outputDimitri van Heesch2020-12-021-2/+2
|
* Remove duplicate pages for classes inside inline namespaces (LaTeX/RTF/DocBook)Dimitri van Heesch2020-11-291-2/+4
|
* issue #697: Test 32 reference to bell signal (XHTML, LaTeX)Dimitri van Heesch2020-11-281-3/+15
|
* 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-1/+1
| | | | | | 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-21/+13
|
* Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-241-26/+24
| | | | | | | | | | | | | | - 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.
* Adding the xml:lang tag to XML and Docbook outputalbert-github2020-06-031-0/+1
| | | | | | | | Adding the xml:lang attribute for XNL and Docbook output Interesting links: - language codes (different from country codes!): https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - example for xml.xsd: http://www.java2s.com/Code/XML/XML-Schema/importanotherXMLschema.htm
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-7/+3
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-23/+22
|
* Restructure section handlingDimitri van Heesch2020-02-211-2/+2
|
* Minor fixesDimitri van Heesch2019-12-251-7/+7
| | | | | 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.
* Small improvements of TCL outputalbert-github2019-10-211-1/+1
| | | | | | | - handling of the used filename, sometimes the filename was not set resulting in case of a warning with file `<unknown>`, also improving, slightly, the line reference. - in case of `##` comment blocks the last line was not always show - in case of multiple comment blocks, properly separate them - correct handling tab character in source code output (*gen)
* Incorrect (X)HTML code when generating source code.albert-github2019-06-171-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having the example: ``` /*! \file * \brief * Prerequisite header file */ //! \cond #ifdef HAVE_CONFIG_H #include "gmxpre-config.h" #endif //! \endcond ``` and we run xmllint on it: ``` xmllint --path .../testing/dtd --noout --nonet --postvalid html/*.html ``` we get the messages: ``` html/aa_8h_source.html:75: parser error : Opening and ending tag mismatch: div line 67 and body </body> ^ html/aa_8h_source.html:76: parser error : Opening and ending tag mismatch: body line 17 and html </html> ^ html/aa_8h_source.html:77: parser error : Premature end of data in tag html line 2 ^ ``` It looks like the problematic part in this case is the doxygen type comment at the end of the file. In the past similar situations were present in LaTeX (related to maximum line length correction), but it was only fixed for LaTeX. Besides the change for HTML also small changes were necessary for RTF and docbook.
* refactoring dot.cppThomas Haller2019-06-131-5/+10
|
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-4/+4
|
* Fixed a few compiler warnings on win32Dimitri van Heesch2019-03-101-2/+2
|
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-1/+1
|
* Refactored code a bit (use const references and made global functions members)Dimitri van Heesch2018-11-241-3/+8
|
* Doxygen creates empty image titles for Docbook outputalbert-github2018-11-231-1/+2
| | | | | | The title of an image needs to be at a specific place in docbook. The current place was incorrect (based on https://stackoverflow.com/questions/53448764/doxygen-creates-empty-image-titles-for-docbook-output)
* Merge remote-tracking branch 'doxygen/master'Joe George2018-11-021-2154/+0
|\
| * Remove old obsolete docbook generatoralbert-github2018-10-171-2147/+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).
* | Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-20/+27
| | | | | | | | Added a Slice-optimized output mode.
* | Update docbookgen.cppArmin Müller2018-10-151-1/+1
|/
* C++11 features used in Doxygenalbert-github2018-09-171-0/+7
| | | | | - corrected some initializations - corrected some missing, new, cases (reported by travis CI)
* Implementation of standard generator for docbook outputalbert-github2018-09-121-1/+0
| | | | Removed debug statement
* Implementation of standard generator for docbook outputalbert-github2018-09-071-295/+1605
| | | | | | | | 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'
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-37/+37
| | | | improve performance
* Fix nesting of XML tag "literallayout" for docbook output of enums.Hauke Wintjen2015-05-271-7/+7
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Remove unused local and static global variablesalbert-github2014-12-271-4/+1
| | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* fix docbook outputzmhuang2014-12-161-104/+137
| | | | | | | | | | 1. support other than english 2. fix broken example link id 3. fix incomplete TOC : no Classe etc. 4. add brief description for Functions etc. 5. Comply with REPEAT_BRIEF 6. Do not output duplicated contents when detailed descripton is missing. 7. set table colwidth for Param/RetVal