2
0
mirror of https://github.com/HDFGroup/hdf5.git synced 2025-03-13 16:47:58 +08:00

1320 Commits

Author SHA1 Message Date
Allen Byrne
f77b70859f
Rework Dynamic Analysis and sanitize testing ()
* Ignore predetermined failing test and check pointer before use

* Rework Analysis process
2024-08-05 09:53:53 -05:00
Allen Byrne
e71605966a
Update doxygen Learn Basics / example refs. Add Reference sections () 2024-07-15 22:02:08 -05:00
Allen Byrne
f8069fa850
Add tools usage text as doxygen for Tools UG () 2024-07-15 09:43:20 -05:00
Allen Byrne
bf843c54f0
Fix Fortran pkconfig to indicate full path of modules () 2024-06-27 13:36:20 -05:00
Allen Byrne
162e7d676d
Allow HDF5_LIB_INFIX to work with DLL ()
* 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
jhendersonHDF
8897e25b00
Fix spelling () 2024-05-23 16:44:33 -05:00
Julien Schueller
239d2f849d
CMake: Fix mingw/fortran build () 2024-05-10 12:33:55 -05:00
Allen Byrne
3fad116502
Use aliases for URLs () 2024-04-16 13:51:20 -05:00
Dana Robinson
4dbaec7991
Remove HD from last non-win32 C89 functions ()
Removes the HD prefix from the last C89 functions with no special
Windows equilvalent:

* rename
* rewind
* setbuf
* signal
* tmpfile
2024-04-08 07:58:13 -07:00
Dana Robinson
7b8fe54c1a
Remove noise comment from H5DO.c () 2024-04-08 07:56:56 -07:00
Dana Robinson
8787e7f325
Fix uninitialized memory issues in packet table () 2024-03-27 20:26:34 -07:00
Dana Robinson
15608c00b5
Call memset before stat calls ()
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
jhendersonHDF
330b80a266
Add support for _Float16 16-bit floating point type ()
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
0be892585a
Rename incorrectly named option ()
* Rename incorrectly named option

* Restore the correct uses of USING_MEMCHECKER

* Update release note
2024-03-05 09:07:16 -08:00
Allen Byrne
7ce8c6f81a
Add options to allow tools type selection and naming () 2024-03-04 06:53:52 -08:00
jhendersonHDF
221e429578
Fix memory leak in H5LTopen_file_image when H5LT_FILE_IMAGE_DONT_COPY flag is used ()
When the H5LT_FILE_IMAGE_DONT_COPY flag is passed to H5LTopen_file_image, the internally-allocated
udata structure gets leaked as the core file driver doesn't have a way to determine when or if it
needs to call the 'udata_free' callback. This has been fixed by freeing the udata structure when
the 'image_free' callback gets made during file close, where the file is holding the last reference
to the udata structure.
2024-02-26 08:52:33 -08:00
Allen Byrne
f02ecb21dd
Fix missing NOT from if check in HL folder () 2024-02-22 14:55:15 -06:00
Larry Knox
16e9937111
Fix h5watch test failures to ignore system warnings on ppc64le. () 2024-02-08 09:53:33 -06:00
Dana Robinson
ab11e076bf
Replace off_t with HDoff_t internally ()
off_t is a 32-bit signed value on Windows, so we should use HDoff_t
(which is __int64 on Windows) internally instead.

Also defines HDftell on Windows to be _ftelli64().
2024-01-18 09:03:59 -08:00
Allen Byrne
6f2d22d86e
Add variable option syncing for examples () 2023-12-14 12:50:30 -06:00
Allen Byrne
3ea21ccb3e
Add HDF5_DISABLE_TESTS_REGEX option to skip tests () 2023-11-22 07:51:30 -06:00
Allen Byrne
66786fa036
Add intel oneapi windows build to CI CMake () 2023-11-10 07:36:46 -06:00
Robert Adam
87b3e7c821
Don't build util tests when HDF5_EXTERNALLY_CONFIGURED=ON ()
Fixes 
2023-10-30 12:47:06 -05:00
Dana Robinson
74cc1cf59e
Fix a format string warning in the C++ examples () 2023-10-25 21:31:21 -07:00
Dana Robinson
98b5779ea5
Add tools/libtest to Autotools builds ()
This was only added to CMake many years ago and tests the tools
library.
2023-10-20 15:50:57 -05:00
Dana Robinson
b916ce2419
Suppress cast-qual warning in H5TB Fortran wrapper ()
This interface is fundamentally broken, const-wise.
2023-10-19 21:19:52 -07:00
Dana Robinson
2a3b511e96
Restore floating-point suffixes in tests ()
A prior commit removed too many F suffixes. This restores the suffixes
for float variables.
2023-10-17 12:22:27 -07:00
Allen Byrne
405b0c62f8
Correct fortran CMake generator expressions () 2023-10-13 23:41:17 -05:00
Scot Breitenfeld
85c176247d
Address nagfor exceptions stoppage. ()
* added cmake ieee flag for nagfor

* generalized determining the nag compiler

* fixing some misc. NAG warnings
2023-10-11 15:16:01 -05:00
jhendersonHDF
34fcb9c5a4
Fix several spelling/grammar issues () 2023-10-03 09:01:28 -07:00
Allen Byrne
1529ec0ab3
Develop tools move ()
Reorganizes the tools files to support the VOL tests
2023-09-26 13:46:55 -07:00
Dana Robinson
44a00ef876
Strip HD prefix from string/char C API calls ()
* Strip HD prefix from string/char C API calls

* HD(f)(put|get)(s|c)
* HDstr*
* HDv*printf
* HD(s)(print|scan)f
* HDperror

But NOT:

* HDstrcase*
* HDvasprintf
* HDstrtok_r
* HDstrndup

As those are not C99 and have portability work-around
implementations. They will be handled later.

* Fix th5_system.c screwup
2023-09-15 15:13:18 -07:00
Scot Breitenfeld
08e115b7d8
Added new Fortran API wrappers ()
* Added new wrappers for
h5get_free_list_sizes_f
H5Sselect_intersect_block_f
H5Sselect_shape_same_f
h5pget_no_selection_io_cause_f
h5pget_mpio_no_collective_cause_f
H5Lvisit_by_name_f
H5Lvisit_f
H5Fget_info_f
h5dwrite_chunk_f
h5dread_chunk_f

* added h5pget_file_space_page_size_f, h5pset_file_space_page_size_f, h5pget_file_space_strategy_f, h5pset_file_space_strategy_f, h5info tests

* added fortran tests

* Update tH5F.F90
2023-09-07 17:25:07 -05:00
Allen Byrne
37c60bcea8
Add Fortran ES module to deploy list ()
* Add Fortran ES module to deploy list

* Change fortran mod file export to use a list of names
2023-08-04 16:38:20 -05:00
Scot Breitenfeld
1706355ee1
removed the use of encoded single apostrophe ()
* removed the use of encoded single apostrophe, and fix H5Dread_chunk from write to read

* updated sanitizer paragraph
* fixed brief description for H5Fget_info
2023-07-20 09:01:58 -05:00
Sean McBride
1903c4b1b0
Fixed more warnings about extra semicolons ()
* Require semi-colon after H5_CHECK_OVERFLOW calls



Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-18 10:35:05 -05:00
Dana Robinson
39e6bf48c9
Remove HD from HDmem* calls () 2023-06-29 12:33:46 -07:00
Dana Robinson
fd933f30b1
Remove programmer/date from comments ()
* Removes Programmer: and Date: fields
* Fixes a few Modifications: fields leftover from previous work
2023-06-29 12:13:29 -07:00
Dana Robinson
fd56a593b7
Remove HD from C std lib file ops ()
* HDfclose
* HDferror
* HDfeof
* HDfflush
* HDfopen
* HDfread
* HDfwrite
2023-06-29 08:19:31 -07:00
Dana Robinson
8aef67f0ae
Remove HD from strto* calls ()
* HDstrtod
* HDstrtol
* HDstrtoll
* HDstrtoul
* HDstrtoull
* HDstrtoumax
2023-06-29 08:18:49 -07:00
Dana Robinson
d278ce1f21
Remove HD/hbool_t from high-level lib () 2023-06-27 17:42:48 -07:00
Sean McBride
65d8c93470
Many fixes to various compiler warnings ()
* Fixed various -Wmissing-variable-declarations by adding static keyword
* In a few cases, renamed the variable suffix from _g to _s.
* Fixed some -Wmissing-variable-declarations by using different declaration macros
* Fixed various -Wconditional-uninitialized warnings by just initializing variable to zero
* Fixed various -Wcomma warnings
* Fixed clang -Wstrict-prototypes warnings
* Fixed various -Wunused-variable warnings
* Updated some casts to fix the only 3 -Wcast-qual warnings
* Fixed the only -Wsometimes-uninitialized warning
2023-06-18 22:13:38 -07:00
Sean McBride
68eba3da69
Many clang -Wextra-semi-stmt fixes ()
* Adds semicolons to function-like macros
* Adds a do..while(0) loop to some macros
* Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
2023-06-15 21:49:02 -07:00
jhendersonHDF
f8a1b3ceec
Add initial version of HDF5 API tests () 2023-05-02 12:52:39 -07:00
Dana Robinson
265494b5b9
Remove "the the" from comments and docs () 2023-05-01 09:06:39 -07:00
Quincey Koziol
49a71463a0
Comment cleanup ()
* Clean up content and redundant logging in comments.
2023-04-11 09:41:32 -05:00
Allen Byrne
526f0769a3
Minor fixes for CMake code and install docs () 2023-04-03 14:38:10 -07:00
Allen Byrne
cb679af19d
Make sure that ONLY_SHARED_LIBS option is correctly set () 2023-03-13 16:24:49 -05:00
Allen Byrne
32a54c0e2e
CMake generated pkg-config file is incorrect ()
* CMake generated pkg-config file is incorrect 

* Fix fortran pc template

* hdf5.pc is incorrect for debug builds 

* Correct pkg name and lib name

* Fix typo

* Fix missing space
2023-02-17 14:17:17 -08:00
Dana Robinson
cfd5059e77
HL GIF tools changes ()
* Fixes the broken Autotools option
* Removes the "build HL tools" option
2022-12-23 16:05:31 -08:00