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

Hdf5 merge PR 425 v110 #536

Merged
merged 24 commits into from
Apr 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
efb50c1
close #195. (#196)
hyoklee Dec 17, 2020
e954812
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Dec 23, 2020
f479c5f
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Jan 6, 2021
a032262
Modify temporary rpath for testing in java example scripts. (#230)
lrknox Dec 29, 2020
ed287c3
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Jan 9, 2021
64f7179
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Feb 23, 2021
8b0662e
Fix undefined left shifting of negative numbers (#338)
seanm Feb 19, 2021
d59490f
Update license url (#332)
lrknox Feb 17, 2021
9d43eae
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Mar 8, 2021
f4ab4c7
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Mar 10, 2021
ec792d8
Fixed clang-tidy readability-misleading-indentation warnings (#427)
seanm Mar 5, 2021
8faa09f
Fixed clang-tidy readability-redundant-control-flow warnings (#428)
seanm Mar 5, 2021
64b6444
Removed bad function pointer casts (#434)
seanm Mar 8, 2021
739b8d3
fix block coordinate printing example (#437)
grimbough Mar 6, 2021
8aebdfd
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Mar 10, 2021
ce7870d
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Mar 21, 2021
bac8e2f
Cleans up a couple of MSVC warnings in testhdf5 (#475)
derobins Mar 17, 2021
61c1e68
Fix typos and grammar errors. (#476)
hyoklee Mar 17, 2021
b68fede
Suppresses the tcheck_version test's abort dialog on Windows (#477)
derobins Mar 17, 2021
b009b7e
Merge branch 'hdf5_1_10' of https://github.com/lrknox/hdf5 into hdf5_…
lrknox Apr 1, 2021
23dc162
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Apr 1, 2021
2923bac
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Apr 2, 2021
2a40041
Fixes various warnings noticed on Windows (#425)
derobins Mar 5, 2021
d7bc34b
Merge branch 'hdf5_merge_issue_435_v110' of https://github.com/lrknox…
lrknox Apr 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/H5private.h
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,13 @@ H5_DLL int64_t HDstrtoll(const char *s, const char **rest, int base);
#ifndef HDutime
#define HDutime(S, T) utime(S, T)
#endif /* HDutime */
#ifndef HDvasprintf
#ifdef H5_HAVE_VASPRINTF
#define HDvasprintf(RET, FMT, A) vasprintf(RET, FMT, A)
#else
H5_DLL int HDvasprintf(char **bufp, const char *fmt, va_list _ap);
#endif /* H5_HAVE_VASPRINTF */
#endif /* HDvasprintf */
#ifndef HDva_arg
#define HDva_arg(A, T) va_arg(A, T)
#endif /* HDva_arg */
Expand Down
4 changes: 2 additions & 2 deletions src/H5system.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ Wroundf(float arg)
*
*-------------------------------------------------------------------------
*/
const wchar_t *
wchar_t *
H5_get_utf16_str(const char *s)
{
int nwchars = -1; /* Length of the UTF-16 buffer */
Expand Down Expand Up @@ -1184,7 +1184,7 @@ int
Wremove_utf8(const char *path)
{
wchar_t *wpath = NULL; /* UTF-16 version of the path */
int ret;
int ret = -1;

/* Convert the input UTF-8 path to UTF-16 */
if (NULL == (wpath = H5_get_utf16_str(path)))
Expand Down
7 changes: 4 additions & 3 deletions src/H5win32defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,10 @@ H5_DLL int c99_snprintf(char *str, size_t size, const char *format, ...);
H5_DLL int c99_vsnprintf(char *str, size_t size, const char *format, va_list ap);
H5_DLL int Wnanosleep(const struct timespec *req, struct timespec *rem);
H5_DLL herr_t H5_expand_windows_env_vars(char **env_var);
H5_DLL const wchar_t *H5_get_utf16_str(const char *s);
H5_DLL int Wopen_utf8(const char *path, int oflag, ...);
H5_DLL int Wremove_utf8(const char *path);
H5_DLL wchar_t *H5_get_utf16_str(const char *s);
H5_DLL int Wopen_utf8(const char *path, int oflag, ...);
H5_DLL int Wremove_utf8(const char *path);
H5_DLL int H5_get_win32_times(H5_timevals_t *tvs);

/* Round functions only needed for VS2012 and earlier.
* They are always built to ensure they don't go stale and
Expand Down
10 changes: 7 additions & 3 deletions test/dsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -7023,6 +7023,7 @@ test_copy_dcpl(hid_t file, hid_t fapl)
static herr_t
test_filter_delete(hid_t file)
{
#ifdef H5_HAVE_FILTER_DEFLATE
H5Z_filter_t filtn; /* filter identification number */
hid_t dsid = -1; /* dataset ID */
hid_t sid = -1; /* dataspace ID */
Expand All @@ -7034,6 +7035,7 @@ test_filter_delete(hid_t file)
unsigned flags; /* flags for filter */
herr_t ret; /* generic return value */
int i;
#endif

TESTING("filter deletion");

Expand Down Expand Up @@ -7138,9 +7140,7 @@ test_filter_delete(hid_t file)
goto error;

PASSED();
#else
SKIPPED();
#endif

return SUCCEED;

error:
Expand All @@ -7153,6 +7153,10 @@ test_filter_delete(hid_t file)
}
H5E_END_TRY;
return FAIL;
#else
SKIPPED();
return SUCCEED;
#endif
} /* end test_filter_delete() */

/*-------------------------------------------------------------------------
Expand Down