472 Commits (0d5c4539a23c4e7edf0fccd513969769d727f45e)

Author SHA1 Message Date
triton e5ba3ac401 Reworked C# type printing and marshaling to keep the root full type in the respective contexts. 12 years ago
triton ee3641338c Rework class fields generation in the C# backend to be simpler and behave correctly under more situations. 12 years ago
triton 3e505737d7 Rework the handling for functions that need hidden structure parameters. 12 years ago
triton 6814684072 Added virtual function overriding support to the C# backend. 12 years ago
triton f2999bafd0 Add the 'virtual' keyword in the C# generated method signatures. 12 years ago
triton 2b3a8f79e4 Fixed the documentation comments support in the generators to use the new comment APIs. 12 years ago
triton 7dacbce44d Check if all overloads actually exist before gathering them for internal function processing. 12 years ago
marcos henrich 90efc99083 CheckIgnoreField has only one parameter now 12 years ago
marcos henrich 57ce9d449d Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField. 12 years ago
triton f1f5723157 Use a constant displacement for block ids so they do not conflict with CLI ones. 12 years ago
triton cca70acea5 Skip implementation generation for proxy methods. 12 years ago
triton 5f4edce340 Extract field generation into its own method. 12 years ago
triton 80c987a1e6 Use an explicit cast instead of "as" since there should always be a namespace. 12 years ago
Bright Twin 7c19f5f7db Added global:: prefix to all System.IntPtr references in the C# code generator. 12 years ago
marcos henrich e168e84d6a Resolved ambiguity of System.Type and CppSharp.AST.Type 12 years ago
triton ef7cd8ea47 Added support for IsOverride in the generators. 12 years ago
triton acac3fc00d Re-work handling of enum constants fixing signedness and formatting issues. 12 years ago
triton f47dc5bb07 Convert the C# backend to the new blocks system. 12 years ago
triton 0307acadab Simplify library/symbols handling in the C# backend. 12 years ago
triton b9e57dba78 Re-write the blocks generator again (thanks to esdrubal for helping me with the new design). 12 years ago
triton 68ddfbdd6f Move the AST project to the CppSharp.AST namespace. 12 years ago
triton 02be3857ed Re-write code dealing with library symbol checking to respect the new symbol checking options. 12 years ago
triton 0a7656e257 Fix the build. 12 years ago
triton 6308cf4c3c Added a new templating system based on typed "text blocks", allowing a lot more customization after the initial text is generated. 12 years ago
triton 300b8508a0 Use the AST utils methods to check for ignored declarations. 12 years ago
Tom Spilman aff035be93 Removed unnessasary unsafe in extern methods. 12 years ago
triton c0c675b4c0 Check for not processed or explicitly ignored functions instead of just ignored, since ignored also checks for IsGenerated which is incorrect in this instance (eg. we dont want to generate wrapper methods for getters, but we still need their internal declaration for properties). 12 years ago
triton 53bbc8c04b Use Helpers.SafeIdentifier when sending parameters to marshaling to deal with invalid identifiers. 12 years ago
triton 0895429e65 When generating the setter method of a property, use the first method parameter type as the type for the setter. 12 years ago
triton 556ee78ac7 Collect the get/set methods used in properties so that we generate the needed internal function declarations. 12 years ago
triton 5dce147d77 Refactored the internal function generation code to collect all the declarations first and only then generate the needed functions. We also store them in a set to deal with duplicated entries. 12 years ago
triton bed7b4d8b7 Changed events parameters to be actual parameters rather than just types. 12 years ago
triton 001348d26d Remove the shared library extension when printing it in DllImport declarations. 12 years ago
triton a223bb3311 Stop using fixed pointers and treating the managed and native layouts as equivalent and use the To/From marshaling methods as its more safe. 12 years ago
triton f9accf226b Call the default constructors for value types so all fields are initialized. 12 years ago
triton b4e66d578a Formatting fixes. 12 years ago
triton 5077adb8c9 Added better support for pure virtual functions. 12 years ago
triton df4e435dd0 Added better support for non-C# supported operator overloads. 12 years ago
triton ef5dcc505f Generate helper constructors that take the native version of the class/struct. 12 years ago
triton 6d8af9776f Refactored the variable wrapping code to work with pointers. 12 years ago
triton 41b7085c0e Added better support for events. 12 years ago
triton 0c22de2949 Added better support for generating global/namespace functions. 12 years ago
triton 868515303b Refactored some function/method generator code to make it easier to re-use. 12 years ago
triton c6995fed90 Simplified the marshaling code by just calling generated methods to do the marshaling instead of doing full marshaling in each instance. 12 years ago
triton 6010459bdc Changed GetOperatorIdentifier to be a static method. 12 years ago
triton d531e40e5f Added better wrapping for out parameters. 12 years ago
triton 501157f688 Remove unused method GenerateValueTypeConstructorCall. 12 years ago
triton 589306ec14 Removed a lot of complexity when wrapping of fields to use unsafe pointers and actually use the existing marshaling logic instead of replicating it with weird manual pointer arithmetic. 12 years ago
triton 4a222b0320 Renamed GeneratedOperator to GenerateOperator. 12 years ago
triton bf35ce0f04 Simplify GetFunctionNativeIdentifier. 12 years ago