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
Joao Matos
c56b6311ed
Extracted managed parser code to CppSharp.Parser project.
9 years ago
Joao Matos
9710936c7a
Order usings in Driver.cs.
9 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.
9 years ago
Joao Matos
77b6eef89d
Extracted QualifiedNameSeparator from GetQualifiedName.
9 years ago
João Matos
0e32e46cf4
Update GettingStarted.md
9 years ago
Joao Matos
3bdb31e099
Update Premake Linux build.
9 years ago
Joao Matos
bbfff6eec0
Improved error message for unhandled CIL type prints.
9 years ago
Joao Matos
79380a615c
Updated to latest Premake 5 OSX build with dylib fixes.
9 years ago
Joao Matos
da10dd7046
Implement const-qualified printing of CIL strings.
9 years ago
Joao Matos
3ff416b483
Updated type printer to latest changes from Mono managed to native codebase.
9 years ago
Joao Matos
a237dbf1e2
Updated build files to Premake 5 conventions.
9 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>
9 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>
9 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>
9 years ago
Joao Matos
1f25e02d35
Match minor version when looking up VS version.
...
Fixes AppVeyor build.
9 years ago
Joao Matos
62ab990b63
Formatting fixes.
9 years ago
Joao Matos
013a9e8b4c
Merged IgnoreAbstractOperatorsPass into CheckOperatorsOverloadsPass and added a test.
9 years ago
Dimitar Dobrev
fbd1f5e328
Optimised, simplified and fixed the pass for renaming by case.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
857b25db2f
Simplified some code.
9 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>
9 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>
9 years ago
Dimitar Dobrev
2480a551b5
Removed unsupported template specialisations from the generated C++ library with templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
7d6f344324
Improved the default names of libraries for inlines and template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
3230f9037f
Minor fixes to handling arrays and std::string.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 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>
9 years ago
Dimitar Dobrev
aabe7409d1
Fixed the internals of templates specialising arrays by simplifying the names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 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>
9 years ago
Dimitar Dobrev
6596d638ff
Fixed the type map for std::string to also destroy the allocator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
deea8d8cda
Removed functions made ambiguous by different qualifiers on the same type in their parameter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
d419cb7156
Added all system fields to the internal layouts used in the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
1771f7462b
Fixed the generation of internals for nested template specialisations with pointers as T.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
fa086e086c
Ensured __int128, __uint128_t and __fp16 are ignored without crashing in the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
13b5423fff
Fixed the printing of template specialisations to work in all cases.
...
The previous implementation worked with template specialisation types but not, for example, with template parameter substitution types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
5a4748f2d0
Handled two or more empty enums with identically prefixed members and in the same context.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
1dd73afda6
Fixed a crash when checking specialisations of std::vector.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
b8adc4af6e
Fixed Common tests to include the extra units.
9 years ago
Dimitar Dobrev
7d67f4b023
Added unary transformations and other fixes to restore the full build with all tests.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
397d82b2a1
Fixed the generated C# when having a field of type char*.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago