summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_common.c
Commit message (Collapse)AuthorAgeFilesLines
* HDFFV-8745 merge h5diff attribute fixAllen Byrne2018-01-111-0/+3
|
* HDFFV-10297 merge from developAllen Byrne2017-10-191-42/+41
|
* HDFFV-9774 Fix merge typoAllen Byrne2017-09-071-3/+4
|
* HDFFV-9774 Add enable-error-stack to h5diffAllen Byrne2017-09-061-228/+212
|
* Tools merge from develop-1.10Allen Byrne2017-05-171-27/+28
|
* Merge/port changes from develop back to 1.8 for tools and cmakeAllen Byrne2017-03-291-2/+3
|
* [svn-r25082] Bug HDFFV-8625, HDFFV-8639, HDFFV-8745:Albert Cheng2014-04-221-1/+8
| | | | | | | | | | | | | | | | | | | 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-r24205] Merge HDFFV-8513/8522 from trunk (via cmake branch), h5repack ↵Allen Byrne2013-09-261-3/+4
| | | | | | | | UD plugins. Also warning session fixes. Tested: CMake local linux
* [svn-r22013] HDFFV-7560:Allen Byrne2012-03-021-2/+3
| | | | | | | | | | Merge 1.8 and h5dump/tools and tests based on tools library from trunk. Reduced warnings. HDFFV-7949: Remove duplicated functions in h5ls Tested: local linux,h5committest
* [svn-r21404] Purpose:Jonathan Kim2011-09-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | HDFFV-7693 - h5diff produces different behavior between versions: 1.8.3 and 1.8.6 Description: There were two issues on this. One was not displaying all the comparable objects if non-comparable object/attribute exist and compared before comparables ones. This issue occurred after 1.8.4 release. This is the issue from user. The other issue was not displaying all the comparable attributes, if non-comparable object/attribute exist and compared ahead. This issue were exist even before 1.8.4 release. So it's possible some attribute comparison may have not displayed correctly in the past, if non-comparable data were exist in common object. Fixed h5diff to display all the comparable object and attribute regardless of non-comparables. Merged from HDF5 trunk r21396 and r21397. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Windows)
* [svn-r21337] Synchronize cmake files with tested commits from trunk, windows ↵Allen Byrne2011-08-301-40/+8
| | | | parallel diff
* [svn-r21077] Purpose:Jonathan Kim2011-07-081-91/+116
| | | | | | | | | | | | | Work for HDFFV-7600 - GMQS: h5diff - argument options -d, -p and --use-system-epsilon should be mutually exclusive. Description: Merge from HDF5 trunk r21072. Fixed h5diff to display instructive error message and exit with 1 when mutually exclusive options (-d, -p and --use-system-epsilon) are used together. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
* [svn-r20428] Purpose:Jonathan Kim2011-04-061-3/+3
| | | | | | | | | | | | Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Additional check in from the previous checkin r20425. Updated help page again. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r20425] Purpose:Jonathan Kim2011-04-061-1/+2
| | | | | | | | | | | | Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Additional check in from the previous checkin r20369. Updated help page. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r20369] Purpose:Jonathan Kim2011-03-291-9/+3
| | | | | | | | | | | | | | | | | Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Fixed h5diff for --use-system-epsilon option: the calculation changed from ( |a - b| / b ) to ( |a - b| ). This was decided for better performance and was corrected only in HDF5 trunk, so 1.8 got updated. Also comments for equal_XXX() function were updated correctly. Also help page and RM got updated correctly. Also add test cases for testing the differences w/wo the option. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
* [svn-r20350] Purpose:Jonathan Kim2011-03-251-1/+10
| | | | | | | | | | | | | | | | Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the different set of attributes (different number and names) Description: Merged from HDF5 trunk r20334. This is related to previous checkin r20299. Add help page update for verbose option level feature, which displays useful information about attribute difference with -v1, --verbose=1 -v2 or --verbose=2 option. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r20299] Purpose:Jonathan Kim2011-03-231-3/+37
| | | | | | | | | | | | | | | | | Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the different set of attributes (different number and names) Description: Merged from HDF5 trunk r20294 Previously h5diff compared attributes correctly only when two objects have the same number of attributes and attribute names are identical. Also didn't display useful information about attribute difference. This fix covers all other cases. This fixes both issues. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r19492] Purpose:Jonathan Kim2010-09-291-0/+24
| | | | | | | | | | | Update help page for exclude-path feature. Description: Merged from hdf5 trunk (r19491). Related to "1890: h5diff excluding object for file comparison via command line" checkins. (r19406) Tested: jam, linew
* [svn-r19407] Purpose:Jonathan Kim2010-09-161-0/+38
| | | | | | | | | | | | Add --exclude-path option Description: Merged from hdf5 trunk (r19406). Specified path to an object will be excluded from comparing the two files or two groups. If group is specified all the member objects will be excluded. Related to "1890: h5diff excluding object for file comparison via command line" Tested: jam, amani
* [svn-r19401] Purpose:Jonathan Kim2010-09-161-10/+21
| | | | | | | | | | | Fix for Bug1975 h5diff - support recursive comparison on group when specified as an object Description: Merged from hdf5 trunk (r19400). Compare member objects and groups recursively when two files or groups are specified to be compared. Support parallel diff and handling symbolic links accordingly. Tested: jam, amani
* [svn-r19254] Description:Quincey Koziol2010-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Bring r19252 & 19253 from trunk to 1.8 branch: Bring Coverity changes from branch to trunk: r19161: Fixed the part for matching the subset info with dataset r19189: BZ1646: h5dump does not check number of dimensions for subsetting parameters against the dataset Changed subset_t structure from holding hsize_t pointers to holding new subset_d pointers, which hold the original hsize_t pointer + len. this len is then checked against dataset ndims in the handle_dataset function of h5dump. Changed all references to use new data structure. Added tests for each subset parameter. r19190: Added new h5dump ddl files Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r18874] Purpose:Jonathan Kim2010-05-211-6/+6
| | | | | | | | | | | | Rename '--follow-links' to '--follow-symlinks' Description: The '--follow-links' option is to follow symbolic links (soft and external). Make the name more intuitive and specific to the feature. Merged from hdf5 trunk r18873. Tested: jam
* [svn-r18757] Enable tools lib to be built as a dll on windows. Added two ↵Allen Byrne2010-05-111-7/+3
| | | | | | | | | | get/set functions for progname and d_status. Also add windows import/export declarations to functions. Updated windows - H5pubconf.h for packed bits function Tested: Windows, linux
* [svn-r18279] Purpose:Jonathan Kim2010-02-191-41/+74
| | | | | | | | | | Work for bugzilla 1754: h5diff: support comparing through links. Description: merged from hdf5 trunk (18164, 18165, 18166, 18167, 18170, 18266, 18273) Tested: h5committest (jam, amani and linew)
* [svn-r18198] Description:Quincey Koziol2010-01-301-4/+4
| | | | | | | | | Trim trailing whitespace from source code files, with following command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r17467] " Use strict equality as defaultPeter Cao2009-09-111-14/+32
| | | | | | " Use "--use-system-epsilon" for system EPSILON " Use "-p" or "-d" for whatever user's choice of epsilon " Use "-p 0" or "-d 0" for strict equality (same as default)
* [svn-r16566] Description:Quincey Koziol2009-03-111-6/+9
| | | | | | | | Bring r16560 back from trunk. Tested on: Mac OS X/32 10.5.6 (amazon) debug & production (Following up with tests on more platforms)
* [svn-r16437] merge from trunkPedro Vicente Nunes2009-02-051-1/+1
| | | | | bug fix: typo in usage message tested: linux
* [svn-r16351] merge 16348Pedro Vicente Nunes2009-01-261-6/+15
| | | | | | | | #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> added some test cases tested: windows, linux
* [svn-r16312] merge 16300Pedro Vicente Nunes2009-01-141-1/+10
| | | | | | | | | Added an option to avoid dealing with NaNs -N, --nan Avoid NaNs detection Note: there is no shell script run for datasets with NaN because the output is non portable (different results and NaN strings for different systems) Tested: windows, linux
* [svn-r15901] undo some changes in the list of parameters of ↵Pedro Vicente Nunes2008-10-181-2/+30
| | | | | | parse_command_line (forgot that this function is called both on serial and parallel) tested: linux
* [svn-r15900] Make the h5copy test that renames a group to return 1 on the ↵Pedro Vicente Nunes2008-10-171-12/+1
| | | | | | | | h5diff call and assume 1 is the correct result Drop the -c flag for h5diff Tested: linux
* [svn-r15899] Extend the -c flag for ignore graph differences to ignore ↵Pedro Vicente Nunes2008-10-171-25/+2
| | | | | | | | different group names This is used in the h5copy test that compares renaming of groups Tested: linux
* [svn-r15896] Introduced a -c flag to ignore file contents differences in the ↵Pedro Vicente Nunes2008-10-161-1/+7
| | | | | | | | return value (return 0 id -c is present) Introduced for h5copy validation Tested: windows, linux
* [svn-r15889] When comparing individual objects the file graph is not ↵Pedro Vicente Nunes2008-10-161-0/+3
| | | | | | currently compared, so make h5diff return 0 (no diffrences) Tested: windows, linux
* [svn-r15871] Eliminate -c option and make that behavior the default and ↵Pedro Vicente Nunes2008-10-151-12/+4
| | | | | | return 2 instead of -1 on error status Tested: windows, linux
* [svn-r15629] Description:Quincey Koziol2008-09-161-29/+29
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r15433] http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=1170Pedro Vicente Nunes2008-08-051-8/+26
| | | | | | | | | | | | | Summary: when using h5diff to compare the results of h5repack (or other tools that copy one HDF5 file to another), a new option is needed to allow h5diff to make an "absolute" comparison of the 2 files. This is the "contents" mode explained in the usage below. If this mode is present, objects in both files must match (must be exactly the same). If this does not happen, the tool returns an error code of 1 (instead of the success code of 0) Changes to the h5repack test script: the call to h5diff was changed to include -c (maintaining the previous -q). tested: windows, linux
* [svn-r14380] Eliminate old code not used and that was replaced (command line)Pedro Vicente Nunes2008-01-071-308/+73
| | | | tested: windows, linux
* [svn-r14267] enhancement: formatted h5diff usage Pedro Vicente Nunes2007-11-191-19/+29
| | | | tested: linux
* [svn-r14264] new features: 1) new usage for h5diff " A la" h5dump formatPedro Vicente Nunes2007-11-161-0/+69
| | | | | | 2) new usage for h5repack and new command line parsing using the tools library parsing code tested: windows, linux, solaris
* [svn-r14258] new feature: make h5diff use the same command line parsing code ↵Pedro Vicente Nunes2007-11-131-15/+184
| | | | | | | | | and syntax than h5dump usage is now h5diff [OPTIONS] file1 file2 [obj1[obj2]] tested: windows, linux, solaris
* [svn-r14221] Pedro Vicente Nunes2007-10-301-1/+1
| | | | | | | | bug fix: avoid a segmentation fault when number of arguments is just one solution: test if number of arguments is more than 1 tested: windows, linux
* [svn-r14216] add a -V version information for h5diffPedro Vicente Nunes2007-10-221-0/+13
| | | | tested: windows, linux
* [svn-r13805] Pedro Vicente Nunes2007-05-241-1/+0
| | | | | | Early detection of no arguments, print usage and exit Tested: linux
* [svn-r13391] code cleaning and formated usage messagePedro Vicente Nunes2007-02-261-4/+4
|
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13033] Pedro Vicente Nunes2006-12-071-12/+17
| | | | avoid usage to call exit(1), it makes processes to stop in parallel.
* [svn-r13027] Pedro Vicente Nunes2006-12-061-19/+20
| | | | | | | | fixed warning ../../../hdf5/tools/h5diff/h5diff_common.c: In function `usage': ../../../hdf5/tools/h5diff/h5diff_common.c:346: warning: function might be possible candidate for attribute `noreturn'
* [svn-r13003] Pedro Vicente Nunes2006-12-011-2/+2
| | | | | | | | Cleaned warnings h5diff_array.c:804: warning: passing arg 1 of `fabs' as floating rather than integer due to prototype introduced double precision arithmetic when possible instead of single precision