Commit Graph

504 Commits

Author SHA1 Message Date
Bill Wendling
2583f21941 [svn-r3517] Purpose:
More Subsetting
Description:
    Wanted to do a check-in of the current subsetting stuff. The
    command-line parsing was already in there. I now added the feature to
    the h5dump_t structure and it now outputs the new SUBSET DDL stuff in
    the correct format. It doesn't yet do the actual subsetting, but
    we're getting there...
Platforms tested:
    Linux
2001-02-26 18:58:08 -05:00
Bill Wendling
c55f97f569 [svn-r3514] Purpose:
Resubmit of Changes
Description:
    Previous changes to the h5dumper were lost. This patch includes
    better memory management of XML formatted strings along with the bug
    fixes for the XML code.
Solution:
    Merged the XML patch with the previous code.
Platforms tested:
    Linux
2001-02-24 17:49:37 -05:00
Bill Wendling
680bf2a154 [svn-r3513] Purpose:
Bug Fix
Description:
    assert.h was included twice now that H5private is in there.
Solution:
    remvoed one.
Platforms tested:
    Linux
2001-02-24 17:28:30 -05:00
Bill Wendling
9cb572cb73 [svn-r3512] Purpose:
Bug Fix
Description:
    Some platforms (gondolin) don't necessarily have the vsnprintf
    function.
Solution:
    Changed it to HDvsnprintf and added a header for H5private to include
    it...
Platforms tested:
    Linux
2001-02-24 17:25:15 -05:00
Bill Wendling
6977b5afc2 [svn-r3508] Purpose:
Bug Fix
Description:
    We were trying to build the talign test program before the library
    was actually built.
Solution:
    Moved talign test to the lib directory since it belongs with the
    library anyway.
Platforms tested:
    Linux
2001-02-23 17:23:01 -05:00
Robert E. McGrath
9dfe128921 [svn-r3506]
Purpose:
    Bug fix.
Description:
    Order of elements in groups is wrong.  (Need to find out why
    h5gen accepted this at all.)
    Note that test output had to be corrected in some cases.
Solution:
    Fixed xml_dump_group to do the right order to match the DTD
Platforms tested:
    Linux, solaris.
2001-02-23 17:07:15 -05:00
Bill Wendling
d6a4d2a3d6 [svn-r3497] Purpose:
Fix
Description:
    Left some more cruft in there.
Solution:
    Removed. I still need to check on the testing of `talign'...
Platforms tested:
    Linux
2001-02-22 17:24:34 -05:00
Bill Wendling
9f3c75e052 [svn-r3496] Purpose:
Fix
Description:
    Left in the separate subdirectories fro the small programms.
Solution:
    removed them and replaced with the misc/ subdirectory
Platforms tested:
    Linux
2001-02-22 17:23:04 -05:00
Bill Wendling
627a039fdb [svn-r3492] Purpose:
Code Movement
Description:
    Moved these files to subdirectories in the tools/ directory.
Platforms tested:
    Linux, Kelgia
2001-02-22 17:01:58 -05:00
Bill Wendling
55998df9ed [svn-r3491] Purpose:
Code Movement
Description:
    Changed so that it works for compiling files in a subdirectory.
Platforms tested:
    Linux, Kelgia
2001-02-22 16:56:54 -05:00
Bill Wendling
8d1b51e1ee [svn-r3490] Purpose:
Code Movement
Description:
    Moved tools code into own separate directories. This is the library
    code all of them share.
Platforms tested:
    Linux, Kelgia
2001-02-22 16:55:15 -05:00
Bill Wendling
2821175f3f [svn-r3489] Purpose:
Code Movement
Description:
    Moved tools code into their own separate subdirectories
Platforms tested:
    Linux, Kelgia
2001-02-22 16:53:56 -05:00
Bill Wendling
416a86e3ce [svn-r3488] Purpose:
Code Movement
Description:
    Moved tools code into their own special subdirectories.
Platforms tested:
    Linux, Kelgia
2001-02-22 16:53:30 -05:00
Bill Wendling
20061988ec [svn-r3487] Purpose:
Code Movement
Description:
    Moved the tools into their own separate directories (except for these
    small tools which are REALLY small, not tested, or documented,
    really...They just get put into the misc/ directory).
Platforms tested:
    Linux and Kelgia
2001-02-22 16:49:40 -05:00
Robert E. McGrath
015d638624 [svn-r3485]
Purpose:
    fix bug in XML output
Description:
    OBJ-XID, Parents, etc. were messed up in several cases.
Solution:
    Fixed.  Updated tests to have correct results in them
    Note:  tvldtype.h5.xml is a junk file,
Platforms tested:
    Solaris 2.7
2001-02-22 14:21:37 -05:00
Robert E. McGrath
e4e6daee0c [svn-r3484]
Purpose:
    fix bug in XML output
Description:
    OBJ-XID, Parents, etc. were messed up in several cases.
Solution:
    Fixed.  Updated tests to have correct results in them
Platforms tested:
    Solaris 2.7
2001-02-22 14:15:01 -05:00
Albert Cheng
53ed6e6794 [svn-r3475] Purpose:
Bug fix
Description:
    h4toh5test was being installed because it was put in the PUB_PROGS
    which is specifically for public programs to be installed.
Solution:
    Moved it away from the PUB_PROGS list to the PROGS list.
Platforms tested:
    eirene.
2001-02-20 18:13:11 -05:00
MuQun Yang
fd3c700f36 [svn-r3453]
Purpose:
   Fixing Makefile.in for compiling h4toh5test.c at the right option
   Without including hdf4 lib, h4toh5test will not be generated.
Description:
Solution:

Platforms tested:
     arabica
2001-02-19 14:08:12 -05:00
Bill Wendling
657d7c7596 [svn-r3451] Purpose:
Feature Add
Description:
    Added support for the h4toh5test program which needs to be
    conditionally compiled in only if HDF4 is specified.
Platforms tested:
    Linux
2001-02-19 12:21:26 -05:00
MuQun Yang
32ab36e12f [svn-r3446]
Purpose:
    remove old h4-h5 test files
Description:
Solution:
Platforms tested:
2001-02-19 10:51:33 -05:00
MuQun Yang
7c39544d32 [svn-r3445]
Purpose:
    remove h4-h5 converter test files
Description:
Solution:
Platforms tested:
2001-02-19 10:47:05 -05:00
MuQun Yang
a0f4dd17a7 [svn-r3444]
Purpose:
    remove old h4-h5 testfiles
Description:
Solution:
Platforms tested:
2001-02-19 10:42:22 -05:00
MuQun Yang
f7838baceb [svn-r3443]
Purpose:
    remove old h4-h5 converter test files
Description:
Solution:
Platforms tested:
2001-02-19 10:36:00 -05:00
MuQun Yang
6dc04c60a4 [svn-r3442]
Purpose:
    remove old h4-h5 converter test files
Description:
Solution:
Platforms tested:
2001-02-19 10:29:47 -05:00
Bill Wendling
de25a136c3 [svn-r3437] Purpose:
Feature Add
Description:
    This is the first phase of adding subsetting to the dumper. The
    command-line parsing should be pretty much set right now.

    NOTE: The revision before this one can be used to back port to the
    1.4 branch when the XML stuff is folded into that branch for
    release.
Platforms tested:
    Linux
2001-02-16 17:23:01 -05:00
Albert Cheng
3a6c7fe631 [svn-r3426] Description:
Some fixes were wiped out by Bob's commit.
    Recovered the changes.
2001-02-16 15:38:32 -05:00
MuQun Yang
4237169f3e [svn-r3420]
Purpose:
   add new expected converted hdf5 files from converter
Description:
Solution:
Platforms tested:
    eirene, arabica
CVOS: ----------------------------------------------------------------------
2001-02-15 22:48:17 -05:00
MuQun Yang
03e2ec673e [svn-r3419]
Purpose:
    adding new test hdf4files to be tested by h4toh5 converter
Description:
Solution:
    more typical test files are used
Platforms tested:
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2001-02-15 22:46:23 -05:00
MuQun Yang
1578b26103 [svn-r3418]
Purpose:
    add contents to compile h4toh5test.c
Description:

solution:
    handled similar as h5dumptst.c
Platforms tested:
    Linux(eirene), sun 5.7(arabica)
2001-02-15 22:42:03 -05:00
MuQun Yang
e8c3d178ac [svn-r3417]
Purpose:
    source code to generate hdf files for h4toh5 converter
Description:
Solution:
     see the comments of the code. this file is handled similar with h5dumptst.c
Platforms tested:
     eirene, arabica
2001-02-15 22:38:57 -05:00
MuQun Yang
c1d6c01959 [svn-r3416]
Purpose:
     bug fix
Description:
    update a few constant
Solution:
Platforms tested:
     eirene and arabica
2001-02-15 22:36:35 -05:00
MuQun Yang
5dc419551e [svn-r3415]
Purpose:
    bug fix
Description:
   two bugs: 1. different order of conventions of sds and image in hdf4 is
                 considered at h4toh5image.c file.
                  add palette colormodel attribute and correct names of
                   a few attributes. see detail at:
               http://hdf.ncsa.uiuc.edu/HDF5/H5Image/ImageDetails.htm
              2. convert hdf internal vdata structure(chunking table)
                 into a new hdf5 dataset.

Solution:
        1. change h5 data space order for image.
          h5dims[0] = edge[1]-edge[0];
          h5dims[1] = start[1]-start[0];
        2. at h4toh5main.c, check the vdata class name and if the
           first few characters match with HDF_CHK_TBL; ignore converting
           this vdata.
        3. add a few attributes at h4toh5pal.c

platforms:

       linux and sun 5.7(arabica)




    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2001-02-15 22:35:37 -05:00
Bill Wendling
a7c25153bc [svn-r3414] Purpose:
Update
Description:
    Updated the code so that error messages are sent to stdout instead of
    to /dev/null. Albert says that it was supposed to be doing this
    anyway, so...

    Also did some formatting changes.
Solution:
    Changed the "2>/dev/null" to "2>&1"
Platforms tested:
    Linux
2001-02-15 14:33:19 -05:00
Bill Wendling
24320f0df1 [svn-r3413] Purpose:
Update
Description:
    Updated the result files to be consistent with the new error
    messaging schema that h5dump uses.
Platforms tested:
    Linux
2001-02-15 14:32:38 -05:00
Bill Wendling
71090d2e9a [svn-r3412] Purpose:
Code cleanup
Description:
    Cleaned the code up a bit getting rid of some warnings about "const"
    being lost from passing a const char * to a function, etc.

    Also force the error messages to stderr instead of simply printing
    them to stdout. The same behaviour can be achieved by running h5dump
    like:

            h5dump ... 2>&1

    however, the error reporting before this change wasn't consistent in
    its use. I also made some of the error messages clearer (giving names
    of the failed types and, when there's an "internal error", reporting
    the line number the error occurred on so that we can debug).
Solution:
    Converted to "fflush(stdout); fprintf(stderr,...);" for all error
    reportings.
Platforms tested:
    Linux
2001-02-15 14:31:55 -05:00
Robert E. McGrath
d12fa9b5c5 [svn-r3408] Purpose:
Adding new feature.
Description:
  XML output option to h5dump
Platforms tested:
  SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
2001-02-14 15:48:22 -05:00
Quincey Koziol
7921315a33 [svn-r3304] Purpose:
Code update
Description:
    Remove ragged array code & tests from library before release.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-18 18:30:23 -05:00
Albert Cheng
29fbb330b0 [svn-r3287] Purpose:
Improvement
Description:
    The mkdir testfiles and the testing of h5dump have their stderr
    redirected to /dev/null.  Thus no way to see error messages when happen.
    Removed the redirection
Platforms tested:
    Eirene (linux).
2001-01-12 17:46:48 -05:00
Albert Cheng
b84c92e07d [svn-r3284] Purpose:
document
Description:
    Added comments in how to use the program and instructions
    that the corresponding may need updates if new batch of binary
    files are created.
Platforms tested:
    Eye-balled only.  (Just a few lines of comments.)
2001-01-12 15:24:58 -05:00
MuQun Yang
51fd87c344 [svn-r3276]
Purpose:
    windows bug fix
Description:
     need extra header files for windows
Solution:
     add #ifdef win32 #endif loops
Platforms tested:
     windows 2000, confirmed at eirene
2001-01-12 01:48:36 -05:00
Bill Wendling
dc9c387ba2 [svn-r3266] Purpose:
Name change
Description:
    Changed the names of the testh5toh4 and testh4toh5 scripts to the
    "canonical" form -- testh4toh5.sh and testh5toh4.sh.
Platforms tested:
    Linux
2001-01-10 16:56:47 -05:00
Quincey Koziol
c5c4e70311 [svn-r3265] Purpose:
Clean up warnings.
Description:
    Cleaned up a few compiler warnings.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-10 16:46:38 -05:00
Bill Wendling
8e20f98805 [svn-r3264] Purpose:
Bug fix
Description:
    I dropped the boat on this one. I assigned prefix to NULL after it'd
    been allocated...My bad.
Solution:
    Stopped doing that.
Platforms tested:
    Linux
2001-01-10 16:24:54 -05:00
Bill Wendling
2ae44ebdba [svn-r3263] Purpose:
Code cleanup
Description:
    Changed so that the streaming stuff is inserted if > 1.2 version.
    Also modified init_prefix function so that it's sane.
Platforms tested:
    Linux
2001-01-10 16:24:07 -05:00
Bill Wendling
b8085ef1ee [svn-r3262] Purpose:
Annoying code cleanup
Description:
    This code could all be on one line, but wasn't for some reason.
Solution:
    Made it into one printf() call.
Platforms tested:
    Linux
2001-01-10 16:07:26 -05:00
Bill Wendling
9078455217 [svn-r3261] Purpose:
Code Cleanup
Description:
    Cleaned up where structures were. Added comments to new functions.
    Removed strcpy(prefix, "") and made it prefix = NULL; since that's
    what it's doing anyway.
Platforms tested:
    Linux
2001-01-10 13:38:48 -05:00
Quincey Koziol
9b4ce45106 [svn-r3257] Purpose:
Bug fix
Description:
    Compiler on sangamon (HP/UX 10.20) is having problems with the statement
    "#ifdef 0".
Solution:
    Changed statement to "#if 0" instead.
Platforms tested:
    Eyeballed...
2001-01-10 09:57:39 -05:00
Quincey Koziol
35bc545296 [svn-r3252] Purpose:
Code cleanup.
Description:
    Fixed _lots_ (I mean _tons_) of warnings spit out by the gcc with the
    extra warnings.  Including a few show-stoppers for compression on IRIX
    machines.
Solution:
    Changed lots of variables' types to more sensible and consistent types,
    more range-checking, more variable typecasts, etc.
Platforms tested:
    FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
2001-01-09 16:22:30 -05:00
Bill Wendling
2f51e3c16a [svn-r3249] Purpose:
New Feature
Description:
    Changed the command line flags in the h5dumper so that they accept
    both short and long flags. The flag syntax for some have changed
    (I.e., object ids are no longer -v but -i and -header is now -H or
    --header, etc.) A new function is added called get_options which can
    be used for all other tools as well.

    Had to change these output files to accept the correct flags.
Platforms tested:
    Linux
2001-01-09 15:04:47 -05:00
Bill Wendling
d2c9b6d8d9 [svn-r3248] Purpose:
New Feature
Description:
    Changed the command line flags in the h5dumper so that they accept
    both short and long flags. The flag syntax for some have changed
    (I.e., object ids are no longer -v but -i and -header is now -H or
    --header, etc.) A new function is added called get_options which can
    be used for all other tools as well.
Platforms tested:
    Linux
2001-01-09 15:04:29 -05:00