João Matos
10aa7a7e60
Merge pull request #925 from tritao/dev-docs
...
Some improvements to the dev and user's manual.
8 years ago
Joao Matos
4508fe65dc
Some improvements to the dev and user's manual.
8 years ago
João Matos
6a94f47f77
Update BuildingLLVM.md
8 years ago
Joao Matos
b7d5b2568f
[build] Update some deprecated Premake build code.
8 years ago
João Matos
d5263ab8a8
Merge pull request #924 from tritao/docs
...
[docs] Update the getting started guide and LLVM compilation guide.
8 years ago
Joao Matos
bbd9ab8e69
[docs] Update the getting started guide and LLVM compilation guide.
8 years ago
Dimitar Dobrev
6fa9778859
Cleaned up MSVCToolchain.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
5aaa0a0351
Fixed a crash when trying to use a VS version missing from the system.
...
Fixes https://github.com/mono/CppSharp/issues/922 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e89c9f98de
Deleted useless code from the pass for delegates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
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