summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix for broken LaTeX output.Dimitri van Heesch2020-09-271-6/+6
| | | | | | Fixes error: "\begin{DoxyCodeInclude} on input line 93 ended by \end{DoxyCode}" while generating the LaTeX version of the manual
* Refactoring: prepare output generators for multi-threaded useDimitri van Heesch2020-09-271-145/+136
|
* Text show as formula when USE_MATHJAX=YES (#7697)albert-github2020-04-121-0/+10
| | | | | | | | When having a line of code like: ``` callback_check = re.compile(r'([^\(]*\(.*)(\* *)(\).*\(.*\))') ``` this is seen as an incomplete formula when using MathJax, the `\(` is seen as start of a MathJax formula. Replacing the backslash by the corresponding code `\` didn't work as this is already translated by the bowser and still picked up by MathJax, so we need `‍` to separate the backslash and the bracket without any spacing.
* issue #7672 Request: use <img> tags instead of <object> tags for SVG imagesalbert-github2020-03-291-19/+3
| | | | | In case of svg and inline images we have to follow a little bit another strategy. In markdown we also have to declare all markdown images to inline images (which is also consistent with the handling on github)
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-2/+2
|
* Forgot to remove some config files.Dimitri van Heesch2020-02-131-1/+1
| | | | Added development option to use inkscape to create SVG formulas.
* Improve formula handling and rendering.Dimitri van Heesch2020-02-121-4/+20
| | | | Also added option HTML_FORMULA_FORMAT to generate SVG files for images (requires pdf2svg)
* Adding commands `\rtfinclude`, `\docbookinclude`, `\maninclude` and ↵albert-github2020-01-091-0/+8
| | | | | | `\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/+3
|\ | | | | | | 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/+3
| | | | | | | | | | | | Adding the HTML `<s>` tag (https://www.w3schools.com/tags/tag_s.asp). Adding 's' and correcting 'inc' to 'ins' in compound.xsd
* | Minor fixesDimitri van Heesch2019-12-251-4/+3
| | | | | | | | | | Avoid code duplication by adding function addHtmlExtensionIfMissing() and avoid member shadowing by using 'm_' prefix for member variables
* | Merge branch 'feature/bug_335614' of ↵Dimitri van Heesch2019-12-251-7/+6
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_335614
| * | Bug 335614 - HTML link incorrect when using tagfilealbert-github2019-09-301-7/+6
| | | | | | | | | | | | | | | - See to it that when an extension is already present this extension is used and not a second extension is added - let the tag file know what the original extension was.
* | | Merge branch 'master' into spellingDimitri van Heesch2019-12-231-13/+13
|\ \ \
| * | | Tests 31 for XHTML outputalbert-github2019-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running test 31 for XHTML output, we get the error: ``` not ok 1 - [031_image.dox]: test the \image command ------------------------------------- .../testing/test_output_031/html/index.xhtml:107: parser error : EntityRef: expecting ';' "image/svg+xml" data="https://img.shields.io/badge/docs-Doxygen-blue.svg?foo&bar ``` For the SVG output the `src` was not properly converted (see also the other formats a few lines lower).
| * | | Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-12/+12
| |/ /
* | | spelling: embeddingJosh Soref2019-11-121-3/+3
|/ /
* | Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-8/+8
|/
* Problem with '<td nowrap>'albert-github2019-08-101-0/+6
| | | | | | 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/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-1/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-1/+1
| | | | | | | | Consistency
* | Merge branch 'feature/issue_6831' of ↵Dimitri van Heesch2019-08-041-2/+4
|\ \ | | | | | | | | | 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/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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/+6
|\ \ \ | | | | | | | | | | | | 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/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Remove not used classalbert-github2019-07-071-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As per comment in `docvisitor.h`: ``` class DocCopy; // TODO: no longer generated => remove ```
* | | | 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.
* | | Replaced NULL by 0.Dimitri van Heesch2019-04-281-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-1/+1
|/ /
* | Merge pull request #6861 from albert-github/feature/bug_html_attributesDimitri van Heesch2019-03-101-2/+40
|\ \ | | | | | | Multiple use of HTML attributes
| * | Multiple use of HTML attributesalbert-github2019-02-281-2/+40
| | | | | | | | | | | | | | | | | | In case an attribute is used multiple times the XHTML validator gives (here for the style attribute): parser error : Attribute style redefined Created routine to merge these types of attributes.
* | | Merge pull request #6868 from albert-github/feature/bug_secref_multicolDimitri van Heesch2019-03-091-2/+2
|\ \ \ | | | | | | | | secreflist command output shows in 1 column (HTML)
| * | | secref command output shows in 1 column (HTML)albert-github2019-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | The output from the `\secref` command shows in 1 column instead of 3. The `column-count` (also possibile without `-moz` or `-webkit`) should be with the `<ul>` tag instead of the `<div>` tag
* | | | Merge branch 'feature/bug_lineno_split_examples' of ↵Dimitri van Heesch2019-03-091-6/+13
|\ \ \ \ | |/ / / |/| | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_lineno_split_examples
| * | | Show line numbers in "split" examplesalbert-github2019-03-031-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fix for unmatched </p> when using \until as the first commandDimitri van Heesch2019-03-031-6/+4
|/ / /
* | | Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-4/+6
|/ /
* | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-02-171-1/+1
|\ \
| * | Adjustment of xhtml1-transitional.dtdalbert-github2019-02-161-1/+1
| |/ | | | | | | | | - mapping changed due to missing `doxygen=` - externalRef part changeddue to missing`doxygen=`
* | a named anchor does not need custom attributes and minor other corrections.Dimitri van Heesch2019-02-171-0/+2
| |
* | Bug 136299 - attributes to <p> tag get lostalbert-github2019-02-041-7/+9
|/ | | | | | | | | | | 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.
* Merge branch 'cheoljoo-run_java_once_3rd_trial'Dimitri van Heesch2019-01-081-4/+9
|\
| * Merge branch 'run_java_once_3rd_trial' of ↵Dimitri van Heesch2019-01-081-7/+9
| |\ | | | | | | | | | https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
| * \ Merge branch 'run_java_once_3rd_trial' of ↵Dimitri van Heesch2018-12-271-1/+4
| |\ \ | | |/ | | | | | | https://github.com/cheoljoo/doxygen into cheoljoo-run_java_once_3rd_trial
| | * JAVA_ONCE -> FASTCharles.Lee2018-12-261-1/+1
| | |
| | * mergeCharles.Lee2018-12-241-70/+211
| | |\
| | * | add format in writePlantUMLSource() and gathered in one pu file. But it is ↵Charles.Lee2018-08-281-1/+4
| | | | | | | | | | | | | | | | not final
* | | | issue #6744 Ampersand in Markdown image URL is not escaped in XML outputalbert-github2019-01-061-2/+2
| | | | | | | | | | | | | | | | Convert name / url based on HTML / XML conventions and don't do double conversions (XML).