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
|
1bcf5c514e
|
Wrapped units with ignored classes because of their internals.
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>
|
9 years ago |
Dimitar Dobrev
|
e6c4bb9cc5
|
Fixed a crash when overrides change the sugaring of involved types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5d8ecf32d7
|
Extended the AST with the GCC vector type ("__attribute__").
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
00e7225a31
|
Fixed a crash caused by class template specialisations parsed just as classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
0a5c73dc48
|
Added explicit GNU versions to the language options of the parser.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
8d765cec6b
|
Fixed an exhausted stack when parsing deep headers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
749c2b17ec
|
Renamed ParserOptions to CppParserOptions and ParserOptions2 to ParserOptions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
50ee414799
|
Fixed the C++ type printer to handle const value types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 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>
|
9 years ago |
Dimitar Dobrev
|
9611e718a8
|
Removed a redundant statement which also caused a crash in Qt#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
d32a9886b7
|
Added property to set diagnostics level.
|
9 years ago |
Joao Matos
|
e62448638a
|
Be more specific when applying C++ language build options.
|
9 years ago |
Joao Matos
|
32efe89731
|
Use Premake workspace token instead of builddir to fix builds for dependent projects.
|
9 years ago |
Joao Matos
|
19fb6ca7d6
|
Fold toolchain parser setup to parser options.
|
9 years ago |
Joao Matos
|
f8f4c2ecc5
|
Fixed Windows build.
|
9 years ago |
Joao Matos
|
e2e7079866
|
Factor .NET framework build version setup code to fix a bug for dependent projects.
|
9 years ago |
Joao Matos
|
5f0d207fa5
|
Fixed CheckDuplicatedNamesPass to check for null before using CurrentOutputNamespace.
|
9 years ago |
Joao Matos
|
65fc10680a
|
Move SourceLocation to CppSharp.AST.
|
9 years ago |
Joao Matos
|
e8064e3f4e
|
Minor build fixes.
|
9 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.
|
9 years ago |
Dimitar Dobrev
|
4f10e9fb78
|
Fixed the build after the refactoring.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
e302f8a299
|
Updated to the latest Premake for Windows as well.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
4e48af9a4c
|
Remove the Driver dependency from the generators with a BindingContext.
|
9 years ago |
Joao Matos
|
fc5c09ab75
|
Rename type printer context variables in type printers.
|
9 years ago |
Joao Matos
|
a44da437e6
|
Rename AstVisitor.Options to VisitOptions.
|
9 years ago |
Joao Matos
|
b710e62f37
|
Added a default indentation level to IDiagnostics.Push/PopIndent.
|
9 years ago |
Joao Matos
|
41719e641e
|
Rename IDiagnosticConsumer to IDiagnostics.
|
9 years ago |
Joao Matos
|
5dac663926
|
Remove unneeded dependency on our own Premake helpers.
|
9 years ago |
Joao Matos
|
4bc75c1e19
|
Remove Bootstrap project from the build.
|
9 years ago |
Joao Matos
|
b0c539197e
|
Extract ParserGen build project to its own file.
|
9 years ago |
Joao Matos
|
325d1ca4ae
|
Remove explicit location directive on Generator project.
|
9 years ago |
Joao Matos
|
77c871c794
|
Update build files to Premake5.
|
9 years ago |