Commit graph

3,165 commits

Author SHA1 Message Date
William S Fulton
b3ff7ede32 char strings runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:42:25 +00:00
William S Fulton
d55841d6ea char * and char[] and char[ANY] typemaps tidyup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:35:30 +00:00
William S Fulton
b490b38306 char * and char[] and char[ANY] typemaps tidyup and fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:34:57 +00:00
William S Fulton
553b468c56 Test fix for gcc 3.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 23:09:59 +00:00
William S Fulton
f6f64410a7 Typemap fix for methods that return char *. The CLR would incorrectly
delete the memory pointed to by char *.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:49:38 +00:00
William S Fulton
5f3b26901c Fixes for -fmicrosoft error/warning message display:
- EOF not displaying in correct format
- Some error messages containing a path were using a double backslash instead of a single backslash


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:34:41 +00:00
Lyle Johnson
745117d4f6 Corrected a bug which caused Ruby exceptions to not be correctly
converted into C++ exceptions for director classes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 02:20:26 +00:00
William S Fulton
b026a95b59 throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:57:36 +00:00
William S Fulton
61d07f7cae Removed redundant #include of Python.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:17:18 +00:00
William S Fulton
f9c82b3138 added %perlcode directive, patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:16:19 +00:00
William S Fulton
9e8092b902 Patch from Ikegami Tsutomu to fix long long *OUTPUT and unsigned long long *OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:15:41 +00:00
William S Fulton
537f477182 added %perlcode directive, patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:02:47 +00:00
William S Fulton
fb7b5a6cf5 Fix for directors when wrapping virtual methods with exception specifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 20:59:25 +00:00
William S Fulton
67b6ad6396 Applied patch #857344 from Art Yerkes. Workaround for autoconf bug when running 'make install'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 20:57:56 +00:00
Lyle Johnson
2c12ae87e5 Added "directorout" typemaps for char * and const char * return values.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:57:06 +00:00
Lyle Johnson
d34102d40b Modified the "varin" typemap for a dimensionless char array to generate
a warning message, and to raise an exception if the typemap is actually
invoked at runtime. This is needed to avoid problems for the case when
wrapping an extern char[] declaration, where the array size is truly
unknown.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:48:40 +00:00
William S Fulton
052d067feb varin enum SWIGTYPE mods to handle unnamed enums
varin char[] typemap


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 21:33:46 +00:00
William S Fulton
2631309c2f varin enum SWIGTYPE mods to handle unnamed enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 21:32:27 +00:00
William S Fulton
8568295425 Sun Workshop warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 20:45:56 +00:00
William S Fulton
6207f1615e Sun Workshop warning fixes
Use new not malloc in C++ code


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 20:45:23 +00:00
Marcelo Matus
d17ee6f927 fix arrays_global and add more vector tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 05:36:02 +00:00
Marcelo Matus
650faa0f28 forgot %feature(director) for Bar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 05:32:34 +00:00
Marcelo Matus
41f6102ff7 silence warning for char[]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 05:27:43 +00:00
William S Fulton
4035e3474c typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:52:36 +00:00
William S Fulton
af1991b3f1 changes for new documentation generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:35:41 +00:00
William S Fulton
9bebf26e27 new runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:29:47 +00:00
William S Fulton
7115d15555 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:25:39 +00:00
William S Fulton
229d40e0ee Update after running html tools in makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:21:18 +00:00
William S Fulton
8dfc876eea fix for html error as reported by htmltidy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:18:29 +00:00
William S Fulton
cf5edcc6da copyright update and typo in -help
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:14:25 +00:00
William S Fulton
0b7b1edad1 const fixes for allegro module usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:48:46 +00:00
William S Fulton
92b365d87d Fix so that this file compiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:47:54 +00:00
William S Fulton
b54804260f pesky warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:46:22 +00:00
William S Fulton
abeef193d2 missing throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:44:54 +00:00
William S Fulton
8ccabb2cc1 broken test moved to broken tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:43:02 +00:00
William S Fulton
7f5dcf3b65 debug messages removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:42:15 +00:00
Lyle Johnson
034564627f Use %warnfilter to filter out a few warnings from the Ruby module about
constants whose names begin with lowercase letters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:47:31 +00:00
Lyle Johnson
b636b8b24a Use %warnfilter to filter out a few more warning messages from the Ruby
module about constants whose names begin with lowercase letters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:46:22 +00:00
Lyle Johnson
864ee958c4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:44:51 +00:00
Lyle Johnson
9c3ce7e9d9 Ignore .bundle files in Examples/test-suite/ruby (for Mac OS X).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:39:36 +00:00
Lyle Johnson
881fecf196 Added a "throws" typemap for enum types. Fixes the broken throw_exception.i
test case for the Ruby module.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:34:44 +00:00
Lyle Johnson
d9181829c4 Added "throws" typemaps for std::string and its variants. Fixes broken
test case lib_std_string.i for the Ruby module.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:28:05 +00:00
Lyle Johnson
55d1b3338f Added two more tests to lib_std_string.i, to test throwing a pointer to
a string and a const pointer to a string.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:26:45 +00:00
Lyle Johnson
7f71c2696f Added some missing throws typemaps for SWIGTYPE and its variants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:07:55 +00:00
Lyle Johnson
351c6af986 Fixed a little typo in the comments (was "Outnput", changed to "Output").
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:31:10 +00:00
Lyle Johnson
89859f2e70 Break the standard Ruby typemaps out into a number of smaller files
which are included by ruby.swg.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:28:07 +00:00
John Lenz
ed4354cefd move pragma_include to below the EXPORT line in perl module.
This is patch 922680.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 01:12:45 +00:00
John Lenz
862c8bc74e changed convert_to_bool_ex to convert_to_boolean_ex from patch 891348
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 01:11:06 +00:00
William S Fulton
e5c94c6254 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:13:27 +00:00
William S Fulton
7e5ec7742c Fix for enum forward declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:10:51 +00:00