Commit Graph

23710 Commits

Author SHA1 Message Date
Dana Robinson
7f1e49206d
Renamed COPYING to LICENSE (#4978)
This is where most people will expect to find license information. The
COPYING_LBNL_HDF5 file has also been renamed to LICENSE_LBNL_HDF5.
The licenses are unchanged.
2024-10-18 21:13:04 -07:00
Dana Robinson
bb5661101a
Remove the high-level GIF tools (#4976)
The high-level GIF tools, h52gif and gif2h5, have unfixed CVE issues
(with no proof-of-concept files). They are not critical tools, are not
well maintained, and are an odd fit for building with the library.
Because of this, they have been removed. We may move them to a separate
repository in the future.
2024-10-18 12:09:42 -07:00
Dana Robinson
478c7d166f
Set the C standard to 11 (#4975)
Ignores some of the older Autotools platform files, since the Autotools
will be dropped in the next major release (and we don't have
compilers on which to test, anyway).

Also drops support for the old, non-compliant MSVC
preprocessor.
2024-10-18 12:04:27 -07:00
jhendersonHDF
0559ba6881
Remove FALSE from some API tests (#4977) 2024-10-18 12:02:51 -07:00
Dana Robinson
4a10a06072
Switch HDoff_t from __int64 to int64_t on Windows (#4973)
__int64 raises warnings when building with clang
2024-10-18 09:51:47 -07:00
Dana Robinson
e12f51381d
Move warning suppression macros to H5warnings.h (#4972) 2024-10-18 09:21:43 -07:00
Scot Breitenfeld
610648efd2
The h5(p)*c parser retains escaped whitespace character (#4967) 2024-10-18 09:03:42 -07:00
Dana Robinson
bfcb91652a
Moved timer functionality to (new) H5timer.h (#4970) 2024-10-18 07:58:43 -07:00
Dana Robinson
1c23395bd6
Remove TRUE and FALSE from H5private.h (#4969)
* Remove TRUE and FALSE from H5private.h

* Replace hbool_t with bool in test code
2024-10-18 07:57:34 -07:00
Allen Byrne
29c84e0d59
Incorporate remaining parts of the filters.html file (#4966) 2024-10-17 17:10:24 -07:00
Michael Cho
e64e1ea881
Fix linker flag in pkg-config file for system zlib (#4957)
Previously was hardcoding `-lzlib-static` which will result in the wrong
linker flags when built with system zlib. It looks like there was logic
to figure out the library name but the resulting `libname` was never used.
2024-10-17 09:20:47 -07:00
Scot Breitenfeld
ad307bf61f
Updated hyperslab documentation (#4965)
* corrected Fortran docs for hyperslab selection

* updated hyperslab op doc
2024-10-17 09:17:20 -07:00
Allen Byrne
7f619c9b13
Do not package debug builds (#4963)
* Do not package debug builds

* Do not try to upload with debug builds
2024-10-17 09:11:52 -07:00
H. Joe Lee
b24cd0261b
Fix h5py GitHub Action (#4962) 2024-10-17 09:11:24 -07:00
Allen Byrne
97420ea678
Remove duplicate and unneeded dmg step in workflow - correct ABI version compare (#4955)
* Rerun dmg on failure - correct ABI version compare

* Remove unneeded dmg step
2024-10-14 15:10:30 -07:00
Dana Robinson
fc5b66b1a8
Only clear FE_INVALID when that symbol is present on the system (#4954)
When we initialize the floating-point types at library startup, it's
possible to raise floating-point exceptions when we check which things
are supported. Normally, we clear these floating-point exceptions via
feclearexcept(FE_INVALID), but FE_INVALID may not be present on all
systems. Specifically, this was reported as being a problem when using
Emscripten 3.1.68 to compile HDF5 1.14.5 to WebAssembly.

We've added an #ifdef FE_INVALID block around the exception clearing
code to correct this.

Fixes #4952
2024-10-14 14:30:22 -07:00
Scot Breitenfeld
6b43197b08
Fixed data typing errors discovered by promoting integers and reals. (#4947) 2024-10-11 16:18:48 -07:00
Dana Robinson
5e8fd61750
Announce 1.16.0 --> 2.0.0 (#4950) 2024-10-11 09:10:31 -07:00
vchoi-hdfgroup
9df4c0dad4
Fix for issue #4849 that settings in fapl libver bounds causes unexpe… (#4939)
* Fix for issue #4849 that settings in fapl libver bounds causes unexpected H5Fopen failures.
File with non-SWMR-write access can now be opened without regard for superblock version.
Due to the fix, H5Fstart_swmr_write() also needs to be modified as well as the tests for libver bounds.
The "RFC: Setting Bounds for Object Creation in HDF5 1.10.0" is also updated to reflect the changes.

* Fix c++ libver bound test failure.
2024-10-11 07:38:22 -05:00
Allen Byrne
6e8c7a9597
add analysis and coverage to CDash reports (#4938)
* Add sanitzers and coverage workflows
* add UndefinedBehavior sanitize
2024-10-10 13:16:36 -05:00
jhendersonHDF
68bffcd45e
Remove old RELEASE.txt note (#4945) 2024-10-10 07:50:43 -07:00
Allen Byrne
bcc795fcf6
Add clang cdash reports and fix libaec compile flags (#4937) 2024-10-08 11:11:41 -05:00
jhendersonHDF
ab913d7ab5
Use H5VLcmp_connector_cls to compare VOL connector IDs in parallel API tests (#4936) 2024-10-08 09:15:48 -05:00
jhendersonHDF
302ba0a7f7
Minor refactoring of testframe.c testing framework (#4930)
Added setup and cleanup callback parameters to TestInit() to perform
setup and cleanup tasks once for whole test program

Removed TestCleanup() function since its functionality is covered by
PerformTests()

Added check of the HDF5_NOCLEANUP environment variable in
GetTestCleanup()
2024-10-07 12:27:09 -05:00
Dana Robinson
54f8f12ed9
Update clang-format to 17 (#4931)
Also bump the clang-format GitHub actions to 17
2024-10-04 19:49:35 -07:00
Scot Breitenfeld
33b28f8014
adding missing Fortran examples and fixed broken links for Fortran (#4927) 2024-10-04 14:55:02 -05:00
Orion Poplawski
0af668f409
Re-add call to AC_CHECK_SIZEOF([__float128]). Fixes #4916. (#4924) 2024-10-04 12:33:15 -07:00
jhendersonHDF
33d9fa8e62
Use H5VLcmp_connector_cls to compare VOL connector IDs in API tests (#4929) 2024-10-04 12:31:14 -07:00
Allen Byrne
f49f04004c
Add HISTORY and clean RELEASE (#4923)
* Add publish-release step
2024-10-04 13:02:03 -05:00
Allen Byrne
65dc2ce6de
Update version usage (#4919) 2024-10-03 14:46:48 -05:00
Quincey Koziol
767282f68a
VOL refactor and cleanup (#4856)
Cleanup and prepare for thread-safety changes.

Big ideas:

* Wrap H5VL_class_t with H5VL_connector_t, so use of the class can be refcounted within the H5VL package, instead of relying on storing an ID within the H5VL_t struct and incrementing & decrementing the ID's refcount.
* Register H5VL_connector_t* for VOL connector IDs, instead of the H5VL_class_t*
* Stop other packages from rummaging around inside H5VL_connector_t and H5VL_object_t data structures, so that the H5VL package can change implementation details without coupled changes throughout the library

Small things:

* Simplified the coding for creating links
* Moved some routines into more logical locations
2024-10-03 12:19:33 -07:00
Quincey Koziol
626f639850
Remove H5E_clear_stack() from H5SM code (#4861)
Introduces 'try' flag for H5B2_modify() call
2024-10-02 21:55:37 -05:00
Scot Breitenfeld
e8f6bb6272
add Fortran H5DO reference to RM table (#4909) 2024-10-02 21:46:35 -05:00
dependabot[bot]
7343d1990b
Bump github/codeql-action in the github-actions group (#4910)
Updates `github/codeql-action` from 3.26.6 to 3.26.10
2024-10-02 21:45:50 -05:00
Allen Byrne
45bba552f1 Correct configure.ac option 2024-10-02 19:53:38 -05:00
Allen Byrne
b5aecf32e2 Correct test script 2024-10-02 19:53:38 -05:00
Allen Byrne
f19af2f2f6 And missing API versions 2024-10-02 19:53:38 -05:00
github-actions
6ede7e5fb2 Committing clang-format changes 2024-10-02 19:53:38 -05:00
Allen Byrne
a429e46b9d Correct comment in h5repack help 2024-10-02 19:53:38 -05:00
Allen Byrne
d2faa1bf50 Correct size of array 2024-10-02 19:53:38 -05:00
Allen Byrne
861e5ab600 Correct default version 2024-10-02 19:53:38 -05:00
Allen Byrne
22650f7cbd add missing filename 2024-10-02 19:53:38 -05:00
Allen Byrne
f4105bec7c Fix typo 2024-10-02 19:53:38 -05:00
Allen Byrne
4acc707359 Correct publish path 2024-10-02 19:53:38 -05:00
Allen Byrne
07756c87f5 Update develop to 1.18 API 2024-10-02 19:53:38 -05:00
Larry Knox
698ee8e439
Set develop branch version to 1.17.0. (#4912) 2024-10-02 12:28:19 -05:00
Scot Breitenfeld
2921f276d8
add Fortran H5ES reference to RM table (#4908) 2024-10-01 16:45:18 -05:00
H. Joe Lee
e3c709b1ed
Remove newline-eof warning (#4906) 2024-10-01 16:43:34 -05:00
jhendersonHDF
34d6ef545a
Refactor h5test.c, testframe.c and testpar.h testing frameworks (#4891)
Added new testframe.h header to document testing framework functions and
split them away from h5test.h and from test programs that don't
integrate with the testframe.c testing framework

Added new test setup callback to testframe.c testing framework

Added parameters to AddTest() to specify size of test parameters so they
can be copied for later use

Enabled HDF5 error stacks in testframe.c framework by default and added
some error stack suppressions to some testhdf5 tests

Added new maxthreads option to testframe.c framework to allow specifying
the maximum number of threads a multi-threaded test can use

Moved TestExpress functionality out of testframe.c and into more general
h5test.c for wider use by tests through getter and setter

Updated some tests to not mix and match functionality between h5test.c/h
and testframe.c/h

Moved some functionality from testphdf5.h into testpar.h for parallel
tests that aren't part of testphdf5

Added new parallel test library that contains common shared
functionality for parallel tests (similar to h5test library)
2024-10-01 16:10:03 -05:00
H. Joe Lee
956924ab42
Enable HDF-EOS5 Action again (#4902) 2024-10-01 14:38:21 -05:00