Commit graph

121 commits

Author SHA1 Message Date
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
William S Fulton
32839df23b 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/SWIG@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:01:13 +00:00
William S Fulton
bc0c43d7c1 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/SWIG@7565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:16:51 +00:00
William S Fulton
4ec01af9dd 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/SWIG@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
Marcelo Matus
d13e98213b recover the %import(module=name) option,lost in previous fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 15:27:20 +00:00
Marcelo Matus
39731cb611 fix again the %import + module name problem, now it works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 13:22:48 +00:00
Marcelo Matus
f8b864d23a fix for %import + module name, detected in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 12:00:34 +00:00
Marcelo Matus
635677c450 add module option to import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
1c6a2a2cfb fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 18:20:13 +00:00
Marcelo Matus
2557f80bba fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 17:53:20 +00:00
Marcelo Matus
c1416a59a5 normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:22:10 +00:00
William S Fulton
ddd9f11c81 template ext mode on for all languages, not just Python now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
175e89dc8f fix %varargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:06:12 +00:00
Marcelo Matus
bd3acc66f7 fix fragments for Type* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:58:55 +00:00
Marcelo Matus
9350534385 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/SWIG@7037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:41:02 +00:00
Marcelo Matus
7a3689ce5c fix %template + private SF#1099976
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 02:10:14 +00:00
William S Fulton
ab006f5428 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/SWIG@6969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:19:16 +00:00
Marcelo Matus
d4505309ac fix for multiple name warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:48 +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
25d65e6ce9 fix warning for forward base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 06:47:19 +00:00
Marcelo Matus
6b499410dd more fixes for template + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
9b963f9763 support of typemaps + template + template def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:01:03 +00:00
William S Fulton
fe7b03ec81 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/SWIG@6778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:06:36 +00:00
Marcelo Matus
82648b1d25 add proper deprecated code for %name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:32:26 +00:00
Marcelo Matus
831b585d55 add simple warning to deprecated %name directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:04:27 +00:00
Marcelo Matus
5c273fc110 process protected/private bases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:53:13 +00:00
Marcelo Matus
e623572061 add support for 'register'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:51:48 +00:00
Marcelo Matus
54ac86798a recover pseudo nested class support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-13 01:25:56 +00:00
Marcelo Matus
6799d20fa8 fix variable name clash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 21:20:40 +00:00
Marcelo Matus
98a6497043 fix bug #1023010
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 00:23:47 +00:00
Marcelo Matus
f668d1def8 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:30:25 +00:00
Marcelo Matus
e3fe426896 fix for bug #1064201,externc +typedef
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:23:10 +00:00
Marcelo Matus
c2aeedba99 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:51:22 +00:00
Marcelo Matus
2a6bb6657b fix seg. fault in errors/
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:44:40 +00:00
Marcelo Matus
dd6142512e fix repited class name in scope resolution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 23:20:22 +00:00
William S Fulton
45b8823e31 %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/SWIG@6676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:27:10 +00:00
Marcelo Matus
9d3cce855e 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/SWIG@6668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 23:18:01 +00:00
William S Fulton
9c8162bb90 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/SWIG@6660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:09:29 +00:00
Marcelo Matus
272e74dc36 fix %features/%rename + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:41:31 +00:00
Marcelo Matus
a0c0486d76 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/SWIG@6641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:07:02 +00:00
Marcelo Matus
6227611fa7 fixes for %template+member/static methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:59:38 +00:00
William S Fulton
9eaf8c335b 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/SWIG@6624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:22:49 +00:00
Marcelo Matus
cb15d93f18 fix %template + static class members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 20:04:59 +00:00
Marcelo Matus
9cdd5195ab fix %template + static class members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:40:41 +00:00
Marcelo Matus
ec2d6ba128 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/SWIG@6621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:03:01 +00:00
Marcelo Matus
bd1743157b last fixes for namespaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:12:01 +00:00
Marcelo Matus
0fe5c56436 last fixes for namespaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 01:50:21 +00:00
Marcelo Matus
3fc7b773d9 fixes for namespaces + class declarations + %template directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 08:38:21 +00:00
William S Fulton
78afe76002 segfault fix for global scope operator used in friend declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:33:31 +00:00
Marcelo Matus
f15126aee3 add templatereduce option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 23:49:41 +00:00