Muqun Yang
e5ae310109
Merge pull request #2361 in HDFFV/hdf5 from ~MYANG6/hdf5-develop:develop to develop
...
* commit '1b937c69f4b8187401eeb8eef195bbcc2ea58312':
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-07 15:26:30 -06:00
David Young
39fd512fe7
Make sure that H5TS_thread_id() is available as either a function or a macro in
...
all configurations.
Previously it was neither declared nor defined in --disable-threadsafety
builds. The compiler's warning got lost in the noise---I first saw the issue
because my -Werror branch stopped compiling cold---and the tests still linked
and ran.
2020-02-07 14:57:46 -06:00
David Young
c7ad81b0ea
Provide local copies of err(3)- and errx(3)-alike functions
...
for Visual Studio compatibility.
2020-02-07 14:45:08 -06:00
Muqun Yang
1b937c69f4
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-07 14:43:02 -06:00
Jacob Smith
6a93d1f834
Fix improper S3 signing key null check (HDFFV-11015).
2020-02-07 13:47:15 -06:00
David Young
b2cb485268
Provide C99/POSIX.1 format strings PRI[doux]{8,16,32,64,MAX,PTR} on systems
...
that are missing <inttypes.h>.
2020-02-07 11:40:31 -06:00
David Young
021740bac0
Merge pull request #2354 in HDFFV/hdf5 from ~DYOUNG/werror:fix_h5ts_private to develop
...
* commit '8f77878953b55cbffb6331161d12eab1c778a8a5':
Oops, the test has to return success in the unimplemented case.
2020-02-06 16:58:50 -06:00
David Young
a5a9e75f6a
Make calls through a function pointer. Use the same number of arguments,
...
always.
2020-02-06 11:00:10 -06:00
David Young
8f77878953
Oops, the test has to return success in the unimplemented case.
2020-02-06 10:43:37 -06:00
David Young
80179b0648
Merge pull request #2349 in HDFFV/hdf5 from ~DYOUNG/werror:fix_h5ts_private to develop
...
* commit 'a0a75e7b6e157b40bbe09c7955153835ce200f79':
If H5_HAVE_THREADSAFE is not #defined, define nothing but a stub implementation of H5TS_thread_id().
2020-02-05 19:34:06 -06:00
David Young
224cb4a034
Use a naked pthread_self() call in the HDF5 thread wrappers.
2020-02-05 19:31:59 -06:00
Jordan Henderson
9064ad0a2f
Merge pull request #2346 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
...
* commit 'be0cd0b64aef3f64b15d5fc89cd15213ad939763':
Add RELEASE.txt note for token refactoring changes
2020-02-05 18:11:21 -06:00
David Young
a0a75e7b6e
If H5_HAVE_THREADSAFE is not #defined, define nothing but a stub implementation
...
of H5TS_thread_id().
2020-02-05 16:47:55 -06:00
Jordan Henderson
be0cd0b64a
Merge branch 'develop' of ssh://git@bitbucket.hdfgroup.org:7999/~jhenderson/hdf5.git into develop
2020-02-05 16:07:33 -06:00
Jordan Henderson
469c56d8a9
Add RELEASE.txt note for token refactoring changes
2020-02-05 16:07:33 -06:00
David Young
00608a8756
Merge pull request #2341 in HDFFV/hdf5 from ~DYOUNG/werror:thread_id to develop
...
* commit 'cefacee21b5ad569e2394b32793648e1b80f3d6b':
src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions.
Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.
Add thread_id.c to the MANIFEST and the CMakeLists.txt per Allen's request.
Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX Threads implementation ought to be portable to any system that has POSIX Threads. On Windows, I use the same API call as before.
2020-02-05 13:34:00 -06:00
Allen Byrne
7ab0fa2d7c
Merge pull request #2345 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
...
* commit '7c9427219ff903ee0ebdd56ed253b29e83ce0c06':
HDFFV-11012 - add release note
2020-02-05 09:56:53 -06:00
Allen Byrne
7c9427219f
HDFFV-11012 - add release note
2020-02-05 09:39:13 -06:00
Allen Byrne
0d79831dce
Merge pull request #2343 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-11012-fortran-include-paths to develop
...
* commit '3ec66d55426c5c947eeb6f4d7d5d31b38f59ebf6':
HDFFV-11012 - add correct fortran include path properties
2020-02-05 08:52:54 -06:00
Allen Byrne
7e6d428648
Merge pull request #2342 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
...
* commit '93f6e6761833ba579128503c3fe47b76b02fa85c':
HDFFV-10996 add release note
HDFFV-10996 - add java vol tests
2020-02-04 11:37:39 -06:00
Allen Byrne
93f6e67618
HDFFV-10996 add release note
2020-02-04 11:36:56 -06:00
Allen Byrne
3ec66d5542
HDFFV-11012 - add correct fortran include path properties
2020-02-04 11:28:45 -06:00
David Young
cefacee21b
src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions.
...
test/thread_id.c: move threads_failure() inside #ifdefs.
2020-02-03 16:33:28 -06:00
David Young
a20b68b257
Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.
...
Fix a typo in the H5TS_thread_init() comment and reword some ID
properties.
2020-02-03 16:23:06 -06:00
Allen Byrne
00d68851fc
HDFFV-10996 - add java vol tests
2020-02-03 13:45:14 -06:00
David Young
65600cbd72
Add thread_id.c to the MANIFEST and the CMakeLists.txt per Allen's
...
request.
2020-02-03 12:59:52 -06:00
David Young
986c7451a0
Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX Threads
...
implementation ought to be portable to any system that has POSIX
Threads. On Windows, I use the same API call as before.
2020-02-03 11:59:14 -06:00
Dana Robinson
0147d2493e
Merge pull request #2329 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5MM_const to develop
...
* commit '10301154215fb6a22590e80f7b5ed0005f3e1786':
Minor refactoring to the VFD info free call.
Updated the 'const memory free' changes based on PR feedback.
Added a free wrapper that lets us free constant pointers without generating warnings.
2020-01-30 18:50:41 -06:00
Dana Robinson
1030115421
Minor refactoring to the VFD info free call.
2020-01-30 16:47:30 -08:00
Dana Robinson
88b4c915e8
Updated the 'const memory free' changes based on PR feedback.
2020-01-30 16:31:11 -08:00
David Young
69a064eef8
Increase iterations, provide a baseline for no-op, simplify the overhead
...
case a bit.
2020-01-30 15:46:12 -06:00
Allen Byrne
0e56affc7e
Merge pull request #2330 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
...
* commit '099e68140101a6a2cd128f68d5f6b76661a1de92':
VS2010 needs an underscore
2020-01-30 14:11:36 -06:00
David Young
f398fe6bee
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.
2020-01-30 14:10:07 -06:00
Allen Byrne
099e681401
VS2010 needs an underscore
2020-01-30 13:23:54 -06:00
Dana Robinson
9da387342e
Added a free wrapper that lets us free constant pointers without
...
generating warnings.
Also, brought the const-ness of the VOL connector info in line with
the VFD info (not visible externally).
2020-01-30 11:01:25 -08:00
Dana Robinson
d1f2eff231
Merge pull request #2328 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop
...
* commit 'a67c238feef1487814b02132bfd7961f22d9d6eb':
Cleaned up remaining warnings in high-level library.
2020-01-30 10:43:40 -06:00
Dana Robinson
a67c238fee
Cleaned up remaining warnings in high-level library.
2020-01-29 18:09:29 -08:00
Allen Byrne
1255363e9b
Merge pull request #2326 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
...
* commit 'c5e2d975734d6e7a88fb48b76ec7e11d0a7763de':
Small fixes for tools and skip autotools tests for no filter
Correctly manage warnings for new tests
Ext libs ZLIB and SZIP warnings are separate concerns
2020-01-29 16:25:16 -06:00
Allen Byrne
c5e2d97573
Small fixes for tools and skip autotools tests for no filter
2020-01-29 15:39:25 -06:00
Allen Byrne
1eb6a4512b
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
...
* commit '30ca0cdc9a0b1f7fc1521007c65d9baeb69c9a23':
fix bad function cast warning
initialization discards const warning
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].
Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.
Reduce differences between my -Werror branch and `develop`:
fix unused function warning
2020-01-29 14:15:00 -06:00
Kimmy Mu
30ca0cdc9a
Merge pull request #2323 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop
...
* commit 'c586d91ea003f37d130c2c45eea6f573f7d3d3bc':
fix bad function cast warning
initialization discards const warning
fix unused function warning
2020-01-29 14:11:51 -06:00
David Young
4a4755d314
H5T_copy() constification plus Quincey's contributions.
2020-01-29 14:11:10 -06:00
kmu
c586d91ea0
Merge branch 'develop' into misc
2020-01-29 14:03:48 -06:00
David Young
43d41633a1
Merge pull request #2318 in HDFFV/hdf5 from ~DYOUNG/werror:reduce-werror-diffs-1 to develop
...
* commit 'fa1b2f6ef35c459c9f74ead885c119ae7f61c056':
Reduce differences between my -Werror branch and `develop`:
2020-01-29 13:51:52 -06:00
David Young
0d6e025888
Merge pull request #2320 in HDFFV/hdf5 from ~DYOUNG/werror:reduce-werror-diffs-2 to develop
...
* commit 'a5f236e83bdd29e660a55c5577a69a3809605cda':
Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.
2020-01-29 13:51:27 -06:00
David Young
1b49ccd7fa
Merge pull request #2321 in HDFFV/hdf5 from ~DYOUNG/werror:reduce-werror-diffs-3 to develop
...
* commit 'f19e06b59ee53f17465a7b5974c25c3245a40d9a':
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].
2020-01-29 13:51:10 -06:00
kmu
4453dc2998
fix bad function cast warning
2020-01-29 13:43:31 -06:00
kmu
0443c582d8
initialization discards const warning
2020-01-29 13:31:14 -06:00
Allen Byrne
661cf6b79b
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
...
* commit '20c09524ea348f4009555a1cba2731842b9af80e':
HDFFV-11011 - merge include list
HDFFV-11011 correct issues with target file extension
2020-01-29 13:14:40 -06:00
Allen Byrne
20c09524ea
Merge pull request #2319 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-11011 to develop
...
* commit 'c8096118d5edd9f27ff0f6180a4dde4c10aafda7':
HDFFV-11011 - merge include list
HDFFV-11011 correct issues with target file extension
2020-01-29 13:12:14 -06:00