William S Fulton
8e89cad271
Bump version to 2.0.11
2013-05-27 20:27:50 +01:00
William S Fulton
1524d02e13
Add swig-2.0.10 release date and release notes
2013-05-27 19:24:04 +01:00
William S Fulton
5481270c2a
Fix Python 3 inconsistency handling -ve numbers for unsigned C types.
...
An OverFlow error is now consistently thrown instead of a TypeError.
Fixes primitive_types testcase for Python 3
2013-05-25 10:36:14 +01:00
Artem Serebriyskiy
3e188e508d
Add test case for attributes with moderately complex templates
...
* New test case tests that %attribute macros correctly supports passing
template with multiple parameters as class name or attribute type name
* Some further changes were made to %attribute macros - now
AttributeType is protected with %arg as well. This allows you
to have attributes of type e.g. std::pair<int,int> etc
Update CHANGES file for %attribute template fixes
Closes #48
2013-05-25 00:44:36 +01:00
William S Fulton
149972542e
Add note on ccache-swig internal error bug due to premature file cleanup to changes file
2013-05-19 01:16:23 +01:00
Karl Wette
d7839ce570
Update changelog for the previous two Octave patches
2013-05-12 17:32:09 +01:00
William S Fulton
ae1c395917
Guile tweak in CHANGES.current
2013-04-30 07:28:29 +01:00
Geert Janssens
17a5635385
Add summary of recent guile updates in changelog
2013-04-29 12:30:39 +02:00
William S Fulton
439a353a36
Document patch #33 from previous commit and complete run time tests
2013-04-18 23:20:48 +01:00
William S Fulton
857e447654
Fix syntax error when preprocessor macros are defined inside of enum lists
...
Fixes SF Bug 428, Patch 333
2013-04-18 22:48:42 +01:00
Karl Wette
2a3e687c19
Octave: fix bugs in output of cleanup code
...
Closes #35
2013-04-17 22:23:27 +01:00
William S Fulton
296498c159
Cosmetic tidyup in smartptr feature code and document smartptr fix in previous commit
2013-04-17 21:56:23 +01:00
Karl Wette
611acbf944
Add -MP option for generating phony targets for all dependencies
...
- Modelled on similar option in GCC
2013-04-15 22:17:48 +02:00
Olly Betts
939fa86627
[PHP] Add missing directorin typemap for char* and char[] which
...
fixes director_string testcase failure.
2013-04-09 14:35:14 +12:00
William S Fulton
5d529d5a76
Ruby 1.9 fixes.
...
SF Bug#1292 - Runtime fixes for Proc changes in ruby-1.9 when using STL wrappers that override the default predicate, such as:
%template(Map) std::map<swig::LANGUAGE_OBJ, swig::LANGUAGE_OBJ, swig::BinaryPredicate<> >;
Fixes li_std_functors testcases for Ruby 1.9.
Also rb_respond_to return values have changed subtely in 1.9 and return should be treated as a flag instead of checking for Qtrue, see SF Bug #1159 .
Also fix li_std_map, li_std_set silently failing - rb_protect behaviour seems to have changed when an exception is thrown, so code has been changed to use rb_rescue. A call to 'rb_set_errinfo(Qnil)' could have solved this after the rb_protect call, but it is only available in 1.9+ and Ruby API changes are not easily and transparently detectable.
2013-04-05 23:41:59 +01:00
William S Fulton
9aaf4ad03c
Fixes for Ruby 1.9 std::complex wrappers.
...
New native Ruby complex numbers are used.
2013-04-02 20:14:51 +01:00
William S Fulton
e13e1cba9e
Fix seg fault when using STL containers of generic Ruby types, GC_VALUE or LANGUAGE_OBJECT, on exit of the Ruby interpreter. Observed on 64 bit Linux in the std_li_set testcase. The global hash which is meant to hold GC references was being deleted by the interpreter on exit before the GC_VALUES destructors were being called.
2013-03-31 00:55:34 +00:00
William S Fulton
f42ac989a7
Add note about Python STL fixes
2013-03-29 09:20:17 +00:00
William S Fulton
2e0d1b12dc
Fix delete_if (reject!) for the STL container wrappers.
...
Previously they would sometimes seg fault or not work.
2013-03-29 06:28:15 +00:00
William S Fulton
e182b4844c
Fix seg fault in SWIG using directors when class and virtual method names are the same except being in different namespaces when the %nspace feature is not being used.
2013-03-19 19:50:44 +00:00
Karl Wette
52c754a22d
Minor fix to Octave autodoc generation for functions returning structs
...
Patch #27
- see also git commit 72ffdb930d
2013-03-09 00:10:41 +00:00
Karl Wette
ee2b46abe0
Fix SWIG's handling of qualified (e.g. const) variables of array type
2013-02-19 20:05:46 +00:00
William S Fulton
2435b98a24
Tweak to changes note
2013-02-18 22:39:48 +00:00
Karl Wette
70cd52f44d
Use "(void)" instead of "()" when wrapping no-argument extension functions.
2013-02-18 22:39:39 +00:00
William S Fulton
b80f4dc5e2
Restrict the name used in %extend to be just the struct/class name and not a typedef to a class/struct. Typedefs were only partially working anyway. Anonymous struct typedefs excluded. Deprecate with a warning for now.
2013-02-18 19:53:37 +00:00
tpapp
054f9dba1a
CFFI - Fix missing package before &body - patch #22
...
Should fix https://github.com/swig/swig/issues/21 .
2013-02-09 17:23:16 +00:00
William S Fulton
397409fbb1
Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5
2013-01-30 22:18:13 +00:00
William S Fulton
d172e3d0ed
Apply patch SF #334 - Fix Python default value conversions TRUE->True, FALSE->False.
2013-01-29 07:31:11 +00:00
William S Fulton
38f37ef5ae
Apply patch SF #335 - Truly ignore constructors in directors with %ignore and correct testcase that tests this
2013-01-29 06:55:22 +00:00
William S Fulton
bd3e93ae61
Tidy up last few commits for Java new jniclasspackage pragma
2013-01-19 00:58:56 +00:00
William S Fulton
78cd350fe9
Fix Visual Studio examples to work when SWIG is unzipped into a directory containing spaces.
2013-01-15 07:18:20 +00:00
William S Fulton
0e6af5c0ea
Fix cstype typemap lookup for member variables so that a fully qualified variable name matches
2013-01-15 06:45:47 +00:00
William S Fulton
7408332eb5
Add notes on SF Bug #1299 - nspace and class name collisions
2013-01-11 23:46:32 +00:00
William S Fulton
a1c3e54ab4
Improvements to documentation for csdirectorin 'pre', 'post' and 'terminator' support.
2013-01-11 22:18:35 +00:00
Olly Betts
0dd11cdd8d
Fix to work with a ZTS build of PHP (broken in 2.0.7)
2013-01-08 18:33:47 +13:00
Olly Betts
cec9faf688
Fix bashism in configure, introduced in 2.0.9.
2013-01-07 16:47:32 +13:00
William S Fulton
0207a9b24f
Add CHANGES note for virtual destructor in templates bug in prev commit
2013-01-06 01:49:25 +00:00
William S Fulton
41ddc7b240
Add change notes for last commit
2013-01-05 19:31:10 +00:00
William S Fulton
078daa5b57
Change note updates for last two pull requests
2013-01-04 20:35:43 +00:00
William S Fulton
3e2c6bb03d
director_nspace fixes for C# for previous commit
2013-01-03 20:49:10 +00:00
William S Fulton
382326bfbc
Bump version to 2.0.10
2013-01-03 07:17:19 +00:00
William S Fulton
ac75e4ae53
2.0.9 release notes and date
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-16 14:39:37 +00:00
William S Fulton
093dc60d2d
Fix garbage line number and empty file name reporting for some '}' or ')' error messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-16 13:56:50 +00:00
Klaus Kämpf
94fb7629f4
Apply patch 3530444
...
Class#methods and Class#constants returns array of symbols
from Ruby 1.9 on
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 16:16:40 +00:00
Klaus Kämpf
23771ef027
Ruby: Replace all occurences of STR2CSTR macro with calls to StringValuePtr
...
STR2CSTR was deprecated in Ruby since years and got finally removed
in Ruby 1.9
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 15:48:31 +00:00
Klaus Kämpf
5a2f1139c3
document Ruby fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 14:13:12 +00:00
William S Fulton
04b60a1508
CFFI - Fix some string constants are incorrect
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 08:00:22 +00:00
William S Fulton
1ab67f5bed
Fix CFFI incorrect constant names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 07:38:44 +00:00
Joseph Wang
600b598f67
fix current changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-12 12:42:42 +00:00
William S Fulton
4c1b566f62
Fix fully qualified package paths for Python 3 even if a module is in the same package
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-11 18:42:58 +00:00