Repository navigation
Report linked dependency versions and provenance - #169
Merged
Merged
Conversation
danoli3
force-pushed
the
feat/dependency-info
branch
from
October 15, 2026 05:03
9de0706 to
4f391e6
Compare
This was referenced Oct 15, 2026
This was referenced Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add FreeImage_GetDependenciesCount and FreeImage_GetDependencyInfo as a small additive C API inspired by FreeImageRe's dependency reporting. Each entry provides library name, compile-time version, runtime version where available, and system/bundled provenance. Keep FreeImage_GetVersion unchanged.
Unknown versions remain null rather than being guessed. JPEG's compiled field explicitly identifies its API level; OpenEXR/Imath are compile-time-only currently. Version strings are immutable and borrowed for library lifetime. Optional libraries are conditional on the build; JPEG XL reporting activates when its separate feature PR is merged. Invalid indices/null outputs fail without changing caller data. Document combining this with existing format-capability queries.
Validation: macOS C++11 build, then a C++17 build with bundled OpenEXR and optional system libheif; all five applicable CTest suites pass. New tests query every entry, check stable borrowed strings and invalid arguments. Both CMake and legacy make source lists include the new implementation. Existing cross-platform and system-package CI exercise the remaining configurations.
PR stack
Depends on #168; base branch is
feat/jpeg-xl. Next: #170.#165 → #166 → #167 → #168 → #169 → #170 → #171
Merge bottom-up. Each PR diff is relative to its predecessor. Combined stack validation passed locally: 10 CTest suites with ASan, 9 in a shared build, 6 with both optional codecs disabled, plus all four Python/NumPy test groups. GitHub CI reruns after the branch rewrite.