Commit Graph
24375 Commits
Author SHA1 Message Date
jhendersonHDF 88b1ee8cc9 Add missing directory to signed files (#6313) 2026-03-24 14:05:55 -05:00
jhendersonHDF e31194650f Suppress verbose testing output when testing with CMake presets (#6312) 2026-03-24 14:05:36 -05:00
Scot Breitenfeld 67c2b782b9 Fix unbounded writes in h5repack_opttable.c: (#6303)
Replace all strcpy calls copying into fixed-size path buffers with snprintf to prevent buffer overflows. Also simplify the path prefix check and the empty-string initialization.

Fixes 6 critical CodeQL cpp/unbounded-write alerts.
2026-03-20 12:55:42 -05:00
Scot Breitenfeld 05758a6168 Security hardening (#6302)
Addresses CodeQL issues (Critical and High).
2026-03-18 22:32:03 -05:00
jhendersonHDF 39d7b764d3 Update paths-ignore for 'push' events in workflows (#6298) 2026-03-18 14:06:29 -05:00
jhendersonHDF 353da6cce4 Fix some filters testing issues (#6299) 2026-03-18 12:35:43 -05:00
scivisionandscivision 7f79a4e3c7 bugfix: install Find{libaec,ZLIBNG}.cmake (#6301)
Before this, error on install when using HDF5 via FetchContent
as CMAKE_SOURCE_DIR pointed to parent project

Co-authored-by: scivision <scivision@users.noreply.github.com>
2026-03-18 12:07:49 -05:00
Gerd Heber c165f2838d Add MIME Type (#6296)
* Update README.md

Added MIME badge

* Update README.md

Fix the link.
2026-03-17 14:50:09 -05:00
Scot Breitenfeld 262802ec36 Outlines security policy (#6199)
* Updated SECURITY.md to meet OSSF Badge Standard
* Disable CodeQL on MD file changes
* Updated version support policy
* Suppress non-constant format string CodeQL alerts

Exclude cpp/non-constant-format and cpp/uncontrolled-format-string
rules. All flagged uses are intentional format-string-as-template
patterns for family file naming (%d) and configurable output
formatting (%g), not security vulnerabilities.
* Add justification comments for CodeQL exclusions
* Harden CI workflows: pin actions to SHAs and apply least-privilege permissions
- Pin all third-party actions to commit SHAs in codeql.yml and arm-main.yml
- Add top-level permissions: contents: read to codeql.yml and markdown-link-check.yml
- Move contents: write from top-level to job-level in daily-schedule.yml

* Exclude non-security CodeQL rules and tainted-format-string false positives
- Add cpp/tainted-format-string to exclusions (same justification as
  existing format string rules: bounded snprintf with app-controlled formats)
- Exclude code style rules with no security severity: cpp/long-switch,
  cpp/guarded-free, cpp/commented-out-code, cpp/use-of-goto
- These 350+ alerts are structural C patterns inherent to HDF5, not vulnerabilities

* Add OpenSSF Best Practices badge to README.md
2026-03-17 11:42:07 -05:00
Larry Knox 8f2ee48e8f Add 2.1.0 CHANGELOG to HISTORY-2.X.md and set release default to draft. (#6291)
* Add 2.1.0 CHANGELOG to HISTORY-2.X.md.
Set release default to draft.

* Updated CHANGELOG.md Executive Summary "Important" section similar to
that in HDF5 2.1.0 release.
2026-03-17 09:27:10 -05:00
SY Wang 10b9801642 Fixes #6171 (#6218)
* Generate "Extra libraries" in `libhdf5.settings` using a new variable `LINK_LIBS_SETTINGS` rather than `LINK_LIBS`
* Follow up to #6220
* Try to deal with Windows MSVC
2026-03-16 17:10:34 -05:00
Gerd Heber 3f79bc525b Updates/20260312 (#6289)
* Fixed RFC link
* Removed the distracting example displays.
2026-03-16 16:06:16 -05:00
jhendersonHDF 5a11a79fc4 Improvements to CMake logic for handling filters (#6287)
* Re-write zlib/szip CMake logic for clarity

* Update external libaec, zlib-ng and zlib builds to not use patching process

* Add FindZLIBNG module to locate zlib-ng on system

* Rework HDF5 filter plugins support
2026-03-16 13:46:48 -05:00
Neil Fortner 950f47492f Improve performance of H5Ovisit with deeply nested groups (#6272)
Improve performance of H5Ovisit (and H5Ocopy, and functions that
retrieve and object name) by passing more information about the visited
object from the underlying H5G_visit routine to these callbacks.
Introduced an internal object callback for H5G_visit to facilitate this.
H5Ovisit1 and potentially H5Ovisit2 are still slow with deeply nested
groups due to the way these deprecated functions interact with the VOL
layer.
2026-03-13 13:51:24 -05:00
H. Joe Lee 2edccfd787 chore: change man page 3c to 3 (#6286)
Match the convention:
https://github.com/HDFGroup/hdf5/blob/develop/doxygen/dox/code-conventions.dox
2026-03-13 11:23:03 -05:00
H. Joe Lee c2d673ba23 chore: rename README to README.md in .h5chkright.ini (#6277)
`README` doesn't exist any more.
2026-03-13 11:20:26 -05:00
bmribler 22d27e1bab Made URL correction per latest decisions (#6283) 2026-03-11 11:21:14 -05:00
phfix 1dda3c51ad test/cache_api: avoid false rpt_fcn pointer mismatch on Windows (#6274)
* test: avoid false function-pointer mismatch for rpt_fcn on Windows
* test: relax rpt_fcn comparison for MinGW
2026-03-10 16:14:46 -05:00
Alex Dutka a37ac086ae Simplify MPI configuration in CMake (#6145)
* Remove outdated MPI_CXX_FOUND check

* Remove redundant MPI_C_FOUND check
2026-03-10 07:07:59 -05:00
jhendersonHDF 3e336bf150 Fix compilation issue when H5_TOOLS_DEBUG is defined (#6256) 2026-03-10 06:58:33 -05:00
jhendersonHDF 1e297354fd Delete release_docs/release_archive.txt (#6276) 2026-03-10 06:57:29 -05:00
Scot Breitenfeld 71763e74e7 Skip building Doxygen when no documentation inputs have changed (#6245)
Optimize Doxygen build process by skipping rebuilds when input files are unchanged, using timestamp checks in CMake configuration.

Behavior:
Skip Doxygen build if input files unchanged using timestamp check in CMakeLists.txt, hl/src/CMakeLists.txt, and src/CMakeLists.txt.
Introduces stamp files (hdf5lib_doc.stamp, hdf5hllib_doc.stamp) to track changes.
Documentation:
add_custom_command and add_custom_target used to manage Doxygen builds.
Shared Doxygen content inputs defined in top-level CMakeLists.txt for reuse.
Misc:
Reorder add_subdirectory(src) in CMakeLists.txt for visibility of Doxygen variables.
2026-03-10 06:56:39 -05:00
Aleksandar Jelenak 1adafbdc30 Convert several .txt in release_docs folder to Markdown (#6263) 2026-03-08 13:11:39 -05:00
H. Joe Lee 7a8017284d chore: fix typos (#6273) 2026-03-06 16:06:37 -06:00
H. Joe Lee 9bd7c5f3d9 docs: add "later versions" to comment in file-locking.dox (#6241) 2026-03-06 16:06:01 -06:00
H. Joe Lee eff101bffe style: update hdf logos (#6265)
close #6258
2026-03-06 09:47:04 -06:00
H. Joe Lee 4f79f8879f chore: improve help message consistency (#6253)
All other options start with `Print`.
2026-03-05 11:58:50 -06:00
dependabot[bot] 9849bda32a Bump the github-actions group with 9 updates (#6255)
| Package | From | To |
| --- | --- | --- |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `7.0.0` | `8.0.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `6.0.0` | `7.0.0` |
| [lukka/get-cmake](https://github.com/lukka/get-cmake) | `4.2.1` | `4.2.3` |
| [fortran-lang/setup-fortran](https://github.com/fortran-lang/setup-fortran) | `1.8.1` | `1.9.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.32.2` | `4.32.4` |
| [azure/trusted-signing-action](https://github.com/azure/trusted-signing-action) | `0.5.11` | `1.1.0` |
| [cygwin/cygwin-install-action](https://github.com/cygwin/cygwin-install-action) | `2566376092c4e280f21131be027af3f5bb2420a4` | `b09c8ce7e6add6720f12f30042d7c972cf4a75ec` |
| [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) | `2.7.0` | `2.8.0` |
| [vmactions/openbsd-vm](https://github.com/vmactions/openbsd-vm) | `1.3.4` | `1.3.6` |
2026-03-05 11:58:01 -06:00
Lori Cooper 872a4d179a Minor changes for the migration guide (#6266)
Provided a link back to The HDF Group's consulting and contact us pages, added a link for the forum post reference, and added U.S. in the NSF acknowledgement text.
2026-03-05 10:58:37 -06:00
Gerd Heber e9519a5680 Update DOI link in README.md (#6271)
This DOI represents all versions and will always resolve to the latest one.
2026-03-05 09:39:15 -06:00
jhendersonHDF 81326fd1d6 Remove 'set -e' from Maven testing scripts (#6262) 2026-03-04 16:26:50 -06:00
Scot Breitenfeld 6e7fec1cc2 Update release progress badges to use Priority-based categorization (#6270)
* Update release progress badges to use Priority-based categorization

- Replace "Release Blockers"/"Release Must Do" with "Critical Priority"/"High Priority"
- Switch issue filtering from Release gating field to Priority field (P0 - Critical/P1 - High)
- Remove "Nice to Have" badge from workflow and README
- Add failure step: on workflow error, update both badge gist files to bright
  purple (BF00FF) with "FAILURE" message
- Version auto-detected from src/H5public.h for milestone filtering

* Fix stale class docstring: release blocker -> priority issue
2026-03-04 16:11:52 -06:00
bmribler 889e48b655 Changes release page to 2.1.0 (#6221) 2026-03-04 10:13:42 -06:00
jhendersonHDF 4d85efdcd2 Remove concurrency group setting from AOCC workflow (#6254) 2026-03-03 06:59:48 -06:00
Matt L fbb9049ba5 Update documentation for heap ID and vlen data (#6246) 2026-03-01 07:19:26 -06:00
Scot Breitenfeld 322b30b6e8 Fix POSIX header guard to include _WIN32 for Intel icx on Windows (#6244)
Intel's icx compiler defines _WIN32 (with underscore) but not WIN32,
causing unistd.h and other POSIX headers to be incorrectly included
on Windows builds.
2026-03-01 07:19:05 -06:00
jhendersonHDF 757bc31319 Update AOCC workflow concurrency group (#6237)
Prevent AOCC workflows from being cancelled when pushes are made
to develop branch on merge of PRs
2026-02-27 12:45:42 -07:00
Scot Breitenfeld ceb978cdcd workflow will no longer post that maven comment to PRs (#6238) 2026-02-26 11:07:18 -06:00
H. Joe Lee 4fbdc01b2a chore: fix typo (#6240)
`aws-c-library` -> `aws-c-s3 library`
2026-02-26 09:22:43 -06:00
Guido Imperiale b074586d9e Apply filters to variable-length data (#6178)
Closes can_apply and set_local filter callbacks skipped for H5T_VARIABLE dtypes #5942. A more detailed explanation of the rationale for this PR is in the linked issue.

Mandatory filters can be now applied to variable-length data. This notably includes h5py object strings and NpyStrings.

Optional filters applied to variable-length data no longer skip can_apply and set_local, only to jump directly to filter. This fixes hdf5_blosc and HDF5_Blosc2, which rely on set_local. Note that all filters which have neither can_apply nor set_local have always worked fine with vlen data, as long as they were tagged as optional. Notable examples are deflate, lzf, bzip2 (from hdf5plugin), and lz4 (also from hdf5plugin).

Lossy filters, such as scale-offset, are and remain untested and most likely broken, as I expect them to treat the vlen metadata as numbers and corrupt it. The right place to ensure proper behaviour is their can_apply function, which however is broken (filters: can_apply does nothing for optional filters #6161).
2026-02-24 17:05:58 -06:00
Scot Breitenfeld a7ec64a857 Split static targets into separate optional target [UPDATED] (#6216)
Build-tree exports can't diverge from install-tree exports — the export(EXPORT ...) reads directly from the install export sets. No manual list to keep in sync.

Removed 3 global variables (HDF5_STATIC_LIBRARIES_TO_EXPORT, HDF5_JAVA_LIBRARIES_TO_EXPORT, HDF5_UTILS_TO_EXPORT) and their ~21 set_global_variable calls across tool/utility files.

Fixed the static-only build bug in the PR where the base export set was guarded by BUILD_SHARED_LIBS, breaking tools export.

Removed redundant utils in export files — the PR was dumping tools into all three build-tree export files (java, static, shared). Now they correctly appear only in the base export.
2026-02-24 17:04:25 -06:00
H. Joe Lee 3bd0f17857 chore: fix grammar (#6227) 2026-02-24 11:04:22 -06:00
jhendersonHDF 3f4d26f90a Skip some parallel example tests for small MPIEXEC_MAX_NUMPROCS values (#6224) 2026-02-23 14:57:10 -06:00
jhendersonHDF 4b1f87332b Suppress some CMake dev warnings for lower message log levels (#6228) 2026-02-23 11:27:14 -06:00
Larry Knox 6349c0426e Add ZLIB_USE_EXTERNAL/SZIP_USE_EXTERNAL for CMakePresets to replace force-setting removed from CMakeFilters.cmake. (#6222) (#6231)
removed force-setting in CMakeFilters.cmake.
2026-02-23 05:09:43 -06:00
Harish RS 33510a52e4 Enable Windows ARM64 CTest CI for release binaries (#6177)
* ci: add Windows ARM64 MSVC CTest job

* ci: add MSYS2 clangarm64 build on Windows ARM64

* cmake: add MSVC ARM64 presets for Windows

* zlib: fix MSVC static library flags for ARM64 builds
2026-02-20 11:04:00 -06:00
Martin Diehl fd72abbbbc Consistent extension for C++ (#6214)
Except for this file, all use cpp instead of cxx. No obvious reason why
the same file types should have different extensions.
2026-02-20 08:59:27 -06:00
jhendersonHDF 5f430099e9 Add CMake function to extract pkg-config info from libraries (#6220) 2026-02-18 12:12:34 -07:00
jhendersonHDFandLarry Knox 920bbeb59a Truncate Subfiling VFD's stub file when truncating subfiles (#6210)
Ensure that the Subfiling VFD's stub file gets truncated when subfiles are
being truncated to avoid a potentially unreadable file when the EOF doesn't
match the stored EOF value

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2026-02-18 12:09:44 -07:00
jhendersonHDF 5de837660f Remove force-setting of ZLIB_USE_EXTERNAL / SZIP_USE_EXTERNAL (#6222)
Removes the force-setting of ZLIB_USE_EXTERNAL and SZIP_USE_EXTERNAL to
ON when HDF5_ALLOW_EXTERNAL_SUPPORT is GIT or TGZ so that zlib and
szip can be independently built from the system or externally as desired
2026-02-18 11:47:40 -07:00