CppSharp v0.9.0 Release Notes

Release Date: 2019-03-01 // about 5 years ago
    • Extended the AST with C++ statements and expressions.

    • Made public the finding of enabled type maps by strings.

    • ๐Ÿ›  Fixed the renaming of properties with the same name as their owners.

    • Simplified the pass for properties.

    • Skip ignored bases in ClassExtensions.GetBaseProperty.

    • ๐Ÿ›  Fixed missing options copy in ParserOptions copy constructor.

    • ๐Ÿ Use MSBuild when building LLVM on Windows due to PDB issues with Ninja.

    • ๐Ÿ‘Œ Improve robustness when parsing types and decls.

    • ๐Ÿ›  Fixed indentation regressions.

    • โœ‚ Deleted useless output.

    • ๐Ÿ›  Fixed naming edge case in GenerateProperties.GetReadWritePropertyName.

    • โž• Added PrintModuleOutputNamespace option to CSharpTypePrinter.

    • ๐Ÿ›  Fixed extraneous new lines when generating multi-line comments.

    • Obsoleted all hand-written types for expressions.

    • ๐Ÿ“œ Use takeError() when handling errors in parsing libraries.

    • ๐Ÿ›  Fixed a crash with TranslationUnit.FileName property.

    • โž• Added ForceClangToolchainLookup option to force to use Clang's toolchain lookup code.

    • ๐Ÿ“œ Extract ParserOptions cloning code into a copy constructor.

    • ๐Ÿ‘Œ Improve ParserOptions.Verbose to print compiler arguments.

    • ๐Ÿ›  Fixed Options.DryRun to not generate any binding code.

    • โž• Added some helper methods in Enumeration to work with scoped enumerations.

    • โž• Added a parsing option to skip gathering of native layout info.

    • ๐Ÿ›  Fixed the generated C# when an instance method has a parameter named "instance".

    • ๐Ÿ›  Fixed the generated C# for const/non-const overloads with > 1 param.

    • ๐Ÿ›  Fixed the generated C# when a ref parameter is named after a keyword.

    • ๐Ÿ›  Fixed the generation for parameters of type void**.

    • ๐Ÿ›  Fixed the generated C# for indexers in templates specialized with void*.

    • ๐Ÿ›  Fixed the generated C# for template specializations of pointers.

    • ๐Ÿ›  Fixed the generated C# for const void*& in parameters.

    • ๐Ÿ›  Fixed the generated C# when returning a non-const char*.

    • ๐Ÿ›  Fixed the generated C# for parameters initialized with {}.

    • ๐Ÿ›  Fixed the generated C# when a template is specialized with T and const T.

    • ๐Ÿ›  Fixed the generated C# when an unsigned enum is assigned a negative value.