summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859)Allen Byrne2023-11-2220-58/+511
|
* Fix typo: look -> loop (#3866)H. Joe Lee2023-11-211-1/+1
|
* Add extra space in comments for consistency (#3852)H. Joe Lee2023-11-141-2/+2
| | | | | * Add extra space in comments for consistency * uncomment tfloatsattrs test
* Fix misc. warnings from GCC when compiling with -fsanitize=undefined (#3787)jhendersonHDF2023-11-011-0/+8
|
* Don't build util tests when HDF5_EXTERNALLY_CONFIGURED=ON (#3781)Robert Adam2023-10-301-1/+1
| | | | Fixes #3780
* Don't install h5tools_test_utils test program on system (#3793)jhendersonHDF2023-10-301-1/+1
|
* Add helpful text to h5clear (#3754)bmribler2023-10-233-6/+27
| | | | | | | Added text to the usage of h5clear to explain that this tool is not for fixing corrupted files but simply for helping in the inspection of the damage.. Fixed expected output for testing the modified usage.
* Clean up onion VFD files in tools `make clean` (#3739)Dana Robinson2023-10-212-3/+2
| | | | Cleans up h5dump and h5diff *.onion files in the Autotools when runing `make clean`.
* Add tools/libtest to Autotools builds (#3735)Dana Robinson2023-10-202-5/+5
| | | | | This was only added to CMake many years ago and tests the tools library.
* Test scripts now execute in-source with creation of tmp dir (#3723)Allen Byrne2023-10-2035-42/+49
| | | | | | Fixes a few issues created in #3580: * Fixes a problem where committed tools test files were deleted when cleaning after an in-source build * Fixes issues with test file paths in Autotools tools test scripts
* Fix issue with unmatched messages in ph5diff (#3719)jhendersonHDF2023-10-192-7/+4
|
* Sync changes that are only in 1.14 branch (#3704)jhendersonHDF2023-10-181-1/+1
|
* Fix several spelling/grammar issues (#3621)jhendersonHDF2023-10-035-5/+5
|
* Remove unnecessary assignment in test generator (#3603)Dana Robinson2023-09-271-1/+0
| | | | | | | Fixes what looks like a copy/paste/modify error in the format convert test file generator, where an array element is assigned one value and them immediately overwritten by another value. Fixes Coverity issue 1542285
* Fix potential uninitialized variable (#3602)Dana Robinson2023-09-271-3/+4
| | | | | | | | | | Moves a union initialization up a bit so it's performed before code that can jump to the cleanup target, where file descriptors could be checked without being initialized. This could only happen in test code and only in an out-of-memory situation. Fixes Coverity 1542254
* Develop tools move (#3580)Allen Byrne2023-09-261037-2117/+2184
| | | Reorganizes the tools files to support the VOL tests
* Replaces HDgetenv with getenv (#3599)Scot Breitenfeld2023-09-267-14/+14
|
* Use HDoff_t with lseek consistently (#3600)Dana Robinson2023-09-263-8/+8
| | | | | lseek on Windows uses __int64 for both the offset and return type instead of off_t like most POSIX systems. This changes ensures we use HDoff_t (which is typdef'd correctly on Windows) w/ lseek.
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-1560-1078/+1078
| | | | | | | | | | | | | | | | | | | | | * 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
* Remove HD prefix from math functions (#3538)Dana Robinson2023-09-142-42/+42
|
* hbool_t/TRUE/FALSE --> bool/true/false in tools (#3491)Dana Robinson2023-09-0557-1409/+1405
|
* Fix for CVE-2018-15671. h5stat -S $POC will result in a crash with ↵vchoi-hdfgroup2023-08-252-16/+2
| | | | | | segmenetation fault. (#3427) It is because the object in the testfile points back to the root group. When the tool tries to traverse the object, it goes back to the root group and then back again.
* Avoid H5Ocopy in h5repack for variable-length string types (#3419)jhendersonHDF2023-08-241-0/+4
|
* Add other types and full type to enum/str/vlen dataformat for ↵Allen Byrne2023-08-242-59/+76
| | | | structblock[begin/end] (#3353)
* Fix ph5diff tests for MPIEXEC_MAX_NUMPROCS=1 (#3407)jhendersonHDF2023-08-222-7/+11
|
* Make h5dump spacing consistent when printing VLEN datatype (#3351)jhendersonHDF2023-08-0412-26/+26
|
* Fixes the last of the -Wextra-semi-stmt warnings (#3326)Sean McBride2023-08-023-9/+9
| | | | | | | | | | | | | | | | | | | | | | | * Fixed extra semi warning by adjusting alternative macro definitions * Find-replace H5E_END_TRY; -> H5E_END_TRY * Made H5Epush_goto a do-while loop, fixed indentation * Made GOTOERROR and ERRMSG do-while loops * Made Hgoto_error and Hgoto_done do-while loops * Made vrfy_cint_type and vrfy_ctype do-while loops * Made TEST_TYPE_CONTIG and others do-while loops * Removed extraneous semi-colons * Committing clang-format changes --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix h5repack for variable-length datatyped datasets (#3331)jhendersonHDF2023-08-021-1/+12
|
* Fix H5Otoken_to_str call in h5dump and other minor cleanup (#3314)jhendersonHDF2023-08-023-30/+62
|
* Another round of fixing -Wextra-semi-stmt warnings (#3264)Sean McBride2023-07-247-16/+16
| | | Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* removed the use of encoded single apostrophe (#3261)Scot Breitenfeld2023-07-203-3/+3
| | | | | | * 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 some warnings in developer builds (#3247)jhendersonHDF2023-07-182-0/+5
| | | | | * Fix some warnings in developer builds * Switch approach to Winline flag
* ROS3: (feature) Temporary security credentials (#3030)Jan-Willem Blokland2023-07-147-216/+270
| | | | | | | | | | - 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>
* Remove HD from HDis* (e.g., isalpha) (#3212)Dana Robinson2023-06-295-23/+23
| | | | | | | | | | | | | * HDisalnum * HDisalpha * HDiscntrl * HDisdigit * HDisgraph * HDislower * HDisprint * HDispunct * HDisspace * HDisupper * HDisxdigit
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-2935-296/+296
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-2946-561/+1
| | | | * 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-2919-113/+113
| | | | | | | | | * HDfclose * HDferror * HDfeof * HDfflush * HDfopen * HDfread * HDfwrite
* Remove HD from strto* calls (#3204)Dana Robinson2023-06-2913-41/+41
| | | | | | | | * HDstrtod * HDstrtol * HDstrtoll * HDstrtoul * HDstrtoull * HDstrtoumax
* Rename HDexit() and related to exit(), etc. (#3202)Dana Robinson2023-06-2927-115/+115
| | | | | * HDatexit * HDexit * HD_exit
* Rename HDato*() to ato*() (#3201)Dana Robinson2023-06-2911-53/+53
|
* Remove HD from protected POSIX calls (#3203)Dana Robinson2023-06-292-18/+18
| | | | | | | | | | | 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-2850-889/+887
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Rename HDsystem() to system() (#3197)Dana Robinson2023-06-281-2/+2
| | | | system() is only used in the iopipe test and the things it calls (which are POSIX-y) are protected by an ifdef.
* Add note about HDF5_VOL_CONNECTOR to tools usage (#3159)mattjala2023-06-2828-0/+99
|
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-2856-2491/+2476
|
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-2814-599/+599
| | | | | * Change HDassert to assert * Fix bin/make_err
* Remove HDva_(arg|copy|end|start) (#3184)Dana Robinson2023-06-284-14/+14
|
* Many fixes to various compiler warnings (#3124)Sean McBride2023-06-1921-87/+98
| | | | | | | | | | | * 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
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-1633-114/+109
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* Add h5copy help test and verify consistency (#2902)Allen Byrne2023-05-1710-6/+178
| | | * Add autotools test for help