Commit Graph

22668 Commits

Author SHA1 Message Date
Dana Robinson
aebac33a1f
Remove HD from memory allocate/free calls (#3195)
* HDcalloc
* HDfree
* HDmalloc
* HDrealloc
2023-06-28 15:48:12 -07:00
Dana Robinson
605cea4af6
Remove HD from HDposix_memalign() (#3196)
The posix_memalign call is only used in the direct VFD, which can only
be built if posix_memalign() is available.
2023-06-28 13:03:45 -07:00
Dana Robinson
96d89bcae7
Rename HDsystem() to system() (#3197)
system() is only used in the iopipe test and the things it calls
(which are POSIX-y) are protected by an ifdef.
2023-06-28 13:01:26 -07:00
mattjala
d87efd3a46
Add note about HDF5_VOL_CONNECTOR to tools usage (#3159) 2023-06-28 09:56:35 -07:00
Dana Robinson
187ea8a9ae
Rename HD(f)printf() to (f)printf() (#3194) 2023-06-28 08:31:32 -07:00
Dana Robinson
7a44581a84
Rename HDassert() to assert() (#3191)
* Change HDassert to assert

* Fix bin/make_err
2023-06-28 07:31:56 -07:00
Dana Robinson
622fcbd138
Rename HDpipe() to pipe() (#3192)
Pipe is POSIX but implemented in Microsoft's CRT
2023-06-28 07:31:08 -07:00
Dana Robinson
6df077953e
Rename HDqsort() to qsort() (#3193)
* Rename HDqsort() to qsort()

* Committing clang-format changes

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-28 07:30:54 -07:00
jhendersonHDF
f5ca9237a2
Fix assertion failure when attempting to use IOC VFD directly (#3187) 2023-06-27 21:36:12 -07:00
Dana Robinson
7d1fdb2d27
Remove HD from fork/exec*/wait* (#3190)
These are not C99 but are hidden behind ifdefs and are highly
unlikely to ever have non-POSIX equivalents.
2023-06-27 21:35:55 -07:00
Dana Robinson
badc6098f7
Drop HD prefix & hbool_t from H5TS (#3180) 2023-06-27 18:04:19 -07:00
Dana Robinson
d81e751d41
Remove HDva_(arg|copy|end|start) (#3184) 2023-06-27 17:43:23 -07:00
Dana Robinson
d278ce1f21
Remove HD/hbool_t from high-level lib (#3183) 2023-06-27 17:42:48 -07:00
Dana Robinson
942739e6fb
Remove HD/hbool_t from fortran (#3182) 2023-06-27 17:42:29 -07:00
Dana Robinson
636b5d073b
Tidy the list of options in main.yml (#3181) 2023-06-26 19:58:59 -07:00
Allen Byrne
ab4d2aec97
Fix the doxygen to gh pages and artifact creation (#3176) 2023-06-26 13:53:10 -05:00
Allen Byrne
b93be9d6f8
Add gh-pages doxygen link (#3175) 2023-06-22 17:01:22 -07:00
Dana Robinson
c7e9e432c2
Update Linux workflows (#3173)
* Consolidate environment setup
* Turn on ros3 VFD in CMake (Linux only)
2023-06-22 11:43:00 -07:00
Scot Breitenfeld
e33fd7ecf1
Fixed check for a VOL's async compatibility (#3164)
* cap flag fix in test

* added async comp. output
2023-06-22 08:11:53 -07:00
Allen Byrne
706c2557a8
Add missing space in zip command (#3167) 2023-06-22 09:43:53 -05:00
Dana Robinson
ef24087b17
Remove H5F_evict_tagged_metadata() (#3165)
The rest of the library just calls H5AC_evict_tagged_metadata()
directly.
2023-06-21 11:00:14 -07:00
Dana Robinson
56513d9df7
Remove dead code behind #ifdef OLD_WAY (#3163) 2023-06-20 22:37:07 -07:00
Scot Breitenfeld
94ea835bbb
speed-up building HDF5 (#3087)
Disables building the tests when building the netCDF, etc.
2023-06-20 16:58:50 -07:00
Larry Knox
7e3c100755
Fix #1978 h5vers usage message. (#3162)
Update Platforms Tested in RELEASE.txt.
2023-06-20 16:57:43 -07:00
Diogo Teles Sant'Anna
b0404e7f9c
Create Security Policy (#3152) 2023-06-18 22:14:56 -07:00
Sean McBride
65d8c93470
Many fixes to various compiler warnings (#3124)
* 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
Allen Byrne
1f20354ee6
Correct the zip usage (#3153) 2023-06-18 21:56:24 -07:00
Dana Robinson
560110dbc7
Removes the HD prefix from java C99 calls (#3149)
POSIX calls (HDstrndup, etc.) are unchanged
2023-06-18 21:55:57 -07:00
H. Joe Lee
a37795d8b9
chore: fix grammar (#3150)
* chore: fix grammar
2023-06-16 12:43:26 -07:00
Allen Byrne
0f2cb0fd91
Fix the snapshots workflow (#3148)
* Add upload url as artifact
* Change doxygen path and comment log-url upload
* zip doxygen files for upload
* add workspace var
2023-06-16 11:34:24 -07:00
mattjala
cef648eb14
Track s3 i/o when S3COMMS_DEBUG enabled (#3139)
* Track s3 i/o when S3COMMS_DEBUG enabled
2023-06-16 09:04:44 -07:00
Diogo Teles Sant'Anna
5e8a230619
Define minimal permissions for new GitHub workflows (#3147) 2023-06-16 07:57:14 -07:00
Jan-Willem Blokland
8135cc280c
CMake: (feature) ROS3 and cmake config file. (#3146)
- Added a cmake variable to the hdf5-config.cmake file which
  indicate if the library has been build with or without the
  read-only S3 functionality.
2023-06-16 07:34:06 -07:00
Dana Robinson
41b474bf4a
Remove hbool_t/TRUE/FALSE from java (#3145)
Replaces with bool/true/false
2023-06-16 07:30:56 -07:00
Dana Robinson
546d79dad7
Remove HD prefix from network calls (#3142)
HDsocket(), etc. Only affects the mirror VFD and its test code.
2023-06-16 00:16:29 -07:00
Sean McBride
68eba3da69
Many clang -Wextra-semi-stmt fixes (#2537)
* 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
H. Joe Lee
10093f7c43
Fix path to libhdf5.settings in cmakehdf5 (#3140) 2023-06-15 21:46:33 -07:00
Dana Robinson
de2cbcf891
Removed .lnt linter files (#3143)
These were last usefully modified in 2004
2023-06-15 21:36:57 -07:00
mattjala
966d7e1055
Add java options to build scripts (#3127)
* Add java options to build scripts

Previously, cmakehdf5 turned on compiling of the java interface
by default due to a value set in cacheinit.cmake.

Now, consistent with how Fortran and CPP interfaces are handled,
the script overwrites this default value to disable the libraries,
fixing #2958.

I also implemented the --enable-java/--disable java options for
cmakehdf5, and -java for buildhdf5.

Allen said these scripts should mention that
compilers are to be specified in environment variables, but missing
compilers causes errors at the CMake level, and
CMake's error messages are already pretty informative (See the one
in #2958 about JAVA_COMPILER).
2023-06-15 10:20:10 -07:00
Dana Robinson
fcdd0ab9dc
Revert long double checks (#3133)
* Revert "Remove long double conversion work-arounds (#3097)"

This reverts commit 1e1dac1dac.

* Update comments to reflect newer systems
2023-06-15 09:13:22 -07:00
H. Joe Lee
9a8c5810ed
Fix function name in comment in ros3 VFD (#3131) 2023-06-15 07:29:35 -07:00
H. Joe Lee
fcadfca992
Add Python for HDF-EOS zoo description (#3129) 2023-06-14 19:03:26 -07:00
H. Joe Lee
3c122474d0
Make autogen.sh output message consistent (#3128) 2023-06-14 19:01:48 -07:00
Dana Robinson
b571da18fc
Fix spelling issues flagged by codespell (#3130) 2023-06-14 18:59:09 -07:00
Dana Robinson
69e8c8f58d
Clean up mirror VFD code in utils dir (#3121)
* Remove dead code
* Replace mybzero with memset
* Replace hbool_t/TRUE/FALSE with bool/true/false
2023-06-14 08:01:04 -07:00
Dana Robinson
61d43eb867
Adds an optional version arg to bin/format_source (#3119) 2023-06-14 08:00:46 -07:00
Dana Robinson
d1ef48e708
Remove unused HD macros (#3120)
* Remove unused HD macros
The library prefixes most C and POSIX API calls with 'HD'. We are
going to start removing these so the code looks like normal C.

This PR removes most of the unused HD markup macros.

* Replace ntohl/ntohs
2023-06-14 08:00:26 -07:00
Dana Robinson
ce794d6a88
Remove the checkposix script (#3122)
This script was used to ensure that all non-HDF5 calls were prefixed
with 'HD'. We are removing this scheme so this script is no longer
needed.
2023-06-14 07:59:49 -07:00
Allen Byrne
340c37629c
Use 1.14 toolchain (#3116) 2023-06-13 16:12:49 -07:00
Allen Byrne
75bcd68e7c
Add note for issue 3056 (#3117) 2023-06-13 16:12:14 -07:00