Joao Matos
|
0602cf403b
|
Group all module options.
|
9 years ago |
Joao Matos
|
c8f8d016b0
|
Document and organize a few more options.
|
9 years ago |
Joao Matos
|
c42bd6eeaa
|
Rename the OutputDebug option to GenerateDebugOutput and document it.
|
9 years ago |
Joao Matos
|
cb3e9edf44
|
Remove IgnoreParseWarnings option and replace functionality with Verbose option.
|
9 years ago |
Joao Matos
|
fbf43067d7
|
Refactor the diagnostics system.
|
9 years ago |
Joao Matos
|
1426f21ff8
|
Rename TextDiagnosticPrinter to ConsoleDiagnostics.
|
9 years ago |
Joao Matos
|
66a2602428
|
Remove unused using.
|
9 years ago |
Joao Matos
|
7a5c34e0bc
|
Refactor the block-based text generator into own class.
|
9 years ago |
Dimitar Dobrev
|
8d322ad53e
|
Properly handled signed chars in the AST.
|
9 years ago |
Dimitar Dobrev
|
4e3cc50073
|
Revert "Extended the auto-compilation to add module initialisers, if any."
This reverts commit ec241510f7.
|
9 years ago |
Dimitar Dobrev
|
ef69bf1b95
|
Made the case-renaming pass non-optional for Mono/.NET generators.
|
9 years ago |
Joao Matos
|
d5bbc12d23
|
Added Java language as a possible generator kind.
|
9 years ago |
Joao Matos
|
b708cecf43
|
Removed per-project AssemblyInfo.cs property files.
This is to be replaced later with a shared project generated by Premake at build time.
|
9 years ago |
Dimitar Dobrev
|
dd814fe5d5
|
Fixed all warnings in the C# code.
|
9 years ago |
Dimitar Dobrev
|
fc1d75363a
|
Regenerated the parser bindings after making internals internal.
|
9 years ago |
Joao Matos
|
1371f89957
|
Convert CheckMacroPass to be a default pass.
|
9 years ago |
Joao Matos
|
d9f841465c
|
Minor code formatting improvements.
|
9 years ago |
Dimitar Dobrev
|
aa079c3222
|
Added setters to non-const static fields (variables) in the C# end.
Fixes https://github.com/mono/CppSharp/issues/545.
|
9 years ago |
Dimitar Dobrev
|
f12597fc3f
|
Minor improvements to InternalsVisibleTo in the C# end.
|
9 years ago |
Dimitar Dobrev
|
21233a6622
|
Hid most internal details of the generated code from users.
|
9 years ago |
Dimitar Dobrev
|
ec241510f7
|
Extended the auto-compilation to add module initialisers, if any.
|
9 years ago |
Joao Matos
|
66a2a54aeb
|
Clean up the diagnostic in FieldToProperty pass.
|
9 years ago |
Joao Matos
|
22c80b3fe1
|
Improve CheckIgnoredDecls.IsTypeExternal to deal with declarations with no namespaces.
|
9 years ago |
Dimitar Dobrev
|
70492c248f
|
Deleted two unused variables.
|
9 years ago |
Dimitar Dobrev
|
18cc5ed24a
|
Removed the manual padding of fields with type array.
This used to work around a bug in Mono which has now been fixed.
|
9 years ago |
Dimitar Dobrev
|
f2a7c4cbbc
|
Deleted some unused code.
|
9 years ago |
Dimitar Dobrev
|
853fba5ef9
|
Fixed the auto-compilation to work with a custom output directory.
|
9 years ago |
Dimitar Dobrev
|
66c3acc2f6
|
Fixed a bug when determining if a type is external to the current module.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
22bd02c849
|
Revert "Shortened the generated C# code for patching v-tables."
This reverts commit 2486d1d419.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2486d1d419
|
Shortened the generated C# code for patching v-tables.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
a8815b84e2
|
Fixed the generated C# when a parameter is s typedef of a primitive pointer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
54f6d2c306
|
Fixed the wrapping for default values of non-const pointers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
a7d3d52205
|
Ignored functions which use external types (through forward declarations).
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b74ce54c66
|
Improved the check for completeness when looking to ignore a declaration.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5f0840d117
|
Fixed the mapping of std::string not to destroy values when a reference (&) is returned.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2a3fed61b7
|
Improved the searching for the correct native lib to import.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
60f763a92e
|
Preserved arrays and template specialisations when stripping system types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
c010a0d9a9
|
Restored the STD allocator in the OS X parser bindings.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
cd8cfdd01d
|
Added a pass for stripping unused STD types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
1b68ecf239
|
Fixed the generated C# when a constructor uses an unsupported expression in a default arg.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5b6a19a0c4
|
Handled more possible names for type maps when generating the mapped class itself.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
4cb5412915
|
Fixed a regression when an abstract implementation has a function from a secondary base.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
c16a0287f4
|
Fixed a regression when wrapping functions which implement secondary bases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b2a872f431
|
Merged the passes for properties and made the result non-optional.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
bc9016cf19
|
Made the generation of conversion operators for constructors non-optional.
We are better off always having them because we map to C++ better this way.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
458f7ff25b
|
Deleted the non-working marshalling interface and the option for it.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b648471866
|
Removed 4 useless options.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2a369a341d
|
Simplified the code for generating virtual C# calls.
Fixes https://github.com/mono/CppSharp/issues/706.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
055f4c627e
|
Fixed the generated C++/CLI when a header and a contained name-space bear the same name.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
1b41897172
|
Fixed the generated C# when a header and a contained name-space bear the same name.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |