Commit graph

5,127 commits

Author SHA1 Message Date
Marcelo Matus
24497eaf54 add operator case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 09:28:10 +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
e7e61fa999 fix for operator() + template + gcc 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:47:13 +00:00
Marcelo Matus
9a3b67acda use , so, it can be disabled
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:41:47 +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
a9111581bd add copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:17:19 +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
Marcelo Matus
4cf6ff94cd fix rename constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:01:48 +00:00
Marcelo Matus
d5cf7892d5 fix features/rename for template constructors/destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:00:32 +00:00
Marcelo Matus
044d418dce missing add SWIGINTERN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:10 +00:00
William S Fulton
d112d8f165 runtime test for C# added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:03 +00:00
William S Fulton
b8b013e30e runtime test for Java added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:58:17 +00:00
William S Fulton
5285c56115 Fix for C# which doesn't have a freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:57:19 +00:00
William S Fulton
7bc130cb7f Add in intermediary_classname test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:25:03 +00:00
William S Fulton
6231337a9b 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@8121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:24:22 +00:00
William S Fulton
1d30af4873 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@8120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:22:28 +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
a78126addd more docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:42:24 +00:00
Marcelo Matus
dbe3629a80 another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:41:05 +00:00
Marcelo Matus
7b4073a447 fix assert when error occurs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:40:32 +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
801a09f146 fix for unnamed types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:37:26 +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
2560239c4e remove debug prints
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:09:51 +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
7873ba0fc9 silence warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:50:32 +00:00
Marcelo Matus
4c18b66923 idenitfy the exact cast case (minimum rank possible) and dispatch inmediatly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 02:34:08 +00:00
Marcelo Matus
d480e004ff fix extra ';'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 02:31:30 +00:00
Marcelo Matus
ab5fe1a4a5 add 'match' typemap option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:55:17 +00:00
Marcelo Matus
c5dd9cfe0b add more time for slow machines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:41 +00:00
Marcelo Matus
2ea2a973f3 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:07 +00:00
Marcelo Matus
eae6be789b add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:37:40 +00:00
Marcelo Matus
07d8e6e980 add implicitconv and others
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:35:08 +00:00
Marcelo Matus
218adfa960 add implicitconv support and cosmetics for cast rank
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:40:35 +00:00
Marcelo Matus
70bb5455a6 add more cases and flag for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:38:27 +00:00
Marcelo Matus
c23dd13d92 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:37:15 +00:00
Marcelo Matus
a5566df2ef add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:35:54 +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
38729f5e5b add the 'match' option to force,for example, that the 'freearg' typemap only get applied when it mathes the 'in' typemap type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:56:25 +00:00
Marcelo Matus
15b801dbbb fix consistence between reduce/qualify template types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:50:24 +00:00
Marcelo Matus
f804cc18ab 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.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Marcelo Matus
b0dce7e7b1 export missing defs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:18 +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