Commit graph

1,532 commits

Author SHA1 Message Date
Marcelo Matus
ad0b6ca329 add const global string case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:33:15 +00:00
Marcelo Matus
744ba3f76c add local li_std_string test with %naturalvar applied to variables while the way to apply %naturalvar to std::string is sorted out
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:15:19 +00:00
William S Fulton
3fe974fb76 Add in runtime tests for std::string variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:52:48 +00:00
William S Fulton
15921b61d2 Add in runtime std::variable tests based on other language runtime tests. Might make some of the original type checking tests redundant.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:20:26 +00:00
William S Fulton
74513108a4 test std::string global variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:05:47 +00:00
William S Fulton
9d4cae43b3 Modify for const std::string variables being wrapped like non-const std::string variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:50:05 +00:00
William S Fulton
2df53312a3 add in const std::string variable tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:47:38 +00:00
William S Fulton
aa100d9b60 Add const global std::string variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:46:47 +00:00
Marcelo Matus
e7191fece9 fix/apply naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
Marcelo Matus
ab03eb18e7 check/fix the %delobject feature for member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:21:52 +00:00
William S Fulton
f7246bc667 change variable name for Ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:14:57 +00:00
William S Fulton
465b27147e Add in test for global and member std::string variable access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:49:41 +00:00
William S Fulton
a74457e880 Finally std::string global and member variables are wrapped as strings by default
No need to use the %apply const std::string& { std::string* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:49:16 +00:00
William S Fulton
363d3484ef Fix test for std::string global and member variables being wrapped as strings by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:58 +00:00
William S Fulton
a1875b8395 Finally std::string global and member variables are wrapped as strings by default
No need to use the %apply const std::string& { std::string* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:13 +00:00
Marcelo Matus
dde6392a0c fix memory leaks in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 19:18:47 +00:00
Marcelo Matus
1122c39ec4 add the SWIGUTL macro to identify a language using the Unified Typemap Library, and using it around
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:35:22 +00:00
Marcelo Matus
ce684d16c0 fix duplicate goto fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:10:29 +00:00
Marcelo Matus
4166e36abb implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:27 +00:00
Marcelo Matus
32d28239da set PyObject * out typemaps back to simple returns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:05 +00:00
William S Fulton
16d0216061 forgotten checkin - warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 23:22:27 +00:00
Jason Stewart
8e405d580c perl test runner now properly catches STDERR
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:36:57 +00:00
Jason Stewart
e1b358a5f2 fixing old perl's to use Test::More
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:31:27 +00:00
William S Fulton
152f6d18dd simple #warning and #error tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 22:33:34 +00:00
William S Fulton
5685e69db5 fix last commit for all langs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:40:03 +00:00
William S Fulton
138a3e729b goto fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:39:14 +00:00
Marcelo Matus
654efd7ba5 fix template forward + using
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:12 +00:00
William S Fulton
36df3b1ee8 vc++ warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:42:02 +00:00
William S Fulton
eeb67079e6 vc++ warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:36:58 +00:00
William S Fulton
97342b6be9 Fix clean on windows, where the commandline cannot take very many characters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:32:12 +00:00
Jason Stewart
3d838c6454 added note about Test::More support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:00 +00:00
Jason Stewart
0962fd32d9 converted to use Test::More
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:46 +00:00
Jason Stewart
5df78f830d removed && and || tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:17 +00:00
Jason Stewart
a33274543f 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/SWIG@8535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:00:40 +00:00
Marcelo Matus
773018d61c catch read-onlye errors properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 23:47:10 +00:00
Marcelo Matus
d03d131b18 fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 23:37:14 +00:00
William S Fulton
ba4801ddb4 Use preinst-swig instead of swig so SWIG_LIB does not need to be set
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:48:49 +00:00
William S Fulton
8c29c1aab5 fix php keyword warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:46:49 +00:00
Marcelo Matus
65fbe9dd25 fix for VC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 18:36:59 +00:00
Marcelo Matus
ce94984b71 fix errors for 32bit arch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 00:33:19 +00:00
Marcelo Matus
c18f0bd237 simplify Makefiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 21:19:58 +00:00
Marcelo Matus
1fd3330038 add mod to cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 18:08:27 +00:00
Marcelo Matus
2ede36b5f5 update list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 18:07:59 +00:00
Marcelo Matus
6a4cf00db3 fix MSC problem with def. constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:03:09 +00:00
Marcelo Matus
d6dc014907 fix Makefiles for cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 20:45:15 +00:00
Marcelo Matus
0b68b64c59 add macro to disable the extra qualifications in members, which seems to be no standard and not supported in gcc4.1 or so
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 08:24:52 +00:00
Marcelo Matus
f6affcc2a0 use SWIG_exception_fail for ruby and perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 08:05:56 +00:00
William S Fulton
cf9272fbae remove vc++ noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 00:02:05 +00:00
William S Fulton
8629d7f513 add in check for array inputs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 22:18:44 +00:00
Marcelo Matus
b54c5bdec5 fix problem with template + classforward + default template parameters reported by Bill Spotz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 21:47:17 +00:00