Dimitar Dobrev
|
d9ffb1b5af
|
Shortened the delegates used in the C# end.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2352681f5b
|
Fixed a regression causing objects to be missing at virtual calls.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
8cb1af92b7
|
Changed the C# generator to always fully qualify types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
3629eead5d
|
Rename CSharpMarshalKind to MarshalKind and move it to Marshal.cs.
|
9 years ago |
Joao Matos
|
ff4a76a1f7
|
Rename CSharpTypePrinterResult to TypePrinterResult.
|
9 years ago |
Joao Matos
|
5d19f22d4c
|
Unify CSharpTypePrinterContextKind with TypePrinterContextKind.
|
9 years ago |
Joao Matos
|
40bfd65135
|
Revert "Extract current module as read-only property to CodeGenerator.Module."
This reverts commit d340de3afa.
|
9 years ago |
Joao Matos
|
2ad1f8b001
|
Extract file preamble generation into CodeGenerator.
|
9 years ago |
Joao Matos
|
d340de3afa
|
Extract current module as read-only property to CodeGenerator.Module.
|
9 years ago |
Dimitar Dobrev
|
7ad1af0cac
|
Removed redundant qualification of types in the generated C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
0d39c03bc9
|
Use the type printer from CSharpGenerator in CSharpSources.
The code generator depends on the it being the same due to side effects from type printer context handling.
|
9 years ago |
Joao Matos
|
55c26d2fe5
|
Setup type and expression printer in C# sources generator.
|
9 years ago |
Dimitar Dobrev
|
cf7813d8d6
|
Moved the C# generation of internal names of template specialisations to the C# type printer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
e11314143a
|
Global qualify ConcurrentDictionary references in generated code.
Fixes issue #747.
|
9 years ago |
Joao Matos
|
b49389e409
|
Rename CodeTemplate to CodeGenerator.
|
9 years ago |
Joao Matos
|
38d5bc3094
|
Convert CodeTemplate.FileExtension overrides to expression-bodied members.
|
9 years ago |
Joao Matos
|
17d06ac0e5
|
Port class handling to visitor model in C# generator.
|
9 years ago |
Joao Matos
|
3eb59e4667
|
Minor improvements to code readability.
|
9 years ago |
Joao Matos
|
08c089251a
|
Port declaration context handling to visitor model in C# generator.
|
9 years ago |
Joao Matos
|
34ed304228
|
Renamed Template to CodeTemplate due to conflict with AST templates.
|
9 years ago |
Joao Matos
|
c42bd6eeaa
|
Rename the OutputDebug option to GenerateDebugOutput and document it.
|
9 years ago |
Dimitar Dobrev
|
dd814fe5d5
|
Fixed all warnings in the C# code.
|
9 years ago |
Dimitar Dobrev
|
fc1d75363a
|
Regenerated the parser bindings after making internals internal.
|
9 years ago |
Dimitar Dobrev
|
aa079c3222
|
Added setters to non-const static fields (variables) in the C# end.
Fixes https://github.com/mono/CppSharp/issues/545.
|
9 years ago |
Dimitar Dobrev
|
f12597fc3f
|
Minor improvements to InternalsVisibleTo in the C# end.
|
9 years ago |
Dimitar Dobrev
|
21233a6622
|
Hid most internal details of the generated code from users.
|
9 years ago |
Dimitar Dobrev
|
70492c248f
|
Deleted two unused variables.
|
9 years ago |
Dimitar Dobrev
|
18cc5ed24a
|
Removed the manual padding of fields with type array.
This used to work around a bug in Mono which has now been fixed.
|
9 years ago |
Dimitar Dobrev
|
22bd02c849
|
Revert "Shortened the generated C# code for patching v-tables."
This reverts commit 2486d1d419.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2486d1d419
|
Shortened the generated C# code for patching v-tables.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
a8815b84e2
|
Fixed the generated C# when a parameter is s typedef of a primitive pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2a3fed61b7
|
Improved the searching for the correct native lib to import.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5b6a19a0c4
|
Handled more possible names for type maps when generating the mapped class itself.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
4cb5412915
|
Fixed a regression when an abstract implementation has a function from a secondary base.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
c16a0287f4
|
Fixed a regression when wrapping functions which implement secondary bases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b2a872f431
|
Merged the passes for properties and made the result non-optional.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
458f7ff25b
|
Deleted the non-working marshalling interface and the option for it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2a369a341d
|
Simplified the code for generating virtual C# calls.
Fixes https://github.com/mono/CppSharp/issues/706.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
1b41897172
|
Fixed the generated C# when a header and a contained name-space bear the same name.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
77f45dee38
|
Fixed the adjustment of the instance in cases of multiple inheritance.
Fixes https://github.com/mono/CppSharp/issues/707.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
05c4213c28
|
Revert "Fixed the adjustment of the instance in cases of multiple inheritance."
This reverts commit e43dd1c18f.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
e43dd1c18f
|
Fixed the adjustment of the instance in cases of multiple inheritance.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9cb7155679
|
Enforced the option for generating partial C# classes by removing it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
924ceaf85a
|
Fixed the selection of a virtual table to call virtual methods through in the C# generator.
Fixes https://github.com/mono/CppSharp/issues/703.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
098ff73e52
|
Rename type map database in binding context.
|
9 years ago |
Dimitar Dobrev
|
9cbb13053a
|
Fixed the generated code when an override has its access increased.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
7c9c91acc3
|
Fixed the generated C# when a method with a default arg is named the same as another, non-default, of its parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
d2326a3883
|
Added processing of type aliases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
6ed05c2b5d
|
Fixed the generated C# with properties constructed from a returned value and a taken reference.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9fe2d307dc
|
Fixed the generated C# when marshalling a field of type const wchar_t*.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |