William S Fulton
857e447654
Fix syntax error when preprocessor macros are defined inside of enum lists
...
Fixes SF Bug 428, Patch 333
2013-04-18 22:48:42 +01:00
Karl Wette
2a3e687c19
Octave: fix bugs in output of cleanup code
...
Closes #35
2013-04-17 22:23:27 +01:00
William S Fulton
296498c159
Cosmetic tidyup in smartptr feature code and document smartptr fix in previous commit
2013-04-17 21:56:23 +01:00
Brant K. Kyser
25eaee49f3
Add check for smart pointer type in generated code for director connection. This fixes a crash in the generated code caused by the dynamic_cast returning 0 because the specified types are incorrect for smart pointer types.
...
Add runtime test to the C# test suite's director smartptr test that demonstrates crash in generated code when directors are used with smart pointer types.
Closes #34
2013-04-17 21:55:11 +01:00
Vladimir Kalinin
9c317fae90
namespace support added
...
GetCPtr now returns HandleRef
"feature:interface:name" is now mandatory attribute
2013-04-16 23:53:21 +04:00
Vladimir Kalinin
0898d6435d
interfaces (1)
2013-04-16 04:49:23 +04:00
Karl Wette
611acbf944
Add -MP option for generating phony targets for all dependencies
...
- Modelled on similar option in GCC
2013-04-15 22:17:48 +02:00
Olly Betts
24ff00690f
Use ZVAL_STRINGL instead of ZVAL_STRING to set funcname as we know the length at swig-time
2013-04-14 08:03:46 +12:00
Olly Betts
a16dc29046
Removed unused Printf parameter
2013-04-14 06:14:47 +12:00
Vladimir Kalinin
753120d76b
interfaces (1)
2013-03-22 15:47:41 +04:00
William S Fulton
e182b4844c
Fix seg fault in SWIG using directors when class and virtual method names are the same except being in different namespaces when the %nspace feature is not being used.
2013-03-19 19:50:44 +00:00
William S Fulton
9d0b20916f
Add ability to suppress some director warnings by their method name, not just the containing class name
2013-03-19 19:50:43 +00:00
Marko Klopcic
4663fce63c
fixed bug in handling of ref tag in Java, added handling in Python
2013-03-17 20:09:34 +01:00
Marko Klopcic
4e2c1e3ac3
added handling for tag ref in Java
2013-03-16 10:53:48 +01:00
Karl Wette
52c754a22d
Minor fix to Octave autodoc generation for functions returning structs
...
Patch #27
- see also git commit 72ffdb930d
2013-03-09 00:10:41 +00:00
William S Fulton
fdea8a8f51
More useless code removal as detected by scan-build (LLVM/Clang)
...
using scan-build ./configure && scan-build make
2013-03-08 22:19:07 +00:00
Sylvestre Ledru
e0b14786d6
Fix some useless code detected by scan-build (LLVM/Clang)
2013-03-08 20:53:18 +00:00
Marko Klopcic
00ff8886c6
formatting updated
2013-02-23 16:46:14 +01:00
Marko Klopcic
530d65a98c
added fix for word commands aqnd ellipsis
2013-02-23 16:44:09 +01:00
Marko Klopcic
3b7908fa6e
fixed leading spaces for the second row of table in pydoc, sources formatted
2013-02-23 15:20:27 +01:00
Marko Klopcic
9cd379b800
fixed bug with autodoc, manual updated with table description and tests description
2013-02-21 22:50:15 +01:00
Marko Klopcic
b5dea7456b
improved handling of word commands if puntuation is following the word, preserved spaces at start of comment line
2013-02-21 09:05:11 +01:00
William S Fulton
cfd8497f3e
Cosmetic changes in SwigType_add_qualifier
2013-02-21 07:00:25 +00:00
Karl Wette
ee2b46abe0
Fix SWIG's handling of qualified (e.g. const) variables of array type
2013-02-19 20:05:46 +00:00
Karl Wette
9d330a9970
Fix qualifier parsing in SwigType_add_qualifier()
...
- use list to ensure qualifiers are unique and sorted
- now allows 'qual' to contain multiple qualifiers
2013-02-19 20:05:45 +00:00
Marko Klopcic
2a8b20785e
fixed bug in handling of HTML tags, test added
2013-02-19 07:25:13 +01:00
William S Fulton
d1b40b468b
Fix C code where a typedef name was used for constructor and destructor names in %extend. Deprecate use of typedef names for constructor and destructor names going forwards.
2013-02-18 22:40:42 +00:00
Karl Wette
70cd52f44d
Use "(void)" instead of "()" when wrapping no-argument extension functions.
2013-02-18 22:39:39 +00:00
William S Fulton
b80f4dc5e2
Restrict the name used in %extend to be just the struct/class name and not a typedef to a class/struct. Typedefs were only partially working anyway. Anonymous struct typedefs excluded. Deprecate with a warning for now.
2013-02-18 19:53:37 +00:00
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
William S Fulton
8778724768
Add support for extern "C++" - no warning should be issued as was previously occurring
2013-02-08 18:55:16 +00:00
William S Fulton
e44656cfe5
Add support for extern "C" thread_local
2013-02-08 18:45:29 +00:00
William S Fulton
7fcfdeee08
Fixes detecting if a variable is extern when using 'extern thread_local'
2013-02-08 07:38:10 +00:00
William S Fulton
b725625e6f
Add support for thread_local when specified with other legitimate storage class specifiers - extern and static
2013-02-08 06:36:39 +00:00
William S Fulton
c6bc7b881f
Remove test tokens
2013-02-08 06:36:39 +00:00
William S Fulton
c1b99d4279
User defined literals: fix for %rename and update docs
2013-02-08 06:36:31 +00:00
William S Fulton
dbf4821b18
Add ability to suppress variadic template first argumnet warning
2013-02-05 07:17:54 +00:00
William S Fulton
3020bc328c
Add template aliasing and type aliasing into symbol table and enable explicit warning suppression for these. They still need to be added into the parse tree and dealt with.
2013-02-04 20:26:52 +00:00
William S Fulton
9193b3ed77
Remove unnecessary file/line setting in parser
2013-02-04 20:10:02 +00:00
William S Fulton
6399428a62
Add lambda functions to the symbol tables and add ability to suppress lambda warnings.
2013-02-04 20:05:34 +00:00
William S Fulton
d613ef42f2
Rework std::initializer_list handling to warn about usage in any method, not just constructors. A typemap is used to issue the warning and can be overridden with user defined behaviour.
2013-02-04 20:03:22 +00:00
Marko Klopcic
29d1bba70a
improved comment formatting for Python
2013-02-02 23:01:09 +01:00
William S Fulton
c8ff23de0c
Initialization list doc updates and new tests. Fix functions with default arguments that are initializer lists
2013-02-02 20:03:10 +00:00
William S Fulton
397409fbb1
Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5
2013-01-30 22:18:13 +00:00
Marko Klopcic
1883797742
refactored comment tokenizer
2013-01-29 22:58:10 +01:00
William S Fulton
d172e3d0ed
Apply patch SF #334 - Fix Python default value conversions TRUE->True, FALSE->False.
2013-01-29 07:31:11 +00:00
Marko Klopcic
2896938879
only whitespace cnhanges and code comment update
2013-01-29 08:13:03 +01:00
William S Fulton
38f37ef5ae
Apply patch SF #335 - Truly ignore constructors in directors with %ignore and correct testcase that tests this
2013-01-29 06:55:22 +00: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