summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-1/+1
| | | | | - 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-137/+146
| | | | | | | | | | | | | | | | | 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/+42
|
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-700/+703
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: move qcstring and remove qtoolsDimitri van Heesch2021-03-251-2/+2
|
* issue #8375 Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-241-1/+1
| | | | vice versa (part 2)
* issue #8375: Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-221-1/+2
| | | | vice versa
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-352/+341
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-16/+15
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Disable qregex.h and fix some warnings and issuesDimitri van Heesch2021-02-201-2/+0
|
* Refactoring: qtools cleanup + remove QDateTime use from rtfgen.cppDimitri van Heesch2021-02-051-3/+9
|
* Refactoring: modernize rtf_StyleDimitri van Heesch2021-01-221-51/+45
|
* Refactoring: replace Doxygen::directories by Doxygen::dirLinkedMapDimitri van Heesch2021-01-011-6/+14
|
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-6/+2
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-14/+8
|
* Refactoring: replace NamespaceSDict by NamespaceLinkedMapDimitri van Heesch2020-12-231-28/+17
|
* Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMapDimitri van Heesch2020-12-191-46/+18
|
* 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-3/+6
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-3/+3
| | | | | | | | | | | | 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-14/+5
|
* Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-241-20/+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.
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-2/+2
|
* Fixes after coverity runDimitri van Heesch2020-04-101-2/+7
|
* Fixed shadowing issue in getFortranDefs and other shadowing casesDimitri van Heesch2020-04-091-38/+39
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-56/+48
|
* Missing anchors in RTF code output (#7647)albert-github2020-03-211-2/+36
| | | | When having the RTF_SOURCE_CODE and RTF_HYPERLINKS set the links to the code are generated (e.g. in "Definition at line") but the corresponding anchor is missing. The corresponding anchors are created (in a similar way as it is done for LaTeX).
* Doxygen version information (#7645)albert-github2020-03-171-3/+3
| | | | | - add doxygen version to rtf, comment, output - remove duplicate code (getFullVersion) - more clear name to get doxygen version (getVersion becomes getrDoxygenVersion). Also to overcomecofusion with the version information for files.
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-7/+6
|
* Restructure section handlingDimitri van Heesch2020-02-211-7/+7
|
* Minor fixesDimitri van Heesch2019-12-251-37/+17
| | | | | 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.
* Merge pull request #7344 from albert-github/feature/bug_tclDimitri van Heesch2019-11-101-0/+1
|\ | | | | Small improvements of TCL output
| * Small improvements of TCL outputalbert-github2019-10-211-0/+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)
* | Spelling corrections for src directoryalbert-github2019-11-051-1/+1
|/ | | | | | | | Spelling corrections as found by codespell and in #561. Some reported problems were already fixed, others are fixed here, with some exceptions (a,o.): - "referenceby" in defgen.cpp as this is in the output and I cannot oversee the consequences (looks like none, but ...) - "HANGEUL_CHARSET" left as is as in some MS documentation is written: 'HANGUL_CHARSET: Also spelled "Hangeul". Specifies the Hangul Korean character set.' (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/0d0b32ac-a836-4bd2-a112-b6000a1b4fc9).
* Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-1/+3
|
* Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-2/+2
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-2/+2
| | | | | | | | Consistency
* | Merge branch 'feature/bug_gitversion' of ↵Dimitri van Heesch2019-07-301-2/+2
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_gitversion
| * | Show git version informationalbert-github2019-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original version has as features: - getting the git version number for usage in doxygen - making the doxygen version number inclusion dependent on the VERSION file The disadvantage of the chosen methodology was that an extra correction step was necessary, by defining getter methods to retrieve the values this correction can be hidden. The information is coming from different sources: - the VERSION file - the git "repository and build system (when present) Furthermore there are a couple of places where the version information is used (a.o. doxygen and doxywizard executable, though the doxygenwizard was only done "half hearted") The handling of the VERSION file has been made in such a way that it is comparable with the generation of the git version changes. For a better abstraction the version handling is all done in a separate directory.
* | | Incorrect (X)HTML code when generating source code.albert-github2019-06-171-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+9
| |/ |/|
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-1/+1
|/
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-1/+1
|
* RTF lists more levels and removing extra paragraphsalbert-github2018-11-181-10/+11
| | | | | - In a RTF list after the last indent a number of extra paragraphs were displayed (with e.g. bullets), these extra paragraphs are removed - Increased the number of levels conform the changes for latex (#6622)
* RTF layout regarding References and Referenced byalbert-github2018-10-281-1/+2
| | | | The layout was so that lines were stretched to to complete lines from left to right (Justifid). For "normal" text this is fine, but not for lists like this, so set alignment here to: Left aligned
* Merge pull request #6477 from albert-github/feature/bug_exception_rtf_latexDimitri van Heesch2018-09-061-1/+1
|\ | | | | Missing opening round bracket in case of an exception
| * Missing opening round bracket in case of an exceptionalbert-github2018-08-311-1/+1
| | | | | | | | | | In case of RTF / LaTeX the opening round bracket was missing after the word "throw" (see e.g. in the manual the `\fn` example the detailed function description)