triton
|
23fc25faca
|
Fixed generation of vtable components.
Only generate delegates for each unique vtable component entry and skip vtable hook registration for duplicated entries.
|
12 years ago |
triton
|
0801e98823
|
Fixed generation of C# vtable interop code. Update the vtable generation index in each iteration.
|
12 years ago |
Dimitar Dobrev
|
9255ac4144
|
Added the method to its block to maintain the connection between them.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2b53801510
|
Prefixed "System.Runtime.InteropServices" with "global::" to prevent name collision.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9deaa403bc
|
Fixed a crash when setting up v-tables.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
56385a453f
|
Fixed the generation of v-table delegates to take into account indirect return types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Stephen Kennedy
|
0957843c4d
|
Unify debugging output
Route all debugging output through Driver.Diagnostics
|
12 years ago |
triton
|
b51687a2f6
|
Fixed vtable setup call generation when there are no valid methods in the vtable.
|
12 years ago |
triton
|
44ce759a33
|
V-table method delegates need to take into account same-named overloads.
Fixes #88.
|
12 years ago |
Stephen Kennedy
|
00bf3714ca
|
Hack to silently ignore non-class base class (e.g. templates etc)
|
12 years ago |
Stephen Kennedy
|
84f0942a76
|
Avoid mismatched braces when the decl is neither a Function nor a Field
|
12 years ago |
triton
|
71d9ba5761
|
Added NativeDataSize property to the ICppMarshal interface.
|
12 years ago |
triton
|
c602f3b331
|
Formatting fixes.
|
12 years ago |
triton
|
3e489c9a06
|
Updated the generators and tests for new class names.
|
12 years ago |
triton
|
995791b996
|
References to System.Runtime.InteropServices.CallingConvention attributes are now fully qualified to fix some conflicts that could happen with generated code.
|
12 years ago |
triton
|
67ee5268ba
|
Added generation of stubs for ICppMarshal.
|
12 years ago |
Dimitar Dobrev
|
504222f03f
|
Added the event to its block to maintain the connection between them.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f348a80c32
|
Moved the improved property pass to a new class. Added the list of verbs as a resource in premake.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
27f8e28036
|
Fixed the generation of v-table calls to property setters. Ignored methods that are only named "get" and similar, as properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
824d8b5f30
|
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
acbdf7d82a
|
Added a test for fixed arrays which showed that setting actually worked incorrectly.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
159a65d6bb
|
Fixed a bug with multiple inheritance and an indirect return type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
813084948f
|
Fixed the resolution of overloads for conversion operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
88d5192684
|
Wrapped conversion (cast) operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
1d0a512b80
|
Use the shared library name as a last resort if the symbol is not found.
|
12 years ago |
Dimitar Dobrev
|
593aac162e
|
Added a new class type "Interface".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
c45c015a75
|
Reused the method for generating a string representation of an access qualifier.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ef53ca17d3
|
Added a block kind for an interface.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
c5382ee666
|
Changed a bit the method for a class definition to be able to reuse it for interfaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
3a9eef1e80
|
Added a new pass converting all parameter types to their respective interfaces, if any.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6ef578cd6a
|
Removed the generation of protected members of interfaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f07ddf79fc
|
Replaced the vague checks for explicit interface impls with a specific property.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
c9e5c0d505
|
Completed the parallel hierarchy of interfaces so that a derived class can access the members of all of its bases.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
068cf51165
|
Added explicit implementation of interface properties (when necessary).
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f5304e69bb
|
Completed the support for multiple inheritance with the exception of base interfaces and the cast operator in the derived class to the second or later base.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6f3224ca60
|
Changed writable indexers of primitive types to use the types themselves instead of pointers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6edc1ac19b
|
Marshalled pointers to primitive types as such instead of using IntPtr.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
b82aebab3a
|
Added support for writing using indexers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
54c93f4d91
|
Added support for read-only [] operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
66ef3c55ff
|
Reworked support for out parameters in both backends and added a test.
|
12 years ago |
Dimitar Dobrev
|
348c3db122
|
Fixed the v-table interop to be compilable.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
1532f7d0bf
|
Moved the changing of access modifiers of constructors of abstract classes to the pass for internal implementations of abstract classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fddcea0405
|
Fixed the regression caused by methods always returning null regardless of the return type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
de8b3fc00e
|
Corrected the checks for private methods because overrides must be allowed through regardless of access.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
840e3c93cf
|
Corrected the access modifier of overridden methods because in C++ overriding may change access.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
22355f64ed
|
Corrected the access modifiers of methods, delegates and properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
b6d4f0f97b
|
Fixed a regression caused by the returning of null.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
1c793ef589
|
Commented the pass about internal impls of abstract classes. Cosmetic fixes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
816c946790
|
Added a hard-coded for the time being option indicating whether the wrapped lib is 32-bit and used that option to generate the v-table offsets.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
19cb1f5470
|
Added an off by default option for generating abstract implementations because the MS ABI branch does not always work.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |