William S Fulton
0f88f19531
Remove unnecessary protected default constructor when there is no default proxy constructor.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-11 22:56:19 +00:00
William S Fulton
74cf6ee4c2
new typemap: csconstruct. This typemap contains the code that goes into the proxy constructor.
...
The generated code is slightly different. A method called swigSetup is called during construction of the proxy object.
This is for a future change where a try finally block needs to be put around an unmanaged call during construction (for a new c++ to c# exception conversion handling mechanism)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:35:37 +00:00
William S Fulton
408a7ca9d3
new typemap: javaconstruct. This typemap contains the code that goes into the proxy constructor.
...
The javaconstruct_director typemap is used instead when directors are enabled.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:32:33 +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
bc65d87973
fix for smart_pointers + friends, fix for errant Delete
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 22:48:50 +00:00
Marcelo Matus
6e0f299006
reenable autodoc for static methods + cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:34:15 +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
William S Fulton
2cbd22194b
More improved warnings for duff base classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 21:25:12 +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
William S Fulton
215dc951af
Sun Workshop compiler fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:41:13 +00:00
Marcelo Matus
4dd078b834
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:12:48 +00:00
John Lenz
3e93078f74
Chicken: Export proxy function for constants (enums, defines)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 02:01:26 +00:00
John Lenz
71e40846b0
Chicken: Fix bug when exporting non-class variables using -proxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:50:42 +00:00
John Lenz
e73a098774
Added a -nounit argument, which does not export the (declare (unit ...))
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:38:20 +00:00
John Lenz
b59e4a85a4
- static class member functions now get exported with -proxy.
...
- member variables of other classes now works properly in goops.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 08:11:02 +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
f91144e004
small tweak to canonicalizeJNIDescriptor()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:24:13 +00:00
William S Fulton
35b1c77401
new directorconnect and directorconnect_derived typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:04:54 +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
bffe7fd9c7
fix smart_pointer + extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 06:58:41 +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
William S Fulton
f7e8a925dd
fix for member enums in director methods (for typesafe enums and proper enums)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-02 21:26:30 +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
42ccc6c649
more on the template_extmode, plus using apply when using -classic
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:51:44 +00:00
Marcelo Matus
8c2bc267b8
add support for template_extmode, ie, the emitonlychildren feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:50:06 +00:00
Marcelo Matus
207768de8b
fix smart_pointer + members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:48:10 +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
Marcelo Matus
ce3421c40e
fix protected constructor by using clean_overloaded to utils.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:47:10 +00:00
William S Fulton
46e92bfac3
Director code mods:
...
JNI field descriptors fix to use C++ type and correctly use the $javaclassname family of special variables.
The real C++ type used everwhere in director code to fix numerous director bugs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-30 20:31:51 +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
ef77bc5ad0
Complete the virtual:type for covariant return types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-30 20:13:31 +00:00
William S Fulton
0c9b24e339
Fixes for enums no longer being handled as integers in the core.
...
New special variable $*csclassname to compliment $&csclassname and $csclassname.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:04:28 +00:00
William S Fulton
a8df2a0080
Fixes for enums no longer being handled as integers in the core.
...
New special variable $*javaclassname to compliment $&javaclassname and $javaclassname.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:03:02 +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
William S Fulton
8b64934cff
Removed last vestiges of enums being handled as integers in the core.
...
New attribute, 'enumtype' -> needed when obtaining an enumitem value via a wrapper method - it contains the type of the enum so that an instance of this enum can be declared.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:57:40 +00:00
Marcelo Matus
5b89ab2e60
patch #1069631 to disable cpp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 01:37:29 +00:00
Marcelo Matus
899c08b740
generate checkout message in verbose mode, and in stdout, no stderr, since is not an error
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-19 20:47:13 +00:00
Marcelo Matus
c579831a19
change error to warning when a base class is not defined
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 00:38:17 +00:00
Marcelo Matus
2aecc01c24
fix -director option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:54:16 +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
f678d1eed0
support/ignore multi-inheritance directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:52:38 +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
Matthias Köppe
3d658c0c21
Send the "runtime" target to /dev/null too.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:35:21 +00:00
William S Fulton
f77446423f
warning fixes compiling under mingw
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:19:47 +00:00
William S Fulton
13e7383859
warning fixes for using generated code in VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:19:06 +00:00
Marcelo Matus
464c01da12
fix def args + director + constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
Marcelo Matus
cd84c7404c
disabling autodoc/prepend/append + static members since it doesn't wiht default_args.i test case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 00:51:52 +00:00