1520 Commits (f09f95d7a40cf0890fa48a133547678862147576)

Author SHA1 Message Date
triton cc800cb4a6 Whitespace fixes. 13 years ago
triton e280de3d68 Generate the SupportBefore text template when marshaling value type fields. 13 years ago
triton f775b8abce Fixed the generation of typedefs in the C# backend. 13 years ago
triton abb12aedc0 Use a safe identifier when generating variable names. 13 years ago
triton c3bf485502 Use a safe identifier when generating parameter names. 13 years ago
triton dc26493381 Value type generation fixes. 13 years ago
triton a14338a8c9 Added much improved support for operator overloading in the C# backend. 13 years ago
triton e5b8a9aa56 Extract the logic to generate identifiers of functions/methods to GetFunctionIdentifier. 13 years ago
triton f5d0bed42f Only use new keyword when we have previously defined an Internal struct in the same hierarchy. 13 years ago
triton 5bb2f23a02 Fixed the name of the class that holds the static functions of a translation unit to match the CLI backend. 13 years ago
triton 7998b0f8c0 Bunch of fixes to the new line generation. 13 years ago
triton 136582fc6b Improve the generation of the Dispose() pattern. 13 years ago
triton 866628f955 Extract the native constructor generation code to its own method. 13 years ago
triton ea04464ef7 Check for incomplete classes when generating classes in the C# backend. 13 years ago
triton dc4d509cc2 Use the OutputNamespace property for generating the top-level namespace. 13 years ago
triton 5edb0433c9 Remove not needed namespace using. 13 years ago
triton 129bc1b992 Rename the GenerateStart to GenerateHeader. 13 years ago
triton 6a70f6ad31 Pull the identifier helper methods into an helpers class. 13 years ago
triton df93d67ecb Pass a valid CSharpTypePrinterContext when calling type maps in the C# backend. 13 years ago
triton 4a6f3c7dfa Added an option to generate partial classes in the C# backend. 13 years ago
triton a28eeaaf0d Added a massively improved C# backend that is based on the binding logic of the CLI backend. 13 years ago
triton 163082f13e Implemented managed to native marshaling of template parameter types. 13 years ago
triton 267c2ac7c3 Added support for marshaling of wide char in addition to regular chars. 13 years ago
triton 6f7e7908e8 Added proper wrapping of value type method calls in the CLI backend. 13 years ago
triton 6e61c9393c Wrapped long lines. 13 years ago
triton 91d32df4e7 TypePrinterContext is now an abstract class and created a new CLITypePrinterContext class for the CLI backend. 13 years ago
triton 6ad3cb59f6 Move helper ignore checker methods to Template.cs so they can be used by different generators. 13 years ago
triton a9392afa50 Extract the MarshalContext and MarshalPrinter classes into their own file. 13 years ago
triton 1b2b428e22 Extract native field generation logic into its own method. 13 years ago
marcos henrich e41f2ad5e7 Added static variables correct code generation 13 years ago
marcos henrich 4b30434e63 Replaced ParameterUsage.Ref by ParameterUsage.InOut 13 years ago
marcos henrich 40954f202b Added code generation support to out parameters 13 years ago
marcos henrich 25a0302e78 Added prefix "&" for variables storing references returned by functions 13 years ago
marcos henrich bf317daa6d Added missing SupportBefore(s) 13 years ago
marcos henrich ebccc0ac97 Removed MarshalContext.SupportAfter 13 years ago
marcos henrich 0b6e7c9c80 Add support to ignore value class fields 13 years ago
marcos henrich 7273145e69 Serializes generated file hashes so files are only overwrite on change. 13 years ago
triton eaa2fe3abe Added preliminary support for generation of function templates (disabled by default for now). 13 years ago
triton f718043855 Added an helper function to get a template parameter list. 13 years ago
triton 54b0504f67 Added a new type printer context concept to support generation of different type names in different contexts. 13 years ago
triton 086f1d2cec Check for ignored variables before generation. 13 years ago
triton af7b578fa5 Check for ignored events before generation. 13 years ago
triton 2e4419584b Extract parameter list generation into its own method. 13 years ago
marcos henrich a4d066878c Pushed driver into MarshalContext 13 years ago
marcos henrich a388d96b28 Context.SupportBefore and Context.SupportAfter are not printed with a newline at the end anymore 13 years ago
marcos henrich 7d8869d889 Refactored marshal printers, marshal context 13 years ago
marcos henrich 515e1ed4a0 Checks if pointer fields are initialized before getting their native pointer 13 years ago
marcos henrich 06cc6ace39 Added to value type constructors, native value type initialization and copy from native fields to managed fields. 13 years ago
marcos henrich 62fcb0696e Recursive struct fields marshaling 13 years ago
marcos henrich 874ea01b0e Recursive Marshaling of value class fields 13 years ago