Dimitar Dobrev
|
7ecafc9858
|
Prevented renaming of methods when a base class has a property of the same name. Made the delegates used in abstract implementations prefixed with an underscore and internal.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
47f03ae68c
|
Added tests about the dereference and prefix/postfix operators. Fixed multiple inheritance not to include operators in interfaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9deaa403bc
|
Fixed a crash when setting up v-tables.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
961316f96d
|
Fixed the new tests for properties to work around the existing unrelated bug of incorrect field values.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
501f123277
|
Removed a check for const-ness because of a parser bug. Added tests for properties of complex types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
44ce759a33
|
V-table method delegates need to take into account same-named overloads.
Fixes #88.
|
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
|
1dcd8211fa
|
Removed CLI type printer unit tests.
The code paths are already being exercised with the regular tests.
|
12 years ago |
triton
|
07c5f7339f
|
Simplify the tests Main method.
|
12 years ago |
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 |