2807 Commits (37bd7e015590c63fd011384c5d1bd02f314175ee)

Author SHA1 Message Date
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 927c2a5c18 Fix finding of symbols for members of templates 5 years ago
Dimitar Dobrev 2c6c2da690 Mark variables with constant expressions as found 5 years ago
Dimitar Dobrev b6811060ab Make the CPP ABI visible only to the STD symbols 5 years ago
Dimitar Dobrev 257b347fbd Regenerate the parser bindings 5 years ago
Dimitar Dobrev 68146058f3 Generate valid C++ for destructors of nested types 5 years ago
Dimitar Dobrev 341fadc655 Always use the mangled names as reported by Clang 5 years ago
Dimitar Dobrev 60474c922c Call the destructor instead of deleting the object in the generated symbols 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 3e742c3219
Fix `String.CSharpSignatureType` returning incorrect type when the given type is a pointer or a reference. (#1473) 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
josetr 9b8275cca9
Ensure expression is a valid float constant before trying to append `f` suffix (#1465) 5 years ago
Dimitar Dobrev 75bca17907
Update LLVM to obtain working lld (#1462) 5 years ago
josetr e61e9201ec
Fix ambiguous conversion functions (#1458) 5 years ago
josetr c32ac59988
Prevent string destructor from being called twice when its passed by value (#1455) 5 years ago
josetr 8c4465bb11
Fix PInvokeStackImbalance when calling C++ methods (#1453) 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 0cfc060018
Fix string marshalling bug and move hard to read code to CppSharp.Runtime (#1445) 5 years ago
Dimitar Dobrev be227c2c18 Revert "Simplify the code for encodings when marshalling" 5 years ago
Dimitar Dobrev 3a93f8f575 Simplify the code for encodings when marshalling 5 years ago
josetr 37c0164072
Add support for const char32_t* and fix const wchar_t* in linux / osx (#1444) 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 c3ca3c241b
Fix wrong [MarshalAs(UnmanagedType)] for strings (#1438) 5 years ago
josetr 6496bf8dae
Basic support for static constexpr variables (#1435) 5 years ago
josetr df98fc460a
Use C# 'default literal' to avoid using a type's name that may be renamed (#1432) 5 years ago
josetr 3ffa42aa2f
Fix generated constructor cant use `placement new` when class overloads `operator new` (#1431) 5 years ago
josetr 397811dc3c
Fix wrong marshalling for static member arrays (#1428) 5 years ago
josetr 9a39493cac Fix wrong generated destructor 5 years ago
Franco Sinisi 495eb3a907 RemovePass is now generic. 5 years ago
Franco Sinisi 096cf3d9b8 Added the ability to remove a built-in pass. 5 years ago
josetr 73670debbc
Fix anonymous member name colliding with enclosing type name (#1425) 5 years ago
Franco Sinisi 669596fc51 Allow the users to overwrite CppSharp type maps. 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 6 years ago
Dimitar Dobrev 1d9a07b693 Fix memory leaks when using the driver 6 years ago