Commit graph

1,392 commits

Author SHA1 Message Date
Marcelo Matus
47a201bf89 treat XMLCh properly using %typemaps_string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:20:33 +00:00
Marcelo Matus
becbb0cc81 test and update the weave example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 15:55:19 +00:00
Marcelo Matus
bdec822db6 add Inline::SWIG test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 10:54:41 +00:00
Marcelo Matus
316d801508 finish the initial jstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 07:43:03 +00:00
William S Fulton
fb6394c9a0 check std::exception typemaps are working correctly and throwing the correct Java exceptions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:28:19 +00:00
William S Fulton
135f792af5 check std::exception typemaps are working correctly and throwing the correct exceptions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:27:21 +00:00
William S Fulton
38e82a4b9b test all the STL exception classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:26:18 +00:00
Marcelo Matus
d5cb3bbcb9 uniform cni examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:48:06 +00:00
Marcelo Matus
3b137ec4d3 update for -copyctor option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:48:05 +00:00
Marcelo Matus
d48a17e32f add the java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 11:43:32 +00:00
Marcelo Matus
eb3b0f6b30 add fullname to the php4 kw warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 10:18:49 +00:00
Marcelo Matus
1d36caec1f add more docs and example for new rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:54:27 +00:00
Marcelo Matus
a2aa59e362 use %kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:52:56 +00:00
Marcelo Matus
2ffa9eb90c silence warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:47:52 +00:00
Marcelo Matus
2c815c6aa4 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:35:49 +00:00
Marcelo Matus
f604d27bc5 fix ruby to use gcj
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:35:30 +00:00
Marcelo Matus
41f1b86564 silence warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:23:08 +00:00
Marcelo Matus
2a3e528169 fixes and docs in %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:01:12 +00:00
Marcelo Matus
27ac6b30a5 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:49:47 +00:00
Marcelo Matus
3e1f698542 silence warns in ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:47:02 +00:00
Marcelo Matus
150a8293c5 add new test for rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:45:00 +00:00
Kevin Ruland
5bc93c9e6a Added prototypes to all functions in example.c. Fixed segv on x86_64 machines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 02:56:51 +00:00
William S Fulton
5bea1432da update with increment/decrement operator tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:58 +00:00
William S Fulton
fc0d1e82bc operator overloading test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:18 +00:00
William S Fulton
80b5e8aaaf add increment/decrement operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:13:36 +00:00
Marcelo Matus
b4e4fe23ca add tcl+java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 11:59:54 +00:00
Marcelo Matus
ebcf1a041d cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:54:59 +00:00
Marcelo Matus
dc915a44a1 add jstring.i for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:51:35 +00:00
Marcelo Matus
e06a5d0ccd add java example and missing cvsignore files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:03:00 +00:00
Marcelo Matus
719d1a2afc add operator case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 09:28:10 +00:00
Marcelo Matus
e4b8871ae2 add gcj and java->python initial support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
8fb9716fd0 use , so, it can be disabled
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:41:47 +00:00
Marcelo Matus
381596b0f3 add the copyctor feature/directive to enable automatic copy constructors. In the way, fix how default ctor/dtor are added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:04:00 +00:00
William S Fulton
eb47550e24 runtime test for C# added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:03 +00:00
William S Fulton
c113d339ea runtime test for Java added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:58:17 +00:00
William S Fulton
68c3d83b40 Fix for C# which doesn't have a freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:57:19 +00:00
William S Fulton
c89104ea60 Add in intermediary_classname test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:25:03 +00:00
William S Fulton
b7388637ba Custom test required for the intermediary_classname test as it requires a swig commandline option to set the shared object/dll name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:24:22 +00:00
William S Fulton
8e3c7d3548 Add in better support for creating one off test cases that require special commandline options to swig. These custom tests can be created to easily test particular swig commandline options.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:22:28 +00:00
Marcelo Matus
43573a8d24 another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:41:05 +00:00
Marcelo Matus
c524ada254 silence warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:50:32 +00:00
Marcelo Matus
aa5257be99 add more time for slow machines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:41 +00:00
Marcelo Matus
660c55b766 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:07 +00:00
Marcelo Matus
b8a0c23ee8 add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:37:40 +00:00
Marcelo Matus
6c23ab0634 add more cases and flag for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:38:27 +00:00
Marcelo Matus
86b84de318 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:37:15 +00:00
Marcelo Matus
da33ad4f6b add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:35:54 +00:00
Marcelo Matus
a275bbd30f add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Charlie Savage
6c8dd53ee8 Reimplementation of tracking objects in Ruby. Instead of passing the $track flag to
the methods SWIG_Ruby_ConvertPtrAndOwn and SWIG_Ruby_NewPointerObj,
now tracking information is held on swig_class.  This change reduces
significantly reduces the amount of code needed in ruby.cxx, is more robust, and is
more cohesive.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
b32dd09384 test vectors of primitive types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:51:32 +00:00