313 Commits (24b02e4d865f09682eb959e927b3d42cbdf6096a)

Author SHA1 Message Date
Albert Szilvasy 24b02e4d86
Fix incorrect dtor call for non-owned instances (#1615) 4 years ago
Dimitar Dobrev 954a0cf941 Resolve names matching those of system functions 4 years ago
Joe Hull 748b7b5d03
Add a mechanism to selectively initialize allocated unmanaged memory in the default constructor. 4 years ago
Joe Hull b3a7cd0261
Much improved support for marshaling const char* to string 4 years ago
Joe Hull 03bf194b63 Enhanced ExpressionEvaluator to return implicitly typed uint, long, and ulong values from EvaluateNumber when there is no literal type suffix applied to a numeric expression string. 4 years ago
Joe Hull eb0d4c15f1 bug fix: When generating the get accessor for a field composed of an embedded array of structs use __GetOrCreateInstance to initialize the managed array wrapper rather than __CreateInstance so that __Instance holds a pointer to the memory allocated for the array in the outer struct rather than an independent copy of that memory. 4 years ago
Joe Hull d135ffdb86 bug: Repaired broken alignment padding generation for structs with embedded arrays of structs. Added a test for this case. 4 years ago
Dimitar Dobrev 4181f7c534 Ignore the still unsupported dependent type names 4 years ago
Dimitar Dobrev 85b6a92861 Generate valid C++ for protected constructors 5 years ago
Dimitar Dobrev d741ced55a Generate valid C++ for protected destructors 5 years ago
Dimitar Dobrev 1020e18bdc Only implement abstract classes in C++ for ctors/dtors 5 years ago
Dimitar Dobrev c18d047daf Ensure a tested specialization is really generated 5 years ago
Dimitar Dobrev 4405525f3a Make unit tests independent of the generator 5 years ago
josetr 1926e69435 Only use premake for native projects and improve c# projects. 5 years ago
josetr 0b270df006 Rename files 5 years ago
josetr f474a7327b Fix typo and move alignment offsets to cpp file 5 years ago
Dimitar Dobrev cd7b3576db Export or implement accessible functions in tests 5 years ago
Dimitar Dobrev ed51c802b9 Fix importing/exporting redeclaration in symbols 5 years ago
Dimitar Dobrev 25b9082c4c Disable the msvc warning about unexported template specializations 5 years ago
josetr dbbcb6dbdf Upgrade to .NET Core 3.1 and improve build system 5 years ago
josetr f3830b0b2a
Ignore testing the incorrect marshalling of parameters typed const& to primitives 5 years ago
Dimitar Dobrev e637b18b98 Export some neglected classes in the tests 5 years ago
Joao Matos 80a83ceada Be more strict when constructing a regex for parsing macros. 5 years ago
josetr 42dda6b12f
Fix generation of SequentialLayout structures (#1499) 5 years ago
josetr be2bc1be5b
Fix C4251 warnings (#1487) 5 years ago
josetr 7791cf6996
Fallback to LayoutKind.Explicit when a custom alignment is specified. (#1476) 5 years ago
josetr 0d32121eee Fix the generation of sequential layouts 5 years ago
josetr e61e9201ec
Fix ambiguous conversion functions (#1458) 5 years ago
josetr a6e0595428
Remove unsupported calling convention usage (#1454) 5 years ago
josetr 8c4465bb11
Fix PInvokeStackImbalance when calling C++ methods (#1453) 5 years ago
josetr 832e4e9eb0
Fix IntPtr array marshalling bug and move hard to read code to CppSharp.Runtime (#1446) 5 years ago
josetr 37c0164072
Add support for const char32_t* and fix const wchar_t* in linux / osx (#1444) 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 a92337ba47
Add support for C++ character literals (u, U, L) (#1434) 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 0f498a1090
Add missing `Variable.Type` null check. (#1430) 5 years ago
josetr 397811dc3c
Fix wrong marshalling for static member arrays (#1428) 5 years ago
josetr 8034acb22a
Fix crash when trying to read a CXXRecordDecl that doesn't have a definition (#1426) 5 years ago
josetr 73670debbc
Fix anonymous member name colliding with enclosing type name (#1425) 5 years ago
Dimitar Dobrev b5ca0635be Check symbols in tests 5 years ago
Dimitar Dobrev 0e39ab705a Import native DLL-s (tests and parser) with MSVC 5 years ago
Dimitar Dobrev 7396c95f7c Implement and export all methods in tests 5 years ago
Dimitar Dobrev 29c6eb5625 Test overriding from a secondary base for Itanium 5 years ago
Dimitar Dobrev fd15ab6632 Make a test localization-independent of the IDE 5 years ago
Dimitar Dobrev 6fd9078445 Fix the regressed C# marshalling of char* 5 years ago
Dimitar Dobrev 7b6fb6e340 Implement abstract templates to call virtuals 5 years ago
Dimitar Dobrev c23bc89f86 Clean all warnings in the non-generated C# 5 years ago
Dimitar Dobrev 8dfcd5b717 Fix all memory leaks in tests 5 years ago