[svn-r16489] Fixed bug #1459 by eliminating the macro long_long and replacing all instances with long long.Tested:
h5comittest
fedora 10 x64
Vista 32, VS2005, IVF101
XP32, Cygwin
[svn-r16488] Description: Clean up code and eliminate resource leaks. Also avoid "null" I/O when chunk doesn't exist and we can skip it.Tested on:
Mac OS X/32 10.5.6 (amazon)
(too minor to require h5committest)
[svn-r16483] Description: Clean up (i.e. remove) more internal calls to H5E_clear_stack(), along with some other minor code cleanups.Tested on:
Mac OS X/32 10.5.6 (amazon)
(too minor to require h5committest)
[svn-r16480] Purpose: Improve chunk cacheDescription:
The meaning of the "nbytes" field in H5D_rdcc_t was not clear, and some places
assumed it was the maximum size of the chunk cache, while some assumed it was
the current size of the chunk cache. The end result was that only 1 chunk could
be held in cache at a time. This field has been replaced by "nbytes_max" and
"nbytes_used". Performance of cached I/O should improve greatly.
T...
[svn-r16477] Purpose: Fix problem with opening an attribute multiple times through multiple file handles.Description:
An attribute's "oloc" field which specifies the file it resides in was located
in the attribute's "shared" structure. So when an attribute was opened multiple
times all of the handles for that attribute pointed to the same file id, even if
different file id's were used to open the different handles for the attribute.
The "oloc" has been moved to the top level H5A_t struct.
Tested...
[svn-r16475] Purpose: Fix rare error when adding a new object header messageDescription:
Since the new object header format, it has been possible for a situation to be
created where none of the messages are large enough to hold a continuation
message and there are no null messages to merge with. This makes it impossible
to add a new object header chunk. This case will now be handled by moving every
message in the last chunk to the newly allocated one, except for null...
[svn-r16473] Purpose: fix problems related to 'self-referential' attributesDescription:
When an attribute was created with a datatype or dataspace that was shared in
the same object header that the attribute was in, the attribute could not be
deleted. Changes made to ensure that the attribute can be deleted both when the
attribute is in the object header and when it is shared in the heap. Object
header message decode routines now take an "open_oh" parameter to enabl...
[svn-r16472] Change H5Dopen to H5Dopen2 - fixes compile error - too many arguments for H5Dopen1 when using v1.6 compatible flag. Trivial change, tested on smirom and jam.
[svn-r16466] Performance Improvement(bug #1450). When a chunk is bigger than the cache size and isn't allocated on disk, the library still loaded it in the cache, which is redundant. I changed it to bypass the cache and added a test in dsets.c.
Tested on jam and smirom.
[svn-r16465] Performance Improvement(bug #1450). When a chunk is bigger than the cache size and isn't allocated on disk, the library still loaded it in the cache, which is redundant. I changed it to bypass the cache and added a test in dsets.c.Tested on jam and smirom.
[svn-r16461] Bug fix: for compound types, the not comparable test for members was not done Solution: for compound types, recursively apply that check Two new cases are added 1) the compound type has a different number of members. Message printed is <obj1> has X members <obj2> has Y members Where X and Y are the number of members of each compound type being compared 2) the compound type has not ...
Tested: windows, h5committest
[svn-r16451] Repaired intermittant failure of the t_cache test in testpar.The failure was caused by some over active sanity checking code in
unlock_entry(). In essence the code did not consider the possibility
that under certain, very unusual circumstances, an entry could be flushed
to disk during the H5AC_unprotect() call. Instead, it simply failed
if a dirty entry was marked clean after the call to H5AC_unprotect().
This bug in the test code was exposed by rece...
[svn-r16439] Description: Bring r16435 from revise_chunks branch back to trunk: Expand object copy tests for chunked datasets to include 1-D datasets
with an unlimited dimension. (Fix typo in comment for test/links.c)
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(more thoroughly tested already on revise_chunks branch)
[svn-r16436] Checkin for moving messages forward into continuation message: src/H5Oalloc.c, test/ohdr.c, toshm.c
Fixed couple of problems in src/H5Odbg.c.
[svn-r16428] Purpose: Fix Windows install script to include missing tool binariesDescription:
A user discovered that the HDF5 1.8.2 Windows release binaries were missing a few of the HDF5 tools. This is due to the Windows install script, which simply didn't include them. This commit fixes the install script to include h5copy, h5mkgrp, and h5stat
Tested:
VS2005 w/ WinXP, build and install only
[svn-r16419] #1449 Change set_extent test to use standard standalone test frameworkCall h5_fixname (with an array of test filenames) for generating the
filename to create and then call h5_cleanup() when the tests pass, to delete the files
created and close the FAPL from h5_fileaccess().
Defined a macro
#define TESTING2(WHAT) {printf(" Testing %-62s",WHAT); fflush(stdout);}
Similar to TESTING, except that it has a initial indentation space.
The effect is for nested loop...
[svn-r16417] Description: Bring r16416 from revise_chunks branch to trunk: Bring closer to standard standalone test format, add checks for using
the latest file format and close dataset ID leaked.
Tested on:
FreeBSD/32 6.3 (duty)
(too minor to require h5committest)
[svn-r16414] Description: Eliminate some more calls to H5E_clear_stack() from within library code. Clean up some warnings & comments also.
Tested on:
Mac OS X/32 10.5.6 (amazon)
(Too minor to require h5committest)
[svn-r16412] testh5ls.bat - added tests to match script file from rev 16310 h5repack.bat - added test to match script file from rev 16402 set_extent.vcproj - added WS2_32.lib for change to set_extent from rev 16406 h5pubconf.h - added C99 undef to sync with *nix configurationTested:
Vista32, XP32, XP64 using VNET, VS2005 VS2008
[svn-r16405] #1449 Change set_extent test to use standard standalone test frameworkuse a fapl obtained by h5_fileaccess to the call of H5Fcreate
and redo the test calls with
h5_reset();
fapl = h5_fileaccess();
nerrors += do_ranks( fapl ) < 0 ? 1 : 0;
nerrors += test_external( fapl ) < 0 ? 1 : 0;
nerrors += do_layouts( fapl ) < 0 ? 1 : 0;
tested: windows, linux
[svn-r16401] Description: Correct error introduced in r16353 with layout version, and add test so it gets caught earlier.Tested on:
FreeBSD/32 6.3 (duty)
Too minor to require h5committest
[svn-r16394] Description: Rename H5O_msg_read_real -> H5O_msg_read_oh, to be more consistent with other routines in library. Move H5O_msg_read_oh and H5O_msg_exists_oh from package to private
header file, so other routines in library can use them.
Tested on:
FreeBSD/32 6.3 (duty)
Too minor to require h5committest
[svn-r16380] Purpose: Enable copying of dense attributesDescription:
Attribute object copy routines have been moved from H5Oattr.c to H5Aint.c.
These routines are now shared between compact and densely stored attributes.
New routines written to support the copying of dense attributes. This patch wasmostly written by Peter Cao.
Tested: jam, smirom (h5committest)
[svn-r16378] Description: Changed max macro in earray.c to avoid Windows conflict. Changed if(test) to assert(test) in H5FDcore.c - H5FD_core_open()Tested on:
Windows: XP32, XP64, Vista32, Vista64
H5committest.
[svn-r16376] Purpose: Fix a bug encountered when copying shared messagesDescription: When attempting to copy an object with a message shared in its own
object header, the library attempts to protect the same object header twice.
Previously, it was possible for the object header to be protected with write
access in one or both of these protects, which would be illegal. The library
should now always protect with read only access in this case. The conditions
for fix...
[svn-r16370] Modify test_pack_ooo to always output the state of randomly generated variables when it fails, even in the sections that do not use the random variables.Tested: jam
[svn-r16367] Description: Refactor internal address encode/decode routines slightly, to allow for more flexible use.Tested on:
Mac OS X/32 (amazon)
FreeBSD/32 (duty)
(too minor to require h5committest)