summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix loading plugin fails with missing directory GH issue #3248 (#3315)Allen Byrne2023-08-021-2/+1
|
* Fix H5Otoken_to_str call in h5dump and other minor cleanup (#3314)jhendersonHDF2023-08-021-6/+10
|
* Fix incorrect error check in H5Ofill.c for undefined fill values (#3312)jhendersonHDF2023-08-021-1/+1
|
* Switch parallel compression to use vector I/O (#3245)jhendersonHDF2023-08-022-816/+544
| | | | | Updates parallel compression feature to use vector I/O instead of creating and passing down MPI derived types to VFD
* Another round of fixing -Wextra-semi-stmt warnings (#3264)Sean McBride2023-07-24176-1178/+1190
| | | Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* ROS3: (fix) Replaced HDfprintf (#3266)Jan-Willem Blokland2023-07-241-3/+3
| | | | - Replaced the HDfprintf() functions by fprintf() to be consistent with other parts of the library.
* removed the use of encoded single apostrophe (#3261)Scot Breitenfeld2023-07-2033-294/+294
| | | | | | * removed the use of encoded single apostrophe, and fix H5Dread_chunk from write to read * updated sanitizer paragraph * fixed brief description for H5Fget_info
* Fix warning in H5C__UPDATE_STATS_FOR_DIRTY_PIN macro (#3259)jhendersonHDF2023-07-181-1/+1
| | | | Add braces to H5C__UPDATE_STATS_FOR_DIRTY_PIN macro to fix warning causing Werror Release builds to fail
* Fixed more warnings about extra semicolons (#3249)Sean McBride2023-07-1896-1671/+1299
| | | | | | | * Require semi-colon after H5_CHECK_OVERFLOW calls Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix some warnings in developer builds (#3247)jhendersonHDF2023-07-188-196/+185
| | | | | * Fix some warnings in developer builds * Switch approach to Winline flag
* Fix CMake builds when Subfiling VFD isn't enabled (#3250)jhendersonHDF2023-07-172-33/+40
| | | | | * Fix CMake builds when Subfiling VFD isn't enabled * Add Subfiling VFD entry to hdf5-config.cmake.in
* ROS3: (feature) Temporary security credentials (#3030)Jan-Willem Blokland2023-07-144-36/+468
| | | | | | | | | | - Implemented support for AWS temporary security credentials. For this kind of credentials also a session/security token should be included in the request by adding the x-amz-security-token header. Co-authored-by: Larry Knox <lrknox@hdfgroup.org> Co-authored-by: Jordan Henderson <jhenderson@hdfgroup.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Subfiling VFD source cleanup (#3241)jhendersonHDF2023-07-1331-3287/+105
| | | | | | | | | | | | | | | | * Subfiling VFD source cleanup Modularize Subfiling CMake code into separate CMakeLists.txt file Update Mercury util code to latest version and update Copyright Generate mercury_util_config.h header file instead of using pre-generated file Remove unnecessary Mercury functionality Fix minor warning in Subfiling VFD code * Remove Mercury headers from Autotools publicly-distributed header list
* Fix doc for H5allocate_memory (#3240)Nicolas Cornu2023-07-121-1/+1
|
* Committing clang-format changesgithub-actions2023-07-061-1/+1
|
* Several ros3vfd logging improvementsAleksandar Jelenak2023-07-051-12/+16
|
* docs: improve consistency in verb form (#3076) (#3188)H. Joe Lee2023-06-301-7/+7
|
* Remove HD from HDis* (e.g., isalpha) (#3212)Dana Robinson2023-06-299-80/+46
| | | | | | | | | | | | | * HDisalnum * HDisalpha * HDiscntrl * HDisdigit * HDisgraph * HDislower * HDisprint * HDispunct * HDisspace * HDisupper * HDisxdigit
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-29141-646/+631
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-29312-11468/+3
| | | | * Removes Programmer: and Date: fields * Fixes a few Modifications: fields leftover from previous work
* Remove HD from C std lib file ops (#3206)Dana Robinson2023-06-2917-88/+67
| | | | | | | | | * HDfclose * HDferror * HDfeof * HDfflush * HDfopen * HDfread * HDfwrite
* Remove HD from strto* calls (#3204)Dana Robinson2023-06-298-36/+18
| | | | | | | | * HDstrtod * HDstrtol * HDstrtoll * HDstrtoul * HDstrtoull * HDstrtoumax
* Rename HDexit() and related to exit(), etc. (#3202)Dana Robinson2023-06-293-12/+3
| | | | | * HDatexit * HDexit * HD_exit
* Remove some "Programmer" comments (#3209)Dana Robinson2023-06-2927-95/+40
| | | | | | | | | | These are meaningless noise. Removes the "Programmer" lines on comment start lines: /* Programmer: John Smith These complicate my sed script that will rip out the rest of the comments.
* Rename HDato*() to ato*() (#3201)Dana Robinson2023-06-293-14/+2
|
* Remove HD from protected POSIX calls (#3203)Dana Robinson2023-06-293-25/+4
| | | | | | | | | | | These calls are non-C99 but protected by ifdefs and have no Windows equivalents: * HDalarm * HDasprintf * HDclock_gettime * HDfcntl * HDgethostname * HDgetrusage * HDsymlink
* Remove HD from memory allocate/free calls (#3195)Dana Robinson2023-06-2822-226/+212
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Remove HD from HDposix_memalign() (#3196)Dana Robinson2023-06-282-10/+7
| | | | The posix_memalign call is only used in the direct VFD, which can only be built if posix_memalign() is available.
* Rename HDsystem() to system() (#3197)Dana Robinson2023-06-281-3/+0
| | | | system() is only used in the iopipe test and the things it calls (which are POSIX-y) are protected by an ifdef.
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-28103-2022/+1981
|
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-28305-12425/+12413
| | | | | * Change HDassert to assert * Fix bin/make_err
* Rename HDpipe() to pipe() (#3192)Dana Robinson2023-06-281-3/+0
| | | Pipe is POSIX but implemented in Microsoft's CRT
* Rename HDqsort() to qsort() (#3193)Dana Robinson2023-06-289-31/+28
| | | | | | | | | * Rename HDqsort() to qsort() * Committing clang-format changes --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix assertion failure when attempting to use IOC VFD directly (#3187)jhendersonHDF2023-06-281-0/+13
|
* Remove HD from fork/exec*/wait* (#3190)Dana Robinson2023-06-281-18/+0
| | | | These are not C99 but are hidden behind ifdefs and are highly unlikely to ever have non-POSIX equivalents.
* Drop HD prefix & hbool_t from H5TS (#3180)Dana Robinson2023-06-282-51/+31
|
* Remove HDva_(arg|copy|end|start) (#3184)Dana Robinson2023-06-287-190/+175
|
* Remove H5F_evict_tagged_metadata() (#3165)Dana Robinson2023-06-215-44/+16
| | | | The rest of the library just calls H5AC_evict_tagged_metadata() directly.
* Remove dead code behind #ifdef OLD_WAY (#3163)Dana Robinson2023-06-213-42/+6
|
* Many fixes to various compiler warnings (#3124)Sean McBride2023-06-1914-39/+39
| | | | | | | | | | | * 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
* Track s3 i/o when S3COMMS_DEBUG enabled (#3139)mattjala2023-06-161-0/+5
| | | * Track s3 i/o when S3COMMS_DEBUG enabled
* Remove HD prefix from network calls (#3142)Dana Robinson2023-06-162-50/+8
| | | HDsocket(), etc. Only affects the mirror VFD and its test code.
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-1697-537/+549
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* Removed .lnt linter files (#3143)Dana Robinson2023-06-163-145/+0
| | | These were last usefully modified in 2004
* Revert long double checks (#3133)Dana Robinson2023-06-153-0/+47
| | | | | | | * Revert "Remove long double conversion work-arounds (#3097)" This reverts commit 1e1dac1dac58fa18f6b7788346d1ba7d3315b0f9. * Update comments to reflect newer systems
* Remove unused HD macros (#3120)Dana Robinson2023-06-141-285/+0
| | | | | | | | | * 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
* clang-tidy clang-analyzer-core issues addressed (#3113)Allen Byrne2023-06-132-5/+3
| | | | | | | | src/H5system.c:1293:13: warning: Dereference of null pointer [clang-analyzer-core.NullDereference] src/H5trace.c:4048:17: warning: Passed-by-value struct argument contains uninitialized data (e.g., via the field chain: 'initial.user') [clang-analyzer-core.CallAndMessage]
* Remove H5detect and H5make_libsettings (#3104)Dana Robinson2023-06-1315-1452/+856
| | | | | | | | Removes H5detect and H5make_libsettings from the build and replaces their functionality with things that don't affect cross-compiling. H5detect --> floating-point types are now detected on library load H5make_libsettings --> Moved functionality to a new H5build_settings.c template file
* Remove long double conversion work-arounds (#3097)Dana Robinson2023-06-123-47/+0
| | | | | | | | | | | | | | | | | | | | | Several options and public symbols that were provided to paper over non-standard long double conversions between signed/unsigned long and long long values were removed from the Autotools and CMake. These were added twenty years ago, when C99 and 64-bit platforms were less common and are no longer needed. Autotools: --enable-dconv-accuracy CMake: HDF5_WANT_DATA_ACCURACY H5pubconf.h symbols: H5_WANT_DATA_ACCURACY H5_LDOUBLE_TO_LONG_SPECIAL H5_LONG_TO_LDOUBLE_SPECIAL H5_LDOUBLE_TO_LLONG_ACCURATE H5_LLONG_TO_LDOUBLE_CORRECT H5_DISABLE_SOME_LDOUBLE_CONV
* Address memory issues when copying empty enums (#3088)Dana Robinson2023-06-122-17/+26
| | | | | | | | | | When copying an empty enum type (including implicitly, as when an enum is contained in a compound type), the library would allocate 0-size blocks of memory and attempt to memcpy 0 bytes from NULL pointers, which are undefined behavior. In debug mode, the library would raise an assert in H5MM. The library now avoid undefined memory operations when copying empty enum types and a test that copies empty enums has been added.