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
Dimitar Dobrev
2b3b9bc9cf
Fixed a crash when parsing templates of variables.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
b7689b2d60
Added support for missing basic Clang built-in types.
9 years ago
Joao Matos
09a9d17efb
Moved type printing functionality to CppSharp.AST.
9 years ago
Joao Matos
0f708fec14
Improved printing of HTTP download progress on build scripts.
9 years ago
Joao Matos
1206b48776
Improved debugging representation of template arguments and specializations.
9 years ago
Joao Matos
436229fb45
Ignore Visual Studio generated temporary files.
9 years ago
Joao Matos
4b1309f5be
Added support for C++14 variable templates and specializations.
9 years ago
Joao Matos
53409db5ca
Re-generated the parser bindings.
9 years ago
Joao Matos
2bac142976
Added VisitFunctionTemplateSpecializationDecl visitor implementations.
9 years ago
Joao Matos
12312bff14
Refactored common template handling code in native AST.
9 years ago
Joao Matos
4b8bb474fa
Clean up template declarations visiting behavior.
9 years ago
Dimitar Dobrev
d41609eafb
Marked incomplete class template specialisations and ignored them later.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
7b78053f93
Added compatibility with a little newer Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
9c56b56b68
Rename CLITextTemplate to CLITemplate.
9 years ago
Joao Matos
9028987ab9
Update readme as we now support std::string in C#.
9 years ago
Joao Matos
573dc623f8
Renamed class names to match file renames.
9 years ago
Joao Matos
f6355ab0f9
Renamed some files.
9 years ago