summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff_array.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Primary change is HDFFV-11212 - new refs and JNI (#372)Allen Byrne2021-02-251-37/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace * Changes from PR#3 * HDFFV-11213 added option to control gcc10 warnings diagnostics * HDFFV-11212 Use the new references correctly in JNI utility and tests * format source * Fix typo * Add new test file * HDFFV-11212 - update test and remove unused arg * Minor non-space formatting changes * Use H5I_INVALID_ID instead of "-1" * source formatting * add missing testfile, update jni function * Undo commit of debug code * remove mislocated file * Fix h5repack test for handling of fapls and id close * Update h5diff test files usage text * HDFFV-11212 add new ref tests for JNI export dataset * src format update * Remove blank line typo * src format typo * long double requires %Lg * Another long double foramt specifer S.B. %Lg * issue with t128bit test * Windows issue with h5dump and type. * Fix review issues * refactor function nesting and fix error checks * format fixes * Remove untested functions and javadoc quiet comments * Restore TRY block. * Change string append errors to memory exception * revert to H5_JNI_FATAL_ERROR - support functions need work * Add assertion error for h5util functions * remove duplicate function * format fix * Revert HD function error handling * Update copyright comments
* Patches from vtk (#358)Sean McBride2021-02-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop the export attribute on forward declaration They don't mean anything on forward declarations anyways. * Fixed -Wunused-parameter warnings in some C++ files Allowed all the attribute #defines to work in C++ also. * Fixed -Wunused-variable warnings by removing dead code * Fixed all -Wshorten-64-to-32 warnings by adjusting casts There was no truncation in fact, since the unsigned result was upcast to size_t then implicitly downcast to uint32_t. * Fixed all -Wcomma warnings by spliting statements onto own lines * Fixed all -Wself-assign warnings with different unused param suppression * Fixed all -Wextra-semi warnings * Fixed all -Wswitch-enum warnings Just added new explicit cases with the existing default case. * Fixed all -Wmissing-prototypes warnings Just made functions static. Moved them into an extern "C" block. * Reformatted source with bin/format_source using clang version 10.0.1 Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* 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.
* develop revert source to clang-format version 11 (#293)Allen Byrne2021-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction
* Basic alignment with async branch (#115)Quincey Koziol2020-11-231-1/+1
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Clang-format of source filesAllen Byrne2020-09-301-1133/+1232
|
* Warnings reduction in toolsAllen Byrne2020-07-301-100/+101
|
* Tools refactorAllen Byrne2020-07-151-2944/+1492
| | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* Small fixes for tools and skip autotools tests for no filterAllen Byrne2020-01-291-6/+2
|
* Reduce differences between my -Werror branch and `develop`:David Young2020-01-291-89/+91
| | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
* Merge pull request #2304 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:isnan_fixes ↵Dana Robinson2020-01-281-116/+42
|\ | | | | | | | | | | | | to develop * commit '8b4d774eb9bb95cb3c59f033b43ed9fba340a54a': Replaced my_isnan with C99 isnan in h5diff.
| * Replaced my_isnan with C99 isnan in h5diff.Dana Robinson2020-01-241-116/+42
| |
* | Optimized the floating point comparisons a little bit.Dana Robinson2020-01-241-24/+24
| |
* | Fix for failing h5diff tests involving floating-point compares.Dana Robinson2020-01-241-6/+18
|/
* squash cast warning fixkmu2020-01-231-1/+1
|
* Change tools debug macros to not use error stackAllen Byrne2020-01-231-41/+16
|
* fix float type cmp warningkmu2020-01-221-3/+3
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-8/+16
|
* Update tools hid_t declarations with H5I_INVALID_HIDAllen Byrne2020-01-131-10/+10
|
* Clean up tools warnings introduced by H5TOOLS_ERR_INIT macroJordan Henderson2019-12-311-55/+43
|
* Refactor tools library error handling macrosJordan Henderson2019-12-281-159/+175
|
* Fix compile statement orderAllen Byrne2019-12-201-2/+2
|
* HDFFV-10976,-10980 Init obj_type before calling H5Rget_obj_type3Allen Byrne2019-12-201-2/+2
|
* HDFFV-10980 - h5diff uses new ref APIsAllen Byrne2019-12-191-73/+327
|
* Revert declaration used in macro.Allen Byrne2019-12-071-0/+1
|
* Address compile warningsAllen Byrne2019-12-061-1/+0
|
* Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-12-021-4/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0772b975d1d2bfa15aedeb4b6e2c2aac78c61a2f': Fix missing free in H5T__ref_mem_read() Fix bugs in H5VL file comparison code. Add short circuit success to H5VL_cmp_connector_cls(). Implement file comparison VOL callback. Other changes to allow references to work with non-native connectors. There is a bug somewhere. Add support for point selections to H5S_select_project_intersection. Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings level and fixing some code.' (commit 5c911d8baf3)" Revert "Oops, remove more C99 designated initializers for VS 2010 compatibility." H5R: fix H5Tconv to check for null references Trivial parameter renaming in VOL API calls. Move checking for zero offset in selection adjust calls to the selection 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() with H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
| * Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-271-4/+0
| | | | | | | | level and fixing some code.' (commit 5c911d8baf3)"
* | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-11-261-0/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a8892bb42d6f6e4fbc30fae0eb2b957f81c938b9': (45 commits) Oops, remove more C99 designated initializers for VS 2010 compatibility. Add an #include to get a function declaration. Don't use C99 designated initializers, they're not compatible with Visual Studio 2010. Quiet some more maybe-uninitialized warnings---each is a false positive, *sigh*. This is more code that may not compile with VS2010, *sigh sigh*. Always warn on maybe-uninitialized. -Wincompatible-pointer-types was not available until GCC 5, so enable it only if that's the GCC version we're using. Only promote maybe-uninitialized warnings to errors on GCC 8. Even on GCC 8, there may be false positives at low optimization levels? I need to check. Only use -Werror=cast-function-type with GCC 8 and later. Put all of the -W options back into the order I found them in so that it's easier to compare old and new config/gnu-flags. Add new source files to CMakeLists.txt. Mention the -Werror= flags in libhdf5.settings.in. free -> HDfree Promote decleration-after-statement warnings to errors. Quiet decleration-after-statement warnings. Move a statement under some declarations since some vintages of Visual Studio don't like declarations after statements. Document H5D__chunk_mem_xfree_wrapper(). Undo accidental test deletion. Oops, delete a debug printf that snuck in here. Undo my changes to the HD macros, hadn't really intended those to be on this branch.... Make errors of some more warnings. Move disabled warnings to DEVELOPER_WARNING_CFLAGS. Put just one warning option on a line, and sort some of the options. Cast to the parameter type, H5VL_token_t *, instead of to unsigned char *. ...
| * Demote errors to warnings for a couple of unused-but-set variables thatDavid Young2019-11-131-0/+4
| | | | | | | | I cannot untangle right now.
* | HDFFV-10876 Update h5dump and h5ls for new ref api.Allen Byrne2019-11-071-17/+23
|/
* Updates to warnhist script, along with a few cleanups, and add some commentsQuincey Koziol2019-07-101-1/+1
| | | | to warning cleanups that are a bit obscure.
* Add support for GCC9, update warnhist script, and clean up warnings.Quincey Koziol2019-07-031-1/+1
|
* Updated configure & CMake compiler flags for GCC 8.x, along with correspondingQuincey Koziol2019-06-281-4/+4
| | | | | changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-6/+5
| | | | clean up warnings.
* Changes made based on feedback from pull request #1039.Vailin Choi2018-05-141-2/+2
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-2/+2
|
* Avoid double freeAllen Byrne2017-10-191-3/+0
|
* Fix error handling issuesAllen Byrne2017-10-171-45/+66
|
* HDFFV-10297 add h5copy test and fix h5diff errorsAllen Byrne2017-10-161-508/+497
|
* HDFFV-10296 Update tools lib to use the error handling macros.Allen Byrne2017-10-131-390/+374
|
* VS2012 and earlier cannot have execute stmnts before declareAllen Byrne2017-10-031-1/+1
|
* Fix merge typosAllen Byrne2017-09-111-3/+3
|
* HDFFV-9774 Fix code mergeAllen Byrne2017-09-081-3582/+2230
|
* HDFFV-10246 Add check for string not null before useAllen Byrne2017-07-251-4/+16
|
* Fixed many minor warnings.Dana Robinson2017-05-251-6/+6
|
* HDFFV-10128 Fixed string length with no null fixedAllen Byrne2017-05-161-2/+7
|
* HDFFV-10128 add test to check null termAllen Byrne2017-05-151-35/+52
| | | Test is another dataset
* HDFFV-10128 Fix null term stringsAllen Byrne2017-05-121-7/+17
|