Commit Graph
24391 Commits
Author SHA1 Message Date
H. Joe Lee 10509b079d ci: update NVHPC version to 26.3 (#6335)
Updated NVERDOT and NVERDASH environment variables to version 26.3.
2026-03-31 17:03:12 -06:00
Scot Breitenfeld 05676d1abe Consolidate documentation under docs/ directory (#6310)
* Consolidate documentation under doc/ directory

Move user-facing guides from release_docs/ and doxygen/ into a single
doc/ root. release_docs/ now holds only release artifacts (changelogs,
history, release process, maintainer info).

- git mv release_docs/INSTALL*.md, USING_*.md, README_HPC.md,
  BuildSystemNotes.md, AutotoolsToCMakeOptions.md,
  HDF5_Library_2.0.0_Migration_Guide.md → doc/
- git mv doxygen/ → doc/doxygen/
- Update CMakeLists.txt: HDF5_DOXYGEN_DIR and add_subdirectory path
- Update CMakeInstallation.cmake: all install paths for moved files
- Update bin/make_vers: hardcoded doxygen/ path substitution
- Update doc/doxygen/CMakeLists.txt: EXAMPLES_DIRECTORY and comments
- Update README.md, CONTRIBUTING.md, SECURITY.md, config/README.md,
  release_docs/RELEASE_PROCESS.md: links to moved files
- Update doxygen .dox files: release_docs/ URLs for moved guides
- Rewrite release_docs/README.md for narrowed scope

* Add HDF5_DOCS_DIR variable for doc/ root path

Introduce HDF5_DOCS_DIR = \${HDF5_SOURCE_DIR}/doc so that
CMakeInstallation.cmake and future callers reference the doc/
directory symbolically rather than by hardcoded path.
HDF5_DOXYGEN_DIR is now derived from HDF5_DOCS_DIR.
2026-03-31 17:01:54 -06:00
H. Joe Lee 9ba9b7153f build: avoid using a fixed version in HDF5_Examples.cmake.in (#6328) 2026-03-31 16:00:13 -05:00
jhendersonHDF ceca851a0d Fix more undefined behavior issues (#6330) 2026-03-31 14:14:18 -05:00
vchoi-hdfgroup 4614d0b30f Fix for issue #6325: fix 'Page Bits' field size in Extensible Array Indexing information which is embedded within the data layout message. (#6333) 2026-03-30 16:37:05 -05:00
Scot Breitenfeld 05737ece7f H5DSget_label_f returned size fixed (#6327)
* fixed assignment of size in the wrapper

* Call H5DSget_label directly from Fortran wrapper

Replace the intermediate C wrapper h5dsget_label_c with a direct
bind(c) call to H5DSget_label from H5DSget_label_f. This eliminates
the malloc/free of a temporary buffer and the associated failure path
where size was incorrectly set when H5DSget_label failed. The Fortran
wrapper now handles the C-to-Fortran string conversion (equivalent to
HD5packFstring) by blank-padding the buffer from the returned label
length to the end.

* Remove unused h5dsget_label_c C wrapper
2026-03-30 15:45:25 -05:00
jhendersonHDF 8f960cae4b Fix display of '--' options in documentation (#6318)
* Fix display of '--' options in documentation

* Fix more formatting
2026-03-30 10:49:23 -05:00
bmribler 3494822b95 Fixed the RFC link to the signed plugin RFC again (#6329)
Link checker can't access the acm url, hence will fail.  The change in
this PR is a workaround to provide the url but prevent the link checker
from accessing it.  Please do not add https://.
2026-03-29 15:48:05 -05:00
jhendersonHDF ff4eaf31d1 Fix several undefined behavior issues noted by UBsan (#6319)
Disable float16 support for undefined sanitizer workflow for now as it
causes a crash in UBSan
2026-03-27 16:08:19 -05:00
jhendersonHDF 2952bb9216 Mark several CMake variables as advanced (#6321) 2026-03-27 11:30:23 -05:00
bmribler f770dade75 Updated release specific page (#6323) 2026-03-27 11:29:52 -05:00
jhendersonHDF 0c734cbe80 Fix cache image testing issues and re-enable testing (#6311)
Fix issue where chunked datasets could get setup with an incorrect
chunking index type in parallel HDF5

Fix issue where metadata cache images with an undefined address
and size of 0 couldn't be properly decoded

Fix issue where a flag in H5Cimage.c wasn't getting set correctly
for release builds of the library, leading to incorrect error
checking when reconstructing metadata cache entries
2026-03-27 11:29:18 -05:00
jhendersonHDF 994dbf6ea9 Document CMake options in a central location (#6294) 2026-03-27 09:43:24 -05:00
jhendersonHDF 9dbc54dcf6 Fix data alignment requirements check in direct I/O VFD (#6324)
During file creation, the direct I/O VFD only checked data alignment
requirements for writes and assumed they were the same for reads.
Checks are now performed separately for writes and reads. In order
to avoid EINVAL errors, the VFD is also now slightly more conservative
about when it tries to avoid performing extra work when data alignment
isn't required.
2026-03-26 20:47:42 -05:00
jhendersonHDF b4a5502e20 Restrict permissions for some created files (#6305) 2026-03-24 16:37:57 -05:00
Aleksandar Jelenak 216460d55a Minor Markdown formatting fix (#6308) 2026-03-24 14:55:42 -05:00
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