summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7769] Purpose:Pedro Vicente Nunes2003-10-281-420/+0
| | | | | | | | | | | | | moved h5diff "public API" routines to tools/lib folder Platforms tested: linux solaris 2.7 IRIX Misc. update:
* [svn-r7702] Purpose:Pedro Vicente Nunes2003-10-221-2366/+76
| | | | | | | | | | | | | | | | | | | | | h5diff maitainance Description: separated the h5diff source between several modules there is a public module with a new function "h5diff" that can be called by an application program (h5repack will use it ) added a new verbose option that can turn off all printf Platforms tested: linux solaris IRIX Misc. update:
* [svn-r7527] Purpose:Quincey Koziol2003-09-301-194/+194
| | | | | | | | | | | | Code cleanup Description: Clean up a few loose ends and warnings for the 1.6 compatibility changes to the error API. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7418] Purpose:Albert Cheng2003-08-271-1/+5
| | | | | | | | | | | | | | | | | | bug fix Description: h5diff would incur a segmentation fault in Alpha clusters when the percentage option is used. This was due to memory aliagment issue when the options variable is declared as a local variable in main(). Moved the declaration to a global declaration. Platforms tested: "h5committested" And tested at cluster QT of SNL. Misc. update:
* [svn-r7401] Purpose:Quincey Koziol2003-08-251-118/+4
| | | | | | | | | | | | | | | | | | Code cleanup Description: Remove various "fixtype" routines which duplicate (and actually pre-date) the functionality in H5Tget_native_type in favor of having the tools call H5Tget_native_type(). This provides the same functionality (actually better functionality, since the old "fixtype" routines didn't handle alignment of compound fields correctly) and reduces the amount of code to maintain. Add additional tests to dump out a "complex" compound datatype which exercises more code in the library for aligning compound fields correctly. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7321] Purpose:Quincey Koziol2003-08-081-21/+14
| | | | | | | | | | | | | | Code cleanup & refactoring Description: Use H5E_BEGIN_TRY/H5E_END_TRY macros around blocks where errors shouldn't be printed, instead of managing 'automatic error' information. Changes to use new 'flags' fields in the table of objects, since the 'objno' field can't be [ab]used any longer. Platforms tested: h5committested
* [svn-r7265] *** empty log message ***Raymond Lu2003-07-261-8/+8
|
* [svn-r7257] Purpose:Pedro Vicente Nunes2003-07-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | bug fix Description: if the user incorrectly put the option -n20 (instead of -n 20) as the last argument h5diff tried to parse the 20 as an extra argument, causing a failure if ('-' !=argv[i+1][0] ) Solution: add an extra test for the case that option is the last argument if ( i<argc-1 && '-' !=argv[i+1][0] ) Platforms tested: linux . this is too trivial for all platforms test Misc. update:
* [svn-r7109] Purpose:Quincey Koziol2003-06-261-3/+0
| | | | | | | | | | | Code cleanup Description: Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7002] Purpose:Quincey Koziol2003-06-091-2/+8
| | | | | | | | | | | Code cleanup Description: Clean up warnings about unused stuff... Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r6947] Purpose:Pedro Vicente Nunes2003-06-031-26/+26
| | | | | | | | | | | | | added some comments Description: Solution: Platforms tested: linux Misc. update:
* [svn-r6943] Purpose:Pedro Vicente Nunes2003-06-021-16/+20
| | | | | | | | | | | | | | | | | | | | | | bug fix Description: unsigned integers were not printed out correctly Solution: added %u and %lu to the list of formats Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6928] Purpose:Pedro Vicente Nunes2003-05-301-45/+601
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | h5diff support for long_long Description: added h5diff support for long_long; No automatic test was added because it seems that the printf format of long_long is slightly different in Linux and IRIX(modi4), because the diff command complained about a difference in the 2 test files for long_long; visually, it seems that in IRIX an extra space is added after the print (or maybe it is just me that is seeing extra spaces :=) this test is test 5.8, commented in testh5diff.sh Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6925] Purpose:Pedro Vicente Nunes2003-05-291-56/+105
| | | | | | | | | | | | | | | | | | | | | | | | bug fix Description: the signed / unsigned comparison was not properly handled. the fixtype function sets the sign for the memory type the same sign as found on disk and the array_diff function only handled signed cases Solution: addded for each INTEGER size type an OR condition with the unsigned version if the datatypes have different signs , comparison is NOT supported Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6915] Elena Pourmal2003-05-221-5/+5
| | | | | | | | | | | | | | | Purpose: bug fix for Tru64 and test of the latest szip library. Description: h5diff uses basename function that also is defined in the system string.h file. That caused compilation to fail. Solution: renamed basename to h5diff_basename Platforms tested: verbena, arabica, arabica-64, and PSC Compaq machine. Misc. update:
* [svn-r6897] Purpose:Pedro Vicente Nunes2003-05-191-37/+43
| | | | | | | | | | | | | | | | | | | fixed a typo on the usage message, redone the test files that deal with with Description: Solution: Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6894] Purpose:Pedro Vicente Nunes2003-05-191-619/+766
| | | | | | | | | | | | | | | | | | | changes of input/ output format Description: on web page /RFC/h5diff Solution: Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6849] Purpose:Pedro Vicente Nunes2003-05-121-493/+471
| | | | | | | | | | | | | | | | | | | | changed algorythm Description: changed the array_diff function to increment the read buffer with a size selected by an appropriate native data type. previously it was assumed, e.g. int size = 4 bytes Solution: Platforms tested: Linux 2.4 (rockaway) SunOS 5.7 (arabica, 64bit mode) IRIX 6.5 (modi4) Misc. update:
* [svn-r6844] Purpose:Pedro Vicente Nunes2003-05-101-124/+184
| | | | | | | | | | | | | | | | | | | | | | bug fix Description: datasets with different storage datatypes where not read to memory to same size types Solution: obtain the memory type and size, for the TWO datasets , with the "fixtype" function "upgrade" the smaller size to the larger if they are different added H5DIFF_DEBUG flag for print information Platforms tested: Linux 2.4 (rockaway) SunOS 5.7 (arabica, 64bit mode) IRIX 6.5 (modi4) Misc. update:
* [svn-r6827] Purpose:Pedro Vicente Nunes2003-05-071-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | added new test files for h5diff bug fix Description: the criteria for determining the correct switch case cast to void* to type* was the data size read from disk. this was causing problems on Cray T3E, where all integer except char are 8 bytes long Solution: changed the criteria for using the memory size instead, which is determined by the same function that reads the data into memory the messages " using memory NATIVE_TYPE_X" were removed, because they might not coincid on different platforms. Platforms tested: Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6801] Purpose:Pedro Vicente Nunes2003-05-061-25/+2
| | | | | | | | | | | | | | | | | | | | | h5diff update Description: removed the -l , list, option this feature will be part of a different tool Solution: Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6789] Purpose:Pedro Vicente Nunes2003-05-011-5/+11
| | | | | | | | | | | | | | | | | | | new feature Description: during the sequencial match list, by default the differences between matched datasets were printed. added an -m option that allows to turn this off, just printing the file differences Solution: Platforms tested: Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6771] Purpose:Pedro Vicente Nunes2003-04-281-126/+176
| | | | | | | | | | | | | | | | | | added more tests, described in the test matrix Description: test -r test -l expanded -d, -p and -n tests test different types to include links and named types test for non supported classes, e.g bitfield, opaque , etc Platforms tested: Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6700] Purpose:Pedro Vicente Nunes2003-04-171-5/+157
| | | | | | | | | | | | | | | | | added tests 1.7, 1.8, 1.9 described in the test matrix Description: Solution: Platforms tested: Linux/rockaway(C) SunOS/arabica (C) SGI/modi4 (C) Misc. update:
* [svn-r6694] Purpose:Pedro Vicente Nunes2003-04-171-90/+112
| | | | | | | | | | | | | | | | added some niceties and utilities, and more tests Description: some niceties: more error messages on cases of bad input utilities: some functions to more human readable output more tests: described in the test matrix Platforms tested: Linux/rockaway(C) SunOS/arabica (C) SGI/modi4 (C)
* [svn-r6626] Purpose:Pedro Vicente Nunes2003-04-101-105/+119
| | | | | | | | | | | | | | | added new tests removed compiler warnings from unix platforms changed usage message Description: Solution: Platforms tested: w2000, linux, arabica, modi4 Misc. update:
* [svn-r6587] Purpose:Pedro Vicente Nunes2003-04-041-1/+1
| | | | | | | | | | | | typo in usage message Description: Solution: Platforms tested: linux Misc. update:
* [svn-r6563] Purpose:Pedro Vicente Nunes2003-04-021-670/+25
| | | | | | | | | | | | | | | | | | | added test script for h5diff code cleaning for alpha release makefile now generates the h5difftst.c program that generates 2 .h5 files for testing Description: the .sh script runs several runs of h5diff and compares the output with a predifined output located in /tools/testfiles (.txt files) righ now it has only one test Solution: Platforms tested: linux (other platforms later , ok !? ) Misc. update:
* [svn-r6526] Purpose:Pedro Vicente Nunes2003-03-271-186/+185
| | | | | | | | | | | | | | update Description: clean code , removed empty spaces, tested on solaris Solution: Platforms tested: w2000, linux, solaris Misc. update:
* [svn-r6521] Purpose:Pedro Vicente Nunes2003-03-261-296/+766
| | | | | | | | | | | | | | | | update Description: added the new cosequential match algorythm added extra checking of bad input values Platforms tested: w2000, linux Misc. update:
* [svn-r6469] Purpose:Pedro Vicente Nunes2003-03-061-46/+120
| | | | | | | | | | | h5diff bug fix, enhancements Description: the case for 8 byte integers was not handled added more checking of wrong input data Solution: added the size 8 integer case Platforms tested: w2000, linux, solaris (64 mode)
* [svn-r6466] Purpose:Pedro Vicente Nunes2003-03-061-358/+438
| | | | | | | | | | bug fix Description: some data not read correctly due to type_id used in read Solution: did a function that determines the optimal memory type Platforms tested: w2000, linux, solaris
* [svn-r6465] Purpose:Pedro Vicente Nunes2003-03-061-11/+106
| | | | | | | | | | | bug fixes in h5diff Description: there was a incorrect reading of arguments when only 1 object name was supplied reading of data was done using type_id got from disk, causing some values not read correctly into memory Solution: used native types to read into memory Platforms tested: w2000, linux, solaris57
* [svn-r6462] Purpose:Pedro Vicente Nunes2003-03-051-139/+285
| | | | | | | | | | | | | | | | h5diff enhancements Description: changed -r to count the number of differences, but do not print them changed the output format with some printf enginnering, to align columns print the dimensions of dsets, in case they are different test files added test for non supported data (class not integer or float) fix print dimensions to 0 index Platforms tested: w2000, linux, solaris
* [svn-r6441] Purpose:Pedro Vicente Nunes2003-02-271-125/+282
| | | | | | | | | | | | | | h5diff bugs and enhancements Description: added checking for not comparable datatypes added checking for the same dimensionality changed the functionality of -n option, to check up to n reported differences changed the formula for -p to relative error with absolute value fixed a bug on solaris, related to printf integer format (int datatype) Platforms tested: w2000, linux, solaris
* [svn-r6429] Purpose:Pedro Vicente Nunes2003-02-241-169/+151
| | | | | | | removed -d , -g , -t and -v options and renamed -m to -d and -v to -l added output for objects that are not in one file but in the other Platforms tested: windows, linux
* [svn-r6344] Purpose:Pedro Vicente Nunes2003-01-291-35/+300
| | | | | | | | | | | | | bug fix added more verbose help message added support for all dataset types added more error checking added new output format (28 Jan version ) Platforms tested: windows , linux
* [svn-r6328] Purpose:Pedro Vicente Nunes2003-01-241-430/+430
| | | | | | | fix bug in Makefile.in Platforms tested: windows , linux
* [svn-r6326] Purpose:Pedro Vicente Nunes2003-01-231-174/+812
| | | | | | | added h5diff to CVS current version, options only work for float dataset type Platforms tested: windows, linux
* [svn-r5978] Purpose:Bill Wendling2002-10-111-0/+1
| | | | | | | | Bug Fix Description: Tests were failing on SOlaris machines. Solution: Added an explicit return value (0) to the script and main function.
* [svn-r5976] Purpose:Pedro Vicente Nunes2002-10-101-6/+79
| | | | | | | | | more features to h5diff Platforms tested: linux, windows
* [svn-r5969] Purpose:Pedro Vicente Nunes2002-10-091-0/+452
added a new file Description: prototype program for h5diff Platforms tested: windows 2000