1117 Commits (652c6e1011554d25da154e93c53cebf5337f89cc)
 

Author SHA1 Message Date
triton bffeaad8d9 Added better support for static methods in the C++/CLI header backend. 13 years ago
triton 6152e151c0 Rename the Bridge project to CxxBridge. 13 years ago
triton 86fccd12fe Added a pass to convert functions to static methods. 13 years ago
triton c64efe7091 Added a pass to convert functions to instance methods. 13 years ago
triton 6faf2af11a Added a pass to resolve incomplete declaration references. 13 years ago
triton f965caa221 Added a pass to check for duplicated declaration names. 13 years ago
triton 847b603161 Added a pass to clean up invalid declaration names. 13 years ago
triton 8b449cc341 Move the renaming passes to the Passes folder. 13 years ago
triton c4181f39a8 Remove the Preprocess pass since its functionality is being split up into smaller individual passes. 13 years ago
triton d2ebc48068 Change the CodeGenerator and Program class to public since the Generator can now be used as a library. 13 years ago
triton 08f95fc509 Do not create a class declaration if one is not found. 13 years ago
triton 52060cb7e7 Methods can now store what kind of conversion they need. 13 years ago
triton 816d90c99c Parameters can now store what type of conversion they need. 13 years ago
triton c97caea03d Change properties to inherit from declarations. 13 years ago
triton 7812eb8a09 Added IAstVisited interface and use it in AstVisitor. 13 years ago
triton 06c79475f9 Moved Pass.cs to the Passes folder. 13 years ago
triton d3e588f456 Added enum to keep different type and declaration conversion kinds. 13 years ago
triton e8804b7f63 Added an helper transform to set the name of a function. 13 years ago
triton 2e8fbe7452 Pass the library to the pass build and pass it to each added pass. 13 years ago
triton 6cd81b80de Added an helper method to find a complete class. 13 years ago
triton 019a840347 Use the enumerable version of FindFunction in the IgnoreFunctionWithName helper. 13 years ago
triton b48a2c21f1 Switch declaration find helper methods to return enumerables. 13 years ago
triton c957cdf9ca Change FindFunction to return an enumeration of all functions and use Linq to do the query. 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
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 8cbb2918c9 Added an implicit string operator conversion to the text generator. 13 years ago
triton 47012db6be Converted CLIMarshal.cs to the new text generator class. 13 years ago
triton 0ec068afbf Added helper class to generate text. 13 years ago
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