Commit graph

2,311 commits

Author SHA1 Message Date
Baozeng Ding
ca48f10aa7 add arrays_dimensionless testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-20 15:31:33 +00:00
Baozeng Ding
394e632d6c add arrays_global_twodim testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-17 13:25:47 +00:00
Sylvestre Ledru
8514f13ea8 Typo in the test simple_array
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-03 18:23:46 +00:00
Baozeng Ding
13159b629d add some makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-20 11:13:30 +00:00
Baozeng Ding
b6b2fce6ae merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 16:29:31 +00:00
Xavier Delacour
ea578fcc8f remove failing runtime tests director_exception_runme.m and director_finalizer_runme.m
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 02:49:35 +00:00
Olly Betts
af6c65c7e6 Add callback and extend; fix error in alphabetical ordering.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:41:16 +00:00
Olly Betts
ea560a73a4 Rename back - William wants this consistent across all the languages and it's
too much work to test a global renaming.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:37:18 +00:00
Olly Betts
c8f64ccc2e Explain the poor name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:34:26 +00:00
Olly Betts
c9635d6255 Remove bogus stuff about memory leaks - nothing in this testcase leaks.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:30:42 +00:00
Olly Betts
089b226b80 Rename the "extend" example to "directors" as it tests directors not %extend.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:27:31 +00:00
Olly Betts
3141dfd599 Convert to use proxy classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:08:23 +00:00
William S Fulton
3283728cf5 Add semicolons to remove unwanted statement output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 23:25:42 +00:00
William S Fulton
57e713f46b Fix testcase to minimal testing, most of it contained test code not relevant to std_vector.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 23:23:49 +00:00
Miklos Vajna
82df087b8b PHP: remove '// Sample test file' comments from runme files
Those are cut&pasted from skel.php, but that comment makes sense only in
skel.php itself.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 22:23:32 +00:00
William S Fulton
3cabcd0553 remove debug print statements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 22:14:06 +00:00
William S Fulton
fc68afcf73 Octave: Caught exceptions display the type of the C++ exception instead of the generic 'c++-side threw an exception' message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 22:05:47 +00:00
William S Fulton
8ec652b7cf Suppress g++ warning when compiled as c++ (for Octave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 20:32:42 +00:00
William S Fulton
b5de6aabe5 more efficient python test-suite clean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 20:02:22 +00:00
William S Fulton
db7ed25900 fix lextype testcase when compiled as c++ as is the case with octave
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 19:40:29 +00:00
Baozeng Ding
8ee9175b6e some fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 15:56:32 +00:00
William S Fulton
26cc9252d9 Fix testcase comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 00:09:43 +00:00
William S Fulton
c7b7078dd0 Fix classes not being added into Java method's throws clause when %catches is used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 00:04:29 +00:00
William S Fulton
4516c1d3f3 Fix exception handling when %catches is used in C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-15 23:22:20 +00:00
William S Fulton
d74b680a79 Fix %template seg fault on some cases of overloading the templated method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-15 10:40:19 +00:00
Baozeng Ding
f844123608 add 'class' example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-15 09:29:10 +00:00
Olly Betts
5118c399f0 Fix valuewrapper_base_runme.php for PHP5. Still fails though.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-15 07:39:56 +00:00
Olly Betts
719df6b10a Fix pointer_reference_runme.php for PHP5 - now passes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-15 06:08:28 +00:00
William S Fulton
55170f0f88 Add Ruby missing methods for vector<bool> specialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-15 00:17:21 +00:00
Baozeng Ding
0623fdff8b add 'funcptr, inctest, integers, preproc, name' testcases and fix the empty testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 09:22:36 +00:00
Olly Betts
1b42d9dde1 [PHP] Update the PHP "class" example to work with PHP5 and use
modern wrapping features.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 09:01:31 +00:00
Baozeng Ding
4ca1d4c19e add unions, typedef_struct, char_contant, sneaky1 testcases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 03:35:30 +00:00
Olly Betts
84215444eb Rename max() to maximum() as max() is a built-in function in PHP.
Testcases overload_template and overload_template_fast now pass for PHP.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 01:33:23 +00:00
William S Fulton
45359dc12c Add SWIGTYPE *& typemaps for PHP
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 01:14:49 +00:00
Olly Betts
1f55c29eee Zap extra blank line after ?> which appears in testsuite output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 00:15:23 +00:00
William S Fulton
d1a6d960eb Add non-const char *& runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 23:37:05 +00:00
William S Fulton
cc43f20f6d PHP fix const char\*\& typemaps and add in char_strings runtime test based on Java version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 23:31:19 +00:00
William S Fulton
42d7f3bb10 add php typecheck typemaps for const reference for primitives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 22:39:20 +00:00
William S Fulton
627d9faffd Add PHP const ref typemaps for primitive types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 21:41:23 +00:00
Baozeng Ding
39f1193f87 add overload_extend and overload_extendc testcases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 15:55:19 +00:00
Olly Betts
4297c7de33 Just disable SWIGWARN_PARSE_KEYWORD for li_math.i under PHP.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 14:58:27 +00:00
Olly Betts
dd96b09e68 Fix the list of classes expected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 04:13:35 +00:00
Olly Betts
d3809285a4 Change class names in test code which clash with PHP reserved words
(Interface, Class, and Function - these are case insensitive reserved
words in PHP).

Fix lists of expected methods in rename_scope_runme.php to match those
which we expect with PHP5.  With this and the change above, this testcase
now passes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 03:58:09 +00:00
Olly Betts
54018f66a2 Correct the human-readable messages in 3 assertions.
Remove meaningless comment.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 03:35:48 +00:00
Olly Betts
ce3d4db364 Update the list of expected methods for smart_pointer_rename for PHP5 so this
testcase now passes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 03:31:38 +00:00
Olly Betts
abcff1089d Fix 2 of the 3 warnings under PHP (the remaining one doesn't seem to respond
to %warnfilter as I'd expect...)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-11 13:56:50 +00:00
Baozeng Ding
d433e27f15 fix typemap_subst.i testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 14:01:05 +00:00
Baozeng Ding
b0e85706b6 merge frome trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 01:40:09 +00:00
Miklos Vajna
451f71d7b1 remove unnecessary extra semicolons in the tesuite
Basically just style cleanup, "fi;" or "fi; \" -> "fi".

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:52:08 +00:00
William S Fulton
56c5b52c1d remove unnecessary extra shells being spawned in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:39:51 +00:00