Commit graph

1,526 commits

Author SHA1 Message Date
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
Dave Beazley
9283b17526 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 03:05:49 +00:00
Dave Beazley
49c5fd73a0 Updated description of Swig_save(), Swig_restore(), and Swig_require() functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 03:02:34 +00:00
Dave Beazley
93dbb266f8 Added comment about GNU-style variadic preprocessor macros (now supported).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 02:46:53 +00:00
William S Fulton
9520ba23f3 SWIGLIB fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-09 23:25:29 +00:00
Jonah Beckford
9ce6a30a75 This should not be in the repository.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-09 22:47:41 +00:00
Art Yerkes
b6895badf2 Director: added disown. It now mutates the reference held by the object.
mlheading and mliheading: Added C_director_core, which holds the state needed
by the director to disown.
std_string and std_vector: Added specific support for the common case of
a zero-terminated char **.
typemaps.i: Withdraw default argout for SWIGTYPE &


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 20:14:31 +00:00
Art Yerkes
c2a610092a typemaps.i: $descriptor usage correction.
ocaml.cxx: director classes (needs more testing, but my Qt example works).
director.swg: Core director class for Ocaml.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 17:11:19 +00:00
Mark Rose
0b87776d0b Added SetNoneComparison call to PYTHON::top
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 10:01:30 +00:00
Logan Johnson
80c2ff17c4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 05:13:19 +00:00
Logan Johnson
3525f78b58 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 04:51:15 +00:00