Commit graph

126 commits

Author SHA1 Message Date
William S Fulton
eaec5738c9 Add in support for non standard integral types used on Windows - Bug #872013
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:21:04 +00:00
Marcelo Matus
525198bd66 add more support for operators + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:26:37 +00:00
Marcelo Matus
2ff3dd0d4e replace bad parameter names when neccessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
Marcelo Matus
0fae376c59 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@7671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-17 13:31:06 +00:00
Marcelo Matus
6fea6d0346 add more support for wchar and the noblock option for typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:24:35 +00:00
William S Fulton
ef8a541de4 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@7581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:17:00 +00:00
William S Fulton
efd25b4674 Modify following features to work as flags, so that they can be truely set and unset:
immutable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:01:13 +00:00
William S Fulton
01246c72be Modify following features to work as flags, so that they can be truely set and unset:
new


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:16:51 +00:00
William S Fulton
beebb0a8e1 Modify following features to work as flags, so that they can be truely set and unset:
java:const
            java:downcast
            compactdefaultargs
            ignore
            valuewrapper


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
Marcelo Matus
30cf3657c6 recover the %import(module=name) option,lost in previous fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 15:27:20 +00:00
Marcelo Matus
d1663ed6ed fix again the %import + module name problem, now it works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 13:22:48 +00:00
Marcelo Matus
5fe9d8ec4a fix for %import + module name, detected in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 12:00:34 +00:00
Marcelo Matus
6b5a64bd92 add module option to import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
5bd59b2a47 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 18:20:13 +00:00
Marcelo Matus
4c86e9f590 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 17:53:20 +00:00
Marcelo Matus
2e2617edce normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:22:10 +00:00
William S Fulton
34a035e3f1 template ext mode on for all languages, not just Python now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
c5a6351bff fix %varargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:06:12 +00:00
Marcelo Matus
b9d62a6563 fix fragments for Type* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:58:55 +00:00
Marcelo Matus
98695ef366 fix several memory leaks and add template+nested class warning, but disable it since it generates 4 extra shift/reduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:41:02 +00:00
Marcelo Matus
327dbabf19 fix %template + private SF#1099976
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 02:10:14 +00:00
William S Fulton
d02743af6d Memory leak fix in some of the scripting language modules when using default arguments in constructors. The scripting language was not taking ownership of the C++ object memory when any of the constructors that use default arguments was called.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:19:16 +00:00
Marcelo Matus
00138c0efb fix for multiple name warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:48 +00:00
Marcelo Matus
7ae82d1c51 fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
9345106eda fix warning for forward base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 06:47:19 +00:00
Marcelo Matus
b8ae49d52d more fixes for template + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
2d686c0a84 support of typemaps + template + template def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:01:03 +00:00
William S Fulton
77d2823b7f Removed last vestiges of enums being handled as integers in the core.
Mod for consistency across warning messages.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:06:36 +00:00
Marcelo Matus
df8c99079b add proper deprecated code for %name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:32:26 +00:00
Marcelo Matus
7e46e4c552 add simple warning to deprecated %name directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:04:27 +00:00
Marcelo Matus
a32173a68c process protected/private bases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:53:13 +00:00
Marcelo Matus
eb4f1acca0 add support for 'register'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:51:48 +00:00
Marcelo Matus
9e02ffda0f recover pseudo nested class support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-13 01:25:56 +00:00
Marcelo Matus
0e2d3f41df fix variable name clash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 21:20:40 +00:00
Marcelo Matus
6ae1cc776c fix bug #1023010
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 00:23:47 +00:00
Marcelo Matus
1bdc2fa223 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:30:25 +00:00
Marcelo Matus
7c3b8082fa fix for bug #1064201,externc +typedef
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:23:10 +00:00
Marcelo Matus
5dab0e6596 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:51:22 +00:00
Marcelo Matus
575aac088f fix seg. fault in errors/
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:44:40 +00:00
Marcelo Matus
996756f4a7 fix repited class name in scope resolution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 23:20:22 +00:00
William S Fulton
f2a56de128 %rename/%ignore mods so that the behaviour is the same as %feature for default args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:27:10 +00:00
Marcelo Matus
32b724e75c remove old patch for features + def arg, but save the ignore/rename part. Now everything seems to be working.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 23:18:01 +00:00
William S Fulton
76dc5e3f3b Alternative %feature improvements for methods with default args, that works with constructors.
Marcelo, I've commented your approach out using #define MARCELO. Lets discuss on swig-dev.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:09:29 +00:00
Marcelo Matus
44009421a8 fix %features/%rename + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:41:31 +00:00
Marcelo Matus
a6dba8577d making sure the resolve_scope_node is working fine before release, and fix for unnamed namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:07:02 +00:00
Marcelo Matus
ad7d943dfc fixes for %template+member/static methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:59:38 +00:00
William S Fulton
c5e0c0094c Default args fix for const methods. The extra methods being generated were non-const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:22:49 +00:00
Marcelo Matus
73248606bf fix %template + static class members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 20:04:59 +00:00
Marcelo Matus
ee0b146afd fix %template + static class members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:40:41 +00:00
Marcelo Matus
2a799d9bcd more uniform treatment of extern C. This also fix the defarg mechanism when declaring C functions inside C++.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:03:01 +00:00