Commit Graph

2983 Commits

Author SHA1 Message Date
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
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
Dana Robinson
1b74c5ca95 More minor warning fixes. 2017-05-25 10:11:26 -04:00
Dana Robinson
65e2e8f87c A few more warnings fixed. 2017-05-25 09:06:49 -04:00
Dana Robinson
18ae45027c Fixed additional minor warnings. 2017-05-25 08:42:18 -04:00
Dana Robinson
946fd98b8d Fixed many minor warnings. 2017-05-25 06:45:53 -04:00
Dana Robinson
479f326a26 * Added new public H5FDdriver_query() API call.
* Changed return type of H5FD_driver_query() to herr_t.
* Updated swmr.c to use H5FDdriver_query() instead of the private call.
* Added some flags tests to vfd.c.
2017-05-24 09:41:26 -04:00
Dana Robinson
e5a57c97aa * Made H5FD_driver_query() a private function instead of static.
* Moved H5FD_driver_query() to H5FDint.c.
* Minor typo fixes in H5I.c.
* Updated swmr.c to check the VFD feature flags and skip the
  retries test when the VFD is not compatible with H5P_DEFAULT.
2017-05-24 07:44:18 -04:00
Dana Robinson
e3b22b8fa4 Initialized IDs to -1 and minor code tidy. 2017-05-24 06:51:45 -04:00
lrknox
c8a5520d3a Call to H5Dopen has H5dopen2 arguments at line 12704 of test/dsets.c -
changed to H5Dopen2 to fix failure with --with-default-api-version=v16
configure option.
2017-05-10 14:44:58 -05:00
Vailin Choi
d436db6c6e Fix for the two issues reported in HDFFV-10051
Modifications made based on the review comments from pull request #494
Tested on moohan, mayll, kituo, platypus, ostrich, osx1010test, quail, emu.
2017-05-08 22:14:20 -05:00
Vailin Choi
6a4f1187cc Fix for the two issues reported in HDFFV-10051:
(1) Repeated open/close of a compact dataset fails due to the
increment of ndims in the dataset structure for every open.
--This is done only for chunked dataset via H5D__chunk_set_sizes().
(2) layout "dirty" flag for a compact dataset is not reset
properly after flushing the data at dataset close.
--Reset the "dirty" flag before flushing the message to the object header
via H5O_msg_write().
Tested on moohan, kituo, platypus, ostrich, osx1010test, quail, emu.
2017-05-06 23:40:44 -05:00
Dana Robinson
734aebc395 Rework of the POSIX file open permissions and macros to clean up
HDopen() calls.

Also fixed a minor const warning in the core VFD.
2017-04-28 18:13:22 -04:00
lrknox
be49a94226 Comment out install-exec-hooks to remove libdynlib* files. Allen did
the same for hdf5_1_10 and hdf5_1_10_1 because the hooks don't reliably
work.  In the develop branch they are causing make install failures
because the autotools' install commands sometimes attempt to chmod these
files when they no longer exist.
2017-04-28 16:37:22 -05:00
Dana Robinson
d3b664b6a7 Changed the Windows POSIX open() file permissions to be correct
according to MSDN. Partial fix for HDFFV-9630.
2017-04-28 08:11:29 -07:00
Larry Knox
89fbe00dec Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '54957d37f5aa73912763dbb6e308555e863c43f4':
  Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
  Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
  Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
  Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-25 16:05:36 -05:00
Allen Byrne
bce204f7f3 Fix typo 2017-04-24 15:36:10 -05:00
Allen Byrne
c08ef4dc5b Signature change requires a ptr 2017-04-24 15:34:25 -05:00
Allen Byrne
c1dc24c143 Change H5PLsize() signature 2017-04-24 15:31:28 -05:00
Allen Byrne
c2a9c33444 Revert HDFFV-9655 2017-04-24 15:25:36 -05:00
Allen Byrne
6fac0de158 Revert HDFFV-9655 by disabling test and not using new function. 2017-04-24 15:10:58 -05:00
Allen Byrne
220388e735 Fix path to actual executable location 2017-04-24 10:50:06 -05:00