Commit graph

13,725 commits

Author SHA1 Message Date
Joseph Wang
94420124f5 Add change entry from R fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 02:30:17 +00:00
Joseph Wang
43a6695de0 Fix problem that was causing breakage in pre-2.7 R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 02:26:01 +00:00
William S Fulton
7d4916b938 fix macro clash with %mangle in swigmacros.swig so that test can run in c++ mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 21:06:13 +00:00
Olly Betts
b094149eb8 Fix more comment typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 20:36:00 +00:00
Olly Betts
c2b682390f Fix a few typos.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 20:23:50 +00:00
William S Fulton
dfcb1640bf Remove old swig-1.1 Swig_typemap_lookup function. Rename Swig_typemap_lookup_new() to Swig_typemap_lookup()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-15 21:18:44 +00:00
William S Fulton
adad42f095 Fix variable name clash in directors - SF #1963316
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-15 21:16:48 +00:00
William S Fulton
336b50b43d Add the optimal attribute to the out typemap for more optimal code generation when returning objects by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:12:31 +00:00
William S Fulton
ed0e1c7d90 minor formatting change - copying the python version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:10:31 +00:00
William S Fulton
b18861a374 Correct checked exceptions specified in the throws typemap for javadirectorin and javadirectorout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:09:08 +00:00
Olly Betts
20954f9bdc Fix comment and documentation typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 14:53:10 +00:00
Olly Betts
d9c058a0fe Remove unused variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 21:41:09 +00:00
Olly Betts
8652d3bd70 And remove a line I added to track down the abstract problem!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 21:23:51 +00:00
Olly Betts
8eadd0eac6 Use GetFlag not Getattr on feature:notabstract
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 21:22:58 +00:00
Olly Betts
44a9ae4438 [PHP] Check for %feature("notabstract") when generating PHP5 class wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 21:17:22 +00:00
William S Fulton
528ea7a313 Fix SF #1943608 - substitution in %contract.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 20:25:12 +00:00
William S Fulton
05a57239d0 Warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 23:40:47 +00:00
Olly Betts
182debe39a Fix case of more class checks.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 17:56:45 +00:00
Olly Betts
32db1a5eb8 Fix comment typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 17:01:42 +00:00
Olly Betts
cdda73830b Fix case of class names in more check::classes() calls.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 17:01:16 +00:00
Olly Betts
4bbd68181f [PHP] Fix char * typemaps to work when applied to signed char * and
unsigned char * (uncovered by testcase apply_strings).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 11:01:09 +00:00
William S Fulton
0df0a87981 rename package testcase to packageoption as package is a Java keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 10:36:35 +00:00
Olly Betts
9128626a71 Quote $builddir and @srcdir@ to protect from the shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 10:30:31 +00:00
William S Fulton
efa0db04c6 Fix wrapping of char * member variables (or any types with a memberin typemap) when using allprotected mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 21:41:46 +00:00
Olly Betts
d967ef74bd Fix testsuite checks to match PHP5 wrapping.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 12:46:40 +00:00
Olly Betts
49fd22d97d [PHP] Fix bad PHP code generated when wrapping an enum in a
namespace (uncovered by testcase arrays_scope).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 12:29:07 +00:00
Olly Betts
136f2c7041 SWIG now runs the PHP testsuite using PHP5, not PHP4. PHP4 is
essentially obsolete now, so we care much more about solid PHP5
support.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 11:26:37 +00:00
Xavier Delacour
1f38f3db67 Minor fixes:
Fix crashing bug when compiling with MSVC.
Fix print of packed type of void*.
Have namespaces always invoke members as statics/globals.
Make SWIG_init_user function static.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-08 23:56:40 +00:00
Joseph Wang
ebf910f755 remove numerical conversion in corecions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-08 02:39:52 +00:00
William S Fulton
da8791792b STL fixes when using %import rather than %include and the Solaris Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-07 21:33:19 +00:00
William S Fulton
b0ecf14e31 Fix wrapping of overloaded protected methods when using allprotected mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-07 20:59:00 +00:00
William S Fulton
90179b787f Add patch #1956607 -MT support for changing the makefile target name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-03 11:38:48 +00:00
Olly Betts
df6e396df4 Fix the "rebuild the build system" rule to work in a VPATH build.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-02 18:18:02 +00:00
William S Fulton
46a0db50fe enforce consistency in wrap:action wrt line spacing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-01 21:47:23 +00:00
William S Fulton
d67d79e0dc shadow->proxy change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-01 21:42:38 +00:00
Robert Stone
8b713d759d several testcases for perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-30 21:02:46 +00:00
Mark Gossage
ef7c0cbbd2 [Lua] Removed generation of _wrap_delete_XXXXX (wrappered destructor) which was unused and causing warning with g++ -Wall.
Removed other unused warning in typemaps.i and other places.
Added Examples/lua/embed3, and run tests a few test cases.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-30 00:17:53 +00:00
William S Fulton
a413b4a367 minor tweak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 22:12:27 +00:00
William S Fulton
e0889b6121 shadow->proxy terminology update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 21:53:22 +00:00
William S Fulton
33e41c1070 shadow->proxy terminology update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 18:10:30 +00:00
William S Fulton
76eaea911b shadow->proxy terminlogy update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 18:01:45 +00:00
Joseph Wang
41220df85b Fixes problems people have been having with vector/matrix arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-27 18:26:07 +00:00
Joseph Wang
5993327dc0 remove numeric coercion which seems to be unnecessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 19:40:07 +00:00
Jason Stewart
bea5f1d47b package option for perl5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 13:12:45 +00:00
Joseph Wang
25f30ff1b1 Add R 2.7 calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 07:12:26 +00:00
Joseph Wang
ade41d0a72 R does not like variables with leading underscores
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 06:46:16 +00:00
Joseph Wang
fd6be0ba40 Put in ifdef for 2.7
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 06:33:08 +00:00
Joseph Wang
7b37f04c7a change CHAR method since mkCharEnc doesn't do what I thought it did in 2.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 05:50:13 +00:00
William S Fulton
bc5bd7a0ab few tweaks to valuewrapper documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-24 21:54:46 +00:00
Olly Betts
85f02c4ba4 [Python] Fix generated code for IBM's C++ compiler on AIX (patch
from Goeran Uddeborg in SF#1928048).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-24 12:26:29 +00:00