summaryrefslogtreecommitdiffstats
path: root/src/H5VLprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge H5Fopen VOL auto-detect feature and latest VOL fixes to 1.12 (#395)jhendersonHDF2021-03-151-1/+1
| | | | | | | * Enable H5Fopen to probe list of available VOL connectors when opening a file * Unwrap file VOL object when destroying file (#308) * Check for wrap context before unwrapping file VOL object in H5F__dest (#325)
* 1 12 merges from develop (#412)Allen Byrne2021-03-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version * Merge workflow and minor changes from develop * Update supported platforms * PR#3 merge from develop * Merge gcc 10 diagnostics option from develop * Merge #318 OSX changes from develop * Merge serval small changes from dev * fix typo * Minor non-space formatting changes * GH #386 copyright corrections for java folder * revert because logic requires false return * Merges from develop #358 patches from vtk #361 fix header guard spelling * Remove case statement for H5I_EVENTSET * Correct call with versioning * Remove tabs * Double underscore change
* Update URL in source file Copyright headers for web copy of COPYINGLarry Knox2021-02-201-1/+1
| | | | file - src and test directories.
* 1 12 Whitespace changes after clang-format run (#288)Allen Byrne2021-01-291-2/+2
| | | | | | | | | | | | | | | | | | | | | * OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version
* Merge PR #274 to 1.12 Branch (#283)Neil Fortner2021-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve performance of multiple calls to H5Sget_select_elem_pointlist (#270) * Cache the pointer to the next point to process after the last call to H5S__get_select_elem_pointlist. This allows the normal process of iterating over the points in batches to be much more efficient, as the library does not need to traverse the entirety of the preceding points every time the funciton is re-entered. * Update RELEASE.txt for point selection iteration performance fix. * Fix problems with vlens and refs inside compound using H5VLget_file_type() (#274) * Fixed problems with vlens and refs inside compound using H5VLget_file_type() * Fix date in RELEASE.txt * Add assertions * Move some manipulation of H5VL_object_t struct fields into the H5VL package. * Add fix that was mistakenly left off merge commit. * Update src/H5Tprivate.h Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Merge VOL framework versioning to 1.12 (#154)Quincey Koziol2020-12-101-2/+3
| | | | | * Enforce VOL framework version compatibility when registering connectors. Also add a version for the connector itself, some refactoring on the register calls, and move the logic for matching / rejecting a VOL connector class from the plugin module to the VOL module. (#151) * Revise VOL framework version compatibility for the 1.12 release branch
* Source formattedAllen Byrne2020-10-011-83/+129
|
* Sync with developDana Robinson2020-08-011-2/+2
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-191-0/+8
|
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2020-01-041-16/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Trivial parameter renaming in VOL API calls.Dana Robinson2019-12-161-2/+2
|
* Revert "Merge branch 'hdf5_1_12' of ↵Jerome Soumagne2019-12-091-2/+2
| | | | | | | https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_12" This reverts commit 9f9336a5bd541752f472bab4c93da8de89f862cd, reversing changes made to 437a1919e7ba60fe75a33a466d264183a0255319.
* Merge branch 'hdf5_1_12' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 ↵Richard Warren2019-12-061-1/+1
|\ | | | | | | into hdf5_1_12
| * Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-12-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | location set to be in a file. Only meant to be used by VOL connectors. Implement H5VLpeek_connector_id() to support connectors querying their own IDs. Fix app_ref with connector IDs in a couple places (external VOLs registered as default through ENV should be visible to the application). Modify vlen and reference interfaces to work with arbitrary VOL connectors. Implement file "post open" specific callback, to enable connectors to update their file structs after a wrap context has been set.
* | Merged HDFFV-10929_2GB_testing to hdf5_1_12Richard Warren2019-12-061-2/+3
|/
* Fix H5VL_blob_get to return size of blobJerome Soumagne2019-10-081-6/+3
| | | | | | | | | | | | | | | | | | | | Fix const in blob API Add H5HG_HEAP_ID_SIZE macro to return native blob size Add maximum size for blobs Fix blob API callbacks to pass VOL file object Add public wrappers for blob VOL API Implement passthrough blob callbacks Update H5Tvlen after callback changes Update trace information for H5VL blob routines Fix public header inclusion in native and passthru headers
* Add 'blob' callbacks to VOL, along with a native implementation to store themQuincey Koziol2019-10-081-0/+8
| | | | | | | in the global heap, and changed the VL datatype conversion code to use blobs. Move encode/decode of sequence lengths into VL datatype callbacks, from native VOL blob routines.
* Added the map (H5M) APIDana Robinson2019-08-131-0/+3
|
* Refactor group creation parameters to take them out of the group creationQuincey Koziol2019-04-251-1/+1
| | | | property list and pass them as normal function parameters.
* Refactor link creation parameters from being passing as properties in theQuincey Koziol2019-04-251-1/+1
| | | | link creation property list to vararg function parameters.
* Refactor attribute creation parameters to move parameters out of creationQuincey Koziol2019-04-251-1/+1
| | | | property list and into function parameters.
* Refactor dataset creation parameters out of the dataset creation propertyQuincey Koziol2019-04-251-1/+1
| | | | list and pass them as regular function parameters.
* Add an 'unwrap' VOL callback, so that connectors can unwrap an underlyingQuincey Koziol2019-04-211-2/+4
| | | | object without closing it. (Especially needed for pass-through connectors)
* Merge remote-tracking branch 'origin/develop' into env_vol_loadQuincey Koziol2019-03-121-3/+11
|\
| * Add API routines to retrieve, restore, reset, and free library state.Quincey Koziol2019-03-111-3/+11
| | | | | | | | | | | | (Primarily for use in the async VOL connector, which has to schedule API operations for future execution and then restore the state of the library when the operation actually executes)
* | Specify the default VOL connector to use with an environment variable.Quincey Koziol2019-03-101-3/+5
|/ | | | | | | | This implicitly adds support for changing the VOL connector for command-line tools or any application linked with the library. Also, add 'make check-vol' support for all directories, clearing up necessary issues in testing scripts, etc.
* Add ID type (of eventual hid_t) to the VOL "wrap" callback.Quincey Koziol2019-02-071-1/+1
|
* Added 'notify' callback for async requests; switched VOL class and infoQuincey Koziol2018-11-281-3/+4
| | | | | | comparison to return comparison value as parameter, so they can return error values; "cancelled" -> "canceled"; switched order of 'wrap_object' and 'free_wrap_ctx' management callbacks.
* Switch loc_params to VOL callbacks to pass struct by pointer instead of byQuincey Koziol2018-11-221-18/+18
| | | | value.
* Add info_to_str and str_to_info "management" callbacks for serializing andQuincey Koziol2018-11-211-0/+8
| | | | deserializing a connector's info object.
* Add VOL connector info to the flie access property list returned fromQuincey Koziol2018-11-181-9/+13
| | | | H5Fget_access_plist(). Also, other misc. cleanups, etc.
* Switch driver | plugin => connector.Quincey Koziol2018-11-041-25/+25
|
* Refactor, standardize, and revise the async request callbacks.Quincey Koziol2018-11-041-3/+5
|
* Refactor and standardize named datatype VOL callbacks.Quincey Koziol2018-11-011-9/+9
|
* Refactor and standardize object VOL callbacks.Quincey Koziol2018-11-011-5/+5
|
* Refactor and standardize the link VOL callbacks. Also fix error stack forQuincey Koziol2018-11-011-6/+6
| | | | testing.
* Refactor and standardize group VOL callbacks.Quincey Koziol2018-11-011-6/+6
|
* Refactor and standarize file object callbacks, including some fixes on theQuincey Koziol2018-10-311-4/+4
| | | | dataset callbacks.
* Convert dataset callbacks to standard form, for wrapping object IDs, etc.Quincey Koziol2018-10-291-9/+9
| | | | Also, fix a few attribute issues that I missed.
* Convert attribute VOL callbacks to a standard form that sets up the wrapperQuincey Koziol2018-10-291-7/+7
| | | | object info in a single place.
* Updates after merging changes from develop.Quincey Koziol2018-10-261-2/+3
|
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-10-251-12/+29
|\ | | | | | | stackable_vol
| * Updates to the VOL ID and object API calls.Dana Robinson2018-10-171-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the H5VL code in line with the H5I code regarding naming, parameter order, etc. Several public API calls were affected by this change. These changed names to reflect their use with VOL drivers: H5VLregister() --> H5VLregister_driver() H5VLregister_by_name() --> H5VLregister_driver_by_name() H5VLunregister() --> H5VLunregister_driver() H5VLis_registered() --> H5VLis_driver_registered() This call was renamed to match H5Iregister(). The order of the first two parameters also reversed and the object pointer is now const. H5VLobject_register() --> H5VLregister()
* | Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-15/+35
|/ | | | modified: test/dsets.c
* VOL FEATUREDana Robinson2018-10-101-0/+132