Commit Graph

23437 Commits

Author SHA1 Message Date
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
bmribler
773d6f970f
Add a missing image from the original document (#4490) 2024-05-15 13:54:48 -05:00
Neil Fortner
6203a4455e
Properly clean up cache when failing to load an object header (#4477)
* Properly clean up cache when failing to load an object header

* Don't check message type a second time in H5G__open_oid if the first attempt returns error

* Add more asserts to H5O__assert() to avoid segfaults

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-14 12:18:35 -05:00
Scot Breitenfeld
fe0df13115
Add H5fortkit dependecy for H5Rff.F90 (#4482) 2024-05-14 11:10:43 -05:00
Allen Byrne
70ed0533a9
Remove env step not used by CI in testing (#4476) 2024-05-13 09:09:25 -07:00
Scot Breitenfeld
559f28a7c4
point to HDFGroup repository (#4480) 2024-05-13 09:04:57 -07:00
vchoi-hdfgroup
8817b5b424
Fix github issue #2523: doxygen -- fix grammatically incorrect sentence alias (#4474) 2024-05-13 07:55:22 -05:00
Julien Schueller
ea76013648
H5Group: Fix operator= (#4473)
Closes #4472
2024-05-10 16:30:19 -05:00
jhendersonHDF
ac7b5ce314
Fix an issue where compound datatype member IDs can be leaked during conversion (#4459)
Also fixes issues with handling of partially initialized datatypes during library shutdown
2024-05-10 16:28:53 -05:00
Allen Byrne
f17ca5689e
Update for blosc2 in plugins and prefix hdf5 cmake varnames (#4468) 2024-05-10 13:01:28 -05:00
Julien Schueller
239d2f849d
CMake: Fix mingw/fortran build (#4466) 2024-05-10 12:33:55 -05:00
bmribler
18321dee40
Fix typo in H5Rget_obj_type (#4470)
Issue GH-1723
2024-05-09 13:20:17 -07:00
Quincey Koziol
2b5769e2a2
Refactor error handling code to eliminate internal ID calls (#4453)
All calls to the H5I routines are now made in API routines (sometimes in
FUNC_ENTER/LEAVE_* macros), except for some calls to H5E_clear_stack() within
the library, but I'm planning to remove those over time.

Also, made all the library internal error messages into static const variables,
instead of malloc'ing them, which means that they can just be referenced
and not copied.

Several new and updated auto-generated header files were necessary to enable
this.
2024-05-09 07:41:57 -07:00
Julien Schueller
c2099d0e70
win32defs: Fix Wundef warning (#4467) 2024-05-09 07:38:08 -07:00
Allen Byrne
9ad5f7e3a9
Use ADD_H5_ERR_TEST to not compare output (#4464) 2024-05-06 16:33:09 -05:00
bmribler
815453a78f
Fix typo in H5Rget_obj_type (#4463)
Issue GH-1723
2024-05-06 08:32:02 -05:00
Allen Byrne
ea3a3a25f1
Remove use of err files in autotools test scripts (#4461) 2024-05-06 08:31:39 -05:00
jhendersonHDF
6114d1adfb
Fixes and cleanup for ph5diff (#4460)
* Fixes and cleanup for ph5diff

Fixes concurrency issues in ph5diff that can cause interleaved
output

Fixes an issue where output can sometimes be dropped if it ended
up in ph5diff's output overflow file

Fixes an issue where MPI_Init is called after HDF5 has been
initialized, preventing the library from setting up an MPI
attribute to perform cleanup on MPI_Finalize

Fixes an issue in config/cmake/runTest.cmake where the CMake
logic would try to access an invalid list index if the number
of lines in a test's output and reference files don't match

* Add release note
2024-05-03 15:00:15 -05:00
Quincey Koziol
e4f079e27b
Clean up memory leaks in t_vfd (#4457) 2024-05-03 03:31:38 -07:00
Quincey Koziol
63fcd583d0
Removed "function/code stack" debugging configure option (#4454)
Easily replaced w/third-party tools, e.g. libbacktrace
(https://github.com/ianlancetaylor/libbacktrace)
2024-05-03 03:30:45 -07:00
Allen Byrne
1b6ae84d15
Convert ERR test to use grep (#4451)
* Convert ERR test to use grep
* Eliminate use of .err files in CMake
* Show error output if grep fails
* Turn off cuda in NVHPC CI
2024-05-03 03:29:53 -07:00
Scot Breitenfeld
dfc6295c1d
Fixed failures with xl compilers. (#4458)
* type cast constant

* fixed return types
2024-05-02 15:33:20 -05:00
dependabot[bot]
0da5af4737
Bump the github-actions group with 3 updates (#4455)
Bumps the github-actions group with 3 updates: [actions/download-artifact](https://github.com/actions/download-artifact), [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/download-artifact` from 4.1.4 to 4.1.7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](c850b930e6...65a9edc588)

Updates `peaceiris/actions-gh-pages` from 3.9.3 to 4.0.0
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](373f7f263a...4f9cc6602d)

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

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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-05-02 05:33:32 -07:00
Quincey Koziol
76211b2c81
Fix bug in MPI-IO VFD (#4456)
Corrects incorrect usage of the vector_was_sorted parameter in H5FD__mpio_vector_build_types()
2024-05-02 05:23:52 -07:00
H. Joe Lee
eeaee6df62
Fix grammar in VOL guide (#4452) 2024-05-02 05:06:45 -07:00