Commit Graph

3003 Commits

Author SHA1 Message Date
Binh-Minh Ribler
daa0eb8015 Further improvement 2017-11-27 15:09:15 -06:00
Binh-Minh Ribler
742798b84e Fixed comment. 2017-11-27 13:41:44 -06:00
Binh-Minh Ribler
a6970e204c Merge branch 'bugfix/version_bounds' of https://bitbucket.hdfgroup.org/scm/~bmribler/version_bounds_bmr into bugfix/version_bounds 2017-11-27 12:46:04 -06:00
Binh-Minh Ribler
ea4f752ace Adding data file generator
Description:
    Added gen_bounds.c to generate the following files:
    - bounds_earliest_latest.h5
    - bounds_earliest_v18.h5
    - bounds_latest_latest.h5
    - bounds_v18_latest.h5
    - bounds_v18_v18.h5
    for testing the version bounds fix in 1.8 and 1.6.
2017-11-27 12:44:23 -06:00
Vailin Choi
96784c9873 (1) Merge branch 'develop' into bugfix/version_bounds
(2) Add two new options to h5repack for low and high bounds as in H5Pset_libver_bounds.
(3) Modify message pre_copy callbacks so that H5Ocopy can handle version bounds check.
(4) Add version bounds check for cache image feature.
2017-11-25 02:22:24 -06:00
Allen Byrne
8e193705c5 Fix some of the whitespace 2017-11-16 09:28:58 -06:00
Allen Byrne
637a8f7562 Correct linkage of filters and other libs 2017-11-16 09:04:51 -06:00
Dana Robinson
5ce8dd5e94 Minor warning fixes 2017-11-15 02:58:16 -08:00
Allen Byrne
00e640368e Fix Windows link error 2017-11-14 09:47:04 -06:00
Neil Fortner
df45abd0f6 Merge pull request #770 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:develop to develop
* commit 'bca20b40b4966552a844051c3d912d6aec50592f':
  Initialize hid_t variables in test_Attr_bug9.
  Fix HDFFV-10274.  When deleting all (or almost all) of the messages in an object header chunk, where the total amount deleted was greater than 64K, an error would occur due to an off by one error in the code that handled that case.  Fixed this and added a test case.
2017-11-13 16:54:35 -06:00
Neil Fortner
bca20b40b4 Initialize hid_t variables in test_Attr_bug9. 2017-11-13 13:43:32 -06:00
Dana Robinson
3a5e158191 Fixed the problems with LDFLAGS and AM_LDFLAGS in filter plugins. 2017-11-12 21:14:01 -08:00
Dana Robinson
d4a0e3d293 Merge pull request #767 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:zero_allocation_fix_develop to develop
* commit '3e4f6138b60d8363c377e453d63f875775ec907a':
  Removed asserts from H5MM calls that conflict with stated behavior and added a test to ensure that this doesn't happen in the future.
2017-11-10 23:15:50 -06:00
Neil Fortner
04bb800f7c Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~nfortne2/hdf5_naf into develop 2017-11-10 16:40:17 -06:00
Neil Fortner
576b9c5f5f Fix HDFFV-10274. When deleting all (or almost all) of the messages in
an object header chunk, where the total amount deleted was greater than
64K, an error would occur due to an off by one error in the code that
handled that case.  Fixed this and added a test case.
2017-11-10 16:37:40 -06:00
Dana Robinson
0b846cee58 Cleaned up misc warnings in src and test. 2017-11-09 20:04:12 -08:00
Dana Robinson
3e4f6138b6 Removed asserts from H5MM calls that conflict with stated behavior
and added a test to ensure that this doesn't happen in the future.
2017-11-09 13:56:58 -08:00
Dana Robinson
00ade113c5 Plugin test rework
Cleanup of plugin test code. Renames many files. Prep for VOL branch merge.
2017-11-08 17:52:44 -08:00
Vailin Choi
a7ba8af0d1 Merge branch 'develop' into bugfix/version_bounds 2017-10-17 11:50:46 -05:00
Allen Byrne
087e0d6efa Merge pull request #705 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '11df540c92ac284a664be912b0cb045e8d92e7d3':
  Added older change that was added to last change
  HDFFV-10297 add release note - fix test step
  HDFFV-10297 Fix resource errors and cleanup whitespace
  HDFFV-10297 fix vl buffer error
  HDFFV-10297 update calls to H5Zfilter_avail
  HDFFV-10297 - code changes nullify error
  HDFFV-10297 - Fix test errors - five remaining
  HDFFV-10297 - fix repack individual objects includes H5Zfilter_avail() fix
2017-10-11 15:42:34 -05:00
Allen Byrne
12e832bd41 HDFFV-10297 add release note - fix test step 2017-10-11 10:23:55 -05:00
Allen Byrne
c577a5e995 HDFFV-10297 update calls to H5Zfilter_avail 2017-10-09 17:00:15 -05:00
lrknox
726d7d3af5 Add "-rpath /nowhere" to *_la_LDFLAGS for plugin test libraries. This
allows them to be successfully linked but not installed.  The change was
added for the HDF5 1.8.20 release, but is also needed for all other HDF5
branches.
2017-10-09 15:33:09 -05:00
Vailin Choi
fe70476a22 Initial checkin for library version bounds
Code changes to provide versioning support when adding to the enumerated defines for H5F_libver_t.
2017-10-03 14:57:36 -05:00
Allen Byrne
4f9e47650a Fix STREQUAL if commands. 2017-10-02 12:39:15 -05:00
Quincey Koziol
744b6b282f Better segregate clean & dirty LRU lists so that they are only defined when
the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
2017-09-30 09:50:58 -05:00
Quincey Koziol
8880ec672e Style cleanups and misc. bugfixes discovered during full SWMR development. 2017-09-23 11:17:47 -05:00
Vailin Choi
1ef8577a4a Modifications based on comments from pull request review
(1) Remove unnecessary asserts
(2) Add code to insert bad offset values to the test file in gen_bad_offset.c
2017-08-23 16:23:09 -05:00
Vailin Choi
b07eb6efd0 Fix for HDFFV-10216 segfault in H5G_node_cmp3 with corrupt h5 file
Fix H5HL_offset_into() to return error when offset exceeds heap data block size.
Also fix other places that call this routine to detect error return.
2017-08-22 01:36:20 -05:00
Dana Robinson
9bcf8b2f25 Minor tweaks in response to code review. 2017-08-01 04:59:36 -07:00
Dana Robinson
fd0d8738e0 Merge branch 'develop' into h5pl_commit 2017-08-01 04:12:03 -07:00
Allen Byrne
55d82c8f74 Add test header for log 2017-07-26 10:45:08 -05:00
Allen Byrne
cd0d804611 Verify default paths exist in table 2017-07-26 09:51:57 -05:00
Vailin Choi
ba17f16e4c Skip test in test/fheap.c when:
a) multi/split drivers and
b) persisting free-space or using paged aggregation strategy
because the library will fail file creation (temporary) for the above conditions.
2017-07-17 23:31:21 -05:00
Vailin Choi
66efce85e7 Changes made based on RFC review comments
Test the changes in a branch via daily testing.
2017-07-17 23:28:31 -05:00
Dana Robinson
d4234d0a98 Major rework of H5PL package code before bringing VOL changes
over.

Brings coding standards in line with the rest of the library,
enforces better software engineering principles, and makes
everything more maintainable.
2017-07-14 09:18:33 -07:00
Vailin Choi
8935c921f7 Fix for HDFFV-10217 infinite loop in H5VM_power2up().
The function H5VM_power2up() returns the next power of 2 for n.
When n exceeds 2^63, it overflows and becomes 0 causing the infinite looping.
The fix ensures that the function checks for n >= 2^63 and returns 0.
2017-07-10 03:22:48 -05:00
Dana Robinson
46450bd9d0 Merge pull request #594 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:test_misc13 to develop
* commit '191147ec90d72619632a24242c003ecb3bccfffd':
  * Yanked the smoke check that was recently introduced to test   the unused H5I_REFERENCE ID type in test_misc19(). This fails   when running testhdf5 and skipping the reference test since   the H5R package won't be initialized. H5I_REFERENCE will   be going away soon and the ID type is unused so there's really   no point to doing anything to test it. * Cleaned up test_misc13(), which is a basic test of userblock   functionality, to not emit warnings due to the large global   array.
2017-07-05 13:14:39 -05:00
Dana Robinson
191147ec90 * Yanked the smoke check that was recently introduced to test
the unused H5I_REFERENCE ID type in test_misc19(). This fails
  when running testhdf5 and skipping the reference test since
  the H5R package won't be initialized. H5I_REFERENCE will
  be going away soon and the ID type is unused so there's really
  no point to doing anything to test it.
* Cleaned up test_misc13(), which is a basic test of userblock
  functionality, to not emit warnings due to the large global
  array.
2017-07-05 09:35:24 -07:00
Vailin Choi
1e1403cf1d Skip HDFFV-10160 filenotclosed test for split/multi driver
Temporary skip this test for split/multi driver.
Further investigation to resolve the failure is needed.
Please enter the commit message for your changes. Lines starting
2017-07-05 01:27:40 -05:00
Dana Robinson
76b9a0e7ef * Reverted removal of H5I_REFERENCE to avoid breaking binary
compatibility.
* Added a quick H5I_REFERENCE smoke check to test_misc19()
  in tmisc.c.
2017-07-03 12:54:14 -07:00
Dana Robinson
d342358a3b Added missing free() call to test_misc19(). 2017-06-30 21:06:29 -07:00
Dana Robinson
0d6930d3c2 Purged the unused H5I_REFERENCE from the library. 2017-06-30 20:53:56 -07:00
Dana Robinson
b6944aeb2a Added a test for VFD IDs to testhdf5.
This required adding some code to generate a fake VFD class
to pass to H5FDregister().

Also, a bunch of whitespace and comment tidying.
2017-06-30 18:35:09 -07:00
Vailin Choi
804a88fafd Fix for HDFFV-10160
Modifications to fix the assertion/abort failure when the application does not close the file.
2017-06-29 01:11:44 -05:00
Vailin Choi
980d5b4266 Fix for HDFFV-7853 H5Ocopy doesn't work with open identifiers
Changes made so that raw data for dataset objects are copied from cached info when possible instead of flushing objects to file and read them back in again.
2017-06-10 19:40:19 -05:00
Dana Robinson
1e9354bcf5 Merge branch 'develop' into windows_open 2017-05-31 15:07:49 -07:00
Dana Robinson
5efda2babf Fixed typo in vfd.c from 'updated VFD feature flag' checkin. 2017-05-30 16:33:20 -07:00
Dana Robinson
13d3d4bd0e Added feature flag checks for a few other VFDs in test/vfd.c. 2017-05-26 18:22:07 -04:00
Dana Robinson
343b53d64f Merge branch 'develop' into compat_feature_flag 2017-05-26 17:29:52 -04:00