Commit Graph

50 Commits

Author SHA1 Message Date
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
Robb Matzke
43c356f93d [svn-r1184] Changes since 19990402
----------------------

./config/commence.in
./config/conclude.in
./test/Makefile.in
./tools/Makefile.in
	Fixed so private libraries are not installed publicly.

	The installation directories `bin', `include', and `lib' are
	created mode 755.

./src/H5.c
./src/H5A.c
./src/H5F.c
./src/H5Fcore.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5Fmpio.c
./src/H5Fsec2.c
./src/H5Fstdio.c
./src/H5G.c
./src/H5Gent.c
./src/H5Gnode.c
./src/H5HG.c
./src/H5HL.c
./src/H5O.c
./src/H5Oattr.c
./src/H5Ocomp.c
./src/H5Ocont.c
./src/H5Odtype.c
./src/H5Oefl.c
./src/H5Ofill.c
./src/H5Olayout.c
./src/H5Omtime.c
./src/H5Oname.c
./src/H5Osdspace.c
./src/H5Oshared.c
./src/H5Ostab.c
./src/H5R.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Smpio.c
./src/H5Snone.c
./src/H5Spoint.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Vprivate.h
./src/H5Z.c
./src/H5detect.c
./src/H5private.h
./test/chunk.c
./test/dsets.c
./test/dtypes.c
./test/h5test.c
./test/overhead.c
./test/ragged.c
./test/tattr.c
./tools/h5dump.c
./tools/h5findshd.c
./tools/h5ls.c
	Changed `__unused__' to `UNUSED' to fix a conflict with GNU
	header files.

./src/H5Tpkg.h
./test/h5test.h
	Removed __unused__ from forward function declarations.

./src/H5P.c
	Removed a comment about restrictions for the type conversion
	temporary buffers. Thanks to Quincey, the comment no longer
	applied.

./src/H5T.c
	Relaxed the H5Tpack() a little so it would pack compound data
	structures that had non-transient atomic members.

./tools/h5ls.c
	Added a `-g' (or `--group') flag that causes information to be
	printed about the specified group instead of the group's
	contents. (sort of like Unix's `ls -d'). The `-g' can be used
	in combination with `-r' to print information about the group
	and its contents.
1999-04-15 14:57:50 -05:00
Ruey-Hsia Li
aa267768c1 [svn-r1038] Did some work on the output format for compound data and string.
Also added test script for string.
1999-02-01 03:46:29 -05:00
Ruey-Hsia Li
ee9cac2af9 [svn-r983] Added tests in testh5dump.sh.
Features of this version of dumper

  *  loop detection

  *  data type
     **  atomic type
         -> H5T_INTEGER (H5T_STD_XXXXX)
         -> H5T_FLOAT (H5T_IEEE_XXXXX)
         -> H5T_STRING (H5T_C_S1, H5T_FORTRAN_S1)
     **  committed/transient/unamed compound type

  *  data space
     **  scalar space
     **  simple space

  *  dataset
     dumper can display dataset's
     **  attribute
     **  type
     **  space
     **  data

  *  group
     dumper can display group attributes and group members which include
     **  named/unamed data type
     **  group
     **  dataset
     **  softlink

  *  attribute
     dumper can display attribute's
     **  type
     **  space
     **  data

  *  hard link

  *  soft link

  *  format of data
     ** fit on 80 columns
     ** end of line after each row
        (more work will be done on data.)
1998-12-21 17:45:01 -05:00
Robb Matzke
ffcbc32d66 [svn-r952] Changes since 19981125
----------------------

./doc/html/Datatypes.html
./src/H5.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./src/H5detect.c
./test/chunk.c
./test/dtypes.c
./test/h5test.c
./test/mtime.c
./test/tattr.c
./test/th5s.c
./tools/h5dump.c
./tools/h5dumputil.c
./tools/h5import.c
./tools/h5ls.c
./tools/h5toh4.c
./tools/h5tools.c
	Renamed the old H5T_NATIVE_CHAR type to H5T_NATIVE_SCHAR to
	denote that it is always signed.

	Added a new H5T_NATIVE_CHAR type which has the same range,
	representation, and behavior as either H5T_NATIVE_SCHAR or
	H5T_NATIVE_UCHAR depending on the compiler and its
	command-line switches for the application source file which
	references H5T_NATIVE_CHAR. If source files are compiled with
	different switches then each source file will resolve
	H5T_NATIVE_CHAR appropriately so it matches the C type `char'
	in that source file.

	NOTE: THERE ARE OTHER DOCUMENTATION FILES THAT I DIDN'T CHANGE
	BECAUSE I CAN'T MODIFY THE SOURCE.

./test/extend.c
	Swapped two lines to prevent diagnostic messages from messing
	up the formatted output.
1998-11-25 12:21:21 -05:00
Patrick Lu
e4d2a0ae94 [svn-r920] changed the GROUP macro to be GROUPNAME since GROUP was used by the winsock2.h
file
1998-11-17 13:18:57 -05:00
Ruey-Hsia Li
056814423f [svn-r825] Added features:
* display selected named data type
* display named/unamed data type
* hard link
Also added testing scripts in testh5dump.sh.
1998-10-29 01:27:31 -05:00
Ruey-Hsia Li
d809c9309b [svn-r732] Disabled error reporting. 1998-09-30 17:01:13 -05:00
Ruey-Hsia Li
1b13f305ad [svn-r727] Implemented dumper command line options.
Added tests for dumper options.
1998-09-28 09:59:49 -05:00
Quincey Koziol
97f56b57a0 [svn-r654] Fixed last bug (hah! ;-) for beta release, changed H5Gget_stat to H5Gget_objinfo
and renamed internal functions to match up with the renamed API functions.
1998-09-02 16:16:24 -05:00
Quincey Koziol
4aa79bb211 [svn-r641] Changed function names for beta release. 1998-08-31 22:35:23 -05:00
Ruey-Hsia Li
ca953eb331 [svn-r636] Removed warning messages during compilation.
Used H5Gstat to check object type.
Modified h5dumputil.c to reflect changes of h5tools.c
1998-08-31 14:52:53 -05:00
Ruey-Hsia Li
4f2d4020d8 [svn-r611] Removed warning messages during compilation. 1998-08-21 12:22:14 -05:00
Albert Cheng
4322bfe90a [svn-r605] Added in h5dump tools created by Ruey-Hsia.
Renamed what was called h5dump.c to h5tools.c.
Changed Makefile.in to reflect all the changes.
(Make dependence is to be processed later.)

Tested in Solaris 2.5
1998-08-19 16:46:55 -05:00