48 Commits (570c569217cd906fcd1dcbd22658fd56f334b622)

Author SHA1 Message Date
Joao Matos 570c569217 Add some helper class hierarchy methods. 5 years ago
Joao Matos 503aad6c7a Fix code to use BaseClass property instead of first base. 5 years ago
Dimitar Dobrev 0fd4307b81 Generate C++ for constructors of abstract types 5 years ago
josetr 051ebb82b3
Remove `Layout.GetSize()` method as it's no longer relevant (#1474) 5 years ago
Dimitar Dobrev 65b17fc958 Optimize calls to base getters in properties 6 years ago
Dimitar Dobrev 499ecc3b89 Simplify searching for base properties 6 years ago
Dimitar Dobrev d90d3283e4 Generate with no hacks correctly sized layouts 6 years ago
Joao Matos 8bf27c43e5 Skip ignored bases in `ClassExtensions.GetBaseProperty`. 7 years ago
Dimitar Dobrev 8427ff8e92 Optimized the walking of the managed AST. 7 years ago
Dimitar Dobrev ae9eede6f1 Fixed a crash when a constructor takes a template or specialisation. 8 years ago
Dimitar Dobrev fceb204a98 Fixed the generated C# for members of types nested in templates. 8 years ago
Joao Matos 39749ee0b7 Improve get base method and property methods to work with generalized declarations. 8 years ago
Dimitar Dobrev 5ca93458a2 Fixed the generation of internals for template specialisations. 8 years ago
Dimitar Dobrev d4d6354621 Removed unused internals from the generated C#. 8 years ago
Dimitar Dobrev e0816d9dc6 Fixed the generated C# for increment and decrement operators. 8 years ago
Dimitar Dobrev 2f2f13f352 Deleted an unused method. 8 years ago
Dimitar Dobrev d3e8cc51d5 Further simplified the getting of base methods from only the primary bases. 8 years ago
Dimitar Dobrev e0367c5601 Simplified the getting of base methods from only the primary bases. 8 years ago
Dimitar Dobrev 0c22c4deb7 Simplified the generation of C# for base calls. 8 years ago
Dimitar Dobrev e62651a954 Fixed the getting of base methods to include ignored ones. 8 years ago
Dimitar Dobrev 9c0f80f69d Bound the supported specialisations with generic syntax in the generated C#. (#880) 8 years ago
Joao Matos 2e2310a159 Remove some dead code from ClassExtensions.cs. 9 years ago
Dimitar Dobrev a4dfeb94be Moved the marking of supported template specialisations to a pass. 9 years ago
Dimitar Dobrev d419cb7156 Added all system fields to the internal layouts used in the C# generator. 9 years ago
Dimitar Dobrev 3cd024cccf Added marshalling of std::string to the C# end. 9 years ago
Dimitar Dobrev f8863f941b Extracted the logic for getting wrapped units. 9 years ago
Dimitar Dobrev 4ca34405dc Fixed the wrapping of virtual members when changing access in overrides. 9 years ago
Dimitar Dobrev 517b1a5ccd Saved the offsets per base in the layout of a record. 9 years ago
Dimitar Dobrev a5a17a493e Changed the comparer for parameter types to a singleton. 10 years ago
Dimitar Dobrev d3644dcf5d Fixed a crash with abstract overrides originating from secondary bases. 10 years ago
Dimitar Dobrev 8a68d2d16c Fixed the generation of overrides of virtuals from secondary bases. 10 years ago
Dimitar Dobrev 39a368894d Reformatted the extension methods for classes. 10 years ago
Dimitar Dobrev 6f8c942b0a Adjusted pointers when calling functions from secondary or non-dynamic bases. 10 years ago
Dimitar Dobrev 784a939c66 Ensured generated overridden properties are as simple as possible. 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 fa0e66687d Fixed abstract implementations and bodies of overrides to properly handle abstract overrides. 10 years ago
Dimitar Dobrev d769a81ade Called virtual destructors through the virtual table. 10 years ago
Dimitar Dobrev c8da628782 Fixed the renaming of overrides in a certain situation. 10 years ago
Dimitar Dobrev 8fd62e6294 Fixed a bug with removing the "override" modifier when overriding a member of a secondary base. 10 years ago
Dimitar Dobrev f09a49b353 Removed three hacks about method objects in v-tables. 10 years ago
Dimitar Dobrev 597922c1db Stopped at an ignored base when getting the root one. 10 years ago
Dimitar Dobrev 73e9455821 Put own (created in managed code) objects in the object map upon creation. 10 years ago
Dimitar Dobrev c7253b456b Fixed the assigment of structs with private fields. 11 years ago
Dimitar Dobrev 9e480dd364 Fixed the renaming pass to account for overloads of functions. 11 years ago
marcos henrich de764599fa Separated IsTagDecl into TryGetClass and TryGetEnum, added IsClass() and IsEnum(). 11 years ago
marcos henrich 3f96bdbfe3 Replaced declaration IgnoreFlags by GenerationKind. Added methods IsInternal and IsDeclared to declaration. Replaced IsGenerated = true by GeneratioKind = GeneratioKind.Internal. Deprecated Ignore, replace Ignore set by ExplicityIgnored, replace Ignore get by IsGenerated, IsInternal or IsDeclared. 11 years ago
Øystein Krog e0812abbd7 Move helper methods in Class out from class and into extension class ClassExtensions 12 years ago