Commit graph

1,453 commits

Author SHA1 Message Date
Marcelo Matus
059a280719 add %rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 00:39:59 +00:00
Marcelo Matus
a9137b3f7b another fix to utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:59:14 +00:00
Marcelo Matus
54df37da81 more examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:13:36 +00:00
Marcelo Matus
219f667f7d change runtime examples to run with old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:13:23 +00:00
Marcelo Matus
7b7ad0541c change runtime examples to run with old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:06:15 +00:00
Marcelo Matus
5daf66c0db fix memory PyObject * typemaps to avoid memory leaks with iterators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:05:12 +00:00
Marcelo Matus
72425a439c fix the way a member is added to a class, and the class node is constructed, so it can be properly matched with the match=class predicate in the %rename directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 20:14:35 +00:00
Marcelo Matus
537f3f7682 fix problem introduced by notmatch, extra not
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 01:02:57 +00:00
William S Fulton
c3c45d9931 type correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:48:55 +00:00
William S Fulton
c89401112f Visual Studio fix for 'operator or' and workaround for binary and unary operator- confusion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:48:08 +00:00
Marcelo Matus
3b1fa61912 test(and fix) the utitle encoder
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:40:07 +00:00
William S Fulton
5fbd413e04 Fix dodgy code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:25:40 +00:00
William S Fulton
a5e70c65ef Silence visual studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:24:57 +00:00
Marcelo Matus
a925249e0b change the %catchs name to %catches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:17:15 +00:00
Charlie Savage
650ea1c873 New example showing use of %catchs and %
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 22:45:58 +00:00
Marcelo Matus
e676d2f8bd rename %throws to %catchs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 18:47:51 +00:00
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
Charlie Savage
c6baa21db4 Updated to match change in exceptions thrown for previously deleted objects.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 03:38:51 +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
William S Fulton
281f34873a remove deprecated language specification in %typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 21:23:27 +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
441c78a706 more examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 03:00:45 +00:00
Marcelo Matus
2bde7c2c3b map iterators now use the native PySwigIterator, which is very very good for large maps, since no more temporals key/value tuples are needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 00:40:44 +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
Marcelo Matus
a80ac86316 add std_map example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:00:51 +00:00
William S Fulton
bf80147426 better approach to running gcj tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:30:37 +00:00
William S Fulton
3421742f46 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:17:12 +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
6db2ccd202 Only run gcj tests when gcj is installed on the box
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:53:53 +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
Jason Stewart
63c757ba94 reactivating the java test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 12:15:10 +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
Jason Stewart
6f0ac941e8 removed 'java' from the test list - this was causing errors for a non-existent test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:19:44 +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