Commit Graph

23235 Commits

Author SHA1 Message Date
Dana Robinson
2b6c6590f0
Reverts AC_SYS_LARGEFILE change (#4213)
We previously replaced local macros with AC_SYS_LARGEFILE, which is
unfortunately buggy on some systems and does not correctly set the
necessary defines, despite successfully detecting them.

This restores the previous macro hacks to acsite.m4
2024-03-22 06:00:47 -07:00
jhendersonHDF
c4cc33abe1
Fix issue with Subfiling VFD and multiple opens of same file (#4194)
* Fix issue with Subfiling VFD and multiple opens of same file

* Update H5_subfile_fid_to_context to return error value instead of ID

* Add helper routine to initialize open file mapping
2024-03-21 17:39:13 -07:00
H. Joe Lee
23d3d63323
Use tar.gz extension for ABI reports (#4205) 2024-03-21 13:25:45 -05:00
Allen Byrne
0e179d1f60
Add back snapshot names (#4198) 2024-03-21 09:12:50 -07:00
H. Joe Lee
4ebfbd6370
Fix grammar in README.md release template (#4201) 2024-03-21 09:11:29 -07:00
Allen Byrne
874c473f34
Suggested header footer for NEWSLETTER (#4204)
* Suggested header footer for NEWSLETTER

* Updates

* Add NEWSLETTER.txt to h5vers script
2024-03-21 09:11:10 -07:00
bmribler
20c570b091
Fix H5Pset_efile_prefix documentation error (#4206)
Fixes GH issue #1759
2024-03-21 09:10:55 -07:00
bmribler
0d595d68ca
Update link to Chunking in HDF5 page (#4203) 2024-03-21 09:10:40 -07:00
H. Joe Lee
7f3ab671a5
Remove unused CMake configuration checks (#4199) 2024-03-21 05:31:57 -07:00
Dana Robinson
15608c00b5
Call memset before stat calls (#4202)
The buffers passed to stat-like calls are only partially filled in by
the call, leaving ununitialized memory areas when the stat buffers are
created on the stack.

This change memsets the buffers to 0 before the stat calls, quieting
the -fsanitze=memory complaints.
2024-03-21 05:31:30 -07:00
Allen Byrne
8ecc984fff
Correct download link for develop doxygen (#4196) 2024-03-20 16:45:46 -05:00
jhendersonHDF
2d09c77325
Add NEWSLETTER item about _Float16 support (#4197) 2024-03-20 16:44:54 -05:00
jhendersonHDF
e9f0464352
Add RELEASE.txt note for recent datatype conversion improvements (#4195) 2024-03-20 16:44:34 -05:00
Allen Byrne
85af302798
A path component may include a dot with other characters (#4192) 2024-03-20 16:44:05 -05:00
Allen Byrne
977f4aab14
h5diff compares attribute data like dataset data (#4191)
Updates tools docs to indicate that dataset and attribute data are compared in the same way
2024-03-20 10:54:44 -07:00
Glenn Song
a286066123
Handle certain empty subfiling environment variables (#4038) 2024-03-20 10:52:27 -07:00
mattjala
e99b0af7e0
Skip vlen IO API test for cache VOL (#4135)
* Fix cache VOL segfault in vlen io test
* Skip vlen IO API test
2024-03-20 10:50:40 -07:00
H. Joe Lee
a31da32a2f
Remove broken links (#4187) 2024-03-20 10:49:48 -07:00
Dana Robinson
8e78cfebf8
Add semicolons to the end of HSYS_GOTO_ERROR (#4193)
Looks like we forgot these when we did the other macros.
2024-03-20 09:31:11 -07:00
Dana Robinson
56c527d752
Fixes several MinGW + Autotools issues (#4190)
* Fixes detection of various Windows libraries, etc.
* Corrects alarm(2) configure checks
* Uses Win32 threads by default w/ Pthreads override, if desired
* Set _WIN32_WINNT correctly for MinGW
* Fix setenv(3) wrapper for MinGW, which does not have getenv_s()

MinGW Autotools support is still not Amazing, but this at least
allows the library and tools build and is better about thread-safety
2024-03-20 08:40:09 -07:00
jhendersonHDF
4c0f1468d2
Skip part of dtypes.c _Float16 file size check for certain VFDs (#4182) 2024-03-19 22:06:49 -07:00
Allen Byrne
58b9cc7ccb
last-file.txt should not be created for release workflow (#4185) 2024-03-19 22:04:53 -07:00
jhendersonHDF
1ce55e15c0
Update README.md for coming Complex number support (#4183) 2024-03-19 22:04:07 -07:00
H. Joe Lee
c02be4df09
Add a missing period at the end of sentence. (#4184) 2024-03-19 16:32:53 -07:00
Allen Byrne
025d1e7e82
Exclude shell tests from sanitizers (#4186) 2024-03-19 16:32:20 -07:00
jhendersonHDF
87fb6ed653
Add daily VFD CI workflow (#4176)
Adds testing of Subfiling VFD
2024-03-19 15:14:36 -05:00
Allen Byrne
8f3e544193
Filter plugins updates for registration URL (#4180)
* Update filter plugin URL to new location

* Adjust test array size
2024-03-19 15:11:15 -05:00
bmribler
4af02c213c
Update Release Specific Information link. (#4179) 2024-03-19 09:22:20 -07:00
jhendersonHDF
48d3e48d59
Add const to new _Float16 conversion routine parameters (#4181) 2024-03-19 07:10:57 -07:00
Scot Breitenfeld
8621663b99
Reworked H5Epush_f (#4153) 2024-03-19 04:59:32 -07:00
H. Joe Lee
9806b96ad0
Capitalize linux for consistency (#4178) 2024-03-19 04:58:03 -07:00
Dana Robinson
5bf08d1e8e
Clean up CMake direct VFD handling (#4161)
There's no need to build and run programs, or even check the operating
system. We just need to check for O_DIRECT and posix_memalign().
2024-03-18 21:53:06 -07:00
mattjala
e80272eb21
Add RELEASE.txt note for cmpd segfault fix (#4175)
RELEASE notice for the fix in #3842
2024-03-18 21:52:31 -07:00
jhendersonHDF
c91b3e6168
Remove some H5T_copy calls that are now unnecessary (#4164)
Removes some datatype copying calls that are now unnecessary after
refactoring the datatype conversion code to use pointers internally
rather than IDs

Rewrites the enum conversion function so that it uses cached copies
of the source and destination datatypes in order to avoid modifying
the datatypes passed in

Adds a 'recursive' field to the datatype conversion context which
allows the conversion functions for members of a container datatype
to skip unnecessary repetitive conversion setup code

Changes internal datatype conversion callback functions so that the
source and destination datatype structure pointers are const

Removes some unused and unnecessary internal IDs registered with
H5I_register
2024-03-18 21:44:31 -07:00
jhendersonHDF
330b80a266
Add support for _Float16 16-bit floating point type (#4065)
Fixed some conversion issues with Clang due to problematic undefined
behavior when casting a negative floating-point value to an integer

Fixed a bug in the library's software integer to floating-point
conversion function where a user's conversion exception function
returning H5T_CONV_UNHANDLED in the case of overflows would result in
incorrect data after conversion

Added configure checks for functions and macros related to _Float16
usage since some compilers expose the datatype but not the functions or
macros

Fixed a dt_arith test failure when H5_WANT_DCONV_EXCEPTION isn't defined

Fixed a few warnings from not explicitly casting some _Float16 variables
upwards
2024-03-18 21:36:46 -07:00
Allen Byrne
4e222bf5bb
Add filter plugin user guide text. Fix registered URL in docs (#4169) 2024-03-18 08:36:55 -07:00
Dana Robinson
344ba97fec
Allow H5Soffset_simple to accept NULL offsets (#4152)
The reference manual states that the offset parameter of H5Soffset_simple()
  can be set to NULL to reset the offset of a simple dataspace to 0. This
  has never been true, and passing NULL was regarded as an error.

  The library will now accept NULL for the offset parameter and will
  correctly set the offset to zero.

  Fixes HDFFV-9299
2024-03-18 06:57:52 -07:00
Dana Robinson
51fab96f4e
Add Doxygen to API calls in H5VLnative.h (#4173) 2024-03-18 06:06:07 -07:00
Dana Robinson
eb0351efff
Address code page issues w/ Windows file paths (#4172)
On Windows, HDF5 attempted to convert file paths passed to open() and
remove() to UTF-16 in order to handle Unicode file paths. This scheme
does not work when the system uses code pages to handle non-ASCII
file names.

As suggested in the forum post below, we now also try to see if we
can open the file with open(), which should handle systems where
non-ASCII code pages are in use.

https://forum.hdfgroup.org/t/open-create-hdf5-files-with-non-utf8-chars-such-as-shift-jis/11785
2024-03-18 06:05:45 -07:00
jhendersonHDF
840476ead8
Fix an issue where the Subfiling VFD's context cache grows too large (#4159) 2024-03-17 18:48:16 -07:00
Dana Robinson
fa44de4cdb
Fix mirror VFD script (#4170)
This had directory problems when running locally.
2024-03-17 18:47:59 -07:00
Dana Robinson
2908dd1d12
Bump the size of the mirror VFD IP field (#4167)
The IP address string isn't big enought to hold an IPv4-mapped IPv6
address.
2024-03-17 11:34:21 -07:00
jhendersonHDF
a56675e12a
Fix some minor warnings (#4165) 2024-03-16 19:43:47 -07:00
Dana Robinson
68e8c0e627
Remove HAVE_IOEO checks from CMake (#4160)
This was intended to check for thread-safety functionality on Windows.
The required functionality has been standard since Windows Vista, so
these checks can be removed.
2024-03-16 12:01:24 -07:00
Dana Robinson
45f7898272
Remove lseek64 and stat64 symbols from CMake (#4163)
We don't use these in the library.
2024-03-16 11:51:02 -07:00
Dana Robinson
87970e1d53
Add Doxygen to H5FDmirror.h (#4158) 2024-03-16 11:44:59 -05:00
Dana Robinson
9a90122ef8
Header cleanup in C library (#4154)
* Ensure H5FL header is included everywhere

* Ensure H5SL header is included everywhere

* Ensure H5MM header is included everywhere
2024-03-16 11:42:32 -05:00
jhendersonHDF
1029e34fb9
Suppress H5Dmpio debugging output unless HDF5_DEBUG=d is set (#4155) 2024-03-16 11:42:01 -05:00
H. Joe Lee
4b0c6291f8
Remove HDF from Fortran 2003 configuration check message. (#4157) 2024-03-16 11:40:37 -05:00
Dana Robinson
6d85ea26ab
Remove H5O header and friend status from H5A.c (#4150) 2024-03-15 13:01:22 -07:00