summaryrefslogtreecommitdiffstats
path: root/src/docbookvisitor.h
Commit message (Collapse)AuthorAgeFilesLines
* issue #8193: Better warning in case of error in dot / msc / dia imageDimitri van Heesch2021-05-031-3/+6
|
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-2/+2
| | | | | | | | | | | | | | | | | 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: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-4/+5
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: make qcstring.h a local includeDimitri van Heesch2021-03-261-3/+3
|
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-6/+7
|
* issue #8357 XML output does not include cross-references in code-fragmentsalbert-github2021-01-271-1/+1
| | | | | | | In case of explicit code samples the language was not specified for the code and the code was parsed verbatim. Same was valid for code in the Docbook output. The LaTeX version has been taken as reference for the implementation.
* Refactoring: cleanup unused qtools headersDimitri van Heesch2021-01-221-2/+0
|
* Refactoring: move Doc*Visitor::push/popEnabledDimitri van Heesch2021-01-221-2/+0
| | | | New class & name: DocVisitor::push/popHidden
* Refactoring: modernize docparser and clientsDimitri van Heesch2021-01-221-5/+5
|
* Refactoring: Introduce type names for commonly used container typesDimitri van Heesch2020-05-011-4/+3
|
* Replace raw bool pointer array and counter by std::stack<bool>Dimitri van Heesch2020-02-291-6/+8
|
* Remove not used classalbert-github2019-07-071-2/+0
| | | | | | | As per comment in `docvisitor.h`: ``` class DocCopy; // TODO: no longer generated => remove ```
* Refactored code a bit (use const references and made global functions members)Dimitri van Heesch2018-11-241-8/+13
|
* Doxygen creates empty image titles for Docbook outputalbert-github2018-11-231-7/+10
| | | | | | 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-2/+2
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_inline_image
* | 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
* | Implementation of standard generator for docbook outputalbert-github2018-09-071-0/+4
|/ | | | | | | | 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'
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Limit images sizes and make more uniform (LaTeX)albert-github2014-11-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-0/+1
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Bug 707713 - Add support for dia diagramsDimitri van Heesch2013-10-061-0/+6
|
* Added @parblock and @endparblock commandsDimitri van Heesch2013-09-241-1/+4
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-0/+161