summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* [svn-r24011] Description:Quincey Koziol2013-08-151-1/+1
| | | | | | | | Clean up a few warnings Tested on: Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23953] Update stream handling to allow binary mode - due to unjam fix.Allen Byrne2013-07-311-14/+57
| | | | Tested: local linux
* [svn-r23944] Move stream functions into tools lib.Allen Byrne2013-07-301-5/+219
| | | | Tested: local linux
* [svn-r23695] Description:Quincey Koziol2013-05-111-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!) Merge changes from Coverity branch back to trunk: r20684: Fix for coverity bug #1721 which was due to the fix for coverity bug #943. r20685: Use HDstrncpy. --gh r20761: Purpose: Fix valgrind issues Description: Free image_data and data as appropriate in test_image. r20762: Purpose: Fix coverity issue 600 Description: Add check for return value of H5O_close in H5Ocopy. Also cleaned up various warnings. r20763: Purpose: Fix valgrind issues with h5stat Description: Modified h5stat to free "iter" before exit, and free "hand" before exit if parse_command_line exits directly. r20764: fixed coverity issues: 69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80 r20765: Fixed coverity bug 668 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1. I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program. r20766: Fixed coverity bug 667 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN (h5committest upcoming)
* [svn-r23226] HDFFV-8285: suppress-ddl option: Changed file options to allow ↵Allen Byrne2013-02-041-0/+1
| | | | | | for filename F to be optional. Tested: local linux
* [svn-r23219] Description:Quincey Koziol2013-02-021-33/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring reviewed changes from Coverity branch back to trunk (QK & JK): r20457: Coverity issue 691: return of H5duo could be negative. Fixed by using STDOUT_FILENO and redesign parse_command_line and main to cleanup file allocations. The output_file var is null when using stdout. In cleanup do not close output_file if NULL. r20510: Initialize ufid = -1 and predicate HDclose call on ufid != -1 r20511: Purpose: Fix coverity issue 1715 Description: Free "file" and nested data on failure in H5FD_core_open. r20512: Initialize ifid = -1 and predicate HDclose call on ifid != -1 r20514: Initialize h5fid = -1 and predicate HDclose call on h5fid != -1 r20516: Added else branch to the if (ret_value < 0) check. r20522: Addressed coverity issues 930-933, 850, 836, 835, 1307. All minor potential buffer overwrite bugs, or coverity errors. Fixed by replacing strcpy and sprintf with strncpy and snprintf. r20523: fixed coverity issues 68, 1120, 1116i r20524: Check H5Z_SZIP->encoder_present < 1 assuming 0 represents absence. r20601: Purpose: Fix coverity issues 1703-1705 Description: Modified the cleanup code in test_free in accum.c to reset allocated buffers to NULL after they are freed, and modified the error cleanup code to check if these buffers are NULL before freeing them. Also fixed some unrelated warnings in accum.c. r20602: Use HDsnprintf and HDstrncat r20603: Purpose: Fix coverity issues 808-809 Description: Modified test_core in vfd.c to check the returns from malloc, and keep track of whether points and check are allocated by setting them to NULL when they are not. Added code to free points and check on error if they are not NULL. Also fixed unrelated warnings in vfd.c. r20604: Use HDstrncpy. r20605: Use HDstrncpy and HDstrncat. r20606: Purpose: Fix coverity issue 807 Description: Modified long_compact in stab.c to keep track of whether objname is allocated by setting it to NULL when it is not. Added code to free objname on error if it is not NULL. r20607: Changed string function calls to use versions that specify the string length to fix coverity issues 832 and 839. Tested on: Mac OSX/64 10.8.2 (amazon) (Too minor to require h5committest)
* [svn-r23216] Add newline for special case of only raw data to stdoutAllen Byrne2013-01-311-2/+7
|
* [svn-r23190] HDFFV-8285: Add suppress ddl option.Allen Byrne2013-01-221-24/+48
| | | | Tested: local linux
* [svn-r23158] HDFFV-8169: h5dump incorrectly dumps a string into a binary fileAllen Byrne2013-01-141-1/+1
| | | | Tested: local linux
* [svn-r22625] HDFFV-8111: h5diff compare file to itself - removed path shortcutAllen Byrne2012-08-031-251/+0
|
* [svn-r22604] cast void* to char* for calculationAllen Byrne2012-07-261-6/+6
| | | | Issue on windows
* [svn-r22602] Allen Byrne2012-07-251-164/+191
|