[svn-r18460] Description: Fold metadata journaling changes into the trunk: mostly tweaky small stuff, also removed the H5F_t* field from the H5G_entry_t struct.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/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (...
[svn-r18457] Purpose: Add test cases for bug1797 - h5repack doesn't handle references in compound and vlen datatypes for attributes Description:
Add test cases ahead as waiting for H5Acopy to complete the fix.
1. obj references in attr of compound type
2. region references in attr of compound type
3. obj references in attr of vlen type
4. region references in attr of vlen type
NOTE:
This test is skipped now and will be included when code part is completed.
( H5Acopy() replaces copy_attr() )
...
[svn-r18454] Purpose: Fix for the bug1726 - NPOESS: h5repack loses attributes for datasets of type H5T_REFERENCE.Description:
include test cases.
also test cases for attribute with object and region reference.
Tested:
jam, amani, linew
[svn-r18447] Purpose: Bug1727 - NPOESS: h5copy should copy region referencesDescription:
Tested and added test cases from previous checkin r18319
Reference Manual and tool's usage section for '-f ref' option is updated
for more comprehensibility.
Tested:
jam
[svn-r18445] Purpose: Fix bug 1637Description:
Modified algorithm for extending a dataset with early allocation so it only
deals with the new chunks. Formerly, it would loop over all chunks, checking
to see if each existed in cache and on disk, causing major performance issues
with large numbers of chunks.
Tested: jam, linew, amani (h5committest)
[svn-r18442] Purpose: Resolve windows build issue from previous checkin r18425Description:
The previous checkin was for bug1814 - NPOESS: h5repack doesn't handle
references to the groups as an element of a dataset
Tested:
jam
[svn-r18430] Add windows define BIND_TO_CURRENT_VCLIBS_VERSION=1 to project files.Corrected copy H5srcdir_str.h commands in script.
Added libsettings project to behave like h5tinit.vcproj.
[svn-r18425] Purpose: Fix for bug1814 - NPOESS: h5repack doesn't handle references to the groups as an element of a dataset Description:
handles object reference to named-datatype as well.
Add test cases.
Tested:
jam, amani, linew
[svn-r18420] Description: Re-run bin/reconfigure to catch up with recent rearrangements, remove some unused srcdir headers and duplicated code in main test header.Tested on:
Mac OS X/32 10.6.2 (amazon) w/debug & prod
Linux/32 2.6 (jam)
[svn-r18419] Description: Clean up srcdir querying code more, extracting it into single header file, to avoid compiler warnings.Tested on:
Mac OS X/32 10.6.2 (amazon) w/debug & prod
Linux/32 2.6 (jam)
[svn-r18415] Description: Move the libhdf5.settings information out of src/H5Tinit.c and into a separate header file (src/H5lib_settings.h), which is generated at build time (not configure time) with the src/H5make_libsettings generator program.Tested on:
Linux/32 2.6 (jam)
Mac OS X/32 10.6.2 (amazon)
[svn-r18413] Description: Unify srcdir handling for test executables and allow them to use the srcdir setting from configure time without requiring the 'srcdir' environment variable be set (although you still can, to override the built in setting). Attempted to get this right for Windows builds also. Also add dependency between src/H5Tinit.c and src/libhdf5.settings, so
that the test/testcheck_version.sh script works correctly.
Tested on:
Linux/32 2.6 (jam)
Mac OS X/32 10.6.2 (amazon)
[svn-r18399] Note: missed to add extra files from previous check-in (r18398)Description:
add test cases for h5copy - copy external links with/without ‘–f ext’
option (relate to bug 1733)
Tested:
jam, amani and linew
[svn-r18395] Purpose: Fix links.c failureDescription:
The core file driver previously matched files only based on the name used to
open them, even when a backing store is used. This caused problems in the
failing test when it traversed an external link to itself, and did not recognize
that it was the same file. Similar tests in links.c were skipped when the core
file driver was used. The failure was previously masked by inappropria...
[svn-r18391] Description: Clean up compiler warnings, check error values and fix whitespace.Tested on:
FreeBSD/32 6.3 (duty) w/debug
(too minor to require h5committest)
[svn-r18388] Description: Bring changes from Coverity session from branch into trunk:r18378:
Fixed coverity issues 207 and 322. Pointer hdr was checked for NULL after being
asserted and dereferenced. Check was removed.
r18379:
Fix coverity issues # 88 and # 435.
r18380:
Fixed Coverity issue # 85. Added check of returned pointer for NULL before use.
r18381:
Resolve coverity issues # 214 and # 215
r18382:
Issue 131: Add null checks to allocations and check for free in erro...
[svn-r18385] Description: Tweak fix in r18372 to reset other messages read in also.Tested on:
Mac OS X/32 10.6.2 (amazon) w/debug & production
(too minor to require h5committest)
[svn-r18376] Purpose: Fix bug 1733Description:
Support for expanding external links was not implemented in H5Ocopy, even though
a flag existed for H5Pset_copy_object to enable this. This patch implements
this feature.
Tested: jam, amani, linew (h5committest); Fedora
[svn-r18374] Purpose: Fix bugs involving external linksDescription:
Previously, the library would reopen the source file when traversing an external
link if unable to find the target file otherwise. This has been corrected.
Also moved the call to H5F_flush from H5F_try_close to H5F_dest, so the file is
only flushed when the last identifier for the file is closed. This prevernts
situations where the library could attempt to flush a file with prote...
[svn-r18372] Fix for bug #1773 - I added the call to H5O_msg_reset after H5D_chunk_bh_info to free the PLINE structure in the function H5O_dset_bh_info. This is to prevent memory leak.
Tested on jam and tested 1.8 on jam, too - simple fix.
[svn-r18367] The OpenVMS linking probably doesn't like too many object files. I just broke the link command into two commands to make it happy.Tested on OpenVMS.
[svn-r18366] Binh-Minh integrated dsets.cpp into testhdf5.cpp. I changed the make file accordingly. I'll wait for her to check into the 1.8 branch to make the same change in 1.8. Tested on OpenVMS.
[svn-r18360] Updated project files and release docs to VS2008 and IVF101 based. Made change to cpp version of testhdf5 for the elimination of dsets standalone.Tested: Windows
[svn-r18357] Description: Bring r18356 from metadata journaling merge branch to trunk: Converge metadata journaling branch with trunk with a bunch of v1 B-tree
changes:
- Remove H5ACprivate.h header from H5Bprivate.h header
- Revise v1 B-tree client callbacks
- Get rid of H5B_serialize() by bringing it into H5B_flush()
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 ...
[svn-r18349] Description: In the previous revision, dsets.cpp was moved from a standalone
program into testhdf5.cpp to be consistent with the rest of the
tests. Makefiles were left out by mistake.
Platform tested:
Verified on Linux/32 2.6 (jam)
[svn-r18346] Description: Bring Coverity fixes back from branch to trunk:r18336:
Fix coverity issues 275, 276, 277, 323, 432, 433, and 434
r18337:
Fix Coverity issue #106: release free space section node on error
r18338:
Fixed Coverity #94 - In H5P_register, new_class wasn't closed when there's an
error after it's created.
r18339:
Fix Coverity #185 - In test_conv_str_1, BUF wasn't freed when there's an error
in this function.
r18340:
Correct error in r18337 that...
[svn-r18335] Description: Removed header file testhdf5.h from C++ tests to eliminate a non-standard problem on OpenVMS. It wasn't essential.Platforms tested:
Linux/32 2.6 (jam)
FreeBSD/64 6.3 (liberty)
Ray agreed to test on OpenVMS.
[svn-r18328] I commented out the macro H5_HAVE_SYMLINK because I ran the following C test under hdf5/test directory. OpenVMS couldn't open a file through symbolic link. This macro is mainly used in test/links.c for the function call external_symlink and in src/H5F.c.Tested the same change for 1.8 on OpenVMS.
------------------------------------------------------------------------
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
int main(void)
{
int file1, file2;
/* Create a symbolic link to the file 21b.c */
if(symlink("[LU.hdf5_1_8_2_5.test.tmp2]21b.c", "[LU.hdf5_1_8_2...