Commit Graph

286 Commits

Author SHA1 Message Date
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
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
Albert Cheng
fdf2c445ad [svn-r1863] The old way of testing **argv against NULL would cause coredump in
some machines.  Changed it to use argc to control the looping.
Still need to clean some more.
1999-12-09 18:53:25 -05:00
Patrick Lu
015079ab20 [svn-r1854] fixed a bug 1999-12-03 15:09:20 -05:00
Patrick Lu
6660a174c2 [svn-r1853] updated these files to reflect the changes in the format for the dump output 1999-12-03 14:48:34 -05:00
Patrick Lu
4ed4c8fb47 [svn-r1852] fixed a bug that i introduced with the last change to this file. 1999-12-03 14:43:56 -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
Robb Matzke
9c40226b31 [svn-r1848] *** empty log message *** 1999-11-23 14:37:53 -05:00
Patrick Lu
c865c80878 [svn-r1839] added support for displaying nested compound data. 1999-11-18 10:17:37 -05:00
Quincey Koziol
9648d22f5f [svn-r1837] Cleaned up a few warnings from the SGI compiler. 1999-11-17 17:00:15 -05:00
Robb Matzke
4b2dbd5651 [svn-r1832] * 1999-11-16
** configure.in
** configure				[REGENERATED]
** src/H5private.h
** src/H5public.h
** src/Makefile.in
	Generates an H5pubconf.h file which is just like H5config.h except all
	the preprocessor symbols have `H5_' prepended. This was done so that
	the configuration results can be used in public header files without
	polluting the namespace.

** src/H5.c
	Added H5I_REFERENCE and H5I_VFL to the API tracing code so their names
	are printed instead of just numbers.

** src/H5FDstdio.c
** tools/h5import.c
** tools/h5repart.c
** tools/pdb2hdf.c
	Changed to use the `H5_' versions of configure results since these
	files include only the public API.

** test/big.c
	Removed a compiler warning.

** test/h5test.c
	Removed unused code.
1999-11-16 14:08:14 -05:00
Patrick Lu
135198d9dd [svn-r1815] added a definition for the S_ISDIR macro and a typedef for mode_t 1999-11-03 15:17:45 -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
Robb Matzke
ae62eb223c [svn-r1806] * 1999-11-02
** bin/rpmsync
** config/depend1.in
	Tweaks for versions of `make' that can't search directories.

** examples/Dependencies
** src/Dependencies
** test/Dependencies
** testpar/Dependencies
** tools/Dependencies
	Regenerated all these with more complete path names.
1999-11-02 12:29:33 -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
Robb Matzke
eb8747499d [svn-r1802] Changes since 19991019
----------------------

./MANIFEST
./configure.in
./configure			[REGENERATED]
	Added more checking for `make' features.

./Makefile.in
./doc/Makefile.in
./doc/html/Makefile.in
./doc/html/Tutor/Makefile.in
./examples/Makefile.in
./pablo/Makefile.in
./src/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
./config/commence.in
./config/conclude.in
./config/depend.in		[REMOVED]
./config/depend1.in		[NEW]
./config/depend2.in		[NEW]
./config/depend3.in		[NEW]
./config/depend4.in		[NEW]
./config/dependN.in		[NEW]
	The directory search stuff was moved into commence.in, thereby
	shortening the Makefile.in prologues.

./doc/html/Dependencies		[NEW]
./doc/html/Tutor/Dependencies	[NEW]
./examples/Dependencies		[NEW]
./src/Dependencies		[NEW]
./test/Dependencies		[NEW]
./testpar/Dependencies		[NEW]
./tools/Dependencies		[NEW]
	The `.distdep' files were all renamed to `Dependencies' to make them
	more obvious. They are required (but may be empty) in every directory
	that has a Makefile.in that ends with @CONCLUDE@ (you'll get an
	obvious error from make if you forgot to create one).

./bin/trace
./src/H5.c
	Added H5E_major_t and H5E_minor_t although tracing only prints the
	integer value.

./src/H5E.c
./src/H5Epublic.h
	Added tracing information.

./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDgass.c
./src/H5FDmpio.c
./src/H5FDsec2.c
./src/H5FDstdio.c
	Fixed places where FUNC_LEAVE() evaluated it's argument more than
	once.

	Added tracing information.

	Wrapped long lines.

./config/gnu-flags
	Fixed a syntax error when we don't have a gnu compiler.
1999-11-01 10:21:16 -05:00
Albert Cheng
7dec251c1a [svn-r1801] Purpose:
Bug fix.
Description:
    If the H4DUMP (hdp) is not executable for some reasons (e.g., not
    in $PATH), it produced zero sized files.  The test script did not
    detect the abnormality but compared the zero sized files the same
    and concluded the test passed.
Solution:
    Test if H4DUMP can produce valid output.  If not, print warning
    messages.  Also check the size of output files to make sure they
    are reasonably valid.
Platform tested:
    Linux.
1999-10-29 21:30:42 -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