summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-0627-55/+62
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '0a2bb11b248df6841daabca3970df5d8504adfc7': address problems from comments fix and address comments change according to previous comments add missing piece remove unnecessary check macro fix intel compile warnings Revert "fix warnings from Intel compiler" Revert "fix warnings and some text alignment" Revert "let hdf5 pick up the right compiler in Intel environment" Revert "fix issues from previous PR comments" Revert "using a different MACRO" using a different MACRO fix issues from previous PR comments let hdf5 pick up the right compiler in Intel environment fix warnings and some text alignment fix warnings from Intel compiler
| * address problems from commentskmu2019-12-114-4/+5
| |
| * fix and address commentskmu2019-12-115-7/+15
| |
| * change according to previous commentskmu2019-12-102-4/+3
| |
| * add missing piecekmu2019-12-101-0/+1
| |
| * Merge branch 'develop' into bugfix/intel_warningskmu2019-12-0954-394/+972
| |\
| * | remove unnecessary check macrokmu2019-12-0622-35/+34
| | |
| * | fix intel compile warningskmu2019-12-0425-48/+47
| | |
* | | Merge pull request #2228 in HDFFV/hdf5 from ↵Quincey Koziol2020-01-0423-150/+191
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | minor_improvements_from_token_refactor to develop * commit '0225e6d59698c9a720177766794619c7ad273f4a': Small changes from the token_refactoring branch, to reduce the delta to develop
| * | | Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-01-0423-150/+191
| | | |
* | | | Fix some places where H5P_DEFAULT gets passed down to a VOL connectorJordan Henderson2020-01-0315-117/+102
|/ / /
* | | Remove unnecessary H5CX callQuincey Koziol2019-12-211-4/+0
| | |
* | | Refactor H5Dvlen_get_buf_size to use optional dataset operation, with ↵Quincey Koziol2019-12-217-54/+255
| | | | | | | | | | | | generic fallback for VOL connectors that don't implement operation
* | | Cleanups from PR reviewsQuincey Koziol2019-12-204-102/+101
| | |
* | | Refactor all the 'H5VL_*_optional' callbacks to move the type of operation outQuincey Koziol2019-12-2045-1572/+2861
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #2109 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:pread_bugs to ↵Dana Robinson2019-12-173-15/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | develop * commit '99f85cbf15a637768c8df977ddc5eebe7683a60d': Fixed bugs in pread/pwrite I/O in VFDs.
| * | | Fixed bugs in pread/pwrite I/O in VFDs.Dana Robinson2019-12-093-15/+21
| | | | | | | | | | | | | | | | Fixes HDFFV-10945.
* | | | Merge pull request #2086 in HDFFV/hdf5 from ↵Vailin Choi2019-12-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~VCHOI/my_third_fork:bugfix/reference_ver_hyperslab_ver to develop * commit 'b42325e8f5ff3b6bfa2ce446af5b6dc5cbbff666': More fixes for previous committed PR #2079 dated Dec 5 2019. (1) H5O_dtype_ver_bounds[] for V112 should be H5O_DTYPE_VRESION_4 (2) The tests for the new reference types should work for V112 and beyond
| * | | | More fixes for previous committed PR #2079 dated Dec 5 2019.Vailin Choi2019-12-061-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | (1) H5O_dtype_ver_bounds[] for V112 should be H5O_DTYPE_VRESION_4 (2) The tests for the new reference types should work for V112 and beyond
* | | | Modify H5VL initialization routines to initialize all VOL-managed objectNeil Fortner2019-12-1211-2/+153
| | | | | | | | | | | | | | | | | | | | types. Modify H5VLwrap_register() to reject non-VOL-managed object types. Also fix overisights in h5trace.c from previous changes.
* | | | Fix 2010 compile issuesAllen Byrne2019-12-112-624/+624
| | | |
* | | | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-12-073-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9c3900d0bf05a65e59cce6dc613b38b240599d93': Add note to RELEASE.txt for H5Sselect_adjust. Add RELEASE.txt note for H5Sselect_project_interesection Minor tweaks noticed while going over VOL documentation.
| * | | | Minor tweaks noticed while going over VOL documentation.Dana Robinson2019-12-063-6/+6
| |/ / /
* | | | Fix compile errors - mostly in jniAllen Byrne2019-12-061-21/+17
|/ / /
* | | Merge pull request #2076 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:type_fixes to ↵Jerome Soumagne2019-12-058-35/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop * commit '7b03a1c03633d695b487642e54f897c715f8622e': Fix H5VL_token_t type and fix H5VL_loc_by_token to use H5VL_token_t * Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to structs containing those arrays. Encapsulating the arrays in this way makes it easier to write and think about pointers to these types, casts to/from these types, etc.
| * | | Fix H5VL_token_t type and fix H5VL_loc_by_token to use H5VL_token_t *Jerome Soumagne2019-12-057-33/+35
| | | |
| * | | Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char toDavid Young2019-12-051-2/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | structs containing those arrays. Encapsulating the arrays in this way makes it easier to write and think about pointers to these types, casts to/from these types, etc. An interesting side-effect that we probably should *not* rely on is that the struct-encapsulation changes the alignment so that some GCC warnings about casts that increase the alignment requirement of the operand go away. Warnings like that have to be taken seriously: I will add -Werror=cast-align to the default compiler flags so that they stop the build quickly. GCC warnings led me to some surprising casts in test/trefer.c. I found that it was possible to make many simplifications after introducing the struct-encapsulation that I described, above. In test objcopy_ref `same_file` is assigned but never used. Delete it.
* | | Merge pull request #2073 in HDFFV/hdf5 from ↵Neil Fortner2019-12-053-8/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ~NFORTNE2/hdf5_naf:vol_vl_buf_size to develop * commit '12ac0587e7b9b18a56907aa78f68c084dd5b51b4': Implement support for using H5Dvlen_get_buf_size with non-native VOL connectors.
| * | | Implement support for using H5Dvlen_get_buf_size withNeil Fortner2019-12-053-8/+26
| | | | | | | | | | | | | | | | non-native VOL connectors.
* | | | Merge pull request #2079 in HDFFV/hdf5 from ↵Vailin Choi2019-12-053-3/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~VCHOI/my_third_fork:bugfix/reference_ver_hyperslab_ver to develop * commit '1e10b3212ed5904b69d9f4c4bcb4d0122dfd7c77': Two fixes: (1) Set the version for reference datatype messge to H5O_DTYPE_VERSION_4. (2) Verify the decoded version for hyperslab selection.
| * | | | Two fixes:Vailin Choi2019-12-053-3/+8
| | |/ / | |/| | | | | | | | | | | | | | (1) Set the version for reference datatype messge to H5O_DTYPE_VERSION_4. (2) Verify the decoded version for hyperslab selection.
* | | | Merge branch 'develop' of ↵Neil Fortner2019-12-058-51/+36
|\ \ \ \ | |/ / / | | | | | | | | ssh://bitbucket.hdfgroup.org:7999/~nfortne2/hdf5_naf into develop
| * | | Merge pull request #2072 in HDFFV/hdf5 from ↵Dana Robinson2019-12-058-51/+36
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:cpp_warning_disable to develop * commit '1ad02a445920578654d257bb66aa1e8e7e368018': Yanked -Wc++-compat from the flags used to build the C library in both the Autotools and CMake.
| | * | | Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2019-12-048-51/+36
| | |/ / | | | | | | | | | | | | the Autotools and CMake.
* | | | Add H5VL_MAP_OPTIONAL operation id (unused currently).Neil Fortner2019-12-051-1/+2
|/ / /
* | | Merge pull request #2064 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:vol_fillval ↵Neil Fortner2019-12-041-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '28294070597c8a04c10e55a843dfe6dbae6ef04c': Fix issues with using H5Pget_fill_value() with file datatypes retrieved from H5VLget_file_type().
| * | | Fix issues with using H5Pget_fill_value() with file datatypes retrievedNeil Fortner2019-11-271-4/+4
| | | | | | | | | | | | | | | | from H5VLget_file_type().
* | | | Merge pull request #2065 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:scalar_spi2 ↵Neil Fortner2019-12-042-87/+130
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | to develop * commit 'ac1a8ab5fe7c58533e005fef94d3acb2d46f4b31': Add support for scalar dataspaces to H5Sproject_intersection. Add checking for ank validity.
| * | | Add support for scalar dataspaces to H5Sproject_intersection. AddNeil Fortner2019-12-022-87/+130
| | | | | | | | | | | | | | | | checking for ank validity.
* | | | Merge pull request #2066 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to developJordan Henderson2019-12-033-9/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * commit '874900d39561f97c0a41b7efc59686daa66df95e': Add OAPL parameter to H5Rcreate_ APIs
| * | | | Add OAPL parameter to H5Rcreate_ APIsJordan Henderson2019-12-023-9/+40
| |/ / /
* | | | Merge pull request #2049 in HDFFV/hdf5 from ~CHOGAN/hdf5:chogan/issue_10934 ↵Chris Hogan2019-12-022-15/+63
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '3664cea5d6f87a7e8e708191f9cea36077424a80': Fix failing test and retain semantics for chunk cache properties in non-chunked datasets Add two missing calls to H5I_dec_ref for new dapl_id Community-proposed fix
| * | | Fix failing test and retain semantics for chunk cache properties in ↵Chris Hogan2019-11-251-4/+34
| | | | | | | | | | | | | | | | non-chunked datasets
| * | | Add two missing calls to H5I_dec_ref for new dapl_idChris Hogan2019-11-211-4/+7
| | | |
| * | | Community-proposed fixChris Hogan2019-11-182-7/+22
| | | |
* | | | Merge pull request #2063 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:vol_file_cmp ↵Neil Fortner2019-12-015-34/+163
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '40b2658b4b266b4dc65ec3db2897e0aaf54f8e42': Fix missing free in H5T__ref_mem_read() Fix bugs in H5VL file comparison code. Add short circuit success to H5VL_cmp_connector_cls(). Implement file comparison VOL callback. Other changes to allow references to work with non-native connectors. There is a bug somewhere.
| * | | | Fix missing free in H5T__ref_mem_read()Neil Fortner2019-11-291-0/+2
| | | | |
| * | | | Fix bugs in H5VL file comparison code. Add short circuit success toNeil Fortner2019-11-283-10/+16
| | | | | | | | | | | | | | | | | | | | H5VL_cmp_connector_cls().
| * | | | Implement file comparison VOL callback. Other changes to allowNeil Fortner2019-11-274-31/+152
| | |/ / | |/| | | | | | | | | | | | | | references to work with non-native connectors. There is a bug somewhere.
* | | | Merge pull request #2059 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:topic_nullref to ↵Jerome Soumagne2019-11-284-42/+300
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | develop * commit '6b68cc352ffabb5fe997db1eb52216b3ee80e669': H5R: fix H5Tconv to check for null references