Commit Graph

6681 Commits

Author SHA1 Message Date
Quincey Koziol
af057ac92b Add logging prototypes and cache struct fields. 2016-11-03 22:53:55 -07:00
Quincey Koziol
0263062a6f Add logging error message. 2016-11-03 22:50:26 -07:00
Quincey Koziol
f9ba956d69 Bring cache logging routines from revise_chunks branch to develop. 2016-11-03 22:40:56 -07:00
Quincey Koziol
ef28e31f89 Remove static definition for debugging routines. *sigh* 2016-11-03 21:34:21 -07:00
Quincey Koziol
a2f15ab726 Add missing prototypes for cache debugging routines. 2016-11-03 21:24:29 -07:00
Quincey Koziol
7ac8215cbf Merge pull request #123 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'b2878dec04c120e4e3cdf00e943283e359862c84':
  Move cache debugging routines into separate module.
  Change file memory type for extending to default, and correct error in backward compatibility for multi VFD.
  Warning and whitespace cleanup.
  Improvements to the log VFD, for helping with SWMR debugging.
  Minor code cleanups.
  Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrapping in tools code.
2016-11-03 16:15:26 -05:00
Dana Robinson
50c7c54514 Merge pull request #122 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_groups to develop
Merged EoC for groups. Will expand the tests as discussed in the code review at a later date.

* commit '30f5f7d9f97e7e4e331894c3574cc1b6c4df6d9e':
  Removed commented-out lines that clean up test files.
  Added a test for old- and new-style groups under evict-on-close.
  Evict-on-close now works with groups.
2016-11-03 15:17:02 -05:00
Quincey Koziol
b2878dec04 Move cache debugging routines into separate module. 2016-11-03 11:55:42 -07:00
Quincey Koziol
17468defc7 Change file memory type for extending to default, and correct error in
backward compatibility for multi VFD.
2016-11-03 09:33:19 -07:00
Quincey Koziol
d935aa3555 Warning and whitespace cleanup. 2016-11-03 09:32:30 -07:00
Quincey Koziol
9b68a163bf Improvements to the log VFD, for helping with SWMR debugging. 2016-11-03 09:25:28 -07:00
Quincey Koziol
57ad6334c0 Minor code cleanups. 2016-11-03 09:16:25 -07:00
Dana Robinson
4175847a19 Fixed wayward parentheses in H5Sprivate.h. 2016-11-02 14:10:24 -04:00
Dana Robinson
de3abdf5d7 Evict-on-close now works with groups.
test/evict_on_close.c has been updated to generate
groups but does not yet check EoC works correctly.
2016-10-28 15:58:18 -04:00
Allen Byrne
b424328063 Add error log for dlopen 2016-10-27 09:14:22 -05:00
Allen Byrne
3ee36553b9 Add support for namespace and add tools to binaries config 2016-10-14 11:22:22 -05:00
lrknox
6cb0d90338 Snapshot release: increment version. 2016-10-01 09:41:26 -05:00
Dana Robinson
cbc260e636 - Removed BRANCH.txt and MANIFEST entry
- Fixed a missing line in H5Dint.c
2016-09-30 13:06:12 -04:00
Dana Robinson
5088217e42 - Removed non-implemented code from H5Gint.c
- Removed commented-out debug code from H5Dint.c
- Added blank lines to eliminate delta in a fortran file.
2016-09-30 05:04:11 -04:00
Dana Robinson
77e7c43bf0 Merge branch 'develop' into evict_on_close 2016-09-30 04:31:59 -04:00
Dana Robinson
8655536171 Merge branch 'evict_on_close' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into evict_on_close 2016-09-30 04:29:45 -04:00
Dana Robinson
a2fe6f7db9 Added code to create the test file for all chunk index and layout types. 2016-09-30 03:24:44 -04:00
Quincey Koziol
30ca70b096 Merge pull request #46 in HDFFV/hdf5 from ~KOZIOL/hdf5:features/warning_cleanups to develop
* commit '5a7880183025f56421cf6f2274d9f1ac36f59641':
  Clean up hardcoded constants and check return values better.  (Comments from group code review)
  Description:     Cleanups from Dana's review.
  Description:     Further warning cleanups: from 667 warnings to 503.
2016-09-29 15:19:35 -05:00
Quincey Koziol
fa66428a6d Description:
Further warning cleanups: from 667 warnings to 503.
2016-09-27 10:29:16 -07:00
Neil Fortner
a7fb4ede86 Merge pull request #42 in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0179 to develop
* commit '748d6f318c5ebe4fa7ee5d8e4ca2681d69792b70':
  Change check for number of dimensions for old-style arrays in datatype decoding routine from an assertion to an if/HGOTO_ERROR check, since it is inappropriate to assert the contents of a file will be what we expect.
2016-09-23 10:58:37 -05:00
Neil Fortner
51c6e5b595 Merge pull request #41 in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0177 to develop
* commit '866d17f57f47414b6e778d63fcdcc2a82b208683':
  Fix bug in "nooptype" decode in fix for TALOS-0177.
  Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow.
2016-09-23 10:58:22 -05:00
Dana Robinson
430ff33b5c Added "Purpose:" information to the API call comments for the
new functions.
2016-09-23 01:18:11 -04:00
Dana Robinson
2646f917ad Cleaned up feature for dissemination to LLNL:
- Removed support for datatypes.
    - Commented out support for groups
    - General change clean-up
    - Added a list of improvements to BRANCH.txt
2016-09-19 16:18:30 -04:00
Dana Robinson
7f99d42583 Reverted H5T code since datatypes will not be supported at
this time.
2016-09-19 14:52:45 -04:00
Dana Robinson
7f817fea7c Merge branch 'develop' into evict_on_close 2016-09-14 17:02:43 -04:00
Neil Fortner
391a231b76 Fix bug in "nooptype" decode in fix for TALOS-0177. 2016-09-09 12:08:30 -05:00
Neil Fortner
bc10fd219e Change check for number of dimensions for old-style arrays in datatype decoding routine from an assertion to an if/HGOTO_ERROR check, since it is inappropriate to assert the contents of a file will be what we expect. 2016-09-08 13:47:22 -05:00
Neil Fortner
2409f99166 Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow. 2016-09-08 10:48:54 -05:00
Neil Fortner
b1eb1b3ee8 Replace assertion in H5O_dtype_decode_helper for number of array dimensions with a check and error. The assertion was inappropriate because it is operating on data read from the file, which the library does not always have direct control of. 2016-09-01 17:24:24 -05:00
Allen Byrne
f14e4b3e20 [svn-r30312] HDFFV-9706: Commit changes as discussed in HDF5-379. 2016-08-22 11:36:59 -05:00
Vailin Choi
c8af99f530 [svn-r30308] Fix for HDFFV-7991--error when copying dataset with attribute which is a compound datatype consisting of
a variable length string.
Tested on mayll, platypus, osx1010test, emu, kituo, kite, quail, moohan, ostrich.
2016-08-19 15:58:16 -05:00
Dana Robinson
00c508dc68 [svn-r30303] Fixed unbalanced parentheses in H5F_SAME_SHARED macro.
This version of the macro isn't used anywhere in the
HDF5 source.

Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial
2016-08-18 14:09:42 -05:00
Quincey Koziol
f40381b0ea [svn-r30285] Description:
More warning cleanups, bringing the build down to 25 unique types of
warnings, with 550 warnings in 122 files (down from 28, 770, and 134).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-08-13 04:23:53 -05:00
Neil Fortner
7de719287a [svn-r30270] Fix an issue that could occur when allocating a chunked dataset in parallel,
with an alignment threshold set to be larger than the chunk size but smaller
than the size of the small data aggregator.

Tested: koala, ostrich (h5committest); jelly, ummon
2016-08-08 16:56:50 -05:00
Neil Fortner
297268f238 [svn-r30264] Fixed an issue that could occur when using H5Pset_alignment where a block could
be unaligned, causing an assertion failure.

Tested: koala, ostrich, jelly (h5committest), ummon
2016-08-08 13:46:21 -05:00
Allen Byrne
2bb3a09add [svn-r30231] HDFFV-9944: else statement and braces.
refactored out the assert statement since H5MM_xfree allows null argument.
2016-08-01 11:45:44 -05:00
Dana Robinson
faea627254 [svn-r30224] Added HDprintf() macro that uses HDfprintf w/ stdout.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial
2016-07-27 11:56:42 -05:00
Quincey Koziol
4af66b09e0 [svn-r30219] Description:
More warning cleaups: down to 770 warnings (from ~940) in 134 files (from
148), with 28 unique kinds of warnings (from 31).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-22 17:43:18 -05:00
Quincey Koziol
bb19817c9f [svn-r30189] Description:
Clean up more warnings: drop the warning count from ~1310 down to ~940,
with only 31 types of warnings in 148 files (down from 38 types in 167 files).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-17 19:18:42 -05:00
Quincey Koziol
ec2fbe0883 [svn-r30158] Description:
More warning cleanups.  This brings us down to ~1300 warnings in 167 files

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-07 13:54:11 -05:00
Dana Robinson
8e9edc8dc1 [svn-r30147] Removed #ifdef-guarded debug output from core VFD.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial w/ core and core_paged VFDs
2016-07-05 19:58:58 -05:00
Vailin Choi
af0829aa17 [svn-r30143] Fix for HDFFV-9940.
Tested on jam, osx1010test, moohan, platypus, emu, kite, kituo, mayll, ostrich, quail.
2016-07-03 23:06:34 -05:00
Quincey Koziol
4f967d5029 [svn-r30139] Description:
Bring over missing flush+refresh routines, to address Java failures.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    Linux/64 2.6.18 (jam) w/Java
2016-07-02 00:14:06 -05:00
Neil Fortner
bfae878d8f [svn-r30131] Fix bug reported by Cisco Talos TALOS-CAN-0178. Added check for a message that
should not be sharable being marked as sharable on disk, returns failure in
this case. Needs testing.

Tested: ummon
2016-07-01 10:31:44 -05:00
Quincey Koziol
35e6928220 [svn-r30127] Description:
Use internal rounding routine, if the StdC ones aren't available (like on
Windows).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-30 15:59:15 -05:00