Commit Graph

23461 Commits

Author SHA1 Message Date
mattjala
ce99ebcc99
Clarify H5CX macro documentation (#4569) 2024-06-14 09:18:25 -07:00
mattjala
db4465f2e9
Document property shared name behavior (#4565) 2024-06-14 09:17:57 -07:00
mattjala
acbbf15202
Add property names to context field docs (#4563) 2024-06-14 09:04:49 -07:00
Allen Byrne
49219d9fce
Remove old version of libaec (#4567) 2024-06-14 09:03:00 -07:00
jhendersonHDF
4a0b1b66a5
Allow usage of page buffering for serial file access from parallel HDF5 builds (#4568) 2024-06-13 14:18:31 -05:00
Allen Byrne
539d1756e5
Add compression includes to tests needing zlib support (#4561) 2024-06-12 07:57:58 -05:00
mattjala
09fe0ba079
Document 'return-and-read' field in API context (#4560) 2024-06-12 07:57:38 -05:00
Allen Byrne
dca6370691
Move C++ and Fortran and examples to HDF5Examples folder (#4552) 2024-06-08 06:46:09 -05:00
Dana Robinson
f44fa558f2
Clean up off_t --> HDoff_t stragglers (#4555)
* off_t --> HDoff_t in test

* off_t --> HDoff_t in h5ls, h5dump, & h5repack

* Minor off_t tweak to configure.ac

* off_t --> HDoff_t fixes in src

This changes the type of the offset parameter in H5Pget_external()
to HDoff_t to match H5Pset_external(), along with other minor tweaks.

* off_t --> HDoff_t in C++ wrappers

* Fix off_t usage in Java wrapper
2024-06-07 17:25:06 -07:00
mattjala
0cd6a094ab
Correct property cb signatures in docs (#4554)
* Correct property cb signatures in docs
* Correct delete callback type name in docs
* add missing word to H5P__free_prop doc
2024-06-07 17:09:32 -07:00
bmribler
7f83faf9d9
Add Python examples (#4546)
These examples are referred to from the replacement page of https://portal.hdfgroup.org/display/HDF5/Other+Examples.
2024-06-07 17:03:05 -07:00
mattjala
c18f1fb5d9
Simplify property copying between lists internally (#4551) 2024-06-07 16:59:49 -07:00
Dana Robinson
5500743755
Fix CI markdown link check http 500 errors (#4556)
Sites like GitLab can have internal problems that return http 500
errors while they fix their problems. Some sites also return http
200 OK, which is fine.

This PR adds a config file to the markdown link check so those
are considered "passing" and don't break the CI.
2024-06-07 13:08:50 -07:00
mattjala
c1b3255c69
Fix typos in context/property documentation (#4550) 2024-06-07 09:04:40 -07:00
Allen Byrne
1dc0b67715
Adjust h5repack userblock option to allow reserve size (#4544) 2024-06-05 16:18:12 -05:00
Scot Breitenfeld
5e591ab4da
Export HDF5 version for CMake FetchContent'ed VOL connectors (#4548) 2024-06-05 16:17:40 -05:00
Philipp Oppermann
b698b484ae
Change type of offset arg in H5Pset_external to HDoff_t (#3505)
The `off_t` type is only 32-bit on Windows, which makes it impossible to link to higher offsets in large files.

The `H5O_efl_entry_t` struct defines its `offset` field already as `HDoff_t`, so no additional conversion is needed.
2024-06-04 14:16:27 -07:00
Allen Byrne
552510e906
Add option to use zlib-ng as zlib library (#4487) 2024-06-04 09:44:13 -07:00
jhendersonHDF
b823c1609d
Remove an unnecessary check for parallel and thread-safety from examples (#4543) 2024-06-03 15:10:19 -05:00
jhendersonHDF
3877c074bc
Export HDF5 parallel status for CMake FetchContent'ed VOL connectors (#4542) 2024-06-03 15:10:01 -05:00
bmribler
c8371caa6b
Fix various mistakes in doxygen docs (#4541)
* Fix a dead link and example file names

* Add the missing content of a section
2024-06-03 07:46:41 -05:00
dependabot[bot]
62274e4a49
Bump the github-actions group with 3 updates (#4538)
Bumps the github-actions group with 3 updates: [softprops/action-gh-release](https://github.com/softprops/action-gh-release), [ossf/scorecard-action](https://github.com/ossf/scorecard-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `softprops/action-gh-release` from 2.0.4 to 2.0.5
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](9d7c94cfd0...69320dbe05)

Updates `ossf/scorecard-action` from 2.3.1 to 2.3.3
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...dc50aa9510)

Updates `github/codeql-action` from 3.25.3 to 3.25.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d39d31e687...f079b84933)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-02 20:14:50 -07:00
Dana Robinson
5b366b3b7b
Remove julia CI actions (#4540)
These have been failing for a week or two for unclear reasons, both
in the Autotools and CMake. No obvious library changes triggered
this.

See GitHub issue #4539 for more info/discussion

The Julia tests will be disabled until the root cause is found.
2024-06-02 13:49:08 -07:00
Larry Knox
826bef160f
Fix a few function names in USAGE comments that don't match the actual (#4533)
* Fix a few function names in USAGE comments that don't match the actual
function names.

* Remove typo '['

* Switch to working url for api-compatibility-macros.html.
2024-06-02 13:27:27 -07:00
Quincey Koziol
12740af4a6
Refactor to reduce code duplication (#4531)
* Update error output w/new routine name
2024-05-30 22:12:30 -05:00
Quincey Koziol
fd6d4cd6ba
H5FDquery return value (#4530)
* Switch H5FDquery() return values to use library's FAIL / SUCCEED macros

* Update return value also
2024-05-30 22:11:29 -05:00
Peter Chang
421f935140
Fix wrong int type as some systems have int as 64-bit wide (#4534) 2024-05-30 22:09:50 -05:00
Scot Breitenfeld
aa696f01e5
Point to HDFGroup repository (#4535)
* point to HDFGroup repository

* updated checkout locations

* Fix incorrect and dead documentation link in
release_docs/RELEASE_PROCESS.md.

---------

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2024-05-30 20:37:52 -05:00
mattjala
acb9ca5f99
Fix typos in property callback documentation (#4532) 2024-05-30 07:48:15 -05:00
Allen Byrne
162e7d676d
Allow HDF5_LIB_INFIX to work with DLL (#4500)
* Allow HDF5_LIB_INFIX to work with DLL

* Separate individual library name into parts and add suffix option

* Java cannot use alternative names and removed extra setting

* Incorporate the underscore into the CORE name
2024-05-28 08:27:15 -07:00
H. Joe Lee
8873e17e88
Fix function name in USAGE for H5Pencode2() (#4519) 2024-05-28 08:26:13 -07:00
Allen Byrne
3bd8159ccd
Disable UNITY_BUILD for now - globally (#4515) 2024-05-25 06:25:45 -05:00
Dana Robinson
0ae9c7021a
Move/rename libhdf5.settings input files (#4525)
Move without other changes:

src/libhdf5.settings.in -> src/libhdf5.settings.autotools.in
config/cmake/libhdf5.settings.cmake.in -> src/libhdf5.settings.cmake.in
2024-05-24 15:59:52 -05:00
mattjala
d3f5e07b1e
Fix typo in DAPL callback documentation (#4523) 2024-05-24 07:41:07 -05:00
mattjala
379634872d
Use old requests version in REST VOL workflow (#4520) 2024-05-23 15:35:57 -07:00
jhendersonHDF
8897e25b00
Fix spelling (#4522) 2024-05-23 16:44:33 -05:00
Quincey Koziol
fcfab6f483
Don't update 'pos' and 'op' fields when using pread/pwrite (#4492)
Instead of reading the absolute minimal possible, use the likely value of
a v2+ superblock w/8-byte addresses & lengths.
2024-05-23 08:38:18 -07:00
Allen Byrne
4fa004e73a
Set H5 specific vars immediately if legacy find (#4512)
* Set H5 specific vars immediately if legacy find

* Correct find process vars (vs in-line build)

* Correct SZIP find

* Everything is libaec 1.0.6 or newer

* Correct option help text
2024-05-22 15:11:37 -05:00
bmribler
b6b7f547be
Fixed link to Filters page. (#4514)
Forum post #12321
2024-05-22 04:10:29 -07:00
H. Joe Lee
8e3678170e
Remove trailing extra whitespace in hyperlink (#4509) 2024-05-21 11:10:30 -07:00
Allen Byrne
69a4e7d68f
Correct examples tests to just run under dynamic analysis (#4505) 2024-05-21 07:48:47 -07:00
Allen Byrne
89354c0f66
Fix daily-build CI and correct use of *_FOUND settings for filters (#4504) 2024-05-20 14:58:10 -05:00
Dana Robinson
baec5ff88a
Fix/revert a libtool sed hack (#4501)
* Revert "Remove Autotools sed hack (#3848)"

This reverts commit 8b3ffdef30.

* Fix libtool sed cleanup on MacOS

Convert sed -i line to sed > libtool.bak && mv libtool.bak libtool
to avoid non-portable -i option.
2024-05-20 08:37:01 -05:00
vchoi-hdfgroup
757ca525a7
Fix for github Issue #1388 can't delete renamed dense attribute with corder tracking enabled (#4462)
* Fix for github issue #1388: can't delete renamed dense attribute with corder tracking enabled

The problem occurs in step 3(b) below which will delete the attribute with corder x
from the creation order index v2 B-tree.

The rename sequence in H5A__dense_rename() occurs in the following order:
1) The old attribute with corder x was removed from the creation order index v2 B-tree
2) The new renamed attribute was inserted via H5A__dense_insert():
(a) insert the attribute with new name j into the name index v2 B-tree
(b) insert the attribute with corder x into the creation order index v2 B-tree
3) The old attribute was removed via H5A__dense_remove():
(a) remove the attribute with old name k from the name index v2 B-tree
(b) remove the attribute with coorder x from the creation order index v2 B-tree

Fix: deactivate the "corder_bt2_addr" field so that H5A__dense_remove()
won't delete the attribute with corder x from the creation order index v2 B-tree.
2024-05-17 11:05:27 -05:00
Quincey Koziol
74c7cdb2b7
Improve spec. reading superblock into cache (a little) by using v2 size (#4491)
* Improve spec. reading superblock into cache (a little) by using v2 size

Instead of reading the absolute minimal possible, use the likely value of
a v2+ superblock w/8-byte addresses & lengths.
2024-05-17 08:30:30 -05:00
Scot Breitenfeld
510b728ebd
Release asset tarballs with no version filenames (#4494) 2024-05-17 08:26:54 -05:00
vchoi-hdfgroup
6c16791b5a
Fix for github issue #2220. (#4497)
Document the limitation in the Passthrough Conncector section of the VOL Connector Author Guide.
The limitation is posted by Neil in the github issue on Dec 22, 2022.
2024-05-17 08:19:04 -05:00
Allen Byrne
712ca2e7e4
Only one version of binaries is produced for platforms (#4496) 2024-05-17 08:15:51 -05:00
Allen Byrne
22253a9282
Remove unnecessary fortran install (#4498) 2024-05-17 08:14:51 -05:00
Quincey Koziol
2c2e39c72f
Disable EOF checks for SWMR readers in more cases. (#4489)
Fixes a race condition where the reader opens the file and sets its EOF from the
file's size (from the stat() call in the driver open callback).  Then, before
the reader can read the file's superblock, a SWMR writer races in, extends the
file, and closes the file, writing an updated superblock with the 'writer' and
'SWMR writer' flags in the superblock off (appropriately).  Then the reader
proceeds to read the superblock, and flags the EOF as wrong.  Taking out the
check for the 'writer' and 'SWMR writer' flags will cause SWMR readers to avoid
flagging the file as incorrect.
2024-05-15 13:55:30 -05:00