2
0
mirror of https://github.com/HDFGroup/hdf5.git synced 2025-02-17 16:10:24 +08:00
Commit Graph

15826 Commits

Author SHA1 Message Date
Allen Byrne
031633c479 Revert clear objects for testfile removal 2016-10-03 15:42:31 -05:00
Allen Byrne
dd9caf37d2 Merge test output file clearing into runTest.cmake 2016-10-03 15:34:11 -05:00
Allen Byrne
869ef118e9 Move clear-objects inside runTest 2016-10-03 14:50:41 -05:00
M. Scot Breitenfeld
f9364c0080 removed the use of C_SIZEOF for non BIND(C) derived type 2016-10-03 13:26:39 -05:00
Dana Robinson
620bfd58ae Merge pull request in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
Checkpoint update

* commit '4a2669d51f8f839a63c1257c184318cd8c0ce1ae':
  Correct typo:  add ' '
  Snapshot release:  increment version.
2016-10-01 09:55:57 -05:00
lrknox
4a2669d51f Correct typo: add ' ' 2016-10-01 09:47:31 -05:00
lrknox
6cb0d90338 Snapshot release: increment version. 2016-10-01 09:41:26 -05:00
Dana Robinson
75333d5a91 Merge pull request in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Fixes the v16 API failures in the evict-on-close test.

* commit 'dd47e42313fd4d76da95b7e48013bcd0d8879434':
  Changed H5Dcreate to H5Dcreate2 in test/evict_on_close.c
2016-10-01 08:00:51 -05:00
Dana Robinson
dd47e42313 Changed H5Dcreate to H5Dcreate2 in test/evict_on_close.c 2016-10-01 07:23:57 -04:00
Allen Byrne
c4cc97bd31 Merge pull request in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '2299ff06c3dd9d5dee5320999a282f1526c27be7':
  Correct variable name
  Fix error reporting
2016-09-30 13:23:30 -05:00
Dana Robinson
ce3997f041 Merge pull request in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Merged evict-on-close feature from branch (via develop in cloned repo).

* commit 'cbc260e636e258cc55d9fb8fdafd3bff0877ac23': (21 commits)
  - Removed BRANCH.txt and MANIFEST entry - Fixed a missing line in H5Dint.c
  - 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.
  Added full implementation of EoC cache test.
  Added code to create the test file for all chunk index and layout types.
  Fleshed out evict on close test that inspects cache.
  Added the beginnings of a file generator to the test.
  Fixed typo
  Added "Purpose:" information to the API call comments for the new functions.
  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
  Removed blank line in Fortran file (leftover from last commit)
  Reverted H5T code since datatypes will not be supported at this time.
  Fixed format_convert and fortran files (bad merge?).
  Updated manifest. Was missing BRANCH.txt.
  Added missing evict on close test file line to test/CMakeLists.txt.
  [svn-r30110] Added missing evict_on_close.c file to test/.
  [svn-r30108] Moved group flush and evict code to H5G_close from H5Gclose.
  [svn-r30107] Moved dataset flush and evict code to H5D_close from H5Dclose.
  [svn-r30106] Moved datatype close code to new internal function. H5Oclose() now supports evict-on-close for datatypes.
  [svn-r30105] Datatypes and Groups now support evict-on-close.
  [svn-r30084] First pass at the evict-on-close feature.
  ...
2016-09-30 13:17:08 -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
Allen Byrne
2299ff06c3 Correct variable name 2016-09-30 09:41:18 -05:00
Allen Byrne
fe71ac8d0e Fix error reporting 2016-09-30 09:35:09 -05: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
31b033e214 Added full implementation of EoC cache test. 2016-09-30 04:26:39 -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 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
5a78801830 Clean up hardcoded constants and check return values better. (Comments from
group code review)
2016-09-29 13:17:55 -07:00
M. Scot Breitenfeld
e45ee9fa96 Fixed test to use storage_size instead of c_sizeof when available. 2016-09-29 14:52:26 -05:00
M. Scot Breitenfeld
cd702dd051 fixed missing closing bracket 2016-09-29 13:12:07 -05:00
Quincey Koziol
1853868fdc Description:
Cleanups from Dana's review.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/C++ & FORTRAN
    (h5committest forthcoming)
2016-09-29 11:01:23 -07:00
M. Scot Breitenfeld
678d116eeb Removed unused variables. 2016-09-29 12:56:07 -05:00
Dana Robinson
ce11185fbb Fleshed out evict on close test that inspects cache. 2016-09-29 13:26:32 -04:00
M. Scot Breitenfeld
9fbebbe6d7 Fixed: Fortran_DOUBLE was being set to C_LONG_DOUBLE when C_LONG_DOUBLE is not available. 2016-09-29 11:52:12 -05:00
M. Scot Breitenfeld
c28c6873fe Removed duplicate FCFLAG 2016-09-29 10:50:12 -05:00
M. Scot Breitenfeld
064073307a Removed duplicate FCFLAG. 2016-09-29 10:49:08 -05:00
Quincey Koziol
fa66428a6d Description:
Further warning cleanups: from 667 warnings to 503.
2016-09-27 10:29:16 -07:00
Binh-Minh Ribler
e0bf9046c2 Purpose: Updated documentation
Description:
    Revised class brief description and other comments for up-to-date info.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-09-26 23:08:38 -05:00
M. Scot Breitenfeld
3befe647ee Added number of integer KINDs found to the header files. 2016-09-26 13:27:50 -05:00
M. Scot Breitenfeld
41b22417b7 Added path to source include files when building buidiface. 2016-09-26 12:08:18 -05:00
M. Scot Breitenfeld
7e5fcd3a4a Added rule to build buildiface program, without a rule, build would add repeated compile options when using the NAG compiler. 2016-09-26 11:49:06 -05:00
Dana Robinson
2638cbbbff Added the beginnings of a file generator to the test. 2016-09-24 02:54:27 -04:00
Dana Robinson
36fd53f70f Fixed typo 2016-09-24 02:54:00 -04:00
Scot Breitenfeld
c06993b5b7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'a7fb4ede8601e135433ef2d23bf4bbb466d9f58d':
  Fix bug in "nooptype" decode in fix for TALOS-0177.
  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.
  Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow.
  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-23 16:16:03 -05:00
M. Scot Breitenfeld
3a89114ce5 Misc. cleaning up of the program. 2016-09-23 14:08:04 -05:00
M. Scot Breitenfeld
7b056aadff Added SEQUENCE to derived types for NAG:
Section 81 of the compiler manual, e.g. at

http://www.nag.co.uk/nagware/np/r61_doc/np61_manual.pdf

covers details about the compiler's internal representations, including

"
Fortran derived types are translated into C structs.
If BIND(C) or SEQUENCE is used, the order of the items within
the struct is the same as the order within the derived type definition.
Otherwise, the order of items is permuted to
put larger types at the front of the struct so as to improve alignment
and reduce storage; the C output code can be
inspected to determine the ordering used.
"

Removed INTENT(IN) to fix segfaults in C APIs for TYPE(C_PTR).

Tested: NAG (gnu)
2016-09-23 11:31:43 -05:00
Neil Fortner
a7fb4ede86 Merge pull request 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 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
Neil Fortner
afd8d14a1e Merge pull request in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0176 to develop
* commit '62d7562fbd6c6f9f2892cc9a3894f5a68a2b6fdc':
  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-23 10:58:05 -05:00
Neil Fortner
748d6f318c Merge branch 'develop' into talos-0179 2016-09-23 09:51:59 -05:00
Neil Fortner
62d7562fbd Merge branch 'develop' into talos-0176 2016-09-23 09:51:16 -05:00
Neil Fortner
866d17f57f Merge branch 'develop' into talos-0177 2016-09-23 09:37:48 -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
M. Scot Breitenfeld
7cbf491e29 misc. format code-cleanup 2016-09-22 17:19:48 -05:00
M. Scot Breitenfeld
3c37126585 Removed the use of hard-coded integer KINDs. 2016-09-22 15:24:35 -05:00
M. Scot Breitenfeld
362233bd45 Code clean-up. 2016-09-22 15:22:11 -05:00
M. Scot Breitenfeld
8eb76e1f65 Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2016-09-22 12:48:53 -05:00