689 Commits (b1afea2251982c19f19fb5212c7eff6a42e7bd21)

Author SHA1 Message Date
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
marcos henrich b3d42185ba Declare base type fields before value type fields 13 years ago
triton 6071eddee9 Fixed value class marshaling code to supported nested types. 13 years ago
triton 6f7c38e890 Removed obsolete code. 13 years ago
triton 595e42b880 Added native to managed marshaling of function pointers. 13 years ago
triton 74a7b5bd37 Fixed marshaling of pointer to primitive types. 13 years ago
triton ac7b50bbf9 Added better generation of field properties. 13 years ago
triton f75f6f2f60 Stubbed out generation of static variables. 13 years ago
triton c02791f46d Use the CheckIgnoreField to check if a field is ignored. 13 years ago
triton dfb611d323 Bind all pointers to primitives as IntPtr, and not just pointers to void or unsigned chars. 13 years ago
triton 285fafa513 Ignore non-public fields in the generator. 13 years ago
triton 9f029047ad Added parsing, AST and visitor stubs support for (class static) variables. 13 years ago
triton 0b5f153edc Do not try to do struct marshaling for ignored fields. 13 years ago
triton cf4b502430 Use a sorted set for forward references to make the output more deterministic between runs. 13 years ago
triton be63deeb97 We now keep track of the namespaces where type references where found so we can generate forward references only in the containing namespaces. 13 years ago
triton b4ed2653a8 Yet another fix for qualified names when generating method/function calls. 13 years ago
triton d8de32b177 Pass the current type when calling type maps. 13 years ago
triton b78af2d521 Fixed the declaration qualified name printing to take into account library namespaces. 13 years ago
triton 48f401495a Pass the driver (options) to CLITypePrinter since we need it for declaration name printing. 13 years ago
triton f1eb07267f Added an option and support for outputting the needed string interop includes. 13 years ago
triton bd11a6fcae Simplify some code. 13 years ago
triton 4b5bf60c06 Added preliminary support for methods in the C# generator. 13 years ago
triton 689fd2332f Added better support for namespaces in the C# generator. 13 years ago
triton 6b711dc205 Added support for the GenerateLibraryNamespace option in the C# generator. 13 years ago