Commit graph

2,163 commits

Author SHA1 Message Date
Dave Beazley
9c09209fed Use glibtoolize on Mac OSX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:51:43 +00:00
Dave Beazley
748d700263 Configuration changes for OS-X. Including:
-  Disable use of static libraries in libtool
    -  Setting of different file suffixes for different languages (.so, .bundle, .dylib, etc.).
    -  Optional setting of -no-undefined option to libtool.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:51:16 +00:00
Art Yerkes
c760caa0f2 Missing assert.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 23:47:46 +00:00
William S Fulton
c7d78b6c13 Minor tweaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:34:35 +00:00
William S Fulton
b204646590 added check that pure virtual method is handled by throwing an exception if Java derived class does not provide an implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:33:17 +00:00
William S Fulton
2636349aa1 Scott Michel patch which removes supefluous ricochet director checking code except for pure virtual methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:26:36 +00:00
Luigi Ballabio
fd6ff5aef9 Detection of Python library in installed macros (which probably should be synchronized with those used in configure.in)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 15:34:08 +00:00
Dave Beazley
0c5e8e7b3e Fixed int *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 15:00:23 +00:00
Dave Beazley
f64aacc6ba OS-X Changes (Python/Tcl)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:56:09 +00:00
Dave Beazley
f01d74cc18 Changes to get OS-X working (Python/Tcl).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:55:37 +00:00
Dave Beazley
99739721ba SafeInit function added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:51:12 +00:00
Dave Beazley
3e84a13891 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:50:49 +00:00
Dave Beazley
66041e6db0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:07:20 +00:00
William S Fulton
15cd29062f redundant script as autogen.sh works on debian
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 22:04:04 +00:00
William S Fulton
15a7c686df Java specific test to test the various.i typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +00:00
William S Fulton
3c4c47cbea Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +00:00
William S Fulton
05d2ab63eb JNI descriptor attribute in directorin typemap called descriptor instead of parse now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:20:07 +00:00
William S Fulton
d725be7f9e Warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:16:53 +00:00
William S Fulton
fcb4392793 director downcast mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 10:41:27 +00:00
William S Fulton
d95d3555f1 directors docs more integrated with the rest
various.i library update


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 10:18:56 +00:00
William S Fulton
bdf45e991f Help string split for compilers that can't handle long strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-06 22:40:55 +00:00
Matthias Köppe
6092ce47d3 Pass closures, rather than primitive procedures, as #:slot-ref and
#:slot-set!.  Guile 1.6 only seems to like closures here.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-06 15:49:10 +00:00
William S Fulton
6df7122422 Scott Michel patch: Director bug fixes and downcast support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 22:41:40 +00:00
Dave Beazley
377175f813 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:59:07 +00:00
Dave Beazley
2e614a8424 Added contract support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:58:39 +00:00
Dave Beazley
ae40427995 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:38:02 +00:00
Dave Beazley
1a5075b352 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:37:17 +00:00
Dave Beazley
928e3ed815 Restored contract support. Fixed error messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:23:56 +00:00
Dave Beazley
0ef35b6651 Removed snprintf(). Not ANSI.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 20:41:14 +00:00
Matthias Köppe
77c1d8f6db *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-04 19:16:17 +00:00
Matthias Köppe
60f3f3cc8e Only use the SCM_ API when the function `scm_slot_exists_p' exists
(needed for GOOPS support).  This function was renamed during the
Guile 1.5 series from `scm_slots_exists_p'.

Report the right runtime library when invoked with -scm -ldflags.1


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-04 19:15:59 +00:00
Matthias Köppe
a8ff1ee734 Update according to latest changes.
Thanks to John Lenz.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-04 09:07:21 +00:00
Matthias Köppe
7be1e2bc1a Warn about the broken typechecking code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:28:32 +00:00
Matthias Köppe
a494eb1212 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:07:31 +00:00
Matthias Köppe
7df95e05df Fix more problems in --with-chick* options handling.
(#782052).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:07:07 +00:00
Matthias Köppe
4d0c9397c6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:05:01 +00:00
Matthias Köppe
8350f52a38 Fix typo in --with-chickencfg option handling.
(#782052).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:02:51 +00:00
Matthias Köppe
99ae6a2964 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:16:40 +00:00
Matthias Köppe
5af411c153 Merge new set of GOOPS changes by John Lenz.
GOOPS objects are now manipulated directly by the C code.
Some fixes to typemap-GOOPS interaction.

Remove the file argument to -scmstub and -goops.  The Scheme files are
now always called MODULE.scm or MODULE-primitive.scm, where MODULE is
the module name and "primitive" can be changed by the -primsuffix
option.  The Scheme files are now placed in the directory given by the
-outdir option, or the current directory.  (Patch by John Lenz,
slightly modified.)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:15:59 +00:00
Matthias Köppe
a1c8f41baf Merge new set of GOOPS changes by John Lenz.
GOOPS objects are now manipulated directly by the C code.
Some fixes to typemap-GOOPS interaction.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:15:19 +00:00
Matthias Köppe
25bb5d202b Unify the pointer-conversion runtime API.
[Tcl]: Remove the "interp" argument of SWIG_NewInstanceObj,
SWIG_ConvertPtr, SWIG_ConvertPacked, and SWIG_ConvertPtrFromString.
The function SWIG_MustGetPtr is currently not supported.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:14:23 +00:00
Matthias Köppe
13010d7c35 Don't try to call the destructor explicitly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 18:39:43 +00:00
Matthias Köppe
52638ec3e4 Fix typos (class K, class T vs. class T, class u)
and include exception.i


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 18:38:04 +00:00
Matthias Köppe
d248d471a8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 17:44:33 +00:00
Matthias Köppe
b5daed9d15 Update documentation to show the changed SWIG_ConvertPtr signature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 17:39:58 +00:00
Matthias Köppe
e838b97785 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 15:25:37 +00:00
Matthias Köppe
95a3a5a70e Use the preprocessor to rename external functions of the SWIG runtime
API to follow the naming convention SWIG_<language>_<function>.  This
should allow linking more than one interpreter into a program.

Unify the pointer-conversion runtime API.

[Tcl]: Remove the "interp" argument of SWIG_NewInstanceObj,
SWIG_ConvertPtr, SWIG_ConvertPacked, and SWIG_ConvertPtrFromString.
The function SWIG_MustGetPtr is currently not supported.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 15:24:53 +00:00
Matthias Köppe
110924a6f5 Use the preprocessor to rename external functions of the SWIG runtime
API to follow the naming convention SWIG_<language>_<function>.  This
should allow linking more than one interpreter into a program.

Unify the pointer-conversion runtime API.
[Python]: Add the function SWIG_MustGetPtr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:47:06 +00:00
Matthias Köppe
866eccc0e4 (parse-swigtype): Handle varargs.
When generating arg lists, avoid globally bound names.

Handle `extern "C"' nodes.

Add experimental code to link to SWIG itself.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:40:56 +00:00
Matthias Köppe
bcf828af88 Use the preprocessor to rename external functions of the SWIG runtime
API to follow the naming convention SWIG_<language>_<function>.  This
should allow linking more than one interpreter into a program.

Unify the pointer-conversion runtime API.
[Ruby]:     Add the function SWIG_MustGetPtr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:34:51 +00:00