3
3
See CHANGES.current for current version.
5
Version 1.3.32 (November 15, 2007)
6
==================================
9
[R] Package name and dll name is now the same as the SWIG module
10
name. It used to be the module name with _wrap as a suffix. The package
11
and dll names can be modified using the -package and -dll commandline
14
*** POTENTIAL INCOMPATIBILITY ***
17
[R] Add support for Windows (Visual C++ 8 tested)
20
[php] Fix makefile generated by -make (SF#1633679). Update
21
documentation to mark "-make" as deprecated (none of the other
22
SWIG backends seem to offer such a feature, it can't realistically
23
generate a fully portable makefile, and the commands to build an
24
extension are easy enough to write for the user's preferred build
25
tool). Also recommend against the use of "-phpfull" (it's only
26
really useful when static linking, and a dynamically loadable
27
module is virtually always the better approach).
30
Fix --help output to note that `export SWIG_FEATURES' is required.
33
[R] Fix seg fault on Windows
34
[R] Examples R scripts are now platform independent
37
[lua] fixed bug in template classes which cases template_default2
38
and template_specialization_defarg to fail.
39
Added several warning filters into the overload's test cases.
40
Added runtime tests for several codes.
41
You can now make check-lua-test-suite with no errors and only a few warnings.
44
[guile] Fix the configure test to put GUILELINK in LIBS not LDFLAGS
48
[guile] Fix the guile examples on 64-bit platforms.
51
[C#] Fix member pointers on 64 bit platforms.
54
[lua] Fix swig_lua_class instances to be static to allow multiple
55
SWIG wrappers to be compiled into the same executable statically.
56
Patch from Andreas Fredriksson (posted to the swig mailing list).
59
[lua] Fix Examples/lua to pass SRCS for C tests rather than CXXSRCS.
60
The code as it was happened to work on x86, but broke on x86_64 (and
61
probably any other platforms which require -fPIC).
64
[Java, C#] New approach for fixing uninitialised variable usage on error in director
65
methods using the new templated initialisation function SwigValueInit().
68
[Perl] Use more efficient SvPV_nolen(x) instead of SvPV(x,PL_na) if SvPV_nolen is
72
[Chicken] Fix global variables of class member function pointers.
73
Other minor fixes, so all tests in the chicken test suite now pass
76
Fix UTL typecheck macro for a function taking char[] or const
80
[Guile] Filter out -ansi -pedantic from CFLAGS while compiling test programs for Guile
81
in configure. This enables running the test suite for Guile if it is installed and
85
[Guile -scm] Fix testcases apply_signed_char and apply_strings
86
by adding explicit casts to the appropriate $ltype.
89
[Java, C#] Fix uninitialised variable usage on error in director methods.
92
[Java, C#] Bug #1794247 - fix generated code for derived classes when csbase or javabase
93
typemaps are used with the replace="1" attribute.
96
[Python] Docs updated to suggest using distutils. Patch #1796681 from Christopher Barker.
99
[perl5] Clear errno before calls to strtol(), strtoul(), strtoll()
100
and strtoull() which we check errno after to avoid seeing a junk
101
value of errno if there isn't an error in the call.
104
Deprecate %attribute_ref and replace with %attributeref. There is just an argument
105
order change in order to maintain consistency with %attribute, from:
107
%attribute_ref(Class, AttributeType, AccessorMethod, AttributeName)
109
%attributeref(Class, AttributeType, AttributeName, AccessorMethod)
112
[Tcl] Fix several ocurrences of "warning: deprecated conversion
113
from string constant to 'char*'" from GCC 4.2 in generated C/C++
117
[PHP] Fix many occurrences of "warning: deprecated conversion from
118
string constant to 'char*'" from GCC 4.2 in generated C/C++ code
119
when compiling with a new enough version of PHP 5 (tested with
120
PHP 5.2.3, but PHP 5.2.1 is probably the minimum requirement).
123
Patch #1797133 from David Piepgrass fixes %attribute when the getter has the same name
124
as the attribute name and no longer generate non-functional setter for read-only attributes.
127
[Tcl] Prevent SWIG_Tcl_ConvertPtr from calling the unknown proc.
128
Add Examples/tcl/std_vector/ which this change fixes. Patch
129
is from "Cliff C" in SF#1809819.
132
[Java] Add DetachCurrentThread back in for directors. See entry dated 08/11/2006 and
133
search for DetachCurrentThread on the mailing lists for details. The crashes on Solaris
134
seem to be only present in jdk-1.4.2 and lower (jdk-1.5.0 and jdk-1.6.0 are okay), so
135
anyone using directors should use a recent jdk on Solaris, or define (see director.swg)
136
SWIG_JAVA_NO_DETACH_CURRENT_THREAD to the C++ compiler to get old behaviour.
139
[Java] Ensure the premature garbage collection prevention parameter (pgcpp) is generated
140
when there are C comments in the jtype and jstype typemaps.
143
Added a testsuite entry for Bug #1735931
146
Automatically rerun autogen.sh if configure.in is modified.
149
Enhance check-%-test-suite rule and friends to give a more helpful
150
error message if you try them for a language which doesn't exist
151
(e.g. "make check-php-test-suite" rather than the correct
152
"make check-php4-test-suite").
155
Add make rule to regenerate Makefile from Makefile.in if it has
159
[php] Fix long-standing memory leak in wrapped constructors and
160
wrapped functions/methods which return an object.
163
Fix Makefile.in to read check.list files correctly in a VPATH
167
[C#, Java] Experimental shared_ptr typemaps added
170
[lua] added more verbose error messages for incorrect typechecks.
171
Added a routine which checks the exact number of parameters passed to a function
172
(breaks operator_overloading for unary minus operator, currently disabled).
173
Reorganised the luatypemaps.swg to tidy it up.
174
Added a lot of %ignores on the operators not supported by lua.
175
Added support for constant member function pointers & runtest for member_pointer.i
176
Added first version of wchar.i
179
[C#, Java] throws typemaps for std::wstring using C# patch #1799064 from David Piepgrass
182
[Tcl] Apply #1771313 to fix bug #1650229 - fixes long long and unsigned long long
186
[Java] Eliminate some unnecessary uses of a temporary buffer
187
allocated using new[]. SF#1796609.
190
[C#] The $csinput special variable can be used in the csvarin typemap where it is always
194
[C#] Fix bug reported by Glenn A Watson and #1795260 where the cstype typemap used the 'ref'
195
keyword in the typemap body, it produced uncompilable C# properties (variable wrappers).
196
The type for the property now correctly comes from the 'out' attribute in the cstype typemap.
199
[Java] Fix const std::wstring& typemaps
202
[Java] Ensure the premature garbage collection prevention parameter (pgcpp) is generated
203
where a parameter is passed by pointer reference, eg in the std::vector wrappers. The pgcpp
204
is also generated now when user's custom typemaps use a proxy class in the jstype typemap
205
and a 'long' in the jtype typemap.
208
[php] Add typemaps for handling parameters of type std::string &
209
which are modified by the wrapped function.
212
[python] Split potentially long string literals to avoid hitting
213
MSVC's low fixed limit on string literal length - patch from
214
SF#1723770, also reported as SF#1630855.
217
[ocaml] Fix renaming of overloaded methods in the method_table -
218
my patch from SF#940399.
221
[python] Simpler code for SWIG_AsVal_bool() which fixes a "strict
222
aliasing" warning from GCC - patch from SF#1724581 by Andrew
226
[perl5] Use sv_setpvn() to set a scalar from a pointer and length
227
- patch from SF#174460 by "matsubaray".
230
When wrapping C++ code, generate code which uses
231
std::string::assign(PTR, LEN) rather than assigning
232
std::string(PTR, LEN). Using assign generates more efficient code
233
(tested with GCC 4.1.2).
236
Fix %ignore on constructors which are not explicitly declared [SF #1777712]
238
09/05/2007: wuzzeb (John Lenz)
239
- Change r_ltype in typesys.c to store a hashtable instead of a single value.
240
several very subtle bugs were being caused by multiple ltypes being mapped
241
to a single mangled type, mostly when using typedefed template parameters.
242
Now, r_ltype stores a hashtable of possible ltypes, and when generating the
243
type table, all the ltypes are added into the swig_type_info structure.
246
SF #1754967 from James Bigler.
247
- Fix bug in turning on warnings that were turned off by default. Eg 'swig -w+309' will now
248
turn on the normally suppressed warning 309.
250
- New -Wextra commandline option which enables the extra warning numbers:
251
202,309,403,512,321,322 (this is the list of warnings that have always been suppressed by
252
default). By specifying -Wextra, all warnings will be turned on, but unlike -Wall,
253
warnings can still be selectively turned on/off using %warnfilter,
254
#pragma SWIG nowarn or further -w commandline options, eg:
256
will turn on all warnings except 309.
259
- New debugging options, -debug-module <n> and -debug-top <n> to display the parse tree at
260
various stages, where <n> is a comma separated list of stages 1-4.For example, to
261
display top of parse tree at stages 1 and 3:
264
- Deprecate the following options which have equivalents below:
265
-dump_parse_module => -debug-module 1
266
-dump_module => -debug-module 4
267
-dump_parse_top => -debug-top 1
268
-dump_top => -debug-top 4
270
- Renamed some commandline options for naming consistency across all options:
271
-debug_template => -debug-template
272
-debug_typemap => -debug-typemap
273
-dump_classes => -debug-classes
274
-dump_tags => -debug-tags
275
-dump_typedef => -debug-typedef
276
-dump_memory => -debug-memory
279
[PHP5] Fix handling of double or float parameters with an integer
283
[PHP5] Generate __isset() methods for setters for PHP 5.1 and later.
286
[Java C#] Fix director bug #1776651 reported by Stephane Routelous which occurred when
287
the director class name is the same as the start of some other symbols used within
291
Correct behaviour for templated methods used with %rename or %ignore and the empty
292
template declaration - %template(). A warning is issued if the method has not been
295
08/16/2007: mutandiz (Mikel Bancroft)
296
[allegrocl] Name generated cl file based on input file rather than by
297
module name. It was possible to end up with a mypackage.cl and a test_wrap.c
298
when parsing a test.i input file. Confusing. Also, include external-format
299
templates for :fat and :fat-le automatically to avoid these being compiled
302
08/15/2007: efuzzyone
303
[cffi] Apply patch #1766076 from Leigh Smith adding support for newly introduced
304
in cffi :long-long and :unsigned-long-long.
307
[Java] Add documentation patch #1743573 from Jeffrey Sorensen. It contains a neat
308
idea with respect to better memory management by the JVM of C++ allocated memory.
311
[Perl] Apply patch #1771410 from Wade Brainerd to fix typedef XS(SwigPerlWrapper) in
312
perlrun.swg for ActiveState Perl build 822 and Perl 5.8.9 and 5.10 branches.
315
[Lua] const enum reference typemaps fixed.
318
[C#] Added missing support for C++ class member pointers.
321
[C#, Java] Add support for $owner in the "out" typemaps like in the the scripting
322
language modules. Note that $owner has always been supported in the "javaout" / "csout"
326
Fix smart pointer handling for classes that have templated methods within the smart
327
pointer type. Problem reported by craigdo at ee.washington.edu.
329
07/31/2007: efuzzyone
330
[cffi] fixed memory access after being freed bug. thanks to Martin Percossi.
331
package name clos changed to cl. thanks to Ralf Mattes
334
Parallel make support added for the examples and test-suite for developers who have
335
more than one CPU. Now parallel make can be used for checking in addition to building
336
the SWIG executable. Some typical checking examples:
339
make -j4 check-java-test-suite
340
make -j2 check-java-examples
343
Fixed bug that stopped configure working on mingw (applied dos2unix to configure.in)
346
[lua] Extra compatibility with Lua 5.1 (updated SWIG_init, docs, examples, test suite)
347
Removed name clash for static link of multiple modules
350
[lua] Fix a bug in SWIG_ALLOC_ARRAY()
351
improved the error messages for incorrect arguments.
352
Changed the output of swig_type() to use the human readable form of the type,
353
rather than the raw swig type.
356
[C#] Fix directors for some overloaded methods where the imtype resulted in identical
357
methods being generated in the C# director class, eg void foo(int *) and void foo(double *)
358
used to generated two of these:
360
private void SwigDirectorfoo(IntPtr p) { ... }
363
[Java, C#] Some parameter name changes in std_vector.i allowing better targeting
364
of typemaps for method parameters (for memory management of containers of pointers).
366
06/07/2007: mutandiz (Mikel Bancroft)
368
fix foreign-type constructor to properly look for ffitype typemap
369
bindings. fix inout_typemaps.i for strings.
373
Use whichever of "long" or "long long" is the same size as "void*"
374
to hold pointers as integers, rather than whichever matches off_t.
375
Fixes compilation on OS X and GCC warnings on platforms where
376
sizeof(void*) < sizeof(off_t) (SF patch #1731979).
380
Fix handling of a particular case involving overloaded functions
381
with default parameters.
383
06/05/2007: mutandiz (Mikel Bancroft)
385
Fix case where we'd pass fully qualified identifiers
386
(i.e. NS1::NS2::FOO) to swig-insert-id. All namespaces
389
Fix bug in TypedefHandler introduced by last fix.
392
Fix reporting of filenames in errors after %include (patch from
393
Leigh Smith in #1731040; also reported as #1699940).
397
Fix "missing initialiser" warning when compiling generated C/C++
398
wrapper code with Python 2.5 with warnings enabled (patch from
399
bug#1727668 from Luke Moore).
403
Split docstrings into separate string literals at each newline when
404
generating C/C++ wrapper code (the C/C++ compiler will just combine
405
them back into a single string literal). This avoids MSVC
406
complaining that the strings are too long (problem reported by
407
Bo Peng on the mailing list).
411
Escape backslashes in docstrings.
415
Fix autodoc generation of enums to be more consistent with how the
416
enums are wrapped - patch #1697226 from Josh Cherry.
420
Fix wrapping of methods and functions which return a pointer to a
421
class (bug#1700788) and those which have overloaded forms returning
422
both classes and non-classes (bug#1712717, thanks to Simon
423
Berthiaume for the patch).
426
Fixed %rename inconsistency in conversion operators as reported by Zhong Ren. The matching
427
is now done on the operator name in the same way as it is done for parameters. For example:
429
%rename(opABC) Space::ABC::operator ABC() const;
430
%rename(methodABC) Space::ABC::method(ABC a) const;
434
void method(ABC a) const {}
435
operator ABC() const { ABC a; return a; }
439
Note that qualifying the conversion operator previously may or may not have matched.
440
Now it definitely won't, so this will not match:
442
%rename(opABC) Space::ABC::operator Space::ABC() const;
444
in the same way that this does not match:
446
%rename(methodABC) Space::ABC::method(Space::ABC a) const;
448
The documentation has been improved with respect to %rename, namespaces and templates.
449
Conversion operators documentation too.
451
*** POTENTIAL INCOMPATIBILITY ***
455
Fix bad generation of local var ltype's in functionWrapper().
456
Try to work better with the backward order in which swig
457
unrolls nested class definitions.
458
cleaned up a little unnecessary code/debug printf's.
459
Remove warning when replacing $ldestructor for ff:foreign-pointer
463
swig -python -threads now generates C/C++ code which uses Python's
464
own threading abstraction (from pythread.h) rather than OS specific
465
code. The old code failed to compile on MS Windows. (See SF patch
470
Changed STL renames to be global renames. This fixes
471
STL functions not being renamed when autorename is on.
472
This is a not a totally perfect work-around, but better.
473
Someone really needs to fix the template renaming code.
478
Changed %rename("%(undercase)s") a little so that single
479
numbers at the end of a function are not undercased. That is:
480
getSomething -> get_something
484
asFloat2 -> as_float2
489
Made __swigtype__ => @__swigtype__ so it can be accessed
490
from the scripting language (and follows Ruby's official
491
documentation, just in case).
492
Made tracking => @__trackings__ for same reason.
493
Currently storing ivars without the @ seems valid, but
494
the PickAxe says this is not correct, so just in case...
498
Applied patch for -minherit bug and exception classes.
499
This issue should be revisited more closely, as Multiple
500
Inheritance in Ruby is still problematic.
505
Overloaded functions in ruby will now report to the user
506
the possible prototypes when the user mistypes the number or
511
Forgot to document the bug fixing of an old bug regarding
517
Fixed Ruby documentation to use the proper css styles for
518
each section. Added autodoc section to Ruby's docs to
519
document the features supported by Ruby in documenting its modules.
520
Made rdoc documentation spit out the full name of the class +
521
method name. Albeit this will make the current rdoc not recognize
522
the method, this is still needed to disambiguate between different
523
classes with similar methods (rdoc was created to document the
524
ruby source which only contains one class per c file, unlike swig)
525
I have patched rdoc to make it more friendly to swig. This
526
patch needs to be merged in the ruby std library now.
530
Changed flag -feature to be -init_name to better reflect its
531
purpose and avoid confusion with -features.
535
Improved autodoc generation.
536
Added autodoc .swg files to Ruby library for easily adding
537
documentation to common Ruby methods and STL methods.
538
Fixed autodoc documenting of getters and setters and module.
539
Made test suite always generate autodocs.
543
Removed some warnings from STL and test suite.
546
[Lua] Fixed issues with C++ classes and hierachies across multiple
547
source files. Fixed imports test case & added run test.
548
Added Examples/imports.
549
Added typename for raw lua_State*
550
Added documentation on native functions.
554
Docstrings are now supported.
555
%feature("autodoc") and %feature("docstring") are now
556
properly supported in Ruby. These features will generate
557
a _wrap.cxx file with rdoc comments in them.
561
STL files have been upgraded to follow the new swig/python
563
This means std::vector, std::set, std::map, set::multimap,
564
std::multiset, std::deque and std::string are now properly
565
supported, including their iterators, support for containing
566
ruby objects (swig::GC_VALUE) and several other ruby
568
std::complex, std::ios, std::iostream, std::iostreambuf and
569
std::sstream are now also supported.
570
std::wstring, std::wios, std::wiostream, std::wiostreambuf
571
and std::wsstream are supported verbatim with no unicode
574
std_vector.i now mimics the behavior of Ruby Arrays much more
575
closely, supporting slicing, shifting, unshifting,
576
multiple indexing and proper return values on assignment.
578
COMPATABILITY NOTE: this changes the older api a little bit in
579
that improper indexing would previously (incorrectly) raise
580
exceptions. Now, nil is returned instead, following ruby's
581
standard Array behavior.
585
Changed the value of SWIG_TYPECHECK_BOOL to be 10000 (ie. higher
586
than that of all integers).
587
This is because Ruby allows typecasting
588
integers down to booleans which can make overloaded functions on
589
bools and integers to fail.
594
Fixed a subtle bug in multiple argouts that could get triggered if
595
the user returned two or more arguments and the first one was an
600
Improved the documentation to document the new features
601
added, add directorin/out/argout typemaps, etc.
605
Added %initstack and %ignorestack directives for director
606
functions. These allow you to control whether a director
607
function should re-init the Ruby stack.
608
This is sometimes needed for an embedded Ruby where the
609
director method is used as a C++ callback and not called
610
by the user from ruby code.
612
Ruby's GC needs to be aware of the running OS stack in order to
613
mark any VALUE (Ruby objects) it finds there to avoid collection
614
of them. This allows the ruby API to be very simple and allows
615
you to write code like "VALUE a = sth" anywhere without needing
616
to do things like refcounting like python.
617
By default, the start of the stack is set when ruby_init() is
618
called. If ruby is inited within main(), as it usually is the
619
case with the main ruby executable, ruby will be able to calculate
620
its stack properly. However, when this is not possible, as when
621
ruby is embedded as a plugin to an application where main is not
622
available, ruby_init() will be called in the wrong place, and
623
ruby will be incorrectly tracking the stack from the function
624
that called ruby_init() forwards only, which can lead to
625
all sorts of weird crashes or to ruby thinking it has run out of
626
stack space incorrectly.
627
To avoid this, director (callback) functions can now be tagged
628
to try to reset the ruby stack, which will solve the issues.
629
NOTE: ruby1.8.6 still contains a bug in it in that its function
630
to reset the stack will not always do so. This bug is triggered
631
very rarely, when ruby is called from two very distinct places
632
in memory, like a branch of main() and another dso. This bug
633
has now been reported to ruby-core and is pending further
635
(bug #1700535 and patch #1702907)
638
Fix #1707582 - Restore building from read-only source directories.
642
Ruby will now report the parameter index properly on type
643
errors as well as the class and value of the incorrect
645
(feature request #1699670)
649
Ruby no longer creates the free_Class function if the class
650
contains its own user defined free function (%freefunc).
655
Made directors raise a ruby exception for incorrect argout
656
returned values if RUBY_EMBEDDED is set, instead of throwing
657
an actual SwigDirector exception.
658
This will prevent crashes when ruby is embedded and unaware
659
of the SwigDirector exception.
663
Removed the need for -DSWIGEXTERN.
664
Changed swig_ruby_trackings to be a static variable, but also
665
be kept within a hidden instance variable in the SWIG module.
666
This allows properly dealing with trackings across multiple
667
DSOs, which was previously broken.
668
(bug #1700535 and improvement to patch #1702907)
671
[Ruby] Fixed GC memory issues with trackings that could lead
672
to segfaults when dealing, mainly, with static variables.
673
(bug #1700535 and patch #1702907)
677
Fixed String conversion using old ruby1.6 macros. Now
678
StringValuePtr() is used if available. This removes warnings
679
when converting strings with \0 in them.
680
(bug #1700535 and patch #1702907)
684
Fixed the argout count in directors for Ruby. Previously,
685
ignored or "numinputs=0" typemaps would incorrectly not get
686
counted towards the argout count.
691
Upgraded Ruby converter to recognize "numinputs=0". Previously,
692
only the old "ignore" flag was checked (which would currently
693
still work properly, but is deprecated).
696
[Ruby - but should be made generic]
698
%feature("numoutputs","0") added.
700
This feature allows you to ignore the output of a function so
701
that it is not added to a list of output values
703
This should also become a feature of %typemap(directorout)
704
as "numoutputs"=0, just like "numinputs"=0 exists.
706
%feature("directors"=1)
708
%include <typemaps.i>
710
%feature("numoutputs","0") { Class::member_function1 };
711
%typemap(out) MStatus { // some code, like check mstatus
712
// and raise exception if wrong };
718
// one argument returned, but director out code added
719
// MStatus is discarded as a return (out) parameter.
720
virtual MStatus member_function1( int& OUTPUT );
722
// two arguments returned, director out code added
723
// MStatus is not discarded
724
virtual MStatus member_function2( int& OUTPUT );
730
Fix parsing of float constants with an exponent (e.g. 1e-02f)
734
[Python] Fix lack of generation of docstrings when -O is used.
735
Also, fix generation of docstrings containing a double quote
736
character. Patch from Richard Boulton in bug#1700146.
739
[Java, C#] Support for adding in Java/C# code before and after the intermediary call,
740
specifically related to the marshalling of the proxy type to the intermediary type.
741
The javain/csin typemap now supports the 'pre' and 'post' attributes to achieve this.
742
The javain typemap also supports an optional 'pgcppname' attribute for premature garbage
743
collection prevention parameter naming and the csin typemap supports an optional 'cshin'
744
attribute for the parameter type used in a constructor helper generated when the type is used
745
in a constructor. Details in the Java.html and CSharp.html documentation.
748
Don't treat `restrict' as a reserved identifier in C++ mode
752
[PHP5] Fix how zend_throw_exception() is called (bug #1700785).
755
Define SWIGTEMPLATEDISAMBIGUATOR to template for aCC (reported on
756
swig-user that this is needed).
759
[PHP5] If ZTS is enabled, release <module>_globals_id in MSHUTDOWN
760
to avoid PHP interpreter crash on shutdown. This solution was
761
suggested here: http://bugs.php.net/bug.php?id=40985
764
[PHP4] Add missing ZTS annotations to generated C++ wrapper code
765
to fix compilation failures when using ZTS enabled SWIG (Linux
766
distributions tend to disable ZTS, but notably the Windows build
769
04/01/2007: efuzzyone
770
[CFFI] Patch #1684261: fixes handling of unsigned int literals, thanks Leigh Smith.
771
Also, improved documentation.
774
Avoid generating '<:' token when using SwigValueWrapper<> on a type
775
which starts with '::' (patch #1690948).
777
03/25/2007: wuzzeb (John Lenz)
778
[perl5] Add SWIG_fail to the SWIG_exception macro. Fixes a few problems reported
782
String copying patch from Josh Cherry reducing memory consumption by about 25%.
785
[Java] Apply patch #1631987 from Ulrik Peterson - bool INOUT typemaps
786
fail on big endian machines.
789
Fix seg fault given dodgy C++ code: namespace abc::def { }
792
[Java] Fixes so that ARRAYSOFCLASSES and ARRAYSOFENUMS in arrays_java.i can be applied
796
[PHP5] When we know the literal numeric value for a constant, use
797
that to initialise the const member in the PHP wrapper class.
800
[PHP5] Fix PHP wrapper code generated for certain cases of
801
overloaded forms with default arguments.
803
02/26/2007: efuzzyone
804
[CFFI] Patch #1656395: fixed hex and octal values bug, thanks to Arthur Smyles.
807
[Lua] Fixed bug in typemaps which caused derived_byvalue and rname test cases to fail.
808
Updated derived_byvalue.i to explain how to find and fix the problem
811
Fix #1538522 and #1338527, forward templated class declarations without a
812
name for the templated class parameters, such as:
814
template <typename, class> class X;
817
[Lua] Patch #1640862: <malloc.h> replaced by <stdlib.h>
818
Patch #1598063 Typo in typemaps.i
821
[Lua] Added a lua specific carrays.i which adds the operator[] support.
822
modified the main code to make it not emit all the class member functions & accessors
823
Note: C structs are created using new_XXX() while C++ classes use XXX() (should be standardised)
824
Updated test case: li_carrays
825
Updated the documentation.
828
[Php] Add support for newfree typemaps (sometimes used by %newobject)
831
New command line option -macroerrors. When supplied, this will force
832
the C scanner/parser to report proper location information for code contained
833
inside SWIG macros (defined with %define). By default, SWIG merely reports
834
errors on the line at which a macro is used. With this option, you
835
can expand the error back to its source---something which may simplify
839
[Internals] Major overhaul of C/C++ scanning implementation. For quite
840
some time, SWIG contained two completely independent C/C++ tokenizers--
841
the legacy scanner in CParse/cscanner.c and a general purpose scanner
842
in Swig/scanner.c. SWIG still has two scanning modules, but the C parser
843
scanner (CParse/cscanner.c) now relies upon the general purpose
844
scanner found in Swig/scanner.c. As a result, it is much smaller and
845
less complicated. This change also makes it possible to maintain all
846
of the low-level C tokenizing in one central location instead of two
849
***POTENTIAL FLAKINESS***
850
This change may cause problems with accurate line number reporting
851
as well as error reporting more generally. I have tried to resolve this
852
as much as possible, but there might be some corner cases.
855
[Lua] Added typemap throws for std::string*, typemap for SWIGTYPE DYNAMIC,
856
changed the existing throws typemap to throw a string instead of making a copy of
857
the object (updating a few test cases to deal with the change).
858
fixed test case: dynamic_casts, exception_partial_info, li_std_string, size_t
861
[Internals]. Use of swigkeys.c/.h variables is revoked. Please use
862
simple strings for attribute names.
865
Internal API functions HashGetAttr() and HashCheckAttr() have been revoked.
866
Please use Getattr() to retrieve attributes. The function Checkattr() can
867
be used to check attributes. Note: These functions have been revoked
868
because they only added a marginal performance improvement at the expense
872
[Lua] Added more STL (more exceptions, map, size_t),
873
fixed test case: conversion_ns_template.
876
[Lua] Update to throw errors when setting immutables,
877
and allowing user addition of module variables.
880
Fix typedef'd variable wrappers that use %naturalvar, eg, std::string.
883
[C#] Add std::wstring and wchar_t typemaps
886
[php] Fix bug #1613673 (bad PHP5 code generated for getters and
889
12/02/2006: wsfulton, John Lenz, Dave Beazley
890
Move from cvs to Subversion for source control
893
Cleaned up swigwarnings.swg file not to use nested macro
897
[Java, C#] Fix for %extend to work for static member variables.
899
Version 1.3.31 (November 20, 2006)
900
==================================
902
11/12/2006: Luigi Ballabio
903
[Python] Alternate fix for Python exceptions bug #1578346 (the previous one broke Python
904
properties in modern classes)
907
-fakeversion commandline option now generates the fake version into the generated wrappers
908
as well as displaying it when the -version commandline option is used.
911
[lua] update to typemap for object by value, to make it c89 compliant
5
913
Version 1.3.30 (November 13, 2006)
6
914
=================================