Commit graph

1,384 commits

Author SHA1 Message Date
Olly Betts
12ccbb065d Add testcase which fails with C# directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:00:13 +00:00
William S Fulton
66e0877ead unsigned long long test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:36:15 +00:00
William S Fulton
985f6ba47c jobject test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:35:17 +00:00
William S Fulton
5b549281be fix include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 23:02:45 +00:00
William S Fulton
507961cfab test include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 22:59:22 +00:00
William S Fulton
19492c7833 Test virtual conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:45 +00:00
William S Fulton
bc981a68ae ignores on templated class methods added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:04:35 +00:00
Marcelo Matus
a8d7866a36 Fix %ignore + %copyctor as reported in #1486281
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 03:29:33 +00:00
William S Fulton
2822cd6f16 Ruby director overload and director:except testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:29:37 +00:00
Olly Betts
4fcad024ae Use SWIGPHP instead of SWIGPHP4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-29 10:09:23 +00:00
William S Fulton
ef1e6d4696 test #1508327 - Overloaded methods are hidden when using -fvirtual optimisation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 22:02:03 +00:00
William S Fulton
7e27fd8fe1 testcase for -fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 21:53:23 +00:00
William S Fulton
22089355d6 More %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
Olly Betts
d0f40fc66e Use SWIG_GE, SWIG_LE, etc instead of >=, <= since the latter cause
problems when used as template parameters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:52:24 +00:00
William S Fulton
85e6fbc84a various %extend with director tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:59:37 +00:00
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
Olly Betts
6a6610c850 Removed bogus semicolon after method definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 21:56:58 +00:00
Olly Betts
7a64509c04 Use "[info sharedlibextension]" instead of trying ".so" then ".dll". All
the other tcl scripts in the test-suite have already been changed in this
way, but this one was missed it seems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 22:43:48 +00:00
Olly Betts
b84346d0c7 Use != in the example here since >= doesn't work correctly yet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 22:40:13 +00:00
Olly Betts
7a88bf91ea Use the ruby interpreter which configure found rather than just assuming it's
called "ruby".


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 22:39:39 +00:00
Olly Betts
12636f7bce Eliminate nested class from testcase - that's not what we want to test here!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 13:02:27 +00:00
Olly Betts
4c1b1332a5 Support ternary conditionals (a ? b : c) in constant expressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 09:35:31 +00:00
Olly Betts
fb93e2ff91 Allow <, >, <=, >=, !=, ==, and % in constant expressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 08:30:46 +00:00
William S Fulton
e028f34060 #1506840 testcase - directors with virtual extended methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 00:00:58 +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
995c8dbbcb fixes for make clean and remove the private list of test files to use the common.mk one (untested)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:22:10 +00:00
William S Fulton
a3831af152 fixes for make clean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:21:24 +00:00
Olly Betts
ea75f3a1c3 Allow templates to be instantiated using negative numbers and constant
expressions (which fixes SF bug #956282 and several others).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:20:52 +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
ee13e546eb same Java class names used in different tests breaking the test fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:56:46 +00:00
William S Fulton
3a50420462 more directors and default arg tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:36:44 +00:00
William S Fulton
c725861fd0 missing %feature(director)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:35:49 +00:00
William S Fulton
b29698428c explicitcall feature removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:34:05 +00:00
William S Fulton
32eacc3fb3 Remove R explicit workaround
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:32:10 +00:00
William S Fulton
d66494c1b1 ruby warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:31:42 +00:00
Joseph Wang
2c516287b3 change the logic for the test. As it was, it always failed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:11 +00:00
Mark Gossage
a8451e7c69 Bugfix #1542466 added code to allow mapping Lua nil's <-> C/C++ NULL's
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 08:00:13 +00:00
William S Fulton
5baf5718a7 remove name clash with runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:59:11 +00:00
William S Fulton
2607efe86e Fix win32 threads
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:51:50 +00:00
William S Fulton
e306abcb85 Ported threading to win32
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:55:19 +00:00
William S Fulton
066efae0f1 "threads" in %module only needed by python - but then is it really needed??
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:34:08 +00:00
William S Fulton
8a3dc91543 director thread runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:32:19 +00:00
William S Fulton
d8e5a42bbb director_thread added to common.mk and removed from python/Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:11:24 +00:00
William S Fulton
9fca02fbdf This is file is not new, it has been moved from the python subdirectory so it can be used by all language modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:09:46 +00:00
William S Fulton
165d1c3a71 move this test up one directory so it can be used by all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:07:16 +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