Commit graph

1,368 commits

Author SHA1 Message Date
Dave Beazley
036a2ca079 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:47:34 +00:00
Dave Beazley
7537c7e8ea Fixed [ 605162 ] Typemap local variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:46 +00:00
Dave Beazley
71748e9622 Refinement of noquote string replace to fix
[ 605162 ] Typemap local variables.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:35 +00:00
Dave Beazley
ef17d4a002 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:40:10 +00:00
Dave Beazley
67163c9cbe Fixed Marcelo's abstract_typedef test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:38:13 +00:00
William S Fulton
fb97158615 enumvalue attribute always has a value now. If there is no explicit value set
in the code being wrapped, then a value is constructed which is
1+ the previous enum value. For example:
enum numbers { zero, one, seven=7, eight};
has enumvalue attributes of '0', 'zero+1', '7' and 'seven+1'

Based on patch by Heiner Petith.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:06:10 +00:00
William S Fulton
5f00ce7606 %javaconst(1) feature for enums so that using enum values do not have to make a JNI call.
Based on patch by Heiner Petith.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:00:22 +00:00
William S Fulton
c75bcef396 %javaconst(1) feature for enums so that using enum values do not have to make a JNI call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:58:37 +00:00
William S Fulton
1b26188b33 Extended test by adding in trailing comma to enum list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:56:45 +00:00
William S Fulton
77d6e3dd32 %javaconst(1) for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:55:44 +00:00
William S Fulton
218c82cf53 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:54:13 +00:00
William S Fulton
2cdc76e09d Makefile no longer used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 21:25:05 +00:00
William S Fulton
eaab9adb44 CCSHARED used for compiling the GIFPlot library files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 21:22:55 +00:00
William S Fulton
8daf2c32d7 Fixed patch for HP. The patch talked about in the bug report was for SWIG-1.3.17, but the OS detection has changed since then.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 20:30:04 +00:00
Logan Johnson
90c0608798 Fixed warning messages for preproc_5.i, template_extend1.i and
template_extend2.i test cases.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 20:17:47 +00:00
Tiger Feng
7a603be159 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:37 +00:00
Tiger Feng
c48043e47c modified -fcompact feature to deal with PP lines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:29 +00:00
Dave Beazley
061de53790 Added HP TRYLINKINGWITHCXX patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:43:55 +00:00
Dave Beazley
41307d05ba Removed some unused variable warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +00:00
Dave Beazley
67424ecc84 Fixed missing line break in %except warning message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 13:51:38 +00:00
Luigi Ballabio
45401fca51 Fixed typecheck for bools
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00
Dave Beazley
080b3aab36 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:41:00 +00:00
Dave Beazley
6cfc64197b Fixed [ 689040 ] Missing return value in std_vector.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:40:12 +00:00
Dave Beazley
7162f2fa7b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:27:03 +00:00
Dave Beazley
3d51ba0040 Fixed Luigi's template+%extend magic trick.
Marcelo should verify that his codes still work... ;-).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:26:51 +00:00
Dave Beazley
3dd532f7d8 new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:25:31 +00:00
William S Fulton
d685c8a688 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:30:34 +00:00
William S Fulton
dc39d9bf89 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:23:49 +00:00
William S Fulton
44fde93b5a Improved support for native Windows compilers.
It is no longer necessary to explicitly export the SWIG_init DLL function by passing flags to the linker.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:18:54 +00:00
Logan Johnson
8549b7cbed Correct documentation for SWIG_ConvertPtr() in the Ruby section of the
SWIG Manual.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 18:27:04 +00:00
Luigi Ballabio
cd8f6737cb Missing typecheck for bool passed as value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:54 +00:00
Luigi Ballabio
524636ef1c Allow returning std::strings with embedded null characters (why one would want to do this is beyond my understanding)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:13 +00:00
Jonah Beckford
b0f8e8516c How did this ever get in here?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:10:16 +00:00
Jonah Beckford
2f30f32ab0 The CHICKEN VTK example was way too big. Will be in a seperate project.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:08:40 +00:00
Jonah Beckford
ce51c69b65 No longer needed since depends on Examples/Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:06:22 +00:00
Jonah Beckford
2da372f015 Got rid of CHICKEN example Makefile.in -> Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:00:58 +00:00
Jonah Beckford
c523a3d388 Got rid of vtk description as it is gone, and added zlib description.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 07:59:41 +00:00
Jonah Beckford
05e762d4b4 Initial addition, to get rid of dependence on configure.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 07:57:49 +00:00
Jonah Beckford
ddf78195cb Added compile and cxxcompile targets.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 07:55:46 +00:00
Tiger Feng
7fdf6b4e28 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:08:03 +00:00
Tiger Feng
3710f27c50 -fcompact
-fvirtual
-small
SWIG_FEATURES


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:07:57 +00:00
Tiger Feng
25e08819ec -fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:07:16 +00:00
Art Yerkes
c3d9424ca3 Also normalize reference type as well as pointer type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:33:04 +00:00
Art Yerkes
cb107801fb corrections for std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:32:40 +00:00
Art Yerkes
277a7e01e8 std::string and std::wstring example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:32:08 +00:00
Art Yerkes
9c3c115a11 Normalize class names that have template components. This allows the
simple scheme I use for templating to work (at least in the test cases
so far).  I probably need to come up with a better scheme for associating
the class closure creator with the typemaps.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:40:42 +00:00
Art Yerkes
a8ef2143b0 Added needed files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:37:15 +00:00
Art Yerkes
b208dbe7d9 Now uses $(CXX) in ocamlc for the C++ compiler (needed when using STL).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:35:15 +00:00
Art Yerkes
c3e98e3627 typecheck: Foolish omission of break;
mlheading and mliheading: added make_x and get_x accessor and constructor
functions for C_xxx types.  This makes the system a bit more accomodating.
ocaml.swg: Corrected one SWIGSTATIC
std_vector.i: First shot at a working implementation (with example).
typemaps.i: Correction to handling of SWIGTYPE ...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:29:34 +00:00
Jonah Beckford
3b7013555a Added CHICKEN to Welcome page.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 03:56:27 +00:00