Commit graph

13,420 commits

Author SHA1 Message Date
William S Fulton
225dfd52aa more portable use of tail in java header file detection
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-09 22:33:00 +00:00
Olly Betts
9abc24813b Fix --help output to note that `export SWIG_FEATURES' is required.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-09 08:59:44 +00:00
William S Fulton
7b40c8123e minor improvements in usage display
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:42:59 +00:00
William S Fulton
6fb54c3f63 R improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:41:59 +00:00
William S Fulton
1b908b175e Fix uninitialised variables, generation of illegal C variable names and seg fault on Windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:41:25 +00:00
William S Fulton
6e9058cbeb Make examples cross platform
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:40:24 +00:00
William S Fulton
a313ca2c43 Better clean for R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:39:45 +00:00
William S Fulton
f1169562ec string handling mods to keep gcc-4.2 happy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-04 20:36:23 +00:00
William S Fulton
79eea19382 string handling mods to keep gcc-4.2 happy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-04 20:35:59 +00:00
William S Fulton
22be676b23 Minor error message and exit number tweaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-04 20:34:50 +00:00
William S Fulton
21192f900c Find Lua headers on Ubuntu - detection is still not 100% as the runtime library cannot be found
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-04 20:33:53 +00:00
Olly Betts
7d00ba5a00 Add Kevin Ruland as a major contributor.
Mention the memory leak fix for PHP wrapping C++ object as that's an important
reason why a user might want to upgrade.
Remove duplicate "Perl" in list of languages with changes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-03 21:42:06 +00:00
William S Fulton
543c4c0454 minor tweaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-01 22:45:15 +00:00
William S Fulton
e277c16a40 a single script to make the source tarball and windows release and upload to sourceforge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-01 22:28:16 +00:00
William S Fulton
389576b755 add support for building native windows executable on cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-01 22:02:20 +00:00
William S Fulton
e463bbab4f Add support for cross compilation of Windows build from Linux
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 23:42:02 +00:00
William S Fulton
b9fdc908db correct module name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 22:26:18 +00:00
William S Fulton
97131ec706 1.3.32 update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 22:25:25 +00:00
William S Fulton
033a018ee0 1.3.32 update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 22:21:47 +00:00
William S Fulton
ed2bc825bd minor member pointer fixes for last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 22:21:19 +00:00
Mark Gossage
0c2bbb25a3 [lua] fixed bug in template classes which cases template_default2 and template_specialization_defarg to fail.
Added several warning filters into the overload's test cases.
Added runtime tests for several codes.
You can now make check-lua-test-suite with no errors and only a few warnings.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 06:10:04 +00:00
Olly Betts
70759b3e16 [guile] Fix the configure test to put GUILELINK in LIBS not LDFLAGS
(SF#1822430).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 01:20:45 +00:00
Olly Betts
97ce2ae61a [guile] Fix the guile examples on 64-bit platforms.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 01:08:24 +00:00
William S Fulton
3acd5c2d94 Fix member pointers on 64 bit platforms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 23:07:01 +00:00
William S Fulton
a66071a8c7 64 bit portability fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 22:28:55 +00:00
Gonzalo Garramuno
f2f29c9ba5 Moved the std::pair< iterator, bool > typemap to std_set.i
where it belongs.
This solves the problem with swig conflicts (at least for now).



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 22:12:56 +00:00
Gonzalo Garramuno
169a953991 Added fix for std::pair< iterator, bool >.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 16:39:05 +00:00
John Lenz
b8629b298c Fix list_vector.i in the guilescm test suite to work on amd64
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 02:12:13 +00:00
Olly Betts
cc879f7c29 [lua] Fix swig_lua_class instances to be static to allow multiple
SWIG wrappers to be compiled into the same executable statically.
Patch from Andreas Fredriksson (posted to the swig mailing list).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 00:02:20 +00:00
Olly Betts
df8b78dbea [lua] Fix Examples/lua to pass SRCS for C tests rather than CXXSRCS.
The code as it was happened to work on x86, but broke on x86_64 (and
probably any other platforms which require -fPIC).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:55:26 +00:00
Olly Betts
5e52a02a0c Remove a stray ";"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:54:15 +00:00
William S Fulton
0dc7009bac parallel build fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:41:07 +00:00
William S Fulton
b6f9def156 New templated method SwigValueInit to initialise all types - used initially for return types in director methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:07:46 +00:00
William S Fulton
421eb7ae60 New templated method SwigValueInit to initialise all types - used initially for return types in director methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:07:33 +00:00
William S Fulton
08a45afc1b Correct methods that were not as per the standard
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 22:33:20 +00:00
William S Fulton
b772aa2e24 test exception_partial_info only in Java and C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 21:36:43 +00:00
William S Fulton
f14901c620 Suppress SWIG warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 21:33:15 +00:00
Joseph Wang
3b9574953c Fix so that it works for 2.6 and 2.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 18:21:44 +00:00
William S Fulton
c5fae8d592 Use more efficient SvPV_nolen(x) instead of SvPV(x,PL_na)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 16:52:49 +00:00
William S Fulton
0d7175fa1c modify unsigned long long test to use strings as this is portable across all builds of Perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 16:43:28 +00:00
Gonzalo Garramuno
c568d170dc Added an additional fix to std_set to handle erase
properly (sigh).
Fixed a comment in rubyiterators.swg.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-27 21:58:36 +00:00
Gonzalo Garramuno
7bc4e56614 Added new typemap and function to turn a
std::set<T>::iterator and std::multiset<T>::iterator
into a ruby const iterator so that the key value
cannot be changed.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-27 21:41:22 +00:00
John Lenz
4ace915a56 Chicken test suite now runs with no errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 23:08:34 +00:00
William S Fulton
c6b4403b40 remove dead code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 10:22:40 +00:00
Joseph Wang
bc801e662a Make this work with multi tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 09:36:46 +00:00
Joseph Wang
53c972ddf1 Revert back for R 2.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 01:20:01 +00:00
Joseph Wang
47b3c8e8fb Change to fit 2.5.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 01:16:31 +00:00
William S Fulton
69f7d011c0 add missing class declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 01:01:25 +00:00
William S Fulton
145c1f42b8 Fix invalid C
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 00:40:18 +00:00
William S Fulton
c01ba3666c more signed / unsigned mismatch fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 00:31:01 +00:00