Dimitar Dobrev
3718d36854
Removed the internals of partial template specialisations - not supported yet.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
a10f034c9b
Fixed the C#-printing of template specilisations with bool.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
69bd424c75
Temporarily suspended the completion of types because it causes problems while not useful yet.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0d5c4539a2
Generated internals of types nested in templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
5f679576e0
Fixed the generated code when a template has a base type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
2403d7d3a3
Replaced the useless internals of templates with the internals of their specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Abhinav Tripathi
347d0cdbaf
Fix for fn call when def argument is interface.
10 years ago
Dimitar Dobrev
68e9bb3756
Fixed a regression when a default value uses a constructor with a temporary expression.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
48fece6aa1
Revert "Threw an exception when there are parsing errors, and handled it in the test clients."
...
This reverts commit 01e872b30d
.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
01e872b30d
Threw an exception when there are parsing errors, and handled it in the test clients.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Abhinav Tripathi
e9152a79b5
Fixed missing namespace problem.
10 years ago
Dimitar Dobrev
54cb17f313
Removed the exception when disposing of objects not originating from managed code.
...
This way we can destroy C++ objects the user is responsible for.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
d328b7ce34
Properly handled nulls passed to C++ refs by throwing an exception.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
477dd914cb
Fixed setters of indexers when the key is type-mapped.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
d3644dcf5d
Fixed a crash with abstract overrides originating from secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
144b9546de
Fixed another case of a default arg assigned through an implicit ctor.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
9fccfc6f1d
Excluded an inexplicably failing test from the run on the Linux CI.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
132509203b
Improved the handling of function calls in default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8ebefa1f37
Added support for call expressions in default args.
...
The conversion of an expression to a string has been moved to the generator because a function may have been renamed or converted to a property.
However, since that string is language-specific, it should be created in the generator anyway. Therefore we should (over time):
1. Move any string manipulation from the pass for default args to the printer for expressions which is in turn used only by the generator;
2. Remove the Statement.String property (when 1. is entirely complete).
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
05a44565bd
Ensured a virtual dtor is called even if the base dtor is not virtual.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
0950b869a1
Fixed the offsets of fields when using multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
6f8c942b0a
Adjusted pointers when calling functions from secondary or non-dynamic bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
324e241c25
Fixed the internal abstract impls with default params of a pointer type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
54e8a16fd1
Reverted the representation of Booleans as managed Booleans except in internal structs.
...
Managed booleans are more CPU-efficient than bytes, and some problems with code generation are fixed.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
912248b5da
Skipped patching of v-tables for objects not put in the native-managed map.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
87845ad51d
Fixed a regression with abstract types with the same property as a base type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
b9e3efbf0c
Removed the option for copy ctors and prevented usage of ignored ones.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
bb59ca17fb
Fixed a crash when a C++ ctor indirectly calls a virtual function on the object being constructed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
4e981a80e6
Fixed a bug when wrapping virtual properties overridden in indirect derived types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
b15735d539
Generated GetHashCode in the C# front-end.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f848f62180
Some refactoring to remove redundant members and casts.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
80643e0457
Added support for parameters with type a reference to a fixed-size array.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
c183200815
Fixed a regression causing incorrect sizes of types derived from template instantiations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
5dca339ff2
Forbid the disposal of unowned objects and simplified the generated code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
d769a81ade
Called virtual destructors through the virtual table.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
5ef899366c
Renamed the test suite projects.
10 years ago