summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2021-03-041-1/+6
|\
| * Merge pull request #8395 from albert-github/feature/issue_8390Dimitri van Heesch2021-03-031-1/+6
| |\ | | | | | | issue #8390 Reusing documentation snippets
| | * issue #8390 Reusing documentation snippetsalbert-github2021-02-191-1/+6
| | | | | | | | | | | | When `MARKDOWN_SUPPORT` is enabled run the documentation of the included file / snippet through the markdown processor (analogous to comment blocks in the different scanners).
* | | Refactoring: some cleanup and removed text direction logicDimitri van Heesch2021-03-041-121/+0
|/ /
* | Refactoring: replaced std::regex with own much faster implementationDimitri van Heesch2021-03-021-6/+6
| |
* | Some performance tweaks + remove setting of global localeDimitri van Heesch2021-02-221-2/+2
| |
* | Disable qregex.h and fix some warnings and issuesDimitri van Heesch2021-02-201-1/+0
| |
* | Refactoring: replace QRegExp by std::regex in rtfstyle.cppDimitri van Heesch2021-02-201-1/+1
| |
* | Refactoring: replace QRegExp by std::regex in docparser.cppDimitri van Heesch2021-02-201-11/+13
| |
* | Improve handling of @param command without name or descriptionDimitri van Heesch2021-02-201-5/+8
|/
* add config option WARN_IF_INCOMPLETE_DOCJames Wilcox2021-02-131-7/+7
| | | | | | | | | Add a new warning class, "INCOMPLETE_DOC", and warning option "WARN_IF_INCOMPLETE_DOC", to control whether you get a warning for only documenting some of your function parameters. All users who want to retain the current behavior set WARN_IF_INCOMPLETE_DOC to the value of WARN_IF_DOC_ERROR.
* Fixed a couple of issues found by running CoverityDimitri van Heesch2021-02-051-1/+2
|
* Regression: fixed potential crash in docparser.cppDimitri van Heesch2021-01-231-1/+1
| | | | | - Found when running doxygen on the reportlab project - Cause: top() was called on an empty stack.
* Fix size_t related compiler errors & warnings for win64Dimitri van Heesch2021-01-221-21/+21
|
* Refactoring: modernize HtmlAttribListDimitri van Heesch2021-01-221-67/+44
|
* Refactoring: modernize docparser and clientsDimitri van Heesch2021-01-221-563/+462
|
* Refactoring: modernize MemberListDimitri van Heesch2021-01-221-2/+2
|
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-1/+1
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-2/+2
|
* Refactoring: replace NamespaceSDict by NamespaceLinkedMapDimitri van Heesch2020-12-231-1/+1
|
* Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMapDimitri van Heesch2020-12-191-1/+1
|
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-10/+10
|
* Merge branch 'feature/bug_doctok_cnt' of ↵Dimitri van Heesch2020-10-051-227/+227
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_doctok_cnt
| * Miscounting lines in doctokinizeralbert-github2020-09-201-227/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a file like: ``` @page md_aa aa Last \error2 - Install \error3 ``` we get the warnings: ``` aa.md:3: warning: Found unknown command '\error2' aa.md:7: warning: Found unknown command '\error3' ``` instead of ``` aa.md:3: warning: Found unknown command '\error2' aa.md:5: warning: Found unknown command '\error3' ``` Investigation lead to that this is due to the fact that with a `REJECT` the line counter in `doctokinizer.l` is not reset. By counting the lines ourselves we can properly count the lines. (Other lexers don't have this problem as here we already do the counting ourselves)
* | issue #8037: Links using @ref stopped working in doxygen 1.8.19Dimitri van Heesch2020-09-211-2/+2
|/
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-4/+7
|
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-6/+4
|
* issue #7702: test list is always createdDimitri van Heesch2020-04-141-9/+1
|
* Missing break statement (#7696)albert-github2020-04-101-0/+1
| | | The break statement was unintentional left out (found by coverity).
* Changed fix as proposedDimitri van Heesch2020-04-091-43/+36
|
* issue #7692 \copydoc does not work with file paths including dotsalbert-github2020-04-081-4/+15
| | | | | Besides links to functions / classes etc. it is also possible to have a link to a file and a file can contain a dot, so we first have to check the "original" name and when not OK we should also check the replacements. Regression on #7042
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-15/+15
|
* Fix not correctly formatted messagesMoritz 'Morty' Strübe2020-03-211-225/+227
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-32/+32
|
* Restructure the way RefLists are handledDimitri van Heesch2020-02-271-10/+10
|
* Restructure section handlingDimitri van Heesch2020-02-211-58/+31
|
* Restructure citation handlingDimitri van Heesch2020-02-161-10/+13
|
* Improve formula handling and rendering.Dimitri van Heesch2020-02-121-7/+5
| | | | Also added option HTML_FORMULA_FORMAT to generate SVG files for images (requires pdf2svg)
* More indicative warning for wrong nesting of sectionsalbert-github2020-02-081-3/+3
| | | | In case we have a "*section" outside the hierarchy it is useful also have the id of the misbehaving "*section" even though line numbers are given , they might be misleading.
* More accurate warning message.albert-github2020-01-301-1/+1
| | | | | | | | | | | in code like `this command @unkn` would give (whilst all information is present) ``` warning: Found unknown command '\unkn' ``` instead of ``` warning: Found unknown command '@unkn' ```
* Adding commands `\rtfinclude`, `\docbookinclude`, `\maninclude` and ↵albert-github2020-01-091-2/+16
| | | | | | `\xmlinclude` Adding for consistency with `\*only`, `\htmlincclude` and `\latexinclude` the commands: `\rtfinclude`, `\docbookinclude`, `\maninclude` and `\xmlinclude`
* Replaced \_fakeform by \_formDimitri van Heesch2019-12-261-2/+2
|
* Merge branch 'feature/bug_formula' of ↵Dimitri van Heesch2019-12-261-2/+2
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_formula
| * Better warning in case of `@form`albert-github2019-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a problem like: ``` /** \file */ /** * The fie * * @form: the new format * @content: the content of the form * * Sets @form content to be @content. * * \f$ \alpha \f$ \f[ \beta \f] */ void fie(char *form, char *content); ``` we get warnings like: ``` .../aa.h:5: warning: Wrong formula id -1 .../aa.h:6: warning: Found unknown command '\content' .../aa.h:8: warning: Wrong formula id -1 .../aa.h:8: warning: Found unknown command '\content' ``` The `@form:` is in RST analogue to the doxygen `@param form` but not understood by doxygen. The result is that it is seen as an formula as doxygen translates the formula commands to `\form`. For `@content` is handled properly as this is not a doxygen command. In this patch a more unique name is chosen so these type of conflicts don't appear (that easy). The resulting, better, warnings are now: ``` .../aa.h:5: warning: Found unknown command '\form' .../aa.h:6: warning: Found unknown command '\content' .../aa.h:8: warning: Found unknown command '\form' .../aa.h:8: warning: Found unknown command '\content' ```
* | Merge branch 'feature/bug_html_s' of ↵Dimitri van Heesch2019-12-261-1/+17
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_html_s
| * | Adding HTML s tag, XML corrections for other tagsalbert-github2019-08-161-1/+17
| | | | | | | | | | | | | | | | | | Adding the HTML `<s>` tag (https://www.w3schools.com/tags/tag_s.asp). Adding 's' and correcting 'inc' to 'ins' in compound.xsd
* | | Minor tweaksDimitri van Heesch2019-12-251-3/+4
| | |
* | | Merge branch 'feature/bug_style_change' of ↵Dimitri van Heesch2019-12-251-64/+70
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_style_change
| * \ \ Merge branch 'master' into feature/bug_style_changeDimitri van Heesch2019-12-251-90/+99
| |\ \ \
| * | | | Warning with XML / HTML style commandsalbert-github2019-10-201-64/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a problem like: ``` /// set <var> var start_interp </em> void fie(void); /// set <i> i start_interp void fie1(void); ``` we get the warnings (doubles omitted): ``` .../bb.h:5: warning: end of comment block while expecting command </em> ``` so - discrepancy between `<var>` and closing `</em>` is not reported, but wrong for as opening and closing tag should have the same tag name. - the missing `</i>` is reported as a missing `</em>` The problems here are due to the fact that `<var>`, `<i>` and `<em>` share all the style `HTML_EMPHASIS`, this problem has been fixed by adding the used tag name to the style information and testing o n the name and not the style type. The result is now: ``` .../bb.h:1: warning: found </em> tag while expecting </var> .../bb.h:2: warning: end of comment block while expecting command </var> .../bb.h:5: warning: end of comment block while expecting command </i> ``` so now the real problems are reported.