William S Fulton
bd46f03b6f
Fix #2746858 - C macro expression using floating point numbers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-09 17:51:59 +00:00
Olly Betts
64843143f1
The default out typemap for char[ANY] now returns up to a zero byte, or the end
...
of the array if there is no zero byte. This is the same as Python does, and seems
more generally useful than the previous behaviour of returning the whole
contents of the array including any zero bytes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-30 02:22:14 +00:00
Olly Betts
c05ddc9d14
check::equal() now reports the values if they aren't equal.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-30 02:01:12 +00:00
Olly Betts
ed4d6ddec1
Some distros (e.g. frugalware) build PHP with --enable-safe-mode, so as we need
...
to explicitly disable it to avoid the testsuite failing with:
Warning: dl(): Dynamically loaded extensions aren't allowed when running in Safe Mode
Patch from Miklos Vajna.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-29 23:38:19 +00:00
William S Fulton
48203afbd0
invoke using swig.exe instead of just swig in Visual Studio project files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:54:43 +00:00
William S Fulton
65f79a952c
Apply small documentation fix - patch #2579863
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:40:39 +00:00
Haoyu Bai
0c5979a8d8
Fix problem caused by thread not properly terminated in director_thread test. This was cause crash in Python 3
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-19 16:56:01 +00:00
William S Fulton
6975ecd65c
std::vector<T> wrapper improvements for .NET 2 implementing IEnumerable<T>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-18 23:30:57 +00:00
Haoyu Bai
caa6f2b9fa
Fixes to support Python 3.0.1 and higher.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-02 17:56:29 +00:00
William S Fulton
1f69806cbb
Fix seg fault wrapping some constant variable (%constant) types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-21 00:56:41 +00:00
William S Fulton
efa11dee52
add new %begin directive for inserting code at top of wrapper file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-20 07:52:24 +00:00
William S Fulton
a1933f7bbc
Fix make partialcheck-ocaml-test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 20:08:57 +00:00
William S Fulton
fc33c676b4
Fix make partialcheck-mzscheme-test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 19:02:04 +00:00
William S Fulton
b590c515f7
typemap_namespace.i fix for mzscheme
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 18:54:56 +00:00
William S Fulton
589eb8e509
Add %attributeval and %attributestring to attribute.swg library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-13 22:42:45 +00:00
William S Fulton
30d73c82cd
Fix %feature not working for conversion operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-08 22:30:10 +00:00
Robert Stone
6574067b72
Fix SF#2564192
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-05 15:47:42 +00:00
Haoyu Bai
afd67f8c67
Fix SF#2552488: indentation adjust of %pythonappend and %pythonprepend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 14:37:54 +00:00
Haoyu Bai
be7fdab62e
Fix SF#2552048. Remove the 'self' parameter in Python proxy code for static member function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 13:38:39 +00:00
William S Fulton
22e4cb8e52
Fix classLookup and enumLookup when the global scope operator is used on objects passed by value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-28 18:45:13 +00:00
William S Fulton
d029d0a627
Fix compilation error when using directors on protected virtual overloaded methods reported by Sam Hendley.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 07:09:27 +00:00
Mark Gossage
e604e46b17
[Lua] Added contract support for requiring that unsigned numbers are >=0
...
Rewrote much of Examples/Lua/embed3.
Added a lot of to the Lua documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 01:42:25 +00:00
William S Fulton
c07efac296
Fix union.i module name and rename to union_parameter.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 11:42:27 +00:00
Joseph Wang
88e60d75c9
fix change to make compatible with integer framework
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 08:54:36 +00:00
Joseph Wang
2854ceef44
Add regression tests for R
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 07:41:38 +00:00
William S Fulton
ecdd24a508
yet better pointer string comparison
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 21:37:54 +00:00
William S Fulton
3d8f569466
another portability fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 21:32:42 +00:00
William S Fulton
cca31dde4f
more portable pointer in a string comparison
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 17:57:21 +00:00
Joseph Wang
98f992e704
add regression test for integers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 23:30:10 +00:00
William S Fulton
b91631c130
Patch #1992756 from Colin McDonald - %contract not working for classes in namespace
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 01:15:03 +00:00
Xavier Delacour
b6e44f2427
Octave: add {save,load}_{ascii,binary,hdf} functions that silently do nothing;
...
give default operator mappings a more conventional suffix;
fix test li_std_string_extra.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 00:20:46 +00:00
William S Fulton
9c53670fed
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-09 22:19:06 +00:00
William S Fulton
95ccff6952
fix cast of pointer to long
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 19:46:38 +00:00
William S Fulton
ed0ae261bf
fix cast of pointer to long
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 19:35:13 +00:00
William S Fulton
a1fdbfd282
missing function declaration fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 19:12:24 +00:00
William S Fulton
f9c640cd11
fix up namespaces so that boost, std or std::tr1 can be used for shared_ptr/intrusive_ptr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-05 17:19:32 +00:00
William S Fulton
f70f2760e3
compile fix on Cygwin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-03 01:59:42 +00:00
William S Fulton
aa9bb3e316
re-order configure.in into sections for users and developers and requirements for the examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-31 01:02:16 +00:00
William S Fulton
8c71c0bf21
explicit type warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 11:42:52 +00:00
William S Fulton
2064dff1ef
fix for new SWIGCSHARP defn in wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 11:02:59 +00:00
William S Fulton
0f89bff13a
Compiler warning fix in Perl out typemap for std::vector
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 00:11:51 +00:00
William S Fulton
9db99bfb3e
comment correction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:36:21 +00:00
William S Fulton
fa2289e4c3
li_intrusive_ptr test - commented out as not fully working
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:35:22 +00:00
William S Fulton
62472ba466
Add boost::intrusive_ptr wrappers from Mike Rowbotham
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:32:44 +00:00
William S Fulton
8ed7554802
overlooked build system mods now implemented to remove warning 125
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 23:42:39 +00:00
William S Fulton
e9867c661a
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 19:20:54 +00:00
William S Fulton
816cfdb724
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 19:17:16 +00:00
William S Fulton
e6f5cdac9f
Fix #2153773 - %nojavaexception - disabling and clearing Java checked exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-23 07:44:59 +00:00
William S Fulton
4b79eb9219
Apply patch from Kalyanov Dmitry which fixes parsing of nested structs containing comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-12 21:31:21 +00:00
William S Fulton
06b2eca75e
remove last vestiges of php4 and encourage use of -php rather than -php5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 23:15:20 +00:00