summaryrefslogtreecommitdiffstats
path: root/tools/src/h5import/h5import.c
Commit message (Collapse)AuthorAgeFilesLines
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-151-234/+234
| | | | | | | | | | | | | | | | | | | | | * 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
* hbool_t/TRUE/FALSE --> bool/true/false in tools (#3491)Dana Robinson2023-09-051-3/+3
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-291-6/+0
| | | | * Removes Programmer: and Date: fields * Fixes a few Modifications: fields leftover from previous work
* Remove HD from C std lib file ops (#3206)Dana Robinson2023-06-291-17/+17
| | | | | | | | | * HDfclose * HDferror * HDfeof * HDfflush * HDfopen * HDfread * HDfwrite
* Remove HD from strto* calls (#3204)Dana Robinson2023-06-291-11/+11
| | | | | | | | * HDstrtod * HDstrtol * HDstrtoll * HDstrtoul * HDstrtoull * HDstrtoumax
* Rename HDexit() and related to exit(), etc. (#3202)Dana Robinson2023-06-291-2/+2
| | | | | * HDatexit * HDexit * HD_exit
* Remove HD from memory allocate/free calls (#3195)Dana Robinson2023-06-281-31/+31
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-281-769/+769
|
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-161-6/+6
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* Add h5copy help test and verify consistency (#2902)Allen Byrne2023-05-171-1/+1
| | | * Add autotools test for help
* Comment cleanup (#2689)Quincey Koziol2023-04-111-3/+0
| | | * Clean up content and redundant logging in comments.
* 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.
* Develop clang 13 format (#1933)Allen Byrne2022-07-261-16/+16
| | | | | * Update format source to clang 13 * More format changes
* Misc clang warning fixes (#1869)Dana Robinson2022-07-111-7/+23
| | | | | | | | | | | | | | | | | * Minor clang warning fixes in src and test * Fixes clang warnings in high-level library * clang format-nonliteral warning fixes * Committing clang-format changes * Fixed int -> float clang cast warnings in h5diff * Quiets some warnings in flex/bison generated code * Suppress overlong string warning for libinfo on clang Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Snprintf2 (#1399)Sean McBride2022-01-281-1/+1
| | | | | | | | | | | | | * Replaced many uses of sprintf with safer snprintf Many very straightforward, but in a few cases added a length parameter to some private functions, because buffer length was otherwise unknowable. * Removed unnecessary use of static on small buffers This improves thread safety. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fixed Spelling Errors (#1166)Scot Breitenfeld2021-12-071-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset * fixed typo in error return * Committing clang-format changes * minor edits * code format * Committing clang-format changes * code format * minor edit * switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging * Committing clang-format changes * changed size_i in printf to reflect the I/O. * Committing clang-format changes * Fixed seg fault with xlf on BE with -qintsize=8 * fixed error function string * spelling corrections via codespell, added new spell check github actions * Committing clang-format changes * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * work around for https://github.com/codespell-project/codespell/issues/2137 * misc * added missing file * misc * misc. * misc * switch to using Codespell with GitHub Actions * misc. * misc. * fixed more sp errors * Fix new typos found by codespell. * fixed proceed with precede * fixed variable in fortran test * fixed minnum * updated spelling list Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Assume C99 fixed sized ints exist, use them (#470)Sean McBride2021-11-081-29/+9
| | | | | | | | | | | | | * Committing clang-format changes * Assume C99 fixed sized ints exist, use them * Assume H5_SIZEOF_LONG_DOUBLE != 0, `long double` has existed since C89 Note, this is only assuming that `long double` exists, no assumptions about its size have been touched. Didn't remove any code that does things like test if `long double` and `double` have different sizes. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix several warnings (#720)jhendersonHDF2021-09-141-2/+5
|
* Cleans up POSIX/C bits in H5private.h (#804)Dana Robinson2021-06-291-81/+81
| | | | | | | | | | | | | | | | | | * 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>
* Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451)Sean McBride2021-03-101-2/+2
| | | | | | | | | * 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>
* Fixed clang-tidy readability-redundant-control-flow warnings (#428)Sean McBride2021-03-051-2/+0
| | | | | | | | | * Fixed clang-tidy readability-redundant-control-flow warnings Just removed useless trailing return statements. * Removed blank lines from h5diffgentest.c with clang-format v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fixed various clang -Wformat-security warnings (#340)Sean McBride2021-02-191-2/+2
|
* Update license url part2 (#333)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 - files not in src or test.
* Clang-format of source filesAllen Byrne2020-09-301-2494/+2438
|
* Minor refactoring based on 1.10 normalization workDana Robinson2020-08-171-1/+1
|
* Warnings reduction in toolsAllen Byrne2020-07-301-2/+2
|
* Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.David Young2020-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce gratuitous casts---e.g., (size_t)1. Use the right format string for a pointer. In the H5C sanity checks, change a "size increase" variable from ssize_t (too narrow) to int64_t (wide enough). Parenthesize every appearance of `storage` in the macro `H5D_CHUNK_STORAGE_INDEX_CHK(storage)` so that you can pass in an expression like &sc and it works properly. Disallow re-assignment of the `dset` parameter to H5D__chunk_init() because it helped assure me that it's safe to replace the repeating expression `&dset->shared->layout.storage.u.chunk` with `sc` throughout. Replace lengthy expressions such as `&dset->shared->layout.storage.u.chunk` with `sc` throughout several functions in H5Dchunk.c ISTR that the compiler warned that `sc` was declared but unused in a couple of functions, and then I found that `sc` could be used in many places. Maybe the disused `sc` appeared because a bunch of code was copied and pasted, I don't know. Anyway, it's a lot tighter code now that I use `sc`. In H5D__chunk_update_old_edge_chunks() and H5D__chunk_delete() I actually expand `sc` and another temporary variable, `pline`, because they're used only in !defined(NDEBUG) code. This squashes unused-variable warnings in the defined(NDEBUG) configuration. Don't drop the `volatile` qualification with a cast in tools/src/h5import/h5import.c.
* squash cast warning fixkmu2020-01-231-4/+4
|
* Merge branch 'develop' into stack_size_warningsDana Robinson2020-01-171-6/+6
|\
| * Update tools hid_t declarations with H5I_INVALID_HIDAllen Byrne2020-01-131-6/+6
| |
* | Fixed stack and frame size warnings. Not complete, but fixes most ofDana Robinson2020-01-151-19/+22
|/ | | | the easier cases.
* address problems from commentskmu2019-12-111-1/+1
|
* fix and address commentskmu2019-12-111-2/+2
|
* Merge branch 'develop' into bugfix/intel_warningskmu2019-12-091-1/+1
|\
| * Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-271-1/+1
| | | | | | | | level and fixing some code.' (commit 5c911d8baf3)"
* | remove unnecessary check macrokmu2019-12-061-4/+1
| |
* | fix intel compile warningskmu2019-12-041-3/+6
|/
* Change some GCC warnings to errors. Fix code to quiet some warnings.David Young2019-11-051-1/+1
|
* OESS-29 Update HD prefix mostlyAllen Byrne2019-08-241-1/+1
|
* TRILAB-81 fix typoAllen Byrne2018-10-241-1/+1
|
* TRILAB-82 fixed errors found in reviewAllen Byrne2018-10-241-61/+61
|
* TRILAB-81 Output error if filename length is greater then 255Allen Byrne2018-10-191-0/+5
|
* TRILAB-81 coverity fixesAllen Byrne2018-10-171-6/+6
|
* HD prefix and whitespaceAllen Byrne2018-08-281-151/+151
|
* HDFFV-10345 spelling errorsAllen Byrne2018-02-051-2/+2
|
* HDFFV-10219 default input binary to NATIVEAllen Byrne2017-06-201-5/+23
|
* HDFFV-10219 remove standard headers already included in h5private.hAllen Byrne2017-06-161-5/+0
|
* HDFFV-10219 - remove debug commentsAllen Byrne2017-06-151-28/+0
|
* HDFFV-10219 - fix for native in bin file and possible non-native in h5 Allen Byrne2017-06-151-97/+627
|
* HDFFV-10219: Added keyword SUBSET to h5import list.Allen Byrne2017-06-121-40/+293
|