Dimitar Dobrev
|
6f8c942b0a
|
Adjusted pointers when calling functions from secondary or non-dynamic bases.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
324e241c25
|
Fixed the internal abstract impls with default params of a pointer type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
bb59ca17fb
|
Fixed a crash when a C++ ctor indirectly calls a virtual function on the object being constructed.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
4e981a80e6
|
Fixed a bug when wrapping virtual properties overridden in indirect derived types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
b15735d539
|
Generated GetHashCode in the C# front-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
f848f62180
|
Some refactoring to remove redundant members and casts.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
80643e0457
|
Added support for parameters with type a reference to a fixed-size array.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
c183200815
|
Fixed a regression causing incorrect sizes of types derived from template instantiations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
5dca339ff2
|
Forbid the disposal of unowned objects and simplified the generated code.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
d769a81ade
|
Called virtual destructors through the virtual table.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
triton
|
5ef899366c
|
Renamed the test suite projects.
|
10 years ago |
triton
|
d265a0f345
|
Remove unnecessary workarounds in test suite for P/Invoke fixed arrays bug.
|
10 years ago |
Dimitar Dobrev
|
4e37adf4b7
|
Added conversion operators for ctors with default params.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Abhinav Tripathi
|
364ea2660f
|
Fixed code gen for out Parameters.
|
10 years ago |
Abhinav Tripathi
|
e0c561d731
|
Fixed build on linux due to newline.
|
10 years ago |
Abhinav Tripathi
|
c6ae35ff7d
|
Added marshalling of fixed size ref type arrays.
|
10 years ago |
Dimitar Dobrev
|
ea8e167e6e
|
Prevented duplication when a class and its base each have a field with the same name.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
de02c1af27
|
Fixed the implementation of secondary bases with overloads caused by default values.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
b7187c80c7
|
Generated valid code when C++ changes method access when overriding.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
56b02cfcf9
|
Converted to 0 default expressions calling an empty ctor of a type mapped to an enum.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
0930360cd5
|
Ensured conversion operators from primitive pointers pass the correct values.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
76ea3158df
|
Prevented conversion operators from getting ref params.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Abhinav Tripathi
|
dd941d9191
|
Added marshalling of primitive ptrs to ref type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
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 |
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
|
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 |
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 |
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
|
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
|
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
|
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
|
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
|
8ddc1e4736
|
Removed ignored methods from consideration when generating properties.
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 |
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
|
7328538f19
|
Prevented Dispose from destroying unmanaged objects we didn't create.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
73e9455821
|
Put own (created in managed code) objects in the object map upon creation.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
84d8af2396
|
Added a mapping between native object and their managed wrappers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
d2189fa5a7
|
Moved the improved test for friends to Basic because it's not C#-specific.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
triton
|
43531f0b38
|
Fixed regression when parsing multiple non-member friend declarations.
|
10 years ago |
triton
|
bf9fb64120
|
Fixed regression when parsing class templates.
First introduced in f2de736f81 .
Thanks to @golddranks for providing the test case.
Closes issue #409.
|
10 years ago |