Commit graph

14,030 commits

Author SHA1 Message Date
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
4b5c817793 Fix integer handling in r. unsigned values where getting handled
incorrected as reals leading to crashes


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 00:08:37 +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
Xavier Delacour
0b837574b0 Octave: fix carrays regression caused by operator suffix change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 02:17:58 +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
6336977350 Fix octave test allprotected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 00:29:37 +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
Xavier Delacour
8b857aa9c1 Fix octave tests li_std_pair_extra, arrays_global, grouping, struct_value, unions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-09 23:38:14 +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
3f03858862 minor formatting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 23:29:33 +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
e2679a6fd3 correct return type for PyUnicode_GetSize
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 19:20:51 +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
2e68619a9f add some missing stats and logging
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 17:52:15 +00:00
William S Fulton
c577ac1a31 Rename embedded smart pointer in SwigValueWrapper in order to avoid conflicts with the template type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 21:10:46 +00:00
William S Fulton
f94edcd855 Fix spaces in CCACHE_DIR and probably other places
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 16:54:54 +00:00
William S Fulton
a80aa441aa reorder new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 11:24:07 +00:00
William S Fulton
e3f63c33f3 remove unnecessary logging on Win32 builds
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 10:36:00 +00:00
William S Fulton
7c81201d28 Fix lack of error logging in some situations and fix failure to work on windows when swig is a pure Win32 (non-cygwin) compile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 02:26:34 +00:00
William S Fulton
e65ea56530 Fix error display when there is a problem with CCACHE_OUTFILES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 00:50:06 +00:00
William S Fulton
46e1ecd2d9 log internal error wrt CCACHE_OUTFILES env variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 00:45:04 +00:00
William S Fulton
ecd75a5c48 Fix CCACHE_STRIPC being set when using swig as the compiler.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-06 18:13:57 +00:00
Olly Betts
79f7900968 Mark SWIGPERL5, SWIGPHP5, and SWIGTCL8 as deprecated in the source
code and remove documentation of them.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-05 22:40:07 +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
1e89a662f3 put tagging back in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-31 01:11:37 +00:00
William S Fulton
30f6b83d12 better #! for finding python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-31 01:10:49 +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
be5c8146c6 fix ccache-swig man page generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 23:50:32 +00:00
William S Fulton
13c981d992 missing yodl2man should not break the configure stage for users as it is not required as the man pages are shipped with the release tarball
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 23:33:35 +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
6d564eb55d remove duplicate SWIGR macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 10:46:41 +00:00
William S Fulton
7aa0e29bd9 getting ready for 1.3.37 release candidate
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 01:14:14 +00:00
William S Fulton
5ec2d8c166 All languages now define a macro in the generated C/C++ wrapper file indicating which language is being wrapped, eg #define SWIGJAVA
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 00:38:34 +00:00
William S Fulton
d2f69e6a34 add missing language specific preprocessor define where missing for some languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 23:56:03 +00:00
William S Fulton
cc522323d7 create a common banner header for all target language specific files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 22:56:25 +00:00
Joseph Wang
67e2785cb7 change as(...,"integer") to as.integer to force conversion into integers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 22:25:55 +00:00
Joseph Wang
68710cf9d0 allow for compilation with bison 2.4 which is more restrictive about $$
symbols than 2.3


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 22:06:50 +00:00
Joseph Wang
a9749f3cd7 check for yodl package
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 07:05:21 +00:00
William S Fulton
b054bd4129 couple of minor Perl fixes from Ling Li
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 00:13:19 +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
e4c4dedc82 SwigValueWrapper - remove two constructors which are not required by the code SWIG generates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:16:31 +00:00