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>
11 years ago
Dimitar Dobrev
451278cb10
Removed the option for abstract impls thus enabling them by default.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
2e57ce7808
Cleaned up the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 years ago
Dimitar Dobrev
a9021ea63d
Fixed some typos.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
9b62ec46e6
Fixed destructors signature in MS ABI.
...
See MicrosoftCXXABI::EmitVirtualDestructorCall in https://github.com/llvm-mirror/clang/blob/master/lib/CodeGen/MicrosoftCXXABI.cpp for the nitty gritty details.
11 years ago
triton
49ba3146a5
Extracted Mono detection logic to Platform.
11 years ago
triton
d0b7ad72a0
Added missing Platform class file.
11 years ago
triton
26e9301b7d
Enable the Microsoft ABI when setting up for MSVC toolchain.
11 years ago
triton
023262647b
Workaround VS 2015 support since Clang cannot handle it yet.
...
Errors:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtr1common(227,22): error: use of undeclared identifier 'char16_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtr1common(233,22): error: use of undeclared identifier 'char32_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(408,14):error: use of undeclared identifier 'char16_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(414,14):error: use of undeclared identifier 'char32_t'
C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(938,2): error: Must define a target architecture.
C:\Program Files (x86)\Windows Kits\8.1\include\um\oaidl.h(473,31): error: cannot combine with previous 'type-name' declaration specifier
11 years ago
triton
39dee146e2
Improved VS 2015 support on MSVC toolchain by looking up Universal CRT paths.
11 years ago
triton
e203aff22d
Added Windows Kits SDK support code to MSVC toolchain.
11 years ago
triton
4a6c55d6d8
Documented ToolchainVersion fields.
11 years ago
triton
06f57f29c4
Formatting / code quality fixes.
11 years ago
triton
27e537c59b
Extract platform detection logic into its own file.
11 years ago
triton
17d4342433
Whitespace fixes.
11 years ago
triton
4034a407f3
Added Visual Studio / MSVC toolchain support.
11 years ago
triton
31f84154ce
Small non-functional fixes to Xcode toolchain code.
11 years ago
Abhinav Tripathi
33cb87ad65
Added param to interface pass for Operator functions and a test.
11 years ago
João Matos
f00575eb4a
Added beginnings of a parser bootstrap code generator.
...
This is going to be extended by @afesteves in his Google Summer of Code work.
11 years ago
João Matos
6d60f6a2ac
Re-generated the parser bindings.
...
Fixes https://github.com/mono/CppSharp/issues/494 .
11 years ago
João Matos
6917008a4b
Use the qualified class name when handling returned class pointers.
11 years ago
João Matos
be7980906d
Re-generated the parser bindings.
11 years ago
João Matos
ee8d1b5367
Enable copy constructor generation on parser bindings.
11 years ago
João Matos
54c772b6ac
Use the same path to Linux parser generation headers as on OSX.
11 years ago
Dimitar Dobrev
1e195a166a
Generated comments for variables (static fields in C#).
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
95c34277a3
Code formatting fixes.
11 years ago
triton
74f9ab8a19
Check if we're generating copy constructors before trying to use them.
11 years ago
triton
ea4ce03e92
Use the qualified class name when casting the object from the native/managed map.
11 years ago
triton
14e53b523f
Cast when creating new object instances since CreateInstance returns the base type.
11 years ago
Abhinav Tripathi
384dac3442
Fixed code generation when using arrays in ValueType types.
11 years ago
triton
0ec9ced29e
Rename the Xcode toolchain class.
11 years ago
triton
23685ba188
Move the Xcode toolchain code to its own file.
11 years ago
triton
a9101ece64
Rename the diagnostic emit overloads so they're more uniform.
11 years ago
triton
2620fda064
Get rid of diagnostic IDs as these never got used in practice.
11 years ago
Dimitar Dobrev
14f5358daa
Fixed a bug when having protected properties in a secondary base.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Abhinav Tripathi
fc54f71893
Fixed code gen when using non primitive pointer type CS_OUT args.
11 years ago
Dimitar Dobrev
fd20f4a2e4
Fixe a bug when renaming statics in base classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
d7e74c68e6
Ensured implementations of interface members are properly renamed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 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>
11 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>
11 years ago
Dimitar Dobrev
44cd09fbf2
Fixed a bug when having a default arg in a ctor of a derived type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
83f58fe260
Added an option to disable the visiting of return types of functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
c512a558c7
Fixed a bug when a default arg is a binary operator expression.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
7cff21aa78
Fixed default args with template types; added an option for expressions to use in type maps.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
277a6f5ac7
Fixed default args with enum values when the enum is in a dependency.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
7da56fc082
Added automatic adding of references between dependent modules.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
010a30f5a5
Fixed a regression - the test for dependencies failed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
e33ae461b0
Fixed a bug when a default arg of type double has a value ending with .0.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
53e75ab19f
Fixed a bug when having a default arg value for a pointer to a C# struct.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago