summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patches from vtk (#358)Sean McBride2021-02-2520-85/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop the export attribute on forward declaration They don't mean anything on forward declarations anyways. * Fixed -Wunused-parameter warnings in some C++ files Allowed all the attribute #defines to work in C++ also. * Fixed -Wunused-variable warnings by removing dead code * Fixed all -Wshorten-64-to-32 warnings by adjusting casts There was no truncation in fact, since the unsigned result was upcast to size_t then implicitly downcast to uint32_t. * Fixed all -Wcomma warnings by spliting statements onto own lines * Fixed all -Wself-assign warnings with different unused param suppression * Fixed all -Wextra-semi warnings * Fixed all -Wswitch-enum warnings Just added new explicit cases with the existing default case. * Fixed all -Wmissing-prototypes warnings Just made functions static. Moved them into an extern "C" block. * Reformatted source with bin/format_source using clang version 10.0.1 Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fixed many -Wreserved-id-macro warnings by fixing header guard spelling (#361)Sean McBride2021-02-23201-587/+587
| | | | | | | | | | | | | | | | * Fixed many -Wreserved-id-macro warnings by fixing header guard spelling Removed leading underscore(s) from header guard spelling. Used 2 regexes: ` _H5(.*)_H` ` __H5(.*)_H` Applied case-insensitively to only .h files. * Modified scripts that generate header files to not use underscore prefix Interestingly, there was already no leading underscore in the trailing comment at the end of the file * Fixed remaining -Wreserved-id-macro warning not caught by regex
* Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341)Sean McBride2021-02-2210-32/+34
| | | | | | | | | | | | | * Fixed various -Wincompatible-pointer-types-discards-qualifiers warnings by adding const * Fixed various -Wincompatible-pointer-types-discards-qualifiers warning by removing extraneous consts There were casts with const, but the function parameter doesn't actaully take const, so just modified the casts. In the other case, a local variable was const that should not have been, becuase its source wasn't const either. * Fixed a -Wincompatible-pointer-types-discards-qualifiers warning by strdup-ing a string Create a duplicate string instead of mutating a supposedly const one.
* Fixed HDFFV-11150 (#356)bmribler2021-02-192-3/+4
| | | | | | | | Description Replaced an HDassert with a check for null pointer in H5O_dec_rc() to catch null pointer in corrupted data situation. As a result, removed the null check prior to H5O_dec_rc() calls. Platforms tested: Linux/64 (jelly)
* Fix undefined left shifting of negative numbers (#338)Sean McBride2021-02-191-2/+2
| | | Undefined Bahavior Sanitizer errored here about left shifting negative numbers.
* Fixed uninitialized warnings (#360)Sean McBride2021-02-1930-155/+156
| | | | | | | | | | * Fixed all -Wsometimes-uninitialized warnings by initializing variables * Fixed all -Wconditional-uninitialized warnings by initializing variables * Commit alignment changes from running bin/format_source with clang version 10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fixed various clang -Wformat-security warnings (#340)Sean McBride2021-02-193-4/+4
|
* Update license url part2 (#333)Larry Knox2021-02-17994-1003/+1003
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - files not in src or test.
* Update license url (#332)Larry Knox2021-02-17708-710/+710
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - src and test directories.
* Fix for HDFFV-11109 - Copy MPI comm and info object into output FAPL from ↵jhendersonHDF2021-02-176-7/+224
| | | | | | | H5F_get_access_plist (#342) * Avoid freeing MPI_COMM_WORLD in H5_mpi_comm_free * Copy MPI Comm and Info to new FAPL in H5F_get_access_plist
* Fix clang unknown pragma warnings (#337)Sean2021-02-153-3/+12
| | | | | Although clang defines __GNUC__ and supports most gcc warnings, it doesn't support all, and will in fact even warn about an unknown pragma. Guard appropriately.
* Fix cmake syntax error with regex escaping (#336)Sean2021-02-151-1/+1
| | | | | | | | | | | | | Fixes: Syntax error in cmake code at /some/path/hdf5/CMakeLists.txt:240 when parsing string .*#define[ \t]+H5_VERS_SUBRELEASE[ \t]+\"([0-9A-Za-z._\-]*)\".*$ Invalid escape sequence \-
* Detect correct long double size with universal binaires (#335)Sean2021-02-151-4/+19
| | | | | | | On macOS on x86_64, long double is 16 bytes; on macOS on arm64, it's 8 bytes. Use the same existing technique used to properly detect other sizes to now also properly detect the size of long double. For bug #311.
* Check for wrap context before unwrapping file VOL object in H5F__dest (#325)jhendersonHDF2021-02-101-1/+9
|
* Add option to control gcc 10 warnings diagnostics (#321)Allen Byrne2021-02-088-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace * Changes from PR#3 * HDFFV-11213 added option to control gcc10 warnings diagnostics
* Remove prohibition against building Universal Binaries on macOS (#318)Sean2021-02-083-18/+7
| | | Fixes github issue #311.
* Unwrap file VOL object when destroying file (#308)jhendersonHDF2021-02-061-9/+11
|
* Changes for sanitize=address (#312)Allen Byrne2021-02-053-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace * Changes from PR#3
* Fix DS examples (#307)Scot Breitenfeld2021-02-042-2/+5
| | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset
* Ensure processes always synchronize in t_shapesame test setup (#306)jhendersonHDF2021-02-031-16/+6
|
* Fixes bin/trace so it doesn't dirty the repo when autogen runs (#295)Dana Robinson2021-02-033-7/+4
| | | | | * Fixes bin/trace so it doesn't dirty the repo when autogen runs * Put the trace max back to 110 and comment off H5O.c line
* Update supported platforms (#303)Allen Byrne2021-02-034-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace
* Modify VDS code to always open source files with H5F_CLOSE_WEAK close (#291)Neil Fortner2021-01-302-2570/+2689
| | | | degree. Add test cases to VDS test for this, and reduce the amount of output from that test.
* Remove unused AC_REVISION macro from configure.ac (#292)Dana Robinson2021-01-302-2/+2
| | | | | * Fixes a wayward parenthesis in H5TS.c * Removes unmaintained AC_REVISION macro from configure.ac
* develop revert source to clang-format version 11 (#293)Allen Byrne2021-01-29146-724/+724
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction
* develop clang-format comments (#286)Allen Byrne2021-01-272-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes
* Jan ws changes (#282)Allen Byrne2021-01-2711-108/+114
| | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Whitespace fixes except for H5Tprivate.h typo fix
* Small fixes (#285)Allen Byrne2021-01-277-120/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Small changes plus merge of tools arg parse from 1.12
* Java replace switch on string (#273)Allen Byrne2021-01-273-312/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit
* Add H5ESpublic.h to main hdf5.h header (#278)Quincey Koziol2021-01-231-0/+1
|
* Fix problems with vlens and refs inside compound using H5VLget_file_type() ↵hdf5-1_13_0-rc5Neil Fortner2021-01-2213-36/+151
| | | | | | | | | | | | (#274) * Fixed problems with vlens and refs inside compound using H5VLget_file_type() * Fix date in RELEASE.txt * Add assertions * Move some manipulation of H5VL_object_t struct fields into the H5VL package.
* Fixes a wayward parenthesis in H5TS.c (#262)hdf5-1_13_0-rc4Dana Robinson2021-01-201-1/+2
|
* Improve performance of multiple calls to H5Sget_select_elem_pointlist (#270)Neil Fortner2021-01-203-7/+40
| | | | | | | | | * Cache the pointer to the next point to process after the last call to H5S__get_select_elem_pointlist. This allows the normal process of iterating over the points in batches to be much more efficient, as the library does not need to traverse the entirety of the preceding points every time the funciton is re-entered. * Update RELEASE.txt for point selection iteration performance fix.
* 11099 Add help text line (#259)Allen Byrne2021-01-153-0/+10
| | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text
* Fixes naked pthread usage in H5TS code added for async (#260)Dana Robinson2021-01-141-4/+8
|
* Removes lock/unlock callbacks from ros3 and hdfs VFDs (#258)Dana Robinson2021-01-147-48/+164
| | | | | | | | | | | | | | | | * Removes no-op callback stubs from read-only VFDs Also changes VFD registration to allow read-only VFDs with no write callback to be registered. * Adds a RELEASE.txt note for HDFFV-11205 For the read-only VFD registration change * Revert "Removes no-op callback stubs from read-only VFDs" This reverts commit a7a95497305d64d2de783fdb0e3186a532446a4a. * Removes lock callbacks from ros3 and hdfs VFDs
* Reclassify CMake messages - HDFFV-11144 (#253)Allen Byrne2021-01-1325-116/+270
| | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages
* Allow read-only VFD registration (#257)Dana Robinson2021-01-135-280/+33
| | | | | | | | | | * Removes no-op callback stubs from read-only VFDs Also changes VFD registration to allow read-only VFDs with no write callback to be registered. * Adds a RELEASE.txt note for HDFFV-11205 For the read-only VFD registration change
* Keep doxygen comment length under 100 char line length (#247)Allen Byrne2021-01-081-31/+39
| | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace
* Fixes Autotools detection of the st_blocks field in stat (#246)Dana Robinson2021-01-082-3/+12
| | | | | | | | | * Fixes Autotools detection of the st_blocks field in stat The Autotools and CMake will now both correctly determine if the stat struct has the st_blocks field and set H5_HAVE_STAT_ST_BLOCKS appropriately. * Fixes a typo in configure.ac
* Reformat source (#244)Quincey Koziol2021-01-0727-813/+770
|
* Fix error is H5Mclose_async. (#240)Neil Fortner2021-01-052-3/+3
|
* Remove duplicate setting (#236)Allen Byrne2021-01-051-1/+0
| | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Remove duplicate setting
* Modify temporary rpath for testing in java example scripts. (#230)Larry Knox2020-12-294-5/+37
|
* Switch bool/true/false to hbool_t/TRUE/FALSE in a few places (#229)Dana Robinson2020-12-249-45/+45
|
* Doxygen: Added more H5P RM entries (#226)bljhdf2020-12-241-40/+1058
| | | | | | | | | | | * Doxygen - RM entries for H5A, H5S, and H5P APIs * fix issues on ubuntu * added missing H5F_fspace_strategy_t_snip * Doxygen: Add more H5P functions Co-authored-by: hdfhelp <hdfhelp@jelly.ad.hdfgroup.org>
* RM blocks for H5R (#219)bmribler2020-12-235-8/+764
| | | | | | | * Transferred RM blocks in H5D and H5G to develop * Added RM blocks to H5R and added new aliases. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* dev -Update pkgconfig settings with version - #218 (#220)Allen Byrne2020-12-225-10/+10
| | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Pkgconfig fix - #218 * Update all pkgconfig settings with version
* Add compiler flags for GCC 10, along with updating warnhist script to ↵Quincey Koziol2020-12-218-52/+112
| | | | accommodate them. (#217)
* Transferred RM blocks in H5D and H5G to develop (#213)bmribler2020-12-214-18/+1598
|