457 Commits (620da528a4b78d30ccbc7b209cbdaf0fe8c06981)

Author SHA1 Message Date
triton e89d6696d8 Added access specifier checking for methods to CheckIgnoredDecls pass. 13 years ago
triton 352cb8b099 Cleaned up the ObjectOverridesPass pass. 13 years ago
triton 6bc1215ef3 Cleaned up using declarations. 13 years ago
triton cf040d9c2a Use a different generic type variable name that does not conflict with the parent one. 13 years ago
triton 3e505737d7 Rework the handling for functions that need hidden structure parameters. 13 years ago
marcos henrich f3045ea6c8 Generated code for equals override now checks if the dynamic_cast does not return null. 13 years ago
marcos henrich 0cf8c03aa3 PassBuilder is now generic. Driver Passes is now called TranslationUnitPasses. Added to driver GeneratorOutputPasses. Removed most of the PassBuilder Extensions. 13 years ago
marcos henrich cc29233b2b CheckFlagEnumsPass class is now public so it can be used in tests. 13 years ago
marcos henrich b0d9e8b088 Fixed FunctionToInstanceMethodPass not skipping first method parameter. 13 years ago
marcos henrich 83ac0cdf71 Changed comment 13 years ago
marcos henrich b1390894e0 Added missing new lines. 13 years ago
marcos henrich ddfcf291df CLI generator needs first function parameter. 13 years ago
marcos henrich 57ce9d449d Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField. 13 years ago
marcos henrich 12daa4980c Added CheckDuplicatedNamesPass that check all class members names for duplicated names. When a non function member has an already used name a number is append to its name. When a method is found with a know signature a number is append to its name. The appended number for each method overload is independently incremented, others members appended number start at the most overloaded method count which is then incremented with each non function member sharing the same name. 13 years ago
marcos henrich 3bd0086ac6 Fixed methods generated by FunctionToInstanceMethodPass and FunctionToStaticMethodPass, to use parent class Namespace and keep function Namespace as OriginalNamespace. 13 years ago
marcos henrich 06aba88fbb Modified GetterSetterToPropertyPass more complex properties are supported. Now even if we only have a getter or a setter a property is created. Trying to convert multiple setter with same name and different types is an issue, so we check before creating a setter for a matching getter or the non existence of more setters. 13 years ago
marcos henrich 379cf32f1d Added FieldToPropertyPass, all non ignored fields can now be transformed into properties before generation. 13 years ago
triton c13e843a3d Fixed the FunctionToInstanceMethod pass. 13 years ago
marcos henrich 7dd2771604 Removed CheckTypeReferencesPass and TypeRefsVisitor 13 years ago
marcos henrich 4875addfb4 Added synthetized check on block generation of ObjectOverridesPass.cs so already existing methods are not modified. 13 years ago
triton 383bfdf670 Add work-in-progress ObjectOverrides pass that adds GetHashCode and Equals overrides. 13 years ago
triton 252af32318 Added first pass at a pass for transforming compatible getters/setters into properties. 13 years ago
triton 8ed1584126 When checking for ignored declarations, return early if the declaration is already ignored. 13 years ago
triton 443e2a278b Visit the base VisitDeclaration in Pass. 13 years ago
triton 0e0a78e008 Do not visit already visited classes in the ResolveIncompleteDecls pass. 13 years ago
triton 68ddfbdd6f Move the AST project to the CppSharp.AST namespace. 13 years ago
triton 2a08b6e05b Ignore properties if their getter or setter methods are also ignored. 13 years ago
triton c989d9c121 Add the method RunPasses to PassBuilder. 13 years ago
triton 0a7656e257 Fix the build. 13 years ago
triton ee43c3effc Add missing documentation comment. 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 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
Tom Spilman 04b61cd67a CheckTypeReferencesPass was not skipping ignored source files. 13 years ago
triton a9863b8951 Remove extra using declaration. 13 years ago
triton 4aa83eb551 Use the fully qualified name when searching for complete declarations. 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 f26018db87 Fixed CheckOperatorsOverloads pass to work correctly for non C#-supported operator overloads. 13 years ago
marcos henrich 2aca94d9f9 Using Unix path separator 13 years ago
triton cb6f2c72ca When creating new fake methods from functions also initialize their mangled names. 13 years ago
triton b0d2757238 Fixed the CheckOperatorsOverloads pass to be more robust when handling declarations. 13 years ago
triton c83a87dbd4 Moved ignored declaration and type checking code from ResolveIncompleteDeclsPass to its own pass. 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 e0a6181287 Make sure we skip ignored overloads when checking for ambiguous overloads. 13 years ago
triton 31ce147308 Added a targets parameter to RemovePrefix to be able to only remove prefixes for some kinds of declarations. 13 years ago
triton 41e21fc3ab Since TranslationUnit is just a regular DeclarationContext we can now use VisitDeclarationContext instead of replicating the walking logic. This also makes sure we walk through every declaration, which we did not do before. 13 years ago