summaryrefslogtreecommitdiffstats
path: root/src/cmdmapper.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-1/+1
| | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* Refactoring: make qcstring.h a local includeDimitri van Heesch2021-03-261-1/+1
|
* Refactoring: modernize cmdmapperDimitri van Heesch2021-01-221-23/+23
|
* Adding commands `\rtfinclude`, `\docbookinclude`, `\maninclude` and ↵albert-github2020-01-091-1/+5
| | | | | | `\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/+1
|\ | | | | | | 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/+1
| | | | | | | | | | | | Adding the HTML `<s>` tag (https://www.w3schools.com/tags/tag_s.asp). Adding 's' and correcting 'inc' to 'ins' in compound.xsd
* | Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-1/+1
|/
* Adding HTML tags ins and delalbert-github2019-04-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge branch 'feature/bug_escaped_equal_sign' of ↵Dimitri van Heesch2018-12-261-1/+2
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_escaped_equal_sign
| * Create command for escaped equal signalbert-github2018-11-071-1/+2
| | | | | | | | This command writes an equal sign (`=`) to the output. This character sequence has to be escaped in some cases, because it is used in Markdown header processing.
* | Improved robustness of the emoji featureDimitri van Heesch2018-12-231-1/+1
| | | | | | | | | | | | | | | | 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.
* | issue_6517: Emoji supportalbert-github2018-10-011-1/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-1/+2
| | | | | | | | | 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)
* Introducing commands includedoc and snippetdocalbert-github2016-08-211-1/+3
| | | | | Purpose to have the possibility to have repeating texts not repeated in the comments. The commands include and snippet introduce code blocks whilst the commands includedoc and snippetdoc inclode the text as is and it will be parsed by doxygen.
* Bug 756604 - Unable to prevent a numbered listDimitri van Heesch2015-11-011-1/+4
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Merge branch 'feature/bug_size_latex' of ↵Dimitri van Heesch2014-12-201-0/+1
|\ | | | | | | | | | | | | | | 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-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 740218 - Full scope needed when making link inside cross-referenced sectionDimitri van Heesch2014-11-171-1/+2
|/
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-1/+3
|
* Added support for \-- and \--- to prevent interpretation as ndash and mdashDimitri van Heesch2014-04-131-1/+3
|
* Added \latexinclude command (thanks to Juan Zaratiegui for the patch)Dimitri van Heesch2014-03-271-1/+2
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Bug 707713 - Add support for dia diagramsDimitri van Heesch2013-10-061-1/+2
|
* Added @parblock and @endparblock commandsDimitri van Heesch2013-09-241-1/+3
|
* Improved handling of \internal and \endinternalDimitri van Heesch2013-07-151-1/+2
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-1/+3
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-1/+1
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-1/+2
|
* Release-1.8.1.2Dimitri van Heesch2012-07-121-1/+2
|
* Release-1.8.1.1Dimitri van Heesch2012-06-101-23/+5
|
* Release-1.8.0-20120429Dimitri van Heesch2012-04-291-1/+3
|
* Release-1.8.0Dimitri van Heesch2012-03-171-1/+2
|
* Release-1.7.6.1-20120220Dimitri van Heesch2012-02-201-1/+1
|
* Release-1.7.6.1-20120110Dimitri van Heesch2012-01-101-0/+1
|
* Release-1.7.5Dimitri van Heesch2011-08-141-0/+1
|
* Release-1.7.4-20110727Dimitri van Heesch2011-07-271-0/+1
|
* Release-1.7.4-20110606Dimitri van Heesch2011-06-061-2/+3
|
* Release-1.7.3-20110123Dimitri van Heesch2011-01-231-1/+1
|
* Release-1.7.2-20101118Dimitri van Heesch2010-11-181-1/+2
|
* Release-1.7.1-20100920Dimitri van Heesch2010-09-201-1/+2
|
* Release-1.6.2-20100124Dimitri van Heesch2010-01-241-1/+1
|
* Release-1.6.1-20091027Dimitri van Heesch2009-10-271-1/+2
|
* Release-1.5.5-20080325Dimitri van Heesch2008-03-251-1/+3
|
* Release-1.5.5Dimitri van Heesch2008-02-101-22/+24
|
* Release-1.5.4-20080101Dimitri van Heesch2008-01-171-1/+1
|
* Release-1.5.2-20070610Dimitri van Heesch2007-06-101-12/+16
|
* Release-1.5.1-20070315Dimitri van Heesch2007-03-151-4/+6
|
* Release-1.5.1-20070219Dimitri van Heesch2007-02-191-1/+1
|