Commit graph

4,365 commits

Author SHA1 Message Date
William S Fulton
da2a914365 Visual Studio warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 20:16:09 +00:00
Marcelo Matus
21c689c610 small fix for unsigned int and unsigned long, but still there are problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 08:15:46 +00:00
Matthias Köppe
b29ce687b3 Fix last change, add throw typemap for enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 21:46:23 +00:00
Matthias Köppe
4c5986550c Don't forget to exit.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 21:45:34 +00:00
Marcelo Matus
37b7e6133e add missing const ptr case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 14:53:39 +00:00
Charlie Savage
8802ee4035 Added a typemap %typemap(in) (int LENGTH, char *STRING) that is simply the reverse of %typemap(in) (char *STRING, int LENGTH).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 06:06:44 +00:00
Matthias Köppe
b1ac999324 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-25 21:40:33 +00:00
Matthias Köppe
8e61ee737c Added throw typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-25 21:36:01 +00:00
Matthias Köppe
b30b77c60c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-25 21:33:56 +00:00
Charlie Savage
db123cc55f Remove dependency on Ruby unit test framework.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-25 07:13:41 +00:00
Charlie Savage
5c40079f15 Minor update to %trackobjects note.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:43:48 +00:00
Charlie Savage
54d2207ad7 Added note about %trackobjects funcitonality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:43:23 +00:00
Charlie Savage
ed80d73e73 Added track_objects_directors test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:36:36 +00:00
Charlie Savage
87bc2e3a5c Moved to Ruby directory.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:34:50 +00:00
Charlie Savage
c8a76f8587 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/SWIG@7524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:30:30 +00:00
Charlie Savage
f7b82f7214 Added two new examples for Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:13:46 +00:00
Charlie Savage
de4629ac7a New example to test free_functions. Makes use of tracking objects functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:12:53 +00:00
Charlie Savage
cdb81f3c5b Changed Zoo_Free to free_Zoo to be consistent with the SWIG naming scheme of new_Zoo and free_Zoo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:08:25 +00:00
Charlie Savage
ef63fac0c2 Changed Zoo_Mark to mark_Zoo to be consistent with the SWIG naming scheme of new_Zoo and free_Zoo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:07:11 +00:00
Charlie Savage
b4812f0029 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/SWIG@7519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 21:53:53 +00:00
Charlie Savage
48aa345440 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/SWIG@7518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 21:48:07 +00:00
Charlie Savage
42de18b3e9 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/SWIG@7517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 21:42:07 +00:00
William S Fulton
55941587f3 toc fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 10:12:32 +00:00
William S Fulton
3824ff204c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 10:05:33 +00:00
William S Fulton
ea310550fa correct last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:48:22 +00:00
William S Fulton
31d6b34b77 html validation fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:41:19 +00:00
William S Fulton
a6ac0941e7 move ruby only test to ruby directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:20:19 +00:00
William S Fulton
7046de706a move to ruby directory as ruby only test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:18:23 +00:00
Charlie Savage
7e0071d5a7 Updated documentation for new tracking objects feature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 00:11:15 +00:00
Charlie Savage
2163b181e1 Added test for tracking objects functionality in Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 23:38:32 +00:00
Charlie Savage
25829d8649 Changes so that the Ruby testsuite and examples work with Ruby, SWIG and Mingw32 when running under windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 23:36:28 +00:00
William S Fulton
1018e6a484 Best attempt at missing directorin typemaps to fix director_wombat.i testcase. Could do with checking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 22:56:30 +00:00
William S Fulton
3b7914c89d few more missing modules added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:55:01 +00:00
Charlie Savage
84ec697807 New test objects test suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:46:33 +00:00
William S Fulton
7f3dae437f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:21:22 +00:00
William S Fulton
16d7c98196 Patch #1116431 Fix non member functions inadvertently being called instead of member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:20:58 +00:00
William S Fulton
db84d961e3 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/SWIG@7499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:20:27 +00:00
William S Fulton
60754cbcbe note about deprecated jdk debugging option removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:16:26 +00:00
Charlie Savage
883264b6e7 Added support for the new track objects functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:05:24 +00:00
Charlie Savage
c5fd02ec59 Object tracking support. Defined two new pointer conversion flags used by SWIG_ConvertPtr and SWIG_NewPointerObj. The new flags are:
#define SWIG_POINTER_OWN           0x1
#define SWIG_TRACK_OBJECTS        0x4


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:04:06 +00:00
Charlie Savage
417127cedc Support object tracking. Updated SWIG_NewPointerObj and SWIG_Ruby_ConvertPtr to take into account object tracking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:03:05 +00:00
Charlie Savage
88fcc55de1 Support for object tracking. Includes new reference to "rubytracking.swg" and defines a new feature called "trackobjects"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:01:57 +00:00
Charlie Savage
1a6a4deb2f New include file that implements an API for tracking objects.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:49:31 +00:00
Charlie Savage
e8b5568ed4 Added my name to active developer list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:47:43 +00:00
Charlie Savage
5cff7abd73 Updates to examples so that they run correctly under Ruby 1.8
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:36:37 +00:00
Matthias Köppe
a19ec091b8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 10:07:10 +00:00
Matthias Köppe
39d9266537 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 09:54:56 +00:00
Matthias Köppe
5f1b0f8a54 Sync language list between README and ANNOUNCE.
Fix capitalization of CLISP.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 09:53:11 +00:00
Surendra Singhi
b427bb6f70 Reverting to revision 1.143, by mistake I had checked in wrong file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 02:24:55 +00:00
Surendra Singhi
bd050b97b4 Added my name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 02:10:07 +00:00