Marcelo Matus
51becdbe09
add forward class to the classhash
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:40:47 +00:00
Marcelo Matus
da207954cb
fix seg. fault in Java/Csharp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 22:52:46 +00:00
Marcelo Matus
37cbe8f668
simpler check/set of the 'hasconsttype' attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 07:56:49 +00:00
Marcelo Matus
7ec34f87af
fix feature:immutable and the 'const A* var;' case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:51:04 +00:00
Marcelo Matus
f659f0c088
disable looking for locators that now are not generated
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 01:07:28 +00:00
Marcelo Matus
8748e114c1
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/SWIG@8466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 00:52:44 +00:00
Marcelo Matus
75867b03a9
add more rename predicates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:57 +00:00
Marcelo Matus
609d1e6a5c
check value len
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:09:05 +00:00
Marcelo Matus
392799385f
add the ismember and hasvalue attributes and the corresponing %rename predicates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:04:59 +00:00
Marcelo Matus
2208b55215
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/SWIG@8388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 09:06:07 +00:00
Marcelo Matus
637b61b321
more centralization of swigkeys
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 00:41:13 +00:00
Marcelo Matus
72425a439c
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/SWIG@8373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 20:14:35 +00:00
Marcelo Matus
b044703d0d
better support for the %throws directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 17:19:22 +00:00
Marcelo Matus
1426e648eb
make both %rename directive formats equivalent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:43:46 +00:00
Marcelo Matus
aca35dbcde
add %typemap(LANG,..) warning 1387184
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:48:55 +00:00
Marcelo Matus
e598ab002b
more swigkey unification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 09:26:42 +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
66f294941c
avoid % and %= operators problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:17:26 +00:00
Marcelo Matus
48d21c2b35
avoid multiple Len() calls
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:03:35 +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
b034e6c266
add support for options in rename/namewarn and central methods to access the rename/warning hashs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:41:54 +00:00
Marcelo Matus
381596b0f3
add the copyctor feature/directive to enable automatic copy constructors. In the way, fix how default ctor/dtor are added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:04:00 +00:00
Marcelo Matus
21ed9c1b98
fix for unnamed types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:37:26 +00:00
Marcelo Matus
c694a41954
fix line number problem with %inline{} and recognize the 'explicit' directive in constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:26:10 +00:00
Marcelo Matus
aaedd30000
fix def_arg case broken with last &/* fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 18:21:18 +00:00
Marcelo Matus
846b944917
normalize operation, first reduce, then qualify
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:12:15 +00:00
Marcelo Matus
f787718a53
remove extra breaks as in #1381950
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:08:23 +00:00
Marcelo Matus
5c0aa1a1e5
allow the parser.y to be compiled with c++ (throw->throwf)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:07:36 +00:00
Marcelo Matus
94a82526ec
fix %extend(%typemaps + %fragments) before class declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:46:41 +00:00
Marcelo Matus
c873fc6207
fix last fix, error visible with 1.875b, reported by Susendra Singhi
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 19:54:38 +00:00
Marcelo Matus
1694f7fd5c
fix reference/pointers op. in pointer assgiments, reported by Surendra Singhi
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 06:49:54 +00:00
Marcelo Matus
99f0122d0d
fix for templates to avoid using the templatereduce mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:25:28 +00:00
Marcelo Matus
7a4a6c5d04
add notemplatereduce
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:14:14 +00:00
Marcelo Matus
50ae3fe87e
add C++ operator aliases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 05:08:50 +00:00
Marcelo Matus
3955965739
more memory leaks fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:16:57 +00:00
Marcelo Matus
645f95d633
fix many/many memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
f714a2615d
remove many memory leaks and cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +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
6aabe03ffb
avoid Strcmp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 02:41:59 +00:00
Marcelo Matus
b54888391f
minor speed up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:57:26 +00:00
Marcelo Matus
9398e533f7
add 'init' method plus keys to use with Getattr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:57:03 +00:00
William S Fulton
fb94cfadc1
Add in support for non standard integral types used on Windows - Bug #872013
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:21:04 +00:00
Marcelo Matus
e1534a90e0
add more support for operators + templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:26:37 +00:00
Marcelo Matus
bf2dac0672
fix bug #1347853 and better and/or/not operator management
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:47:07 +00:00
Marcelo Matus
dbc13bb676
recognize the and/not/or keywords and operator names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 14:44:27 +00:00
Marcelo Matus
a4c0114c6a
replace bad parameter names when neccessary
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
Marcelo Matus
6bb78221ff
fix friend bug #1323114 and allow the member names to include the class name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-17 13:31:06 +00:00
Marcelo Matus
c4b1f7089e
add more support for wchar and the noblock option for typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:24:35 +00:00
Marcelo Matus
c1e79cd94d
add more support for wchar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:23:20 +00:00
William S Fulton
c81ffa2bfa
Modify following features to work as flags, so that they can be truely set and unset: kwargs,
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:17:00 +00:00