Marcelo Matus
b044703d0d
better support for the %throws directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 17:19:22 +00:00
Marcelo Matus
38c8cf2cb8
add __not__ and test the new bool typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 15:53:23 +00:00
Marcelo Matus
06a949da6d
add the %throws directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 10:12:32 +00:00
Marcelo Matus
b06f56b4a6
comment part of the test that is broken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 08:13:15 +00:00
Marcelo Matus
75d64a4018
add native bool support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 07:27:12 +00:00
William S Fulton
e7859d3bbd
More robust BigInteger runtime test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 23:11:17 +00:00
Marcelo Matus
a05ba722d7
add %delobject, which is the equivalent of %newobject but for functions that delete an element. This allows to properly disown the argument, as the %newobject directive allows to 'own' the object
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:35:04 +00:00
Marcelo Matus
972974c0e3
fix to avoid copies when the wrapper class exists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:08:21 +00:00
William S Fulton
8e762154b8
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:59:46 +00:00
William S Fulton
e0907e37a3
Specify classpath which is needed should the CLASSPATH env variable be set
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 19:54:27 +00:00
Marcelo Matus
7e4e3c84cf
test operator aliases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:44:44 +00:00
William S Fulton
49352e13b1
call the sanity_check function to check the C++ operators are implemented correctly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:36:36 +00:00
William S Fulton
278d0f91f7
call the sanity_check function to check the C++ operators are implemented correctly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:09:33 +00:00
William S Fulton
d59d8638c9
add in complete increment/decrement operator checks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:06:30 +00:00
William S Fulton
c93b695e82
Fix C# increment/decrement operator wrappers
...
Add in runtime test to check increment/decrement operators are working correctly (pure C++ test)
Expose the function that checks all C++ operators so it can be called from target language
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:05:46 +00:00
Marcelo Matus
a29cb3bb02
more test cases, less cast operations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:57:44 +00:00
Marcelo Matus
76c06cc3bb
more test cases, less cast operations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:28:51 +00:00
Marcelo Matus
b279ccbb03
avoid extra casting since they conflict with 'const', reported by James Bigler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 23:08:06 +00:00
Marcelo Matus
f3cd3bfe21
flag the memberget/memberset methods and use it to deactivate kwargs, reported by amaury
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:55:58 +00:00
William S Fulton
49b7caf240
extra operator++ test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:32:54 +00:00
William S Fulton
6c07923bf5
Fix postfix operator++ operation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:32:21 +00:00
William S Fulton
3f01622061
add in missing testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 14:10:55 +00:00
Marcelo Matus
89e7497ac6
add support for named warning codes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Marcelo Matus
3cbecbd4e1
fix spurious warning for kwargs + vars, reported by Amaury
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:08:35 +00:00
Jason Stewart
18771f8267
Perl module now fully supports operator overloading
...
added script for testing overloading support which uses Perl test harness: Test::More
updated HTML docs for operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:59:27 +00:00
Marcelo Matus
68fda5bdea
update cvsignore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 06:54:48 +00:00
Marcelo Matus
8683c85423
fix example for old compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 02:28:44 +00:00
Marcelo Matus
b67c64ba3b
use consistent macro name SWIG_CSTRING_UNIMPL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:52:19 +00:00
Marcelo Matus
9e37d0272c
properly disable stl.i in target languages which do not support it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:49:57 +00:00
Marcelo Matus
229cae7bbb
add test for the %implicitconv directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 22:52:52 +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
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
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
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
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
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
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