Commit graph

102 commits

Author SHA1 Message Date
William S Fulton
9669ab5604 test virtual operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:15:24 +00:00
William S Fulton
edd5bfeb1a %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
9b8fd2ff04 Director %ignore test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:39:50 +00:00
William S Fulton
736c2c3b3c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:19:00 +00:00
William S Fulton
9cbce5f577 cleanup Mono debris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:18:43 +00:00
William S Fulton
690b049762 - explicitcall feature removed.
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:16:34 +00:00
William S Fulton
060dd7f6bd director base method call tests to check recursive director method problem has gone away
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:58:09 +00:00
William S Fulton
767a0ca14c runtime test to match the java one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:29:43 +00:00
William S Fulton
9a6a77c6c0 More comprehensive test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-27 22:25:25 +00:00
William S Fulton
55d4c5e59b new director test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-12 20:18:08 +00:00
William S Fulton
b2a344a30b explicitcall tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 20:55:10 +00:00
William S Fulton
e774c6e6bf Fixes for autoconf-2.59d (2.60 beta)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:15 +00:00
William S Fulton
b6e0d79f75 C# director runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:31:35 +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
William S Fulton
3e7b5d7509 fix for perl keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 23:05:11 +00:00
William S Fulton
f35ca61913 Add inner exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:19:56 +00:00
Marcelo Matus
804de595cb add new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 07:25:21 +00:00
William S Fulton
6d2f5473f2 comment about unusual test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 20:46:10 +00:00
William S Fulton
a372ee9242 add in const std::string variable tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:47:38 +00:00
William S Fulton
48d71a9a89 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:59:46 +00:00
William S Fulton
b5d3117170 add in complete increment/decrement operator checks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:06:30 +00:00
William S Fulton
0a587582c3 check std::exception typemaps are working correctly and throwing the correct exceptions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:27:21 +00:00
William S Fulton
b04955373c operator overloading test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:18 +00:00
William S Fulton
d112d8f165 runtime test for C# added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:03 +00:00
William S Fulton
6231337a9b Custom test required for the intermediary_classname test as it requires a swig commandline option to set the shared object/dll name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:24:22 +00:00
William S Fulton
012212b651 Add vectors of pointers runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:30:12 +00:00
William S Fulton
33a81636be pointer reference runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:13:27 +00:00
William S Fulton
e0c406fd56 test changing the intermediary classname from default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:50:08 +00:00
William S Fulton
79d343470c Java/C# - test extra constructor to handle enum items initialised by another enum item for %javaconst(1)/%csconst(1)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:37:20 +00:00
William S Fulton
782897d26b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 10:05:33 +00:00
William S Fulton
4950f242ed fix for new member variable function names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:57:05 +00:00
William S Fulton
179c5710af *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:52:32 +00:00
William S Fulton
7fca0c8649 test strings in a multithreaded environment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:42:50 +00:00
William S Fulton
9f5d2e0648 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:54:45 +00:00
William S Fulton
51dfcbb31e added csharp_features.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:50:24 +00:00
William S Fulton
bd7b79c691 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:40:23 +00:00
William S Fulton
01a7281ad1 more pesky warnings removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:39:09 +00:00
William S Fulton
53def140aa enum attribute check added in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:40:38 +00:00
William S Fulton
43a6363856 C# attribute support added - %csattributes feature, %csattributes typemap
and inattributes & outattributes typemap attributes for the imtype and cstype typemaps.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:19:47 +00:00
William S Fulton
fcc79874bc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-09 20:16:19 +00:00
William S Fulton
b504f37f90 test asymmetric type marshalling - out attribute for ctype, imtype and cstype typemaps.
also test fix for garbage collection problem where the proxy class was being collected before an unmanaged function that used the object returned - problem was most visible in multithreaded environment, so the test kicks off a few threads


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:03:50 +00:00
William S Fulton
b99589f99f variable tests and exception specification tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-14 20:11:34 +00:00
William S Fulton
58499d01ea Fix undefined behaviour when throwing exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 22:06:53 +00:00
William S Fulton
ccf1d01c37 null checks added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:51:09 +00:00
William S Fulton
9c094a08ee More error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:19:40 +00:00
William S Fulton
9f10b7bff0 Fixes to run on Mono 1.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:17:28 +00:00
William S Fulton
fd1f0b5df6 Mono 1.1 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 19:15:19 +00:00
William S Fulton
6c63b1c5b9 Fixes for new Exception mechanism, but still failing.
Debug code left in for testing on other systems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 21:00:09 +00:00
William S Fulton
44d0eb2840 test all the C# exceptions that can be thrown from unmanaged code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:59:40 +00:00
William S Fulton
b33ec1cc24 test new exception mechanism in multithreaded environment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:22:54 +00:00