Dimitar Dobrev
840e3c93cf
Corrected the access modifier of overridden methods because in C++ overriding may change access.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
b9f1ecb715
Changed the parameter type comparer to work with qualified types because overriding cannot change the qualification of types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
6d2c0eaed8
Generated internal implementations of abstract classes in a new pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
triton
b80a395998
Reworked the tests base class.
13 years ago
triton
0c51ea6862
When generating tests glue, wrap the declaration in a namespace with the library name, this makes sure there are no conflicts between native and managed types.
13 years ago
triton
c2f4122414
Added workaround for CLR limitation when searching for native libraries.
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
triton
acac3fc00d
Re-work handling of enum constants fixing signedness and formatting issues.
13 years ago
triton
b9e57dba78
Re-write the blocks generator again (thanks to esdrubal for helping me with the new design).
...
Now the whitespace/new line handling is done by the output generator per block, instead of having to be managed manually which could lead to all sorts of messy output without being extra careful.
Also the new system limits the usage of generics since C# was too limited to design it properly, and it ended up being more trouble than it was worth. The blocks kinds were also changed to be const int, since enums are very hard to extend and made it hard to provide a common interface for dealing with blocks.
13 years ago
triton
68ddfbdd6f
Move the AST project to the CppSharp.AST namespace.
13 years ago
triton
19bba20fd9
Update the tests to compile again.
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
0e865294db
Rename and change visibility of the StringBuilder instance in TextGenerator.
13 years ago
triton
d7ff6ae4ab
Update test utility class for new ILibrary interface.
13 years ago
triton
0aeb17b1cb
Removed extra whitespace.
13 years ago
triton
f23600caf5
Added helper Linq method to return an enumeration without its last element.
13 years ago
triton
5aae80fd40
Check for a null string when writing text in templates.
13 years ago
triton
719a90fca3
Added some string helper methods.
13 years ago
triton
cc8f7cd1db
Renamed Cxxi references to CppSharp.
13 years ago
triton
42d3d0cc97
Added an utility method to uppercase the first letter of strings.
13 years ago
triton
e8ce0db9be
Added integration tests that generate and run wrapping code for both the CLI and C# backend.
13 years ago
triton
cdc613f24f
Added helper method to reset new lines state in the text generator.
13 years ago
marcos henrich
7273145e69
Serializes generated file hashes so files are only overwrite on change.
13 years ago
marcos henrich
9d2da916ec
TextGenerator now indents multiple lines of the given string
13 years ago
marcos henrich
3b871b86e7
Fixed missing indentation when calling TextGenerator.Write with a string ending with new line
13 years ago
triton
ef50c60f00
Moved the SplitCamelCase method to the utils.
13 years ago
triton
5d0e8b99e3
Created a new top-level target executable ("Cxxi") and fixed the Generator to be a proper library.
13 years ago
triton
29e19e483d
Make indentation variable protected.
13 years ago
triton
f97526ac36
Remove unused Log class.
13 years ago
triton
8cbb2918c9
Added an implicit string operator conversion to the text generator.
13 years ago
triton
0ec068afbf
Added helper class to generate text.
13 years ago
triton
f5fcef50f1
Massive update to the codebase.
...
- Removed reliance on T4 text templates that were proving to be a portability problem.
- Refactored the generator design to make a little more sense.
- Moved the examples to their own projects.
- Improved the build system to only use one unified output folder.
- Added much improved template support.
- Added work-in-progress C++/CLI generator backend.
- Added the concept of type maps.
13 years ago