summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
Commit message (Collapse)AuthorAgeFilesLines
* merge and fix conflictkmu2020-01-231-76/+14
|\
| * Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-72/+0
| |
| * Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2019-12-201-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 uninitizlized warningkmu2020-01-211-2/+2
|/
* Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILEJerome Soumagne2019-11-271-47/+18
| | | | Remove H5F__get_file_id() and use only private routine instead
* Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-081-2/+40
| | | | | | | | | | | 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.
* Add 'blob' callbacks to VOL, along with a native implementation to store themQuincey Koziol2019-10-081-10/+7
| | | | | | | 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.
* Move ext_path field in H5F_t to H5F_shared_t.Vailin Choi2019-08-311-29/+7
| | | | Remove unused routine H5F_set_coll_md_read().
* Move coll_md_read and coll_md_write fields in H5F_t to H5F_shared_t.Vailin Choi2019-08-311-6/+6
|
* Add a 'closing' flag on the shared file struct, and switch several of theQuincey Koziol2019-08-261-0/+3
| | | | "internal" data structures to use it.
* Switch shared file struct name from 'H5F_file_t' to 'H5F_shared_t', to matchQuincey Koziol2019-08-221-10/+10
| | | | naming convention for shared structs in rest of library data structures.
* Begin converting the H5MF interface to use shared file pointers insteadQuincey Koziol2019-08-211-1/+1
| | | | of top file pointers.
* Finish converting H5PB_* routines to use shared file pointer, instead of topQuincey Koziol2019-08-201-3/+3
| | | | file pointer.
* First pass of converting H5PB_* routines to use shared file pointers.Quincey Koziol2019-08-191-1/+1
|
* Partial H5F__accum_* routines.Quincey Koziol2019-08-191-3/+3
|
* Changes based on PR feedback.Vailin Choi2019-08-151-2/+4
|
* Merge pull request #17 in ~VCHOI/my_third_fork from develop to ↵Vailin Choi2019-08-151-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bugfix/HDFFV-10813-swmr-test-fails-on-jelly-with * commit '3a504899eef1a66031c6f52623c24bb4e51ca51e': Correct name of folder Mostly whitespace in testpar, addl changes for tmp dir Whitespace cleanup Added public H5Sselect_adjust_u and H5Shyper_adjust_s calls. Some refactoring prior to implementing new H5P MPI functions. * Macro cleanup and obvious warning fixes in parallel code. * Moved H5FD comm and info dup/free wrapper code to a new H5mpi.c file and separated it to deal with each MPI type separately. Fix compiler warnings with diabled ROS3 and HDFS VFDs. Fix misuse of [HD]strncpy and [HD]snprintf. Minor formatting changes. Fix test cleanup issue with java groups example. Changed the directory name left out from the previous commit. Changed the name of the temporary directory from 'tmp' to a special name to avoid possible conflicts. Fix H5F_get_file_id and H5F__get_file_id to take app_ref parameter HDFFV-10879 fix test varname
| * Fix H5F_get_file_id and H5F__get_file_id to take app_ref parameterJerome Soumagne2019-08-141-5/+5
| | | | | | | | Fix app_ref_count from being incremented when private routines are used
* | Fix for HDFFV-10813 H5Fset_metadata_read_retry_info() test fails on jelly ↵Vailin Choi2019-08-141-1/+1
|/ | | | with PGI/19.
* Added the map (H5M) APIDana Robinson2019-08-131-0/+6
|
* Add H5Sselect_shape_same and H5Sselect_intersect_block API routines, alongQuincey Koziol2019-07-301-1/+1
| | | | with tests and minor cleanups and refactorings.
* Updates to warnhist script, along with a few cleanups, and add some commentsQuincey Koziol2019-07-101-2/+2
| | | | to warning cleanups that are a bit obscure.
* Add support for GCC9, update warnhist script, and clean up warnings.Quincey Koziol2019-07-031-6/+5
|
* Merge pull request #8 in ~VCHOI/my_third_fork from develop to ↵Vailin Choi2019-06-241-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bugfix/new_shutdown_fsm * commit '35fd0ec8ceffe96cee352187154da15c967fb990': Updated H5Tcopy() to get the dataset's datatype through the VOL when that is passed in as the object ID. Fix fortran test and test library linking Update GCC 6 & 7 flags for CMake builds Move -Wnormalized down into GCC 6.x flags Put the memcpy overlap check back into H5MM. Fixed the heap overflow in t_filters_parallel Fixed some low-hanging fruit from -fsanitize in t_filters_parallel. Add lib dir for testing plugins Add support for GCC 7.x warnings, update warnhist script to account for them, clean up warnings. Add H5_HLDLL prefix for windows link HDFFV-10805 cleanup examples and test code Fix minor typo in H5S_select_iter_release Add missing fortran mods HDFFV-10805 Fix test of library libinfo Cleanup possible CMake target conflicts Correct CMake issues
| * Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-0/+2
| | | | | | | | clean up warnings.
* | Checkin for new shutting down free-space manager.Vailin Choi2019-06-201-3/+3
|/
* Added H5Fdelete call and VOL support (but no VFD/native implementation).Dana Robinson2019-06-111-2/+2
|
* Improvements to the H5Fis_accessible() and H5Fis_hdf5() testsDana Robinson2019-04-251-1/+1
| | | | | | in tfile.c. * General code tidying. * Expanded tests to work with multi-file VFDs.
* Set V112 as the latest format and extend the arrays of version bounds.Vailin Choi2019-04-041-1/+1
|
* Merge remote-tracking branch 'origin/develop' into env_vol_loadQuincey Koziol2019-04-031-1/+1
|\
| * Added an H5MM_memcpy call that checks for buffer overlap.Dana Robinson2019-03-161-1/+1
| |
* | Specify the default VOL connector to use with an environment variable.Quincey Koziol2019-03-101-11/+2
|/ | | | | | | | 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.
* Corrected comment in src/H5VLint.c, fixed pass-through info size inQuincey Koziol2019-01-061-21/+23
| | | | | | | src/H5VLpassthru.c, switched to stashing VOL connector ID & info in API context (in src/H5CX.c, src/H5CXprivate.h, src/H5F.c, src/H5Fint.c, and src/H5Fefc.c), patched up all sorts of issues in the tests, to make them work with 'check-vfd' (and 'check-vol' again).
* Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-271-1/+2
|\
| * Moved private native VOL connector functions to H5VLnative_private.h.Dana Robinson2018-12-201-1/+2
| |
* | Merge branch 'develop' of ↵Jacob Smith2018-12-191-1/+2
|\ \ | |/ | | | | https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize
| * Moved the optional enums to H5VLnative.h and converted to an intDana Robinson2018-12-181-0/+1
| | | | | | | | typedef and a set of #defines.
| * Merge branch 'develop' into vol_optional_enum_to_macrosDana Robinson2018-12-181-20/+28
| |\
| | * Correct error from refactoring out H5VL_FILE_CACHE_VOL_CONN callback.Quincey Koziol2018-12-181-18/+15
| | |
| | * Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-12-171-2/+0
| | |\ | | | | | | | | | | | | develop
| * | | Updated enums in VOL va_lists to be passed as ints.Dana Robinson2018-12-181-1/+1
| | |/ | |/|
* | | Move H5Fset_dset_no_attrs_hint VOL operations to native.Jacob Smith2018-12-181-0/+24
| | | | | | | | | | | | | | | Move minimzied object header tests from separate file to test/ohdr.c Some formatting changes.
* | | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-181-51/+29
|\ \ \
| * \ \ Merge pull request #1390 in HDFFV/hdf5 from stackable_vol_fix_06 to developQuincey Koziol2018-12-181-2/+13
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | * commit '3597bd469ff0073134b31765d9b87660cd3e0039': Revert change to MSC_VER, in favor of Dana's Remove H5VL_FILE_CACHE_VOL_CONN from file specific callbacks, as it turns out not to be necessary.
| | * Remove H5VL_FILE_CACHE_VOL_CONN from file specific callbacks, as it turns outQuincey Koziol2018-12-171-2/+13
| | | | | | | | | | | | | | | | | | not to be necessary. Also, correct _MSC_VER #ifdef
| * | Merge pull request #1364 in HDFFV/hdf5 from ↵Dana Robinson2018-12-171-2/+0
| |\ \ | | |/ | |/| | | | | | | | | | | | | ~DEROBINS/hdf5_der:h5i_reference_removal to develop * commit 'e21c1cf7c6ee6dba5dd5bfd1a525227ac1304b53': Removed H5I_REFERENCE from the library. It has always been unused and has been marked 'deprecated' since 1.10.0. Fixes HDFFV-10252.
| | * Removed H5I_REFERENCE from the library. It has always been unusedDana Robinson2018-12-081-2/+0
| | | | | | | | | | | | and has been marked 'deprecated' since 1.10.0. Fixes HDFFV-10252.
| * | Moved the native VOL connector's optional enums to theDana Robinson2018-12-151-1/+1
| |/ | | | | | | | | public headers and renamed to include native/NATIVE in the name.
* | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-121-582/+629
|\ \ | |/
| * Refactor infrastructure for setting FAPL information from environmentQuincey Koziol2018-11-281-1/+0
| | | | | | | | | | | | variables during testing, including connecting native, pass-through, and dynamically loaded VOL connectors. Also bring native and pass-through VOL connectors into alignment, removing the "H5VLnative_private.h" header.