triton
|
d114ac0f0e
|
Renamed LanguageGeneratorKind to GeneratorKind.
|
12 years ago |
triton
|
3e489c9a06
|
Updated the generators and tests for new class names.
|
12 years ago |
Dimitar Dobrev
|
19bae92f9b
|
Added a fake option so that the build stays healthy since the C++/CLI-back-end does not properly support properties yet.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fcb1ab67ca
|
Added tests for properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
824d8b5f30
|
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
8a61ee71d9
|
Added tests for the changes in the renaming pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
acbdf7d82a
|
Added a test for fixed arrays which showed that setting actually worked incorrectly.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
159a65d6bb
|
Fixed a bug with multiple inheritance and an indirect return type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
444a6e639f
|
Fixed the generation of fields of a type def type by correctly desugaring.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
5b6beaaf33
|
Added a test about operators in nested classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2091d71242
|
Added a test about the type def - to a function pointer - incorrectly resolved to void*.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
88d5192684
|
Wrapped conversion (cast) operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
07beb47048
|
Converted return types to their complementary interfaces, if any.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
3a9eef1e80
|
Added a new pass converting all parameter types to their respective interfaces, if any.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
d7a91d1719
|
Added a fake option for multiple inheritance so that the build stays healthy.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
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
|
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 |
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
|
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 |
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 |
Dimitar Dobrev
|
b82aebab3a
|
Added support for writing using indexers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
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 |
Dimitar Dobrev
|
39bc4da0e9
|
Fixed the test for indexers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6cb37ef382
|
Added a test for indexers ([] operators).
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
|
2f7934569e
|
Added tests for overrides changing access and for protected fields.
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
|
4cfcfa1b16
|
Corrected the implementation of abstract methods to properly handle classes, instance arguments and indirect return types.
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
|
c66c34d4a9
|
Renamed the CLI language generator kind to be more uniform.
|
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 |