summaryrefslogtreecommitdiff
path: root/Examples/test-suite/doxygen_misc_constructs.i
Commit message (Collapse)AuthorAgeFilesLines
* Fix syntax error for misplaced Doxygen comment after struct/class member.William S Fulton2022-12-061-0/+7
| | | | | | | Fix syntax error using Doxygen member groups syntax, "///*}", when used after final struct/class member. Issue #1636
* Improved handling of Doxygen comments in parameter listsWilliam S Fulton2022-12-051-0/+21
| | | | | | | Fix garbled Doxygen post comments in parameter lists. Fix syntax error parsing a trailing Doxygen comment in parameter lists. Closes #2023
* Fix syntax error parsing of Doxygen comments after last enum itemWilliam S Fulton2022-12-031-0/+11
| | | | | | | It is unconventional to have a doxygen comment after an enum item. It is attached to the previous, that is, the enum item to match Doxygen behaviour. Closes #1609
* Fix parsing of unconventional Doxygen post comments for enum items.William S Fulton2022-12-031-1/+24
| | | | Closes #1715
* Fix for missing space after \endlink in doxygenJohn McFarland2020-05-021-2/+2
| | | | | | | | | | | | | | | | The "endlink" command is processed in processWordCommands, which by default skips space occuring after the command, which is intended for removing leading space from a command argument. For "end" commands, we don't want to do this. Note that certain end commands such as "endcode" aren't processed by processWordCommands (believe addCommandUnique ends up handling them). Update usage of \link in doxygen_translate_all_tags.i to test handling of space after \endlink. Tweaking some of the usage in doxygen_misc_constructs.i to remove what seems to be an extra space from the input (otherwise we would need to add an extra space to the expected output).
* Don't crash if type is not available in Python Doxygen codeVadim Zeitlin2019-04-201-0/+3
| | | | | | | | | Fix crash if "@return" Doxygen tag was used on a node without any return type (such as a class, for example). Ignoring it might not be the best thing to do, but it's definitely better than crashing and it's not really clear what else could be done anyhow. Closes #1516.
* Misc. typo and whitespace fixesluz.paz2018-09-191-14/+14
| | | | | | | Found via `codespell -q 3 -L "uint,bae,objext,cmo,goin,struc,ois,upto"` whitespaces were unintentionally fixed due to my editors settings. Rebased patch #1327
* Format files to unix formatWilliam S Fulton2018-05-251-124/+124
|
* Use "//", not "#", for comments in SWIG input.Vadim Zeitlin2014-09-101-2/+2
| | | | | | One Doxygen test file used "#" for comments for some reason, this doesn't work with the latest SWIG trunk where a lone "#" is considered to be an unknown preprocessor directive.
* Give warnings for unknown Doxygen commands in Doxygen parser.Vadim Zeitlin2014-09-031-0/+2
| | | | | | | | | | Silently ignoring unknown Doxygen commands is not a reasonable default behaviour, it's simple enough to turn off the warning if the command is really supposed to be just ignored, but it's too easy to not notice a real problem if it isn't. Turn WARN_DOXYGEN_UNKNOWN_COMMAND on by default and add a test to the errors test suite checking that it is indeed given.
* Preserve relative indentation when parsing Doxygen comments.Vadim Zeitlin2014-08-221-0/+14
| | | | | | | | | | | | | | | | | This is important to preserve the structure of the lists which appear correctly in Python output without any additional effort if the indentation is lost. It is also makes the behaviour consistent for /** * * */ comments and those without the asterisks in the middle lines, as now the indentation is preserved in both cases while it was only preserved when the asterisks were present previously.
* all doxygen tests passMarko Klopcic2013-02-151-1/+1
|
* tests with escapes added, tests refactored - broken to smaller chunksMarko Klopcic2013-01-101-1/+1
|
* fixed handling of /******/ comments, added tests for backslash handling, ↵Marko Klopcic2012-09-061-12/+15
| | | | | | which fail git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fixed prepending '*' to nontranslated comments by taking also tabs into accountMarko Klopcic2012-08-301-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* if feature doxygen:notranslate is used, comments are now properly decorated ↵Marko Klopcic2012-08-291-10/+9
| | | | | | with '*'s. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fixed doxy documentation (also shortened lines), added test for discovered ↵Marko Klopcic2012-08-281-27/+21
| | | | | | bug reltaed to nested enums git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fixed doxygen tests after renameMarko Klopcic2012-08-281-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* renamed test caseMarko Klopcic2012-08-271-0/+112
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13726 626c5289-ae23-0410-ae9c-e8d60b6d4f22