Commit graph

148 commits

Author SHA1 Message Date
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
bc2c9de5e0 Minor scanning changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@1016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-02-04 03:54:38 +00:00
Dave Beazley
0489a7e330 Numerous bug fixes. Improvements to C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-24 04:04:01 +00:00
Dave Beazley
5c13fac1d5 Wide range of minor bug fixes and improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-22 04:27:51 +00:00
Dave Beazley
8038f9553a Added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-20 04:02:10 +00:00
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
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
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
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
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
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
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
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
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
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
56c40c8a45 Added $typemap variable to typemaps. Feature request on mailing list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 01:51:33 +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
df6cbfac91 Fixed seg-fault with arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 18:34:54 +00:00
Dave Beazley
16ff68c288 Changed _swig_type_info to swig_type_info
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
86789b2084 Added new Swig_init function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:01:30 +00:00
Dave Beazley
1bdc09434b Fixed naming generation problem for static C++ variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:11:56 +00:00
Dave Beazley
6de4c96f1f Added Swig_string_mangle() function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:23:58 +00:00
Dave Beazley
74e66964cc Modified to include a nice typename as part of the _swig_type_info structure.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:13:28 +00:00
Matthias Köppe
b8b42a3598 (SwigType_str, SwigType_lstr, SwigType_rcaststr, SwigType_lcaststr)
Constified prototypes, enabling build with Solaris c++.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:38:46 +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
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
Dave Beazley
431a344bad Modified to follow typedefs when resolving typemaps. Slight modifications
to typemap registration code to make %apply directive work better.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:12:35 +00:00
Matthias Köppe
1e34234a9f Fixed declaration of SwigType_typedef_resolve and
SwigType_typedef_resolve_all.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:27:15 +00:00
Matthias Köppe
17692a2ef0 The pretty printer gets confused by comments including unbalanced
single or double quotes, like in this interface file:

-------------
%typemap(perl5, check) size_t *SIZE_T_VECTORINOUT
{
    /* NEXT LINE AND REST OF WRAPPER WILL BE MISSING. */
    /* Do nothing (don't check for NULL pointer) */
}

void x(size_t *SIZE_T_VECTORINOUT);
-------------

The code tries to find the end of the character/string constant. When
it reaches EOF, nothing will get emitted because no \n is seen.

This is a change to emit the last line of a string. But the pretty
printer probably should be fixed to handle comments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:17:10 +00:00
Dave Beazley
446aabeffd Fixed default value problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 01:23:45 +00:00
Dave Beazley
7bc2b85464 Fixed const problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 00:30:49 +00:00
Dave Beazley
69da5bc213 Added missing return type to pointer conversion function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:44:10 +00:00
Dave Beazley
cc0d9475bf Fixed weird enum type-handling problem (maybe).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:36:43 +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
fb7bd0ca36 Bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:29:46 +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
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
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
9b62acf02c Minor changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:49 +00:00
Dave Beazley
574ef19b96 Various cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 21:18:24 +00:00