Moved all the 1.3.21 changes from CHANGES.current to CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b9dd45d463
commit
15bf63ca01
2 changed files with 65 additions and 53 deletions
57
CHANGES
57
CHANGES
|
|
@ -1,5 +1,62 @@
|
||||||
SWIG (Simplified Wrapper and Interface Generator)
|
SWIG (Simplified Wrapper and Interface Generator)
|
||||||
|
|
||||||
|
Version 1.3.21 (January 11, 2004)
|
||||||
|
==================================
|
||||||
|
01/10/2004: cheetah (William Fulton)
|
||||||
|
The output format for both warnings and errors can be selected for
|
||||||
|
integration with your favourite IDE/editor. Editors and IDEs can usually
|
||||||
|
parse error messages and if in the appropriate format will easily take you
|
||||||
|
directly to the source of the error. The standard format is used by
|
||||||
|
default except on Windows where the Microsoft format is used by default.
|
||||||
|
These can be overridden using command line options, for example:
|
||||||
|
|
||||||
|
$ swig -python -Fstandard example.i
|
||||||
|
example.i:4: Syntax error in input.
|
||||||
|
$ swig -python -Fmicrosoft example.i
|
||||||
|
example.i(4): Syntax error in input.
|
||||||
|
|
||||||
|
01/09/2004: beazley
|
||||||
|
Fixed [ 871909 ] simple namespace problem.
|
||||||
|
This was a problem using anonymous structures in a namespace.
|
||||||
|
For example:
|
||||||
|
|
||||||
|
namespace ns {
|
||||||
|
typedef struct {
|
||||||
|
int n;
|
||||||
|
} S;
|
||||||
|
};
|
||||||
|
|
||||||
|
Reported by Josh Cherry.
|
||||||
|
|
||||||
|
01/09/2004: beazley
|
||||||
|
Fixed some broken Perl examples.
|
||||||
|
|
||||||
|
12/28/2003: cheetah (William Fulton)
|
||||||
|
[Java and C#] Fixes for wrapping covariant (polymorphic) return types.
|
||||||
|
For example:
|
||||||
|
|
||||||
|
struct Base {
|
||||||
|
virtual ~Base();
|
||||||
|
virtual Base* copy() const = 0;
|
||||||
|
};
|
||||||
|
struct Derived : Base {
|
||||||
|
virtual Derived* copy() const;
|
||||||
|
};
|
||||||
|
|
||||||
|
The Derived::copy proxy method returns Base not Derived. A warning is issued
|
||||||
|
about this. Previously the pointer used by the proxy class was incorrectly
|
||||||
|
treated as a Base* instead of a Derived*.
|
||||||
|
|
||||||
|
12/18/2003: cheetah (William Fulton)
|
||||||
|
Fix so that Windows paths are displayed correctly when reporting errors.
|
||||||
|
An error previously would have been shown something like:
|
||||||
|
|
||||||
|
.?xample.i:14: Syntax error in input.
|
||||||
|
|
||||||
|
instead of:
|
||||||
|
|
||||||
|
.\example.i:14: Syntax error in input.
|
||||||
|
|
||||||
|
|
||||||
Version 1.3.20 (December 17, 2003)
|
Version 1.3.20 (December 17, 2003)
|
||||||
==================================
|
==================================
|
||||||
|
|
|
||||||
|
|
@ -1,57 +1,12 @@
|
||||||
Version 1.3.21 (January 11, 2004)
|
Version 1.3.22 (in progress)
|
||||||
==================================
|
==================================
|
||||||
01/10/2004: cheetah (William Fulton)
|
|
||||||
The output format for both warnings and errors can be selected for
|
|
||||||
integration with your favourite IDE/editor. Editors and IDEs can usually
|
|
||||||
parse error messages and if in the appropriate format will easily take you
|
|
||||||
directly to the source of the error. The standard format is used by
|
|
||||||
default except on Windows where the Microsoft format is used by default.
|
|
||||||
These can be overridden using command line options, for example:
|
|
||||||
|
|
||||||
$ swig -python -Fstandard example.i
|
01/16/2004: cheetah (William Fulton)
|
||||||
example.i:4: Syntax error in input.
|
Tidy up in the exception handling code that is generated when
|
||||||
$ swig -python -Fmicrosoft example.i
|
C++ exception specifications are wrapped with the throws typemap.
|
||||||
example.i(4): Syntax error in input.
|
This redundant code is no longer generated:
|
||||||
|
|
||||||
01/09/2004: beazley
|
catch(...) {
|
||||||
Fixed [ 871909 ] simple namespace problem.
|
throw;
|
||||||
This was a problem using anonymous structures in a namespace.
|
}
|
||||||
For example:
|
|
||||||
|
|
||||||
namespace ns {
|
|
||||||
typedef struct {
|
|
||||||
int n;
|
|
||||||
} S;
|
|
||||||
};
|
|
||||||
|
|
||||||
Reported by Josh Cherry.
|
|
||||||
|
|
||||||
01/09/2004: beazley
|
|
||||||
Fixed some broken Perl examples.
|
|
||||||
|
|
||||||
12/28/2003: cheetah (William Fulton)
|
|
||||||
[Java and C#] Fixes for wrapping covariant (polymorphic) return types.
|
|
||||||
For example:
|
|
||||||
|
|
||||||
struct Base {
|
|
||||||
virtual ~Base();
|
|
||||||
virtual Base* copy() const = 0;
|
|
||||||
};
|
|
||||||
struct Derived : Base {
|
|
||||||
virtual Derived* copy() const;
|
|
||||||
};
|
|
||||||
|
|
||||||
The Derived::copy proxy method returns Base not Derived. A warning is issued
|
|
||||||
about this. Previously the pointer used by the proxy class was incorrectly
|
|
||||||
treated as a Base* instead of a Derived*.
|
|
||||||
|
|
||||||
12/18/2003: cheetah (William Fulton)
|
|
||||||
Fix so that Windows paths are displayed correctly when reporting errors.
|
|
||||||
An error previously would have been shown something like:
|
|
||||||
|
|
||||||
.?xample.i:14: Syntax error in input.
|
|
||||||
|
|
||||||
instead of:
|
|
||||||
|
|
||||||
.\example.i:14: Syntax error in input.
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue