1520 Commits (f09f95d7a40cf0890fa48a133547678862147576)

Author SHA1 Message Date
Dimitar Dobrev f09f95d7a4 Remove redundant overrides from the generated C++/CLI 5 years ago
Dimitar Dobrev 0e38947e07 Convert the visiting options to an enum 5 years ago
Joao Matos 42fe2b5dfb Use explicit native type printer kind in CLI headers code. 5 years ago
Joao Matos b4cece4601 Add initial NAPI and JS generator. 5 years ago
João Matos dc185a66ea Add initial QuickJS generator. 5 years ago
Dimitar Dobrev 7bc0db7ae6 Don't wrap trivial constructors and destructors 5 years ago
Joao Matos bdf084fc65 Continue implementation of C++ generator. 5 years ago
Joao Matos cbb1e19ef4 Add pass to fix up pure C++ methods to C++ generator. 5 years ago
Joao Matos aca5da8bc9 More robust C++ type printing of incomplete class declarations. 5 years ago
Joao Matos eb53ae71f9 Save existing parameter when doing C++ parameter type printing. 5 years ago
Joao Matos b632051f3e Add initial C base generator. 5 years ago
Joao Matos 423b9a75cb Check if module exists before using it in C code generator. 5 years ago
Joao Matos 62a58e4b6c More robust enum generation for C family languages in C code generator. 5 years ago
Joao Matos 65d4721ed6 Fix C generator GenerateMethodSpecifier to support pure and const specifiers. 5 years ago
Joao Matos 0c0c4be9ca Add set of generated declarations to CLITypeReferences. 5 years ago
Joao Matos 7f0dc8aed4 Minor formatting fixes. 5 years ago
Joao Matos 5e74bc351f Add TypeQualifiersMode to Type and implement in C++ type printer. 5 years ago
Joao Matos 6b53f5828a Add new VisitQualifiedType overload to visitors. 5 years ago
Joao Matos d7e36a7f6d Fix CppMarshal WriteClassInstance to deal with incomplete classes. 5 years ago
Joao Matos 11d9f3ba50 Rework Generator interface and add GenerationOutputMode option. 5 years ago
Joao Matos 503aad6c7a Fix code to use BaseClass property instead of first base. 5 years ago
Dimitar Dobrev 0fd4307b81 Generate C++ for constructors of abstract types 5 years ago
josetr 42dda6b12f
Fix generation of SequentialLayout structures (#1499) 5 years ago
josetr 20dbda0405
Fix CS0162 warning about unreachable code (#1492) 5 years ago
josetr 838c2c5930
Fix CS0109 warnings about new keyword not being required. (#1493) 5 years ago
josetr 2e80565bb2
Fix warnings about unnecessary using directives. (#1489) 5 years ago
josetr cb7e35dfa1
Avoid generating an interface with a Dispose method if we already inherit from IDisposable. (#1486) 5 years ago
Dimitar Dobrev 341fadc655 Always use the mangled names as reported by Clang 5 years ago
josetr bd69624a7d
Remove dummy variable and use discards instead available since C# 7.0 (#1478) 5 years ago
josetr 7791cf6996
Fallback to LayoutKind.Explicit when a custom alignment is specified. (#1476) 5 years ago
josetr 051ebb82b3
Remove `Layout.GetSize()` method as it's no longer relevant (#1474) 5 years ago
josetr 0d32121eee Fix the generation of sequential layouts 5 years ago
josetr 75c0fbcbdf
Simplify the marshalling of returned pointers (#1470) 5 years ago
josetr 5912c236ec
VTable: improve codegen & make it thread safe (#1469) 5 years ago
josetr 52140cb78b
Create VTables class to cache delegates pointing to native virtual methods (#1468) 5 years ago
josetr eac78c6caf
Improve generation of C# (#1466) 5 years ago
josetr b9cf8f160a
Reduce calls to ConcurrentDictionary to improve performance (#1464) 5 years ago
Dimitar Dobrev 75bca17907
Update LLVM to obtain working lld (#1462) 5 years ago
josetr 69a501b91c
Load symbols at startup to avoid very expensive ResolveSymbol calls everywhere (#1447) 5 years ago
josetr 832e4e9eb0
Fix IntPtr array marshalling bug and move hard to read code to CppSharp.Runtime (#1446) 5 years ago
josetr 133a1882df
Copy arrays of primitive values using System.Buffers.MemoryCopy (#1440) 5 years ago
josetr 41f0e9f72b
Fix marshalling for bool arrays (#1439) 5 years ago
josetr 6496bf8dae
Basic support for static constexpr variables (#1435) 5 years ago
josetr 397811dc3c
Fix wrong marshalling for static member arrays (#1428) 5 years ago
Dimitar Dobrev 9f3fc25889 Improve the name of a generating method 5 years ago
Dimitar Dobrev b5ca0635be Check symbols in tests 5 years ago
Dimitar Dobrev 07763331e2 Move libraries to a new class for linking options 5 years ago
Dimitar Dobrev b4726fd48e Don't add ABI-specific parameters when wrapping C 5 years ago
Dimitar Dobrev 4d8ab83328 Fix patching of virtual tables for MSVC with RTTI 5 years ago
Dimitar Dobrev 076318be29 Free the memory of the patched v-tables 5 years ago