Commit graph

1,165 commits

Author SHA1 Message Date
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
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
447f7454e5 add insensitive kws
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:36:56 +00:00
Marcelo Matus
58a6f839cb silence warnings for std::exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:36:19 +00:00
Jason Stewart
7284595912 fixed document typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 06:35:51 +00:00
Jason Stewart
00a3bf4b0d fixed file path typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 06:27:59 +00:00
Marcelo Matus
ae41da15df better str_new
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:46:12 +00:00
Marcelo Matus
3dc42480eb add missing operator warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:44:33 +00:00
Marcelo Matus
dd6954ba6d add %kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:59 +00:00
Marcelo Matus
f3262ed3d9 better kw from Olly's comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:06 +00:00
Kevin Ruland
a961a7d5f2 Made string typemaps handle strings with embedded nulls. Changed to use
cstring::data() instead of c_str() to avoid a possible copy.  (Ollie Betts)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:15:12 +00:00
Marcelo Matus
cab4ae94c6 move print from kw to bn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:06:53 +00:00
Marcelo Matus
b4e4fe23ca add tcl+java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 11:59:54 +00:00
Marcelo Matus
dc915a44a1 add jstring.i for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:51:35 +00:00
Marcelo Matus
1cc7f2cdb1 add built-in macro and flag 'empty' as a built-in name instead of a kw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 09:14:30 +00:00
Marcelo Matus
e4b8871ae2 add gcj and java->python initial support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
7223672e09 securing the call to SWIG_IsOK, which is a macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 01:14:24 +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