Commit Graph

1019 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Raymond Lu
cb7f03a26f [svn-r9183] Purpose: New feature
Description:  Restore 6 old error API functions back to the library to be backward
compatible with v1.6.  They are H5Epush, H5Eprint, H5Ewalk, H5Eclear, H5Eset_auto,
H5Eget_auto.  These functions do not have error stack  as parameter.

Solution:  Internally, these functions use default error stack.

Platforms tested:  h5committest and fuss.

Misc. update: RELEASE.txt
2004-09-01 12:43:30 -05:00
Quincey Koziol
22d00ce23f [svn-r9155] Purpose:
Bug fix (sorta)

Description:
    Change reading of "missing" chunks from datasets with undefined fill
values to not overwrite the application buffer with random garbage from
memory.  Note that this is almost the same, since whatever garbage the
application had in those locations will still be there...

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    IRIX64 6.5 (modi4)
    h5committested
2004-08-25 03:30:32 -05:00
Albert Cheng
731fc09dad [svn-r9139] Purpose:
Bug fix.

Description:
The return value of TestPrivateParser() was not tested, thus program
would keep on going incorrectly even if errors were detected in
TestPrivateParser.

Solution:
Check the return and exit accordingly.

Platforms tested:
Tested in Eirene and Sol in both serial and pp modes.
2004-08-23 18:35:17 -05:00
Albert Cheng
3c59678775 [svn-r9115] Purpose:
feature

Description:
Another revamp of the test interface.
TestInit: is used to register Test Program name, test program specific
   Usage and option parsing routines.
TestUsage: will invoke extra usage routine if provided.
TestParseCmdLine: will invoke extra option parsing routine if provided.
GetTestSummary() and GetTestCleanup() replaces the previous Summary and
CleanUp arguments of TestParseCmdLine.

test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c:
   All have been updated to use the new Test Routines.

testpar/t_mpi.c:
   Also a fix of a compiler optimization bug when pgcc in Linux is
   used to compile it.  Changed buf[] and expected to unsigned char
   type to avoid a bug that failed to do sign-extension.

Platforms tested:
"h5committested"
Also tested thread-safe option in eirene.
2004-08-19 01:32:47 -05:00
Albert Cheng
46cd0e0838 [svn-r9086] Purpose:
Bug fix

Description:
Updated it to use the new TestParseCmdLine() syntax.

Platforms tested:
"h5committested" and in eirene with threadsafe enabled.
2004-08-14 16:03:49 -05:00
Albert Cheng
60412f524d [svn-r9079] Purpose:
Feature

Description:
Changed TestParseCmdLine to accept an optional extra_parse()
function provided by indidivual test application.  Extra_parse()
can handle extra options special to that test application.

Updated testhdf5.c to use the new syntax of TestParseCmdLine().

Platforms tested:
On eirene both serial and parallel.
2004-08-13 16:53:26 -05:00
Raymond Lu
08fde753d9 [svn-r9073] Purpose: bug fix
Description:  The test tried to read a dataset of H5T_STD_I32LE type and verify with the size
of H5T_NATIVE_INT in function test_misc20().  This will fail on some machines like Crays where the
size of H5T_NATIVE_INT is 8 bytes.

Solution:  Changed from H5T_NATIVE_INT to H5T_STD_I32LE.

Platforms tested:  Crays - very simple change.
2004-08-12 10:24:46 -05:00
Quincey Koziol
6ae26dba82 [svn-r9053] Purpose:
Bug fix

Description:
    Correct possible core dump when a datatype conversion function is
registered with the library after a compound datatype has been converted
(having it's type conversion information cached by the library).  The compound
datatype must have been created by inserting the fields in non-increasing
offset order to see the bug.

Solution:
    Re-sort the fields in the compound datatypes before recalculating the
cached information when performing the conversion on them.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    h5committested
2004-08-08 17:12:18 -05:00
Albert Cheng
7464e1fb1d [svn-r9050] Purpose:
Feature

Description:
Added a feature such that if the test name starts with '-', do not run it
by default.

Platforms tested:
Eirene both serial and parallel.

Misc. update:
2004-08-07 21:26:44 -05:00
Quincey Koziol
f16e814f51 [svn-r9039] Purpose:
Code cleanup

Description:
    At user's suggestion, convert some "naked" standard library calls to use
the HD*() macros.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-08-06 14:29:57 -05:00
John Mainzer
5d05a022f9 [svn-r9023] *** empty log message *** 2004-08-05 13:14:21 -05:00
Quincey Koziol
a5bd3e42ea [svn-r9016] Purpose:
Code cleanup

Description:
    Clean up ifdef's and close leaked ID.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-08-05 00:01:50 -05:00
Elena Pourmal
7de13f9663 [svn-r9014]
Purpose: Small bug fix

Description: When SZIP filter is present but encoding is not enabled
             test_misc21 and h5repack tests failed.

Solution: Those tests should not run in this situation at all.
          Used conditonal compilation to disable the tests.

Platforms tested: sol (today I will enable the daily tests with the szip library
                  that doesn't have encoder for few other platforms)


Misc. update:
2004-08-04 15:27:28 -05:00
Robert E. McGrath
7138ca34a6 [svn-r9010] Purpose:
Tests for SzIP n-bit precision (and other dt's)

Description:
See earlier checkins

Solution:

Platforms tested:

Misc. update:
2004-08-04 11:01:52 -05:00
Quincey Koziol
3df2828991 [svn-r8981] Purpose:
Code cleanup

Description:
    Various minor tweaks to clean code up and bring it into closer
syncronization with the release branch.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    h5committested
    IRIX64 6.5 (modi4)
2004-08-02 09:03:40 -05:00
Quincey Koziol
c4015e03e5 [svn-r8969] Purpose:
Bug fix.

Description:
    Address two problems:
        - The computation of the scanline in the szip filter was being
            performed in the "can apply" callback routine instead of the
            "set local" routine.
        - The routine which allocated all the chunks for an entire dataset
            (which is invoked when the allocation time is early or late,
            rather than incremental) wasn't recording a failed filter in
            the information for the chunk, causing the library to believe
            that the chunk had the filter applied when it really hadn't.

Solution:
    - Move the scanline computation to the "set local" callback.

    - Record the filter mask with each chunk created when allocating them.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/szip
    Too obscure to require h5committest
2004-07-29 22:34:15 -05:00
Quincey Koziol
d60d367930 [svn-r8964] Purpose:
Revise new feature

Description:
    Add buffer type and version # bytes to the encoded datatype and dataspace
buffers (for H5Tencode & H5Sencode)

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-07-27 22:51:43 -05:00
Quincey Koziol
ae0ae15956 [svn-r8962] Purpose:
Bug fix

Description:
    Allow I/O on extendible chunked datasets with (currently) zero-sized
dimensions to proceed harmlessly instead of dumping core on an assertion.

Solution:
    Removed assertion and added checks to avoid problem situation in H5TB_end

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/ & w/o parallel
    Too minor to require h5committest
2004-07-27 22:22:12 -05:00
Quincey Koziol
4c7a64cc73 [svn-r8960] Purpose:
Bug fix

Description:
    Clean up new testfile from earlier checkin.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-07-27 22:16:31 -05:00
Quincey Koziol
8df0288b6d [svn-r8958] Purpose:
Bug fix

Description:
    Always write fill values to chunks when initializing entire B-tree and
any filters are defined.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-07-27 15:41:57 -05:00
James Laird
5a19f181b3 [svn-r8953]
Purpose:
Bug fix

Description:
When a simple dataspace is created, its extent should be set before using it,
or it will silently function as a NULL dataspace.

Solution:
Added checks on user-supplied dataspaces.  Now dataspaces without extents set
will throw errors; users must explicitly set a dataspace to be NULL.

Platforms tested:
sleipnir, windows
2004-07-27 11:55:19 -05:00
James Laird
375f0745a7 [svn-r8938]
Purpose:
Bug fix

Description:
Modification time test (mtime) would die silently on some systems.  This is
because the code is very system-dependant (it relies on getting the current
time and the timezone from the OS).

Solution:
mtime test now uses TEST_ERROR macro to print "FAILED" and to output where the
failure occurred.  Configure script is a little smarter about whether
gettimeofday() function returns the timezone correctly.
Further bugs will need to be addressed on a system-by-system basis.

Platforms tested:
sleipnir, arabica, verbena, copper, windows (VC7)
2004-07-23 12:29:16 -05:00
James Laird
e047136588 [svn-r8928] Purpose:
Code cleanup

Description:
Fixed reserved.c test to use h5_fileaccess/h5_fixname/h5_cleanup.
Updated RELEASE.txt for previous bug fix


Platforms tested:
sleipnir, verbena
2004-07-22 11:26:54 -05:00
Raymond Lu
7fe5ff1fed [svn-r8921] Purpose: new feature
Description:  This is the second step of checkin for encoding and decoding objects.
H5Tencode and H5Tdecode have been committed in the previous step.  H5Sencode
and H5Sdecode are checked in this time.

Solution: Given object ID, these functions encode and decode object information
into and from binary buffer and return new object ID.  They take advantage of the
existing codes of object header message and encode in the same format.

Platforms tested:  fuss and h5committest.

Misc. update:  RELEASE.txt
2004-07-21 16:30:26 -05:00
Elena Pourmal
560d1127e9 [svn-r8916]
Purpose: Improvement

Description: HDF5 Library set pixels_per_scanline parameter to the size of the chunk's
             fastest changing dimension.  As a result, fastest changing dimension
             of the chunk could not be bigger than 4K and smaller than pixels_per_block
             value and szip compression couldn't be used for many real datasets.

Solution: Reworked algorithm how HDF5 sets pixels_per_scanline value; only chunks
          with the total number of elements less than pixels_per_block value are rejected.
          There is no restriction on the size of the chunk's fastest changing
          dimension anymore.

          Modified the test according to the new algorithm.


Platforms tested: verbena, copper, sol

Misc. update:
2004-07-21 15:41:41 -05:00
Quincey Koziol
00909f278d [svn-r8901] Purpose:
Bug fix

Description:
    Allow buffer parameter to H5Dread & H5Dwrite to be NULL if there are no
elements to transfer.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-20 12:11:36 -05:00
James Laird
129f72fb3e [svn-r8899]
Purpose:
Bug Fix

Description:
Calling H5Sset_extent_simple to change a dataspace's maxdims from nonzero to
zero causes errors (infinite loops, seg faults, asserts) because the pointer
to the maximum size isn't cleaned up properly

Solution:
Clean up that pointer.  Added a test for this case.

Platforms tested:
sleipnir (very minor change)
2004-07-20 11:26:40 -05:00
James Laird
24d36e1613 [svn-r8897]
Purpose:
Bug Fix

Description:
Trying to create the root group or the working group ("/" or ".") fakes out
HDF5 so that it neither creates a group nor returns an error.

Solution:
H5G_namei now throws an error if it was supposed to insert but didn't.

Platforms tested:
sleipnir, Visual Studio 7 (very minor change)

Misc. update:
2004-07-19 19:47:37 -05:00
Quincey Koziol
c97fddc786 [svn-r8892] Purpose:
Code cleanup

Description:
    Clean up a bunch of warnings and bring new code better inline with current
library coding practice.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest

Misc. update:
2004-07-16 15:48:40 -05:00
James Laird
89c9bfc05b [svn-r8881]
Purpose:
Bug fix

Description:
Replaced "unsigned long long" with hsize_t in H5MF
Added "return 0" at end of reserved.c test

Platforms tested:
arabica, sleipnir
2004-07-15 10:43:18 -05:00
Raymond Lu
fbc2aaadaf [svn-r8879]
Purpose:  New feature

Description:  New API H5Tencode and H5Tdecode.  Given object ID, H5Tencode encodes object information into a binary form.  H5Tdecode decode an object information in a binary form, reconstructs the object and return a new object ID.

Solution:  Use object header functions H5O_dtype_decode and H5O_dtype_encode to
facilitate them.  The encoded binary is exactly like object header information.
This is the first step checkin.  Will check in H5Sencode  and H5Sdecode later.

Platforms tested:  h5committed and fuss.

Misc. update: will update release.txt after 2nd step checkin.
2004-07-14 16:45:23 -05:00
James Laird
9b2aafa18b [svn-r8878]
Purpose:

Description:
Missed adding a test file in previous commit.

Solution:

Platforms tested:

Misc. update:
2004-07-14 15:18:28 -05:00
James Laird
a0c466cd99 [svn-r8877]
Purpose:
Bug Fix

Description:
If an HDF5 file grows larger than its address space, it dies and is unable to
write any data.  This is more likely to happen since users are able to change
the number of bytes used to store addresses in the file.

Solution:
HDF5 now throws an error instead of dying.  In addition, it "reserves" address
space for the local heap and for object headers (which do not allocate space
immediately).  This ensures that after the error occurs, there is enough address
space left to flush the entire file to disk, so no data is lost.
A more complete explanation is at /doc/html/TechNotes/ReservedFileSpace.html

Platforms tested:
sleipnir, copper (parallel), verbena, arabica, Windows (Visual Studio 7)


Solution:

Platforms tested:

Misc. update:
2004-07-14 14:34:24 -05:00
Quincey Koziol
769ee96c1f [svn-r8874] Purpose:
Bug fix

Description:
    Correct problems with "resurrecting" a dataset in a file.  (This occurs
when a dataset which is open gets unlinked from the group hierarchy (making it
"dead" and marked for deletion in the file) and then is re-linked to the group
hierarchy).  Note that the current solution applies only to datasets, further
work will fix this for groups and named datatypes also.
    Also, fix the "debug" routines to be a little more helpful in certain
situations.
    Additionally, fix a locking bug in the symbol table node splitting routine
which could be [one of] the cause[s] of the file corruption in flexible
parallel operation.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    h5committested
2004-07-14 14:08:34 -05:00
Quincey Koziol
fe76fb1b58 [svn-r8844] Purpose:
Bug fix

Description:
    The "shared" raw B-tree node can get freed before all the B-tree nodes
had been flushed out to disk and released by the cache.

Solution:
    Implement a simple reference counting wrapper for objects in the library
and use it to hold the shared raw B-tree nodes so they aren't freed before all
references to them in memory are released.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir)
    IRIX64 6.5 (modei4)
2004-07-08 21:06:29 -05:00
Quincey Koziol
688fa02c0a [svn-r8832] Purpose:
Remove testing file after verifying that binary adds of *.h5 files are
working correctly.
2004-07-07 23:17:44 -05:00
Quincey Koziol
2d8840c412 [svn-r8831] Purpose:
Testing "binary" addition of new *.h5 files.  (This file will be removed
immediately)
2004-07-07 23:16:55 -05:00
Raymond Lu
c949e7c391 [svn-r8818]
Purpose:  Potential bug fix

Description:  In H5Fget_filesize, file size was returned as haddr_t.  Change it to hsize_t
and return it as parameter to make fortran interface easier.


Platforms tested:  fuss(simple change).
2004-07-07 12:03:02 -05:00
Quincey Koziol
7cac82cf68 [svn-r8801] Purpose:
Code optimization

Description:
    Set up datatype ID for dataset's datatype on disk.  This allows us to avoid
repeatedly copying the datatype when an ID is needed.

    Also, clean up a few warnings in various other places.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-03 15:03:09 -05:00
Quincey Koziol
153444fed7 [svn-r8800] Purpose:
Code cleanup

Description:
    Fix problems when compiling with C++ compiler.

    Also clean up some warnings with gcc 3.4.x

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-07-03 12:00:01 -05:00
John Mainzer
c49dd7fa36 [svn-r8791] Purpose: Rewrote metadata cache (H5AC.c, etc.) to improve performance.
Description:

Replaced the old metadata cache with a cache with a modified LRU
replacement policy.  This should improve the hit rate.

Solution:

Since we want to flush cache entries in increasing address order, I
used the threaded binary B-tree code to store the cache entries.
There is a fair bit of overhead here, so we may want to consider
other options.

While the code is designed to allow the support of other replacement
algorithms, at present, only a modified version of LRU is supported.

The modified LRU algorithm requires that a user selectable portion
of the cache entries be clean.  The clean entries are evicted first
when writes are not permitted.  If the pool of clean entries is used
up, the cache grows beyond its user specified maximum size.  The
cache can also exceed its maximum size if the combined size of the
protected (or locked) entries exceeds the maximum size of the cache.


Platforms tested:

eirene (serial, parallel, fp), h5committested


Misc. update:
2004-07-02 14:35:04 -05:00
Quincey Koziol
e5e786f589 [svn-r8782] Purpose:
Code cleanup

Description:
    Clean up almost all warnings from Windows builds.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-01 15:02:47 -05:00
James Laird
eab58732d8 [svn-r8781]
Purpose:
HDF5 now supports SZIP with no encoder.

Description:
SZIP can be configured to have both encoder and decoder or just to have the decoder.  HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled.

Solution:
Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id.  See SZIP RFC.

Platforms tested:
Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++)

Misc. update:
2004-07-01 12:38:04 -05:00
Nat Furrer
3f500747fa [svn-r8779]
Purpose:
Fixed problem in tid.c that broke daily tests.

Description:

Solution:

Platforms tested:
  Sleipnir

Misc. update:
2004-07-01 09:37:12 -05:00
Quincey Koziol
7afa78d822 [svn-r8778] Purpose:
Bug fix

Description:
    Correct use of H5Eprint() when 1.6 compatibility is turned on.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/compatibility
    h5committest doesn't test this, so it wasn't run.
2004-07-01 08:14:59 -05:00
Nat Furrer
cedec27552 [svn-r8772]
Purpose:
Needed to change the type of a variable in tid.c from int to hsize_t to
accomodate the change in H5Inmembers.

Description:
I lied... this is the last commit.  Really, it is.

Solution:

Platforms tested:

Misc. update:
2004-06-30 12:29:36 -05:00
Nat Furrer
8e468d9dec [svn-r8766]
Purpose:
Small H5I API changes.

Description:
Changed public version of H5Inmembers to return the number of IDs in a
type by reference.  This allows the user to differentiate between the
case when H5Inmembers has an error and when the ID type is just empty.
Added a new API function, H5Itype_exists, which allows the user to
find out whether an ID type exists or not, without throwing an error.

Solution:

Platforms tested:
   Copper

Misc. update:
2004-06-30 10:33:19 -05:00
Raymond Lu
358b8545dd [svn-r8765] Purpose: New feature and its test.
Description:  Added new API H5Fget_name and new test program called filename.c.  This function
returns the name of the file by object ID(file, group, dataset, named datatype, and attribute)
which belongs to the file.


Platforms tested:  h5committest and fuss.

Misc. update:  MANIFEST and RELEASE.txt
2004-06-30 08:45:07 -05:00
Quincey Koziol
b51c4f6d24 [svn-r8760] Purpose:
Code cleanup & small bug fix

Description:
    Regenerate dependency files

    Add htri_t as separate type from hbool_t for code tracing purposes.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    too minor to require h5committest
2004-06-29 16:03:33 -05:00
Raymond Lu
a89057a2cd [svn-r8741] *** empty log message *** 2004-06-24 17:20:08 -05:00
Quincey Koziol
6fc0bffac6 [svn-r8732] Purpose:
Code cleanup

Description:
    Reduce compiler warnings on SGI IRIX

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    SGI IRIX6 (Cheryl's machine)
    Too minor to require full h5committest
2004-06-23 12:56:57 -05:00
Quincey Koziol
19644d7593 [svn-r8730] Purpose:
Code cleanup

Description:
    Add more testfiles to the "clean" targets

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    h5committest
2004-06-23 10:31:06 -05:00
Raymond Lu
8ec60574b1 [svn-r8722] *** empty log message *** 2004-06-22 16:08:56 -05:00
James Laird
f249eed71d [svn-r8707] Changed the way HDF5 handles hid_t's and added API functions to allow users to register IDs and ID types at runtime. 2004-06-18 11:56:04 -05:00
Raymond Lu
a83233a2c9 [svn-r8706] *** empty log message *** 2004-06-18 11:18:52 -05:00
Quincey Koziol
ef01629bb2 [svn-r8683] Purpose:
Code optimization

Description:
    Use 'size_t' instead of 'hsize_t' to track the number of elements in
memory buffers, especially for type conversion.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-14 14:32:02 -05:00
Quincey Koziol
958d370d13 [svn-r8655] Purpose:
Code cleanup

Description:
    Add more files that should be removed to the clean & distclean targets.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-06-11 09:02:48 -05:00
Raymond Lu
7ce626721c [svn-r8646] *** empty log message *** 2004-06-10 13:48:09 -05:00
Quincey Koziol
4d3188e588 [svn-r8618] Purpose:
Fix makefiles, dependencies & manifest after source file rename.
2004-06-05 14:32:31 -05:00
Quincey Koziol
28404e2813 [svn-r8614] Purpose:
Refactor code

Description:
    Move chunk and contiguous cached raw data from file information to dataset
information.  This simplifies a number of internal interfaces, aligns the
code with it's purpose better and should allow more optimizations to the
chunked data I/O performance.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir)
    h5committest
2004-06-05 14:06:24 -05:00
Raymond Lu
5f11bb7260 [svn-r8609] Purpose: bug fix
Description:  internal function opaque_check didn't have prototype.


Platforms tested:  no test needed for such a simple change.
2004-06-03 13:37:04 -05:00
Raymond Lu
dd59aa926c [svn-r8605] *** empty log message *** 2004-06-02 11:35:56 -05:00
Quincey Koziol
1ec351813b [svn-r8600] Purpose:
Code optimization

Description:
    Don't recompute the internal index value for looking up the chunk in the
hash table, just use the value already computed from iterating through the
chunks.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-31 14:59:59 -05:00
Quincey Koziol
2ce06c3912 [svn-r8590] Purpose:
Code optimization & bug fix

Description:
    When dimension information is being stored in the storage layout message
on disk, it is stored as 32-bit quantities, possibly truncating the dimension
information, if a dimension is greater than 32-bits in size.

Solution:
    Fix the storage layout message problem by revising file format to not store
dimension information, since it is already available in the dataspace.

    Also revise the storage layout data structures to be more compartmentalized
for the information for contiguous, chunked and compact storage.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    h5committest
2004-05-27 15:24:08 -05:00
Raymond Lu
a9d354fd95 [svn-r8518] Purpose: uncomment part of code.
Description: supposed to be there.
2004-05-13 16:21:58 -05:00
Raymond Lu
b11eb7f4f2 [svn-r8517] *** empty log message *** 2004-05-13 16:17:58 -05:00
Raymond Lu
cee32cf3a8 [svn-r8509] *** empty log message *** 2004-05-12 16:43:21 -05:00
Raymond Lu
980683f1e1 [svn-r8505] *** empty log message *** 2004-05-11 15:26:35 -05:00
Quincey Koziol
583bdf994c [svn-r8495] Purpose:
Bug fixes

Description:
    Updated dependencies

    Fixed error with C++ compiler builds of main library

    Added H5Pset_data_transform to MPE info

Platforms tested:
    FreeBSD 4.9 (sleipnir)
2004-05-08 09:48:42 -05:00
Raymond Lu
e6fcf3db0f [svn-r8492] *** empty log message *** 2004-05-07 16:59:24 -05:00
Leon Arber
1867c05efb [svn-r8488] Purpose:
Bug fix.

Description:
Fixed handling of trivial data transform expressions (like 5/3 + 3) and some
data coversion fixes.  Also added more tests to dtransform.c

Solution:
Added some more checks in the H5Z_xform_reduce_tree function to see if perhaps
the transform expression is complicated and is a non-trivial reduction.
Added tests for data conversion to dtransform as well as tests for a trivial
data transform expression.

Platforms tested:
h5committest'ed, except used arabica instead of sol and didn't do on copper
b/c no logon there. Problem noted with mtime test...doesn't appear to be
related to anything having to do with data transforms.
2004-05-06 17:44:38 -05:00
Raymond Lu
bf81b5ac23 [svn-r8484] Purpose: bug fix
Description:  The error stack was accidentally cleared during the program.

Solution:  Change it to the correct output.

Platforms tested: RH 8(fuss).  Simple change.

Misc. update:
2004-05-05 15:42:09 -05:00
Quincey Koziol
4996258268 [svn-r8483] Purpose:
Bug fix

Description:
    Fix problems compiling with g++.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/CC=g++
2004-05-05 15:25:26 -05:00
Raymond Lu
14aaec71d7 [svn-r8481] *** empty log message *** 2004-05-04 13:01:22 -05:00
Albert Cheng
0c6229a68d [svn-r8479] Purpose:
New Feature

Description:
Add the data transform function, H5Pset_transform().

Platforms tested:
"h5committested".
Copper was down.  Ran parallel tests in sol instead.

Misc. update:
2004-05-03 18:34:42 -05:00
MuQun Yang
1d381a91e7 [svn-r8469] Purpose:
bug fix

Description:
1.  windows cannot recongize long long. We agree to use long_long to represent all "long long" compatible data types.

2. windows test can not check error code, it depends on error messages to be returned. This will be fixed in the future. In odhr.c, somehow only error value1 is generated, there are no error message even if some tests are missing. So just add an error message when error code is 1.
Solution:
change long long to long_long in dtypes.c;
Add an error message when error code is not 0 in ohdr.c

Platforms tested:
eirene(fortran),
arabica(fortran)

Misc. update:
2004-05-03 10:39:45 -05:00
Quincey Koziol
f88a6f8e52 [svn-r8444] Purpose:
Code cleanup

Description:
    Remove bogus "#undef NDEBUG" at top of file, which was blocking compiler
flags from setting NDEBUG properly.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:11:16 -05:00
Quincey Koziol
e1016ffdd0 [svn-r8435] Purpose:
Temporarily disable float/double->unsigned long long conversion while I
work on fix.

Platforms tested:
    Linux 2.4 (verbena)
    too minor to require h5committest
2004-04-29 15:33:43 -05:00
Quincey Koziol
d992a4a387 [svn-r8427] Purpose:
Bug fix (sorta)

Description:
    Add hack to allow the MS Visual Studio 6 compiler to build the library.
It cannot cast unsigned long long values to float or double values.  So, add
another configuration macro to disable this conversion in the library.  Just
the "hardware" conversion is disabled, so the library will still correctly
convert unsigned long long to float and double values, it will just happen
more slowly with the "software" conversion routine.

Platforms tested:
    FreeBSD 4.9 (sleipnir) with "Windows" setting faked
    inappropriate for h5committest
2004-04-28 13:42:25 -05:00
Quincey Koziol
12ba2eed6a [svn-r8425] Purpose:
Bug fix (sorta)

Description:
    The SGI machines have problems accurately (and consistently) converting
unsigned long values to float and double values, so put in a bit of a hack in
the datatype conversion test code to allow them to get "close enough".  This
hack is enabled at configure time by a flag which should only be set on machines
with this problem.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-28 12:02:12 -05:00
Raymond Lu
b3d2f04490 [svn-r8424] *** empty log message *** 2004-04-27 14:16:54 -05:00
Quincey Koziol
0a29514b9d [svn-r8383] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:09 -05:00
Quincey Koziol
76d71de747 [svn-r8377] Purpose:
Code cleanup

Description:
    Added more tests

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:32:01 -05:00
Quincey Koziol
7456a9293d [svn-r8375] Purpose:
Bug fix.

Description:
    Allow the recent changes to support correct srcdir operation to also work
when building in place.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest

Misc. update:
2004-04-17 15:29:01 -05:00
Albert Cheng
e4d5623692 [svn-r8370] Purpose:
Bug fix.

Description:
Not all machines (like Sun and AIX) support fabsl() and fabsf() used
in test/dtypes.c.  Changed the coding to use macro names HDfabsl and
HDfabsf.  Also set the two macros to use ABS for now so that they will
work for all machines. (need more portable fixes which would involve
configure.)

Platforms tested:
h5committested. (also tested in LANL QSC and Theta).
2004-04-17 12:17:32 -05:00
Albert Cheng
7f2eb1127a [svn-r8360] Purpose:
bug fix.

Description:
On LANL QSC, test/dtypes "sw long double -> double" had failed when the
long double values were too small, smaller than the minimum double normalized
floating number.  The hw in QSC converts them mostly to 0 but occasionally,
it converts to the some non-zero values which are still <= the minimum
double normalized number.  But the conversion verification did not like
them and flagged them as errors.

Solution:
Added code to check if the src value is already smaller than the minimum
number the float class can hold.  When that happens and if both hw and sw
conversion results are <= the minimum number, then accepts them as okay
because if the src is smaller than the dst minimum number, an underflow
has occured.

Platforms tested:
Tested in LANL QSC and Theta.
2004-04-16 16:26:37 -05:00
Raymond Lu
2fac8dfcbc [svn-r8351] Purpose: Bug fix
Description:  This test script put executable program in hdf5/test/testfiles where
output HDF5 file was created.  It might cause conflict when multiple buildings happen.


Platforms tested: RH 8(fuss)
2004-04-14 10:50:42 -05:00
Raymond Lu
5fb4b1a71e [svn-r8349] *** empty log message *** 2004-04-13 13:37:14 -05:00
Raymond Lu
48d84a1bbc [svn-r8334] Purpose: Bug fix
Description:  Variable name "class" conflicts with C++ key word.

Solution: changed it to "type"

Platforms tested:  RH 8
2004-04-09 14:42:05 -05:00
Raymond Lu
1dad73cae0 [svn-r8331] Purpose: Last step of check-in for Null dataspace
Description:  Mainly are header message changes for dataspace.  In last round
of check-in, a new header message for dataspace to created, which is not a good
way.  Now, there will be no new message for dataspace, but just add the type of
dataspace in the message while increment its version number.  Backward compatibility
is addressed.  The attribute design is modified accordingly.  Took out Null
dataspace test from tmisc.c and put it in th5s.c.


Platforms tested: h5committest
2004-04-08 16:23:19 -05:00
Raymond Lu
e0a446b479 [svn-r8315] *** empty log message *** 2004-04-06 15:08:26 -05:00
Albert Cheng
4c8f0b2463 [svn-r8298] Purpose:
Code cleanup

Description:
Added SetTest() to handle test controls.

Platforms tested:
h5committested.
2004-04-03 16:35:01 -05:00
Albert Cheng
fbbd2b9cd2 [svn-r8292] Purpose:
Feature.

Description:
Added GetTestParameters() to provide Test Parameters to
individual test programs.

Platforms tested:
"h5committested"
2004-04-01 17:51:47 -05:00
Albert Cheng
d7a5f94d66 [svn-r8289] Purpose:
Feature

Description:
Added to AddTest() a generic parameters pointer argument to
allow some extra parameters for some tests.  E.g., test file
names can be customized during runtime and passed into the
test routines.

Platforms tested:
"h5committested".
Also run compat test in eirene.
2004-03-30 18:35:16 -05:00
Pedro Vicente Nunes
69b83ce9a3 [svn-r8284] Purpose:
add a "generator" program for the test files that are used in the "test_filter_endianess"
of the dsets  test

Description:

Solution:

Platforms tested:
windows

Misc. update:
2004-03-26 11:29:45 -05:00
Albert Cheng
b45703bf89 [svn-r8274] Purpose:
Code cleanup.

Description:
The routines residing in testframe.c was defined in testhdf5.h due to
historical reason.  It really belongs to h5test.h because those routines
reside in libh55test.a.

Solution:
Moved them to the right place.  Also removed the duplicated occurance
of testframe.c in the TEST_SRC.

Platforms tested:
Tested in o2 (SGI) parallel.
2004-03-22 23:43:12 -05:00
Raymond Lu
d9d34b46e3 [svn-r8262] Purpose: Avoid bug in some systems.
Description:  unsigned long or unsigned long long failed to be converted to
float or double during software conversion on some systems.  It's believed
there are bugs on those systems(modi4, premium, o2, arabica).

Solution:  temporarily disable these tests.

Platforms tested:  Simply comment out.  No need to do test.
2004-03-16 14:55:18 -05:00
Pedro Vicente Nunes
f217777cdb [svn-r8261] Purpose:
bug fix

Description:
the test that reads a pre-saved file with filters must only be run
when that filter is available on the current configuration,
otherwise the library trigers a read error

Solution:
added a #ifdef for the filter, that prints -SKIP- in case we do not have the filter

Platforms tested:
linux

Misc. update:
2004-03-15 13:33:51 -05:00
Quincey Koziol
18ea372959 [svn-r8260] Purpose:
Code cleanup

Description:
    Remove small debugging block

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-03-13 15:04:24 -05:00
Raymond Lu
95dc09ab4b [svn-r8259] *** empty log message *** 2004-03-13 12:39:41 -05:00
Pedro Vicente Nunes
7de24aa706 [svn-r8255] Purpose:
bug fix

Description:
the added binary files to read did not have the construction of the "srcdir" path

Solution:
add it

Platforms tested:
linux

Misc. update:
2004-03-11 22:43:23 -05:00
Pedro Vicente Nunes
472394a0e9 [svn-r8252] Purpose:
bug fix
new test

Description:
the fletcher filter used a temporary  2 byte word buffer to compute the checksum.
this is non portable between big-endian/little endian.

added a test that reads 2  pre-saved files (one LE, other BE) with that filter enabled

Solution:
replaced with a buffer of 1 byte type

Platforms tested:
linux
solaris
solaris 64 bit
AIX
windows

Misc. update:
2004-03-10 19:25:31 -05:00
Pedro Vicente Nunes
27aeb2fff4 [svn-r8246] Purpose:
added 2 binary files to be used in a new test (dsets test)

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-10 16:45:30 -05:00
Elena Pourmal
6f0be2df0d [svn-r8239] Purpose: Brought back changes from 1.6 branch (small bug fix)
Description: Wrong datatype was used to calculate the size of data buffer


Solution: Used correct the datatype

Platforms tested: partially h5comittested (sol and verbena);
                  tested manually for sequential version on copper

Misc. update:
2004-03-08 15:09:52 -05:00
Raymond Lu
a2c349d32a [svn-r8159] Purpose: Disable a test.
Description:  Temporarily disable float(or double) - unsigned long long
software conversion because there is a bug in pgcc compiler.  Will enable it
once the problem is solved.


Platforms tested: RH 8
2004-02-06 16:57:34 -05:00
Raymond Lu
08aa29cd5e [svn-r8153] *** empty log message *** 2004-02-04 17:52:01 -05:00
Pedro Vicente Nunes
c238a6c13c [svn-r8150] Purpose:
introduced the constant H5Z_FILTER_ALL, used to remove all filters in H5Premove_filter

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-02-04 15:35:37 -05:00
Pedro Vicente Nunes
78fb916259 [svn-r8149]
Purpose:
replaced name of delete filter with remove filter for the new function H5Premove_filter

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-02-04 14:36:12 -05:00
Quincey Koziol
5646fd9b5e [svn-r8137] Purpose:
Bug fix.

Description:
    Allow H5Tget_native_type() to handle opaque fields in compound datatypes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-01-31 13:01:33 -05:00
Quincey Koziol
efca86dc64 [svn-r8133] Purpose:
Optimization

Description:
    Improve the time this takes to run by hoisting a check for the signed-ness
of the source and destination datatypes out of inner loop.  (Speeds up test time
by almost 1/3)

Platforms tested:
    IBM p690 (copper)
    too minor for h5committest
2004-01-31 10:16:52 -05:00
Quincey Koziol
2d8964517b [svn-r8128] Purpose:
Update dependencies after restructuring of MPI stuff
2004-01-30 21:32:19 -05:00
Quincey Koziol
61a451f89e [svn-r8117] Purpose:
Code cleanup

Description:
    Add C++ and FORTRAN wrappers for new H5Pdelete_filter routine, along with
documentation and a note in the release notes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/ C++ and FORTRAN
    Too minor for full h5committest
2004-01-27 15:39:20 -05:00
Pedro Vicente Nunes
afc3563b76 [svn-r8113] Purpose:
new library function H5Pdelete_filter
deletes one or all filters from a dataset creation property list
this was done for the NONE option of h5repack, added tests for this feature
added a test for the new function in /test/dsets.c


Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-26 18:20:20 -05:00
Albert Cheng
e54c4df3d2 [svn-r8102] Purpose:
Removed debug print statements committed by mistake.

Platforms tested:
eirene.
2004-01-23 09:07:54 -05:00
Albert Cheng
72ca2d086f [svn-r8100] Purpose:
Added the function ParseTestVerbosity() to be shared by all programs.

Platforms tested:
Eirene.
2004-01-23 01:29:57 -05:00
Albert Cheng
06d17aff4d [svn-r8097] Purpose:
Bug fix

Description:
C++ compilers do not like the variable name new which is a kind word
for C++.  Changed it to newval instead.

Platforms tested:
Tested in Copper which is the one complained about the name.
2004-01-22 22:33:51 -05:00
Albert Cheng
cc17167703 [svn-r8094] Purpose:
New feature.

Description:
Added function SetTestVerbosity() so that other applications can
set the verbosity explicitedly without the whole testframe taking
over.
Added Verbose queries shorthands to make code more readable and
easier to change the levels of low, medium and high.

Platforms tested:
Eirene (both serial and parallel).

Misc. update:
2004-01-22 18:05:55 -05:00
Albert Cheng
7f5fd94b56 [svn-r8084] Purpose:
Improvement.

Description:
Verbosity level were specified by numbers which are not meaningful
and prone to typos.

Solution:
Adapted the Verbosity predefined level symbols from HDF4
and changed all numberic verbosity to symbolic values.
(Still need to convert some left over macros like MESSAGE.)

Platforms tested:
Eirene.
No h5committest since this is trivial.

Misc. update:
2004-01-22 15:57:34 -05:00
Quincey Koziol
99208cee65 [svn-r8079] Purpose:
Add tests & docs

Description:
    Added tests for the recent B-tree bug fixes & document their fix in the
release notes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too minor to require h5committest
2004-01-19 13:48:48 -05:00
Quincey Koziol
00edaf52c5 [svn-r8053] Purpose:
Bug fix

Description:
    Correct two problems with variable-length datatypes in datasets:
        - When overwriting an entire dataset, writing the fill value to the
            file would be skipped, causing problems for VL datatypes when
            objects in the file had been unlinked (and thus the space in the
            file was not all zeros)
        - When an application has set a fill-value for a dataset and the
            dataset's datatype contained a VL datatype, the library was filling
            space on disk with the memory form of the VL information, instead
            of the disk form.


Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-01-13 13:00:59 -05:00
Quincey Koziol
987f5d5e4d [svn-r8048] Purpose:
Code cleanup & reorganization

Description:
    Move further in the testing framework cleanup, eliminating all the
global variables (moving them into testframe.c as static variables) from the
testing framework code and moving it into the libh5test.a.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o thread-safety, c++ & parallel
    h5committested
2004-01-09 20:41:13 -05:00
Quincey Koziol
12dca9ab3c [svn-r8047] Purpose:
Bug fix

Description:
    Add some more #ifdefs to fix 1.6 compatibility failures

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/1.6 compatibility
    Too minor to require h5committest
2004-01-09 14:17:40 -05:00
Quincey Koziol
feaa5bb9d5 [svn-r8038] Purpose:
Bug fix

Description:
    When two property lists are compared, the H5Pequal routine was just
comparing the raw information for the property values.  This causes problems
when the raw information contains pointers to other information.

Solution:
    Allow a 'compare' callback to be registered for properties, so that a user
application get perform the comparison itself, allowing for "deep" compares of
the property value.
    This was exported to the H5Pregister & H5Pinsert routines in the development
branch, but not the release branch.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-01-08 09:55:11 -05:00
Quincey Koziol
ce2b03097b [svn-r8022] Purpose:
Code cleanup

Description:
    Refactor library testing framework (used for the testhdf5 & ttsafe tests)
to remove almost all of the duplicated code, moving the common code into a
new 'testframe.c' source file.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o thread-safety
    h5committest
2004-01-06 12:53:13 -05:00
Albert Cheng
89f5220d66 [svn-r8020] Purpose:
Bug fix.

Description:
Cleaned up a duplicated definition of MAXNUMOFTEST that copper could
not tolerate.

Platforms tested:
"h5committested"
2004-01-05 22:17:16 -05:00
Albert Cheng
1b4b706db7 [svn-r8018] Purpose:
Fixed a dumb mistake.

Description:
Other tests barked at the changes.

Solution:
Move the declaration of Index and Test[] into h5test.c.

Platforms tested:
Tested in eirene.

Misc. update:
2004-01-05 17:30:53 -05:00
Albert Cheng
dc458e5f6f [svn-r8017] Purpose:
Code reorg.

Description:
Move the InitTest() from individual tests (testhdf5 and ttsafe) to
libh5test (h5test.c) so that it can be shared among all tests.

Platforms tested:
Only tested in Eirene via serial with thread-safe enabled.
No other platforms test since this is pretty trivial.
2004-01-05 16:58:37 -05:00
Quincey Koziol
4da7b1ee9b [svn-r8009] Purpose:
Bug fix

Description:
    Add special-case handling to floating-point conversion tests to avoid
problems with denormalized values on Cray T3E & T90 platforms.  (Still not
working on Cray SV1, but at least it's closer).

Solution:
    Detect denormalized values and don't try to operate on them on the Crays.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Cray T3E (hubble.cray.com)
    Cray T90 (gypsy.cray.com)
2003-12-31 15:36:37 -05:00
Quincey Koziol
b0b020d422 [svn-r8007] Purpose:
Bug fix

Description:
    Range check the szip 'pixels per block' against the chunk size of the
dataset when attempting to create a new dataset, since the szip library
requires the PPB to be at least the size of the fastest changing dimension
in the chunk.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor for h5committest
2003-12-31 15:28:46 -05:00
Quincey Koziol
754e7b40b9 [svn-r7989] Purpose:
Code cleanup

Description:
    Switch 'malloc()' to 'HDmalloc()' in a bunch of places.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-12-29 14:02:05 -05:00
Raymond Lu
92a75f970e [svn-r7985] Purpose: bug fix
Description: VL datatype fails in certain way(hard to describe)

Solution: added more test to tvltypes.c

Platforms tested: h5committest
2003-12-29 12:56:50 -05:00
Albert Cheng
f1e00b2afe [svn-r7980] Purpose:
Regenerate the Dependncies files.

Platforms tested:
"h5committested"

Misc. update:
2003-12-25 19:08:54 -05:00
Quincey Koziol
8f62cb43da [svn-r7967] Purpose:
Code cleanup for VS.NET

Description:
    Clean up several issues that VS.NET was having problems with.

Platforms tested:
    Eyeballed against Kent's bug reports.
2003-12-17 11:39:17 -05:00
Quincey Koziol
8dc49da486 [svn-r7950] Purpose:
Bug fix

Description:
    Attributes which were created with scalar dataspaces were reporting their
dataspace as a simple dataspace when queried later.

Solution:
    Fix the dataspace handling code when reading in the attribute message from
the file to set the extent type correctly.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-12-13 15:08:09 -05:00
Quincey Koziol
a8161177b9 [svn-r7943] Purpose:
Bug fix.

Description:
    Using a selection offset with hyperslab selections in chunked datasets
was getting into an infinite loop and hanging the application.

Solution:
    Apply the selection offset to the hyperslab selection properly.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o parallel
    h5committest
2003-12-13 13:14:36 -05:00
Quincey Koziol
c44fd88805 [svn-r7932] Purpose:
Add new feature

Description:
    Add new H5I{dec|get|inc}_ref() routines and tests for them.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-12-11 13:26:51 -05:00
Quincey Koziol
671ba90ce4 [svn-r7922] Purpose:
Bug fix/code cleanup

Description:
    When an error occurs, assume that it will be in the "real" output file and
use that to display the diff against.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest

Misc. update:
2003-12-10 11:50:51 -05:00
Quincey Koziol
e71e53c743 [svn-r7920] Purpose:
Bug fix

Description:
    Correct a couple of minor problems with 1.6 compat mode.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    not tested in h5committest
2003-12-10 11:06:37 -05:00
Albert Cheng
aaff647518 [svn-r7914] Purpose:
Regenerate the Dependencies files if needed.

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-05 10:39:53 -05:00
Quincey Koziol
0e70c2c983 [svn-r7892] Purpose:
Code cleanup

Description:
    Clean up a compiler warning

Platforms tested:
    Titan (user02)
    Too minor to require h5committest
2003-11-26 12:05:11 -05:00
Quincey Koziol
3088616179 [svn-r7882] Purpose:
Bug fix

Description:
    Handle denormalized floating-point values in a more general way that
uses a different 'epsilon' for determining if two values are "close enough"

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
    Pittsburgh Alpha Cluster (lemieux.psc.edu)
2003-11-25 14:26:01 -05:00
Quincey Koziol
378b5ad0f1 [svn-r7879] Purpose:
Bug fix

Description:
    C++ compiler was choking on passing a (hsize_t *) to a function which wants
a (uint8_t *).

Solution:
    Cast the (hsize_t *) to a (uint8_t *)... :-)

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Configuration untested by h5committest
2003-11-25 13:11:27 -05:00