summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Doxygen version information (#7645)albert-github2020-03-171-9/+9
| | | | | - add doxygen version to rtf, comment, output - remove duplicate code (getFullVersion) - more clear name to get doxygen version (getVersion becomes getrDoxygenVersion). Also to overcomecofusion with the version information for files.
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-5/+10
|
* Removing warnings from doxygen internal documentationalbert-github2020-02-251-1/+9
| | | | Although there is not a lot of doxygen internal documentation, it still should not produce warnings.
* Restructure section handlingDimitri van Heesch2020-02-211-12/+12
|
* Minor fixesDimitri van Heesch2019-12-251-50/+47
| | | | | 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-15/+12
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_335614
| * Bug 335614 - HTML link incorrect when using tagfilealbert-github2019-09-301-15/+12
| | | | | | | | | | - 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 pull request #7230 from albert-github/feature/bug_formula_macrofileDimitri van Heesch2019-12-251-1/+184
|\ \ | | | | | | Create possibility to define LaTeX commands for formulas
| * | Create possibility to define LaTeX commands for formulasalbert-github2019-08-271-1/+184
| |/ | | | | | | | | | | To be able to have building bocks for formulas one can create a `\newcommand` (or when one wants to change a command `\renewcommand`). Due to the different handling of LaTeX commands in pure LaTeX code (latex output and formulas converted to images) and MathJax it is necessary to transform LaTeX commands to the MathJax equivalent. This is done in a transparent way by providing the new commands in a file and add this verbatim to the pure LaTeX code and to translate the `\newcommand` and `\renewcomamnd` to MathJax macros.
* | Merge branch 'master' into spellingDimitri van Heesch2019-12-231-9/+3
|\ \
| * | Removed exitCode parameter as it is always 1Dimitri van Heesch2019-12-221-1/+1
| | |
| * | Merge branch 'feature/bug_terminate' of ↵Dimitri van Heesch2019-12-221-2/+1
| |\ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_terminate
| | * | Better termination messagealbert-github2019-11-221-2/+1
| | | | | | | | | | | | | | | | | | | | In case a `WARN_LOGFILE` is used it in this file no clear whether doxygen finished correctly or exited beforehand in case a fatal error. Now a 'Exiting...' is also given in the warning log file in case an error is a fatal error.
| * | | issue #7412: HTML: Opening a reference link in a new tab does not scroll to ↵Dimitri van Heesch2019-12-101-7/+2
| |/ / | | | | | | | | | the content
* | | spelling: javascriptJosh Soref2019-11-121-1/+1
| | |
* | | spelling: embeddingJosh Soref2019-11-121-1/+1
|/ /
* | Small improvements of TCL outputalbert-github2019-10-211-0/+1
|/ | | | | | | - handling of the used filename, sometimes the filename was not set resulting in case of a warning with file `<unknown>`, also improving, slightly, the line reference. - in case of `##` comment blocks the last line was not always show - in case of multiple comment blocks, properly separate them - correct handling tab character in source code output (*gen)
* Merge branch 'feature/bug_gitversion' of ↵Dimitri van Heesch2019-07-301-9/+9
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_gitversion
| * Show git version informationalbert-github2019-05-311-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original version has as features: - getting the git version number for usage in doxygen - making the doxygen version number inclusion dependent on the VERSION file The disadvantage of the chosen methodology was that an extra correction step was necessary, by defining getter methods to retrieve the values this correction can be hidden. The information is coming from different sources: - the VERSION file - the git "repository and build system (when present) Furthermore there are a couple of places where the version information is used (a.o. doxygen and doxywizard executable, though the doxygenwizard was only done "half hearted") The handling of the VERSION file has been made in such a way that it is comparable with the generation of the git version changes. For a better abstraction the version handling is all done in a separate directory.
* | Incorrect (X)HTML code when generating source code.albert-github2019-06-171-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having the example: ``` /*! \file * \brief * Prerequisite header file */ //! \cond #ifdef HAVE_CONFIG_H #include "gmxpre-config.h" #endif //! \endcond ``` and we run xmllint on it: ``` xmllint --path .../testing/dtd --noout --nonet --postvalid html/*.html ``` we get the messages: ``` html/aa_8h_source.html:75: parser error : Opening and ending tag mismatch: div line 67 and body </body> ^ html/aa_8h_source.html:76: parser error : Opening and ending tag mismatch: body line 17 and html </html> ^ html/aa_8h_source.html:77: parser error : Premature end of data in tag html line 2 ^ ``` It looks like the problematic part in this case is the doxygen type comment at the end of the file. In the past similar situations were present in LaTeX (related to maximum line length correction), but it was only fixed for LaTeX. Besides the change for HTML also small changes were necessary for RTF and docbook.
* | refactoring dot.cppThomas Haller2019-06-131-6/+12
| |
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-2/+2
|/
* Merge pull request #6836 from albert-github/feature/bug_xhtml_dtd_2Dimitri van Heesch2019-02-171-3/+3
|\ | | | | Adjustment of xhtml1-transitional.dtd
| * Adjustment of xhtml1-transitional.dtdalbert-github2019-02-161-1/+1
| | | | | | | | Some more ...
| * Adjustment of xhtml1-transitional.dtdalbert-github2019-02-161-2/+2
| | | | | | | | | | - mapping changed due to missing `doxygen=` - externalRef part changeddue to missing`doxygen=`
* | Remove persistent storage of Entry objectsDimitri van Heesch2019-02-171-1/+0
|/
* Merge pull request #6776 from albert-github/feature/bug_xhtml_tooltipDimitri van Heesch2019-02-091-1/+4
|\ | | | | Double id for tooltips in XHTML possible.
| * Double id for tooltips in XHTML Possible.albert-github2019-01-181-1/+4
| | | | | | | | The tooltips (XHTML) should not be displayed per code fragment but for the entire (output) file as otherwise tooltips might be added multiple times resulting in double IDs.
* | issue #6812 Empty lines are lost when copy-pasting from code section.albert-github2019-02-011-1/+9
|/ | | | In case of an empty line insert an space so the line will be shown with copy & paste (including the space!).
* Invalid id possible with tooltipsalbert-github2019-01-111-1/+1
| | | | | | In case a filename starts with a number the `id` also starts with a number and this is not allowed in XHTML and results in the message: `Syntax of value for attribute id of div is not valid` on other places it has been solved by placing an `a` as first character, this is done here as well but also needs to be don in the transformation from reference to tooltip id (htmlgen.cpp)
* Incorrect tag sequence possible for images possible in case of xhtmlalbert-github2018-12-031-11/+24
| | | | | | | | | Message: `< Element map content does not follow the DTD, expecting ((p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | menu | dir | pre | hr | blockquote | address | center | noframes | isindex | fieldset | table | form | noscript | ins | del | script)+ | area+), got (area area div)` The problem first surfaced with test 11 (empty map tag), but the solution given at that moment (`<div/>)`) did work for test 11, but was not correct for test 27. Problem can be seen with the default doxygen test 27 (`[027_extends.c]: test the \extends, \implements, \memberof, \private, and \public commands`).
* Incorrect tag sequence for xhtml with class diagram possiblealbert-github2018-11-261-0/+1
| | | | | | | | In case of a class diagram without mapping information the `map` tag is written without content. This is not allowed and results in xhtml (as reported by xmllint) in: `Element map content does not follow the DTD, expecting ((p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | menu | dir | pre | hr | blockquote | address | center | noframes | isindex | fieldset | table | form | noscript | ins | del | script)+ | area+), got ()` By adding a dummy 'paragraph' `<div/>` this can be overcome, The closing tag for `map` has been placed on a bit a more logical place, showing the open and close tag together. Problem can be seen with the default doxygen test 11 (`[011_category.m]: test the \interface and \category command`).
* Minor restructuringDimitri van Heesch2018-11-181-18/+28
|
* Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-2/+16
| | | | Added a Slice-optimized output mode.
* C++11 features used in Doxygenalbert-github2018-09-171-0/+4
| | | | | - corrected some initializations - corrected some missing, new, cases (reported by travis CI)
* Fixing coverity messagesalbert-github2018-09-131-0/+1
| | | | Note: especially latexdocvisitor (dead code that should not be dead code).
* Renamed (start/end)SimpleSect to (start/end)Examples.Dimitri van Heesch2018-08-261-30/+6
|
* Merge branch 'feature/bug_693515' of ↵Dimitri van Heesch2018-08-191-2/+17
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_693515
| * Bug 693515 - The 'Examples:' section; bad/missing style and incorrect spellingalbert-github2018-06-291-2/+17
| | | | | | | | Made implementation analogous to the implementation for parameters in respect to padding and the use of colon (:).
* | Merge pull request #6394 from albert-github/feature/bug_qt_link_tagDimitri van Heesch2018-07-261-2/+5
|\ \ | | | | | | Wrong link generated for inherited members when tag files are used.
| * | Wrong link generated for inherited members when tag files are used.albert-github2018-07-131-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case a tag file is used and `EXT_LINKS_IN_WINDOW` is set to `YES` a link is generated of the form: `Public Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/archives/qt-5.10/qobject.html">` instead of `Public Member Functions inherited from <a class="el" target="_blank" href="https://doc.qt.io/archives/qt-5.10/qobject.html">` When `EXT_LINKS_IN_WINDOW` is set to `NO` a correct link is generated but the external documentation comes straight forward in the current window. (relevant link: https://stackoverflow.com/questions/51323207/doxygen-external-link-to-qt-classes)
* | | PATCH -- updates reference link with no closingAustin Hale2018-07-111-1/+2
|/ / | | | | | | | | | | | | | | | | | | For external tagfiles, there is an issue with the links being provided from the file list. Whenever there is a reference in HtmlGenerator::startIndexItem, the href had never been closed with an end quote and close bracket. For example, this addition addresses the following issue beginning at href: <td class="entry"><span style="width:16px;display:inline-block;">&nbsp;</span><span class="icondoc"></span><a class="elRef" doxygen="/path/to/external/example.tag:../../external/html/" href="../../external/html/file.htmlfile.h&lt;/a&gt;&nbsp;[external]&lt;/td&gt;&lt;td class=" desc"=""></a></td> Since the file path is true for ref and not f, the proposed changes will provide an external link to the tagfile beside the icon. Running Doxygen 1.8.14 on HP-UX B.11.31.
* | Tooltip was twice 'HTML escaped'Dimitri van Heesch2018-07-071-22/+1
| |
* | Tooltip was twice 'HTML escaped'albert-github2018-07-011-1/+22
|/ | | | | The tooltip was already 'HTML escaped' except for some '<' and '>' characters but was again 'HTML escaped' resulting in e.g. that a single apostrophe (') was translated to &#39; and again to &amp#39; resulting in &#39; in the tooltip. Only '<' and '>' are now 'HTML escaped again'
* Merge pull request #687 from albert-github/feature/bug_vhdl_ports_htmlDimitri van Heesch2018-05-221-11/+20
|\ | | | | Better HTML output for VHDL Ports
| * Better HTML output for VHDL Portsalbert-github2018-03-291-11/+20
| | | | | | | | Small alignment improvement of HTML output for VHDL Ports so that the mode will be in a separate column
* | Merge pull request #692 from albert-github/feature/bug_792211_2Dimitri van Heesch2018-04-221-1/+1
|\ \ | | | | | | Bug 792211 - When generating xhtml, async attribute on script tags need a value
| * | Bug 792211 - When generating xhtml, async attribute on script tags need a valuealbert-github2018-04-021-1/+1
| |/ | | | | | | Corrected attribute.
* | added PHP7 support for the search engine on HTML output.daMaex2018-03-221-4/+4
|/ | | | See: http://php.net/manual/en/language.basic-syntax.phptags.php
* Merge branch 'master' of https://github.com/ahoogol/doxygen into ahoogol-masterDimitri van Heesch2017-12-281-2/+14
|\