Commit Graph

6441 Commits

Author SHA1 Message Date
Raymond Lu
5b1292e39b [svn-r9349] Purpose: New feature enhancement
Description:  enable size adjustment for compound datatype.  The size
can be increased and decreased(as long as the last member isn't cut).

Solution:  mainly check if the last member is being cut when decreasing
the size.  Others are simply taking out assertion to enable this feature.

Platforms tested:  h5committest and fuss.

Misc. update:  RELEASE.txt
2004-10-01 13:27:06 -05:00
Frank Baker
bb24f1844e [svn-r9348]
Purpose:
    This version updates the procedure for creating PDF versions of
    HDF5 documents to reflect the use of Macromedia DreamWeaver and
    HTMLdoc.  process.txt describes the current RM process in detail;
    the very similar UG process will be described later.
2004-09-30 14:04:06 -05:00
Frank Baker
dcbf89a021 [svn-r9347] Purpose:
Adding hdf5/doc/html/PSandPDF/process.txt.
2004-09-30 13:19:05 -05:00
Frank Baker
1c48b85659 [svn-r9346]
Purpose:
    This file describes the process for creating the PDF versions of
    HDF5 documents.  The file being checked in now is the original
    version (November 1999) from when hte process used MS Word.
Platforms tested:
    This process was tested by using it to guide the production process
    for at least 2 releases.
2004-09-30 13:16:49 -05:00
Quincey Koziol
d867083018 [svn-r9344] Purpose:
Update manifest list.
2004-09-30 08:40:20 -05:00
Quincey Koziol
7d457ba693 [svn-r9342] Purpose:
Bug fix/code cleanup

Description:
    Clean up raw data I/O code to bundle the I/O parameters (dataset, DXPL ID,
etc) into a single struct to pass around through the dataset I/O routines,
since they are always passed together, until very near the bottom of the I/O
stack.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    IRIX64 6.5 (modi4)
    h5committest
2004-09-29 22:46:58 -05:00
Albert Cheng
e0c4a752e6 [svn-r9340] Purpose:
Bug fix.

Description:
There was a historical hack to prevent runtest in multiple
hosts to run cvs update while they were launched by the daily test.
But a more proper fix has been implemented to prevent that but
this hack was not removed.  It ended up enforcing one CVS update
per day.  But if someone tested runtest during the day, it would
prevent the evening daily from doing update.  That is not good.

Solution:
Removed the hack which is not need any more.

Platforms tested:
NO h5committest since it does test runtest.  Tested it by
hand in eirene and heping.

Misc. update:
2004-09-29 14:18:49 -05:00
Quincey Koziol
d0abb4a760 [svn-r9333] Purpose:
Bug fix

Description:
    Fix another couple of int <-> pointer checks.

Platforms tested:
    AIX 5.1 (copper)
    Too minor to require h5committest
2004-09-28 14:54:12 -05:00
Quincey Koziol
2dab610c43 [svn-r9332] Purpose:
Bug fix

Description:
    Correct assertion to check pointer value correctly.

Platforms tested:
    AIX 5.1 (copper)
    too minor to require h5committest
2004-09-28 14:45:28 -05:00
Quincey Koziol
85597e5cc7 [svn-r9330] Purpose:
Bug fix

Description:
    Another attempt to fix the address overflow in the core VFL, hopefully one
that works on 64-bit platforms.

Platforms tested:
    AIX 5.1 (copper)
2004-09-28 14:07:01 -05:00
James Laird
5c0011a713 [svn-r9329]
Purpose:
Feature

Description:
Datatypes and groups now use H5FO "file object" code that was previously
only used by datasets.  These objects will hold a file open if the file
is closed but they have not yet been closed.  If these objects are unlinked
then relinked, they will not be destroyed.  If they are opened twice (even
by two different names), both IDs will "see" changes made to the object
using the other ID.
When an object is opened using two different names (e.g., if a dataset was
opened under one name, then mounted and opened under its new name), calling
H5Iget_name() on a given hid_t will return the name used to open that hid_t,
not the current name of the object (this is a feature, and a change from the
previous behavior of datasets).

Solution:
Used H5FO code that was already in place for datasets.  Broke H5D_t's, H5T_t's,
and H5G_t's into a "shared" struct and a private struct.  The shared structs
(H5D_shared_t, etc.) hold the object's information and are used by all IDs
that point to a given object in the file.  The private structs are pointed
to by the hid_t and contain the object's group entry information (including its
name) and a pointer to the shared struct for that object.
This changed the naming of structs throughout the library (e.g., datatype->size
is now datatype->shared->size).  I added an updated H5Tinit.c to windows.zip.

Platforms tested:
Visual Studio 7, sleipnir, arabica, verbena

Misc. update:
2004-09-28 14:04:19 -05:00
Quincey Koziol
a841ea3529 [svn-r9327] Purpose:
Bug fix.

Description:
    Fix off-by-one error in Core VFL driver which would cause spurious address
or size overflow errors when an odd valued address or size was checked.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Linux 2.4 (heping)
    Solaris 2.7 (arabica)
2004-09-27 23:34:38 -05:00
Xuan Bai
97dbe75dc1 [svn-r9324] Purpose:
Update.

Description:
Update installhdf5lib.bat batch file.  Cleaned two redundant scripts in the batch file.

Solution:
Clean script.

Platforms tested:
Windows XP.

Misc. update:
2004-09-27 14:17:13 -05:00
Quincey Koziol
3f2fb8bed1 [svn-r9322] Purpose:
Bug fix

Description:
    Fix situation where deleting a chunked datasets with B-tree nodes that
weren't in the metadata cache would die with a core dump.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Linux 2.4 (heping)
    Solaris 2.7 (arabica)
2004-09-27 13:06:11 -05:00
HDF Admin
643811be02 [svn-r9321] Snapshot version 1.7 release 38 2004-09-26 04:47:53 -05:00
Albert Cheng
74c322019f [svn-r9319] Purpose:
Feature

Description:
Added code to support the -configname feature.

Platforms tested:
no h5committest which does not test this command.
ran it by hand in eirene comparing tg-login1 and tg-login2.

Misc. update:
2004-09-25 16:48:51 -05:00
Albert Cheng
28776d1076 [svn-r9317] Purpose:
Code clean up

Description:
The tests used to have their own test file names due to
the original program layout.  Now that it is using the
common test interface, individual test can be invoked
at will (via -o).  There is no need to have different
test filenames.  Only requirement is that certain read
tests must follow immediately the corresponding write
test since they use the same file.

I have combined all test file names into just one common
file name.  This reduces the printout of test file name,
very beneficial when the test is run by large number of processes.
It makes future code maintenance easier too.

Platforms tested:
Tested in Eirene(PP) only.  No h5committest because this is
limited to the parallel tests and the changes are trivial.

Misc. update:
2004-09-24 16:20:24 -05:00
MuQun Yang
3730886c9a [svn-r9316] Purpose:
Fix a small bug inside installhdf5lib.bat.

Description:
Fortran .h files are not needed.
Previously c++ header files are not properly moved.

Solution:

Platforms tested:
No need to test.

Misc. update:
2004-09-23 14:41:55 -05:00
Leon Arber
41440bc2dc [svn-r9314] Purpose:
Bug fix

Description:
Fix for small memory leak that occurs when destroying the data transform
property.  Forgot to free the array of pointers to the temorary data.

Solution:
Freed memory.

Platforms tested:
sol + eirene

Misc. update:
2004-09-23 10:43:54 -05:00
Quincey Koziol
9fc48a0097 [svn-r9312] Purpose:
Bug fix.

Description:
    Allow I/O to occur on 0 element selections.

Platforms tested:
    h5committest
2004-09-22 22:05:15 -05:00
Quincey Koziol
f235187dba [svn-r9310] Purpose:
Code optimization

Description:
    Avoid performing a check on the number of objects in a group (which
currently involves iterating over all entries in the group's B-tree) before
calling H5G_get_obj<foo>_by_idx.  Instead, just have H5G_get_obj<foo>_by_idx()
notice when you've walked off the end and return fail then.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    h5committest
2004-09-22 15:01:27 -05:00
Albert Cheng
ace38083da [svn-r9309] Purpose:
Cleanup

Description:
Remove old hack for H5Eget_auto() which is not needed any more.
Reverse H5E_set_auto_stack(H5EDEFAULT,...) back to previous
code of H5E_set_auto(...).  Same for H5E_get_auto_stack.

Platforms tested:
Only tested in Eirene PP as the change is pretty straight
forward.

Misc. update:
2004-09-22 14:49:32 -05:00
Albert Cheng
0a69acf992 [svn-r9298] Purpose:
Bug fix.

Description:
the Data transformation code that failed when a data transform property
for simple expression is fixed.  Turned the tests back on.

Platforms tested:
Tested in copper (pp) where the failure appeared.  Also in eirene
as double check.  No h5committest as the change is trivial.
2004-09-21 20:19:54 -05:00
Albert Cheng
9d9621ef0c [svn-r9297] Purpose:
Bug fix.

Description:
Code would attempt to Calloc with zero count when a simple expression
that has no x term.  That resulted in NULL for some platform (like AIX).
That appeared as a failure treated as out of space.

Solution:
Checked if count is larger than 0 before making the calloc request.

Platforms tested:
Tested in copper (pp) where the failure appeared.  Also in eirene
as double check.  No h5committest as the change is trivial.
2004-09-21 20:18:47 -05:00
John Mainzer
a4e1edbdba [svn-r9274] Purpose:
Add test to verify the fix of the parallel I/O mode confusion bug.


Description:

While the parallel I/O mode confusion bug is fixed, an automated
regression test for this bug would be useful.


Solution:

Added a modified version of the original bug demonstration program
to testphdf5.

Platforms tested:

copper
h5committested
eirene (parallel)


Misc. update:
2004-09-18 16:38:44 -05:00
John Mainzer
30f2ba6e07 [svn-r9273] Purpose:
Port fix of parallel I/O mode confusion bug from the 1.6 tree to the 1.7 tree.


Description:

Collective I/O is not supported for point selections.  Thus when some
processes attempted I/O with point selections, and others without, some
attempted collective I/O while others did independent I/O.


Solution:

Arranged for all processes to compare notes before starting I/O, and
for all to use independent I/O if any one of them can't do collective
I/O.


Platforms tested:

copper
h5committested
eirene (parallel)

Misc. update:
2004-09-18 16:29:41 -05:00
Albert Cheng
68f16ab5fa [svn-r9272] Purpose:
Bug fix.

Description:
THe trivial transform property list creation triggered a code
error.  Skip these two tests temporary.  Will fix it later.

Platforms tested:
Copper where it exposed the failures.

Misc. update:
2004-09-17 18:56:57 -05:00
Albert Cheng
6b2e47d974 [svn-r9271] Purpose:
Update for the new API, H5Pget_data_transform.

Platforms tested:
Copper only.  No h5committest since this is trivial.
2004-09-17 17:01:45 -05:00
Leon Arber
5075bb85d7 [svn-r9268] Purpose:
Added tests for polynomial transforms.

Platforms tested:
sol + eirene

Misc. update:
2004-09-16 13:12:19 -05:00
Leon Arber
0df4bee931 [svn-r9267] Purpose:
Added H5Pget_data_transform
Added support for polynomial data transforms

Description:
There is now support for polynomial data transforms (ie, (2+x)*(x-5)) instead
of just linear ones.

Note that, in order to compute a polynomial transform, one temporary copy of
the original data must be stored for each occurence of "x" in the transform
expression.  This can result in very high memory usage for expressions of high
order.

Platforms tested:
sol + eirene

Misc. update:
2004-09-16 13:11:31 -05:00
Quincey Koziol
b540f551b3 [svn-r9264] Purpose:
Cleanup

Description:
    Move bug description into reverse chronological order.
2004-09-15 13:33:05 -05:00
Quincey Koziol
ad9617109e [svn-r9261] Purpose:
Code cleanup

Description:
    Remove some test files generated from new tests.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-09-15 00:04:54 -05:00
Frank Baker
ecf0ae20e9 [svn-r9258] Purpose:
Minor formatting fix in introductory paragraphs.
Platforms tested:
    Mozilla
2004-09-14 15:43:25 -05:00
Frank Baker
3e50c9cf62 [svn-r9257] Purpose:
Bugfixes in H5Pget/set_fclose_degree
    Clarification in H5Pset_filter
Description:
    H5Pget_fclose_degree and H5Pset_fclose_degree
        Functions index at top of page:
            Move H5Pget/set_fclose_degree into "File Access Properties."
            Remove "File Close Properties" section.
        H5Pget_fclose_degree -- Correct parameter description.
        (Contribute to closing Bugzilla entries 188 and 190.)
    H5Pset_filter -- Clarification of terms
    Other minor formatting and copy edits.
Platforms tested:
    Mozilla
2004-09-14 15:42:28 -05:00
John Mainzer
c46baf0f0b [svn-r9256] Purpose:
Update release_docs/RELEASE.txt to describe options for dealing
   with installations which insert extra text in output, thereby
   breaking tests which function by comparing output with an exemplar.


Description:

   See above.


Solution:

   Add discussion of this possible problem, and listed two possible
   solutions:

   1) "setenv HDF5_Make_Ignore yes" and then score "failed" tests
      by hand.

   2) Use the RUNSERIAL environment variable to use a filter script
      to filter out the extra text.


Platforms tested:

   No testing needed.


Misc. update:
2004-09-14 13:52:05 -05:00
Quincey Koziol
b73f323059 [svn-r9250] Purpose:
Bug fix

Description:
    Correct typedef for dataset region references to avoid struct alignment
issues on Crays.

Solution:
    Change the typedef for hdset_reg_ref_t from a struct to an array of
unsigned char's of the correct size and propagate the appropriate adjustments
around the code.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Linux 2.4 (verbena) w/fortran
    Cray T90 (subzero) w/fortran
    Cray SV1 (wind) w/fortran & parallel
    Cray T3E (cyclone) w/fortran & parallel
2004-09-14 00:04:25 -05:00
HDF Admin
147951e4bb [svn-r9243] Snapshot version 1.7 release 37 2004-09-12 04:05:05 -05:00
Xuan Bai
78f21976dd [svn-r9239] Purpose:
Bug fix.

Description:
Last time, I renamed the SZIP-encode-checking environment variable from H5_SZIP_CAN_ENCODE to HDF5_SZIP_ENCODE.  But I forgot to update the repacktest.bat batch file.  This time, repacktest.bat is updated.

Solution:

Platforms tested:
Not necessary.
(Already tested with Visual C++ 6.0 on XP, but forgot to update it into all.zip last time).

Misc. update:
2004-09-09 21:03:47 -05:00
Quincey Koziol
eb3e9ccd8a [svn-r9234] Purpose:
Code cleanup

Description:
    Tweak recent "forward compatibility" changes to the H5E* API (which allowed
for the old H5E API functions to remain unchanged) by allowing for the error
stack callback function (H5E_auto_t) to also remain unchanged from the 1.6
branch.  This required changing the H5E{get|set}_auto routines to have the
old style H5E_auto_t type (which didn't have a stack ID parameter) and the new
H5E{get|set}_auto_stack routines to have a newer "H5E_auto_stack_t" type (which
has a stack ID parameter).  This should make the H5E API changes as forwardly
compatible as possible.
    One side-affect of this change was that it was impossible to determine if
the current auto error callback was the old style (H5E_auto_t) or the new style
(H5E_auto_stack_t) of callback, so a new API function (H5Eauto_is_stack) was
adde to query this.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    IRIX64 6.5 (modi4)
    h5committest
2004-09-08 21:37:02 -05:00
Frank Baker
4389b976a5 [svn-r9231]
Description:
    H5T_conv_t (appears in H5Tregister description) -- changed datatype
        of the nelmts parameter
    H5Tconvert -- changed datatype of the nelmts parameter
Platforms tested:
    Mozilla
2004-09-08 17:25:54 -05:00
Xuan Bai
eafc754260 [svn-r9229] Purpose:
New feature and Update.

Description:
1. Updated installhdf5lib.bat file so that libtest_fortran.lib and libtest_fortrand.lib will NOT be installed;

2. Updated the project settings for projects in HDF5 C examples:
   To be consistant with other HDF5 windows project settings:
   1) replaced zlib.lib in Object/library modules with environment variable HDF5_EXT_ZLIB
   2) replaced szlib.lib in Object/library modules with environment variable HDF5_EXT_SZIP
   Also, to prevent the compiler from failing to find hdf5.lib/hdf5d.lib when HDF5 library has been removed from the original folders, added the installed library hdf5lib path in the Additional library path.

3. Added a new batch file testExamples.bat under hdf5\examples directory for the purpose of testing HDF5 C examples.  An expected C examples tests output file testExample_exp_output.txt was aslo added.

4. h5repack testing batch file repacktest.bat has a minor bug.   This minor bug causes some HDF5 repack testing failures when only gzip is disabled.

The failure reasons is that we only checked whether szip or szip encoder is enabled for the following two tests:
   h5repack test_deflate.h5 -f dset_deflate:SZIP=8,NN
   h5repack test_szip.h5 -f dset_szip:GZIP=1

These two tests should also be skipped when gzip is disabled.

5. As HDF5 Fortran DLL does not work with DEC Fortran 6.0, so we do not need to build HDF5 Fortran DLL related projects anymore.

Solution:
Added Checking whether gzip is disabled for the above two h5repack tests.  If gzip is disabled, skip these tests.
Modified hdf5build.bat batch file so HDF5 Fortran DLL related projects will not be built.

Platforms tested:
installhdf5lib.bat, hdf5build.bat, repacktest.bat and testExamples.bat batch files are same in branch 1.6 and 1.7.  These batch files have already been tested in branch 1.6.  So it is not necessary to test for branch 1.7 again.

For the HDF5 C examples, tested in Visual C++ 6.0 in Windows XP.

Misc. update:
2004-09-08 15:45:13 -05:00
Frank Baker
31b8c66d0b [svn-r9224]
Purpose:
    Add h5iget_file_id_f
Platforms tested:
    Mozilla
2004-09-08 12:27:48 -05:00
Raymond Lu
7570de4e35 [svn-r9221] Purpose: Bug fix
Description:  One place was left out for update after the Error API was modified.
Changed it from H5Eset_auto to H5Eset_auto_stack.


Platforms tested:  sleipnir(with threadsafe) - simple change.
2004-09-08 09:48:58 -05:00
John Mainzer
7163f6d622 [svn-r9220] Purpose:
Fix configure bug that appears on SDSC DataStar.


Description:

Two cached "sizeof"s in ./config/powerpc-ibm-aix5.x cause builds
on SDSC Datastar to choke.


Solution:

Commented out the offending "sizeof"s.  Included comments indicating
the reason for the change.


Platforms tested:

copper


Misc. update:

n/a
2004-09-07 16:38:49 -05:00
Pedro Vicente Nunes
2ef1d47a76 [svn-r9218] Purpose:
bug fix

Description:

The H5O_mtime_decode function was not handling properly the case for the
Code Warrior compiler



Solution:

Platforms tested:
Code Warrior

Misc. update:
2004-09-07 14:44:18 -05:00
Pedro Vicente Nunes
068639ae74 [svn-r9215] Purpose:
added a nore about the get_native_integer

Description:

Solution:

Platforms tested:

Misc. update:
2004-09-07 13:16:44 -05:00
Pedro Vicente Nunes
9abba8efdf [svn-r9213] Purpose:
new test for the native types test

Description:

on the Cray SV1 an INT type was wrongly converted to a SHORT type
by the get_native_integer function

Choose the type based on the precision; this is to support cases
like the Cray SV1, where the size of short is 8 but precision is 32
 (e.g an INT (size 8, prec 64) would be converted to a SHORT
    (size 8, prec 32) if the size was the deciding factor)



Solution:

Platforms tested:
linux
solaris
aix

Misc. update:
2004-09-07 11:42:56 -05:00
Pedro Vicente Nunes
0424d72fc1 [svn-r9212] Purpose:
bug fix

Description:

on the Cray SV1 an INT type was wrongly converted to a SHORT type
by the get_native_integer function

Choose the type based on the precision; this is to support cases
like the Cray SV1, where the size of short is 8 but precision is 32
 (e.g an INT (size 8, prec 64) would be converted to a SHORT
    (size 8, prec 32) if the size was the deciding factor)



Solution:

Platforms tested:
linux
solaris
aix

Misc. update:
2004-09-07 11:41:59 -05:00
HDF Admin
cfd312161f [svn-r9209] Snapshot version 1.7 release 36 2004-09-05 04:07:33 -05:00
Raymond Lu
922e8a4a8b [svn-r9208] Purpose: Bug fix
Description:  A few items were left out when tried to restore the old Error API.
There are also a few minor bug fixes.


Platforms tested:  arabica fuss h5committest.
2004-09-04 16:06:48 -05:00