1398 Commits (bbcf12550f39ba7cd47b930e1c24a195db9ed922)

Author SHA1 Message Date
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
triton 8f02c6a2dd Handle native to managed marshaling of pointers to primitive types. 13 years ago
triton 0d20a497c6 Moved class member to the top of the class. 13 years ago
triton 27a70dbbfe We now create an extra public constructor that takes an IntPtr. We do this because by default native types are not exported as public in MSVC C++/CLI and we need to be able to instantiate these objects. 13 years ago
triton 89f2cbdf74 Fixed processing of incomplete enums in CLI headers. 13 years ago
triton 7f7d774fdc Added an helper method to set the name of a class method. 13 years ago
triton 06c4ec1697 Fixed the transformation helpers to pass through every type that matches. This fixes wrong behavior in the case of same class being referenced in multiple translation units. 13 years ago
triton 721d507633 Enum declarations also need to be forward referenced. 13 years ago
triton 44154a879d Class reference types do not need a full include forward reference. 13 years ago
triton 3dd40b1d75 Walk through typedefs when checking for pointers to primitive types in CLITypePrinter. 13 years ago
triton c6dd10fc81 Prefer visiting complete class declarations if they are available. 13 years ago
triton 5a90ba7644 Added an handle to CLI arrays wrapping. 13 years ago
triton 6a44c0bde1 We need to collect all class declarations and not just value type classes. 13 years ago
triton 4d4d2c1865 Collect enums when checking for type references. Fixes undefined enums problems when referenced in value structs. 13 years ago
triton b8ebd27841 Added namespace walk support. 13 years ago
triton faded38014 Keep the declaration order of classes and sort them before processing. This helps with some referencing order problems in the generated code. 13 years ago
triton 3c0b6e5620 Changed the generator to get the AST of each header individually. This fixes some problems that the old way had related to keeping track of forward references. 13 years ago
triton dae633b89f Improved CLI value class marshaling. 13 years ago
triton da2030c25c Fixed marshaling of C++ references. 13 years ago
triton c72c1e1dd6 Stubbed out delegate visiting support. 13 years ago
triton 42e01edfaa Renamed variable to follow the conventions in the rest of the code. 13 years ago
triton d1bcc2f1f9 Removed unneeded using in CLI/CLIHeadersTemplate.cs. 13 years ago
triton 98e06af6f1 Update CLIMarshal.cs to the new type map database interface. 13 years ago
triton faa635f065 Added an helper method to check if a field is ignored. 13 years ago
triton 5ffb858f8f Switch CLITypePrinter to the new type map database interface. 13 years ago
triton b5566c8400 Changed the generator to receive a type map database instance. 13 years ago
triton a9249f43b8 Ignore all STL collections for now. 13 years ago
triton 9199f30475 Added marshaling of STL wide strings. 13 years ago
triton 0631c091f5 Added a new method to declare the header sources. 13 years ago
triton b069ce6b4b Much improved checking of type completion. 13 years ago
triton 4457afed6a Pass the type map database instance to TypeIgnoreChecker. 13 years ago
triton dbf927e73d Switch the type checkers to the AstVisitor interface. 13 years ago
triton 23e85aada7 Pass the type map database to the type checker. 13 years ago
triton 579313f9df Remove the base class for type checkers and replace with AstVisitor. 13 years ago
triton d421ce780f Clean up variable declaration. 13 years ago
triton f1ac9d7bc8 Propagate the type map database to the various generation steps. 13 years ago
triton a8ac2d8b76 Added a type map for C's variable argument list type "va_list". 13 years ago
triton f753596c2e Added an helper method to get the type map of a declaration. 13 years ago
triton 0f2e802925 Extract type map setup in another method to make the code clearer. 13 years ago
triton bd232b03ee Create a new interface for the type map database. This will be used later for mock testing. 13 years ago
triton ba2862bc8d Added a property so a type map can signal that the type is to be ignored. 13 years ago
triton a4cc8598fa Removed useless using. 13 years ago
triton ba1b811b90 Added default implementations for type map methods. 13 years ago
triton 8540e48bcf Improved the CLI type printing of typedef types. 13 years ago
triton 61a6811816 Improved the printing of CLI forward references. 13 years ago
triton 7cc8b8bad7 Removed some dead legacy code that is left from the C# module. 13 years ago
triton 5a8400ed22 Added generation of properties for fields of non value-type classes. 13 years ago
triton 861a979d35 Struct types also need to have a default constructor taking the native instance. 13 years ago
triton 865867586a Comment out and add a TODO for the handling of unions. 13 years ago