summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff_attr.c
Commit message (Collapse)AuthorAgeFilesLines
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-151-10/+10
| | | | | | | | | | | | | | | | | | | | | * 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-8/+8
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-291-9/+0
| | | | * Removes Programmer: and Date: fields * Fixes a few Modifications: fields leftover from previous work
* Remove HD from memory allocate/free calls (#3195)Dana Robinson2023-06-281-19/+19
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-161-3/+3
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* 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.
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-5/+5
| | | | | * Update format source to clang 13 * More format changes
* Fix a few issues noted by LGTM (#1421)jhendersonHDF2022-02-041-1/+1
|
* Applied clang-tidy readability-non-const-parameter warning fixes auto… (#429)Sean McBride2021-03-091-1/+1
| | | | | | | | | | | | | * 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>
* 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-159/+175
|
* Warning fixes in tools and h5test.cDana Robinson2020-08-061-25/+24
|
* Warnings reduction in toolsAllen Byrne2020-07-301-7/+5
|
* Tools refactorAllen Byrne2020-07-151-47/+117
| | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* Small fixes for tools and skip autotools tests for no filterAllen Byrne2020-01-291-1/+0
|
* Change tools debug macros to not use error stackAllen Byrne2020-01-231-9/+6
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-6/+5
|
* Update tools hid_t declarations with H5I_INVALID_HIDAllen Byrne2020-01-131-4/+4
|
* 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
| |
| * fix intel compile warningskmu2019-12-041-2/+8
| |
| * Revert "fix warnings from Intel compiler"kmu2019-11-261-8/+2
| | | | | | | | This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
| * fix warnings from Intel compilerkmu2019-11-071-2/+8
| |
* | Clean up tools warnings introduced by H5TOOLS_ERR_INIT macroJordan Henderson2019-12-311-56/+51
| |
* | Refactor tools library error handling macrosJordan Henderson2019-12-281-65/+65
| |
* | Fix compile statement orderAllen Byrne2019-12-201-1/+1
| |
* | HDFFV-10980 - h5diff uses new ref APIsAllen Byrne2019-12-191-217/+252
| |
* | HDFFV-10876 Update h5dump and h5ls for new ref api.Allen Byrne2019-11-071-44/+44
|/
* Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim()Jerome Soumagne2019-10-081-4/+4
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-2/+2
|
* HDFFV-8745 fix minor defectsAllen Byrne2018-01-091-2/+0
|
* HDFFV-8745 - fix implementation of 8625Allen Byrne2018-01-021-20/+0
|
* Fix error handling issuesAllen Byrne2017-10-171-49/+54
|
* HDFFV-10297 add h5copy test and fix h5diff errorsAllen Byrne2017-10-161-16/+16
|
* Fix VS2012 declaration errorAllen Byrne2017-10-161-3/+3
|
* HDFFV-10296 Update tools lib to use the error handling macros.Allen Byrne2017-10-131-115/+108
|
* HDFFV-10297 - Fix test errors - five remainingAllen Byrne2017-10-091-2/+2
|
* Add debug trace commandsAllen Byrne2017-05-191-4/+17
|
* HDFFV-10186 Add endianess to bitfield and fix testsAllen Byrne2017-05-101-2/+2
|
* 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.
* Code style and warning cleanups, from revise_chunks branch.Quincey Koziol2016-11-061-78/+69
|
* [svn-r30236] HDFFV-9928: remove duplicate and unconditional includes in ↵Allen Byrne2016-08-011-8/+6
| | | | | | h5diff_array. Also format function block in h5diff_attr to eliminate excessive whitespace
* [svn-r30075] Description:Quincey Koziol2016-06-141-6/+8
| | | | | | | | | | 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-r29885] Fix memory leak when one dataset is vlen.Allen Byrne2016-05-041-229/+241
|
* [svn-r28025] Description:Quincey Koziol2015-10-111-4/+4
| | | | | | | | Switch 'int' flag variables to booleans. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & paralel (too minor for h5committest)
* [svn-r25081] Bug HDFFV-8625, HDFFV-8639, HDFFV-8745:Albert Cheng2014-04-221-7/+24
| | | | | | | | | | | | h5diff issues "unable to read attribute" error message when comparing two files Description: h5diff did not handle attributes of variable length strings correctly. It created the wrong memory type if one but not both compared attributes are of the variable strings type. It ended in H5Aread() failure. Solution: We decided to treat the case when one type is variable length string and the other is not as incomparable. That bypassed the above error. We still need to figure out the proper way, if possible, to compare variable string with non-variable string types. Tested: h5committested plus tested in Swallow (OS X 10.8).
* [svn-r24999] Bugfix: HDFFV-8639 Albert Cheng2014-04-091-3/+7
| | | | | | | | | | | h5diff segfaults with user's files Solution: Added a variable to indicate if real data are in the buffer and will call H5Dvlen_reclaim() only when real data are in the buffer. Tested: with the user provided data files and no more segmentaion fault. Also h5committ tested.
* [svn-r24138] Cast constants to specified type. Allen Byrne2013-09-131-6/+6
| | | | | | | | 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-7/+7
| | | | | | | | | | | | 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-r23304] Purpose:Jonathan Kim2013-02-181-0/+7
| | | | | | | | | | | | HDFFV-7643 - h5diff - incorrect exit-code returns for extra attribute exist Description: h5diff: Fixed to return correct exit code 1 when detect unique attribute. Prior to this fix, h5diff returned exit code 0 indicating two files are identical. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE), emu (solaris-BE), Windows (32-LE cmake), cmake (jam)