Marcelo Matus
39f173c12a
remove 'thisown' and ClassPtr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:58:24 +00:00
Marcelo Matus
42b7531b87
add Luigi's static patch for extended variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 14:04:14 +00:00
Marcelo Matus
fd9db14a98
fixes for the except/callback attributes to follow new flag feature convention
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:17:41 +00:00
William S Fulton
de4b0c6f96
Modify following features to work as flags, so that they can be truely set and unset: allowexcept, director, nodirector, notabstract
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:24:54 +00:00
William S Fulton
019cbb567a
Modify following features to work as flags, so that they can be truely set and unset:
...
nodefault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:05:50 +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
75972cd1df
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@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +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
William S Fulton
dbc1c53d7b
Remove attached typemaps after a variable set wrapper has been generated so that the get method doesn't pick up any incorrect typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:40:11 +00:00
Marcelo Matus
c66b71417c
add Scott's patches for directors: void return, directormap register, better error messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-06 21:02:22 +00:00
William S Fulton
11dc59b22e
The default is now to not generate an additional method declaration when a method is declared with an extern. Use -addextern option to recreate original behaviour (new commandline option), with -noextern now redundant.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:39:20 +00:00
Marcelo Matus
f5bcace78c
fix for #1205859
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:28:38 +00:00
Marcelo Matus
0bf296c7ad
fix for #1205859
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:04:30 +00:00
William S Fulton
896c26bf80
Fix incorrect access for methods added via the 'using' declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:24:00 +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
Marcelo Matus
d75313afe0
add more missing Deletes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 23:32:31 +00:00
John Lenz
ef58056ffd
Add support for the -external-runtime argument and update all language modules to use it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
bd3baa1ec4
attribute node change for a future planned mod
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:03:59 +00:00
Marcelo Matus
70d3bde16b
more smart pointers + extend fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 20:42:28 +00:00
Marcelo Matus
533b36c15d
more fixes and cases for smart pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 08:56:27 +00:00
Marcelo Matus
d6802c75ba
avoid using reference value for static members, since it can generate unresolved symbols for static const
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 07:38:55 +00:00
Marcelo Matus
417e339ba3
more smart_pointer + static methods fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 01:12:07 +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
d6760d4889
more smart_pointer fixes + cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:32:11 +00:00
William S Fulton
27f09fac81
tidyup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 22:53:09 +00:00
Marcelo Matus
d88eed76e6
mix patches #748861 and #1041174 for %extend generation code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-04 08:33:03 +00:00
Marcelo Matus
d0fad62e2c
add support for smart pointers + %extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:29:17 +00:00
Marcelo Matus
7c568eafaa
fix protected constructor by using clean_overloaded to utils.cxx, and fix smart_pointer + members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:47:32 +00:00
William S Fulton
ea8fe73ab8
Store the complete return type for director methods. Over time, the director code can migrate to using the new "returntype" attribute rather than each language module calculating it themselves.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-30 20:18:33 +00:00
William S Fulton
95b3b8db60
Removed last vestiges of enums being handled as integers in the core.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:59:03 +00:00
Marcelo Matus
eb222e7a77
process protected/private bases, support/ignore multi-inheritance directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:51:48 +00:00
Marcelo Matus
f81cf97c35
fix private new operator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:44:41 +00:00
Marcelo Matus
db4de01921
minor fix for extern declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 09:57:16 +00:00
Marcelo Matus
d33bfc5350
move fix for typedef (no ptr/no ref) + director from directors.cxx to lang.cxx. This should fix more related problems around. Also fix for unnamed namespace in lang.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:00:14 +00:00
William S Fulton
b416ab7464
director generated code formatting improvements to bring Java in line with the other languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:36:41 +00:00
Marcelo Matus
a74a712e03
always emit the director destructor, just in case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 02:00:48 +00:00
Marcelo Matus
f35db9aea2
scott's fix for director + def. const.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 18:13:48 +00:00
Marcelo Matus
8ac154a748
Fix directors + protected pure virtual members + protected
...
constructor.
Now it doesn't crash, you don't need to use dirprot, and no, it is not
emitting all the protected members, unless dirprot is used.
Swig only emits the protected members or constructors needed to prevent
the compilation for crashing. The rest of the protected members
are emitted when dirprot is used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
Marcelo Matus
0a97681b20
fix missed check for director_prot_ctor_code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 23:34:10 +00:00
Marcelo Matus
b0f3adf07f
fix for language that don't support directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 08:10:37 +00:00
Marcelo Matus
df9fa977a8
fix director + abstract + constructors, reported by Brian Kelley
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
William S Fulton
97c2eeaf90
compact default arguments feature (original default argument wrapping mode)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
Marcelo Matus
26bb002165
ix variable wrapping with private assign operator + fix SwigValueWrapper
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:31:40 +00:00
Marcelo Matus
a3a1db9f10
fix for bug 901706
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00
Marcelo Matus
9324fbf756
fix feature director/nodirector, fix callback for python, reduce the SwigValueWrapper use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:32:11 +00:00
Marcelo Matus
81de588719
add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-11 22:53:24 +00:00
Marcelo Matus
ae673f007b
more valuewrapper cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 20:32:20 +00:00
Marcelo Matus
cf81f4a4e9
add tests and fix the value wrapper for opaque types, including the template cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:08:06 +00:00
William S Fulton
536e2e545c
%extend and default args fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:36:10 +00:00
Marcelo Matus
eb9cb5f591
fix empty throw() + directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:06:56 +00:00