David Nadlinger
e2b2f26bf6
[D] Use stdc.config.c_long/c_ulong to represent C long types.
...
Previously, C's long/ulong types would always be mapped to 32 bit integers in D, which is wrong on D_LP64, but was not really a problem in practice since DMD used to be 32 bit only.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:48:01 +00:00
David Nadlinger
5e5d1e2775
[D] Test case fix: IntVector holds ints, not size_t.
...
Also changed for() to foreach() for better style.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:47:39 +00:00
David Nadlinger
3d82a7a185
[D] Test case fix: Aliases now required for non-overridden base class overloads.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:47:26 +00:00
David Nadlinger
388484bb77
[D] Improved allprotected test case error messages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:47:12 +00:00
David Nadlinger
3da8d17ca8
[D] Do not default to 32 bit glue code for DMD anymore.
...
DMD now has x86_64 support on Linux, OS X and BSD.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:46:58 +00:00
David Nadlinger
730e14077d
[D] Fix exception glue code for newer DMD 2 versions.
...
Thanks to Andrej Mitrovic for reporting.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-03 19:46:46 +00:00
Stefan Zager
bdc9b61dc2
Fix for bug 3447426: memory leak in vector.__getitem__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-01 20:59:19 +00:00
William S Fulton
9dda4dd3fd
Lua documentation patch on %newobject from Thomas Pollak
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-01 20:30:21 +00:00
William S Fulton
ff8ba43ff6
R tidy up removing C++ comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-30 20:09:46 +00:00
Olly Betts
83cc1f6a3e
[Python] Fix some warnings when compiling generated wrappers with
...
certain GCC warning options (Debian bug #650246 ).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-29 05:31:37 +00:00
Olly Betts
91888c01ec
Fix comment typo in William's recent change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-29 05:20:45 +00:00
William S Fulton
de8cd39929
Fix #3433541 %typemap(in, numinputs=0) with 10+ arguments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 19:46:37 +00:00
William S Fulton
6d922f2ddd
Fix #3433541 %typemap(in, numinputs=0) with 10+ arguments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 19:35:44 +00:00
Olly Betts
5e4c27cdfd
[Perl] Fix warnings when compiling generated wrappers with certain
...
GCC warning options (Debian bug #436711 ).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 06:56:16 +00:00
William S Fulton
cc85a98f73
Remove duplicate macros when using -external-runtime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 06:38:46 +00:00
Olly Betts
5b8ca942ad
This is a minor portability fix - isdigit() (and friends) are only portably defined for unsigned char values (though glibc extends them to work for signed char too) so this fixes this code to handle top bit set characters on non-glibc platforms where char is signed by default.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 04:08:25 +00:00
Olly Betts
ee474ece0e
Update keyword list to include keywords add in PHP releases up to 5.3.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-28 04:07:44 +00:00
William S Fulton
6e56d87471
Fix inconsistencies in Java and C# getCPtr() and pointer constructor visibility - change to protected/internal from public. Add SWIG_JAVABODY_PROXY, SWIG_JAVABODY_TYPEWRAPPER and SWIG_CSBODY_PROXY, SWIG_CSBODY_TYPEWRAPPER for users to easily change when using multiple modules.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-25 21:20:47 +00:00
William S Fulton
6a74028e65
Fix inconsistencies in Java and C# getCPtr() and pointer constructor visibility - change to protected/internal from public. Add SWIG_JAVABODY_PROXY, SWIG_JAVABODY_TYPEWRAPPER and SWIG_CSBODY_PROXY, SWIG_CSBODY_TYPEWRAPPER for users to easily change when using multiple modules.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-25 20:56:56 +00:00
Stefan Zager
959fdf2053
Bug 3440044
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-23 06:34:02 +00:00
William S Fulton
3aafb96325
Bug fix: Remove root directory from directory search list in Windows.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-18 07:03:49 +00:00
William S Fulton
6cedddb2c1
Fix platform SWIG is built for shown in -version and correct the detection of the unix like platforms (build) on Windows for which an extra swig library should be added.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-17 20:30:33 +00:00
William S Fulton
931c331f9f
Remove non ascii characters from docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-16 07:56:34 +00:00
William S Fulton
3b446d75c1
Correct patch submitter's name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-14 20:06:21 +00:00
William S Fulton
f13d958214
same class name in different namespaces confusion when using multiple modules.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-13 17:08:15 +00:00
William S Fulton
498e564e84
Fix pcre-build.sh to work with non-compressed tarballs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-12 00:10:40 +00:00
Stefan Zager
2bf6de71b8
bug 3429388: python unsigned integer handling on 32-bit architectures.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-05 03:35:03 +00:00
William S Fulton
e00bbdc591
Add docs on special variable expansion in typemap warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-04 19:51:17 +00:00
William S Fulton
bb3528c480
Expand special variables in typemap warnings - rework implementation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-03 20:31:35 +00:00
William S Fulton
3c1ca906ac
Expand special variables in typemap warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-03 19:41:09 +00:00
William S Fulton
0463a49df5
Fix named output typemaps not being used when the symbol uses a qualifier and contains a number
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-01 23:06:53 +00:00
William S Fulton
24133bacd7
Remove numerous hard coded 'result' variable name in generated c/c++ wrappers. The variable name is now defined in just one place, making it possible to change the name easily if a target language so wishes - see cwrap.c.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-30 21:51:50 +00:00
William S Fulton
d1dc016b68
Fix test case so it doesn't clash with the real size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-25 06:53:07 +00:00
Robert Stone
fb9750698f
mainly for SF bug #3423119
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-24 20:31:06 +00:00
William S Fulton
17c5f881ee
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-19 20:41:24 +00:00
William S Fulton
fbd6d780b7
Remove unnecessary Identifier redefined warning when a using statement redefines a symbol. Behaviour is now like a duplicate typedef of the same symbol.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-14 23:37:16 +00:00
Xavier Delacour
da82c2fef7
fix date in last commit changelog
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-13 23:51:37 +00:00
Xavier Delacour
f8774be92d
Allow Octave modules to be re-loaded after a "clear all" (thanks to Karl Wette; SF 3418908)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-13 23:48:28 +00:00
William S Fulton
690185fe85
Correct docs on javainterfaces typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-09 17:52:08 +00:00
William S Fulton
5923117e81
HTML cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-24 14:01:20 +00:00
William S Fulton
2587e92ba9
Add eLua documentation patch from patch 3408012.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-24 13:59:54 +00:00
William S Fulton
fa8915ef5f
Fix regression introduced in swig-2.0.1 (r12157) leading to uncompilable code when using typedef and function pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-19 20:54:39 +00:00
William S Fulton
91d22324e7
Add support for eLua including options for Lua Tiny RAM (LTR)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-16 22:53:35 +00:00
William S Fulton
2aeed2fd48
Add missing intrusive_ptr csvarout typemaps for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 22:35:14 +00:00
William S Fulton
b00aafcad0
Add boost_intrusive_ptr.i library contribution from #3401571 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 19:01:23 +00:00
William S Fulton
c03ae50a0f
Add boost_intrusive_ptr.i library contribution from #3401571 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 19:00:49 +00:00
William S Fulton
4c6f66577a
Add warnings for badly named destructors. Fix %extend and destructors for templates - they weren't always being wrapped. Fix destructor "name" attribute.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 06:15:29 +00:00
Robert Stone
7d359b7895
Fix for SF bug #1481958 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-11 01:04:29 +00:00
William S Fulton
a141af9574
Fix regression introduced in r12784 where SWIG accepts a non standard constructor and destructor name in %extend, where the typedef name is used as the constructor/destructor name.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-08 18:19:45 +00:00
William S Fulton
2fd6b5367d
Fix %extend on typedef classes in a namespace using the typedef name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-08 18:18:33 +00:00