From 567355372fb3f862bfb019e8544717845faa41a3 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 3 Jun 2004 22:57:54 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5976 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/CHANGES.current | 64 ++++++++++++++- SWIG/Doc/Manual/Contents.html | 145 +++++++++++++++++++--------------- 2 files changed, 143 insertions(+), 66 deletions(-) diff --git a/SWIG/CHANGES.current b/SWIG/CHANGES.current index 01ae25162..33cb49b3e 100644 --- a/SWIG/CHANGES.current +++ b/SWIG/CHANGES.current @@ -1,8 +1,70 @@ Version 1.3.22 (in progress) ================================== +06/03/2004: wsfulton + Patch to fix wrapping of templated methods. ISO compliant compilers, like + Comeau and GCC-3.4.0, don't like the template specifier that SWIG was generating + when calling the method. This fix may break some non standard compliant compilers, + for example, Sun workshop compilers prior to version 6.2.p2. Patch submitted + by Bill Clarke. + +06/03/2004: wsfulton + [Java, C#] Undocumented special variable $imclassname removed. + New special variable $module is replaced by the module name, as specified + by %module or -module commandline option. $imclassname can be created from $module. + +06/03/2004: wsfulton + [C#] Same as for Java below. The new typemaps are named differently, namely, + csbody and csbody_derived. The deprecated typemaps are csgetcptr and + csptrconstructormodifiers. + + *** POTENTIAL INCOMPATIBILITY FOR C# MODULE *** + +06/03/2004: wsfulton + [Java] Typemap changes for the Java proxy / typewrapper and enum classes. A new + typemap called javabody contains the essential support code for generation into the body + of these classes. There is also a new javabody_derived typemap which is used instead for + wrapped classes that have a wrapped base class. The code is basically, the getCPtr() + method and swigCPtr and swigCMemOwn member variables. These used to be hard coded + with no way to modify the code. The introduction of this typemap makes it possible for + the user to tailor nearly every aspect of the code generation. + The exception now is the code for director classes. + + The javagetcptr and javaptrconstructormodifiers typemaps are deprecated and are + no longer used as the code that these generated can be put in the more flexible + javabody and javabody_derived typemaps. + + *** POTENTIAL INCOMPATIBILITY FOR JAVA MODULE *** + +06/03/2004: wsfulton + [Java, C#] The contents of the class modifier typemaps and pragmas have changed. + They must now include the class type. Previously 'class' was hard coded. + This change enables flexibility into what type of class is generated, + for example the proxy class could be an interface instead of a class. + + For Java this affects the javaclassmodifiers typemap and the jniclassclassmodifiers + and moduleclassmodifiers pragmas. + + For C# this affects the csclassmodifiers typemap and the imclassclassmodifiers + and moduleclassmodifiers pragmas. + + Unless you have overridden the default versions of these typemaps or pragmas, you + shouldn't be affected. However, if you have, upgrading is easy, for example + + class Foo {}; + %typemap(javaclassmodifiers) Foo "public final" + + must now be: + + class Foo {}; + %typemap(javaclassmodifiers) Foo "public final class" + + + *** POTENTIAL INCOMPATIBILITY FOR C# MODULE *** + *** POTENTIAL INCOMPATIBILITY FOR JAVA MODULE *** + 05/31/2004: wsfulton - Fix for exception specifications that are references. Problem reported by + Fix for C++ exception specifications that are references. Problem reported by Oren Miller. Also improves the generated exception declarations in the catch handler for pointers - a pointer is used instead of a reference to a pointer. Added default throws typemaps for SWIGTYPE &, SWIGTYPE * and diff --git a/SWIG/Doc/Manual/Contents.html b/SWIG/Doc/Manual/Contents.html index 02807adbe..022fb1251 100644 --- a/SWIG/Doc/Manual/Contents.html +++ b/SWIG/Doc/Manual/Contents.html @@ -521,87 +521,101 @@
  • Global variables
  • Constants
  • Enumerations -
  • Pointers -
  • Structures -
  • C++ classes -
  • C++ inheritance -
  • Pointers, references, arrays and pass by value -
  • C++ overloaded functions -
  • C++ namespaces -
  • C++ templates -
  • C++ Smart Pointers - -
  • Further details on the generated Java classes +
  • Pointers +
  • Structures +
  • C++ classes +
  • C++ inheritance +
  • Pointers, references, arrays and pass by value +
  • C++ overloaded functions +
  • C++ namespaces +
  • C++ templates +
  • C++ Smart Pointers + +
  • Further details on the generated Java classes -
  • The Java module class +
  • The intermediary JNI class -
  • Java proxy classes +
  • The Java module class -
  • Type wrapper classes - -
  • Cross language polymorphism using directors (experimental) +
  • Java proxy classes -
  • Common customization features +
  • Type wrapper classes +
  • Enum classes -
  • Tips and techniques + +
  • Cross language polymorphism using directors (experimental) -
  • Java typemaps +
  • Common customization features -
  • Typemap Examples +
  • Tips and techniques -
  • Living with Java Directors -
  • Odds and ends +
  • Java typemaps -
  • Examples +
  • Typemap Examples + +
  • Living with Java Directors +
  • Odds and ends + +
  • Examples @@ -1011,11 +1025,12 @@
  • Compilation
  • Linkage -
  • Typemaps -
  • Pointers -
  • Unsupported features +
  • Typemaps +
  • Pointers +
  • Unsupported features