summaryrefslogtreecommitdiffstats
path: root/src/docbookvisitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* various fixes and restructuringDimitri van Heesch2014-12-221-21/+6
|
* Merge branch 'feature/bug_size_latex' of ↵Dimitri van Heesch2014-12-201-174/+98
|\ | | | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_size_latex Conflicts: src/doctokenizer.h src/latexgen.cpp
| * Limit images sizes and make more uniform (LaTeX)albert-github2014-11-281-174/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | fix docbook outputzmhuang2014-12-161-0/+2
|/ | | | | | | | | | 1. support other than english 2. fix broken example link id 3. fix incomplete TOC : no Classe etc. 4. add brief description for Functions etc. 5. Comply with REPEAT_BRIEF 6. Do not output duplicated contents when detailed descripton is missing. 7. set table colwidth for Param/RetVal
* Bug 735925 - [Patch] DocBook: Possible name clash for generated image filesDimitri van Heesch2014-09-231-1/+1
|
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-27/+67
|
* Merge branch 'docbook'Dimitri van Heesch2014-06-201-66/+64
|\ | | | | | | | | Conflicts: src/docbookvisitor.cpp
| * Docbook output improvementsDimitri van Heesch2014-06-201-35/+74
| | | | | | | | | | | | 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
* | resolves the error of unbalanced tags opened/closed in docbook output: ↵Allan Clark2014-06-171-1/+10
|/ | | | parser error : Opening and ending tag mismatch: para line 358 and tbody
* Inconsistency in usage of simplesecr versus simplesectsep correctedalbert-github2014-04-191-1/+1
|
* Undo previous commitalbert-github2014-04-191-1/+1
|
* Inconsistency in usage of simplesecr versus simplesectsep correctedalbert-github2014-04-191-1/+1
|
* 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-102/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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-1/+3
| | | | Adjusted documentation and in case the title is the empty string in a DocXRefItem the visitPre and visitPost do nothing.
* Bug 707713 - Add support for dia diagramsDimitri van Heesch2013-10-061-0/+87
|
* Added @parblock and @endparblock commandsDimitri van Heesch2013-09-241-0/+9
|
* Bug 701314 - URLs are not created on C# classes in some casesDimitri van Heesch2013-06-151-2/+8
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-1/+1
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-0/+1397