CppSharp v0.10.4 Release Notes

Release Date: 2020-05-23 // almost 4 years ago
    • ๐ŸŽ Simplify the required headers for macOS bindings

    • ๐Ÿ— Option to allow caller to specify it does not want unchanged output files to be modified. This supports incremental build in VS. (#1373) - Ali Alamiri [email protected]

    • CreateInstance factory overload to pass flag informing wrapper if it should own the native pointer passed to it. - Ali Alamiri [email protected]

    • ๐Ÿง force bash use to avoid ./premake5-linux: 3: ./premake5-linux: Bad substitution error if other default shell in the system - Lorenzo Delana [email protected]

    • Made the original virtual tables static too

    • Pass native pointers to bases in the generated C#

    • ๐Ÿ–จ Check type maps when printing C++ for pointers

    • Do not add type alias templates twice to the AST

    • ๐Ÿ›  Fix all leaks of memory in the old expressions

    • โž• Add template functions to their context

    • ๐Ÿ›  Fix leaking memory by removing a useless assignment

    • ๐Ÿ›  Fix leaking the memory of an entire Clang AST

    • ๐Ÿ–จ Ignore type maps when printing C++ for symbols

    • ๐Ÿ–จ Implement more accurate managed type printing in C++ type printer.

    • ๐Ÿ–จ Use a native type printer context when looking for type maps in CSharpSourcesExtensions.DisableTypeMap.

    • ๐Ÿ–จ Use explicit type printer when printing types in C# GenerateMethodSpecifier.

    • ๐Ÿ”จ Refactor CodeGenerator.GenerateMethodSpecifier to allow explicit specifier kind.

    • Do not check declaration access for explicitly generated declarations.

    • ๐Ÿ›  Fix TranslationUnit.FileRelativeDirectory to be more robust against null include paths.

    • ๐Ÿ›  Fix formatting to of Declaration.GenerationKind to ease debugging.

    • Ignore implicitly deleted copy constructor methods.

    • Correctly marshal constant arrays in C++/CLI (#1346)

    • Marshal pointer to primitive typedefs in C++/CLI (#1355) - Ali Alamiri [email protected]

    • ๐Ÿ›  Fix a regression when renaming classes

    • ๐Ÿ›  Fix naming conflicts with nested types and members

    • publish the clang lib folder - Ali Alamiri [email protected]

    • ๐Ÿ“œ Implement basic support for parsing function-like macros.

    • ๐ŸŒ Implement TranslationUnit.ToString() to help with debugging.

    • โž• Add debug option and flags to the Premake build and compile scripts.

    • Generate valid C# for parameters typedef-ed to mapped types

    • โšก๏ธ Update the version of Mono used for builds (CI)

    • ๐Ÿ›  Fix the regressed C# marshalling of char*

    • ๐Ÿ– Handle pointer to pointer param (#1343) - Ali Alamiri [email protected]

    • ๐Ÿ– Handle returned pointers to std::vector in C++/CLI - Ali Alamiri [email protected]

    • Implement abstract templates to call virtuals

    • ๐Ÿ–จ Correctly align printed information for debugging

    • Set the render kind of inline command comments

    • ๐Ÿ›  Fix all memory leaks in tests

    • Generate by ref parameters of type a pointer to enum

    • ๐Ÿ‘‰ Use UnsupportedType description for type name instead of empty string (#1339) - Ali Alamiri [email protected]