summaryrefslogtreecommitdiffstats
path: root/tools/src/h5dump/h5dump.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: look -> loop (#3866)H. Joe Lee2023-11-211-1/+1
|
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-151-27/+27
| | | | | | | | | | | | | | | | | | | | | * 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
* hbool_t/TRUE/FALSE --> bool/true/false in tools (#3491)Dana Robinson2023-09-051-52/+52
|
* ROS3: (feature) Temporary security credentials (#3030)Jan-Willem Blokland2023-07-141-6/+9
| | | | | | | | | | - 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-291-4/+4
| | | | | | | | | | | | | * HDisalnum * HDisalpha * HDiscntrl * HDisdigit * HDisgraph * HDislower * HDisprint * HDispunct * HDisspace * HDisupper * HDisxdigit
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-291-1/+1
|
* Remove HD from strto* calls (#3204)Dana Robinson2023-06-291-1/+1
| | | | | | | | * HDstrtod * HDstrtol * HDstrtoll * HDstrtoul * HDstrtoull * HDstrtoumax
* Rename HDexit() and related to exit(), etc. (#3202)Dana Robinson2023-06-291-1/+1
| | | | | * HDatexit * HDexit * HD_exit
* Rename HDato*() to ato*() (#3201)Dana Robinson2023-06-291-9/+9
|
* Remove HD from memory allocate/free calls (#3195)Dana Robinson2023-06-281-22/+22
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Add note about HDF5_VOL_CONNECTOR to tools usage (#3159)mattjala2023-06-281-0/+8
|
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-281-3/+3
|
* Fix ROS3 VFD anonymous credential usage with h5dump and h5ls (#2798)jhendersonHDF2023-04-241-1/+12
|
* Add no subsets option to h5diff like h5dump #2688 (#2756)Allen Byrne2023-04-181-112/+5
|
* Comment cleanup (#2689)Quincey Koziol2023-04-111-2/+0
| | | * Clean up content and redundant logging in comments.
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Onion VFD (#1953)Dana Robinson2022-08-021-5/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Onion VFD feature * Fixes onion VFD errors with non-sec2 backing store VFDs * Disables the onion VFD tests w/ ph5diff * Disables non-sec2 VFDs as onion VFD backing stores * Committing clang-format changes * Formatted source * Typo * Adds onion VFD tools tests to CMake * Fixes for v16 API compatibility * Memset structs to avoid bad frees on errors * H5Dwrite() calls now use H5T_NATIVE_INT as the memory type vs LE * Properly decodes checksums on BE machines * Be more careful about uint64_t to haddr_t/hsize_t conversions * Another fix for BE data comparison * Removed double underscores from onion constants * Replace hard-coded onion header string w/ constant * Fixes cleanup paths in H5FD__onion_ingest_history() * Fixed use of size_t revision numbers * Fix h5dump revision count format string Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-8/+8
| | | | | * Update format source to clang 13 * More format changes
* Fixes for S3 and HDFS VFDs with tools (#1740)jhendersonHDF2022-05-061-2/+6
|
* Move error-stack text to top of usage display (#1564)Allen Byrne2022-04-011-4/+6
| | | | | | | | | * Move error-stack text to top of usage display * Add optional tag ti list * format changes * Revert incorrect change
* Remove const from the argv tools/tests main sig. (#1390)Allen Byrne2022-01-281-3/+3
| | | | | | | | | * Remove const from the argv tools/tests main sig. * also remove const from H5_get_option and parse_command_line. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fixed Spelling Errors (#1166)Scot Breitenfeld2021-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset * fixed typo in error return * Committing clang-format changes * minor edits * code format * Committing clang-format changes * code format * minor edit * switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging * Committing clang-format changes * changed size_i in printf to reflect the I/O. * Committing clang-format changes * Fixed seg fault with xlf on BE with -qintsize=8 * fixed error function string * spelling corrections via codespell, added new spell check github actions * Committing clang-format changes * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * work around for https://github.com/codespell-project/codespell/issues/2137 * misc * added missing file * misc * misc. * misc * switch to using Codespell with GitHub Actions * misc. * misc. * fixed more sp errors * Fix new typos found by codespell. * fixed proceed with precede * fixed variable in fortran test * fixed minnum * updated spelling list Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fix ASAN issue in h5dump error path (#1051)Allen Byrne2021-10-031-3/+0
| | | | | * Fix ASAN issue in h5dump error path * Rework error allocation free.
* VFD plugins (#602)jhendersonHDF2021-09-291-37/+37
| | | | | | | | | | | | | | | | | * Implement support for loading of Virtual File Drivers as plugins Fix plugin caching for VOL connector and VFD plugins Fix plugin iteration to skip paths that can't be opened * Enable dynamic loading of VFDs with HDF5_DRIVER environment variable * Temporarily disable error reporting during H5F_open double file open * Default to using HDstat in h5_get_file_size for unknown VFDs * Use macros for some environment variables that HDF5 interprets * Update "null" and "ctl testing" VFDs
* Removes partial long options from the tools (#872)Dana Robinson2021-08-031-78/+0
| | | | | | | | Some of the command-line tools would allow partial long options (e.g., --datas instead of --dataset). These were inconsistently implemented, difficult to maintain, and occasionally blocked useful long options. They have been removed from all the tools. NOTE: This change should NOT be merged to 1.12 or earlier.
* Brings the tools getopt(3) replacement into the main library (#803)Dana Robinson2021-06-291-170/+170
| | | | | | | * Moves get_option from the tools library to the C library * Adds H5 prefix to get_option call and variables * Renames the H5_get_option long options struct and enum
* Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451)Sean McBride2021-03-101-1/+1
| | | | | | | | | * Fixed all clang-tidy bugprone-suspicious-string-compare warnings This change was generated entirely by clang-tidy itself. * Reformat code with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Update license url part2 (#333)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - files not in src or test.
* Small fixes (#285)Allen Byrne2021-01-271-66/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Small changes plus merge of tools arg parse from 1.12
* Switch bool/true/false to hbool_t/TRUE/FALSE in a few places (#229)Dana Robinson2020-12-241-1/+1
|
* HDFFV-11096 replace backticks with doublequotesAllen Byrne2020-10-041-4/+4
|
* HDFFV-11096 fix typo in h5dump usage textAllen Byrne2020-10-031-1/+1
|
* Clang-format of source filesAllen Byrne2020-09-301-693/+723
|
* Tools refactorAllen Byrne2020-07-151-60/+41
| | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* Added VOL command-line options to (p)h5diff, h5ls, h5dump, and h5mkgrp.Dana Robinson2020-04-211-46/+82
|
* Separated VFD and VOL parameters in tools.Dana Robinson2020-04-211-9/+7
|
* Fixed problems with S3 and HDFS VFDs.Dana Robinson2020-04-171-2/+2
| | | | | | * Updated info struct parameter to correct info_string * Fixed Makefile.am where the S3 VFD was listed twice, causing duplicated symbols errors.
* Added support for passing connector info strings via the commandDana Robinson2020-04-091-3/+3
| | | | line to the tools internals.
* Minor renaming in the tools code.Dana Robinson2020-03-311-7/+7
|
* A few small tweaks to the tools from reviewJordan Henderson2020-03-271-2/+2
|
* Update Tools library to be better compatible with VOL connectorsJordan Henderson2020-03-171-136/+62
| | | | | | | | | | | | | | | | | | | | | Modify h5repack to integrate with VOL connectors Update tools library to accomodate VOL connectors Update logic in h5tools_fopen for VOL connectors Add command-line options to h5repack for specifying in/out VOL connectors Implement h5tools_set_vol_fapl Fix library shutdown issue Integrate ROS3 and HDFS VFDs into new h5tools_get_fapl() scheme Avoid H5Ocopy in h5repack when using different VOL connectors Update h5tools_test_utils.c for ROS3 and HDFS integration
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-2/+2
|
* Update tools hid_t declarations with H5I_INVALID_HIDAllen Byrne2020-01-131-2/+2
|
* Update h5ls help and rework dump_mem routines for attrsAllen Byrne2019-12-041-0/+2
|
* HDFFV-10876 Update h5dump and h5ls for new ref api.Allen Byrne2019-11-071-2/+1
|
* More whitespace changesAllen Byrne2019-10-031-165/+52
|
* HDFFV-10919 merge synchingAllen Byrne2019-10-021-2/+1
|
* HDFFV-10901 add missing config optionsAllen Byrne2019-09-131-8/+4
|
* Fix compiler warnings with diabled ROS3 and HDFS VFDs.Jacob Smith2019-08-141-0/+4
| | | | | | Fix misuse of [HD]strncpy and [HD]snprintf. Minor formatting changes. Fix test cleanup issue with java groups example.
* Merge reconciliation and VFD test fixesAllen Byrne2019-08-041-1/+0
|