Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update selection IO branch with develop #1215

Merged
merged 77 commits into from
Nov 22, 2021
Merged

Update selection IO branch with develop #1215

merged 77 commits into from
Nov 22, 2021

Commits on Feb 3, 2021

  1. Configuration menu
    Copy the full SHA
    b67893f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5b8c8b View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2021

  1. Configuration menu
    Copy the full SHA
    e0e0163 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Configuration menu
    Copy the full SHA
    268638f View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. fixed typo in error return

    brtnfld committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    c20acc1 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2021

  1. Configuration menu
    Copy the full SHA
    a920bdc View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Configuration menu
    Copy the full SHA
    91d6bcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0550cbb View commit details
    Browse the repository at this point in the history
  3. minor edits

    brtnfld committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    8a42502 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a85e97 View commit details
    Browse the repository at this point in the history
  5. code format

    brtnfld committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    ee3f29f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    50f0b26 View commit details
    Browse the repository at this point in the history
  7. code format

    brtnfld committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    d2d7386 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b94a0fa View commit details
    Browse the repository at this point in the history
  9. minor edit

    brtnfld committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    8bd1e8e View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. Configuration menu
    Copy the full SHA
    c9c62ed View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Configuration menu
    Copy the full SHA
    9c7f8d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00a88df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c22adb View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. Configuration menu
    Copy the full SHA
    5cd709f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08204c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64909d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Configuration menu
    Copy the full SHA
    3095756 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

  1. Configuration menu
    Copy the full SHA
    da2f96e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce7699d View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

  1. Configuration menu
    Copy the full SHA
    ed93ad8 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Configuration menu
    Copy the full SHA
    d0ba058 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. Configuration menu
    Copy the full SHA
    8e63d32 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. OESS-168: Remove clang warnings. (#1075)

    * OESS-168: Remove clang warnings.
    
    * Committing clang-format changes
    
    * OESS-168: Fix CI failure.
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    hyoklee and github-actions[bot] authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    c196bf9 View commit details
    Browse the repository at this point in the history
  2. Move test utilities to utils/test folder (#1109)

    * 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
    byrnHDF authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    6d4d0fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1c4209 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    76c77a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Add release note for HDFFV-11150 fix. (#1106)

    * Add release note for HDFFV-11150 fix.
    
    * Add note about gif tool CVEs.
    lrknox authored Oct 21, 2021
    Configuration menu
    Copy the full SHA
    f9a5750 View commit details
    Browse the repository at this point in the history
  2. Fix map open to use correct VOL argument structure (#1116)

    Fix map iterate by setting key memory type ID field
    jhendersonHDF authored Oct 21, 2021
    Configuration menu
    Copy the full SHA
    bf395da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4600e10 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2021

  1. Removes the "try free" behavior from the skip lists (#1126)

    * Removes the "try free" behavior from the skip lists
    
    This was only used in the ID code when iterating and a callback
    could delete IDs. It is not used anywhere else in the library and
    is now pointless overhead.
    
    Also quiets the const warnings when returning stored elements. They
    only need to be const with respect to the skip list code, which should
    never modify them. The library can do whatever it wants with the elements
    it stored.
    
    * Formatted source
    derobins authored Oct 22, 2021
    Configuration menu
    Copy the full SHA
    b0bd984 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Configuration menu
    Copy the full SHA
    aee9e06 View commit details
    Browse the repository at this point in the history
  2. H5repack tests should fail if a corrupted file causes h5repack to (#1138

    )
    
    * H5repack tests should fail if a corrupted file causes h5repack to
    segfault/core dump.
    
    * Add release note for HDFV-10590, CVE-2018-17432.
    lrknox authored Oct 26, 2021
    Configuration menu
    Copy the full SHA
    8d1fe44 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Configuration menu
    Copy the full SHA
    07a3a1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a762435 View commit details
    Browse the repository at this point in the history
  3. fixed error function string

    brtnfld committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    8a6de0f View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Split dir create into separate macro (#1141)

    * Split dir create into separate macro
    
    * Correct VFD settings
    byrnHDF authored Oct 28, 2021
    Configuration menu
    Copy the full SHA
    fabdce5 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. correct error checking string (#1143)

    * 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
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    brtnfld and github-actions[bot] authored Oct 29, 2021
    Configuration menu
    Copy the full SHA
    9e0f68b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ef6f7b View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. OESS-168: Remove clang warnings. (#1127)

    * OESS-168: Remove clang warnings.
    
    * OESS-168: Address @lrknox clang-format review.
    hyoklee authored Nov 2, 2021
    Configuration menu
    Copy the full SHA
    4aad0fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed3584e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60ed6c0 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Fix Java VOL tests (#1158)

    byrnHDF authored Nov 3, 2021
    Configuration menu
    Copy the full SHA
    81b9d71 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. OESS-168: Remove clang warnings. (#1105)

    * OESS-168: Remove clang warnings.
    
    * Committing clang-format changes
    
    * OESS-168: Address @soumagne review.
    
    * Committing clang-format changes
    
    * OESS-168: Address @soumagne review.
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    hyoklee and github-actions[bot] authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    55ee1fd View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2021

  1. New references for Dimension Scale APIs (#1139)

    * 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>
    jhendersonHDF and Elena authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    93ac9b0 View commit details
    Browse the repository at this point in the history
  2. OESS-168: Remove clang warnings. (#1137)

    * OESS-168: Remove clang warnings.
    
    * OESS-168: Address @derobins review.
    hyoklee authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    57c6fbf View commit details
    Browse the repository at this point in the history
  3. OESS-168: Remove clang warnings. (#1136)

    * OESS-168: Remove clang warnings.
    
    * OESS-168: Address @byrnHDF and @derobinson review.
    hyoklee authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    b3f35a9 View commit details
    Browse the repository at this point in the history
  4. OESS-168: Remove clang warnings. (#1124)

    * OESS-168: Remove clang warnings.
    
    * OESS-168: Remove clang warnings.
    
    * Committing clang-format changes
    
    * OESS-168: Address @derobins review for FALLTHROUGH.
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    hyoklee and github-actions[bot] authored Nov 5, 2021
    Configuration menu
    Copy the full SHA
    a8d03d3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    747c2aa View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. Assume C99 fixed sized ints exist, use them (#470)

    * Committing clang-format changes
    
    * Assume C99 fixed sized ints exist, use them
    
    * Assume H5_SIZEOF_LONG_DOUBLE != 0, `long double` has existed since C89
    
    Note, this is only assuming that `long double` exists, no assumptions about its size have been touched.  Didn't remove any code that does things like test if `long double` and `double` have different sizes.
    
    * Committing clang-format changes
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    seanm and github-actions[bot] authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    9cea7c9 View commit details
    Browse the repository at this point in the history
  2. Add option for h5repack timing (#1142)

    * Add timing option to h5repack
    
    * Adjust help text
    
    * fix format
    
    * fix typos
    
    * Correct spacing
    
    * Change timing to use H5Timer
    
    * Committing clang-format changes
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    byrnHDF and github-actions[bot] authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    6b737bf View commit details
    Browse the repository at this point in the history
  3. Fix the function cast error in H5Dchunk.c and activate (#1170)

    `-Werror=cast-function-type`.  Again.
    gnuoyd authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    e82d39c View commit details
    Browse the repository at this point in the history
  4. Simplify function enter macros for performance benefits (#1024)

    * Take a stab at using constructors to initialize instead of
    function-entry macros.  This is a work in progress.  It's good enough to
    run `many_dsets`.
    
    * Committing clang-format changes
    
    * Add the `many_dsets` benchmark and some scripts I used on jelly for
    setting up the build/test environment and for recording/flame-graphing
    profiles.
    
    * Committing clang-format changes
    
    * Change my Makefile and environment script to work both on jelly
    and on mayll (and probably on Summit).
    
    * Disable clang-format "fix."
    
    * Replace the `if (!H5_TERM_GLOBAL)` test in each FUNC_ENTER_ macro with
    `if (true)`.
    
    * Fix bad grammar in a comment.
    
    * Instead of labeling the H5*__init_package routines constructors, fold
    each into an initialization routine, H5*_init(), and call each of
    the H5*_init() routines.  Call most of the H5*_init() routines from
    H5_init_library() in an explicit order that I found out earlier by
    instrumenting each __init_package routine and running the library
    tests.  Roll H5FD*__init_package routines into H5FD*_init() routines.
    This change ends just-in-time initialization of package dependencies by
    package initializers.
    
    Don't track in per-package variables (H5_PKG_INIT_VAR) whether each
    package has been initialized.  Instead, track in a single library
    variable whether the whole library is initialized or not.
    
    Drive the initialization of packages by H5_init_library() with a table
    of initializer routines.  Also drive the termination of packages by
    H5_term_library() with a table.
    
    Perform initialization as needed from FUNC_ENTER_API_INIT(err).  This
    basically restores the old behavior of that macro.
    
    Delete a bunch of #definitions in H5private.h that have fallen out of
    use with these changes.
    
    * Committing clang-format changes
    
    * Undo the bad auto-formatting that appears to have occurred in spite
    of my disabling it.  Bracket some code in /* clang-format off */ /*
    clang-format on */ to prevent a recurrence.
    
    * Remove a diagnostic abort().
    
    * Fix a logic error: print a comma between every package terminator run,
    and don't print an initial comma.
    
    * Complete the changes I started in H5_term_library() that undo the bad
    auto-formatting.
    
    Stop tracking whether package "tops" were initialized in per-package
    variables H5*_top_package_initialize_s.  H5_term_library() takes care of
    that for them.
    
    Remove H5R_top_term_package() and H5R_term_package(), they don't do
    anything.
    
    * Committing clang-format changes
    
    * NFCI.  Simplify macro text: replace `if (true) {` with `{`.
    
    * Fix formatting and suppress clang-format on a longer range.
    
    * Quiet some unused label, unused variable complaints that cropped up
    after I simplified the FUNC_ENTER_ macros for the sake of performance.
    
    * Committing clang-format changes
    
    * Delete some programs and scripts that don't belong in the pull request.
    
    * Use the right function-entry macro.
    
    * Use a sensible format and disable auto-formatting.
    
    * Stop calling do-nothing initializer H5FS_init().  Delete it.
    
    * Document what changes to make if the default VFD changes.
    
    * While I am here, change an `await_prior` flag on the terminator table
    to `true` to match the previous, non-table-driven code that was here.
    Found the oversight making the following changes:
    
    NFCI: insert an empty line and copy over slightly-edited comments from
    the previous version, where those comments still correctly explained how
    library termination operated.
    
    * NFCI: lower a staircase.
    
    * Replace every occurrence of FUNC_ENTER_NOAPI_INIT(...) with H5_PUSH_FUNC
    since that is all that that macro does any more.
    
    Quiet a bunch of new warnings by changing FUNC_ENTER_NOAPI(...) to
    FUNC_ENTER_NOAPI_NOERR and removing disused `done:` labels.
    
    * NFCI: add curly braces around a multiline statement.
    
    * Quiet a signed/unsigned comparison warning.
    
    * Add some documentation about library initialization and shutdown.
    
    * Make sure that the library is initialized, or else that initialization
    is already underway, before performing any VFD's initialization.
    
    * Committing clang-format changes
    
    * Committing clang-format changes
    
    * Reduce differences from `develop` branch.
    
    * Always initialize `tot_init`.
    
    * Committing clang-format changes
    
    * Fix typo: H5SL_init initializes skip lists, not VOL.
    
    * Remove H5_TERM_GLOBAL test in H5T_init.  H5T_init was unusual in that
    it tested H5_TERM_GLOBAL and exited early if it was set.  No other
    module initializers did that, and I cannot find any reason that should
    be necessary.  Tests still pass when I remove it, so away it goes.
    
    * Use HD prefix.
    
    * Add function header comments.
    
    * Drop the intermediate variable, it's only used once.
    
    * Extract subroutine `H5FDperform_init(hid_t (*init)(void))` that
    initializes the library, if necessary, before calling its VFD-initializer
    argument.  Use H5FDperform_init in the definition of the symbols
    H5FD_<vfd> (e.g., H5FD_SEC2), which may be evaluated before the library
    is initialized, like so:
    
    ```
    ```
    
    I implement H5FDperform_init in its own source file, H5FDperform.c,
    and exclude that file from trace processing because the `bin/trace`
    cannot deal with the function-pointer type.
    
    * Straggler from last: add new source file src/H5FDperform.c.
    
    * Committing clang-format changes
    
    * Add a missing file to the MANIFEST.
    
    * Switch to FUNC_ENTER_API_NOINIT in H5FDperform_init() and hbool_t in
    H5_term_library().
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    gnuoyd and github-actions[bot] authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    a0445d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. Configuration menu
    Copy the full SHA
    b736d44 View commit details
    Browse the repository at this point in the history
  2. Fixes const issues in the version 2 B-trees (#1172)

    The operations that were changed are fundamentally not const since the
    shadow operation can modify the node structure when SWMR is in use.
    derobins authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    25fe28e View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Configuration menu
    Copy the full SHA
    b488eb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a777e30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f12228c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4956cd View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Configuration menu
    Copy the full SHA
    b9da39d View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Configuration menu
    Copy the full SHA
    4475a12 View commit details
    Browse the repository at this point in the history
  2. Make it an error if the library implicitly converts from integer to (#…

    …1165)
    
    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).
    gnuoyd authored Nov 13, 2021
    Configuration menu
    Copy the full SHA
    08b1c6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d224f98 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2021

  1. Move -Werror=int-conversion from error-general to error-5 in (#1194)

    gnu-warnings (unrecognized command line option for gcc 4.85/4.93.
    lrknox authored Nov 14, 2021
    Configuration menu
    Copy the full SHA
    28e9264 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Configuration menu
    Copy the full SHA
    b823ddc View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Github #969 Use stdout instead of file for configure check (#1089)

    * 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
    byrnHDF authored Nov 18, 2021
    Configuration menu
    Copy the full SHA
    aa2f673 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cae59a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56ba9da View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49f7e00 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2021

  1. Stop lying about H5S_t const-ness (#1209)

    Hyperslabs can be reworked inside several H5S callbacks, making H5S_t
    non-const in some places where it is marked const. This change switches
    these incorrectly const H5S_t pointer parameters and variables to
    non-const where appropriate.
    derobins authored Nov 20, 2021
    Configuration menu
    Copy the full SHA
    3a2b3bb View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Configuration menu
    Copy the full SHA
    7d09756 View commit details
    Browse the repository at this point in the history
  2. fixed conflicts

    brtnfld committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    e12a931 View commit details
    Browse the repository at this point in the history