Commit graph

61 commits

Author SHA1 Message Date
albert-github
47fee38782 issue_6517: Emoji support
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
2018-10-01 18:58:03 +02:00
albert-github
b4e5351978 Bug 667993 - HTML tags <u> and </u> not supported
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).
2018-07-07 14:47:33 +02:00
albert-github
9ae1af9b86 Bug 770660 - Code snippet always shows line numbers from 1
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)
2016-09-03 11:04:38 +02:00
albert-github
ba84836308 Introducing commands includedoc and snippetdoc
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.
2016-08-21 14:17:20 +02:00
Dimitri van Heesch
5487f855ad Bug 756604 - Unable to prevent a numbered list 2015-11-01 16:15:17 +01:00
Dimitri van Heesch
e11b487853 Bump copyright year 2015-02-26 20:39:53 +01:00
Dimitri van Heesch
67e8d626fe Merge branch 'feature/bug_size_latex' of https://github.com/albert-github/doxygen into albert-github-feature/bug_size_latex
Conflicts:
	src/doctokenizer.h
	src/latexgen.cpp
2014-12-20 15:04:50 +01:00
albert-github
329a4ddc03 Limit images sizes and make more uniform (LaTeX)
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.
2014-11-28 14:44:07 +01:00
Dimitri van Heesch
c6e4122657 Bug 740218 - Full scope needed when making link inside cross-referenced section 2014-11-17 20:42:40 +01:00
Dimitri van Heesch
7506404e64 Bug 731947 - Support for PlantUML 2014-08-10 20:09:33 +02:00
Dimitri van Heesch
385b87e08c Added support for \-- and \--- to prevent interpretation as ndash and mdash 2014-04-13 11:33:52 +02:00
Dimitri van Heesch
1134237afe Added \latexinclude command (thanks to Juan Zaratiegui for the patch) 2014-03-27 21:22:11 +01:00
Dimitri van Heesch
a28ff2331d Updated copyright 2014-02-11 20:20:55 +01:00
Dimitri van Heesch
4fc5b2b154 Bug 707713 - Add support for dia diagrams 2013-10-06 23:39:40 +02:00
Dimitri van Heesch
3b9f4d9cee Added @parblock and @endparblock commands 2013-09-24 21:01:24 +02:00
Dimitri van Heesch
a07d3d48b6 Improved handling of \internal and \endinternal 2013-07-15 21:45:32 +02:00
Dimitri van Heesch
aacd1557af Release-1.8.3.1-20130209 2013-02-09 19:18:25 +00:00
Dimitri van Heesch
dcd4714c44 Release-1.8.3.1 2013-01-20 13:31:30 +00:00
Dimitri van Heesch
fee4053bd3 Release-1.8.2-20121118 2012-11-18 21:43:28 +00:00
Dimitri van Heesch
52445a9821 Release-1.8.1.2 2012-07-12 15:32:41 +00:00
Dimitri van Heesch
0ce3aea886 Release-1.8.1.1 2012-06-10 09:28:22 +00:00
Dimitri van Heesch
44ca9512aa Release-1.8.0-20120429 2012-04-29 17:51:51 +00:00
Dimitri van Heesch
b1800e6e89 Release-1.8.0 2012-03-17 20:32:54 +00:00
Dimitri van Heesch
34d4ace6d4 Release-1.7.6.1-20120220 2012-02-20 21:09:54 +00:00
Dimitri van Heesch
fd8b446f8a Release-1.7.6.1-20120110 2012-01-10 21:15:46 +00:00
Dimitri van Heesch
9be758009e Release-1.7.5 2011-08-14 13:56:38 +00:00
Dimitri van Heesch
64f0c97c3a Release-1.7.4-20110727 2011-07-27 19:00:12 +00:00
Dimitri van Heesch
de297f6d77 Release-1.7.4-20110606 2011-06-06 19:49:53 +00:00
Dimitri van Heesch
eba15fd2fe Release-1.7.3-20110123 2011-01-23 17:25:30 +00:00
Dimitri van Heesch
dd7602fdd3 Release-1.7.2-20101118 2010-11-18 21:50:39 +00:00
Dimitri van Heesch
6dbef217c4 Release-1.7.1-20100920 2010-09-20 18:19:55 +00:00
Dimitri van Heesch
a3b06c4fd3 Release-1.6.3-20100507 2010-05-07 19:37:33 +00:00
Dimitri van Heesch
3eb607c723 Release-1.6.2-20100124 2010-01-24 22:18:59 +00:00
Dimitri van Heesch
0c751ba9f9 Release-1.6.1-20091027 2009-10-27 20:10:16 +00:00
Dimitri van Heesch
c6c19d2984 Release-1.5.5-20080325 2008-03-25 18:42:56 +00:00
Dimitri van Heesch
b8ff687873 Release-1.5.5 2008-02-10 12:31:40 +00:00
Dimitri van Heesch
f1103ed882 Release-1.5.4-20080101 2008-01-17 18:56:38 +00:00
Dimitri van Heesch
29a8f14473 Release-1.5.2-20070719 2007-07-19 13:04:41 +00:00
Dimitri van Heesch
01147699a7 Release-1.5.2-20070610 2007-06-10 20:20:58 +00:00
Dimitri van Heesch
cc52853c15 Release-1.5.1-20070315 2007-03-15 10:14:23 +00:00
Dimitri van Heesch
eb59129668 Release-1.5.1-20070219 2007-02-19 18:51:10 +00:00
Dimitri van Heesch
243272688a Release-1.4.7-20060716 2006-07-16 20:10:06 +00:00
Dimitri van Heesch
0674d90955 Release-1.4.6-20060507 2006-05-07 18:20:12 +00:00
Dimitri van Heesch
64c0fdd743 Release-1.4.4 2005-07-21 08:42:44 +00:00
Dimitri van Heesch
7e2f4c794a Release-1.4.3-20050615 2005-06-15 19:21:39 +00:00
Dimitri van Heesch
b91d710ef9 Release-1.4.1-20050315 2005-03-15 19:18:42 +00:00
Dimitri van Heesch
2b2cf3ee82 Release-1.4.1 2005-01-11 19:39:24 +00:00
Dimitri van Heesch
1c51f44b5f Release-1.3.9.1-20041228 2004-12-28 15:52:58 +00:00
Dimitri van Heesch
f08c77a2ea Release-1.3.6-20040413 2004-04-13 19:01:22 +00:00
Dimitri van Heesch
f13d78d4df Release-1.3.6-20040222 2004-02-22 19:57:25 +00:00