Commit graph

3,021 commits

Author SHA1 Message Date
William S Fulton
dc2bf27dc0 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/SWIG@6162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:49:38 +00:00
William S Fulton
70891c9867 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/SWIG@6161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:34:41 +00:00
Lyle Johnson
f5ae188494 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/SWIG@6160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 02:20:26 +00:00
William S Fulton
26283a6945 throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:57:36 +00:00
William S Fulton
7f1a06e20d Removed redundant #include of Python.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:17:18 +00:00
William S Fulton
88d782332a added %perlcode directive, patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:16:19 +00:00
William S Fulton
ea94a4a0bd 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/SWIG@6156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:15:41 +00:00
William S Fulton
2b8acdf5a8 added %perlcode directive, patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:02:47 +00:00
William S Fulton
6e766985cc Fix for directors when wrapping virtual methods with exception specifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 20:59:25 +00:00
William S Fulton
452339492e 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/SWIG@6153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 20:57:56 +00:00
Lyle Johnson
d79678c619 Added "directorout" typemaps for char * and const char * return values.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:57:06 +00:00
Lyle Johnson
7322ef7cb7 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/SWIG@6151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:48:40 +00:00
William S Fulton
40fcb96d9d varin enum SWIGTYPE mods to handle unnamed enums
varin char[] typemap


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


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 20:45:23 +00:00
Marcelo Matus
5fe3427682 fix arrays_global and add more vector tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 05:36:02 +00:00
Marcelo Matus
e0ad008aac forgot %feature(director) for Bar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 05:32:34 +00:00
Marcelo Matus
2f60933bc7 silence warning for char[]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 05:27:43 +00:00
William S Fulton
0948c97ac2 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:52:36 +00:00
William S Fulton
623be05e04 changes for new documentation generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:35:41 +00:00
William S Fulton
e03b3f790e new runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:29:47 +00:00
William S Fulton
fdb203e08f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:25:39 +00:00
William S Fulton
75f28e9f32 Update after running html tools in makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:21:18 +00:00
William S Fulton
e777771be7 fix for html error as reported by htmltidy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:18:29 +00:00
William S Fulton
afb2721ab4 copyright update and typo in -help
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:14:25 +00:00
William S Fulton
8f1a476448 const fixes for allegro module usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:48:46 +00:00
William S Fulton
9bafb579c7 Fix so that this file compiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:47:54 +00:00
William S Fulton
e203a700c2 pesky warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:46:22 +00:00
William S Fulton
a5c694a978 missing throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:44:54 +00:00
William S Fulton
d2c06e97dc broken test moved to broken tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:43:02 +00:00
William S Fulton
4cc38e6bce debug messages removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:42:15 +00:00
Lyle Johnson
97add03e43 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/SWIG@6130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:47:31 +00:00
Lyle Johnson
4a49ed47f9 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/SWIG@6129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:46:22 +00:00
Lyle Johnson
cf476a18d6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:44:51 +00:00
Lyle Johnson
f65bccde1f Ignore .bundle files in Examples/test-suite/ruby (for Mac OS X).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:39:36 +00:00
Lyle Johnson
72cf9e7ee7 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/SWIG@6126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:34:44 +00:00
Lyle Johnson
eea19ad0db 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/SWIG@6125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:28:05 +00:00
Lyle Johnson
58c7e8b18d 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/SWIG@6124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:26:45 +00:00
Lyle Johnson
14e616436c Added some missing throws typemaps for SWIGTYPE and its variants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:07:55 +00:00
Lyle Johnson
9a6eb5a6b8 Fixed a little typo in the comments (was "Outnput", changed to "Output").
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:31:10 +00:00
Lyle Johnson
db3148bad0 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/SWIG@6121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:28:07 +00:00
John Lenz
faf48cb585 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/SWIG@6120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 01:12:45 +00:00
John Lenz
df7e2ca182 changed convert_to_bool_ex to convert_to_boolean_ex from patch 891348
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 01:11:06 +00:00
William S Fulton
33d169c25e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:13:27 +00:00
William S Fulton
4c02e7cc0e Fix for enum forward declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:10:51 +00:00
William S Fulton
cf79d771c0 Applied patch #1011604 submitted by Charles Schwieters. Fix for 64 bit tcl interpreters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:05:51 +00:00
Matthias Köppe
5203294828 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 15:55:34 +00:00
Matthias Köppe
23d5f2ab9a Replace hardcoded type specifiers by typemap-based type specifier lookup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 15:28:58 +00:00
Matthias Köppe
dffd437b7f Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 13:57:29 +00:00