Commit graph

1,300 commits

Author SHA1 Message Date
Charlie Savage
81b636db7a Added track_objects_directors test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:36:36 +00:00
Charlie Savage
26fad90663 Moved to Ruby directory.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:34:50 +00:00
Charlie Savage
56fd079163 Added test case for Ruby using track objects and directors at the same time.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:30:30 +00:00
Charlie Savage
cd115d2d05 Added two new examples for Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:13:46 +00:00
Charlie Savage
6c2e628c55 New example to test free_functions. Makes use of tracking objects functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:12:53 +00:00
Charlie Savage
76c0388391 New example for Ruby that shows how to implement a mark function. Also makes use of the tracking objects funcitonality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 21:53:53 +00:00
Charlie Savage
42f840281d Fix to compile on Windows. The code defines a type called small, but Windows already defines that type in rpcndr.h. Added code to undef small at the start of the wrapper file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 21:48:07 +00:00
Charlie Savage
32dfafdc39 Test would not compile on windows because it defines a template class called Rectangle, but Windows defines a function called Rectangle in wingdi.h. Thus renamed Rectangle to RectangleTest. Note this should not affect any test cases, because they test RectangleInt which is defined as RectangleText<int>. Thus the external api to the produced module does not change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 21:42:07 +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
52447c9810 correct last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:48:22 +00:00
William S Fulton
0081153f8c move ruby only test to ruby directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:20:19 +00:00
William S Fulton
f89cd90da1 move to ruby directory as ruby only test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:18:23 +00:00
Charlie Savage
880bc4b894 Added test for tracking objects functionality in Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 23:38:32 +00:00
Charlie Savage
13b0e65ae6 New test objects test suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:46:33 +00:00
William S Fulton
6d476c432c Test for patch #1116431 Fix non member functions inadvertently being called instead of member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:20:27 +00:00
Charlie Savage
bcdd94acd3 Updates to examples so that they run correctly under Ruby 1.8
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:36:37 +00:00
William S Fulton
5becda9b9e operator tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:31:01 +00:00
William S Fulton
25327a9881 add test for assigment operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:30:28 +00:00
William S Fulton
1c935747a2 provide default names for operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:29:39 +00:00
Charlie Savage
2caa0e1dd3 Fixed compile problem on windows. The code defines a template called max - however, Windows already defines a macro called max. The fix is to undefine the macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 03:22:05 +00:00
William S Fulton
886ce073e1 Lua improvements - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:57:30 +00:00
William S Fulton
655f282468 Lua improvements - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:05:06 +00:00
William S Fulton
ef13b64b7e New Lua examples - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:00:56 +00:00
William S Fulton
39119b2d07 Mark Gossage patch 1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 19:35:23 +00:00
Kevin Ruland
6151879eff Print variables from both C and PHP prior to modifications.
Call name_set() with a much shorter argument to make sure
nulls are padded.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:43:12 +00:00
Kevin Ruland
ca173a9285 Change length of name to 5.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:41:57 +00:00
Kevin Ruland
c4e5c58015 Change length of name to 5 to make manipulation easier.
Print out the individual characters of name[].
Use Print_point() function in print_vars().


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:40:55 +00:00
Kevin Ruland
d7c33db97f Change example so it builds Foo_get() and Foo_set() wrappers. Use these
wrappers in the runme.php4.  Added wrapped method print_Foo() just to make
sure all is working.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:53:44 +00:00
Kevin Ruland
a1c6f31c60 Use named typemaps "REF" in add() function. Corresponds to recent changes
in phppointer.i


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:52:41 +00:00
Kevin Ruland
8ad9d8ace2 Add include.php file and include it using pragma.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 02:33:05 +00:00
William S Fulton
b7ac7389ae fix symbol clash on windows for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-19 08:52:32 +00:00
Kevin Ruland
c47b13a2bb Change one argument to string to show silent conversion to doubles and
prove no accidental data loss.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:22:26 +00:00
Kevin Ruland
823157dea4 Added a string to the argument list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:20:50 +00:00
Kevin Ruland
9593b659b9 Added an example showing use of %pragmas and init/shutdown code injection.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:19:56 +00:00
Kevin Ruland
9b48816f68 Fix test cases to always use intp wrappers. This is required because of changes
to the default handling of pointer and references to basic types.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:18:15 +00:00
Marcelo Matus
e4f17f50aa fix example max macro/template and external max macro conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:35:38 +00:00
Kevin Ruland
663862918d Removed the -xmlout from swig.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 15:50:50 +00:00
Marcelo Matus
474752667e add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:36:57 +00:00
William S Fulton
0e29d8f8a6 test directors with classes passed by value, ref and pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:02:21 +00:00
William S Fulton
b93b3593bf Lua fixes to work on Unix as well as windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:14:37 +00:00
William S Fulton
dfaaa959a6 make the php test suite consistent with the other languages, there is no need to generate an 'ok' message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:13:34 +00:00
Marcelo Matus
6b5a64bd92 add module option to import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
6d39fe1341 add char* string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-09 17:58:43 +00:00
Kevin Ruland
3cb7d700c0 Removed the mangled name test. Names are mangled differently and are not
available to php.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:57:32 +00:00
Kevin Ruland
ae283adb6c Simple example of DISOWN typemap working correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:56:03 +00:00
Marcelo Matus
2c94c03056 fix minor warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 09:02:54 +00:00
Marcelo Matus
99ed184f95 adding test for binary buffer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:31:25 +00:00
Marcelo Matus
2e2617edce normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:22:10 +00:00
Marcelo Matus
329566a36f update cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-28 09:47:32 +00:00
Marcelo Matus
0536823593 cancel warnings for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 08:32:48 +00:00