summaryrefslogtreecommitdiffstats
path: root/src/perlmodgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Refactoring: Embed MemberGroup objects directly in their container"Dimitri van Heesch2021-01-041-4/+4
| | | | This reverts commit d37c654efbd5bb4ea19e1997d1daccb0b01de8b3.
* Refactoring: Embed MemberGroup objects directly in their containerDimitri van Heesch2021-01-041-4/+4
|
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-9/+4
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-10/+5
|
* Refactoring: change MemberGroupSDict to MemberGroupListDimitri van Heesch2020-12-301-37/+32
|
* Refactoring: replace NamespaceSDict by NamespaceLinkedMapDimitri van Heesch2020-12-231-4/+2
|
* Refactoring: replaced getNamespaceSDict() by getNamespaces()Dimitri van Heesch2020-12-231-10/+6
|
* Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMapDimitri van Heesch2020-12-191-19/+5
|
* Minor tweaksDimitri van Heesch2020-11-051-7/+4
|
* Merge branch 'Rel_1_8_20_DGA' of https://github.com/DGA45/doxygen into ↵Dimitri van Heesch2020-11-051-1/+8
|\ | | | | | | DGA45-Rel_1_8_20_DGA
| * Fix issue #7547DGA452020-10-301-0/+2
| |
| * Merge remote-tracking branch 'origin/issue7556' into Rel_1_8_20_DGADGA452020-10-301-1/+6
| |\
| | * Fix #7556 ANSI-C anonymous (unnamed) struct/unions duplicated namesDGA452020-02-031-1/+6
| | | | | | | | | Fix ANSI-C anonymous (unnamed) struct/unions duplicated names issue
* | | Refactoring: Modernize BaseClassListDimitri van Heesch2020-10-121-14/+14
|/ /
* | Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-1/+2
| |
* | Add options to enable various sanitizersDimitri van Heesch2020-06-131-10/+0
| | | | | | | | | | | | | | | | | | New CMAKE options (default OFF): - SANITIZE_ADDRESS:BOOL=OFF - SANITIZE_LINK_STATIC:BOOL=OFF - SANITIZE_MEMORY:BOOL=OFF - SANITIZE_THREAD:BOOL=OFF - SANITIZE_UNDEFINED:BOOL=OFF
* | Merge pull request #7566 from DGA45/issue7495Dimitri van Heesch2020-05-141-0/+9
|\ \ | | | | | | Fix #7495 generate "bitfield"
| * | Fix #7495 generate "bitfield"DGA452020-02-031-0/+9
| |/ | | | | Fix missing "bitfield" property generation in Perlmod
* | Refactoring: migrate MemberNameInfoSDict to MemberNameInfoLinkedMapDimitri van Heesch2020-04-271-21/+14
| |
* | Refactoring: Improve encapsulation of MemberInfo classDimitri van Heesch2020-04-271-4/+4
| |
* | Refactor: improve encapsulation for ArgumentListDimitri van Heesch2020-04-251-2/+2
| |
* | Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-59/+57
| |
* | Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-12/+12
| |
* | Merge pull request #7565 from DGA45/issue7490Dimitri van Heesch2020-02-291-21/+39
|\ \ | | | | | | Fix #7490 and #7494
| * | Fix #7490 and #7494DGA452020-02-031-21/+39
| |/ | | | | | | | | Fix following issues: #7490 multiple grouped functions (member groups) #7494 grouped members from files ("user-defined")
* | Restructure section handlingDimitri van Heesch2020-02-211-2/+2
| |
* | Adding commands `\rtfinclude`, `\docbookinclude`, `\maninclude` and ↵albert-github2020-01-091-0/+4
|/ | | | | | `\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
* | Removed exitCode parameter as it is always 1Dimitri van Heesch2019-12-221-1/+1
| |
* | Better termination messagealbert-github2019-11-221-2/+1
| | | | | | | | | | In case a `WARN_LOGFILE` is used it in this file no clear whether doxygen finished correctly or exited beforehand in case a fatal error. Now a 'Exiting...' is also given in the warning log file in case an error is a fatal error.
* | issue #7302: Determination of anonymous is too restrictiveDimitri van Heesch2019-11-051-2/+2
| |
* | Changed ArgumentList to be an STL containerDimitri van Heesch2019-10-271-40/+36
|/
* Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-3/+3
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-3/+3
| | | | | | | | Consistency
* | Merge branch 'fetaure/bug_html_ins_del_tag' of ↵Dimitri van Heesch2019-08-031-0/+2
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-fetaure/bug_html_ins_del_tag
| * | 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.
* | | Remove not used classalbert-github2019-07-071-10/+0
| |/ |/| | | | | | | | | | | As per comment in `docvisitor.h`: ``` class DocCopy; // TODO: no longer generated => remove ```
* | Add const correctness for argument listsDimitri van Heesch2019-05-051-6/+6
| |
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-37/+37
|/
* Merge branch 'feature/bug_lineno_split_examples' of ↵Dimitri van Heesch2019-03-091-0/+1
| | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_lineno_split_examples
* Improved robustness of the emoji featureDimitri van Heesch2018-12-231-1/+9
| | | | | | | | 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.
* Minor restructuringDimitri van Heesch2018-11-181-15/+16
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2018-11-111-1/+1
|\
| * issue_6597 SIGSEGV presumably caused by C++ "using" declarationalbert-github2018-11-051-1/+1
| | | | | | | | | | Crash appears in in the autogen / permod and sqlite3 code generation. In the xml code generation the problem does not appear due to the protection against the NULL pointer. Added protection on the other places as well
* | issue_6517: Emoji supportalbert-github2018-10-011-0/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixing coverity messagesalbert-github2018-09-131-1/+1
| | | | Note: especially latexdocvisitor (dead code that should not be dead code).
* Merge branch 'feature/bug_667993' of ↵Dimitri van Heesch2018-08-261-0/+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-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).
* | perlmod syntax correctionCharles.Lee2018-08-141-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # What is the problem - doxygen perlmod generates the wrong result for retvals / params / templateparam type. - ex.] Although we want to get hash value , we can get only list. ``` detailed => { doc => [ params => [ { parameters => [ { name => 'isOn', dir => 'in' } ], doc => [ { ``` - We should have the following result. Because **"params => ..."** is in hash braces. ``` detailed => { doc => [ { params => [ { parameters => [ { name => 'isOn', dir => 'in' } ], doc => [ { ``` # What can not we do - Can not run the doxylatex.pl (./OUTPUT/perlmod) - We can not get the perl variables to make a successfully. # Modified Code - add hash notation : diff ``` diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index ef5cbc22..7bf0b823 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -1254,6 +1254,7 @@ void PerlModDocVisitor::visitPre(DocParamSect *s) err("unknown parameter section found\n"); break; } + m_output.openHash(); openOther(); openSubBlock(type); } @@ -1262,6 +1263,7 @@ void PerlModDocVisitor::visitPost(DocParamSect *) { closeSubBlock(); closeOther(); + m_output.closeHash(); } ```