596 Commits (4ef7f4330dfb6864330baebb4dba169ad30fb154)

Author SHA1 Message Date
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 93b7642920 Pass the class argument when marshaling methods. 13 years ago
triton 1174f4727d Remove value restriction in handling of class pointers marshals. 13 years ago
triton 094fc9c594 Do not create a new native pointer property if the base class already provides one. 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 7b4a544407 Added marshaling of native to managed when constructing structs from native objects. 13 years ago
triton cc1eb14fcc Cleaned up the constructor generation logic. 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 6f71abc99f Only ignore constructors with zero parameters (which might not be the default). 13 years ago
triton 901c0a6832 Extract the function parameter marshal logic into its own method. 13 years ago
triton c0fd74f7aa Added much better support for base classes. 13 years ago
triton 5a7d9b3fe5 Use the new type reference class in unit in the CLI generator. 13 years ago
triton 95fc7b1781 Do not try to call the base constructor of a value type. 13 years ago
triton 8d7dc79ead Process base class references as forward references. 13 years ago
triton 014a084039 Added the new C# backend (still a work-in-progress). 13 years ago
triton f2c86a509a Fixed the 64-bit primitive support in CLI type printing. 13 years ago
triton 4072a2a8bb Added an IMarshalPrinter interface. 13 years ago
triton 2cd35daa5e Update the C++/CLI templates to the new driver. 13 years ago
triton 7b2dc65a75 Text templates now have an abstract method to generate their text. 13 years ago
triton 7247d039d0 Extract the generic text generating helper code into its own class. 13 years ago
triton af5d2b2584 Remove the old C# backend templates. 13 years ago
triton 04fa54d077 Move CLIGenerator to its own file. 13 years ago
triton 0be133da70 Extract some generator logic into the driver. 13 years ago
triton 34eeb8e052 Renamed Options to DriverOptions. 13 years ago
triton daaa91acfa Implement missing visitor methods. 13 years ago
triton 24d3fee304 Clean up unneeded usings. 13 years ago
triton ce4de80e10 Added an interface to represent type printing. 13 years ago
triton 0c40927ab8 Rename TypeDatabase to TypeMapDatabase and move its initialization to the ctor. 13 years ago
triton c9440a935c Moved the CLITextTemplate class to its own file. 13 years ago
triton 0302622b00 Remove dependency on the Generator class by explicitly passing the needed services. 13 years ago
triton 5d1f9a49c4 Extract the CLIForwardRefeferencePrinter class into its own file. 13 years ago
triton 0b2de09b16 Extract the CLITypePrinter class into its own file. 13 years ago
triton 2923a262a3 Fixed extra diffs added by the rebasing proccess. 13 years ago
Tarmo Pikaro f9dc3a61c7 Add _wrapper suffix to autogenerated files, so would not conflict with normal headers/sources. 13 years ago
Tarmo Pikaro d4e80fe566 Make -a command line optional, fix #include's, disable warnings. 13 years ago
triton e266f3bc71 Update to the new conversion kinds names. 13 years ago
triton 6be6bca2d7 Simplify the code by using a single WriteLine call. 13 years ago
triton f426f6af2f Pass the parameter information to the marshal context so that we can correctly treat function conversions. 13 years ago
triton a29fc42602 Throw an exception when we cannot marshal an argument. 13 years ago
triton 659d2dd1d5 Use a conditional operator to make the code simpler to read. 13 years ago
triton f73213e73e Use the complete version of the declaration when generating forward references in the CLI source files. 13 years ago
triton 11bc8fac75 Do not add a new line after the first include when generating CLI source files. 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 bffeaad8d9 Added better support for static methods in the C++/CLI header backend. 13 years ago
triton 2c3596ce8b Extract a couple of methods in CLIHeadersTemplate.cs to make the code more readable. 13 years ago
triton 462a78c5fc Refactored the generation of method parameters in its own method. 13 years ago