Olly Betts
7dfd9aae31
WARN_* constants are user visible, so keep existing WARN_PHP4_* for
...
backward compatibility, but add preferred forms WARN_PHP_* and use
these ourselves.
Rename Lib/php4 to Lib/php, Source/Modules/php4.cxx to Source/Modules/php.cxx.
Add typemaps for const reference so Examples/test-suite/apply_signed_char.i
works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:09:56 +00:00
Robert Stone
d5f16a867c
Hopefully this provides more portable values for Infinity and NaN in Perl.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-30 23:41:27 +00:00
William S Fulton
f8ae12fe4d
variable name changes to remove php keywords
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:11:46 +00:00
Olly Betts
8c287a1678
Fix cosmetic typo in string constant.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:42:29 +00:00
Olly Betts
5ea3e69bef
[PHP] Fix typemap_namespace.i to not try to copy a non-existent typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:33:08 +00:00
William S Fulton
67f0d42dfc
correct message display when running the partialcheck-test-suite make target
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:39:41 +00:00
William S Fulton
1d2856d820
fix partialcheck-test-suite and parallel make for r, chicken, tcl and php
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:26:07 +00:00
William S Fulton
3463ced917
various warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 23:25:20 +00:00
William S Fulton
4bb0e64213
Fix virtual destructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 22:26:35 +00:00
William S Fulton
600deef43d
Fix Ruby C++ example dependencies in dsp files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 21:07:49 +00:00
William S Fulton
d798adbbb7
'byte' is already used in Ruby on windows, so use another keyword
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 19:07:51 +00:00
William S Fulton
979ad76153
minor vc++ /W4 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 16:04:55 +00:00
William S Fulton
7a68c5c003
Lua example warning removal fixes for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 15:21:29 +00:00
William S Fulton
a1e23610d6
remove raise as keyword test- it conflicts with _raise in LIBCMT on windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 11:42:48 +00:00
William S Fulton
9c323f4a70
Add R keyword support. Rename keywords for successful compilation of Java and C# code. More consistent keyword warnings across the different languages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 20:02:13 +00:00
Mark Gossage
de6d6ccaa8
[lua] bugfix 1938142 (bool& and bool* support)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-17 02:57:15 +00:00
Haoyu Bai
32617f7804
fixed keyword_rename.ctest tese case, caused by a mistake in Swig/naming.c
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 13:40:51 +00:00
Haoyu Bai
aec1473a6e
Added a test case for keyword renaming.
...
Now it works for Python in SWIG's -c++ mode,
but in C mode it doesn't work! (you can try with make keyword_rename.ctest)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 11:20:07 +00:00
William S Fulton
e6d50f5d65
Fix samename testcase for c# and java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-02 20:10:40 +00:00
Robert Stone
e64d75f280
The perl5 minherit runtime test will work better if the classes are
...
actually built under SWIGPERL.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-26 21:04:06 +00:00
Robert Stone
072ee51942
run test cases in the Perl set by the --with-perl5 configure option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-26 20:09:56 +00:00
William S Fulton
f06222b993
Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:27:22 +00:00
William S Fulton
e9a621ca5e
Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:25:10 +00:00
William S Fulton
d51100da4f
Use checked exceptions in director typemaps throws attribute as it tests more
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 20:56:48 +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
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
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
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
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
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
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
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
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
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
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
Olly Betts
42965a73cc
Rename BSIZE in Examples/test-suite/arrays_scope.i to BBSIZE to avoid
...
a clash with BSIZE defined by headers on AIX with Perl (reported in
SF#1928048).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-24 11:07:56 +00:00
William S Fulton
9976dc9d75
Add allprotected mode for wrapping protected members when using directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 20:41:01 +00:00
Xavier Delacour
b0921513e0
Move null_pointer.i to common.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 15:48:56 +00:00
Xavier Delacour
e7894a104b
Add test for null pointer handling ([] taken as null pointer).
...
Support automatic single cell dereferencing. Add test for it and pass-through cell arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 14:29:46 +00:00
Xavier Delacour
2ad4024977
Move samename test to common.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-12 13:49:01 +00:00
Xavier Delacour
6878125b87
Fix bug where module will segfault on load if it contains an object w/ the same name as the module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-11 22:28:30 +00:00
Jason Stewart
5d625e950d
committed patch for bug SWIG-1937031 ; moved operator_overload_break back to working tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-08 04:04:37 +00:00