Commit Graph

21626 Commits

Author SHA1 Message Date
Allen Byrne
2c0c5c31fe Doxygen correct PHONY target 2020-11-03 15:41:34 -06:00
Larry Knox
5b5a1a8102
Merge pull request #72 from jhendersonHDF/develop
Change H5R__copy to not assume destination reference storage is initi…
2020-11-03 14:52:09 -06:00
Allen Byrne
d6c92bde00 Doxygen add new files and update docs 2020-11-03 12:23:06 -06:00
Allen Byrne
4f7bb20a8f Doxygen remove obsolete file 2020-11-03 10:43:51 -06:00
Allen Byrne
c812f3fea2 Add doxygen auotoconf and cmake support 2020-11-03 10:42:09 -06:00
Jordan Henderson
0b6067574b Change H5R__copy to not assume destination reference storage is initialized 2020-11-02 21:03:46 -06:00
Larry Knox
dc47bb7084
Merge pull request #69 from xantares/mingw3
CMake: Add an option to opt-out static libgcc
2020-11-02 07:44:44 -06:00
Larry Knox
3c42c49a02
Merge pull request #67 from xantares/mingw1
CMake: Set specific INSTALL_DATA_DIR only on MSVC
2020-10-31 10:54:36 -05:00
Larry Knox
b4ef77e652
Merge pull request #70 from xantares/mingw4
CMake: MINGW implies WIN32
2020-10-31 07:18:04 -05:00
Michel Zou
7259b5eb7a CMake: Add an option to opt-out static libgcc
With sjlj exception model, statically link to libgcc/libstdc++
prevents exceptions to be caught from other dynamic libraries.
2020-10-31 10:31:38 +01:00
Larry Knox
d8b7b3593b
Merge pull request #68 from xantares/mingw2
CMake: Add an option to opt-out MSVC naming convention
2020-10-30 18:41:38 -05:00
Larry Knox
747cecb069
Merge pull request #65 from derobins/minor/mpi_2gb_limit
Fixes a bit shift issue in an MPI constant
2020-10-30 10:53:07 -05:00
Larry Knox
42d4ceac67
Merge pull request #66 from derobins/minor/HD_to_H5MM
Replaces C standard library memory calls with H5MM equivalents
2020-10-30 10:52:42 -05:00
Michel Zou
0db1fe81d5 CMake: MINGW implies WIN32 2020-10-30 16:09:28 +01:00
Michel Zou
de4ccdfd63 CMake: Add an option to opt-out MSVC naming convention
We might want to keep the default mingw import name, see:
https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-hdf5/hdf5-default-import-suffix.patch
2020-10-30 13:19:18 +01:00
Michel Zou
0e9981aa59 CMake: Set specific INSTALL_DATA_DIR only on MSVC
For MinGW we want INSTALL_DATA_DIR to be set to share instead of .
to properly install files in a standard package layout.
2020-10-30 10:46:56 +01:00
Dana Robinson
16eab69bcd Replaces C std library calls with H5MM equivalents
Mostly H5MM_memcpy in newer VFDs
2020-10-29 17:17:15 -07:00
Dana Robinson
1e93bbc183 Fixes a bit shift issue in an MPI constant
Redefines TWO_GIG_LIMIT to be INT32_MAX instead of 1 << 31, which
fixes an issue revealed by compiling with -Wshift-overflow.
2020-10-29 16:28:38 -07:00
Larry Knox
6c0f954d68
Merge pull request #62 from byrnHDF/develop
HDFFV-10868 - add H5Sselect API java wrappers.
2020-10-29 16:29:17 -05:00
Larry Knox
ad174fcca5
Merge pull request #64 from derobins/minor/vfd_warning_cleanup
Fixes minor issues in various virtual file drivers
2020-10-29 14:59:13 -05:00
Allen Byrne
a4cbd51db6 HDFFV-10868 Corrections from review 2020-10-29 13:14:51 -05:00
Dana Robinson
2266ee56c3 Fixes minor issues in various virtual file drivers
- HDFS VFD files now ignored in the Autotools when the HDFS VFD is not
  being built.
- All VFD init code uses idiomatic H5I_INVALID_HID instead of -1
  or FAIL.
- The HDFS VFD now includes H5FDdrvr_module.h in the right place.
- The HDFS tests in test/hdfs.c no longer pass NULL to VERIFY macros, which
  raised warnings.
- Minor tweaks to fix const, unused variables, etc. warnings in
  several VFDs.
2020-10-28 23:50:37 -07:00
Allen Byrne
ba00760d7a HDFFV-10868 - add note 2020-10-28 07:06:01 -05:00
Binh-Minh Ribler
e5f792cf12 Added test for the fix HDFFV-10590 2020-10-27 22:18:52 -05:00
Allen Byrne
f8b3f576ce HDFFV-10868 - add H5Sselect API java wrappers.
Also added javadoc comments to H5E and H5s constants.
2020-10-27 16:48:02 -05:00
Binh-Minh Ribler
273c0c1836 Fix HDFFV-10590
Description
    This is to fix the CVE issue CVE-2018-17432.
    h5repack produced a segfault on a corrupted file.  This fix modified the
    dataspace encode and decode functions per Quincey's suggestion to prevent
    the segfault and h5repack only failed for the corrupted file now.
Platforms tested:
    Linux/64 (jelly)
2020-10-26 13:04:35 -05:00
Binh-Minh Ribler
a4269a08b9 Merge branch 'develop' of https://github.com/HDFGroup/hdf5 into develop 2020-10-26 12:53:28 -05:00
Binh-Minh Ribler
7bfa10018e Fix HDFFV-10590
Description
    This is to fix the CVE issue CVE-2018-17432.
    h5repack produced a segfault on a corrupted file.  This fix modified the
    dataspace encode and decode functions per Quincey's suggestion to prevent
    the segfault.  h5repack only failed for the corrupted file now.
Platforms tested:
    Linux/64 (jelly)
2020-10-26 08:36:27 -05:00
Larry Knox
313a8c8546
Merge pull request #59 from derobins/trivial/HDprefix
HD prefix updates in src/ and test/
2020-10-24 08:05:13 -05:00
Dana Robinson
2ae59f1c61 Restores erroneously deleted key_id field from S3 VFD
Accidentally deleted while preparing the PR. Only existed in a
branch.
2020-10-23 17:49:53 -07:00
Dana Robinson
ca3659a014 HD prefix updates in src/ and test/
Adds missing HD prefixes to API calls in src and test.

Adds some extra processing to bin/checkposix to keep the noise
levels down when running the script (not comprehensive).
2020-10-23 17:13:05 -07:00
Larry Knox
2c3cf8240f
Merge pull request #56 from derobins/minor/implicit_fallthrough
Removes -Wimplicit-fallthrough=5 from the gcc warnings
2020-10-23 16:19:22 -05:00
Larry Knox
f9679de85c
Merge pull request #55 from byrnHDF/develop
Correct SZ options for building plugins
2020-10-22 11:39:51 -05:00
Dana Robinson
3606f20c02 Removes -Wimplicit-fallthrough=5 from the gcc warnings
-Wimplicit-fallthrough=3 is added by -Wextra, which we already set.
Bumping the warning level only changes how fall-through comments are
parsed, with level 5 turning off fall-through comments entirely.
This is unnecessary and results in having to do extra work to squash
warnings when included external code uses fall-through.

This change also adds /* FALLTHROUGH */ comments where
H5_ATTR_FALLTHROUGH is used so compilers that don't use attributes
but do respect fall-through comments don't raise spurious warnings.
2020-10-22 09:22:58 -07:00
Allen Byrne
c849825c9d Correct SZ options for building plugins 2020-10-21 15:40:42 -05:00
Larry Knox
8f15ee5e3c
Merge pull request #49 from byrnHDF/develop
options corrections
2020-10-20 17:50:49 -05:00
Allen Byrne
4a88f0c8d7 URL and options corrections 2020-10-19 16:21:57 -05:00
Larry Knox
377a5ab2e5
Merge pull request #47 from byrnHDF/develop
Whitespace and url correction
2020-10-19 13:33:11 -05:00
Allen Byrne
176eef2737 Whitespace and url correction 2020-10-19 09:42:09 -05:00
Allen Byrne
9bd2102b77
Update javadoc comments to reduce warnings (#41) 2020-10-16 11:10:35 -05:00
Larry Knox
e6cda4817b
Merge pull request #37 from takluyver/description-errno
Note that the description for system errors may be used by h5py
2020-10-15 18:31:57 -05:00
Thomas Kluyver
bb2ed7151b More general message about using description for errno 2020-10-15 15:29:56 +01:00
Thomas Kluyver
73aba9228d Note that the description for system errors may be used by h5py 2020-10-15 10:49:22 +01:00
Larry Knox
220f8972cd
Merge pull request #31 from byrnHDF/develop
Comment adjustments
2020-10-09 09:19:39 -05:00
Allen Byrne
ceaf5b264d Comment adjustments 2020-10-08 12:25:46 -05:00
Larry Knox
1a6fba9418
Merge pull request #25 from byrnHDF/develop
gitub workflow changes
2020-10-07 12:37:07 -05:00
Allen Byrne
5fd179dbcd Remove obsolete file 2020-10-07 10:15:31 -05:00
Allen Byrne
9c78cc4541 Merge remote-tracking branch 'origin/develop' into develop 2020-10-07 08:33:34 -05:00
Allen Byrne
087fc700c2 Update code owners 2020-10-07 08:28:19 -05:00
Quincey Koziol
66bcfd97a8
Update reformatting settings, trace wrapping, and printf-format strings (#22)
* Add BEGIN_FUNC / CATCH / END_FUNC to macros

* Remove incorrect trailing '{'

* Update trace script to wrap H5TRACE macros at 110 characters and improve
comments for code that performs this operation.

* Clean up printf-formatting in H5public.h and correct some oversights in the code.

* Reformat with BEGIN_FUNC / END_FUNC handled correctly by clang-format

* Run clang-format on changes.

* Correct H5_SIZEOF_HSIZE_T/H5_SIZEOF_HSSIZE_T macros to match typedef.

* And make the undef value match also.

* Update comment

* Update clang-format actions to exclude generated files.

* Post-process generated H5LTparse.h file as well as H5LTparse.c file.

* Fix formatting

* Update version of github clang-format action
2020-10-06 17:37:42 -05:00