96 Commits (de764599fa04277fdd5eea4ed83b7d9acabf7cc6)

Author SHA1 Message Date
marcos henrich de764599fa Separated IsTagDecl into TryGetClass and TryGetEnum, added IsClass() and IsEnum(). 11 years ago
marcos henrich 0300f45c1b Replaced usage of «IsGenerated with IsDeclared when handling with base classes and value types properties. 11 years ago
marcos henrich 3f96bdbfe3 Replaced declaration IgnoreFlags by GenerationKind. Added methods IsInternal and IsDeclared to declaration. Replaced IsGenerated = true by GeneratioKind = GeneratioKind.Internal. Deprecated Ignore, replace Ignore set by ExplicityIgnored, replace Ignore get by IsGenerated, IsInternal or IsDeclared. 11 years ago
Elias Holzer 3144976349 Removed unnecessary Desugar() calls when testing whether or not a type is primitive. 11 years ago
triton d68b7b3b56 Fixed code generation for enum pointers as parameters. 11 years ago
Elias Holzer 570f13112b Fixed issue with const pointer. 11 years ago
Elias Holzer d8b855bfe6 Fixed handling of primitive pointer types. 11 years ago
marcos henrich afde77e968 Refactored multiple similar foreach loops to a simpler version. 11 years ago
triton 5b15b27312 Fixed CLI marshaling to take typedefs into account when handling pointer to primitive types. 11 years ago
triton 08255907de Fixed C# and CLI backends to check for null values when marshaling classes. 11 years ago
Øystein Krog d3e963ff19 Move helper methods in Type out from class and into extension class TypeExtensions 11 years ago
Dimitar Dobrev 99849da1d1 Added preliminary support for char16 to avoid crashes because of null parameter types. 12 years ago
Dimitar Dobrev fe6378a88a Added an additional property to type maps indicating if they actually provide marshalling (useful if only copy constructors are replaced). 12 years ago
Dimitar Dobrev 478d475661 Wrapped pointers to primitives as such. 12 years ago
triton 3849c0e0c0 Fixed type maps processing bugs. 12 years ago
triton 37bccb446d Removed type map matching from VisitDeclaration. 12 years ago
triton 819df6a2a2 Fixed CLI generation with references to pointers types (added a test). 12 years ago
Dimitar Dobrev b47fa98c94 Fixed a regression when marshalling arrays. Migrated the C++/CLI back-end to property usage. 12 years ago
triton 62f81e16f1 Reworked pointer marshaling in C# and CLI. 12 years ago
triton b5e947881b Fixed the generation of 'ToInternal' to check for null only fields of a ref type. 12 years ago
triton c8b0f515b3 Fixed parsing and marshaling of dependent declarations. 12 years ago
triton 53a1763652 Fixed generation of incomplete types by walking through the complete declarations. 12 years ago
triton 0f8f0a83c4 Fixed generation of non-primitive/reference out/ref types. 12 years ago
triton 66ef3c55ff Reworked support for out parameters in both backends and added a test. 12 years ago
triton 0fcb5c0226 Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object. 12 years ago
triton 3771834bdd Fixed marshaling of function pointer typedefs in CLI generator. 12 years ago
triton 8bad119d7d Fixed marshaling of pointers to classes in CLI generator. 12 years ago
triton cf8eaa3a35 Optimized/fixed marshaling for fields as there is no need to create a copied instance of the native object. 12 years ago
triton aa0a78abf5 Fixed marshaling of function pointer typedefs in CLI generator. 12 years ago
triton 05c020f301 Fixed marshaling of pointers to classes in CLI generator. 12 years ago
triton 639fddb0bc Reworked C++/CLI pointer type printing. 12 years ago
triton 8c0c76ca59 Reworked operator overloading support. 12 years ago
Dimitar Dobrev 5208fafef7 Moved GeneratedIdentifier to the base Generator so that the former is available to all back-ends. 12 years ago
triton e29bc41a59 Fixed value returns of classes bound as reference types in CLI backend. 12 years ago
triton 0e7f53fb18 Use the scope resolution operator when referring to native names. 12 years ago
triton 68ddfbdd6f Move the AST project to the CppSharp.AST namespace. 12 years ago
triton e2fffddadf Changed function/method return types to be qualified types. 12 years ago
triton d37cca5ca1 Changed the return type of functions to be a qualified type. 12 years ago
triton cc8f7cd1db Renamed Cxxi references to CppSharp. 12 years ago
triton 5da498e3f1 Replace the walkTypedefs parameter with Desugar() as it is more clean. 12 years ago
triton 163082f13e Implemented managed to native marshaling of template parameter types. 12 years ago
triton 267c2ac7c3 Added support for marshaling of wide char in addition to regular chars. 12 years ago
triton 6f7e7908e8 Added proper wrapping of value type method calls in the CLI backend. 12 years ago
triton a9392afa50 Extract the MarshalContext and MarshalPrinter classes into their own file. 12 years ago
marcos henrich e41f2ad5e7 Added static variables correct code generation 12 years ago
marcos henrich 0b6e7c9c80 Add support to ignore value class fields 12 years ago
marcos henrich a4d066878c Pushed driver into MarshalContext 12 years ago
marcos henrich a388d96b28 Context.SupportBefore and Context.SupportAfter are not printed with a newline at the end anymore 12 years ago
marcos henrich 7d8869d889 Refactored marshal printers, marshal context 12 years ago
marcos henrich 515e1ed4a0 Checks if pointer fields are initialized before getting their native pointer 12 years ago