diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2018-03-20 21:28:11 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2018-03-20 21:28:11 (GMT) |
commit | 0bcaa290e07154cc0376b5084c4336e162d777ef (patch) | |
tree | 068a7a917e1b4cf72361f7d2d5cbf7b78747d6d9 | |
parent | 8b77fd7d1af9fa387e5441e473b817589c93ab3f (diff) | |
parent | 6a1627f2967099039e11b9e86cf347f6482bdf3c (diff) | |
download | hdf5-0bcaa290e07154cc0376b5084c4336e162d777ef.zip hdf5-0bcaa290e07154cc0376b5084c4336e162d777ef.tar.gz hdf5-0bcaa290e07154cc0376b5084c4336e162d777ef.tar.bz2 |
Merge pull request #983 in HDFFV/hdf5 from develop to hdf5_1_10
* commit '6a1627f2967099039e11b9e86cf347f6482bdf3c':
Fix for HDFFV-10425 test failure with H5DOwrite_chunk and latest format
Fix date.
Correct the date in RELEASE.txt for H5DOread_chunk.
Add release info for H5DOread_chunk.
Updated RELEASE.txt Description: Wrappers for H5Tencode and H5Tdecode No code change.
Fixed HDFFV-10151 Description: Added a document to the HDF5 C++ API Reference Manual to show the mapping from a C API to C++ wrappers.
Fix memory leak simply by capturing allocation in var
Change max value
Chnage values so test will fail when new latest is added
Exception changed
Exception type changed
Correct constant var names
Java constants for new lib verbounds values
-rw-r--r-- | release_docs/RELEASE.txt | 49 | ||||
-rw-r--r-- | src/H5Dchunk.c | 2 |
2 files changed, 44 insertions, 7 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index b85073d..c37611c 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -237,8 +237,7 @@ New Features C++ Library: ------------ - - The following wrappers are added: - + - The following C++ API wrappers have been added to the C++ Library: + H5Lcreate_soft: // Creates a soft link from link_name to target_name. void link(const char *target_name, const char *link_name,...) @@ -282,18 +281,46 @@ New Features void unlink(const H5std_string& link_name, const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) - - Added class LinkCreatPropList + Note: additional parameter is added to previous H5Location::unlink. + + + H5Tencode and H5Tdecode: + // Creates a binary object description of this datatype. + void DataType::encode() - C API H5Tencode() + + // Returns the decoded type from the binary object description. + DataType::decode() - C API H5Tdecode() + ArrayType::decode() - C API H5Tdecode() + CompType::decode() - C API H5Tdecode() + DataType::decode() - C API H5Tdecode() + EnumType::decode() - C API H5Tdecode() + FloatType::decode() - C API H5Tdecode() + IntType::decode() - C API H5Tdecode() + StrType::decode() - C API H5Tdecode() + VarLenType::decode() - C API H5Tdecode() + + + H5Lget_info: + // Returns the information of the named link. + H5L_info_t getLinkInfo(const H5std_string& link_name,...) + + (BMR - 2018/03/11, HDFFV-10149) + + - Added class LinkCreatPropList for link create property list. + + (BMR - 2018/03/11, HDFFV-10149) - Added overloaded functions H5Location::createGroup to take a link creation property list Group createGroup(const char* name, const LinkCreatPropList& lcpl) Group createGroup(const H5std_string& name, const LinkCreatPropList& lcpl) - - Added wrapper for H5Lget_info() to H5Location - // Returns the information of the named link. - H5L_info_t getLinkInfo(const H5std_string& link_name,...) (BMR - 2018/03/11, HDFFV-10149) + - A document is added to the HDF5 C++ API Reference Manual to show the + mapping from a C API to C++ wrappers. It can be found from the main + page of the C++ API Reference Manual. + + (BMR - 2017/10/17, HDFFV-10151) + Java Library: ---------------- @@ -367,6 +394,16 @@ Bug Fixes since HDF5-1.10.1 release Library ------- + - Add public routine H5DOread_chunk to the high-level C library + + As we have H5DOwrite_chunk() to write an entire chunk to the file + directly, the customer requested to add this public routine to + read an entire chunk from the file directly. + + This public routine was added based on a patch from GE Healthcare. + + (VC - 2017/05/19, HDFFV-9934) + - Freeing of object header in H5Ocache.c It was discovered that the object header was not released properly diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index f96abdd..391d79d 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -486,7 +486,7 @@ H5D__chunk_direct_write(const H5D_t *dset, hid_t dxpl_id, uint32_t filters, /* Set the chunk's filter mask to the new settings */ udata.filter_mask = filters; - if((layout->storage.u.chunk.ops->insert)(&idx_info, &udata, NULL) < 0) + if((layout->storage.u.chunk.ops->insert)(&idx_info, &udata, dset) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINSERT, FAIL, "unable to insert chunk addr into index") } /* end if */ |