Commit Graph

637 Commits

Author SHA1 Message Date
Quincey Koziol
965e3bc3e2 [svn-r4591] Purpose:
Code cleanup
Description:
    Fix a bunch of warnings
Platforms tested:
    Linux 2.2 (eirene)
2001-11-03 22:23:30 -05:00
Raymond Lu
e3a137f39e [svn-r4517]
Purpose:
    Changed to the new generic property list for dataset creation property
    list.
Platforms tested:
    Arabica, modi4 and Hawkwind
2001-10-03 12:57:56 -05:00
Quincey Koziol
7a96b1a0d2 [svn-r4482] Purpose:
Kludge
Description:
    Since we're only about halfway through converting the internal use of
    property lists from the "old way" to the generic property lists, we turned
    off snapshots to avoid exposing lots of API changes to users, until the
    APIs settled down.

    Getting the snapshots rolling again seems to have become a priority, so
    some changes are going to have to be made now that were going to be
    postponed until we were completely finished with the conversion.  This
    requires that the old API functions be able to deal with both the old
    and new property lists smoothly.

Solution:
    Kludge together the property list code so that they can transparently handle
    dealing with both the old and new property lists

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-26 15:29:35 -05:00
Quincey Koziol
ed663577a5 [svn-r4473] Purpose:
Code cleanup for better compatibility with C++ compilers
Description:
    C++ compilers are choking on our C code, for various reasons:
        we used our UNUSED macro incorrectly when referring to pointer types
        we used various C++ keywords as variables, etc.
        we incremented enum's with the ++ operator.
Solution:
    Changed variables, etc.to avoid C++ keywords (new, class, typename, typeid,
        template)

    Fixed usage of UNUSED macro from this:
        char UNUSED *c
    to this:
        char * UNUSED c

    Switched the enums from x++ to x=x+1
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-25 12:46:32 -05:00
Bill Wendling
be9c42c7b1 [svn-r4456]
Purpose:
    Bug Fix
Description:
    Some so-called "operating systems" (*cough*Windows*cough*) can't
    handle large string sizes.
Solution:
    Replace the Usage string with individual strings which all call
    fprintf() themselves.
Platforms tested:
    Linux
2001-09-18 11:58:27 -05:00
Bill Wendling
d10d58c0c3 [svn-r4455]
Purpose:
    Warning Removal
Description:
    Remove some spurious warnings from the compilation.
Platforms tested:
    Linux
2001-09-18 11:57:16 -05:00
Bill Wendling
8b0a3c5c1f [svn-r4402]
Purpose:
    Bug Fix
Description:
    Object IDs command-line options weren't being picked up.
Solution:
    The wrong flag was being checked for. Changed the flag from "v" to
    "i", which is what the documentation says.
Platforms tested:
    Linux
2001-08-21 14:37:23 -05:00
MuQun Yang
04ca207930 [svn-r4376]
Purpose:
    add another raster image 24-bit test files
Description:
Solution:
Platforms tested:
     sol 2.7 and RedHat Zoot 6.2
2001-08-17 15:42:45 -05:00
MuQun Yang
46a0981644 [svn-r4375]
Purpose:
    update the expected HDF5 files to follow the interlace mode convention
    in HDF5 image spec.
Description:
Solution:
Platforms tested:
2001-08-17 15:40:29 -05:00
MuQun Yang
1c9a8c7c37 [svn-r4374]
Purpose:
      add another test file
Description:
Solution:
Platforms tested:
    eirene, arabica

    [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-08-17 15:39:32 -05:00
MuQun Yang
631c032150 [svn-r4373]
Purpose:
   Add another test file
Description:
Solution:
Platforms tested:
    eirene, arabica
    [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-08-17 15:38:20 -05:00
MuQun Yang
54066b8652 [svn-r4372]
Purpose:
    add another test case.
Description:
Solution:
2001-08-17 15:37:17 -05:00
MuQun Yang
22bc8c18e1 [svn-r4371]
Purpose:
    a bug fix
Description:
    change PIXEL_INTERLACE to INTERLACE_PIXEL and other interlace mode description
     to fit for the image specification.
Solution:
Platforms tested:
   eirene, sol2.7
2001-08-17 15:36:25 -05:00
MuQun Yang
365461a772 [svn-r4370]
Purpose:
    1. fix a bug
    2. turn off a feature
Description:
    1. change the output of GRgetiminfo from NULL to &interlace_mode.
    2. turn off the feature to change line-interleaved feature into
        pixel-interleaved feature since inconsistent behaviour is found
        in GR interface.
Solution:
    see above
Platforms tested:
      eirene, arabica
2001-08-17 15:34:01 -05:00
MuQun Yang
6218bc7efa [svn-r4369]
Purpose:
     add a real raster-24 bit testing for interlace mode.
Description:
     1. GR interfaces will never create an HDF4 file with interlace mode other than
     pixel interleaved. DF24 interfaces can create HDF4 file with different interleaved.
     There are inconsistent behaviors between GRreqimageil and GRreadimage, data read into     the memory will not behave properly if a new interlace mode is asked.
     2. Currently HDF5 image spec. supports pixel interleaved and plane interleaved.
      We make a real image file to test whether the converter is doing the right thing.
Solution:
     We use DF24 bit APIs to generate a real image file that can be tested by H5view.
Platforms tested:
     linux and sol2.7
2001-08-17 15:29:07 -05:00
Quincey Koziol
e87fc517b8 [svn-r4355] Purpose:
Code cleanup (sorta)

Description:
    When the first versions of the HDF5 library were designed, I remembered
    vividly the difficulties of porting code from a 32-bit platform to a 16-bit
    platform and asked that people use intn & uintn instead of int & unsigned
    int, respectively.  However, in hindsight, this was overkill and
    unnecessary since we weren't going to be porting the HDF5 library to
    16-bit architectures.

    Currently, the extra uintn & intn typedefs are causing problems for users
    who'd like to include both the HDF5 and HDF4 header files in one source
    module (like Kent's h4toh5 library).

Solution:
    Changed the uintn & intn's to unsigned and int's respectively.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-08-14 17:09:56 -05:00
Albert Cheng
c47f724187 [svn-r4345] Purpose:
Improvement
Description:
    The stdout and stderr were both redirected to an output file. This
    works fine in tradition sequential Unix machines.  But in some
    parallel systems (like mpi-jobs in IBM SP), the stderr is merged
    with stdout alright but not in the exact order as expected.  This
    is not deterministic in parallel jobs.  So, the test output are
    all there but the ordering maynot be as expected.
Solution:
    Redirect stderr to separated file and append it to the stdout
    file after test-command is executed.  Then compare it with
    the expected output.  This eliminate the assumption that
    stdout and stderr must merged in "chronical orders".

    The .ddl file are updated by moving all stderr text to the end of the
    file.
Platforms tested:
    eirene.
2001-08-14 12:28:14 -05:00
Albert Cheng
bb1c2afd58 [svn-r4342] Purpose:
Improvement
Description:
    The stdout and stderr were both redirected to an output file. This
    works fine in tradition sequential Unix machines.  But in some
    parallel systems (like mpi-jobs in IBM SP), the stderr is merged
    with stdout alright but not in the exact order as expected.  This
    is not deterministic in parallel jobs.  So, the test output are
    all there but the ordering maynot be as expected.
Solution:
    Redirect stderr to separated file and append it to the stdout
    file after test-command is executed.  Then compare it with
    the expected output.  This eliminate the assumption that
    stdout and stderr must merged in "chronical orders".
Platforms tested:
    tested in v1.4.  Folded it into v1.5.
2001-08-14 11:35:43 -05:00
MuQun Yang
018a8be116 [svn-r4338]
Purpose:
   check-in the second time to update the handling of data transfer in h4toh5.
    This will make up for the cvs conflict checking a couple hours ago.
Description:
Solution:
Platforms tested:
    eirene
2001-08-13 15:56:33 -05:00
MuQun Yang
156200d908 [svn-r4334]
Purpose:
    1) fix the implementation of image according to image specfication
    2) fix two bugs of SDS implemention. the first one is
        to handle the unlimited SDS with the first dimensional size set to 0.
        the second one is to change the way how HDF5 dataset is written.
Description:
    1) mapping 24-bit image to 3D arrays instead of 2D compound datatype.
    2) previously forgot considering unlimited SDS with the size set to 0.
    3) H5P_set_buffer seems not working well for a extremely small size.
Solution:
    1) see above.
    2) add a special case to deal with this.
    3) don't use H5Pset_buffer.
Platforms tested:
     RedHat Zoot 6.2
2001-08-13 14:07:54 -05:00
MuQun Yang
9767e654cf [svn-r4333]
Purpose:
    change image test files to fulfill HDF5 image specification.
Description:
Solution:
Platforms tested:
    eirene
2001-08-13 13:54:10 -05:00
Quincey Koziol
80c02cc6f1 [svn-r4327] Purpose:
More code cleanups
Description:
    Wrap up the code cleanups for changing the dataset transfer property lists
    over to using the generic property list code.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-08-10 21:47:13 -05:00
Quincey Koziol
d24ae52673 [svn-r4326] Purpose:
Code cleanups, mostly..
Description:
    Work on pacifying the SGI compiler to get the generic properties working
    correctly with --enable-parallel and --enable-fortran.  It's not quite
    fixed yet, but I need to head home and these patches help... :-/
Platforms tested:
    IRIX64 6.5 (modi4)
2001-08-10 17:30:01 -05:00
Bill Wendling
48842d60fa [svn-r4325]
Purpose:
    New Feature
Description:
    Adding the h5cc script thingy.
Platforms tested:
    Linux
2001-08-10 16:34:40 -05:00
Quincey Koziol
95862451f7 [svn-r4324] Purpose:
New Features!
Description:
    Start migrating the internal use of property lists in the library from the
    older implementation to the new generic property lists.

    Currently, only the dataset transfer property lists are migrated to the
    new architecture, all the rest of the property list types are still using
    the older architecture.

    Also, the backward compatibility features are not implemented yet, so
    applications which use dataset transfer properties may need to make the
    following changes:
        H5Pcreate(H5P_DATASET_XFER) -> H5Pcreate_list(H5P_DATASET_XFER_NEW)
            and
        H5Pclose(<a dataset transfer property list>) -> H5Pclose_list(id)

    This still may have some bugs in it, especially with Fortran, but I should
    be wrapping up those later today.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-08-10 15:47:05 -05:00
Bill Wendling
dcfa4009e4 [svn-r4315]
Purpose:
    Feature FIx
Description:
    Fixed description of the --filedriver flag.
Platforms tested:
    Linux
2001-08-06 12:54:42 -05:00
Quincey Koziol
41529d180e [svn-r4312] Purpose:
Feature shift
Description:
    Take out the v1.2.x compatibility stubs and put in the hooks for v1.4.x
    compatibility when needed.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-08-06 11:01:44 -05:00
Bill Wendling
b5d11111b0 [svn-r4292]
Purpose:
    Bug Fix
Description:
    The way we were generating Dependencies and .depend files was broken.
    If the $srcdir or other macros began with a ".", then it would match
    anything and cause problems since it would then overwrite the
    beginning of the header file's path.
Solution:
    Wrote a Perl script which can handle this type of weirdness better.
    It's only used when the environment is a GNU one with a GCC
    compiler...
Platforms tested:
    Linux
2001-08-01 16:00:25 -05:00
Bill Wendling
ff2e3ab9e9 [svn-r4284]
Purpose:
    Feature Change
Description:
    Changed the --family flag to --filedriver to make it clearer what's
    going on.
Platforms tested:
    Linux
2001-07-31 12:20:53 -05:00
Bill Wendling
88729d4c14 [svn-r4282]
Purpose:
    Bug Fix/Feature Add
Description:
    Added new flag ("-f" and "--family") to allow user to specify which
    file driver to use to open the file. If they don't specify anything,
    then it defaults to the old behaviour of trying each driver in turn
    until one actually opens the file.

    If the driver the user specified doesn't succeed in opening the
    file, then we do NOT try other file drivers.
Platforms tested:
    Linux
2001-07-30 16:55:46 -05:00
Bill Wendling
e685336ab1 [svn-r4254]
Purpose:
    Reformatting
Description:
    Reformatted the code so that it's much clearer and conforms to the
    HDF5 coding standards. Changed the function headers to use the ANSI
    style instead of the KnR style. Kept the use of typedef's such as
    "unsigned char" being "BYTE" and so on since of of this code is
    copied from some other place and that's the style they use...I didn't
    want to break things.
Platforms tested:
    It compiles fine on Linux, but there aren't any tests for this
    package, so...
2001-07-24 12:51:22 -05:00
Bill Wendling
75ee2e46aa [svn-r4245]
Purpose:
    Fixing a boo-boo
Description:
    There was a problem with the generated Dependencies file. It listed
    the H5pubconf.h header file as being in the $(top_srcdir) directory
    when it's in the $(top_builddir) directory.
Solution:
    Regenerated it.
Platforms tested:
    Linux
2001-07-20 12:32:44 -05:00
Bill Wendling
df7214c646 [svn-r4239]
Purpose:
    Updated
Description:
    Regerated the Dependencies file.
Solution:
    Ran "make Dependencies" on a GNU machine.
2001-07-19 13:04:20 -05:00
Bill Wendling
6f6e930f30 [svn-r4238]
Purpose:
    Update
Description:
    Updated the Dependencies file.
Solution:
    Reran "make Dependencies" in the tools/h4toh5 directory.
2001-07-19 12:53:30 -05:00
MuQun Yang
239ca247d8 [svn-r4185]
Purpose:
    a bug in the comment
Description:
    The structure of HDF4 file is not correct in the orginal comment
Solution:
     Correct the wrong comment and add more explanation
Platforms tested:
     eirene
2001-07-11 11:11:58 -05:00
Quincey Koziol
990fadfbe5 [svn-r4181] Purpose:
Bug Fix, Code Cleanup, Code Optimization, etc.
Description:
    Fold in the hyperslab speedups, clean up compile warnings and change a
    few things from using 'unsigned' or 'hsize_t' to use 'size_t' instead.
Platforms tested:
    FreeBSD 4.3 (hawkwind), Solaris 2.7 (arabica), Irix64 6.5 (modi4)
2001-07-10 16:19:18 -05:00
Quincey Koziol
0c1c23245d [svn-r4180] Purpose:
Documentation
Description:
    Accommodate v1.2.x behavior when --enable-hdf5v1_2 is enabled.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-07-10 15:18:52 -05:00
Elena Pourmal
a46f951ea0 [svn-r4171]
Purpose:
    Bug fix (by Bob McGrath)
Description:
    On Solaris platforms palette was not written to the HDF5 file
Solution:
    '\0' character was written outside the GroupName array. Apparently                                           on Solaris it destroyed the condition value that determined if the palette                                   should be written to the file.
Platforms tested:
    Not tested yet.
2001-07-10 13:05:11 -05:00
Bill Wendling
21000f0c09 [svn-r4150]
Purpose:
    Checking in BOb's Changes
Description:
    Just checking in Bob McGrath's changes to the h5dumper's XML code.
2001-07-09 01:40:08 -05:00
Elena Pourmal
d9d71b06e4 [svn-r4107]
Purpose:
    Bug fix
Description:
    One of the function calls (H5Sget_simple_extent_dims) used parameter with
    the wrong type. That caused compilation errors on T3E.
Solution:
    Used NULL since that argument is optional and was never used.
Platforms tested:
    T3E(mcurie) and IRIX64 (modi4)
2001-07-04 12:32:48 -05:00
Pedro Vicente Nunes
098ed81ec8 [svn-r4083]
code warrior support
and some clean up
the macros file_seek and file_offset_t that were repeated over sevral files were put only in
H5private.h
H5private .h was updated for win32


vthe
Description:
Solution:
Platforms tested:
2001-06-29 10:27:15 -05:00
Quincey Koziol
d41b9fffdf [svn-r4012] Purpose:
Clean up compiler warnings.
Description:
    Just code neatening mostly, some casts, etc.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-18 15:22:10 -05:00
MuQun Yang
dbdeacb7ad [svn-r3989]
Purpose:
    New features for adding attribute options and modifying testing files
Description:
Solution:
Platforms tested:
     eirene,arabica
2001-06-11 16:21:59 -05:00
MuQun Yang
1a5197918c [svn-r3988]
Purpose:
    new features
Description:
    1. add an option to convert HDF4 file without HDF4 specified attributes such as
	HDF4_OBJECT_TYPE, HDF4_REF_NUM etc.
        it can be done by inputting "h4toh5 -na input.hdf"
        The default converter will still keep HDF4 specfied attributes.
    2. Add compression features (gzip) for image too. Now the compressed HDF4 image
       can be supported by using HDF5 gzip. Not sure whether tools can read it. Need to be       tested.
    3. Change SPACEPAD to NULLTERM for HDF4 dimensional name list. We can use variable length HDF5 string to represent these names, however currently H5dump and H5view cannot support variable length HDF5 string. converter will wait for other tools' update.

Solution:
Platforms tested:
     eirene(Red Hat 6.2) and arabica(solaris 2.7)
2001-06-11 16:20:10 -05:00
MuQun Yang
1b484c377c [svn-r3987]
Purpose:
   update h4toh5 converter utility test files
Description:
    better output of HDF4 dimensional name list
Solution:
Platforms tested:
    eirene,arabica
2001-06-11 16:03:13 -05:00
MuQun Yang
01398cee71 [svn-r3986]
Purpose:
    update h4toh5 testing files
Description:
    Now we are using fixed size for HDF5 dimensional name list and h5dump
    output is appended with 000/000/.......................
    It looks ugly and annoying.
Solution:
     Use NULLTERM for SDS dimensional list names
Platforms tested:
     RedHat 6.2(eirene) and solaris 2.7(arabica)
2001-06-11 16:00:58 -05:00
Quincey Koziol
21906d0b7c [svn-r3985] Purpose:
Code cleanups
Description:
    Fixed a small number of compiler warnings.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-11 14:54:19 -05:00
Quincey Koziol
c46ac986c5 [svn-r3984] Purpose:
Code cleanups
Description:
    Fixed a small number of warnings.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-11 14:53:50 -05:00
Elena Pourmal
7cb85190c8 [svn-r3921]
Purpose:
    Fooling around
Description:
    Added deleted gif.h file
2001-05-12 14:00:43 -05:00
Elena Pourmal
88b6fcfa5d [svn-r3920]
Purpose:
    Bug fix
Description:
    Rushabh added new directory tools/gifconv to CVS. He also modified
    MANIFEST, but  bin/chkmanifest complains this file.
Solution:
    I will try to delete gif.h and then to add it once more.
2001-05-12 13:59:29 -05:00
Rushabh Doshi
2eb5516b09 [svn-r3919]
Purpose:
    Adding new feature
Description:
    Added gif2h5 and h52gif conversion utilities
Solution:
    The utilites follow the framework built for the gif2hdf and hdf2gif
    utilities for hdf4. The main files modified were those that read the
    H5 file and those that write H5 file. In the future, if you wish to
    continue with the framework and extend it to .png or some other fileformat
    the main files to edit will be the gif reader and writer.
    One point to note with h52gif. You have to specify the exact location of
    the image and the palette that it links to. You can choose not to specify
    a palette (uniform grayscale chosen in this case) but you must specify
    image location. In the future, someone could edit the readhdf.c source
    to enable the reader to parse the hdf file and select all images with
    corresponding palettes.
Platforms tested:
    modi4 , eirene , hawkwind , arabica , Ren (NT 4.0) , Personal box (win2k)
2001-05-12 12:55:47 -05:00
MuQun Yang
2c8b1571d2 [svn-r3871]
Purpose:
    Add definations of two new functions
Description:
Solution:
Platforms tested:
    eirene
    [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-04-28 18:06:34 -05:00
MuQun Yang
1c4dd8b01b [svn-r3870]
Purpose:
 Add a constant(compression level for gzip)
Description:
    For compression issue
Solution:
Platforms tested:
    eirene
    [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-04-28 18:05:05 -05:00
MuQun Yang
cfc0f7c02b [svn-r3869]
Purpose:
    a bug fix
Description:
    User can define "Real Vdata" as user-defined attribute. By using VSisattr, we can check this out. In order to keep this piece of information, We use "Vdata attribute" in the converted HDF5 file to distingush this kind of Vdata from independent Vdata.
Solution:
    see above
Platforms tested:
    eirene(Linux)
2001-04-28 18:02:12 -05:00
MuQun Yang
7b6e646863 [svn-r3868]
Purpose:
     a bug fix
Description:
     When Vsisattr is true, this Vdata still needs to be converted as an independent
     real "Vdata", We will add object type of this vdata as "Vdata attribute".
Solution:
     erease the evaluation of Vsisattr call.
Platforms tested:
    Linux(eirene)
2001-04-28 17:57:16 -05:00
MuQun Yang
ee65ccc265 [svn-r3867]
Purpose:
     bug fix Adding more features
Description:
    Bugs: 1) hdf4 dimensional scale data can be none, but the dim name can still defined by users, so number of hdf4 dimensional names and number of object reference may be different
    Previously, this problem is not considered.

          2) SDcheckempty will return true when fill value is set to HDF4 SDS, and then fill value information is lost
          3) check whether SDS have fill value set although SDcheckempty return true.
             Use H5Psetfillvalue and H5Dcreate in HDF5 part, still needs to wait for the new development of HDF5 and also need to investigate whether this part of code has bugs.
    New features: compressed SDS will get compressed with gzip when it is converted. That will save some space.
    [describe the bug, or describe the new feature, etc]
Solution:
     See  above and design document
Platforms tested:
    eirene(linux)
    [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-04-28 17:52:49 -05:00
Bill Wendling
68887995c8 [svn-r3853] Purpose:
Adding Tests
Description:
    Added tests for the h5dump subsetting feature.
Platforms tested:
    Linux
2001-04-24 17:24:47 -05:00
Bill Wendling
3cd2537c60 [svn-r3841] Purpose:
Oops
Description:
    An "if" was capilalized for some reason.
Solution:
    Changed it from If to if.
Platforms tested:
    Linux
2001-04-24 13:45:03 -05:00
Bill Wendling
ce4408e074 [svn-r3840] Purpose:
small bug fix
Description:
    If specifying --stride, it was checking for the wrong short-form of
    the command-line parameters.
Solution:
    Changed the 'T' to 'S' which is the new short form for the stride
    option.
Platforms tested:
    Linux
2001-04-24 13:40:45 -05:00
Bill Wendling
67b5490df0 [svn-r3811] Purpose:
Update
Description:
    If the count for a subset isn't specified, then we default to the
    remainder of the dataset.
Solution:
    Check for the count to be specified. If not, then find the dimensions
    of the dataset and subtract from the the "start" parameter.
Platforms tested:
    Linux
2001-04-13 15:22:21 -05:00
Bill Wendling
c75ca861ec [svn-r3795] Purpose:
Update
Description:
    Updated the way the subsetting data is retrieved. It now does it one
    row of blocks at a time. It may still run out of memory, but this is
    at least a good first step.

    Also, the start parameter defaults to (0, 0, ...) if it isn't
    specified.
Platforms tested:
    Linux
2001-04-10 14:54:08 -05:00
Bill Wendling
e13b8e8971 [svn-r3782] Purpose:
Update
Description:
    Changed old style includes "with <>" to new style 'with ""' for
    dependencies gathering.
2001-04-05 16:37:17 -05:00
Bill Wendling
d57e19825b [svn-r3769] Purpose:
Update
Description:
    Replaced

            #include <hdf5_file.h>

    with

            #include "hdf5_file.h"

    so that gcc can pick up our files more easily without picking up
    system header files (which we don't care about being in the
    dependencies list).
Platforms tested:
    Linux
2001-04-03 12:48:52 -05:00
Bill Wendling
6c130407eb [svn-r3768] Purpose:
Update
Description:
    Replaced "#include <hdf5_file.h>" with the equivalent, but better
    #include "hdf5_file.h" so that gcc can pick up our header files more
    easily.
Platforms tested:
    Linux
2001-04-03 12:47:08 -05:00
MuQun Yang
067806e507 [svn-r3739]
Purpose:
    a bug fix
Description:
    when creating sds dimensional scale dataset, I accidently created two sds dimensional scale dataset with the same name, (say using name "dim1" for both rank 2 and rank 3).
    hdf4 library doesn't give me complaints, hdp dumpsds doesn't generate complaints. h4toh5 converter since assumed that dimensional scale name has to be unique, simply skip if finding the same dimensional name, so accidently the result from hdp dumpsds are the same as the result from h5dump until I implement library API and find this bug.
Solution:
    make unique sds dimensional scale name for this test file. Will also need to modify testfiles later.
    suggestions: somebody check hdf4 library to disallow the same dimensional scale nameOused for the same sds object.
Platforms tested:
    eirene, and this check in will not affect daily test.
2001-03-29 18:56:23 -05:00
Bill Wendling
fa399abe3d [svn-r3681] Purpose:
Update
Description:
    Applied fix to h5dumper which was applied to the 1.4 branch. Done
    just before creating subdirectories in the 1.4 branch.
Platforms tested:
    Linux
2001-03-21 17:53:34 -05:00
Bill Wendling
65ed9f9b8a [svn-r3680] Purpose:
Updated
Description:
    Updated test results for the h5dumper's XML option. The tool now
    conforms with the fixes implemented in the 1.4 branch.
Platforms tested:
    Linux
2001-03-21 17:52:11 -05:00
Bill Wendling
39142ffed0 [svn-r3648] Purpose:
Feature Add
Description:
    This is the first (alpha) version of h5tools which does subsetting
    according to the subsetting document. There's still some niceties
    which need to be worked out, but this is the ground work.
Platforms tested:
    Linux
2001-03-15 14:31:40 -05:00
Bill Wendling
bebae0a9e8 [svn-r3634] Purpose:
Bug Fix.
Description:
    Kent is correct about the malloc error. It's harmless if it's not
    needed anyway.
Solution:
    Removed the #ifdef's since all platforms should use this.
Platforms tested:
    Linux
2001-03-14 16:46:31 -05:00
MuQun Yang
a21f74ce6a [svn-r3633]
Purpose:
    fixing the format of dumper output for windows test
Description:
    New dumptest includes the feature that an error of the output will be put into stderr in linux
    On windows, that stderr will not be redirected into the output file and the comparsion between the expected file and the dumper output is not correct.
Solution:
     change fprintf(stderr .....) at h5tool_util.c into fprintf(stdout ......) so that it fits the comparison.

Platforms tested:
    windows 2000
2001-03-14 16:38:55 -05:00
MuQun Yang
693131fe40 [svn-r3632]
Purpose:
    a bug fix on windows(possible on other platforms)
Description:
    not allocating enough space for a string at dump_all for debug version
    a string tmp is defined at dump_all(....),
    The memory that is allocated to tmp is malloc(strlen(prefix)+strlen(name)+1);
    However, there is one testing case : strlen(prefix) is 0 and
    tmp is allocated in the following:
    strcat(tmp,"/");
    strcat(tmp,name);
    ....
    free(tmp);

    the program fails when freeing tmp for debug (dll) version on windows 2000


Solution:
     For windows platform:

    allocate memory     strlen(prefix)+strlen(name)+2
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-03-14 14:14:13 -05:00
MuQun Yang
3ad1acdd03 [svn-r3611]
Purpose:
    avoid a windows bug for string handling
Description:
Solution:
Platforms tested:
     windows 2000, linux
2001-03-12 15:26:18 -05:00
MuQun Yang
b793dd3de8 [svn-r3607]
Purpose:
     change macro RGB into HDF5_RGB since RGB is defined on windows platforms
Description:
Solution:
Platforms tested:
    eirene
2001-03-12 12:18:06 -05:00
MuQun Yang
cd29e12e02 [svn-r3601]
Purpose:
    a  bug fix
Description:
     uninitialize the start and edge value for test_ras8 and test_ras24 functions
Solution:
     initialize
Platforms tested:
    eirene,arabica
2001-03-09 19:09:55 -05:00
Bill Wendling
42d3d90f0c [svn-r3575] Purpose:
Update
Description:
    Due to code motion, some functions which were being called were moved
    to another module. Included only that header file.
Platforms tested:
    Linux
2001-03-08 15:22:44 -05:00
Bill Wendling
690a3fa068 [svn-r3574] Purpose:
Update
Description:
    Updated to reflect the new naming of APIs in the h5tools library.
    I.e., things which were once named "h5dump_*" now have the "h5tools_"
    prefix instead.
Platforms tested:
    Linux
2001-03-08 15:22:08 -05:00
Bill Wendling
32dba42ff8 [svn-r3573] Purpose:
Code Cleanup
Description:
    Moved some code out which wasn't specific to the h5tools into the
    h5tools_utils and h5tools_str modules. Also started on adding the
    subsetting feature to the dumping.
Platforms tested:
    Linux
2001-03-08 15:21:05 -05:00
Bill Wendling
1b60816eb1 [svn-r3572] Purpose:
Code Movement
Description:
    Moved some functions which worked only with the h5tools_str_t
    structure from the h5tools module to the h5tools_str module.
Platforms tested:
    Linux
2001-03-08 15:19:30 -05:00
Bill Wendling
37957dfe1d [svn-r3571] Purpose:
New Modules
Description:
    Separated the "generic" functions out of the h5tools module into
    their own separate module to make things a bit nicer to deal with.
Platforms tested:
    Linux
2001-03-08 15:18:42 -05:00
Bill Wendling
8e7f06a1fc [svn-r3570] Purpose:
Update
Description:
    Added entry for h5tools_utils.*
Platforms tested:
    Linux
2001-03-08 15:17:52 -05:00
Bill Wendling
a4cd98c011 [svn-r3569] Purpose:
Update
Description:
    Changed name of h5tools functions.
Solution:
    Changed

         h5dump_fixtype() -> h5tools_fixtype()

Platforms tested:
    Linux
2001-03-08 15:17:12 -05:00
Bill Wendling
84d46a8d50 [svn-r3535] Purpose:
Bug Fix
Description:
    We weren't doing cleans or installs in the lib/ subdirectory.
Solution:
    Added lib to the for loops.
Platforms tested:
    LInux
2001-03-02 13:05:23 -05:00
Bill Wendling
ed7a1d171c [svn-r3523] Purpose:
Bug Fix
Description:
    For some reason, it was trying to cd to the examples/ and pablo/
    directories to do a distclean. Only problem was, they aren't here.
Solution:
    Removed those from the `for' loop.
Platforms tested:
    Linux
2001-02-27 17:41:49 -05:00
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