From 8787422b1af56b0ea249cf6c20b2e086b71a34b9 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 10 Dec 2004 22:07:37 +0000 Subject: [PATCH] Update for 1.3.24 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6852 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- ANNOUNCE | 12 ++++++------ CHANGES.current | 4 ++-- Doc/Manual/Sections.html | 2 +- README | 8 +++++++- TODO | 36 ++++++------------------------------ 5 files changed, 22 insertions(+), 40 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 310e48d42..9643af8b2 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,11 +1,11 @@ -*** ANNOUNCE: SWIG 1.3.23 *** +*** ANNOUNCE: SWIG 1.3.24 *** http://www.swig.org -November 11, 2004 +December 14, 2004 -We're pleased to announce SWIG-1.3.23, the latest installment in the -SWIG development effort. SWIG-1.3.23 includes a number of bug fixes +We're pleased to announce SWIG-1.3.24, the latest installment in the +SWIG development effort. SWIG-1.3.24 includes a number of bug fixes and large number of enhancements throughout. What is SWIG? @@ -22,11 +22,11 @@ Availability: ------------- The release is available for download on Sourceforge at - http://prdownloads.sourceforge.net/swig/swig-1.3.23.tar.gz + http://prdownloads.sourceforge.net/swig/swig-1.3.24.tar.gz Within the next day, a Windows version will also be made available at - http://prdownloads.sourceforge.net/swig/swigwin-1.3.23.zip + http://prdownloads.sourceforge.net/swig/swigwin-1.3.24.zip Release numbers --------------- diff --git a/CHANGES.current b/CHANGES.current index bf959f325..94ed0faf5 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,5 +1,5 @@ -Version 1.3.23 (working version) -================================= +Version 1.3.24 (December 14, 2004) +================================== 12/08/2004: wsfulton [Java] Fixes to arrays_java.i so that one can apply the array diff --git a/Doc/Manual/Sections.html b/Doc/Manual/Sections.html index 04e0f16c1..8e33d5354 100644 --- a/Doc/Manual/Sections.html +++ b/Doc/Manual/Sections.html @@ -6,7 +6,7 @@

SWIG-1.3 Development Documentation

-Last update : SWIG-1.3.24 (?? ???????, 2004) +Last update : SWIG-1.3.24 (December 14, 2004)

Sections

diff --git a/README b/README index 173c6fcd9..72264b8d0 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ SWIG (Simplified Wrapper and Interface Generator) -Version: 1.3.23 (November 11, 2004) +Version: 1.3.24 (December 14, 2004) Tagline: SWIG is a compiler that integrates C and C++ with languages including Perl, Python, Tcl, Guile, Mzscheme, @@ -70,6 +70,12 @@ Information about SWIG is also available in Japanese translation at What's New? =========== +SWIG-1.3.24 summary: +- Improved enum handling +- More runtime library options +- More bugs fixes for templates and template default arguments, directors + and other areas. + SWIG-1.3.23 summary: - Improved support for callbacks - Python docstring support and better error handling diff --git a/TODO b/TODO index a364de209..adb76c1b1 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,6 @@ SWIG TO-DO -Release: SWIG-1.3.23 +Release: SWIG-1.3.24 $Header$ ----------------------------------------------------------------------------- @@ -31,8 +31,6 @@ defer ready to go. The primary obstacle lies in the target language **** Typemap environments. Stay tuned. -[DONE] Implement "throws" typemaps for all of the target languages. - *** "Nested" typemaps. The basic idea is similar to allowing one to use $descriptor(T) for any T, rather than just $descriptor for the type currently being typemapped. @@ -103,10 +101,6 @@ defer ready to go. The primary obstacle lies in the target language $typemap(in,1=int foo, input=x) -[DONE] Add attributes to the %feature directive. Something like: - - %feature("except", throws="OutOfMemoryException") - *** Implement $fail special variable substitution in wrappers. Used to properly transfer control out of a wrapper function while reclaiming resources. @@ -118,6 +112,10 @@ defer ready to go. The primary obstacle lies in the target language %typemap(out) int *Foo::func { ... } + Currently only globals functions can be targeted, like so: + + %typemap(out) int *func { ... } + *** Rewrite declaration annotation to better unify %rename and related directives. Add a selector mechanism that allows specific parse tree nodes to be identified. For example: @@ -147,15 +145,6 @@ defer ready to go. The primary obstacle lies in the target language both. The existence of two symbol management systems is mostly historical. -[DONE] Add a warning for uninstantiated templates. For example, if a function - using a template type, but that type hasn't been instantiated using - %template. - -[DONE] Fix template partial specialization matching rules. SWIG does not - implement the proper C++ type deduction rules, but it does handle - the most common cases. This is likely to be hard and implementing - it would really only be for completeness. - Build ----- @@ -199,8 +188,6 @@ Tcl Ruby ---- -[DONE] Add Ruby support for Mark Rose's polymorphism code. - **** The "Resource Management in Proxies" section of the "SWIG and C++" chapter discusses how proxies' ownership of their associated C++ object can change, and the use of the special disown() and @@ -215,23 +202,16 @@ Ruby Java ---- -[DONE] Default argument support. Default arguments are effectively ignored - at present. An overridden method for each default argument could be - generated thereby enabling one to call methods with default arguments. C# -- -[DONE] Wrap C/C++ enums with C# enums, currently they are wrapped with a C# int. - -**** Implement director support for C# so that virtual methods work seemlessly +*** Implement director support for C# so that virtual methods work seemlessly when mixing C# and C++ code. **** Fix exception handling. Currently memory leaks occur when a C# exception is thrown from C/C++. -[DONE] Default argument support - see Java above. - PHP --- @@ -260,16 +240,12 @@ Guile ** Support keyword args. -[DONE] Support GOOPS shadow classes. - ** Director Support! ** Cleaner handling of multiple values. Use a typemap keyword argument "numoutputs" of "out" and "argout" to indicate how many values are returned. -[DONE] Support garbage collection. - ** Make SWIG's types first-class by using a separate smob type for SWIG type descriptors; enable reflection on types. (Maybe GOOPS metaclasses?)