Commit Graph

212 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
7dc938f649 [svn-r8911] Purpose:
bug fixes

Description:

the return error code for a  function was not initialized.
in HP-UX  it happened that this variable was initialized to -1
causing the function to return with an error condtion
solution : initialized the variable to 0

the name of the dataset was printed after the differences in verbose mode
and report when differences were found
solution : check first if differences were found and then
print the name of dataset and differences
in verbose mode always print the name first


Solution:

Platforms tested:
linux
HP-UX
solaris
AIX

Misc. update:
2004-07-21 12:50:11 -05:00
Pedro Vicente Nunes
c911905f27 [svn-r8903] Purpose:
h5diff and h5repack changes

Description:
h5diff
introduced the following four modes of output:
 Normal mode: print the number of differences found and where they occured
  Report mode: print the above plus the differences
   Verbose mode: print the above plus a list of objects and warnings
    Quiet mode: do not print output (h5diff always returns an exit code of 1 when differences are found)

    h5repack
     added an extra parameter for SZIP filter (coding method)
     the new syntax is
     -f SZIP=<pixels per block,coding>
     (pixels per block is a even number in 2-32 and coding method is 'EC' or 'NN')
     Example of use:
     ./h5repack -i file1 -o file2 -f SZIP=8,NN -v

     updated usage messages, test scripts and files accordingly



Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-07-20 14:20:01 -05:00
Pedro Vicente Nunes
81f50b436d [svn-r8864] Purpose:
new file for the h5repack tests

Description:

Solution:

Platforms tested:

Misc. update:
2004-07-13 12:06:14 -05:00
Pedro Vicente Nunes
45cd1e2e8b [svn-r8863] Purpose:
h5repack changes

Description:
there were some requests to change some minor h5repack features
h5repack only made a warning about a non available filter in verbose mode ( -v )
without -v it kept silent, and users sometimes missed this warning

the request was that it should print this warning always. so, the new format, is e.g

./h5repack -i test_szip.h5 -o out.h5
Warning: dataset </dset_szip> cannot be read, SZIP filter is not available

due to this, and to avoid a lot of these messages in the shell test script, I modified
the script h5repack.sh so that it detects the presence of all filters in the environment
(previously it only detected SZIP)
the test files were also divided in more files , to make the script code easier to
follow


Solution:

Platforms tested:
linux
AIX (without SZIP)
solaris (without gzip and SZIP)


Misc. update:
2004-07-13 10:21:16 -05:00
Pedro Vicente Nunes
ce2c695798 [svn-r8851] Purpose:
h5dump new tests

Description:
added new tests for the print of array indices (nested objects, several ranks)

Solution:

Platforms tested:

Misc. update:
2004-07-09 09:58:50 -05:00
Pedro Vicente Nunes
636fc2be4a [svn-r8841] Purpose:
bug fix

Description:
when printing array indices , the calculation of the current column was not done
correctly

Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-07-08 16:51:12 -05:00
Pedro Vicente Nunes
d4777031e9 [svn-r8827] Purpose:
one of the test files (tfilters.h5) changed contents

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2004-07-07 17:10:23 -05:00
Pedro Vicente Nunes
d02acc8f60 [svn-r8825] Purpose:
h5dump new tests

Description:
added more tests for the escape/not escape feature for string data (with vlen, with
compound, with char data)

Solution:

Platforms tested:

Misc. update:
2004-07-07 16:41:16 -05:00
Pedro Vicente Nunes
01c549696d [svn-r8814] Purpose:
corrected a wrong dataset name in the test script

Description:

Solution:

Platforms tested:
linux (small)

Misc. update:
2004-07-06 16:08:13 -05:00
Pedro Vicente Nunes
69302997ac [svn-r8811] Purpose:
update one file

Description:
one file used for the h5dump tests had changed contents

Solution:

Platforms tested:
linux (small)

Misc. update:
2004-07-06 14:00:12 -05:00
Pedro Vicente Nunes
10289819c7 [svn-r8810] Purpose:
h5dump new tests

Description:
added new tests for the -p option, superblock, file contents, fill values, array indices.

Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-07-06 13:28:13 -05:00
Pedro Vicente Nunes
3897645d92 [svn-r8793] Purpose:
Description:
for the file contents dump and for hardlinks, one arrow "->" is printed, followed
by the first  found name for that object
options for not printing specific types of objects were postponed


Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-07-02 15:46:16 -05:00
Pedro Vicente Nunes
d100f26a7c [svn-r8788] Purpose:
bug fix

Description:
the original code that showed a name for HARDLINK was reassigning that name to a name
made in the dump traversal (made by concatenation by nested objects)


Solution:
removed this reassigmnet
now the name showed after HARDLINK is always the first name found for that object
(this object is printed once interely; subsequent printings show the word HARDLINK
and the first name )

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-07-02 10:31:30 -05:00
Pedro Vicente Nunes
822af258c7 [svn-r8774] Purpose:
bug fix

Description:
the indentation was not made properly for nested objects when printing array indices

Solution:
added the indentation to h5tools_simpple_prefix

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-06-30 13:57:23 -05:00
Pedro Vicente Nunes
1e6d66909c [svn-r8759] Purpose:
h5dump new feature

Description:
added the dump of unamed datatypes for the file contents
added a colon as separator for the indices array option

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-29 12:50:04 -05:00
Pedro Vicente Nunes
7438a71a0b [svn-r8748] Purpose:
dumper new feautures

Description:
1) added options for not printing : datasets, groups, datatypes, links
2) added a section for the user block
3) in the traversal routine, added the printing of an arrow for soft links and the word HARDLINK for hardlinks
   the print of the file contents is made during traversal , instead of at the end of it (this is helpful
    for very large files, where the wait time can be very long)
4) changed the description of the fill value properties
5) added a colon after the printing of the array indices



Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-06-28 09:05:16 -05:00
Pedro Vicente Nunes
bb5ed44dd6 [svn-r8717] Purpose:
h5dump new features

Description:
the storage layout output format  had some changes
same for the user defined filter
add an option (-y) for not printing the array indices (default is print indices )
the option for escaping non printable characters covers all characters (default is not escape)
add tests for the new options


Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-22 10:36:56 -05:00
cvs2svn
ad9a4a2d97 [svn-r8716] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2004-06-22 10:36:56 -05:00
Pedro Vicente Nunes
33a566ea9b [svn-r8689] Purpose:
h5dump new feature

Description:
add processing of tab characters (in the context of the new CR/LF option )

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-15 09:37:04 -05:00
Pedro Vicente Nunes
3382eea1da [svn-r8650] Purpose:
h5dump update

Description:
updated the h5dump test file generator so that it coincides with the 1.7 branch

Solution:

Platforms tested:
linux (small change)


Misc. update:
2004-06-10 16:04:13 -05:00
Pedro Vicente Nunes
f4492a33c1 [svn-r8643] Purpose:
h5dump new features

Description:
added the code for print strings with new line and display the path of references (new source files h5tools_ref.c and .h )
added a test suite in testh5dump.sh.in for
( note : to create testh5dump.sh , one must redo ./configure; this detects the availability of filters
and generates  testh5dump.sh accordingly)
1) storage layout
2) fill value
3) print reference with path
4) print strings with new lines
5) filters



Solution:

Platforms tested:
linux
solaris
AIX


Misc. update:
2004-06-10 11:20:29 -05:00
Pedro Vicente Nunes
2a7d7e5121 [svn-r8642] Purpose:
bug fix

Description:
one of the h5diff tests was reading the wrong hdf5 file

Solution:
substituted for the correct file

Platforms tested:
linux (small change)

Misc. update:
2004-06-10 10:12:34 -05:00
cvs2svn
66be6f05d4 [svn-r8591] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2004-05-27 15:26:32 -05:00
Pedro Vicente Nunes
4ba7a0e373 [svn-r8583] Purpose:
added 2 new tests (boot block and file contents)

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-05-26 14:54:03 -05:00
Pedro Vicente Nunes
02e561fa97 [svn-r8580] Purpose:
bug fix

Description:
the output of array indices for the array datatype case was not done correctly

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-05-26 12:36:19 -05:00
Pedro Vicente Nunes
b770b9065d [svn-r8575] Purpose:
the new output for h5dump files

Description:

Solution:

Platforms tested:

Misc. update:
2004-05-25 16:22:46 -05:00
Pedro Vicente Nunes
c62c0eb9d2 [svn-r8574] Purpose:
h5dump new features

Description:

added the code for new features. dump of
1) filters
2) storage layout
3) fill value
4) comments
5) file super block
6) file contents
7) array indices


Solution:

Platforms tested:
linux
AIX
solaris


Misc. update:
2004-05-25 15:45:01 -05:00
Pedro Vicente Nunes
365ca1225d [svn-r8397] Purpose:
h5repack in 1.6

Description:

2 functions we re added to /src:
H5Premove filter and H5Iget_file_id



Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-04-19 19:19:46 -05:00
cvs2svn
beb0079ae1 [svn-r8396] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2004-04-19 19:19:46 -05:00
cvs2svn
cdcf0e1e12 [svn-r8248] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2004-03-10 18:00:36 -05:00
Raymond Lu
ca6c8cbeae [svn-r8072] *** empty log message *** 2004-01-15 15:41:42 -05:00
Quincey Koziol
898ba82d42 [svn-r7844] Purpose:
Bug fix

Description:
    Variable length strings and sequences with NULL pointers were not handled
by library, causing problems access the data.  This also affected fill values
for variable-length datatypes.

Solution:
    Address the issues in the library by detecting NULL sequences/strings
and avoid trying to convert them.

    Patched up dumper to display NULL sequences/strings.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-11-13 10:20:23 -05:00
cvs2svn
dd241064c1 [svn-r7843] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2003-11-13 10:20:23 -05:00
Quincey Koziol
4739cc20ee [svn-r7548] Purpose:
Bug fixes and code cleanup

Description:
    Whitespace removal.

    Added testfiles for named datatypes in attributes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:30:13 -05:00
cvs2svn
e1ba6c55de [svn-r7547] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2003-10-05 16:30:13 -05:00
Quincey Koziol
3bec117108 [svn-r7399] Purpose:
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
2003-08-25 14:57:22 -05:00
Robert E. McGrath
26db4f6e01 [svn-r7271] Purpose:
This is the expected result for the fix for bug 888.

It shold have been checked in yesterday.

Description:

Solution:

Platforms tested:

Misc. update:
2003-07-29 09:15:35 -05:00
Robert E. McGrath
610a44a636 [svn-r7267] Purpose:
1. Address Bug 888
2. Update h5dump xml to 1.6

Description:

This is an omnibus update to the h5dump tool.

1. Bug 888: Added '-A', suppress data in dataset, but give values of attr.

2. Many changes to update the XML output.  See:

   http://hdf.ncsa.uiuc.edu/RFC/XMLSchema/

3. The XML dumper tests have been split off.  The standard 'make check'
   no longer runs the XML tests.
   'make check-xml' runs the XML tests manually.  (Some tests
   may fail on some platforms, e.g., on 64bit.)
   'make check-all' runs regular and then xml tests.


Solution:

Platforms tested:
verbena, arabica, copper (64bit)

Misc. update:
MANIFEST updated.
2003-07-28 12:54:31 -05:00
Quincey Koziol
103f7b4c92 [svn-r7006] Purpose:
Bug fix/new feature

Description:
    Teach h5dump/h5ls to display variable-length datatypes correctly.

    Change "raw byte" output of array elements from "0xde8141b1a818" to
    "de:81:41:b1:a8:18" so that it's easier for users to read.


Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest

Misc. update:
    Patch provided by Robb Matzke (matzke@llnl.gov)
2003-06-09 14:29:28 -05:00
Quincey Koziol
19488a94fd [svn-r7005] Purpose:
Bug fix

Description:
    The output from the modification time is highly system dependent, so
    remove it from the h5ls output before comparing file with diff.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:25:32 -05:00
Pedro Vicente Nunes
6273d8beee [svn-r6943] Purpose:
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:
2003-06-02 11:30:40 -05:00
Pedro Vicente Nunes
614490a83a [svn-r6928] Purpose:
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:
2003-05-30 17:38:46 -05:00
Pedro Vicente Nunes
4eb8aa7d83 [svn-r6925] Purpose:
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:
2003-05-29 16:53:46 -05:00
Pedro Vicente Nunes
e9e6cf0c2b [svn-r6913] Purpose:
bug fix and enhancement


Description:
combined the --simple option to the display of NATIVE datatypes
with the -S option , the print of the datatype will always display the full description
making it possible to do an automatic test for catching differences on output

made the case for printing the type of bitfield data, which was not handled

the new test generates a dataset with 10 attributes, each one a different datatype

Platforms tested:


Windows 2000 (octopus)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)



Misc. update:
2003-05-22 17:31:07 -05:00
Pedro Vicente Nunes
eaf0b25546 [svn-r6897] Purpose:
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:
2003-05-19 11:14:26 -05:00
Pedro Vicente Nunes
5a4c7681ed [svn-r6895] Purpose:
test files with new output format

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-19 00:12:26 -05:00
Pedro Vicente Nunes
f16b33d3c2 [svn-r6893] Purpose:
removed test files before last output change

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-18 23:28:44 -05:00
Pedro Vicente Nunes
401c1bc318 [svn-r6827] Purpose:
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:
2003-05-07 17:28:09 -05:00
Pedro Vicente Nunes
65f6af7110 [svn-r6802] Purpose:
removed this test file. it was the -l option test

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-05 22:32:27 -05:00
Pedro Vicente Nunes
180b83bbbe [svn-r6801] Purpose:
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:
2003-05-05 22:29:39 -05:00