Commit graph

547 commits

Author SHA1 Message Date
Dave Beazley
d66f561cfc Modifications to the module system
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-19 04:38:06 +00:00
Dave Beazley
300da52da5 Fixed minor const problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-18 03:07:47 +00:00
Dave Beazley
c15d662964 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-18 02:56:05 +00:00
Dave Beazley
be178afd80 Few remaining files from SWIG1.1 added. New generate.cxx file added for walking parse trees.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-18 02:53:26 +00:00
Dave Beazley
6b28f547f3 SWIG1.1 directory destroyed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-18 02:51:11 +00:00
Dave Beazley
736fdc62cf Fixed seg-fault problem with type field.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-03 03:30:43 +00:00
Dave Beazley
21231360ca Fixed problem with static class variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-03 03:30:19 +00:00
Dave Beazley
a543ad49f7 Major reworking of the Wrapper object. It is now a DOH object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-11-22 23:14:01 +00:00
Dave Beazley
9afcb30f8b Minor fix to formatted I/O.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-11-22 22:57:27 +00:00
Masaki Fukushima
91f1418007 fixed bug in ruby -feature option handling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-11-13 14:53:03 +00:00
Dave Beazley
70567cf21d Fixed bool handling bug in Python module reported by Michael Scharf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-26 03:13:05 +00:00
Dave Beazley
7bbd3d1ef3 A bit more cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-20 03:57:32 +00:00
Dave Beazley
d376fa3517 Continued thrashing of the Language API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-20 03:49:32 +00:00
Dave Beazley
eb1b332e4c Started conversion of Language API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-18 05:06:39 +00:00
Dave Beazley
5314997241 Fixed bug in hash table copy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-18 04:52:34 +00:00
Dave Beazley
bfa36ad4b2 Fixed weird assertion problem reported by Jan Delgado.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-17 22:04:20 +00:00
Dave Beazley
9b5bda1ce1 Minor tweaks to fix output path problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 16:08:27 +00:00
Dave Beazley
aa04383964 Incorporated Macintosh changes submitted by Luigi Ballabio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 15:25:48 +00:00
Dave Beazley
19cd1f4ecd Fixed minor preprocessor bug introduced by last revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-08 04:14:26 +00:00
Dave Beazley
9af94b14d1 Fixed weird const and return-by-value problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-06 01:51:29 +00:00
Dave Beazley
3ee7a76ef0 Added dynamic module loading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-04 03:37:52 +00:00
Dave Beazley
69d1af33d8 Fixed %apply merging problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-03 20:42:23 +00:00
Dave Beazley
2f0b0af50b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:22:25 +00:00
Dave Beazley
28127aa9be Substantial changes for new module system.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:04:25 +00:00
Dave Beazley
6456c13435 Fixed Python string handling bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:02:51 +00:00
Dave Beazley
df8f29fe1b Changes to preprocessor. More parsing improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 20:52:45 +00:00
Dave Beazley
608282507e Preprocessor/parser improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 16:57:07 +00:00
Dave Beazley
741a306385 Added named file functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:32 +00:00
Dave Beazley
bcc6cbfb16 Added named file functions (more details later)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:11 +00:00
Dave Beazley
4f965d95f5 Changes to code insertion directives.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:04:22 +00:00
Masaki Fukushima
466fcbfcfd missing newline
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:52:21 +00:00
Masaki Fukushima
9aa55f5970 fixed destructor bug reported by Nobuyuki Horie
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:50:52 +00:00
Dave Beazley
ee4856e064 Minor stuff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 21:34:11 +00:00
Dave Beazley
703a022d0a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:10:54 +00:00
Dave Beazley
0e709ada2e Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:05:36 +00:00
Dave Beazley
ecd8d72ef5 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/SWIG@891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:00:55 +00:00
Dave Beazley
ff2943a35d Fixed broken inheritance in shadow classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 20:20:18 +00:00
Matthias Köppe
66b7d171d7 [Guile] Changed SCHEME_NAME to FUNC_NAME.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 14:00:56 +00:00
Dave Beazley
b35f368548 Incorporated return value optimization suggested by Jon Travis.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 04:29:29 +00:00
Dave Beazley
71dad53e9f 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/SWIG@862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 02:23:38 +00:00
Dave Beazley
9b3c9e12d2 Fixed infinite loop on enum.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 16:40:54 +00:00
Matthias Köppe
2963e7676c [Guile] New command-line option "-emit-setters".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 14:50:15 +00:00
Dave Beazley
8b3c2f1c0a Slight tweak to enum handling and typedefs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:44:03 +00:00
Dave Beazley
455500b25d 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/SWIG@856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:42:03 +00:00
Masaki Fukushima
48bc25b91e Many bug fixes to Ruby module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:32:29 +00:00
Matthias Köppe
e867ed25a8 Incorporated patch #101430, fixing bugs in the Guile module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 09:35:36 +00:00
Dave Beazley
465ee17792 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/SWIG@850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 02:18:45 +00:00
Dave Beazley
895a86895d 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/SWIG@849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 01:40:45 +00:00
Dave Beazley
dcefa8ad30 Fixed constant creation bug with pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:53:40 +00:00
Dave Beazley
59ec687725 Fixed pointer to function bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:16:17 +00:00