Commit Graph

2474 Commits

Author SHA1 Message Date
Albert Cheng
810d2979cc [svn-r2724] Purpose:
new feature
Description:
    h5ls was not tested
Solution:
    Added a test script, testh5ls.sh, to give h5ls some tests.
    Since the output from h5ls is sometime machine dependent (e.g.,
    Datatypes), can not compare them with expected output.  For now,
    run it against various hdf5 binary files.  If it exits with 0,
    consider it passes.
Platforms tested:
    IRIX64, eirene, arabica.
2000-10-24 13:31:49 -05:00
Albert Cheng
7b7a34b33d [svn-r2723] Purpose:
tidy it up
Description:
    Change the variable names so that it looks more generic.  Plan to
    make it a generic script test template.
Platforms tested:
    IRIX64-64, linux, solaris 2.7
2000-10-24 13:28:54 -05:00
Quincey Koziol
6aa0dd1620 [svn-r2722] Purpose:
Feature symmetry
Description:
    A while ago I needed to get the 'type' of data being accessed during writes
    to the VFL driver, so I put in code to get the information down there.
    Albert asked for the same information during reads, so I've added that in.
Tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-24 13:18:09 -05:00
Quincey Koziol
ad0bc26604 [svn-r2721] Purpose:
Feature symmetry
Description:
    A while ago I needed to get the 'type' of data being accessed during writes
    to the VFL driver, so I put in code to get the information down there.
    Albert asked for the same information during reads, so I've added that in.
Tested:
    Netscape
2000-10-24 13:17:24 -05:00
Quincey Koziol
3bb2d5fca2 [svn-r2720] Purpose:
Update release notes for VFL updates.
2000-10-24 13:15:44 -05:00
Bill Wendling
af17e1ee3f [svn-r2719] Purpose:
Bug fix
Description:
	During a `reconfigure', it wasn't traversing the
	subdirectories...
Solution:
	Added a loop to the reconfigure logic to do just that.
Platforms tested:
	NOT tested...
2000-10-23 17:58:09 -05:00
Quincey Koziol
51ba7ad48c [svn-r2717] Purpose:
Change test files for increased maximum dimension constant.

Description:
    space_overflow.c - added some simple error checking.

    th5s.c - corrected test case for maximem dimensions to use correct file
        and actually test what is supposed to be tested... :-)

    th5s.h5 - regenerated with increased dimensions.

Platforms Tested:
    FreeBSD 4.1.1 (hawkwind)
    Solaris 2.5 (baldric)
2000-10-20 15:57:56 -05:00
Quincey Koziol
904ade0c86 [svn-r2716] Purpose:
Increase constant for H5S_MAX_RANK from 31 -> 32
Description:
    To better align the HDF5 library's maximum dimenions with HDF4 and netCDF,
    the maximum number of dimensions has been increased to 32.
Platforms Tested:
    FreeBSD 4.1.1 (hawkwind)
    Solaris 2.5 (baldric)
2000-10-20 15:55:12 -05:00
Quincey Koziol
1f53e2708c [svn-r2715] Purpose:
Document changing the maximum number of dimensions from 31 -> 32
2000-10-20 15:53:39 -05:00
Elena Pourmal
00ca91129d [svn-r2714]
Purpose:
    Added more Fortran tests
Description:
    tH5A.f90 - attribute interface test
    tH5I.f90 - identifier interface test
Solution:
    Two new files were added to test H5A and H5I interfaces.
Platforms tested:
    Solaris 2.7, Linux
2000-10-20 15:51:49 -05:00
Elena Pourmal
b1c8d95cdd [svn-r2713]
Purpose:
    H5Aff.f90: Bug fix
Description:
    Character string was not passed correctly from the user's application
    to the write/read subroutines when buffer was decalred as assumed-shape
    array.
Solution:
    Declared date buffer to be assumed-size array.
Platforms tested:
    Solaris 2.7, Linux

Purpose:
    H5fortran_flags.f90: Bug fix

Description:
    Fortran H5I_* types had incorrect values.
Solution:
    Fixed.
Platforms tested:
    Solaris 2.7, Linux
2000-10-20 15:49:32 -05:00
Quincey Koziol
79d1d8258f [svn-r2711] Purpose:
Bug fix.
Description:
    When the maximum number of elements in a fixed size, free-list managed array
    was allocated, the free-list code was writing off the end of the array.
Solution:
    Changed definition of free-list managed arrays to allocate correct space for
    the array.
Platforms tested:
    Solaris 2.5 (baldric) w/Purify
2000-10-20 15:34:16 -05:00
Albert Cheng
b3e4cd6e97 [svn-r2710] Purpose:
Features, kind of.
Description:
    Separated the MPI features test into its own independent
    program so that it can be tested on its own without too
    much HDF5 stuff involved.
    Added automatic removal of temporary test files after
    the tests completed.
    Reduced the size of the dataset dimensions to avoid tripping
    the SGI MPI problems of running out of internal mpi type entries.
Platforms tested:
    O2K -64
2000-10-20 01:19:21 -05:00
Quincey Koziol
114ac60d1b [svn-r2708] Purpose:
Add test case for contiguous hyperslabs.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-19 15:53:07 -05:00
Quincey Koziol
25f38a9bd4 [svn-r2707] Purpose:
Optimization for parallel I/O
Description:
    When contiugous hyperslabs are defined (i.e. with the block=stride), the
    library was only aggregating the hyperslabs together for the fastest
    changing dimension.
Solution:
    Add some extra code to detect when contiguous hyperslabs span more than one
    row and output the entire contiguous section at once.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-19 15:52:29 -05:00
Bill Wendling
f93882b90a [svn-r2706] Purpose:
Bug Fix
Description:
	the line:

#include <hdf5.h>

	needed to be escaped to be seen in the browser.
Solution:
	Changed to:
#include &lt;hdf5.h&gt;
Platforms tested:
	Seen in Netscrape
2000-10-19 14:10:14 -05:00
Bill Wendling
de64fa4685 [svn-r2704] Purpose:
Bug Fix
Description:
	Sed was complaining about "filename expected" when trying to
	generate the .in files. The problem stemmed from the script sed
	was generating in the conftest.s1 file. It needed the DEPEND
	filename which wasn't being set.
Solution:
	Fixed so that we check if DEPEND is zero before trying to set if
	(if not using a GNU make program) instead of testing if DEPEND
	has a value in it...I copied this incorrectly from the main
	library's configure.in file...my bad.
Platforms tested:
	T3E
2000-10-19 12:55:13 -05:00
Frank Baker
ebc3e8a26e [svn-r2703] Purpose:
Adding new document links
Description:
    Adding links to TechNotes/VFL.html and TechNotes/VFLfunc.html,
    the new virtual file layer documents.
Platforms tested:
    IE 5
2000-10-19 12:47:37 -05:00
Quincey Koziol
4ba8f63b57 [svn-r2702] Purpose:
Code cleanup
Description:
    There's been a compiler warning about modifying a 'const' object in the
    H5T_copy routine for several years now, which a few users have reported.
Solution:
    Removed call to sort the old datatype (the const object) and changed the
    code to work with unsorted datatypes.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-19 12:41:30 -05:00
Frank Baker
76443fe477 [svn-r2701] Purpose:
Adding new document
Description:
    Adding VFLfunc.html, a list of VFL functions, to HDF5 Technical Notes.
Platforms tested:
    IE 5
2000-10-19 12:20:40 -05:00
Frank Baker
82725e62af [svn-r2700] Description:
Adding .../doc/html/TechNotes/VFLfunc.html
2000-10-19 12:17:47 -05:00
Quincey Koziol
95445613ca [svn-r2699] Purpose:
Bug fix
Description:
    "Time" datatypes (H5T_UNIX_D*) were not being stored and retrieved in
    the datatype object header message correctly.
Solution:
    Store endian-ness and precision in the datatype object header message and
    added test to continue to track them working correctly.

    This fixes bug #512.

Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-19 11:42:33 -05:00
Frank Baker
e5c6170754 [svn-r2698] Description:
Adding .../doc/html/TechNotes/VFL.html
2000-10-18 17:45:32 -05:00
Frank Baker
af464b49c3 [svn-r2697] Purpose:
Adding new document
Description:
    Adding VFL.html (Virtual File Layer) to HDF5 Technical Notes.
    August 1999 version.  Will be updated for R1.4 by developer.
Platforms tested:
    IE 5
2000-10-18 17:43:50 -05:00
Bill Wendling
a2e49651af [svn-r2696] Purpose:
Bug Fix
Description:
	On some platforms, if you don't have . in your PATH, it won't
	find the test program it's supposed to run.
Solution:
	Changed instead to ./$$test so that it picks up the program in
	the current directory.
Platforms tested:
	Opus and Linux
2000-10-18 11:47:04 -05:00
Bill Wendling
8f6dc0bc88 [svn-r2695] Purpose:
Buglet Fix...kinda
Description:
	The --enable-c++ flag is in there, but configure can't handle the
	++ on the end.
Solution:
	Changed it to --enable-cxx instead. N.B. This feature isn't
	really needed yet since C++ isn't integrated with the library
	proper.
Platforms tested:
	Linux
2000-10-18 11:46:00 -05:00
Quincey Koziol
29c5ab73e4 [svn-r2694] Purpose:
Bug fix
Description:
    H5Sget_simple_extent_npoints return type is hsize_t and the error value is
    0, but it is possible to have 0 points in a dataset with an unlimited
    dimension, but no data written yet.
Solution:
    Changed H5Sget_simple_extent_npoints return type to hssize_t and the error
    value to -1
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-18 11:43:40 -05:00
Quincey Koziol
07d218b717 [svn-r2693] Purpose:
Bug fix (bug #446)
Description:
    H5Tget_offset return type was size_t and the error return value was 0, but
    0 is also a valid successful return value.
Solution:
    Changed the return type to int and the error return value to -1
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-18 11:22:45 -05:00
MuQun Yang
3cea3093c8 [svn-r2691]
Purpose:
    1. fix multiple defination warnings at sgi platform
    2. adding chunking information from hdf4 to hdf5 property list.
Description:
    1. Orginally global varibles were defined at one header file and this
       header file were included by other .c file and .h file so multiple warnings are
       generated.
    2. Chunking information was not included in the previous version.
Solution:
    1. use "extern" to define global variables at h4toh5util.h file and define global variables
       at h4toh5main.c
    2. retrieve the chunking info from sdgetchunkinfo and GRgetchunkinfo and store these information
	into hdf5 property list.
Platforms tested:
      eirene,arabica,paz,gondolin
2000-10-17 22:48:10 -05:00
Quincey Koziol
f71aa7cb6c [svn-r2690] Purpose:
Bug fix
Description:
    Non-portable constructs are causing make to fail on some machines.
Solution:
    Replaced ":=" assignments with "=" assignments.
Platforms tested:
    Solaris 2.6 (baldric) & gmake
    Solaris 2.7 (arabica) & make (a SYSV make)
    FreeBSD 4.1.1 (hawkwind) & make (a BSD make)
2000-10-17 16:23:20 -05:00
Quincey Koziol
2011215517 [svn-r2689] Purpose:
Bug fix.
Description:
    Previously, it has been possible to dereference deleted objects in a file.
    Obviously, this is incorrect and could cause all sorts of problems if the
    object being dereferenced had been partially over-written with other
    information.  - This is documented in Bug #493.
Solution:
    Check the link count for objects being dereferenced and don't allow any
    objects with link counts of zero to be dereferenced.

    This fixes bug #493.

Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-10-17 15:46:57 -05:00
Bill Wendling
bfd52032e3 [svn-r2688] Purpose:
Feature Missing
Description:
	Generate the Dependencies files so modules are regenerated
	correctly
Solution:
	Handcoded the module. Hope it works.
Platforms tested:
2000-10-16 16:52:16 -05:00
Elena Pourmal
6220207607 [svn-r2687]
Purpose:
    Typo fixing.
Description:
    I made a typo in the comment.
Solution:
    Fixed a typo.
Platforms tested:
    This time tested on HPUX 11.00 (opus)
2000-10-16 16:50:49 -05:00
Bill Wendling
f4fba4aba8 [svn-r2686] Purpose:
Bug Fix
Description:
	When doing a make clean, the H5fortran_types.f90 file would be
	removed.
Solution:
	Placed it in the DISTCLEAN macro instead of the CLEAN so that it
	will stick around.
Platforms tested:
2000-10-16 14:45:08 -05:00
Elena Pourmal
0d993ff8bc [svn-r2685]
Purpose:
    Fortran HPUX 11.00 port
Description:
    Added Fortran stuff to the hpux11.00 file
Platforms tested:
    Has not been tested yet. Will do it after this checkin on opus.
2000-10-16 13:35:27 -05:00
Elena Pourmal
a67ef7d34b [svn-r2683]
Purpose:
    HDF5 Fortran90 port to HP 11.00
Description:
    Added datatype definitions for HP 11.00
Solution:
Platforms tested:
     HPUX 11.00 (opus)
2000-10-13 15:35:50 -05:00
Albert Cheng
3609fc24e7 [svn-r2682] Purpose:
Bug fix
Description:
    gmake check had been failing because of errors in the Makefile.
Solution:
    Fixed it so that libtools.a got build first.
Platforms tested:
    Eirene (Linux)
2000-10-13 00:09:30 -05:00
Albert Cheng
58d6139394 [svn-r2681] Updated. 2000-10-12 21:39:39 -05:00
Albert Cheng
fcfecf9ff2 [svn-r2680] Purpose:
Bug fix (ID 419)
Description:
    Converted strings class types (in dataset and attributes) to
    HDF4 type of DFNT_INT8.  Should have been DFNT_CHAR type.
Solution:
h5toh4.c:
    Changed the HDF4 type from DFNT_INT8 to DFNT_CHAR type.
    Converted all hdf5 strings (be it NULLTERM, NULLPAD, SPACEPAD)
    all to fixed width space padded HDF4 DFNT_CHAR.
testh5toh4:
    Added the testing of $HDF_NOCLEANUP before cleaning away the result files.
testfiles/Expected/tattr.hdf:
testfiles/Expected/tstr.hdf:
testfiles/Expected/tstr2.hdf:
    Updated with the corrected DFNT_CHAR type.
Platforms tested:
    Solaris 2.7, Linux, Irix 6.5.
2000-10-12 21:32:25 -05:00
MuQun Yang
f53e72cc9f [svn-r2679]
Purpose:
    Just add a few lines so that it will not break windows platform.
Description:
     netdb.h cannot be recognized by windows, use winsock.h in windows instead.
Solution:
        adding  the following lines at the beginning of H5FDstream.c.
         If you don't like, you may do it in another way, just keep it work for windows.
       #ifdef WIN32
> #include <winsock.h>
> #else
> #endif

Platforms tested:
    I am only testing whether it will bother building objects on windows. I haven't tested whether it
will affect the testing results. Hopefully not.
    windows 2000, eirene,arabica,gondolin,paz,opus.
2000-10-12 18:38:33 -05:00
MuQun Yang
0c70d84368 [svn-r2678]
Purpose:
    fixing output format of character array converted from hdf4 vdata.
Description:
    Now one dimensional chactacter array can be outputed as one H5 string instead of string of array before.
Solution:
   modify gen_h5comtype() so that when we detect the datatype is hdf5 string, we will merge hdf4 fieldorder into H5T string size and output the whole character array into  hdf5 string(with string size = size of the array length).
Platforms tested:
    eirene(LINUX), arabica(sun 5.6)
2000-10-12 18:33:22 -05:00
MuQun Yang
95c1f3d829 [svn-r2677]
Purpose:
   update windows project all.zip for development branch  of hdf5
Description:
   Now it can test h4toh5 and h5toh4 converters, at least for static case(non-dll lib.)
Solution:
    1. For h4toh5 and h5toh4 converter to work, the platform must have both hdf4 and hdf5 libs.
For hdf4 it includes both hdf and mfhdf libs.
Besides this, WS2_32.LIB has to be included for recongizing symbols related to networking issues.
    2. adding several new source files(h5FDlog.c etc) into all.dsw.
    3. modify H5FDstream.c so that it bypasses netdb.h and other socket headers for win 32, instead
       using winsock.h.
Platforms tested:
   windows 2000
2000-10-12 18:26:04 -05:00
MuQun Yang
13bd74e122 [svn-r2676]
Purpose:
   Update the test file vg.h5
Description:
Solution:
Platforms tested:

eirene(LINUX),arabica,baldric(SUN 5.6),paz(IRIX6.5),gondolin(DEC),opus(HP-UX11)
2000-10-12 17:54:31 -05:00
MuQun Yang
bddc59c0ea [svn-r2675]
Purpose:
    fix "zero memory" routine  and change dimensional scale name size to MAX_DIM_NAME
Description:
    change bzero into h4toh5_ZeroMemory
    change dimensional scale name size(orginally MAX_NC_NAME) to MAX_DIM_NAME at converter.
Solution:
    see description
Platforms tested:
arabica,baldric,gondolin(DEC),opus(HP 11),eirene(Linux),paz(IRIX6.5)
2000-10-12 17:52:28 -05:00
MuQun Yang
8abdfea352 [svn-r2674]
Purpose:
    1. fix size of dimensional name list so that the size of dimensional name in dumper output
will not change because of different versions of hdf library(h4toh5util.h and h4toh5sds.c).
    2. fix bzero routine for windows platform(h4toh5util.h,h4toh5util.c,h4toh5anno.c,h4toh5main.c,
	h4toh5sds.c)
Description:
    1. change the MAX_DIM_NAME into 276(MAX_NC_NAME +dimension group name) and hopefully we will
    not expand the size of MAX_NC_NAME(currently 256) for a long time.
    2. create a new routine(h4toh5_ZeroMemory) to zero out memory. Use ZeroMemory in windows and
	bzero at UNIX.
Solution:
    see Description.
Platforms tested:
    LINUX(eirene),WINDOWS 2000, sun 5.6(baldric and arabica),HP-UX11(opus),DEC(gondolin),IRIX 6.5(paz).
2000-10-12 17:47:38 -05:00
Frank Baker
c23193d9de [svn-r2672]
Purpose:
    Clarification of H5Fclose
Description:
    RM_H5F.html / H5Fclose:  Added note that all data is flushed to file.
Platforms tested:
    Tested with IE 5.
2000-10-12 17:09:28 -05:00
Albert Cheng
7e85c72e83 [svn-r2671] Purpose:
Bug fix
Description:
    The setting does not work for the --srcdir option as source file names
    are hard set in the action lines.
Solution:
    Changed the dependence targets to the form of *.lo and the action lines
    would use the *.lo files.  This way, *.lo files are created when
    -srcdir option is used or not.  Also added that they all depend on
    the C hdf5 library.
Platforms tested:
    IRIX64 -64 with --srcdir
2000-10-11 18:34:17 -05:00
Albert Cheng
717e5f4764 [svn-r2670] Purpose:
Bug fix
Description:
    The setting does not work for the --src-dir option as source file names
    are hard set in the action lines.
Solution:
    Changed the dependence targets to the form of *.lo and the action lines
    would use the *.lo files.  This way, *.lo files are created when
    -src-dir option is used or not.
Platforms tested:
    IRIX64 -64 (I knows it works for other platforms because
    "'I know the hammer will drop when i let go'--Mr. Spock")
2000-10-11 17:15:06 -05:00
Bill Wendling
d1e73b0909 [svn-r2669] Purpose:
Bug Fix
Description:
	I was relying on the PARALLEL macro to be "yes" or "no" all the
	time. This isn't the case.
Solution:
	Created the ADD_PARALLEL_FILES macro to do just this.
Platforms tested:
	Modi4
2000-10-11 12:44:40 -05:00
Bill Wendling
714b3018f3 [svn-r2668] Purpose:
Bug Fix
Description:
	Wasn't picking up the header files from the proper source and
	build directories. There were some funky things happening in
	there.
Solution:
	Put the correct path in.
Platforms tested:
	Modi4
2000-10-11 12:30:57 -05:00