summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixes parallel issues from recent C99 changes (#809)Dana Robinson2021-06-301-9/+9
| | | | | | | * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Even more missed FUNC --> __func__ macros
* Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341)Sean McBride2021-02-221-2/+2
| | | | | | | | | | | | | * Fixed various -Wincompatible-pointer-types-discards-qualifiers warnings by adding const * Fixed various -Wincompatible-pointer-types-discards-qualifiers warning by removing extraneous consts There were casts with const, but the function parameter doesn't actaully take const, so just modified the casts. In the other case, a local variable was const that should not have been, becuase its source wasn't const either. * Fixed a -Wincompatible-pointer-types-discards-qualifiers warning by strdup-ing a string Create a duplicate string instead of mutating a supposedly const one.
* Fixed uninitialized warnings (#360)Sean McBride2021-02-191-8/+8
| | | | | | | | | | * Fixed all -Wsometimes-uninitialized warnings by initializing variables * Fixed all -Wconditional-uninitialized warnings by initializing variables * Commit alignment changes from running bin/format_source with clang version 10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* 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.
* develop revert source to clang-format version 11 (#293)Allen Byrne2021-01-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction
* Replace H5E_ATOM major error category with H5E_ID (#121)Dana Robinson2020-11-301-4/+4
| | | | | | | | | | * 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-4/+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.
* Basic alignment with async branch (#115)Quincey Koziol2020-11-231-3/+3
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Removes -Wimplicit-fallthrough=5 from the gcc warningsDana Robinson2020-10-221-1/+8
| | | | | | | | | | | | -Wimplicit-fallthrough=3 is added by -Wextra, which we already set. Bumping the warning level only changes how fall-through comments are parsed, with level 5 turning off fall-through comments entirely. This is unnecessary and results in having to do extra work to squash warnings when included external code uses fall-through. This change also adds /* FALLTHROUGH */ comments where H5_ATTR_FALLTHROUGH is used so compilers that don't use attributes but do respect fall-through comments don't raise spurious warnings.
* Clang-format of source filesAllen Byrne2020-09-301-2738/+2807
|
* Clean up private / package / static namespace issues (function naming, whichQuincey Koziol2020-08-061-6/+4
| | | | | | 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-20/+19
|
* Minor changes from normalization with 1.10Dana Robinson2020-07-091-105/+106
|
* Normalization with hdf5_1_10Dana Robinson2020-06-011-47/+47
|
* Merge branch 'develop' into bugfix/intel_warningskmu2019-12-091-1/+4
|\
| * Two fixes:Vailin Choi2019-12-051-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 Fortner2019-12-021-1/+1
| | | | | | | | checking for ank validity.
* | remove unnecessary check macrokmu2019-12-061-1/+1
| |
* | fix intel compile warningskmu2019-12-041-1/+1
|/
* Move checking for zero offset in selection adjust calls to the selection ↵Neil Fortner2019-11-181-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 Fortner2019-11-181-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 Fortner2019-11-131-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.
* 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-214/+215
|
* Added public H5Sselect_adjust_u and H5Shyper_adjust_s calls.Dana Robinson2019-08-151-0/+41
|
* Add H5Sselect_shape_same and H5Sselect_intersect_block API routines, alongQuincey Koziol2019-07-301-64/+50
| | | | with tests and minor cleanups and refactorings.
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-0/+8
| | | | clean up warnings.
* Merge pull request #1747 in HDFFV/hdf5 from ↵Dana Robinson2019-06-181-6/+10
|\ | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:vds_memory_bug to develop * commit '8d67b440f7d94f1b191ce154a41685bcaa90fd12': Reset the other convenience pointer because why no Fixed a memory bug where a pointer is used after it's been freed.
| * Reset the other convenience pointer because why noDana Robinson2019-06-181-6/+7
| |
| * Fixed a memory bug where a pointer is used after it's been freed.Dana Robinson2019-06-181-6/+9
| | | | | | | | This is going to need a release note when it's moved to 1.10.
* | Add H5S_SEL_ITER_SHARE_WITH_DATASPACE selection iterator creation flag, toQuincey Koziol2019-06-171-2/+9
| | | | | | | | | | 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-18/+18
| |
* | New hyperslab selection routines and new public selection iterator routines.Quincey Koziol2019-06-161-5/+304
|/
* Minor fixes/improvements for VDS performance improvement (HDFFV-10693).Neil Fortner2019-06-031-15/+17
|
* Refactor H5S__hyper_project_intersection to operate directly on spanNeil Fortner2019-06-011-335/+716
| | | | | 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-291-214/+658
|\
| * HDFFV-10365: Changes as described in the RFC: H5Sencode/H5Sdecode Format Change.Vailin Choi2019-04-061-207/+673
| | | | | | | | This also addresses HDFFV-10255: H5Sencode/decode performance issue.
* | Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-04-061-20/+65
|\ \ | |/
| * Merge pull request #1644 in HDFFV/hdf5 from ↵Vailin Choi2019-04-061-0/+1
| |\ | | | | | | | | | | | | | | | | | | ~VCHOI/my_third_fork:bugfix/HDFFV-10271-version-2-hyperslab-encoding to develop * commit '7fe665ebff3e86aaf1eef92199f757a5c0d1fe80': Fix for HDFFV-10271 hyperslab encoding incorrect length.
| | * Fix for HDFFV-10271 hyperslab encoding incorrect length.Vailin Choi2019-04-051-0/+1
| | |
| * | Move dataspace selection-specific coding to the callbacks as preparation for ↵Vailin Choi2019-04-051-20/+64
| |/ | | | | | | the H5Sencode changes.
* | Clean up if-else chain.Quincey Koziol2019-03-201-26/+24
| |
* | Remove thread-local copy of hyperslab operation generation value.Quincey Koziol2019-03-191-85/+4
| |
* | Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-03-171-24/+25
|\ \ | |/
| * - Added H5MMprivate.h #includes where neededDana Robinson2019-03-161-0/+1
| | | | | | | | | | - Added casts to quiet H5MM_memcpy warnings - Removed char * casts from HDmemcpy
| * Added an H5MM_memcpy call that checks for buffer overlap.Dana Robinson2019-03-161-10/+10
| |
* | Core changes to selection code from the hyperslab_updates branch.Quincey Koziol2019-03-161-1928/+3735
|/
* More changes to align with incoming selection improvements.Quincey Koziol2019-02-141-2458/+1330
|
* Align develop with incoming hyperslab_updates branch changes.Quincey Koziol2019-02-131-173/+181
|
* Delta reduction against hyperslab_updates branch.Quincey Koziol2019-01-111-111/+99
|