summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7960 from albert-github/feature/bug_countDimitri van Heesch2020-08-152-5/+5
|\ | | | | Improvement of line count for e.g. warnings
| * Improvement of line count for e.g. warningsalbert-github2020-08-152-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a file like (but extended example based on a problem found in CGAL where line numbers were a bit off): ``` /*! The <hr2> class `Face_filtered_graph` is an adaptor that creates a filtered view of a graph */ struct Face_filtered_graph_no_det { /*! * \brief constructs an empty face filtered graph (no face is selected) * * * * * * * * * <table class="params"> * something * something * </table> * * * * * * * * * <table class="params"> * something * something * </table> */ Face_filtered_graph_no_det(); } ``` we get: ``` .../no_det.h:1: warning: Unsupported xml/html tag <hr2> found .../no_det.h:5: warning: expected <tr> tag but found TK_LNKWORD token instead! .../no_det.h:17: warning: expected <tr> tag but found TK_LNKWORD token instead! ``` instead of: ``` .../no_det.h:1: warning: Unsupported xml/html tag <hr2> found .../no_det.h:14: warning: expected <tr> tag but found TK_LNKWORD token instead! .../no_det.h:26: warning: expected <tr> tag but found TK_LNKWORD token instead! ``` Line counting is in an interpreter, especially when merging blocks etc.) a difficult situation. - `util.cpp`: `\ilinebr` is an internal newline, but the line count should not be increased - `commentscan.l` - put empty lines in output as well otherwise they are missing in the line count - don't insert `\n` to separate blocks, but use the artificial `\ilinebr` - properly initialize the `docLine` (important for examples were at the beginning of the block there are a number of newlines
* | Merge pull request #7958 from spdw/fix_void_return_typeDimitri van Heesch2020-08-151-22/+2
|\ \ | | | | | | Fixes doxygen/doxygen#7760: void return type reported as not documented
| * | Fixes doxygen/doxygen#7760: void return type reported as not documentedPoehlsen, Stephan2020-08-141-22/+2
| |/
* | Updated the swedish language translation to 1.8.19Björn Palmqvist2020-08-141-1/+16
|/
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2020-08-105-5/+15
|\
| * Merge pull request #7575 from albert-github/feature/bug_py_docstrDimitri van Heesch2020-08-102-2/+12
| |\ | | | | | | Using Python docstrings
| | * Using Python docstringsalbert-github2020-02-072-2/+12
| | | | | | | | | | | | | | | - making documentation a bit clearer - add configuration setting to have docstrings not as preformatted text but as normal documentation (default remains preformatted).
| * | Spelling corrections is commentsalbert-github2020-08-093-3/+3
| | | | | | | | | | | | Some spelling omissions found by Fossies.
* | | issue #7951: Doxywizard 1.8.19 (Windows): Source code directory seems to be ↵Dimitri van Heesch2020-08-102-4/+4
|/ / | | | | | | ignored
* | 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