405 Commits (8c0c76ca596bf56d08b603649b399c36d3f9db9c)

Author SHA1 Message Date
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 383850437e Re-use the generator CSharpTypePrinter instance in CSharpTextTemplate. 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 1fd524e664 Remove unused using. 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
triton 80dd6b75c1 Fix whitespace inconsistency by needing a newline when generating functions. 13 years ago
triton 0f223f2852 Convert the GetFunctionOverloads return to a list to use IndexOf. 13 years ago
triton b32de20d65 Check if the class has a base class instead of just a base. 13 years ago
triton d1c9737d0c Search for mangled symbols for functions in addition to variables. 13 years ago
triton 8237110115 Remove the useless GeneratePInvokeMethod method. 13 years ago
triton 1be1972907 Added support for function-backed properties to the C# backends. 13 years ago
triton dd03761f6c Remove the WrapperSuffix option and replace with a more general GenerateName delegate that can be hooked up by the user to customize the output name of the generated files. 13 years ago
triton d37cca5ca1 Changed the return type of functions to be a qualified type. 13 years ago
triton 703190fe70 Fixed the wrapping of function pointers in C#. 13 years ago
triton a44901166c Check if class has a base class and not just a base. 13 years ago
triton b19057b71a C# type printing fixes. 13 years ago
triton 9e55816bfc Template type printing fixes. 13 years ago
triton d5bf0460c4 Keep track of dependent declarations and ignore them. 13 years ago
triton 9a2a0a5a5c Added better support for properties. 13 years ago
triton 6d2c342eed Added better support for substituted template parameter types. 13 years ago
triton 440ed5b92f Added better support for dependent name types. 13 years ago
triton c09e366c1e Added better support for injected class name types. 13 years ago
triton cc8f7cd1db Renamed Cxxi references to CppSharp. 13 years ago
triton 3912d4a5d9 Added improved support for C# marshaling of types. 13 years ago
triton 66a3127520 Fixed the support for static methods. 13 years ago
triton 7fb9e9438b Bunch of improvements and fixes in the generation of value types. 13 years ago
triton 74ae216826 Improvements to operator overload support. 13 years ago
triton 259aeb036d Deal correctly with base classes when generating native constructors. 13 years ago
triton 8941031c67 Use CheckIgnoreMethod to check for ignored constructors instead of duplicating logic. 13 years ago
triton d549a3b89d Remove unused code. 13 years ago
triton 383a4f73fe Fix the GetFieldLocation method to take a type printing context kind and fix the code to pass the correct kind in each instance where its called. 13 years ago
triton b690aa9326 Extract the C# class constructor generation code to its own method. 13 years ago
triton de800edda9 Bunch of fixes to the newline handling in the C# generator. 13 years ago
triton 128750df4c Rework the C# type printer to return more information than just a string (CSharpTypePrinterResult). 13 years ago
triton c430340c4c Extract the checking logic for const char strings in its own helper method. 13 years ago
triton 23ca4b2614 Added better support for wrapping of static variables. 13 years ago
triton eee2d233f0 Remove extra new line on C# class internals generation. 13 years ago