Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hdf5 1 8 22 - Reverts lock/unlock callback signature to 1.8.21 version #267

Merged
merged 22 commits into from
Jan 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
52f6744
Restores maintainer mode in the autotools (#200)
derobins Dec 18, 2020
9d1999c
Update configure for Restores maintainer mode in the autotools (#200).
lrknox Dec 18, 2020
f34233c
Update MANIFEST for switch_maint_mode script.
lrknox Dec 18, 2020
0277b7d
Update so numbers for 1.8.22 release.
lrknox Dec 21, 2020
37b5b8e
Merge branch 'hdf5_1_8_22' of https://github.com/HDFGroup/hdf5 into h…
lrknox Dec 21, 2020
a008cd0
Add so numbers changes in Makefile.ins for 1.8.22 release.
lrknox Dec 21, 2020
57df34d
Update pkgconfig settings with version - #218 (#223)
byrnHDF Dec 22, 2020
10dbac8
Add notice of final HDFF5 1.8 release.
lrknox Dec 22, 2020
c4fcff1
Merge branch 'hdf5_1_8_22' of https://github.com/HDFGroup/hdf5 into h…
lrknox Dec 22, 2020
458be32
Update 1.8 final release notice.
lrknox Dec 22, 2020
5fde85a
Update CMake/HDF5Examples version in bin/release
lrknox Dec 22, 2020
1c44828
Merge branch 'hdf5_1_8_22' of https://github.com/HDFGroup/hdf5 into h…
lrknox Dec 22, 2020
faf36a3
Fixed typo in an error message. (#227)
bmribler Dec 23, 2020
1c141c0
Remove duplicate setting (#239)
byrnHDF Jan 5, 2021
2d5ac50
Merge branch 'hdf5_1_8_22' of https://github.com/HDFGroup/hdf5 into h…
lrknox Jan 9, 2021
6810e75
Merge branch 'hdf5_1_8_22' of https://github.com/HDFGroup/hdf5 into h…
lrknox Jan 14, 2021
03ca350
RELEASE.txt cleanup.
lrknox Jan 14, 2021
751596f
Add macOS Big Sur to tested machines, also missing entries for macOS …
lrknox Jan 15, 2021
216de13
)Update version.
lrknox Jan 15, 2021
103163a
Merge branch 'hdf5_1_8_22' of https://github.com/HDFGroup/hdf5 into h…
lrknox Jan 16, 2021
f45efa1
Reverts lock/unlock callback signature to 1.8.21 version (#254)
derobins Jan 12, 2021
e46cef4
Update version to 1.8.22-14.
lrknox Jan 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5 version 1.8.22-13 currently under development
HDF5 version 1.8.22-14 currently under development

------------------------------------------------------------------------------
Please refer to the release_docs/INSTALL file for installation instructions.
Expand Down
2 changes: 1 addition & 1 deletion c++/src/cpp_doc_config
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ PROJECT_NAME = "HDF5 C++ API"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "1.8.22-13, currently under development"
PROJECT_NUMBER = "1.8.22-14, currently under development"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion config/cmake/scripts/HDF5config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cmake_minimum_required (VERSION 3.12)
##############################################################################

set (CTEST_SOURCE_VERSION "1.8.22")
set (CTEST_SOURCE_VERSEXT "-13")
set (CTEST_SOURCE_VERSEXT "-14")

##############################################################################
# handle input parameters to script.
Expand Down
22 changes: 11 additions & 11 deletions configure
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.ac Id.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for HDF5 1.8.22-13.
# Generated by GNU Autoconf 2.69 for HDF5 1.8.22-14.
#
# Report bugs to <help@hdfgroup.org>.
#
Expand Down Expand Up @@ -591,8 +591,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='HDF5'
PACKAGE_TARNAME='hdf5'
PACKAGE_VERSION='1.8.22-13'
PACKAGE_STRING='HDF5 1.8.22-13'
PACKAGE_VERSION='1.8.22-14'
PACKAGE_STRING='HDF5 1.8.22-14'
PACKAGE_BUGREPORT='help@hdfgroup.org'
PACKAGE_URL=''

Expand Down Expand Up @@ -1511,7 +1511,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures HDF5 1.8.22-13 to adapt to many kinds of systems.
\`configure' configures HDF5 1.8.22-14 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1581,7 +1581,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of HDF5 1.8.22-13:";;
short | recursive ) echo "Configuration of HDF5 1.8.22-14:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1823,7 +1823,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
HDF5 configure 1.8.22-13
HDF5 configure 1.8.22-14
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2760,7 +2760,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by HDF5 $as_me 1.8.22-13, which was
It was created by HDF5 $as_me 1.8.22-14, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -3631,7 +3631,7 @@ fi

# Define the identity of the package.
PACKAGE='hdf5'
VERSION='1.8.22-13'
VERSION='1.8.22-14'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -30282,7 +30282,7 @@ Usage: $0 [OPTIONS]
Report bugs to <bug-libtool@gnu.org>."

lt_cl_version="\
HDF5 config.lt 1.8.22-13
HDF5 config.lt 1.8.22-14
configured by $0, generated by GNU Autoconf 2.69.

Copyright (C) 2011 Free Software Foundation, Inc.
Expand Down Expand Up @@ -32358,7 +32358,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by HDF5 $as_me 1.8.22-13, which was
This file was extended by HDF5 $as_me 1.8.22-14, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -32424,7 +32424,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
HDF5 config.status 1.8.22-13
HDF5 config.status 1.8.22-14
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ AC_PREREQ([2.69])
## NOTE: Do not forget to change the version number here when we do a
## release!!!
##
AC_INIT([HDF5], [1.8.22-13], [help@hdfgroup.org])
AC_INIT([HDF5], [1.8.22-14], [help@hdfgroup.org])
AC_CONFIG_SRCDIR([src/H5.c])
AC_CONFIG_HEADERS([src/H5config.h])

Expand Down
2 changes: 1 addition & 1 deletion release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5 version 1.8.22-13 currently under development
HDF5 version 1.8.22-14 currently under development
================================================================================

Notice: HDF5 1.8.22 will be followed later in 2021 by HDF5 1.8.23, the final
Expand Down
61 changes: 2 additions & 59 deletions src/H5FDhdfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ static herr_t H5FD_hdfs_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, had
static herr_t H5FD_hdfs_write(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, size_t size,
const void *buf);
static herr_t H5FD_hdfs_truncate(H5FD_t *_file, hid_t dxpl_id, hbool_t closing);
static herr_t H5FD_hdfs_lock(H5FD_t *_file, hbool_t rw);
static herr_t H5FD_hdfs_unlock(H5FD_t *_file);

static herr_t H5FD_hdfs_validate_config(const H5FD_hdfs_fapl_t *fa);

Expand Down Expand Up @@ -320,8 +318,8 @@ static const H5FD_class_t H5FD_hdfs_g = {
H5FD_hdfs_write, /* write */
NULL, /* flush */
H5FD_hdfs_truncate, /* truncate */
H5FD_hdfs_lock, /* lock */
H5FD_hdfs_unlock, /* unlock */
NULL, /* lock */
NULL, /* unlock */
H5FD_FLMAP_DICHOTOMY /* fl_map */
};

Expand Down Expand Up @@ -1647,61 +1645,6 @@ H5FD_hdfs_truncate(H5FD_t H5_ATTR_UNUSED *_file, hid_t H5_ATTR_UNUSED dxpl_id, h
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_hdfs_truncate() */

/*-------------------------------------------------------------------------
*
* Function: H5FD_hdfs_lock
*
* Purpose:
*
* Place an advisory lock on a file.
* No effect on Read-Only S3 file.
*
* Suggestion: remove lock/unlock from class
* would result in error at H5FD_[un]lock() (H5FD.c)
*
* Return:
*
* SUCCEED (No-op always succeeds)
*
* Programmer: Jacob Smith
* 2017-11-03
*
*-------------------------------------------------------------------------
*/
static herr_t
H5FD_hdfs_lock(H5FD_t H5_ATTR_UNUSED *_file, hbool_t H5_ATTR_UNUSED rw)
{
FUNC_ENTER_NOAPI_NOINIT_NOERR

FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5FD_hdfs_lock() */

/*-------------------------------------------------------------------------
*
* Function: H5FD_hdfs_unlock
*
* Purpose:
*
* Remove the existing lock on the file.
* No effect on Read-Only S3 file.
*
* Return:
*
* SUCCEED (No-op always succeeds)
*
* Programmer: Jacob Smith
* 2017-11-03
*
*-------------------------------------------------------------------------
*/
static herr_t
H5FD_hdfs_unlock(H5FD_t H5_ATTR_UNUSED *_file)
{
FUNC_ENTER_NOAPI_NOINIT_NOERR

FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5FD_hdfs_unlock() */

#else /* H5_HAVE_LIBHDFS */

/* No-op stubs to avoid binary compatibility problems with previous
Expand Down
4 changes: 2 additions & 2 deletions src/H5FDpublic.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ typedef struct H5FD_class_t {
herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer);
herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, unsigned closing);
herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing);
herr_t (*lock)(H5FD_t *file, hbool_t last);
herr_t (*unlock)(H5FD_t *file);
herr_t (*lock)(H5FD_t *file, unsigned char *oid, unsigned lock_type, hbool_t last);
herr_t (*unlock)(H5FD_t *file, unsigned char *oid, hbool_t last);
H5FD_mem_t fl_map[H5FD_MEM_NTYPES];
} H5FD_class_t;

Expand Down
61 changes: 2 additions & 59 deletions src/H5FDros3.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ static herr_t H5FD_ros3_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, had
static herr_t H5FD_ros3_write(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, size_t size,
const void *buf);
static herr_t H5FD_ros3_truncate(H5FD_t *_file, hid_t dxpl_id, hbool_t closing);
static herr_t H5FD_ros3_lock(H5FD_t *_file, hbool_t rw);
static herr_t H5FD_ros3_unlock(H5FD_t *_file);
static herr_t H5FD_ros3_validate_config(const H5FD_ros3_fapl_t *fa);
static void * H5FD_ros3_fapl_get(H5FD_t *_file);
static void * H5FD_ros3_fapl_copy(const void *_old_fa);
Expand Down Expand Up @@ -265,8 +263,8 @@ static const H5FD_class_t H5FD_ros3_g = {
H5FD_ros3_write, /* write */
NULL, /* flush */
H5FD_ros3_truncate, /* truncate */
H5FD_ros3_lock, /* lock */
H5FD_ros3_unlock, /* unlock */
NULL, /* lock */
NULL, /* unlock */
H5FD_FLMAP_DICHOTOMY /* fl_map */
};

Expand Down Expand Up @@ -1575,59 +1573,4 @@ H5FD_ros3_truncate(H5FD_t H5_ATTR_UNUSED *_file, hid_t H5_ATTR_UNUSED dxpl_id, h
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_ros3_truncate() */

/*-------------------------------------------------------------------------
*
* Function: H5FD_ros3_lock()
*
* Purpose:
*
* Place an advisory lock on a file.
* No effect on Read-Only S3 file.
*
* Suggestion: remove lock/unlock from class
* > would result in error at H5FD_[un]lock() (H5FD.c)
*
* Return:
*
* SUCCEED (No-op always succeeds)
*
* Programmer: Jacob Smith
* 2017-11-03
*
*-------------------------------------------------------------------------
*/
static herr_t
H5FD_ros3_lock(H5FD_t H5_ATTR_UNUSED *_file, hbool_t H5_ATTR_UNUSED rw)
{
FUNC_ENTER_NOAPI_NOINIT_NOERR

FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5FD_ros3_lock() */

/*-------------------------------------------------------------------------
*
* Function: H5FD_ros3_unlock()
*
* Purpose:
*
* Remove the existing lock on the file.
* No effect on Read-Only S3 file.
*
* Return:
*
* SUCCEED (No-op always succeeds)
*
* Programmer: Jacob Smith
* 2017-11-03
*
*-------------------------------------------------------------------------
*/
static herr_t
H5FD_ros3_unlock(H5FD_t H5_ATTR_UNUSED *_file)
{
FUNC_ENTER_NOAPI_NOINIT_NOERR

FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5FD_ros3_unlock() */

#endif /* H5_HAVE_ROS3_VFD */