Commit Graph

3792 Commits

Author SHA1 Message Date
Quincey Koziol
0cb78c2087 [svn-r5097] Purpose:
Bug Fix

Description:
    Regression test for following bug:

    The H5Gget_objinfo() function was not setting the 'fileno' field in the
    H5G_stat_t struct passed in.

Solution:
    Added a "file serial number" to each file currently open in the library
    and put that in the 'fileno' field.  If a file is opened twice (with
    H5Fopen) and the VFL driver detects that it is the same file (i.e. the
    two file structures have the same "shared file info" in the library's
    memory structures), they will have the same serial number.

    This serial number has two drawbacks:
        - If a VFL driver doesn't/can't detect that two calls to H5Fopen with
            the same file actually _are_ the same file, each will get a
            different serial number
        - If the same file is closed and re-opened, the serial number will be
            different.

    It is be possible to fix the second drawback for many VFL drivers, but it
    would be a lot of effort and probably isn't worth it until we've got a
    good reason to do it.  Dunno if we'll ever be able to fix the first
    drawback...

Platforms tested:
    FreeBSD 4.5 (sleipnir)
VS: ----------------------------------------------------------------------
2002-03-27 15:25:48 -05:00
Quincey Koziol
7e9738f290 [svn-r5096] Purpose:
Bug Fix

Description:
    The H5Gget_objinfo() function was not setting the 'fileno' field in the
    H5G_stat_t struct passed in.

Solution:
    Added a "file serial number" to each file currently open in the library
    and put that in the 'fileno' field.  If a file is opened twice (with
    H5Fopen) and the VFL driver detects that it is the same file (i.e. the
    two file structures have the same "shared file info" in the library's
    memory structures), they will have the same serial number.

    This serial number has two drawbacks:
        - If a VFL driver doesn't/can't detect that two calls to H5Fopen with
            the same file actually _are_ the same file, each will get a
            different serial number
        - If the same file is closed and re-opened, the serial number will be
            different.

    It is be possible to fix the second drawback for many VFL drivers, but it
    would be a lot of effort and probably isn't worth it until we've got a
    good reason to do it.  Dunno if we'll ever be able to fix the first
    drawback...

Platforms tested:
    FreeBSD 4.5 (sleipnir)
VS: ----------------------------------------------------------------------
2002-03-27 15:25:03 -05:00
Bill Wendling
30aa868e10 [svn-r5092] Purpose:
Bug Fix
Description:
	I wasn't testing if the Fortran compiler could actually do the MPI
	compilation tests.
Solution:
	Changed the configure script so that it uses Fortran 90 to test the
	MPI compilation stuff instead of the MPI C compiler...
Platforms tested:
	AIX and Linux
2002-03-27 13:08:50 -05:00
Bill Wendling
0f7c2e3017 [svn-r5088] Purpose:
Code removal
Description:
	Removed the HDF4 source files from the HDF5 tree. The directories
	will remain. Use the "-P" option when doing a cvs checkout or update
	to "prune" the empty directories from your personal tree.
2002-03-27 11:11:41 -05:00
Bill Wendling
480c319ab4 [svn-r5087] Purpose:
Update
Description:
	Reflect the removal of the HDF4 stuff from the HDF5 library
2002-03-27 11:10:06 -05:00
Bill Wendling
b38138bebb [svn-r5086]
Purpose:
    Bug Fix
Description:
    The new way of detecting LibZ (just specifying the directory where
    include/ and lib/ are) wasn't propagated down to the Fortran
    directory.
Solution:
    Added that code...
Platforms tested:
    AIX and Linux
2002-03-26 17:52:57 -05:00
Quincey Koziol
ff35b69790 [svn-r5085] Purpose:
Update release notes.
2002-03-26 14:56:25 -05:00
Quincey Koziol
e23792a3f0 [svn-r5083] Purpose:
Bug Fix

Description:
    Regression test for following bug:

    When reading a contiguous hyperslab that spanned the entire dataset and
    was larger that the type conversion buffer, the hyperslab routines need
    to fill the type conversion buffer and then return to the I/O routines.

    When the I/O routines resume the hyperslab operation, it was possible to
    have a combination of coordinates which caused the hyperslab iterator
    to incorrectly advance in the file, causing some data to be re-read or
    re-written.

Platforms tested:
    Linux (eirene)
2002-03-26 14:55:44 -05:00
Quincey Koziol
ccfdf1f9e4 [svn-r5082] Purpose:
Bug Fix
Description:
    When reading a contiguous hyperslab that spanned the entire dataset and
    was larger that the type conversion buffer, the hyperslab routines need
    to fill the type conversion buffer and then return to the I/O routines.

    When the I/O routines resume the hyperslab operation, it was possible to
    have a combination of coordinates which caused the hyperslab iterator
    to incorrectly advance in the file, causing some data to be re-read or
    re-written.

Solution:
    Corrected the H5S_hyper_iter_next routine to correctly handle contiguous
    hyperslabs that span the entire dataset dimensions.

Platforms tested:
    Linux (eirene)
2002-03-26 14:55:28 -05:00
HDF Admin
27f0b5a267 [svn-r5078] Snapshot version 1.5 release 23 2002-03-23 04:14:47 -05:00
Barbara Jones
7c47f269bd [svn-r5076]
Purpose:
    To clarify where INSTALL files are located.
Description:
    The README.txt refers to the INSTALL files as though they
    were in the top HDF5 directory.  They are not there so this
    was confusing to users.  Added a line saying they were located in
    the release_docs/ directory.
2002-03-22 09:15:49 -05:00
MuQun Yang
cd0af12f66 [svn-r5075] Snapshot version 1.5 release 22 2002-03-21 08:49:57 -05:00
Bill Wendling
03463f4f94 [svn-r5074] Purpose:
Code Motion
Description:
	Removal of HDF4 from the configure/Makefiles. This is a precursor to
	the actual physical removal of the HDF4 tools from the HDF5 tree.
Platforms tested:
	Arabica, Dangermouse
2002-03-20 13:14:36 -05:00
Albert Cheng
27f237f4c0 [svn-r5072] Purpose:
Bug fix
Description:
    Old config assume compiler is the SGI compiler if it is not gcc.
    It would apply all SGI cc options to the $CFLAGS.  This would cause
    problem if a non-cc non-gcc compiler is used.
Solution:
    Verify the compiler is indeed the SGI compiler before applying all those
    cc specific options to the $CFLAGS.
Platforms tested:
    modi4, both parallel serial, gcc or cc, -64 or n32.
2002-03-19 23:45:55 -05:00
MuQun Yang
85353d080d [svn-r5070]
Purpose:
    1. fix a bug on all_withf90.zip
    2. update windows zlib library to 1.14 version
Description:
    1. somehow the workspace and project files were not totally updated on all_withf90.zip
       update it now.
    2. Update windows zlib library to the 1.14 version in responding to the security problem of zlib.
       This updating will not affect other platforms.
Solution:
Platforms tested:
     windows 2000
2002-03-19 09:39:57 -05:00
Albert Cheng
0ce6b8c9e6 [svn-r5068] Purpose:
Updated the help message to include the diff option.
2002-03-18 17:19:59 -05:00
Elena Pourmal
7b77f97188 [svn-r5066]
Purpose:
    Bug fix
Description:
    I borrowed function HDpackFstring from the HDF4 Library and
    left name unchanged. It causes linking problems for Fortran users
    that use both HDF4 and HDF5 Libraries in their applications.
Solution:
    Changed the name to be HD5packFstring
Platforms tested:
    Solaris 2.7
2002-03-14 15:12:12 -05:00
Pedro Vicente Nunes
34880b42a0 [svn-r5065]
Purpose:
    test the H5Dset_extend function
Description:
    changed the example for more easy debugging
Platforms tested:
    w2000, linux
2002-03-14 12:54:34 -05:00
Pedro Vicente Nunes
c33fd20d54 [svn-r5064]
Purpose:
    updated the H5D_update_chunk function
Description:
    removed some debugging code headers
Platforms tested:
    w2000, linux
2002-03-14 12:52:58 -05:00
Pedro Vicente Nunes
e739b76295 [svn-r5063]
Purpose:
    added a new function H5D_update_chunck that will update the chunk information; for the moment this function
    just has debugging of the b-tree

Platforms tested:
    w2000 , eirene
2002-03-13 17:22:44 -05:00
Pedro Vicente Nunes
64658d1f9f [svn-r5062]
Purpose:
    code clean up
Description:
    just some clean up of the functions H5D_set_extend and H5S_set_extend before the big change
    (changing chunk info in the b-tree struct of the dataset)
Platforms tested:
    w2000, eirene
2002-03-13 11:35:31 -05:00
Thomas Radke
bbc50c3a1f [svn-r5060]
Purpose:
    Bugfix
Description:
    Internally created socket wasn't closed
Solution:
    In my last commit I only fixed the case for sending data over a socket.
    There was also a resource leak for the receiving side where an internally
    created socket wasn't closed. Same wrong logical condition, same fix.
Platforms tested:
    Linux, SGI
2002-03-11 10:32:37 -05:00
Thomas Radke
6eea626ef0 [svn-r5059]
Purpose:
    Bugfix
Description:
    If the socket, used for data streaming by the Stream driver, was created
    by the driver itself, it did not close it after the file had been closed.
    A resource leak occured.
Solution:
    This bug was just introduced due to a logical condition.
    Fixing the condition solved the problem.
Platforms tested:
    Linux, SGI
2002-03-11 07:48:21 -05:00
Albert Cheng
235aa17446 [svn-r5058] Purpose:
Feature/bug fix
Description:
    The 'snapshot diff' command is run in all cases, even after the initial
    "snapshot diff" and hosts are polled to run the test.  It would not cause
    any harm except wasting time repeating diff'ing.  Also, the path is
    quite right to invoke snapshot by merely "bin/snapshot diff" since it
    has not "cd" to the right directory yet.
Solution:
    Added a new option of "-nodiff" to skip the special diff request.
    Then make "runtest" to call itself again with it to prevent
    any further unnecessary diff'ing.
Platforms tested:
    eirene
2002-03-10 22:49:16 -05:00
Albert Cheng
6531ce3b52 [svn-r5055] Purpose:
New feature
Description:
    "snapshot diff" will just run the diff and exit 0 is no significant
    differences found between current and previous versions.
    Runtest will try a "snapshot diff" and will skip test if no significant
    differences are found.
Platforms tested:
    eirene
2002-03-08 18:36:59 -05:00
Bill Wendling
918cc351d2 [svn-r5053] Purpose:
Bug-ish Fix
Description:
	"make check" would barf in this directory since there's not a
	"check:" target.
Solution:
	Added a ".PHONY" entry so that "make checks" and the like won't barf
	when they enter the pablo directory.
Platforms tested:
	Linux
2002-03-08 13:34:25 -05:00
Bill Wendling
877defd1bb [svn-r5052] Purpose:
Bug Fix
Description:
	The Fortran module files weren't being uninstalled.
Solution:
	Added them to the 'uninstall:' list...
Platforms tested:
	Linux
2002-03-08 13:33:04 -05:00
Bill Wendling
0e6d04d989 [svn-r5051] Purpose:
dpss removal
Description:
	Removed dpss module since we no longer have that in the source. Also
	fixed where the H5Tinit.c file was being looked for and how it was
	compiled...
Platforms tested:
	Linux
2002-03-07 19:09:05 -05:00
Bill Wendling
a8cd79f0b8 [svn-r5050] Purpose:
*sigh*
Description:
	Needed to point the sed script to the CORRECT pablo directory...
2002-03-07 19:01:51 -05:00
Bill Wendling
0b0630530c [svn-r5049] Purpose:
Bug Fix
Description:
	Needed more -I flags to catch some of the include files.
Solution:
	Added them. Cleaned up the way include files and -D defines were
	specified in the Makefile.
Platforms tested:
	Linux
2002-03-07 18:54:01 -05:00
Bill Wendling
6ab96eaf7a [svn-r5048] Purpose:
Bug Fixes
Description:
	Fixed some bugs. The CPPFLAGS wasn't being included into the
	Makefile. Also, there's a sed script which needed to be pointed to
	with the $(top_srcdir) macro.
Solution:
	Added @CPPFLAGS@ to the CPPFLAGS line and put $(top_srcdir)/ before
	the sed script file's name.
Platforms tested:
	Linux
2002-03-07 18:37:21 -05:00
Bill Wendling
30e5df679c [svn-r5047] Purpose:
Bug Fix
Description:
	Didn't need to test that the Pablo library had a function in it only
	that it was there.
Solution:
	Removed that check. Just checked if we can actually find the physical
	library and include files where the user tells us they're hiding.
Platforms tested:
	Linux
2002-03-07 17:51:34 -05:00
Bill Wendling
084c4ea9ee [svn-r5046] Purpose:
Bug Fix
Description:
	Fixed wrong test for the HAVE_PABLO flag. Was testing if it was not a
	null string when I should have been testing if it was equal to "yes".
Solution:
	Changed test so that it checks if it's equal to "yes" instead of
	non-null...
Platforms tested:
	Linux
2002-03-07 15:38:08 -05:00
Bill Wendling
cd6c3fdf9d [svn-r5045] Purpose:
New Feature Addition
Description:
	Added support for Pablo configuration by our configure script.
2002-03-07 15:27:38 -05:00
Bill Wendling
7ce0b23cd6 [svn-r5044] Purpose:
New Feature Addition
Description:
	Revamped Makefile for Pablo software so that it is an option in the
	global configure script that the user can specify with the
	"--with-pablo[=DIR]" command.
2002-03-07 15:26:10 -05:00
Bill Wendling
fd5e3d23af [svn-r5042] Purpose:
Bug Fix
Description:
	Some -I paths weren't included in the h5cc script. That would cause
	the compiler to fail if it was trying to find gass header files or
	the like.
Solution:
	Added the CPPFLAGS macro to the h5cc.in file so that it'll be there
	when it's generated. This will also include some -D options which we
	compiled the library with, like the LFS flags on Linux.

	Also changed the configure* files so that it will "chmod" the created
	h5cc file to 755 (executable) since that wasn't happening all the
	time...
Platforms tested:
	Linux
2002-03-07 15:07:40 -05:00
Binh-Minh Ribler
867e0c5316 [svn-r5041]
Purpose:
    Updated MANIFEST for removing all_lang.zip
2002-03-07 00:06:07 -05:00
Binh-Minh Ribler
c5b117cceb [svn-r5040]
Purpose:
    Removed file
Description:
    all_lang.zip was intended to be a copy of all.zip including other
    language APIs, such as Fortran and C++.  Yet, we later decided to
    add these APIs to all.zip directly and disable them by default; the
    user will enable his/her choice.  Thus, this file is no longer needed.
Platforms tested:
    None
2002-03-07 00:00:37 -05:00
Elena Pourmal
4dcb0766fc [svn-r5038]
Purpose:
    Bug fix
Description:
    Several C stub functions were not releasing allocated strings.
Solution:
    Fixed
Platforms tested:
    Solaris 2.7
2002-03-06 17:47:01 -05:00
Albert Cheng
aa5d82f9b0 [svn-r5037] Updated with added file.
Platforms tested:
    bin/chkmanifest
2002-03-06 09:49:10 -05:00
MuQun Yang
fc37285ca1 [svn-r5035]
Purpose:
    rearrange projects, erase more warnings, faster compiling
    fix a small bug in fortran building
Description:
     Previously every testing project includes h5test.c to deal with
       test initialization and clean up etc. So h5test.c is compiled dozens of
       times for each HDF5 building. It slows down the compiling time and
       shows more warnings(dozens of times warnings that h5test.c generates).

Solution:
     Make library called libtest.lib and libtestD.lib and connect this library
     with testing projects. In this way compiling time is shorter and warnings      are reduced.
Platforms tested:
     windows 2000
Note: HDF5 fortran debug dll test failed most tests. From the observation,
I suspect it is due to visual fortran compiler. Since debug dll passed all
in VS compiler.
2002-03-06 08:55:07 -05:00
Albert Cheng
a3c023c143 [svn-r5034] Purpose:
New feature
Description:
    Replacing the hardcoding of default version for snapshot test
    to a file, bin/snapshot_version.  This way, runtest and snapshot
    can be version neutral.  Makes maintenance easier.
Platforms tested:
    eirene.
2002-03-05 19:55:31 -05:00
Binh-Minh Ribler
e95f07dc6b [svn-r5032]
Purpose:
    Code cleanup
Description:
    DataType::convert: changed the 'nelmts' parameter from size_t to
	hsize_t according to hdf5 library change.
Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
2002-03-03 11:48:09 -05:00
Binh-Minh Ribler
22c5ce3c5f [svn-r5031]
Purpose:
    Minor bug fix
Description:
    Added #ifdef for windows about a #pragma
Platforms tested:
    IRIX64 (modi4)
2002-03-02 16:01:17 -05:00
Binh-Minh Ribler
0bb7111f43 [svn-r5030]
Purpose:
    Small bug fixing
Description:
    Replaced NULL by 0 for initializing or passing null "string".
    The problem showed up on platinum.
Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    IA-32 Linux Cluster (platinum)
2002-03-01 16:10:29 -05:00
Binh-Minh Ribler
3f4184c6d3 [svn-r5029]
Purpose:
    Adding new member function
Description:
    Added PropList::copyProp according to the new api H5Pcopy_prop
    in the C library.  I'm still working on adding more tests so
    test for this will be added as well.
Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    FreeBSD 4.4 (sleipnir)
2002-03-01 14:01:23 -05:00
Bill Wendling
2a576e3f85 [svn-r5028] Purpose:
Update
Description:
	Added the addition of the tlarge_objname.* files...
Platforms tested:
	Linux
2002-02-28 12:25:40 -05:00
Albert Cheng
2b8c251be6 [svn-r5026] Purpose:
Bug fix
Description:
    check-install was on the same make line with install.  They
    got run in parallel.
    Run check-install as a separate make action after make install is completed.
Platforms tested:
    Eirene
2002-02-28 10:51:00 -05:00
Albert Cheng
1e8161af38 [svn-r5024] Purpose:
Feature
Description:
    The output of multiple tests of one host used to all go to the same
    logfile.  It is harder to find the beginning of each test.
Solution:
    Added hour and minute (HHMM) into the logfile name.  Different
    tests should go to different files now.  If a second test starts
    within a minute of the previous test, their output will be all
    in the same file.  In the case, there are probably not that much
    output to worry.
Platforms tested:
    eirene
2002-02-28 10:10:30 -05:00
Bill Wendling
78e3463dbb [svn-r5023] Purpose:
Bug Fix
Description:
	There was a problem with having a lot of groups nested together. We
	could only handle 1024 characters at most, but, in a parallel program
	especially, it could occur that there were lots and lots of groups
	and would be more than 1024.
Solution:
	I made the "objname" part of the obj_t structure a pointer instead of
	a fixed size. Added code to allocate/deallocate the memory we need
	for it. Had to fix how the "prefix" was being handled in the h5dump
	program. It was also set to only 1024 characters in length. I made it
	dynamic.

	Added a test case...Go me!
Platforms tested:
	Linux, Solaris
2002-02-27 16:52:19 -05:00