Joao Matos
098ff73e52
Rename type map database in binding context.
10 years ago
João Matos
7257633927
Merge pull request #698 from Klipi/patch-2
...
Update syntax for adding passes
10 years ago
Olli Niskanen
bdaa547f2a
Update syntax for adding passes
10 years ago
Joao Matos
6e0a079f7a
Extracted Windows kits toolchain code into its own method.
10 years ago
Joao Matos
cc773d1848
Refactored code to get VS SDK toolchain version in its own method.
10 years ago
Joao Matos
c55a8fa79c
Make it easier to map between the enum-based and integer-based VS versions.
10 years ago
Dimitar Dobrev
db942dc06c
Wrapped the reference qualifier of functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
João Matos
8481f9e5cb
Merge pull request #696 from Klipi/patch-1
...
Document LLVM build using premake on OSX
10 years ago
Olli Niskanen
1cd8d2c00a
Add a line break to fix code formatting
10 years ago
Olli Niskanen
1fc72c51c7
Document LLVM build using premake on OSX
10 years ago
Joao Matos
186312a92b
Fixed missing primitive types in CLI type printer.
...
Partial fix for https://github.com/mono/CppSharp/issues/695 .
10 years ago
Joao Matos
d349134180
Reworked parser bindings build scripts to be more easily re-usable.
10 years ago
Joao Matos
459421128a
Revert "Updated Premake OSX binary to the latest."
...
This reverts commit 191f9a9062 .
It's breaking our Travis build, https://github.com/premake/premake-core/issues/588 .
10 years ago
Joao Matos
f5ea7a1d50
Minor whitespace fixes.
10 years ago
Joao Matos
191f9a9062
Updated Premake OSX binary to the latest.
10 years ago
Joao Matos
4cb6da31ce
Fixed FindMonoPath to return Mono base path and not binary path.
10 years ago
Dimitar Dobrev
9cbb13053a
Fixed the generated code when an override has its access increased.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
7263c74b8f
Whitespace fix.
10 years ago
Joao Matos
e1b35398eb
Renamed UppercaseFirst string helper to Capitalize.
10 years ago
Joao Matos
71c6e72959
Added convenience ctor to TypedefType.
10 years ago
Dimitar Dobrev
6cbd047392
Fixed the auto-compilation not to use an old and buggy CS compiler on Windows.
...
Fixes https://github.com/mono/CppSharp/issues/688 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
e7f9178ff4
Added Mono toolchain finding support code.
10 years ago
Dimitar Dobrev
c82e94c05b
Removed the custom wget from the CI because the remote OS X has been updated.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
e1fae44c64
Refactored CppTypePrinter to be more easily extensible.
10 years ago
Joao Matos
26b4dfa549
Improve diagnostics for unavailable pre-compiled LLVM packages.
...
Fixes https://github.com/mono/CppSharp/issues/693 .
10 years ago
Dimitar Dobrev
7c9c91acc3
Fixed the generated C# when a method with a default arg is named the same as another, non-default, of its parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
a04c752b33
Fixed the generated C# when an abstract function has no default args but its overrides do.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
6245f9e105
Fixed the generated C# when an abstract function in a secondary base has a non-primitive default argument.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
e68f9bc041
Revert "Improved diagnostic output in CheckIgnoredDecls."
...
This reverts commit 7b1abc79bc .
It breaks the build and it's not trivial to fix it, so given that it's just logging, we'd better disable it for now.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
21dd5d71a8
Fixed ASTVisitor.VisitUnsupportedType to be virtual.
10 years ago
Joao Matos
284ee9eba3
Added support for printing variable arrays as pointers in C type printer.
10 years ago
Joao Matos
e9992894cf
Type ignore checker will now check for ignored array elements and unsupported types.
10 years ago
Joao Matos
7b1abc79bc
Improved diagnostic output in CheckIgnoredDecls.
10 years ago
Joao Matos
76ce6c7836
Added an unsupported type node to the AST.
10 years ago
Joao Matos
e90ffcc5bd
Added Objective-C parameter printing to type printer.
10 years ago
Joao Matos
4c53c7d088
Added more generator languages kinds to C++#.
10 years ago
Dimitar Dobrev
d2326a3883
Added processing of type aliases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
6ed05c2b5d
Fixed the generated C# with properties constructed from a returned value and a taken reference.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
3ee6165053
Fixed the generated C# when a virtual function returns a primitive pointer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
7da5acda65
Fixed the handling of covariant returned types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
9fe2d307dc
Fixed the generated C# when marshalling a field of type const wchar_t*.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
1932798d45
Aligned pointers to classes when passing them converted to their secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
b16bb0a979
Moved the change of order when visiting properties to just the renaming pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
34c75d28f6
Avoided ambiguous local variables when marshalling arrays.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
be32825bed
Added support for wrapping variable arrays.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
829422cc86
Fixed invalid generated C# code when having a field renamed the same as a method.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
9da51c1e16
Changed the renaming not to remove the underscores from all-capital names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
1aa85ab9f7
Fixed a bug causing some functions with pointer parameters to be marked as ambiguous when they aren't.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
bcd6b226fa
Fixed the marshalling of arrays.
...
Fixes https://github.com/mono/CppSharp/issues/680 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
63612a875a
Removed the renaming of fields because they are no longer exposed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago