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
Dave Beazley
0394dcca49
More cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 02:35:36 +00:00
Dave Beazley
01c0c668a3
Finished removal of all public attributes of types.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 16:36:43 +00:00
Dave Beazley
7f24ebca9a
Hid the name and is_reference attributes of types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 04:01:14 +00:00
Dave Beazley
5c7d202825
Started the (most painful) process of dropping type attributes behind a function call interface.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-25 04:02:31 +00:00
Dave Beazley
f671901138
Cosmetic changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 22:34:02 +00:00
Dave Beazley
b0d2c80259
Removed C++ comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 22:12:20 +00:00
Dave Beazley
e036e895d3
Cleanup. Replaced Parm and ParmList data structures with new implementation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 21:48:56 +00:00
Dave Beazley
057bb8441b
Fixed argument mismatch error.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 14:48:08 +00:00
Dave Beazley
a4982dcc87
Rewrote all of the low-level C/C++ code generators. Continued destruction of old C++ code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:57:26 +00:00
Dave Beazley
9bb0ec4a19
More work on smoothing out the type system. Needs more work however.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-23 04:43:39 +00:00
Dave Beazley
8a7d0af5ad
Changed the handling of types in parameter lists and removed the %val
...
and %out directives. This result of this change is that SWIG does
a lot less manipulation of types before they are given to language
modules. It also means that a lot of stuff is going to be broken
for a short period of time. I am working on cleaning all of this up
so give me a few days to sort it out.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:26:17 +00:00
Dave Beazley
307207ea64
Some API changes to DataType
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-14 21:37:34 +00:00
Dave Beazley
97d9d53f1b
Moved parms and types to C. Changed parameter API
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 19:38:59 +00:00
Dave Beazley
0d0978675d
Cleanup. Some changes to the type interface.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 04:26:25 +00:00