Dimitar Dobrev
|
4d820a24b7
|
Document the release of CppSharp 0.10.5
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
b4726fd48e
|
Don't add ABI-specific parameters when wrapping C
Fixes https://github.com/mono/CppSharp/issues/1008.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
28a5c5d76c
|
Prioritize public non-field properties when resolving naming conflicts
Fixes https://github.com/mono/CppSharp/issues/1175.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
4d8ab83328
|
Fix patching of virtual tables for MSVC with RTTI
Fixes https://github.com/mono/CppSharp/issues/1151.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
076318be29
|
Free the memory of the patched v-tables
Fixes https://github.com/mono/CppSharp/issues/586.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
fe4a466964
|
Fix parsing of member pointers with MSVC
Fixes https://github.com/mono/CppSharp/issues/1231.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
b7fa720ee1
|
Generate valid C# for constructors taking const&
Fixes https://github.com/mono/CppSharp/issues/1119.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
6dcb2ac31a
|
Generate valid C# for returned function pointers
Fixes https://github.com/mono/CppSharp/issues/1226.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
a1ddbd82d7
|
Expose returned values of non-void setters
Now we generate them as methods too.
Fixes https://github.com/mono/CppSharp/issues/960.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
dcd11e9433
|
Ensure enumerations lack conflicts when renamed
Fixes https://github.com/mono/CppSharp/issues/965.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
2acbf32a96
|
Fix generation for fields of type const reference
Fixes https://github.com/mono/CppSharp/issues/1323.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
2b9aedaa0b
|
Test using _0 as an identifier for nameless fields
Fixes https://github.com/mono/CppSharp/issues/1225.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
29c6eb5625
|
Test overriding from a secondary base for Itanium
Fixes https://github.com/mono/CppSharp/issues/1364.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
fd15ab6632
|
Make a test localization-independent of the IDE
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
22cc438fc5
|
Document the release of CppSharp 0.10.4
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
9d296c10af
|
Simplify the required headers for macOS bindings
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
6f9a77983b
|
Regenerate the parser bindings
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Ali Alamiri
|
fe33488829
|
Option to allow caller to specify it does not want unchanged output files to be modified. This supports incremental build in VS. (#1373)
Check if generated code is different to existing files and only overwrite if so
Co-authored-by: Build Agent <admin@sage.com>
|
5 years ago |
Build Agent
|
e31dc22ab1
|
CreateInstance factory overload to pass flag informing wrapper if it should own the native pointer passed to it.
|
5 years ago |
Lorenzo Delana
|
dfa243644b
|
force bash use to avoid `./premake5-linux: 3: ./premake5-linux: Bad substitution` error if other default shell in the system
|
5 years ago |
Dimitar Dobrev
|
081ac688f4
|
Simplify the mapping of virtual tables in C#
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
0f4ee4c335
|
Upgrade to Ubuntu 20.04 Focal Fossa for CI
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
09222174c1
|
Made the original virtual tables static too
Virtual tables are the same object per class in C++.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
0da9c46a73
|
Pass native pointers to bases in the generated C#
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
c214b10e3c
|
Check type maps when printing C++ for pointers
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
9091fd3e5b
|
Do not add type alias templates twice to the AST
This also fixes a memory leak since the copies were never destroyed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
2d75735d0f
|
Fix all leaks of memory in the old expressions
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
a1dc53c03c
|
Add template functions to their context
This also fixes a minor memory leak.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
a25162b6d8
|
Fix leaking memory by removing a useless assignment
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
e3237780bf
|
Delete an unused parameter in the parser
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
bcdc2cf667
|
Fix leaking the memory of an entire Clang AST
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
5d55a576c1
|
Regenerate the parser bindings
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
d0216f1e7d
|
Ignore type maps when printing C++ for symbols
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
João Matos
|
6a9d829698
|
Implement more accurate managed type printing in C++ type printer.
|
5 years ago |
João Matos
|
2a7d7fa469
|
Use a native type printer context when looking for type maps in CSharpSourcesExtensions.DisableTypeMap.
|
5 years ago |
João Matos
|
63c42c3252
|
Use explicit type printer when printing types in C# GenerateMethodSpecifier.
|
5 years ago |
João Matos
|
9ba53acc11
|
Refactor CodeGenerator.GenerateMethodSpecifier to allow explicit specifier kind.
|
5 years ago |
João Matos
|
f49e6c9e64
|
Do not check declaration access for explicitly generated declarations.
|
5 years ago |
João Matos
|
568b68bb3f
|
Fix TranslationUnit.FileRelativeDirectory to be more robust against null include paths.
|
5 years ago |
João Matos
|
f5d4a5d59c
|
Fix formatting to of Declaration.GenerationKind to ease debugging.
|
5 years ago |
João Matos
|
55365c7d30
|
Ignore implicitly deleted copy constructor methods.
|
5 years ago |
Ali Alamiri
|
29adf57f83
|
Correctly marshal constant arrays in C++/CLI (#1346)
Co-authored-by: Build Agent <admin@sage.com>
|
5 years ago |
Immo Landwerth
|
a1696055ac
|
Link Code of Conduct (#1335)
|
5 years ago |
Ali Alamiri
|
c23ef39bca
|
Marshal pointer to primitive typedefs in C++/CLI (#1355)
Co-authored-by: Build Agent <admin@sage.com>
|
5 years ago |
Dimitar Dobrev
|
116ee82212
|
Fix a regression when renaming classes
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Dimitar Dobrev
|
54c6159f35
|
Fix naming conflicts with nested types and members
Fixes https://github.com/mono/CppSharp/issues/1353.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Build Agent
|
0f0e174ea9
|
publish the clang lib folder
|
5 years ago |
João Matos
|
6a007e6d60
|
Implement basic support for parsing function-like macros.
|
5 years ago |
João Matos
|
7b77d84d20
|
Implement TranslationUnit.ToString() to help with debugging.
|
5 years ago |
João Matos
|
bd783b1cd0
|
Add debug option and flags to the Premake build and compile scripts.
|
5 years ago |