Commit Graph

21626 Commits

Author SHA1 Message Date
Allen Byrne
cd82c1904c Merge branch 'develop' of https://github.com/HDFGroup/hdf5.git into develop 2020-10-06 16:01:05 -05:00
Allen Byrne
937219e7af Update for minimum of two owners 2020-10-06 12:36:11 -05:00
Larry Knox
629415232d Correct entries related to --enable-build-mode and --enable-profiling in
INSTALL file, and remove obsolete SZIP paragraph from COPYING file.
2020-10-06 12:01:01 -05:00
Allen Byrne
ff1edd709a github environment variable change 2020-10-06 11:59:58 -05:00
Allen Byrne
c0e087a65a
Fix VFD h5repacktest (#20)
* h5repacktest VFD fix and formatting changes

* Fix memory leak in H5PL__find_plugin_in_path

When encountering a directory, the current loop iteration was skipped
without freeing the memory allocated for the path.

* Refactor parser GCC diagnostic statements

* genparser on jelly with default bison/flex

Co-authored-by: Michael Kuhn <michael.kuhn@ovgu.de>
2020-10-06 11:56:59 -05:00
Allen Byrne
a8e0fc5f0c genparser on jelly with default bison/flex 2020-10-06 10:23:18 -05:00
Allen Byrne
74c066c2c7 Refactor parser GCC diagnostic statements 2020-10-06 09:02:33 -05:00
Larry Knox
2384233b73
Merge pull request #15 from lrknox/develop
Correct entries related to --enable-build-mode and --enable-profiling in
2020-10-05 17:02:49 -05:00
Michael Kuhn
4c6f59d273 Fix memory leak in H5PL__find_plugin_in_path
When encountering a directory, the current loop iteration was skipped
without freeing the memory allocated for the path.
2020-10-05 14:22:47 -05:00
Allen Byrne
f8cd74af65 h5repacktest VFD fix and formatting changes 2020-10-05 14:21:58 -05:00
Larry Knox
ae0f6f25cd
Merge pull request #12 from byrnHDF/develop
HDFFV-11096 fix typo in h5dump usage text
2020-10-05 13:37:08 -05:00
Larry Knox
5631b2e3fb
Merge pull request #16 from michaelkuhn/fix-plugin-path-leak
Fix memory leak in H5PL__find_plugin_in_path
2020-10-05 09:31:08 -05:00
Michael Kuhn
f57cc4a702 Fix memory leak in H5PL__find_plugin_in_path
When encountering a directory, the current loop iteration was skipped
without freeing the memory allocated for the path.
2020-10-05 15:27:24 +02:00
Allen Byrne
e01430ec56 HDFFV-11096 replace backticks with doublequotes 2020-10-04 11:46:42 -05:00
Larry Knox
4ad5597525 Correct entries related to --enable-build-mode and --enable-profiling in
INSTALL file, and remove obsolete SZIP paragraph from COPYING file.
2020-10-03 15:32:57 -05:00
Allen Byrne
31773b7c48 HDFFV-11096 fix typo in h5dump usage text 2020-10-03 08:21:40 -05:00
Larry Knox
9df906126f
Merge pull request #11 from byrnHDF/develop
Add mingw define
2020-10-03 07:01:03 -05:00
Allen Byrne
13d81d2dff Add mingw define 2020-10-02 13:35:09 -05:00
Allen Byrne
58d8eae182 Merge pull request #2917 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1a4c5cc22c0f8aac568f39e67d695d906cf17c87':
  Actions updates
2020-10-02 11:11:38 -05:00
Allen Byrne
1a4c5cc22c Actions updates 2020-10-02 10:20:28 -05:00
Larry Knox
4b01ab73cc Merge pull request #2906 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'b2d661b508a7fc7a2592c13bc6bdc175551f075d':
  Clang-format of source files
2020-10-02 10:11:11 -05:00
Allen Byrne
b2d661b508 Clang-format of source files 2020-09-30 09:27:10 -05:00
Allen Byrne
29ab58b58d Merge pull request #2905 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3f15fb35222a0fb2ba2f1f88a2d78daaea633ec8':
  Fix jni with %Lg instead of %Lf
  Pre-format fixes for warnings as errors
2020-09-29 20:03:03 -05:00
Allen Byrne
3f15fb3522 Fix jni with %Lg instead of %Lf
Fix warnings due to improper formed define tag in h5diff
2020-09-29 11:42:17 -05:00
Allen Byrne
274cd0ba1d Pre-format fixes for warnings as errors 2020-09-29 10:24:49 -05:00
David Young
14851e3b82 Merge pull request #2650 in HDFFV/hdf5 from ~DYOUNG/werror:rebased-fprintf-experiment to develop
* commit 'c0fbc5c086566d5d3c1d1ef26baa81a53d59fc08': (24 commits)
  Use the right format string, "%zu", for size_t.
  Repair more format strings.
  Fix a bunch of format string errors reported by Larry.
  Fix some HDfprintf compilation errors: use the right format strings ("zu", PRIuHSIZE), avoid casting some printf arguments, pass the right number of arguments.
  Test the format string "ll" before "l", "L", and "q", like the ./configure script does.  This ought to fix the compilation failure in test/dt_arith.c that Allen told me about:
  Cast a non-void pointer to void pointer for "%p".
  Use PRIu32 and "zu" formats.  Delete some casts from `size_t`.
  I'm taking a guess that this code intended to point the 2-digit wide hexadecimal octet values, not 2 character-wide pointers to the bytes.  The %02p format, which is a GNU-ism, disagreed with GCC 8.3.0 and the option flags we use.
  %08p is not portable, it's a GNU-ism.  Use %8p, instead.  Squashes a GCC error.
  Add format string macros PRI[doxX]HID for hid_t and use PRIdHID.
  Use HDva_copy() and introduce a bunch of compatbility format-string constants for uppercase hexadecimal strings, `PRIX...`.  Should fix the VS2010 errors that Allen mentioned:
  Always #define HDfprintf as fprintf in this header.  I believe this will fix the Windows build error that Allen reported.
  Provide an HDvasprintf implementation only if it isn't #defined.  This should fix the mingw compilation issue that Allen reported.
  Fix va_list usage in the vasprintf(3) implementation.
  Promote format-string warnings to errors.
  Use the portable `-eq` operator instead of the bash-ism `==`. Fixes the tests on NetBSD, where /bin/sh != bash.
  Restore a literal percent sign ("%%") that I accidentally deleted.
  Fix code that made GCC complain about a NULL or `unsigned char *` arguments for "%s".
  Take pains to provide UINT64_MAX in all conditions.
  Correct a couple of format strings.
  ...
2020-09-28 14:42:18 -05:00
Allen Byrne
8ee8b7abb5 Merge pull request #2902 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '088014bef4216eede409d103876a9fd3efadd358':
  More info for building plugins with library
  Remove setting from cacheinit file
  OESS-98 add release note for option
  OESS-98 merge with clang-format changes
2020-09-28 10:55:19 -05:00
Allen Byrne
088014bef4 More info for building plugins with library 2020-09-28 09:41:43 -05:00
Allen Byrne
e7fbeb2e8c Remove setting from cacheinit file 2020-09-28 07:20:42 -05:00
David Young
c0fbc5c086 Use the right format string, "%zu", for size_t. 2020-09-27 15:07:12 -05:00
David Young
08034972bc Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experiment 2020-09-27 15:03:44 -05:00
Allen Byrne
9941e4b1ae OESS-98 add release note for option 2020-09-27 11:46:58 -05:00
David Young
d20e1274a7 Repair more format strings. 2020-09-25 20:03:20 -05:00
Allen Byrne
ff0881f35b OESS-98 merge with clang-format changes 2020-09-25 16:43:57 -05:00
Allen Byrne
aa08db839e Merge pull request #2882 in HDFFV/hdf5 from ~BYRN/hdf5_adb:feature/cmakeV2-clang-format to develop
* commit '571a5e9250ca69adb54ef956361a5cf77059f67c':
  Add h5ls test plugin format target
  Fix manifest
  Add code owners file
  Update actions - split push/pull-request commits
  Change to executable
  Change to based on LLVM format
  Fix comment formatting due to tabs conversion
  Disable formatting for file
  File changes to affect formatting
  CMake and script changes for clang-format
2020-09-25 16:11:52 -05:00
David Young
5f0bb85813 Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experiment 2020-09-25 15:34:39 -05:00
Allen Byrne
571a5e9250 Add h5ls test plugin format target 2020-09-25 14:16:56 -05:00
David Young
f8652be7fb Fix a bunch of format string errors reported by Larry. 2020-09-25 11:43:15 -05:00
David Young
6486892de5 Fix some HDfprintf compilation errors: use the right format strings
("zu", PRIuHSIZE), avoid casting some printf arguments, pass the right
number of arguments.
2020-09-24 16:34:51 -05:00
Allen Byrne
fae9d938d3 Fix manifest 2020-09-24 15:29:49 -05:00
Allen Byrne
03bbf36114 Add code owners file 2020-09-24 15:05:04 -05:00
Allen Byrne
f71e74f4e4 Update actions - split push/pull-request commits 2020-09-24 13:52:24 -05:00
Allen Byrne
6b14627330 Change to executable 2020-09-24 12:36:25 -05:00
Allen Byrne
eba2e66a87 Change to based on LLVM format 2020-09-24 12:35:54 -05:00
Jordan Henderson
cdc4b8a0fb Merge pull request #2898 in HDFFV/hdf5 from ~JHENDERSON/hdf52:develop to develop
* commit '739cd5723fe3435818075481687770996af42ef5':
  Fix memory sanity check option in CMake
2020-09-24 11:05:33 -05:00
Allen Byrne
a117ac6cae Fix comment formatting due to tabs conversion 2020-09-24 09:57:21 -05:00
Jordan Henderson
739cd5723f Fix memory sanity check option in CMake 2020-09-23 18:23:14 -05:00
Jordan Henderson
c4b1693f8e Merge pull request #2895 in HDFFV/hdf5 from ~JHENDERSON/hdf52:develop to develop
* commit 'c15f8674d9600c72b33823c55587051cf66811ef':
  Free selection type-specific info when resetting selection iterators
2020-09-23 18:16:04 -05:00
Jordan Henderson
c15f8674d9 Free selection type-specific info when resetting selection iterators 2020-09-23 09:37:35 -05:00
Jordan Henderson
febc343e7e Merge pull request #2891 in HDFFV/hdf5 from ~JHENDERSON/hdf52:develop to develop
* commit '9b3a3445dbb72a95b2b9355e0196efdaa5b0f452':
  Add release note for new H5Ssel_iter_reset function
  Add H5Ssel_iter_init API call to reset a selection iterator
2020-09-21 18:39:35 -05:00