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 |
Dimitar Dobrev
|
6353b4b2a5
|
Simplified the construction of names by using stacks.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
035c3707e5
|
Rename template variable.
|
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 |
Dimitar Dobrev
|
87a75e3acd
|
Changed the generation of C++ for inlines not to rely on -fkeep-inline-functions.
|
9 years ago |
Dimitar Dobrev
|
930dd85f15
|
Ensured delegates are generated within the main name-space and reused them more.
|
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
|
c0d4aa3979
|
Modified templates to be visitors.
|
9 years ago |
Joao Matos
|
70e4d3b3a4
|
Added a new overload to Template that takes a single translation unit.
|
9 years ago |
Joao Matos
|
f88ea66a88
|
Implement CSharpTypePrinter.VisitVectorType.
Fixes and closes issue #741.
|
9 years ago |
Mark Thompson
|
46d3e932ef
|
Made sure CLI comment block text is commented out.
|
9 years ago |
Joao Matos
|
c42bd6eeaa
|
Rename the OutputDebug option to GenerateDebugOutput and document it.
|
9 years ago |
Joao Matos
|
fbf43067d7
|
Refactor the diagnostics system.
|
9 years ago |
Joao Matos
|
7a5c34e0bc
|
Refactor the block-based text generator into own class.
|
9 years ago |
Dimitar Dobrev
|
8d322ad53e
|
Properly handled signed chars in the AST.
|
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
|
055f4c627e
|
Fixed the generated C++/CLI 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
|
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
|
23b17c4df4
|
Use the qualified pointee type when printing/visiting pointer types.
|
9 years ago |
Dimitar Dobrev
|
d22e084c7c
|
Fixed the walking of pointer types to use the correct qualifiers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
098ff73e52
|
Rename type map database in binding context.
|
9 years ago |
Joao Matos
|
186312a92b
|
Fixed missing primitive types in CLI type printer.
Partial fix for https://github.com/mono/CppSharp/issues/695.
|
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 |
Joao Matos
|
e1fae44c64
|
Refactored CppTypePrinter to be more easily extensible.
|
9 years ago |