Dimitar Dobrev
cdd6e0eaa8
Restored a deleted piece that helps generate simpler code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
89483ec17a
Fixed a regression when having an array with dependent elements.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
170e0a5934
Removed char from internal fields because marshalling is broken.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
908988e70e
Fixed some warnings about missing default values of params in overrides.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
5e3706c879
Fixed marshaling of regular UTF16 strings.
11 years ago
triton
144d26749f
Fixed wide string marshaling on UTF-32 platforms.
11 years ago
João Matos
464476b200
Clean up previous fix by using Environment.Is64BitProcess instead of invoking Mono --version.
...
Thanks to Dimitar for the idea.
11 years ago
João Matos
5ff8efa085
Fixed some tests under OS X by auto detecting the Mono bitness.
11 years ago
triton
6623161200
Workaround Mono crasher bug when handling P/Invokes with fixed arrays.
...
https://bugzilla.xamarin.com/show_bug.cgi?id=33571
11 years ago
triton
4db4bfa567
Do not use safeIdentifier id to store the full type name (refactoring).
11 years ago
triton
2593f4727f
Added support for getting the array element size to the AST.
11 years ago
Dimitar Dobrev
db937b5e71
Removed some duplication of code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
4e37adf4b7
Added conversion operators for ctors with default params.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
a04ac2237a
Fixed the potential generation of explicit and implicit conversion from the same type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Abhinav Tripathi
364ea2660f
Fixed code gen for out Parameters.
11 years ago
João Matos
f23cd53010
Disable this workaround for now as it's not working as intended.
...
Will fix this in another way later.
11 years ago
João Matos
f799e0fb82
Rewrite Clang resource directory lookup logic in test driver.
...
Due to this code we ended up multiple Clang resource directories in the path which is a problem because Clang's stdint.h uses an include_next<> logic and it was getting messed up with the multiple headers in the lookup path.
11 years ago
João Matos
aa5b1377ca
Fixed GCC build by removing extra qualification on ELFDumper.
11 years ago
Dimitar Dobrev
d1dabba983
Fixed a warning about an ambiguous (dangling) "else".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
0e3b5f81a5
Updated C++# to the latest LLVM/Clang.
...
LLVM r245554 / 9a4e2cb3295f286dafc41b7e18619bc150880611, Clang r245562 / 41edf4ec7304ddfdf9225d225586804f394a5cf4.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
docs/GettingStarted.md
11 years ago
Abhinav Tripathi
2df3722a14
Fixed getter code for static REf Type arrays.
11 years ago
Abhinav Tripathi
c6ae35ff7d
Added marshalling of fixed size ref type arrays.
11 years ago
Dimitar Dobrev
9377845ba7
Decreased the pass for abstract impls in half.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
8a499bb95a
Removed "content" from the verbs because it's used more often as the noun.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
6432d910fa
Removed the memory leak in the AST converter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
5c66aa2730
Implemented IDisposable.Dispose in the C++/CLI front end.
...
Fixes https://github.com/mono/CppSharp/issues/538
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
922c329d78
Fixed uncompilable code when a virtual function has a param called "target".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
997a317e27
Ignored pure overrides in the pass for abstract impls.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 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>
11 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>
11 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>
11 years ago
Dimitar Dobrev
b7187c80c7
Generated valid code when C++ changes method access when overriding.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
a2b8614f54
Improved the support for constructor expressions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
4d626e1d68
Ensured the pass for resolving declarations completes types of ignored fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 years ago
triton
51464010fd
Fixed compilation of comment blocks by using static_cast for casting instead of LLVM casts.
11 years ago
Dimitar Dobrev
0930360cd5
Ensured conversion operators from primitive pointers pass the correct values.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
76ea3158df
Prevented conversion operators from getting ref params.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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.
11 years ago
Dimitar Dobrev
78c3db80aa
Fixed incompilable code when a virtual function has ref params.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
0fa18a9f62
Fixed namespace conflict in C++/CLI.
...
Closes #533 .
Related:
https://github.com/mono/CppSharp/pull/520 cf472f526c
11 years ago
Abhinav Tripathi
dd941d9191
Added marshalling of primitive ptrs to ref type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
c8da628782
Fixed the renaming of overrides in a certain situation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
cd3e729d38
Restored support for full comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
a37f104262
Ignore std::shared_ptr while our template support is not yet finished.
11 years ago
triton
5ef03e1269
Fixed SetMethodParameterUsage to use complete class declarations.
11 years ago
triton
711292860c
Skip enum item from macro if enum already contains an item with same name.
11 years ago
triton
dcfe9e39a1
Improve debug string representation of MacroDefinition.
11 years ago
Dimitar Dobrev
b6c16051af
Fixed the wrapping of mapped types with operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago