summaryrefslogtreecommitdiffstats
path: root/src/H5Snone.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert hbool_t --> bool in src (#3496)Dana Robinson2023-09-051-18/+18
| | | | | | | | | | | * hbool_t --> bool in src * Does not remove TRUE/FALSE * Public header files are unchanged * Public API calls are unchanged * TRUE/FALSE --> true/false in src * Add deprecation notice for hbool_t
* Made HGOTO_ERROR a do-while loop (#3308)Sean McBride2023-08-021-9/+9
| | | | | * 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>
* 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-54/+54
| | | | | * Change HDassert to assert * Fix bin/make_err
* Prevent buffer overrun in H5S_select_deserialize (#2931)mattjala2023-05-121-6/+11
| | | | | | | | | | | | | | | | | | | | | * 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.
* 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.
* Removes the STATIC flavor of FUNC_ENTER macros (#1622)Dana Robinson2022-04-081-27/+27
| | | | | * Removes the STATIC flavor of FUNC_ENTER macros
* 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.
* Clang-format of source filesAllen Byrne2020-09-301-104/+66
|
* Clean up private / package / static namespace issues (function naming, whichQuincey Koziol2020-08-061-1/+1
| | | | | | 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 changes from normalization with 1.10Dana Robinson2020-07-091-37/+32
|
* 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
* Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() withNeil Fortner2019-11-181-0/+33
| | | | | H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
* Add H5Sselect_shape_same and H5Sselect_intersect_block API routines, alongQuincey Koziol2019-07-301-6/+45
| | | | with tests and minor cleanups and refactorings.
* Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-04-291-1/+1
|\
| * HDFFV-10365: Changes as described in the RFC: H5Sencode/H5Sdecode Format Change.Vailin Choi2019-04-061-1/+1
| | | | | | | | This also addresses HDFFV-10255: H5Sencode/decode performance issue.
* | Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01Quincey Koziol2019-04-061-10/+35
|\ \ | |/
| * Move dataspace selection-specific coding to the callbacks as preparation for ↵Vailin Choi2019-04-051-10/+35
| | | | | | | | the H5Sencode changes.
* | Core changes to selection code from the hyperslab_updates branch.Quincey Koziol2019-03-161-16/+47
|/
* More changes to align with incoming selection improvements.Quincey Koziol2019-02-141-58/+58
|
* Align develop with incoming hyperslab_updates branch changes.Quincey Koziol2019-02-131-180/+213
|
* H5S adjust callbacks now return an herr_t instead of void.Dana Robinson2018-09-241-5/+5
|
* 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-13/+11
| | | | | | | ~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-7/+7
|\
| * Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-04-291-6/+4
| |\ | | | | | | | | | merge_hyperslab_updates
| | * Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
| * | Checkpoint normalization against incoming hyperslab / selection / dataspaceQuincey Koziol2017-03-281-7/+7
| |/ | | | | | | improvements.
* | Fix for HDFFV-9947 H5SencodeVailin Choi2017-11-281-11/+13
| | | | | | | | 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.
* [svn-r27916] Re-merge of r27884-27891 from the trunk + bugfix for a fewDana Robinson2015-09-301-4/+12
|\ | | | | | | | | | | | | | | H5S recursive functions where an aliased pointer was incorrectly set too early. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2 serial and parallel (w/ MPICH 3.1.4)
| * [svn-r27891] Description:Quincey Koziol2015-09-271-4/+1
| | | | | | | | | | | | | | | | | | Revert changes to 'all' and 'none' selections: the serialized header info is handled in the general H5S_select_deserialize() routine. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
| * [svn-r27890] Description:Quincey Koziol2015-09-271-1/+1
| | | | | | | | | | | | | | | | | | Remove 'unused' attribute from decoding pointer flag that I missed in the last checkin. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
| * [svn-r27889] Description:Quincey Koziol2015-09-271-0/+3
| | | | | | | | | | | | | | | | Advance the decoding pointer for 'all' and 'none' selections properly. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest forthcoming)
* | [svn-r27912] Revert of r27887, which caused failures in the vds test. TheseDana Robinson2015-09-291-12/+4
| | | | | | | | | | | | | | | | changes will be merged more carefully so we can more easily identify any errors that arise. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2 serial and parallel (w/ MPICH 3.1.4)
* | [svn-r27887] Description:Quincey Koziol2015-09-271-4/+12
|\ \ | |/ | | | | | | | | | | | | Merge changes from trunk to the branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27884] Description:Quincey Koziol2015-09-261-4/+12
| | | | | | | | | | | | | | | | | | Update dataspace selection encode/decode routines to avoid type aliasing errors. Tested on: Linux/64 2.6.x (platypus) w/production (h5committest forthcoming)
* | [svn-r27835] Description:Quincey Koziol2015-09-211-8/+8
|\ \ | |/ | | | | | | | | | | | | Sync w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27768] Description:Quincey Koziol2015-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* | [svn-r27632] Description:Quincey Koziol2015-08-311-17/+11
| | | | | | | | | | | | | | | | | | | | Revert changes to pass file pointer to selection serialize/deserialize routines. Also patch back in some changes that were merged out in the previous merge w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
* | [svn-r27479] Add checking for invalid inputs to H5Dset_virtual: point ↵Neil Fortner2015-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | selections, incorrect numbers of elements selected, incorrect "slice" through limited dimensions, incorrect number of printf substitutions. Patch source selection space extent with bounds of selection if extent is unknown before returning via H5Pget_virtual_srcspace. Write updated VDS dataspace to file when it changes due to unlimited selections. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27450] Add descriptions for all non-public functions.Neil Fortner2015-07-311-2/+5
| | | | | | | | | | | | | | Other comments. Add some input checking. Tested: ummon
* | [svn-r27191] Merged r26781 to r27185 from trunkDana Robinson2015-06-111-30/+37
|\ \ | |/ | | | | | | Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2 (C++ and Fortran 2003 also tested)
| * [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-23/+23
| | | | | | | | | | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* | [svn-r26962] Add support for unlimited selections to VDS code.Neil Fortner2015-04-291-0/+27
| | | | | | | | | | | | | | | | Not tested (except for percival-unlim example) Fix percival-unlim example Other bug fixes/cleanup Tested: Fedora 64
* | [svn-r26878] Fix errors in unlimited selection serialize/deserializeNeil Fortner2015-04-211-2/+2
| | | | | | | | | | | | Other minor fixes Tested: jam
* | [svn-r26828] Implement support for unlimited selections (not supported by ↵Neil Fortner2015-04-161-4/+7
|/ | | | | | | | | VDS code yet). Add tests for unlimited selections. Various other minor changes. Tested: ummon
* [svn-r26302] Description:Quincey Koziol2015-02-251-14/+21
| | | | | | | | | Revise dataspace encode/decode routines to make them work better with future virtual dataset feature. Tested on: Mac OSX/64 10.10.2 (amazon) w/serial (h5committest forthcoming)