summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Quiets const warnings (#1831)Dana Robinson2022-06-2914-40/+50
|
* Documents Windows badness in H5Pget_external() (#1821)Dana Robinson2022-06-242-1/+13
| | | | | * Documents Windows badness in H5Pget_external() * Added a cast for off_t
* Set a constant in H5SM to UINT_MAX instead of -1U (#1822)Dana Robinson2022-06-231-1/+1
|
* Quiets size warning in large library setting string (#1818)Dana Robinson2022-06-221-28/+39
| | | | | | | | | | * Quiets size warning in large library setting string If the size of this string is a problem, people can build with the embedded library info disabled. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* sprintf to snprintf (#1815)Sean McBride2022-06-225-24/+25
| | | | | | | | | | | * Straightforward conversion of sprintf to the safer snprintf * Trickier conversion of sprintf to safer snprintf This involved minor changes to private function signatures to take the size of the buffer. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Adds notes about off_t sizes on Windows (#1817)Dana Robinson2022-06-221-1/+9
|
* Converts __int64 to LONGLONG in LARGE_INTEGER union members on Windows (#1816)Dana Robinson2022-06-224-4/+4
|
* Various warning fixes (#1812)Sean McBride2022-06-2215-55/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix bugs in parallel selection I/O (#1803)Neil Fortner2022-06-091-40/+44
|
* Add a workaround for buggy PGI C Compiler version 19.10, which quits (#1705)David Young2022-05-081-4/+15
| | | | with the unhelpful and misleading error message `PGC-S-0053-Illegal use of void type` when I put a `static` qualifier on my tables.
* Re-promote some GNU warnings to errors (#1508)David Young2022-05-061-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix a few Clang sanitizer warnings (#1727)jhendersonHDF2022-05-052-12/+23
|
* Fix some const cast and stack/static object size warnings (#1700)jhendersonHDF2022-05-0110-61/+94
| | | | | | | | | * Fix various warnings * Move HDfree_const to H5private.h for wider use * Print output from all ranks in parallel tests on allocation failure * Move const pointer freeing macro to h5test.h for now
* Fix SWMR/refresh bug hidden by library free lists (#1702)jhendersonHDF2022-04-301-4/+10
|
* Be a bit safer with signed arithmetic, thus quieting some signed-overflow ↵David Young2022-04-303-22/+25
| | | | | | | | | | | | | | | | | | | | | | | warnings from GCC (#1706) * Avoid a signed overflow: check the range of `entry_ptr->age` before increasing it instead of increasing it and then checking the range. This quiets a GCC warning. * Avoid the potential for signed overflow by rewriting expressions `MAX(0, fwidth - n)` as `MAX(n, fwidth) - n` for various `n`. This change quiets some GCC warnings. * Change some local variables that cannot take sensible negative values from signed to unsigned. This quiets GCC warnings about potential signed overflow. * In a handful of instances, check the range of a signed integer before increasing/decreasing it, just in case the increase/decrease overflows. This quiets a handful of GCC signed-overflow warnings. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Address some warnings from casting away of const (#1684)jhendersonHDF2022-04-2616-121/+97
|
* Minor things noticed while bringing VFD SWMR in line with develop (#1691)Dana Robinson2022-04-254-13/+12
|
* Warnings fixes (#1680)jhendersonHDF2022-04-2510-28/+33
|
* Replace H5detect's build-time detection of C99 integer properties with a (#1400)David Young2022-04-224-718/+398
| | | | | | | * Replace H5detect's build-time detection of C99 integer properties with a table-driven routine, `H5T__init_native_int()`, that is run at library initialization time.
* Remove H5_NO_ALIGNMENT_RESTRICTIONS (#1426)David Young2022-04-161-74/+20
| | | | | | | | | | | | | | | | | * 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>
* OESS-168: Remove clang warnings. (#1376)H. Joe Lee2022-04-152-3/+3
|
* Retrieve MPI-IO hints used by MPI library after file open (#1636)Wei-keng Liao2022-04-151-0/+49
| | | | | | H5Pget_fapl_mpio() should return an MPI info object containing all the MPI-IO hints used by the MPI library underneath, after the file is opened. Some hints, such as cb_nodes (number of I/O aggregators), are useful for HDF5 applications and I/O libraries built on top of HDF5.
* Fixes a typo in H5.c (#1639)Dana Robinson2022-04-141-1/+1
|
* Fix these Doxygen warnings #1581 (#1589)Allen Byrne2022-04-133-11/+10
|
* Removes unused definitions from module headers (#1624)Dana Robinson2022-04-1138-115/+76
|
* Removes the STATIC flavor of FUNC_ENTER macros (#1622)Dana Robinson2022-04-08221-2213/+2188
| | | | | * Removes the STATIC flavor of FUNC_ENTER macros
* Minor things discovered while preparing 1.12.2 (#1620)Dana Robinson2022-04-081-2/+2
|
* Fix for unexported global variable on Windows (#1568)Dana Robinson2022-04-011-2/+5
|
* spelling fixes (#1561)Scot Breitenfeld2022-03-314-4/+4
|
* Add H5_CHECK_MPI_VERSION macro to check for at least MPI version of ↵jhendersonHDF2022-03-306-18/+27
| | | | | | | | | (version, subversion) (#1556) * Fix MPI version check for MPI_Aint_diff usage * Add H5_CHECK_MPI_VERSION macro Adds new H5_CHECK_MPI_VERSION macro to check for MPI library version/subversion pair of at least the specified pair
* Add missing H5FL_TRACK debug parameters to free list array routines (#1555)jhendersonHDF2022-03-301-6/+12
|
* Minor comment corrections (#1544)Allen Byrne2022-03-303-15/+13
|
* Removes unused H5HP (private heap) package (#1548)Dana Robinson2022-03-304-984/+0
|
* Removes unused memory pool (H5MP) package (#1547)Dana Robinson2022-03-307-861/+1
|
* Removes cruft from a few header files (#1534)Dana Robinson2022-03-297-38/+0
| | | | * Unnecessary extern C guards in cache headers * Non-existent H5Xpublic.h includes hidden behind NOT_YET symbols
* Merge initial version of selection I/O feature into develop (#1367)Neil Fortner2022-03-2630-344/+4528
|
* Removes HD prefix from pthreads calls (#1507)Dana Robinson2022-03-182-89/+38
|
* Fixes a bug in the FSM section merge code exposed by VFD SWMR (#1505)Dana Robinson2022-03-171-1/+1
| | | | | | | | | | From Vailin: Fix the FSM bug when setting the FSM threshold to a non-default value. Check for smaller or larger section size after merging and shrinking a section, for this case is the section that is smaller than threshold (see H5MF_xfree() in H5MF.c). It is possible for the section to be smaller after merging/shrinking (see H5MF__sect_large_shrink() in H5MFsection.c).
* Misc fixes highlighted by the checkposix script (#1499)Dana Robinson2022-03-176-29/+33
|
* Fix JNI bug, fix warnings noticed in MSVC CI, be modern & portable (#1480)David Young2022-03-102-4/+4
|
* Minor tweaks from VFD SWMR normalization (#1474)Dana Robinson2022-03-099-138/+139
|
* Update version to 1.13.2-1 after 1.13.1 release; add new Makefile.in files ↵Larry Knox2022-03-012-4/+4
| | | | | | to MANIFEST (#1460)
* Remove targets PERMISSIONS setting (#1462)Allen Byrne2022-03-011-1/+0
|
* Fix metadata cache bug when resizing a pinned/protected entry (v2) (#1463)jhendersonHDF2022-03-011-6/+67
|
* Fix release check version logic (#1438)Allen Byrne2022-02-241-10/+9
|
* Parallel Compression improvements (#1302)jhendersonHDF2022-02-2412-1596/+4793
|
* Enable creation of RPM/DEB binaries GH#1394 (#1398)Allen Byrne2022-02-221-0/+1
| | | Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Oess 168 utils mirror vfd (#1444)Larry Knox2022-02-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * Committing clang-format changes * Spelling of preceed was corrected to proceed, but should have been corrected to precede. * Correct spelling correction of 'preceed' incorrectly to 'proceed'. It should be 'precede'. * OESS-168: Remove clang warnings. * OESS-168: Address @lrknox and @gnuoyd reviews. * Eliminate clang warnings listed in PR #1310 without adding new ssize_t variables. * Committing clang-format changes * Add H5_ATTR_UNUSED to wait_for_child call. Remove unneeded casts in mirror_log calls. * Keep ssize_t in mirror_server.c line 479. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hyo-Kyung Lee <hyoklee@hdfgroup.org>
* Fix cache sanity checking code by moving functions to wider scope (#1435)jhendersonHDF2022-02-212-99/+88
|
* Fix issue with copying null new references (#1440)Neil Fortner2022-02-185-49/+57
| | | | | | | | * Fix issue with copying null new references. Fix assertion failure when reference copying fails. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>