Commit Graph

3875 Commits

Author SHA1 Message Date
Quincey Koziol
ba0858ab7a [svn-r17600] Description:
Bring r17599 from trunk to 1.8 branch:

	Minor code cleanups, based on cleanups in the compress_group_fheap
branch.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-10-06 14:20:59 -05:00
Neil Fortner
c26ed138a6 [svn-r17586] Purpose: Fix bug 1597
Description:
When copying a dataset  using a vlen inside a compound, the various dataset
copying callbacks would allocate a background buffer but would not use it when
converting from disk to memory, only memory to disk.  This caused an assertion
failure as compounds always need a background buffer.  These callbacks have
been modified to use the background buffer for both conversions.

Tested: jam, linew, smirom (h5committest)
2009-10-02 15:54:51 -05:00
Mike McGreevy
dbb2eadcaa [svn-r17572] Purpose:
Makefile Bug Fix

Description:

    Added $(EXEEXT) extension to H5detect when it's executed to generate
    H5Tinit.c so it works correctly on platforms that require the full
    extension when running executables.

Tested:

    h5committest, mingw, and user-verified (via submitted patch).
2009-10-01 14:52:37 -05:00
Quincey Koziol
e3101ecc46 [svn-r17555] Description:
Bring r17553 from trunk to 1.8 branch:

	Bring general fixes/improvements from file_free_space branch back to
trunk.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
       Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                               in debug mode
       Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                               w/C++ & FORTRAN, in production mode
       Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                               w/szip filter, in production mode
       Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                               in production mode
       Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
       Mac OS X/32 10.5.8 (amazon) in debug mode
       Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                               in production mode
2009-09-29 16:53:19 -05:00
Albert Cheng
0ead3e8873 [svn-r17548] ------------------------------------------------------------------------
r17543 | acheng | 2009-09-28 23:43:22 -0500 (Mon, 28 Sep 2009) | 8 lines

New test: (Bug ID 1656):
Add new tests (tcheck_version, testcheck_version.sh) to verify H5check_version()
does issue warnings and abort accordingly.
Changed H5check_version() to suppress the warning message totally if
$HDF5_DISABLE_VERSION_CHECK is 2 or higher. (Old behavior treated 3 or higher
the same as 1, that is to print a warning and allows the program to continue.

Tests:
H5committed tested plus jam serial tested.
2009-09-29 11:45:07 -05:00
Larry Knox
0fa14048c2 [svn-r17540] Snapshot version 1.8 release 3 (snap12) 2009-09-27 17:06:09 -05:00
Neil Fortner
858c8af18f [svn-r17536] Purpose: Fix bug 1620
Description:
H5Ppublic.h listed H5Pget_filter_by_id1 and H5Pget_filter_by_id2 as returning
H5Z_filter_t, when in fact they return herr_t.  The header file has been
corrected to indicate that they return herr_t.

Tested: jam
2009-09-25 14:15:58 -05:00
Neil Fortner
a2faf5621f [svn-r17531] Purpose: Fix bug 1555
Description:
At several places in H5Pint.c properties were being compared using memcmp, not
using the registered "cmp" callback.  This could cause memory checkers to
report uninitialized memory errors, and could conceivably cause runtime errors
if memcmp reported false equality (for example if a value pointed to by the
property changed).

The code has been changed to always use the cmp callback.  Tests have been added that check this in all the places that previously used memcmp.

Tested: jam, linew, smirom (h5committest)
2009-09-25 13:11:40 -05:00
Larry Knox
bb660b670b [svn-r17501] Snapshot version 1.8 release 3 (snap11) 2009-09-20 16:02:59 -05:00
Albert Cheng
ef2aa6be0b [svn-r17500] Bug fix and improvement.
Description:
Build failed when embedded-info is not enabled. Fixed.
testlibinfo.sh output was ugly, did not prepare the case of embedded-info
not enabled. Fixed.  Also changed NOT to test test binary even if static-exec
is enabled.

Tested:
jam (with and without embedded-info enabled).  Did not test in other
platforms since these were script changes that are platform independent.
2009-09-19 18:55:44 -05:00
Albert Cheng
3a83be48fb [svn-r17499] Purpose:
Stage 2 implementation of embedded library information feature.

H5.c: added code to print the embedded library information when there is
a library versions mis-match occurs. This ensures the library information
string is included in the executable.
Also modifies the code so that the Library mismatch warning string is
included only once in the executable.

H5private.h:
Added a global reference to the libinfo string variable to prepare
for possible stage 3 implementation of a public API.

test/testlibinfo.sh.in:
A new test added to verify the library information is indeed included
in the executables.

configure.in:
configure:
Added entry to auto-generate test/testlibinfo.sh.

H5detect.c:
Modified the libhdf5settings generating code to allow it to insert the
strings to a file other than stdout.  This maybe needed in stage 3
implementation.

MANIFEST:
updated with the newly added file of testlibinfo.sh.in.

Tested:
h5committest passed. Also passed jam in serial mode.
2009-09-18 13:34:37 -05:00
Larry Knox
8185461991 [svn-r17472] Snapshot version 1.8 release 3 (snap10) 2009-09-13 15:49:59 -05:00
Quincey Koziol
258d4b3835 [svn-r17464] Description:
Bring r17463 from trunk to 1.8 branch:

   Add another regression test for userblock+alignment usage, and correct
[another] issue with the combination. *sigh*

Tested on:
   FreeBSD/32 6.3 (duty) in debug mode
   (h5committested on trunk)
2009-09-11 08:27:04 -05:00
Quincey Koziol
0b3fbf9089 [svn-r17462] Description:
Bring r17461 from trunk to 1.8 branch:

Fix a few more problems when the user block is not aligned properly.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-09-10 14:33:12 -05:00
Quincey Koziol
d5c3626181 [svn-r17460] Description:
Bring r17459 from trunk to v1.8 branch:

	Correct bad interaction between non-zero userblocks with non-zero
alignments.

	Also add some additional range checking and tests for invalid userblock
sizes.

Tested on:
   FreeBSD/32 6.3 (duty) in debug mode
   (h5committested on trunk)
2009-09-08 16:16:31 -05:00
Larry Knox
ef70e57999 [svn-r17453] Snapshot version 1.8 release 3 (snap9) 2009-09-06 15:50:18 -05:00
Mike McGreevy
ee3ed7a67f [svn-r17439] Purpose:
Updating autotools

Description:

    Bring revisions 17345 and 17357 from trunk to 1.8, specifically:

    - Automake upgraded to 1.11
    - Autoconf upgraded to 2.64
    - bin/reconfigure script edited to use new versions (on jam), and
      run to generate new configure script and Makefile.in's.
    - configure.in script edited to add "_cv_" to all AC_CACHE_VAL strings
      (in order to comply with new autoconf standard).
    - bin/install-sh script replaced with new version as provided
      by automake.

Tested:

    - All issues on trunk were resolved, so only tested on jam and linew. Any
      other outliers should be caught by daily tests.
2009-08-31 10:28:10 -05:00
Larry Knox
4f9b08427b [svn-r17437] Snapshot version 1.8 release 3 (snap8) 2009-08-30 16:45:54 -05:00
Quincey Koziol
5d795c0260 [svn-r17433] Description:
Bring r17432 from trunk to 1.8 branch:

        Simplify dataspace cleanup code.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-08-27 14:46:11 -05:00
Quincey Koziol
39641369fe [svn-r17431] Description:
Bring r17429 from trunk to 1.8 branch:

Remove unnecessary v2 B-tree 'retrieve' callback from v2 B-tree clients.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-27 12:03:12 -05:00
Quincey Koziol
b6494f0fc9 [svn-r17415] Description:
Bring r17408, 17411, 17412, 17413 & 17414 from trunk back to 1.8 branch:

r17408:
	Move flush operation on mounted file hierarchy into H5Fmount module.

r17411:
	Make H5AC_flush just flush the cache and make H5AC_dest perform the
proper parallel synchronization before destroying the cache.  Also, further
discriminate between 'closing' and 'non-closing' actions in H5F_flush.

r17412:
	Seperate 'flush' functionality from 'destroy' functionality at the
H5F level also.

r17413:
	Remove vestigial intermediate routine for flushing file and move it
into API routine.  Also, remove private, unused (now) 'H5F_FLUSH_DOWN' symbol
from public header file.

r17414:
	Flush the core VFD's buffer before closing the file, also flush the
metadata accumulator before reseting it.  Write the driver info message out
in the superblock flush routine more directly, instead of using wrapper
routine, since the wrapper routine won't work when the superblock is being
shutdown.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-24 14:09:36 -05:00
Larry Knox
81e3eef99a [svn-r17410] Snapshot version 1.8 release 3 (snap7) 2009-08-23 18:37:12 -05:00
Quincey Koziol
d96910fe93 [svn-r17404] Description:
Bring r17402 & r17403 from trunk to 1.8 branch:

r17402:
    Switch from using a 'flags' parameter to the flush routine(s), to just
using a single 'closing' boolean parameter, since that's all we're doing with
the flags anyway and this makes things more obvious.

r17403:
    Eliminate 'closing' flag to dataset flush routine, since all cached
dataset information has already been flushed when a file is closed and the
datasets themselves will be closed (and the dataset caches destroyed).

    Skip calling more flush routines when the file is closing, in preparation
for eventual separation of the 'flush' concept from the 'shutdown the cache'
concept.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-21 06:33:44 -05:00
Quincey Koziol
9316a67a89 [svn-r17401] Description:
Bring r17400 from trunk to 1.8 branch:

	Refactor H5F_flush into two routines, one which handles the recursion/
iteration necessary to handle mounted files; and one which just handles the
flush operation for a single file.

	Also, remove H5F_FLUSH_INVALIDATE and switch all code to depend on
H5F_FLUSH_CLOSING.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-08-20 22:22:38 -05:00
Quincey Koziol
6ee76fffc7 [svn-r17399] Description:
Bring r17393 and r17398 from trunk to 1.8 branch:

Bring back more changes from the file free space branch to the trunk. (17393)

First set of changes to move VFD 'truncate' call out of H5F_flush and defer
it until the file is closed. (17398)

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-08-20 16:54:04 -05:00
Quincey Koziol
7a91bd45d4 [svn-r17389] Description:
Bring r17388 from trunk to 1.8 branch:

	Correct error in freespace test which was relying on free space section
to be valid after the library had taken ownership of it (and therefore could
free it).

	Also correct some checking for return values of H5FS internal routines

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-19 21:05:49 -05:00
Raymond Lu
91e6f1e04d [svn-r17387] I added a detection for the correctness of converting from unsigned long to float in the
configure.in.  The Pathscale compiler on Sandia's Linux machine misinterprets the values of 
unsigned long as negative during the conversion to float, when the first bit of unsigned long
is on.  

Tested on jam.  Need to test it on Sandia's machine.
2009-08-19 16:57:12 -05:00
Quincey Koziol
d5dfe34e0a [svn-r17380] Description:
Bring r17376 from trunk to 1.8 branch:

	Make similar change to windows VFD as sec2 VFD, when converting from
a family file to a single file.

	Tweak file sizes expected for parallel tests.

Tested on:
	FreeBSD/32 6.3 (duty) w/debug
	(h5committested on trunk)
2009-08-18 17:29:03 -05:00
Allen Byrne
05f36e2be8 [svn-r17375] Added Windows version of HDsleep macro needed for a test in test/tfile.c.
Tested: windows
2009-08-18 15:14:41 -05:00
Quincey Koziol
ebde7af78a [svn-r17374] Description:
Bring r17365 from trunk to 1.8 branch:

	Final merge of changes from sblock_mdc branch back to trunk.  The
superblock is now managed by the metadata cache.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-18 13:25:49 -05:00
Larry Knox
b1c3c4abe3 [svn-r17368] Snapshot version 1.8 release 3 (snap6) 2009-08-16 17:06:45 -05:00
Quincey Koziol
d47fb4b752 [svn-r17359] Description:
Bring r17336 from trunk to 1.8 branch:

	Bring more changes from the file_free_space branch into the trunk.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-08-14 10:42:11 -05:00
Quincey Koziol
92b37616d2 [svn-r17354] Description:
Bring r17351 from trunk to 1.8 branch:

	Clean up code (to align w/future sblock_mdc branch changes), tweak
tests for [slightly] easier debugging, fix memory leak when copying chunked
datasets with I/O filters, fix memory leak of free space section when it was
exactly the right size to use for extending an existing block in the file.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-13 14:17:29 -05:00
Quincey Koziol
1db993a271 [svn-r17342] Description:
Bring r17341 from trunk to 1.8 branch:

        Tweaks to comments, to better align with changes on sblock_mdc branch

Tested on:
        Just eyeballed, only tweaks to comments
2009-08-11 23:10:00 -05:00
Larry Knox
6a72ec80e5 [svn-r17339] Snapshot version 1.8 release 3 (snap5) 2009-08-11 21:27:55 -05:00
Quincey Koziol
5f9e36528c [svn-r17332] Description:
Bring r17331 from trunk to 1.8 branch:

	Bring back more changes from file free space branch.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-11 15:43:22 -05:00
Quincey Koziol
35fc6fe082 [svn-r17325] Description:
Bring r17324 from trunk to 1.8 branch:

	Bring more improvements/changes back from file_free_space branch

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-11 12:28:42 -05:00
Quincey Koziol
445fec27e1 [svn-r17320] Description:
Bring r17319 from trunk to 1.8 branch:

	Bring more superblock manipulation & aggregator changes from file free
space branch.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committest performed on trunk)
2009-08-11 08:03:13 -05:00
Quincey Koziol
908ce6d721 [svn-r17314] Description:
Bring r17313 from trunk to 1.8 branch:
	Bring back various minor code cleanups from the file free space branch

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
       Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                               in debug mode
       Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                               w/C++ & FORTRAN, in production mode
       Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                               w/szip filter, in production mode
       Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                               in production mode
       Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
       Mac OS X/32 10.5.8 (amazon) in debug mode
       Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                               in production mode
2009-08-10 13:02:57 -05:00
Quincey Koziol
db134c8627 [svn-r17303] Description:
Bring r17302 from trunk to 1.8 branch:

    Correct errors on machines (like Windows) that don't have C99 named
initializer support.

Tested on:
    Mac OS X/32 10.5.7 (duty)
    Windows build (by Allen)
2009-08-04 17:56:24 -05:00
Quincey Koziol
3816a02c03 [svn-r17286] Description:
Bring r17284 from trunk to 1.8 branch:

    Remove unneccessary dest. layout information from chunked dataset copying
routine.

Tested on:
    Mac OS X/32 10.5.7 (amazon) debug & production
    h5committested on trunk
2009-07-31 00:09:11 -05:00
Quincey Koziol
92b1407a53 [svn-r17282] Description:
Bring r17281 from trunk to 1.8 branch:

    Further refactoring of the dataset layout information, to separate the
storage information from the layout info.

Tested on:
    Mac OS X/32 10.5.7 (amazon) debug & production
    h5committested on trunk
2009-07-30 22:36:04 -05:00
Quincey Koziol
d96e6789c0 [svn-r17277] Description:
Bring r17275 and r17276 from trunk to 1.8 branch.

Tested on:
    Mac OS X/32 10.5.7 (amazon) w/debug & production
    (too minor to require h5committest)
2009-07-30 13:50:14 -05:00
Quincey Koziol
aaa84b4542 [svn-r17274] Description:
Bring r17272 from trunk to 1.8 branch:

    Finish pushing contiguous storage size from 'layout' into 'storage"
data structure.

Tested on:
    Mac OS X/32 10.5.7 (amazon) w/debug & production
    Too minor to require h5committest
2009-07-29 22:48:44 -05:00
Quincey Koziol
31a7cd56bf [svn-r17271] Description:
Bring r17269 from trunk to 1.8 branch:

    Refactor how serialized size of layout message is computed, slightly.

Tested on:
    Mac OS X/32 10.5.7 (amazon) debug & production
    FreeBSD/32 6.3 (duty) debug
    Too minor to require h5committest
2009-07-29 21:57:12 -05:00
Quincey Koziol
981ba55190 [svn-r17266] Description:
Clean up various compiler warnings from IRIX64 build

Tested on:
    Mac OS X/32 (amazon) debug & production
    (yes, I know it's not an IRIX64 system :-)
    Too minor to require h5committest
2009-07-29 19:17:17 -05:00
Quincey Koziol
03d1221bd8 [svn-r17265] Description:
Bring r17264 from trunk to 1.8 branch:

	Refine how we store the chunk index address in the layout storage
structure.

Tested on:
        FreeBSD/32 6.3 (duty) debug
        Mac OS X/32 10.5.7 (amazon) debug & production
        Too minor to require h5committest
2009-07-29 18:38:26 -05:00
Quincey Koziol
ded93bd0c4 [svn-r17262] Description:
Bring r17261 from trunk to 1.8 branch:

	Refactoring dataset layout information to segregate the constant items
from the variable items (at least from a storage standpoint).

Tested on:
	FreeBSD/32 6.3 (duty)
	(h5committest performed on trunk)
2009-07-29 16:46:32 -05:00
Quincey Koziol
902de51188 [svn-r17244] Description:
Bring r17243 from trunk to 1.8 branch:

	Refactor how the layout message is created/written/read in the
dataset's object header.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(change h5committested on trunk)
2009-07-27 17:22:39 -05:00
Quincey Koziol
8c1762f8a6 [svn-r17231] Description:
Bring r17230 back from trunk to 1.8 branch:
       Various minor tuneups noticed in working on the revise_chunks branch.

Tested on:
    Mac OS X/32 10.5.7 (amazon) debug & production
    full testing done on trunk before bringing change back.
2009-07-23 16:57:52 -05:00