summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.h
Commit message (Collapse)AuthorAgeFilesLines
* Miscounting lines in doctokinizeralbert-github2020-09-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | When having a file like: ``` @page md_aa aa Last \error2 - Install \error3 ``` we get the warnings: ``` aa.md:3: warning: Found unknown command '\error2' aa.md:7: warning: Found unknown command '\error3' ``` instead of ``` aa.md:3: warning: Found unknown command '\error2' aa.md:5: warning: Found unknown command '\error3' ``` Investigation lead to that this is due to the fact that with a `REJECT` the line counter in `doctokinizer.l` is not reset. By counting the lines ourselves we can properly count the lines. (Other lexers don't have this problem as here we already do the counting ourselves)
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-4/+4
|
* Merge branch 'feature/bug_unsupported_html' of ↵Dimitri van Heesch2019-12-181-0/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_unsupported_html
| * Output of unknown xml/html tagalbert-github2019-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a problem like: ``` /** \file - Just name <name> - name plus subname <name subname> - name plus twice subname <name subname subname> - name plus subname subname="" <name subname subname=""> */ ``` we get correctly the warnings: ``` .../aa.h:3: warning: Unsupported xml/html tag <name> found .../aa.h:4: warning: Unsupported xml/html tag <name> found .../aa.h:5: warning: Unsupported xml/html tag <name> found .../aa.h:6: warning: Unsupported xml/html tag <name> found ``` but the output doesn't look good as there is `=""` added: ``` Just name <name> name plus subname <name subname=""> name plus twice subname <name subname="" subname=""> name plus subname subname="" <name subname="" subname=""> ``` This patch fixes this output.
* | Coverity uninitializedalbert-github2019-12-021-7/+7
|/ | | | Fixing a number of uninitialized variables based on the coverity output of November 30, 2019
* issue #7216: non-const getGroupDef() called on aliased member (cleanup + ↵Dimitri van Heesch2019-08-261-3/+2
| | | | null pointer fix)
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-3/+1
|
* 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.
* Incorrect number tag sequence for xhtml with htmlinclude command possiblealbert-github2018-11-251-0/+1
| | | | | | Analogous to the `\htmlonly` also with the `\htmlinclude` command it is possible that some parts are added that cannot be inside a `<p> ... <\/p>` and thus we have to temporary close (and later reopen) the paragraph. The option `[block]` has been added to the `\htmlinclude` command (analogous to the `\htmlonly` command). Problem can be seen with the default doxygen test 30 (`[030_htmlinclude.dox]: test the \htmlinclude command`).
* Merge branch 'feature/issue_6517' of ↵Dimitri van Heesch2018-11-111-0/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6517
| * issue_6517: Emoji supportalbert-github2018-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Renamed command and moved duplicated code into a macroDimitri van Heesch2018-10-271-2/+2
| |
* | Correcting warning messages and echoing unknown commandalbert-github2018-08-261-1/+2
|/ | | | | | - In case an unknown command is given this was shown as a warning but not as normal text in the output, for this also a distinction between `\`and `@` commands has to be made - corrected command name in warning messages when handling arguments - making handling of some warning messages consistent
* Bug 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-0/+1
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* various fixes and restructuringDimitri van Heesch2014-12-221-2/+0
|
* Merge branch 'feature/bug_size_latex' of ↵Dimitri van Heesch2014-12-201-0/+3
|\ | | | | | | | | | | | | | | 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/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+1
|/
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-0/+1
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Added @parblock and @endparblock commandsDimitri van Heesch2013-09-241-1/+2
|
* Improved handling of \internal and \endinternalDimitri van Heesch2013-07-151-1/+2
|
* Paragraph inbetween @warning like section and autolist no longer ended sectionDimitri van Heesch2013-05-191-1/+3
|
* Release-1.8.3.1-20130324Dimitri van Heesch2013-03-241-0/+1
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-0/+1
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-2/+3
|
* Release-1.8.1.1Dimitri van Heesch2012-06-101-0/+1
|
* Release-1.8.0-20120429Dimitri van Heesch2012-04-291-0/+1
|
* Release-1.7.6.1-20120220Dimitri van Heesch2012-02-201-1/+1
|
* Release-1.7.6.1-20120110Dimitri van Heesch2012-01-101-1/+2
|
* 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-0/+1
|
* Release-1.7.3-20110123Dimitri van Heesch2011-01-231-1/+1
|
* Release-1.6.3-20100507Dimitri van Heesch2010-05-071-8/+8
|
* Release-1.6.2-20100124Dimitri van Heesch2010-01-241-1/+1
|
* Release-1.5.7.1-20081103Dimitri van Heesch2008-11-031-12/+13
|
* Release-1.5.4-20080101Dimitri van Heesch2008-01-171-2/+2
|
* Release-1.5.4Dimitri van Heesch2008-01-161-1/+1
|
* Release-1.5.3-20070902Dimitri van Heesch2007-09-021-0/+1
|
* Release-1.5.1-20070315Dimitri van Heesch2007-03-151-0/+1
|
* Release-1.5.1-20070219Dimitri van Heesch2007-02-191-1/+1
|
* Release-1.5.1-20070107Dimitri van Heesch2007-01-071-1/+2
|
* Release-1.5.1-20061202Dimitri van Heesch2006-12-021-1/+1
|
* Release-1.4.6-20060507Dimitri van Heesch2006-05-071-1/+1
|
* Release-1.4.3-20050615Dimitri van Heesch2005-06-151-1/+4
|
* Release-1.4.2-20050421Dimitri van Heesch2005-04-211-0/+1
|
* Release-1.4.1Dimitri van Heesch2005-01-111-1/+1
|
* Release-1.3.6-20040427Dimitri van Heesch2004-04-271-0/+4
|