summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
Commit message (Collapse)AuthorAgeFilesLines
* VFD SWMR: Sync with develop (#811)Dana Robinson2021-06-301-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Normalization with develop * Removes checks and work-arounds for strtoll and strtoull (#769) * Removes checks for (v)snprintf, which are C99 (#772) * Update missing release note info. (#776) * Replaces the H5_OVERRIDE macro with override (#773) The macro is no longer necessary now that we require C++11. * Cleans up some POSIX header bits in H5private.h (#783) * Removes outdated checks for ways inline might be defined (#781) These are obsolete now that we require C99. * Removes checks for system(), which is C89/90 (#782) * Removes C++ dependency on H5private.h (#774) * Removes C++ dependency on H5private.h Most C API calls have been removed, aside from a few uses of free, where we just dropped the 'HD'. A couple of H5_ATTR_UNUSED macros were also replaced with (void) statements. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Further simplifies Autotools type size checks (#789) Also fixes an issue where clock_gettime and difftime are not detected due to earlier simplifications of this code. * Release Note (#784) * Normalization of CMake H5pubconf.h with Autotools (#791) Mostly just moving things around and changing the comments to keep the delta small. The only symbol change is that for curl/curl.h which I changed to H5_HAVE_CURL_CURL_H to match the Autotools. This symbol is not used in the library and is just an artifact of the checks. * Fix tools test (#794) * Removes ancient Autotools cruft (#790) * Reorganization of C and POSIX headers in H5public.h & H5private.h (#793) * Reorganization of C and POSIX headers in H5public.h & H5private.h Consolidated and removed duplicates * It turns out Windows has sys/types.h Co-authored-by: Larry Knox <lrknox@hdfgroup.org> * Removes checks for signal and set/longjmp, which are C89 (#798) Also removes checks for setjmp.h and stddef.h * Assume frexpl/f and fabsl/f, which are C99 (#799) * Assume the library has C99 types in C++ type code (#806) * Assume the library has C99 types in C++ type code * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Removes obsolete equivalents of C99's __func__ (#800) * Cleans up POSIX/C bits in H5private.h (#804) * Cleans up POSIX/C bits in H5private.h * Assume difftime exists (C89) * Reorg AC_CHECK_HEADERS so headers are in alphabetical order * Split off networking-related AC_CHECK_HEADERS * Remove unused UNAME_CYGWIN from configure.ac * Remove checks for unused sys/timeb.h * Tidying pass over H5private.h HD prefix macros * Tidy H5win32defs.h * Add HD prefix to various scanf calls * Committing clang-format changes * Fixes to the alarm(2) code used in the tests to make Windows happy Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Brings the tools getopt(3) replacement into the main library (#803) * Moves get_option from the tools library to the C library * Adds H5 prefix to get_option call and variables * Renames the H5_get_option long options struct and enum * Removes type guesses when C99 types are missing (#807) * Assume C99 types exist in H5detect.c (#808) * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Fix typo * Fixes parallel issues from recent C99 changes (#809) * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Even more missed FUNC --> __func__ macros * Removes remaining H5_TIME_WITH_SYS_TIME cruft (#810) Mostly from CMake Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Normalization of dataspace code + reorg of public dataset callsDana Robinson2021-05-071-1/+1
|
* Brings atom-->ID and other ID-related changes from developDana Robinson2021-05-051-24/+30
|
* Updates license url and history docsDana Robinson2021-03-251-1/+1
|
* Formats the source and updates the gcc warning pragmasDana Robinson2021-03-251-2739/+2808
|
* 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
|
* H5S adjust callbacks now return an herr_t instead of void.Dana Robinson2018-09-241-4/+4
|
* Removed white spaceBinh-Minh Ribler2018-07-171-1/+2
|
* Fixed HDFFV-10476, HDFFV-10478, HDFFV-10480Binh-Minh Ribler2018-07-171-2/+3
| | | | | | | | | Description: Fixed potential out of bound read and NULL pointer dereferences. Platforms tested: Linux/64 (jelly) Linux/32 (jam) Darwin (osx1010test)
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-10/+10
| | | | | | | | | 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-275/+96
| | | | | | | ~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-1486/+1462
|\