Dimitar Dobrev
|
e57ea530e1
|
Avoided naming conflicts between methods of different specialisations of a template.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
22d823f50a
|
Fixed a regression when searching for type maps of template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
010e35abc0
|
Fixed a crash when generating any C# bindings on Windows.
It was a regression from the dropping of the C# option for a single generated source file.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
f197aada99
|
Made the C# end always generate one file per module.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
57192c2d9e
|
Ensured symbols for exported template specializations on Windows.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
62beaddf63
|
Fixed the printing of class template specializations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
2f4d1b20fa
|
Supported constants as default values of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e408a84501
|
Fixed a bug causing types with fields to have size 0 for their layouts.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
af81834b38
|
Added a special system module to contain all system units.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
8bda1cc049
|
Fixed C# generation by ignoring templates pointing to incomplete declarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
853fa889d2
|
Removed false negatives when renaming template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
9b51e30643
|
Fixed the option for output name-spaces to allow eliminating them.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
a12a3e2532
|
Fixed a naming conflict involving abstract properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e0234089b5
|
Fixed uncompilable C# code when having a function pointer with an enum pointer as a parameter.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
7c385f4b5a
|
Fixed a crash when having a secondary base which is not a class.
It can be a template parameter, for instance.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
399ffdabe3
|
Generated properties from "get_" and "set_" prefixes as well.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
f1860c679d
|
Disabled the type map for std::vector in the C# generator.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
4d7c7a5ae7
|
Fixed uncompilable code when a free function is names after its header.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
f7424e6793
|
Fixed a typing error causing incorrect generation of operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
18406b8c53
|
Fixed a possible ambiguity when generating properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
00441bb300
|
Fixed the generated code when specialising types represented the same way in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
3eb259f151
|
Fixed the generated code when having long doubles in the origin.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
b5b0d92059
|
Fixed the generation of C# internals for templates specialising nested system types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
4ca34405dc
|
Fixed the wrapping of virtual members when changing access in overrides.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
002565971f
|
Ignored all system declarations until we can properly support them.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
3c82cf90c7
|
Fixed a bug - library dirs of modules were not read at all.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
6abdb764e6
|
Completed the exposing of type aliases in our AST.
Fixes https://github.com/mono/CppSharp/issues/670.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
7f75246215
|
Added support for C++11 type alias template declarations.
Partial fix for https://github.com/mono/CppSharp/issues/664.
|
10 years ago |
Dimitar Dobrev
|
517b1a5ccd
|
Saved the offsets per base in the layout of a record.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
c4c2ef21ce
|
Filled in all missing v-table pointers in record layouts.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e2b8f44565
|
Properly fixed the offsets of fields in all possible cases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
c1ee47d755
|
Changed the matching of explicitly patched virtual functions to use qualified names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
b3d46e38d7
|
Made wrappers of private classes public because of access by dependencies.
The correct way to fix this is, for C#, by using InternalsVisibleToAttribute.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
6dadab3796
|
Fixed the generated code when a default argument uses a constant.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
0a7b396842
|
Fixed the generated code when the C++ parameters are named "arg1", "arg2", etc.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
27c612ecd0
|
Ignored abstract operators because they cannot be wrapped in Mono/.NET.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
bbb8aeb4af
|
Fixed the fully qualified names to include "global::" in the C# end.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
41c030a7ee
|
Cleared empty name-spaces up in the C# end.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
c88d0e077f
|
Removed modules with empty units after parsing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
4617815d4b
|
Handled same named files at different paths when renaming root name-spaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
89bb19d349
|
Checked if operators are ignored when complementing them.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 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>
|
10 years ago |
Joao Matos
|
7542f7c868
|
Extract method.TranslationUnit.Module expression into a local variable.
|
10 years ago |
Joao Matos
|
f01c5b0fbe
|
Ignore system headers in DelegatesPass.VisitMethodDecl since they might not be part of a module.
|
10 years ago |
Dimitar Dobrev
|
cdc51afc0e
|
Extended the parser and AST to handle template template parameters.
For more details see the Clang documentation ( http://clang.llvm.org/doxygen/classclang_1_1TemplateTemplateParmDecl.html ).
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
546c32d4a7
|
Generated internals for template specialisations from dependent libraries.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
19b0131543
|
Sorted modules by the dependencies of their libraries, if any, before parsing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e50e9416d9
|
Handled internals of nested template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
26d908b2f3
|
Decreased the number of needed template internals in the C# end.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
eb748db73b
|
Handled nested template specialisations with fields of the place-holder type.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |