triton
|
d68b7b3b56
|
Fixed code generation for enum pointers as parameters.
Fixes issue #217.
|
11 years ago |
triton
|
9c07283ff0
|
Fixed CLI getter/setter property generation (with tests).
|
11 years ago |
triton
|
ee6baa38dd
|
Fixed code generation for global functions (and added a test).
|
11 years ago |
triton
|
46f92e30d0
|
Fixed the remaining tests from the pull request.
|
11 years ago |
triton
|
e95a2929a8
|
Fixed handling of property indexers in the CLI generator.
|
11 years ago |
Dimitar Dobrev
|
72089a499e
|
Marshalled C++ char as Mono/.NET char instead of sbyte for a more friendly API.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7477b90023
|
Moved the tests for copy ctors to separate classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fee1809ca5
|
Wrapped copy constructors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
24a8db6a32
|
Fixed the generation of internal implementations of abstract classes to actually work.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
99849da1d1
|
Added preliminary support for char16 to avoid crashes because of null parameter types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
2de268570c
|
Added missing test attribute to TestPropertyChains.
|
12 years ago |
triton
|
0a102d8fbc
|
Added better wrapping for static classes.
|
12 years ago |
triton
|
819df6a2a2
|
Fixed CLI generation with references to pointers types (added a test).
|
12 years ago |
Dimitar Dobrev
|
9686187eb1
|
Wrapped properties of non-primitive value types as fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
df4391a340
|
Added a test for unions.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
4cfd5c083e
|
Remove unnecessary NUnit attributes from the tests.
|
12 years ago |
triton
|
1b7947538a
|
Move all the testing infrastructure to CppSharp.Generator.Tests.
|
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 |
Dimitar Dobrev
|
c5f2acacc6
|
Fixed the wrapping of instance operators to account for fixed instances.
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
|
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
|
df99550a39
|
Fixed the parsing of function prototypes in cases where the Clang type locator is not available.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
5fbfbac8f4
|
Small cleanup.
|
12 years ago |
triton
|
fed9031775
|
Fixed support for C++ conversion operators.
|
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 |
triton
|
c7b7e2c703
|
Fixed generation of nested declarations in classes.
|
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
|
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 |
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
|
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 |
triton
|
8c0c76ca59
|
Reworked operator overloading support.
|
12 years ago |
triton
|
523e8d7989
|
Fixed issue with signed enum constants with tests.
|
12 years ago |
triton
|
d9eb2f5b3e
|
Renamed Hello tests to Basic.
|
12 years ago |