455 Commits (9880ff97996746985f452eea3320e81eeb3a1031)

Author SHA1 Message Date
Dimitar Dobrev 9880ff9799 Ported the C# generator to Roslyn. 10 years ago
Dimitar Dobrev f7b4d6ce83 Fixed the wrapping of operators for non-equality to handle null. 10 years ago
Dimitar Dobrev 477dd914cb Fixed setters of indexers when the key is type-mapped. 10 years ago
Dimitar Dobrev 1c52e67bb8 Fixed the wrapping of indexers returning value types. 10 years ago
Dimitar Dobrev a18479e1db Generated valid code for wrapping char arrays. 10 years ago
Dimitar Dobrev 5dde771d77 Removed a redundant field in the generated code. 10 years ago
Dimitar Dobrev c2a569e24d Only patched the v-table entries for non-dtors in user-derived classes. 10 years ago
Dimitar Dobrev 2885200732 Changed the native ctor to only patch the v-table entry of the virtual dtor, if any. 10 years ago
Dimitar Dobrev 8ebefa1f37 Added support for call expressions in default args. 10 years ago
Dimitar Dobrev 8a68d2d16c Fixed the generation of overrides of virtuals from secondary bases. 10 years ago
Dimitar Dobrev 53074cca58 Simplified the fix for calling the dtor of an abstract type with MinGW. 10 years ago
Dimitar Dobrev e4a40d0eed Revert "Fixed a crash when calling the dtor of an abstract type with MinGW." 10 years ago
Dimitar Dobrev 176262c700 Clarified the handling of dtor calls when abstract classes are involved. 10 years ago
Dimitar Dobrev 67e6e1204c Fixed a crash when calling the dtor of an abstract type with MinGW. 10 years ago
Dimitar Dobrev 05a44565bd Ensured a virtual dtor is called even if the base dtor is not virtual. 10 years ago
Dimitar Dobrev fbb2f941c4 Based on Abhinav Tripathi's work: extracted delegates in order to reuse them. 10 years ago
Dimitar Dobrev 0f8474893c Removed 3 redundant fields from the C# generator. 10 years ago
Dimitar Dobrev 3cb44dcef0 Split the creation of internal parameters from their string representation. 10 years ago
Dimitar Dobrev 0950b869a1 Fixed the offsets of fields when using multiple inheritance. 10 years ago
Dimitar Dobrev 6380e5d7ea Called Marshal.FreeHGlobal only if the instance was created by Marshal.AllocHGlobal. 10 years ago
Dimitar Dobrev 6f8c942b0a Adjusted pointers when calling functions from secondary or non-dynamic bases. 10 years ago
Dimitar Dobrev 7d66303ed1 Extracted a constant and deleted a no longer used method. 10 years ago
Dimitar Dobrev 81e6ba5ea8 Ensured managed v-tables remain with no empty entries. 10 years ago
Dimitar Dobrev 324e241c25 Fixed the internal abstract impls with default params of a pointer type. 10 years ago
Dimitar Dobrev 54e8a16fd1 Reverted the representation of Booleans as managed Booleans except in internal structs. 10 years ago
Dimitar Dobrev a20e3aca91 Properly set virtual tables up in the internal ctor by pointer. 10 years ago
Dimitar Dobrev 287ad2394d Properly printed complex comments. 10 years ago
Dimitar Dobrev 4cc60bed2a Fixed the pass for multiple inheritance to keep original functions. 10 years ago
Dimitar Dobrev 912248b5da Skipped patching of v-tables for objects not put in the native-managed map. 10 years ago
Dimitar Dobrev 87845ad51d Fixed a regression with abstract types with the same property as a base type. 10 years ago
Dimitar Dobrev b9e3efbf0c Removed the option for copy ctors and prevented usage of ignored ones. 10 years ago
Dimitar Dobrev bb59ca17fb Fixed a crash when a C++ ctor indirectly calls a virtual function on the object being constructed. 10 years ago
Dimitar Dobrev 55bc99bc3f Fixed a bug when overriding a function located in a dependency. 10 years ago
Dimitar Dobrev 62a0857613 Copied all entries to the patched Itanium v-table. 10 years ago
Dimitar Dobrev 784a939c66 Ensured generated overridden properties are as simple as possible. 10 years ago
Dimitar Dobrev dcb70b6ad0 Removed the now useless internal declarations for virtual non-operators. 10 years ago
Dimitar Dobrev 4e981a80e6 Fixed a bug when wrapping virtual properties overridden in indirect derived types. 10 years ago
Dimitar Dobrev dc95c8d8c8 Fixed the bodies of functions overriding indirect virtuals. 10 years ago
Dimitar Dobrev b15735d539 Generated GetHashCode in the C# front-end. 10 years ago
Dimitar Dobrev 4584ae7485 Fixed warnings in the generated code by properly using "new". 10 years ago
Dimitar Dobrev fa0e66687d Fixed abstract implementations and bodies of overrides to properly handle abstract overrides. 10 years ago
Dimitar Dobrev ae805eca31 Simplified overrides by just calling the base - all goes through the v-table anyway. 10 years ago
Dimitar Dobrev ff76962bf9 Fixed a potential naming conflict. 10 years ago
Dimitar Dobrev 1b5de25f8c Removed implementations for ignored abstract types. 10 years ago
triton 8a510e4ac9 Workaround abstract implementations being generated even if there's no valid base class. 10 years ago
triton d06c42129f Fixed GenerateClassFields to only process actual base classes. 10 years ago
Dimitar Dobrev f848f62180 Some refactoring to remove redundant members and casts. 10 years ago
Dimitar Dobrev 80643e0457 Added support for parameters with type a reference to a fixed-size array. 10 years ago
Dimitar Dobrev 5dca339ff2 Forbid the disposal of unowned objects and simplified the generated code. 10 years ago
Dimitar Dobrev d769a81ade Called virtual destructors through the virtual table. 10 years ago