Dimitar Dobrev
d1461fd101
Fixed the code style of the C++ printer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
046c428852
Fixed the binding of multiple identical function pointers with a calling convention.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
16aa74a20b
Changed an event to a context with a read-only list of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
8a2e813445
Merged Delegate Pass and pass for Anonymous Delegates and added the following improvements alongwith.
...
1. Got rid of Anonymous Names.
2. Merged the common code for Delegate Generation.
3. The delegate pass also works for C++/CLI now.
4. Fixed the calling conventions of delegates for both, C++/CLI and C#.
5. Ensures that if a delegate is used for a virtual as well as something else, it finally ends up as public.
6. Fixed the code generation when the return type of a method is a function pointer that has been used somewhere else as well.
7. Added Access and Calling convention to the delegate definition.
The only thing left is to get rid of the hack used, i.e move the code in VisitFunctionDecl to VisitParametersDecl. Somehow, it's not working right now.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9c26b7e648
Fixed the setting of name-spaces of parameters to actually work.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
649df6e5e7
Made all lists of parameters read-only.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
João Matos
7db6104f13
Update UsersManual.md
8 years ago
Dimitar Dobrev
2f271207fd
Enabled a test previously failing on Linux because of old Mono.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
973fdafdfe
Generated properties from setters returning Booleans.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f17441f371
Completed the handling of separate return types when generating functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
faa9512a84
Simplified the generation of C# for property setters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f33b162f6f
Ignored inlined name-spaces in the C# gen only.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
38f8207c1d
[generator] Fixed C++ inline namespace processing in CLI.
8 years ago
Joao Matos
6d0d9612cb
[generator] Check if we've already visited the declaration in CheckIgnoredDecls.VisitFunctionTemplateDecl.
...
Thanks to @ddobrev for the heads up in code review.
8 years ago
Joao Matos
2d65d2b493
[cli] Added some aliases to options in CLI tool.
8 years ago
Joao Matos
09e568d0b3
[generator] Improved processing for C++ inline namespaces.
8 years ago
Joao Matos
9c83f88c7f
[generator] Fixed regression ignoring function templates.
8 years ago
Joao Matos
2b5c256514
[cli] Fixed initial output messages.
8 years ago
Dimitar Dobrev
a056659d09
Generated properties from <type> get()/void get(<type>) pairs.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
4d177b317d
Switched the Windows CI to Visual Studio 2017.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
20fcb19436
Restored the option for generating one C# file per unit.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
27481289d6
Fixed the sorting of modules to also work with manually added dependencies.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
043aeb534b
[generator] Do not generated unformatted code if debug mode is enabled.
8 years ago
Joao Matos
4f77dafb2e
[cli] Added an option for enabling debug mode for generated output.
8 years ago
Joao Matos
fbfd1e1b89
[cli] Improve directory setup in case the path is not a file path.
8 years ago
Joao Matos
00ae918561
[cli] Extract target triple setup code into its own method.
8 years ago
Joao Matos
b31930ad4a
[cli] Adds a new option for automatic compilation of generated code.
8 years ago
Joao Matos
97eb8b0f1c
[cli] Adds a new dedicated "-exceptions" flag to enable C++ exceptions.
8 years ago
Joao Matos
a302beccdc
[cli] Added a new -A option to pass compiler arguments to Clang parser.
8 years ago
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