triton
|
6bd26ac443
|
Improved wide char handling in the C# and CLI.
References #320.
|
11 years ago |
triton
|
ec4ee6ba3c
|
Fixed handling of static fields in the parser.
References #320.
|
11 years ago |
Dimitar Dobrev
|
17a8fc732f
|
Removed redundant "new" key-words in generated C# code.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
100d43c2b0
|
Fixes classes wrongly being assigned as static classes.
Closes #348.
|
11 years ago |
triton
|
fe56198ceb
|
Fixed ToolSetToUse to work with the latest Clang expectations.
|
11 years ago |
triton
|
b8d4999e98
|
Fixed code generation for structors with HasThisReturn set to true.
|
11 years ago |
triton
|
3ab4d570a3
|
Removes the remaining SetClassAsValueType from ParserGen.
Fixes diagnostics not showing up. These cannot be value types else diagnostics won't be copied in CLI copy constructors.
|
11 years ago |
triton
|
cbb4451284
|
Small code cleanup. Non-functional change.
|
11 years ago |
triton
|
4dc6e84cc3
|
Use a cast instead of an 'as' check.
|
11 years ago |
triton
|
3b7cf2171d
|
Take advantage of 'this' return information to adjust the return type of structors.
|
11 years ago |
triton
|
8c962c2cb7
|
Fixed the IsItaniumLikeAbi check.
|
11 years ago |
triton
|
740a284323
|
Added support for iOS and iOS 64-bits ABIs.
|
11 years ago |
triton
|
406fabd949
|
Improved support for Itanium-like ABIs.
|
11 years ago |
triton
|
67a4821a8e
|
Improved ABI kind handling in the parser.
|
11 years ago |
triton
|
169a3fa610
|
Added support for keeping ABI-specific function 'this' return information.
|
11 years ago |
triton
|
cd85f8b6a5
|
Improved GetSourceDirectory to be a little more robust.
|
11 years ago |
Dimitar Dobrev
|
f7099fe552
|
Simplified and precised the pass for inlines.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
0ee5b23728
|
Restored ParserOptions as a ref type because it is inherited.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
29ef01699f
|
Renamed the flag indicating whether to HGlobal-free an instance.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d15d3f615b
|
Fixed warnings about hidden methods in generated code.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
d49be57467
|
Fixed generation bug for ARM ABI.
Closes #351.
|
11 years ago |
Dimitar Dobrev
|
c4b48cf185
|
Fixed some problems with arrays of void after mapping void* to IntPtr.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
dd5c324d01
|
Entirely removed the Internal struct from implementations of abstract classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
30cb2cbe85
|
Fixed an ambiguity between an internal ctor and a potential wrapped one.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
b231b00de1
|
Wrapped void* as IntPtr because unlike int*, char*, etc., void* is just ugly and not useful.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
f00fb2189f
|
Fixed a crash with GCC libs caused by calling FreeHGlobal on non-AllocHGlobal memory.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
4385ecac76
|
Fixed the finding of classes to also check name-spaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
2894999696
|
Fixed the generation of constructor overloads synthetised because of default arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
1dbc76f134
|
Fixed a bug when a char parameter is assigned a default value of 0.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
9e5be9e92c
|
Added the ability to only enable a given type map for a selected back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
f67af3f59b
|
Removed a hack made redundant by the improved support for inlines.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
ee2582896c
|
Simplified the pass for inlines thus including more symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
3c7c19ffc0
|
Fixed the generation of anonymous types to consider parenting anonymous types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
319b9691d2
|
Marked the __Instance property in interfaces as synthetised.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
cf5cb69eab
|
Improved the advanced property pass to avoid a crash and generate more properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Pyry Kontio
|
8615c4ebeb
|
The simplest and least intrusive way to fix this.
|
11 years ago |
Dimitar Dobrev
|
c61cfa43a9
|
Exposed the architecture of native libraries.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d35a81c1f6
|
Ensured the UnmanagedFunctionPointerAttribute is always set on generated delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
ca72594c84
|
Extended the heuristics for obtaining function symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
a08e864441
|
Fixed the pass for changing parameter types to their respective interface, if any, not to lose any pointers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
d2e01b1eda
|
Fixed the generation of copy ctors when mutiple inheritance is involved.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
643776b70e
|
Enabled the addition of undefines in the options.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
0d605cd3fa
|
Fixed the target triples with the new Clang.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
acdc093e0a
|
Fixed run-time crashes caused by updating to the new Clang.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
e606a7f2d0
|
Fixed parser to work with latest LLVM and Clang revisions.
|
11 years ago |
triton
|
934558ed54
|
Code cleanups, no functional changes intended.
|
11 years ago |
triton
|
9b0f221334
|
Try an alternative path separator when cleaning up file paths.
|
11 years ago |
triton
|
937bff4e2c
|
Skip generating some unique methods (ctors and dtors) for base classes when handling value types.
|
11 years ago |
triton
|
dc186ad5da
|
Stubbed out some type printing overloads.
|
11 years ago |
triton
|
8a3f50337c
|
Added an hack for parsing declaration without unique native pointers.
We only need this because we're re-using the parameter declaration for function type parameters.
|
11 years ago |