summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
Commit message (Collapse)AuthorAgeFilesLines
* Update license url (#332)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - src and test directories.
* Expand ID dec_ref and close callbacks to allow for asynchronous close ↵Quincey Koziol2020-12-011-0/+31
| | | | | | | | | | | operations (#135) * Expand ID dec_ref and close callbacks to allow for asynchronous close operations. * Fix typo * Rename token -> request, remove programmer name * H5E_ATOM to H5E_ID
* Replace H5E_ATOM major error category with H5E_ID (#121)Dana Robinson2020-11-301-7/+7
| | | | | | | | | | * Renames H5I_ATOM to H5I_ID, among other related changes * Java has been updated. * Fortran is failing on my VM, even though I don't touch that. * Adds a RELEASE.txt note for H5E_ATOM to H5E_ID changes * Fixes typos in comments
* Enhance API tracing (#120)Quincey Koziol2020-11-261-5/+5
| | | Enhance API tracing to handle more types, and to put tracing info in a string, allowing it to be used when reporting errors. Also refactor ref-counted strings (H5RS) module to add capabilities needed for the tracing. Refactored H5Gname.c routines to use new H5RS routines also. Added /*out*/ tags to API routines that are returning information to the application. Updated H5TRACE macros from running updated trace script over library code. Added tests for new H5RS routines.
* Clang-format of source filesAllen Byrne2020-09-301-529/+501
|
* Free selection type-specific info when resetting selection iteratorsJordan Henderson2020-09-231-0/+4
|
* Add H5Ssel_iter_init API call to reset a selection iteratorJordan Henderson2020-09-181-0/+46
|
* Clean up private / package / static namespace issues (function naming, whichQuincey Koziol2020-08-061-19/+19
| | | | | | header file, FUNC_ENTER / LEAVE, etc). Removed remaining personal email addresses from library source code (still needs cleaned from other directories). Misc. warning, style, and whitespace cleanup.
* Minor normalization with 1.10Dana Robinson2020-07-171-1/+1
|
* Minor changes from normalization with 1.10Dana Robinson2020-07-091-3/+4
|
* 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