| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_xml_settings
|
| |
| |
| |
| |
| | |
When generating XML output is is afterwards unknown which settings have been used to generate the XML output, e.g. whether `EXTRACT_PRIVATE` was set or not as the XML output tries to write out all information contained in the sources and not to limit it.
By writing out a Doxyfile.xml with all the used settings this can be overcome.
|
|\ \
| | |
| | | |
issue #7346 Incompatibility with MathJax 3.0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implementing the possibility to use MathJax versie 3
- Added setting MATHJAX_VERSION
- made setting for MATHJAX_RELPATH so that is suited for version Mathjax version3, i.e. selecting right default
- made setting for MATHJAX_FORMAT so that is suited for version Mathjax version3, automatic conversion between MathJax 2 and MathJax3 format setting
|
| | |
| | |
| | |
| | |
| | | |
- methods were marked const but still returned a non-const reference,
cause wrongly optimized code for some platforms/compilers
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | | |
No warning for incorrect ALIASES
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When having the alias:
```
"\latexonly mytable=\\mytable \endlatexonly"
```
the 1.9.1. version gave a warning:
```
error: Illegal ALIASES format '\latexonly mytable=\\mytable \endlatexonly'. Use "name=value" or "name{n}=value", where n is the number of arguments
```
though the current version doesn't give a warning, probably due to the regexp replacement. Now most likely the string found starts at `mytable=`
The alias should start at the beginning of the string when searching.
|
|/ / / |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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()'
|
| |
| |
| |
| | |
When the Doxyfile is updated the DOXYFILE_ENCODING remains at the original setting although the setting should now be UTF-8
|
|/
|
|
|
| |
- direct use of std::stringstream and std::ostream gave a 30%
drop in performance.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
According to coverity:
```
CID 315169 (#1 of 1): Structurally dead code (UNREACHABLE)unreachable: This code cannot be reached: if (!fileOpened) {
config....
```
this problem has been introduced in: Refactoring: replace QFile/FTextStream with fstream/stringstream (Commit: fa1897b1889f7bf74de68f1ac99cf3be343a7551)
|
| |
|
|
|
|
|
| |
- Dir is based on ghc::filesystem, a std::filesystem compatible
implementation that does not require C++17.
|
|
|
|
|
| |
- FileInfo is based on ghc::filesystem, a std::filesystem compatible
implementation that does not require C++17.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- In the past in case of a quoted string there was a space at the end of the string (as also indicated in the comment), now this space is gone so the `wasQuoted` would not kick in. A string with an escaped double quote should be / has to be escaped so it should also be included in the `wasQuoted`
- missing one `data()` -> `str()` (should not give a problem due to the guard, but better for consistency).
|
| |
|
|
|
|
| |
The rule also caught a `\n` at the second position.
|
|
|
|
|
| |
- also escape a "," (comma) when writing out string values (doxygen and doxywizard)
- check on empty lists in stringlist for the wizard
|
| |
|
|
|
|
| |
configuration file (part 2)
|
|
|
|
| |
configuration file
|
|
|
|
| |
Should also ignore `\r` as white space
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When having a doxygen configuration file like:
```
QUIET=YES
@INPUT = file
@UNKNOWN =
@UNKNOWN1
@UNKNOWN 1
@UNK # test
```
we get the warnings
```
warning: ignoring unsupported tag 'UNKNOWN' at line 3, file Doxyfile
warning: ignoring unknown tag 'UNKNOWN1' at line 4, file Doxyfile
warning: ignoring unknown tag 'UNKNOWN' at line 5, file Doxyfile
warning: ignoring unknown tag '1' at line 5, file Doxyfile
warning: ignoring unknown tag 'UNK' at line 6, file Doxyfile
# Difference with default Doxyfile 1.9.0 (fa65bb38f81457d00f9c900bb57eb68bea59b1b4)
QUIET = YES
INPUT = file
```
especially the missing of a warning about the `@` in `@INPUT` can be a bit misleading (it might be that the user wanted to use `@INCLUDE` and and specified `@INPUT`
It would be better to have a warning about a not handled character instead of just ignoring it.
|
|\
| |
| | |
Incorrect handling of string with spaces and no quotes
|
| |
| |
| |
| | |
Correcting some (Cygwin) compilation warnings / errors
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
During some tests on the documentation of LLVM the (CMake generated) doxygen configuration file contained the line:
```
DOT_PATH=D:\Program Files (x86)\Graphviz2.38\bin\dot.exe
```
and this was interpreted by doxygen as
```
DOT_PATH = D:\ProgramFiles(x86)\Graphviz2.38\bin\dot.exe
```
without any message other than that later on the `dot` executable could not be found.
It is clear that here the double quotes were missing.
This problem has been solved by giving a warning and setting the value to the default value.
- configimpl.l
- config_doxyw.l
during the checking some debug facilities for the doxywizard were required and this has been implemented:
- config_doxyw.l
- doxywizard.h
- doxywizard.cpp
it was also discovered that in case of none existing int or bool values were specified the wrong "defaults" were taken (it was set to `0` / `false`), now the correct defaults are taken
- inputbool.cpp
- inputint.cpp
|
|/
|
|
|
| |
In principle a configuration file should not know anything about the doxygen commands, but the handling of the escaped `\` and `@` are an exception of this rule (especially in `ALIASES`).
The mentioned escaped characters were not handled properly.
|
|
|
|
| |
ignored
|
|\
| |
| |
| | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_chm_tests
|
| |
| |
| |
| |
| |
| |
| | |
By means of `nmake tests TEST_FLAGS="--xhtml --keep --cfg GENERATE_HTMLHELP=YES --cfg HHC_LOCATION=C:/PROGRA~2/HTMLHE~1/hhc.exe --cfg SEARCHENGINE=NO" it is possible to generate for each doxygen test an index.chm, but there are a number of problems:
- it is only possible to use extension `.html` so this is now automatically done (configimpl.l) otherwise when opening the file an error is displayed.
- it is not [possible to use "empty" hhc / hhk file (i.e. no `<li>` elements), in this case the files are still generated but not used anymore (error like `error: failed to run html help compiler on index.hhp` e.g. for test 1).
- a full qualified / absolute is not allowed for e.g msc images (test 37) the files should anyway be on the "html" directory so just using the filename in the "hhp" file (` t << QFileInfo(imageFiles.at(i)).fileName().data() << endl;`)
|
| | |
|
| |
| |
| |
| | |
Ignore empty strings
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
In case we have an empty setting in the doxygen configuration file, where an enum value is expected like:
```
OUTPUT_LANGUAGE =
```
we get the warning:
```
warning: argument '(null)' for option OUTPUT_LANGUAGE is not a valid enum value
Using the default: English!
```
The default value should immediately have been used.
|
|\ |
|
| |
| |
| |
| | |
very popular)
|
| | |
|
|/
|
|
|
| |
- 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.
|
| |
|
|
|
|
| |
In pull request #7603 the problem regarding `PREDEFINED = A(x,y)`, but the same patch must be applied to the construct `PREDEFINED += A(x,y)`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the pull request "Enable comma as separator in configuration lists enhancement " (#6563) it was made possible to have commas as separators for lists.
In case we have:
```
PREDEFINED = A(x,y)=sin(x),cos(y)
```
and use `doxygen -x` (or usethe define): this results in:
```
PREDEFINED = A(x \
y)=sin(x) \
cos(y)
```
this can be overcome by means of:
```
PREDEFINED = "A(x,y)=sin(x),cos(y)"
```
But for a lot of existing packages this poses a problem.
(Found by looking at the doxygen configuration files as used by Fossies).
|