summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove unsed var,function,macro, etckmu2019-12-0619-101/+37
|
* Merge branch 'develop' of https://git.hdfgroup.org/scm/hdffv/hdf5 into developkmu2019-12-0658-523/+665
|\
| * Merge pull request #2076 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:type_fixes to ↵Jerome Soumagne2019-12-0511-177/+180
| |\ | | | | | | | | | | | | | | | | | | | | | 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-054-144/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-054-4/+9
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~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-054-4/+9
| | | |/ | | |/| | | | | | | | | | | | | (1) Set the version for reference datatype messge to H5O_DTYPE_VERSION_4. (2) Verify the decoded version for hyperslab selection.
| * | | Merge pull request #2078 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:develop to ↵Neil Fortner2019-12-051-1/+2
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | develop * commit '73709ef2fa2494e675566dd3310c6c8ebac01c18': Add H5VL_MAP_OPTIONAL operation id (unused currently).
| | * | Merge branch 'develop' of ↵Neil Fortner2019-12-0537-175/+156
| | |\ \ | | |/ / | |/| | | | | | ssh://bitbucket.hdfgroup.org:7999/~nfortne2/hdf5_naf into develop
| * | | Merge pull request #2072 in HDFFV/hdf5 from ↵Dana Robinson2019-12-0537-175/+156
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~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-0437-175/+156
| | | | | | | | | | | | | | | | | | | | 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 #2070 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor ↵Dana Robinson2019-12-032-0/+12
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | to develop * commit '43c48fbadc994f740f63caeb5110442c79346501': Fixed missing blob callbacks in test VOL connectors.
| | * | | Fixed missing blob callbacks in test VOL connectors.Dana Robinson2019-12-032-0/+12
| |/ / /
| * | | Merge pull request #2066 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to developJordan Henderson2019-12-036-52/+83
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '874900d39561f97c0a41b7efc59686daa66df95e': Add OAPL parameter to H5Rcreate_ APIs
| | * | | Add OAPL parameter to H5Rcreate_ APIsJordan Henderson2019-12-026-52/+83
| | |/ /
| * | | 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 branch 'develop' of https://git.hdfgroup.org/scm/hdffv/hdf5 into developkmu2019-12-0271-701/+976
|\ \ \ \ | |/ / /
| * | | 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-285-46/+304
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | develop * commit '6b68cc352ffabb5fe997db1eb52216b3ee80e669': H5R: fix H5Tconv to check for null references
| | * | H5R: fix H5Tconv to check for null referencesJerome Soumagne2019-11-265-46/+304
| | | | | | | | | | | | | | | | | | | | | | | | Valid for both deprecated and non-deprecated references Update test
| * | | Merge pull request #2050 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:point_spi to ↵Neil Fortner2019-11-271-17/+113
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop * commit 'ad2fbb022e096233444489e69b93343a4b7e9631': Add support for point selections to H5S_select_project_intersection.
| | * | | Add support for point selections to H5S_select_project_intersection.Neil Fortner2019-11-271-17/+113
| | | | |
| * | | | Merge pull request #2057 in HDFFV/hdf5 from ↵Jerome Soumagne2019-11-2716-103/+88
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~JSOUMAGNE/hdf5:topic_get_file_id_native to develop * commit 'f46494ffd8449fc610798c8af312362608029d3d': Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE
| | * | | | Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILEJerome Soumagne2019-11-2716-103/+88
| | | |/ / | | |/| | | | | | | | | | | | Remove H5F__get_file_id() and use only private routine instead
| * | | | Merge pull request #2062 in HDFFV/hdf5 from ↵David Young2019-11-2752-504/+311
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DYOUNG/vchoi_fork:revert-c99-designated to develop * commit '0108072f7a746b809952d5cc560577f931b64f71': Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings level and fixing some code.' (commit 5c911d8baf3)" Revert "Oops, remove more C99 designated initializers for VS 2010 compatibility."
| | * | | | Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-2752-498/+314
| | | | | | | | | | | | | | | | | | | | | | | | level and fixing some code.' (commit 5c911d8baf3)"
| | * | | | Revert "Oops, remove more C99 designated initializers for VS 2010 ↵David Young2019-11-274-14/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | compatibility." This reverts commit f907b511d06612dafc7814a7c30f2f3d2b76d52b.
* | | | | Merge branch 'develop' of https://git.hdfgroup.org/scm/hdffv/hdf5 into developkmu2019-11-27120-944/+2253
|\ \ \ \ \ | |/ / / /
| * | | | Merge pull request #2045 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:select_adjust ↵Neil Fortner2019-11-269-113/+276
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '4e12984b77cdd7615843d94f8de8d54db27476ac': Move checking for zero offset in selection adjust calls to the selection callbacks. This makes the procedure for checking it consistent across selection types and between _s and _u, ensures it is always is performed even when called within the H5S package, and removes the redundant check that would occur when callins H5S_select_adjust_s() from outside the H5S package. Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() with H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
| | * | | | Move checking for zero offset in selection adjust calls to the selection ↵Neil Fortner2019-11-183-87/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | callbacks. This makes the procedure for checking it consistent across selection types and between _s and _u, ensures it is always is performed even when called within the H5S package, and removes the redundant check that would occur when callins H5S_select_adjust_s() from outside the H5S package.
| | * | | | Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() withNeil Fortner2019-11-189-60/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
| * | | | | Merge pull request #2054 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:vol_trivial ↵Dana Robinson2019-11-264-23/+23
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '9a93ecac522d9032efd9cdc39ff0550412e54565': Trivial parameter renaming in VOL API calls.
| | * | | | | Trivial parameter renaming in VOL API calls.Dana Robinson2019-11-254-23/+23
| | | |/ / / | | |/| | |
| * | | | | Merge pull request #2055 in HDFFV/hdf5 from ↵David Young2019-11-254-5/+14
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DYOUNG/vchoi_fork:add-werror-and-squash-some to develop * commit 'f907b511d06612dafc7814a7c30f2f3d2b76d52b': Oops, remove more C99 designated initializers for VS 2010 compatibility.
| | * | | | | Oops, remove more C99 designated initializers for VS 2010 compatibility.David Young2019-11-254-5/+14
| | | | | | |
| * | | | | | Merge pull request #2030 in HDFFV/hdf5 from ↵David Young2019-11-2552-314/+498
| |\ \ \ \ \ \ | | |/ / / / / | | | / / / / | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DYOUNG/vchoi_fork:add-werror-and-squash-some to develop * commit '62208b056a09c01855fbac7f75146be58ad6bfe5': (44 commits) Add an #include to get a function declaration. Don't use C99 designated initializers, they're not compatible with Visual Studio 2010. Quiet some more maybe-uninitialized warnings---each is a false positive, *sigh*. This is more code that may not compile with VS2010, *sigh sigh*. Always warn on maybe-uninitialized. -Wincompatible-pointer-types was not available until GCC 5, so enable it only if that's the GCC version we're using. Only promote maybe-uninitialized warnings to errors on GCC 8. Even on GCC 8, there may be false positives at low optimization levels? I need to check. Only use -Werror=cast-function-type with GCC 8 and later. Put all of the -W options back into the order I found them in so that it's easier to compare old and new config/gnu-flags. Add new source files to CMakeLists.txt. Mention the -Werror= flags in libhdf5.settings.in. free -> HDfree Promote decleration-after-statement warnings to errors. Quiet decleration-after-statement warnings. Move a statement under some declarations since some vintages of Visual Studio don't like declarations after statements. Document H5D__chunk_mem_xfree_wrapper(). Undo accidental test deletion. Oops, delete a debug printf that snuck in here. Undo my changes to the HD macros, hadn't really intended those to be on this branch.... Make errors of some more warnings. Move disabled warnings to DEVELOPER_WARNING_CFLAGS. Put just one warning option on a line, and sort some of the options. Cast to the parameter type, H5VL_token_t *, instead of to unsigned char *. 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. ...
| | * | | | Add an #include to get a function declaration.David Young2019-11-251-0/+1
| | | | | |