29 Commits (dbac9e36fa3cea626cca1f7e3bdc1229dfc5804d)

Author SHA1 Message Date
triton dbac9e36fa Fixed the generator to use blocks for templates and variables. 12 years ago
triton e059f5e099 Fixed parsing of enum items to use normal declaration comments. 12 years ago
triton fed9031775 Fixed support for C++ conversion operators. 12 years ago
triton fb00f8e7b5 Improved the CLI include collector to keep track of originating translation units. 12 years ago
triton 2916703e4c Refactored enum item generation in CLI backend to use blocks. 12 years ago
triton 2b3a8f79e4 Fixed the documentation comments support in the generators to use the new comment APIs. 12 years ago
triton 1887f80dfd Added declarations of class properties to CLI. 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 b9e57dba78 Re-write the blocks generator again (thanks to esdrubal for helping me with the new design). 12 years ago
triton 68ddfbdd6f Move the AST project to the CppSharp.AST namespace. 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 cbe05e6253 Cleaned up TextTemplate class. 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
triton bed7b4d8b7 Changed events parameters to be actual parameters rather than just types. 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 6ad3cb59f6 Move helper ignore checker methods to Template.cs so they can be used by different generators. 12 years ago
triton 2e4419584b Extract parameter list generation into its own method. 12 years ago
triton 285fafa513 Ignore non-public fields in the generator. 12 years ago
triton 48f401495a Pass the driver (options) to CLITypePrinter since we need it for declaration name printing. 12 years ago
triton d5969d57e4 Fixed indentation. 12 years ago
triton b208d7b588 Rework the CLI generator to actually handle (nested) namespaces propertly. 13 years ago
triton cf6d27b36f Added better include support. 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 6f71abc99f Only ignore constructors with zero parameters (which might not be the default). 13 years ago
triton 7b2dc65a75 Text templates now have an abstract method to generate their text. 13 years ago
triton c9440a935c Moved the CLITextTemplate class to its own file. 13 years ago
triton 0302622b00 Remove dependency on the Generator class by explicitly passing the needed services. 13 years ago
triton 5d1f9a49c4 Extract the CLIForwardRefeferencePrinter class into its own file. 13 years ago
triton 0b2de09b16 Extract the CLITypePrinter class into its own file. 13 years ago
triton 2923a262a3 Fixed extra diffs added by the rebasing proccess. 13 years ago
Tarmo Pikaro f9dc3a61c7 Add _wrapper suffix to autogenerated files, so would not conflict with normal headers/sources. 13 years ago
Tarmo Pikaro d4e80fe566 Make -a command line optional, fix #include's, disable warnings. 13 years ago
triton e266f3bc71 Update to the new conversion kinds names. 13 years ago
triton 7be2a4ef2b Added support for function to instance method conversions in the CLI generator. 13 years ago
triton 462a78c5fc Refactored the generation of method parameters in its own method. 13 years ago
triton 721d507633 Enum declarations also need to be forward referenced. 13 years ago
triton 44154a879d Class reference types do not need a full include forward reference. 13 years ago
triton 3dd40b1d75 Walk through typedefs when checking for pointers to primitive types in CLITypePrinter. 13 years ago
triton c6dd10fc81 Prefer visiting complete class declarations if they are available. 13 years ago
triton 5a90ba7644 Added an handle to CLI arrays wrapping. 13 years ago
triton b8ebd27841 Added namespace walk support. 13 years ago
triton faa635f065 Added an helper method to check if a field is ignored. 13 years ago
triton 5ffb858f8f Switch CLITypePrinter to the new type map database interface. 13 years ago
triton 8540e48bcf Improved the CLI type printing of typedef types. 13 years ago
triton 61a6811816 Improved the printing of CLI forward references. 13 years ago
triton f5fcef50f1 Massive update to the codebase. 13 years ago