817 Commits (068627e2f2b692f0e68d198df64338fb7ab7e8e1)

Author SHA1 Message Date
triton ef5dcc505f Generate helper constructors that take the native version of the class/struct. 13 years ago
triton 6d8af9776f Refactored the variable wrapping code to work with pointers. 13 years ago
triton 41b7085c0e Added better support for events. 13 years ago
triton 0c22de2949 Added better support for generating global/namespace functions. 13 years ago
triton 868515303b Refactored some function/method generator code to make it easier to re-use. 13 years ago
triton c6995fed90 Simplified the marshaling code by just calling generated methods to do the marshaling instead of doing full marshaling in each instance. 13 years ago
marcos henrich 3cce479a09 Changed CLITypePrinter to store a Driver instead of a Library 13 years ago
marcos henrich 2aca94d9f9 Using Unix path separator 13 years ago
marcos henrich 2570f4d391 Added missing using. 13 years ago
triton 2b7e8b9b90 Improved type maps for C++ string and vector standard library support. 13 years ago
triton a1920c627a Added better support for native printing of constant sized arrays as C# fixed buffers. 13 years ago
triton 416503e23e Handle native context classes correctly by printing its internal definition. 13 years ago
triton 656e5ecf80 Use a GetCSharpSignature instead of calling CSharpSignature directly to set common data like the context kind. 13 years ago
triton b49637df93 Cosmetic changes. 13 years ago
triton 705844046f Visit the declaration by using its visit method and not the generic VisitDeclaration. 13 years ago
triton 8c111d5c76 Fixed marshaling to work with the new unsafe pointers which simplified the code a lot. 13 years ago
triton 6010459bdc Changed GetOperatorIdentifier to be a static method. 13 years ago
triton d531e40e5f Added better wrapping for out parameters. 13 years ago
triton 501157f688 Remove unused method GenerateValueTypeConstructorCall. 13 years ago
triton 589306ec14 Removed a lot of complexity when wrapping of fields to use unsafe pointers and actually use the existing marshaling logic instead of replicating it with weird manual pointer arithmetic. 13 years ago
triton 4a222b0320 Renamed GeneratedOperator to GenerateOperator. 13 years ago
triton bf35ce0f04 Simplify GetFunctionNativeIdentifier. 13 years ago
triton b41d3cfb6e Remove one-line method GenerateStructMarshaling and inline its content where it was called. 13 years ago
triton 1467c086b6 Use GenerateClassFields to generate internal class fields instead of duplicating the logic. Fixes struct inheritance handling. 13 years ago
triton be8ffb358e Check for explicitly ignored declarations when checking for ignored types. 13 years ago
triton aed949e4dd Fixed the IgnoreHeadersWithName helper to be more robust by checking for patterns against the file path and include paths. 13 years ago
triton cb6f2c72ca When creating new fake methods from functions also initialize their mangled names. 13 years ago
triton b0d2757238 Fixed the CheckOperatorsOverloads pass to be more robust when handling declarations. 13 years ago
triton 383850437e Re-use the generator CSharpTypePrinter instance in CSharpTextTemplate. 13 years ago
triton b68fe99754 Moved the user passes to run before some built-in classes so that declarations added by the passes can still be verified and processed. 13 years ago
triton c83a87dbd4 Moved ignored declaration and type checking code from ResolveIncompleteDeclsPass to its own pass. 13 years ago
triton e57c435426 Fixed some incorrect behavior with nested types in the CheckAmbiguousOverloads pass by fixing GetFunctionOverloads to be dynamically dispatched instead of using some weird manual type checking. 13 years ago
triton 5037e8b6b0 Unify handling of pointers to primitive types. 13 years ago
triton 3a22b39ec0 Re-work the marshaler to make sure we visit the canonical Type and Decl overloads and do proper type map handling. 13 years ago
triton 392843cf9b Instead of failing to generate methods with not found symbols, use a fallback "SymbolNotFound" symbol which at least makes the generated wrappers compile. 13 years ago
triton 3da1199e3d Fixed generation of static methods by processing it right in the parser and generator. 13 years ago
triton ffb1725538 Use a fully-qualified name when generating class bases to fix name conflicts. 13 years ago
triton 6c2e73372e Process classes as declaration contexts too making sure we generate nested declarations like typedefs, enums and classes. 13 years ago
triton 74404222c2 Unify the namespace and declaration context handling. 13 years ago
triton e57e22e3b8 Wrap the Instance identifier name into its own property and change the code to use it. 13 years ago
triton 69cd09188f Implement type printing for template parameter substitution types. 13 years ago
triton 29baef2f82 Wrap pointer to primitives as IntPtr regardless of the type. 13 years ago
triton 4025689211 Use GetNestedQualifiedName to properly deal with nested declaration type names. 13 years ago
triton afe90def84 Remove useless out variables null initialization. 13 years ago
triton 1fd524e664 Remove unused using. 13 years ago
triton 96674f2cc4 When checking for ignored declarations: check the complete version of the declaration if there is one, use the type map if one is found, or ignore the declaration if it is not generated. 13 years ago
triton e0a6181287 Make sure we skip ignored overloads when checking for ambiguous overloads. 13 years ago
triton 31ce147308 Added a targets parameter to RemovePrefix to be able to only remove prefixes for some kinds of declarations. 13 years ago
triton 41e21fc3ab Since TranslationUnit is just a regular DeclarationContext we can now use VisitDeclarationContext instead of replicating the walking logic. This also makes sure we walk through every declaration, which we did not do before. 13 years ago
triton d3d7e1f2d6 Use the regular templates since classes are now regular declaration contexts and they do not have a separate container for FunctionTemplates. 13 years ago