summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Moved local toc data into a separate type for better encapsulationDimitri van Heesch2018-07-221-9/+5
| | |
* | | Merge branch 'feature/bug_tableofcontents_latex' of ↵Dimitri van Heesch2018-07-221-153/+215
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_tableofcontents_latex
| * \ \ Merge branch 'feature/bug_tableofcontents_latex' of ↵albert-github2018-07-121-1/+1
| |\ \ \ | | | | | | | | | | | | | | | https://github.com/albert-github/doxygen into feature/bug_tableofcontents_latex
| | * \ \ Merge branch 'master' into feature/bug_tableofcontents_latexDimitri van Heesch2018-06-241-1/+1
| | |\ \ \ | | | | |/ | | | |/|
| * | | | Enable in page table of contents for XML and add maximum level to in page ↵albert-github2018-07-121-4/+38
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | table of contents - add the in page table of contents for XML - add the possibility to have maximum levels in the in page table of contents (possible per output type and per in page table of contents. Default is show all)
| * | | Enable in page table of contents for LaTeXalbert-github2018-05-211-153/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currently the \tableofcontents command is only supported for HTML. In this patch: - enable in page table of contents for LaTeX: \tableofcontents['{'[option][,option]*'}'] where option can be 'HTML, and 'LaTeX' (side effect: possibility to have options with, nearly, all commands.)
* | | | Merge branch 'master' into feature/bug_663297Dimitri van Heesch2018-07-211-2/+20
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'feature/bug_746419_2' of ↵Dimitri van Heesch2018-07-181-0/+3
| |\ \ \ | | | | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_746419_2
| | * | | Bug 746419 - \todo at end of C# XML comment breaks following todo'salbert-github2018-05-161-0/+3
| | |/ / | | | | | | | | | | | | In case of </summary> or </remarks> to be sure to switch back to the right scope
| * | | Merge pull request #732 from albert-github/feature/bug_760661Dimitri van Heesch2018-07-161-1/+0
| |\ \ \ | | | | | | | | | | Bug 760661 - \internal stops all parsing if used inside a section
| | * | | Bug 760661 - \internal stops all parsing if used inside a sectionalbert-github2018-05-181-1/+0
| | |/ / | | | | | | | | | | | | In case of state SkipInternal the \endinternal should not be written as the \internal isn't written either.
| * | | Bug 124252 - A function cannot be documented as related to two classes.albert-github2018-06-161-0/+16
| | |/ | |/| | | | | | | | | | Multiple use in one comment block of \relates or \relatesalso or \memberof or a mixture is silently ignored (only last command is active). In this patch a warning is given and the right relatesType is set (in case of Simple the previous type remained).
| * | Bug 796086 - Adjacent xrefitems always added to first list present on pagealbert-github2018-05-141-1/+1
| |/ | | | | | | Better to search backward then forward to find related item.
* | Bug 663297 - @todo in @param leads to strange confusing messagealbert-github2018-05-181-6/+6
|/ | | | | | | | With the 1.8.14 version the message was: warning: unexpected token in comment block while parsing the argument of command param this is due to the fact that the @todo command is replaced by a \xrefitem command but it was joined directly with the parameter name, adding a space, in the code, solves the problem. In case there was another word (or doxygen command) in front of it the problem does not occur as it \xrefitem is not joined with the parameter name. Similar problem occured with the \endinternal (\internal) command.
* Merge pull request #654 from albert-github/feature/bug_group_consistencyDimitri van Heesch2018-04-291-2/+4
|\ | | | | Consistency for "group" commands