Dimitar Dobrev
|
3ee6165053
|
Fixed the generated C# when a virtual function returns a primitive pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
7da5acda65
|
Fixed the handling of covariant returned types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 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>
|
9 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>
|
9 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>
|
9 years ago |
Dimitar Dobrev
|
34c75d28f6
|
Avoided ambiguous local variables when marshalling arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
be32825bed
|
Added support for wrapping variable arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 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>
|
9 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>
|
9 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>
|
9 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>
|
9 years ago |
Dimitar Dobrev
|
63612a875a
|
Removed the renaming of fields because they are no longer exposed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
730fe0d407
|
Changed partial template specialisations with all arguments pointers not to be trimmed away.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
979057d263
|
Fixed the generated C# code when wrapping fixed arrays of enums.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
7b510bec42
|
Simplified the name of the internal structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b2a90a5d80
|
Prefixed the internal structure for the C# end to avoid naming conflicts.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
70f0851635
|
Ignored extern templates because they just forward to real specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
0531573875
|
Restored the sorting of modules by dependencies which had regressed.
It had stopped working since the introduction of the system module.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
5d8ecf32d7
|
Extended the AST with the GCC vector type ("__attribute__").
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
749c2b17ec
|
Renamed ParserOptions to CppParserOptions and ParserOptions2 to ParserOptions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
ab95f67aa2
|
Added "unordered_map" as a standard header in the C++ source file for system templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
19fb6ca7d6
|
Fold toolchain parser setup to parser options.
|
10 years ago |
Joao Matos
|
f8f4c2ecc5
|
Fixed Windows build.
|
10 years ago |
Joao Matos
|
5f0d207fa5
|
Fixed CheckDuplicatedNamesPass to check for null before using CurrentOutputNamespace.
|
10 years ago |
Joao Matos
|
e8064e3f4e
|
Minor build fixes.
|
10 years ago |
Joao Matos
|
a77bc2a91f
|
Separate parser options from driver options.
This will break API compatibility, you will have to update your options setup code.
|
10 years ago |
Dimitar Dobrev
|
4f10e9fb78
|
Fixed the build after the refactoring.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
4e48af9a4c
|
Remove the Driver dependency from the generators with a BindingContext.
|
10 years ago |
Joao Matos
|
fc5c09ab75
|
Rename type printer context variables in type printers.
|
10 years ago |
Joao Matos
|
a44da437e6
|
Rename AstVisitor.Options to VisitOptions.
|
10 years ago |
Joao Matos
|
41719e641e
|
Rename IDiagnosticConsumer to IDiagnostics.
|
10 years ago |
Joao Matos
|
325d1ca4ae
|
Remove explicit location directive on Generator project.
|
10 years ago |
Joao Matos
|
77c871c794
|
Update build files to Premake5.
|
10 years ago |
Joao Matos
|
c56b6311ed
|
Extracted managed parser code to CppSharp.Parser project.
|
10 years ago |
Joao Matos
|
9710936c7a
|
Order usings in Driver.cs.
|
10 years ago |
Joao Matos
|
8e5c571a76
|
Clean up the class comments for CheckAmbiguousFunctions.
This was originally written to please VS tooltips, but it makes the code look like crap and we do not use this convention anywhere else.
|
10 years ago |
Joao Matos
|
a237dbf1e2
|
Updated build files to Premake 5 conventions.
|
10 years ago |
Dimitar Dobrev
|
cbafb55044
|
Removed the managed calls to destructors of std::strings passed by value.
The native code calls the destructors itself.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e2690ba078
|
Switched the C# generator from manual conversion between strings and pointers to the built-in string marshallers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e36e7fc0ca
|
Ignored fields with types pointer to a function because they are not properly marshalled anyway.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
013a9e8b4c
|
Merged IgnoreAbstractOperatorsPass into CheckOperatorsOverloadsPass and added a test.
|
10 years ago |
Dimitar Dobrev
|
fbd1f5e328
|
Optimised, simplified and fixed the pass for renaming by case.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
857b25db2f
|
Simplified some code.
|
10 years ago |
Dimitar Dobrev
|
5b52075d32
|
Fixed the generated usages of internals of template specialisations with dependent fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
dab3f9fb31
|
Included some basic STD types in the helping library with system templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
2480a551b5
|
Removed unsupported template specialisations from the generated C++ library with templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
3230f9037f
|
Minor fixes to handling arrays and std::string.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
a4dfeb94be
|
Moved the marking of supported template specialisations to a pass.
This allows custom passes to add other specialisations to support.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
aabe7409d1
|
Fixed the internals of templates specialising arrays by simplifying the names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
589cb6b0df
|
Disabled the type maps for va_list and std::list in the C# generator.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |