Commit Graph

42 Commits

Author SHA1 Message Date
lrknox
25ec07450a Change copyright headers to replace url referring to file to be removed
and replace it with new url for COPYING file.

Fix 2 lines in java error test expected output file where messages
include line numbers changed by reducing the copyright header by 2
lines.
2017-04-14 11:54:16 -05:00
Allen Byrne
71fa3dc480 Fix alignment 2017-03-08 11:51:17 -06:00
Allen Byrne
12b87f0f84 Fix vds tests
java wrong call
vds test - missing checks and if content
2017-03-07 10:06:38 -06: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
Allen Byrne
2f1b517021 [svn-r29884] VDS correction for get_space_status, with test change.
Add new files for repack tests.
Add repack tests for VDS files.
2016-05-04 11:38:08 -05:00
Dana Robinson
0dd0ffd5c1 [svn-r29421] Fix for HDFFV-9516.
Corrects a problem where H5Dget_access_plist() returns a dapl that
does not contain all dapl fields.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-15 12:43:34 -05:00
Dana Robinson
7822924da9 [svn-r28573] Merge of r28109 from revise_chunks. Minor change to test/vds.c.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 22:18:03 -05:00
Quincey Koziol
0695d6366a [svn-r27835] Description:
Sync w/trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-09-20 21:18:45 -05:00
Neil Fortner
c839ed3383 [svn-r27646] Add version number to VDS global heap object encoding.
Fix handling of layout version number.
Other minor fixes/cleanup.
NOTE: This commit changes the file format for VDS, all files must be
re-generated.

Tested: ummon
2015-09-01 08:03:33 -05:00
Neil Fortner
32bf83f1cf [svn-r27546] Add tests for H5O__dset_bh_info (H5Oget_info) and unlimited selections in a
region reference.

Tested: ummon
2015-08-21 14:57:29 -05:00
Neil Fortner
1821b64d49 [svn-r27543] Add tests to cover remaining code coverage assertions in H5Shyper.c.
Add more tests for unlimited selections.
Fix bug related to empty unlimited source dataset.

Tested: ummon
2015-08-20 17:18:52 -05:00
Neil Fortner
e3bea91686 [svn-r27538] Add tests to cover remaining code coverage assertions in src directory except
for those in H5Doh.c and H5Shyper.c.

Tested: ummon
2015-08-20 11:38:05 -05:00
Neil Fortner
6909d2033f [svn-r27527] Add tests to hit code coverage assertions in H5Olayout.c.
Fix issue in VDS delete routine.

Tested: ummon
2015-08-19 11:21:27 -05:00
Neil Fortner
69e2f53edb [svn-r27520] Add new test for all 3 selection types in the same VDS.
Minor cleanup in the tests.

Tested: ummon
2015-08-18 15:45:46 -05:00
Neil Fortner
cefda2ef0c [svn-r27505] Add support for H5Dset_extent for VDS.
Add tests for this.
Other bug fixes/cleanup

Tested: Kubuntu 64 (home computer)
2015-08-13 21:55:15 -05:00
Neil Fortner
1ba3706640 [svn-r27498] Add support for I/O after reopening a VDS with unlimited and/or printf mappings
without calling H5Dget_space first.
Add tests for this.
Other minor fixes/cleanup.

Tested: ummon
2015-08-12 13:19:48 -05:00
Neil Fortner
0c4ec00cba [svn-r27481] Add support for offset selections passed to H5Pset_virtual.
Add test for this.

Tested: ummon
2015-08-07 15:06:56 -05:00
Neil Fortner
98f947ceae [svn-r27479] Add checking for invalid inputs to H5Dset_virtual: point selections, incorrect
numbers of elements selected, incorrect "slice" through limited dimensions,
incorrect number of printf substitutions.
Patch source selection space extent with bounds of selection if extent is
unknown before returning via H5Pget_virtual_srcspace.
Write updated VDS dataspace to file when it changes due to unlimited selections.
Other minor fixes/cleanup.

Tested: ummon
2015-08-07 11:15:39 -05:00
Neil Fortner
49076d6d22 [svn-r27425] Implement support for H5Pequal with VDS properties.
Testing for H5Pequal with VDS.

Tested: ummon
2015-07-22 16:41:18 -05:00
Neil Fortner
6bb109bf6d [svn-r27424] Implement support for h5debug for VDS.
Implement support for H5Pencode/decode with VDS properties.
Testing for H5Pencode/decode with VDS.
Relax assertion check for number of elements written to buffer as we do not
check for overlaps in mappings.
Other minor fixes/cleanup.

Tested: ummon
2015-07-22 13:36:30 -05:00
Neil Fortner
a8fc7eeaec [svn-r27420] Fixed VDS test to handle the family driver correctly.
Tested: ummon
2015-07-21 12:14:26 -05:00
Neil Fortner
3c4dd5fa53 [svn-r27323] Implement support for H5Dflush for VDS.
Implement support for H5Ocopy on VDS.
Testing for H5Ocopy on VDS.
Fix check-vfd failure.
Other minor fixes/cleanup.
Note there is a preexisting failure in h5repack testing.

Tested: ummon
2015-07-02 12:04:19 -05:00
Neil Fortner
91eb17db8e [svn-r27215] Fix issue where % characters could not be used in non-printf mappings.
Other minor fixes/cleanup.

Tested: ummon
2015-06-16 12:27:20 -05:00
Dana Robinson
4f231ddc9b [svn-r27214] Fixed a bug on Windows where dcpls were set to be chunked and not virtual. This was due to a simple copy-paste issue in the initializer that is used when C99 initializers are not available.
Also fixed a dims array size error in the vds test.

Tested on: 64-bit Win7 with VS2013
2015-06-16 12:02:35 -05:00
Neil Fortner
4117cfe2b9 [svn-r27197] Improve performance of "printf" VDS with selections in the file space - the
library no longer iterates over all source datasets in the printf mapping, it
now only looks at the ones that could be involved in I/O (the ones whose bounds
overlap with the selection in the unlimited dimension).

Tested: ummon
2015-06-12 17:04:35 -05:00
Allen Byrne
78e128c544 [svn-r27195] Add h5dump cmake tests and files.
Add tools gen cmake files
move testfiles for pbits to subdir as well as vds

Tested: local linux
2015-06-12 16:29:20 -05:00
Neil Fortner
9786fe2f61 [svn-r27192] Improve support for printf selections (support partial blocks with
H5_VDS_FIRST_MISSING)
Add test for this
Rework VDS code to not depend on unlimited selections having a "clipped" state
in preparation for removing the clipped state from unlimited selections.
Other bug fixes/cleanup

Tested: Kubuntu 64 (home computer)
2015-06-11 23:26:53 -05:00
Neil Fortner
c27904bc5f [svn-r27153] Implement fill value support for VDS.
Add testing for this.
Fix bug in printf string parsing.
Add test for this.
Other minor fixes/cleanup.

Tested: ummon
2015-06-05 16:55:24 -05:00
Neil Fortner
5d12a79db2 [svn-r27145] Add some testing for printf-style source dataset name resolution.
Various bug fixes, including a temporary fix for printf with FIRST_MISSING view.
Other cleanup.

Tested: ummon
2015-06-03 13:00:58 -05:00
Neil Fortner
f7e10b55ab [svn-r27053] Add more tests for unlimited selections.
Fix off by 1 error involving minimum extent of VDS.
Other minor fixes/cleanup.

Tested: ummon
2015-05-12 10:39:10 -05:00
Neil Fortner
5b92a99024 [svn-r27049] Rename H5Pset/get_virtual_dataspace_bounds to H5Pset/get_virtual_view and rename
enum argument.
Add support for AND and NOTA/NOTB operations with unlimited selections.
Add some tests for unlimited selections.
Other minor fixes/cleanup.
Note: "clipped" status of unlimited selections is not properly updated with
H5Sselect_copy.  This is a deliberate omission since fixing it would take work
and we are planning to eliminate the clipped status anyways.

Tested: ummon
2015-05-11 14:01:42 -05:00
Neil Fortner
f53cfbe9d6 [svn-r26828] Implement support for unlimited selections (not supported by VDS code yet).
Add tests for unlimited selections.
Various other minor changes.

Tested: ummon
2015-04-16 15:57:26 -05:00
Neil Fortner
904c84b2a2 [svn-r26668] Fix error in H5D__virtual_read/write that prevented short circuit.
Fix off by 1 error in H5S__hyper_project_intersection algorithm.
Add many tests for fixed size hyperslab I/O.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-30 17:11:58 -05:00
Neil Fortner
1583b1b729 [svn-r26566] Fix error in H5S__hyper_project_intersection algorithm.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-24 18:23:18 -05:00
Neil Fortner
43dec53436 [svn-r26482] Opening source files now reuses the flags from the virtual file.
Added tests for I/O on virtual dataset with source datasets in unopened files.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-19 15:04:36 -05:00
Neil Fortner
424826d0dd [svn-r26469] INCOMPLETE, UNWORKING CODE
Commit progress through 3/17/15
2015-03-17 15:02:05 -05:00
Neil Fortner
bfc69905ac [svn-r26411] Add support for I/O in very simple cases (virtual mapping and file space are
both H5S_ALL).
Note make check  fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-09 16:59:50 -05:00
Neil Fortner
79771d3fac [svn-r26346] Add more test cases, refactor test code to reduce code duplication. Minor
fixes in src.
Note make check still fails in h5ls test.

Tested: ummon
2015-03-03 12:32:22 -05:00
Neil Fortner
2811133914 [svn-r26293] Implement patching of virtual dataspace extent in mapping dataspaces when
opening virtual dataset.  Add tests for this.

Tested: ummon
2015-02-24 14:54:48 -05:00
Neil Fortner
88b7d8d34c [svn-r26261] Commit working but incomplete prototype. Does not perform I/O.
Tested: ummon
2015-02-20 16:53:35 -05:00
Neil Fortner
a5460b731d [svn-r26199] INCOMPLETE, UNWORKING CODE
Fix doubled vds.c
2015-02-17 16:12:58 -05:00
Neil Fortner
1199ab1f48 [svn-r26198] INCOMPLETE, UNWORKING CODE
Commit progress through 1610 CST 2/17/15
2015-02-17 16:11:22 -05:00