summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
Commit message (Collapse)AuthorAgeFilesLines
* fix unused related warningskmu2020-05-201-1/+1
|
* Revert "fix warnings from Intel compiler"kmu2020-05-201-1/+1
| | | | This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
* Revert "fix issues from previous PR comments"kmu2020-05-201-1/+1
| | | | This reverts commit d242a900f420b040e364f6c0976c01593e955db3.
* fix issues from previous PR commentskmu2020-05-201-1/+1
|
* fix warnings from Intel compilerkmu2020-05-201-1/+1
|
* Remove unnecessary H5CX callQuincey Koziol2020-05-201-4/+0
|
* Refactor H5Dvlen_get_buf_size to use optional dataset operation, with ↵Quincey Koziol2020-05-201-26/+219
| | | | generic fallback for VOL connectors that don't implement operation
* Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2020-05-201-40/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Implement support for using H5Dvlen_get_buf_size withNeil Fortner2020-05-201-1/+1
| | | | non-native VOL connectors.
* Fix failing test and retain semantics for chunk cache properties in ↵Chris Hogan2020-05-201-4/+34
| | | | non-chunked datasets
* Add two missing calls to H5I_dec_ref for new dapl_idChris Hogan2020-05-201-4/+7
|
* Community-proposed fixChris Hogan2020-05-201-7/+21
|
* Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2020-05-201-2/+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.
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-156/+338
| | | | | | | | including the merge of `hdffv/hdf5/develop`, back to the branch that Vailin and I share. Now I need to put this branch on a fork with a less confusing name than vchoi_fork!
* Merge branch 'develop' of ↵Vailin Choi2018-09-261-189/+92
|\ | | | | | | | | | | | | | | | | | | https://bitbucket.hdfgroup.org/scm/~vchoi/my_hdf5_fork into feature/vfd_swmr Conflicts: src/H5AC.c src/H5F.c src/H5Pfapl.c Resolve conflicts for H5AC.c, H5F.c and H5Pfapl.c
| * Remainder of vol_normalization changes (dataset, attribute, files, objects).Dana Robinson2018-09-241-61/+73
| |
| * Removed 'VOL' versions of FUNC_ENTER macros as well as empty functionsDana Robinson2018-09-181-131/+22
| | | | | | | | orginally intended to support the full SWMR feature.
* | Preliminary checkins for implementation done so far:Vailin Choi2018-08-141-1/+1
|/ | | | | | | | | | | | 1) Public routines: H5Pget/set_vfd_swmr_config 2) Public routine: H5Fvfd_swmr_end_tick 3) Initialization when opening a file with VFD SWMR writer 4) Tests in test/vfd_swmr.c for VFD SWMR 5) Fix a bug in src/H5Fint.c: when error is encountered after the root group is created Note the following: --This is WORK IN PROGRESS and will subject to change as implementation goes. --There is test failure form enc_dec_plist.c: I will fix this when changes to the property list are settled. --The branch is updated with the latest from develop as of 8/14/2018
* Combined macro lines as Dana commentedBinh-Minh Ribler2018-07-161-2/+1
| | | | | Platforms tested: Linux/64 (jelly) (very minor)
* Fixed division-by-zero issuesBinh-Minh Ribler2018-07-161-16/+21
| | | | | | | | | | | Description: Fixed HDFFV-10481 and HDFFV-10477, division by 0. Fixed another occurrence beside what were reported. Also, changed a local variable to avoid an unnecessary cast. Platforms tested: Linux/64 (jelly) Linux/32 (jam) Darwin (osx1010test)
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-2/+2
| | | | | | | | | Description: Applied the typo fixes from user's report. The previous pull request couldn't be merged because it was too old, and it was too complicated for me to resolve conflicts. Platform tested: Linux/64 (jelly) - very minor
* Revert "Merge pull request #1116 in HDFFV/hdf5 from ↵hdftest2018-06-241-1/+1
| | | | | | | ~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-05-081-359/+361
|\
| * Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-04-291-963/+822
| |\ | | | | | | | | | merge_hyperslab_updates
| | * Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-03-181-70/+92
| | |\ | | | | | | | | | | | | | | | | | | | | merge_func_enter_vol Plus initial steps toward merging API context push into FUNC_ENTER_API* macros
| | | * Modifications made based on comments from pull request.Vailin Choi2018-02-071-0/+1
| | | |
| | | * Merge branch develop into bugfix/version_boundsVailin Choi2018-01-121-24/+54
| | | |\
| | | * | Changes made based on code reviews.Vailin Choi2018-01-121-10/+15
| | | | |
| | | * | (1) Merge branch 'develop' into bugfix/version_boundsVailin Choi2017-11-251-497/+325
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (2) Add two new options to h5repack for low and high bounds as in H5Pset_libver_bounds. (3) Modify message pre_copy callbacks so that H5Ocopy can handle version bounds check. (4) Add version bounds check for cache image feature.
| | | * | | Initial checkin for library version boundsVailin Choi2017-10-031-46/+31
| | | | | | | | | | | | | | | | | | | | | | | | Code changes to provide versioning support when adding to the enumerated defines for H5F_libver_t.
| | * | | | Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-363/+364
| | | |/ / | | |/| |
| * | | | Checkpoint normalization against incoming hyperslab / selection / dataspaceQuincey Koziol2017-03-281-5/+5
| | | | | | | | | | | | | | | | | | | | improvements.
* | | | | Needs to sync with lib version and Sencode.M. Scot Breitenfeld2018-03-071-47/+38
| | | | |
* | | | | synced with developM. Scot Breitenfeld2018-01-051-24/+54
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | HDFFV-9724 Corrected files and verified testsAllen Byrne2017-12-281-24/+54
| | | | |
| * | | | Revert "Merge pull request #826 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to ↵lrknox2017-12-221-54/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop" This reverts commit b1223dd653e65e076af92b2dfe236f3704da81c8, reversing changes made to b25f123f5f5e25c1447a6a02861cb7c7265c12f2.
| * | | | HDFFV-9724 combine efc and vds into one functionAllen Byrne2017-12-131-101/+30
| | | | |
| * | | | HDFFV-9724 Initial changes and testAllen Byrne2017-12-111-0/+101
| | |/ / | |/| |
* | | | Fix for daily test failures.Vailin Choi2017-12-071-1/+1
|/ / /
* | | Remove tabsAllen Byrne2017-11-081-516/+344
| |/ |/|
* | Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Jordan Henderson2017-08-111-3/+11
|\ \ | | | | | | | | | develop
| * | Fix for HDFFV-10217 infinite loop in H5VM_power2up().Vailin Choi2017-07-101-3/+11
| | | | | | | | | | | | | | | | | | The function H5VM_power2up() returns the next power of 2 for n. When n exceeds 2^63, it overflows and becomes 0 causing the infinite looping. The fix ensures that the function checks for n >= 2^63 and returns 0.
* | | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Jordan Henderson2017-07-051-103/+107
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6428a637752753cc8a9007c0c3c38b9ea9cc97fd': (165 commits) Skip HDFFV-10160 filenotclosed test for split/multi driver Temporary skip this test for split/multi driver. Further investigation to resolve the failure is needed. Please enter the commit message for your changes. Lines starting More minor whitespace cleanup Fixed a minor comment typo in H5R.c * Reverted removal of H5I_REFERENCE to avoid breaking binary compatibility. * Added a quick H5I_REFERENCE smoke check to test_misc19() in tmisc.c. Added missing free() call to test_misc19(). Purged the unused H5I_REFERENCE from the library. Added a test for VFD IDs to testhdf5. Revert "Partial removal of NDEBUG ifdefs from the library." Partial removal of NDEBUG ifdefs from the library. Removed compiler flag cleanup since Solaris chokes on it. Fix for HDFFV-10160 Modifications to fix the assertion/abort failure when the application does not close the file. Fixed a bug in autotools Fortran processing where a test for the presence of a C long double type always returned true. Updated the --enable-debug/production handling in configure.ac so that it more reliably indicates that the configure option can no longer be used. Previously, using --enable-debug="", etc. would not trigger an error (even though such usage is unlikely). Added awk processing to remove extraneous whitespace from H5_ flags in configure. Fixed a comment in configure.ac HDFFV-10219 another mode change HDFFV-10219 change subset to use BINARY mode for h5dump HDFFV-10219 default input binary to NATIVE Set default of var to NATIVE HDFFV-10219 - disable h5dump tests until h5import NATIVE is fixed ...
| * | Revert "Merge pull request #567 in HDFFV/hdf5 from ↵Dana Robinson2017-06-091-24/+16
| | | | | | | | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:develop to develop" This reverts commit 4242753848c44ab3b5d226e66225eac2f64db314, reversing changes made to b0e79fe6dd20ec7aa1b3e5f0f8b370639a4ef5bd.
| * | * Made STATIC free lists EXTERN for H5O_layout_t.Dana Robinson2017-06-071-1/+1
| | | | | | | | | | | | * Made all non-global instances of H5O_layout_t in H5Pdcpl.c dynamic.
| * | Updated H5O_layout_t dynamic work to use the H5FL interface.Dana Robinson2017-06-071-2/+5
| | |
| * | Made some H5O_layout_t stack allocations dynamic (quiets warnings).Dana Robinson2017-06-061-16/+21
| | |
| * | Fixed many minor warnings.Dana Robinson2017-05-251-97/+103
| | |
| * | Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| |/ | | | | | | | | | | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* | Merge pull request #2 in ~JHENDERSON/hdf5 from HDFFV/hdf5:develop to ↵Jordan Henderson2017-03-101-3/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/parallel_filters * commit '56e5b4ed05fb3bad51c226ec5b567871a45e0bce': (112 commits) updated AM_SILENT_RULES syntax Added a check for AM_SILENT_RULES before enabling it. Fix alignment Fix vds tests Correct result code for strings test Add extension to filename HDFFV-10128 fix string compare and add tests Description: Only format changes: mostly tabs vs. spaces Platforms tested: Linux/64 (jelly) - very minor Lowercase math and set CMake commands Added "flush" and "refresh" to testflushrefresh.sh error output so it's easier to see where errors in the script occur. Misc. small cleanups to sync against incoming page buffering changes. Update CMake formatting Update CMake files and formatting Normalize against incoming page buffering changes. HDFFV-10120 verify nozlib checking with tools tests cmake non-code typo Correct issues from pull request reviews. Corrected version of 4b5e05c084f93c35dae946c2c9e814d565a613b0: Fix some more signed -> unsigned value issues with cache data structures, also misc. style cleanups. All to align w/incoming page_buffering changes. Revert "Fix some more signed -> unsigned value issues with cache data structures, also" Added virtual to list ...