Commit graph

15,579 commits

Author SHA1 Message Date
Marko Klopcic
13d2dad679 added tests for HTML tags, bugs in HTML tags fixed 2013-01-18 21:21:12 +01:00
Marko Klopcic
f25d03612b added the missing doxy command 'example' 2013-01-17 23:17:06 +01:00
Marko Klopcic
7984516b31 implemented translation of HTML tags - they are handled as a special class of commands 2013-01-16 23:15:14 +01:00
Marko Klopcic
49dddb3bd1 updated test doxygen_translate, but there is one bug with unordered list 2013-01-13 22:49:54 +01:00
Marko Klopcic
32f34e16be improved commands for escaped characters 2013-01-13 20:02:39 +01:00
Marko Klopcic
20cc685e8a tests with escapes added, tests refactored - broken to smaller chunks 2013-01-10 22:26:50 +01:00
Marko Klopcic
a9ef35bc66 Parsing of comments to tokens rewritten so that html entities and html tags are now treated as commands. Whitespaces are also preserved more acurately, so some doxygen tests fail at the moment 2013-01-10 08:51:56 +01:00
m
dd775a6ca9 Files Token.cpp and TokenList.cpp removed from makefile. TokenList was replaced with std::vecor, Token is now nested class of DoxygenParser 2013-01-10 08:28:20 +01:00
Marko Klopcic
8d61aae0fb fixed handling of /******/ comments, added tests for backslash handling, which fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-06 20:56:19 +00:00
Marko Klopcic
2f77dbc7f4 fixed prepending '*' to nontranslated comments by taking also tabs into account
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-30 20:35:23 +00:00
Marko Klopcic
e50d37664f if feature doxygen:notranslate is used, comments are now properly decorated with '*'s.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-29 21:26:11 +00:00
Marko Klopcic
e62580acb8 fixed doxy documentation (also shortened lines), added test for discovered bug reltaed to nested enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-28 20:59:32 +00:00
Marko Klopcic
faec66879a fixed doxygen tests after rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-28 19:50:50 +00:00
Marko Klopcic
af74b4f96a renamed test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-27 20:25:00 +00:00
Marko Klopcic
46f2a16608 more refactoring, typedefs were introduced, DoxyCommandEnum moved to DoxygenParser
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-26 20:07:57 +00:00
Marko Klopcic
c9eda79264 refactored DoxygenEntity class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-26 15:34:46 +00:00
Marko Klopcic
a753f3e799 removed files with classes wich were made obsolete by previous commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-26 13:07:09 +00:00
Marko Klopcic
ed6df45c0a refactored DoxygenParser: class Token is now nested in Doxygen parser because it is only used there, class TokenList has been removed - it more or less duplicated std::list, other code moved to DoxygenParser
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-26 13:00:52 +00:00
Dmitry Kabak
549b2046b1 Fixed comments in the source code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-19 14:42:26 +00:00
Dmitry Kabak
dfad1c8156 Fixed param description alignment in PyDoc translator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-19 13:58:12 +00:00
Dmitry Kabak
99bc7e9eb0 Added support for const qualifier and references in link-objects in JavaDoc link translator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-19 13:49:21 +00:00
Dmitry Kabak
faf72f01bf Fixed problems with new lines in JavaDoc translator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-19 09:43:19 +00:00
Dmitry Kabak
0d35785724 Small cosmetic changes to generated comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-17 23:47:56 +00:00
Dmitry Kabak
1eb664cad2 Updated docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-16 15:13:35 +00:00
Dmitry Kabak
3ca3848464 Implemented missing runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-16 15:10:07 +00:00
Dmitry Kabak
393ffd09da Fixed structural command list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-16 14:19:26 +00:00
Dmitry Kabak
316be573f8 Fixed lots of PyDoc converter problems, see doxygen_tricky_constructs test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-16 14:18:47 +00:00
Dmitry Kabak
40ce1b412a Now commands with no whitespace following them are also parsed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-16 14:16:59 +00:00
Dmitry Kabak
a9cdb000ba Made swig strip out all structural comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-16 11:35:02 +00:00
Dmitry Kabak
c592e0db51 Made doxygen parsing switched off by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-13 09:09:25 +00:00
Dmitry Kabak
3eed72b659 Updated Doxygen warning system
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-11 15:23:18 +00:00
Dmitry Kabak
771c61f9f1 Renamed DoxygenComment to doxygen to better comply swig's attribute namings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-11 14:34:48 +00:00
Dmitry Kabak
9600bb310f Improved unknown Doxygen commands handling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-10 21:21:16 +00:00
Dmitry Kabak
f7f3960d11 Eliminate 'signed/unsigned comparison' compiler warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-10 12:27:40 +00:00
Dmitry Kabak
423915eef6 Added some docs, updated project-plan
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-09 19:06:58 +00:00
Dmitry Kabak
7178385d48 Made comment output nicer, now printing _someword_ instead of _someword _
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-09 18:58:53 +00:00
Dmitry Kabak
342bff6ec9 Changed quoted strings handling. Also not missing any doxygen commands now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-08 14:16:48 +00:00
Dmitry Kabak
cecc793782 Various small code fixes. Some unwanted code removed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-07 20:04:23 +00:00
Dmitry Kabak
51e184f134 Added special doxygen features description to docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 16:22:48 +00:00
Dmitry Kabak
0a3db948cc Fixed possible bug: as the return value of makeDocumentation is never checked, don't return null pointers, even in case of errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 14:18:46 +00:00
Dmitry Kabak
346fdfcab7 Added doxygen:notranslate feature, to prevent running of automatic comment translation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 14:16:57 +00:00
Dmitry Kabak
6365770c7f Added missing test part to python testsuite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 13:31:19 +00:00
Dmitry Kabak
e05d88b83c Removed some old unused code from parser.y
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-03 21:53:48 +00:00
Dmitry Kabak
380b71eb56 Implemented automatic translation of links in doxygen comments, for example @see function(std::string) -> @see function(String) in java. Also included testcase for that
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-03 21:43:02 +00:00
Dmitry Kabak
d99fe121b8 Fixed python doxygen_basic_translate runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-03 19:43:35 +00:00
Dmitry Kabak
3b280b6ffe Fixed doxygen_basic_translate testcase. Why do I always have the tests messed up?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-03 19:34:56 +00:00
Dmitry Kabak
9d3446d803 Fixed critical bug with doxygen comments, containing % symbol
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-03 18:44:47 +00:00
Dmitry Kabak
1881130f10 Fixed doxygen_basic_translate java runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-02 22:01:54 +00:00
Marko Klopcic
174e203180 Fixed problem with doxygen comments at the end of a file or in a file without declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-02 20:48:28 +00:00
Dmitry Kabak
c72a56c6f1 Small fix to display params type correctly in PyDocConverter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-02 12:22:26 +00:00