65 Commits (06ab4864e25e09295f04e4cdfd308fee9bade37e)

Author SHA1 Message Date
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
marcos henrich 10b4cde907 Added support to specify with TypeMaps, required includes and forward references of generic types 12 years ago
triton ef7cd8ea47 Added support for IsOverride in the generators. 12 years ago
triton 2e97311423 Reference classes now implement the ICppInstance interface. 12 years ago
triton acac3fc00d Re-work handling of enum constants fixing signedness and formatting issues. 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 300b8508a0 Use the AST utils methods to check for ignored declarations. 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 55b05ecff9 Added missing arguments of CLI event raise 12 years ago
triton bed7b4d8b7 Changed events parameters to be actual parameters rather than just types. 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 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 128750df4c Rework the C# type printer to return more information than just a string (CSharpTypePrinterResult). 12 years ago
triton cc800cb4a6 Whitespace fixes. 12 years ago
triton 91d32df4e7 TypePrinterContext is now an abstract class and created a new CLITypePrinterContext class for the CLI backend. 12 years ago
triton 1b2b428e22 Extract native field generation logic into its own method. 12 years ago
marcos henrich e41f2ad5e7 Added static variables correct code generation 12 years ago
triton eaa2fe3abe Added preliminary support for generation of function templates (disabled by default for now). 12 years ago
triton 2e4419584b Extract parameter list generation into its own method. 12 years ago
marcos henrich b3d42185ba Declare base type fields before value type fields 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 c02791f46d Use the CheckIgnoreField to check if a field is ignored. 12 years ago
triton cf4b502430 Use a sorted set for forward references to make the output more deterministic between runs. 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 b208d7b588 Rework the CLI generator to actually handle (nested) namespaces propertly. 13 years ago
triton d94c930b36 Rework forward references to keep track of what declaration they came from. This allows proper processing per namespace. 13 years ago
triton 3f3b9f4aa3 Renamed the translation unit property to follow conventions. 13 years ago
triton b29f084c3f Fixed typo in class name. 13 years ago
triton cf6d27b36f Added better include support. 13 years ago
triton 835a9e251a Rename a variable. 13 years ago
triton 4ffff56fcf Use a qualified identifier to reference base classes. 13 years ago
triton a69054c0bb Use sorted sets when generating headers so we can have a deterministic output. 13 years ago
triton 657300c2ea Remove unused library property on type printers. 13 years ago
triton d9789418ab Added event support. 13 years ago
triton 3d1612f747 Refactored the parameter type printing code to be more re-usable. 13 years ago
triton 2564730771 Big rework of the type system to preserve the qualifiers on types. 13 years ago
triton 094fc9c594 Do not create a new native pointer property if the base class already provides one. 13 years ago
triton c0fd74f7aa Added much better support for base classes. 13 years ago
triton 95fc7b1781 Do not try to call the base constructor of a value type. 13 years ago
triton 8d7dc79ead Process base class references as forward references. 13 years ago
triton 2cd35daa5e Update the C++/CLI templates to the new driver. 13 years ago
triton 7b2dc65a75 Text templates now have an abstract method to generate their text. 13 years ago
triton 34eeb8e052 Renamed Options to DriverOptions. 13 years ago
triton ce4de80e10 Added an interface to represent type printing. 13 years ago