summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove not used classalbert-github2019-07-071-94/+0
| | | | | | | As per comment in `docvisitor.h`: ``` class DocCopy; // TODO: no longer generated => remove ```
* Simplified code a bitDimitri van Heesch2019-05-131-15/+5
|
* Merge branch 'feature/svg_image_determnation' of ↵Dimitri van Heesch2019-05-131-1/+15
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/svg_image_determnation
| * Image not seen as svg imagealbert-github2019-04-051-1/+15
| | | | | | | | | | | | | | | | | | In case a svg image url has some decoration behind it, the image is not seen as a svg image. The decoration is taken away from the determination. Found by means of: ``` [![Build Status](https://api.travis-ci.com/ILIAS-eLearning/ILIAS.svg?branch=release_5-3)](https://travis-ci.com/ILIAS-eLearning/ILIAS) [![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.6-8892BF.svg)](https://php.net/) ```
* | Add const correctness for argument listsDimitri van Heesch2019-05-051-6/+6
| |
* | Further const correctness changesDimitri van Heesch2019-05-051-1/+1
| |
* | Merge branch 'feature/bug_init_fd_line' of ↵Dimitri van Heesch2019-04-281-1/+1
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_init_fd_line
| * | Crash in case of usage of \line without \includealbert-github2019-04-191-1/+1
| |/ | | | | | | | | | | | | | | In case thee `line` command is used without previous `\inclide` or `\dontinclude` command doxygen will crash due to a non initialized fd. We get the message: warning: No previous '\include' or \dontinclude' command for '\line' present also a small correcting regarding the warning message is done.
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-129/+29
|/
* Merge branch 'feature/bug_lineno_split_examples' of ↵Dimitri van Heesch2019-03-091-0/+28
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_lineno_split_examples
| * Show line numbers in "split" examplesalbert-github2019-03-031-0/+28
| | | | | | | | | | | | With the commands like `\skip`, `\skipline` it is possible to show parts of a file for further explanation / tutorials. They can be started with `\include` or `\dontinclude` but in case `\include` specifies that the line numbers have to be shown they are only shown in the full example and not in the split up example - show line numbers in split up example in case `lineno` is required - add `lineno` option to `\dontinclude` so here also line numbers can be shown.
* | Minor refactoringDimitri van Heesch2019-03-031-18/+2
| |
* | Warning if no file specified for special reading commandsalbert-github2019-03-031-0/+23
|/ | | | Create a warning in case no `\include` or `\dontinclude` command has been given before using `\skip`, `\line`, `\skipline` or `\utnil`
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-11/+11
|
* a named anchor does not need custom attributes and minor other corrections.Dimitri van Heesch2019-02-171-5/+6
|
* Merge branch 'feature/bug_136299' of ↵Dimitri van Heesch2019-02-171-6/+15
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_136299
| * Bug 136299 - attributes to <p> tag get lostalbert-github2019-02-041-6/+15
| | | | | | | | | | | | | | | | | | | | | | Besides the `p` tag there were a number of other tags were also the attributes were lost: - `br` - `hr` - `a` in case of used as an anchor i.e. with the `name=` attribute In case of a `caption` with a `table` and no `id=` attribute with the `caption` there was still an anchor generated In scanner.l the warnings message was a bit unclear.
* | issue #6830 Message: graph_legend:39: error: Prevented to copy file ↵albert-github2019-02-101-5/+5
| | | | | | | | | | | | | | <path_to_html_output>/graph_legend.png onto itself! In version 1.8.14 the message "Source and Destination are the same!" was given, this message could not be suppressed as can be done with normal warnings, this was corrected in 1.8.15 but backfires in case `WARN_AS_ERROR` is set. The problem only occurs when the output directory is searched for images. Removed the message as it does not contain real information.
* | Warning for documented return of void type functionalbert-github2019-01-211-14/+14
|/ | | | | | | In case a void type function is documented it is not allowed to used a `\return` or `\retval` command. The test was present but not correct - test on `g_hasReturnCommand ` which signals whether of not `\ret...` is used instead of `g_memberDef->hasDocumentedReturnType()` - removed test on emty return type (empty return type is assumed to be non void, see e.g. C, Fortran). - order of the tests is important
* issue #6754 False positives for "multiple @param sections"albert-github2019-01-081-1/+1
| | | | Don't add the argument to list of parameters in case of a non-parameter call (i.e. retval call)
* Issue #6039: Links on image in Markdown (Origin: bugzilla #769223)Dimitri van Heesch2019-01-031-0/+5
|
* Fixed typoPeter Klotz2019-01-011-1/+1
|
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-1/+1
|
* Merge branch 'feature/bug_escaped_equal_sign' of ↵Dimitri van Heesch2018-12-261-0/+10
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_escaped_equal_sign
| * Create command for escaped equal signalbert-github2018-11-071-0/+10
| | | | | | | | This command writes an equal sign (`=`) to the output. This character sequence has to be escaped in some cases, because it is used in Markdown header processing.
* | Fixed problems with emoji handling and added a test case for itDimitri van Heesch2018-12-251-1/+1
| |
* | Fix regression due to move of markdown processingDimitri van Heesch2018-12-241-1/+1
| |
* | Improved robustness of the emoji featureDimitri van Heesch2018-12-231-85/+52
| | | | | | | | | | | | | | | | Changes: - Use of `@emoji name` instead of `:name:` - Support only GitHub emojis (i.e. without spaces or special characters in the name) - Provided script to download images for LaTeX support. - XML output now has <emoji> tag with name an unicode sequence.
* | Print emoji text in case of unknown emojialbert-github2018-12-201-0/+4
| | | | | | | | In case an unknown emoji was detected the 'value' was not printed to the output, this is corrected.
* | Merge pull request #6643 from albert-github/feature/bug_xhtml_test_30Dimitri van Heesch2018-12-031-1/+10
|\ \ | | | | | | Incorrect number tag sequence for xhtml with htmlinclude command possible
| * | Incorrect number tag sequence for xhtml with htmlinclude command possiblealbert-github2018-11-251-1/+10
| | | | | | | | | | | | | | | | | | Analogous to the `\htmlonly` also with the `\htmlinclude` command it is possible that some parts are added that cannot be inside a `<p> ... <\/p>` and thus we have to temporary close (and later reopen) the paragraph. The option `[block]` has been added to the `\htmlinclude` command (analogous to the `\htmlonly` command). Problem can be seen with the default doxygen test 30 (`[030_htmlinclude.dox]: test the \htmlinclude command`).
* | | Restructured code to avoid the need for global stateDimitri van Heesch2018-11-251-3/+3
|/ /
* | Replace ''printf' with appropriate warn 'message'albert-github2018-11-171-4/+5
| | | | | | | | In the code a 'printf' has been replaced with an appropriate 'warn' call (and renamed a local variable to prevent conflicts)
* | Merge branch 'feature/bug_inline_image' of ↵Dimitri van Heesch2018-11-111-6/+43
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_inline_image
| * | Inline imagesalbert-github2018-08-091-5/+42
| | | | | | | | | | | | Create the possibility of inline images with the `\image` command by means of the option `inline`.
* | | Merge branch 'feature/issue_6517' of ↵Dimitri van Heesch2018-11-111-32/+114
|\ \ \ | |_|/ |/| | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6517
| * | issue_6517: Emoji supportalbert-github2018-10-011-2/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added issue support for the different output types. - Sources of the emoji - based on the Unicode definition v11.0: - https://unicode.org/emoji/charts/full-emoji-list.html - http://www.unicode.org/emoji/charts/full-emoji-modifiers.html - github definition list: - https://api.github.com/emojis - Input of emoji: :<test>: with the restriction that direct after the opening colon and direct before the closing colon no space is allowed - doctokinizer.l, adding detection of emoji and new command `\:` - doktokinizer.h, adding "word" type TK_EMOJI - docparser.* handling of new "word" type TK_EMOJI (analogous to HTML Entities), handling of new command `\:` - cmdmapper,cpp, cmdmapper.h, adding new command `\:` - htmlentity.cpp, adding new definition required for new command `\:` - Emoji - emoji.cpp, emoji.h, class for handling emoji analogous to HTML Entities, including small directions on how to update the code when a new emoji is defined. Not everything is converted to lowercase for comparison and accents are removed. - doxygen.cpp possibility to create list of supported emoji - handling emoji for output types (analogous to HTML Entities), see documentation for different output types - docparser.h, *docvisitor.* - rtfdocvisitor.* converting output to UTF-16 (based on http://scruss.com/blog/2017/03/12/in-the-unlikely-event-you-need-to-represent-emoji-in-rtf-using-perl/) - latexdocvisitor.*, handling arguments for emoji in output (see also latexgen.cpp for meaning of the arguments of doxygenemoji). - latexgen.cpp, adding new latex command for doxygen (doxygenemoji) and prevent too many open file (code before documentclass) - config.xml, definition of `LATEX_EMOJI_DIRECTORY` with path to images required for LaTeX output - Documentation: - emojisup.doc, user description - commands.doc, description of new command `\:` - index.doc, reference to emoji chapter - xmlcmds.doc, adjust reference to next chapter as a new chapter is added - Doxyfile*, adding emoji chapter Build system - CMakeLists.txt adding new files
* | | Merge pull request #6438 from albert-github/feature/bug_citeDimitri van Heesch2018-10-281-5/+6
|\ \ \ | | | | | | | | Correcting labels for citations
| * | | Correcting labels for citationsalbert-github2018-08-101-5/+6
| | |/ | |/| | | | | | | | | | The labels for RTF and XML were incorrect due to the fact that the wrong branch was chosen in the code (the newAnchor was set for the results of the `\cite ` command as well). Small readability issue with XML (when there are a lot of citations).
* | | Renamed command and moved duplicated code into a macroDimitri van Heesch2018-10-271-22/+31
| | |
* | | Merge branch 'feature/bug_warning_msg' of ↵Dimitri van Heesch2018-10-271-143/+59
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_warning_msg
| * | | Correcting warning messages and echoing unknown commandalbert-github2018-08-261-143/+59
| | | | | | | | | | | | | | | | | | | | | | | | - In case an unknown command is given this was shown as a warning but not as normal text in the output, for this also a distinction between `\`and `@` commands has to be made - corrected command name in warning messages when handling arguments - making handling of some warning messages consistent
* | | | Merge pull request #6435 from albert-github/feature/bug_image_in_a_tagDimitri van Heesch2018-10-271-0/+3
|\ \ \ \ | | | | | | | | | | Possibility to have a \image command inside a <A> tag
| * | | | Possibility to have a \image command inside a <A> tagalbert-github2018-08-091-0/+3
| | |/ / | |/| | | | | | | | | | Enable the possibility to have a `\image` command inside a <A> tag
* | | | Bug 710654 - <img> on a \page does not copy the image to the html output folderalbert-github2018-10-121-5/+6
| |_|/ |/| | | | | | | | Create possibility to copy the image automatically to the HTML directory, in case file cannot be found no warning is given (consistency).
* | | Readded missing "Span" case to DocStyleChange::styleStringDimitri van Heesch2018-08-261-8/+9
| | |
* | | Merge branch 'feature/bug_667993' of ↵Dimitri van Heesch2018-08-261-1/+34
|\ \ \ | |_|/ |/| | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_667993
| * | Bug 667993 - HTML tags <u> and </u> not supportedalbert-github2018-07-071-1/+34
| | | | | | | | | | | | Added underline possibility and strike through possibility for the different output formats insofar it is possible (other similar possibilities are not always possible for all output formats either).
* | | Merge branch 'lineno'Dimitri van Heesch2018-08-191-1/+26
|\ \ \ | |_|/ |/| |
| * | Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-1/+26
| | |