summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27916] Re-merge of r27884-27891 from the trunk + bugfix for a fewDana Robinson2015-09-301-42/+53
|\ | | | | | | | | | | | | | | H5S recursive functions where an aliased pointer was incorrectly set too early. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2 serial and parallel (w/ MPICH 3.1.4)
| * [svn-r27888] Description:Quincey Koziol2015-09-271-1/+1
| | | | | | | | | | | | | | | | Fix typo in last checkin. *sigh* Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
* | [svn-r27912] Revert of r27887, which caused failures in the vds test. TheseDana Robinson2015-09-291-54/+40
| | | | | | | | | | | | | | | | changes will be merged more carefully so we can more easily identify any errors that arise. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2 serial and parallel (w/ MPICH 3.1.4)
* | [svn-r27887] Description:Quincey Koziol2015-09-271-40/+54
|\ \ | |/ | | | | | | | | | | | | Merge changes from trunk to the branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27884] Description:Quincey Koziol2015-09-261-31/+45
| | | | | | | | | | | | | | | | | | Update dataspace selection encode/decode routines to avoid type aliasing errors. Tested on: Linux/64 2.6.x (platypus) w/production (h5committest forthcoming)
| * [svn-r27849] Description:Quincey Koziol2015-09-221-12/+15
| | | | | | | | | | | | | | | | Normalize against incoming changes on VDS branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest forthcoming)
* | [svn-r27848] Description:Quincey Koziol2015-09-221-1/+0
| | | | | | | | | | | | | | | | Clean up warnings and some normalization against trunk. Tested: McaOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
* | [svn-r27835] Description:Quincey Koziol2015-09-211-31/+35
|\ \ | |/ | | | | | | | | | | | | Sync w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27768] Description:Quincey Koziol2015-09-141-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
| * [svn-r27631] Description:Quincey Koziol2015-08-311-48/+48
| | | | | | | | | | | | | | | | Make error values from hyperslab operations clearer. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (Too minor to require h5committest)
* | [svn-r27701] RM offset initialization that is no longer necessary with the ↵Neil Fortner2015-09-081-4/+0
| | | | | | | | | | | | | | | | recent fix to H5Screate(). Tested: ummon
* | [svn-r27673] rm unnecessary/unreachable code from H5S_get_select_hyper_nblocksNeil Fortner2015-09-031-7/+0
| | | | | | | | Tested: ummon
* | [svn-r27632] Description:Quincey Koziol2015-08-311-25/+21
| | | | | | | | | | | | | | | | | | | | Revert changes to pass file pointer to selection serialize/deserialize routines. Also patch back in some changes that were merged out in the previous merge w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
* | [svn-r27543] Add tests to cover remaining code coverage assertions in ↵Neil Fortner2015-08-201-25/+19
| | | | | | | | | | | | | | | | | | H5Shyper.c. Add more tests for unlimited selections. Fix bug related to empty unlimited source dataset. Tested: ummon
* | [svn-r27506] H5Dset_extent no longer holds all printf source datasets open.Neil Fortner2015-08-141-84/+84
| | | | | | | | | | | | Other items identified during reviews. Tested: ummon
* | [svn-r27479] Add checking for invalid inputs to H5Dset_virtual: point ↵Neil Fortner2015-08-071-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | [svn-r27450] Add descriptions for all non-public functions.Neil Fortner2015-07-311-28/+91
| | | | | | | | | | | | | | Other comments. Add some input checking. Tested: ummon
* | [svn-r27284] Modify VDS implementation to always use FAPL and DAPL from VDS ↵Neil Fortner2015-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | file and dataset to open source files and datasets, instead of using the default property lists. Modify VDS to reject attempts at parallel I/O, fix parallel compile error. Modify VDS to not write fill value to memory buffer if the fill value is undefined. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27246] Remove "clipped" status from unlimited selections, decoupling ↵Neil Fortner2015-06-181-266/+278
| | | | | | | | | | | | | | | | | | | | | | them from the extent. Improve algorithm for calculation of VDS extent by removing the need for a temporary copy of a dataspace. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27197] Improve performance of "printf" VDS with selections in the file ↵Neil Fortner2015-06-121-7/+9
| | | | | | | | | | | | | | | | | | | | 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
* | [svn-r27192] Improve support for printf selections (support partial blocks withNeil Fortner2015-06-121-12/+72
| | | | | | | | | | | | | | | | | | | | 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)
* | [svn-r27191] Merged r26781 to r27185 from trunkDana Robinson2015-06-111-6/+12
|\ \ | |/ | | | | | | Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2 (C++ and Fortran 2003 also tested)
| * [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-1/+1
| | | | | | | | | | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* | [svn-r27174] Fix bug in H5S__hyper_project_intersection that affected empty ↵Neil Fortner2015-06-091-5/+8
| | | | | | | | | | | | selections. Tested: ummon
* | [svn-r27153] Implement fill value support for VDS.Neil Fortner2015-06-051-0/+110
| | | | | | | | | | | | | | | | | | Add testing for this. Fix bug in printf string parsing. Add test for this. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27145] Add some testing for printf-style source dataset name resolution.Neil Fortner2015-06-031-99/+56
| | | | | | | | | | | | | | Various bug fixes, including a temporary fix for printf with FIRST_MISSING view. Other cleanup. Tested: ummon
* | [svn-r27104] Add support for printf-style source dataset name resolution.Neil Fortner2015-05-221-2/+86
| | | | | | | | | | | | | | | | Passes use case test, no regression tests yet. Add functions H5Pset/get_virtual_printf_gap (not tested yet). Other minor fixes/cleanup. Tested: ummon
* | [svn-r27103] Merge revisions 26780 through 27102 from trunk to vds branch.Neil Fortner2015-05-211-10/+10
|\ \ | |/ | | | | Tested: ummon
| * [svn-r27045] Renamed H5_ASSIGN_OVERFLOW() to H5_CHECKED_ASSIGN() and re-orderedDana Robinson2015-05-101-10/+10
| | | | | | | | | | | | the arguments to be in a more logical order. Tested on: h5committest
* | [svn-r27053] Add more tests for unlimited selections.Neil Fortner2015-05-121-4/+1
| | | | | | | | | | | | | | Fix off by 1 error involving minimum extent of VDS. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27049] Rename H5Pset/get_virtual_dataspace_bounds to ↵Neil Fortner2015-05-111-89/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | [svn-r27028] Merge revisions 26305 through 26780 from trunk to vds branch.Neil Fortner2015-05-061-1/+1
| | | | | | | | Tested: ummon
* | [svn-r27022] Add new functions H5Pset_virtual_dataspace_bounds andNeil Fortner2015-05-051-17/+4
| | | | | | | | | | | | | | | | | | H5Pget_virtual_dataspace_bounds. Minor refactor of dataset initialization code to make this cleaner. Update h5_vds-percival-unlim-maxmin.c Other minor fixes/cleanup. Tested: ummon
* | [svn-r26984] Add support for unlimited selection being clipped in the middle ↵Neil Fortner2015-04-301-19/+42
| | | | | | | | | | | | | | | | | | of a block. Add tests for this (pure selection tests, needs testing with VDS). Various bug fixes. Tested: ummon
* | [svn-r26967] Refactor VDS unlimited dimension code to correctly handle case ↵Neil Fortner2015-04-291-12/+34
| | | | | | | | | | | | | | | | | | where selections have discrete blocks and the extent is set by the minimum (untested, and there is still no way to set that preference). Tested: ummon
* | [svn-r26962] Add support for unlimited selections to VDS code.Neil Fortner2015-04-291-28/+220
| | | | | | | | | | | | | | | | Not tested (except for percival-unlim example) Fix percival-unlim example Other bug fixes/cleanup Tested: Fedora 64
* | [svn-r26891] Fix bug in H5S__hyper_project_intersection that could cause an ↵Neil Fortner2015-04-221-13/+13
| | | | | | | | | | | | | | | | incorrect result. Fix typos. Tested: ummon
* | [svn-r26883] Fix bug in H5S__hyper_project_intersection that could cause an ↵Neil Fortner2015-04-221-2/+2
| | | | | | | | | | | | incorrect result. Tested: ummon
* | [svn-r26880] Fix errors where unlim_dim was not initialized in several ↵Neil Fortner2015-04-221-1/+19
| | | | | | | | | | | | places in H5Shyper.c Tested: Home computer
* | [svn-r26878] Fix errors in unlimited selection serialize/deserializeNeil Fortner2015-04-211-40/+43
| | | | | | | | | | | | Other minor fixes Tested: jam
* | [svn-r26828] Implement support for unlimited selections (not supported by ↵Neil Fortner2015-04-161-54/+411
| | | | | | | | | | | | | | | | | | VDS code yet). Add tests for unlimited selections. Various other minor changes. Tested: ummon
* | [svn-r26680] Implement minor suggestions from 3/26/15 code review.Neil Fortner2015-03-311-6/+4
| | | | | | | | | | | | Note make check still fails in h5dump test (unrelated to this checkin). Tested: ummon
* | [svn-r26668] Fix error in H5D__virtual_read/write that prevented short circuit.Neil Fortner2015-03-301-142/+143
| | | | | | | | | | | | | | | | 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
* | [svn-r26566] Fix error in H5S__hyper_project_intersection algorithm.Neil Fortner2015-03-241-6/+7
| | | | | | | | | | | | | | | | 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
* | [svn-r26559] Fix error in H5S_extent_copy (needs testing) - would not patch ↵Neil Fortner2015-03-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | number of elements selected with "all" slections nor reset sharing state. 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
* | [svn-r26482] Opening source files now reuses the flags from the virtual file.Neil Fortner2015-03-191-3/+8
| | | | | | | | | | | | | | | | | | 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
* | [svn-r26476] Add support for I/O in all cases with fixed size datasets and ↵Neil Fortner2015-03-181-98/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | no point selections. Add source dataspace extent patching (should allow closing the source file). Note fill values and various other features are not yet supported. 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
* | [svn-r26469] INCOMPLETE, UNWORKING CODENeil Fortner2015-03-171-1/+274
|/ | | | Commit progress through 3/17/15
* [svn-r26303] remove files with .clog2 extension generated by MPE when doing ↵Mohamad Chaarawi2015-02-251-1/+2
| | | | make clean.
* [svn-r26302] Description:Quincey Koziol2015-02-251-39/+43
| | | | | | | | | Revise dataspace encode/decode routines to make them work better with future virtual dataset feature. Tested on: Mac OSX/64 10.10.2 (amazon) w/serial (h5committest forthcoming)