Commit graph

1,779 commits

Author SHA1 Message Date
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
Kevin Ruland
27d9ebb942 Use the correct name of the file in the echo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 12:41:33 +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
Olly Betts
acb86bfafa Fix testsuite to run under PHP after recent PHP testsuite changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:15:27 +00:00
Olly Betts
3dc5e0e91a Overload resolution now works in PHP out of the box.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:59:07 +00:00
Olly Betts
d4576c1ca6 Fix the PHP Examples to build and run like the other languages do.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:28:27 +00:00
William S Fulton
ce02b53196 clearer example - patch #1524059
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:14:34 +00:00
William S Fulton
edaadb60e7 links added - patch #1524088
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:07:28 +00:00
William S Fulton
f83368cfd8 links added - patch #1524096
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:03:09 +00:00
William S Fulton
daa291233c links added - patch #1524076
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:00:56 +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
915d85bbbc cleanup Mono debris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:05:16 +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
Mark Gossage
db5bb83440 added support for passing function pointers as well as native lua object
into wrappered function
added example funcptr3


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:45:03 +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
91fe301ff4 CFLAGS used for linking as is the norm
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:47:09 +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