summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | issue #7927: PREDEFINED fails to replace argumentDimitri van Heesch2020-08-301-15/+28
| | |
* | | Fixed line number counting issue with test case cc.hDimitri van Heesch2020-08-291-4/+4
| | |
* | | Merge branch 'feature/issue_7872' of ↵Dimitri van Heesch2020-08-292-12/+23
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_7872
| * | | issue #7872 A define containing a doxygen start of comment breaks the parseralbert-github2020-06-262-12/+23
| | | | | | | | | | | | | | | | Not only the preprocessor suffered from the "problem" but also the source code (e.g. with `SOURCE_BROWSER`) gave some strange / missing results.
* | | | issue #7979: C++ enums being defined in multiple files after b265433 ↵Dimitri van Heesch2020-08-281-8/+8
| |/ / |/| | | | | | | | (multi-thread input processing)
* | | issue #7977: Broken ref for enum entry (doxygen 1.8.18 -> 1.8.19)Dimitri van Heesch2020-08-261-5/+12
| | |
* | | Fixed regression causing search.css not to be generated anymoreDimitri van Heesch2020-08-251-1/+1
| | |
* | | Fix for Windows buildDimitri van Heesch2020-08-251-1/+2
| | |
* | | Marked the section with definitions regarding numbers more clearlyDimitri van Heesch2020-08-242-2/+6
| | |
* | | Merge branch 'feature/bug_786382' of ↵Dimitri van Heesch2020-08-242-2/+62
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_786382
| * | | bug_786382 Unmatched single quote in C++ source breaks aliasesalbert-github2020-08-242-2/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the definition in the (informative) Annex A of the C++ draft 2020 standard (N4849, part [gram.lex]), the definitions have been made for the lexer. Now integer and floating point constants wit a single quote are seen as numbers and not as part of character constants. (also tested on CGAL)
* | | | Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-2417-433/+515
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | issue #7973: C++ grouped functions in namespace have disapeardDimitri van Heesch2020-08-2411-89/+83
| | | | | | | | | | | | | | | - reverted some of the change that introduced the problem - fixed the original problem (#7216) in a different way
* | | issue #7970 Doxygen doesn't stop on errorsalbert-github2020-08-191-0/+14
| | | | | | | | | | | | Routines doing their own formatting should also stop when `WARN_AS_ERROR` is set.
* | | Format for size_t (in e.g. warnings)albert-github2020-08-181-1/+1
| | | | | | | | | | | | This one was a bit hidden in conditional compilation (see also #7966).
* | | issue #7954: The Doxygen uses too much memory (or has probably a memory ↵Dimitri van Heesch2020-08-171-20/+42
| | | | | | | | | | | | leak) (part 2)
* | | Format for size_t (in e.g. warnings)albert-github2020-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the C standard paragraph 7.21.6.1 The fprintf function ``` z Specifies that a following d, i, o, u, x, or X conversion specifier applies to a size_t or the corresponding signed integer type argument; or that a following n conversion specifier applies to a pointer to a signed integer type corresponding to size_t argument. ```
* | | issue #7954: The Doxygen uses too much memory (or has probably a memory leak)Dimitri van Heesch2020-08-164-86/+133
| | |
* | | Minor tweaks to clangparser.cppDimitri van Heesch2020-08-151-8/+11
| | |
* | | 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>