summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r12736] Description:Quincey Koziol2006-10-091-15/+2
| | | | | | | | | | | | | | | | | | | Add "use the latest format" support for dataspace object header encode/ decode routines and clean up format a bit for the latest format (new to 1.8.x releases) Remove storing 'perm' parameter for array datatypes in memory and the file, and add test to make certain that if any user applications are attempting to store them, we get some reports back. (Should be unlikely, since the RefMan says that the parameter is not implemented and is unsupported). Carry those changes into the tests, etc. Clean up a bunch more compiler warnings. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
* [svn-r12700] Alert:Quincey Koziol2006-10-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | File format is not stable, don't keep files produced! Description: First stage of checkins modifying the format of groups to support creation order. Implement "dense" storage for links in groups. Try to clarify some of the symbols for the H5L API. Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest file format options (including "dense" link storage in groups) Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation order tracking in groups (although no index on creation order yet). Remove --enable-group-revision configure flag, as file format issues are now handled in a backwardly/forwardly compatible way. Clean up lots of compiler warnings and other minor formatting issues. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-v1.6 compa Mac OSX/32 10.4.8 (amazon) AIX 5.3 (copper) w/parallel & FORTRAN
* [svn-r12634] Purpose:Albert Cheng2006-08-281-1/+1
| | | | | | | | | | | | Code cleanup. Description: Removed argc and argv from the function arguments of h5tools_get_fapl() and h5tools_fopen(). They were used to call MPI_Init() which was no longer needed. Tested: heping (serial and parallel).
* [svn-r12528] Added User-Defined links to the library.James Laird2006-08-021-5/+60
| | | | | | | | | | | | | | Users can create external links using H5L_create_external(). These links point to an object in another HDF5 file. Users can alter the behavior of external links or create new kinds of links by registering callbacks using the H5L interface. Added tests, tools support, etc. Also a number of other, minor changes have been made (some restructuring of the H5L interface, for instance). Additional documentation and examples are forthcoming.
* [svn-r12440] Purpose:Quincey Koziol2006-06-271-3/+3
| | | | | | | | | | | Code cleanup Description: Trim trailing whitespace in Makefile.am and C/C++ source files to make diffing changes easier. Platforms tested: None necessary, whitespace only change
* [svn-r12254] Purpose:Quincey Koziol2006-04-141-33/+40
| | | | | | | | | | | | | | Anti-feature Description: Revert changes to H5G_stat_t struct, to make it compatible with the 1.6.x branch again. The information that was added to the H5G_stat_t struct will be reported through other API routines. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++ Linux 2.4/64 (mir) w/C++ & Fortran Solaris 2.9 (shanti)
* [svn-r12196] Purpose:Pedro Vicente Nunes2006-04-031-0/+11
| | | | | | | | | | | | | | | bug fix Description: h5ls was not printing root group attributes Solution: Platforms tested: linux 32, 64 solaris Misc. update:
* [svn-r12171] Purpose:Pedro Vicente Nunes2006-03-281-49/+49
| | | | | | | | | | | | | | | | | | | | | | | bug fixes Description: h5dump/h5ls were not displaying long doubles correctly Solution: 1) the print datatype functions were incorrectly testing for the valid return value from H5Tequal, (TRUE), causing the display of an incorrect name of a dataype in error cases from H5Tequal 2) h5tools_print_str did not have a case for native long double 3) added a file generator for a long double dataset 4) added one script test for the long double data (commented , some sytems don't have a native long double match, and the output differs) 5) added a vms file and h5dump script test Platforms tested: linux 32, 64 solaris AIX Misc. update:
* [svn-r11886] Purpose:Quincey Koziol2006-01-231-3/+3
| | | | | | | | | | | | | Code cleanup Description: Check in some of the code cleanups from working on the external link support. (This doesn't include any of the external link features) Platforms tested: FreeBSD 4.11 (sleipnir) Mac OSX.4 (amazon) Linux 2.4
* [svn-r11304] Purpose:Quincey Koziol2005-08-271-10/+10
| | | | | | | | | | | | | Code cleanup (sorta) Description: Adjust H5G_stat_t to prepare for eventual "external link" information. This also puts the information for regular objects and soft links into more obviously separate places. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4
* [svn-r11297] Purpose:Quincey Koziol2005-08-251-5/+4
| | | | | | | | | | | | Code cleanup & speedup Description: Refactor h5dump & related code to be considerably cleaner & faster for files with large #'s of objects. Platforms tested: FreeBS 4.11 (sleipnir) Linux 2.4
* [svn-r11283] Purpose:Quincey Koziol2005-08-201-108/+110
| | | | | | | | | | | | | | | | Code cleanup Description: Clean up code somewhat: - Move from HDmemset() -> H5G_ent_reset() to clear out group entry info - Simplify H5G_unlink() call - Use portability macros instead of direct system calls in more places - Improve readbility by neatening whitespace, etc. - Move some macros into source code module instead of header files Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-48/+48
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11144] Purpose:Quincey Koziol2005-07-231-0/+2
| | | | | | | | | | | New port Description: Elena asked me to check in her NEC SX-6 work, so here it is! :-) Platforms tested: FreeBSD 4.11 (sleipnir) NEC SX-6 (by Elena)
* [svn-r10785] Purpose:James Laird2005-05-231-1/+3
| | | | | | | | | | | | | | | | | Feature Description: Added "support" for UTF-8 character encoding. Solution: Wrote tests to check that UTF-8 can be used in a number of places in HDF5 (object names, data, etc.). These tests live in test/tunicode.c. Added a new UTF-8 character encoding for datatypes. Platforms tested: mir, modi4, heping Misc. update:
* [svn-r10648] Purpose:Quincey Koziol2005-04-221-1/+0
| | | | | | | | | | | | Bug fix Description: Remove declaration of 'prefix' variable that was moved into the h5tools library. Platforms tested: FreeBSD 4.11 (sleipnir) w/CC=g++ Too minor to require h5committest
* [svn-r10035] Purpose: Bug fixRaymond Lu2005-02-171-2/+9
| | | | | | | | | | Description: On SGI Altix(cobalt) Linux, wrong values were printed out for enum data type members. No apparent reason was discovered. Solution: use another pointer to the buffer containing the member value. It seems fix the problem. Platforms tested: cobalt - simple change, where the bug was discovered.
* [svn-r9869] Purpose:Quincey Koziol2005-01-251-2/+2
| | | | | | | | | | | | | | | Bug fix Description: In an earlier bug-fix, I inadvertently inverted the meaning of the "% utilization" in h5ls. Solution: De-invert it. :-) Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9447] Purpose:Quincey Koziol2004-10-221-13/+8
| | | | | | | | | | | | Bug fix Description: Correct values used in "space utilization" equation: the 'used' and 'total' values were backwards. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9370] Purpose:Quincey Koziol2004-10-061-79/+67
| | | | | | | | | | | | | | | Refactor code Description: Refactor common code for determining the native type for using in the tools into separate routine. Also, reduce diffs between the two branches and bring back some fixes from the development branch to the release branch. Platforms tested: FreeBSD 4.10 (sleipnir) too minor to require h5committest
* [svn-r9364] Raymond Lu2004-10-051-1/+7
| | | | | | | | | | | | Purpose: change feature Description: Back up support bitfield and time datatypes in H5Tget_native_type.Leave it to future support. Let it return "not supported" error message for now. Platforms tested: h5committest and fuss. Misc. update: RELEASE.txt
* [svn-r9183] Purpose: New featureRaymond Lu2004-09-011-5/+1
| | | | | | | | | | | | Description: Restore 6 old error API functions back to the library to be backward compatible with v1.6. They are H5Epush, H5Eprint, H5Ewalk, H5Eclear, H5Eset_auto, H5Eget_auto. These functions do not have error stack as parameter. Solution: Internally, these functions use default error stack. Platforms tested: h5committest and fuss. Misc. update: RELEASE.txt
* [svn-r8782] Purpose:Quincey Koziol2004-07-011-2/+3
| | | | | | | | | | | Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8781] James Laird2004-07-011-0/+5
| | | | | | | | | | | | | | | | Purpose: HDF5 now supports SZIP with no encoder. Description: SZIP can be configured to have both encoder and decoder or just to have the decoder. HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled. Solution: Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id. See SZIP RFC. Platforms tested: Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++) Misc. update:
* [svn-r8659] Purpose:Pedro Vicente Nunes2004-06-111-6/+1
| | | | | | | | | | | | | | | | | bug fix Description: a prototype for a new function used by h5tools_str.c was accidently left in that file the c++ treats this as an error Solution: removed the prototype, and pointed to the correct one (in h5tools_ref.h ) Platforms tested: Free BSD (c++) linux Misc. update:
* [svn-r8644] Purpose: h5dump new featuresPedro Vicente Nunes2004-06-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | Description: added the code for print strings with new line and display the path of references (new source files h5tools_ref.c and .h ) added a test suite in testh5dump.sh.in for ( note : to create testh5dump.sh , one must redo ./configure; this detects the availability of filters and generates testh5dump.sh accordingly) 1) storage layout 2) fill value 3) print reference with path 4) print strings with new lines 5) filters Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8563] *** empty log message ***Raymond Lu2004-05-211-77/+95
|
* [svn-r8383] Purpose:Quincey Koziol2004-04-181-4/+4
| | | | | | | | | | | | | Code cleanup Description: Clean up lots of warnings based on those reported from the SGI compilers as well as gcc. Platforms tested: SGI O3900, IRIX64 6.5 (Cheryl's SGI machine) FreeBSD 4.9 (sleipnir) w/ & w/o parallel h5committest
* [svn-r8151] Purpose:Quincey Koziol2004-02-041-17/+5
| | | | | | | | | | | | Bug fix Description: Fix h5tools routines to not try to call MPI_Init() unless an MPI-based VFD is actually used. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel Linux 2.4 (verbena) w/parallel
* [svn-r8143] Purpose:Quincey Koziol2004-02-021-162/+199
| | | | | | | | | | | | | | New Feature. (Contributed by Robb) Description: Allow h5ls to specify a VFL with the '--vfl=' command line flag. Add MPI-I/O & MPI-POSIX VFL drivers to list of drivers available for h5ls and h5dump. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel h5committested
* [svn-r7616] Purpose:Quincey Koziol2003-10-131-32/+34
| | | | | | | | | | | | | | | Code cleanup Description: Change field member count and indices for compound and enumerated types from 'int' to 'unsigned' to better reflect actual use. Cleaned up a few other minor compiler warnings, etc. Platforms tested: FreeBSD 4.9 (sleipnir) Linux 2.4 (verbena) too minor to require h5committest
* [svn-r7507] *** empty log message ***Raymond Lu2003-09-241-0/+4
|
* [svn-r7401] Purpose:Quincey Koziol2003-08-251-1/+1
| | | | | | | | | | | | | | | | | | Code cleanup Description: Remove various "fixtype" routines which duplicate (and actually pre-date) the functionality in H5Tget_native_type in favor of having the tools call H5Tget_native_type(). This provides the same functionality (actually better functionality, since the old "fixtype" routines didn't handle alignment of compound fields correctly) and reduces the amount of code to maintain. Add additional tests to dump out a "complex" compound datatype which exercises more code in the library for aligning compound fields correctly. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7326] Purpose:Quincey Koziol2003-08-081-15/+11
| | | | | | | | | | | Refactored code Description: Chased 'objno' and 'fileno' changes in H5G_stat_t structure, including updating the addresses displayed. Platforms tested: h5committested
* [svn-r7265] *** empty log message ***Raymond Lu2003-07-261-1/+1
|
* [svn-r7211] Purpose:Quincey Koziol2003-07-111-1/+1
| | | | | | | | | | | Code cleanup Description: Various code cleanups suggested by lint tool Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7192] Purpose:Quincey Koziol2003-07-091-1/+1
| | | | | | | | | | | Code cleanup Description: Clean up various minor warnings in the library. Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
* [svn-r7021] Purpose: bug fixRaymond Lu2003-06-101-3/+3
| | | | | | | | Description: H5Tget_native_type fails for multiple kinds of datatype on Cray; it fails fix-length string type, too. Platforms tested: Cray, h5committest
* [svn-r7003] Purpose:Quincey Koziol2003-06-091-175/+146
| | | | | | | | | | | | | | | | | | | Code cleanup/new features. Description: Clean up whitespace & formatting. Make the -S (simple) output display a dataset's modification time in UTC rather than local timezone. Display variable-length datatype information. Simplified & enhanced bitfield datatype information displayed. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r6913] Purpose:Pedro Vicente Nunes2003-05-221-1066/+1113
| | | | | | | | | | | | | | | | | | | | | | | | | | bug fix and enhancement Description: combined the --simple option to the display of NATIVE datatypes with the -S option , the print of the datatype will always display the full description making it possible to do an automatic test for catching differences on output made the case for printing the type of bitfield data, which was not handled the new test generates a dataset with 10 attributes, each one a different datatype Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6903] Purpose:Pedro Vicente Nunes2003-05-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | bug fix Description: when the list attribute function was called with values of type reference, the format string was not initialized causing a segmentation fault on printf Solution: initialized the string ( with obj no and file no turned on ) Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6543] Purpose:Bill Wendling2003-03-311-4/+14
| | | | | | | | | | | | Update Description: Updated copyright statement Platforms tested: Linux (only comment change) Misc. update:
* [svn-r6179] ./hdf5-devel/tools/h5ls/h5ls.cRobb Matzke2002-12-041-19/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: New Feature; Optimization; Clean-up (Merged from 1.4 branch) Description: There is no symbolic constant to pass to functions that take an optional object ID for when the caller wants to indicate no object ID. In the past the caller always passed a negative integer. GPFS performs poorly. The h5ls tool decides whether to list the file name in the output based on a compile-time choice, which isn't always optimal at run time. Solution: Added a symbolic constant H5I_INVALID_HID. Added code to tell the mmfsd of GPFS to forego byte range token prefetching. h5ls decides whether to print the file name at runtime based on the number of objects being listed. Platforms tested: SuSE Linux (arborea), gcc and mpich-1.2.4 SunOS (baldric), gcc 2002-12-03 23:00:35 Robb Matzke <matzke@arborea.spizella.com> * main: Replaced the H5LS_PREPEND_FILENAME compile-time symbol which was always defined, with a runtime decision. If h5ls is invoked with more than one argument then the file name is displayed as part of the object name, otherwise the file name is not displayed.
* [svn-r5278] Purpose:Albert Cheng2002-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | | Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC Description: configure generates many macros definitions on the fly and were stored in src/H5config.h which is included by H5public.h. But other software that uses hdf5 may also run their own configure. There can be a clash in macro name space. We decided awhile ago to prepend all generated macros with "H5_" to avoid conflicts. The process has started and this commit completes it (at least attempt to). Solution: Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to H5_SIZEOF_xxx and H5_HAVE_xxx). Then H5private.h no longer includes H5config.h. This cuts H5config.h away from HDF5 source code. Pending issues: The module of fortran and pablo are to be resolved in a different commit. Platforms tested: eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
* [svn-r5219] Purpose:Quincey Koziol2002-04-221-3/+3
| | | | | | | | | | Code cleanup Description: Clean up warnings from gcc 3.1 Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5200] Purpose:Quincey Koziol2002-04-181-1/+1
| | | | | | | | | | Code Cleanup Description: Clean up compiler warnings from the last bunch of checkins Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5143] ./hdf5-devel/tools/h5ls/h5ls.cRobb Matzke2002-04-051-33/+1
| | | | | | | | | | | | Minor h5ls bugfix for compound types with array members. (Similar changes shortly for 1.4 branch). 2002-04-04 16:39:09 Robb Matzke <matzke@arborea.spizella.com> * display_cmpd_type: Removed code to display array dimensions from display_cmpd_type() since this was a holdover from the days when hdf5 didn't have an array datatype and was duplicated by display_array_type().
* [svn-r4898] ./hdf5-devel/tools/h5ls/h5ls.cRobb Matzke2002-02-011-7/+7
| | | | Fixed copyright notice
* [svn-r4892] ./hdf5-devel/tools/h5ls/h5ls.cRobb Matzke2002-01-311-0/+59
| | | | | | 2002-01-31 15:22:24 Robb Matzke <matzke@arborea.spizella.com> *: Displays array data type information instead of saying `4-byte class-10 unknown'.