summaryrefslogtreecommitdiffstats
path: root/src/docbookvisitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Making the use of DOT_CLEANUP more transparentalbert-github2020-11-231-1/+3
| | | | | - The setting `DOT_CLEANUP` is not only used for `dot` files but also for temporary `msc` and `plantuml` files, though this was not clear from the documentation. - For the docbook output format the removal of the `dot` and `msc` files was not don like in the output formats html / LatTeX / rtf.
* Refactoring: prepare output generators for multi-threaded useDimitri van Heesch2020-09-271-36/+33
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-58/+58
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-16/+14
|
* Replace raw bool pointer array and counter by std::stack<bool>Dimitri van Heesch2020-02-291-32/+19
|
* Merge branch 'feature/bug_tables_docbook' of ↵Dimitri van Heesch2020-02-291-8/+20
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_tables_docbook
| * Opening and ending tag mismatch: tbody in docbook outputalbert-github2019-08-121-8/+20
| | | | | | | | | | In case of docbook output and having nesting tables (e.g. in the tables chapter of the doxygen documentation), we get invalid xml for docbook as the `<tbody>` is not closed. Each table level should have an own flag to signal whether or not the `<tbiody>` tag is set or not, otherwise the inner table resets the outer tables its "flag".
* | Minor fixes for table cell attributes in XML and docbook outputDimitri van Heesch2020-02-021-0/+2
| |
* | Avoid unsupported html attributes from appearing in the XML/docbook output ↵Dimitri van Heesch2020-02-021-60/+37
| | | | | | | | and other small fixes
* | Bug 791390 - Table formatting information ignored in Doxygen XML outputalbert-github2020-01-231-0/+4
| | | | | | | | | | - added possibility (and checks) for xml - added missing case for class in docbook
* | Adding commands `\rtfinclude`, `\docbookinclude`, `\maninclude` and ↵albert-github2020-01-091-0/+6
| | | | | | | | | | | | `\xmlinclude` Adding for consistency with `\*only`, `\htmlincclude` and `\latexinclude` the commands: `\rtfinclude`, `\docbookinclude`, `\maninclude` and `\xmlinclude`
* | Merge branch 'feature/bug_html_s' of ↵Dimitri van Heesch2019-12-261-0/+1
|\ \ | | | | | | | | | 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-0/+1
| |/ | | | | | | | | | | Adding the HTML `<s>` tag (https://www.w3schools.com/tags/tag_s.asp). Adding 's' and correcting 'inc' to 'ins' in compound.xsd
* | Merge pull request #7186 from albert-github/feature/bug_cite_docbookDimitri van Heesch2019-12-081-2/+22
|\ \ | | | | | | Incorrect NCName in docbook citations
| * | Incorrect NCName in docbook citationsalbert-github2019-08-121-2/+22
| |/ | | | | | | | | | | | | | | | | | | In a bibtex reference it is possible to have a colon as the id, but in docbook this will result in: ``` docbook/citelist.xml:5: validity error : xml:id : attribute value _citelist_1CITEREF_pre:post is not an NCName <varlistentry><term><anchor xml:id="_citelist_1CITEREF_pre:post"/>[1]</term> ``` So the id has to be translated. A colon in an id can only happen in case the names is provided from the outside.
* | Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-12/+12
|/
* Problem with '<td nowrap>'albert-github2019-08-101-0/+4
| | | | | | In the docbook ouput this was shown with the attribute `nowrap>=''`, in HTML this empty tag was skipped. Normally a HTML attribute will have a value but in some cases it is possible without attribute and when this is the last attribute the `>` was accidently added to the attribute (in case of the value the `>` was already considered). Furthermore `In XHTML, attribute minimization is forbidden, and the nowrap attribute must be defined as <td nowrap="nowrap">.`, this is now handled for HTML and docbook as well.
* Merge branch 'feature/issue_6831' of ↵Dimitri van Heesch2019-08-041-2/+5
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6831
| * issue #6831 Failure to recognize class array with PHP in @varalbert-github2019-02-151-2/+5
| | | | | | | | | | | | | | | | There are 2 different situations here: - @var, here a special change is necessary to check and handle whether or not we are in PHP (declinfo.*, doxygen.cpp) - @param - the type recognition for the PHP type has to be extended with the `[]` possibility and subsequently the `[]` part has to be handled separately from the 'datatype' (doctokinizer.l, docparser.*). - In the output we now can have multiple text strings resulting in a small change in handling of the separator between the data type (*docvisitor.*)
* | Merge branch 'fetaure/bug_html_ins_del_tag' of ↵Dimitri van Heesch2019-08-031-0/+2
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-fetaure/bug_html_ins_del_tag
| * | Adding HTML tags ins and delalbert-github2019-04-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Github does not support the `<u>` tag for underlined text, in HTML there exists the tag `<ins>`. On https://www.w3schools.com/tags/tag_ins.asp is written: The `<ins>` tag defines a text that has been inserted into a document. Browsers will normally strike a line through deleted text and underline inserted text. Most browsers will display the `<ins>` element with the following default values: ``` ins { text-decoration: underline; } ``` analogous there exists the tag `<del>` (https://www.w3schools.com/tags/tag_del.asp): The `<del>` tag defines text that has been deleted from a document. Browsers will normally strike a line through deleted text and underline inserted text. Most browsers will display the `<del>` element with the following default values: ``` del { text-decoration: line-through; } ``` Definitions analogue to the underline and strike through tag the implementation for the other formats has been chosen.
* | | issue #7126 Latex output format fixesalbert-github2019-07-281-30/+30
| | | | | | | | | | | | Based on the discussion in the proposed pull requests #7126, remove the colon in case it is clear that we have to do with a heading.
* | | Remove not used classalbert-github2019-07-071-16/+0
| | | | | | | | | | | | | | | | | | | | | As per comment in `docvisitor.h`: ``` class DocCopy; // TODO: no longer generated => remove ```
* | | High consequence coverity mesagesalbert-github2019-07-021-1/+1
| | | | | | | | | | | | | | | - initializing fd (analogous to htmldocvisitor) - always good to close file pointers
* | | issue #7033 Syntax highlighting doesn't work when calling \dontinclude from ↵albert-github2019-06-061-2/+4
|/ / | | | | | | | | | | Markdown files Don't use the file name extension of the including file but of the included file. In case of no included filename or no extension, fall back of the file extension of the including file.
* | Fixed a few compiler warnings on win32Dimitri van Heesch2019-03-101-1/+1
| |
* | Merge branch 'feature/bug_lineno_split_examples' of ↵Dimitri van Heesch2019-03-091-3/+17
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_lineno_split_examples
| * | Show line numbers in "split" examplesalbert-github2019-03-031-1/+16
|/ / | | | | | | | | | | 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.
* | Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-4/+6
|/
* Bug 141919 - Wrong param and exception style in RTF outputalbert-github2019-02-011-7/+3
| | | | | | | | Some small improvements in the different formats based on the problems signaled with the issue - doxygen.css make exceptions in line with other tables (i.e. the appearance of the name of the exception) - doxygen.sty, rtfdocvisitor.cpp between items in e.g. Precondition, Postcondition, Note place a paragraph distance (like in main text) - docbookvisitor.cpp handle title of Rcs and User sections correctly .
* Merge branch 'run_java_once_3rd_trial' of ↵Dimitri van Heesch2019-01-081-2/+2
| | | | https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
* mergeCharles.Lee2018-12-241-113/+501
|\
| * Improved robustness of the emoji featureDimitri van Heesch2018-12-231-2/+2
| | | | | | | | | | | | | | | | 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.
| * Improvement regarding width and title for docbookalbert-github2018-11-251-5/+5
| | | | | | | | | | - In case no with and no height is given don't scale automatically to `width=50%` - in case of inline image and a title don't display title.
| * Refactored code a bit (use const references and made global functions members)Dimitri van Heesch2018-11-241-22/+27
| |
| * Doxygen creates empty image titles for Docbook outputalbert-github2018-11-231-24/+30
| | | | | | | | | | | | The title of an image needs to be at a specific place in docbook. The current place was incorrect (based on https://stackoverflow.com/questions/53448764/doxygen-creates-empty-image-titles-for-docbook-output)
| * Merge branch 'feature/bug_inline_image' of ↵Dimitri van Heesch2018-11-111-5/+6
| |\ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_inline_image
| | * Inline imagesalbert-github2018-08-091-5/+5
| | | | | | | | | | | | 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-0/+16
| |\ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6517
| | * | issue_6517: Emoji supportalbert-github2018-10-011-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Inconsistency in respect to tgroup in docbookalbert-github2018-11-041-1/+2
| |/ / | | | | | | | | | The `tgroup` close tag was set although the open tag was not used. The close tag needed 'protection' by means of the bodySet variable.
| * | Implementation of standard generator for docbook outputalbert-github2018-09-071-86/+445
| | | | | | | | | | | | | | | | | | | | | | | | 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'
* | | add format in writePlantUMLSource() and gathered in one pu file. But it is ↵Charles.Lee2018-08-281-1/+1
|/ / | | | | | | not final
* | Bug 667993 - HTML tags <u> and </u> not supportedalbert-github2018-07-071-0/+2
|/ | | | 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).
* Bug 770660 - Code snippet always shows line numbers from 1albert-github2016-09-031-0/+22
| | | | | | | | | This patch makes the handling of the \snippet and other commands consistent between the different languages (no line numbers anymore with python) and also introduces analogous to \includelineno the command \snippetlineno. Some non relevant changes: - *code.l Calculation of the end line was incorrect, in case of a snippet the end line was the number of lines of the snippet and not reltive to the start line. - *code.l made consistent over the different laguages, enabling exBlock and inlineFragment - testing/indexpage.xml in test 14 the \snippet command was used with python and giving line numbers, linenumbers are now gone (consistency)
* Warnings from CLANG compileralbert-github2016-08-281-0/+5
| | | | The CLANG compiler gave some warnings after pull request #503 ("Introducing commands includedoc and snippetdoc ") at places that are not / should not be reachable.
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-11/+11
| | | | improve performance
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Support generating index-color PNG filesalbert-github2015-02-081-1/+1
| | | | | | | Based on the request http://stackoverflow.com/questions/27036474/how-do-make-doxygen-generate-index-color-png-files for index colored png files, this functionality will be included in the newer versions (2.39) of dot. The functionality -Tpng:cairo:gd will automatically be used by doxygen, though the file extension would be wrong (.png:cairo:gd). With this patch the :cairo:gd is stripped from the image extension, but not from the -T of the dot command. In the doxywizard the different possibilities are supplied as well. Note however that the DOT_IMAGE_FORMAT name is not checked when read from the Doxyfile so it is possible to use other renderer / formats as well due to the generic solution with getDot ImageExtension.
* Remove unused local and static global variablesalbert-github2014-12-271-1/+0
| | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.