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
|
5e9de92b78
|
Fixed a bug in the getting of the root base method: the bases after the first one were ignored.
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
|
37f09c04ef
|
Added a pass to generate interfaces with the purpose of simulating multiple inheritance.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
79d8528625
|
Fixed generation of nested declarations in classes (part 2).
|
12 years ago |
triton
|
18b1515412
|
Fixed generation of unions.
|
12 years ago |
triton
|
c7b7e2c703
|
Fixed generation of nested declarations in classes.
|
12 years ago |
João Matos
|
7599ebd555
|
Changed the declaration default access specifier to be public.
This fixes some problems with CheckIgnoredDeclsPass that ignores declarations that are not public, which .
|
12 years ago |
triton
|
62b8207d2d
|
Reworked the fix for #67, the previous one was not totally correct and was breaking some tests.
|
12 years ago |
triton
|
128308a590
|
Fixed parser to not try to get code gen details of function forward declarations.
|
12 years ago |
triton
|
d34af322ed
|
Use the full offset to the vftable pointer when getting its vftable layouts.
|
12 years ago |
triton
|
95ac9ffde8
|
Fixed a comparison bug introduced in the previous commit.
|
12 years ago |
triton
|
ccecf5178a
|
Fixed parser diagnostic processing.
|
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 |
triton
|
0b77ef7a49
|
Improved the FieldToPropertyPass to be a bit more robust by checking for existing properties.
|
12 years ago |
Dimitar Dobrev
|
5d308dc7c3
|
Fixed the generation of calls to members of nested classes.
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 |
triton
|
53a1763652
|
Fixed generation of incomplete types by walking through the complete declarations.
|
12 years ago |
triton
|
0f8f0a83c4
|
Fixed generation of non-primitive/reference out/ref types.
|
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
|
7dde8df3e1
|
Generated the inlines only when using the C# back-end because the CLI one does not need them.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
083dc3a9f8
|
Improved the generation of indexers by removing const overloads of []. NOTE: did that by removing the method type check in the pass for ambiguous overloads.
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
|
36226268a6
|
Fixed checking of virtual overrides to also check if the base override is ignored.
|
12 years ago |
triton
|
287dd7bf7c
|
Fixed getter/setter properties to inherit the access from their methods.
This is not ideal though, this won't deal properly with a getter and setter with different access specifiers.
|
12 years ago |
triton
|
8a1cb28cd0
|
Fixed resolving of incomplete enum declarations.
|
12 years ago |
triton
|
bed92373ec
|
Fixed out reference parameters in CLI backend (with test).
|
12 years ago |
triton
|
a7def2de27
|
Fixed type map finding not setting the type in the type map in one exit of the method.
|
12 years ago |
triton
|
66ef3c55ff
|
Reworked support for out parameters in both backends and added a test.
|
12 years ago |
triton
|
ac7321d91c
|
Implement std::vector type map ignores by checking the inner template type.
|
12 years ago |
triton
|
5abfbeca39
|
Ignore unresolved declarations.
|
12 years ago |
triton
|
741f22d51e
|
Reworked type map handling to not do recursive type map finding by default.
|
12 years ago |
triton
|
86b6588951
|
Check for invalid virtual method overrides due to ignored base classes.
|
12 years ago |
Dimitar Dobrev
|
f38fa134e4
|
Added an option for an encoding.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
de4879f108
|
Added support for Unicode when marshalling strings.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
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
|
70b4cff9bf
|
Broke up the pass for inlines in two main functions.
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
|
74ec730811
|
Some reordering of code and improved logging.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
faa32abe20
|
Ensured the directory to write the C++ file wrapping inlines, exists.
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
|
453dc26964
|
Fixed the generation of complement operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2848ee7453
|
Fixed a regression causing a run-time crash with moved operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
b92897c50e
|
Fixed the access of properties generated from fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a3bc0491f9
|
Assumed types with empty names (that is, "struct { ... };") to be private.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a15c5b8f99
|
Fixed the check for ignoring to verify the access at the declaration level.
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 |