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
7695ffc594
fix several memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +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
Marcelo Matus
47ae5abfab
fix for -director option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:57:58 +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
a603669c8f
more on protected ctors+directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 10:35:49 +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
b686ee01c5
add/fix protected/private bases + template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:36:23 +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
Marcelo Matus
fc2f54c647
better option name templatereduce
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:31:33 +00:00
Marcelo Matus
b88bb27850
fix SWIGENUM -> enum SWIGTYPE, as is used now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:59:20 +00:00
Marcelo Matus
cf7b11c3fd
Recover original types in template expansions.
...
Added the module option "tpltreduc" to force Swig to
reduce all the typedef found in a template, usually
as a compiler will do. This allows swig to parse
very ugly template + typedef code, but it can prevent some
typemaps for working.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:57:36 +00:00
Marcelo Matus
7437e0896d
eliminate the reduce/reduce conflicts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 22:08:36 +00:00
Marcelo Matus
291eff8f6d
third attempo to commit, same changes, ie director + nested but no extra shift/reduce
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 06:53:04 +00:00
Marcelo Matus
a61421ac2b
previous commit incomplete, this one really fix derive_nested.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:15:10 +00:00
Marcelo Matus
e2f5c7674c
solve using+namespaces (using_namespace.i) and nested+derived classes (derived_nested.i)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:21:40 +00:00