triton
|
819df6a2a2
|
Fixed CLI generation with references to pointers types (added a test).
|
12 years ago |
triton
|
0f76dc0090
|
Added experimental destructors/finalizers support.
This has exposed some underlying bugs on some pieces of generated code, so I've put it under an option temporarily.
Fixes #148.
|
12 years ago |
Dimitar Dobrev
|
df4391a340
|
Added a test for unions.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
22b6a3c11f
|
Use GenerateInternalFunctionCall when generating class constructors.
Fixes #149.
|
12 years ago |
Dimitar Dobrev
|
c853db5d34
|
Ignored operators which cannot be moved to a class because C# requires operators to be in their containing type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
a8c6e1f140
|
Fixed a problem with class operators not being correctly promoted to class operators.
We need to check all the parameters for a possible class to promote the operators.
|
12 years ago |
triton
|
3a74428f94
|
Fixed delegate generation regression and added some tests.
|
12 years ago |
triton
|
b5e947881b
|
Fixed the generation of 'ToInternal' to check for null only fields of a ref type.
Part of the patch by @ddobrev.
|
12 years ago |
Dimitar Dobrev
|
d583b489a3
|
Fixed the returning of empty values when the returned type is a structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
06b83ee3fc
|
Changed the generation of method bodies to avoid duplication of local variables when a fixed instance is required.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
8135983b58
|
Formatting fixes.
|
12 years ago |
triton
|
6bf0ae980c
|
Changed attributed types test to be CLI-only for now since Clang currently fails with some mangling bugs.
|
12 years ago |
triton
|
6402c3ca55
|
Added support for C++ attributed types to the parser, AST ,generators and tests.
|
12 years ago |
Dimitar Dobrev
|
3cf6c7b3f1
|
Added a test for the pass that moves functions to a class.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2b77361d89
|
Reverted the hack about filling the empty names of parameters explicitly for function types. Added tests for this regression and another one caused by the changed around the introduction of FunctionType.Arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
1133b6c935
|
Fixed delegate generation problem.
|
12 years ago |
triton
|
fed9031775
|
Fixed support for C++ conversion operators.
|
12 years ago |
triton
|
4a29db6bcd
|
Revert "Fixed bug caused by a type in the new parser."
This reverts commit f1f6c2e5e9 .
|
12 years ago |
triton
|
f1f6c2e5e9
|
Fixed bug caused by a type in the new parser.
|
12 years ago |
Stephen Kennedy
|
6cff480f2b
|
Update test with method which should appear in "Derived"
|
12 years ago |
Stephen Kennedy
|
4b782d7af3
|
Add a test case for the Curiously Recurring Template Pattern
|
12 years ago |
triton
|
6bbe864a2c
|
Removed enum class in the new nested type test since it's not supported by VS2010.
|
12 years ago |
triton
|
c7b7e2c703
|
Fixed generation of nested declarations in classes.
|
12 years ago |
Dimitar Dobrev
|
0e16998342
|
Added a test copy constructor.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
cf58c70d23
|
Moved all ignored tests for the C# back-end to a temporary test project and enabled them.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
bed92373ec
|
Fixed out reference parameters in CLI backend (with test).
|
12 years ago |
triton
|
66ef3c55ff
|
Reworked support for out parameters in both backends and added a test.
|
12 years ago |
Dimitar Dobrev
|
422b0769ba
|
Added a new test project for Unicode strings.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
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
|
023389666f
|
Disabled the test for non-public access in order not to break the build because the C++/CLI back-end does not support protected members yet.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
763ce63bca
|
Restored the protected field used to test access modifiers of properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
496d323e65
|
Updated the test code for abstract impls woth more pure functions. However, the test now fails so it is ignored for the time being.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9752096a4c
|
Fixed a bug in MS mode and added a test.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
06e69225b9
|
Implemented the MS branch of the abstract implementations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6d2c0eaed8
|
Generated internal implementations of abstract classes in a new pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
871a05511c
|
Added a new pass that checks for ambiguous overloads.
|
12 years ago |
triton
|
caeb1d2f67
|
Added new pass CheckVirtualOverrideReturnCovariance that checks if a pair of return types in overriden methods are covariant according to the C++ standard.
|
12 years ago |
triton
|
279c9c83cf
|
Fixed wrapping of null pointers to actually return null CLR references.
|
12 years ago |
Dimitar Dobrev
|
bb07a294f4
|
Ignored private types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
3f7790c67d
|
Fixed the incorrect C++ in the tests for left shift operators. The test still fails, though, now C is always 0.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
02559ed193
|
Added better support for unary operators.
|
12 years ago |
triton
|
a4f1606956
|
Added better support for unary operators.
|
12 years ago |
Dimitar Dobrev
|
d9bc5bec86
|
Extended the check for duplicate names to ignore repeated operators since they cannot be renamed. Added an ignored test for an unrelated run-time issue.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fc1637f532
|
Added a test for free functions with an indirect return type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
734b1377f0
|
Fixed the wrapping of functions taking a function pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
d659f04d9d
|
Generated compilable wrappers for functions taking char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
8c0c76ca59
|
Reworked operator overloading support.
|
12 years ago |
Dimitar Dobrev
|
3caecadbbe
|
Added a union to the test header to check for compilable generated union wrappers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
bf2dfd375c
|
Fixed the "ret" conflict in the CLI back-end as well.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |