diff --git a/CHANGES.current b/CHANGES.current index fb49b7b23..28df1719c 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,76 @@ Version 1.3.23 (working version) ================================= +12/01/2004: mmatus + - Fix typemaps to work with templates and default template + args, ie + + template + struct Foo { + }; + + %typemap(in) Foo *{...} + %typemap(out) Foo *{...} + + Foo * foo( Foo *f1, Foo *f2); + + now 'f1', 'f2' and the return value resolve the provided + typemaps properly. + + This is highly needed for proper STL support, see new + std_basic_string.i, std_sstream.i, etc. + + - Added std_sstream.i, and fix std_basic_string.i to use + the new typemaps + template def. arg mechanism. Also, + added the needed std_alloc.i. Now, all the containers + can be modified to support std::allocator, like in: + + template > + class vector { + public: + .... + }; + + This change is only completed by now for basic_string. + + - Fix for smart pointers + members + extensions: + + %extend Foo { + int extension(int i, int j) { return i; } + int extension() { return 1; } + } + + %inline %{ + + class Foo { + public: + int y; + static const int z; + }; + + class Bar { + Foo *f; + public: + Bar(Foo *f) : f(f) { } + Foo *operator->() { + return f; + } + }; + + now you can + + f = Foo() + f.y = 3 + a = f.z + f->extension() + + b = Bar(f) + b.y = 3 + a = b.z + b->extension() + + - Other small errors fixes, mostly python. + 11/25/2004: wsfulton [Java] Numerous director bug fixes so that the correct java types and canonicalized types in the JNI code are emitted. Use of the diff --git a/Examples/python/class/Makefile b/Examples/python/class/Makefile index 19580883e..f331b8203 100644 --- a/Examples/python/class/Makefile +++ b/Examples/python/class/Makefile @@ -1,5 +1,5 @@ TOP = ../.. -SWIG = $(TOP)/../swig +SWIG = $(TOP)/../preinst-swig CXXSRCS = example.cxx TARGET = example INTERFACE = example.i diff --git a/Examples/test-suite/python/.cvsignore b/Examples/test-suite/python/.cvsignore index da56b23ca..6ddd20ec0 100644 --- a/Examples/test-suite/python/.cvsignore +++ b/Examples/test-suite/python/.cvsignore @@ -408,3 +408,4 @@ wrapmacro_runme.py li_std_stream.py swigobject.py smart_pointer_member.py +cpp_broken.py namespace_union.py overload_complicated.py