Commit graph

865 commits

Author SHA1 Message Date
Masaki Fukushima
23520c19c0 missing newline
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:52:21 +00:00
Masaki Fukushima
0c2fe7dc74 fixed destructor bug reported by Nobuyuki Horie
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:50:52 +00:00
Dave Beazley
03bdbcf1f8 SWIG1.3 directory added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 02:22:48 +00:00
Dave Beazley
a2561bccc1 swig13 target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 02:22:23 +00:00
Dave Beazley
c8674e1f2e Minor stuff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 21:34:11 +00:00
Dave Beazley
fac1fde9ac *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:10:54 +00:00
Dave Beazley
ef4acfb954 Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:05:36 +00:00
Dave Beazley
fe3d99c296 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:04:53 +00:00
Dave Beazley
3c763c92e0 Modified the preprocessor to allow identifiers to start with "%". This is highly experimental
(I may take it out), but I have this idea that you might be able to create new SWIG directives
as C preprocessor macros.

For example:

#define %check(type) %typemap(check) type

%check(int positive) {
   if ($source < 0) error("hey, what's with this?");
}

(In reality, I think that this feature may allow me to reduce the parser to a smaller
set of more primitive directives that will simplify some of the code maintenance).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:00:55 +00:00
Dave Beazley
73d5446035 Fixed ambiguous else.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:26:07 +00:00
Dave Beazley
661641eccd Oops. Fixed _SWIG_ConvertPtr name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:24:44 +00:00
Dave Beazley
bcd37b6782 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-23 14:11:06 +00:00
Dave Beazley
1be087ee70 Added contributed swig.spec file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 16:26:01 +00:00
Dave Beazley
8c16f01d00 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 16:15:21 +00:00
Dave Beazley
754ca3cd57 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 15:54:40 +00:00
Masaki Fukushima
78964a521c [Ruby] explicitly rescue NameError (for ruby-1.6)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 14:40:15 +00:00
Matthias Köppe
8a82c62193 Fixed typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 08:36:39 +00:00
Matthias Köppe
3827a00fee *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:27:29 +00:00
Matthias Köppe
8a70b0094a (check-examples) Added Examples/guile/port.
(check-examples, check-gifplot-example, check-c++-examples) Use "&&"
instead of ";". If cd'ing into a directory failed (maybe due to
incomplete checkout), we would get infinite make recursion.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:26:02 +00:00
Matthias Köppe
88ffd4c691 [Guile] New typemaps for FILE *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:06:17 +00:00
Matthias Köppe
f897860710 Fixed links and typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:05:05 +00:00
Matthias Köppe
b7b9a8a67c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:04:17 +00:00
Matthias Köppe
b992240b6f [Guile] New example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:03:32 +00:00
Dave Beazley
39361939f4 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 20:24:40 +00:00
Dave Beazley
1d32989a90 Fixed broken inheritance in shadow classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 20:20:18 +00:00
Masaki Fukushima
73cc1bd3bb Ruby enum example added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 17:17:42 +00:00
Matthias Köppe
bf6c97e2d3 [Guile] Changed SCHEME_NAME to FUNC_NAME.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 14:00:56 +00:00
Dave Beazley
31516a34ba *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 04:32:21 +00:00
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