summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r2579] Purpose:Quincey Koziol2000-09-191-1/+0
| | | | | | Clean up small compiler warnings and add missing function prototypes. Platforms tested: FreeBSD 4.1
* [svn-r2462] Fixed some small compiler warnings.Bill Wendling2000-08-041-836/+879
|
* [svn-r2412] Fixed a variety of problems with the new H5ToolsFopen() function.Robb Matzke2000-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | 1. The `driver' table is initialized only once, making it faster and leaking less memory. 2. The returned driver name is set to the empty string on failure. 3. Added an argument so the function cannot overwrite the end of the drivername return value. 4. Avoids core dump when assigning driver name to return value if the file could not be opened by any driver. 5. Changed name of function to h5dump_fopen() to follow the naming scheme for this source file. 6. Reindented according to hdf5 code standard. 7. Added `const' qualifiers to read-only formals. 8. Removed duplicate forward declaration. Reindented some parts of these source files that had very odd indentation (some lines had no indentation while others had 3x what they should). Fixed calls to H5ToolsFopen() function.
* [svn-r2341] took the code out of h5ls to open files using different drivers ↵Patrick Lu2000-06-061-4/+6
| | | | | | | | | and created a function in the tools library for it(H5ToolsFopen-takes a filename and a char ptr if you want the name of the driver) added the function to h5tools.c, a header to h5tools.h and changed h5ls.c and h5dump.c to use the new functions
* [svn-r2305] took out the line that said the bitfields are not supported in ↵Patrick Lu2000-05-311-4/+1
| | | | | | the dumper. now it will dump bitfields using the the tools lib like h5ls does.
* [svn-r2304] *** empty log message ***Patrick Lu2000-05-301-2/+1
|
* [svn-r2294] fixed the output of the options list so that the xml options ↵Patrick Lu2000-05-261-1/+1
| | | | text is aligned
* [svn-r2243] h5dump.c: Removed some Carriage-return'sAlbert Cheng2000-05-111-2/+2
| | | | | h5tools.c h5tools.h: Modified print_version() to use const char * argument instead.
* [svn-r2228] added a semicolon after the opaque info is printedPatrick Lu2000-05-091-2/+2
|
* [svn-r2214] added support for the opaque type.Patrick Lu2000-05-041-4/+9
| | | | | prints out the data section in hexidecimal format. in the h5dumptst.c i added a function to create an opaque test file.
* [svn-r2155] fixed the error in the h5ls output. it is now printing like it ↵Patrick Lu2000-04-191-5/+4
| | | | | | did before the tools lib merge. prints the index numbers. moved the lines that were doing indenting into the conditionals.
* [svn-r2139] Change the global static variable 'status' to 'd_status' in this ↵Raymond Lu2000-04-131-47/+47
| | | | file. Same name appears as an external variable in SRB library, causing conflict.
* [svn-r2020] Fine tuned the declaration of dump_header_format to be "const" ↵Albert Cheng2000-03-101-1/+1
| | | | consistent.
* [svn-r2016] fixed the problem with the -xml option that prevented it from ↵Patrick Lu2000-03-091-0/+1
| | | | | | | working unless it was the last argument in the run time options. just added another && condition.
* [svn-r2015] changed the dataspacedescrition begin and end for the xml structPatrick Lu2000-03-091-2/+2
|
* [svn-r2014] fixed a typoPatrick Lu2000-03-091-1/+1
|
* [svn-r2013] added comments to the large structure definitionPatrick Lu2000-03-091-42/+42
|
* [svn-r2011] added new structure to h5tools.h that is used to customize the ↵Patrick Lu2000-03-091-121/+247
| | | | | | | | | | | | output for the header information in the dumper. the header is the part before the data block. in h5dump.c there is support for the new -xml option. prints the output in xml using the structure we just defined in h5tools.h. h5dump.h- changed the begin_obj and end_obj macros. take an extra parameter now
* [svn-r1992] added a few definitions for formats in the dump structurePatrick Lu2000-02-281-1/+5
| | | | fixed the bug that was crashing for the development version of the dumper
* [svn-r1989] removed the variable for the attribute that I didn't need.Patrick Lu2000-02-241-1/+1
|
* [svn-r1988] fixed the crashing bug on sangamon with the shared libs. I had ↵Patrick Lu2000-02-241-1/+0
| | | | | | a line thet closed the attribute that wasn't ever opened. deleted the line and it was all ok.
* [svn-r1973] fixed the dataset regions problem with the dumper.Patrick Lu2000-02-171-0/+7
| | | | | | now the dump structure contains 2 extra members that tell how to format the data for the dataset regions(blocks and pts). had to give h5ls values for these
* [svn-r1971] removed a newline from a string after the enum type is printedPatrick Lu2000-02-171-1/+1
|
* [svn-r1969] fixed a bug with the objrefs. added a format string to the dump ↵Patrick Lu2000-02-171-1/+10
| | | | | | struct to display the format for the obj refs.
* [svn-r1956] in h5tools.h I added a fwe new members to the struct for the ↵Patrick Lu2000-02-151-6/+98
| | | | | | | | | formatting. in h5dump.c just initialized the values for the formatting struct. in h5tools.c made some changes in the printing area to get the dump output to look closer to what we wanted. the strings are currently not printing correctly. also removed the program type variable from here.
* [svn-r1900] temporary fix for the committed type problem that Elena reported.Patrick Lu1999-12-171-35/+27
|
* [svn-r1898] backed out the changes that were breaking the test cases until i canPatrick Lu1999-12-171-3/+36
| | | | | figure a way to fix the problem. decided to back it out since i will be leaving for christmas in a few days and won't be back until jan.
* [svn-r1870] h5dump.c:Albert Cheng1999-12-101-12/+19
| | | | | | | | Added -V option for displaying version information. h5tools.c: Added print_version routine to display version information. h5tools.h: Added print_version prototype.
* [svn-r1864] fixed the committed type error.Patrick Lu1999-12-101-43/+11
|
* [svn-r1851] updated the output for the dumper so that it prints out compound ↵Patrick Lu1999-12-031-6/+12
| | | | | | | | | | types with out the square braces. also the formatting for the compound types in the dataset part section has been corrected. still need to update the expected outputs so there will be some errors until I get that all checked in...
* [svn-r1837] Cleaned up a few warnings from the SGI compiler.Quincey Koziol1999-11-171-4/+4
|
* [svn-r1813] moved the globals out of the tools lib(h5findshd.c) into the ↵Patrick Lu1999-11-031-1/+1
| | | | | | | | | h5toh4 tool. had to change some of the functions in the h5findshd.c file since we didn't have the globals anymore. these changes also affected the h5toh5.c file. passes all tests on unix
* [svn-r1805] more changes. I found some duplicate functions in the library ↵Patrick Lu1999-11-021-53/+4
| | | | | | | | | | | and the dumper. so i moved the dumper stuff out to the libary. Had to change some functions in h5findshd so they would stop using globals that shouldn't be defined in the lib. I will remove the globals next. also the h5findshd.c has an extra member to the struct for that objects in the table so i added that into the appropriate place. the dumper is working ok now but the h5toh4 is still broken.
* [svn-r1800] moved the code from the dumper that iterates thru the files and ↵Patrick Lu1999-10-291-256/+104
| | | | | | | | stores the info into the tables into the tools lib. h5findshd-had some of the same functions so i removed them for now
* [svn-r1759] Corrected a few more compiler warnings.Quincey Koziol1999-10-151-15/+15
|
* [svn-r1742] changed the name of the objectid macro to objid. conflicted with ↵Patrick Lu1999-10-131-1/+1
| | | | | | a windows define
* [svn-r1709] *** empty log message ***Patrick Lu1999-10-011-2/+6
|
* [svn-r1693] removed the last warnings from herePatrick Lu1999-09-291-3/+3
|
* [svn-r1638] forgot to print the oid for the groups.hdf5-1_3_0Patrick Lu1999-09-171-13/+63
|
* [svn-r1636] Patrick Lu1999-09-151-21/+7
| | | | | | | | h5tools.h- added a define for OBJECTID-->"OBJECTID" h5dump.c - added an option in there to print object id's still needs some testing but I just wanted the changes to be put up there before i forget
* [svn-r1496] added a -w option so people can change the width of the ↵Patrick Lu1999-07-161-7/+21
| | | | | | output(number of cols) not added to the release only the development
* [svn-r1457] Patrick Lu1999-07-091-1/+1
| | | | fixed the unnamed data type bug(wasn't printing the root slash)
* [svn-r1420] Modified to add new dataset transfer property list ID in ↵Quincey Koziol1999-07-031-1/+1
| | | | H5Tconvert.
* [svn-r1382] Patrick Lu1999-06-251-3/+3
| | | | | | | | | oooops i forgot to include a case statement in two switch statements (1 in each file) that print the actual data of the enum datasets i had to change a line of h5dump_sprint. when it checks to see that is an enum val isn't an escape sequence i appended this result onto the end of the str
* [svn-r1370] Patrick Lu1999-06-231-0/+1
| | | | added a new line before a bracket was pritned in the enum stuff
* [svn-r1369] Patrick Lu1999-06-221-3/+5
| | | | added semicolons after the print out of the enum info
* [svn-r1339] Patrick Lu1999-06-141-2/+99
| | | | | added a print_enum function to it that is just taken from a similar funtion in h5ls.c
* [svn-r1330] Patrick Lu1999-06-111-1/+1
| | | | removed a // frm the code
* [svn-r1329] Patrick Lu1999-06-111-3/+21
| | | | | started to add the enum code in. just wanted to get something checked in before i mess it up
* [svn-r1321] Patrick Lu1999-06-091-2/+7
| | | | | added some support for the object references. uses robb's h5dump_sprint to print out the info