Thomas Maslach
de6b433cb1
Fix Python crash when using -threads iterating containers
...
Also fixes li_std_vector_enum testcase when run with -threads.
Patch supplied on swig-devel mailing list on 12 Sep with details...
==============================================
I just wanted to mention that I found a crash issue in bug..
I am using SWIG 2.0.11 with python and have –threads enabled. I have a C++ std::vector that I instantiate in SWIG with %template. I also have a method in a class that returns this vector. I also include std_vector.i, btw..
When I iterate like so:
children = Action.getActionList()
for child in children:
pass
Everything is fine..
When I iterate like this:
for child in Action.getActionList()
pass
Product crashes.
The problem is the following. This code gets called first:
SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject * obj0 = 0 ;
if(!PyArg_UnpackTuple(args,(char *)"delete_SwigPyIterator",1,1,&obj0)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SwigPyIterator" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
}
arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
{
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
delete arg1;
SWIG_PYTHON_THREAD_END_ALLOW;
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
Note the SWIG_PYTHON_THREAD_BEGIN_ALLOW/END_ALLOW. In between those two statements, we delete arg1. That in turn will eventually end up in this code:
namespace swig {
class SwigPtr_PyObject {
protected:
PyObject *_obj;
public:
… snip! …
~SwigPtr_PyObject()
{
Py_XDECREF(_obj);
}
Uh-oh! We call Py_XDECREF when we aren’t supposed to because we are in a SWIG_PYTHON_THREAD_BEGIN_ALLOW/END_ALLOW section!
This takes care of the issue:
namespace swig {
class SwigPtr_PyObject {
protected:
PyObject *_obj;
public:
… snip! …
~SwigPtr_PyObject()
{
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
Py_XDECREF(_obj);
SWIG_PYTHON_THREAD_END_BLOCK;
}
There are several other methods in this class that use the Python API, but don’t have the BEGIN/END block defined. I’m not sure if they are required for all of them, but I believe they are..
I have attached a modified pyclasses.swg with what I believe are the correct changes. This code is from 2.0.11, but as far as I can tell, it’s the same as what is in 3.0.2…
Apologies for not doing more here (making/running tests, getting it in the code repository, etc..), but I’m under some pressure to get some unrelated things done…
2014-09-23 22:33:25 +01:00
..
allegrocl
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
cffi
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
chicken
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
clisp
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
csharp
More diagnostics for csharp_exceptions testcase for diagnosing erratic failures
2014-05-25 12:00:42 +01:00
d
Update all languages to use SCRIPTDIR
2014-05-15 23:11:07 +01:00
errors
Update expected output for pp_constant error test
2014-09-04 09:29:20 -03:00
go
[Go] Add goargout typemap.
2014-09-09 11:28:04 -07:00
guile
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
java
Add support for java.nio.Buffer
2014-07-18 15:45:16 +03:00
javascript
Fix infinity testcase on windows
2014-05-29 07:50:21 +01:00
lua
Merge pull request #176 from v-for-vandal/lua_eq
2014-06-02 19:52:07 +01:00
mzscheme
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
ocaml
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
octave
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
perl5
apply SF Patch #350 and add testcase
2014-08-15 21:47:10 -07:00
php
[PHP] Add support for specifying any PHP interfaces a wrapped class
2014-09-12 12:48:37 -03:00
pike
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
python
Fix Python crash when using -threads iterating containers
2014-09-23 22:33:25 +01:00
r
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
ruby
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
schemerunme
Guile: illustrate bug in non-ascii string handling
2014-02-05 12:17:05 +01:00
tcl
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
testdir
Minor update to test-suite README help files
2013-01-17 07:48:16 +00:00
uffi
Set SRCDIR when calling test-suite clean targets, in case it's needed
2014-05-29 02:29:27 +02:00
abstract_access.i
abstract_inherit.i
abstract_inherit_ok.i
abstract_signature.i
abstract_typedef.i
abstract_typedef2.i
abstract_virtual.i
access_change.i
add_link.i
aggregate.i
allowexcept.i
allprotected.i
allprotected_not.i
Fix bug 3529601 - seg fault when a protected method has the director
2012-05-29 22:02:43 +00:00
anonymous_bitfield.i
apply_signed_char.i
apply_strings.i
argcargvtest.i
argout.i
array_member.i
array_typedef_memberin.i
arrayref.i
arrays.i
arrays_dimensionless.i
arrays_global.i
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
arrays_global_twodim.i
arrays_scope.i
autodoc.i
Fix %callback which was generating uncompileable code for C# and D
2011-08-26 18:05:50 +00:00
bloody_hell.i
bom_utf8.i
Skip the UTF-8 BOM of including files.
2013-08-29 19:22:50 +01:00
bools.i
c_delete.i
Suppress keyword warning in test-suite
2014-04-21 08:08:22 +01:00
c_delete_function.i
Suppress keyword warning in test-suite
2014-04-21 08:08:22 +01:00
callback.i
cast_operator.i
casts.i
catches.i
char_binary.i
char_constant.i
char_strings.i
chicken_ext_test.i
class_forward.i
Fix forward class declaration in a class when used as a base
2012-01-17 07:06:22 +00:00
class_ignore.i
class_scope_weird.i
clientdata_prop.list
clientdata_prop_a.h
clientdata_prop_a.i
clientdata_prop_b.h
clientdata_prop_b.i
common.mk
More tests for equality operator overloading
2014-05-28 22:02:47 +04:00
compactdefaultargs.i
complextest.i
const_const.i
const_const_2.i
constant_expr.i
constant_pointers.i
constants.i
constover.i
constructor_copy.i
Merge branch 'master' into tmp
2014-03-05 01:09:26 +01:00
constructor_exception.i
constructor_explicit.i
constructor_ignore.i
constructor_rename.i
constructor_value.i
contract.i
conversion.i
conversion_namespace.i
conversion_ns_template.i
cplusplus_throw.i
cpp11_alignment.i
C++11 alignof alignas testcase and further C++11 doc updates
2014-03-14 01:57:16 +00:00
cpp11_alternate_function_syntax.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_constexpr.i
C++11 constexpr variables support added
2014-03-14 01:57:14 +00:00
cpp11_decltype.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_default_delete.i
Fix some cases of C++11 exception specifications on constructors with =default or =delete
2013-11-22 00:13:48 +00:00
cpp11_delegating_constructors.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_explicit_conversion_operators.i
C++11 conversion operator example and docs added
2014-03-14 01:57:15 +00:00
cpp11_final_override.i
Add C++11 virtual specifier sequences (final and/or override on methods)
2014-01-03 20:17:48 +00:00
cpp11_function_objects.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_hash_tables.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_inheriting_constructors.i
More C++11 doc and test improvements
2014-03-14 01:57:15 +00:00
cpp11_initializer_list.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_initializer_list_extend.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_lambda_functions.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_noexcept.i
Fix some cases of C++11 exception specifications on constructors with =default or =delete
2013-11-22 00:13:48 +00:00
cpp11_null_pointer_constant.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_raw_string_literals.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_reference_wrapper.i
C++11 std::reference_wrapper example - no support
2014-03-14 01:57:16 +00:00
cpp11_result_of.i
C++11 result_of testcase
2014-03-14 01:57:16 +00:00
cpp11_rvalue_reference.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_rvalue_reference2.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_rvalue_reference3.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_sizeof_object.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_static_assert.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_strongly_typed_enumerations.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_template_double_brackets.i
Further shift operator regression fixes
2014-04-08 19:19:44 +01:00
cpp11_template_explicit.i
Fix C++11 extern template test
2014-03-21 18:36:21 +00:00
cpp11_template_typedefs.i
C++11 alias templates seg fault fix
2013-12-03 23:38:54 +00:00
cpp11_thread_local.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_type_traits.i
Add metaprogramming type_traits example in C++11 documentation
2014-03-14 01:57:16 +00:00
cpp11_uniform_initialization.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_unrestricted_unions.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_userdefined_literals.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp11_variadic_templates.i
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
cpp_basic.i
Finish implementation with proxy functions
2014-04-15 03:38:45 +04:00
cpp_broken.i
cpp_enum.i
cpp_namespace.i
cpp_nodefault.i
cpp_static.i
cpp_typedef.i
Fix constructors in named typedef class declarations
2011-08-25 19:27:38 +00:00
csharp_attributes.i
csharp_exceptions.i
csharp_features.i
Unicode literals
2013-01-21 19:09:56 +00:00
csharp_lib_arrays.i
csharp_namespace_system_collision.i
Remove nspace feature not yet supported warning
2014-02-15 18:54:28 +00:00
csharp_prepost.i
Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members.
2013-10-17 15:44:24 -05:00
csharp_swig2_compatibility.i
Correct spelling of compatibility.
2013-10-22 14:08:47 -05:00
csharp_typemaps.i
Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members.
2013-10-17 15:44:24 -05:00
curiously_recurring_template_pattern.i
Add a testcase for the Curiously Recurring Template Pattern - CRTP
2012-09-13 20:15:03 +00:00
d_nativepointers.i
default_arg_values.i
default_args.i
default_constructor.i
defvalue_constructor.i
derived_byvalue.i
derived_nested.i
filtered warnings, turned on "flatnested" for nested template test
2014-02-02 23:38:23 +04:00
destructor_reprotected.i
director_abstract.i
Fix comment typo
2014-09-11 13:06:17 -03:00
director_alternating.i
director_basic.i
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
director_binary_string.i
Fix (char *STRING, size_t LENGTH) typemaps to accept NULL string
2012-09-07 06:07:20 +00:00
director_classes.i
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
director_classic.i
director_constructor.i
director_default.i
director_detect.i
director_enum.i
director_exception.i
Testcase warning suppression
2014-09-23 19:54:13 +01:00
director_extend.i
director_finalizer.i
director_frob.i
director_ignore.i
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
director_keywords.i
director_namespace_clash.i
director_nested.i
director_nestedmodule.i
apply SF Patch #350 and add testcase
2014-08-15 21:47:10 -07:00
director_nspace.i
Merge branch 'master' into tmp
2014-03-05 01:09:26 +01:00
director_nspace_director_name_collision.i
Enable Javascript in director_nspace_director_name_collision.i.
2014-04-29 00:37:33 +02:00
director_overload.i
director_overload2.i
New director test highlighting a proble in Go
2012-10-26 19:32:19 +00:00
director_primitives.i
director_profile.i
director_protected.i
director_protected_overloaded.i
director_redefined.i
director_smartptr.i
Don't test shared_ptr for languages that don't have support for shared_ptr
2013-03-23 18:22:20 +00:00
director_stl.i
director_string.i
director_thread.i
director_unroll.i
director_using.i
director_wombat.i
director_wstring.i
disown.i
Apply #3219676 from Shane Liesegang which adds: - support for %factory - a __tostring method - a __disown method
2012-04-13 18:28:37 +00:00
dynamic_cast.i
empty.i
enum_forward.i
Add 'fix' for Javascript/v8 to test 'enum_forward'.
2014-04-23 00:38:01 +02:00
enum_ignore.i
Ignored enum fixes.
2014-04-08 23:25:27 +01:00
enum_macro.i
Fix syntax error when preprocessor macros are defined inside of enum lists
2013-04-18 22:48:42 +01:00
enum_missing.i
Fixes for C enums used in an API and the definition of the enum has not been parsed.
2014-03-28 07:54:03 +00:00
enum_plus.i
enum_rename.i
enum_scope_template.i
enum_template.i
enum_thorough.i
enum_thorough_proper.i
enum_thorough_simple.i
enum_thorough_typesafe.i
enum_thorough_typeunsafe.i
enum_var.i
enums.i
equality.i
Fix equality testcase
2014-06-04 12:21:09 +01:00
evil_diamond.i
evil_diamond_ns.i
evil_diamond_prop.i
exception_order.i
exception_partial_info.i
expressions.i
extend.i
extend_constructor_destructor.i
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
extend_default.i
extend_placement.i
extend_special_variables.i
Fix expansion of the $parentclassname special variable
2014-07-01 20:27:48 +01:00
extend_template.i
extend_template_ns.i
extend_typedef_class.i
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
extend_variable.i
extern_c.i
extern_declaration.i
extern_namespace.i
extern_throws.i
features.i
file_test.i
fragments.i
friends.i
funcptr.i
funcptr_cpp.i
Fix regression introduced in swig-2.0.1 (r12157) leading to uncompilable code when using typedef and function pointers
2011-09-19 20:54:39 +00:00
function_typedef.i
fvirtual.i
global_functions.i
Add testcase and info on python -builtin missing argument count check
2014-03-01 16:44:01 +00:00
global_namespace.i
global_ns_arg.i
global_scope_types.i
global_vars.i
Correct exception thrown attempting to access a non-existent C/C++ global variable on the 'cvar' object.
2014-03-02 01:31:36 +00:00
go_director_inout.i
[Go] Add imtype, goin, goout, godirectorin, and godirectorout
2014-09-05 17:54:19 -07:00
go_inout.i
[Go] Add goargout typemap.
2014-09-09 11:28:04 -07:00
grouping.i
guile_ext_test.i
Make guile test suite default to scm api
2013-04-28 22:06:21 +02:00
iadd.i
ignore_parameter.i
ignore_template_constructor.i
Workaround for clang 3.2 libc++ empty struct bug.
2014-02-04 11:55:36 -05:00
immutable_values.i
implicittest.i
%implicitconv is improved for overloaded functions.
2013-08-28 20:30:46 +01:00
import_nomodule.h
import_nomodule.i
import_stl.list
import_stl_a.i
import_stl_b.i
imports.list
imports_a.h
imports_a.i
imports_b.h
imports_b.i
inctest.h
inctest.i
moved testdir/* to testdir/inctest/* under Examples/test-suite/
2013-01-13 23:14:46 +01:00
infinity.i
Correct infinity testcase
2014-05-29 08:45:56 +01:00
inherit.i
inherit_missing.i
inherit_same_name.i
inherit_target_language.i
inherit_void_arg.i
inline_initializer.i
inout.i
inplaceadd.i
input.i
insert_directive.i
integers.i
guile: fix integer test on 64 bit systems
2013-04-28 22:06:27 +02:00
intermediary_classname.i
java_constants.i
java_director.i
java_director_assumeoverride.i
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
java_director_exception_feature.i
Compiler warning fixes in testcases
2014-03-15 18:24:01 +00:00
java_director_exception_feature_nspace.i
Compiler warning fixes in testcases
2014-03-15 18:24:01 +00:00
java_enums.i
java_jnitypes.i
java_lib_arrays.i
java_lib_arrays_dimensionless.i
java_lib_various.i
Add support for java.nio.Buffer
2014-07-18 15:45:16 +03:00
java_nspacewithoutpackage.i
Suppress warning in testcase
2013-01-19 01:28:55 +00:00
java_pgcpp.i
java_pragmas.i
java_prepost.i
Tweak test so it works if test-suite is run using -copyctor
2012-11-13 22:17:55 +00:00
java_throws.i
java_typemaps_proxy.i
java_typemaps_typewrapper.i
keyword_rename.i
Revert unnecessary changes in keyword_rename test
2014-02-27 20:23:32 +00:00
kind.i
kwargs_feature.i
langobj.i
lextype.i
li_attribute.i
li_attribute_template.i
Add test case for attributes with moderately complex templates
2013-05-25 00:44:36 +01:00
li_boost_intrusive_ptr.i
Fix li_boost_intrusive_ptr for various versions of boost
2014-05-18 23:29:06 +01:00
li_boost_shared_ptr.i
li_boost_shared_ptr_attribute.i
Add testcase for %attributestring on shared_ptr
2014-01-11 19:34:22 +00:00
li_boost_shared_ptr_bits.i
li_boost_shared_ptr_template.i
fix R namespace conflict
2012-03-18 06:22:04 +00:00
li_carrays.i
li_cdata.i
li_cdata_carrays.i
li_cmalloc.i
li_constraints.i
li_cpointer.i
li_cstring.i
li_cwstring.i
li_factory.i
li_implicit.i
li_math.i
li_reference.i
li_std_auto_ptr.i
auto_ptr deprecation warning suppression
2014-01-03 08:27:41 +00:00
li_std_carray.i
li_std_combinations.i
li_std_containers_int.i
Add support for slicing steps to Python STL wrappers (positive step only atm - these work the same as other Python sequences such as list)
2012-01-20 21:14:03 +00:00
li_std_deque.i
li_std_except.i
li_std_except_as_class.i
Some test-suite warning fixes
2013-04-06 16:19:17 -07:00
li_std_functors.i
li_std_list.i
li_std_map.i
li_std_map_member.i
li_std_multimap.i
Fix for missing C++ code in std::multimap wrappers.
2013-08-06 07:02:49 +01:00
li_std_pair.i
li_std_pair_extra.i
li_std_pair_lang_object.i
li_std_pair_using.i
Fix using declarations and templates. %template was putting the
2012-08-04 20:24:22 +00:00
li_std_queue.i
li_std_set.i
li_std_stack.i
li_std_stream.i
li_std_string.i
li_std_string_extra.i
li_std_vector.i
li_std_vector_enum.i
Fix #3475492 - iterating through std::vector wrappers of enumerations.
2012-03-13 07:10:24 +00:00
li_std_vector_extra.i
li_std_vector_member_var.i
Fix SF#3528035, a regression introduced by the fix for SF#3428833.
2012-05-23 02:58:24 +00:00
li_std_vector_ptr.i
li_std_vectora.i
li_std_wstream.i
li_std_wstring.i
SWIG_AsWCharPtrAndSize improper operation if cptr NULL
2013-07-02 18:58:56 +01:00
li_stdint.i
li_swigtype_inout.i
Test case compiler warning fix
2014-03-15 21:00:25 +00:00
li_typemaps.i
li_typemaps_apply.i
li_windows.i
Cygwin test-suite fix for tcl 8.5 on Cygwin
2013-09-14 15:52:42 -07:00
list_vector.i
long_long.i
long_long_apply.i
lua_no_module_global.i
member_funcptr_galore.i
member_pointer.i
member_template.i
memberin1.i
Ruby: Replace all occurences of STR2CSTR macro with calls to StringValuePtr
2012-12-14 15:48:31 +00:00
memberin_extend.i
memberin_extend_c.i
minherit.i
minherit2.i
mixed_types.i
mod.h
mod.list
mod_a.i
mod_b.i
multi_import.h
multi_import.list
multi_import_a.i
multi_import_b.i
multi_import_c.i
multiple_inheritance.i
multivalue.i
name.i
name_cxx.i
name_warnings.i
namespace_class.i
filtered warnings, turned on "flatnested" for nested template test
2014-02-02 23:38:23 +04:00
namespace_enum.i
namespace_extend.i
namespace_forward_declaration.i
Fix using declarations combined with using directives with forward class
2012-08-04 20:23:07 +00:00
namespace_nested.i
namespace_spaces.i
namespace_template.i
namespace_typedef_class.i
namespace_typemap.i
Ruby: Replace all occurences of STR2CSTR macro with calls to StringValuePtr
2012-12-14 15:48:31 +00:00
namespace_union.i
warnfilter fixed
2014-02-03 02:21:44 +04:00
namespace_virtual_method.i
naturalvar.i
naturalvar_more.i
Remove incorrectly and newly introduced assert
2013-10-05 02:16:02 +01:00
naturalvar_onoff.i
%naturalvar feature fixes and documentation
2014-01-11 19:32:43 +00:00
nested.i
nested_class.i
warnings suppressed for deeply nested classes
2014-02-07 07:39:07 +04:00
nested_comment.i
warnfilter fixed
2014-02-03 02:21:44 +04:00
nested_directors.i
Fix warning suppression in testcase
2014-03-14 16:53:09 +00:00
nested_extend_c.i
test fixed
2014-05-31 07:59:39 +04:00
nested_private.i
Testcase of private nested class usage causing segfault
2013-12-02 07:10:44 +00:00
nested_scope.i
Rename "struct Global" to "struct Global_" to avoid PHP keyword
2014-02-19 18:26:07 +13:00
nested_structs.i
Add note about cplusplusout for nested_struct testcase
2014-03-14 01:57:14 +00:00
nested_workaround.i
Nested classes support
2013-11-29 07:02:34 +00:00
newobject1.i
newobject2.i
nspace.i
Merge branch 'master' into devel
2014-03-30 23:07:56 +02:00
nspace_extend.i
Merge branch 'master' into tmp
2014-03-05 01:09:26 +01:00
null_pointer.i
octave_cell_deref.i
octave_dim.i
Make octave_dim tests pass for octave version != 3.2.4
2012-04-15 22:47:38 +00:00
operator_overload.i
Fix comment typos
2014-04-28 13:13:47 +12:00
operator_overload_break.i
operator_pointer_ref.i
Some test-suite fixes for visual studio
2012-04-16 18:45:33 +00:00
operbool.i
ordering.i
overload_bool.i
Change in default behaviour wrapping C++ bool for Python.
2014-03-08 12:04:19 +00:00
overload_complicated.i
overload_copy.i
overload_extend.i
overload_extendc.i
overload_method.i
Rename r_base_test to overload_method as it is a useful test for all languages
2012-04-15 18:10:58 +00:00
overload_numeric.i
Infinity is now by default an acceptable value for type 'float'.
2013-09-12 07:28:12 +01:00
overload_rename.i
overload_return_type.i
overload_simple.i
overload_subtype.i
overload_template.i
overload_template_fast.i
packageoption.h
packageoption.list
packageoption_a.i
packageoption_b.i
packageoption_c.i
php_iterator.i
[PHP] Add support for specifying any PHP interfaces a wrapped class
2014-09-12 12:48:37 -03:00
php_namewarn_rename.i
Add missing return statements in testcase
2014-03-15 00:23:55 +00:00
pointer_in_out.i
pointer_reference.i
Drop guilegh interface
2013-04-28 22:06:24 +02:00
prefix.i
preproc.i
preproc_constants.i
CFFI - Fix some string constants are incorrect
2012-12-14 08:00:22 +00:00
preproc_constants_c.i
preproc_defined.i
preproc_include.i
Fix %include inside %define macros - patch from Karl Wette
2012-03-15 20:32:14 +00:00
preproc_include_a.h
preproc_include_b.h
preproc_include_c.h
preproc_include_d withspace.h
preproc_include_e withspace.h
preproc_include_f withspace.h
preproc_include_g.h
preproc_include_h1.i
Fix %include inside %define macros - patch from Karl Wette
2012-03-15 20:32:14 +00:00
preproc_include_h2.i
Fix %include inside %define macros - patch from Karl Wette
2012-03-15 20:32:14 +00:00
preproc_include_h3.i
Fix %include inside %define macros - patch from Karl Wette
2012-03-15 20:32:14 +00:00
preproc_line_file.i
primitive_ref.i
primitive_types.i
Change the length of strings created from fixed-size buffers.
2013-12-23 21:12:17 +00:00
private_assign.i
profiletest.i
protected_rename.i
pure_virtual.i
python_abstractbase.i
python_append.i
Enable pep8 check
2014-06-07 13:10:27 +02:00
python_director.i
python_nondynamic.i
Fix comment typo
2014-09-02 23:12:35 -03:00
python_overload_simple_cast.i
python_pybuf.i
python_richcompare.i
python_threads.i
Fix Python crash when using -threads iterating containers
2014-09-23 22:33:25 +01:00
python_varargs_typemap.i
Fix vararg documentation for Python 3
2013-05-24 23:02:34 +01:00
r_copy_struct.i
r_double_delete.i
r_legacy.i
r_overload_array.i
check in R-swig changes that implement vector conversions to and
2012-03-29 16:32:51 +00:00
r_sexp.i
add regression tests for SEXP return values
2013-07-14 20:29:37 +08:00
README
Minor update to test-suite README help files
2013-01-17 07:48:16 +00:00
redefined.i
redefined_not.i
Fix test case so it doesn't clash with the real size_t
2011-10-25 06:53:07 +00:00
refcount.h
refcount.i
Some test-suite fixes for visual studio
2012-04-16 18:45:33 +00:00
reference_global_vars.i
register_par.i
rename.h
rename1.i
rename2.i
rename3.i
rename4.i
rename_camel.i
rename_pcre_encoder.i
Add support for case conversion characters in regex substitutions.
2013-10-15 07:17:56 +01:00
rename_pcre_enum.i
rename_predicates.i
Add %$isextendmember for %rename of members added via %extend
2014-02-18 23:21:46 +00:00
rename_scope.i
rename_simple.i
Add runfile to check for correct compatibility name generation
2013-11-09 14:54:36 +00:00
rename_strip_encoder.i
restrict_cplusplus.i
ret_by_value.i
return_const_value.i
return_value_scope.i
rname.i
ruby_keywords.i
ruby_li_std_speed.i
ruby_naming.i
ruby_track_objects.i
ruby_track_objects_directors.i
samename.i
shared_ptr_wrapper.h
simple_array.i
simutry.i
sizeof_pointer.i
sizet.i
smart_pointer_const.i
smart_pointer_const2.i
smart_pointer_const_overload.i
smart_pointer_extend.i
smart_pointer_inherit.i
Workaround for clang 3.2 libc++ empty struct bug.
2014-02-04 11:55:36 -05:00
smart_pointer_member.i
smart_pointer_multi.i
smart_pointer_multi_typedef.i
smart_pointer_namespace.i
smart_pointer_namespace2.i
smart_pointer_not.i
smart_pointer_overload.i
smart_pointer_protected.i
smart_pointer_rename.i
smart_pointer_simple.i
smart_pointer_static.i
smart_pointer_template_const_overload.i
smart_pointer_template_defaults_overload.i
Fix std::map and smart pointers.
2014-03-06 19:52:03 +00:00
smart_pointer_templatemethods.i
Warning fixes in test-suite
2014-05-24 14:13:24 +01:00
smart_pointer_templatevariables.i
smart_pointer_typedef.i
sneaky1.i
special_variable_macros.i
Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members.
2013-10-17 15:44:24 -05:00
special_variables.i
Two additional special variable are expanded in %exception - $parentname
2012-10-11 19:24:24 +00:00
static_array_member.i
static_const_member.i
static_const_member_2.i
std_containers.i
Workaround for clang 3.2 libc++ empty struct bug.
2014-02-04 11:55:36 -05:00
stl_new.i
string_simple.i
Add cast to test 'string_simple' to avoid C++ compiler error.
2014-04-23 00:38:45 +02:00
struct_initialization.i
Warning fixes in test-suite
2014-05-24 14:13:24 +01:00
struct_initialization_cpp.i
struct_rename.i
struct_value.i
swig_examples_lock.h
Fix test suite lock initialisation leading to random seg faults in li_boost_shared_ptr
2013-03-29 06:31:26 +00:00
swigobject.i
sym.i
symbol_clash.i
tag_no_clash_with_variable.i
template_arg_replace.i
template_arg_scope.i
template_arg_typename.i
template_array_numeric.i
template_base_template.i
template_basic.i
template_classes.i
template_const_ref.i
template_construct.i
template_default.i
template_default2.i
template_default_arg.i
template_default_arg_virtual_destructor.i
Add CHANGES note for virtual destructor in templates bug in prev commit
2013-01-06 01:49:25 +00:00
template_default_class_parms.i
template_default_class_parms_typedef.i
testcase fix for vc++
2012-04-17 05:52:25 +00:00
template_default_inherit.i
template_default_pointer.i
template_default_qualify.i
template_default_vw.i
template_enum.i
template_enum_ns_inherit.i
template_enum_typedef.i
template_explicit.i
template_expr.i
template_extend1.i
template_extend2.i
template_extend_overload.i
template_extend_overload_2.i
template_forward.i
template_inherit.i
template_inherit_abstract.i
template_int_const.i
template_matrix.i
Workaround for clang 3.2 libc++ empty struct bug.
2014-02-04 11:55:36 -05:00
template_methods.i
template_namespace_forward_declaration.i
Fix using declarations and templates. %template was putting the
2012-08-04 20:24:22 +00:00
template_nested.i
%feature ("flatnested") is set for nested scope test
2014-02-03 01:15:05 +04:00
template_nested_typemaps.i
Revert template_nested_typemaps to what it was before nested merge
2013-12-16 19:28:11 +00:00
template_ns.i
template_ns2.i
template_ns3.i
template_ns4.i
template_ns_enum.i
template_ns_enum2.i
template_ns_inherit.i
template_ns_scope.i
template_opaque.i
Workaround for clang 3.2 libc++ empty struct bug.
2014-02-04 11:55:36 -05:00
template_partial_arg.i
template_partial_specialization.i
template_partial_specialization_typedef.i
template_private_assignment.i
Template private assignment testcase
2014-01-11 17:39:47 +00:00
template_qualifier.i
template_ref_type.i
template_rename.i
template_retvalue.i
template_specialization.i
template_specialization_defarg.i
template_specialization_enum.i
template_static.i
template_tbase_template.i
template_template_parameters.i
template_type_namespace.i
template_typedef.i
template_typedef_class_template.i
Fix a few warnings/errors in the test-suite using Solaris compiler
2012-04-15 21:56:38 +00:00
template_typedef_cplx.i
template_typedef_cplx2.h
template_typedef_cplx2.i
template_typedef_cplx3.i
template_typedef_cplx4.i
template_typedef_cplx5.i
template_typedef_fnc.i
template_typedef_funcptr.i
template_typedef_import.i
template_typedef_import.list
template_typedef_inherit.i
Fix %module declaration.
2012-03-14 19:23:18 +00:00
template_typedef_ns.i
template_typedef_ptr.i
template_typedef_rec.i
template_typedef_typedef.i
Typedef typedef prefix test for templates
2014-01-14 07:20:06 +00:00
template_typemaps.i
Compiler warning fixes in testcases
2014-03-15 18:24:01 +00:00
template_typemaps_typedef.i
Correct test cases to be valid C++ by doing a typedef to the
2012-03-14 19:25:14 +00:00
template_typemaps_typedef2.i
Correct test cases to be valid C++ by doing a typedef to the
2012-03-14 19:25:14 +00:00
template_using.i
template_using_directive_and_declaration_forward.i
Work around clang bugs with symbol resolution
2014-01-30 16:18:21 -05:00
template_virtual.i
template_whitespace.i
threads.i
threads_exception.i
Fix erratically failing threads_exception python test
2013-03-26 20:57:41 +00:00
throw_exception.i
traits.i
typedef_array_member.i
typedef_class.i
Fix constructors in named typedef class declarations
2011-08-25 19:27:38 +00:00
typedef_funcptr.i
typedef_inherit.i
typedef_mptr.i
typedef_reference.i
typedef_scope.i
typedef_sizet.i
typedef_struct.i
Fix a few warnings/errors in the test-suite using Solaris compiler
2012-04-15 21:56:38 +00:00
typedef_typedef.i
Modify typedef_typedef testcase to work for all languages
2014-01-14 07:21:40 +00:00
typemap_array_qualifiers.i
Warning fixes in test-suite
2014-05-24 14:13:24 +01:00
typemap_arrays.i
typemap_delete.i
typemap_directorout.i
[PHP] The usage of $input in PHP directorout typemaps has been
2013-12-12 15:40:15 +13:00
typemap_global_scope.i
typemap_manyargs.i
Fix comment typo in William's recent change
2011-11-29 05:20:45 +00:00
typemap_namespace.i
typemap_ns_using.i
typemap_numinputs.i
typemap_out_optimal.i
typemap_qualifier_strip.i
Guile OUTPUT typemap fix
2013-09-15 10:43:49 +01:00
typemap_self.i
typemap_subst.i
typemap_template.i
typemap_template_parm_typedef.i
attempt to fix test again
2012-05-24 23:01:28 +00:00
typemap_variables.i
Javascript: generalise test-case 'typemap_variables' so that it can be used for Javascript V8.
2014-05-19 00:58:32 +02:00
typemap_various.i
Compiler warning fixes in testcases
2014-03-15 18:24:01 +00:00
typename.i
types_directive.i
unicode_strings.i
Python unicode_strings test case: restrict to Python > 3.0
2014-05-24 15:39:53 -04:00
union_parameter.i
union_scope.i
Restore warning suppression in testcase
2014-02-08 09:45:20 +00:00
unions.i
using1.i
using2.i
using_composition.i
using_directive_and_declaration.i
Fix using declarations combined with using directives with forward class
2012-08-04 20:23:07 +00:00
using_directive_and_declaration_forward.i
Work around clang bugs with symbol resolution
2014-01-30 16:18:21 -05:00
using_extend.i
using_inherit.i
using_namespace.i
using_namespace_loop.i
using_pointers.i
using_private.i
using_protected.i
valuewrapper.i
valuewrapper_base.i
valuewrapper_const.i
valuewrapper_opaque.i
varargs.i
varargs_overload.i
virtual_derivation.i
virtual_destructor.i
virtual_poly.i
virtual_vs_nonvirtual_base.i
Testcase correction for missing virtual destructor
2012-12-16 08:38:22 +00:00
voidtest.i
wallkw.i
Make PHP %keywordwarn message wording consistent with other languages
2014-02-19 16:51:31 +13:00
wrapmacro.i