Commit graph

1,392 commits

Author SHA1 Message Date
Marcelo Matus
b60c5572ca treat XMLCh properly using %typemaps_string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:20:33 +00:00
Marcelo Matus
9629d5600b test and update the weave example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 15:55:19 +00:00
Marcelo Matus
d8cf647114 add Inline::SWIG test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 10:54:41 +00:00
Marcelo Matus
50e243ee28 finish the initial jstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 07:43:03 +00:00
William S Fulton
3399d65d3e check std::exception typemaps are working correctly and throwing the correct Java exceptions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:28:19 +00:00
William S Fulton
0a587582c3 check std::exception typemaps are working correctly and throwing the correct exceptions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:27:21 +00:00
William S Fulton
0589c365a6 test all the STL exception classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:26:18 +00:00
Marcelo Matus
fb563123a5 uniform cni examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:48:06 +00:00
Marcelo Matus
e71d976af6 update for -copyctor option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:48:05 +00:00
Marcelo Matus
e484bb1721 add the java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 11:43:32 +00:00
Marcelo Matus
9a865b570b add fullname to the php4 kw warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 10:18:49 +00:00
Marcelo Matus
b0d9ab31c8 add more docs and example for new rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:54:27 +00:00
Marcelo Matus
dbfa64aab9 use %kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:52:56 +00:00
Marcelo Matus
e18be62fba silence warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:47:52 +00:00
Marcelo Matus
9abe99e9b0 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:35:49 +00:00
Marcelo Matus
ca49f5453d fix ruby to use gcj
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:35:30 +00:00
Marcelo Matus
75770e607b silence warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:23:08 +00:00
Marcelo Matus
dfd35441ec fixes and docs in %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:01:12 +00:00
Marcelo Matus
badfc0cd50 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:49:47 +00:00
Marcelo Matus
5caa1d3660 silence warns in ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:47:02 +00:00
Marcelo Matus
d0a5fe3ba5 add new test for rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:45:00 +00:00
Kevin Ruland
d2759f0174 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@8144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 02:56:51 +00:00
William S Fulton
842f4bbb27 update with increment/decrement operator tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:58 +00:00
William S Fulton
b04955373c operator overloading test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:18 +00:00
William S Fulton
75f9cf4e43 add increment/decrement operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:13:36 +00:00
Marcelo Matus
f284375212 add tcl+java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 11:59:54 +00:00
Marcelo Matus
fdcd087fb6 cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:54:59 +00:00
Marcelo Matus
8db859aa80 add jstring.i for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:51:35 +00:00
Marcelo Matus
bb84cbb4f6 add java example and missing cvsignore files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:03:00 +00:00
Marcelo Matus
24497eaf54 add operator case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 09:28:10 +00:00
Marcelo Matus
dbc55f256c add gcj and java->python initial support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
9a3b67acda use , so, it can be disabled
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:41:47 +00:00
Marcelo Matus
901bb6d73b 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@8129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:04:00 +00:00
William S Fulton
d112d8f165 runtime test for C# added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:03 +00:00
William S Fulton
b8b013e30e runtime test for Java added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:58:17 +00:00
William S Fulton
5285c56115 Fix for C# which doesn't have a freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:57:19 +00:00
William S Fulton
7bc130cb7f Add in intermediary_classname test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:25:03 +00:00
William S Fulton
6231337a9b 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@8121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:24:22 +00:00
William S Fulton
1d30af4873 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@8120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:22:28 +00:00
Marcelo Matus
dbe3629a80 another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:41:05 +00:00
Marcelo Matus
7873ba0fc9 silence warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:50:32 +00:00
Marcelo Matus
c5dd9cfe0b add more time for slow machines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:41 +00:00
Marcelo Matus
2ea2a973f3 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:07 +00:00
Marcelo Matus
eae6be789b add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:37:40 +00:00
Marcelo Matus
70bb5455a6 add more cases and flag for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:38:27 +00:00
Marcelo Matus
c23dd13d92 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:37:15 +00:00
Marcelo Matus
a5566df2ef add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:35:54 +00:00
Marcelo Matus
f804cc18ab 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@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Charlie Savage
5dd84412c3 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@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
b98cd3362a test vectors of primitive types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:51:32 +00:00