Joao Matos
c030256ab0
[cli] Fixed wrong option name.
8 years ago
Joao Matos
d6b61f0401
[cli] Do not show the help if we have output an error previously.
8 years ago
Joao Matos
544cd68725
[cli] Improve error messages.
8 years ago
Joao Matos
af60821393
[cli] Remove unused directory include commented code.
8 years ago
Joao Matos
eac99badd4
[cli] Improve platform detection so the current platform is set by default.
8 years ago
Joao Matos
926fb78f23
[cli] Fixed directory check that was throwing exceptions in Mono.
8 years ago
Joao Matos
728832da8e
[build] Do not include Std-symbols native project in VS for Mac solution in non-Windows hosts.
8 years ago
Joao Matos
142b3be9f1
Added a default build config file and an option to disable config generation.
8 years ago
Joao Matos
348505c67d
Fixed Premake parser symbols build to point to the correct files.
8 years ago
Joao Matos
e775e8991e
Revert "Removed an unused field, literally. :)"
...
This reverts commit 3b863cc6ff
.
8 years ago
Joao Matos
64950d676d
Update Generator project build file to new Premake filter syntax.
8 years ago
Joao Matos
7d6c6141e3
Move Std-symbols to the CppParser project build files.
8 years ago
Dimitar Dobrev
173c1cd7b7
Fixed the generated C# indexers for specialisations of pointers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
3b863cc6ff
Removed an unused field, literally. :)
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
b955068ad1
Fixed the type of a function to be its original return type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
94c0838337
Fixed the generated C# for a property returning a template with a renamed type arg.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f81800521c
Restored explicit specialisations but added exceptions for their methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
1c81a92061
Removed the fixing of names of constructors and destructors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
2bff7a3caa
Fixed the generated C# when returning a template with a renamed type arg.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e0816d9dc6
Fixed the generated C# for increment and decrement operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
910304b702
Removed leftovers in the comments from unsupported custom xml tags. ( #912 )
8 years ago
Dimitar Dobrev
51c5ef8fea
Fixed the parser bindings for macOS.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
95b8405b28
Restored the generation of symbols for defaulted inlines.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9294ea0978
Ignored defaulted functions when generating C++ for symbols.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
27acdd262e
Fixed the generation of symbols to check all base classes up the chain.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
93f5b89b52
Printed the text from unsupported comment tags. ( #911 )
8 years ago
Dimitar Dobrev
e7a34904dd
Fixed the generated C# for a subclass of a specialisation of an unsupported template.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
ee174c1649
Fixed the message when an unsupported template specialisation is used.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
dd885a7541
Fixed the generated C# when an operator returns a template.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9fdb9a3dc2
Fixed the generated C# when an template value is returned.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
aab4e6587a
Set the declaration of found type maps.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
0e341db99c
Fixed the generated C# when an injected class is returned.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
# Conflicts:
# src/Generator/Generators/CSharp/CSharpTypePrinter.cs
8 years ago
Dimitar Dobrev
401e26a63f
Ignored the not yet supported classes nested in templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
108bf75053
Fixed the generation of internals of classes nested in templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
23e7dec1f5
Made the generation of templates optional and off by default.
...
Templates are still experimental and we don't have automatic compilation of C++ symbols so it's risky to always have them enabled.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
ff1abf360f
Ensured all fields in class layouts are checked for specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
8bb567c49e
Fixed missing symbols for templates when there are no inlined functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
ea90ce745a
Removed publicly unused template specialisations from the generated symbols.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
075b2d5078
Fixed the generated C# for comparison operators in templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e078968cf2
Fixed the generated C# for indexers in templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
38ed4ab472
Fixed the generated C# when a template is used with different type arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
cd548059e9
Added support for class templates which do not specialise types external to them.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
225cd5c49b
Simplified the printing of templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
2af1af6404
Extracted the native printing in C# to separate methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
54434454c9
Fixed a couple minor Clang parser warnings on Clang/OSX.
8 years ago
Dimitar Dobrev
2f0956249d
Deleted redundant code when printing and marshalling in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
47633db649
Moved the handling of indexers to the C# marshaller.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
787798f2bd
Passed the qualified return type when calling internal functions in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
8d518fba22
Set the name-space of constructed parameters to their function. ( #909 )
8 years ago
Dimitar Dobrev
46b40bbe05
Fixed the generated C# for a case of a typedef of a function pointer.
...
Typedefs of function pointers can be written in two ways:
typedef void (*typedefedFuncPtr)();
int f(typedefedFuncPtr fptr);
typedef void (typedefedFuncPtr)();
int f(typedefedFuncPtr* fptr);
Up until now we only supported the former.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago