Commit Graph

20587 Commits

Author SHA1 Message Date
David Young
6bf98769c1 Merge pull request #2403 in HDFFV/hdf5 from ~DYOUNG/werror:h5t_copy-for-1.12 to hdf5_1_12
* commit 'a3462bf164ef3b00e863de64a2a547c76f7adcd4':
  Merge pull request #2325 in HDFFV/hdf5 from ~DYOUNG/werror:h5t_copy to develop
2020-02-26 14:46:13 -06:00
Allen Byrne
2ec2361b9f Update examples and fix version references 2020-02-26 14:03:39 -06:00
Allen Byrne
027b06267d Move MODEL check to before usage in CTestScript.cmake. 2020-02-26 09:50:06 -06:00
Larry Knox
6fadd6dce7 Merge pull request #2406 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to hdf5_1_12
* commit '44003b135f9530f929ff7d2b30c79092704e32a8':
  Change to dynamic allocation for buffer
  Copy generated files instead of creating twice
  Fix standalone link in perform tools
2020-02-25 16:36:34 -06:00
Allen Byrne
44003b135f Change to dynamic allocation for buffer 2020-02-25 16:21:11 -06:00
Allen Byrne
167553f64d Copy generated files instead of creating twice 2020-02-25 16:11:21 -06:00
Allen Byrne
0c1adcc26f Fix standalone link in perform tools 2020-02-25 15:06:21 -06:00
David Young
a3462bf164 Merge pull request #2325 in HDFFV/hdf5 from ~DYOUNG/werror:h5t_copy to develop
Merged per discussion with Elena.

* commit '3f903a441ad84001ea66589728bd8b036b6fdfca':
  Take out the temporary performance tests.
  Make calls through a function pointer.  Use the same number of arguments, always.
  Increase iterations, provide a baseline for no-op, simplify the overhead case a bit.
  Temporarily add some code that measures the time to run the simplest possible H5T__copy_all()-like routine 10 million times and then measures the version with FUNC_ENTER_STATIC/_LEAVE_NOAPI and a HGOTO_ERROR() statement.
  H5T_copy() constification plus Quincey's contributions.
2020-02-25 13:59:52 -06:00
Allen Byrne
855dcfb564 Merge pull request #2399 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to hdf5_1_12
* commit '6b1e2d835fbbdbea242443837b3694f48e89591a':
  Fix Fortran macro use and jni comment
2020-02-25 09:40:23 -06:00
Allen Byrne
6b1e2d835f Fix Fortran macro use and jni comment 2020-02-25 09:21:14 -06:00
Allen Byrne
2ce1c8f4a2 Merge pull request #2395 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to hdf5_1_12
* commit 'ab88352ac262e3b8240c30711b9243e5bdcc5462':
  Update Windows platforms
  HDFFV-11036 - Corrected CMake test by adding file compare script
2020-02-24 15:33:00 -06:00
Allen Byrne
ab88352ac2 Update Windows platforms 2020-02-24 13:55:06 -06:00
Allen Byrne
3f4ba263bb HDFFV-11036 - Corrected CMake test by adding file compare script 2020-02-24 13:24:31 -06:00
Allen Byrne
8544c6b399 Merge pull request #2391 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to hdf5_1_12
* commit '5b5ff6ee094033f2ecd974b8e0bdaac2b0c7e617':
  Correct usage of add_compile_definitions
  Merge changes from develop mostly cmake 3.12 minimum version
  Merge changes from develop for CMake and Java
2020-02-24 07:50:16 -06:00
Allen Byrne
5b5ff6ee09 Correct usage of add_compile_definitions 2020-02-23 16:21:35 -06:00
Allen Byrne
9ed096fb39 Merge changes from develop mostly cmake 3.12 minimum version 2020-02-23 11:55:47 -06:00
Jordan Henderson
3a0c562aea Merge pull request #2387 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_12 to hdf5_1_12
* commit '34e9f449cca2d03629e70efa1a12332f5e7660b7':
  Partial fix for HDFFV-10792
2020-02-21 18:33:03 -06:00
Allen Byrne
a6706e3a78 Merge changes from develop for CMake and Java 2020-02-21 15:41:05 -06:00
Jordan Henderson
34e9f449cc Partial fix for HDFFV-10792 2020-02-21 14:55:29 -06:00
Scot Breitenfeld
7daf7d4a0b Merge pull request #2380 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_12 to hdf5_1_12
* commit 'e8285ad6b1ecbbe7159d2526277e5f0316932b2a':
  update HDFFV-11029
  Corrected INTERFACE INTENT(IN) to INTENT(OUT) for buf_size
2020-02-19 12:35:26 -06:00
M. Scot Breitenfeld
e8285ad6b1 update HDFFV-11029 2020-02-18 17:24:26 -06:00
M. Scot Breitenfeld
055e699cdf Corrected INTERFACE INTENT(IN) to INTENT(OUT) for buf_size 2020-02-18 16:59:40 -06:00
Jordan Henderson
e5452e7ff2 Merge pull request #2338 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_12 to hdf5_1_12
* commit '2dbcd87fcddfb519369a368a00acbe8826d5a0eb':
  Fix some places where H5P_DEFAULT gets passed down to a VOL connector
2020-02-17 14:07:20 -06:00
Allen Byrne
d45139a58e Merge pull request #2373 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to hdf5_1_12
* commit 'ec4da2d649726e8d0d2671201b1bb4c1f11f3e96':
  Update release note
2020-02-11 15:24:31 -06:00
Scot Breitenfeld
da16fc85eb Merge pull request #2370 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_12 to hdf5_1_12
* commit '08737e596da4c4e3d9917c84be7fc2269e02f63c':
  HDFFV-11018 Add Fortran H5F_LIBVER_V*_F definitions
2020-02-11 15:12:06 -06:00
Allen Byrne
ec4da2d649 Update release note 2020-02-11 13:56:19 -06:00
M. Scot Breitenfeld
08737e596d HDFFV-11018 Add Fortran H5F_LIBVER_V*_F definitions
Added
------
New Definitions:

  INTEGER :: H5F_LIBVER_ERROR_F
  INTEGER :: H5F_LIBVER_NBOUNDS_F
  INTEGER :: H5F_LIBVER_V18_F
  INTEGER :: H5F_LIBVER_V110_F
  INTEGER :: H5F_LIBVER_V112_F

New API:
  h5pget_libver_bounds_f(fapl_id, low, high, hdferr)

Removed:
  call to C wrapper h5pset_libver_bounds_c in h5pset_libver_bounds_f
2020-02-11 12:10:56 -06:00
Muqun Yang
ea93dac697 Merge pull request #2365 in HDFFV/hdf5 from ~MYANG6/hdf5-develop:hdf5_1_12 to hdf5_1_12
* commit '47fa9d17898fb6f9edec6e9642dc1853bb003417':
  HDFFV-11014, fix the h5repack issue that misses a few attributes during the repacking. The flag that checks the object reference attribute is not updated properly. The fix is trivial. Just need to move the flag update line into the inner loop. Tested at Jelly. Also update the release.txt.
2020-02-10 15:29:41 -06:00
Muqun Yang
47fa9d1789 HDFFV-11014, fix the h5repack issue that misses a few attributes during the repacking. The flag that checks the object reference attribute is not updated properly. The fix is trivial. Just need to move the flag update line into the inner loop. Tested at Jelly. Also update the release.txt. 2020-02-10 13:59:15 -06:00
Allen Byrne
891e45f88e Merge pull request #2344 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to hdf5_1_12
* commit '7541b6abb9b679c32dbba70bec51807ca4165cdc':
  HDFFV-11012 fix fortran include properties
  HDFFV-10996 merge java vol tests from develop
2020-02-05 09:57:06 -06:00
Allen Byrne
7541b6abb9 HDFFV-11012 fix fortran include properties 2020-02-05 09:40:42 -06:00
Allen Byrne
21f11e240b HDFFV-10996 merge java vol tests from develop 2020-02-04 11:43:45 -06:00
David Young
5cac69efe8 Merge pull request #2334 in HDFFV/hdf5 from ~DYOUNG/werror:hdf5_1_12-warnings-squashed to hdf5_1_12
* commit 'd42bee368850f0bf47ee3a708e3c5d8b7119a632':
  Squashed commit of the following:
2020-02-04 11:00:46 -06:00
Jordan Henderson
2dbcd87fcd Fix some places where H5P_DEFAULT gets passed down to a VOL connector 2020-02-01 17:54:59 -06:00
Larry Knox
20ebc34e01 Merge pull request #2337 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_12 to hdf5_1_12
* commit '4475757f93a29ff5209f8ec3187f6ecbf1a67a08':
  Merge pull request #2312 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
2020-02-01 13:08:27 -06:00
Larry Knox
4475757f93 Merge pull request #2312 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '1c812fcd5d475afb7e65ed28d84990f96eefa649':
  Restore fix of test assert fail eror undone by later commit.
2020-01-31 23:03:35 -06:00
David Young
d42bee3688 Squashed commit of the following:
commit ff7a9a34de2fcd78f5d32a1532f3d0e224b20d94
Author: Kimmy Mu <kmu@hdfgroup.org>
Date:   Wed Jan 29 14:12:18 2020 -0600

    Merge pull request #2324 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_12 to hdf5_1_12

    * commit '781fa57f6ee816e037dd12fff02d37ff7ec9c2b1':
      pick up missing piece from merge
      Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
      remove redundent definition
      Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
      Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
      Merge pull request #2315 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop
      missing prototype warning
      prototype issue
      Merge pull request #2306 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop
      Merge pull request #2300 in HDFFV/hdf5 from ~KMU/hdf5:squashed_cast to develop
      Merge pull request #2291 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/uninitialized to develop
      Merge pull request #2295 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/float to develop
      Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to develop
      Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop

commit 9f3d808c05d2a3b308f32c958c6671fcac0a432c
Author: David Young <dyoung@hdfgroup.org>
Date:   Wed Jan 29 11:43:55 2020 -0600

    testpar/t_2Gio.c: Fix a typo that I think was introduced by a
            previous warnings PR.  An array element was assigned to
            itself---shape[2]Â =Â shape[2];---instead of being assigned to
            chunk[2].

    fortran/src/H5Pf.c: move conditional compilation controlled by
            H5_NO_DEPRECATED_SYMBOLS outside of a function for readability.

    fortran/src/H5match_types.c: put a variable's declaration under the same
            conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its
            use.

    For now, skip compilation of some unused debug dump routines in the JNI.
    While I'm in the JNI, delete a set-but-unused variable.

    src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS
            so that it's not declared but unused or vice versa.

    test/cache_common.h: add an #include in to get some symbols we need to
            avoid implicit declaration warnings.

    test/dsets.c: use a more conventional conditional-compilation syntax.

    test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized
            variables before use.

    test/vfd.c: pass the expected type of `void **` to posix_memalign(3)
            instead of `int **`.

    testpar/t_bigio.c: explicitly compare with 0 instead of using ! when
            "equal to 0?" is the question not "is false?"  Repair some
            indentation while I'm here.

    testpar/testpar.h: repair misaligned line-continuation backslashes in a
            macro that probably should be a function so that we don't have
            to fiddle with the line continuation to begin with.

    tools/src/h5repack/h5repack_main.c: fix some compiler fussing about
            enums.

    tools/test/perform/pio_engine.c: the compiler fusses if you cast a
            function call returning double directly to off_t.  It's ok if
            you cast a variable that's a double to off_t, however.  Write
            and use a new function, sqrto(), to avoid the cast warnings.

commit 43a4b80b21c0329fbc1f9a0e2854795189f0bb50
Author: David Young <dyoung@hdfgroup.org>
Date:   Wed Jan 29 10:47:30 2020 -0600

    Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.

    Reduce gratuitous casts---e.g., (size_t)1.

    Use the right format string for a pointer.

    In the H5C sanity checks, change a "size increase" variable from ssize_t
    (too narrow) to int64_t (wide enough).

    Parenthesize every appearance of `storage` in the macro
    `H5D_CHUNK_STORAGE_INDEX_CHK(storage)` so that you can pass in an
    expression like &sc and it works properly.

    Disallow re-assignment of the `dset` parameter to H5D__chunk_init()
    because it helped assure me that it's safe to replace the repeating
    expression `&dset->shared->layout.storage.u.chunk` with `sc` throughout.

    Replace lengthy expressions such as
    `&dset->shared->layout.storage.u.chunk` with `sc` throughout several
    functions in H5Dchunk.c ISTR that the compiler warned that `sc` was
    declared but unused in a couple of functions, and then I found that `sc`
    could be used in many places.  Maybe the disused `sc` appeared because a
    bunch of code was copied and pasted, I don't know.  Anyway, it's a lot
    tighter code now that I use `sc`.

    In H5D__chunk_update_old_edge_chunks() and H5D__chunk_delete()
    I actually expand `sc` and another temporary variable, `pline`,
    because they're used only in !defined(NDEBUG) code.  This squashes
    unused-variable warnings in the defined(NDEBUG) configuration.

    Don't drop the `volatile` qualification with a cast in
    tools/src/h5import/h5import.c.

commit 035bfa0769a4012881fc659b673bacf44d146537
Author: David Young <dyoung@hdfgroup.org>
Date:   Tue Jan 28 20:35:28 2020 -0600

    Reduce differences between my -Werror branch and `develop`:

    Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC
    shadowed declaration warnings about index(3).

    Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's
    H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
2020-01-31 13:53:26 -06:00
Allen Byrne
561a0c8ff5 Merge pull request #2331 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to hdf5_1_12
* commit 'a29f9e8451ffa391c8395db1142bd003f40f3aaa':
  Merge changes from develop to fix various issues
  Remove commented flags
  Revert accidental change
  Chnage tools debug macros to not use the error stack
  Create common warnings for build systems
2020-01-31 10:53:42 -06:00
Jordan Henderson
cd8ca92f58 Merge pull request #2327 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_12 to hdf5_1_12
* commit 'edec1f017d1ca7679058357bf01c62355a1120fd':
  Introduce new H5VL _by_value routines
2020-01-30 14:58:19 -06:00
Allen Byrne
a29f9e8451 Merge changes from develop to fix various issues 2020-01-30 14:33:47 -06:00
Jordan Henderson
edec1f017d Introduce new H5VL _by_value routines 2020-01-29 16:59:41 -06:00
Allen Byrne
1531c49730 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_12)
* commit '8c60f6264c46cd9155ce34e12e29e9b0272c0c67':
  pick up missing piece from merge
  Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
  remove redundent definition
  Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
  Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
  Merge pull request #2315 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop
  missing prototype warning
  prototype issue
  Merge pull request #2306 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop
  Merge pull request #2300 in HDFFV/hdf5 from ~KMU/hdf5:squashed_cast to develop
  Merge pull request #2291 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/uninitialized to develop
  Merge pull request #2295 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/float to develop
  Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to develop
  Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop
2020-01-29 14:14:54 -06:00
Kimmy Mu
8c60f6264c Merge pull request #2324 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_12 to hdf5_1_12
* commit '781fa57f6ee816e037dd12fff02d37ff7ec9c2b1':
  pick up missing piece from merge
  Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
  remove redundent definition
  Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
  Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
  Merge pull request #2315 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop
  missing prototype warning
  prototype issue
  Merge pull request #2306 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop
  Merge pull request #2300 in HDFFV/hdf5 from ~KMU/hdf5:squashed_cast to develop
  Merge pull request #2291 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/uninitialized to develop
  Merge pull request #2295 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/float to develop
  Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to develop
  Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop
2020-01-29 14:12:18 -06:00
kmu
781fa57f6e pick up missing piece from merge 2020-01-29 13:01:30 -06:00
Kimmy Mu
63d8c003c6 Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
* commit '406330addf45529ecdd088f4d22e9aab9a03661d':
  rename macro
  change condition
  pick up from Dave's fix
  leave Wswitch-default for later fix
  fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow
2020-01-29 12:04:46 -06:00
Allen Byrne
e68d42f8fd Remove commented flags 2020-01-29 11:01:43 -06:00
Allen Byrne
e766d853ed Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_12)
* commit '91d29817413e00f1dcd006d13790df6ce7aeb5c0':
  Update version to 1.12.1-snap0 for hdf5_1_12 branch.
2020-01-28 16:12:57 -06:00
kmu
46f76d06d7 remove redundent definition 2020-01-28 16:01:52 -06:00
Kimmy Mu
f1cc5cfd7e Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
* commit '406330addf45529ecdd088f4d22e9aab9a03661d':
  rename macro
  change condition
  pick up from Dave's fix
  leave Wswitch-default for later fix
  fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow
2020-01-28 16:01:12 -06:00
Larry Knox
91d2981741 Merge pull request #2316 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_12 to hdf5_1_12
* commit '3ecbb767c32065cb0d4f2862488fad484b3767a4':
  Update version to 1.12.1-snap0 for hdf5_1_12 branch.
2020-01-28 15:59:02 -06:00