Commit graph

894 commits

Author SHA1 Message Date
Dave Beazley
d97eab2c7f Fixed bool handling bug in Python module reported by Michael Scharf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-26 03:13:05 +00:00
Dave Beazley
0d716c43c2 Fixed default argument handling bug reported by Michael Scharf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-21 01:41:13 +00:00
Dave Beazley
a9a69c6510 A bit more cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-20 03:57:32 +00:00
Dave Beazley
60b65c6466 Continued thrashing of the Language API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-20 03:49:32 +00:00
Dave Beazley
6fe3ab2e52 Changed version to 1.3a6.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-20 03:42:18 +00:00
Dave Beazley
c34628aca5 Started conversion of Language API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-18 05:06:39 +00:00
Dave Beazley
9a2dbc637a Fixed bug in hash table copy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-18 04:52:34 +00:00
Dave Beazley
4e2fb1a6df Fixed weird assertion problem reported by Jan Delgado.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-17 22:04:20 +00:00
Dave Beazley
ff0fae0a14 Minor tweaks to fix output path problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 16:08:27 +00:00
Dave Beazley
dc47b90c75 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 16:08:01 +00:00
Dave Beazley
6e9629c7a8 Incorporated Macintosh changes submitted by Luigi Ballabio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 15:25:48 +00:00
Dave Beazley
ec4c6aed07 Added Mac directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 15:25:08 +00:00
Dave Beazley
4970a67b06 Fixed minor preprocessor bug introduced by last revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-08 04:14:26 +00:00
Dave Beazley
391cabbb00 Fixed weird const and return-by-value problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-06 01:51:29 +00:00
Dave Beazley
8b5f757406 Added dynamic module loading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-04 03:37:52 +00:00
Dave Beazley
f87ce8596f Added LINKFORSHARED option to swig13 linking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-04 03:23:42 +00:00
Dave Beazley
1c14592d9c Fixed %apply merging problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-03 20:42:23 +00:00
Dave Beazley
c6e5483953 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 13:15:47 +00:00
Dave Beazley
712de8a663 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:22:25 +00:00
Dave Beazley
ed3fa92f9b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:06:11 +00:00
Dave Beazley
5c39b4bc22 Substantial changes for new module system.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:04:25 +00:00
Dave Beazley
44f72308da Fixed Python string handling bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:02:51 +00:00
Dave Beazley
319317814a Changes to preprocessor. More parsing improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 20:52:45 +00:00
Dave Beazley
9918dcc348 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 20:52:02 +00:00
Dave Beazley
fc84a3085c Preprocessor/parser improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 16:57:07 +00:00
Dave Beazley
34758852c2 new file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:06:04 +00:00
Dave Beazley
3a1bdd1c53 Added named file functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:32 +00:00
Dave Beazley
6f6b748285 Added named file functions (more details later)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:11 +00:00
Dave Beazley
7d7e92bf43 Changes to code insertion directives.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:04:22 +00:00
Masaki Fukushima
23520c19c0 missing newline
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:52:21 +00:00
Masaki Fukushima
0c2fe7dc74 fixed destructor bug reported by Nobuyuki Horie
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:50:52 +00:00
Dave Beazley
03bdbcf1f8 SWIG1.3 directory added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 02:22:48 +00:00
Dave Beazley
a2561bccc1 swig13 target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 02:22:23 +00:00
Dave Beazley
c8674e1f2e Minor stuff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 21:34:11 +00:00
Dave Beazley
fac1fde9ac *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:10:54 +00:00
Dave Beazley
ef4acfb954 Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:05:36 +00:00
Dave Beazley
fe3d99c296 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:04:53 +00:00
Dave Beazley
3c763c92e0 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@891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:00:55 +00:00
Dave Beazley
73d5446035 Fixed ambiguous else.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:26:07 +00:00
Dave Beazley
661641eccd Oops. Fixed _SWIG_ConvertPtr name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:24:44 +00:00
Dave Beazley
bcd37b6782 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-23 14:11:06 +00:00
Dave Beazley
1be087ee70 Added contributed swig.spec file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 16:26:01 +00:00
Dave Beazley
8c16f01d00 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 16:15:21 +00:00
Dave Beazley
754ca3cd57 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 15:54:40 +00:00
Masaki Fukushima
78964a521c [Ruby] explicitly rescue NameError (for ruby-1.6)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 14:40:15 +00:00
Matthias Köppe
8a82c62193 Fixed typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 08:36:39 +00:00
Matthias Köppe
3827a00fee *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:27:29 +00:00
Matthias Köppe
8a70b0094a (check-examples) Added Examples/guile/port.
(check-examples, check-gifplot-example, check-c++-examples) Use "&&"
instead of ";". If cd'ing into a directory failed (maybe due to
incomplete checkout), we would get infinite make recursion.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:26:02 +00:00
Matthias Köppe
88ffd4c691 [Guile] New typemaps for FILE *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:06:17 +00:00
Matthias Köppe
f897860710 Fixed links and typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:05:05 +00:00