summaryrefslogtreecommitdiffstats
path: root/src/H5Rint.c
Commit message (Collapse)AuthorAgeFilesLines
* H5R: set app ref when incrementing ref_count on location held by referenceJerome Soumagne2020-01-171-10/+29
| | | | (fix HDFFV-10992)
* Cherry pick of 0225e6d5969Quincey Koziol2020-01-041-10/+10
|
* Cleanups from PR reviewsQuincey Koziol2020-01-041-8/+8
|
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2020-01-041-31/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix 2010 compile issueAllen Byrne2019-12-111-1/+1
|
* Fix H5VL_token_t type and fix H5VL_loc_by_token to use H5VL_token_t *Jerome Soumagne2019-12-091-10/+10
|
* H5R: fix H5Tconv to check for null referencesJerome Soumagne2019-12-091-1/+2
| | | | | | Valid for both deprecated and non-deprecated references Update test
* Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILEJerome Soumagne2019-12-091-3/+3
| | | | Remove H5F__get_file_id() and use only private routine instead
* Fix issue where H5R__reopen_file did not make the file "post open"Neil Fortner2019-12-061-0/+9
| | | | callback.
* Fix encode and decode of tokens in H5VLnativeJerome Soumagne2019-10-111-52/+67
| | | | | | | | Fix encode and decode of deprecated object reference addresses Make H5Rdeprec.c use tokens instead of haddr_t Fix H5Oopen_by_addr() to serialize addr to token
* Add new H5R API that abstracts object, region and attribute reference typesJerome Soumagne2019-10-081-442/+1414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also support references to external files Add new H5T_REF type and type conversion routines Support conversion from H5T_REF_OBJ/DSET_REG to H5T_REF Add H5Treclaim() API to reclaim memory of vlen/reference types Deprecate H5Dvlen_reclaim() Fix H5T_vlen_reclaim() and H5T_reclaim() to use private callback Add H5T_ref_reclaim() Move previous H5R APIs to H5Rdeprec.c Clean up H5Ocopy Separate H5O_copy_expand_ref() to H5Ocopy_ref() Add support for copying new reference types Clean up deprecated routines to go through VOL and same code path Fix return codes in existing trefer.c test Rename trefer.c to trefer_deprec.c trefer.c is for new references Add performance test for trefer Add additional obj_copy_ref test Make use of tokens and blobs to store references Skip blob encoding for object references Start adding new reference examples
* Added the map (H5M) APIDana Robinson2019-08-131-0/+3
|
* Warning fixes:Dana Robinson2019-06-281-2/+1
| | | | | | * fix for static/const flipped in H5Dint.c * Removed missing done target in H5Rint.c * Fixed misleading indentation in h5format_convert.c
* Warning cleanupQuincey Koziol2019-04-251-0/+1
|
* HDFFV-10365: Changes as described in the RFC: H5Sencode/H5Sdecode Format Change.Vailin Choi2019-04-061-0/+3
| | | | This also addresses HDFFV-10255: H5Sencode/decode performance issue.
* Removed H5I_REFERENCE from the library. It has always been unusedDana Robinson2018-12-081-32/+6
| | | | and has been marked 'deprecated' since 1.10.0. Fixes HDFFV-10252.
* Switch switch remainder of API routines to use VOL callbacks.Quincey Koziol2018-11-101-2/+2
|
* Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-11/+3
| | | | modified: test/dsets.c
* VOL FEATUREDana Robinson2018-10-101-2/+1
|
* Normalization with vol_integration (misc internal and datatype)Dana Robinson2018-09-201-9/+7
|
* Removed 'VOL' versions of FUNC_ENTER macros as well as empty functionsDana Robinson2018-09-181-10/+10
| | | | orginally intended to support the full SWMR feature.
* Revert "Merge pull request #1116 in HDFFV/hdf5 from ↵hdftest2018-06-241-2/+2
| | | | | | | ~HDFTEST/hdf5_hft:hdf5_1_10 to develop" This reverts commit e9f476dad47ce593f13dacb77b1cc664d1f24e7b, reversing changes made to 2ff00b1b937ebe36ac6ddf590c16a4c27fc0b053.
* Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-06-141-2/+2
|\
| * Normalization with the vol_integration branch.Dana Robinson2018-06-061-2/+2
| |
* | Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-06-041-9/+8
|\ \ | |/
| * Normalize with vol_integration.Dana Robinson2018-05-291-9/+8
| |
* | Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-05-081-70/+72
|\ \ | |/
| * Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-70/+72
| |
* | Resolve conflicts from previous merge.Vailin Choi2017-12-051-2/+2
|/
* Split internal H5R functionality into H5Rint.c.Dana Robinson2017-11-081-0/+767