summaryrefslogtreecommitdiffstats
path: root/src/H5FDonion.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix bin/trace script w/ out params (#4074)Dana Robinson2024-03-071-1/+1
| | | | | | | | | | | | | The bin/trace script adds TRACE macros to public API calls in the main C library. This script had a parsing bug that caused functions that were annotated with /*out*/, etc. to be labeled as void pointers instead of typed pointers. This is mainly a developer feature and not visible to consumers of the public API. The bin/trace script now annotates public API calls properly. Fixes GH #3733
* Fix several spelling/grammar issues (#3621)jhendersonHDF2023-10-031-2/+2
|
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-151-27/+27
| | | | | | | | | | | | | | | | | | | | | * Strip HD prefix from string/char C API calls * HD(f)(put|get)(s|c) * HDstr* * HDv*printf * HD(s)(print|scan)f * HDperror But NOT: * HDstrcase* * HDvasprintf * HDstrtok_r * HDstrndup As those are not C99 and have portability work-around implementations. They will be handled later. * Fix th5_system.c screwup
* Remove HD prefix from math functions (#3538)Dana Robinson2023-09-141-1/+1
|
* Convert hbool_t --> bool in src (#3496)Dana Robinson2023-09-051-17/+17
| | | | | | | | | | | * 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
* Convert some H5MM calls to standard C equivalents (#2382)Dana Robinson2023-08-251-5/+5
| | | | | | | | | * H5MM_calloc and malloc are now mapped to stdlib C calls * H5MM_memcpy now maps directly to memcpy in release builds * H5MM_memcpy is still implemented as a separate function that checks for buffer overlap when H5MM_DEBUG is defined (default w/ debug builds) * Switches many library memcpy calls to use H5MM_memcpy * Fixes a possible zero allocation in H5Olayout.c
* Made HGOTO_ERROR a do-while loop (#3308)Sean McBride2023-08-021-104/+104
| | | | | * Made HGOTO_ERROR a do-while loop
* Another round of fixing -Wextra-semi-stmt warnings (#3264)Sean McBride2023-07-241-10/+10
| | | Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix some warnings in developer builds (#3247)jhendersonHDF2023-07-181-1/+2
| | | | | * Fix some warnings in developer builds * Switch approach to Winline flag
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-291-5/+5
|
* Remove HD from strto* calls (#3204)Dana Robinson2023-06-291-6/+6
| | | | | | | | * HDstrtod * HDstrtol * HDstrtoll * HDstrtoul * HDstrtoull * HDstrtoumax
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-281-26/+26
| | | | | * Change HDassert to assert * Fix bin/make_err
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-161-20/+20
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* Onion VFD header cleanup (#2337)Dana Robinson2022-12-211-9/+1
| | | | | | | | | * Partial work towards cleaning up the onion VFD code * Committing clang-format changes * A few minor tweaks to the onion VFD public header Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+1
| | | | | * 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.
* Updates onion VFD major error codes (#2076)Dana Robinson2022-08-311-35/+35
|
* Fix typos found in src/ subdirectory (#1983)luzpaz2022-08-101-1/+1
| | | Found via `codespell -q 3 -S ./release_docs,./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c -L isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn\'t,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce`
* Fixes some badness in the onion VFD revision comment code (#1975)Dana Robinson2022-08-081-9/+16
| | | | | | | * Fixes some badness in the revision comment code * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Onion VFD (#1953)Dana Robinson2022-08-021-0/+1762
* Onion VFD feature * Fixes onion VFD errors with non-sec2 backing store VFDs * Disables the onion VFD tests w/ ph5diff * Disables non-sec2 VFDs as onion VFD backing stores * Committing clang-format changes * Formatted source * Typo * Adds onion VFD tools tests to CMake * Fixes for v16 API compatibility * Memset structs to avoid bad frees on errors * H5Dwrite() calls now use H5T_NATIVE_INT as the memory type vs LE * Properly decodes checksums on BE machines * Be more careful about uint64_t to haddr_t/hsize_t conversions * Another fix for BE data comparison * Removed double underscores from onion constants * Replace hard-coded onion header string w/ constant * Fixes cleanup paths in H5FD__onion_ingest_history() * Fixed use of size_t revision numbers * Fix h5dump revision count format string Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>