Commit Graph

22595 Commits

Author SHA1 Message Date
Dana Robinson
a466c2bc66
Remove Win32 POSIX redefinitions (#3068)
Microsoft has redefined most POSIX API calls with a leading underscore
in order to strictly comply with C99. Nobody else cares about this and
we define _CRT_NONSTDC_NO_WARNINGS in CMake Windows builds to suppress
their warnings.
2023-06-07 06:47:08 -07:00
Dana Robinson
e4929ef4e0
Fix MSVC 32/64 bit shift conversion warnings (#3067) 2023-06-07 06:01:50 -07:00
Allen Byrne
b3d9a06555
Fix paths for doxygen and add step to upload to gh-pages (#3061) 2023-06-07 05:57:13 -07:00
Dana Robinson
8379c2f824
Update README.md (#3069) 2023-06-07 05:56:48 -07:00
Dana Robinson
b2648a9e74
Update the release schedule for 1.12.3 (#3066) 2023-06-06 19:21:19 -07:00
Dana Robinson
150b424a20
Add netCDF and HDF-EOS5 badges to README.md (#3065) 2023-06-06 19:13:37 -07:00
H. Joe Lee
c82ddf3913
ci: add netcdf action (#2934) (#2981) 2023-06-06 12:57:57 -07:00
Allen Byrne
5078cee8d3
Correct path for doxygen files (#3055) 2023-06-06 14:44:08 -05:00
Allen Byrne
d6059b9d75
Fix doxygen comments in structure and enable FAIL_ON_WARNINGS (#3059) 2023-06-06 14:43:09 -05:00
Allen Byrne
57c71cb983
HDF5Array arrayify is missing break statement #3056 (#3060) 2023-06-06 12:38:59 -07:00
Allen Byrne
1a2d696de4
CMake build is missing H5FDsubfiling.h #3037 (#3053) 2023-06-06 12:36:03 -07:00
Dana Robinson
3c05dd74b8
Move encode/decode macros to a new header (#3040)
Moves the file-independent encode and decode macros to a new
H5encode.h header that is itself included in H5private.h.

Removes UINT64ENCODE_VARLEN and UINT64DECODE_VARLEN, which
were unused.

Fixes include statements in files where H5VMprivate.h and
H5MMprivate.h were included via H5Fprivate.h.
2023-06-06 12:23:59 -07:00
Allen Byrne
2384a73176
Develop gh doxy (#3041)
* Add doxygen generation to daily-build and main

* Add doxygen option to matrix
2023-06-05 16:27:40 -07:00
Scot Breitenfeld
66cee72768
Print out the VOL connector being used in the ASYNC test (#3016)
* Print out the VOL connector being used in the ASYNC test
* Add h5pget_vol_cap_flags_f with test
2023-06-05 09:59:51 -07:00
Jan-Willem Blokland
71684199d5
CMake: (fix) Szip / libaec filter (#3035)
* CMake: (fix) Szip / libaec filter

- Fixed the cmake configuration for the filter Szip / libaec.
  Now, the decoding of this filter is properly configured and
  included in the HDF5 library.

* CMake: (fix) Zlib filter

- Improved the cmake configuration for the filter zlib.
2023-06-05 11:20:50 -05:00
Dana Robinson
7ecf1d09af
Convert H5F haddr_t macros to H5 (#3039)
Several macros for handling haddr_t values exist in H5Fprivate.h
and have H5F prefixes, even though they have nothing to do with
a particular file (e.g., H5F_addr_lt()).

These macros have been moved to H5private.h and renamed to have
an H5 prefix.

Affected macros:
    H5F_addr_overflow
    H5F_addr_defined
    H5F_addr_eq
    H5F_addr_ne
    H5F_addr_lt
    H5F_addr_le
    H5F_addr_gt
    H5F_addr_ge
    H5F_addr_cmp
    H5F_addr_overlap

H5F_addr_pow2 was unused and removed instead of converted.
2023-06-05 08:04:56 -07:00
Dana Robinson
e3559c7b64
Add casts to type conversion to fix long dbl bug (#3038)
If a user buffer is misaligned in the type conversion code, memcpy
could fail if the call is SSE-optimized by the compiler. This change
adds uint8_t * casts so the compiler won't make optimistic assumptions
about buffer alignment.
2023-06-03 07:23:35 -07:00
Dana Robinson
81bc34ac4c
Only pass efc pointer to H5F__efc_open (#3026)
The H5F__efc_open() API call only needs the efc pointer, so there is
no need to pass the entire file struct in.
2023-05-30 08:33:52 -07:00
Dana Robinson
962593fb0a
Remove unused H5F_EN|DECODE_OFFSET macros (#3027) 2023-05-30 08:33:22 -07:00
Dana Robinson
40324e0c31
Cleans up Java JNI warnings and add java to -Werror checks (#2383) 2023-05-27 09:49:37 -07:00
jhendersonHDF
79bb60c3f6
API test updates (#3018)
* Remove macros from api tests (#2929)
* Remove macros and undefined callbacks (#2959)
* Remove remaining macros from H5_api_tests_disabled.h (#2968)
* Put some vol capability checks in testpar tests and remove remaining warnings (#2995)
* API tests datatype generation cleanup
* Clean up API tests' random datatype generation and fix bug with enum
datatype generation
* Init parallel API tests with MPI_THREAD_MULTIPLE
* HDF5 API tests - Check VOL connector registration
* Determine whether a VOL connector failed to load before running API
tests
* Cleanup some usages of H5VL_CAP_FLAG_CREATION_ORDER in API tests
* Remove some now-unused macros from H5_api_tests_disabled.h
* Enable HDF5 API tests by default
* Implement CMake option to install HDF5 API tests
* Check for invalid AAPL from H5Acreate
* Enable building of VOL connectors alongside HDF5 in CMake
* Prepend CMake VOL URL option indices with 0s so they come in order
* Don't turn on API tests by default yet
* Document VOL connector FetchContent functionality
* Add release note for API test updates
* Only install testing library if API tests are installed
* Fix grammar
2023-05-26 13:29:02 -07:00
Allen Byrne
77e64e0df4
correct warning ignore match for zlib (#3021) 2023-05-26 13:27:19 -07:00
jhendersonHDF
067192eb30
Fix release version for some H5Pfapl routines (#3023) 2023-05-26 13:26:34 -07:00
Allen Byrne
248045e3e0
Correct name of fetch content variable name (#3020) 2023-05-26 09:20:57 -07:00
Allen Byrne
00e6c2d221
Remove most unused options which are defaulted #2998 (#3019)
* Remove most unused options which are defaulted #2998

* Fix property list references
2023-05-26 09:19:32 -07:00
Scot Breitenfeld
e08c822c6f
Fixed Fortran Doxygen warnings (#3017)
Fixes Fortran doxygen warnings, #2998
2023-05-26 06:29:38 -07:00
Dana Robinson
25457d369d
Bump GitHub Autotools actions to gcc-12 (#3015) 2023-05-25 14:07:59 -07:00
Dana Robinson
8dd7a016b1
Suppress vfd.c test warning (#3014) 2023-05-25 13:47:30 -07:00
Allen Byrne
90293ccec3
Fix multiConfig variable usage and remove unused CMake vars (#3013) 2023-05-25 11:26:28 -07:00
Dana Robinson
1e52bc27ee
Fix assert in Debug Windows Java JNI (#3012)
Use of an uninitialized H5L_info2_t struct caused some JNI tests to
raise asserts, causing a dialog box to be emitted, which would hang
automated tests.

Initializing the struct fixes the problem.

This change also re-enables tests in the Windows Debug GitHub actions.
2023-05-25 10:47:46 -07:00
Allen Byrne
018ca4e37f
Develop release workflow (#3002)
Implement (pre)release workflow for daily build
2023-05-25 10:24:54 -07:00
Dana Robinson
27eee8330a
Remove src/.indent.pro (#3008)
There is no need for this since we use clang-format

Fixes #3004
2023-05-25 08:41:44 -07:00
Dana Robinson
b50225e8b2
Add release note for #2999 (#3009) 2023-05-25 07:53:15 -07:00
Dana Robinson
21c1af2707
Only run ttsafe in thread-safe GitHub actions (#2777)
Also fixes broken thread-safety testing (due to a typo in the GitHub action checks)
2023-05-25 05:27:11 -07:00
Dana Robinson
37e0484af5
Update GitHub macOS actions to v13 (#2999)
* Update macOS to 13

* Fix the DYLD_LIBRARY_PATH issue on macOS 12 & 13 + CMake that caused the accum test to fail
2023-05-24 06:05:17 -07:00
Dana Robinson
68abd201b2
Fix missing/misplaced h5_reset calls (#3001)
Fixes failures when running tests after building with thread-safety
w/ code stacks on.

Fixes #2990
2023-05-23 13:47:24 -07:00
bazimo
ee91960567
Fix FUNC_ENTER macro mismatch in H5VL_object_inc_rc() (#2991) 2023-05-23 11:03:26 -07:00
Scot Breitenfeld
545484c743
fixed GNU 4.8.5 compilation issue with C_LOC and strings (#2996) 2023-05-23 11:16:43 -05:00
Scot Breitenfeld
a888742959
Updated H5Ovisit_f and H5Ovisit_by_name_f wrappers internals. (#2987)
* * Removed C wrappers for H5Ovisit_f and H5Ovist_by_name_f, modifying the Fortran source accordingly.

* The intent for op_data was declared INOUT, even though the pointer address INTENT is, in actuality, IN. gfortran was optimizing out op_data in tests where the values were repeatedly reset to the same value. The values were reset in the test because the data the pointer targeted was updated in the callback.

* Made use of the 'verify' function to check value correctness.

* changed to useing INTEGER(C_INT) instead of C_BOOL, updated the documentation
2023-05-22 16:17:14 -07:00
Allen Byrne
8186a8ded0
Fix plugin cache variable name (#2988)
* Fix plugin cache variable name
* Prefix plugin project local variables
2023-05-22 18:04:48 -05:00
Dana Robinson
5c2e434dc6
Fix 'datatype' misspellings ('dataype') (#2984) 2023-05-19 09:05:23 -07:00
jhendersonHDF
d7cb8aca5b
Add test for HDstrcasestr macro (#2115) 2023-05-19 09:05:01 -07:00
Diogo Teles Sant'Anna
14edcfaffd
ci: set minimal permissions on GitHub Workflows (#2980)
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
2023-05-18 16:08:10 -05:00
Scot Breitenfeld
482920808f
Fixes failures with gfortran 4.8 (#2979) 2023-05-18 16:07:24 -05:00
Allen Byrne
dc3ef6055f
Change defaults of standard filters. (#2927) 2023-05-18 16:05:20 -05:00
Larry Knox
6e5c4a5c58
Remove version specific examples from README_HPC. (#2613) (#2975) 2023-05-17 17:38:59 -05:00
Allen Byrne
c961ef98ff
Add h5copy help test and verify consistency (#2902)
* Add autotools test for help
2023-05-17 10:41:01 -05:00
Scot Breitenfeld
560e7d6728
Updated INTENT to IN for C_PTR types dummy args. (#2961)
* Changed to INTENT(IN) for C_PTR dummy args since it refers to whether C_PTR can be changed and does not relate to the INTENT state of the target.
2023-05-17 10:38:31 -05:00
Scot Breitenfeld
e1f346377f
added missing H5ES function DLLs (#2969) 2023-05-17 10:34:10 -05:00
Allen Byrne
c6edc887bc
Change UBSAN for undefined instaed of address (#2964) 2023-05-17 10:30:45 -05:00