Commit graph

1,445 commits

Author SHA1 Message Date
Dave Beazley
9918dcc348 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 20:52:02 +00:00
Dave Beazley
fc84a3085c Preprocessor/parser improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 16:57:07 +00:00
Dave Beazley
34758852c2 new file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:06:04 +00:00
Dave Beazley
3a1bdd1c53 Added named file functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:32 +00:00
Dave Beazley
6f6b748285 Added named file functions (more details later)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:11 +00:00
Dave Beazley
7d7e92bf43 Changes to code insertion directives.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:04:22 +00:00
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
2d13de8468 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-23 02:44:01 +00:00
Dave Beazley
1228e7e95a Changes for 1.3a5 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 18:45:22 +00:00
Dave Beazley
2cfa93554f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 18:06:35 +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
Masaki Fukushima
43da67658f link to Ruby homepage added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 14:21:07 +00:00
Dave Beazley
748bf32e9a Updates to web-page from 9/4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 22:51:01 +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