777 Commits (5abfbeca39e30fd3239c3aa48c7ea68ea6ba76d8)

Author SHA1 Message Date
triton ee43c3effc Add missing documentation comment. 13 years ago
triton 6dd7d19165 Add support for deep cloning TextGenerator instances. 13 years ago
triton 411aeeba8c Small cleanup to the TextGenerator class. 13 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. 13 years ago
triton cbe05e6253 Cleaned up TextTemplate class. 13 years ago
triton 300b8508a0 Use the AST utils methods to check for ignored declarations. 13 years ago
triton 4e4552186a Generators now have a Process method to be able to do any custom processing. 13 years ago
triton c3ac9e7efc Split the generation and writing of bindings. 13 years ago
triton 0f418fd753 Added new FindPass method to get the pass of a certain type. 13 years ago
triton 6dc4f120cb Simplified the generators interface. 13 years ago
triton 4eb8358f0d Change pass builder to be initialized in the constructor. 13 years ago
triton 16bd9d1deb Improve option checking. 13 years ago
triton 848cb4e18c Remove ILibrary out of the driver code and only call it from the ConsoleDriver. 13 years ago
triton cb85d8ead3 Move some helper functions out of the template and into an helpers class. 13 years ago
triton 3163e073d9 Add support for renaming events. 13 years ago
triton 92616d3535 Fixed the RenameTargets values to actually behave like flags bits. 13 years ago
triton d890b2dabe Report a diagnostic instead of printing to the console. 13 years ago
triton cdc618a2d0 Remove unused attribute. 13 years ago
triton acc5885594 Added support for decayed types which represent a pointer type decayed from an array or function type which have been added to latest Clang. 13 years ago
triton 0e865294db Rename and change visibility of the StringBuilder instance in TextGenerator. 13 years ago
Tom Spilman aff035be93 Removed unnessasary unsafe in extern methods. 13 years ago
Tom Spilman 04b61cd67a CheckTypeReferencesPass was not skipping ignored source files. 13 years ago
triton d7ff6ae4ab Update test utility class for new ILibrary interface. 13 years ago
triton ee1bc28879 Use the output namespace instead of the library name when generating function names signatures. 13 years ago
triton a9863b8951 Remove extra using declaration. 13 years ago
triton d0fb96121d Change the ILibrary methods to take a driver instance. 13 years ago
triton 35180f7e24 Remove some unused fields from the Library class. 13 years ago
triton c8ce6ad245 Added some documentation to some classes. 13 years ago
triton 439d363cd1 Register generators in a static constructor. 13 years ago
triton 20b0b76421 Remove the GenerateStart and GenerateAfterNamespaces methods from the ILibrary interface and replace them with delegates on each generator. 13 years ago
triton 13d1280dbb Do per-generator pass initialization and switch the C# generator to use it. 13 years ago
triton 70f76588aa Refactor file writing into the driver instead of duplicating it each generator. 13 years ago
triton 0aeb17b1cb Removed extra whitespace. 13 years ago
triton 464dc37984 Improved support for dependent arrays. 13 years ago
triton 4aa83eb551 Use the fully qualified name when searching for complete declarations. 13 years ago
marcos henrich 3310afee6e Fixed generated CLI source code for native functions and native static methods 13 years ago
marcos henrich 55b05ecff9 Added missing arguments of CLI event raise 13 years ago
marcos henrich 7a9c1d19ba Fixed constructor CLI calls, ::ClassName::ClassName() is now ::ClassName() 13 years ago
triton c0c675b4c0 Check for not processed or explicitly ignored functions instead of just ignored, since ignored also checks for IsGenerated which is incorrect in this instance (eg. we dont want to generate wrapper methods for getters, but we still need their internal declaration for properties). 13 years ago
triton 53bbc8c04b Use Helpers.SafeIdentifier when sending parameters to marshaling to deal with invalid identifiers. 13 years ago
triton 0895429e65 When generating the setter method of a property, use the first method parameter type as the type for the setter. 13 years ago
triton 556ee78ac7 Collect the get/set methods used in properties so that we generate the needed internal function declarations. 13 years ago
triton 5dce147d77 Refactored the internal function generation code to collect all the declarations first and only then generate the needed functions. We also store them in a set to deal with duplicated entries. 13 years ago
triton eaa833bd17 Respect the type map information when checking for ignored types. 13 years ago
triton ee86be7562 Added support for events to CheckIgnoredDecls pass. 13 years ago
triton 6f37c3cdbe Added support for variables to CheckIgnoredDecls pass. 13 years ago
triton 6b5f218258 Use the previously declared local variable. 13 years ago
triton bed7b4d8b7 Changed events parameters to be actual parameters rather than just types. 13 years ago
triton e2fffddadf Changed function/method return types to be qualified types. 13 years ago
triton d73b631115 Fixed the TypeCompletionChecker pass to not walk recursively through all the types as that can lead to some wrong ignore behavior. 13 years ago