summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: modernize TooltipManager class and source reference listsDimitri van Heesch2020-10-201-3/+0
| | | | | - Tooltips are now collected per file instead of globally - Source reference lists now use STL containers
* Fix for broken LaTeX output.Dimitri van Heesch2020-09-271-1/+1
| | | | | | 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-25/+30
|
* Proposed fix for issue #7898 (#8029)luca-aep2020-09-161-3/+3
| | | | | * Proposed fix for issue #7898 - Internal search engine produce ".html" pages instead of using HTML_FILE_EXTENSION * Applied albert-github suggestions to proposed fix for issue #7898
* Fixed regression causing search.css not to be generated anymoreDimitri van Heesch2020-08-251-1/+1
|
* Refactoring: OutputList & OutputGenDimitri van Heesch2020-08-241-61/+75
| | | | | | | | | | | | | | - Initialized member variables inside the class - Added copy & assign operators for OutputGenerator and Derived classes. - throw a runtime exception when OutputGenerator is copied while is file is still in progress. - Added clone method to make a copy of OutputList. - Moved the implementation of enable() & disable() and friend into OutputGen instead of having the same implementation in each derived class. - Made m_dir and m_fileName readonly (members dir() and fileName()) - Removed call to new while adding generators to OutputList - Replaced QStack by std::stack for the "enabled" state.
* Replaced bitmap of doxygen logo by SVG versionDimitri van Heesch2020-07-181-2/+2
|
* Scalable search bar for high resolution displays (#7888)tttapa2020-07-041-9/+9
| | | | | | | | | | * Use SVG images for search bar icons * Update search bar CSS for high resolution displays Uses CSS shadows instead of PNG images of shadows * Limit the main-menu CSS rule to first level list #main-menu li:last-child applies to last childs of sub-lists as well #main-menu > li:last-child only applies to the top-level list
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-17/+12
|
* Performance improvements after profilingDimitri van Heesch2020-04-241-1/+1
| | | | | In some cases performance dropped when upgrading from version 1.8.16 to 1.8.17 or 1.8.18. With these changes the performance should be back to normal again.
* Text show as formula when USE_MATHJAX=YES (#7697)albert-github2020-04-121-0/+12
| | | | | | | | 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.
* 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 (:).