Commit graph

1,182 commits

Author SHA1 Message Date
Marcelo Matus
68521b1c74 add value iterator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:30:53 +00:00
Marcelo Matus
679d147937 update as std::map
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:48:47 +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
e8d67c80f3 fix to avoid copies when the wrapper class exists, and to accept std::map pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:04:45 +00:00
Marcelo Matus
cf431d3b47 add buildnone option and cosmetics, including sorting options by name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
c4337c7356 add operator aliases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:36:58 +00:00
Marcelo Matus
373a1aa719 use simpler %ignoreoperator directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 07:58:15 +00:00
Marcelo Matus
e73b4e1036 fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 07:15:58 +00:00
Marcelo Matus
6e95b6433b add macros/names to avoid numeric warning codes. use them in tcl,perl,ruby and python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:59:32 +00:00
Marcelo Matus
f1f9068a62 unsigned/signed casts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:59:30 +00:00
Marcelo Matus
3cae8e09ba more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:58:14 +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
a9cc475443 avoid signed/unsigned warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 23:13:12 +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
957a405574 fix problem with containers reported by John Koleszar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 21:37:59 +00:00
Marcelo Matus
44ce7e339c allow to predefine %begin_block,%end_block
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:00:50 +00:00
William S Fulton
e0089921c2 Fix for directors - where a class returned by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 14:09:14 +00:00
William S Fulton
36b1e5c2ac cosmetic changes removing unnecessary brackets and empty lines in generated code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 13:58: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
466eeaa532 organized better for the list of supported and unsupported operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:51:44 +00:00
Marcelo Matus
b3a4f3382e fix iterators for old compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 02:28:01 +00:00
Marcelo Matus
4444d8e85b add corresponding wchar version of cstring.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:53:31 +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
33b23a6965 clarify the use of std_except.i, now it has nothing to do with supporting the STD/STL namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:49:10 +00:00
Marcelo Matus
69c14f087e add initial stl.i to ensure proper file inclussion and extensions for each language
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:37:31 +00:00
Marcelo Matus
a24a1d922f add missing ; detected by improper inclusion of this file via stl.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:33:03 +00:00
Marcelo Matus
20af03cd45 add missing ; detected by improper inclusion of this file via stl.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:27:49 +00:00
Marcelo Matus
e222e63bc2 add stl.i files for each language to prevent improper includes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:27:12 +00:00
Marcelo Matus
9b98829ffe move xmlstring.i to a more standard location
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:06:27 +00:00
William S Fulton
b2347f8594 With so many std_except.i files lying around, I've put in a check that this one isn't included for java/c# wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 22:21:43 +00:00
William S Fulton
c574b94787 More subtle exception fixes for C# and Java. Workarournd for the wrong std_except.i file is being %include'd from java/stl.i and csharp/stl.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 22:02:14 +00:00
Marcelo Matus
3f3c381358 fix problem with PyObject_Del and old python versions, reported by John Koleszar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:42:40 +00:00
Marcelo Matus
b25ff5cb44 delete the perl5 typemaps, ignored here
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:34:51 +00:00
Marcelo Matus
c0e78562a4 add missing typecheck codes and Char typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 21:46:27 +00:00
Marcelo Matus
4c7f4ea9f7 add runme.pl file and missing %init
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:40:47 +00:00
Marcelo Matus
c8d5ba81eb add %nodirector to internal PySwigIterator class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:22:44 +00:00
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
809530e8b1 cosmetic consistency
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:19:37 +00:00
Marcelo Matus
ed8343e085 add initial xmlstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 17:06:45 +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
977c6bb675 Fix recent STL exception breakages and add in throws typemaps for most of the std::exception classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:25:33 +00:00
Marcelo Matus
d3eec7a22f delete some inlines which confuse gcc for very large interfaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:54:53 +00:00
Marcelo Matus
0564796f45 better warning for director methods with ptr/ref output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:52:26 +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
fc4ecc15ec addcosmetics and docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 07:43:38 +00:00
Marcelo Matus
3a45aa84d6 add operator < for DEBUG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:38:48 +00:00
Marcelo Matus
4048f282c9 add to %argument_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:37:53 +00:00
Marcelo Matus
165aa5f6d2 add empty (not working) jstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 11:44:14 +00:00