57 Commits (267c2ac7c3a38567ca5fc85644ff89fdde4f97b2)

Author SHA1 Message Date
triton 267c2ac7c3 Added support for marshaling of wide char in addition to regular chars. 12 years ago
triton 6f7e7908e8 Added proper wrapping of value type method calls in the CLI backend. 12 years ago
triton a9392afa50 Extract the MarshalContext and MarshalPrinter classes into their own file. 12 years ago
marcos henrich e41f2ad5e7 Added static variables correct code generation 12 years ago
marcos henrich 0b6e7c9c80 Add support to ignore value class fields 12 years ago
marcos henrich a4d066878c Pushed driver into MarshalContext 12 years ago
marcos henrich a388d96b28 Context.SupportBefore and Context.SupportAfter are not printed with a newline at the end anymore 12 years ago
marcos henrich 7d8869d889 Refactored marshal printers, marshal context 12 years ago
marcos henrich 515e1ed4a0 Checks if pointer fields are initialized before getting their native pointer 12 years ago
marcos henrich 874ea01b0e Recursive Marshaling of value class fields 12 years ago
triton 6071eddee9 Fixed value class marshaling code to supported nested types. 12 years ago
triton 6f7c38e890 Removed obsolete code. 12 years ago
triton 595e42b880 Added native to managed marshaling of function pointers. 12 years ago
triton 74a7b5bd37 Fixed marshaling of pointer to primitive types. 12 years ago
triton 9f029047ad Added parsing, AST and visitor stubs support for (class static) variables. 12 years ago
triton d8de32b177 Pass the current type when calling type maps. 12 years ago
triton 48f401495a Pass the driver (options) to CLITypePrinter since we need it for declaration name printing. 12 years ago
triton b208d7b588 Rework the CLI generator to actually handle (nested) namespaces propertly. 12 years ago
triton 5cb596eea8 Pass the driver to CLIMarshal so that we can the Options field for qualified names. 12 years ago
triton 6f3ed8db4a Improved marshaling of classes. 13 years ago
triton 36a377aa66 Improved marshaling of template specializations. 13 years ago
triton f014dcb727 Improved marshaling of arrays. 13 years ago
triton 415da3abcd Use the new type map APIs in CLI marshalers. 13 years ago
triton 27efb0875f Removed unused support text generator. 13 years ago
triton c833cf212f Added stubs for template parameter types. 13 years ago
triton bb4085fc5f Added support for events in the AST. 13 years ago
triton 2564730771 Big rework of the type system to preserve the qualifiers on types. 13 years ago
triton de8d3758a6 Fixed marshaling of reference parameters. 13 years ago
triton e891df479a Since now the native pointer of the wrapper class can be of a base class, we need to explicitly cast to the current type. 13 years ago
triton 1174f4727d Remove value restriction in handling of class pointers marshals. 13 years ago
triton f75d16456e Re-organize the class marshaling code a bit to make it easier to follow. 13 years ago
triton f7c2275b59 Extract the logic of managed to native marshaling of classes into methods. 13 years ago
triton efabb08943 Added native to managed marshaling of fields. 13 years ago
triton 508898ccc9 Small cleanup. 13 years ago
triton 4832d5d648 Walk through typedefs when checking for void pointers. 13 years ago
triton 4072a2a8bb Added an IMarshalPrinter interface. 13 years ago
triton daaa91acfa Implement missing visitor methods. 13 years ago
triton 24d3fee304 Clean up unneeded usings. 13 years ago
triton 0302622b00 Remove dependency on the Generator class by explicitly passing the needed services. 13 years ago
triton e266f3bc71 Update to the new conversion kinds names. 13 years ago
triton c2c7941187 Pass the TypeMapDatabase explicitly to CLIMarshalManagedToNativePrinter. 13 years ago
triton 7be2a4ef2b Added support for function to instance method conversions in the CLI generator. 13 years ago
triton 5f49a53636 Rework how the struct marshaling from managed to native is done. Now we marshal each field explicitly instead of assuming the struct is made of blittable types. 13 years ago
triton 3d8ea62e4e Added support for prefix text before the marshaled argument is passed to the wrapped native function. 13 years ago
triton 257a372573 Added support to generate text before and after the argument in CLIMarshal.cs. 13 years ago
triton 47012db6be Converted CLIMarshal.cs to the new text generator class. 13 years ago
triton 91ef36aad8 Add an explicitly dereference if trying to wrap class-based pointer types when doing class managed to native marshaling. 13 years ago
triton f28db2f5f1 Add an explicit cast when we have a typedef to a primitive type. This fixes some ambiguity cases when the compiler later performs overload resolution. 13 years ago
triton ffc96de8f9 Fixed the managed to native marshaling of pointers to primitive types by following typedefs and casting when necessary. 13 years ago
triton fe7beb5f08 Use the full qualified name for referring to the managed type constructor when doing native to managed marshaling. Use an explicit cast for the first argument. This fixes the case when the type being passed to the constructor is const. 13 years ago