summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
Commit message (Collapse)AuthorAgeFilesLines
* Warnings reduction in toolsAllen Byrne2020-07-301-1/+1
|
* Tools refactorAllen Byrne2020-07-151-41/+138
| | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* Fixed h5diff command-line parameters to use 1 and 2 instead of srcDana Robinson2020-04-221-4/+4
| | | | and dst.
* Added VOL command-line options to (p)h5diff, h5ls, h5dump, and h5mkgrp.Dana Robinson2020-04-211-4/+25
|
* Update Tools library to be better compatible with VOL connectorsJordan Henderson2020-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | 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
* fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, ↵kmu2020-01-271-1/+1
| | | | Wsign-compare, Wmisleading-indentation, Wshadow
* squash cast warning fixkmu2020-01-231-3/+3
|
* Change tools debug macros to not use error stackAllen Byrne2020-01-231-23/+12
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-18/+28
|
* Update tools hid_t declarations with H5I_INVALID_HIDAllen Byrne2020-01-131-2/+2
|
* Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-061-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '0a2bb11b248df6841daabca3970df5d8504adfc7': address problems from comments fix and address comments change according to previous comments add missing piece remove unnecessary check macro fix intel compile warnings Revert "fix warnings from Intel compiler" Revert "fix warnings and some text alignment" Revert "let hdf5 pick up the right compiler in Intel environment" Revert "fix issues from previous PR comments" Revert "using a different MACRO" using a different MACRO fix issues from previous PR comments let hdf5 pick up the right compiler in Intel environment fix warnings and some text alignment fix warnings from Intel compiler
| * fix and address commentskmu2019-12-111-9/+3
| |
| * Merge branch 'develop' into bugfix/intel_warningskmu2019-12-091-3/+0
| |\
| * | fix intel compile warningskmu2019-12-041-2/+8
| | |
* | | Clean up tools warnings introduced by H5TOOLS_ERR_INIT macroJordan Henderson2019-12-311-73/+60
| | |
* | | Refactor tools library error handling macrosJordan Henderson2019-12-281-131/+130
| | |
* | | HDFFV-10980 - h5diff uses new ref APIsAllen Byrne2019-12-191-49/+85
| | |
* | | Revert declaration deletion.Allen Byrne2019-12-071-0/+1
| | |
* | | Address compile warningsAllen Byrne2019-12-061-1/+0
| | |
* | | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-12-021-3/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0772b975d1d2bfa15aedeb4b6e2c2aac78c61a2f': Fix missing free in H5T__ref_mem_read() Fix bugs in H5VL file comparison code. Add short circuit success to H5VL_cmp_connector_cls(). Implement file comparison VOL callback. Other changes to allow references to work with non-native connectors. There is a bug somewhere. Add support for point selections to H5S_select_project_intersection. Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings level and fixing some code.' (commit 5c911d8baf3)" Revert "Oops, remove more C99 designated initializers for VS 2010 compatibility." H5R: fix H5Tconv to check for null references Trivial parameter renaming in VOL API calls. Move checking for zero offset in selection adjust calls to the selection callbacks. This makes the procedure for checking it consistent across selection types and between _s and _u, ensures it is always is performed even when called within the H5S package, and removes the redundant check that would occur when callins H5S_select_adjust_s() from outside the H5S package. Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() with H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
| * | Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-271-3/+0
| |/ | | | | | | level and fixing some code.' (commit 5c911d8baf3)"
* | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-11-261-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a8892bb42d6f6e4fbc30fae0eb2b957f81c938b9': (45 commits) Oops, remove more C99 designated initializers for VS 2010 compatibility. Add an #include to get a function declaration. Don't use C99 designated initializers, they're not compatible with Visual Studio 2010. Quiet some more maybe-uninitialized warnings---each is a false positive, *sigh*. This is more code that may not compile with VS2010, *sigh sigh*. Always warn on maybe-uninitialized. -Wincompatible-pointer-types was not available until GCC 5, so enable it only if that's the GCC version we're using. Only promote maybe-uninitialized warnings to errors on GCC 8. Even on GCC 8, there may be false positives at low optimization levels? I need to check. Only use -Werror=cast-function-type with GCC 8 and later. Put all of the -W options back into the order I found them in so that it's easier to compare old and new config/gnu-flags. Add new source files to CMakeLists.txt. Mention the -Werror= flags in libhdf5.settings.in. free -> HDfree Promote decleration-after-statement warnings to errors. Quiet decleration-after-statement warnings. Move a statement under some declarations since some vintages of Visual Studio don't like declarations after statements. Document H5D__chunk_mem_xfree_wrapper(). Undo accidental test deletion. Oops, delete a debug printf that snuck in here. Undo my changes to the HD macros, hadn't really intended those to be on this branch.... Make errors of some more warnings. Move disabled warnings to DEVELOPER_WARNING_CFLAGS. Put just one warning option on a line, and sort some of the options. Cast to the parameter type, H5VL_token_t *, instead of to unsigned char *. ...
| * Demote errors to warnings for a couple of unused-but-set variables thatDavid Young2019-11-131-0/+3
| | | | | | | | I cannot untangle right now.
* | HDFFV-10876 Update h5dump and h5ls for new ref api.Allen Byrne2019-11-071-43/+43
|/
* Add HD prefix to testsAllen Byrne2019-08-151-5/+5
|
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-1/+0
| | | | clean up warnings.
* TRILAB-81 coverity fixesAllen Byrne2018-10-171-2/+6
|
* Changes made based on feedback from pull request #1039.Vailin Choi2018-05-141-6/+6
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-6/+6
|
* Fix error handling issuesAllen Byrne2017-10-171-85/+72
|
* HDFFV-10297 add h5copy test and fix h5diff errorsAllen Byrne2017-10-161-105/+107
|
* HDFFV-10297 Fix compiler compaliantsAllen Byrne2017-10-161-4/+8
|
* HDFFV-10296 Update tools lib to use the error handling macros.Allen Byrne2017-10-131-534/+398
|
* HDFFV-9774 Add enable-error-stack argument to h5diffAllen Byrne2017-08-311-166/+115
|
* Stripped C standard library headers (and a couple of macros)Dana Robinson2017-07-171-2/+0
| | | | | from the tools code. This is all handled in H5private.h, which should be included in all tools source files.
* 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.
* Add goto error for dataset read failure. Fixed commentsAllen Byrne2017-01-171-84/+84
|
* [svn-r30113] Description:Quincey Koziol2016-06-281-1/+2
| | | | | | | | 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-r30075] Description:Quincey Koziol2016-06-141-4/+9
| | | | | | | | | | Bring object/dataset/group/named datatype features from revise_chunks branch to trunk. Also CMake support for h5format_convert and a bunch of misc. cleanups. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r27801] Minor warning fixes in the tools.Dana Robinson2015-09-161-2/+2
| | | | Tested on: jam (too minor for h5committest)
* [svn-r25755] Removed spurious casts in a few HDfree() statements.Dana Robinson2014-10-311-7/+7
| | | | | | | Discovered when I temporarily #defined HDfree() to a more complicated function while investigating something. Tested on a local linux VM. This is a very minor change.
* [svn-r25215] Description:Quincey Koziol2014-05-251-130/+163
| | | | | | | | | | | | | | Bring changes from Coverity branch back to trunk: r20914: Use HDstrncpy and HDstrncat! --gh 20915: Use HDstrncpy and HDstrncat! --gh Tested on: Mac OSX/64 10.9.3 (amazon) w/gcc 4.9.0, C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r24804] Description:Quincey Koziol2014-03-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Brought changes from Coverity branch back to trunk, and cleaned up misc. other warnings & formatting issues: r20833: Fixed Coverity 667 and 668 with real integer overflow tests this time. r20834: Use HDstrncpy and HDstrncat. --gh r20835: Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159 r20836: Fixed coverity 585 by casting output of fgetc() to a char. r20837: Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r24480] Description:Quincey Koziol2013-11-301-41/+0
| | | | | | | | | | | Bring r24479 from 1.8 branch to trunk: Fix ph5diff worker command handling so it can correctly respond to situations where there's no work to perform. Also, a few minor code cleanups. Tested on: Mac OSX/64 10.9.0 (amazon) w/parallel (too minor to require h5committest)
* [svn-r24138] Cast constants to specified type. Allen Byrne2013-09-131-7/+7
| | | | | | | | Cast smaller vars to larger type. Cast calculation result to correct type. Changed int member to hbool_t Tested: local linux
* [svn-r23395] Description:Quincey Koziol2013-03-201-17/+17
| | | | | | | | | | | | Bring Coverity changes from branch to trunk: r20682: fixed coverity: 76, 77, 635, 636, 1164, 1165, 1166, 1121, 1122, 1117, 1343 Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r22751] Purpose:Jonathan Kim2012-09-101-0/+22
| | | | | | | | | | | | HDFFV-5919 - GMQS: h5diff - The number of object difference is not consistent between dataset and group/type when attribute(s) have differences Description: Object differences are not consistent between dataset and group/datatype when their attribute(s) have differences. This is because attribute(s) differences is not accumulated to group or datatype object’s difference, but accumulated to dataset difference. To fix, do not accumulate attribute difference to dataset difference. This is referred to h5diff’s default behavior and also past report from users that users were confused by the accumulated behavior. (also can’t figure out only for dataset difference , also hard to spot dataset difference when it has lots of attributes or differences) This also lead to fix inconsistent format indicating difference between dataset and group/datatype object. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
* [svn-r22637] Remove legacy command to kill MPI processes on obj to obj testing.Allen Byrne2012-08-061-18/+9
| | | | Tested: Windows, jam, koala
* [svn-r22631] Move executable statement to after declarationsAllen Byrne2012-08-061-2/+2
|
* [svn-r22625] HDFFV-8111: h5diff compare file to itself - removed path shortcutAllen Byrne2012-08-031-204/+110
|