| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()'
|
| |
|
| |
|
|
|
|
|
| |
- direct use of std::stringstream and std::ostream gave a 30%
drop in performance.
|
| |
|
|
|
|
|
| |
- Dir is based on ghc::filesystem, a std::filesystem compatible
implementation that does not require C++17.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Wrong "file pointer" used in print.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fixes error:
"\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}"
while generating the LaTeX version of the manual
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 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
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Avoid code duplication by adding function addHtmlExtensionIfMissing() and
avoid member shadowing by using 'm_' prefix for member variables
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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)
|
|\ |
|
| |
| |
| |
| | |
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 a Slice-optimized output mode.
|
|/ |
|
|
|
|
|
| |
- corrected some initializations
- corrected some missing, new, cases (reported by travis CI)
|
|
|
|
| |
Removed debug statement
|
|
|
|
|
|
|
|
| |
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'
|
|
|
|
| |
improve performance
|
| |
|
| |
|
|
|
|
| |
Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
|
|
|
|
|
|
|
|
|
|
| |
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
|