Commit Graph

23733 Commits

Author SHA1 Message Date
Allen Byrne
ac11d664db
unzip does not create extra dir (#4692) 2024-08-02 15:30:48 -05:00
jhendersonHDF
573c8bd4c9
Fix segfault when closing datatype during failure in H5Topen2 (#4683) 2024-08-02 14:49:22 -05:00
Allen Byrne
42095e32ef
Use filename in directory sync (#4691) 2024-08-02 13:27:57 -05:00
Allen Byrne
f8e82563e9
doxygen file is a zipfile (#4687) 2024-08-02 10:58:41 -05:00
dependabot[bot]
ef5dcd9a82
Bump the github-actions group with 5 updates (#4688)
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `4.1.7` | `4.1.8` |
| [DoozyX/clang-format-lint-action](https://github.com/doozyx/clang-format-lint-action) | `0.13` | `0.17` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `2.0.6` | `2.0.8` |
| [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.3.3` | `2.4.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `3.25.11` | `3.25.15` |


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

Updates `DoozyX/clang-format-lint-action` from 0.13 to 0.17
- [Release notes](https://github.com/doozyx/clang-format-lint-action/releases)
- [Commits](https://github.com/doozyx/clang-format-lint-action/compare/v0.13...v0.17)

Updates `softprops/action-gh-release` from 2.0.6 to 2.0.8
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](a74c6b72af...c062e08bd5)

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

Updates `github/codeql-action` from 3.25.11 to 3.25.15
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b611370bb5...afb54ba388)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: DoozyX/clang-format-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- 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-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...
2024-08-02 10:58:09 -05:00
Allen Byrne
1be198decf
Correct the properties for using THREADS library (#4690) 2024-08-02 10:57:20 -05:00
Allen Byrne
0f620e91be
CMake link line needs to use new HDF5_ENABLE_THREADS (#4685) 2024-08-01 22:29:44 -05:00
Allen Byrne
9dad0f9abc
Add file name argument to publish workflow (#4686) 2024-08-01 15:52:46 -05:00
Scot Breitenfeld
26f052c6f2
Warning fix (#4682)
* warning fix

* warning fix
2024-08-01 11:17:06 -05:00
Quincey Koziol
9fd88560d5
Refactor threading and other concurrency support (#4469)
Complete overhaul of the concurrency-related aspects of the library (threading, atomics, locking, etc.), adding private routines in the H5TS package to allow internal algorithms to use all of these capabilities.

Adds many new features & components in the H5TS package that are equivalent to common concurrency data structures and capabilities: "regular" and recursive mutices, condition variables, semaphores, thread barriers, 'once' support, thread pools, atomic variables, thread-local keys, and spawning & joining internal threads.

Now supports C11, pthreads, and Windows threading for all H5TS capabilities, except the recursive readers/writers lock, which is not supported on Windows (because Windows threads don't provide a callback on thread-local variable deletion).

The "global" API lock is switched to use a recursive mutex from the H5TS package, instead of its own variant.

API context code (H5CX package) and error stacks (H5E package) now use the common thread-local info, instead of their own variants.

Subfiling code is switched from using Mercury threading features to the new internal H5TS features.

Removes the mercury threading code.

Adds a configure option (--enable-threads / HDF5_ENABLE_THREADS), enabled by default, to control whether threading is enabled within the library.
2024-07-31 12:34:43 -05:00
Allen Byrne
d309a40325
Fix binary examples process (#4666) 2024-07-30 07:33:46 -05:00
Larry Knox
f54abf7032
Remove outdated line from Copyright header in new files. (#4676) 2024-07-29 12:57:36 -05:00
Larry Knox
bf8f944eac
Fix incorrect indentation for permissions. (#4669) 2024-07-25 07:22:58 -05:00
bmribler
9fd4fd0b58
Replace incorrect use of an internal function (#4668)
* Replace incorrect use of an internal function

In some API functions, the internal function H5I_object() was used instead
of H5I_object_verify(), which verifies the type of an ID argument.  So
when an inappropriate ID was passed in to the affected API, it was accepted.
This behavior can cause issues at a later time, including a segfault, as
reported in issue #GH-4656.

The fix was applied to the following functions:
H5Fget_intent()
H5Fget_fileno()
H5Fget_freespace()
H5Fget_create_plist()
H5Fget_access_plist()
H5Fget_vfd_handle()
H5Dvlen_get_buf_size()
H5Fget_mdc_config()
H5Fset_mdc_config()
H5Freset_mdc_hit_rate_stats()

Fixes GH-4662
2024-07-24 10:42:58 -05:00
Allen Byrne
6cf3389241
Add publish from branch workflow (#4664) 2024-07-22 09:24:13 -05:00
Allen Byrne
c67feed60b
publish msi binary (#4663) 2024-07-22 09:23:46 -05:00
Allen Byrne
1fafdc9da3
Fix the examples for testing java with binaries (#4660) 2024-07-19 10:07:39 -05:00
Dana Robinson
214b4897f9
Update README.md w/ 2.0 features 2024-07-19 02:35:49 -07:00
Allen Byrne
31eda22419
Correct name of zlib_ng option (#4658) 2024-07-17 23:03:26 -05:00
mattjala
a8dcba252e
Make VOL CI run against current branch (#4654) 2024-07-17 11:57:49 -05:00
Quincey Koziol
641790b759
Eliminate more H5E_BEGIN/END_TRY macros and H5E_clear_stack() calls (#4648) 2024-07-17 07:46:06 -05:00
Allen Byrne
b3e1d6b862
Fixed usage issue with FindZLIB.cmake module (#4655)
* Add a comment on the FindZLIB.cmake module usage

* Allow choice of static/shared compression libs for Find Module

* Added new option to INSTALL_CMake file and changed option text
2024-07-16 14:21:43 -05:00
Allen Byrne
69dda039a2
Fixed FetchContent usage for new CMake reqs. (#4650)
CMake version 3.30 changed the behavior of the FetchContent module to deprecate
the use of FetchContent_Populate() in favor of FetchContent_MakeAvailable(). Therefore,
the copying of HDF specialized CMakeLists.txt files to the dependent project's source
was implemented in the FetchContent_Declare() call.
2024-07-16 09:09:31 -07:00
Gerd Heber
882404259c
Fixed messed up table captions. (#4653)
* Fixed messed up table captions. Browsers don't seem to respect relative values for width. Hardcoding 800px for now.
2024-07-16 09:56:00 -05:00
Allen Byrne
e71605966a
Update doxygen Learn Basics / example refs. Add Reference sections (#4640) 2024-07-15 22:02:08 -05:00
mattjala
e6e098b7c3
Correct H5VL_t ref count on H5O_refresh_metadata failure (#4636)
* Fix bad H5VL_t rc on H5O_refresh_metadata fail

* Decrement nrefs before raising error
2024-07-15 11:01:15 -07:00
jhendersonHDF
74fbc1dbd4
Add temporary fix for ARM64 Mac _Float16 build failure (#4639) 2024-07-15 11:28:13 -05:00
Allen Byrne
6fa09bdb15
Add h5* compiler wrapper testing for CMake #4605 (#4613)
* Add show option

* remove non-static libs and correct names of static libs

* Fixup the pkg-config libs and comp builds

* Fix commands and add fortran pkg-config test scripts

* Add help usage option
2024-07-15 10:16:16 -05:00
Allen Byrne
f8069fa850
Add tools usage text as doxygen for Tools UG (#4602) 2024-07-15 09:43:20 -05:00
Gerd Heber
4cbdf1a5f8
Feature/awesome (#4604)
* Added Doxygen Awesome and fixed a few quirks.

* Fixed unterminated strings.

* Added Doxygen Awesome by copy.
2024-07-15 08:11:58 -05:00
Dana Robinson
9b5d9680af
Clean up Fortran __float128 configure-time checks (#4649)
* Always use DECIMAL_DIG instead of LDBL_DIG. This was controlled by
  an ifdef that is always true in C99 or greater

It's confusing to use float.h C constants as variable names in
configure.ac and the PAC_FC_LDBL_DIG macro.

* Directly compare MY_FLT128_DIG and MY_LDBL_DIG

* Make uniform across CMake and Autotools
* Don't export quadmath.h variables to H5pubconf.h
2024-07-15 07:38:13 -05:00
Allen Byrne
033f2a8cb5
Add python testing for examples (#4628) 2024-07-12 21:28:38 -07:00
Allen Byrne
f7ec0c262a
Remove auto NSIS check because of issues with CI (#4646) 2024-07-12 14:22:47 -07:00
Quincey Koziol
4f7891e144
Remove some internal use of API calls and H5E_BEGIN_TRY/H5E_END_TRY (#4624) 2024-07-11 23:30:58 -07:00
Scot Breitenfeld
96acf6c739
corrected offset type in C wrapper (#4622) 2024-07-05 12:39:43 -07:00
Scot Breitenfeld
8d50786f7a
Reworked cleaning up API test files (#4626)
* Reworked cleaning up test files, only removing test files if present to account for skipped tests

* changed to using H5Fis_accessible

* update to full use of remove_test_file
2024-07-05 12:38:26 -07:00
Dana Robinson
49feed3c8a
Fix a stack size warning in ros3 VFD code (#4625)
Just makes a stack array dynamic. Valgrind shows no memory leaks.
2024-07-03 08:00:32 -07:00
dependabot[bot]
31a77261d3
Bump the github-actions group with 4 updates (#4620)
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials), [softprops/action-gh-release](https://github.com/softprops/action-gh-release) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/checkout` from 4.1.1 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.7)

Updates `aws-actions/configure-aws-credentials` from 1 to 4
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1...v4)

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

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

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: softprops/action-gh-release
  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-07-02 13:06:11 -07:00
Quincey Koziol
5eb23af925
Add 'try' parameter to H5Z_find, and remove calls to H5E_clear_stack() (#4609) 2024-07-02 13:05:16 -07:00
jhendersonHDF
773831f3cb
Add H5F_LIBVER_V116 to internal library version structures (#4619)
Also add H5F_LIBVER_V116 flag to Fortran wrappers
2024-07-02 09:26:05 -05:00
Scot Breitenfeld
d6541ba8e3
Test fixes for log-based vol (#4618)
* fixes to address failures in the log-based VOL

* moved file cleanup to tests proper

* skipped index API test if not supported
2024-07-02 09:25:15 -05:00
Dana Robinson
341ca55502
Update release info (#4617)
* 1.14.6 release
* Update past release dates to be accurate
2024-06-30 23:25:06 -07:00
mattjala
546b79673c
Document VOL object wrapping context (#4611) 2024-06-29 13:22:35 -07:00
Dana Robinson
3ae40749af
Updated release schedule (#4615)
1.16 and 2.0 information
2024-06-29 13:18:34 -07:00
Allen Byrne
bf843c54f0
Fix Fortran pkconfig to indicate full path of modules (#4593) 2024-06-27 13:36:20 -05:00
Allen Byrne
bbdebee600
These two generators create strings without NUL for testing (#4608) 2024-06-26 20:40:35 -07:00
mattjala
cefadcf70a
Correct documentation for return-and-read fields (#4598) 2024-06-26 20:39:12 -07:00
Quincey Koziol
81a563fc2d
Bring subfiling VFD code closer to typical library code (#4595)
Remove API calls, use FUNC_ENTER/LEAVE macros, use the library's error macros,
rename functions to have more standardized names, etc.
2024-06-26 20:35:35 -07:00
Quincey Koziol
59f010ec2e
Removed unnecessary call to H5E_clear_stack (#4607)
H5FO_opened and H5SL_search don't push errors on the stack
2024-06-26 17:41:03 -05:00
Allen Byrne
034997cf6a
Move markdown link check CI to once on Saturdays (#4606) 2024-06-26 14:06:36 -05:00