summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
Commit message (Collapse)AuthorAgeFilesLines
* Applied clang-tidy readability-non-const-parameter warning fixes auto… (#429)Sean McBride2021-03-091-3/+3
| | | | | | | | | | | | | * Automatically applied clang-tidy readability-avoid-const-params-in-decls fixes Removes useless const declarations. * Fixed most readability-non-const-parameter warnings These changes were made automatically by clang-tidy, but I manually reverted the changes related to the H5Z_func_t signature. * Reformat source with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fixed uninitialized warnings (#360)Sean McBride2021-02-191-1/+1
| | | | | | | | | | * Fixed all -Wsometimes-uninitialized warnings by initializing variables * Fixed all -Wconditional-uninitialized warnings by initializing variables * Commit alignment changes from running bin/format_source with clang version 10.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.
* Clang-format of source filesAllen Byrne2020-09-301-434/+402
|
* Warnings reduction in toolsAllen Byrne2020-07-301-1/+1
|
* Tools refactorAllen Byrne2020-07-151-31/+109
| | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* Separated VFD and VOL parameters in tools.Dana Robinson2020-04-211-172/+163
|
* Changed identifiers and command-line options from "id" to "value" in toolsDana Robinson2020-04-141-12/+12
| | | | code to be in agreement with H5VL API terminology.
* Added support for passing connector info strings via the commandDana Robinson2020-04-091-20/+35
| | | | line to the tools internals.
* Merge pull request #2490 in HDFFV/hdf5 from tools_vol_update to developJordan Henderson2020-04-031-1/+1
|\ | | | | | | | | | | * commit 'a5a2fb44296327787476407a249d9470b3c80427': Skip testing of passthrough VOL connector in a Family File tools test Restore previous tools library driver name behavior with passthrough VOL connector
| * Restore previous tools library driver name behavior with passthrough VOL ↵Jordan Henderson2020-04-031-1/+1
| | | | | | | | connector
* | Fixed unnecessary H5R casts in the tools that were raising warnings.Dana Robinson2020-04-021-2/+2
| |
* | Minor renaming in the tools code.Dana Robinson2020-03-311-54/+56
|/
* A few small tweaks to the tools from reviewJordan Henderson2020-03-271-125/+133
|
* Replace usage of some standard library functions with HD- versionsJordan Henderson2020-03-261-2/+2
|
* Update Tools library to be better compatible with VOL connectorsJordan Henderson2020-03-171-135/+476
| | | | | | | | | | | | | | | | | | | | | 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
* Introduce new H5VL _by_value routinesJordan Henderson2020-01-291-2/+2
|
* Change tools debug macros to not use error stackAllen Byrne2020-01-231-14/+24
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-9/+13
|
* Update tools hid_t declarations with H5I_INVALID_HIDAllen Byrne2020-01-131-17/+17
|
* Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-01-041-3/+3
|
* Clean up tools warnings introduced by H5TOOLS_ERR_INIT macroJordan Henderson2019-12-311-73/+55
|
* Refactor tools library error handling macrosJordan Henderson2019-12-281-87/+81
|
* HDFFV-10980 - h5diff uses new ref APIsAllen Byrne2019-12-191-5/+17
|
* Update h5ls help and rework dump_mem routines for attrsAllen Byrne2019-12-041-2/+2
|
* Update reference files and fix int as stringAllen Byrne2019-12-031-1/+7
|
* HDFFV-10876 Update h5dump and h5ls for new ref api.Allen Byrne2019-11-071-103/+161
|
* HDFFV-10919 merge synchingAllen Byrne2019-10-021-16/+16
|
* Updated configure & CMake compiler flags for GCC 8.x, along with correspondingQuincey Koziol2019-06-281-3/+3
| | | | | changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
* TRILAB-81 coverity fixesAllen Byrne2018-10-171-16/+16
|
* Changes made based on feedback from pull request #1039.Vailin Choi2018-05-141-4/+4
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-4/+4
|
* HDFFV-10384 Add optional arg to enable-error-stackAllen Byrne2018-02-141-5/+17
|
* Fix typosAllen Byrne2017-10-241-5/+5
|
* HDFFV-10297 Cleanup, Initialize variablesAllen Byrne2017-10-231-278/+186
|
* HDFFV-10282 refactor out assert calls in toolsAllen Byrne2017-08-231-15/+18
|
* Stripped C standard library headers (and a couple of macros)Dana Robinson2017-07-171-6/+0
| | | | | from the tools code. This is all handled in H5private.h, which should be included in all tools source files.
* Set default of var to NATIVEAllen Byrne2017-06-201-1/+1
|
* HDFFV-8611 change h5repack to save the root group creation orderAllen Byrne2017-05-221-0/+4
| | | Added test and new arguments to control the the input file parsing.
* HDFFV-10186 Add endianess to bitfield and fix testsAllen Byrne2017-05-101-1/+1
|
* HDFFV-10186 Whitespace changesAllen Byrne2017-05-091-37/+37
| | | | Mostly replacing tabs with spaces Removed empty mod sections
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* [svn-r30113] Description:Quincey Koziol2016-06-281-47/+41
| | | | | | | | Clean up warnings (from 2774 -> 1560, with my standard debug build) Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29889] HDFFV-9775: Add enable-error-stack to tools lib and refactor ↵Allen Byrne2016-05-041-0/+1
| | | | h5repack error handling.
* [svn-r27801] Minor warning fixes in the tools.Dana Robinson2015-09-161-8/+8
| | | | Tested on: jam (too minor for h5committest)
* [svn-r27626] Various minor warning fixes before major SWMR and VDS merges.Dana Robinson2015-08-311-3/+13
| | | | | | | | | | | gcc 4.9.2 was used to create the warning list - implicit casts - shadowed variables - various enum issues - other minor fixes (comments, unused macros, etc.) Tested on: h5committest
* [svn-r27185] fix more instances where both mpi is_initialized and ↵Mohamad Chaarawi2015-06-101-7/+7
| | | | | | is_finalized need to be checked before making any MPI calls. tested with h5committest.
* [svn-r24864] Description:Quincey Koziol2014-03-211-52/+12
| | | | | | | | | | | | | | | | | | Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial
* [svn-r24285] Eliminate several "passing argument ... with different width ↵Larry Knox2013-10-101-12/+12
| | | | | | due to prototype" warnings by casting constants to size_t where expected by string functions. Tested on jam, koala,ostrich and platypus with h5committest.
* [svn-r24101] Description:Quincey Koziol2013-09-051-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings, enable new compiler warning flag(s) and bring back changes from Coverity branch: r20813: Remove the dead code as listed for coverity bug #1722. h5committested. r20814: Issue 69: Check return value and throw error if negative return. Also free datatype id on error r20815: Use HDstrncpy. --gh r20816: Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832. r20817: Use HDstrncpy and HDstrncat. --gh r20818: Purpose: Fix valgrind issues with h5jam Description: Modified h5jam to free strings strdup'd in parse_command_line before exit. Note that they may still not be freed in case of error, due to the widespread use of exit(). r20819: Issue 80: change loop to use int as loop index. r20820: Maintenance: Fixed the bug found by coverity CID 788 There were two problems with this function: 1) it tried to unnecessary free NULL pointer 2) it tried to allocate c_name buffer that is done by H5Pget_class_name Tested on: Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN (too minor to require h5committest)