summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'std'Dimitri van Heesch2019-10-071-11/+7
|\
| * Use smartpointers to manage the lifetime of Entry objectsDimitri van Heesch2019-10-071-11/+7
| |
* | issue #7274 Subpages no longer possible under mainpagealbert-github2019-09-271-1/+1
|/ | | | Regression on #7050 / #7053 (Physical newlines (^^) not working in group names and without spaces in 1.8.15), in case the current name was explicitly set to mainpage it was still overwritten.
* Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-2/+2
|
* Merge pull request #7264 from albert-github/feature/bug_164073Dimitri van Heesch2019-09-161-0/+17
|\ | | | | Bug 164073 - There should be a dummy tag that Doxygen ignores
| * Bug 164073 - There should be a dummy tag that Doxygen ignoresalbert-github2019-09-151-0/+17
| | | | | | | | Introduced the `\noop` command to ignore text till end of the line.
| * issue #6715: Errorneous matching of the immediately following block command ↵Dimitri van Heesch2019-09-071-5/+0
| | | | | | | | after @ref (try 2)
| * issue #6715: Errorneous matching of the immediately following block command ↵Dimitri van Heesch2019-09-071-0/+5
| | | | | | | | after @ref
* | Consistent way to show scanner statealbert-github2019-09-051-0/+3
|/ | | | | Create a consistent way to display the state mnemonics of the different scanners (analogous to the fortranscanner.l) Use an automatic procedure to generate the routine with the translation of the states to a string.
* Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-2/+2
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-2/+2
| | | | | | | | Consistency
* | Minor code simplificationsDimitri van Heesch2019-08-041-3/+8
| |
* | Merge branch 'feature/bug_doc_cont' of ↵Dimitri van Heesch2019-08-041-0/+3
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_doc_cont
| * | Incorrect joining documentation sections.albert-github2019-07-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case we have a documentation block that is interrupted the following part is directly appended to it without an appropriate newline and results, in this case, in messages like: ``` aa.c:13: warning: Illegal command @verbatim as part of a title section aa.c:15: warning: unexpected command endverbatim bb.f:13: warning: Illegal command @verbatim as part of a title section bb.f:15: warning: unexpected command endverbatim ``` We need a solution at 2 places due to the reset of of `OutputBrief` to `OutputDoc` in `setOutput` The original problem results from the "The R Project for Statistical Computing" version 3.6.1 in the Fortran part.
* | | Regression: unbalanced grouping commandsalbert-github2019-08-021-1/+1
| | | | | | | | | | | | | | | | | | Regression on #7122 (and #7115 / #7116). When having multiple consecutive `\name` sections the warning "unbalanced grouping commands" appears Analogous to the open command also the close command needs an implicit argument.
* | | Merge branch 'feature/regr_7105_2' of ↵Dimitri van Heesch2019-07-301-1/+1
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/regr_7105_2
| * | | regression #7105 Correct counting in case of `\name`albert-github2019-07-121-0/+1
| |/ / | | | | | | | | | In case of the `\name` command it is possible that a group is opened, but this group is not closed (for the `\name`), so the counting should not increase.
* | | Merge branch 'feature/regr_7105' of https://github.com/albert-github/doxygen ↵Dimitri van Heesch2019-07-301-1/+0
|\ \ \ | | | | | | | | | | | | into albert-github-feature/regr_7105
| * | | regression #7105 correct counting for group close countingalbert-github2019-07-101-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of an extra closing we should not count this closing as otherwise sequences like: ``` @} ... @{ ... @} ``` will give a warning at both `@}` statements and not just at the first (second one has an opening statement_.
* | | Merge pull request #7026 from albert-github/feature/bug_end_comment_code_sectionDimitri van Heesch2019-07-291-6/+9
|\ \ \ | | | | | | | | End comment marker in \code section.
| * | | End comment marker in \code section.albert-github2019-06-041-6/+9
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | When we have an end comment in a `\code` segment in a section we can get a message like: ``` warning: found */ without matching /* while inside a \code block! Perhaps a missing \endcode? ``` in the similar situation in a `\verbatim` section this message is not given. Switching from `\code` to `\verbatim` is not an option here as in that case other "commands" can lead to problems like in a code like `$string =~ s/^\s*//;` In this patch the start `/*` and end `*/` comment markers for `\code` and `\verbatim` are completely ignored.
* | | take doc group out of commentscan.lAdrian Negreanu2019-07-261-216/+12
| |/ |/| | | | | Signed-off-by: Adrian Negreanu <groleo@gmail.com>
* | issue #7102 Doxygen does not generate error/warning message for unbalanced ↵albert-github2019-07-051-1/+13
| | | | | | | | | | | | | | | | group markers "@{"..."@}" There are 2 sorts of grouping, with and without preceding group command. In case og a preceding group command a warning was already issued, but without preceding group this was not done Also corrected wrong order of `\{` `\}` commands, i.e, when we see more closing before opening commands.
* | Merge pull request #7054 from albert-github/feature/regr_6945Dimitri van Heesch2019-06-161-0/+1
|\ \ | | | | | | Missing brief descriptions with `\defgroup`
| * | Missing brief descriptions with `\defgroup`albert-github2019-06-131-0/+1
| | | | | | | | | | | | | | | Due to the fact that issue #6945 ended a brief description, all following was put into the detailed description (unless explicit \brief was used). The `\defgroup` should end the current brief description, but first line of the `\defgroup` should be seen as a new brief description. Problem can be seen with in the doxygen documentation in the example in the Grouping part and also with #7053 a small example is given in the comment.
* | | Merge branch 'feature/issue_7050' of ↵Dimitri van Heesch2019-06-161-7/+18
|\ \ \ | |/ / |/| | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_7050
| * | issue #7050 Physical newlines (^^) not working in group names and without ↵albert-github2019-06-121-7/+18
|/ / | | | | | | | | | | | | spaces in 1.8.15 Handling of `\_linebr` with defgroup and also with the `\page` command. Adding a missing linecount.
* | No space when replacing `\copydoc` by `\copydetails`albert-github2019-06-081-1/+1
|/ | | | | | | | | | | | | | In case we have something like (taken loosely from issue #4554): ``` - \subpage id_201201031218 \copydoc id_201201031218 ``` this would be translated into: ``` - @subpage id_201201031218\copydetails id_201201031218] ``` and subsequently the first word of the `\copydetails` part is placed directly to the `id_201201031218` resulting in an unknown id like `id_201201031218this` (This actual case it doesn't make much sense to use a `\copydoc` but this can happen in other cases as well).
* issue #6945 \class after \brief doesn't count as a new line - resulting docs ↵albert-github2019-05-081-23/+23
| | | | | | show merged descriptions Set "ends brief description" for the different for the commands mentioned in issue (as well as addtogroup)
* issue #6796 Bad link to section, subsection if pointing at item past ↵albert-github2019-01-261-2/+2
| | | | | | suspicious text To escape `\` and `@` not only `\\` and `@@` should be possible but also `\@` and `@\`
* Terminate brief in case of `-#` listalbert-github2019-01-111-0/+5
| | | | With the list types `-`, `*` and `1.` the brief description is terminated, with the `-#` lists this was not the case.
* Terminating brief commandalbert-github2019-01-101-0/+4
| | | | | | | | The brief command is intended for a small description of a function / class / namespace etc. and not to have extensive formulas or code snippets. These commands should terminate the brief description and start the detailed section. The commands `\snippet` and `\snippetlineno` are added to the list of commands to terminate the brief description. The commands `\f[` and `\f{` are handled separately but now also start a detailed description. The `\f$` is just for small formulas and thus possible in a brief description.
* issue #6734 parsing performance worsenedDimitri van Heesch2019-01-071-20/+28
|
* issue #6732 align environment for formula (\f{align}) no longer workingalbert-github2019-01-031-0/+2
| | | | The `\f{..}` looks like the, new, option handling, but the handling if `\f{` is done at another place and would now be included here due to the first part `<Comment>{B}*{CMD}[a-z_A-Z]+"{"[a-zA-Z_,:0-9\. ]*"}"{B}*` of the rules.
* Fix regression due to move of markdown processingDimitri van Heesch2018-12-241-14/+13
|
* issue #6692 XML TOC generation is not backwards-compatible with 1.8.14albert-github2018-12-191-1/+3
| | | | In case no options specified with the `\tableofcontents` `Html` and `XML` should be generated and not only `Html` (compatibility).
* Prevent <center> and <div> inside brief descriptions to avoid broken XHTML ↵Dimitri van Heesch2018-12-161-1/+3
| | | | output
* Extending \cite command with '-' and '?' characters.albert-github2018-11-171-4/+10
| | | | In the `\cite` label some extra characters are enabled, '-' and '?', as the '--' and '---' have been converted beforehand they have to be converted back and the corresponding labels also have to between double quotes (which are striped away).
* Merge pull request #6562 from albert-github/feature/bug_referencesDimitri van Heesch2018-11-041-0/+32
|\ | | | | Add commands to handle referenced by relation and references relation
| * Add commands to handle referenced by relation and references relationalbert-github2018-10-301-4/+4
| | | | | | | | | | | | | | | | Shortened the commands: - referencedbyrelation -> showrefby - hidereferencedbyrelation -> hiderefby - referencesrelation -> showrefs - hidereferencesrelation -> hiderefs
| * Add commands to handle referenced by relation and references relationalbert-github2018-10-171-0/+32
| | | | | | | | | | | | | | | | | | | | | | Analogous to call graph and caller graph this patch provides an implementation for the referenced by relation and references relation. Providing the commands: - referencedbyrelation - hidereferencedbyrelation - referencesrelation - hidereferencesrelation Motivation is that some lists can get extremely large and also there is now more symmetry between the textual and graphical out.
* | Merge pull request #6439 from albert-github/feature/bug_748927Dimitri van Heesch2018-10-271-2/+6
|\ \ | |/ |/| Bug 748927 - Navigation incorrect with escaped symbols
| * Bug 748927 - Navigation incorrect with escaped symbolsalbert-github2018-08-111-2/+6
| | | | | | | | | | Due to the fact that constructs like `<my>` in a page title are seen as an XML-tag (with a resulting warning) the `<` should be escaped but this leads to the fact that the escape sign is shown in the bars on top of a HTML page. The basic problem is due to the fact that page titles are not really interpreted by doxygen (as "nothing" can be, generically, handled in the title of a page.
* | Implementation of standard generator for docbook outputalbert-github2018-09-071-0/+4
| | | | | | | | | | | | | | | | Till now docbook had its own output generator, but lot of possibilities were missing (see remark about updating below), with this patch the (more than) basic implementation has been made. Added some docbook tests to the current tests and updated documentation where necessary Tried updating current version but too many issues remained that were generically handled in the standard generator, code is in current version behind '#if 0' construct in doxygen.cpp and name with '_v1' and in docbookgen.cp'
* | Update mail addressDimitri van Heesch2018-09-011-1/+1
| |
* | Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-163/+186
|/
* Merge pull request #6408 from arm-in/masterDimitri van Heesch2018-07-261-1/+1
|\ | | | | Typos found by running "codespell"
| * Update commentscan.lArmin Müller2018-07-251-1/+1
| |
* | Merge pull request #6398 from albert-github/feature/bug_610436Dimitri van Heesch2018-07-251-7/+29
|\ \ | | | | | | Bug 610436 - <![CDATA[ is not handled inside C# comments
| * | Bug 610436 - <![CDATA[ is not handled inside C# commentsalbert-github2018-07-191-7/+29
| | | | | | | | | | | | Added handling of "<![CDATA[ ... ]]>" i.e. XML CDATA sections in an analogous way top HTML comment but in this case the text is retained (as normal doxygen comment) and the special XML characters `<`,`>` and `&` are taken as if they were escaped.