5 Commits (20950c5a34ee88f1e2aed93a13fbedb2096adeee)

Author SHA1 Message Date
Salvage 20950c5a34 More stringent test; Fix indentation (of the code itself, not in the generator) 2 years ago
Salvage ebe6b8a415 Fix value type out parameters 2 years ago
Trung Nguyen ce3d04abd7
CSharpSources: Dereference pointer variables (#1753) 2 years ago
Trung Nguyen add3aba684
CSharp: More default parameter fixes (#1747) 2 years ago
João Matos 4417dd987a
Code cleanups and improvements (#1713) 2 years ago
josetr 567a0df8c7 Fix FunctionToInstanceMethod 3 years ago
josetr fd058db061 Rename tests 3 years ago
Fabio Anderegg a642691348
Call destructor on copied arguments when calling C# method from C++ (MS ABIs only) (#1685) 3 years ago
josetr 060afd53fc Add partial `ref` param support 3 years ago
josetr 37bd7e0155 Add `GenerateNativeToManaged` per-class option 3 years ago
josetr 3414294ab8 Fix FunctionToStaticMethod bug 3 years ago
Joe Hull 1edd5ee5ee
Avoid ArgumentOutOfRangeException in ExpressionHelper.CheckForString (#1649) 3 years ago
Joe Hull 81351632d5
Use WeakReference<T> in NativeToManagedMap to allow finalizers to run. (#1648) 3 years ago
Dimitar Dobrev aab63d0aa3 Generate valid C# for unresolvable base templates 3 years ago
Dimitar Dobrev 0b8f252d1b Generate valid C# for fields with types system template specializations 4 years ago
Dimitar Dobrev ad6557792f Simplify handling of initialisation of variables 4 years ago
Dimitar Dobrev 3aab30f572 Add built-in compilation of extra symbols 4 years ago
Dimitar Dobrev 1e60113327 Fix naming for function pointers with strings 4 years ago
Dimitar Dobrev 0e963aa03f Generate valid C# for default args: typedefed refs to enums assigned empty ctors 4 years ago
Dimitar Dobrev 385c5e9387 Ensure valid C# for default args assigned secondary bases 4 years ago
Dimitar Dobrev 49122e0d62 Generate valid C++ for protected ctors of pure classes 4 years ago
Dimitar Dobrev 6dfabb6273 Generate valid C# for specializations in default args 4 years ago
Dimitar Dobrev 0255eb732d Resolve overloads with typedef-ed mapped params 4 years ago
Albert Szilvasy 24b02e4d86
Fix incorrect dtor call for non-owned instances (#1615) 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 85b6a92861 Generate valid C++ for protected constructors 4 years ago
Dimitar Dobrev d741ced55a Generate valid C++ for protected destructors 4 years ago
Dimitar Dobrev 1020e18bdc Only implement abstract classes in C++ for ctors/dtors 4 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
Dimitar Dobrev e637b18b98 Export some neglected classes in the tests 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 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