Commit graph

3,128 commits

Author SHA1 Message Date
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
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
Dmitry Kabak
fb3ee4fb78 Implemented support for default args - overloaded functions, optional feature 1 in my project plan. Extended testcase.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-02 10:31:02 +00:00
Dmitry Kabak
e764c9a73e Made JavaDoc output nicer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-30 08:09:14 +00:00
Dmitry Kabak
3fbe45f0c6 Added nice doxygen debug switching (-debug-doxygen-parser and -debug-doxygen-translator)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-29 13:48:03 +00:00
Dmitry Kabak
03da0be1fa Fixed numerous 'unused argument' warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-29 11:53:01 +00:00
Dmitry Kabak
5fe88acdfb Forgot to escape special HTML-chars in JavaDocConverter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-29 11:37:38 +00:00
Dmitry Kabak
4951d4a900 Got rid of 81 reduce/reduce warnings in parser.y
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-28 09:19:23 +00:00
Dmitry Kabak
0b7d1ffc45 Small fix to correctly generate overloaded method comments in python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-25 12:11:28 +00:00
Dmitry Kabak
07552d3b09 Fixed ignored commands in JavaDocConverter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-23 11:17:42 +00:00
Dmitry Kabak
c56d5fcf90 Some code refactoring and all of the doxy commands are working for the python comment translator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-19 16:08:11 +00:00
Dmitry Kabak
2ae18d9a0f Some test fixes to the java comment translator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-19 16:06:48 +00:00
Dmitry Kabak
d9e8d140e7 Refactored PyDocConverter class, implemented some commands
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-18 22:05:19 +00:00
Dmitry Kabak
3d5d66dbd3 Fixed a bug with freezing on commands like \code, \link and others
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-17 23:17:17 +00:00
Dmitry Kabak
db9659c286 Implemented most of non-ignored doxygen commands translating for java, fixed testcase. The output is not really nice right now, but almost all the commands mentioned in the project plan work ok
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-16 19:42:30 +00:00
Dmitry Kabak
32154a91e4 Normalized parameters handling, included newlines to the parsed tree
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-16 19:37:05 +00:00
Dmitry Kabak
f0aa6b7501 Fixed \cite doxygen command parsing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-16 19:36:23 +00:00
Dmitry Kabak
4ce9f2361c Added support for parsing of missing doxygen commands. Now parser produces correct parse tree for every doxygen tag, at least for those included in the testcase. Also added the test with all the tags, even those that will be ignored later.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-14 22:41:41 +00:00
Dmitry Kabak
34dc515a40 Fixed bug with quoted strings in doxygen comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-13 15:16:58 +00:00
Dmitry Kabak
b99221e8af Refactored TokenList class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-13 14:08:37 +00:00
Dmitry Kabak
6a7fe334be Implemented parsing support for missing commands: \xrefitem, \ref, \subpage, \dotfile, \mscfile, \image, fixed \par
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-13 10:46:59 +00:00
Dmitry Kabak
6a54fe93ad Added support for parsing of nested conditional comments and extended the test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-12 17:02:04 +00:00
Dmitry Kabak
be21166034 Added parsing support for some new commands
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-11 22:24:36 +00:00
Dmitry Kabak
ed1bd4fbb9 Implemented nice error output, with filename and line number information.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-10 17:17:51 +00:00
Dmitry Kabak
b3f53b98a0 Added error reporting in case when there is no closing doxygen tag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-07 18:48:10 +00:00
Dmitry Kabak
2d47ffc87d Fixed small bug in DoxygenParser.cpp, now it won't freeze if it doesn't find doxygen ending tag. Also turned debug output off
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-07 15:24:35 +00:00
Dmitry Kabak
509cbd72b0 Small JavaDoc converter and doxygen parser improvements, now basic tags working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-07 13:47:35 +00:00
Dmitry Kabak
293c5cfc1f Added support for commenting the last enum item in parser.y
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-07 13:43:19 +00:00
Dmitry Kabak
501bb822e6 Oops, debug output should be left off by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-04 22:56:29 +00:00
Dmitry Kabak
f57b515ee7 Got rid of translated comments cache, seems very inefficient
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-04 22:54:37 +00:00
Dmitry Kabak
4398d1aee4 Fixed a bug in parser with doxygen commands like code, dot, verbatim and so on
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-04 22:28:41 +00:00
Dmitry Kabak
13adf595ec Refactored the code, got rid of global objects, got rid of tons of string comparisons
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-04 22:23:22 +00:00
Dmitry Kabak
75961bc7d1 Fixed double-search in map in JavaDocConverter.cpp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-04 22:04:52 +00:00
Dmitry Kabak
2004ff23b9 Removed the unwanted header
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-04 21:47:57 +00:00
Dmitry Kabak
48e9052e22 Comment fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-02 21:43:15 +00:00
Dmitry Kabak
4c215eb337 Refactored most of comments translating code for java, preliminary version, lots of bugs right now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-02 20:29:49 +00:00
Dmitry Kabak
46feb36cfb Another fix for enums_simple case, now emitting comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-01 18:42:43 +00:00
Dmitry Kabak
774cbc3ef2 Fixed comments parsing, but broken li_boost_shared_ptr_bits test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-29 19:37:42 +00:00
Dmitry Kabak
304e232dbc Fixed enum comments generation in java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-29 19:28:21 +00:00
Dmitry Kabak
4289b8e273 Refactored comment translator class, implemented result caching
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-25 15:47:36 +00:00
Dmitry Kabak
b88de2aa89 Fixed enum comments generation, added testcases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-18 19:13:23 +00:00
Dmitry Kabak
72b23954fb Fix integration of doxygen with autodoc feature, fixed autodoc test and some code refactored
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-18 18:33:30 +00:00
Dmitry Kabak
b0f8e594c9 Implement toggling comment parsing feature on and off
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-18 18:30:18 +00:00
Dmitry Kabak
ac6b51f13e Fix to include comment for non-member functions in python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 18:02:51 +00:00
Dmitry Kabak
ce39e74f28 Applied Christopher Mangiardi's patch that fixes incorrect comment placement in python single line functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-28 19:47:03 +00:00
William S Fulton
ce1891a6c3 merge rev 13009-13025 (up to swig-2.0.6) from trunk to gsoc2008-cherylfoil
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@13045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-07 18:22:21 +00:00
William S Fulton
8bf1347354 Warning fixes using clang
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-29 21:51:18 +00:00
William S Fulton
af1c6ac3c3 Merge trunk (up to just after swig 2.0.5 release - rev 13009) to gsoc2008-cherylfoil
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@13017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-27 18:55:37 +00:00
William S Fulton
39d8882a82 Apply #3513569 which adds a catchlist to the xml output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 06:18:21 +00:00