summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Incorrect number of start / end paragraph tags for xhtml with image commandalbert-github2018-11-241-2/+4
| | | | | In case of `\image` a force closed paragraph is not always force opened again. Problem can be seen with the default doxygen test 31 (`[031_image.dox]: test the \image command`).
* Incorrect number of start / end paragraph tags for xhtml with htmlonlyalbert-github2018-11-241-14/+19
| | | | | In case of `\htmlonly[block]` the a force closed paragraph is not always force opened again. Problem can be seen with the default doxygen test 20 (`[020_only.dox]: test the \*only and \*endonly commands`).
* Merge branch 'feature/bug_inline_image' of ↵Dimitri van Heesch2018-11-111-11/+51
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_inline_image
| * Inline imagesalbert-github2018-08-091-10/+50
| | | | | | | | Create the possibility of inline images with the `\image` command by means of the option `inline`.
* | issue_6517: Emoji supportalbert-github2018-10-011-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #6402 from albert-github/feature/bug_579628Dimitri van Heesch2018-09-011-32/+73
|\ \ | | | | | | Bug 579628 - Merging of consecutive repeated commands creates poorly-structured HTML
| * | Bug 579628 - Merging of consecutive repeated commands creates ↵albert-github2018-07-201-32/+73
| |/ | | | | | | | | | | | | poorly-structured HTML Most issues from this report were already implemented. Extended for cross reference lists with the possibility to "style" intermediate items as well. (also some code structure, i.e. mnemonics instead of numbers).
* | Bug 667993 - HTML tags <u> and </u> not supportedalbert-github2018-07-071-0/+6
|/ | | | 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).
* XHTML image tag mandatory alt attributealbert-github2018-04-091-3/+11
| | | | | The alt attribute is mandatory for the image tag, it is possible to have it written out with an empty string. In case with the image tag there is no alt attribute the empty string alt attribute is added.
* + Added: support RTL for DocXRefItem in htmlahoogol2017-09-021-3/+6
| | | | - Removed: support RTL form Return section in html, for consistency with parameter sections
* Fixed one remained compile error in clangahoogol2017-06-281-1/+1
|
* Added support for RTL(right to left) languages like Arabic and Persian in ↵ahoogol2017-06-251-23/+56
| | | | HTML output
* Fix plantuml generation issueAnders Wallander2016-10-191-2/+2
| | | | | | | | | | | Commit 62f09103b77b9e5b4093d248563e2f9d76b65728 which merged pull request 538 introduced a bug in the generation of plantuml diagrams for other plantuml sources than the htmldocvisitor. In the previous commit the baseName argument was wrongly interpreted as file name without path. This commit fix this issue so the behaviour should be the same as before, while still also having the support for PlantUML diagrams in Qt compressed help files.
* Adds plantuml support Qt compressed help fileAnders Wallander2016-10-181-2/+2
| | | | | | | | | | Plantuml generated diagrams will be included in the index.qcp file which defines what files to include in the Qt compressed help file. This means that plantuml diagrams will work in the Qt creator help viewer. Signed-off-by: Anders Wallander <anders.wallander@volvocars.com>
* New classes for generated HTML div elements.Dennis Allerkamp2016-09-241-3/+3
| | | | Dot, Msc and Plantuml have their own classes for the generated div element.
* Bug 770660 - Code snippet always shows line numbers from 1albert-github2016-09-031-0/+25
| | | | | | | | | 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.
* Bug 675165 - Uses <img> instead of <object> html tag for SVG imagesDimitri van Heesch2016-05-151-8/+34
|
* Fix uppercase letters B-Z being unnecessarily escaped in index HTML anchors.Christoph Lipka2016-04-131-1/+1
|
* Remove unused variablesalbert-github2016-01-171-4/+0
|
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-12/+12
| | | | improve performance
* Bug 746162 - formulas creating invalid HTML codeDimitri van Heesch2015-12-261-8/+47
|
* Template enhancements and various other small fixesDimitri van Heesch2015-09-081-1/+1
|
* Fixes to support nested tables againDimitri van Heesch2015-08-261-12/+6
|
* Fixed various issues found by PVS-Studio.Dimitri van Heesch2015-08-181-2/+2
|
* Improved handling of <caption> in tables for LaTeX output.Dimitri van Heesch2015-08-081-0/+5
|
* Bug 485701: Fixes angle brackets (< and >) not escaped in HTML formula alt textJuan Rada-Vilela2015-07-241-18/+0
|
* Fixes bug 485701: Angle brackets (< and >) not escaped in HTML formula alt textJuan Rada-Vilela2015-07-121-0/+2
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Support generating index-color PNG filesalbert-github2015-02-081-2/+2
| | | | | | | 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.
* various fixes and restructuringDimitri van Heesch2014-12-221-3/+3
|
* Limit images sizes and make more uniform (LaTeX)albert-github2014-11-281-17/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adjusts some problems regarding image sizes in LaTeX output of doxygen (a.o. Bug 738299 - When using msc or PlantUML, the default latex for the created image should include [width=\linewidth]) this has been done is such a way that all the "image" commands (i.e. image, dot, dotfile, msc, mscfile, diafile, startuml) operate in a similar way / have the same possibilities. - commands.doc Adjusted documentation to reflect changes. - cmdmapper.cpp - cmdmapper.h Added utility function to map command id back to command name - doctokenizer.h - doctokenizer.l Handle Caption and Size indication. Required also that some other rules had to be tightened a bit (like usage of {} in startuml and usage of "" for captions. This was already described in the documentation in this way). - docparser.cpp - docparser.h Created routine to uniformly handle the Caption and size indications and store them in a general way. - latexgen.cpp Replaced graphicx package by adjustbox package (includes graphicx) to support "min width" etc. - doxygen.sty templates\latex Added commands to make commands with and without caption behave similar. - docbookvisitor.cpp - docbookvisitor.h - htmldocvisitor.cpp - latexdocvisitor.cpp - latexdocvisitor.h - printdocvisitor.h - xmldocvisitor.cpp Created routine to uniformly handle the Caption and size indications in a general way. - indexpage.xml (testing\022) - indexpage.xml (testing\031) - class_receiver.xml (testing\037) - class_sender.xml (testing\037) Adjusted example output.
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-2/+46
|
* New VHDL parser implementationDimitri van Heesch2014-08-021-2/+23
|
* Docbook output improvementsDimitri van Heesch2014-06-201-1/+1
| | | | | | 1. New Feature: Adapted Class Graph generation for DOCBOOK 2. Fixed DOCBOOK Code documentation formatting 3. Fixed Doxygen to handle FULL_PATH_NAMES for DOCBOOK generation
* Replaced the VHDL parser with the VHDL scanner from 1.7.5 to avoid potential ↵Dimitri van Heesch2014-05-181-23/+2
| | | | licensing issues
* Bug 728530 - Crash on \addindex \termDimitri van Heesch2014-04-191-20/+23
|
* Fixed problem with ending a paragraph when htmlonly was at the end of a ↵Dimitri van Heesch2014-04-051-1/+5
| | | | comment block
* Added optional [block] option to \htmlonlyDimitri van Heesch2014-03-291-1/+3
|
* add space between br and / for better compatibilityDimitri van Heesch2014-03-281-2/+2
|
* Added \latexinclude command (thanks to Juan Zaratiegui for the patch)Dimitri van Heesch2014-03-271-0/+2
|
* Improved handling of percent symbolDimitri van Heesch2014-02-111-1/+1
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Restructered html entity handlingDimitri van Heesch2014-02-101-2/+3
|
* Recognize all HTML4 special character entitiesalbert-github2014-02-081-104/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In doxygen a limited number of HTML4 special character entities are recognized, with this patch the full list of HTML4 special character entities (see http://www.w3.org/TR/html4/sgml/entities.html) is supported (as far as they can be represented in the output format). - doxygen_manual.tex - latexgen.cpp Added wasysym package to support per thousand sign (perthousand command from textcomp didn't work properly) Added option for textcomp package so currency symbol would work properly - htmlcmds.doc Adjusted documentation, listing all entities - compound.xsd - xmlgen.cpp Removed in xsd file all references for special HTML4 character entities and placed placeholder so doxygen (in xmlgen.cpp)can automatically add the right element names. - util.cpp - util.h Define all entities with their representation for all output formats. Define access routines to the different representations Mapping (for recognition of the entities) based on running through the list of available entities, after validation of the order of the entities. A few entities contain now besides letters also numbers at the end. - docparser.h Define symbols for all entities as well as a helper struct and enum. The member m_letter is not used anymore and thus removed. All existing symbols were renamed so no confusion (i.e. errors when forgetting to rename some symbols) can occur. Obsolete references to letter removed, all letters with accents etc. are explicitly defined and not through the generic accent name plus an extra letter. - docparser.cpp Adjust used symbols to their new names. Remove references to letter (as used for accents etc.) Replace list of explicitly supported entities with call to symbol code access routine. - docbookvisitor.cpp - htmldocvisitor.cpp - latexdocvisitor.cpp - mandocvisitor.cpp - perlmodgen.cpp - printdocvisitor.h - rtfdocvisitor.cpp - textdocvisitor.cpp - xmldocvisitor.cpp Replace list of explicitly supported entities with call to access routine and use returned value to output.
* Bug 721878 - Dia diagrams not displayed by FirefoxDimitri van Heesch2014-01-201-2/+2
|
* Add support for honoring svg image format preference in mscFabrizio Oddone2013-12-241-2/+6
|
* Bug 719639 - @xrefitem with empty heading stringalbert-github2013-12-011-2/+2
| | | | | | | Replaced: if (!(x->title().length())) return; by: if (x->title().isEmpty()) return;
* Bug 719639 - @xrefitem with empty heading stringalbert-github2013-12-011-0/+3
| | | | Adjusted documentation and in case the title is the empty string in a DocXRefItem the visitPre and visitPost do nothing.