Commit Graph

5777 Commits

Author SHA1 Message Date
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
f3113c02d5 [svn-r8096] Purpose:
Improvement.

Description:
Complete change of the verbose control to use the routines provided by
the test/libh5test.a.
Also put in a temporary fix for the H5Eset_auto() and H5Eget_auto()
so that the Compat code are isolated in one place rather than all over
the source file.

Platforms tested:
Tested in Eirene (parallel).

Misc. update:
2004-01-22 18:11:39 -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
Frank Baker
3300140c70 [svn-r8090]
Purpose:
    Correct 'strpad' values in h5tset/get_strpad_f
        e.g., H5T_STR_NULL_F corrected to H5T_STR_NULLPAD_F
Description:
    Safari, IE 5
2004-01-22 16:19:54 -05:00
Frank Baker
50ccc86982 [svn-r8089]
Purpose:
    Correct H5Pget_edc_check return values
Platforms tested:
    Safari, IE 5
2004-01-22 16:14:44 -05:00
Frank Baker
cc3b64b1e9 [svn-r8087]
Purpose:
    Correct H5G_stat_t struct description in H5Gget_objinfo
    Copy edits
Platforms tested:
    Safari, IE 5
2004-01-22 16:10:24 -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
618e7e7fbb [svn-r8082] Purpose:
Bug fix

Description:
    Tweak address comparison of external file list's heap address a bit to
pacify Windows.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Asking Pedro to test on Windows
    Too minor to require h5committest
2004-01-19 15:59:44 -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
HDF Admin
43163efc35 [svn-r8077] Snapshot version 1.7 release 16 2004-01-18 03:24:00 -05:00
Quincey Koziol
35266165fe [svn-r8075] Purpose:
Bug fix.

Description:
    Fix problems in B-tree deletion routine that were corrupting the data
structure when the B-tree had several levels and the right-most item from a
leaf node that was the right-most child of an internal node was removed.
    Also address similar problems when a complete internal or right-most node
was removed.

    NOTE: The B-tree deletion routines are still _NOT_ maintaining the B-tree
properties correctly, that will be addressed in a future (hopefully soon) fix.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too obscure to require h5committest
2004-01-16 15:25:58 -05:00
Pedro Vicente Nunes
efbde3c2f3 [svn-r8074] Purpose:
added h5repack and h5diff support for copying and differences of references to dataset regions
modified the behaviour in the diff of attributes, when a difference in name is detected
in the attribute cycle (number of attributes of object), instead of exiting the
cycle, rather continue


Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-16 10:31:55 -05:00
Pedro Vicente Nunes
5112a79d81 [svn-r8068] Purpose:
changed the text of a error message related to the fail of H5Fopen to " unable to open file "

Description:

Solution:

Platforms tested:
linux (small change )

Misc. update:
2004-01-15 11:48:48 -05:00
Raymond Lu
be52cc0eba [svn-r8067] *** empty log message *** 2004-01-15 11:42:22 -05:00
Raymond Lu
c4d9f6ae10 [svn-r8066] Purpose: bug fix
Description: h5dump and h5ls failed an assertion check when a dataset's
    datatype is enumerate type and there are special characters in the names
    of these values.


Platforms tested: h5committest
2004-01-15 11:42:13 -05:00
Pedro Vicente Nunes
7f7fbb4718 [svn-r8062] Purpose:
bug fix

Description:
cases of rank 0 were not handled, now a warning is made that the dataset cannot be compressed

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-14 15:09:44 -05:00
Pedro Vicente Nunes
62a9b30a64 [svn-r8060] Purpose:
added a usage message for h5repack

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-14 12:45:20 -05:00
Quincey Koziol
727f26263f [svn-r8057] Purpose:
Bug fix

Description:
    Plug another small memory leak for fill-values.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-01-13 13:56:32 -05:00
Pedro Vicente Nunes
d83a48e4f9 [svn-r8056] Purpose:
h5repack change

Description:
changed the default size of chunks when defining a new dataset to apply a filter
this size is now equal to the current dimensions. previously , it was set to half this
value, and it was causing write calls to fail on some files (probably a bug)

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-13 13:12:47 -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
HDF Admin
f151f5a2a5 [svn-r8051] Snapshot version 1.7 release 15 2004-01-11 03:19:32 -05:00
Quincey Koziol
25f92bf355 [svn-r8050] Purpose:
Code cleanup

Description:
    Remove duplicate output code accidentally left in after testing changes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too minor to require h5committest
2004-01-10 09:37:02 -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
Albert Cheng
27c20c9b98 [svn-r8045] Updated. 2004-01-08 15:18:02 -05:00
Albert Cheng
c08c387235 [svn-r8043] Purpose:
Feature

Description:
Added option -showconfig which Shows the HDF5 library configuration summary

Platforms tested:
No h5committest test which does not test these tools.
Tested in eirene by hand.

Misc. update:
2004-01-08 15:08:36 -05:00
Raymond Lu
3774b2732a [svn-r8041] Purpose: bug fix
Description:  After titan updated ecc compiler, int64_t cannot be found.

Solution: Added -D__GNUC__ to CFLAGS to enable int64_t in /usr/include/stdint.h

Platforms tested: titan(titan specific)
2004-01-08 15:04:56 -05:00
Pedro Vicente Nunes
be7ebb248f [svn-r8040] Purpose:
bug fix, code improvment

Description:
fixed a bug in the parse of chunking function
added some auxiliary functions to avoid repeated parts of the code in several places

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-08 10:53:32 -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
Albert Cheng
c81f060deb [svn-r8037] Purpose:
Improvement.

Description:
Added the -tlocal to the default settings for CXX flags.

Platforms tested:
Only tested in LANL Q.

Misc. update:
2004-01-07 16:54:33 -05:00
Elena Pourmal
850696344c [svn-r8033]
Purpose: Maintenance

Description: Fortran APIs MAC OS X port for IBM XL Fortran compiler

Solution: Brought back changes from 1.6 branch

Platforms tested: pommier, h5comittested; this time h5committest
                  complained about copperpp directory and didn't run;
                  tests on verbena and sol passed.

Misc. update:
2004-01-06 15:54:55 -05:00
Pedro Vicente Nunes
3396dd9513 [svn-r8028] Purpose:
small change  to the szip generated dataset

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-06 13:55:09 -05:00
Quincey Koziol
ab9a8af778 [svn-r8026] Purpose:
Bug fix

Description:
    Fix small memory leak of fill-value information inside the library.

Solution:
    "reset" the fill-value object header message, so that the internal buffer
gets freed.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-01-06 13:44:34 -05:00
Pedro Vicente Nunes
e59b3d3bcf [svn-r8025] Purpose:
small fix

Description:
the main prog had some repeated code

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-06 13:18:05 -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
Pedro Vicente Nunes
68607efcd1 [svn-r8021] Purpose:
h5repack new features

Description:
added support/tests for multi filters

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-06 12:49:00 -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
HDF Admin
e076771380 [svn-r8015] Snapshot version 1.7 release 14 2004-01-04 03:14:40 -05:00
Albert Cheng
f65948d933 [svn-r8013] Description:
Added a test of fill value before any data is written to a dataset.
Rename short_dataset() as dataset_fillvalue() as it reflects better
the tests.  Also removed the option of -S since the fill value test
will be tested always.

Platforms tested:
"h5committested"

Misc. update:
2004-01-02 21:54:50 -05:00
Quincey Koziol
a59c045de1 [svn-r8011] Purpose:
Bug fix

Description:
    Fix szip FORTRAN tests..

Solution:
    Increase the chunk size to be bigger than the szip 'pixels per block'.
Also add in code that checks for a maximum number of errors and doesn't keep
reporting that thousands of errors have occurred.

Platforms tested:
    Linux 2.4 (verbena) w/szip & FORTRAN
    Not tested w/h5committest since this combination isn't covered by it.
2004-01-02 00:05:23 -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
0d405bdfb2 [svn-r8006] Purpose:
Code cleanup

Description:
    Tweaked down the size of the szip 'pixels per block' for a test, now that
the library is range-checking this value more strictly.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor for h5committest
2003-12-31 15:26:00 -05:00
Quincey Koziol
b3a3693688 [svn-r8005] Purpose:
Code cleanup

Description:
    Removed redundant testing script from being executed, since it's just
running the program in the "TEST_PROGS" macro.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor for h5committest
2003-12-31 15:25:05 -05:00
Albert Cheng
7a510bcb4d [svn-r8003] Purpose:
Code cleanup.

Description:
The H5Eclear() in the VRFY and INFO macros are not needed.
After removing them, there is no need to have a separate
v1.6 Compat version.

Platforms tested:
"h5committested"

Misc. update:
2003-12-31 14:42:19 -05:00
Quincey Koziol
7bcc111c2b [svn-r8000] Purpose:
Bug fix

Description:
    Fixed bug in hyperslab iteration where certain combinations of flattened
and non-flattened dimensions would cause incorrect locations to be iterated
over.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-12-31 14:19:18 -05:00
Pedro Vicente Nunes
738e808d26 [svn-r7999] Purpose:
h5repack new features

Description:
added support/ tests for contiguous and compact layout processing

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2003-12-31 09:00:36 -05:00
Pedro Vicente Nunes
ee2eecf1b4 [svn-r7998] Purpose:
new h5repack file

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-30 18:01:09 -05:00