William S Fulton
2b71c99feb
Add C# license header changes for StyleCop to changes file
2014-08-04 19:44:47 +01:00
William S Fulton
db7514860d
Add changes entry for NIOBUFFER Java typemaps
2014-08-04 19:27:30 +01:00
Ian Lance Taylor
287e84d84c
[Go] Change struct definition to use void *, not uint8, so
...
that the type is recorded as possibly containing
pointers. This ensures that the 1.3 garbage collector
does not collect pointers passed to C++ code.
2014-07-14 08:33:43 -07:00
William S Fulton
83749b3937
Fix expansion of the $parentclassname special variable
...
It incorrectly contains brackets in the expanded name.
Fixes SF Bug 1375.
2014-07-01 20:27:48 +01:00
William S Fulton
8728a97dc6
Bump version to 3.0.3
2014-06-06 19:56:38 +01:00
William S Fulton
37c09b0104
Add 3.0.2 release date
2014-06-04 08:48:04 +01:00
William S Fulton
acd0ebc660
changes file updates
2014-06-02 20:01:07 +01:00
William S Fulton
6d5444e587
CHANGES update
2014-06-02 07:23:14 +01:00
Karl Wette
ecf28da5a9
Octave: remove deprecated -global/-noglobal command-line arguments
2014-05-29 23:42:55 +02:00
William S Fulton
68347cb723
Bump version to 3.0.2
2014-05-28 18:51:46 +01:00
William S Fulton
85413bc84d
Add 3.0.1 release date
2014-05-27 23:39:51 +01:00
William S Fulton
f03bff152c
Python 3 byte string output: use errors="surrogateescape" change note
2014-05-27 23:31:31 +01:00
William S Fulton
d9cac66462
Add missing entries into changes files.
2014-05-21 20:04:48 +01:00
Karl Wette
66555ad2a7
Fix go configuration and SWIG_GCC_VERSION
...
- in configure.ac: modify sed expression to only look at first line of
gccgo --version, extract the last numeric token, and remove periods;
this parses e.g. "gccgo (Debian 4.7.2-5) 4.7.2"
- in goruntime.swg: fix typo in __GNUC_PATCHLEVEL__ (SF Bug #1298 )
2014-05-02 21:44:52 +02:00
Karl Wette
b6c1889c08
Fix {python|perl5|ruby|tcl}/java examples
...
- in Lib/gcj/cni.i: remove JvAllocObject(), change
JvCreateJavaVM() argument from void* to JvVMInitArgs*
- in Examples/{python|perl5|ruby|tcl}/java/Makefile:
pass full class name to gcjh, add Example.h as dependency,
do not override CXX for compiling C++ sources
- in Examples/python/java/example.i:
add destructor to class to prevent memory loss complaint
2014-05-02 21:44:42 +02:00
Olly Betts
73bb909bae
[PHP] The generated __isset() method now returns true for read-only properties.
2014-05-01 14:37:58 +12:00
William S Fulton
d7f6167e02
Remove duplicate declarations of strtoimax and strtoumax in inttypes.i
2014-04-08 23:47:22 +01:00
William S Fulton
dc8428889e
Ignored enum fixes.
...
C#/Java - Enums which have been ignored via %ignore and are subsequently
used are handled slightly differently. Type wrapper classes are now generated
which are effectively a wrapper of an empty enum. Previously in Java uncompilable
code was generated and in C# an int was used.
2014-04-08 23:25:27 +01:00
William S Fulton
1d857beb9d
Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
...
SF Bug #1365 .
2014-04-04 08:31:59 +01:00
Olly Betts
f563069e7b
[PHP] Fix wrapping director constructors with default parameters with a ZTS-enabled build of PHP.
2014-04-03 10:38:19 +13:00
Olly Betts
2a3981289d
[PHP] Pass the ZTS context we already have to avoid needing to
...
call TSRMLS_FETCH, which is relatively expensive.
2014-04-02 23:35:59 +13:00
Olly Betts
18c00e20bc
[PHP] Pass ZTS context through to t_output_helper() so it works
...
with a ZTS-enabled build of PHP. Reported by Pierre Labastie in
github PR#155.
2014-04-02 23:28:56 +13:00
William S Fulton
df2c9d366d
Remove some useless code
2014-03-28 08:04:01 +00:00
William S Fulton
cd2085aae7
Fixes for C enums used in an API and the definition of the enum has not been parsed.
...
For D, this fixes a segfault in SWIG.
Java, C#, D, Go now produce code that compiles, although the definition of the
enum is needed in order to use the enum properly from the target language.
2014-03-28 07:54:03 +00:00
William S Fulton
7f8c1e192d
CHANGES file for previous commit for Lua
2014-03-23 12:55:26 +00:00
William S Fulton
b0afd857e5
Bump version to 3.0.1
2014-03-17 06:54:00 +00:00
William S Fulton
08b783113d
Add release date
2014-03-16 21:11:03 +00:00
William S Fulton
e1b649998b
Add changes notes for Lua changes
2014-03-16 21:11:03 +00:00
William S Fulton
778aed5a08
CHANGES file updates
2014-03-16 21:11:03 +00:00
William S Fulton
504c2030bb
Change in default behaviour wrapping C++ bool for Python.
...
Only a Python True or False will now work for C++ bool parameters.
This fixes overloading bool with other types.
2014-03-08 12:04:19 +00:00
William S Fulton
dbf44fc181
Fix std::map and smart pointers.
...
Fixes problem with method overloading when some methods are added by %extend
and others are real methods and using template default parameters with smart pointers.
This is noticeable as a regression since 2.0.12 when using the default smart pointer
handling for some languages when the smart pointer wraps std::map and other STL containers.
Fixes SF Bug 1363
2014-03-06 19:52:03 +00:00
William S Fulton
7a96fba836
Correct exception thrown attempting to access a non-existent C/C++ global variable on the 'cvar' object.
...
The exception thrown used to be a NameError. However, as this access is
via a primary, an AttributeError is more correct and so the exception
thrown now is an AttributeError. Reference:
http://docs.python.org/2/reference/expressions.html#attribute-references
SF Patch #346 .
2014-03-02 01:31:36 +00:00
William S Fulton
4fb940d913
Further fixes when using type() when using -builtin to include module name
...
Using type() on a builtin type should include the package and module
name, see http://docs.python.org/2/c-api/typeobj.html
2014-03-01 23:26:27 +00:00
William S Fulton
a3a0535229
Add testcase and info on python -builtin missing argument count check
2014-03-01 16:44:01 +00:00
William S Fulton
3aa689d276
Add summary about nested class support added over the last few months
2014-02-26 00:13:18 +00:00
William S Fulton
d55692c31e
Fix warning suppression using %warnfilter for PHP reserved class names.
...
The features need to be merged in before issuing a warning as
%warnfilter is a %feature.
2014-02-21 08:29:20 +00:00
Olly Betts
1097fc99ff
[Lua] Add keyword warnings for Lua keywords and Basic Functions.
2014-02-19 23:04:40 +13:00
Olly Betts
5b957278a8
-Wallkw now includes keywords for all languages with keyword
...
warnings (previously Go and R were missing).
2014-02-19 22:07:26 +13:00
Olly Betts
1aa6220041
Fix incorrect patch number
2014-02-19 17:22:28 +13:00
Olly Betts
06e5a5fb0d
[PHP] Update the lists of PHP keywords with new ones from PHP 5.4
...
and newer (and some missing ones from 5.3). Reserved PHP constants
names are now checked against enum values and constants, instead
of against function and method names. Built-in PHP function names
no longer match methods added by %extend. Functions and methods
named '__sleep', '__wakeup', 'not', 'parent', or 'virtual' are no
longer needlessly renamed.
2014-02-19 17:21:34 +13:00
William S Fulton
c5911cc08d
Add %$isextendmember for %rename of members added via %extend
2014-02-18 23:21:46 +00:00
William S Fulton
9cbd742b66
Fix %$ismember %rename predicate for members added via %extend
...
Bug reported was incorrect renaming of PHP built-in functions, such as
next. See PHPFN in phpkw.swg.
Add some tests for the %rename predicates.
2014-02-18 07:30:55 +00:00
William S Fulton
d7f91bc47a
CHANGES files corrections since 2.0.12 release
...
A number of fixes committed since 2.0.11 release were intended for the
3.0.0 release were backported to the maintenance-2.0 branch for 2.0.12.
2014-02-16 22:28:57 +00:00
William S Fulton
8cdae65ee9
C++ exception (wrapped by a Python exception as a shadow instance) segfaulting Python
...
Patch #137
2014-02-16 18:02:30 +00:00
William S Fulton
90a9d750c9
Add support for cdata library for Java
2014-02-15 22:13:50 +00:00
William S Fulton
b457f8f290
Changes entry for guile non-ascii strings fix
2014-02-06 20:02:05 +00:00
William S Fulton
0383d08444
Add new swigtype_inout.i library containing SWIGTYPE *& OUTPUT typemaps.
2014-02-04 06:54:22 +00:00
Ian Lance Taylor
f2dc3a9c1f
[Go] Add %go_import directive.
2014-01-21 11:27:09 -08:00
Ian Lance Taylor
3785454a87
[Go] Add support for Go 1.3, not yet released.
2014-01-21 11:18:55 -08:00
William S Fulton
cc650e692e
Director exceptions now derive from std::exception
2014-01-20 19:40:52 +00:00