summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
Commit message (Collapse)AuthorAgeFilesLines
* Extending \cite command with '-' and '?' characters.albert-github2018-11-171-4/+12
| | | | In the `\cite` label some extra characters are enabled, '-' and '?', as the '--' and '---' have been converted beforehand they have to be converted back and the corresponding labels also have to between double quotes (which are striped away).
* issue 6612 Issue with handling of emojialbert-github2018-11-121-10/+39
| | | | | | Regression on adding emoji. - in case of multiple levels of `::` (e.g. `U::V::W`) this resulted in the fact that `:V:` was seen as an emoji and handled as such - in a citelist it is possible to have `pages = {104:1--104:8},`, `number = {4},` and `volume = {28},` but this is translated into `28(4):104:1–104:8` giving a false positive on `:104:`. the citelist has been excluded from emoji handling.
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2018-11-111-1/+1
|\
| * Invalid warnings regarding todos when source file name contains a '-'albert-github2018-11-091-1/+1
| | | | | | | | Handling also filenames in scope environment
* | Merge branch 'feature/issue_6517' of ↵Dimitri van Heesch2018-11-111-0/+20
|\ \ | |/ |/| | | https://github.com/albert-github/doxygen into albert-github-feature/issue_6517
| * issue_6517: Emoji supportalbert-github2018-10-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 795568 - "unexpected token TK_EOF as the argument of ref" when target ↵albert-github2018-11-021-2/+2
| | | | | | | | | | | | starts with a digit Enable possibility to reference to file names as well (some filenames ere supported as side effect of other rules).
* | Renamed command and moved duplicated code into a macroDimitri van Heesch2018-10-271-13/+15
| |
* | Merge branch 'feature/bug_warning_msg' of ↵Dimitri van Heesch2018-10-271-9/+10
|\ \ | |/ |/| | | https://github.com/albert-github/doxygen into albert-github-feature/bug_warning_msg
| * Correcting warning messages and echoing unknown commandalbert-github2018-08-261-9/+10
| | | | | | | | | | | | - 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
* | Merge pull request #6419 from albert-github/feature/bug_env_consistencyDimitri van Heesch2018-09-021-1/+2
|\ \ | | | | | | Consistency of environment variables between config and code
| * | Consistency of environment variables between config and codealbert-github2018-08-021-2/+2
| | | | | | | | | | | | Made consistent with pull request #6420
| * | Consistency of environment variables between config and codealbert-github2018-08-021-1/+2
| | | | | | | | | | | | In a configuration file it was possible to have an environment variable like PROGRAMFILES(X86) but in the code this was not possible.
* | | Merge pull request #6388 from albert-github/feature/bug_740046_regressionDimitri van Heesch2018-09-011-1/+1
|\ \ \ | | | | | | | | Section label with minus sign not recognized properly.
| * | | Section label with minus sign not recognized properly.albert-github2018-07-101-1/+1
| |/ / | | | | | | | | | | | | | | | | | | This is a regression on: Bug 740046 - Negative sign in -Foo::Bar ruins hyperlink in generated output only the first character is has to be handled in the new way. (Reference to old github pull request #704 and issue #5677)
* | | Merge branch 'feature/bug_667993' of ↵Dimitri van Heesch2018-08-261-2/+2
|\ \ \ | |_|/ |/| | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_667993
| * | Bug 667993 - HTML tags <u> and </u> not supportedalbert-github2018-07-071-2/+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 691689 - Line numbers for examplesDimitri van Heesch2018-08-191-0/+17
|/
* Merge pull request #704 from albert-github/feature/bug_704046Dimitri van Heesch2018-04-221-1/+4
|\ | | | | Bug 740046 - Negative sign in -Foo::Bar ruins hyperlink in generated output
| * Bug 740046 - Negative sign in -Foo::Bar ruins hyperlink in generated outputalbert-github2018-04-121-1/+4
| | | | | | | | Excluded digits and '+' sign and '-' sign from determination of Words.
* | Bug 688387 - JavaDoc @linkplain is not recognizedalbert-github2018-02-261-1/+1
|/ | | | See to it that the, JavaDoc version of the, command @link cannot be confused with @linkplain.
* Fix/New: add variadic function args '...' support to @refMatthew White2017-08-031-1/+2
| | | | | | | | | | | | | * src/doctokenizer.l: add VARARGS, aka variadic function args '...' * src/util.cpp (linkToText): call substitute() with skip_seq set to 3 to keep each '...' sequence of chars unchanged For instance, the command '@ref fun(int,...)' now is able to parse each '...' sequence of chars correctly to reference fun(int,...). Before this patch, the '...' part was skipped. Also, linkToText() is fixed to not substitute '...' with '::::::' in the text representation of the link.
* Bug 776988 - Too greedy behavior of @ref const matchingDimitri van Heesch2017-01-171-4/+16
|
* flex: use %option instead of command line options.Adrian Negreanu2016-09-211-0/+2
|
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-1/+1
| | | | improve performance
* Bug 756604 - Unable to prevent a numbered listDimitri van Heesch2015-11-011-1/+1
|
* Improved handling of <caption> in tables for LaTeX output.Dimitri van Heesch2015-08-081-4/+22
|
* Bug 751321 - \cite still rejects valid BibTeX keysDimitri van Heesch2015-07-191-1/+1
|
* drop #include <unistd.h>Adrian Negreanu2015-05-151-2/+2
| | | | Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* Bug 746619 - Bogus warnings in case of anonymous namespace and @todoDimitri van Heesch2015-04-061-1/+1
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Bug 742151 - Bogus warning: citelist: Unexpected new line characterDimitri van Heesch2015-01-041-2/+2
|
* Disabled enter/exit printing for doctokenizer (produced too much noise)Dimitri van Heesch2014-12-221-10/+10
|
* various fixes and restructuringDimitri van Heesch2014-12-221-65/+25
|
* Merge branch 'feature/bug_size_latex' of ↵Dimitri van Heesch2014-12-201-9/+75
|\ | | | | | | | | | | | | | | 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-9/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ↵Dimitri van Heesch2014-12-191-0/+23
| | | | | | | | section (fixed regression)
* | Bug 740218 - Full scope needed when making link inside cross-referenced sectionDimitri van Heesch2014-11-171-0/+13
| |
* | Bug 739214 - Cannot make unscoped link to C++ conversion operatorDimitri van Heesch2014-11-161-1/+3
| |
* | Bug 739211 - Cannot make explicit links to C++ const member functionsDimitri van Heesch2014-11-161-1/+2
|/
* Problem in case of line termination (., a dot) direct after the \cite commandalbert-github2014-09-031-1/+1
| | | | | | | | In case a sentence like: Cite reference at end of line with a dot \cite hicks2001. is used the cite_key is hicks2001. (so including the .) This is a regression of Bug 702584 - \cite rejects valid BibTeX keys
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-1/+31
|
* Bug 702584 - \cite rejects valid BibTeX keysalbert-github2014-07-061-1/+3
| | | | Added possibility for . (dot) and + (bit analogous to file names. A . (dot) cannot be the last character)
* Added support for \-- and \--- to prevent interpretation as ndash and mdashDimitri van Heesch2014-04-131-1/+1
|
* Merge branch 'patch-1' of https://github.com/rkawulak/doxygen into ↵Dimitri van Heesch2014-04-121-1/+1
|\ | | | | | | | | | | | | rkawulak-patch-1 Conflicts: src/doctokenizer.l
| * Update doctokenizer.lrkawulak2014-03-171-1/+1
| | | | | | Removed ':' from the end of the section title for an RCS tag - it was inconsistent with sections created using other commands.
* | Added optional [block] option to \htmlonlyDimitri van Heesch2014-03-291-1/+11
| |
* | Update doctokenizer.lrkawulak2014-03-171-1/+9
|/ | | Added support for Subversion fixed-length keyword syntax (see: http://sourceforge.net/p/doxygen/discussion/130996/thread/1c641a9f/).
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Fixed issues with @parblock and added regression test caseDimitri van Heesch2014-01-041-1/+1
|