Commit graph

1,428 commits

Author SHA1 Message Date
Jonah Beckford
18d96dd27d Changed typo in output filename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 16:35:27 +00:00
Jonah Beckford
8bbb5d2f77 Changed %module xx_yy_zz to generate xx-yy-zz.scm and
xx-yy-zz_wrap.c[xx] (and xx-yy-zz-clos.scm and xx-yy-zz-generic.scm if
using TinyCLOS).  Consistent with the "namifying" of other C
identifiers.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 15:19:00 +00:00
Mark Rose
d0f9431db8 partial fix for abstract director classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
William S Fulton
1645ab51b0 Missing using System; statement in the module class, needed by mono compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 23:09:39 +00:00
William S Fulton
00b9694262 Use the C# compiler found by configure, not just pnet's cscc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 22:54:52 +00:00
William S Fulton
ee4b63a60a template example working, sorry forgot to commit it earlier
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 22:48:02 +00:00
William S Fulton
811bf393a2 New examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:48:00 +00:00
William S Fulton
379c070640 Reference example like the other languages, all working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:47:39 +00:00
William S Fulton
6b626a186b Function pointer example just like the other languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:46:41 +00:00
William S Fulton
4c5d572f7c Classes and inheritance now working as demonstrated by the classic SWIG class example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:45:47 +00:00
William S Fulton
8bb8521a46 Virtual methods in C# proxy classes now use the appropriate keyword, virtual or override.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:42:52 +00:00
William S Fulton
6abbf36a8f Use the code written for -fvirtual to gather information about virtual methods needed for C#.
The code written for -fvirtual is largely replicated in the code for directors and ought to be consolidated; they both are constructing vtables of sorts.
Both approaches also need fixing for when the virtual keyword is not used, eg

class Base {
virtual void foo();
virtual void bar();
};

class Derived : public Base {
virtual void foo();
void bar();
};

Neither currently detects bar as a virtual method.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:40:28 +00:00
James Michael DuPont
010f3a6b20 clean up the debian stuff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:36:56 +00:00
William S Fulton
a48f45179e Typemap updates since they were branched from Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:34:31 +00:00
William S Fulton
af98737169 Non typemap code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:33:38 +00:00
James Michael DuPont
9fe07c496a debian support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 19:54:32 +00:00
James Michael DuPont
a497779d08 update readme
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 19:39:38 +00:00
Art Yerkes
ae635218f2 Added some tests to mimic the ones in the python directory. Working my
way through the alphabet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 15:25:27 +00:00
Logan Johnson
edd3bac431 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 21:34:14 +00:00
Logan Johnson
a6f81e194a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 20:40:21 +00:00
Logan Johnson
182a3d7e14 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 20:27:13 +00:00
Logan Johnson
2117af95f3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 20:01:59 +00:00
Jonah Beckford
df3ea80046 Documentation for fully-knows problem, and update to what is the
minimal version of CHICKEN that can be used with SWIG.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:38:00 +00:00
Dave Beazley
2b921f2986 Fixed bizarre template default constructor + SwigValueWrapper() bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:24:39 +00:00
Dave Beazley
0dd79c2cb0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:24:12 +00:00
Dave Beazley
3cb7404165 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:23:57 +00:00
Luigi Ballabio
471f1d43d8 std::map ready for prime time (hopefully)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 15:38:02 +00:00
Dave Beazley
e6cb11e9ba Added $descriptor() support to code supplied to methods in %extend sections.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:37:51 +00:00
Dave Beazley
485e5f8cae Fixed minor VC compilation problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:27:07 +00:00
Dave Beazley
8ca5543263 Added DISOWN typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 12:38:06 +00:00
Jonah Beckford
8389d105d2 Got rid of -static flag to linker for CHICKEN. Not portable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 11:51:22 +00:00
William S Fulton
abb4c8b64c long long typemap rewrite for compilers that don't understand long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 22:41:28 +00:00
William S Fulton
5dfcab3d25 Fix for mono c# compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:56:34 +00:00
William S Fulton
2e32117f77 mono c# compiler detection
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:52:18 +00:00
William S Fulton
18dc9ec458 long long typemap mods for using with %apply by compilers that don't understand long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:50:14 +00:00
William S Fulton
3d030619ba Java module enhancements/bug fixes since the C# module was derived off the Java one.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:47:38 +00:00
Jonah Beckford
dc903ccc6e Added "module" target to build a dynamic module, got "clean" target to
invoke "chicken_clean" target in Examples/Makefile, and let
Examples/Makefile handle all the compiling.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:13:56 +00:00
Jonah Beckford
61ec2b6351 Added descriptions of how to build dynamic loadable module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:12:20 +00:00
Jonah Beckford
f8e9fbd60e Cleaned up target for making a CHICKEN interpreter, added a target to
make a dynamic loadable module, and added a chicken_clean target.
No longer using the "compile" and "cxxcompile" ... will remove them
once I check that no one else is using them.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:11:42 +00:00
Jonah Beckford
35beb92c55 Split up shared and static flags for CHICKEN detection.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:09:57 +00:00
Logan Johnson
0812b18bea *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 18:34:23 +00:00
Dave Beazley
f09325678a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 15:40:03 +00:00
Dave Beazley
8b7b551f88 Fix to escape code handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:03:05 +00:00
Dave Beazley
09d047285c Fix to constant handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:01:42 +00:00
Art Yerkes
8f652a9025 Added info about turning on directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 05:02:47 +00:00
Art Yerkes
99c5d947e6 Added documentation about director classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:59:50 +00:00
Jonah Beckford
4acaeabf2a Fixed up the "make clean" target and used normal Chicken flags for compiling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:49:37 +00:00
Art Yerkes
69cbf4251c Working example. See Examples/ocaml/shapes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:14:04 +00:00
Art Yerkes
04f713b5c0 Shapes example small correction.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:13:06 +00:00
Art Yerkes
68f117527f Added overloading example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:09:14 +00:00