summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.h
Commit message (Collapse)AuthorAgeFilesLines
* Applied clang-tidy readability-non-const-parameter warning fixes auto… (#429)Sean McBride2021-03-091-3/+4
| | | | | | | | | | | | | * Automatically applied clang-tidy readability-avoid-const-params-in-decls fixes Removes useless const declarations. * Fixed most readability-non-const-parameter warnings These changes were made automatically by clang-tidy, but I manually reverted the changes related to the H5Z_func_t signature. * Reformat source with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Changes found during merge to 1.12 (#414)Allen Byrne2021-03-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 * GH #386 java folder copyright corrections * Whitespace * GH #359 implement and fix tools 1.6 API usage * remove excessive comments * Flip inits to correct ifdef section * rework ifdef to be simpler * format issue * Reformat ifdef inits * remove static attribute * format compliance * Update names * Revert because logic relies on float not being int * Changes noticed from creating merge of #412 * Double underscore change * Correct compiler version variable used * Remove header guard underscores * Whitespace cleanup
* 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-202/+214
|
* Removes staff email addresses from the repositoryDana Robinson2020-08-071-1/+1
| | | | Removes redundant C library headers from hl library
* Tools refactorAllen Byrne2020-07-151-33/+34
| | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* Separated VFD and VOL parameters in tools.Dana Robinson2020-04-211-10/+23
|
* Changed identifiers and command-line options from "id" to "value" in toolsDana Robinson2020-04-141-3/+3
| | | | code to be in agreement with H5VL API terminology.
* Added support for passing connector info strings via the commandDana Robinson2020-04-091-2/+2
| | | | line to the tools internals.
* Minor renaming in the tools code.Dana Robinson2020-03-311-9/+9
|
* Fix some missing symbols issues in tools libraryJordan Henderson2020-03-271-2/+3
|
* Update Tools library to be better compatible with VOL connectorsJordan Henderson2020-03-171-1/+48
| | | | | | | | | | | | | | | | | | | | | Modify h5repack to integrate with VOL connectors Update tools library to accomodate VOL connectors Update logic in h5tools_fopen for VOL connectors Add command-line options to h5repack for specifying in/out VOL connectors Implement h5tools_set_vol_fapl Fix library shutdown issue Integrate ROS3 and HDFS VFDs into new h5tools_get_fapl() scheme Avoid H5Ocopy in h5repack when using different VOL connectors Update h5tools_test_utils.c for ROS3 and HDFS integration
* Add unknown define for h5dump ref objectsAllen Byrne2019-12-201-0/+1
|
* Fix issues found with ONLY_SHARED_LIBS optionAllen Byrne2019-12-111-14/+14
|
* Fix compile errors - mostly in jniAllen Byrne2019-12-061-2/+2
|
* Comment correctionAllen Byrne2019-11-211-1/+1
|
* HDFFV-10876 Update h5dump and h5ls for new ref api.Allen Byrne2019-11-071-23/+25
|
* HDFFV-10384 Add optional arg to enable-error-stackAllen Byrne2018-02-141-1/+1
|
* Minor warning fixes in the tools.Dana Robinson2017-05-251-1/+1
|
* HDFFV-8611 change h5repack to save the root group creation orderAllen Byrne2017-05-221-0/+4
| | | Added test and new arguments to control the the input file parsing.
* HDFFV-10186 Add endianess to bitfield and fix testsAllen Byrne2017-05-101-1/+0
|
* 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.
* Bring SWMR-related tools changes from revise_chunks to develop.Quincey Koziol2016-12-111-0/+9
|
* [svn-r30113] Description:Quincey Koziol2016-06-281-9/+9
| | | | | | | | Clean up warnings (from 2774 -> 1560, with my standard debug build) Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29889] HDFFV-9775: Add enable-error-stack to tools lib and refactor ↵Allen Byrne2016-05-041-5/+8
| | | | h5repack error handling.
* [svn-r29534] Normalization w/ revise_chunks in preparation for big merge.Dana Robinson2016-03-231-1/+1
| | | | | | | | | tools directory Also fixes a minor Java test output error. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial w/ Java, Fortran, & C++
* [svn-r27835] Description:Quincey Koziol2015-09-211-0/+4
|\ | | | | | | | | | | | | | | Sync w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27801] Minor warning fixes in the tools.Dana Robinson2015-09-161-0/+4
| | | | | | | | Tested on: jam (too minor for h5committest)
* | [svn-r26440] Added new structure, removed ";", used static hyperslab arrays.Allen Byrne2015-03-121-6/+7
| |
* | [svn-r26383] Add MAPPING to VDS outputAllen Byrne2015-03-061-0/+1
| |
* | [svn-r26353] Add VDS selection defines for ALL and NONEAllen Byrne2015-03-041-0/+2
| |
* | [svn-r26352] Update h5dump to latest BNF - reg vs irreg hyperslabs.Allen Byrne2015-03-041-1/+4
| |
* | [svn-r26318] Update virtual layout to latest changesAllen Byrne2015-02-261-6/+2
| |
* | [svn-r26297] Changed example and h5dump according to suggestions at today's ↵Elena Pourmal2015-02-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code review VDS-176. BNF has been updated too. Now h5dump displays VDS like this: HDF5 "vds.h5" { GROUP "/" { DATASET "VDS" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 6 ) / ( 4, 6 ) } STORAGE_LAYOUT { VIRTUAL { HYPERSLAB { (0,0)-(0,5) }; a.h5; A; ALL; HYPERSLAB { (1,0)-(1,5) }; b.h5; B; ALL; HYPERSLAB { (2,0)-(2,5) }; c.h5; C; ALL; } } } FILTERS { ....... I just commented the code with "EIP" and didn't delete to simplify the review with Allen tomorrow. Tested on jam
* | [svn-r26285] add virtual mapping output blank selections but actual file and ↵Allen Byrne2015-02-231-0/+9
| | | | | | | | dataset names.
* | [svn-r26284] Add VIRTUAL layout to h5dump - still need a tools testfile createdAllen Byrne2015-02-231-1/+5
|/
* [svn-r24224] HDFFV-8529: Space separate define stringsAllen Byrne2013-09-301-1/+1
| | | | Tested: h5committest
* [svn-r23953] Update stream handling to allow binary mode - due to unjam fix.Allen Byrne2013-07-311-3/+3
| | | | Tested: local linux
* [svn-r23944] Move stream functions into tools lib.Allen Byrne2013-07-301-2/+6
| | | | Tested: local linux
* [svn-r23190] HDFFV-8285: Add suppress ddl option.Allen Byrne2013-01-221-0/+7
| | | | Tested: local linux
* [svn-r22921] Description:Quincey Koziol2012-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Review Coverity changes and bring them back to trunk. (QK & JK) r20402: Added #includes for h5tools.y or h5tools_utils.h as required to remedy implicit function declarations which caused compiler warnings and coverity issues 703-4 and 708-11. r20414: This is related to the previous checkin r20399. There were incorrect updates which caused incorrect behavior when no file was given. Also possible segfault when handling hyperslab options. Simplify the code changes. r20449: Description: Modified H5E_walk2_cb to check return value of H5I_object_verify. r20450: fixed coverity 813 Tested on: Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, debug & threadsafe (too minor to require h5committest)
* [svn-r22602] Allen Byrne2012-07-251-2/+1
|
* [svn-r21985] Tools must call h5tools_init before command_line parsing or ↵Allen Byrne2012-02-241-1/+3
| | | | | | | | using tools_mesg functions. Tools library uses alais variables for stdout, stderr and tools library uses HDfprintf() functions. Tested: local linux
* [svn-r21957] Windows DLL macro missing on data in headerAllen Byrne2012-02-181-3/+3
|
* [svn-r21953] HDDFV-7560: h5dump refactoringAllen Byrne2012-02-171-37/+52
| | | | Tested: local linux
* [svn-r21586] Description:Jonathan Kim2011-10-141-17/+0
| | | | | | | | | Added a funtion to reset dataset & hyperslab buffer size for h5repack from an environment variable. This is performance debugging purpose for now. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE), cmake
* [svn-r20713] Packed Bits Merge:Allen Byrne2011-05-031-3/+0
| | | | | | | | | removed option defines and #ifdef/#endif refactored all printf to HDfprintf in h5dump.c formatted and indention improvements synched with 1.8 branch Tested: local linux
* [svn-r20677] Merge packed bits option from 1.8 branch to trunk. CMake only. ↵Allen Byrne2011-04-291-0/+6
| | | | | | Autotools merge to come. Tested: local Linux
* [svn-r20676] Purpose:Jonathan Kim2011-04-291-0/+1
| | | | | | | | | | | | | | | | - HDFFV-5928 - GMQS: h5diff problem and improvement on comparsing the same objects Description: Fixed: 1) adding h5tools_is_obj_same() function to check if two given IDs or paths point to the same object. This function can be very useful for other tools and applications. 2) using h5tools_is_obj_same() at h5diff() and diff() in h5diff.c. If two paths point to the same object, there is no need to check the details of the object since we know there is no difference. The fix will increase the performance by skipping the content comparison. It also fixed the problem of reporting difference for some cases of comparing the same file, e.g. empty files or files with incomparable objects the same file. Test update: Updat prvious test cases (171, 172, 530) affected by this fix, so they still perfrom originally intended testing without bypassing. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
* [svn-r20285] Purpose:Jonathan Kim2011-03-211-1/+1
| | | | | | | | | | | | | | | | | Improve the previous fix for Bug 2216 - GMQS: h5diff - memory leak when compares vlen string in dataset or attributes Description: Related to the previous checkin r20270 and r20266. Improve h5tools_detect_vlen() code for better performance. H5Tdetect_class already recusive on given type so don't need to be part of recusive call again. Also improve error handlings in h5tools_detect_vlen and h5tools_detect_vlen_str functions. Also updated h5ls and h5dump code accordingly. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam