[svn-r19279] Bug 1934 - I added support of all data types for H5Tget_order. I added a new byte order H5T_ORDER_MIXED specifically for compound types and its derived types. They report mixed orders if they have members of different orders.Tested on heiwa, jam, and amani.
[svn-r19277] Description: Bring r19276 from trunk to 1.8 branch: Correct calculation of end of dirty information in metadata accumulator
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(h5committested on trunk)
[svn-r19274] Description: Bring r19272 & 19273 from trunk to 1.8 branch: Close out various resource leaks and usages of uninitialized memory that
were flagged by valgrind. [There's still some more valgrind warnings, but
it's better now... :-/ ]
Also clean up warnings and code formatting.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w...
[svn-r19257] Change Cmake to allow a local zlib header to be used in H5Zdelate module. Corrected use of "SKIP" message in cmake. Corrections to cmake configuration files (for cmake external projects).Community suggested changes.
Tested: local linux
[svn-r19256] Description: Bring r19255 from trunk to 1.8 branch: Add missing include file from r19252.
Tested on:
(Eyeballed only, too simple to require h5committest)
[svn-r19254] Description: Bring r19252 & 19253 from trunk to 1.8 branch: Bring Coverity changes from branch to trunk:
r19161:
Fixed the part for matching the subset info with dataset
r19189:
BZ1646: h5dump does not check number of dimensions for subsetting parameters against the dataset
Changed subset_t structure from holding hsize_t pointers to holding new subset_d pointers, which hold the original hsize_t pointer + len. this len is then checked against data...
[svn-r19250] New feature(bug #1934): I made H5Tset_order support all data types with some restictions: 1. For enum type, members shouldn't be defined yet. 2. H5T_ORDER_NONE only works for reference and fixed-length string. 3. For opaque type, the order will be ignored. 4. For compound type, all restrictions above apply to the members.I'll change H5Tget_order and do another commit.
Tested on jam, heiwa, and amani.
[svn-r19248] Description: Bring r19247 from trunk to 1.8 branch: Bring r19246 from Coverity branch to trunk:
Improve metadata "accumulator" for files to track the dirty region within
the accumulator data. This allows the accumulator to drop clean data and
reduces the number of I/O operations when it is dirtied.
This is progress toward Bz#1142 - speeding up the fheap test (which it
doesn't help much, actually, but it does help other aspects of ...
[svn-r19243] Description: Bring r19242 from trunk to 1.8 branch: Add in override for testing timeout alarm to allow "HDF5_ALARM_SECONDS"
environment variable to change the timeout value from the default value.
Tested on:
Mac OS X/32 10.6.4 (amazon) w/debug & production
(Too minor to require h5committest)
[svn-r19238] Description: Bring r19237 from trunk to 1.8 branch: Clean up misc. compiler warnings.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
[svn-r19234] Description: Initialize loop variable that caused failures in certain circumstances. Also clean up compiler warnings and release MPI datatype.
Tested on:
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
[svn-r19229] Reset alarm_seconds back to 20 minutes.Description:
honest3 v1.8 failed in parallel test. It got stuck in the same
testpar/testphdf5 subtest (cbhsssdrpio). This is an old problem.
Upon closer inspection, the testphdf5, when terminated, had clocked
up 1hr 9min 46 sec wall clock time. Honest1 system also sent a message
that an mpi process has used up 30+ CPU minutes which exceeded their login
node cpu time limit and they killed the...
[svn-r19226] File read/write happens at configure time, so moved windows specific copy from test macro to where the expected file is copied.Tested: windows
[svn-r19224] Moved subfolder checked outside of OPTION command. If folder doesn't exists, there is no reason to have option enabled.Tested: local linux
[svn-r19220] Move hl fortran ADD_SUBDIRECTORY to right after fortran ADD_SUBDIRECTORY. This fixes a problem with compiler generated files not including target module directory on some linux machines.Tested: local linux
[svn-r19216] Bug 1986, error1.It is an error to use the condition H5_HAVE_FSEEK64 to control the definition
of HDlseek. It caused errors in AIX where lseek64 is available.
Replaced it with H5_HAVE_LSEEK64. Also added the missing HDstrcasecmp macro.
Tested: AIX using default and --disable-largefile.
[svn-r19213] Test for compare of output text to expected needed to account for windows line endings.Moved ADD_TEST commands to macro.
Tested: local linux, windows
[svn-r19204] Bug 1917: post cleanup.fseek64 was used to support large file access for the STDIO driver back in
version 1.2.2 in year 2000. Some how it was not included in version 1.4.0.
Now, fseeko64 is used to support large file. There is no more need for fseek64
which is not a standard call. Removed its presence from configure and related
files.
Tested: jam for configure only.
[svn-r19200] Added tests that subdirectories exist before using ADD_SUBDIRECTORY CMake command Added cache set command for default install prefixTested: local linux
[svn-r19198] [BZ1953]implementation for the proposed changes suggested by the "h5dump_output_option" RFC. This required that the region reference code be duplicated and reduced to allow the do_bin_output() function to understand region references. The container type-id also needed to be propagated into the do_bin_output() function and functions referenced (render_bin_output*).Existing tests tested the binary function, so only one test was added to test the region reference generated file.
Tested: local linux
[svn-r19196] Defined the file format version H5F_LIBVER_18 to prepare for the 1.10 release. It isn't used anywhere yet.Tested on jam - very simple change and not used.
[svn-r19187] Bug fix: ID 1917The STDIO only checked for fseeko and incorrectly assumed it can support file
sizes larger than 32bits. Fixed it by making to use fseeko64 if supported, else
use fseeko. To simplify the code, assume fseeko which is a POSIX function must
be supported. Therefore, fseek is not used at all.
(Note: the above applies to Unix-like system. The Windows platform has
hardcoding using Windows functions w...
[svn-r19186] Bug fix: ID 1917In some machine (Linux), when --disable-largefile is used, it claims it has
fseeko64 but off64_t is NOT supported. Moved the test of fseeko64 and ftello64
to where fseek64 is so that they are tested only if off64_t is supported.
Tested: h5committested.
[svn-r19182] Description: Bring r19179 from trunk to 1.8 branch:Bring changes from Coverity branch back to trunk:
r19079 & 19080:
[BZ1942] h5dump -u to generate XML, it does not respect the -m option
xml version of dump_data function didn't check for use of fp_format variable.
Added new test expected file for committed bug 1942
r19103, 19104 & 19105:
[BZ1821] h5repack -v did not display correct output for a selected compression. Needed new test for com...
[svn-r19172] Bug fix for #1239 - The filter's public function CAN_APPLY should return htri_t not herr_t. To minimize the change of the library's behavior, in the function H5Z_prelude_callback of H5Z.c, if the return value of can_apply is FALSE and the filter is MANDATE, this function returns a FAILURE. If the return value is FALSE but the filter is OPTIONAL, this function returns a SUCCEED...Tested on jam, linew, and amani. Tested on jam with szip.
[svn-r19170] Bug fix: 1917.The previous fix had the Windows code in H5private.h but they should have been
in H5win32defs.h which holds all Windows-specific definitions. Moved the fix.
Tested: BP (AIX) to confirm the fix is still valid. Windows tests will occur
in daily tests tonight.
[svn-r19166] Bug fix: 1917.Description:
test/big incorrectly determined not able to write files larger than 2GB and
skipped the SEC2 and STDIO driver tests. The reason was because it was using
off_t while the SEC2 driver is using lseek64 which expects off64_t type.
Solution:
Created a new HDoff_t which is set to off_t or off64_t or other appropriate
type depending on which of lseek or lseek64 is available. Changed SEC2...
[svn-r19159] Added the tests for fseeko64 and ftello64 which will be used by the STDIO VFD if they are available.Tested: jam only since it was tests for two new functions that are not used by
the code yet.
[svn-r19158] Description: Bring r19156 from trunk to 1.8 branch: Bring revisions from Coverity branch back to trunk:
r19044:
Coverity #449 - Line 1560 called function H5O_chunk_protect for 2 pointers to allocate. But when there's failure on the second one, the first wasn't freed
(H5O_chunk_unprotect). We fixed it by freeing the pointers when an error happens.
r19045:
Fixed coverity issue # 319. Free sec_node in done if it is not NULL.
r19046:
Add i...
[svn-r19157] Description: Bring r19078 from Coverity branch to 1.8 branch (code doesn't exist on trunk): Purpose:
Resolve Memory Leaks
Description:
Free saved ID structures in H5I interface when library shuts down.
Tested on:
Mac OS X/32 10.6.4 (amazon) w/debug & production
(Too minor to require h5committest)