Dimitar Dobrev
997a317e27
Ignored pure overrides in the pass for abstract impls.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
63bc07e965
Fixed the cleaning of invalid names to allow custom names for enums.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
9d9d7b520a
Generated correct code when overriding a property from an indirect secondary base.
...
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
a2b8614f54
Improved the support for constructor expressions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
4d626e1d68
Ensured the pass for resolving declarations completes types of ignored fields.
...
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
triton
51464010fd
Fixed compilation of comment blocks by using static_cast for casting instead of LLVM casts.
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
triton
a7c6747e72
* Revert "Fixed namespace conflict in C++/CLI."
...
This reverts commit 0fa18a9f62
.
Unfortunately MS's C++/CLI compiler seem to have a bug handling operator overloads with global qualified types. Rever this for now until we figure out a workaround.
10 years ago
Dimitar Dobrev
4e4d5ba4e4
Added contact information about custom bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
78c3db80aa
Fixed incompilable code when a virtual function has ref params.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
0fa18a9f62
Fixed namespace conflict in C++/CLI.
...
Closes #533 .
Related:
https://github.com/mono/CppSharp/pull/520 cf472f526c
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
cd3e729d38
Restored support for full comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
a37f104262
Ignore std::shared_ptr while our template support is not yet finished.
10 years ago
triton
5ef03e1269
Fixed SetMethodParameterUsage to use complete class declarations.
10 years ago
triton
711292860c
Skip enum item from macro if enum already contains an item with same name.
10 years ago
triton
dcfe9e39a1
Improve debug string representation of MacroDefinition.
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
59de162056
Skipped already visited functions in the pass for finding symbols.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f298a792ee
Improved the cloning of types by internally using copy constructors.
...
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
Dimitar Dobrev
b09d5a897e
Optimised the pass for fixing invalid names by skipping already visited decarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
João Matos
c55ffa990c
Merge pull request #522 from xistoso/master
...
closes #514 .
10 years ago
Pedro Miguel Casaleiro Dias
ed3e0bd54a
closes #514 .
...
test added to tests/CSharpTemp/CSharpTemp.Tests.cs
10 years ago
Dimitar Dobrev
32a49086ac
A cosmetic fix in the new type map for FILE.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
f123037a07
Added a very simple type map for C FILE handles.
10 years ago
triton
b4d8f35862
Fixed static class pass to work with opaque classes.
10 years ago
triton
9bd26ca0fe
Fixed support for C language parsing flags.
10 years ago
Dimitar Dobrev
12fcb2b13e
Removed the setting of zero size for types that have fields in a base or virtuals.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
b1054770ba
Fixed the MSVC build when looking for Clang builtin headers in the wrong location.
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
4a5633731d
Fixed the resolution of variables 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
João Matos
f3dcc692b0
Update the OSX build guide to create the LLVM build folder before using it.
10 years ago
João Matos
079d0ce636
Try to fix the AppVeyor build by invalidating the cache.
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