triton
|
acef972a55
|
Added support for a "dry run" option that does not write anything to disk.
|
11 years ago |
Elias Holzer
|
474f82b513
|
Added support for explicit conversion operators and added new pass which will create implicit and explicit conversion operators out of single argument constructors.
Conflicts:
src/Generator/Passes/CheckAmbiguousFunctions.cs
src/Generator/Passes/CheckOperatorsOverloads.cs
|
11 years ago |
marcos henrich
|
d63ef03200
|
Changed Driver.Diagnostics setter to public. Replaced TextDiagnosticPrinter Verbose field by Level.
|
11 years ago |
triton
|
df188d92f8
|
Fixed the tests by adding another option for the advanced property pass.
Long-term, I'd like to see both passes merged...
|
11 years ago |
triton
|
9166a55202
|
Fixed generation of properties to behave as expected.
Fixed this by changing GenerateProperties to use GetterSetterToPropertyPass instead of GetterSetterToPropertyAdvancedPass.
Fixes issue #215.
|
11 years ago |
triton
|
9b5ddb7e3e
|
Fixed option validating code to work with the new parser.
|
11 years ago |
triton
|
e73fb76613
|
Added an option for generation of inlines in the C# generator.
|
11 years ago |
triton
|
2426c3eedb
|
Added an option to compile the generated C# code.
|
11 years ago |
marcos henrich
|
56f772a8c8
|
UseHeaderDirectories when true generated files will be outputted to original relative paths, and include will use relative path between headers. When NoGenIncludePrefix is set a string is prepended to the include files that are not generated.
|
11 years ago |
marcos henrich
|
4574b898de
|
Added to binder option NoGenIncludeDirs that contains a list of non generated include dirs.
|
11 years ago |
Dimitar Dobrev
|
445f460b47
|
Fixed the reporting of compilation errors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Øystein Krog
|
b1642bd47b
|
Add TargetInfo in Driver.
|
12 years ago |
Dimitar Dobrev
|
093ae1548b
|
Avoided crashes when generating code corresponding to translation units at invalid locations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
0a102d8fbc
|
Added better wrapping for static classes.
|
12 years ago |
Dimitar Dobrev
|
85e56de487
|
Applied Helpers.SafeIdentifier in the name-cleaning pass in order to get correct names in type maps.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
45b110e739
|
Added arguments options support to pass custom Clang options to the parser.
|
12 years ago |
triton
|
b58a99ebf3
|
Some fixes to the codebase to work correctly with the new parser bindings.
|
12 years ago |
triton
|
e5c85179d2
|
Ignore note diagnostics.
|
12 years ago |
triton
|
0c12ef9bd5
|
Cleaned up some unused usings.
|
12 years ago |
triton
|
da2c6b0602
|
Added indentation support to the logging.
|
12 years ago |
triton
|
24fcf02978
|
Formatting fixes.
|
12 years ago |
triton
|
4af0e2a90e
|
Print the pass name before the diagnostics under debug mode.
|
12 years ago |
triton
|
b808117566
|
Cleaned up the default diagnostics output to be more concise.
|
12 years ago |
Dimitar Dobrev
|
3cf6c7b3f1
|
Added a test for the pass that moves functions to a class.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
bd5594df7a
|
Small code cleanups.
|
12 years ago |
triton
|
4aab472af5
|
Fixed driver code to work with the new parser.
|
12 years ago |
triton
|
ed67b741ae
|
Improved error handling of the code compiler code (and minor reformatting).
|
12 years ago |
triton
|
a9f9a5e821
|
Fixed library parsing.
|
12 years ago |
triton
|
4a29db6bcd
|
Revert "Fixed bug caused by a type in the new parser."
This reverts commit f1f6c2e5e9 .
|
12 years ago |
triton
|
f1f6c2e5e9
|
Fixed bug caused by a type in the new parser.
|
12 years ago |
Dimitar Dobrev
|
7e2b1fd417
|
Added automatic building of the generated source files.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
71de29790e
|
Added a new pass to check for duplicated vtable components.
This helps workaround some Clang's work-in-progress vftable layouting implementation.
|
12 years ago |
Stephen Kennedy
|
0957843c4d
|
Unify debugging output
Route all debugging output through Driver.Diagnostics
|
12 years ago |
triton
|
c619d67eb6
|
DriverOptions now inherits from ParserOptions instead of providing a member.
|
12 years ago |
triton
|
b409d75bb6
|
Simplified the way generators are created in the driver.
|
12 years ago |
triton
|
3e489c9a06
|
Updated the generators and tests for new class names.
|
12 years ago |
triton
|
2c4ef76f8a
|
Updated the driver to the new ASTContext and SymbolContext classes.
|
12 years ago |
triton
|
0cc9446fe7
|
Refactored the parser class.
|
12 years ago |
triton
|
c5e9008b47
|
Extracted the Options class to its own file.
|
12 years ago |
Dimitar Dobrev
|
f348a80c32
|
Moved the improved property pass to a new class. Added the list of verbs as a resource in premake.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
19bae92f9b
|
Added a fake option so that the build stays healthy since the C++/CLI-back-end does not properly support properties yet.
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 |
triton
|
91508c9b0b
|
Reworked the SharedLibraryName option to return the LibraryName as default value if not set.
|
12 years ago |
Dimitar Dobrev
|
3a9eef1e80
|
Added a new pass converting all parameter types to their respective interfaces, if any.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
d7a91d1719
|
Added a fake option for multiple inheritance so that the build stays healthy.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6ef578cd6a
|
Removed the generation of protected members of interfaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
37f09c04ef
|
Added a pass to generate interfaces with the purpose of simulating multiple inheritance.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7dde8df3e1
|
Generated the inlines only when using the C# back-end because the CLI one does not need them.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
083dc3a9f8
|
Improved the generation of indexers by removing const overloads of []. NOTE: did that by removing the method type check in the pass for ambiguous overloads.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f38fa134e4
|
Added an option for an encoding.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |