summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
Commit message (Collapse)AuthorAgeFilesLines
* Detect when there's the same-shaped selection of a single block of elements onQuincey Koziol2020-06-051-0/+9
| | | | | | both selections, but with different selection types (i.e. one selection defined as an 'all' type and the other as a hyperslab or point type), without falling into the generic selection iteration case.
* Trim trailing whitespaceQuincey Koziol2020-04-201-1/+1
|
* Fixed stack and frame size warnings. Not complete, but fixes most ofDana Robinson2020-01-151-16/+24
| | | | the easier cases.
* address problems from commentskmu2019-12-111-2/+2
|
* Add support for scalar dataspaces to H5Sproject_intersection. AddNeil Fortner2019-12-021-86/+129
| | | | checking for ank validity.
* Merge pull request #2050 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:point_spi to ↵Neil Fortner2019-11-271-17/+113
|\ | | | | | | | | | | | | develop * commit 'ad2fbb022e096233444489e69b93343a4b7e9631': Add support for point selections to H5S_select_project_intersection.
| * Add support for point selections to H5S_select_project_intersection.Neil Fortner2019-11-271-17/+113
| |
* | Merge pull request #2045 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:select_adjust ↵Neil Fortner2019-11-261-18/+58
|\ \ | | | | | | | | | | | | | | | | | | | | | to develop * commit '4e12984b77cdd7615843d94f8de8d54db27476ac': Move checking for zero offset in selection adjust calls to the selection 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() with H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
| * | Move checking for zero offset in selection adjust calls to the selection ↵Neil Fortner2019-11-181-24/+4
| | | | | | | | | | | | | | | | | | | | | 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 Fortner2019-11-181-6/+66
| |/ | | | | | | | | H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
* | Modify H5Ssel_iter_get_seq_list() to accept iterators that have reachedNeil Fortner2019-11-151-1/+1
|/ | | | | the end of iteration (returning zero sequences). Previously it could cause an assertion failure.
* Implement public H5Sselect_project_intersection(). Updated internalNeil Fortner2019-11-131-5/+76
| | | | | | | | 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.
* Added public H5Sselect_adjust_u and H5Shyper_adjust_s calls.Dana Robinson2019-08-151-0/+39
|
* Fix return type for H5Sselect_intersect_block().Quincey Koziol2019-07-311-1/+1
|
* Updated H5TRACE macro.Quincey Koziol2019-07-301-0/+1
|
* Add H5Sselect_shape_same and H5Sselect_intersect_block API routines, alongQuincey Koziol2019-07-301-2/+166
| | | | with tests and minor cleanups and refactorings.
* Fix minor typo in H5S_select_iter_releaseJordan Henderson2019-06-191-1/+1
|
* Add H5S_SEL_ITER_SHARE_WITH_DATASPACE selection iterator creation flag, toQuincey Koziol2019-06-171-1/+2
| | | | | share dataspace's selection with iterator (and with caution about not modifying or closing the dataspace while the iterator is open).
* Fix misc. typos, etc. from code reviewQuincey Koziol2019-06-171-2/+2
|
* New hyperslab selection routines and new public selection iterator routines.Quincey Koziol2019-06-161-0/+216
|
* Refactor H5S__hyper_project_intersection to operate directly on spanNeil Fortner2019-06-011-4/+7
| | | | | trees, improving performance and removing the conditionn that the extents be equal.
* Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-04-061-63/+6
|\
| * Move dataspace selection-specific coding to the callbacks as preparation for ↵Vailin Choi2019-04-051-63/+6
| | | | | | | | the H5Sencode changes.
* | Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-03-171-10/+10
|\ \ | |/
| * Added an H5MM_memcpy call that checks for buffer overlap.Dana Robinson2019-03-161-8/+8
| |
* | Core changes to selection code from the hyperslab_updates branch.Quincey Koziol2019-03-161-111/+94
|/
* More changes to align with incoming selection improvements.Quincey Koziol2019-02-141-44/+43
|
* Align develop with incoming hyperslab_updates branch changes.Quincey Koziol2019-02-131-121/+198
|
* Delta reduction against hyperslab_updates branch.Quincey Koziol2019-01-111-4/+6
|
* VOL FEATUREDana Robinson2018-10-101-0/+46
|
* H5S adjust callbacks now return an herr_t instead of void.Dana Robinson2018-09-241-5/+7
|
* Merge pull request #1133 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop ↵Binh-Minh Ribler2018-07-141-2/+2
|\ | | | | | | | | | | | | | | | | to develop Fixed HDFFV-10404 * commit 'ec31438afdaf575368938e930eb3af0865a342b3': Fixed HDFFV-10404 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
| * Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-2/+2
| | | | | | | | | | | | | | | | | | 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-7/+6
| | | | | | | | | | | | | | ~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-61/+55
| |\
| * | Fix for daily test failures.Vailin Choi2017-12-071-2/+2
| | |
| * | Fix for HDFFV-9947 H5SencodeVailin Choi2017-11-281-4/+5
| | | | | | | | | | | | Modifications to fix H5Sencode bug when num points selected is > 2^32.
| * | 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.
* | | Fix for HDFFV-10333:Vailin Choi2018-07-111-1/+1
| |/ |/| | | | | | | | | | | | | | | 1) Check for valid object header version for a refcount messge 2) Check for invalid fill value size 3) Check for invalid dimension size in a layout message 4) Add --enable-error-stack option to h5stat 5) Add error checks to h5stat.c 6) Add tests to h5stat and h5dump
* | Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-04-291-6/+4
|\ \ | | | | | | | | | merge_hyperslab_updates
| * | 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.
* | Further minor cleanupsQuincey Koziol2017-03-281-34/+30
| |
* | Checkpoint normalization against incoming hyperslab / selection / dataspaceQuincey Koziol2017-03-281-33/+31
|/ | | | improvements.
* [svn-r30189] Description:Quincey Koziol2016-07-181-29/+82
| | | | | | | | | 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-r27946] Brought VDS branch in sync with trunk (up to r27945).Dana Robinson2015-10-041-11/+19
|\ | | | | | | | | | | | | | | Tested on Ubuntu 15.04 (Linux 3.19 x86_64), gcc 4.9.2, MPICH 3.1.4 and CMake 3.3.2. - Autotools serial w/ Fortran, C++ - Autotools parallel w/ Fortran - CMake serial w/ Fortran, C++
| * [svn-r27939] Remove H5D__iterate and use H5S_select_iterate directlyJerome Soumagne2015-10-021-11/+19
| | | | | | | | | | Add internal library callback to H5S_select_iterate to avoid having to pass hid_t objects internally
| * [svn-r27851] Description:Quincey Koziol2015-09-221-2/+7
| | | | | | | | | | | | | | | | | | Normalization changes that wouldn't otherwise be necessary if the VDS branch wasn't coming in shortly. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
* | [svn-r27850] Description:Quincey Koziol2015-09-221-1/+1
|\ \ | |/ | | | | | | | | | | | | Sync w/trunk Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
| * [svn-r27849] Description:Quincey Koziol2015-09-221-1/+1
| | | | | | | | | | | | | | | | 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/+1
| | | | | | | | | | | | | | | | Clean up warnings and some normalization against trunk. Tested: McaOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)