Dimitar Dobrev
c8da628782
Fixed the renaming of overrides in a certain situation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
b6c16051af
Fixed the wrapping of mapped types with operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
54caddeed1
Cloned types when changing them to interfaces for multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Pedro Miguel Casaleiro Dias
ed3e0bd54a
closes #514 .
...
test added to tests/CSharpTemp/CSharpTemp.Tests.cs
10 years ago
triton
cf472f526c
Fixed C++/CLI to handle namespace conflicts between free functions and namespaces.
...
We generate free functions inside a global namespace-level class with the same name as the header. This means that there might be some conflict if we already have a class with the same name as the header. This fix changes the code to always fully quality classes so the code always compiles correctly.
10 years ago
Dimitar Dobrev
e279936af5
Restored an accidentally deleted test.
10 years ago
Dimitar Dobrev
e73f490f89
Prevented a crash in the tests on Mono because of a Mono bug.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
180535ba3a
Removed all remaining inlined bodies in order to fix the tests on Linux.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
bbcf12550f
Prevented a crash in the tests on Mono because of a Mono bug.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
dc213e3b99
Fixed Basic tests linking in C++/CLI backend.
...
This was a regression introduced when fixing the visibility of this variable on Linux.
10 years ago
Dimitar Dobrev
cafc14ffed
Moved the initialisation of a variable to the cpp so that it works properly on Linux.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
fa58aea3f0
Removed all remaining inlined bodies in order to fix the tests on Linux.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
9d78f5386d
Fixed a crash on Mono when marshalling types with no fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f754263ab5
Fixed the potential incorrect translation unit of templated classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
tests/NamespacesDerived/NamespacesDerived.h
10 years ago
Dimitar Dobrev
062f8e26e0
Revert "Revert "Included ignored fields in the wrappers for better marshalling.""
...
This reverts commit 27d3f21a75
.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
52abb8fd97
Fixed the pass for conversion operators not to create such for ctors taking a base or derived type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
fc572cd57e
Fixed the pass for conversion operators not to create them in abstract types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8e2490394d
Fixed a crash at generation time with a fake "setter" with no params and a getter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
fe00ff8b5a
Fixed visibility of these methods under GCC.
10 years ago
João Matos
7a2d37f598
Fixed test to properly use cross-platform stdcall attribute.
10 years ago
Dimitar Dobrev
069b727a23
Fixed the generation of overloads for free functions with default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
04547574ba
Fixed the generated wrappers for attributed function types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
5c5c9b8698
Fixed nested abstract classes to get internally implemented.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
86bd6bd118
Fixed the names when marshalling enum parameters in the C# end.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
45e4ba7782
Fixed a compilation error when having a setter match for an explicit interface getter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8fd62e6294
Fixed a bug with removing the "override" modifier when overriding a member of a secondary base.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
25f2b4a1f9
Prevented any change of access for inherited virtual properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
217e034ee9
Fixed a grammatical error.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
1069104eb6
Added a test for interface impls not added if the interface has already been created.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
06cc860019
Disabled a test because the premake for it fails to add a dependency.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
1c823fbf40
Fixed incorrect renaming of methods when there's a property with the same name in a dependency.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
ad6555f957
Fixed the wrapping of default args assigned with a ctor expression with more than one param.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
fcd7260f6d
Filled in he missing C++ impls of methods with default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
c136e2d220
Fixed incompilable generated C# code when having a function pointer returning a pointer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
27d3f21a75
Revert "Included ignored fields in the wrappers for better marshalling."
...
This reverts commit 65cac93259
.
Conflicts:
src/Generator/Generators/CSharp/CSharpTextTemplate.cs
tests/Basic/Basic.h
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
672f88df5a
Fixed the multiple inheritance of nested types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8ddc1e4736
Removed ignored methods from consideration when generating properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
42828f35fd
Fixed the generation of abstract impl calls in property setters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
de0392ca1e
Fixed a bug when a function returns an abstract class contained in a dependency.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
451278cb10
Removed the option for abstract impls thus enabling them by default.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
77369b50c5
Removed the option for abstract impls enabling them by default for the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Abhinav Tripathi
33cb87ad65
Added param to interface pass for Operator functions and a test.
10 years ago
João Matos
2e448a5c83
Ignore TestPassAnonymousDelegate test as it's causing NUnit exceptions on AppVeyor.
10 years ago
Abhinav Tripathi
384dac3442
Fixed code generation when using arrays in ValueType types.
10 years ago
Dimitar Dobrev
14f5358daa
Fixed a bug when having protected properties in a secondary base.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Abhinav Tripathi
fc54f71893
Fixed code gen when using non primitive pointer type CS_OUT args.
10 years ago
Dimitar Dobrev
213f0884c9
Added a test for protected members in secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
d7e74c68e6
Ensured implementations of interface members are properly renamed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
9ce1fea794
Fixed the "override" modifier of overridden methods and properties from secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
a7799edb14
Fixed a bug when having a field with a protected ignored type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago