Commit graph

3,177 commits

Author SHA1 Message Date
Marko Klopcic
0b6bc80038 Translation of HTML tags to Python almost finished 2013-02-13 23:06:20 +01:00
Marko Klopcic
560dedb6c0 added handling of HTML tags and HTML entities to PyDocConverter, updated tests 2013-02-12 22:58:50 +01:00
Marko Klopcic
29d1bba70a improved comment formatting for Python 2013-02-02 23:01:09 +01:00
Marko Klopcic
1883797742 refactored comment tokenizer 2013-01-29 22:58:10 +01:00
Marko Klopcic
2896938879 only whitespace cnhanges and code comment update 2013-01-29 08:13:03 +01:00
Marko Klopcic
a2a345be39 improved handling of @see tags - SWIG no longer crashes if right brace is missing 2013-01-28 22:25:40 +01:00
Marko Klopcic
2df4449e3b commands \f? (LateX formulas) are no longer ignored - formulas are copied literally to Java comments 2013-01-28 20:07:36 +01:00
Marko Klopcic
9a1bb671c1 fixed bug with caption in command 'image' 2013-01-27 22:18:06 +01:00
Marko Klopcic
d52de0f36f fixed comments for enum types in Java - they were missing before 2013-01-26 22:52:34 +01:00
Marko Klopcic
8de06366cf fixed handling of quoted text adn standalone backslash and @ 2013-01-23 23:15:36 +01:00
Marko Klopcic
43eeb4528c warnings eliminated, examples fixed, only doxygen_misc_constructs is not working now 2013-01-22 23:21:02 +01:00
Marko Klopcic
f6fc808534 fixed handling of < and > when they are not used for html tag 2013-01-21 22:22:02 +01:00
Marko Klopcic
a2b0d42c32 fixed tests for HTML entities and handling of HTML entities 2013-01-18 22:30:23 +01:00
Marko Klopcic
4955cdaac6 added handling of HTML entities 2013-01-18 22:22:22 +01:00
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
32f34e16be improved commands for escaped characters 2013-01-13 20:02:39 +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
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
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
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
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
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
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