13 Commits (333005faadffd0bee68d386ec2a2c2bada18dfae)

Author SHA1 Message Date
duckdoom5 333005faad Ignore crashing unit test in debug builds 2 years ago
Stefan 81e0a931cf
Don't add values to enums that can't be parsed (#1836) 3 years ago
Stefan b14038ab07
Value types may generate `Dispose` (#1787) 3 years ago
Stefan a5afda8603
Fix parameterless constructors not being generated for structs (#1783) 3 years ago
Stefan b16e809b9e
Introduce `GenerateFreeStandingFunctionsClassName` option (#1782) 3 years ago
Stefan 03874e743f
Fix Value Type String Member Invalid Codegen (#1778) 3 years ago
Salvage 28000a14b4 Fix #1251 three parameter equality operator 3 years ago
Salvage 7f567b604b Fix non-void returning functions with value-type out parameters 3 years ago
Salvage 20950c5a34 More stringent test; Fix indentation (of the code itself, not in the generator) 3 years ago
Salvage ebe6b8a415 Fix value type out parameters 3 years ago
Trung Nguyen ce3d04abd7
CSharpSources: Dereference pointer variables (#1753) 3 years ago
Trung Nguyen add3aba684
CSharp: More default parameter fixes (#1747) 3 years ago
João Matos 4417dd987a
Code cleanups and improvements (#1713) 4 years ago
josetr 567a0df8c7 Fix FunctionToInstanceMethod 4 years ago
josetr fd058db061 Rename tests 4 years ago
Fabio Anderegg a642691348
Call destructor on copied arguments when calling C# method from C++ (MS ABIs only) (#1685) 4 years ago
josetr 060afd53fc Add partial `ref` param support 4 years ago
josetr 17f69fdf64 Add test for function templates 4 years ago
josetr 37bd7e0155 Add `GenerateNativeToManaged` per-class option 4 years ago
josetr 3414294ab8 Fix FunctionToStaticMethod bug 4 years ago
josetr eb5031bf4c Format files 5 years ago
Joe Hull 1edd5ee5ee
Avoid ArgumentOutOfRangeException in ExpressionHelper.CheckForString (#1649) 5 years ago
Joe Hull 81351632d5
Use WeakReference<T> in NativeToManagedMap to allow finalizers to run. (#1648) 5 years ago
Dimitar Dobrev 5552f2b484 Generate valid C# for pure functions returning or taking dependent pointers 5 years ago
Dimitar Dobrev 0d84877068 Simplify code by not specially handling void** 5 years ago
Dimitar Dobrev 634c231853 Generate valid C# for unions in templates with non-type args 5 years ago
Dimitar Dobrev 50cba5552c Generate valid C# for destructors of templates with dependent fields 5 years ago
Dimitar Dobrev 0e963aa03f Generate valid C# for default args: typedefed refs to enums assigned empty ctors 5 years ago
Dimitar Dobrev 385c5e9387 Ensure valid C# for default args assigned secondary bases 5 years ago
Dimitar Dobrev 4649052f2c Fix templated indexers returning objects 5 years ago
Dimitar Dobrev 6dfabb6273 Generate valid C# for specializations in default args 5 years ago
Dimitar Dobrev c36145b29d Bind default constructors with dependent pointers 5 years ago
Dimitar Dobrev 0255eb732d Resolve overloads with typedef-ed mapped params 5 years ago
Dimitar Dobrev 77e9d0cc75 Ignore a test which only fails with the Linux CI 5 years ago
Albert Szilvasy 24b02e4d86
Fix incorrect dtor call for non-owned instances (#1615) 5 years ago
Joe Hull 748b7b5d03
Add a mechanism to selectively initialize allocated unmanaged memory in the default constructor. 5 years ago
Joe Hull b3a7cd0261
Much improved support for marshaling const char* to string 5 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. 5 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. 6 years ago
Joe Hull d135ffdb86 bug: Repaired broken alignment padding generation for structs with embedded arrays of structs. Added a test for this case. 6 years ago
Dimitar Dobrev 4405525f3a Make unit tests independent of the generator 6 years ago
josetr f474a7327b Fix typo and move alignment offsets to cpp file 6 years ago
josetr dbbcb6dbdf Upgrade to .NET Core 3.1 and improve build system 6 years ago
josetr f3830b0b2a
Ignore testing the incorrect marshalling of parameters typed const& to primitives 6 years ago
josetr 42dda6b12f
Fix generation of SequentialLayout structures (#1499) 6 years ago
josetr 7791cf6996
Fallback to LayoutKind.Explicit when a custom alignment is specified. (#1476) 6 years ago
josetr 0d32121eee Fix the generation of sequential layouts 6 years ago
josetr e61e9201ec
Fix ambiguous conversion functions (#1458) 6 years ago
josetr a6e0595428
Remove unsupported calling convention usage (#1454) 6 years ago
josetr 8c4465bb11
Fix PInvokeStackImbalance when calling C++ methods (#1453) 6 years ago