summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
Commit message (Collapse)AuthorAgeFilesLines
* VFD SWMR: Normalization with develop (#1078)Dana Robinson2021-10-061-229/+565
| | | Brings many changes from develop, particularly VOL changes for async
* VFD SWMR: Sync with develop (#811)Dana Robinson2021-06-301-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Normalization with develop * Removes checks and work-arounds for strtoll and strtoull (#769) * Removes checks for (v)snprintf, which are C99 (#772) * Update missing release note info. (#776) * Replaces the H5_OVERRIDE macro with override (#773) The macro is no longer necessary now that we require C++11. * Cleans up some POSIX header bits in H5private.h (#783) * Removes outdated checks for ways inline might be defined (#781) These are obsolete now that we require C99. * Removes checks for system(), which is C89/90 (#782) * Removes C++ dependency on H5private.h (#774) * Removes C++ dependency on H5private.h Most C API calls have been removed, aside from a few uses of free, where we just dropped the 'HD'. A couple of H5_ATTR_UNUSED macros were also replaced with (void) statements. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Further simplifies Autotools type size checks (#789) Also fixes an issue where clock_gettime and difftime are not detected due to earlier simplifications of this code. * Release Note (#784) * Normalization of CMake H5pubconf.h with Autotools (#791) Mostly just moving things around and changing the comments to keep the delta small. The only symbol change is that for curl/curl.h which I changed to H5_HAVE_CURL_CURL_H to match the Autotools. This symbol is not used in the library and is just an artifact of the checks. * Fix tools test (#794) * Removes ancient Autotools cruft (#790) * Reorganization of C and POSIX headers in H5public.h & H5private.h (#793) * Reorganization of C and POSIX headers in H5public.h & H5private.h Consolidated and removed duplicates * It turns out Windows has sys/types.h Co-authored-by: Larry Knox <lrknox@hdfgroup.org> * Removes checks for signal and set/longjmp, which are C89 (#798) Also removes checks for setjmp.h and stddef.h * Assume frexpl/f and fabsl/f, which are C99 (#799) * Assume the library has C99 types in C++ type code (#806) * Assume the library has C99 types in C++ type code * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Removes obsolete equivalents of C99's __func__ (#800) * Cleans up POSIX/C bits in H5private.h (#804) * Cleans up POSIX/C bits in H5private.h * Assume difftime exists (C89) * Reorg AC_CHECK_HEADERS so headers are in alphabetical order * Split off networking-related AC_CHECK_HEADERS * Remove unused UNAME_CYGWIN from configure.ac * Remove checks for unused sys/timeb.h * Tidying pass over H5private.h HD prefix macros * Tidy H5win32defs.h * Add HD prefix to various scanf calls * Committing clang-format changes * Fixes to the alarm(2) code used in the tests to make Windows happy Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Brings the tools getopt(3) replacement into the main library (#803) * Moves get_option from the tools library to the C library * Adds H5 prefix to get_option call and variables * Renames the H5_get_option long options struct and enum * Removes type guesses when C99 types are missing (#807) * Assume C99 types exist in H5detect.c (#808) * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Fix typo * Fixes parallel issues from recent C99 changes (#809) * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Even more missed FUNC --> __func__ macros * Removes remaining H5_TIME_WITH_SYS_TIME cruft (#810) Mostly from CMake Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Much normalization with develop (#701)Dana Robinson2021-05-281-115/+578
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Brings CMake updates from develop * Brings reduction in pedantic casts from develop * Purges UFAIL from the library (#637) * Committing clang-format changes * Purges UFAIL from the library * H5HL_insert change requested in PR Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Removes gratuitous (double)x.yF casts (#632) * Committing clang-format changes * Removes gratuitous (double)x.yF casts * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Committing clang-format changes * Cleans up a const warning left over from previous constification (#633) * Committing clang-format changes * Adds consts to a few global variables * Cleans up a const warning left over from previous constification Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Formatted source * Bring over some VOL registration changes * VOL cleanup * H5VL_request_status_t substitutions * H5F.c cleanup * Minor API tweaks from develop * Moves H5G package init/teardown to H5Gint.c * H5G cleanup * H5M cleanup * H5SM cleanup * H5T cleanup * H5R cleanup * H5Lpublic.h cleanup * H5L cleanup * H5O cleanup * H5A, H5CS, and H5AC cleanup * Moved H5A init/teardown code to H5Aint.c * Moves H5D I/O functions to H5D.c * H5D cleanup * Misc minor cleanup * H5P close cleanup * H5Tpublic.h cleanup * Fixes err_compat test * H5PLpublic.h cleanup * Updates H5Ppublic.h * H5Fpublic.h updates * H5A.c cleanup * Brings over H5Aexists and related changes * Brings CMake shell testing changes from develop * Close callback changes * H5R and H5Tcommit normalization * err_compat test works now * H5O tweaks * Updates VOL registration code * Brings over H5VL_create_object * H5Tconv.c reformatting * H5T.c tweaks * Brings datatype and reference updates from develop * Brings VOL plugin loading changes from develop * Brings event sets from develop * Brings async functions over * Tools changes * Brings over many tools changes from develop * Brings VOL flags from develop * Fixes h5dump double/float tests * Updates h5repack tests * Brings h5diff test changes from develop * Last h5dump changes * Brings test changes from develop * Committing clang-format changes * Tidied h5_testing() * Brings chunk iteration code + misc from develop * Updates vds test * Enables external link parallel test * Brings updated property lists from develop * H5G changes from develop * H5MF cleanup * Brings vfd_swmr test back into CMake * Updates threadsafe test * Updates plist test * Brings recent changes from develop Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* More normalization from developDana Robinson2021-05-071-49/+165
|
* Brings trace changes from developDana Robinson2021-04-061-8/+6
|
* Brings file locking changes from developDana Robinson2021-03-251-145/+0
|
* Updates license url and history docsDana Robinson2021-03-251-1/+1
|
* Formats the source and updates the gcc warning pragmasDana Robinson2021-03-251-388/+372
|
* Merge branch 'aug-develop' into aug-merge-attempt/feature/vfd_swmrDavid Young2020-08-041-99/+66
|\
| * Minor normalization with 1.10 branchDana Robinson2020-07-271-79/+55
| |
| * Minor normalizations with HDF5 1.10.Dana Robinson2020-06-071-36/+27
| |
| * Reduce differences between my -Werror branch and `develop`:David Young2020-01-291-5/+5
| | | | | | | | | | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
| * Fix some places where H5P_DEFAULT gets passed down to a VOL connectorJordan Henderson2020-01-031-7/+0
| |
| * Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2019-12-201-43/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Modify H5VL initialization routines to initialize all VOL-managed objectNeil Fortner2019-12-121-0/+24
| | | | | | | | | | types. Modify H5VLwrap_register() to reject non-VOL-managed object types. Also fix overisights in h5trace.c from previous changes.
| * Minor tweaks noticed while going over VOL documentation.Dana Robinson2019-12-061-1/+1
| |
| * Fix issue where H5R__reopen_file did not make the file "post open"Neil Fortner2019-11-121-1/+1
| | | | | | | | callback.
| * Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-081-0/+26
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Fixed an error string typoDana Robinson2019-06-111-1/+1
| |
| * Added H5Fdelete call and VOL support (but no VFD/native implementation).Dana Robinson2019-06-111-5/+68
| |
| * Add trace macro.Quincey Koziol2019-04-121-0/+1
| |
| * Add H5Fget_fileno() API routine.Quincey Koziol2019-04-121-0/+35
| |
| * Corrected comment in src/H5VLint.c, fixed pass-through info size inQuincey Koziol2019-01-061-3/+15
| | | | | | | | | | | | | | 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-281-3/+3
| |\
| | * Squash merge of MDC logging changes.Dana Robinson2018-12-211-3/+3
| | |
| * | 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-4/+5
| |\ \ | | |/ | | | | | | 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.
| | * Updated enums in VOL va_lists to be passed as ints.Dana Robinson2018-12-181-4/+4
| | |
| * | Formatting adjustments.Jacob Smith2018-12-181-5/+0
| | |
| * | Move H5Fset_dset_no_attrs_hint VOL operations to native.Jacob Smith2018-12-181-1/+1
| | | | | | | | | | | | | | | 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-32/+37
| |\ \ | | |/
| | * Moved the native VOL connector's optional enums to theDana Robinson2018-12-151-24/+24
| | | | | | | | | | | | | | | public headers and renamed to include native/NATIVE in the name.
| * | Reformat to be more consistent with existing code.Jacob Smith2018-12-131-26/+7
| | | | | | | | | | | | Fix a few typos.
| * | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-121-662/+780
| |\ \ | | |/
| | * Add VOL connector info to the flie access property list returned fromQuincey Koziol2018-11-181-58/+64
| | | | | | | | | | | | H5Fget_access_plist(). Also, other misc. cleanups, etc.
| | * Switch driver | plugin => connector.Quincey Koziol2018-11-041-15/+15
| | |
| | * Refactor and standarize file object callbacks, including some fixes on theQuincey Koziol2018-10-311-40/+34
| | | | | | | | | | | | dataset callbacks.
| | * Move all callback-related routines into the callback source file, standardizingQuincey Koziol2018-10-281-66/+38
| | | | | | | | | | | | their coding style
| | * Move (final?) file operation from directly calling into library code to usingQuincey Koziol2018-10-271-7/+5
| | | | | | | | | | | | the file_optional VOL callback.
| | * Remove some VOL-specific internal coding.Quincey Koziol2018-10-271-20/+2
| | |
| | * Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-10-251-9/+9
| | |\ | | | | | | | | | | | | stackable_vol
| | | * Updates to the VOL ID and object API calls.Dana Robinson2018-10-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-98/+78
| | |/ | | | | | | | | | modified: test/dsets.c
| | * Fixed a C++ style commenting issue and removed an unused fieldDana Robinson2018-10-121-2/+0
| | | | | | | | | | | | from H5F_trav_obj_ids_t.
| | * VOL FEATUREDana Robinson2018-10-101-366/+267
| | |
| * | Stash work on object header reduction code and tests.Jacob Smith2018-09-111-0/+94
| | | | | | | | | | | | CMake stuff is not verified.
* | | (1) Add public routines H5Fvfd_swmr_end_tick, ↵vchoi2020-06-261-12/+85
| | | | | | | | | | | | | | | | | | H5Fvfd_swmr_disable_end_of_tick, H5Fvfd_swmr_enable_end_of_tick(). (2) Tests for the above APIs.
* | | Reduce differences between my -Werror branch and `develop`:David Young2020-05-201-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.