summaryrefslogtreecommitdiffstats
path: root/src/H5Spoint.c
Commit message (Collapse)AuthorAgeFilesLines
* Made HGOTO_ERROR a do-while loop (#3308)Sean McBride2023-08-021-53/+55
| | | | | * Made HGOTO_ERROR a do-while loop
* Another round of fixing -Wextra-semi-stmt warnings (#3264)Sean McBride2023-07-241-1/+1
| | | Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fixed more warnings about extra semicolons (#3249)Sean McBride2023-07-181-5/+5
| | | | | | | * Require semi-colon after H5_CHECK_OVERFLOW calls Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix some warnings in developer builds (#3247)jhendersonHDF2023-07-181-12/+14
| | | | | * Fix some warnings in developer builds * Switch approach to Winline flag
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-291-5/+5
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-291-21/+0
| | | | * Removes Programmer: and Date: fields * Fixes a few Modifications: fields leftover from previous work
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-281-79/+79
| | | | | * Change HDassert to assert * Fix bin/make_err
* Prevent buffer overrun in H5S_select_deserialize (#2931)mattjala2023-05-121-17/+59
| | | | | | | | | | | | | | | | | | | | | * Prevent buffer overrun in H5S_select_deserialize The call to H5S_select_deserialize from H5S_decode doesn't have the buffer size available to it, so to allow decoding there I set it to assume a max size buffer for now. Making the buffer size known in H5S_decode could be done by modifying the external API's H5Sdecode, or splitting H5Sdecode into two functions using a macro (similar to H5Sencode), with the macro taking one argument and assuming a max buffer size. * Conditional buffer check in H5S_select_deserialize Moved and renamed a macro for only checking buffer overflow when buffer size is known from H5Odtype.c to H5private.h, so it can be used throughout the library. Also silenced some build warnings about types.
* H5Spoint.c: Fix mistake in comment (#2750)Dave Allured2023-04-161-1/+1
|
* Fix a memory corruption issue in H5S__point_project_simple (#2626)jhendersonHDF2023-03-241-1/+1
|
* H5F_LIBVER_LATEST changes for move to 1.15 (#2288)Allen Byrne2022-12-211-0/+1
| | | | | | | | | | | | | | | * H5F_LIBVER_LATEST changes for move to 1.15 * Add new default api check * Format fixes * Fix default configure * fix lib version tests * Fix another version variable * Add 1.14 doc link
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-10/+10
| | | | | * Update format source to clang 13 * More format changes
* Removes the STATIC flavor of FUNC_ENTER macros (#1622)Dana Robinson2022-04-081-32/+32
| | | | | * Removes the STATIC flavor of FUNC_ENTER macros
* spelling fixes (#1561)Scot Breitenfeld2022-03-311-1/+1
|
* Fixed Spelling Errors (#1166)Scot Breitenfeld2021-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset * fixed typo in error return * Committing clang-format changes * minor edits * code format * Committing clang-format changes * code format * minor edit * switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging * Committing clang-format changes * changed size_i in printf to reflect the I/O. * Committing clang-format changes * Fixed seg fault with xlf on BE with -qintsize=8 * fixed error function string * spelling corrections via codespell, added new spell check github actions * Committing clang-format changes * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * work around for https://github.com/codespell-project/codespell/issues/2137 * misc * added missing file * misc * misc. * misc * switch to using Codespell with GitHub Actions * misc. * misc. * fixed more sp errors * Fix new typos found by codespell. * fixed proceed with precede * fixed variable in fortran test * fixed minnum * updated spelling list Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Stop lying about H5S_t const-ness (#1209)Dana Robinson2021-11-201-17/+17
| | | | | | 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.
* 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.
* Jan ws changes (#282)Allen Byrne2021-01-271-8/+8
| | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Whitespace fixes except for H5Tprivate.h typo fix
* Improve performance of multiple calls to H5Sget_select_elem_pointlist (#270)Neil Fortner2021-01-201-7/+26
| | | | | | | | | * Cache the pointer to the next point to process after the last call to H5S__get_select_elem_pointlist. This allows the normal process of iterating over the points in batches to be much more efficient, as the library does not need to traverse the entirety of the preceding points every time the funciton is re-entered. * Update RELEASE.txt for point selection iteration performance fix.
* Enhance API tracing (#120)Quincey Koziol2020-11-261-2/+3
| | | 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.
* Comment adjustmentsAllen Byrne2020-10-081-2/+2
|
* Clang-format of source filesAllen Byrne2020-09-301-406/+375
|
* Minor normalizations with 1.12 branchDana Robinson2020-08-011-1/+1
|
* Minor normalization with 1.10Dana Robinson2020-07-171-8/+8
|
* Minor changes from normalization with 1.10Dana Robinson2020-07-091-69/+63
|
* Fix issues when deserializing point/all/none selection with version beyond ↵Vailin Choi2020-03-131-0/+3
| | | | | | | the library's supported version: (1) Verify the decoded version before proceeding further with deserialization (2) Close the dataspace if errors occurred after opening the dataspace
* Move checking for zero offset in selection adjust calls to the selection ↵Neil Fortner2019-11-181-41/+63
| | | | | | | 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-1/+61
| | | | | H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
* Fix the errors when updating the versions in the new 1.13 develop branch.Vailin Choi2019-09-261-1/+1
|
* Update versioning to next major versionAllen Byrne2019-09-251-82/+83
|
* Add H5Sselect_shape_same and H5Sselect_intersect_block API routines, alongQuincey Koziol2019-07-301-8/+68
| | | | with tests and minor cleanups and refactorings.
* Add H5S_SEL_ITER_SHARE_WITH_DATASPACE selection iterator creation flag, toQuincey Koziol2019-06-171-4/+12
| | | | | share dataspace's selection with iterator (and with caution about not modifying or closing the dataspace while the iterator is open).
* New hyperslab selection routines and new public selection iterator routines.Quincey Koziol2019-06-161-5/+21
|
* Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-04-291-46/+288
|\
| * Modification for num_elem based on PR feedback.Vailin Choi2019-04-081-1/+1
| |
| * HDFFV-10365: Changes as described in the RFC: H5Sencode/H5Sdecode Format Change.Vailin Choi2019-04-061-46/+288
| | | | | | | | This also addresses HDFFV-10255: H5Sencode/decode performance issue.
* | Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-04-061-13/+53
|\ \ | |/
| * Move dataspace selection-specific coding to the callbacks as preparation for ↵Vailin Choi2019-04-051-13/+53
| | | | | | | | the H5Sencode changes.
* | Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-03-171-11/+11
|\ \ | |/
| * Added an H5MM_memcpy call that checks for buffer overlap.Dana Robinson2019-03-161-9/+9
| |
* | Core changes to selection code from the hyperslab_updates branch.Quincey Koziol2019-03-161-144/+337
|/
* More changes to align with incoming selection improvements.Quincey Koziol2019-02-141-139/+140
|
* Align develop with incoming hyperslab_updates branch changes.Quincey Koziol2019-02-131-237/+266
|
* Delta reduction against hyperslab_updates branch.Quincey Koziol2019-01-111-7/+2
|
* H5S adjust callbacks now return an herr_t instead of void.Dana Robinson2018-09-241-6/+6
|
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-1/+1
| | | | | | | | | 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-167/+30
| | | | | | | ~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-14/+15
|\
| * Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-04-291-6/+4
| |\ | | | | | | | | | merge_hyperslab_updates