summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dumpgentest.c
Commit message (Collapse)AuthorAgeFilesLines
* clang 13 format #1933 (#1941)Allen Byrne2022-07-281-51/+51
|
* 1.8 Merge Remove clang warnings from develop (#1099)Allen Byrne2021-10-191-22/+22
| | | | | * Merge Remove clang warnings from develop * revert HD prefix
* 1 8 Merge dev changes for long double and cmake (#548)Allen Byrne2021-04-201-97/+481
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update supported platforms * Merge PR#3 changes from develop * # WARNING: head commit changed in the meantime Merge gcc 10 diagnostics option from develop Merge CMake changes from develop Merge warnings from develop Merge #318 OSX changes from develop Merge tools changes from develop Merge test macros from develop * Format updates * Fix missing semicolon and format fix * Format update * Correct actions, remove java option * Update autotools build files * Add testfiles * Fix configure issue with make flags * Init fapls to default * Update generated files and fix h5repack id closure * update format * Merges from develop #358 patches from vtk #361 fix header guard spelling * Merges from develop #340 clang -Wformat-security warnings #360 Fixed uninitialized warnings header guard underscore cleanup whitespace cleanup tools sync * format alignment * initialize vars * revert H5private change * Merge #380 from develop * Split format source and commit changes on repo push * Change windows TS to use older VS. * HDFFV-11229 merge dev changes for long double display in tools * Committing clang-format changes * Update unsupported types with precision Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* HDF5 1 8 merge of recent changes and tools (#353)Allen Byrne2021-02-221-18/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update supported platforms * Merge PR#3 changes from develop * # WARNING: head commit changed in the meantime Merge gcc 10 diagnostics option from develop Merge CMake changes from develop Merge warnings from develop Merge #318 OSX changes from develop Merge tools changes from develop Merge test macros from develop * Format updates * Fix missing semicolon and format fix * Format update * Correct actions, remove java option * Update autotools build files * Add testfiles * Fix configure issue with make flags * Init fapls to default * Update generated files and fix h5repack id closure * update format
* Update HDF5 1.8 copyright headers with updated copyright URL (#148)Larry Knox2020-12-041-1/+1
| | | | | | | * Update URL for COPYING file in copyright headers. * Make fortran copyright headers uniformly spaced. * Update url for Copyright file in c++/src/footer.html.
* Source formattedAllen Byrne2020-10-011-2994/+3054
|
* HDFFV-11012, sanitize, warnings and tools idsAllen Byrne2020-02-111-96/+85
|
* Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-101-2/+2
| | | | | | | to develop * commit '6b1b4b3c0bdd803835efe8c531965bb9900a5363': fix test assert fail error
* Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-101-10/+10
| | | | | | | | | | | | | | | | | | | | | | to develop * commit '0a2bb11b248df6841daabca3970df5d8504adfc7': address problems from comments fix and address comments change according to previous comments add missing piece remove unnecessary check macro fix intel compile warnings Revert "fix warnings from Intel compiler" Revert "fix warnings and some text alignment" Revert "let hdf5 pick up the right compiler in Intel environment" Revert "fix issues from previous PR comments" Revert "using a different MACRO" using a different MACRO fix issues from previous PR comments let hdf5 pick up the right compiler in Intel environment fix warnings and some text alignment fix warnings from Intel compiler
* HDFFV-10903 merge S3 from devAllen Byrne2019-09-231-13/+86
|
* OESS-29 Fix shared MPI builds, more HD prefixAllen Byrne2019-08-221-16/+16
|
* Correct merge issues with VFD testsAllen Byrne2019-08-071-6/+6
|
* Merge of HDFFV-10845, 10529 from developAllen Byrne2019-07-271-8/+7
|
* TRILABS-81 coverity tools fixesAllen Byrne2018-11-091-1/+1
|
* Fix VS2012,2008 declaration statementsAllen Byrne2017-10-121-11/+19
|
* HDFFV-10297 merge from developAllen Byrne2017-10-111-3/+1
| | | Also cleaned up some other non-merged changes
* HDFFV-10188 merge fix and tests from developAllen Byrne2017-08-231-0/+39
|
* Tools merge from develop-1.10Allen Byrne2017-05-171-24/+24
|
* HDFFV-10112 correct form of commentAllen Byrne2017-01-231-68/+74
|
* HDFFV-10118 port plugin tools test fix to 1.8Allen Byrne2017-01-201-21/+34
|
* HDFFV-9994 port changes from develop.Allen Byrne2017-01-181-29/+162
| | | CMake folder changes brought up to standard.
* [svn-r30172] HDFFV-9953,9955: add new testfiles to h5dump (required for ↵Allen Byrne2016-07-121-318/+727
| | | | hdfview testing). These dataset types did not exist in other files.
* [svn-r29309] HDFFV-9698, HDFFV-9241, HDFFV-9570: Merge fixes from trunk for ↵Allen Byrne2016-03-071-0/+45
| | | | subsetting index, default fill value display, and optional arg crash. Also some minor compiler warnings fixes.
* [svn-r27253] Move packed bits files to subfolderAllen Byrne2015-06-191-1/+1162
|
* [svn-r27165] Merge 27133 & 27158 from trunk:Mohamad Chaarawi2015-06-081-10/+10
| | | | | | | | | - Add a new attribute function characterstic for format: * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r26398] Merges r26333 from trunkDana Robinson2015-03-091-32/+32
| | | | | | | | | | | | | | | | Eliminates gcc warnings due to -Wunsuffixed-float-constants. - Adds 'F' suffixes for most float constants. - A few constants MUST be of type double. These now receive the long double L suffix and are then cast to double. I do this via a new H5_DOUBLE() macro which was added to H5private.h. - Additionally, some 1.8-specific float suffixes were added. Fixes: HDFFV-9148 Tested on: h5committest
* [svn-r26395] Merges r26329 from trunkDana Robinson2015-03-091-14/+4
| | | | | | | | | | | | | | Removed the configure option that allows selective disabling of individual internal filters (fletcher32, shuffle, etc.). This feature mucked up the code with a lot of #ifdefs, saved very little space and was not scalable to a general scheme for library size reduction. We've decided to remove the feature while we investigate a more general scheme for decreasing the library size. Fixes: HDFFV-9086 Tested on: h5committest
* [svn-r25497] Description:Quincey Koziol2014-07-301-14/+14
| | | | | | | | | | Merge changes that correspond to the 64-bit ID changes (without the actual switch to 64-bit IDs) to the 1.8 release branch. (Plus a few minor cleanups and alignments with the trunk that aren't on the branch) Tested on: Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN (h5committested on branch already for a week)
* [svn-r24112] Description:Quincey Koziol2013-09-061-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24101 & 24111 from trunk to 1.8 branch: r24101: ======= Description: Clean up warnings, enable new compiler warning flag(s) and bring back changes from Coverity branch: r20813: Remove the dead code as listed for coverity bug #1722. h5committested. r20814: Issue 69: Check return value and throw error if negative return. Also free datatype id on error r20815: Use HDstrncpy. --gh r20816: Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832. r20817: Use HDstrncpy and HDstrncat. --gh r20818: Purpose: Fix valgrind issues with h5jam Description: Modified h5jam to free strings strdup'd in parse_command_line before exit. Note that they may still not be freed in case of error, due to the widespread use of exit(). r20819: Issue 80: change loop to use int as loop index. r20820: Maintenance: Fixed the bug found by coverity CID 788 There were two problems with this function: 1) it tried to unnecessary free NULL pointer 2) it tried to allocate c_name buffer that is done by H5Pget_class_name r24111: ======= Description: Restrict GCC diagnostic pragmas to only gcc 4.6+ Tested on: Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24021] Description:Quincey Koziol2013-08-181-2/+9
| | | | | | | | | | Bring r24020 from trunk to 1.8 branch: Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23301] Allen Byrne2013-02-181-0/+475
|
* [svn-r22578] Windows compilers require declarations at top of routine.Allen Byrne2012-07-161-8/+5
|
* [svn-r22551] Merge changes from Trunk revision 22550 for:Allen Byrne2012-07-111-2094/+2246
| | | | | | HDFFV-4206, -7953, -5930, -2687, -5942 Tested: local linux with cmake
* [svn-r22517] HDFFV-7782: h5import testfiles duplicated to match testname. ↵Allen Byrne2012-07-051-12/+782
| | | | | | (Consistent naming) Tested: local linux using CMake
* [svn-r22397] Merge trunk changes for HDFFV-7999 and h5dump test script to branchAllen Byrne2012-05-231-0/+50
|
* [svn-r22121] Purpose:Jonathan Kim2012-03-221-1/+1
| | | | | | | | | | | | | | update for HDFFV-7523 JPSS: h5dump fails to open an attribute when using the -a option to specify an attribute with a slash in the name Description: Added capability for "-a" option to show attributes containing "/" by using an escape character. For example, for a dataset "/dset" containing attribute "speed(m/h)", use "h5dump -a "/dset/speed(\/h)" to show the content of the attribute. Merged from HDF5 trunk r22052, r22063, r22108 Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE cmake), Cmake (jam)
* [svn-r22013] HDFFV-7560:Allen Byrne2012-03-021-395/+394
| | | | | | | | | | Merge 1.8 and h5dump/tools and tests based on tools library from trunk. Reduced warnings. HDFFV-7949: Remove duplicated functions in h5ls Tested: local linux,h5committest
* [svn-r20616] Purpose:Jonathan Kim2011-04-221-0/+5
| | | | | | | | | | | | | | HDFFV-5948 - CHICAGO: Tools - implement missing external link test cases Description: Merged from HDF5 trunk r20595 and r20600. Add three test cases for h5dump and h5ls. - h5ls: external link to soft link with follow symlink. - h5dump: external link to soft link with follow symlink. - h5ls: external link to soft link without follow symlink. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
* [svn-r20579] Bug 1386 - allowing dimension size to be zero. I added test ↵Raymond Lu2011-04-201-0/+41
| | | | | | | | cases in the tests for h5dump and h5diff. I also added the test cases in the CMAKE script. Tested on jam. But I tested the same change in the trunk with h5committest.
* [svn-r20518] Description:Quincey Koziol2011-04-151-5/+12
| | | | | | | | | | | | | | | Correct test file name. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
* [svn-r20259] Windows compilers insist that variable declarations are before ↵Allen Byrne2011-03-161-5/+5
| | | | | | assignement statements Tested: windows
* [svn-r20133] Purpose:Jonathan Kim2011-02-211-0/+95
| | | | | | | | | | | | | | | | Fixing Bug 2092 - h5dump does not display index for a dataset Description: Merged from HDF5 trunk r20108 and r20132. h5dump skip displaying array indices every certain number when the array type dataset is relatively big. The certain number varies according to the size of each array. This checkin fix the skipping array indices problem. This fix also correct indentation of the dataset data output. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), Cmake - jam
* [svn-r20045] Fix bz2127 by dynamically allocating storgae for comments. Allen Byrne2011-02-041-0/+5
| | | | | | Bring 20044 from trunk Tested: local linux
* [svn-r19897] Extend packed bits and testing to 64 bit integers.Allen Byrne2010-12-301-0/+41
| | | | Tested: local Linux
* [svn-r19177] Took out several redundant lines when object IDs are closed.Raymond Lu2010-08-051-9/+0
| | | | Tested on jam.
* [svn-r19158] Description:Quincey Koziol2010-07-301-142/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r19156 from trunk to 1.8 branch: Bring revisions from Coverity branch back to trunk: r19044: Coverity #449 - Line 1560 called function H5O_chunk_protect for 2 pointers to allocate. But when there's failure on the second one, the first wasn't freed (H5O_chunk_unprotect). We fixed it by freeing the pointers when an error happens. r19045: Fixed coverity issue # 319. Free sec_node in done if it is not NULL. r19046: Add intended but missing assignments to initialize pointers to NULL (coverity issue fixes). r19049: Hdf5_1_8_coverity branch was recreated from hdf5_1_8 branch in revision 18839 without fix for Coverity issue #84 having been propagated to the hdf5_1_8 branch. This revision adds the fix again. r19060: added parentheses to see if they will keep subversion from getting confused r19061: Fix coverity item 139. Fixed incorrect condition for freeing buffer on error. Fix coverity items 20 and 21. Removed unused NTESTS facility from dtypes.c. Cleanup in H5Shyper.c. r19062: Fix coverity item 450. Check to see if chk_proxy has been allocated before attempting to free it. Fix coverity item 454. Check to see if allocation of buf failed in H5D_fill_refill_vl. Fix coverity items 455-457. Initilize hid_t's to -1, check their value before attempting to close them, and check if the close failed. r19063: New fix to address coverity issue #84. Check that pointers in H5Z_xform_find_type are not NULL before passing them to H5T_cmp. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r18961] Purpose:Jonathan Kim2010-06-031-12/+12
| | | | | | | | | | Fixed Windows compile error. Renamed to use 'gid1' and 'gid2' instead of 'grp1' and 'grp2'. Description: This is related SVN r18946. There is variable name confliction with 'grp1' ~ 'grp9' in Windows system. It occurs if H5private.h is included in the code.
* [svn-r18946] Purpose:Jonathan Kim2010-06-021-14/+256
| | | | | | | | | | | | | Support follow symbolic links. Description: Merged from hdf5 trunk r18943. Add '--follow-symlinks' option to follow symbolic links (soft and external). Update help page according to RM. Remove some warning messages from compiler. Tested: jam
* [svn-r18810] Bug fix:Albert Cheng2010-05-141-5/+5
| | | | | | | | Program failued in FreeBSD and Windows machines because uint is a local backward compatibility extension of Linux. Changed them to the proper "unsigned int". Tested: FreeBSD (liberty,duty), h5committested.
* [svn-r18795] Enhancement 1853:Albert Cheng2010-05-131-6/+169
| | | | | | | | | | Install packed-bits feature for h5dump. Added gent_packedbits() to generate the HDF5 test data file, packedbits.h5, for packed-bit feature test. Tested: albertPax (linux) ------------------------------------------------------------------------