summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dump.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r11304] Purpose:Quincey Koziol2005-08-271-16/+16
| | | | | | | | | | | | | 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-383/+334
| | | | | | | | | | | | 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-45/+59
| | | | | | | | | | | | | | | | 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-133/+133
| | | | | | | | | | | | | | | | | | | | 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-r10637] Purpose:Quincey Koziol2005-04-211-9/+9
| | | | | | | | | | | | Bug fix/code cleanup Description: Add tests to determine that very long (64K+) object names are working. Fixed a couple of bugs in h5dump where they weren't... Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10130] Purpose:Albert Cheng2005-03-031-4/+0
| | | | | | | Retired GASS driver. Platforms tested: H5committested.
* [svn-r10060] Purpose:Robert E. McGrath2005-02-211-0/+4
| | | | | | | | | | | | | | feature Description: h5dump support for scaleoffset compression Solution: Platforms tested: verbena, shanti,copper64 Misc. update:
* [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-r9989] Purpose:Robert E. McGrath2005-02-111-0/+4
| | | | | | | | | | | | | | | Feature Description: Adding support for NBIT compression to dumper Solution: Platforms tested: arabica, verbena, copper64 Misc. update:
* [svn-r9951] Purpose: Minor bug fix.Raymond Lu2005-02-071-14/+44
| | | | | | | | | | | | | Description: The byte order for all 1-byte integer types was fixed as little-endian even on a big-endian machine. This's corrected in h5detect.c. When types are only 1 byte long, a native int is used substitute the type to detect byte order. Some tools like h5dump and h5repack are also corrected in this case. Platforms tested: fuss, copper, sol.(There're some failures from the recent configure change). Misc. update: Information in the RELEASE.txt.
* [svn-r9921] Purpose:Pedro Vicente Nunes2005-02-021-1/+1
| | | | | | | | | | | | | | | bug fix Description: the test fail condtion of a close function was set to if H5Dclose < 1 Solution: set to < 0 Platforms tested: linux Misc. update:
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-325/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r9542] Purpose:Albert Cheng2004-11-181-0/+32
| | | | | | | | | | | | | | | | | | | Bug fix (#264) Description: h5dump did not print attribute data in ASCII format when -r is used. Solution: Added the ability to print in ASCII for Attributes Data also. Added a test for printing Attributes with -r option. Platforms tested: H5committested. Also in heping. Misc. update: Update MANIFEST.
* [svn-r9370] Purpose:Quincey Koziol2004-10-061-88/+68
| | | | | | | | | | | | | | | 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-3/+24
| | | | | | | | | | | | 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-r9234] Purpose:Quincey Koziol2004-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Code cleanup Description: Tweak recent "forward compatibility" changes to the H5E* API (which allowed for the old H5E API functions to remain unchanged) by allowing for the error stack callback function (H5E_auto_t) to also remain unchanged from the 1.6 branch. This required changing the H5E{get|set}_auto routines to have the old style H5E_auto_t type (which didn't have a stack ID parameter) and the new H5E{get|set}_auto_stack routines to have a newer "H5E_auto_stack_t" type (which has a stack ID parameter). This should make the H5E API changes as forwardly compatible as possible. One side-affect of this change was that it was impossible to determine if the current auto error callback was the old style (H5E_auto_t) or the new style (H5E_auto_stack_t) of callback, so a new API function (H5Eauto_is_stack) was adde to query this. Platforms tested: FreeBSD 4.10 (sleipnir) IRIX64 6.5 (modi4) h5committest
* [svn-r9183] Purpose: New featureRaymond Lu2004-09-011-12/+3
| | | | | | | | | | | | 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-r8826] Purpose:Pedro Vicente Nunes2004-07-071-4/+0
| | | | | | | | | | | | | | | | | | h5dump new tests Description: added more tests for the escape/not escape feature for string data (with vlen, with compound, with char data) Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8812] Purpose:Pedro Vicente Nunes2004-07-061-3/+2
| | | | | | | | | | | | | | | | | | h5dump new tests Description: added new tests for the -p option, superblock, file contents, fill values, array indices. Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8792] Purpose:Pedro Vicente Nunes2004-07-021-25/+1
| | | | | | | | | | | | | | | | | | | change features Description: for the file contents dump and for hardlinks, one arrow "->" is printed, followed by the first found name for that object options for not printing specific types of objects were postponed Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8790] Purpose:Pedro Vicente Nunes2004-07-021-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Description: the original code that showed a name for HARDLINK was reassigning that name to a name made in the dump traversal (made by concatenation by nested objects) Solution: removed this reassigmnet now the name showed after HARDLINK is always the first name found for that object (this object is printed once interely; subsequent printings show the word HARDLINK and the first name ) Platforms tested: linux AIX solaris Misc. update:
* [svn-r8782] Purpose:Quincey Koziol2004-07-011-2/+2
| | | | | | | | | | | 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/+23
| | | | | | | | | | | | | | | | 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-r8773] Purpose:Pedro Vicente Nunes2004-06-301-14/+11
| | | | | | | | | | | | | | | | | bug fix Description: the indentation was not made properly for nested objects when printing array indices Solution: added the indentation to h5tools_simple_prefix function Platforms tested: linux AIX solaris Misc. update:
* [svn-r8758] Purpose:Pedro Vicente Nunes2004-06-291-6/+29
| | | | | | | | | | | | | | | | | h5dump new feature, bug fix Description: added the dump of unmamed types to the file contents fixed a bug in the type array, it was printing invalid characters with the array indices option on Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8749] Purpose:Pedro Vicente Nunes2004-06-281-73/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | dumper new features Description: 1) added options for not printing : datasets, groups, datatypes, links 2) added a section for the user block 3) in the traversal routine, added the printing of an arrow for soft links and t he word HARDLINK for hardlinks the print of the file contents is made during traversal , instead of at the e nd of it (this is helpful for very large files, where the wait time can be very long) 4) changed the description of the fill value properties 5) added a colon after the printing of the array indices Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8735] Purpose:Pedro Vicente Nunes2004-06-241-28/+12
| | | | | | | | | | | | | | | cleaned SGI compiler warnings Description: Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8732] Purpose:Quincey Koziol2004-06-231-1/+1
| | | | | | | | | | | | Code cleanup Description: Reduce compiler warnings on SGI IRIX Platforms tested: FreeBSD 4.10 (sleipnir) SGI IRIX6 (Cheryl's machine) Too minor to require full h5committest
* [svn-r8715] Purpose:Pedro Vicente Nunes2004-06-221-34/+49
| | | | | | | | | | | | | | | | | | | | | | h5dump output change, new tests Description: the storage layout output format the storage layout output format had some changes same for the user defined filter add an option (-y) for not printing the array indices (default is print indices ) the option for escaping non printable characters covers all characters (default is not escape) (this might be not very portable, the test files are tstring.ddl and tstringe.ddl ) add tests for the new options Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8714] *** empty log message ***Raymond Lu2004-06-211-1/+4
|
* [svn-r8703] Purpose: bug fixRaymond Lu2004-06-171-48/+42
| | | | | | | | | Description: After I added H5S_NULL dataspace to dumper test, the output violate XML schema for attribute data. Solution: changed. Platforms tested: RH8(fuss), minor change, only dumper is involved.
* [svn-r8644] Purpose: h5dump new featuresPedro Vicente Nunes2004-06-101-35/+43
| | | | | | | | | | | | | | | | | | | | | | | 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-r8622] Purpose:Pedro Vicente Nunes2004-06-071-73/+742
| | | | | | | | | | | | | | | | | | | | | | | | | h5dump new version Description: added the changes already made for 1.6 support for dumping of 1) filters 2) storage layout 3) fill value 4) comments 5) superblock 6) file contents 7) array indices Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8562] Purpose: New featureRaymond Lu2004-05-211-66/+106
| | | | | | | Description: Add null dataspace to h5dump and h5ls. Platforms tested: h5committest
* [svn-r8383] Purpose:Quincey Koziol2004-04-181-42/+39
| | | | | | | | | | | | | 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-r8198] Purpose:Pedro Vicente Nunes2004-02-121-0/+1
| | | | | | | | | | | | | | | small bug fix Description: a dataset creation property list was not closed Solution: closed it, calling H5Pclose(dcpl); Platforms tested: linux (small fix) Misc. update:
* [svn-r8151] Purpose:Quincey Koziol2004-02-041-16/+4
| | | | | | | | | | | | 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-15/+51
| | | | | | | | | | | | | | 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-r7842] Purpose:Quincey Koziol2003-11-131-2/+3
| | | | | | | | | | | | | | | | | | | Bug fix Description: Variable length strings and sequences with NULL pointers were not handled by library, causing problems access the data. This also affected fill values for variable-length datatypes. Solution: Address the issues in the library by detecting NULL sequences/strings and avoid trying to convert them. Patched up dumper to display NULL sequences/strings. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7737] Purpose:Robert E. McGrath2003-10-251-1/+1
| | | | | | | | | | | | | | | bug fix Description: wrong parameter to subroutine call Solution: use correct parameter Platforms tested: verbena Misc. update:
* [svn-r7616] Purpose:Quincey Koziol2003-10-131-31/+39
| | | | | | | | | | | | | | | 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-r7540] Purpose:Quincey Koziol2003-10-051-676/+608
| | | | | | | | | | | | | | | | | | | | | Bug fixes and code cleanup Description: Changes to h5dump code: - Dump shared datatypes for any class of datatype, not just compound datatypes. - Cleaned up formatting to greatly reduce the amount of trailing whitespace emitted in output. Also removed some spurious blank lines from named datatype output. Added code to generate named datatype attribute test file. Added tests for dumping named datatypes in attributes for both DDL and XML output. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7507] *** empty log message ***Raymond Lu2003-09-241-0/+9
|
* [svn-r7401] Purpose:Quincey Koziol2003-08-251-2/+2
| | | | | | | | | | | | | | | | | | 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-r7334] Purpose:Quincey Koziol2003-08-111-3/+2
| | | | | | | | | | | | | | Bug fix Description: Object references were not getting written out correctly to the file, with recent changes to their memory structure. Solution: Convert the object references correctly. Platforms tested: h5committested
* [svn-r7324] Purpose:Quincey Koziol2003-08-081-186/+89
| | | | | | | | | | | | | | | | | | | Code cleanups & bug fixes Description: Lots of changes to chase 'objno' and 'fileno' changes in H5G_stat_t struct, including changing the output of object IDs from "<number>:<number>" to just "<number>". Same change to XML schema XIDs from "xid_<number>-<number>" to just "xid_<number>" Cleaned up a number of memory leaks Use the H5_PRINTF_HADDR_FMT macro for printing 'haddr_t's Platforms tested: h5committested
* [svn-r7286] Purpose:MuQun Yang2003-08-081-4/+1
| | | | | | | | | | | | | | | | | | | | bug fix Description: 1. function rindex is not recognized by windows. Using strrchr instead. Thereafer strings.h is not necessary. 2. Variable p_type is defined as "hid_t" type at one function; but it is never used. At the end of that function, H5Tclose(p_type) is assigned. It may cause problems. So erase two lines. Solution: See above Platforms tested: windows 2000, linux 2.4, sol 2.7, AIX 5.1. Misc. update:
* [svn-r7276] Purpose:Robert E. McGrath2003-07-291-335/+949
| | | | | | | | | | | | | | | | | | | This is an omibus update to the h5dump program. 1. Fixes bug 888 2. updates XML output to 1.6 Description: Solution: Platforms tested: verbena, arabica, copper (64) Misc. update: MANIFEST updated Need to do release notes.
* [svn-r7265] *** empty log message ***Raymond Lu2003-07-261-4/+4
|