Update for 1.3.24

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-12-10 22:07:37 +00:00
commit 8787422b1a
5 changed files with 22 additions and 40 deletions

View file

@ -1,11 +1,11 @@
*** ANNOUNCE: SWIG 1.3.23 *** *** ANNOUNCE: SWIG 1.3.24 ***
http://www.swig.org http://www.swig.org
November 11, 2004 December 14, 2004
We're pleased to announce SWIG-1.3.23, the latest installment in the We're pleased to announce SWIG-1.3.24, the latest installment in the
SWIG development effort. SWIG-1.3.23 includes a number of bug fixes SWIG development effort. SWIG-1.3.24 includes a number of bug fixes
and large number of enhancements throughout. and large number of enhancements throughout.
What is SWIG? What is SWIG?
@ -22,11 +22,11 @@ Availability:
------------- -------------
The release is available for download on Sourceforge at 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 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 Release numbers
--------------- ---------------

View file

@ -1,5 +1,5 @@
Version 1.3.23 (working version) Version 1.3.24 (December 14, 2004)
================================= ==================================
12/08/2004: wsfulton 12/08/2004: wsfulton
[Java] Fixes to arrays_java.i so that one can apply the array [Java] Fixes to arrays_java.i so that one can apply the array

View file

@ -6,7 +6,7 @@
<body bgcolor="#ffffff"> <body bgcolor="#ffffff">
<H1><a name="Sections"></a>SWIG-1.3 Development Documentation</H1> <H1><a name="Sections"></a>SWIG-1.3 Development Documentation</H1>
Last update : SWIG-1.3.24 (?? ???????, 2004) Last update : SWIG-1.3.24 (December 14, 2004)
<H2>Sections</H2> <H2>Sections</H2>

8
README
View file

@ -1,6 +1,6 @@
SWIG (Simplified Wrapper and Interface Generator) 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 Tagline: SWIG is a compiler that integrates C and C++ with
languages including Perl, Python, Tcl, Guile, Mzscheme, languages including Perl, Python, Tcl, Guile, Mzscheme,
@ -70,6 +70,12 @@ Information about SWIG is also available in Japanese translation at
What's New? 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: SWIG-1.3.23 summary:
- Improved support for callbacks - Improved support for callbacks
- Python docstring support and better error handling - Python docstring support and better error handling

36
TODO
View file

@ -1,6 +1,6 @@
SWIG TO-DO SWIG TO-DO
Release: SWIG-1.3.23 Release: SWIG-1.3.24
$Header$ $Header$
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
@ -31,8 +31,6 @@ defer ready to go. The primary obstacle lies in the target language
**** Typemap environments. Stay tuned. **** 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 *** "Nested" typemaps. The basic idea is similar to allowing one to
use $descriptor(T) for any T, rather than just $descriptor use $descriptor(T) for any T, rather than just $descriptor
for the type currently being typemapped. 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) $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 *** Implement $fail special variable substitution in wrappers. Used
to properly transfer control out of a wrapper function while to properly transfer control out of a wrapper function while
reclaiming resources. reclaiming resources.
@ -118,6 +112,10 @@ defer ready to go. The primary obstacle lies in the target language
%typemap(out) int *Foo::func { ... } %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 *** Rewrite declaration annotation to better unify %rename and related
directives. Add a selector mechanism that allows specific parse tree directives. Add a selector mechanism that allows specific parse tree
nodes to be identified. For example: 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 both. The existence of two symbol management systems is mostly
historical. 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 Build
----- -----
@ -199,8 +188,6 @@ Tcl
Ruby Ruby
---- ----
[DONE] Add Ruby support for Mark Rose's polymorphism code.
**** The "Resource Management in Proxies" section of the "SWIG and C++" **** The "Resource Management in Proxies" section of the "SWIG and C++"
chapter discusses how proxies' ownership of their associated C++ chapter discusses how proxies' ownership of their associated C++
object can change, and the use of the special disown() and object can change, and the use of the special disown() and
@ -215,23 +202,16 @@ Ruby
Java 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# 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. when mixing C# and C++ code.
**** Fix exception handling. Currently memory leaks occur when a C# exception **** Fix exception handling. Currently memory leaks occur when a C# exception
is thrown from C/C++. is thrown from C/C++.
[DONE] Default argument support - see Java above.
PHP PHP
--- ---
@ -260,16 +240,12 @@ Guile
** Support keyword args. ** Support keyword args.
[DONE] Support GOOPS shadow classes.
** Director Support! ** Director Support!
** Cleaner handling of multiple values. ** Cleaner handling of multiple values.
Use a typemap keyword argument "numoutputs" of "out" and Use a typemap keyword argument "numoutputs" of "out" and
"argout" to indicate how many values are returned. "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 ** Make SWIG's types first-class by using a separate smob type for
SWIG type descriptors; enable reflection on types. (Maybe SWIG type descriptors; enable reflection on types. (Maybe
GOOPS metaclasses?) GOOPS metaclasses?)