Commit graph

53 commits

Author SHA1 Message Date
Marcelo Matus
e236ab4584 fix several compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 22:58:49 +00:00
Marcelo Matus
dbe05fc50b add initial regexp support based on the coptional rxspencer library. Active it using --with-rxspencer after installing the rxspencer library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 00:32:21 +00:00
Marcelo Matus
bdbfc5d53a add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:35:32 +00:00
Marcelo Matus
521a5a4e2c add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:31:38 +00:00
Marcelo Matus
27db612065 add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:31 +00:00
Marcelo Matus
e9b58ce02a add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:24 +00:00
Marcelo Matus
26cb634fc7 fix missing endif
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:39:57 +00:00
Charlie Savage
5db285b66b 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/SWIG@8442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:36:06 +00:00
Marcelo Matus
52a50c6dc5 add firstlowercase encoder
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:24:54 +00:00
Marcelo Matus
dde9e85198 cosmetic and check for empty string in first_ucase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:03:50 +00:00
Charlie Savage
e602db3d53 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/SWIG@8409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 05:50:57 +00:00
Marcelo Matus
16c4a594e7 add aliases for the 'case' encoders
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:38:44 +00:00
Marcelo Matus
0238da1420 fix the ctitle encoder to keep capital letters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:06:31 +00:00
Marcelo Matus
fb20b43041 more fixes to utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:09:58 +00:00
Marcelo Matus
a9137b3f7b another fix to utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:59:14 +00:00
Marcelo Matus
b960de36f3 fix first capital case in utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 09:23:30 +00:00
Marcelo Matus
3b1fa61912 test(and fix) the utitle encoder
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:40:07 +00:00
Marcelo Matus
4c0a13cfb9 add the utitle encoder, the reverse of ctitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:16:36 +00:00
Marcelo Matus
55005e98ee 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/SWIG@8170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:33:19 +00:00
Marcelo Matus
2a3e528169 fixes and docs in %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:01:12 +00:00
Marcelo Matus
cd0b345ebd add naming init and other string cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:37:28 +00:00
Marcelo Matus
42a2d35e9a add Swig_scopename_split
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 00:07:07 +00:00
Marcelo Matus
628dc6b32b add NewStringEmpty, use more StringEuqual and less Strcmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
7a77a7feb9 several clean/speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:58:24 +00:00
William S Fulton
8c8a47c03d fix and make publicly available the upper case and lower case conversion functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:59:01 +00:00
Marcelo Matus
d34532e249 make all the suffix/prefix operations aware of operators, as in 'Foo::operator ns2::Bar()', where the prefix is 'Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:25:18 +00:00
Marcelo Matus
fbab379cc3 get rid of static buffers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:36:26 +00:00
Marcelo Matus
0ac8253c3f fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
1d1b75d98f fix bug 953142
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 00:17:34 +00:00
Marcelo Matus
2e50998bd0 fixes some compiler warnings, and add better support
for member variables (in C++/python).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-28 14:04:36 +00:00
Marcelo Matus
f958140af5 simpler mangling method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:47:54 +00:00
Marcelo Matus
a27e364d14 Using the same mangling method whenever is needed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 00:59:26 +00:00
Marcelo Matus
a95c468076 Using the unused 'Swig_string_mangle' method to
implement the #@ preprocessor mangling


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:27:02 +00:00
William S Fulton
11561b2499 Eric Sunshine patch - Mods to work on NextStep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 22:42:18 +00:00
William S Fulton
b0df32dd1a Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free:
const fixes and function prototype declarations matching the definition etc


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 22:46:07 +00:00
Dave Beazley
a13e0a67c1 Fix to escape code handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:03:05 +00:00
William S Fulton
408bb7225e Version simplification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:40:08 +00:00
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
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
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
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
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
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
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
243ef9cfee Lot's of cleanup. Removed some more source files. Migrated more functionality to C.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 20:34:21 +00:00
Dave Beazley
905fb9b3b6 Slight tweak to copyright message in wrapper code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-17 21:14:11 +00:00
Dave Beazley
367bf346a0 Added banner.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:29:27 +00:00
Dave Beazley
d72c7beb9d Major cleanup of comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 05:45:58 +00:00