summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a couple of compiler warnings on LinuxDimitri van Heesch2020-08-082-6/+6
|
* Refactoring: changed QValueList to std::vector for template engineDimitri van Heesch2020-08-064-111/+111
|
* Fixed issue that could cause wrong line numbersDimitri van Heesch2020-08-061-1/+4
|
* Simplified code by passing lineNr directlyDimitri van Heesch2020-08-061-3/+1
|
* Merge branch 'feature/bug_md_coverity' of ↵Dimitri van Heesch2020-08-061-1/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_md_coverity
| * Coverity uninitialized variablealbert-github2020-08-061-1/+1
| | | | | | | | Coverity reported new uninitialized variable
* | Implement better solution for ThreadPool and std::packaged_taskDimitri van Heesch2020-08-062-51/+61
|/ | | | | | | | | | | | Careful analysis of the compilation problems with Visual Studio revealed that moving a std::packaged_task<R()> into a std::packaged_task<void()> is a bit controversal as to whether or not it is supposed to work at all or if it triggers undefined behavior. I've now implemented the second solution as suggested here: https://stackoverflow.com/a/31078143/784672 This avoid such conversion altogether and make the Threadpool class more generic again.
* Implemented workaround for Visual Studio bug in std::packaged_taskDimitri van Heesch2020-08-052-8/+19
|
* Compilation fix for clangparser.cpp when -Duse_libclang=NODimitri van Heesch2020-08-051-1/+1
|
* Fix for markdown emphasis processing regression.Dimitri van Heesch2020-08-051-2/+7
| | | | | Prevent <TT>__BLA</TT> .... <TT>BLA__</TT> from being detected as an emphasis section and causing the wrong output.
* New option allowing processing using multiple threadsDimitri van Heesch2020-08-058-78/+31
| | | | | | | | | | | | | | | | | | Introduces new option NUM_PROC_THREADS. It specifies the number threads doxygen is allowed to use during processing. When set to 0 doxygen will based this on the number of cores available in the system. You can set it explicitly to a value larger than 0 to get more control over the balance between CPU load and processing speed. At this moment only the input processing can be done using multiple threads. I plan to extend this with more parallel processing in the future. Since this is still an experimental feature the default is set to 1, which efficively disables parallel processing. Please report any issues you encounter that appear when changing the default. Note that generating dot graphs in parallel is still controlled separately by the DOT_NUM_THREADS setting.
* issue #7943: transferArgumentDocumentation is erroneousDimitri van Heesch2020-08-051-2/+2
|
* Merge branch 'albert-github-feature/bug_py_empty_comment'Dimitri van Heesch2020-08-053-56/+62
|\
| * Moved stripIndentation() to util, make it safe for empty inputDimitri van Heesch2020-08-053-50/+50
| |
| * Merge branch 'feature/bug_py_empty_comment' of ↵Dimitri van Heesch2020-08-051-6/+12
| |\ |/ / | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_py_empty_comment
| * Empty python comment gives problemsalbert-github2020-08-041-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case we have an empty python comment like: `"""""""` (i.e. 6 double quotes) doxygen will crash in the pyscanner.l version of `stripIndentation`. ``` class Translator(nodes.NodeVisitor): """""" ## the var words_and_spaces = re.compile(r'\S+| +|\n') ``` In case of an empty comment we should not call `stripIndentation` and not place `\verbatim` / `\endverbatim` around the empty comment (the later would give an non-understandable empty comment block). An empty comment should be handled as no comment. Found by Fossies whilst generating documentation for Mercural 5.5).
* | Modernized tagreader.cpp codeDimitri van Heesch2020-08-041-769/+752
|/
* issue #7727: warning: documented symbol `static bool (long-winded C++ type)' ↵Dimitri van Heesch2020-08-041-64/+32
| | | | was not declared or defined.
* Some fixes and cleanupDimitri van Heesch2020-08-0344-383/+197
| | | | | | | | - fix issue with test 037 - moved trISOLang() to the language control section and removed the "no need for a TranslatorAdapter_1_8_19" banner. - removed unused adapter classes - add translation for Dutch
* Merge branch 'master' into feature/bug_xml_langDimitri van Heesch2020-08-0324-455/+471
|\
| * Vhdl improvements (ALIAS, translation) (#7813)powARman2020-08-038-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | * Support VHDL alias constructs. * Translate class to "Design Unit" for VHDL. * Fix compile error * Add new function trDesignUnitDocumentation() to translator. Adapt english and german translation to use the new function. Co-authored-by: Andreas Regel <andreas.regel@newayselectronics.com>
| * Merge pull request #7863 from albert-github/feature/bug_babel_langDimitri van Heesch2020-08-033-5/+3
| |\ | | | | | | Setting correct babel packages for some languages
| | * Setting correct babel packages for some languagesalbert-github2020-06-193-5/+3
| | | | | | | | | | | | Setting the correct babel language packages so the words like "Chapter" are automatically translated into the right language.
| * | Merge pull request #7782 from wataash/tagend-markdown-emDimitri van Heesch2020-08-031-2/+2
| |\ \ | | | | | | | | issue #7781: allow '>' before Markdown emphasis
| | * | issue #7781: allow '>' before Markdown emphasisWataru Ashihara2020-05-231-2/+2
| | | |
| * | | Replaced QDict<Void> by StringUnorderedSet in dotnode.cppDimitri van Heesch2020-08-031-21/+20
| | | |
| * | | Replaced QDict<void> by StringUnorderedSet for fortrancode.lDimitri van Heesch2020-08-031-7/+9
| | | |
| * | | CMakeLists.txt improvementDimitri van Heesch2020-08-031-2/+10
| | | | | | | | | | | | | | | | Added CONFIGURE_DEPENDS to file GLOB constructs if available
| * | | Modernize HtmlHelp classDimitri van Heesch2020-08-032-314/+306
| | | |
| * | | Changed container class for class use and constrained relations from ↵Dimitri van Heesch2020-08-022-54/+30
| | | | | | | | | | | | | | | | QDict<void> to StringSet
| * | | Modernize code for the resource managerDimitri van Heesch2020-08-024-26/+25
| | | |
| * | | Replaced QDict<void> by StringUnorderedSet used to keep track of visited pathsDimitri van Heesch2020-08-021-3/+10
| | | |
| * | | Compiler warning in htmlhelp.cppalbert-github2020-08-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We get the warning like: ``` src/htmlhelp.cpp:473:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 473 | char *hhcFile = "\"index.hhc\""; | ^~~~~~~~~~~~~~~ ```
| * | | Merge branch 'feature/bug_chm_tests' of ↵Dimitri van Heesch2020-08-013-25/+43
| |\ \ \ | | | | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_chm_tests
| | * | | Creating chm files for doxygen testsalbert-github2020-05-303-25/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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;`)
* | | | | Merge branch 'master' into feature/bug_xml_langDimitri van Heesch2020-08-01106-4509/+4840
|\ \ \ \ \ | |/ / / /
| * | | | Merge pull request #7937 from albert-github/feature/bug_warn_missing_argDimitri van Heesch2020-08-011-14/+25
| |\ \ \ \ | | | | | | | | | | | | Misleading warning about missing argument
| | * | | | Misleading warning about missing argumentalbert-github2020-07-311-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a `@struct` command without argument one gets the misleading warning: ``` warning: missing argument after \class. ``` instead of: ``` warning: missing argument after '\struct'. ``` This happens with a number of commands, for these commands the `currentCmd` has been introduced. (Found in cmake through Fossies).
| * | | | | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2020-07-313-8/+9
| |\ \ \ \ \
| | * \ \ \ \ Merge pull request #7936 from albert-github/feature/bug_cite_debugDimitri van Heesch2020-07-313-8/+9
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | Debug facility for the \cite command
| | | * | | | Debug facility for the \cite commandalbert-github2020-07-313-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When issuing doxygen with `-d cite` the temporary (copied) files / directory are not removed, i.e.: - bib*.aux - bib*.bbl - bib*.blg - bib2xhtml.pl - citelist.doc - doxygen.bst - bibTmpDir (directory)
| * | | | | | Moved citation cross reference searching to a separate functionDimitri van Heesch2020-07-312-86/+119
| | | | | | |
| * | | | | | Merge branch 'feature/bug_cite_crossref' of ↵Dimitri van Heesch2020-07-311-3/+46
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_cite_crossref
| | * | | | | crossref citations are shown unconditionallyalbert-github2020-07-311-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | unfortunately some more regressions...
| | * | | | | crossref citations are shown unconditionallyalbert-github2020-07-301-23/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the review - implemented tip `find("{");` instead of `find("{",0);` - made `label..` names more expressing their content - got a few regressions regarding endless loops (it is incorrect bib file syntax), the constructs have to be at the end of the bib file, like (also with extra newlines) - `@book ,` - `@book { ,`
| | * | | | | crossref citations are shown unconditionallyalbert-github2020-07-291-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The crossref items in a bib file are unconditionally added to the list of used citations although the the citation to which the crossref belongs to is not used. This has been fixed. The problem was seen in the CGAL output. Note: a crossref in LaTeX is a bit different from the normal understanding of cross-reference, from https://tex.stackexchange.com/questions/401138/what-is-the-bibtex-crossref-field-used-for: "crossref can be used if you have multiple entries referring to the same proceeding, book or similar."
| * | | | | | issue #7881: More flexible and correct detection of direction of an argument ↵Dimitri van Heesch2020-07-311-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | (another fix)
| * | | | | issue #7934: include dependency graph: The boxes of files shows the name of ↵Dimitri van Heesch2020-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | the included file not its own filename
| * | | | | issue #7881: More flexible and correct detection of direction of an argument ↵Dimitri van Heesch2020-07-301-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | (fix)
| * | | | | Simplified extractDirection()Dimitri van Heesch2020-07-302-21/+5
| | | | | | | | | | | | | | | | | | | | | | | | Also fixed bug preventing direction to be stripped from the parameter documentation.