Commit Graph

19048 Commits

Author SHA1 Message Date
Allen Byrne
d486a9b27e HDFFV-10980 - h5diff uses new ref APIs 2020-05-20 09:20:22 -05:00
Quincey Koziol
b6b0567bdf Remove unnecessary H5CX call 2020-05-20 09:20:21 -05:00
Quincey Koziol
53e62bcbeb Refactor H5Dvlen_get_buf_size to use optional dataset operation, with generic fallback for VOL connectors that don't implement operation 2020-05-20 09:20:21 -05:00
Quincey Koziol
ba9f12b6d8 Cleanups from PR reviews 2020-05-20 09:20:21 -05:00
Quincey Koziol
996e12e796 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.
2020-05-20 09:20:21 -05:00
Allen Byrne
68373c2d78 Standalone doesn't use h5test lib implementation. 2020-05-20 09:20:21 -05:00
David Young
2914c7baf8 In portable shell scripts (using #!/bin/sh) we have to use single square
brackets, [ ], instead of the bash-ism double square brackets, [[ ]].
2020-05-20 09:20:21 -05:00
David Young
5ad9d9277e Make this script work on hosts where PERL is not installed at
/usr/bin/perl.
2020-05-20 09:20:21 -05:00
Allen Byrne
e3f12a5a22 Add missing note 2020-05-20 09:20:21 -05:00
Allen Byrne
9f5fdc677a Remove const 2020-05-20 09:20:21 -05:00
Allen Byrne
344f4139d7 Fix compile error - declaration after executable statement 2020-05-20 09:20:21 -05:00
Allen Byrne
def01d7676 Adjust cache.c only variables. 2020-05-20 09:20:21 -05:00
Allen Byrne
2cff38d38e Fix include to correct memory calls - big-endian issue. 2020-05-20 09:20:21 -05:00
Quincey Koziol
091b45c02d Update h5debug to retrieve file pointer through VOL framework 2020-05-20 09:20:21 -05:00
Allen Byrne
b71046be5a Minor whitespace 2020-05-20 09:20:21 -05:00
Dana Robinson
0e133ade90 Fixed bugs in pread/pwrite I/O in VFDs.
Fixes HDFFV-10945.
2020-05-20 09:20:21 -05:00
Vailin Choi
19934f8654 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
2020-05-20 09:20:21 -05:00
Allen Byrne
bc69c4177b Remove duplicate instance 2020-05-20 09:20:21 -05:00
Allen Byrne
931bc7fa51 Revert and move declaration 2020-05-20 09:20:21 -05:00
Allen Byrne
d6356f58f1 Correct struct access 2020-05-20 09:20:20 -05:00
Allen Byrne
1814f0363f Fix duplicate and varname 2020-05-20 09:20:20 -05:00
Allen Byrne
1409fcee4e Fix compile and test issues from DT 2020-05-20 09:20:20 -05:00
Allen Byrne
ba4eaeb660 Add release note for sanitizer support 2020-05-20 09:20:20 -05:00
Allen Byrne
5b50f47f31 HDFFV-10979 cleanup globals 2020-05-20 09:20:20 -05:00
Allen Byrne
371439c6bd TRILABS-135 Add clang analyzers 2020-05-20 09:20:20 -05:00
Neil Fortner
958ba4c8a2 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.
2020-05-20 09:20:20 -05:00
Allen Byrne
59d5321a33 HDFFV-10979 fix global name clash 2020-05-20 09:20:20 -05:00
Allen Byrne
d91fa68f27 Fix 2010 compile issues 2020-05-20 09:20:20 -05:00
Allen Byrne
34518626c4 Fix issues found with ONLY_SHARED_LIBS option 2020-05-20 09:20:20 -05:00
Richard Warren
c1eae1a659 Change from using H5Dcreate to H5Dcreate2 2020-05-20 09:20:20 -05:00
Allen Byrne
85bf828d0c Correct assignment 2020-05-20 09:20:20 -05:00
Allen Byrne
64da9d289b Fix java include, h5watch and remove clang tool. 2020-05-20 09:20:20 -05:00
Allen Byrne
c054c43a9f Add missing filenames 2020-05-20 09:20:20 -05:00
Chris Hogan
e7895c4b3a Update RELEASE.txt with performance improvements 2020-05-20 09:20:20 -05:00
Allen Byrne
1401be4805 HDFFV-10974 Change defines to eliminate Windows conflict 2020-05-20 09:20:20 -05:00
Chris Hogan
c5a7afb7a0 Add RELEASE.txt entry for Jira 10934 2020-05-20 09:20:20 -05:00
Allen Byrne
271432db35 Add H5Rdestroy calls to cleanup 2020-05-20 09:20:20 -05:00
Allen Byrne
ff35d0e423 Remove problem tests for now 2020-05-20 09:20:20 -05:00
Allen Byrne
ed40350312 Add new test reference 2020-05-20 09:20:20 -05:00
Allen Byrne
768d9897b6 HDFFV-10876 fix compare reference 2020-05-20 09:20:20 -05:00
Allen Byrne
a768dd5a0c HDFFV-10876 ignore old reference API tests 2020-05-20 09:20:20 -05:00
Allen Byrne
7319765239 Add missing quotes 2020-05-20 09:20:20 -05:00
Allen Byrne
82751ecbb9 Fix windows 10 compile error 2020-05-20 09:20:20 -05:00
Allen Byrne
c7fe3b143b Correct indentation 2020-05-20 09:20:20 -05:00
Allen Byrne
70b7848c8e Revert declaration used in macro. 2020-05-20 09:20:20 -05:00
Dana Robinson
fe1f87bc5c Minor tweaks noticed while going over VOL documentation. 2020-05-20 09:20:20 -05:00
Neil Fortner
79557814af Add note to RELEASE.txt for H5Sselect_adjust. 2020-05-20 09:20:20 -05:00
Neil Fortner
9f77be02e5 Add RELEASE.txt note for H5Sselect_project_interesection 2020-05-20 09:20:20 -05:00
Allen Byrne
91a6e37dbc Revert declaration deletion. 2020-05-20 09:20:20 -05:00
Neil Fortner
6d5169c1da Add RELEASE.txt note for HVLget_file_type() 2020-05-20 09:20:20 -05:00