Commit Graph

2474 Commits

Author SHA1 Message Date
Quincey Koziol
bd433ad90c [svn-r2880] Purpose:
Code cleanup
Description:
    Added a the generic property ID types to the list of things not stored in
    files.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-13 12:36:33 -05:00
Albert Cheng
0553b77507 [svn-r2879] Snapshot version 1.3 release 33 2000-11-13 12:31:36 -05:00
Bill Wendling
7b5c102536 [svn-r2878] Purpose:
Feature
Description:
	Variable length data dumping for simple (i.e., either SCALAR or
	1-Dim array variable length datatypes) should work. Added to the
	tests...
Platforms tested:
	Linux
2000-11-13 12:17:04 -05:00
Bill Wendling
80aabe2a2e [svn-r2877] Purpose:
Updated
Description:
	Added test files for variable length dumping.
2000-11-13 12:15:26 -05:00
Bill Wendling
e8745849af [svn-r2876] Purpose:
Test files
Description:
	Test files for the h5dumping of variable length datasets.
Platforms tested:
	Linux
2000-11-13 12:13:21 -05:00
Quincey Koziol
6c603f3e77 [svn-r2875] Purpose:
Code cleanup
Description:
    Eliminated some warnings on O2K platform.
Platforms tested:
    SGI O2K (modi4)
2000-11-13 12:03:59 -05:00
Quincey Koziol
8ea1fc564f [svn-r2874] Purpose:
API cleanup
Description:
    Tweaked some parts of the generic properties API to reduce warnings.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind) & SGI O2K (modi4)
2000-11-13 12:02:55 -05:00
Frank Baker
b527d73dda [svn-r2873]
Purpose:
    Adding all functions new to Release 1.4.
Solution:
    Adding first cut of all new API functions.
    H5Dvlen_get_buf_size
    H5Epush
    H5Pset_fapl_family       H5Pget_fapl_family
    H5Pset_fapl_mpio         H5Pget_fapl_mpio
    H5Pset_dxpl_mpio         H5Pget_dxpl_mpio
    H5Pset_fapl_multi        H5Pget_fapl_multi
    H5Pset_dxpl_multi        H5Pget_dxpl_multi
    H5Pset_fapl_split        H5Pset_fapl_sec2          H5Pset_fapl_stdio
    H5Pset_fapl_stream       H5Pget_fapl_stream
    H5Pset_fapl_log
    H5Pset_driver            H5Pget_driver             H5Pget_driver_info
    H5Pset_meta_block_size   H5Pget_meta_block_size
    H5Pset_sieve_buf_size    H5Pget_sieve_buf_size
    H5Pset_fapl_dpss
    H5Pset_fapl_gass         H5Pget_fapl_gass
    H5Pset_fapl_srb          H5Pget_fapl_srb
    H5Tarray_create          H5Tget_array_ndims        H5Tget_array_dims
Platforms tested:
    IE 5.
2000-11-13 11:35:49 -05:00
Quincey Koziol
7a4d4b9aa2 [svn-r2872] Purpose:
Code update
Description:
    Added stub for generic property testing, although it doesn't do anything
    yet.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-11 19:10:08 -05:00
Quincey Koziol
a4076b5598 [svn-r2871] Purpose:
Code updates
Description:
    Finished fleshing out code for generic properties, although they are not
    used anywhere in the library yet.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-11 19:09:36 -05:00
Quincey Koziol
f828fa13df [svn-r2870] Purpose:
Update
Description:
    Added new test file.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-11 19:08:59 -05:00
Quincey Koziol
daeb159cb8 [svn-r2869] Purpose:
Bug fix
Description:
    "old-style" compound datatypes with array fields were leaking memory
    during the datatype header decoding when creating the array datatype for
    a field.
Solution:
    Free the base type of the array after creating array datatype for field.
Platforms tested:
    Solaris 2.6 (baldric)
2000-11-11 17:22:12 -05:00
Quincey Koziol
51608fceef [svn-r2868] Purpose:
Bug Fix
Description:
    Generic property lists were leaking memory.
Solution:
    Tied them into the regular cleanup code called at the library's termination
Platforms tested:
    Solaris 2.6 (baldric) & FreeBSD 4.1.1 (hawkwind)
2000-11-11 15:16:51 -05:00
Quincey Koziol
2d0c5c1067 [svn-r2867] Purpose:
Bug fix.
Description:
    Dimension permutations for array datatypes were being skipped over when
    datatype information was read from the file (because they aren't used
    anywhere in the library currently), but this could cause problems in the
    future when they are used for something.
Solution:
    Read them in anyway, even if we aren't using them yet.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-11 11:44:28 -05:00
Quincey Koziol
04223a18f4 [svn-r2866] Purpose:
Code cleanup
Description:
    Found more "Have_foo" usage and converted them to "H5_HAVE_foo"
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-11 10:58:12 -05:00
Quincey Koziol
47bef32530 [svn-r2865] Purpose:
Code Cleanup
Description:
    Removed unused variable.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-11 10:56:43 -05:00
Quincey Koziol
b20fa011c2 [svn-r2864] Purpose:
Additional testing.
Description:
    Verify that calling H5Rget_obj_type with a region reference fails.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-10 19:12:21 -05:00
Thomas Radke
2047b4fc44 [svn-r2863]
Purpose:
    Bugfix
Description:
    Undo my last bugfix
Solution:
    Although changing 'return()' into '_exit()' for forked processes
    fixed core dumping of stream_test under Linux SMP it wasn't really
    a bugfix. In fact it still crashed on a T3E.
    Now it turned out that the bug was in some cleanup routine in H5FD.c.
    Since this has been fixed by Robb I can undo my (unneccessary) changes.
Platforms tested:
    Linux SMP (eirene)
    IRIX64 (modi4), IRIX32 (origin)
    T3E
2000-11-10 19:09:00 -05:00
Quincey Koziol
376d1b62d9 [svn-r2862] Purpose:
Bug fix.
Description:
    Had been using older-style "HAVE_foo" macros instead of newer "H5_HAVE_foo"
    macros.
Solution:
    Added a "H5_" to all the "HAVE_foo" macros.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-10 17:27:51 -05:00
Quincey Koziol
3886559829 [svn-r2861] Purpose:
Bug fix.
Description:
    When writing data and the dataset needed to be extended, the write call
    ended up using the old dataspace extents (prior to the dataspace extend)
    and bad parameters would get into the I/O channel, eventually causing it
    to dump core.
Solution:
    Every time a dataset is extended, throw away the previous dataspace
    information and re-retrieve it.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-10 17:26:53 -05:00
Robb Matzke
169579ee4d [svn-r2860] ./hdf5/src/H5Pprivate.h
* 2000-11-10 Robb Matzke  <matzke@llnl.gov>
	Changed `class' to `cls' in various places
	since the former is a C++ reserved word and some C compilers (like
	the one on blue) complain.
2000-11-10 15:45:38 -05:00
Robb Matzke
06d7d06a2b [svn-r2859] ./hdf5/src/H5P.c
* 2000-11-10 Robb Matzke  <matzke@llnl.gov> (H5P_copy)
	Changed `class' to `cls'.

    * 2000-11-10 Robb Matzke  <matzke@llnl.gov> (H5P_close)
	Changed `class' to `cls'.
2000-11-10 15:45:35 -05:00
Robb Matzke
ab3a1ae1df [svn-r2858] ./hdf5/bin/trace
* 2000-11-10 Robb Matzke  <matzke@llnl.gov>
	Changed `unknown type' error message to `untraceable
	type' so as to be more precise and less alarming.
2000-11-10 15:45:33 -05:00
Quincey Koziol
290fdd6d3d [svn-r2857] Purpose:
Keeping up with the Jones's
Description:
    Updated to latest version of the config.guess and config.sub scripts from
    the GNU ftp site, even though the copies in this branch of the library
    are OK with the new compiler on the Linux box.
Platforms tested:
    Linux (eirene) & FreeBSD 4.1.1 (hawkwind)
2000-11-10 13:45:32 -05:00
Robb Matzke
65bfb5b8a8 [svn-r2855] ./hdf5/src/H5Tpublic.h 2000-11-10 09:34:09 -05:00
Robb Matzke
82a7138733 [svn-r2854] ./hdf5/src/H5Tconv.c 2000-11-10 09:34:07 -05:00
Robb Matzke
407c7100e3 [svn-r2853] ./hdf5/src/H5T.c
* 2000-11-10 Robb Matzke  <matzke@llnl.gov>
	Updated API tracing calls.
2000-11-10 09:34:03 -05:00
Robb Matzke
165359045e [svn-r2852] ./hdf5/src/H5FD.c
* 2000-11-10 Robb Matzke  <matzke@llnl.gov> (H5FD_close)
	Removed code that resets the H5FD_t
	file structure to zero because that struct has already been
	freed.  This fixes a core dump on some platforms.
2000-11-10 09:34:01 -05:00
Quincey Koziol
ab5bf9f979 [svn-r2851] Purpose:
Updated for new array datatypes.
Description:
    I missed these tools earlier when I wasn't compiling with HDF4...
Solution:
    Updated them (correctly, I hope) to use the new array datatype instead of
    compound datatype array fields.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 18:01:29 -05:00
Quincey Koziol
66c44914cc [svn-r2850] Purpose:
Added new function.
Description:
    It's often convenient to query the class of a compound datatype's member
    to determine if it's an array and the previous way required you to open
    the member type to query it's class.
Solution:
    Added new H5Tget_member_class function to directly ask for the member type's
    class.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 18:00:19 -05:00
Quincey Koziol
2ce142b6ee [svn-r2846] Purpose:
New Feature
Description:
    Updated DDL files for new array output from h5dump.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:49:01 -05:00
Quincey Koziol
3499de1b53 [svn-r2845] Purpose:
New Feature
Description:
    Added dumping array datatypes to h5dump and the tool library.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:48:33 -05:00
Quincey Koziol
f178100d14 [svn-r2844] Purpose:
New Feature
Description:
    Added array datatype tests to the regression tests.  These datatype
    combinations are tested currently:
        1-D array of atomic datatypes
        3-D array of atomic datatypes
        array of array of atomic datatypes
        array of compound of atomic datatypes
        array of compound of array datatypes
        array of VL of atomic datatypes
        array of VL of array datatypes

    Also added a test to verify that the older style compound datatype with
    array fields works correctly.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:47:59 -05:00
Quincey Koziol
e32c78d023 [svn-r2843] Purpose:
New Feature
Description:
    Added array datatype to library.  See documentation at:
        http://hdf.ncsa.uiuc.edu/HDF5/planning/DP/ArrayType.html
    for complete details on the impact to the library.
Solution:
    Changes to the base library include removing the ability of compound
    datatype fields to be an array (they can use an array type for the field,
    to duplicate the functionality) and adding in the new array datatype
    everywhere appropriate. (I hope :-)
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:45:27 -05:00
Bill Wendling
796b4daf83 [svn-r2842] Purpose:
Recoding of VL dumping.
Description:
	I'm using hyperslabs to select the variable length data. I don't
	have any tests which I've checked in just yet. I'll create those
	later.
Platforms tested:
	Linux
2000-11-09 13:59:41 -05:00
MuQun Yang
73df5fb57a [svn-r2841]
Purpose:
    add testfiles for h4toh5 converter
Description:
Solution:
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.]
2000-11-09 10:50:17 -05:00
Bill Wendling
c0dec49299 [svn-r2840] Purpose:
Regenerated
Description:
	Just regenerated the H5config.h.in file with the newest changes
	from Thomas.
2000-11-09 00:10:20 -05:00
MuQun Yang
a219b97a88 [svn-r2839]
Purpose:
     check in beta release h4toh5 converter
Description:
     1. add copy right and other comments to all .h and .c files
     2. fix bugs on sds unlimited dimension, hdf5 dimensional scale attribute and vdata translating
         from h4 to h5.

Solution:
     2.
        1) for sds with unlimited dimension to be converted into extensible hdf5 dataset,
        on hdf5 side, has to set a default chunk size even though the corresponding hdf4 file is not
	chunked.
        2) in this version, if sds object doesn't have dimensional scale data, we will not show
           the default hdf4 dimensional name ("fakedim0", etc.) in the new hdf5 dimensional scale
	   name attribute.
        3) fix a bug transferring vdata of which the field includes a character array. Make it correctly transfer into the corresponding hdf5 compound data type.


Platforms tested:

      eirene,arabica,baldric,hawkwind,paz,gondolin on new set of hdf4 test files.
2000-11-08 18:14:41 -05:00
Thomas Radke
34b23b7dfa [svn-r2838]
Purpose:
    Bugfix
Description:
    Add define for HAVE_SOCKLEN_T which I forgot to commit together with
    the changes to configure.in and H5config.h.in
2000-11-08 18:06:03 -05:00
MuQun Yang
b62d0a1366 [svn-r2837]
Purpose:
     Adding more expected files for testing h4toh5 converter
     These test files include hdf5 files that are expected converted from hdf4 files for various vdata
     and vgroup cases.
Description:
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz
2000-11-08 18:01:16 -05:00
MuQun Yang
9486965c4a [svn-r2836]
Purpose:
     Add testing files for h4toh5 converter
     Two more files for testing native float data type sds objects
Description:
Solution:
Platforms tested:
      arabica,eirene,hawkwind,paz
2000-11-08 17:57:35 -05:00
MuQun Yang
c9ec2cdc4d [svn-r2835]
Purpose:
     Adding expected hdf5 files for h4toh5 converter
     Expected files for different testing hdf4 files for sds objects
Description:
Solution:
Platforms tested:
     eirene,arabica,gondolin,paz
2000-11-08 17:53:09 -05:00
Thomas Radke
025fb428a3 [svn-r2834]
Purpose:
    Bugfix
Description:
    The stream_test program reported an error under Linux SMP
    for testing the Stream VFD although everything seemed to be fine.
Solution:
    The sender and receiver process which are forked by main()
    called return(retcode) at exit which implies closing open file descriptors.
    Since these are shared this caused a SEGFAULT in either the sender
    or the receiver when exiting.
    Replacing return() by _exit() is the right way to terminate the forked
    processes in this case.
Platforms tested:
    Linux SMP (eirene)
2000-11-08 17:47:35 -05:00
MuQun Yang
7fe0f3bb25 [svn-r2833]
Purpose:
    Adding expected testing files for h4toh5 converter
    expected files converted from image object
Description:
Solution:
Platforms tested:
      eirene,arabica,paz,hawkwind,gondolin
2000-11-08 17:37:21 -05:00
Thomas Radke
a8b655ff03 [svn-r2832]
Purpose:
    Bugfix.
Description:
    Renamed the H5_HAVE_STRUCT_SOCKLEN_T into H5_HAVE_SOCKLEN_T
    because it isn't really a structure.
2000-11-08 17:35:29 -05:00
MuQun Yang
3846f6a785 [svn-r2831]
Purpose:
    update main test files for h4toh5 converter
Description:
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz,gondolin
2000-11-08 17:34:12 -05:00
Thomas Radke
ae1a3c1300 [svn-r2830]
Purpose:
    Bugfix
Description:
    Rename the [H5_]HAVE_STRUCT_SOCKLEN_T into [H5_]HAVE_SOCKLEN_T.
Solution:
    As pointed out by Bill the socklen_t type isn't a structure if
    is it defined by the system headers.
    So we should better take out the _STRUCT_ from the defines.
Platforms tested:
2000-11-08 17:33:24 -05:00
MuQun Yang
50333fe515 [svn-r2829]
Purpose:
    Adding expected files for h4toh5 converter
    two test files for annotation
Description:
Solution:
Platforms tested:
    arabica,eirene,paz,gondolin,hawkwind
2000-11-08 17:32:54 -05:00
MuQun Yang
3baf0d41a7 [svn-r2828]
Purpose:
     Adding testing files for h4toh5 converter
     hdf4 test files for various tests on vgroup(including, hardlink,loop,nameclashing etc.)
Description:
Solution:
Platforms tested:
     arabica,eirene,paz,gondolin,hawkwind
2000-11-08 17:30:05 -05:00
MuQun Yang
69ada20b2a [svn-r2827]
Purpose:
     Adding testing files for h4toh5 converter
     testing files for independent vdatas
Description:
Platforms tested:
    eirene,hawkwind,arabica,paz
2000-11-08 17:26:50 -05:00