Quincey Koziol
75574e92e1
[svn-r2189] Fixed some compiler warnings
2000-04-22 15:45:29 -05:00
Robb Matzke
7a52d6ce9b
[svn-r2180] ./src/tools/h5tools.c
...
Added hyphen to version printf format.
./src/tools/h5ls.c
Calls print_version() instead of doing it by hand.
2000-04-21 14:28:09 -05:00
Patrick Lu
8a006fd0ca
[svn-r2167] i removed unneeded code from the tool lib.
...
from h5tools.h just got rid of a prototype for copy_atmoic_char which was never used
in the h5tools.c i removed the copy_atomic_char, all the display_*_data, where the * is numeric, string
or compound, the print_data, h5dump_attr. also removed a block of codfe that was surrounded by #if 0
2000-04-20 11:53:57 -05:00
Quincey Koziol
7438609ee2
[svn-r2162] Various small fixes to address SGI compiler warnings.
2000-04-19 18:11:06 -05:00
Patrick Lu
395326672c
[svn-r2156] changed a comment that is no longer relevant and moved some code around in the dump_simple_prefix
...
funtion. all i did was take some code that was common to both the if and then conditions out.
2000-04-19 13:14:36 -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
Robb Matzke
d9b36b8a7f
[svn-r2089] ** tools/h5ls.c
...
Prints the subrelease name also.
** tools/h5tools.c
Fixed indentation problems in the first half of the file.
Changed conditional compilation style from `/*...*/' to use
#if 0/#endif in the first half of this file.
Removed some extra parentheses to make expressions more readable.
2000-04-07 10:27:48 -05:00
Patrick Lu
64abaedc8b
[svn-r2054] update the files since i hanged the hdf 5 versions of them.
...
the h5toh4 tests were not passing.
2000-03-23 12:13:34 -05:00
Patrick Lu
1ee399e491
[svn-r2052] the new ddls for the new versions of the testfiles just created(tall.h5, tcompounnd.h5, tnestedcomp.h5)
...
the data is not as simple as before. rows are not repeated and rows are not just 1 number repeated
2000-03-23 10:38:14 -05:00
Patrick Lu
1bb9912f80
[svn-r2051] update the test files so that their data is a little more vaired.
...
the elements in the rows are different values and rows are not repeated.
2000-03-23 10:31:21 -05:00
Patrick Lu
a997660b18
[svn-r2050] changed the data for the tall.h5, tcompound.h5 and tnestedcomp.h5 test files.
...
the data is not as simple as it was before. all elements in a row are different
values now and rows are no longer repeated.
2000-03-23 10:27:34 -05:00
Patrick Lu
35b8c2baf0
[svn-r2046] added a test for the tnestedcomp.h5 test.
2000-03-21 12:59:28 -05:00
Patrick Lu
50500e3672
[svn-r2045] fixed a type that had the endian to be little. I created the file on my NT machine but
...
the testfile on baldirc.
2000-03-21 12:58:18 -05:00
Patrick Lu
f8fc02abce
[svn-r2043] testfile for the nested compound types
2000-03-21 12:48:08 -05:00
Patrick Lu
861af95729
[svn-r2042] ddl for the testfile tnestedcomp.h5
2000-03-21 12:47:40 -05:00
Patrick Lu
5536ff167e
[svn-r2041] added a new test file creation function. test_nsetcomp. creates a file
...
that has nested compound types in it.
2000-03-21 12:44:01 -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
c9e88b0516
[svn-r2017] added a new data structure for the dump header format for customized output
2000-03-09 14:34:39 -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
03d34c41a1
[svn-r2012] updated the ddls to support the changes that were made to the begin_obj and end_obj
...
macros in the dumper. this was basically adding a space after most of the '}'.
there are some places that don't have the space because those '}' were not printed
by the end_obj macro
2000-03-09 12:56:30 -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
Albert Cheng
c0e855bc88
[svn-r2001] Purpose:
...
Bug fix.
Description:
Failed on T3E in which int32 is typedef to a short (4 bytes)
but the converter just used H5T_NATIVE_INT for conversion of
a STD_INT32. Int in a T3E is actually 64bit big.
Solution:
Recoded the h5type to h4type matching algorithm by making sure
the size of the H4 type used is equal to the size of the
H5 native type.
Remark: current implementation is not efficient--it does all
the sizes checking repeatedly. Should have done the type mapping
once at the beginning as initialization.
Old code are still retain via the macro NEWWAY. Need to verify
the correctness of the converter in more platforms before
finalized on the code.
Platforms tested:
Baldric (Solaris 2.6), arabica (Solaris 2.7)
T3E
2000-03-06 18:02:40 -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
b9bd7a9d64
[svn-r1986] entered a value for the info.line_indent value and moved some of the other definitions out of the
...
conditionals. fixed the bug for the SDScompound.h5
2000-02-23 12:58:43 -05:00
Patrick Lu
4972a63a8e
[svn-r1985] fixed the bug with the memory alignment error
2000-02-22 14:32:48 -05:00
Albert Cheng
1fdf079abc
[svn-r1974] Added const to the h5dump_region third argument to quite a compiler
...
complain and it is more correct this way too.
2000-02-18 07:26:59 -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
82cd7cca30
[svn-r1972] updated it for the removal of the newline from the dumper code
2000-02-17 11:13:41 -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
3780223f33
[svn-r1970] updated the ddl.
...
removed a bug that was there before
2000-02-17 10:31:41 -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
3c0df63acd
[svn-r1968] removed the directory name from the name
2000-02-16 12:57:58 -05:00
Patrick Lu
31f5fc67fd
[svn-r1967] changed the name of the file and added the text at the beginning that tells
...
what command we used to generate the ddl file
2000-02-16 12:55:10 -05:00
Patrick Lu
9f06c8ee5a
[svn-r1966]
...
removed some commented code.
2000-02-16 12:50:11 -05:00
Patrick Lu
29af1961ac
[svn-r1962] update the name of the file
2000-02-15 13:25:40 -05:00
Patrick Lu
e6a75db5e6
[svn-r1961] update the names of the files
2000-02-15 13:21:22 -05:00
Patrick Lu
c6df9ddcea
[svn-r1960] updated again
2000-02-15 13:19:53 -05:00
Patrick Lu
8188ff065d
[svn-r1959] updated to remove an error in the name
2000-02-15 13:18:33 -05:00
Patrick Lu
f6d7c68b75
[svn-r1958] updated the ddls for the changes that were made to the dumper
2000-02-15 10:58:44 -05:00
Patrick Lu
dda956608e
[svn-r1957] removed the program type variable from the file
2000-02-15 10:46:26 -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
Albert Cheng
d5e1f8ff03
[svn-r1936] Removed h5findshd.c. Its routines have been moved to libh5tools.c.
2000-01-07 18:17:08 -05:00
Albert Cheng
5651d417de
[svn-r1934] Removed the entry of h5findshd.c. Its routines have been moved to
...
libh5tools.c.
2000-01-07 14:17:13 -05:00
Patrick Lu
84d1dd0f92
[svn-r1933] took the functions out of the h5findshd.c and put them into this file
2000-01-06 12:32:16 -05:00