summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
Commit message (Collapse)AuthorAgeFilesLines
* Update Copyright headers. (#2534)Larry Knox2023-03-131-1/+0
|
* clang 13 format #1933 (#1939)Allen Byrne2022-07-271-8/+8
|
* Commit codespell spelling corrections.Larry Knox2022-04-071-1/+1
|
* 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-1/+1
| | | | | | | | | | | | | | | | | | | | | * 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
* Basic alignment with async branch (#115) (#137)Quincey Koziol2020-11-301-33/+25
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Merge changes from developAllen Byrne2020-10-081-145/+0
| | | | | Comments and whitespace Skip file-locking and cache changes
* Source formattedAllen Byrne2020-10-011-375/+356
|
* Sync with developDana Robinson2020-08-011-100/+67
|
* Merge pull request #2338 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_12 to ↵Jordan Henderson2020-02-171-7/+0
|\ | | | | | | | | | | | | hdf5_1_12 * commit '2dbcd87fcddfb519369a368a00acbe8826d5a0eb': Fix some places where H5P_DEFAULT gets passed down to a VOL connector
| * Fix some places where H5P_DEFAULT gets passed down to a VOL connectorJordan Henderson2020-02-011-7/+0
| |
* | Squashed commit of the following:David Young2020-01-311-5/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit ff7a9a34de2fcd78f5d32a1532f3d0e224b20d94 Author: Kimmy Mu <kmu@hdfgroup.org> Date: Wed Jan 29 14:12:18 2020 -0600 Merge pull request #2324 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_12 to hdf5_1_12 * commit '781fa57f6ee816e037dd12fff02d37ff7ec9c2b1': pick up missing piece from merge Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop remove redundent definition Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop Merge pull request #2315 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop missing prototype warning prototype issue Merge pull request #2306 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop Merge pull request #2300 in HDFFV/hdf5 from ~KMU/hdf5:squashed_cast to develop Merge pull request #2291 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/uninitialized to develop Merge pull request #2295 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/float to develop Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to develop Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop commit 9f3d808c05d2a3b308f32c958c6671fcac0a432c Author: David Young <dyoung@hdfgroup.org> Date: Wed Jan 29 11:43:55 2020 -0600 testpar/t_2Gio.c: Fix a typo that I think was introduced by a previous warnings PR. An array element was assigned to itself---shape[2]Â =Â shape[2];---instead of being assigned to chunk[2]. fortran/src/H5Pf.c: move conditional compilation controlled by H5_NO_DEPRECATED_SYMBOLS outside of a function for readability. fortran/src/H5match_types.c: put a variable's declaration under the same conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its use. For now, skip compilation of some unused debug dump routines in the JNI. While I'm in the JNI, delete a set-but-unused variable. src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS so that it's not declared but unused or vice versa. test/cache_common.h: add an #include in to get some symbols we need to avoid implicit declaration warnings. test/dsets.c: use a more conventional conditional-compilation syntax. test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized variables before use. test/vfd.c: pass the expected type of `void **` to posix_memalign(3) instead of `int **`. testpar/t_bigio.c: explicitly compare with 0 instead of using ! when "equal to 0?" is the question not "is false?" Repair some indentation while I'm here. testpar/testpar.h: repair misaligned line-continuation backslashes in a macro that probably should be a function so that we don't have to fiddle with the line continuation to begin with. tools/src/h5repack/h5repack_main.c: fix some compiler fussing about enums. tools/test/perform/pio_engine.c: the compiler fusses if you cast a function call returning double directly to off_t. It's ok if you cast a variable that's a double to off_t, however. Write and use a new function, sqrto(), to avoid the cast warnings. commit 43a4b80b21c0329fbc1f9a0e2854795189f0bb50 Author: David Young <dyoung@hdfgroup.org> Date: Wed Jan 29 10:47:30 2020 -0600 Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required. Reduce gratuitous casts---e.g., (size_t)1. Use the right format string for a pointer. In the H5C sanity checks, change a "size increase" variable from ssize_t (too narrow) to int64_t (wide enough). Parenthesize every appearance of `storage` in the macro `H5D_CHUNK_STORAGE_INDEX_CHK(storage)` so that you can pass in an expression like &sc and it works properly. Disallow re-assignment of the `dset` parameter to H5D__chunk_init() because it helped assure me that it's safe to replace the repeating expression `&dset->shared->layout.storage.u.chunk` with `sc` throughout. Replace lengthy expressions such as `&dset->shared->layout.storage.u.chunk` with `sc` throughout several functions in H5Dchunk.c ISTR that the compiler warned that `sc` was declared but unused in a couple of functions, and then I found that `sc` could be used in many places. Maybe the disused `sc` appeared because a bunch of code was copied and pasted, I don't know. Anyway, it's a lot tighter code now that I use `sc`. In H5D__chunk_update_old_edge_chunks() and H5D__chunk_delete() I actually expand `sc` and another temporary variable, `pline`, because they're used only in !defined(NDEBUG) code. This squashes unused-variable warnings in the defined(NDEBUG) configuration. Don't drop the `volatile` qualification with a cast in tools/src/h5import/h5import.c. commit 035bfa0769a4012881fc659b673bacf44d146537 Author: David Young <dyoung@hdfgroup.org> Date: Tue Jan 28 20:35:28 2020 -0600 Reduce differences between my -Werror branch and `develop`: 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.
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2020-01-041-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.
* Minor tweaks noticed while going over VOL documentation.Dana Robinson2019-12-161-1/+1
|
* Modify H5VL initialization routines to initialize all VOL-managed objectNeil Fortner2019-12-131-0/+24
| | | | | types. Modify H5VLwrap_register() to reject non-VOL-managed object types. Also fix overisights in h5trace.c from previous changes.
* Revert "Merge branch 'hdf5_1_12' of ↵Jerome Soumagne2019-12-091-1/+1
| | | | | | | https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_12" This reverts commit 9f9336a5bd541752f472bab4c93da8de89f862cd, reversing changes made to 437a1919e7ba60fe75a33a466d264183a0255319.
* Merged HDFFV-10929_2GB_testing to hdf5_1_12Richard Warren2019-12-061-0/+26
|
* 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
| |
| * Remainder of vol_normalization changes (dataset, attribute, files, objects).Dana Robinson2018-09-241-256/+516
| |
| * Normalization with vol_integration (misc internal and datatype)Dana Robinson2018-09-201-81/+90
| |
| * Removed 'VOL' versions of FUNC_ENTER macros as well as empty functionsDana Robinson2018-09-181-10/+17
| | | | | | | | orginally intended to support the full SWMR feature.
* | Stash work on object header reduction code and tests.Jacob Smith2018-09-111-0/+94
|/ | | | CMake stuff is not verified.