Commit graph

143 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Dave Beazley
d2c2d5ac09 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/SWIG@816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 21:24:13 +00:00
Dave Beazley
77a76ff4ce Changes to support memberin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 19:14:55 +00:00
Dave Beazley
34c2500de2 New %types directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:26:10 +00:00
Dave Beazley
e60ab82481 Removed unused tokens and other cleanup of parser/scanner
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 21:02:37 +00:00
Dave Beazley
f80859b855 Minor cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:01:42 +00:00
Dave Beazley
2b0da81001 Modified C++ handling code to inherit destructors so that a derived class
without a destructor can pick up a destructor (if any) from a base class.
This is highly experimental---I may take it out if it breaks too much stuff.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 21:41:00 +00:00
Dave Beazley
cb4255a086 Fixed problem with abstract base classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:41:14 +00:00
Dave Beazley
ee67a3e146 Fixed C++ code generation so that constructors for abstract classes aren't
generated (note: this is a sick hack).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:41:02 +00:00
Thien-Thi Nguyen
877aa52016 Use EXIT_SUCCESS' and EXIT_FAILURE'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:04:30 +00:00
Thien-Thi Nguyen
6958bb4c08 (SWIG_exit): Fix bug: Use exit code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:47:33 +00:00
Thien-Thi Nguyen
09278801cb Comment. No functional change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:43:42 +00:00
Matthias Köppe
1c8a963323 Use \033 instead of \e since the latter is not standard (Sun cc warns
about an anachronism).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 10:49:31 +00:00
Matthias Köppe
4e7e67c912 Fixed %init directive warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:18:54 +00:00
Dave Beazley
23068fcf8f Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 16:29:53 +00:00
Dave Beazley
e8fe852d9f Lot's of minor bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 03:32:41 +00:00
Dave Beazley
4f55ff51ba Slight cleanup. Test of new CVS commit message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 14:40:10 +00:00
Matthias Köppe
a194416f9f (SWIG_config_file) Constified prototype, enabling build with Solaris c++.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:41:27 +00:00
Matthias Köppe
4bdb6c561c Added dependency to allow for parallel builds.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:40:09 +00:00
Dave Beazley
1c60e6bfbe Made it so language modules can specify a file to process before anything else (for typemaps). Also fixed line-numbering problem in main.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:46:54 +00:00
Matthias Köppe
1dca4eca55 Fixed typemap specification syntax with strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:44:17 +00:00
Dave Beazley
7f251fc20b Changed internal handling of string literals. Added new typemap specification syntax with strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 20:15:08 +00:00
Matthias Köppe
eaec140585 Include library (`-l') files at the beginning, rather than at the end.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:25:54 +00:00
Matthias Köppe
cbf217707f Make typedefs for anonymous enums work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:16:28 +00:00
Dave Beazley
e5895fd8c2 Fixed typemap argument problem with references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 01:25:39 +00:00
Dave Beazley
3014f0e1c5 Fixed problem with reference return types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-19 22:17:46 +00:00
Dave Beazley
b767800ad8 Fixed compilation problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-19 14:20:27 +00:00
Dave Beazley
303f565486 Minor bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:11:52 +00:00
Dave Beazley
e2dd37cb93 Lots of cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 05:08:26 +00:00
Dave Beazley
f470aa1067 Restored the Python module. Lots of minor fixes and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 21:47:36 +00:00
Dave Beazley
503746e964 Eliminated old typemap/except code. Variety of minor bug fixes throughout.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 18:29:23 +00:00
Dave Beazley
ccc26cebae Minor fixes to %apply.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 02:16:50 +00:00
Dave Beazley
0d5ed7dff5 Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 22:09:56 +00:00
Dave Beazley
76cadce589 Various work on new type system
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 20:48:58 +00:00
Dave Beazley
752855600f SWIG no longer generates temporary files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 16:34:31 +00:00
Dave Beazley
89af812026 Some cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 21:25:28 +00:00
Dave Beazley
dae32de1c5 Converted parameter lists to linked lists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 18:37:30 +00:00
Dave Beazley
b18002ef38 Fixed addmethods bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 13:02:18 +00:00
Dave Beazley
e75fe76f9b Bug fix for const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:27 +00:00
Dave Beazley
e336e7f40e Experimental parameter matching code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:16 +00:00