summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
Commit message (Collapse)AuthorAgeFilesLines
* Prevent buffer overrun in H5S_select_deserialize (#2956)mattjala2023-05-181-8/+11
|
* Update Copyright headers. (#2534)Larry Knox2023-03-131-1/+0
|
* Spelling fixes for codespell (#2038)Dana Robinson2022-08-181-1/+1
| | | | | | | * Spelling fixes for codespell * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* clang 13 format #1933 (#1939)Allen Byrne2022-07-271-15/+15
|
* [1.12 Merge]Hdf5 1 12 warnings fixes (#1715)jhendersonHDF2022-05-031-49/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Warnings fixes (#1680) * Clean stack size warnings in sio_engine (#1687) * Fixes stack size warnings in tcoords.c (#1688) * Address some warnings from casting away of const (#1684) * Fixes stack size warnings in ntypes (#1695) * Fixes stack size warnings in dtransform (#1696) * Fixes stack size warnings in set_extent test (#1698) * Be a bit safer with signed arithmetic, thus quieting some signed-overflow warnings from GCC (#1706) * Avoid a signed overflow: check the range of `entry_ptr->age` before increasing it instead of increasing it and then checking the range. This quiets a GCC warning. * Avoid the potential for signed overflow by rewriting expressions `MAX(0, fwidth - n)` as `MAX(n, fwidth) - n` for various `n`. This change quiets some GCC warnings. * Change some local variables that cannot take sensible negative values from signed to unsigned. This quiets GCC warnings about potential signed overflow. * In a handful of instances, check the range of a signed integer before increasing/decreasing it, just in case the increase/decrease overflows. This quiets a handful of GCC signed-overflow warnings. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Fix object size warnings in cache.c test (#1701) * Fix some const cast and stack/static object size warnings (#1700) * Fix various warnings * Move HDfree_const to H5private.h for wider use * Print output from all ranks in parallel tests on allocation failure * Move const pointer freeing macro to h5test.h for now * Stop lying about H5S_t const-ness (#1209) Hyperslabs can be reworked inside several H5S callbacks, making H5S_t non-const in some places where it is marked const. This change switches these incorrectly const H5S_t pointer parameters and variables to non-const where appropriate. * Fix a few warnings after recent H5S const-related changes (#1225) * Adjustments for HDF5 1.12 Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com> Co-authored-by: David Young <dyoung@hdfgroup.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Commit codespell spelling corrections.Larry Knox2022-04-071-3/+3
|
* Update URL in source file Copyright headers for web copy of COPYINGLarry Knox2021-02-201-1/+1
| | | | file - src and test directories.
* Manual sync with develop (#95)Dana Robinson2020-11-171-0/+50
| | | | Brings all features from develop. Note that RELEASE.txt has not been updated (will be done in a future PR).
* Source formattedAllen Byrne2020-10-011-521/+493
|
* Clean up private / package / static namespace issues (function naming, whichQuincey Koziol2020-08-221-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.
* Sync with developDana Robinson2020-08-011-20/+29
|
* Detect when there's the same-shaped selection of a single block of elements onQuincey Koziol2020-06-071-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.
* Whitespace cleanupAllen Byrne2020-05-131-1/+1
|
* Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | to develop * commit '0a2bb11b248df6841daabca3970df5d8504adfc7': address problems from comments fix and address comments change according to previous comments add missing piece remove unnecessary check macro fix intel compile warnings Revert "fix warnings from Intel compiler" Revert "fix warnings and some text alignment" Revert "let hdf5 pick up the right compiler in Intel environment" Revert "fix issues from previous PR comments" Revert "using a different MACRO" using a different MACRO fix issues from previous PR comments let hdf5 pick up the right compiler in Intel environment fix warnings and some text alignment fix warnings from Intel compiler
* Modify H5Ssel_iter_get_seq_list() to accept iterators that have reachedNeil Fortner2019-12-091-1/+1
| | | | | the end of iteration (returning zero sequences). Previously it could cause an assertion failure.
* Merge pull request #2114 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:hdf5-1_12-revert ↵Jerome Soumagne2019-12-091-1/+1
|\ | | | | | | | | | | | | to hdf5_1_12 * commit '49fe497201bcefcd9beb01fe8fc2175974b73799': Revert "Merge branch 'hdf5_1_12' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_12"
| * Revert "Merge branch 'hdf5_1_12' of ↵Jerome Soumagne2019-12-091-1/+1
| | | | | | | | | | | | | | https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_12" This reverts commit 9f9336a5bd541752f472bab4c93da8de89f862cd, reversing changes made to 437a1919e7ba60fe75a33a466d264183a0255319.
* | Add support for scalar dataspaces to H5Sproject_intersection. AddNeil Fortner2019-12-061-86/+129
|/ | | | checking for ank validity.
* Merge pull request #2099 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:tmp_112_3 to ↵Neil Fortner2019-12-061-17/+113
|\ | | | | | | | | | | | | hdf5_1_12 * commit '2b14a8fd7e9221e258f3a2ed6dd0f79a30d5221f': Add support for point selections to H5S_select_project_intersection.
| * Add support for point selections to H5S_select_project_intersection.Neil Fortner2019-12-061-17/+113
| |
* | Move checking for zero offset in selection adjust calls to the selection ↵Neil Fortner2019-12-061-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-12-061-6/+66
|/ | | | | H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
* Merged HDFFV-10929_2GB_testing to hdf5_1_12Richard Warren2019-12-061-6/+77
|
* 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