William S Fulton
e127683d49
Java wstring directorin typemap resource leak fix change note
2016-10-30 13:58:26 +00:00
William S Fulton
e9e6a99f0f
Add missing VOID_INT_PTR director typemaps
2016-10-23 16:18:05 +01:00
William S Fulton
d3ac729f78
Add compound expression fix to changes file
2016-10-23 10:42:24 +01:00
William S Fulton
1331234cf9
Changes note update
...
[skip ci]
2016-10-14 07:40:19 +01:00
William S Fulton
a05918361f
Add pickling change note
2016-10-14 07:30:44 +01:00
William S Fulton
08688d7d9d
Add support for "ret" typemap where missing and improve documentation on it.
2016-09-29 08:07:26 +01:00
Olly Betts
209074dfff
Add entry for PR #777
...
Give up waiting for the submitter to.
2016-09-27 15:17:51 +13:00
Olly Betts
bbebd1a012
Add entry for #795 fix
2016-09-27 15:13:10 +13:00
Simon Marchetto
0c09b00d6e
scilab: mlists that map pointers can be given a custom type name
2016-09-26 11:54:17 +02:00
William S Fulton
d3f7fd965c
Add bad_cast enhancement to changes file
2016-09-25 14:21:29 +01:00
William S Fulton
848628ae91
More flexible python builtin slots
...
The closure names used for builtin slots are mangled with their functype so
that overloaded C++ method names can be used for multiple slots.
For example:
%feature("python:slot", "mp_subscript", functype="binaryfunc") SimpleArray::__getitem__;
%feature("python:slot", "sq_item", functype="ssizeargfunc") SimpleArray::__getitem__(Py_ssize_t n);
will generate closures:
SWIGPY_SSIZEARGFUNC_CLOSURE(_wrap_SimpleArray___getitem__) /* defines _wrap_SimpleArray___getitem___ssizeargfunc_closure */
SWIGPY_BINARYFUNC_CLOSURE(_wrap_SimpleArray___getitem__) /* defines _wrap_SimpleArray___getitem___binaryfunc_closure */
2016-09-25 14:15:38 +01:00
Olly Betts
1adfe2f537
[PHP] Fix code generated for feature("director:except")
...
Previously the return value of call_user_function() was ignored and we
checked an uninitialised value instead. Fixes #627 . Based on patch
from Sergey Seroshtan.
2016-09-25 14:42:04 +13:00
William S Fulton
0769e9b727
Fix iterators for containers of NULL pointers (or Python None) when using -builtin.
...
Previously iteration would stop at the first element that had a NULL pointer value.
2016-09-17 17:53:48 +01:00
Olly Betts
b138f054e5
[Javascript] Fix SWIG_exception() macro ( #792 )
...
Fix SWIG_exception() macro to return from the current function.
Fixes #789 , reported by Julien Dutriaux.
2016-09-17 17:29:42 +12:00
Olly Betts
26bbc96d58
Arrange to return after calling zend_throw_exception()
...
Fixes github issue#240.
2016-09-16 17:54:02 +12:00
William S Fulton
87f14a96b5
Add changes entry for C# symbol renaming
...
Closes #532
2016-09-12 08:18:51 +01:00
Olly Betts
849f157efa
[Python] Fix import in frozen app for Python 2.6 ( #784 )
...
Fix import handling for Python 2.6 to work in a frozen application.
Fixes #145 , reported by Thomas Kluyver.
2016-09-12 08:11:47 +12:00
Simon Marchetto
c252d5cb40
scilab: pointer is mapped to mlist instead of tlist (for scilab overloading)
2016-09-02 11:36:02 +02:00
Olly Betts
c51ce4995c
[PHP] Fix "in" typemap for char INPUT[ANY]
2016-09-02 16:38:58 +12:00
William S Fulton
50acc519f6
Update changes file
2016-09-01 23:54:24 +01:00
Olly Betts
a4015acaca
[PHP] Fix out typemap for member function pointers
...
The existing typemap was just broken - it correctly created the resource
and then did nothing with it, and instead tried to register the member
pointer as a normal pointer, which is never going to work as it's larger
than a normal pointer.
Add cpp_basic_runme.php as a regression test for this.
2016-09-02 09:51:18 +12:00
William S Fulton
17d68afedd
changes file updates
2016-08-22 19:52:41 +01:00
Olly Betts
a950d1309b
[xml] Fix how the output filename is built
...
Avoid problems when it contains the embedded strings ".c", ".cpp" or ".cxx".
Fixes #540 reported by djack42.
2016-08-05 11:52:35 +12:00
William S Fulton
2740812970
changes entry for vector<T *> fix
2016-08-01 07:03:42 +01:00
William S Fulton
36bbeb478d
changes file entry for ignoring nested classes
2016-06-26 00:42:12 +01:00
William S Fulton
875aca5976
Add changes entry for -castmode and integer conversion fix
...
Closes #711
2016-06-25 21:43:55 +01:00
William S Fulton
23caea3b68
Add changes entry for %implicitconv fix with -castmode or -fastdispatch
2016-06-25 21:06:17 +01:00
William S Fulton
9f37796e80
Add new C++11 type aliasing support to changes file
2016-06-25 16:08:44 +01:00
William S Fulton
84b06fa21b
Bump version to 3.0.11
2016-06-12 10:14:11 +01:00
William S Fulton
d9875c6579
swig-3.0.10 release
2016-06-12 00:23:15 +01:00
William S Fulton
9c9a503a50
Add more about Python module loading changes from Mike Romberg
2016-06-12 00:20:51 +01:00
William S Fulton
af60ef9dc9
Add changes entry for python 2.7 -relativeimport
2016-06-06 22:27:07 +01:00
William S Fulton
f3cff47845
Add changes entry for python import fixes
2016-06-05 21:23:18 +01:00
William S Fulton
b9ca9f5efc
Smart pointer to %ignored class doesn't expose inherited methods fix.
...
Regression introduced in swig-3.0.9 by 3efdbc8
Closes #690
2016-05-31 22:10:37 +01:00
William S Fulton
8aea57c704
Bump version to 3.0.10
2016-05-29 15:46:46 +01:00
William S Fulton
bab5139805
swig-3.0.9 release update
2016-05-29 13:35:37 +01:00
William S Fulton
2a98821c79
Changes file entry minor edit
...
[skip ci]
2016-05-24 23:08:45 +01:00
William S Fulton
b711675b62
Changes file entry for Python implicit namespace packages
2016-05-24 23:06:40 +01:00
William S Fulton
763827c2e1
Ruby opaque pointer handling regression fix
...
This bug was introduced in swig-3.0.8 in #146252 adding shared_ptr
support. An ObjectPreviouslyDeleted error was incorrectly thrown
when the pointer was used as a parameter after being set to zero
via a call to 'DATA_PTR(self) = 0'.
It isn't clear to me which approach is better in this corner case,
so I've gone for backwards compatibility and restored the old behaviour.
Closes #602
2016-05-24 19:09:17 +01:00
William S Fulton
09549d735d
Changes entry for improved Ruby error message
...
[skip ci]
2016-05-17 20:08:56 +01:00
William S Fulton
18000dbc7b
Add changes entry for Ruby %module docstring
...
Closes #582
2016-05-17 19:09:40 +01:00
William S Fulton
98a31ff633
Fix directorin SWIGTYPE typemaps to make a copy as these are used for pass by value.
...
Closes #434
2016-05-14 21:32:24 +01:00
William S Fulton
15ebf3df03
Fix assertion handling defaultargs
...
Occurs when using %extend for a template class and the extended methods
contain default arguments.
Closes #611
2016-05-07 12:33:29 +01:00
William S Fulton
c4b7605638
Add changes entry for Python operator/ fixes
2016-05-05 23:06:35 +01:00
William S Fulton
3efdbc8f2e
Don't issue unnecessary base class ignored message
...
Don't warn about base class being ignored when the derived class is
itself ignored.
Closes #669
2016-05-02 22:50:09 +01:00
Ian Lance Taylor
0f54384ee3
[Go] Fix use of goout typemap when calling base method by
...
forcing the "type" attribute to the value we need.
2016-04-18 15:30:06 -07:00
Ian Lance Taylor
223c2a4835
[Go] Fixes for Go 1.6: avoid returning Go pointers from
...
directors that return string values; add a trailing 0 byte
when treating Go string as C char*.
2016-04-17 17:52:09 -07:00
Simon Marchetto
988717c140
scilab: fix space
2016-04-06 15:06:46 +02:00
Simon Marchetto
db29b6a005
scilab: update CHANGES with pointer type tracking
2016-04-06 15:03:53 +02:00
Olly Betts
4890a70c37
CHANGES.current: Note fix isn't python-specific
...
Fixes https://github.com/swig/swig/issues/615
2016-04-05 18:42:46 +12:00