Commit graph

450 commits

Author SHA1 Message Date
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
aeba1f7c50 New Guile command-line argument "-procdoc", specifying procedure
documentation output file.
Fixed "-Linkage" parsing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 12:05:01 +00:00
Matthias Köppe
2fd0d3f570 Added configuration file for Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:50:34 +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
Dave Beazley
d28d1851b2 Fixed minor bug with line continuations in macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:14:31 +00:00
Matthias Köppe
3768eb73db Major clean up in the Guile module.
Started new typemap-based procedure documentation system.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:53:47 +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
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
Dave Beazley
a3f579d4cc Slight change to Cmp() function to better handle null-pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:10:53 +00:00
Matthias Köppe
f93679b839 Enabled the Guile module again.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:28:10 +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
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
49e32d9bec Updated Guile module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:24:22 +00:00
Masaki Fukushima
aa1f1ac3c2 Ruby module changed to use pointer object instead of mangled string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 15:43:59 +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
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
65c2b5acb4 Fixed namespace bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 19:37:04 +00:00
Masaki Fukushima
3b4675d828 Ruby module replaced DataType with SwigType
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 13:46:52 +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
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
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
350fbd3ac3 Got shadow classes partially working. Still more work and cleanup to go.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:11:40 +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
186edaaae4 Fixed problem with SWIGTYPE_.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:25:10 +00:00
Dave Beazley
08181d6b15 More cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 13:54:52 +00:00
Dave Beazley
62bab0f84c Resurrected Perl5. Needs more work though
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 21:14:10 +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
92242a205f Type-checking changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:29:07 +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
69e766acb6 Changed string output of hash tables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 14:57:09 +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
8a3ffdb21f Added reference count assertion to Delete
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 22:05:14 +00:00
Masaki Fukushima
80fcd98b5c swig no longer generates delete_* function when no addmethods mode.
Deal with it.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-13 13:45:41 +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
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
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