Commit graph

1,441 commits

Author SHA1 Message Date
Mark Rose
eb5842504d one more signed/unsigned fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:54:16 +00:00
Mark Rose
91410de78d signed/unsigned comparison fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:35:42 +00:00
William S Fulton
072552a37a Tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:58:11 +00:00
William S Fulton
cc3c735ab3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:28:52 +00:00
William S Fulton
600c87859f The complete C# reference documentation all in 5 lines :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:23:05 +00:00
William S Fulton
6a6aa47af4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:03:33 +00:00
William S Fulton
0db1c71d1e variables example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:54:16 +00:00
William S Fulton
ceccc37377 Usual SWIG variables example - uses properties for global variable access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:51:46 +00:00
William S Fulton
7dafbf88dd Uses properties instead of get/set methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:50:01 +00:00
William S Fulton
df27876aaa multiple inheritance warning for Java and Ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:49:23 +00:00
William S Fulton
cc0b2585f3 Global variables use properties instead of get and set functions.
All member variables working as properties.
pragma used for module class and pinvoke class import statements


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:47:28 +00:00
William S Fulton
3351b0c7ae New typemaps for properties
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:40:51 +00:00
William S Fulton
0e980c826a C# clean mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:39:10 +00:00
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