Skip to content

Releases: MochiLibraries/ClangSharp.Pathogen

v0.0.4

10 Jun 19:23
80f0796
Compare
Choose a tag to compare

ClangSharp.Pathogen v0.0.4 Sponsor

This release upgrades ClangSharp.Pathogen from Clang 12.0.1 to 14.0.4.

v0.0.3

24 Jan 13:51
328cede
Compare
Choose a tag to compare

ClangSharp.Pathogen v0.0.3 Sponsor

This is a minor bugfix release to address an issue where pathogen_ComputeConstantValue would erroneously report certain constants as null pointer constants.

v0.0.2

06 Dec 17:26
abc6e18
Compare
Choose a tag to compare

ClangSharp.Pathogen v0.0.2 Sponsor

This release adds additional data to PathogenMacroInformation:

  • IsUsedForHeaderGuard – Whether the macro was used as a header guard (according to Clang's heuristics.)
  • TokenCount – The number of replacement tokens associated with the macro's value. (Really only useful for checking if a macro has a value or not.)
  • RawValueSourceString – The value of the macro as C++ source. This is not exactly the same as written in source since whitespace is discard by Clang by the time we read it. For example, #define TEST ( 3226 ) has a RawValueSourceString of (3226)

v0.0.1

30 Nov 05:54
0c70032
Compare
Choose a tag to compare

ClangSharp.Pathogen v0.0.1 Sponsor

ClangSharp.Pathogen now publishes packages for Linux ARM64 and macOS x64. To accommodate for this, the overall organization of the NuGet packages has changed. Details can be found in the commit message of 91e442b, but in short:

  • The Clang resources are now published in a separate package: ClangSharp.Pathogen.ClangResources.
  • ClangSharp.Pathogen.Runtime was replaced by multiple ClangSharp.Pathogen.Native.<rid> packages. Where <rid> is the .NET RID for the native runtime. (We currently publish win-x64, linux-x64, linux-arm64, and osx-x64 packages.)
  • ClangSharp.Pathogen no longer references a native runtime. You need to add the appropriate ClangSharp.Pathogen.Native.<rid> package for your platform.
    • The old method of including every native runtime is less palatable now that we have four different runtimes and they weigh in at around 100 MB each. NuGet unfortunately doesn't have a great way to declare platform-specific dependencies.
    • You can see how we currently handle this in Biohazrd here: MochiLibraries/Biohazrd@e367796
  • Since we can no longer rely on NuGet to do it for us, version compatibility enforcement is now enforced by an MSBuild target.

v0.0.0

07 Sep 10:40
60e89d9
Compare
Choose a tag to compare

ClangSharp.Pathogen v0.0.0 Sponsor

This is the initial NuGet.org release of ClangSharp.Pathogen.