739 Commits (6d2c0eaed857ce7e1de5b57e0f8d4220ebf70b1a)

Author SHA1 Message Date
triton c0c675b4c0 Check for not processed or explicitly ignored functions instead of just ignored, since ignored also checks for IsGenerated which is incorrect in this instance (eg. we dont want to generate wrapper methods for getters, but we still need their internal declaration for properties). 13 years ago
triton 53bbc8c04b Use Helpers.SafeIdentifier when sending parameters to marshaling to deal with invalid identifiers. 13 years ago
triton 0895429e65 When generating the setter method of a property, use the first method parameter type as the type for the setter. 13 years ago
triton 556ee78ac7 Collect the get/set methods used in properties so that we generate the needed internal function declarations. 13 years ago
triton 5dce147d77 Refactored the internal function generation code to collect all the declarations first and only then generate the needed functions. We also store them in a set to deal with duplicated entries. 13 years ago
triton eaa833bd17 Respect the type map information when checking for ignored types. 13 years ago
triton ee86be7562 Added support for events to CheckIgnoredDecls pass. 13 years ago
triton 6f37c3cdbe Added support for variables to CheckIgnoredDecls pass. 13 years ago
triton 6b5f218258 Use the previously declared local variable. 13 years ago
triton bed7b4d8b7 Changed events parameters to be actual parameters rather than just types. 13 years ago
triton e2fffddadf Changed function/method return types to be qualified types. 13 years ago
triton d73b631115 Fixed the TypeCompletionChecker pass to not walk recursively through all the types as that can lead to some wrong ignore behavior. 13 years ago
triton d27ec5aa1c Desugar the pointee type when checking for primitive types in the marshaler. 13 years ago
triton f26018db87 Fixed CheckOperatorsOverloads pass to work correctly for non C#-supported operator overloads. 13 years ago
triton 2301f4c7a9 Improved support for arrays in the marshaler. 13 years ago
triton 6759ec6754 Added better support for out parameters in the marshaler. 13 years ago
triton 4393c32f9b Set the new namespace of the fields when moving the fields between classes. 13 years ago
triton 001348d26d Remove the shared library extension when printing it in DllImport declarations. 13 years ago
triton a223bb3311 Stop using fixed pointers and treating the managed and native layouts as equivalent and use the To/From marshaling methods as its more safe. 13 years ago
triton f9accf226b Call the default constructors for value types so all fields are initialized. 13 years ago
triton b4e66d578a Formatting fixes. 13 years ago
triton 5077adb8c9 Added better support for pure virtual functions. 13 years ago
triton df4e435dd0 Added better support for non-C# supported operator overloads. 13 years ago
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