91 Commits (c490d25e74ad56fe888e303c863ae78dac615e73)

Author SHA1 Message Date
triton c490d25e74 Reworked property handling to check if each property getter/setter can be generated. 12 years ago
triton 2b3a8f79e4 Fixed the documentation comments support in the generators to use the new comment APIs. 12 years ago
marcos henrich a45dbc7655 Fix template function generation. Return type should be created in TypePrinter. 12 years ago
marcos henrich feef6ee80d Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField from recent commits. 12 years ago
marcos henrich 777de80c3b Resolved ambiguous type Type. 12 years ago
marcos henrich ca569eb334 Better template function generation, less manual fixes are needed after generation. 12 years ago
marcos henrich 61986172e7 CLIHeaderTemplate an CLISourcesTemplate now take care of properties with only a getter or s setter, and properties using fields that for now always have a getter and a setter. 12 years ago
marcos henrich 06ab4864e2 Added TypeReferenceCollector used for include and forward reference printing. TypeMaps are now able to add includes and forward references. Record system allows more complex situations where you need a declaration's origin type/declaration. 12 years ago
triton 2e97311423 Reference classes now implement the ICppInstance interface. 12 years ago
triton 815b9dcf37 Output the runtime helper in sources instead of headers. 12 years ago
triton b9e57dba78 Re-write the blocks generator again (thanks to esdrubal for helping me with the new design). 12 years ago
triton 0a7656e257 Fix the build. 12 years ago
triton 6308cf4c3c Added a new templating system based on typed "text blocks", allowing a lot more customization after the initial text is generated. 12 years ago
triton ee1bc28879 Use the output namespace instead of the library name when generating function names signatures. 12 years ago
triton c8ce6ad245 Added some documentation to some classes. 12 years ago
triton 20b0b76421 Remove the GenerateStart and GenerateAfterNamespaces methods from the ILibrary interface and replace them with delegates on each generator. 12 years ago
marcos henrich 3310afee6e Fixed generated CLI source code for native functions and native static methods 12 years ago
marcos henrich 7a9c1d19ba Fixed constructor CLI calls, ::ClassName::ClassName() is now ::ClassName() 12 years ago
triton bed7b4d8b7 Changed events parameters to be actual parameters rather than just types. 12 years ago
marcos henrich 2aca94d9f9 Using Unix path separator 12 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. 12 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. 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 e280de3d68 Generate the SupportBefore text template when marshaling value type fields. 12 years ago
triton 6f7e7908e8 Added proper wrapping of value type method calls in the CLI backend. 12 years ago
triton 6e61c9393c Wrapped long lines. 12 years ago
triton 91d32df4e7 TypePrinterContext is now an abstract class and created a new CLITypePrinterContext class for the CLI backend. 12 years ago
marcos henrich e41f2ad5e7 Added static variables correct code generation 12 years ago
marcos henrich 40954f202b Added code generation support to out parameters 12 years ago
marcos henrich 25a0302e78 Added prefix "&" for variables storing references returned by functions 12 years ago
marcos henrich bf317daa6d Added missing SupportBefore(s) 12 years ago
marcos henrich ebccc0ac97 Removed MarshalContext.SupportAfter 12 years ago
triton eaa2fe3abe Added preliminary support for generation of function templates (disabled by default for now). 12 years ago
triton 086f1d2cec Check for ignored variables before generation. 12 years ago
triton af7b578fa5 Check for ignored events before generation. 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 06cc6ace39 Added to value type constructors, native value type initialization and copy from native fields to managed fields. 12 years ago
marcos henrich 62fcb0696e Recursive struct fields marshaling 12 years ago
triton ac7b50bbf9 Added better generation of field properties. 12 years ago
triton f75f6f2f60 Stubbed out generation of static variables. 12 years ago
triton 0b5f153edc Do not try to do struct marshaling for ignored fields. 12 years ago
triton be63deeb97 We now keep track of the namespaces where type references where found so we can generate forward references only in the containing namespaces. 12 years ago
triton b4ed2653a8 Yet another fix for qualified names when generating method/function calls. 12 years ago
triton 48f401495a Pass the driver (options) to CLITypePrinter since we need it for declaration name printing. 12 years ago
triton f1eb07267f Added an option and support for outputting the needed string interop includes. 12 years ago
triton c12fa4478c Fixed the generation of calls to qualified functions/methods. 12 years ago
triton 05ecccdbb9 Use the fully qualified name for base classes. 12 years ago