Commit Graph

111 Commits

Author SHA1 Message Date
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
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
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
Quincey Koziol
5ccfe5a724 [svn-r8783] Purpose:
Code cleanup

Description:
    Clean up almost all warnings from Windows builds.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-01 15:03:10 -05:00
Pedro Vicente Nunes
700a3f0b3c [svn-r8780] Purpose:
bug fix

Description:
an if statment was wrongly placed before a swith-case statment, causing the
fall to the next case
this error was only detected by the C99 compiler (gcc 3.44)

Solution:
put if after the case

Platforms tested:
sleipnir with gcc 3.4
linux

Misc. update:
2004-07-01 09:59:46 -05:00
Pedro Vicente Nunes
23ea43d9c8 [svn-r8776] Purpose:
changed the name of the dataset for the link file contents example, it was confusing

Description:

Solution:

Platforms tested:
linux (small change)

Misc. update:
2004-06-30 14:45:31 -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
Quincey Koziol
eb0f44eee9 [svn-r8761] Purpose:
Code cleanup & small bug fix

Description:
    Regenerate dependency files

    Add htri_t as separate type from hbool_t for code tracing purposes.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    too minor to require h5committest
2004-06-29 16:03:52 -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
Nat Furrer
6d682a5a28 [svn-r8753]
Purpose:
Handled SZIP without the encoder present.

Description:
It is now an error for a user to try to create, extend, or write to a
dataset without the encoder present in their SZIP library.
Added H5Zget_filter_info to provide users with a way to query HDF5
about the presence (or lack thereof) of the SZIP encoder.

Platforms tested:
  Windows
  Verbena
  Arabica
  Copper

Misc. update:
2004-06-28 14:46:03 -05:00
Pedro Vicente Nunes
a9c3f57785 [svn-r8747] 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:

Misc. update:
2004-06-28 09:04:29 -05:00
Pedro Vicente Nunes
38b0c5f558 [svn-r8734] Purpose:
cleaned compiler  warnings

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-24 08:24:40 -05:00
Quincey Koziol
09ee6ebc4c [svn-r8733] Purpose:
Code cleanup

Description:
    Reduce compiler warnings on SGI IRIX

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    SGI IRIX6 (Cheryl's machine)
    Too minor to require full h5committest
2004-06-23 12:57: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
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
Quincey Koziol
8376ccdd97 [svn-r8658] Purpose:
Code cleanup

Description:
    Add more files that should be removed to the clean & distclean targets.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-06-11 09:14:40 -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
Quincey Koziol
9df18ff5bb [svn-r8634] Purpose:
Bug fix

Description:
    Correct path to new testh5dump.sh, now that it's generated.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w & w/o srcdir
    Too minor to require h5committest
2004-06-09 13:06:19 -05:00
Quincey Koziol
82187ebb09 [svn-r8629] Purpose:
Update shell scripts

Description:
    Switch to generating the testh5dump.sh script at configure time, so we can
determine which filters are available to test.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to require h5committest
2004-06-09 08:48:23 -05:00
cvs2svn
0b8cbb89e1 [svn-r8628] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2004-06-09 08:48:23 -05:00
Quincey Koziol
6a672a783b [svn-r8619] Purpose:
Fix makefiles, dependencies & manifest after source file rename.
2004-06-05 14:33:13 -05:00
Pedro Vicente Nunes
fd07138459 [svn-r8585] Purpose:
bug fix

Description:
the output of fill values was lacking indentation

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-05-26 15:52:38 -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
7912d54d4d [svn-r8577] Purpose:
bug fix

Description:
a variable declaration  was left outside a #ifdef for version 1.4

Solution:

Platforms tested:
linux

Misc. update:
2004-05-26 10:37:21 -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
aec19e771d [svn-r8540] Purpose:
new features

Description:
added the generation of a new file for the new h5dump tests

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-05-18 15:47:57 -05:00
Quincey Koziol
d09b08ce39 [svn-r8384] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:36 -05:00
Raymond Lu
c516bc9a85 [svn-r8071] Purpose: bug fix
Description: h5dump and h5ls cannot handle special characters when data
        is enum type.


Platforms tested: h5committest
2004-01-15 15:41:32 -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
Robert E. McGrath
73afb8ce3e [svn-r7736] Purpose:
Fix bug.

Description:
Wrong parameter in subroutine call.

Note: this only affects '--xml', and only affects the value of
the fill value that is reported.

Solution:
put correct parameter in subroutine call

Platforms tested:
verbena

Misc. update:
2003-10-25 14:34:47 -05:00
Quincey Koziol
cc3f8148ed [svn-r7624] Purpose:
Updated dependencies and tracing information

Platforms tested:
    Not necessary.
2003-10-14 09:32:55 -05:00
MuQun Yang
0ee744833e [svn-r7600] Purpose:
bug fix

Description:
On windows debug/debugdll; somehow: a crash happened by free() function
although that string is "allocated".
Make some efforts to fix without success.
Suspect a compiler bug.

Solution:
Use #ifdef WIN32 #endif comment out that free function for the time being.
Hopefully h5dump debug version is not used.

Platforms tested:
windows 2000, linux 2.4(no need for more platforms because of win-specified).

Misc. update:
2003-10-10 11:04:48 -05:00
Quincey Koziol
eb12b59f7c [svn-r7545] Purpose:
Bug fixes and code cleanup

Description:
    Changes to h5dump code:
        - Dump shared datatypes for any class of datatype, not just compound
            datatypes.
        - Cleaned up formatting to greatly reduce the amount of trailing
            whitespace emitted in output.  Also removed some spurious blank
            lines from named datatype output.

    Added code to generate named datatype attribute test file.

    Added tests for dumping named datatypes in attributes for both DDL and
        XML output.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:27:47 -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
MuQun Yang
c8a653e397 [svn-r7346] Purpose:
bug fix

Description:
On windows, rindex is not supported. strrchr is used instead.

Solution:

Platforms tested:
linux 2.4, windows 2000
(since the change is minimal and three other platforms have been used to
test for 1.7 branch, so no needs to test more).

Misc. update:
2003-08-11 18:03:28 -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
Bill Wendling
6c41212cc4 [svn-r7123] Purpose:
Bug Fix

Description:
    The SUBDIRS macro is now defined as "" in the config/commence.in
    file. We shouldn't have definitions of this macro before the
    inclusion of config/commence.in.

Solution:
    Placed all definitions of SUBDIRS after config/commence.in inclusion.

Platforms tested:
    Modi4 (Small fix yet again).

Misc. update:
2003-06-30 11:26:46 -05:00
Quincey Koziol
2629b6e4d3 [svn-r7109] Purpose:
Code cleanup

Description:
    Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-25 21:10:33 -05:00
Albert Cheng
63844dd77a [svn-r6991] Purpose:
Cleanup

Description:
h5dumpgentest is already included in TEST_PROGS.  Removed its old
entry in PROGS.

Platforms tested:
Only in Copper since this is trivial.

Misc. update:
2003-06-08 08:20:28 -05:00
Pedro Vicente Nunes
e03437e4da [svn-r6960] Purpose:
added writing more attributes to one test file

Description:
added the writing of 3D attributes to one test file of h5ls

Solution:

Platforms tested:

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


Misc. update:
2003-06-04 12:37:36 -05:00
Albert Cheng
94bf3a6d7b [svn-r6946] Purpose:
Bug fix

Description:
This would sometimes coredump in machines like PSC Alpha cluster
or linux icc if -g is not used.

Solution:
The real problem was because char string arrays were declared
without including space for the null terminator.  E.g.,
   char s[5][2]={ "s1", "s2", ...}
is not correct.  Increased the size and also need to change
the H5S... definitions too.

Platforms tested:
"h5committested"--the h5dumpgentest passed without problem though
it failed in Fortran but that is a current known problem.
Tested in verbena using icc and also in PSC's cluster.

Misc. update:
Can't find this error in the v1.5 know problem list.
2003-06-02 18:32:33 -05:00
Pedro Vicente Nunes
73508e8d65 [svn-r6912] Purpose:
added a new test for h5ls

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-22 17:22:32 -05:00
Quincey Koziol
e0824c482e [svn-r6863] Purpose:
Bug fix

Description:
    A few groups were left open after they were used.

Solution:
    Closed them. :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-05-13 14:48:30 -05:00
Bill Wendling
d5ccf919e4 [svn-r6787] Purpose:
Update

Description:
    Fixed description. Should be 1-byte instead of 1-bytes

Platforms tested:
    Linux

Misc. update:
2003-04-30 17:44:20 -05:00
Bill Wendling
a306b38d67 [svn-r6785] Purpose:
Feature Add

Description:
    It's now possible to print out characters as actual characters
    instead of their decimal equivalent numbers. It's the same thing that
    h5ls does. The flag to do this is "--string" or "-r".

Platforms tested:
    Verbena (Fortran & C++)
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)

Misc. update:
2003-04-30 17:37:06 -05:00