Commit graph

431 commits

Author SHA1 Message Date
Marcelo Matus
ee2ca133bd fix missing endif
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:39:57 +00:00
Charlie Savage
c4a4392bd2 Minor fix to Swig_string_ucase so that it doesn't output two__underscores in a row.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:36:06 +00:00
Marcelo Matus
60c5530b22 add firstlowercase encoder
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:24:54 +00:00
Marcelo Matus
2290fb1fa9 varios error fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:21:52 +00:00
Marcelo Matus
668a0f5719 cosmetic and check for empty string in first_ucase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:03:50 +00:00
Charlie Savage
3954c5df10 Added new method called Swig_string_first_ucase which capitalizes the first letter in a string. This is needed for the Ruby module to allow backwards compatibility with swig 1.2.7 and before generated interfaces.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 05:50:57 +00:00
Marcelo Matus
f8ee8a0e49 add aliases for the 'case' encoders
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:38:44 +00:00
Marcelo Matus
66817e5970 fix the ctitle encoder to keep capital letters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:06:31 +00:00
Marcelo Matus
dd02494a88 last list rename rule added take precedence
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:10:26 +00:00
Marcelo Matus
5340de2a2e more fixes to utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:09:58 +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
6d1e92ff1e another fix to utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:59:14 +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
b8dcea5c11 fix first capital case in utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 09:23:30 +00:00
Marcelo Matus
985201ddec fix problem introduced by notmatch, extra not
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 01:02:57 +00:00
Marcelo Matus
7f05256bb7 test(and fix) the utitle encoder
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:40:07 +00:00
Marcelo Matus
a9769137ed add the utitle encoder, the reverse of ctitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:16:36 +00:00
Marcelo Matus
3f9632722a fix rename, problem detected in guile which doesn't set any namewarn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:06:19 +00:00
Marcelo Matus
7669cda679 fix ||, it should be &&
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 03:00:18 +00:00
Marcelo Matus
f83bb5488d extra check to see if the template deftype is needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 19:41:32 +00:00
Marcelo Matus
dec3a557de add alias name for templates including full expanded type, including default template args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:56:47 +00:00
Marcelo Matus
b4a5b5aced fix template + global funcs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:55:41 +00:00
Marcelo Matus
0767474ada add operator aliases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:36:58 +00:00
Marcelo Matus
d0079efb79 add missing hidden
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:00:00 +00:00
Marcelo Matus
3634df5e12 add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Marcelo Matus
1baa61f241 fix spurious warning for kwargs + vars, reported by Amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:08:35 +00:00
Marcelo Matus
434d5b5e3a remove extra space, which was needed for template operator<
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 06:09:30 +00:00
Marcelo Matus
c338787d04 remove unneeded Char
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 06:04:40 +00:00
Marcelo Matus
9367fa255d fix wrong assert
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:19:05 +00:00
Marcelo Matus
ab6a42340d fix SwigType_templateprefix + operator <
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:18:16 +00:00
Marcelo Matus
b1f37cfd25 fix for template + operators and compilers like gcc 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:17:47 +00:00
William S Fulton
f3b59d0059 remove old swig-1.1 file no longer used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 23:01:40 +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
Marcelo Matus
45373e58d5 fix csharp RealVector problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 07:40:38 +00:00
Marcelo Matus
a8afed097f add nomatch option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:44:31 +00:00
Marcelo Matus
3a0ad64776 fix missing filename in macro warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:43:58 +00:00
Marcelo Matus
898f60d079 cleanup and fix 'fullname' option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 10:38:45 +00:00
Marcelo Matus
9a865b570b add fullname to the php4 kw warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 10:18:49 +00:00
Marcelo Matus
ecd793845f using the swig keys in cwrap.c
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:49:36 +00:00
Marcelo Matus
d645c91513 cosmetics + docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:48:20 +00:00
Marcelo Matus
a9ab040ef5 Move rename/namewarn engine from parser.y to naming.c. The code was getting
too large to be in the parser.

Centralize the swig keys to avoid replication and wrong spellings.

Use more HashGetAttr where possible and other speed improvements
to compensate for the extra work introduced by the new rename/namewarn
mechanism.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:33:19 +00:00
Marcelo Matus
66333ff39c add missing hidden attr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:21:17 +00:00
Marcelo Matus
af7b90f2df avoid multiple Len() calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:03:35 +00:00
Marcelo Matus
dfd35441ec fixes and docs in %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:01:12 +00:00
Marcelo Matus
eacf63d041 add naming init and other string cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:37:28 +00:00
Marcelo Matus
e7e61fa999 fix for operator() + template + gcc 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:47:13 +00:00
Marcelo Matus
d5cf7892d5 fix features/rename for template constructors/destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:00:32 +00:00
Marcelo Matus
044d418dce missing add SWIGINTERN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:10 +00:00
Marcelo Matus
2560239c4e remove debug prints
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:09:51 +00:00