Commit graph

4,977 commits

Author SHA1 Message Date
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
27ac6b30a5 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:49:47 +00:00
Marcelo Matus
3e1f698542 silence warns in ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:47:02 +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
150a8293c5 add new test for rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:45:00 +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
Marcelo Matus
b034e6c266 add support for options in rename/namewarn and central methods to access the rename/warning hashs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:41:54 +00:00
Marcelo Matus
79acadb777 add better support for encoder, command including
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:38:29 +00:00
Marcelo Matus
cd0b345ebd add naming init and other string cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:37:28 +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
Kevin Ruland
1f604ca303 Extract the class name in CreateZendListDestructor in a more robust manner -
improves zend_error message.  (Thanks Ollie Betts)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:01:56 +00:00
Kevin Ruland
5bc93c9e6a Added prototypes to all functions in example.c. Fixed segv on x86_64 machines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 02:56:51 +00:00
William S Fulton
5bea1432da update with increment/decrement operator tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:58 +00:00
William S Fulton
fc0d1e82bc operator overloading test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:18 +00:00
William S Fulton
80b5e8aaaf add increment/decrement operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:13:36 +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
ebcf1a041d cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:54:59 +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
e06a5d0ccd add java example and missing cvsignore files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:03:00 +00:00
Marcelo Matus
719d1a2afc add operator case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 09:28:10 +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
c567ffaf27 fix for operator() + template + gcc 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:47:13 +00:00
Marcelo Matus
8fb9716fd0 use , so, it can be disabled
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:41:47 +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
769bd6a5a5 add copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:17:19 +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
Marcelo Matus
f383985d2d fix rename constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:01:48 +00:00
Marcelo Matus
27fc8e577d fix features/rename for template constructors/destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:00:32 +00:00
Marcelo Matus
262c2f2f37 missing add SWIGINTERN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:10 +00:00
William S Fulton
eb47550e24 runtime test for C# added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:03 +00:00
William S Fulton
c113d339ea runtime test for Java added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:58:17 +00:00
William S Fulton
68c3d83b40 Fix for C# which doesn't have a freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:57:19 +00:00
William S Fulton
c89104ea60 Add in intermediary_classname test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:25:03 +00:00
William S Fulton
b7388637ba 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/SWIG@8121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:24:22 +00:00
William S Fulton
8e3c7d3548 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/SWIG@8120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:22:28 +00:00
William S Fulton
1917746157 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/SWIG@8119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 00:16:48 +00:00
Marcelo Matus
ebe7889ea9 no need for , use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 23:23:42 +00:00
Marcelo Matus
420449acf3 more docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:42:24 +00:00
Marcelo Matus
43573a8d24 another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:41:05 +00:00
Marcelo Matus
1d9a1cd854 fix assert when error occurs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:40:32 +00:00
Marcelo Matus
7dbaf9630c cosmetics and remove extra freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:38:49 +00:00
Marcelo Matus
21ed9c1b98 fix for unnamed types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:37:26 +00:00
Marcelo Matus
4d92b58f20 fix NEWOBJ->TMPOBJ
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:10:10 +00:00
Marcelo Matus
eb913fd8c4 remove debug prints
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:09:51 +00:00
Marcelo Matus
636e8c4775 fix char/bool types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:08:04 +00:00
Marcelo Matus
e85a31e26d fix missing __PTHREAD__
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 08:46:45 +00:00