Joao Matos
|
0180badea4
|
Fixed wrong check for Linux target platform in CLI options.
|
9 years ago |
Dimitar Dobrev
|
32f315d206
|
Improved the recognition of inlined functions by checking their redeclarations.
The parsing of function bodies is no longer needed and it slows parsing down significantly so it is now turned off.
|
9 years ago |
Dimitar Dobrev
|
b8f54de73e
|
Parsed function bodies.
|
9 years ago |
Dimitar Dobrev
|
329d350f9d
|
Added the specialisation info, if any, along with its arguments, to functions.
|
9 years ago |
Dimitar Dobrev
|
8d322ad53e
|
Properly handled signed chars in the AST.
|
9 years ago |
zillemarco
|
4d215757ba
|
Added more information when errors occur or invalid options are given
|
9 years ago |
Dimitar Dobrev
|
cef847825a
|
Exposed constant expressions, friendships and exception specifications of functions in our 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
|
dbb3182b44
|
Fixed all warnings in our C++ part.
|
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 |
Marco Zille
|
06491bb454
|
Changed CppSharp.CLI project from library to console application
|
9 years ago |
Marco Zille
|
c9eae5c863
|
Improved CLI help and parameters
|
9 years ago |
Marco Zille
|
a80fefde9b
|
Cleared command line options to make them more standard
|
9 years ago |
Joao Matos
|
f1ec08480e
|
Link CLI project with System.Core.
|
9 years ago |
Joao Matos
|
d9f841465c
|
Minor code formatting improvements.
|
9 years ago |
Joao Matos
|
62dbdb6bfa
|
Added build scripts for CLI.
|
9 years ago |
Dimitar Dobrev
|
f6c617cd38
|
Removed some useless workaround for type definitions.
Fixes https://github.com/mono/CppSharp/issues/671.
|
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 |
Dimitar Dobrev
|
60f5da9ced
|
Fixed memory leaks when reading template parameters.
|
9 years ago |
zillemarco
|
4e5778dd4d
|
Added CppSharp CLI code from CppSharp.CLI repo
Added CppSharp CLI code from CppSharp.CLI repository to add its
functionalities to CppSharp.
|
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 |
Joao Matos
|
e61a7b7453
|
Fixed type printing code to work handle non-C++ global qualified names correctly.
|
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
|
5af5b2093f
|
Extended the AST with the template parameters being substituted.
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
|
99f6dcac7b
|
Fixed a possible crash when getting a declaration from a type.
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 |
Joao Matos
|
2be56cbf0d
|
Clean up a bunch of build warnings.
|
9 years ago |
Joao Matos
|
f3663c636b
|
Force the pre-C++11 ABI when compiling the parser library on Linux platforms.
Hopefully fixes a long-standing compatibility issue caused by the C++11 ABI switch on GCC5.
Fixes https://github.com/mono/CppSharp/issues/655.
|
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 |