Commit graph

1,337 commits

Author SHA1 Message Date
Dave Beazley
2bde2bb269 Incorporated return value optimization suggested by Jon Travis.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 04:29:29 +00:00
Dave Beazley
c7d0626f06 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 02:25:28 +00:00
Dave Beazley
b3af6259e0 Modified -l option so that library files are included at the end again. The earlier
change broke a lot of existing code I wasn't anticipating.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 02:23:38 +00:00
Dave Beazley
87e6908015 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 22:28:15 +00:00
Dave Beazley
85340754b0 New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 21:42:54 +00:00
Dave Beazley
c5bc01c898 Fixed infinite loop on enum.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 16:40:54 +00:00
Matthias Köppe
3ad0a40afb [Guile] New command-line option "-emit-setters".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 14:50:15 +00:00
Dave Beazley
15d36d0140 Slight tweak to enum handling and typedefs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:44:03 +00:00
Dave Beazley
8c1045407b Changed enum handling to try and fix C++ enum handling bugs.
Any enum type is now explicitly reduced to an 'int' by SwigType_lstr() and
SwigType_ltype().

Also made a few modifications to the handling of 'const' keywords which
reduces the amount of casting.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:42:03 +00:00
Masaki Fukushima
feb39b0fd2 Many bug fixes to Ruby module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:32:29 +00:00
Masaki Fukushima
fec0d06fa7 Ruby example checks added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:30:54 +00:00
Masaki Fukushima
5df7c82b59 Ruby examples added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:26:04 +00:00
Matthias Köppe
aef09f73b8 Incorporated patch #101430, fixing bugs in the Guile module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 09:35:36 +00:00
Dave Beazley
5078fa532c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 02:45:53 +00:00
Dave Beazley
1117997767 Fixed large file assertion problem. Not really a problem with large files, but rather an
extraneous Delete in the code to emit type-tables that didn't cause a problem except
in interfaces that had lots of types (and classes).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 02:18:45 +00:00
Dave Beazley
754ffa9309 Fixed scanning problem with '%' tokens (they were mysteriously disappearing in added methods and elsewhere).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 01:40:45 +00:00
Dave Beazley
b514666729 Forgot to update version in 1.3a4 (oops). Updated version to be 1.3a5.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 01:30:17 +00:00
Dave Beazley
3c26bf9aa5 Added additional note about 'make check'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 17:48:17 +00:00
Matthias Köppe
e8ef245da8 Last-minute changes to get Guile examples running on Guile1.4 on Solaris.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 17:35:58 +00:00
Dave Beazley
764a72768e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 16:27:09 +00:00
Dave Beazley
cbdeabfa44 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:54:56 +00:00
Dave Beazley
7e5a1db735 Fixed constant creation bug with pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:53:40 +00:00
Dave Beazley
384f9a82da new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:43:52 +00:00
Dave Beazley
91340b52d0 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:30:21 +00:00
Dave Beazley
19f72587d9 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:30:20 +00:00
Dave Beazley
2de4df5af5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 14:59:40 +00:00
Dave Beazley
d996198484 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 14:15:37 +00:00
Thien-Thi Nguyen
ba73217651 (configure_substituted_files): Add Examples/C++/test_conf.py.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 04:07:45 +00:00
Thien-Thi Nguyen
06cf7b80ba Initial revision
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 04:06:55 +00:00
Thien-Thi Nguyen
202c34c014 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 03:28:12 +00:00
Thien-Thi Nguyen
d319851b5c Mention "make check" in two places.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 03:25:23 +00:00
Thien-Thi Nguyen
f3b9abf59f (chk-swiglib): New var.
(chk): Use `chk-swiglib'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 03:20:04 +00:00
Thien-Thi Nguyen
cd419c8fb3 (Examples/GIFPlot/libgifplot.a): New target.
(check-gifplot-example): Depend on Examples/GIFPlot/libgifplot.a.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 03:03:57 +00:00
Thien-Thi Nguyen
10090dcf90 (check): New target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:54:28 +00:00
Thien-Thi Nguyen
5ae711c933 (skip-python): Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:52:40 +00:00
Dave Beazley
f9270ed6fa *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:50:55 +00:00
Thien-Thi Nguyen
79aa30be55 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:45:19 +00:00
Thien-Thi Nguyen
3582da23cf (check-examples): Sync w/ Examples subdir.
(check-gifplot-example): Fix typo.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:41:52 +00:00
Thien-Thi Nguyen
c659c21103 Add simple instructions for making an example do double-duty
as part of the testing framework.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:27:18 +00:00
Dave Beazley
3633dd45d6 Fixed pointer to function bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:16:17 +00:00
Dave Beazley
67e7402e2f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 01:54:30 +00:00
Dave Beazley
739be7912a Added $typemap variable to typemaps. Feature request on mailing list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 01:51:33 +00:00
Dave Beazley
c583dcc5f9 Took out cv=cv, items=items hack.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:46:02 +00:00
Dave Beazley
9db86ad87f Took out 'self = self' hack.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:43:47 +00:00
Dave Beazley
f442d8ca15 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:39:44 +00:00
Dave Beazley
84b51f3cbb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 21:55:29 +00:00
Dave Beazley
48f16e09fc New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 21:50:08 +00:00
Dave Beazley
510e1a61c4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 21:25:59 +00:00
Dave Beazley
23c5ecabd0 Didn't fix the virtual member function problem (at least I don't think
so), but I did discover a simple code-generation optimization that
greatly reduces the amount of wrapper code generated for interfaces with
lots of virtual functions.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 21:24:13 +00:00
Matthias Köppe
277186567a Updated Guile modules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 20:06:32 +00:00