Commit graph

223 commits

Author SHA1 Message Date
William S Fulton
f61c0f6c91 Fix for buffer overflow when using large %feature(docstring) reported by Joseph Winston
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-12 21:15:58 +00:00
William S Fulton
da0b5cf884 Fix for buffer overflow when using large %feature(docstring) reported by Joseph Winston
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-12 21:10:25 +00:00
William S Fulton
6924f9f340 Fix seg fault when parsing:
%inline {
and no closing brace


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-17 20:16:21 +00:00
Marcelo Matus
b9f0fe76b2 fig bug #1477756, inline and restrict keywords in C99
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 06:49:52 +00:00
Marcelo Matus
7724263a9f fix error #1468674 enums + char
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 08:52:29 +00:00
Marcelo Matus
c0b01e9804 fix type for sizeof
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-28 07:49:03 +00:00
William S Fulton
4f9d3e819f cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 22:02:54 +00:00
William S Fulton
8ff6ec955d Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus
1d7d67046f fix bug #1439898
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:35:23 +00:00
Marcelo Matus
ee3fafb073 fix bug #1439898
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:29:34 +00:00
Marcelo Matus
abcb750a99 fix bug #1439898 ]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:08:23 +00:00
Marcelo Matus
157f655be6 reduce the typedef reduce cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 05:48:53 +00:00
Marcelo Matus
a2df176033 use reduced type in templates when it is a pointer,array,reference or when using the templatereduce option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 16:58:01 +00:00
Marcelo Matus
74e6629c20 avoid possible clashes with templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 18:58:45 +00:00
Marcelo Matus
3db62d3c27 fix nested namespace issue reported by Charlie
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 17:55:13 +00:00
Marcelo Matus
fdb5c5ccd5 fix bug #1435090
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 18:04:59 +00:00
Marcelo Matus
883e73915f fix for friend operator and Visual studio and bug 1432152
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 15:59:22 +00:00
Marcelo Matus
d388046661 fix for directors, now the test-suite runs again using -directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:20:09 +00:00
Marcelo Matus
4b150a0c9e avoid assert when finding a recursive scope inheritance, emit a warning in the worst case, reported by Nitro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 22:13:37 +00:00
Marcelo Matus
e26e9d9b6d fix [ 1432152 ] %rename friend operators in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 06:59:06 +00:00
Marcelo Matus
0ac2846b70 fix macro expansion issue reported by Andreas Held
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 08:55:06 +00:00
Marcelo Matus
5da4027676 fix line counting for inner macro expansions (one macro inside another one)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-12 19:48:32 +00:00
William S Fulton
4271ac67b1 gcc warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 23:30:06 +00:00
Marcelo Matus
ece35ac5ea fix infinite loop reported by Olly when using %template() ... inside a class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 21:11:03 +00:00
Marcelo Matus
180ba8e971 more line counting fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:50:00 +00:00
Marcelo Matus
be2a108a3a fix line issues reported by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 01:38:58 +00:00
William S Fulton
f4cabb83fb remove old email address
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 18:23:29 +00:00
Marcelo Matus
41b0a89cfb fixes for %templates/%rename/%features + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 20:25:43 +00:00
William S Fulton
e3186ff0eb gcc-2.96 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:13:07 +00:00
Marcelo Matus
fb5c388df6 better fix for seg. fault in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 07:35:02 +00:00
Marcelo Matus
2cdf8ec650 fix seg fault in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 00:00:39 +00:00
Marcelo Matus
51a55b9705 fix seg fault with undefined templatee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 17:18:31 +00:00
Marcelo Matus
2aa0e23287 don't add forward class to the classes hash. We needed this before for naturalvar, but is not needed anymore. Now produce seg faults when a forward class statement is found after a class declaration. Reported by Evan Weis
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 20:18:38 +00:00
Marcelo Matus
97e99219a7 fix ignored '%template(Foo)' after '%ignore Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 17:03:08 +00:00
Marcelo Matus
7f327d7c46 add forward class to the classhash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:40:47 +00:00
Marcelo Matus
35496ba52a fix seg. fault in Java/Csharp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 22:52:46 +00:00
Marcelo Matus
42383077ea simpler check/set of the 'hasconsttype' attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 07:56:49 +00:00
Marcelo Matus
9acfaee0db fix feature:immutable and the 'const A* var;' case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:51:04 +00:00
Marcelo Matus
4bda2fffd6 disable looking for locators that now are not generated
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 01:07:28 +00:00
Marcelo Matus
fa47d6befe set the feature:immutable at the parsing stage, such that it can be used with rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 00:52:44 +00:00
Marcelo Matus
59690474bf add more rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:57 +00:00
Marcelo Matus
54e7622a05 check value len
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:09:05 +00:00
Marcelo Matus
ef260c3451 add the ismember and hasvalue attributes and the corresponing %rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:04:59 +00:00
Marcelo Matus
4f68626cf6 add predicates to %rename, new kind attribute to cdecl and the '|' operator in %rename's match
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 09:06:07 +00:00
Marcelo Matus
3f50cdc914 more centralization of swigkeys
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 00:41:13 +00:00
Marcelo Matus
c049ae6902 fix the way a member is added to a class, and the class node is constructed, so it can be properly matched with the match=class predicate in the %rename directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 20:14:35 +00:00
Marcelo Matus
5c5584ab40 better support for the %throws directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 17:19:22 +00:00
Marcelo Matus
640d60c198 make both %rename directive formats equivalent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:43:46 +00:00
Marcelo Matus
507e31c102 add %typemap(LANG,..) warning 1387184
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:48:55 +00:00
Marcelo Matus
863961030d more swigkey unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 09:26:42 +00:00