Commit graph

50 commits

Author SHA1 Message Date
John Lenz
07d79ce9b2 Make chicken module correctly calculate the get/set functions by using Swig_name_get
Fix a few compiler warnings in chickenrun.swg


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 19:23:19 +00:00
John Lenz
d966db961c Fix a few minor bugs in the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 00:37:57 +00:00
John Lenz
464ae5b1b0 Chicken: multiple_inheritance test now passes, and we correctly handle %ignored classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 06:27:56 +00:00
John Lenz
16d7a306b8 Chicken:
fix memory corruption/segfault in the argout typemap when it is used with a wrapped pointer return
  unsigned long typemaps could overflow... correctly check for this case


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 04:05:11 +00:00
John Lenz
56910f7c4b Fix a bug in chicken when using -nocollection and -proxy arguments together.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-12 01:07:47 +00:00
William S Fulton
efd25b4674 Modify following features to work as flags, so that they can be truely set and unset:
immutable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:01:13 +00:00
William S Fulton
75972cd1df Modify following features to work as flags, so that they can be truely set and unset:
new


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +00:00
William S Fulton
6247abbd01 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
John Lenz
33fda759d4 Chicken: Minor optimization to the exported constructor functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-16 21:42:42 +00:00
John Lenz
cee86ee739 SWIG chicken module now returns multiple values instead of returning a list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 22:38:09 +00:00
John Lenz
420ba48099 Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00
John Lenz
c5f25b9168 Add some chicken test-suite entries for overloaded functions
(which now work correctly) and update the chicken documentation


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-07 00:39:28 +00:00
John Lenz
c70b62fee2 Some chicken bug fixes for overloaded -proxy methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 20:39:57 +00:00
John Lenz
9203328908 Chicken: a few bug fixes, a new example and some new test suite runme, and some doc updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 17:48:31 +00:00
John Lenz
b3eb733c32 Improvements to the chicken module: tinyclos works with overloaded methods and some other changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 06:33:16 +00:00
John Lenz
92df04c40b Lots more bug fixes for the chicken module: almost the entire test-sutie now runs
The only tests that are failing are ones that depend on std_vector.i and similar


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 07:28:19 +00:00
John Lenz
3c8513346d Fix a few more chicken bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-16 06:51:03 +00:00
John Lenz
99db8b33b2 Fix a few bugs in the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 23:02:58 +00:00
John Lenz
827fa350ab Add garbage collection support to the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:15:47 +00:00
William S Fulton
c7198b8192 Fix broken build when using Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 22:31:59 +00:00
John Lenz
ef58056ffd Add support for the -external-runtime argument and update all language modules to use it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
2906fc959e swig -help prints to stdout not stderr now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:04:10 +00:00
John Lenz
3e93078f74 Chicken: Export proxy function for constants (enums, defines)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 02:01:26 +00:00
John Lenz
71e40846b0 Chicken: Fix bug when exporting non-class variables using -proxy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:50:42 +00:00
John Lenz
e73a098774 Added a -nounit argument, which does not export the (declare (unit ...))
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:38:20 +00:00
John Lenz
b59e4a85a4 - static class member functions now get exported with -proxy.
- member variables of other classes now works properly in goops.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 08:11:02 +00:00
William S Fulton
30312e0173 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:06:51 +00:00
John Lenz
bf83bb81a1 Fix a bug where chicken wrappers were not correctly registering values with the
chicken garbage collector.
Update the chicken documentation to reflect the new proxy class support.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 23:13:59 +00:00
John Lenz
ae49beb41c Chicken test suite should at least run now... still generates a bunch of errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 03:10:50 +00:00
John Lenz
2cdf91de5d More work on the chicken module. The test suite, zlib, and overload examples are still broken.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:50:30 +00:00
John Lenz
4fc9128a6c Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
John Lenz
9dead7a11d New way of sharing type information between modules for chicken, mzscheme,
ruby, tcl, and perl.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
Marcelo Matus
343276f056 change attribute cplus:exceptionclass to feature:exceptionclass. Now it can be enforced with %feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 00:48:33 +00:00
William S Fulton
85ae8dd377 -ldflags option removed for removed prebuilt runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:42:54 +00:00
John Lenz
c394a8dd9f The guile and chicken _runme scripts are now shared
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-07 05:03:39 +00:00
John Lenz
42afd931c7 Rewrite chicken example and test-suite building code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 07:11:26 +00:00
John Lenz
2a575da398 Fix bug 782468
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 21:24:39 +00:00
William S Fulton
238e948bbe Eric Sunshine patch - Mods to work on NextStep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 22:42:18 +00:00
Dave Beazley
4cf4dad108 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
William S Fulton
06ed231b7d -outdir commandline option support => directory for proxy class and other language specific files
-help tidy up


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
Matthias Köppe
e23afc1982 Handle the case of more than one "argout" typemap per function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-01 17:00:04 +00:00
Matthias Köppe
9d97007973 From felix@proxima-mt.de:
The module for generating wrappers for the Chicken
Scheme system contains a small bug: the wrappers
should not contain calls to "C_check_for_interrupt",
which may result in an endless loop.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-24 16:24:02 +00:00
William S Fulton
5e89be947a Matched the text for warnings 462 and 463 to that shown in the docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:53:38 +00:00
Dave Beazley
d41ab208df Compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 20:44:52 +00:00
Jonah Beckford
5a0c97a984 Fixed extremely silly mistake that causes intermittent failures when
overloading methods.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-22 12:54:33 +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
William S Fulton
3327e7095c gcc -Wall warnings fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 23:29:53 +00:00
Jonah Beckford
3def239916 Changed module technique from <module_name>- to <module_name>: which
conforms with chicken "egg" standard.  Got rid of ##csi#run for
relinking the Scheme interpreter as no longer needed.  Changed all
documentation to reflect both changes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 02:00:15 +00:00
William S Fulton
ee9f40723e Fixes for compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 21:59:34 +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