summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecessary check macrokmu2020-05-201-1/+1
|
* fix intel compile warningskmu2020-05-201-1/+1
|
* Revert "fix warnings from Intel compiler"kmu2020-05-201-1/+1
| | | | This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
* Revert "fix issues from previous PR comments"kmu2020-05-201-1/+1
| | | | This reverts commit d242a900f420b040e364f6c0976c01593e955db3.
* Revert "using a different MACRO"kmu2020-05-201-3/+3
| | | | This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.
* using a different MACROkmu2020-05-201-3/+3
|
* fix issues from previous PR commentskmu2020-05-201-1/+1
|
* fix warnings from Intel compilerkmu2020-05-201-1/+1
|
* Two fixes:Vailin Choi2020-05-201-0/+3
| | | | | (1) Set the version for reference datatype messge to H5O_DTYPE_VERSION_4. (2) Verify the decoded version for hyperslab selection.
* Add support for scalar dataspaces to H5Sproject_intersection. AddNeil Fortner2020-05-201-1/+1
| | | | checking for ank validity.
* Move checking for zero offset in selection adjust calls to the selection ↵Neil Fortner2020-05-201-22/+33
| | | | | | | callbacks. This makes the procedure for checking it consistent across selection types and between _s and _u, ensures it is always is performed even when called within the H5S package, and removes the redundant check that would occur when callins H5S_select_adjust_s() from outside the H5S package.
* Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() withNeil Fortner2020-05-201-48/+9
| | | | | H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
* Implement public H5Sselect_project_intersection(). Updated internalNeil Fortner2020-05-201-87/+189
| | | | | | | | algorithm to (optionally) avoid sharing selection data structures. Tested internal code (including with valgrind) by setting VDS code to avoid sharing selection, has since been changed to share selection for performance, so this code is not yet tested in regression tests. API has not been tested.
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-4622/+6433
| | | | | | | | including the merge of `hdffv/hdf5/develop`, back to the branch that Vailin and I share. Now I need to put this branch on a fork with a less confusing name than vchoi_fork!
* H5S adjust callbacks now return an herr_t instead of void.Dana Robinson2018-09-241-4/+4
|
* Removed white spaceBinh-Minh Ribler2018-07-171-1/+2
|
* Fixed HDFFV-10476, HDFFV-10478, HDFFV-10480Binh-Minh Ribler2018-07-171-2/+3
| | | | | | | | | Description: Fixed potential out of bound read and NULL pointer dereferences. Platforms tested: Linux/64 (jelly) Linux/32 (jam) Darwin (osx1010test)
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-10/+10
| | | | | | | | | Description: Applied the typo fixes from user's report. The previous pull request couldn't be merged because it was too old, and it was too complicated for me to resolve conflicts. Platform tested: Linux/64 (jelly) - very minor
* Revert "Merge pull request #1116 in HDFFV/hdf5 from ↵hdftest2018-06-241-275/+96
| | | | | | | ~HDFTEST/hdf5_hft:hdf5_1_10 to develop" This reverts commit e9f476dad47ce593f13dacb77b1cc664d1f24e7b, reversing changes made to 2ff00b1b937ebe36ac6ddf590c16a4c27fc0b053.
* Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-05-081-1486/+1462
|\
| * Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-04-291-7/+5
| |\ | | | | | | | | | merge_hyperslab_updates
| | * Added missing casts for the return value of H5I_object_verify().Dana Robinson2017-05-241-6/+6
| | |
| | * Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Checkpoint normalization against incoming hyperslab / selection / dataspaceQuincey Koziol2017-03-281-1500/+1478
| |/ | | | | | | improvements.
* | Re-factor coding for H5P/Sencode with libver bounds.Vailin Choi2018-03-121-17/+35
| |
* | Resolve compilation errors.Vailin Choi2018-03-091-1/+1
| |
* | Fix for HDFFV-9947 H5SencodeVailin Choi2017-11-281-82/+245
| | | | | | | | Modifications to fix H5Sencode bug when num points selected is > 2^32.
* | Added missing casts for the return value of H5I_object_verify().Dana Robinson2017-05-251-6/+6
| | | | | | | | (cherry picked from commit 8807f918b9b00916efa822dda0301d3aa9debd80)
* | Change copyright headers to replace url referring to file to be removedlrknox2017-04-141-6/+4
|/ | | | | | | | 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.
* [svn-r30189] Description:Quincey Koziol2016-07-181-21/+39
| | | | | | | | | 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)
* [svn-r28606] Description:Quincey Koziol2015-12-131-1/+1
| | | | | | | | | | Revisions to normalize revise chunks vs. trunk, plus push dataset metadata changes into the cache immediately (instead of holding them within the dataset data structures). Tested on: MacOSX/64 10.11.2 (amazon) w/serial & parallel (h5committest not required on this branch)
* [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