realvictorprm
|
10c86a2a10
|
Fixed the generated C# when an incomplete class is forwarded more than once.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
2e3da64586
|
Fixed a regression caused by VS failing to rebuild properly.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
c3f7c50702
|
Changed events to be visited after properties when renaming.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
8233f52da3
|
Fixed a regression when renaming overridden properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
358c03e261
|
Fixed a regression when a method called "dispose" is wrapped.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
dd82358a04
|
Always upper-cased the first character of a function.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ea9c12842a
|
Changed the renaming not to lose separation in new names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
028eac9d69
|
Visited parameters while renaming.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
586b14ab62
|
Fixed previously missing rename target checking for classes.
|
8 years ago |
Joao Matos
|
a531fafa4a
|
Simplify some rename pass code.
|
8 years ago |
Joao Matos
|
3b7199f61c
|
Refactor all renaming pass declaration checking into IsRenameableDecl.
|
8 years ago |
Dimitar Dobrev
|
aae856971c
|
Revert "Refactor all renaming pass declaration checking into IsRenameableDecl."
This reverts commit 655cdd1cb4 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
a6c85ffee8
|
Fixed previously missing rename target checking for classes.
|
8 years ago |
Joao Matos
|
655cdd1cb4
|
Refactor all renaming pass declaration checking into IsRenameableDecl.
|
8 years ago |
Dimitar Dobrev
|
c7203ad8e7
|
Collected template parameters of class templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
ef69bf1b95
|
Made the case-renaming pass non-optional for Mono/.NET generators.
|
9 years ago |
Dimitar Dobrev
|
b16bb0a979
|
Moved the change of order when visiting properties to just the renaming pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
829422cc86
|
Fixed invalid generated C# code when having a field renamed the same as a method.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9da51c1e16
|
Changed the renaming not to remove the underscores from all-capital names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
63612a875a
|
Removed the renaming of fields because they are no longer exposed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
a44da437e6
|
Rename AstVisitor.Options to VisitOptions.
|
9 years ago |
Dimitar Dobrev
|
fbd1f5e328
|
Optimised, simplified and fixed the pass for renaming by case.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
32122a1bba
|
Properly handled enumeration items in default values of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
853fa889d2
|
Removed false negatives when renaming template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
8d2c5f49b5
|
Prevented changes in the casing of functions bearing the same name as their name-space.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
4e981a80e6
|
Fixed a bug when wrapping virtual properties overridden in indirect derived types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
dc95c8d8c8
|
Fixed the bodies of functions overriding indirect virtuals.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
c8da628782
|
Fixed the renaming of overrides in a certain situation.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
8ddc1e4736
|
Removed ignored methods from consideration when generating properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
fd20f4a2e4
|
Fixe a bug when renaming statics in base classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
Dimitar Dobrev
|
d7e74c68e6
|
Ensured implementations of interface members are properly renamed.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
10 years ago |
triton
|
1e0db93c5e
|
Added support for handling non-virtual methods inherited from MI bases.
|
11 years ago |
Dimitar Dobrev
|
3d72c2fca4
|
Added renaming of variables.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d481cf8078
|
Fixed the renaming of overloads generated because of default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
011777a480
|
Compared types directly instead of their string representations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
9e480dd364
|
Fixed the renaming pass to account for overloads of functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/AST/Class.cs
src/Generator.Tests/Passes/TestPasses.cs
src/Generator/Generators/CSharp/CSharpTypePrinter.cs
|
11 years ago |
Øystein Krog
|
d3e963ff19
|
Move helper methods in Type out from class and into extension class TypeExtensions
|
11 years ago |
Dimitar Dobrev
|
8439acdef5
|
Considered renamable name-spaces which are not translation units.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ebd692e6aa
|
Fixed the renaming pass to consider forward declarations and function type defs.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
6ea0dae444
|
Improved the rename pass with fixes for visits and minor formatting nits.
|
12 years ago |
Dimitar Dobrev
|
7ecafc9858
|
Prevented renaming of methods when a base class has a property of the same name. Made the delegates used in abstract implementations prefixed with an underscore and internal.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
824d8b5f30
|
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
549c2046d1
|
Moved the checks for operators and Dispose to IsRenameableDecl. Moved the checking for conflicts to a separate function.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
8c77618c69
|
Fixed the renaming pass to ignore operators, consider IDisposable.Dispose and take care to avoid naming conflicts.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
bfcc92dfb1
|
Included properties in the renaming pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 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.
|
12 years ago |
triton
|
68ddfbdd6f
|
Move the AST project to the CppSharp.AST namespace.
|
12 years ago |
triton
|
3163e073d9
|
Add support for renaming events.
|
12 years ago |
triton
|
92616d3535
|
Fixed the RenameTargets values to actually behave like flags bits.
|
12 years ago |
triton
|
31ce147308
|
Added a targets parameter to RemovePrefix to be able to only remove prefixes for some kinds of declarations.
|
12 years ago |