William S Fulton
65b917dabb
Some test-suite warning fixes
2013-04-06 16:19:17 -07:00
William S Fulton
5d529d5a76
Ruby 1.9 fixes.
...
SF Bug#1292 - Runtime fixes for Proc changes in ruby-1.9 when using STL wrappers that override the default predicate, such as:
%template(Map) std::map<swig::LANGUAGE_OBJ, swig::LANGUAGE_OBJ, swig::BinaryPredicate<> >;
Fixes li_std_functors testcases for Ruby 1.9.
Also rb_respond_to return values have changed subtely in 1.9 and return should be treated as a flag instead of checking for Qtrue, see SF Bug #1159 .
Also fix li_std_map, li_std_set silently failing - rb_protect behaviour seems to have changed when an exception is thrown, so code has been changed to use rb_rescue. A call to 'rb_set_errinfo(Qnil)' could have solved this after the rb_protect call, but it is only available in 1.9+ and Ruby API changes are not easily and transparently detectable.
2013-04-05 23:41:59 +01:00
William S Fulton
ee92a26819
Fixes for out of source builds for Ruby test-suite
2013-04-02 22:21:48 +01:00
William S Fulton
8801ea3f11
Fix incorrect assumptions in Ruby li_std_set test
2013-03-31 00:21:12 +00:00
William S Fulton
5878ca5f1a
Fix autodoc test for python 2.4
2013-03-29 09:20:17 +00:00
William S Fulton
8381cc6b7d
Fix test suite lock initialisation leading to random seg faults in li_boost_shared_ptr
2013-03-29 06:31:26 +00:00
William S Fulton
2e0d1b12dc
Fix delete_if (reject!) for the STL container wrappers.
...
Previously they would sometimes seg fault or not work.
2013-03-29 06:28:15 +00:00
William S Fulton
b504b68a62
Fix erratically failing threads_exception python test
2013-03-26 20:57:41 +00:00
Olly Betts
1e00ce6bf9
Fix comment typo in typemap
2013-03-26 15:07:16 +13:00
William S Fulton
3abe3517f8
Don't test shared_ptr for languages that don't have support for shared_ptr
2013-03-23 18:22:20 +00:00
William S Fulton
6fecb05379
Fix director_nspace_director_name_collision test for languages that don't support %nspace
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
02d0acfbb3
doxygen translation tests updated for tags 'anchor' and 'ref'
2013-03-17 21:42:22 +01: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
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
de136ad6cf
Uncomment testing of overloading of const char arrays which was fixed in svn r12541 for swig-2.0.3.
2013-02-21 07:09:27 +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
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
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
fa8fc4baf3
all doxygen tests pass
2013-02-15 23:05:14 +01:00
Marko Klopcic
9b52972c24
HTML tags and entities tests pass for Python
2013-02-14 21:53:09 +01: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
f17700aa1d
Suppress leaking memory warnings in rvalue reference tests
2013-02-08 21:53:11 +00: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
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
c1b99d4279
User defined literals: fix for %rename and update docs
2013-02-08 06:36:31 +00:00
Marko Klopcic
77b6099c05
updated two additional python doxygen tests
2013-02-07 08:46:38 +01:00
Marko Klopcic
08093ec17e
updated two additonal tests for python doxygen code comments
2013-02-06 22:59:30 +01:00
Marko Klopcic
ee3e4024a6
updated test doxygen_misc_constructs for Python
2013-02-05 07:57:49 +01: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
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
a043b55b69
Better clarification about polymorphic wrappers for function objects - std::function
2013-02-01 19:17:21 +00:00
Marko Klopcic
0d66568ba3
minor refactoring of CommentParser.java
2013-01-29 08:39:35 +01: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
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
William S Fulton
2a90cc6a98
Remove generated output that should not be checked in2
2013-01-28 07:11:08 +00:00
William S Fulton
e805d5f925
Merge branch 'master' into gsoc2009-matevz
...
parser.y still to be fixed up
Conflicts:
Doc/Devel/engineering.html
Examples/Makefile.in
Lib/allegrocl/allegrocl.swg
Lib/csharp/csharp.swg
Lib/csharp/enums.swg
Lib/csharp/enumsimple.swg
Lib/csharp/enumtypesafe.swg
Lib/java/java.swg
Lib/python/pydocs.swg
Lib/r/rtype.swg
Source/Include/swigwarn.h
Source/Modules/octave.cxx
Source/Modules/python.cxx
Source/Modules/ruby.cxx
Source/Swig/scanner.c
Source/Swig/stype.c
Source/Swig/swig.h
configure.ac
2013-01-28 07:01:37 +00:00
Marko Klopcic
9a1bb671c1
fixed bug with caption in command 'image'
2013-01-27 22:18:06 +01:00
William S Fulton
556e646972
Add missing static member to testcase
2013-01-24 20:27:27 +00:00