12 Commits (81e0a931cf6116951e37b0fa763e1974bc753a83)

Author SHA1 Message Date
Stefan 81e0a931cf
Don't add values to enums that can't be parsed (#1836) 1 year ago
Stefan b14038ab07
Value types may generate `Dispose` (#1787) 2 years ago
Stefan a5afda8603
Fix parameterless constructors not being generated for structs (#1783) 2 years ago
Stefan b16e809b9e
Introduce `GenerateFreeStandingFunctionsClassName` option (#1782) 2 years ago
Stefan 03874e743f
Fix Value Type String Member Invalid Codegen (#1778) 2 years ago
Salvage 28000a14b4 Fix #1251 three parameter equality operator 2 years ago
Salvage 7f567b604b Fix non-void returning functions with value-type out parameters 2 years ago
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 17f69fdf64 Add test for function templates 3 years ago
josetr 37bd7e0155 Add `GenerateNativeToManaged` per-class option 3 years ago
josetr 3414294ab8 Fix FunctionToStaticMethod bug 3 years ago
josetr eb5031bf4c Format files 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 5552f2b484 Generate valid C# for pure functions returning or taking dependent pointers 4 years ago
Dimitar Dobrev 0d84877068 Simplify code by not specially handling void** 4 years ago
Dimitar Dobrev 634c231853 Generate valid C# for unions in templates with non-type args 4 years ago
Dimitar Dobrev 50cba5552c Generate valid C# for destructors of templates with dependent fields 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 4649052f2c Fix templated indexers returning objects 4 years ago
Dimitar Dobrev 6dfabb6273 Generate valid C# for specializations in default args 4 years ago
Dimitar Dobrev c36145b29d Bind default constructors with dependent pointers 4 years ago
Dimitar Dobrev 0255eb732d Resolve overloads with typedef-ed mapped params 4 years ago
Dimitar Dobrev 77e9d0cc75 Ignore a test which only fails with the Linux CI 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 4405525f3a Make unit tests independent of the generator 5 years ago
josetr f474a7327b Fix typo and move alignment offsets to cpp file 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
josetr 42dda6b12f
Fix generation of SequentialLayout structures (#1499) 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