summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
Commit message (Collapse)AuthorAgeFilesLines
* Split tools into src and test - remove foldersAllen Byrne2016-10-271-2939/+0
|
* [svn-r30238] Follow-on to HDFFV-9928: remove unconditional call of time.h ↵Allen Byrne2016-08-011-1/+0
| | | | type headers. Also remove duplicated includes when h5private.h is used.
* [svn-r30194] Convert usage function to use standard tools macros.Allen Byrne2016-07-181-59/+60
|
* [svn-r30192] Correct random code inserted in usage text.Allen Byrne2016-07-181-5/+2
|
* [svn-r30189] Description:Quincey Koziol2016-07-181-4/+6
| | | | | | | | | Clean up more warnings: drop the warning count from ~1310 down to ~940, with only 31 types of warnings in 148 files (down from 38 types in 167 files). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r28761] Description:Quincey Koziol2016-01-011-4/+1
| | | | | | | | | | | | Clean up many mismatches between malloc/free and H5MM_malloc/H5MM_xfree in the library and tests (and use of H5free_memory and H5Dvlen_reclaim). Also make H5Ocopy use a private version of H5Lexists, which doesn't internally throw (and suppress) errors when an object (or the path to it) isn't found in the destination. Tested on: MacOSX/64 10.11.2 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r27848] Description:Quincey Koziol2015-09-221-1/+1
| | | | | | | | Clean up warnings and some normalization against trunk. Tested: McaOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
* [svn-r27632] Description:Quincey Koziol2015-08-311-0/+1
| | | | | | | | | | Revert changes to pass file pointer to selection serialize/deserialize routines. Also patch back in some changes that were merged out in the previous merge w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
* [svn-r27630] Description:Quincey Koziol2015-08-311-1/+5
|\ | | | | | | | | | | | | | | Bring in changes from the trunk, through r27628. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
| * [svn-r27626] Various minor warning fixes before major SWMR and VDS merges.Dana Robinson2015-08-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | gcc 4.9.2 was used to create the warning list - implicit casts - shadowed variables - various enum issues - other minor fixes (comments, unused macros, etc.) Tested on: h5committest
| * [svn-r27267] Combine float checks and int checks to eliminate possible conflictsAllen Byrne2015-06-221-199/+213
| |
* | [svn-r27266] Change tests to use simple mode - eliminates native type use.Allen Byrne2015-06-221-143/+147
| | | | | | | | Combine float checks and int checks to eliminate possible conflicts
* | [svn-r27191] Merged r26781 to r27185 from trunkDana Robinson2015-06-111-8/+8
|\ \ | |/ | | | | | | Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2 (C++ and Fortran 2003 also tested)
| * [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-8/+8
| | | | | | | | | | | | | | | | * 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-r26936] Incorrect use of HSIZE_T_FORMAT macro, needed to be sub macro ↵Allen Byrne2015-04-271-3/+3
| | | | | | | | | | | | H5_PRINTF_LL_WIDTH. Tested: local linux
* | [svn-r26959] Fixed ERTERN print format and remove "Files" from virtual.Allen Byrne2015-04-281-4/+4
| |
* | [svn-r26935] Add dataset name to mapping outputAllen Byrne2015-04-271-0/+5
| |
* | [svn-r26910] Add clarification that the files are SourceAllen Byrne2015-04-231-1/+1
| |
* | [svn-r26909] Convert layout to switch and add virtual. Print number of maps ↵Allen Byrne2015-04-231-56/+87
|/ | | | | | and file names only. Tested: local linux
* [svn-r25496] Description:Quincey Koziol2014-07-301-1/+1
| | | | | | | | | Merge 64-bit ID changes from branch to trunk. (Plus a few minor cleanups 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-r25197] Description:Quincey Koziol2014-05-171-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from hdf5_1_8_coverity branch back to trunk: r20878: Issue 76: Check if H5Tget_nmembers(type) fails and simply return(FALSE). Also move printf to after check. r20880: Issue 192: Create ret_val var set to -1. Add out label for failures to jump to, return ret_val at bottom. r20882: Fixes for coverity: 1) bug #1679: remove dead code in test/mf.c 2) bug #1680: remove dead code in tools/lib/h5diff_dset.c r20883: Fix coverity issue 585 Description: Changed variable "c" in processStrData in h5import.c to an int, to match fgetc return value, and removed call to feof, instead checking if c == EOF. Tested on: MacOSX/64 10.9.3 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r24937] Adds an H5free_memory() function to the library for use withDana Robinson2014-03-311-3/+3
| | | | | | | | | | | | functions that return library-allocated memory. The test and tool code were modified to use this new function where it's appropriate. Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551 Tested on: 64-bit Windows 7 w/ VS2012 32-bit LE linux w/ parallel and fortran (jam) 32-bit LE linux w/ fortran and C++ (jam)
* [svn-r24137] Cast constants to specified type. Allen Byrne2013-09-131-35/+35
| | | | | | | Cast smaller vars to larger type. Cast calculation result to correct type. Tested: local linux
* [svn-r23395] Description:Quincey Koziol2013-03-201-106/+141
| | | | | | | | | | | | Bring Coverity changes from branch to trunk: r20682: fixed coverity: 76, 77, 635, 636, 1164, 1165, 1166, 1121, 1122, 1117, 1343 Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23227] HDFFV-8215 - update help text to be cosistent with the RM entry.Allen Byrne2013-02-051-2/+2
| | | | Tested: local linux
* [svn-r23190] HDFFV-8285: Add suppress ddl option.Allen Byrne2013-01-221-4/+4
| | | | Tested: local linux
* [svn-r22411] reduce compiler warnings by removing unreferenced variables and ↵Allen Byrne2012-05-251-13/+3
| | | | | | adding cast Tested: local linux
* [svn-r22007] Remove duplicated functions by using h5tools library callsAllen Byrne2012-02-291-1176/+235
| | | | | | HDFFV-7949 Tested: local linux and h5committest
* [svn-r22004] Reduced warnings and fixed conflicts resulting from including ↵Allen Byrne2012-02-281-2/+2
| | | | | | h5tools.h Tested: local linux
* [svn-r21990] Tools library uses alais variables for stdout, stderr and tools ↵Allen Byrne2012-02-271-194/+192
| | | | | | library uses HDfprintf() functions. Tested: local linux, jam-pp
* [svn-r21983] Correct HD prefix in toolsAllen Byrne2012-02-241-2/+2
| | | | Checked for HD support.
* [svn-r21982] Correct HD prefix in tools for exitAllen Byrne2012-02-241-1/+1
| | | | Checked for HD support.
* [svn-r21981] Correct HD prefix in tools for fprintfAllen Byrne2012-02-241-19/+19
| | | | Checked for HD support.
* [svn-r21980] Correct HD prefix in tools for *allocAllen Byrne2012-02-241-4/+4
| | | | Checked for HD support.
* [svn-r21974] Update HSIZE_T print statements to use correct macro.Allen Byrne2012-02-231-23/+23
| | | | | | Fix some more HD prefix issues in tools. Tested: local linux
* [svn-r21967] Checked all %lu references and corrected 2 that should have ↵Allen Byrne2012-02-221-2/+2
| | | | | | | | been '%"H5_PRINTF_LL_WIDTH"u' Moved lib variables windows linking declarations to proper file location. Tested: local linux windows
* [svn-r21966] Index used in printing data uses hsize_t variables. Changed ↵Allen Byrne2012-02-211-13/+14
| | | | | | h5ls format to use HSIZE_T_FORMAT. Tested: local linux and windows 32
* [svn-r21953] HDDFV-7560: h5dump refactoringAllen Byrne2012-02-171-118/+1332
| | | | Tested: local linux
* [svn-r21865] Purpose:Jonathan Kim2012-01-051-1/+7
| | | | | | | | | | | | | Fix for HDFFV-7838 h5ls: segfault for handling region reference in attribute with -v option Description: Segfault occurred when h5ls access region reference data in an attribute. This didn't occurred when -v option was used. The cause was "h5tool_format_t info;" struct variable members were accessed without proper values were assigned (was NULL), so printf failed later in the code. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake-Windows (32-LE)
* [svn-r20995] Get comment section did not add null terminator.Allen Byrne2011-06-191-7/+8
| | | | Tested: Debug windows
* [svn-r20378] Purpose:Jonathan Kim2011-03-301-2/+9
| | | | | | | | | | | | | | | | | | | Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions Description: Decided to use --enable-error-stack long option name only to display error stack messages from HDF5 lib among tools. Updated to unify option name to '--enable-error-stack' for printing HDF5 error stack messages for HDF5 tools. h5ls and h5dump for now. For h5ls, this replaces "-e/--errors" option, which is deprecated. For h5dump, remove -E from help page and RM , which was added by mistake before release1.8.7. Help page and RM got updated. Updated test case. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
* [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
* [svn-r20270] Purpose:Jonathan Kim2011-03-181-3/+1
| | | | | | | | | | | | | | | | Improve the previous fix for Bug 2216 - GMQS: h5diff - memory leak when compares vlen string in dataset or attributes Description: Improve the fix along with the previous checkin r20266. Add a new function to tool lib, h5tools_detect_vlen_data() which return TRUE if include any kind of vlen data all at once, either VLEN-data or VLEN-string and so on. 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
* [svn-r20247] Change name of new VLEN function from H5Tdetect_vlen_str to ↵Allen Byrne2011-03-141-1/+3
| | | | | | | | h5tools_detect_vlen_str to match other functions in tools lib. Added back test for H5Tdetect_class of H5T_VLEN after each instance of above function to catch all VLEN types in h5dump. Tested: local linux
* [svn-r20231] Purpose:Jonathan Kim2011-03-111-1/+5
| | | | | | | | | | Fixed Bug 1904 - h5ls : usage of '-a' option is not clear to display expected output Description: Fixed incorrect content and improved help page for -a option of h5ls. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Cmake (jam)
* [svn-r20216] Valgrind fix for memory leak in h5tools_dump_xxx which is fixed ↵Allen Byrne2011-03-091-0/+12
| | | | | | | | by adding a new function; htri_t H5Tdetect_vlen_str(hid_t tid) to h5tools. This needs to be called before any H5Aread/H5Dread and if TRUE, then call vlen_reclaim function after the corresponding h5tools_dump_xxx(). Tested: local linux and valgrind
* [svn-r20057] Correct comment handling and remove cut/paste oversightsAllen Byrne2011-02-071-14/+13
| | | | merge r20056 from 1.8
* [svn-r20044] Fix bz2127 by dynamically allocating storgae for comments.Allen Byrne2011-02-041-5/+17
| | | | Tested: local linux
* [svn-r19751] Purpose:Jonathan Kim2010-11-091-2/+10
| | | | | | | | | | | | | | Fixed Bug# 1979 Output from h5ls -rdlS on nested compound datatypes is difficult to parse. Description: Update to add curly brackets for the nested compound members, when S (--simple) option is used with -l (--label), so user can tell which members blong to which compound type. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32)
* [svn-r19481] I'm backing out my fix for bug 1707 because there're some ↵Raymond Lu2010-09-271-5/+1
| | | | | | | | | | | unresolved issues - r19441 and 19467. Bug 1707 is that H5Eset_auto causes a seg fault when an application uses -DH5_USE_16_API with the 1.8 library to compile. I created a branch off the trunk called set_auto to continue working on the problem. Tested on jam - backing out, simple.