Commit graph

1,066 commits

Author SHA1 Message Date
Marcelo Matus
ab9d75f3c9 fix to avoid copies when the wrapper class exists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:08:21 +00:00
William S Fulton
48d71a9a89 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:59:46 +00:00
William S Fulton
b4e5f33592 Specify classpath which is needed should the CLASSPATH env variable be set
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 19:54:27 +00:00
Marcelo Matus
068bb805ed test operator aliases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:44:44 +00:00
William S Fulton
21e601d59f call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:36:36 +00:00
William S Fulton
c80bfc55e6 call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:09:33 +00:00
William S Fulton
b5d3117170 add in complete increment/decrement operator checks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:06:30 +00:00
William S Fulton
01b07443ff 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@8269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:05:46 +00:00
Marcelo Matus
4e05ba0554 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:57:44 +00:00
Marcelo Matus
2642d272e8 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:28:51 +00:00
Marcelo Matus
b73ca56b1e avoid extra casting since they conflict with 'const', reported by James Bigler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 23:08:06 +00:00
Marcelo Matus
68396be600 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@8257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:55:58 +00:00
William S Fulton
42e48ca9f6 extra operator++ test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:32:54 +00:00
William S Fulton
e364bc65e1 Fix postfix operator++ operation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:32:21 +00:00
William S Fulton
65d72f73cd add in missing testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 14:10:55 +00:00
Marcelo Matus
3634df5e12 add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Marcelo Matus
1baa61f241 fix spurious warning for kwargs + vars, reported by Amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:08:35 +00:00
Jason Stewart
40e789329e 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@8246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:59:27 +00:00
Marcelo Matus
dcf0dc2ed2 update cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 06:54:48 +00:00
Marcelo Matus
1e733be4d9 fix example for old compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 02:28:44 +00:00
Marcelo Matus
2d87b0de74 use consistent macro name SWIG_CSTRING_UNIMPL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:52:19 +00:00
Marcelo Matus
dacc6e1dbb properly disable stl.i in target languages which do not support it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:49:57 +00:00
Marcelo Matus
c6c9150934 add test for the %implicitconv directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 22:52:52 +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
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
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
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
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
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
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