summaryrefslogtreecommitdiffstats
path: root/test/objcopy_ref.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistent initialization of hid_t in the tests (#3521)Scot Breitenfeld2023-09-081-47/+48
|
* Convert hbool_t --> bool in test (#3494)Dana Robinson2023-09-051-47/+47
|
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-291-3/+3
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-291-42/+0
| | | | * Removes Programmer: and Date: fields * Fixes a few Modifications: fields leftover from previous work
* Rename HDexit() and related to exit(), etc. (#3202)Dana Robinson2023-06-291-3/+3
| | | | | * HDatexit * HDexit * HD_exit
* Remove HD from memory allocate/free calls (#3195)Dana Robinson2023-06-281-14/+14
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-281-2/+2
|
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-281-5/+5
| | | | | * Change HDassert to assert * Fix bin/make_err
* Many fixes to various compiler warnings (#3124)Sean McBride2023-06-191-7/+7
| | | | | | | | | | | * Fixed various -Wmissing-variable-declarations by adding static keyword * In a few cases, renamed the variable suffix from _g to _s. * Fixed some -Wmissing-variable-declarations by using different declaration macros * Fixed various -Wconditional-uninitialized warnings by just initializing variable to zero * Fixed various -Wcomma warnings * Fixed clang -Wstrict-prototypes warnings * Fixed various -Wunused-variable warnings * Updated some casts to fix the only 3 -Wcast-qual warnings * Fixed the only -Wsometimes-uninitialized warning
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-161-8/+8
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* 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.
* Misc clang production warning fixes (#1932)Dana Robinson2022-07-271-0/+6
| | | | | | | * Misc clang production warning fixes * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-4/+4
| | | | | * Update format source to clang 13 * More format changes
* Quiets const warnings (#1831)Dana Robinson2022-06-291-0/+2
|
* sprintf to snprintf (#1815)Sean McBride2022-06-221-1/+1
| | | | | | | | | | | * Straightforward conversion of sprintf to the safer snprintf * Trickier conversion of sprintf to safer snprintf This involved minor changes to private function signatures to take the size of the buffer. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* h5test.h testing macros get enclosed in do..while loops (#1721)Dana Robinson2022-05-041-303/+303
| | | | | | | * h5test.h testing macros get enclosed in do..while loops * Adds missed macro in hl C++ code * Fixes macro in Windows code
* Update clang config (#473)Quincey Koziol2021-03-171-1/+3
| | | | | | | * Update clang config to put H5E_BEGIN_TRY / H5E_END_TRY on separate lines, empty C++ methods on separate lines, understand that ALL_MEMBERS / UNIQUE_MEMBERS are foreach macros, and properly skip the 'config' directory in the find command without emiting a warning * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451)Sean McBride2021-03-101-4/+4
| | | | | | | | | * Fixed all clang-tidy bugprone-suspicious-string-compare warnings This change was generated entirely by clang-tidy itself. * Reformat code with clang v10.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.
* Clang-format of source filesAllen Byrne2020-09-301-641/+943
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-51/+65
|
* Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-01-041-54/+7
|
* Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char toDavid Young2019-12-051-8/+0
| | | | | | | | | | | | | | | | | | | structs containing those arrays. Encapsulating the arrays in this way makes it easier to write and think about pointers to these types, casts to/from these types, etc. An interesting side-effect that we probably should *not* rely on is that the struct-encapsulation changes the alignment so that some GCC warnings about casts that increase the alignment requirement of the operand go away. Warnings like that have to be taken seriously: I will add -Werror=cast-align to the default compiler flags so that they stop the build quickly. GCC warnings led me to some surprising casts in test/trefer.c. I found that it was possible to make many simplifications after introducing the struct-encapsulation that I described, above. In test objcopy_ref `same_file` is assigned but never used. Delete it.
* Add OAPL parameter to H5Rcreate_ APIsJordan Henderson2019-12-021-6/+6
|
* Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-271-0/+8
| | | | level and fixing some code.' (commit 5c911d8baf3)"
* `same_file` is assigned but never used. Delete it.David Young2019-11-131-8/+0
|
* Add new H5R API that abstracts object, region and attribute reference typesJerome Soumagne2019-10-081-0/+1739
Also support references to external files Add new H5T_REF type and type conversion routines Support conversion from H5T_REF_OBJ/DSET_REG to H5T_REF Add H5Treclaim() API to reclaim memory of vlen/reference types Deprecate H5Dvlen_reclaim() Fix H5T_vlen_reclaim() and H5T_reclaim() to use private callback Add H5T_ref_reclaim() Move previous H5R APIs to H5Rdeprec.c Clean up H5Ocopy Separate H5O_copy_expand_ref() to H5Ocopy_ref() Add support for copying new reference types Clean up deprecated routines to go through VOL and same code path Fix return codes in existing trefer.c test Rename trefer.c to trefer_deprec.c trefer.c is for new references Add performance test for trefer Add additional obj_copy_ref test Make use of tokens and blobs to store references Skip blob encoding for object references Start adding new reference examples