386 Commits (3800ccf996cea043a88d5781c19ef12a1bbaba0c)
 

Author SHA1 Message Date
triton 2d4f09f171 Improved the marshaling of value class method parameters. 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
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 ea114f8ba0 Added preliminary support for class template specialization in the bridge AST. 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 0c143f5b0c Added helper method to check and get primitive types out of pointer types. 13 years ago
triton dd8c3ea9c7 Added helper property to get the constructors of a class. 13 years ago
triton 48a96b4865 Cosmetic fix in Parser.cpp. 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 8b2facf759 Speed up parsing of the AST by skipping function bodies. 13 years ago
triton 724a5d4fcc Added very primitive support for variables in the AST. 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 953779d0ed Check if a function already exists before adding a new one. 13 years ago
triton ef23735d9b Removed some dead code from Parser.cpp. 13 years ago
triton df61ea6041 Classes now try to keep accurate track if they were complete / forward referenced at the time of referencing. 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 397ead6ee6 Added a field to keep a reference to the complete version of the declaration. 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