Commit graph

57 commits

Author SHA1 Message Date
William S Fulton
1edd44f2d9 Daniel Moore patch - more operator overloading support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-12 21:07:38 +00:00
Marcelo Matus
eb5053c631 more fixes/tests for empty strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 04:45:41 +00:00
William S Fulton
0f96efd9ce ensure %apply with char*, unsigned char* and signed char* works
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 20:58:19 +00:00
Marcelo Matus
a86e4777ac fix overloading between unsigned long long and strings, as reported by Tim Lee.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 20:11:52 +00:00
William S Fulton
1e3f94dae5 fix comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 21:54:25 +00:00
William S Fulton
78c3c813cb Workaround for Test::More 's ok function not working on Perl 5.004_04
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 21:50:33 +00:00
Marcelo Matus
7a417324a5 add test for 'void *' argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 00:02:45 +00:00
Marcelo Matus
060cc0264d add test for 'void *' argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 00:02:03 +00:00
Marcelo Matus
8f8673bd2c fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Marcelo Matus
829cd3a908 reenable missing INPUT/OUTPUT, and add tests for std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
William S Fulton
fbcff730c2 Fix dodgy comparison which would never fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:06:12 +00:00
William S Fulton
b98bbcd849 Add in runtime tests for std::string variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:00:45 +00:00
Jason Stewart
f663ab6310 perl test runner now properly catches STDERR
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:36:57 +00:00
Jason Stewart
e49b6f060c fixing old perl's to use Test::More
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:31:27 +00:00
Jason Stewart
e4c3a91026 added note about Test::More support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:00 +00:00
Jason Stewart
691d551664 converted to use Test::More
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:46 +00:00
Jason Stewart
5ed2efad68 removed && and || tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:17 +00:00
Jason Stewart
94796829eb all test cases are now run through a wrapper script which traps
STDOUT/STDERR, and echos the output only on a test failure. This
supports the usage of Test::More or Test::Harness without breaking the
existing test suite behavior.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:00:40 +00:00
Marcelo Matus
e5f0222054 add __not__ and test the new bool typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 15:53:23 +00:00
Marcelo Matus
0e879bd415 comment part of the test that is broken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 08:13:15 +00:00
Marcelo Matus
f7510720d3 add native bool support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 07:27:12 +00:00
William S Fulton
21e601d59f call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:36:36 +00:00
Jason Stewart
40e789329e Perl module now fully supports operator overloading
added script for testing overloading support which uses Perl test harness: Test::More

updated HTML docs for operators


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:59:27 +00:00
Marcelo Matus
5a76bc68fc add castmode in python and cleaning the castdispatch mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
cd5224c0b1 add more dispatch cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 01:44:36 +00:00
Marcelo Matus
7edc2e0a91 implement the rank-cast dispatch mechanism, which is now the default behavior in perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +00:00
Marcelo Matus
3ebece429c add disown.i and li_attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:08:18 +00:00
Marcelo Matus
dfbac7b290 more fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:15:42 +00:00
Marcelo Matus
0ef79194be add interpreter variable, so it can be used with valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:51:41 +00:00
Marcelo Matus
1c529aa802 move attribute.i to the typemap library, now is usable from all the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
f2f1b9889f Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
William S Fulton
6d476c432c Test for patch #1116431 Fix non member functions inadvertently being called instead of member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:20:27 +00:00
William S Fulton
9eebbd2a32 simple const enum SWIGTYPE & typemap test and enum by value runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:21:52 +00:00
William S Fulton
0b150a96bb more %rename/%ignore tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:27:02 +00:00
Marcelo Matus
021695a2a1 add std_list (lluisp #1033399)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:32:26 +00:00
William S Fulton
71e8b429be test for default args in const methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:26:26 +00:00
Marcelo Matus
d6a3a88122 fixes for new name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:57:47 +00:00
William S Fulton
ba9ff9c7a0 lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:18:22 +00:00
William S Fulton
c611933db3 lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
William S Fulton
ba09ead729 lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses which won't load libraries starting with lib.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:03:04 +00:00
William S Fulton
77b107ae19 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:18:27 +00:00
William S Fulton
647ec0d634 tests for default arguments in templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:03:08 +00:00
William S Fulton
ef52cd2d79 new default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:58 +00:00
William S Fulton
88c0b425e2 minor runtime test mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:04:22 +00:00
William S Fulton
9bebf26e27 new runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:29:47 +00:00
John Lenz
09a0978dfc Three new broken test cases created to test various patches in the patch list.
Bugs 909389, 962115, and 899332.
These bugs all have fixes in the patch system.
Patches 903150, 914926, and 962168.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 07:06:01 +00:00
William S Fulton
aa07e2c4d5 Testcases that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:36:19 +00:00
Marcelo Matus
2ae6c092a8 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
William S Fulton
197b15b0ec Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
Dave Beazley
e6c59f1b0f Fixed configure bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:15:07 +00:00