summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Various warning fixes (#1812)Sean McBride2022-06-224-110/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed -Wreserved-id-macro warnings from header include guards * Removed all __int64 and LL suffix stuff now that C99 is minimum requirement * Rename `H5FD_CTL__` to `H5FD_CTL_` to fix -Wreserved-id-macro warnings Double underscore is reserved in C++ and this public header should be C++ compatible. * Never define __STDC_FORMAT_MACROS anymore Defining it causes a -Wreserved-id-macro. Happily, according to the C++11 standard: "The macros defined by <stdint> are provided unconditionally. In particular, the symbols __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS (mentioned in C99 footnotes 219, 220, and 222) play no role in C++." https://cplusplus.github.io/LWG/issue984 So looks like it's not necessary to define it with reasonably new toolchains. * Fixed some -Wunused-macros warnings, removed dead code * Fixed all -Wdouble-promotion warnings in C++ files * Fixed remaining -Wsuggest-destructor-override warnings * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Develop sync (#1793)Allen Byrne2022-06-093-4/+8
| | | | | * Synch update * Branch sync changes
* Update windows VS2019 and fix comments (#1781)Allen Byrne2022-05-201-2/+2
|
* Use windows ENV var for default install dir setting (#1763)Allen Byrne2022-05-122-2/+2
| | | | | * Use windows ENV var for default install dir setting * Change variable name
* Re-promote some GNU warnings to errors (#1508)David Young2022-05-067-52/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Promote some GCC warnings back to errors and deal with build breakage. I tested configuring and building with GCC 8.3.0 with `.../configure --prefix=$HOME/wrk/install/manydsets --enable-build-mode=production --enable-symbols=-gdwarf-4 --enable-warnings-as-errors --enable-java --enable-hl --enable-fortran --enable-cxx --enable-mirror-vfd --enable-ros3-vfd --enable-direct-vfd` and with the same options but `--enable-build-mode=debug`. * Promote -Wrestrict to -Werror=restrict to help catch overlapping arguments to strcpy, memcpy, et cetera, at compile time. * NFCI: sort lines. * Committing clang-format changes * NFCI: remove whitespace at EOL. * Re-use temporary variable `shared`. * Remove merge oopsie. * Mention that no op codes are understood per review comment. * Change this back to the develop branch's way, since this change isn't integral to the PR. * Committing clang-format changes * NFCI: reduce differences with `develop` branch in the hope that that also kicks off CI. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
* Minor things noticed while merging to 1.10 (#1739)Dana Robinson2022-05-063-73/+73
| | | | | * Minor things noticed while merging to 1.10 * Set HDF5_DRIVER back in string
* Mirror vfd test fixes (#1629)Quincey Koziol2022-04-181-1/+3
| | | | | | | | | | | | | | | | | | | * Use the FAPL that was created earlier in the test (and delete an unused variable). This allows 'make check-vfd' to pass with --enable-mirror-vfd. * Check for testing directory before creating, to avoid warning from bash. Clean out .libs directory before re-using it (after a failed test), to remove any files generated by libtool. * Committing clang-format changes * Increment error count on failed file open and skip tests for VFDs that need modified filenames. * Skip the mirror VFD for 'make check-vfd' - the mirror VFD requires networking configuration parameters and can't be provided for an automated test that is configured with an environment variable. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Remove H5_NO_ALIGNMENT_RESTRICTIONS (#1426)David Young2022-04-163-60/+0
| | | | | | | | | | | | | | | | | * Do not conditionally compile code that uses a pointer dereference and assignment to copy a potentially unaligned variable to aligned automatic storage, or vice versa. Instead, always use naked `memcpy(3)`s. Disassembling the generated code reveals that the `memcpy(3)`s optimize (`-O3`) to a single `mov` instruction for x86_64, which is not strict about alignment. This change reduces the size of code and scripts by 143 lines, eases our way to cross-compilation, and avoids invoking undefined behavior. * Committing clang-format changes * Per discussion, use HD and add comments. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update command format, avoid policy warning (#1550)Allen Byrne2022-03-301-3/+3
|
* Update MacOS configure, bringing it closer to Linux configure (#1554)Quincey Koziol2022-03-301-27/+40
|
* Change ENV to CMake var (#1520)Allen Byrne2022-03-241-2/+1
| | | | | | | * Change ENV to CMake var * Fix typo deletion * Fix typo
* Windows and *nix use different forms for warnings (#1515)Allen Byrne2022-03-243-4/+5
|
* Fixes for format string warnings raised by -Wformat=2/-Wformat-security (#1489)Dana Robinson2022-03-115-26/+9
|
* Update version to 1.13.2-1 after 1.13.1 release; add new Makefile.in files ↵Larry Knox2022-03-011-1/+1
| | | | | | to MANIFEST (#1460)
* Fix install config and java test name conflict (#1467)Allen Byrne2022-03-011-1/+1
|
* Add release note for #1438 (#1457)Allen Byrne2022-02-251-1/+1
| | | | | * Add release note for #1438 * fix typos.
* Parallel Compression improvements (#1302)jhendersonHDF2022-02-241-0/+3
|
* Add SZ filter and adjust compression file names to avoid conflicts (#1434)Allen Byrne2022-02-176-81/+79
| | | | | | | | | * Updated plugins project required adjustments * Updated plugins need to distinguish external libs * Fix missed rename * Use same name for windows as linux - avoid name clash
* Add -showconfig to h5cc scripts to dump libhdf5.settings file (#1391)Allen Byrne2022-02-111-1/+22
| | | | | * Add -showconfig to h5cc scripts to dump libhdf5.settings file * Added note
* Update doc with HDF5_ROOT usage. (#1414)Allen Byrne2022-02-021-2/+2
|
* Replaced several uses of sprintf with safer snprintf (#1383)Sean McBride2022-01-281-2/+2
| | | | | | | * Replaced several uses of sprintf with safer snprintf * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix cmake dynamic analysis on windows (#1373)Allen Byrne2022-01-242-5/+21
| | | | | * Fix sanitizer flag form on windows * Add search paths to windows code-coverage
* Open bsd fixes (#1195)Sean McBride2022-01-201-59/+57
|
* Do not set CMAKE_INSTALL_PREFIX when built externally (#1380)Matt McCormick2022-01-191-1/+1
|
* Update the java slf4j logging jars to latest 1.7.33 (#1369)Allen Byrne2022-01-181-2/+2
|
* Updated README.txt to README.md (#1375)Scot Breitenfeld2022-01-142-4/+4
| | | | | | | | | | | * H5Lexists docs: Removed reference to 1.8.16 since the change is the 1.8.x releases, HDFFV-11289 * H5Oget_info_by_name, name can be any object, not just a group * Converted README.txt to README.md and updated files referring to README.txt to README.md. * removed references to README.txt * updated MANIFEST
* sort out/ref files for line compare (#1337)Allen Byrne2022-01-081-3/+7
|
* Fixed Spelling Errors (#1166)Scot Breitenfeld2021-12-0711-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset * fixed typo in error return * Committing clang-format changes * minor edits * code format * Committing clang-format changes * code format * minor edit * switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging * Committing clang-format changes * changed size_i in printf to reflect the I/O. * Committing clang-format changes * Fixed seg fault with xlf on BE with -qintsize=8 * fixed error function string * spelling corrections via codespell, added new spell check github actions * Committing clang-format changes * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * work around for https://github.com/codespell-project/codespell/issues/2137 * misc * added missing file * misc * misc. * misc * switch to using Codespell with GitHub Actions * misc. * misc. * fixed more sp errors * Fix new typos found by codespell. * fixed proceed with precede * fixed variable in fortran test * fixed minnum * updated spelling list Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Update version to 1.13.1-1 after creation of branch for 1.13.0 release. (#1236)Larry Knox2021-11-301-2/+2
|
* Add support for parallel tools based on the 3rd party library mpiFileUtils ↵rawarren2021-11-293-0/+197
| | | | | | | | | | (libMFU) … (#1177) Adds tool h5dwalk and configure options to enable building it. Co-authored-by: Richard Warren <Richard.Warren@hdfgroup.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Richard.Warren <richard.warren@jelly.ad.hdfgroup.org> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fix Fortran REGEX and newlines (#1226)Allen Byrne2021-11-292-8/+8
| | | | | | | * Fix order of fortran define * fix typo * Fix REGEX and newlines
* Github #969 Use stdout instead of file for configure check (#1089)Allen Byrne2021-11-182-54/+26
| | | | | | | | | | | | | * Use stdout instead of file for configure check * Make change requested by #1157 * Change fortran to use stderr for configure * Correct typo * remove obsolete file check * Fortran statement fix
* Move -Werror=int-conversion from error-general to error-5 in (#1194)Larry Knox2021-11-142-1/+1
| | | gnu-warnings (unrecognized command line option for gcc 4.85/4.93.
* Make it an error if the library implicitly converts from integer to (#1165)David Young2021-11-131-0/+2
| | | | | pointer or from pointer to integer (-Werror=int-conversion). Also, make it an error if the library explicitly converts to pointer from an integer of a different size (-Werror=int-to-pointer-cast).
* Fix the function cast error in H5Dchunk.c and activate (#1170)David Young2021-11-081-4/+1
| | | `-Werror=cast-function-type`. Again.
* New references for Dimension Scale APIs (#1139)jhendersonHDF2021-11-052-25/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable usage of new-style references with dimension scale APIs * Add API to check if an object ID represents a native connector object * Modified code to use new function H5DSwith_new_ref to determine if new references should be used with Dimension Scales. The new function return TRUE if non-native connector is used or if H5_DIMENSION_SCALES_WITH_NEW_REF varible is define at configure time (--enable-dimension-scales-with-new-ref). Tested on jelly. ToDo: generate testing file on BE system and enable the test; add flag to CMake; test netCDF-4 with the new references. * Adding new test files generated on BE system (hedgehog) created by 32 and 64-bit library. test_ds chokes on test_ds_le_new_ref.h5 on BE system; test passes for test_ds_be_new_ref-32bit.h5 for the 32-bit library and fails for the 64-bit library, and vice versa. I am checking the files for further investigation; but current implementation of the new references is not portable between LE and BE systems, and 32 and 64-bit systems. * Minor fixes for testing issues * Update test_ds.c Enabled broken test; tests pass now. * Update RELEASE.txt Documented new option to use new references with the HDF5 dimension scales APIs (H5DS*). * Update MANIFEST for new 32-bit new-style references test file for H5DS APIs * Update 'dimension scales w/ new-style refs' feature based on review Co-authored-by: Elena <epourmal@hdfgroup.org>
* Fix Java VOL tests (#1158)Allen Byrne2021-11-032-302/+6
|
* Set the plugin path to the library default (#1144)Allen Byrne2021-10-291-0/+2
|
* Split dir create into separate macro (#1141)Allen Byrne2021-10-282-1/+4
| | | | | * Split dir create into separate macro * Correct VFD settings
* Github #1019 - add Fortran developer flags (#1090)Allen Byrne2021-10-273-9/+9
|
* Consolidate VFD create list macro (#1132)Allen Byrne2021-10-261-0/+1
|
* Move test utilities to utils/test folder (#1109)Allen Byrne2021-10-205-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move test utilities to utils/test folder * Fix makefile assignment * Add new dir * add new folder * Correct copied makefile * Fix dir typo * Add missing include dir * Remove unnecessary lib link * Correct dependent dirs * Fix conditional checks * Disable test if not built * fix path to executable * Use fixture for swmr_vfd check * Add release note * Correct shell tests and c++ flag warning * Update autotools c++ warning * Fix typo
* To reduce maintenance effort, delete the `noerror-` variants of the compiler ↵David Young2021-10-0613-311/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | flags files (#1033) * Avoid maintenance headaches: delete the `noerror-` variants of the compiler flags files, since they essentially duplicate the `error-` files modulo the replacement of `-Werror=` with `-W` and any changes in comments. (I verified the duplication with a script.) For autoconf, reinstate the use of the `demote_errors` shell function to derive the `noerror-` content from the `error-` content. `demote_errors` replaces `-Werror=` with `-W` when `WARNINGS_AS_ERRORS` is `no`. Slightly reorder `configure.ac` so that the setting of `WARNINGS_AS_ERRORS` takes effect before the `error-` files are sourced. * Take a stab at updating the CMake files to match the changes I made to the autoconf files to remove `noerror-` files. I'm not much of a CMake user so these changes are quite rough. Looks like the duplication can be reduced with the introduction of a new macro. * Delete `noerror-` files from the MANIFEST. * Reduce duplication in the CMake files: perform the HDF5_ENABLE_WARNINGS_AS_ERRORS test once in the ADD_H5_FLAGS macro. * Add a release note.
* VFD plugins (#602)jhendersonHDF2021-09-291-1/+18
| | | | | | | | | | | | | | | | | * Implement support for loading of Virtual File Drivers as plugins Fix plugin caching for VOL connector and VFD plugins Fix plugin iteration to skip paths that can't be opened * Enable dynamic loading of VFDs with HDF5_DRIVER environment variable * Temporarily disable error reporting during H5F_open double file open * Default to using HDstat in h5_get_file_size for unknown VFDs * Use macros for some environment variables that HDF5 interprets * Update "null" and "ctl testing" VFDs
* Update version to 1.13.0-7 after snapshot release 1.13.0-6. (#1048)Larry Knox2021-09-291-1/+1
|
* Update Platforms Tested in RELEASE.txt. (#1045)hdf5-1_13_0-rc6Larry Knox2021-09-281-1/+1
| | | | | | * Update Platforms Tested in RELEASE.txt. Remove Tested Configuration Features Summary for updated replacement. * Set version to 1.13.0-6 for rc6 snapshot.
* Develop cmake install dir (#1041)Allen Byrne2021-09-282-4/+4
| | | | | | | * Corrected path searched by CMake find_package command * Correct path for depend libs * Adjust examples script for install path
* Develop libaec up (#1037)Allen Byrne2021-09-281-1/+7
| | | | | * Upgrade libaec to 1.0.6 * correct include file name
* MS clang needs EHsc flag (#1035)Allen Byrne2021-09-241-2/+2
|
* Need to match clang and versions not just "Clang" (#1029)Allen Byrne2021-09-224-20/+12
|