341 Commits (f0b44b442158d791ebc2eefdb69cfec05fd7198c)

Author SHA1 Message Date
Jelle f0b44b4421
Code cleanup and some optimizations (#1911) 4 months ago
deadlocklogic e068f2a14a
Typemap cleanup (#1802) 2 years 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
Salvage 28000a14b4 Fix #1251 three parameter equality operator 2 years ago
Salvage ebe6b8a415 Fix value type out parameters 2 years ago
Joao Matos 3c31179db1 Use TypePrinter.IntPtrType in CSharpSources.cs code from previous commit. 2 years ago
Trung Nguyen ce3d04abd7
CSharpSources: Dereference pointer variables (#1753) 2 years ago
Trung Nguyen 357efec91b
Array marshalling (#1748) 2 years ago
Trung Nguyen add3aba684
CSharp: More default parameter fixes (#1747) 2 years ago
Trung Nguyen 1ce9cb7e7f
CSharpExpressionPrinter: Recurse into operands (#1745) 2 years ago
Fabio Anderegg 7998b24516
write pragma to disable new keyword not required warnings (#1697) 3 years ago
Fabio Anderegg 92f774aabf
__CreateInstance: return C# null when native is null (#1698) 3 years ago
Fabio Anderegg eab7a0cdde
Fix disabling NativeToManaged map for classes with vtable (#1696) 3 years ago
josetr efdec41f13 Add missing GenerateNativeToManagedFor checks 3 years ago
Fabio Anderegg a642691348
Call destructor on copied arguments when calling C# method from C++ (MS ABIs only) (#1685) 3 years ago
hxbb00 ef29be59cd
fix:RTTI head loss (#1675) 3 years ago
josetr ed278fc636 Refactor code 3 years ago
josetr 060afd53fc Add partial `ref` param support 3 years ago
josetr 565776ef9e Fix issue where a `ref` parameter would always be overwritten 3 years ago
josetr 6bf823e3b9 Fix IsInternalClassNested usage 3 years ago
josetr 37bd7e0155 Add `GenerateNativeToManaged` per-class option 3 years ago
josetr b024a92570 Use `PushWriteBlock` to improve code readability 3 years ago
josetr 2792600efb Rename LibrarySymbolInfo to CSharpLibrarySymbolTable and improve it a bit 3 years ago
josetr eb5031bf4c Format files 3 years ago
Joe Hull 81351632d5
Use WeakReference<T> in NativeToManagedMap to allow finalizers to run. (#1648) 3 years ago
Dimitar Dobrev f1915b3066 Generate valid C# for templates with external specializations only 4 years ago
Dimitar Dobrev 9b90f1c77b Generate valid C# for nested in external specializations 4 years ago
Dimitar Dobrev aab63d0aa3 Generate valid C# for unresolvable base templates 4 years ago
Dimitar Dobrev 69e766be5d Generate valid C# for classes with dependent fields nested in templates with independent fields 4 years ago
Dimitar Dobrev a69f6d1d6d Generate valid C++ for specialisations with void 4 years ago
Dimitar Dobrev 5552f2b484 Generate valid C# for pure functions returning or taking dependent pointers 4 years ago
Dimitar Dobrev ad6557792f Simplify handling of initialisation of variables 4 years ago
Dimitar Dobrev 132ed7e25b Generate valid C# for variables which use float 4 years ago
Dimitar Dobrev ac5001ddca Generate valid C# for variables with > 1 arg 4 years ago
Dimitar Dobrev 5e328da9e7 Fix C# layouts for classes with nameless unions 4 years ago
Dimitar Dobrev 5a21a7facd Generate valid C# for copy ctors with extra args 4 years ago
Dimitar Dobrev 50cba5552c Generate valid C# for destructors of templates with dependent fields 4 years ago
Dimitar Dobrev 09190268bc Generate valid C# for internal fields of type external specialization 4 years ago
Dimitar Dobrev c8c415b977 Generate valid C# for static object-typed fields 4 years ago
Dimitar Dobrev 2da9e49fe8 Instantiate specialized classes nested in templates 4 years ago
Dimitar Dobrev f97ad43ce4 Generate valid C# for base types with public fields of const char* 4 years ago
Dimitar Dobrev 42f38ec99e Generate valid C# for constants in namespaceless modules 4 years ago
Dimitar Dobrev 50feab050f Free returned by value instances, not object ones 4 years ago
Dimitar Dobrev 2fdd0822d2 Generate valid C# for setters returning Booleans 4 years ago
Dimitar Dobrev 8803ede83d Place returns as needed without an extra block 4 years ago
Dimitar Dobrev 6a0bdc1ba6 Delete the C++ copy when returning by value (#1623) 4 years ago
Albert Szilvasy 24b02e4d86
Fix incorrect dtor call for non-owned instances (#1615) 4 years ago
Albert Szilvasy a178108c06
Fix for Visual Studio 2019 16.10 (#1614) 4 years ago