Dimitar Dobrev
2314b21093
Fix regressed names of generated source files
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
33e94b5f1f
Look for the Clang headers along the main entry
...
This fixes a crash in our new NuGet where the executable code we used as a guide before, is now located in nested arch-specific folders.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
6d3f676db9
Regenerate the parser bindings
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
e913a00d11
Fix the crashing disposal of a non-set up driver
...
Fixes https://github.com/mono/CppSharp/issues/1404 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
ba2310830a
Remove needless generation of using-s in tests
...
Fixes https://github.com/mono/CppSharp/issues/1490 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
50808812af
Document release 0.11.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Matt Key
64ca939eb0
Refactoring to reduce code duplication
6 years ago
Matt Key
3fee9dd5b9
Adding test for new pass
6 years ago
Matt Key
6c57169bde
Adding extract interface pass
6 years ago
Dimitar Dobrev
65eb50b653
Add a log for changes per release
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
ElonH
333ce5b137
Add test
6 years ago
ElonH
79c927d329
Fixed alias of signed char cannot be marshaled
6 years ago
Dimitar Dobrev
fe1e7c4812
Fixed auto-building for projects at spaced paths
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
josetr
06f1cd578a
Add missing quotes to support paths with spaces in build scripts
6 years ago
Dimitar Dobrev
4181f7c534
Ignore the still unsupported dependent type names
...
They're difficult to resolve and this would only make sense if we support types nested in templates which we don't yet.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Joao Matos
88fc5b9c36
Rewrite GenerateEnumFromMacros helper to also look into enum items.
6 years ago
Joao Matos
22448e09f4
Fix generation of overloads in NAPI by re-ordering final calculated states.
6 years ago
Joao Matos
b093fbe509
Fix marshaling of primitive types in NAPI generator.
6 years ago
Joao Matos
77972c78fa
Fix generation of operators in NAPI generator.
6 years ago
Joao Matos
06d271806d
Refactor and extract common code in NAPI source generator.
6 years ago
Joao Matos
1ddecb1dbd
Update expression evaluator code from latest upstream.
6 years ago
Joao Matos
bcc6fd887d
Improve visiting options implementation in CodeGenerator.
6 years ago
Joao Matos
1e9cff43c6
Clean multiline function signatures in the AST converter.
6 years ago
Joao Matos
39ce0255b5
Fix generation of text blocks using NewLineKind.IfNotEmpty.
6 years ago
Joao Matos
d6dd93d2f8
Minor code cleanups.
6 years ago
Joao Matos
ab338e2765
Git ignore IDEA project folders.
6 years ago
Dimitar Dobrev
c38556a93b
Make auto-compiling of C# work with .NET Core
...
CodeDom doesn't work in .NET Core (https://github.com/dotnet/runtime/issues/18768 ) and Roslyn turns out to be too low level (just a compiler and not a building framework) so the best approach is to invoke msbuild as a process.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
SnGmng
5041fa328f
Update intrin.ps1
6 years ago
Dimitar Dobrev
8451cefc98
Change XML comments to be tested at run-time
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
86835469ac
Generate valid C++ for pointers in template args
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
f5a46b8e62
Better detect invalid specialized functions
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
9f7098b8ff
Simplify the marking of invalid functions
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
85b6a92861
Generate valid C++ for protected constructors
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
d741ced55a
Generate valid C++ for protected destructors
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
1020e18bdc
Only implement abstract classes in C++ for ctors/dtors
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
e24277e6b2
Remove win x86 from the NuGet for smaller size ( #1550 )
...
Too few people would use a win 32 host nowadays.
6 years ago
Joao Matos
6c0058a47e
Fix test generation for QuickJS generator.
6 years ago
Joao Matos
096adcfa94
Remove unused code in QuickJS module generator.
6 years ago
Joao Matos
90ddc2dff5
Add enum support to QuickJS generator.
6 years ago
Joao Matos
11cc603ee1
Marshaling correctness fix for enum and primitive types in NAPI.
6 years ago
Joao Matos
931ff7d873
Abstract marshaler into overridable method in NAPI sources.
6 years ago
Joao Matos
2d608dbe48
Extract NAPI VarPrefix and ArgumentPrefix to base class.
6 years ago
Joao Matos
e447a54f11
Remove QuickJS example, we have proper tests now.
6 years ago
Joao Matos
698d5f507b
Move NAPI and QuickJS generators to the base generators folder.
6 years ago
josetr
eccd769d8b
Add missing clang headers
6 years ago
josetr
62e9119c63
Create a single nuget package that supports windows / linux / macos
6 years ago
Joao Matos
fa7e76f0f5
Refactor QuickJS generator structure to follow NAPI patterns.
6 years ago
Joao Matos
7969925c2c
Minor refactoring of NAPI sources generation.
6 years ago
Joao Matos
93dc4e98ef
Add initial QuickJS primitive type support and test suite.
6 years ago
Dimitar Dobrev
c18d047daf
Ensure a tested specialization is really generated
...
The only function to use the specialization in question is actually ignored because the types of two of its parameters aren't supported. This was hidden by an otherwise redundant definition of a C++ symbol which is now removed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago