Commit graph

1,767 commits

Author SHA1 Message Date
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
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
fe2ce31790 more tests to match the c#/java runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:25:57 +00:00
William S Fulton
6a97777a97 %apply signed char test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:22:12 +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
8a2a92d720 More comprehensive test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-27 21:57:35 +00:00
William S Fulton
86ac4ea794 Fix test - SWIG was incorrectly getting #defines to the windows integer types, which was not intended in original test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-24 20:34:12 +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
3d8c07b92c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:12:56 +00:00
William S Fulton
760a7acf5c comprehensive director runtime tests based on C# version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:09:46 +00:00
William S Fulton
9257aa9270 test directors with 2 same name classes in different namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:08:45 +00:00
William S Fulton
387b7e02f2 $symname test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:24:36 +00:00
William S Fulton
fdf7db077f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:20:40 +00:00