Commit Graph

20491 Commits

Author SHA1 Message Date
Quincey Koziol
cf5cd3b639 Refactor H5Dvlen_get_buf_size to use optional dataset operation, with generic fallback for VOL connectors that don't implement operation 2019-12-20 22:41:00 -06:00
Allen Byrne
de0f667076 Fix compile statement order 2019-12-20 14:18:01 -06:00
Allen Byrne
23f813026f HDFFV-10976,-10980 Init obj_type before calling H5Rget_obj_type3 2019-12-20 13:23:48 -06:00
Quincey Koziol
2c2c46d4ea Cleanups from PR reviews 2019-12-20 11:22:31 -06:00
Allen Byrne
d7c38eeee9 Add unknown define for h5dump ref objects 2019-12-20 11:08:37 -06:00
Allen Byrne
ca1b672ced Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '7e0e9f83dc45a4ec1212bc96f6584d221073af39':
  Standalone doesn't use h5test lib implementation.
2019-12-20 09:53:11 -06:00
Allen Byrne
7e0e9f83dc Merge pull request #2172 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit '50425ad4395b58ece517ab3a442d0dd703afa687':
  Standalone doesn't use h5test lib implementation.
2019-12-20 09:50:36 -06:00
Allen Byrne
50425ad439 Standalone doesn't use h5test lib implementation. 2019-12-20 09:48:09 -06:00
Allen Byrne
a057a82a69 Standalone doesn't use h5test implementation. 2019-12-20 09:28:02 -06:00
Allen Byrne
bc88c82308 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'b55a584fd5b3aac6f2514fba41a6182030b497ae':
  In portable shell scripts (using #!/bin/sh) we have to use single square brackets, [ ], instead of the bash-ism double square brackets, [[ ]].
  Make this script work on hosts where PERL is not installed at /usr/bin/perl.
2019-12-20 09:02:51 -06:00
Quincey Koziol
58cf795321 Refactor all the 'H5VL_*_optional' callbacks to move the type of operation out
of the va_list, so it's at least possible for another connector to know what
the operation is and decide whether to implement it or not.

Added a new VOL sub-class called "introspect" where callbacks that report
information about the connector or container can be placed.  Added an
'opt_query' callback to this sub-class, for a connector to report back
to the library whether a particular optional callback operation is supported.
Also added a 'get_conn_cls' introspection callback, to retrieve the H5VL_class_t
of a connector (either the "current" connector, H5VL_GET_CONN_LVL_CURR, or
the terminal connector, H5VL_GET_CONN_LVL_TERM).

Moved the "post open" operation from a file 'specific' operation to a file
'optional' operation, now that it's possible to detect (with the 'opt_query'
introspection callback) whether a VOL connector implements an optional
operation, without just returning an error.

Added new internal VOL helper routines: H5VL_object_is_native, to determine
if an object is in (or is a) native file, and H5VL_file_is_same, to determine
if two objects are in (or are) the same terminal VOL connector's container.
(And moved the special handling for FILE_IS_EQUAL operation out of internal VOL
callback routine into H5VL_file_is_same)

Made new dataset 'get' operation for H5Dvlen_get_buf_size, aligning it better
with other 'get' operations in API.

Fixed several issues with pass-through connectors, which are now passing the
'make check-passthrough-vol' tests again.

A bunch of warning and style cleanups as well.
2019-12-19 22:41:37 -06:00
David Young
b55a584fd5 Merge pull request #2161 in HDFFV/hdf5 from ~DYOUNG/netbsd:develop to develop
* commit 'ec4418a75716b7f2ce53e627de28d139b281b545':
  In portable shell scripts (using #!/bin/sh) we have to use single square brackets, [ ], instead of the bash-ism double square brackets, [[ ]].
  Make this script work on hosts where PERL is not installed at /usr/bin/perl.
2019-12-19 17:24:52 -06:00
Allen Byrne
628c63f125 HDFFV-10980 - h5diff uses new ref APIs 2019-12-19 16:29:43 -06:00
Allen Byrne
63fdb78685 Merge pull request #2162 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '74d37c880f1309900b45bd9f4813dca225d2d3c4':
  Add missing note
2019-12-19 16:25:55 -06:00
Allen Byrne
74d37c880f Add missing note 2019-12-19 16:12:05 -06:00
David Young
ec4418a757 In portable shell scripts (using #!/bin/sh) we have to use single square
brackets, [ ], instead of the bash-ism double square brackets, [[ ]].
2019-12-19 15:06:57 -06:00
David Young
d11b347aa7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '817235bb60e1f79c4b22b4a6116a1594aa75b81d': (145 commits)
  Remove const
  Fix compile error - declaration after executable statement
  Adjust cache.c only variables.
  Fix include to correct memory calls - big-endian issue.
  Update h5debug to retrieve file pointer through VOL framework
  Minor whitespace
  Remove duplicate instance
  Revert and move declaration
  Correct struct access
  Fix duplicate and varname
  Fix compile and test issues from DT
  Modify H5VL initialization routines to initialize all VOL-managed object types.  Modify H5VLwrap_register() to reject non-VOL-managed object types.  Also fix overisights in h5trace.c from previous changes.
  Add release note for sanitizer support
  HDFFV-10979 cleanup globals
  TRILABS-135 Add clang analyzers
  HDFFV-10979 fix global name clash
  Fix issues found with ONLY_SHARED_LIBS option
  Fix 2010 compile issues
  Change from using H5Dcreate to H5Dcreate2
  Latest date first in RELEASE.txt
  ...
2019-12-19 14:55:49 -06:00
Allen Byrne
817235bb60 Merge pull request #2153 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ac87f12afe73fa22dcf31d9aeba05a259e215765':
  Remove const
  Fix compile error - declaration after executable statement
  Adjust cache.c only variables.
  Fix include to correct memory calls - big-endian issue.
2019-12-19 10:23:37 -06:00
Allen Byrne
ac87f12afe Remove const 2019-12-18 16:10:12 -06:00
Allen Byrne
27596d1157 Fix compile error - declaration after executable statement 2019-12-18 15:08:40 -06:00
Allen Byrne
b89d428087 Adjust cache.c only variables. 2019-12-18 14:29:46 -06:00
Allen Byrne
527105012b Fix include to correct memory calls - big-endian issue. 2019-12-18 12:44:27 -06:00
Quincey Koziol
134a31c4a9 Merge pull request #2151 in HDFFV/hdf5 from h5debug_vol_fix to develop
* commit 'b8b6659debc3b0592ef4f0fe9db60c3bec8619ad':
  Update h5debug to retrieve file pointer through VOL framework
2019-12-17 14:23:32 -06:00
Quincey Koziol
b8b6659deb Update h5debug to retrieve file pointer through VOL framework 2019-12-17 13:11:39 -06:00
Allen Byrne
9facd2347a Merge pull request #2146 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ae5385b7ae0a273fc4940ae1f145cf4e73807ff5':
  Minor whitespace
  Remove duplicate instance
2019-12-17 11:07:10 -06:00
Allen Byrne
ae5385b7ae Minor whitespace 2019-12-17 09:07:21 -06:00
Allen Byrne
7234dce255 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'fb3cc3767b182d2190f5d2ba839f588e1c139bc8':
  Fixed bugs in pread/pwrite I/O in VFDs.
2019-12-17 08:54:10 -06:00
Dana Robinson
fb3cc3767b Merge pull request #2109 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:pread_bugs to develop
* commit '99f85cbf15a637768c8df977ddc5eebe7683a60d':
  Fixed bugs in pread/pwrite I/O in VFDs.
2019-12-16 21:18:49 -06:00
Allen Byrne
ba2f6a74d3 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '9ee8c599d7b8cd495efb28cd9f068192712ae086':
  More fixes for previous committed PR #2079 dated Dec 5 2019. (1) H5O_dtype_ver_bounds[] for V112 should be H5O_DTYPE_VRESION_4 (2) The tests for the new reference types should work for V112 and beyond
2019-12-16 15:52:21 -06:00
Vailin Choi
9ee8c599d7 Merge pull request #2086 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/reference_ver_hyperslab_ver to develop
* commit 'b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666':
  More fixes for previous committed PR #2079 dated Dec 5 2019. (1) H5O_dtype_ver_bounds[] for V112 should be H5O_DTYPE_VRESION_4 (2) The tests for the new reference types should work for V112 and beyond
2019-12-16 13:49:16 -06:00
Allen Byrne
a966640208 Remove duplicate instance 2019-12-16 09:47:10 -06:00
Allen Byrne
568e30ef0d Merge pull request #2133 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'dc2cbdaf6720b6c3af72846989dfdbec4f207208':
  Revert and move declaration
  Correct struct access
  Fix duplicate and varname
  Fix compile and test issues from DT
  Add release note for sanitizer support
  HDFFV-10979 cleanup globals
  TRILABS-135 Add clang analyzers
2019-12-13 12:47:10 -06:00
Allen Byrne
dc2cbdaf67 Revert and move declaration 2019-12-13 12:28:18 -06:00
Allen Byrne
4ab00a3d1d Correct struct access 2019-12-13 11:59:20 -06:00
Allen Byrne
f57907d22c Fix duplicate and varname 2019-12-13 11:52:38 -06:00
Allen Byrne
e3c75f6cf7 Fix compile and test issues from DT 2019-12-13 11:36:09 -06:00
Neil Fortner
7aedeedf67 Merge pull request #2139 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:vol_init_fix to develop
* commit 'ce653ff82b7dd52b8e36a5eff7b1728c4b75d9f7':
  Modify H5VL initialization routines to initialize all VOL-managed object types.  Modify H5VLwrap_register() to reject non-VOL-managed object types.  Also fix overisights in h5trace.c from previous changes.
2019-12-12 15:52:59 -06:00
Neil Fortner
ce653ff82b Modify H5VL initialization routines to initialize all VOL-managed object
types.  Modify H5VLwrap_register() to reject non-VOL-managed object
types.  Also fix overisights in h5trace.c from previous changes.
2019-12-12 15:52:21 -06:00
Allen Byrne
e350797b71 Add release note for sanitizer support 2019-12-12 12:31:28 -06:00
Allen Byrne
3ab183ba99 HDFFV-10979 cleanup globals 2019-12-12 12:20:49 -06:00
Allen Byrne
74524c5a35 TRILABS-135 Add clang analyzers 2019-12-11 16:49:34 -06:00
Allen Byrne
8026c67a1c Merge pull request #2132 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '8ef8f5fda952540dc18a43ccf65597089db175f9':
  HDFFV-10979 fix global name clash
2019-12-11 16:43:38 -06:00
Allen Byrne
8ef8f5fda9 HDFFV-10979 fix global name clash 2019-12-11 15:58:59 -06:00
Allen Byrne
34ff52bd1a Merge pull request #2130 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '6e7dcf170b39885f8aa4e7a35d1dc54f1489b375':
  Fix issues found with ONLY_SHARED_LIBS option
2019-12-11 15:51:55 -06:00
Allen Byrne
6e7dcf170b Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '5d94490e38eae88c5180c6ce1b3f74d82f1dd600':
  Fix 2010 compile issues
2019-12-11 15:13:26 -06:00
Allen Byrne
5d94490e38 Merge pull request #2128 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit '1d5bf068224df9582dfc2280525352967a02367b':
  Fix 2010 compile issues
2019-12-11 14:11:48 -06:00
kmu
0a2bb11b24 address problems from comments 2019-12-11 13:35:02 -06:00
Allen Byrne
1fc1b09bf3 Fix issues found with ONLY_SHARED_LIBS option 2019-12-11 12:28:33 -06:00
Allen Byrne
1d5bf06822 Fix 2010 compile issues 2019-12-11 11:36:46 -06:00
kmu
45a62b2d46 fix and address comments 2019-12-11 10:44:56 -06:00