Commit graph

628 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Jonah Beckford
27dfb2990c Add CHICKEN code to the things that need to be built.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 02:04:40 +00:00
Jonah Beckford
c8a9fc8adb Allow number of arguments replacement when overloading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 02:01:29 +00:00
Jonah Beckford
3c3c9204fe Initial addition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:41:16 +00:00
Dave Beazley
36370cce28 Fixed explicit instantiation syntax error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-12 17:18:35 +00:00
Dave Beazley
4bc5f4afb9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-12 17:11:42 +00:00
Dave Beazley
cdaaf78337 More fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:31:54 +00:00
Dave Beazley
0a35b472b3 String replacement enhancements to help with preprocessor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:31:41 +00:00
Dave Beazley
4bc0f923fe Further refinements of macro argument handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 03:51:33 +00:00
William S Fulton
30a37433aa Patch submitted by F. Postma for compiling on HP
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:19:03 +00:00
Tiger Feng
2c2bb2522f Add -compact option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 17:17:14 +00:00
Tiger Feng
883b1dfa1a Added -compact option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 17:13:02 +00:00
Dave Beazley
4005792696 Fixed [ 663632 ] incompatibility with standard cpp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 21:17:40 +00:00
Dave Beazley
f9dfaf88bb Fixed [ 675491 ] parse error with global namespace qualification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-06 16:57:32 +00:00
Dave Beazley
02efd1cc23 varargs patch. Critical that we check all of the language modules to make sure they still work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 16:16:12 +00:00
Dave Beazley
046047d3a3 Added support for the unary plus operator in expressions.
Amazingly, this never seems to be have been added to SWIG
before ;-).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-31 17:28:51 +00:00
Logan Johnson
28e7de397b Yet more refactoring in the Ruby module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:18:57 +00:00
Logan Johnson
3e7faf2ad0 Moved the code for defining Ruby method aliases out into a separate function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:07:20 +00:00
Logan Johnson
21718b73da Moved module initialization code for defining Ruby module(s) out into
a separate function.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:03:47 +00:00
Luigi Ballabio
1b25a4d17d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-22 08:11:51 +00:00
William S Fulton
7d93dbc625 File format changed to Unix. Fix dependencies when building using parallel make.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-13 23:07:51 +00:00
Thien-Thi Nguyen
6679abafa7 (Xml_print_attributes): Do "&" replacement
before any others that might introduce "&" into
the stream.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-08 12:19:28 +00:00
William S Fulton
8e3f05b007 Makefile.in files replaced by single Makefile.am
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-23 23:07:01 +00:00
William S Fulton
e1e55aca8c swigconfig.h.in is a generated file. Removing from CVS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-23 22:58:16 +00:00
Logan Johnson
f1d92dac92 Corrected overloading-related coding in PIKE::dispatchFunction().
Corrected all references to 'sp' to 'Pike_sp'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-20 17:27:14 +00:00
Logan Johnson
8df5499308 Added missing #include of "swigconfig.h" to Source/Modules/browser.cxx,
needed for PACKAGE_VERSION macro definition.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-20 16:27:16 +00:00
William S Fulton
d47672d7e7 Modifications to work on MacOS, submitted by Bernard Desgraupes.
Mainly ensuring the files are output in the appropriate directory.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-16 21:20:53 +00:00
William S Fulton
e0e9288997 Version simplification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:40:08 +00:00
William S Fulton
1c6533a885 Version simplification.
'swig -ldflags' added for MzScheme, Ocaml, Pike and PHP


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:39:28 +00:00
William S Fulton
cde8077ed4 Fixed subtle bug where 'make prefix=/somewhere; make clean; make prefix=/somwhere/else' produced an executable using the incorrect library directories.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:37:05 +00:00
William S Fulton
e3313c3322 Simplification of version string. Use autoconf's PACKAGE_VERSION instead.
Fixed subtle bug where 'make prefix=/somewhere; make clean; make prefix=/somwhere/else' produced an executable using the incorrect library directories.
Bug fix in reporting compiler used to compile SWIG


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:36:03 +00:00
William S Fulton
898834ba57 Version simplification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:33:00 +00:00
William S Fulton
f7283ef229 swigver.h removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:30:54 +00:00
William S Fulton
f7eec47b82 File removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:30:01 +00:00
William S Fulton
65fb0fb5b1 Using standard autoconf config header generation.
Deprecated this file


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:26:06 +00:00
William S Fulton
84aeb5e5f0 Using standard autoconf config header generation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:25:30 +00:00
William S Fulton
4ccdf787b3 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:24:50 +00:00
Dave Beazley
b940c7ae94 Fixed template argument replacement bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-10 16:15:22 +00:00