Commit Graph

63 Commits

Author SHA1 Message Date
Patrick Lu
4d16bcfecb [svn-r2341] took the code out of h5ls to open files using different drivers 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
2000-06-06 13:07:20 -05:00
Patrick Lu
7f5c264ce4 [svn-r2305] took out the line that said the bitfields are not supported in the dumper.
now it will dump bitfields using the the tools lib like h5ls does.
2000-05-31 11:08:10 -05:00
Patrick Lu
2d7cee1e9f [svn-r2304] *** empty log message *** 2000-05-30 11:54:44 -05:00
Patrick Lu
a0e559aee5 [svn-r2294] fixed the output of the options list so that the xml options text is aligned 2000-05-26 13:58:27 -05:00
Albert Cheng
0662396e13 [svn-r2243] h5dump.c: Removed some Carriage-return's
h5tools.c h5tools.h:
    Modified print_version() to use const char * argument instead.
2000-05-11 17:18:44 -05:00
Patrick Lu
f474a09365 [svn-r2228] added a semicolon after the opaque info is printed 2000-05-09 12:00:38 -05:00
Patrick Lu
295fbf3b82 [svn-r2214] added support for the opaque type.
prints out the data section in hexidecimal format.
in the h5dumptst.c i added a function to create an opaque test file.
2000-05-04 12:05:09 -05:00
Patrick Lu
173260ac41 [svn-r2155] fixed the error in the h5ls output. it is now printing like it did before the tools lib merge.
prints the index numbers.  moved the lines that were doing indenting into the conditionals.
2000-04-19 13:08:11 -05:00
Raymond Lu
f087c55d10 [svn-r2139] Change the global static variable 'status' to 'd_status' in this file. Same name appears as an external variable in SRB library, causing conflict. 2000-04-13 10:19:12 -05:00
Albert Cheng
615522147b [svn-r2020] Fine tuned the declaration of dump_header_format to be "const" consistent. 2000-03-09 19:41:10 -05:00
Patrick Lu
8ff4e26ee7 [svn-r2016] fixed the problem with the -xml option that prevented it from working
unless it was the last argument in the run time options.
just added another && condition.
2000-03-09 14:16:19 -05:00
Patrick Lu
01d728817b [svn-r2015] changed the dataspacedescrition begin and end for the xml struct 2000-03-09 13:42:53 -05:00
Patrick Lu
3bec438149 [svn-r2014] fixed a typo 2000-03-09 13:38:09 -05:00
Patrick Lu
4328e85e8e [svn-r2013] added comments to the large structure definition 2000-03-09 13:10:52 -05:00
Patrick Lu
fb53598b36 [svn-r2011] added new structure to h5tools.h that is used to customize the 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
2000-03-09 12:53:48 -05:00
Patrick Lu
e364b30371 [svn-r1992] added a few definitions for formats in the dump structure
fixed the bug that was crashing for the development version of the dumper
2000-02-28 13:58:16 -05:00
Patrick Lu
459550ed9c [svn-r1989] removed the variable for the attribute that I didn't need. 2000-02-24 12:01:50 -05:00
Patrick Lu
c96d841efa [svn-r1988] fixed the crashing bug on sangamon with the shared libs. I had a line thet closed the
attribute that wasn't ever opened.  deleted the line and it was all ok.
2000-02-24 11:52:12 -05:00
Patrick Lu
6a2bc2f4aa [svn-r1973] fixed the dataset regions problem with the dumper.
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
2000-02-17 13:35:30 -05:00
Patrick Lu
669f39344f [svn-r1971] removed a newline from a string after the enum type is printed 2000-02-17 11:12:22 -05:00
Patrick Lu
232a032d54 [svn-r1969] fixed a bug with the objrefs. added a format string to the dump struct to
display the format for the obj refs.
2000-02-17 10:28:55 -05:00
Patrick Lu
5a91414d6e [svn-r1956] in h5tools.h I added a fwe new members to the struct for the 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.
2000-02-15 10:45:35 -05:00
Patrick Lu
26f8ffe9d9 [svn-r1900] temporary fix for the committed type problem that Elena reported. 1999-12-17 14:06:39 -05:00
Patrick Lu
bb92bb9712 [svn-r1898] backed out the changes that were breaking the test cases until i can
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.
1999-12-17 11:56:10 -05:00
Albert Cheng
f30439d592 [svn-r1870] h5dump.c:
Added -V option for displaying version information.
h5tools.c:
    Added print_version routine to display version information.
h5tools.h:
    Added print_version prototype.
1999-12-10 15:44:04 -05:00
Patrick Lu
0a3b102ae8 [svn-r1864] fixed the committed type error. 1999-12-10 09:38:40 -05:00
Patrick Lu
78cd5541bf [svn-r1851] updated the output for the dumper so that it prints out compound 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...
1999-12-03 14:26:25 -05:00
Quincey Koziol
9648d22f5f [svn-r1837] Cleaned up a few warnings from the SGI compiler. 1999-11-17 17:00:15 -05:00
Patrick Lu
c13e76ffee [svn-r1813] moved the globals out of the tools lib(h5findshd.c) into the 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
1999-11-03 11:46:09 -05:00
Patrick Lu
cf31634884 [svn-r1805] more changes. I found some duplicate functions in the library 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.
1999-11-02 12:11:37 -05:00
Patrick Lu
23ab35a5a7 [svn-r1800] moved the code from the dumper that iterates thru the files and stores the info
into the tables into the tools lib.

h5findshd-had some of the same functions so i removed them for now
1999-10-29 14:50:25 -05:00
Quincey Koziol
85f55c4c95 [svn-r1759] Corrected a few more compiler warnings. 1999-10-15 14:04:01 -05:00
Patrick Lu
aa88b36b52 [svn-r1742] changed the name of the objectid macro to objid. conflicted with a windows
define
1999-10-13 10:11:02 -05:00
Patrick Lu
cc0d72bfe7 [svn-r1709] *** empty log message *** 1999-10-01 16:56:00 -05:00
Patrick Lu
f1917f0754 [svn-r1693] removed the last warnings from here 1999-09-29 11:54:00 -05:00
Patrick Lu
e2233b3c84 [svn-r1638] forgot to print the oid for the groups. 1999-09-17 12:20:13 -05:00
Patrick Lu
b6903e910b [svn-r1636]
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
1999-09-15 15:12:50 -05:00
Patrick Lu
5956c48058 [svn-r1496] added a -w option so people can change the width of the output(number of cols)
not added to the release only the development
1999-07-16 13:49:53 -05:00
Patrick Lu
fe79f2ac34 [svn-r1457]
fixed the unnamed data type bug(wasn't printing the root slash)
1999-07-09 11:02:51 -05:00
Quincey Koziol
306b310366 [svn-r1420] Modified to add new dataset transfer property list ID in H5Tconvert. 1999-07-03 05:34:45 -05:00
Patrick Lu
7d7c7af92d [svn-r1382]
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
1999-06-25 13:52:06 -05:00
Patrick Lu
0350710f5b [svn-r1370]
added a new line before a bracket was pritned in the enum stuff
1999-06-23 09:58:51 -05:00
Patrick Lu
941cf3a134 [svn-r1369]
added semicolons after the print out of the enum info
1999-06-22 14:10:18 -05:00
Patrick Lu
da12109cfa [svn-r1339]
added a print_enum function to it that is just taken from a similar funtion
in h5ls.c
1999-06-13 21:40:52 -05:00
Patrick Lu
6c9b3a99d4 [svn-r1330]
removed a // frm the code
1999-06-11 12:04:16 -05:00
Patrick Lu
531fda4d78 [svn-r1329]
started to add the enum code in.
just wanted to get something checked in before i mess it up
1999-06-11 12:01:51 -05:00
Patrick Lu
fd02ea947d [svn-r1321]
added some support for the object references.  uses robb's h5dump_sprint to
print out the info
1999-06-09 13:43:07 -05:00
Patrick Lu
a7c167e389 [svn-r1298]
added a new variable to the tools lib that keeps track of what program is using
the library. h5ls.c and h5dump.c needed to init the variable to the correct
value for the programtype variable.  this variable will hopefully only be temporary
until the lib gets combined farther
1999-06-04 10:47:23 -05:00
Patrick Lu
1de32d9f71 [svn-r1254] changed a type in the include file name 1999-05-13 10:40:25 -05:00
Patrick Lu
8fc87f2267 [svn-r1253] started to bring the tools lib and the dumputil file together. incorportated all
the constants and from dumputil to to the tools lib and merged h5dump_fixtype
together.  I had to add an extra parameter to the function to specify what action
should be taken when it hits H5T_STRING in the case statement.  if the parameter
(strDUAction) is true then it does what it use to do in dumputil but if it is false
then it will do what it originally did in this file.

I also put the h5dump_sprint functions into the same file.  it isn't really merged yet.
i just wanted to get everything into a file and then worry about the merging of this
function.  The toolslib way of h5dump_sprint takes an extra parameter.  If this
parameter is set to NULL then it will do the dumputil's version of this function.
like i said this is just the first step i am taking. it will be merged better later.

the rest of the changes to the other files were related to the above changes.
1999-05-13 10:18:12 -05:00