Commit graph

1,144 commits

Author SHA1 Message Date
Marcelo Matus
b60c5572ca treat XMLCh properly using %typemaps_string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:20:33 +00:00
Marcelo Matus
3286d72bb7 cosmetic consistency
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 20:19:37 +00:00
Marcelo Matus
d4aaf7a08a add initial xmlstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 17:06:45 +00:00
Marcelo Matus
50e243ee28 finish the initial jstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 07:43:03 +00:00
William S Fulton
b858051d51 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@8201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:25:33 +00:00
Marcelo Matus
79c9e57b2c delete some inlines which confuse gcc for very large interfaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:54:53 +00:00
Marcelo Matus
cae76b03ee better warning for director methods with ptr/ref output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:52:26 +00:00
Marcelo Matus
fb563123a5 uniform cni examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:48:06 +00:00
Marcelo Matus
33097285e4 addcosmetics and docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 07:43:38 +00:00
Marcelo Matus
c2b4305599 add operator < for DEBUG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:38:48 +00:00
Marcelo Matus
66efeaa788 add to %argument_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:37:53 +00:00
Marcelo Matus
df7878b2dd add empty (not working) jstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 11:44:14 +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
37c183deb0 add insensitive kws
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:36:56 +00:00
Marcelo Matus
2f4e0cdf20 silence warnings for std::exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:36:19 +00:00
Jason Stewart
eefe20390c fixed document typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 06:35:51 +00:00
Jason Stewart
71dfd43bef fixed file path typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 06:27:59 +00:00
Marcelo Matus
990aa04cd2 better str_new
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:46:12 +00:00
Marcelo Matus
41947a37e8 add missing operator warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:44:33 +00:00
Marcelo Matus
bd1c02b658 add %kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:59 +00:00
Marcelo Matus
8c93709658 better kw from Olly's comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:06 +00:00
Kevin Ruland
8b2070268a 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@8147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:15:12 +00:00
Marcelo Matus
370b0ada6b move print from kw to bn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:06:53 +00:00
Marcelo Matus
f284375212 add tcl+java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 11:59:54 +00:00
Marcelo Matus
8db859aa80 add jstring.i for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:51:35 +00:00
Marcelo Matus
9ca73746b6 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@8135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 09:14:30 +00:00
Marcelo Matus
dbc55f256c add gcj and java->python initial support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
7e8fc00652 securing the call to SWIG_IsOK, which is a macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 01:14:24 +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
d57e63e2a5 Add in array reference typemaps - the recently introduced pointer reference typemaps broke array references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 00:16:48 +00:00
Marcelo Matus
53cf7fd217 no need for , use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 23:23:42 +00:00
Marcelo Matus
03d7aba73c cosmetics and remove extra freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:38:49 +00:00
Marcelo Matus
d0fbab350b fix NEWOBJ->TMPOBJ
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:10:10 +00:00
Marcelo Matus
ad79d78875 fix char/bool types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:08:04 +00:00
Marcelo Matus
62ecf24b23 fix missing __PTHREAD__
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 08:46:45 +00:00
Marcelo Matus
fd0d08fead fix for the typemap match option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
e4637545e3 add implicitconv support and cosmetics for cast rank
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:06:26 +00:00
Marcelo Matus
f31cdba60d add support for more 'expressive' result values, which now can carry the old OK/ERROR state, and also the cast rank and the New/Tmp masks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:04:58 +00:00
Marcelo Matus
1078fc9943 add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods. Also add macros for CharLeak/SwigtypeLeak warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:03:03 +00:00
Marcelo Matus
0a9ffc2c2d add the null reference error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:01:39 +00:00
Marcelo Matus
9039ead445 add the label for use inside typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:41:03 +00:00
Charlie Savage
885247aef7 Fixes bug 1386579. When returning a vector of pointers, do not create
copies of the objects that are pointed to since they may not have
copy constructors.  This also is more inline with returning a vector from a method
in C++ where the pointers are copied but not what they point to.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 19:56:35 +00:00
Charlie Savage
5dd84412c3 Reimplementation of tracking objects in Ruby. Instead of passing the $track flag to
the methods SWIG_Ruby_ConvertPtrAndOwn and SWIG_Ruby_NewPointerObj,
now tracking information is held on swig_class.  This change reduces
significantly reduces the amount of code needed in ruby.cxx, is more robust, and is
more cohesive.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
911613c92b fix to set method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 10:46:54 +00:00
Mark Gossage
810453e6b6 Mistake: numargs replaced with numinputs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 09:58:19 +00:00
William S Fulton
6b73e09521 Fix for vector of bool
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:50:49 +00:00
William S Fulton
fa84803fbb Use value_type to to more closely match the STL declarations and work around some bugs in some compilers for pointer references (when the type is a pointer)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:23:58 +00:00
William S Fulton
674b0795a4 Add pointer reference typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:09:16 +00:00
Surendra Singhi
7cfedfae05 Initial revision. Adding CFFI module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:02:26 +00:00
William S Fulton
ef5e93c9ca English fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:58:42 +00:00