Commit Graph

459 Commits

Author SHA1 Message Date
Patrick Lu
6473bd2a11 [svn-r2215] the new opaque file. has a 2d array. the first array is from 0-99 and the
is from 99-0.
2000-05-04 12:07:20 -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
ae5c998516 [svn-r2211] took the development branch code and moved it into the release. had to add some
conditional compile statements in the code to compile for the release.
defined a VERSION12 and VERSION13 macro.  all changes were surrounded by these statements
2000-05-03 10:48:20 -05:00
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
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
Quincey Koziol
85f55c4c95 [svn-r1759] Corrected a few more compiler warnings. 1999-10-15 14:04:01 -05:00
Robb Matzke
687b25d15c [svn-r1754] Fixed file prologue. 1999-10-15 09:56:28 -05:00
Robb Matzke
34e44e399e [svn-r1753] Changes since 19991007
----------------------

./configure.in
./src/H5config.h.in	[REGENERATED]
	The /usr/ncsa/{include,lib} directories are only added if they
	actually exist. This fixes a warning on some systems.

	Checks for the <pdb.h> header file and also for either the PDB or Silo
	library, and if found prepares to compile the pdb2hdf program.

./config/distdep
	Relative path names for include files are changed to base names since
	the makefile contains the logic for searching and since it's likely
	that building the .distdep files happed from a location other than
	where they would be used in the file system.

./config/conclude.in
	Fixed shell errors when `for' loops iterate over nothing for the
	`uninstall' target.

./src/H5D.c
./src/H5Oefl.c
	File names for the external files are added to the heap when the
	dataset is created instead of when the object header is written. This
	fixes a rare infinite recursion bug.

./src/H5FD.c
./src/H5FDpublic.h
	Optimization to the free list causes H5FD_alloc() usage to go from >10
	seconds to <0.4 second for one example (converting a 30MB equation of
	state file from PDB to HDF5 format). The optimization is to simply
	keep track of the largest item in the free list and not search the
	free list when the largest item is not big enough to satisfy the
	request.

./src/H5FDcore.c
./src/H5FDcore.h
./test/h5test.c
	If the `backing_store' property is true then a flush causes the entire
	contents of memory to be written to the specified file. This is  in
	preparation for the ASCI/red optimizations and is currently tested by
	the pdb2hdf `--cached' switch.

./src/H5Odtypes.c
	Wrapped three long lines.

./tools/Makefile.in
./tools/pdb2hdf.c		[NEW]
	A PDB-to-HDF5 translator. It only translates meta data -- the
	resulting HDF5 points into the PDB file for the raw data.
1999-10-15 09:53:57 -05:00
Patrick Lu
5246411f70 [svn-r1744] i removed an extra function that wasn't being used 1999-10-13 11:08:26 -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
Robb Matzke
20e748496e [svn-r1732] Changes since 19991007
----------------------

./src/H5FDcore.c
	Includes private headers instead of public in order to use the
	`UNUSED' macro.

./src/H5FDpublic.h
	Includes H5public.h just in case.

./src/H5P.c
	Removed two unused variables in H5P_copy()

./src/H5FDgass.h
	Fixed a C++ comment after a `#endif'

./src/Makefile.in
	The H5FDgass.h file is public and must be installed in order for
	applications to be able to use HDF5.

./tools/h5tools.c
	Removed an unused variable.
1999-10-07 11:51:49 -05:00
Patrick Lu
cc0d72bfe7 [svn-r1709] *** empty log message *** 1999-10-01 16:56:00 -05:00
Robb Matzke
bdf0dbf7ed [svn-r1697] Changes since 19990915
----------------------

./src/H5public.h
	We undefine a bunch of things that could get redefined in the config
	file because some customers have applications that include headers
	from multiple packages, all of which might be using autoconf.

	Include <stdint.h> for the C9x types.

./test/h5test.h
	More flushing of stdout for when testing is redirected down a pipe.

./tools/h5ls.c
	Added a `-S' or `--simple' switch which causes the output to be
	simplified somewhat for easier parsing by other scripts. For instance,
	characters are escaped using a very simple mechanism instead of C's
	more complicated backslash notation, data doesn't have `{}' or `[]'
	characters interspersed for compound and array types, and data is
	printed with exactly one element per line.  This switch is now used by
	an HDF5-to-HTML CGI script being developed for the DMF people.

./tools/h5tools.c
./tools/h5tools.h
	The repeat threshold which controls how strings are printed when a
	character repeats a bunch of times is now settable at runtime instead
	of compile time. The default is to show all characters, like

	   "abceeeeeeeeeeeeeeeeeeeeeeeeeeeeeefgh"

	But if you set it to something like 5 then any sequence of 5 or more
	characters is replaced by something shorter, like:

	   "abc" 'e'x30 "fgh"	  or

	Added an `str_locale' property which describes how to escape special
	characters in strings. The default is C-like escapes but an
	alternative is ESCAPE_HTML which replaces all non-alphanumeric
	characters with a 3-character HTML escape of the form `%XX'

	Fixed a bug where empty strings didn't even have the quote characters
	printed. Now empty strings show up as `""' instead of absolutely
	nothing.

	Added a `per_line' property which controls the maximum number of
	elements which will appear per line of output. The default is infinity
	but in practice the right margin causes line breaks. By setting the
	`per_line' value to one and the right margin to a very large value one
	can achieve output with exactly one element per line.
1999-09-30 11:14:14 -05:00
Patrick Lu
f1917f0754 [svn-r1693] removed the last warnings from here 1999-09-29 11:54:00 -05:00
Quincey Koziol
21b0e20bf7 [svn-r1691] Portability tweaks and warnings fixed 1999-09-28 19:31:07 -05:00
Albert Cheng
95c384b425 [svn-r1683] Did some cleanup. 1999-09-28 13:20:40 -05:00
Patrick Lu
60f3f5e5c0 [svn-r1670] same changes as ont he release side 1999-09-27 11:45:10 -05:00
Patrick Lu
3ddb0009bc [svn-r1668] same fixes that were done on the release branch.
just casted the isdigit and isprintf parameter
1999-09-27 11:11:15 -05:00
Patrick Lu
eaaa292603 [svn-r1667] same fixes from the release branch were done here.
just casts with the parameters for the isdigit and isprint functions
1999-09-27 11:09:41 -05:00
Patrick Lu
b4dbf55fbe [svn-r1665] same changes i just made to the release version
changed sdims to int
1999-09-25 14:32:42 -05:00
Patrick Lu
72661ffc07 [svn-r1664] still getting some warnings. changed the sdims variable to int 1999-09-25 14:30:07 -05:00
Patrick Lu
3662fe727e [svn-r1663] added the include for fcntl.h here too 1999-09-25 13:59:55 -05:00
Patrick Lu
291c1af9c3 [svn-r1661] removed some of the warnings 1999-09-25 11:00:29 -05:00
Patrick Lu
46ed41925d [svn-r1659] brought changes from the release branch over to the developement
removed some of the warnings.
1999-09-25 10:32:04 -05:00
Quincey Koziol
90fde6d638 [svn-r1653] Removed unneeded sys/fcntl.h include line, which was causing J90 problems. 1999-09-24 18:07:17 -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
Robb Matzke
833839621a [svn-r1602] Changes since 19990825
----------------------

./src/H5O.c				[1.2, 1.3]
	Initialzed the padding area between the end of a message and
	the end of the space allocated for that message. This
	hopefully fixes an UMR error found by Quincey and prevents the
	file from containing unwanted data.

./tools/h5ls.c				[1.2, 1.3]
	Fixed a bug where the `Data:' tag didn't get printed for
	attributes that have more than five values.
1999-08-26 09:21:45 -05:00
Robb Matzke
296d9cf766 [svn-r1585] Changes since 19990820
----------------------

./src/H5D.c
	Added additional elements to a variable initializer in
	H5Dvlen_get_buf_size() to shut up a warning message. Also
	added the API tracing call.

./src/H5F.c
	Added file opening optimizations. If the driver doesn't
	support the ability to determine when two file handles refer
	to the same file (like MPIO and GASS) then H5F_open() makes
	fewer calls to the driver's open callback.  Also, if the
	tentative file access flags are the same as the original flags
	then H5F_open() makes fewer calls to the file device.

./src/H5FD.c
./src/H5FDprivate.h
./src/H5FDpublic.h
	Added H5FD_get_class() so the library can get information
	about what file driver callbacks are defined. This will be
	useful when more optimization functions are added to the VFL,
	such as for MPIO derived datatype I/O.

./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDmpio.c
./src/H5FDmulti.c
./src/H5FDsec2.c
	The driver symbols (like H5FD_CORE, etc) are actually function
	calls. The functions were fixed to return correct values even
	after calling H5close().

./src/H5FDmulti.c
./src/H5FDmulti.h
	Added support for opening a file when parts are missing (only
	if the caller explicitly allows that in the file access
	property list).

	Moved some common code sequences into macros or functions.

	Added better support for reopening files.  All the application
	has to know is that the file is a multi file and the base name
	from which all the member names are created.

	More debugging output when the file is opened with the
	H5F_ACC_DEBUG flag.

	Fixed various bugs.

./src/H5Fistore.c
	Chunked raw data was accidently allocated as meta data instead
	of raw data.

./src/H5I.c
	The H5Iget_type() function fails when invoked with an old
	object ID (an ID which has been closed down).

./test/h5test.c
	Added an extra argument when setting the multi file access
	property lists so the test fails if it can't open one of the
	sub-files.

./tools/h5ls.c
	Improved the algorithm for deciding what file driver to
	use. It basically tries all of the predefined drivers and is
	now able to open family, split, and multi files without
	looking for special characters in the file name.

	Added `-e' and `--errors' switches which cause errors from
	libhdf5 to be reported on stderr in addition to the simple
	error message displayed by h5ls.
1999-08-24 07:52:10 -05:00
Robb Matzke
cbf68fc824 [svn-r1568] Changes since 19990730
----------------------

This extensive change is the virtual file layer implementation. I've
ported and tested the sec2, family, and core drivers and only ported
the mpio driver (Albert will test it).  So if you need MPIO I would
recommend sticking with the previous version for a while.

You will get a few compile warnings about split and stdio drivers not
being implemented and possibly tracing information not inserted in
some of the drivers. You can safely ignore them but I plan to fix
them.

I'm still working on the split driver because I just realized that it
needs a part of the VFL that isn't written yet.

Documentation is being updated also because there were some minor
changes (mostly just name changes). It should be available on my web
site later this week.

./MANIFEST
./src/Makefile.in
./src/hdf5.h
./src/H5Flow.c			[REMOVED]
./src/H5Fstdio.c		[REMOVED]
./src/H5Fsec2.c			[REMOVED]
./src/H5Fsplit.c		[REMOVED]
./src/H5Fmpio.c			[REMOVED]
./src/H5Ffamily.c		[REMOVED]
./src/H5Fcore.c			[REMOVED]
./src/H5MFpublic.h		[REMOVED]
./src/H5FD.c			[NEW]
./src/H5FDcore.c		[NEW]
./src/H5FDcore.h		[NEW]
./src/H5FDfamily.c		[NEW]
./src/H5FDfamily.h		[NEW]
./src/H5FDmpio.c		[NEW]
./src/H5FDmpio.h		[NEW]
./src/H5FDprivate.h		[NEW]
./src/H5FDpublic.h		[NEW]
./src/H5FDsec2.c		[NEW]
./src/H5FDsec2.h		[NEW]
	Removed/added files for virtual file layer.

./bin/trace
./src/H5.c
	Removed unused public datatypes and added new VFL public
	datatypes.

	Changed an error message.

./config/BlankForm
./config/dec-flags
./config/gnu-flags
./config/hpux10.20
./config/hpux9.03
./config/irix5.x
./config/irix6.x
./config/solaris2.x
./config/unicosmk
	Removed the H5F_OPT_SEEK and H5F_LOW_DFLT constants from the
	configuration since they're no longer applicable. The default
	file driver is always the sec2 driver and it always optimizes
	calls to lseek() or lseek64().

./config/depend.in
	C preprocessor errors generated during automatic dependency
	building are sent to /dev/null to prevent them from appearing
	twice in the make output.

./src/H5AC.c
./src/H5B.c
./src/H5D.c
./src/H5F.c
./src/H5G.c
./src/H5Gent.c
./src/H5Gnode.c
./src/H5HG.c
./src/H5HL.c
./src/H5O.c
./src/H5Oattr.c
./src/H5Odtype.c
./src/H5Oefl.c
./src/H5Oshared.c
./src/H5T.c
./src/H5detect.c
./test/ohdr.c
	Changed H5F_ADDR_UNDEF to HADDR_UNDEF to be more consistent
	with the `haddr_t' datatype which is now a public type.

./src/H5D.c
./src/H5P.c
./src/H5Ppublic.h
./src/H5Tconv.c
./test/cmpd_dset.c
./test/dsets.c
./test/overhead.c
./test/tselect.c
./test/tvltypes.c
	The H5P_DATASET_XFER constant was changed to H5P_DATA_XFER
	because the properties apply to all types of I/O operations,
	not just datasets.

./src/H5B.c
./src/H5Bprivate.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Farray.c
./src/H5Fistore.c
./src/H5Fprivate.h
./src/H5Fpublic.h
./src/H5Gnode.c
./src/H5Gpkg.h
./src/H5HG.c
./src/H5HL.c
./src/H5O.c
./src/H5R.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Smpio.c
./src/H5Spoint.c
./src/H5Sprivate.h
./test/big.c
./test/h5test.c
./test/istore.c
./testpar/t_dset.c
./testpar/t_file.c
./tools/h5debug.c
./tools/h5ls.c
	Modified to work with the virtual file layer by calling H5FD_*
	functions instead of H5F_low_* functions and by passing file
	access and data transfer properties by object ID instead of
	pointer.

	Changed H5D_transfer_t to H5FD_mpio_xfer_t since the
	COLLECTIVE vs. INDEPENDENT transfer mode is specific to the
	MPIO file driver.

	Moved MPIO-specific stuff into the MPIO driver.

./src/H5B.c
./src/H5D.c
./src/H5Fprivate.h
	The H5F_mpio_* private functions were renamed and placed in
	the H5FDmpio driver except those which appeared in H5Smpio.c.

./src/H5E.c
./src/H5Epublic.h
	Added major error number H5E_VFL for virtual file layer
	related errors.

./src/H5F.c
./src/H5Fprivate.h
	Changed the logic that controls whether the boot block is
	written. Instead of assuming that the first call to write the
	boot block is only to allocate space, I've added a function
	argument which makes this explicit.

	Changed the way files are compared so that a driver-defined
	comparison function can be called.  Files which belong to
	different drivers are always considered different.

	Removed H5F_driver_t since file drivers are now identified by
	object ID instead of a special non-user-extendible datatype.

	Removed all the hard-coded low-level file properties which
	have been replaced by the various file drivers.

./src/H5I.c
./src/H5Iprivate.h
	Added the H5I_inc_ref() which was removed a few months ago
	since we finally have a use for it.

./src/H5Ipublic.h
	Added the H5I_VFL object ID type to identify file drivers in
	the virtual file layer.

./src/H5MF.c
./src/H5MFprivate.h
	Moved all the allocation/deallocation code into the virtual
	file layer which allows file drivers to override much of it.

./src/H5P.c
./src/H5Ppublic.h
	Moved file driver-specific code into the various file driver
	files.

	The H5Pcopy() and H5Pclose() functions make calls into the
	virtual file driver to manage the memory for driver-specific
	file access and data transfer properties.

./src/H5private.h
./src/H5public.h
	The `haddr_t' type is now public.

./test/tfile.c
	Added a few more comments.
1999-08-10 15:21:32 -05:00
Robb Matzke
2681ce4a86 [svn-r1549] Changes since 19990728
----------------------

./src/H5B.c		[1.3]
./src/H5D.c		[1.3]
./src/H5F.c		[1.3]
./src/H5Farray.c	[1.3]
./src/H5Fcore.c		[1.3]
./src/H5Ffamily.c	[1.3]
./src/H5Fistore.c	[1.3]
./src/H5Flow.c		[1.3]
./src/H5Fmpio.c		[1.3]
./src/H5Fprivate.h	[1.3]
./src/H5Fsplit.c	[1.3]
./src/H5Fstdio.c	[1.3]
./src/H5G.c		[1.3]
./src/H5HG.c		[1.3]
./src/H5HL.c		[1.3]
./src/H5MF.c		[1.3]
./src/H5O.c		[1.3]
./src/H5Odtype.c	[1.3]
./src/H5Oefl.c		[1.3]
./src/H5P.c		[1.3]
./src/H5Smpio.c		[1.3]
./src/H5T.c		[1.3]
./src/H5detect.c	[1.3]
./tools/h5debug.c	[1.3]
	Some of the H5F_addr_* functions were optimized away.

./src/H5D.c		[1.3]
	Fixed the return values from NULL to FAIL on one MPI-IO
	function.
1999-07-28 14:37:35 -05:00
Robb Matzke
e4834c43ce [svn-r1548] Changes since 19990727
----------------------

./src/H5.c		[1.3]
./src/H5AC.c		[1.3]
./src/H5ACprivate.h	[1.3]
./src/H5B.c		[1.3]
./src/H5Bprivate.h	[1.3]
./src/H5D.c		[1.3]
./src/H5F.c		[1.3]
./src/H5Farray.c	[1.3]
./src/H5Fcore.c		[1.3]
./src/H5Ffamily.c	[1.3]
./src/H5Fistore.c	[1.3]
./src/H5Flow.c		[1.3]
./src/H5Fmpio.c		[1.3]
./src/H5Fprivate.h	[1.3]
./src/H5Fsec2.c		[1.3]
./src/H5Fsplit.c	[1.3]
./src/H5Fstdio.c	[1.3]
./src/H5G.c		[1.3]
./src/H5Gent.c		[1.3]
./src/H5Gnode.c		[1.3]
./src/H5Gprivate.h	[1.3]
./src/H5Gstab.c		[1.3]
./src/H5HG.c		[1.3]
./src/H5HGprivate.h	[1.3]
./src/H5HL.c		[1.3]
./src/H5HLprivate.h	[1.3]
./src/H5MF.c		[1.3]
./src/H5MFprivate.h	[1.3]
./src/H5O.c		[1.3]
./src/H5Oattr.c		[1.3]
./src/H5Ocont.c		[1.3]
./src/H5Odtype.c	[1.3]
./src/H5Oefl.c		[1.3]
./src/H5Olayout.c	[1.3]
./src/H5Oprivate.h	[1.3]
./src/H5Oshared.c	[1.3]
./src/H5Ostab.c		[1.3]
./src/H5P.c		[1.3]
./src/H5R.c		[1.3]
./src/H5Smpio.c		[1.3]
./src/H5T.c		[1.3]
./src/H5Tvlen.c		[1.3]
./src/H5private.h	[1.3]
./test/dtypes.c		[1.3]
./test/gheap.c		[1.3]
./test/istore.c		[1.3]
./test/lheap.c		[1.3]
./test/ohdr.c		[1.3]
./tools/h5debug.c	[1.3]
	File addresses (the `haddr_t' type) are passed by value
	instead of by reference. The type is no longer a struct. This
	is one of the preliminary changes needed for the Virtual File
	Layer stuff.

./src/H5Fprivate.h	[1.3]
./src/H5Flow.c		[1.3]
	Some address functions were rewritten as macros.
1999-07-28 13:25:43 -05:00
Albert Cheng
946083cb9b [svn-r1521] Forgot to change the arguments for the $diff command when I changed
them for $cmp the last time.  Updated it.  now it works for --srcdir
option too.
1999-07-20 17:09:49 -05:00
Albert Cheng
072143ba88 [svn-r1519] Updated the expected output according to the changes Patrick just
made.
1999-07-20 16:43:16 -05:00
Robb Matzke
6470e417e8 [svn-r1515] Changes since 19990715
----------------------

./Makefile.in		[1.3]
./examples/Makefile.in	[1.3]
./pablo/Makefile.in	[1.3]
./src/Makefile.in	[1.3]
./test/Makefile.in	[1.3]
./testpar/Makefile.in	[1.3]
./tools/Makefile.in	[1.3]
./config/commence.in	[1.3]
./config/conclude.in	[1.3]
./config/depend.in	[1.3]
	Added a `.PATH' target for Irix pmake which is identical to
	the VPATH used by most other `make' programs. Irix 6.5 (or
	6.4?) and later `make' ignores VPATH.

	Started all beginning-of-line comments with `##' instead of
	just `#' because Irix `pmake' barfs on things like the
	following because it sees the `# if' as a directive:

		# make will barf on the following line
		# if running Irix pmake


./config/commence.in	[1.3]
	Added empty definitions for optional `make' macros because
	Irix pmake complains if it sees a macro which has never been
	defined. The main body of the Makefiles can redefine these
	macros to whatever they need.
1999-07-19 14:56:57 -05:00
Patrick Lu
1285b17e96 [svn-r1513] moved the string after the array 1999-07-19 13:05:41 -05:00
Patrick Lu
dc83f3f316 [svn-r1512] moved the array before the string in the struct for tstr.h5 1999-07-19 13:04:24 -05:00
Quincey Koziol
fe79dac33b [svn-r1508] Updated DDL files for new dumper output. 1999-07-17 19:00:51 -05:00
Albert Cheng
872c45010e [svn-r1498] Updated the expected output file since h5dumptst has changed the
content of the corresponding h5 file.
1999-07-16 16:54:04 -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
04e3099538 [svn-r1491] removed teh extra funtion that wasn't being used and now if the
indentation is greater than the number of columns it will generate an error
1999-07-16 11:45:24 -05:00
Robb Matzke
17fb61e973 [svn-r1484] ./tools/h5tools.c [1.2, 1.3]
Fixed a bug reported by Albert: the indices for data printed
	by h5ls were starting over at zero for each pass through the
	strip mining loop.

	Fixed indentation in one function.

	Replaced commented-out code by #if 0
1999-07-14 15:05:13 -05:00
Robb Matzke
e5cbc027ea [svn-r1477] ./h5ls.c [1.2, 1.3]
Fixed usage message.
1999-07-13 12:59:21 -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
Patrick Lu
a0d8980758 [svn-r1454]
removed the comma at the end of the enum data type
1999-07-09 10:03:01 -05:00
Quincey Koziol
9d85d21ff6 [svn-r1441] Regenerated HDF5 testfiles. 1999-07-07 15:19:58 -05:00
Patrick Lu
2f43dfaddd [svn-r1429]
update the ddl so the occurences of H5T_STD_I8LE are not big endian
1999-07-06 13:42:32 -05:00
Patrick Lu
0b826837c0 [svn-r1428]
fixed some more bugs
1999-07-06 13:37:52 -05:00
Patrick Lu
9b042ac7f2 [svn-r1427]
fixed some bugs with creating the files
1999-07-06 12:49:17 -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
8ecbdd7050 [svn-r1416] fixed a typo 1999-07-02 14:52:54 -05:00
Patrick Lu
2343e9f61e [svn-r1415] hopefully corrected the file to have the appropriate types 1999-07-02 14:50:48 -05:00
Patrick Lu
1893820e08 [svn-r1414]
fixed a typo from the last one
1999-07-02 13:15:55 -05:00
Patrick Lu
9a98a588d8 [svn-r1413]
added the comment at the top
1999-07-02 13:14:36 -05:00
Patrick Lu
f5e406b3aa [svn-r1412]
added a comment at the top that tells what the command was to generate the file
1999-07-02 13:11:52 -05:00
Patrick Lu
d16874dcad [svn-r1411]
fixed a bug.  need the comment at the top of the file
1999-07-02 13:08:57 -05:00
Patrick Lu
a2850083e7 [svn-r1410]
updated the .h5 files and the ddl's to show the new results
1999-07-02 13:00:15 -05:00
Patrick Lu
970c3a06b9 [svn-r1409]
updated the functions that create the tstr.h5 and tdset.h5 so they have
different values in the integer parts of the data.

for the tdset: it is i+j for the values instead of just i.(i and j are variables
used in a set of nested for loops)

for the tstr.h5: changed the data(originally just l to (l+k+j) squared).
these 3 variables are from 3 nested for loops.

more changes to tests to come
1999-07-02 12:52:18 -05:00
Patrick Lu
98a9636474 [svn-r1408]
new testfiles for the references.  created by h5dumptst
1999-07-02 09:52:31 -05:00
Patrick Lu
d619a1d3e6 [svn-r1407]
the ddl's for the new test files
1999-07-02 09:51:27 -05:00
Patrick Lu
95064e6f60 [svn-r1406]
a test file that is created from the h5dumptst.  ues it to test enums
1999-07-02 09:48:57 -05:00
Patrick Lu
ccc388ba1c [svn-r1405]
converted all the types to native types to fix the errors
1999-07-02 09:47:52 -05:00
Patrick Lu
cc2be92e78 [svn-r1397]
changed the name of 3 files so that it would have a t in front like the other
files in this program
1999-06-30 13:20:31 -05:00
Albert Cheng
2133b0120f [svn-r1395] Moved to the upper directory. 1999-06-30 13:09:37 -05:00
Albert Cheng
b004a76a47 [svn-r1394] Changes made by Patrick to the h5dumptst.c in testfiles. 1999-06-30 13:08:14 -05:00
Albert Cheng
191943c2c2 [svn-r1393] Added entry for h5dumptst.c which creates test files for h5dump tool
tests.  h5dumptst should be run from inside testfiles directory.
1999-06-30 13:04:16 -05:00
Patrick Lu
903bc4b955 [svn-r1391]
added a break for the H5T_ENUM case in the switch in the dump_simple_dset
1999-06-28 13:12:25 -05:00
Patrick Lu
43af17182c [svn-r1390]
fixed a bug that was making references get printed twice
1999-06-28 13:09:20 -05:00
Patrick Lu
f623908727 [svn-r1389]
added 2 functions to create a file for data regions and obj references
1999-06-28 13:00:03 -05:00
Patrick Lu
78f622071f [svn-r1384]
added a function to create an enum test file
1999-06-25 14:25:52 -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
7f0f77be1e [svn-r1377]
removed teh TYPE define since it was already there as DATATYPE
1999-06-24 14:01:54 -05:00
Patrick Lu
99cd249d1b [svn-r1376]
changed some of the output format for the dumper(show object ids now)
1999-06-24 14:01:21 -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
71500ff8e1 [svn-r1367]
made a small change so that windows would stop complaining.  the change involved
using some type casting.  the change was surrounded by a #define WIN32
1999-06-21 10:26:00 -05:00
Patrick Lu
ca9f4c3888 [svn-r1361]
made the output for the dataset regions look like how Albert wanted it to
1999-06-17 10:53:14 -05:00
Patrick Lu
99478cd128 [svn-r1360]
dumps dataset regions now.  uses robb's code to get all the info.
modified display_numeric_data to display the info
1999-06-17 10:32:41 -05:00
Albert Cheng
8de95dd697 [svn-r1355] Bug fix: compiler complained about errno not defined. That was
because it is predefined in <errno.h>, not <sys/errno.h> which
contains the system error codes.
Fixed and tested in IRIX6.5 (also got rid of the few K&R C-style
function declaration statements.)
1999-06-16 14:15:16 -05:00
Robb Matzke
06c7d8fbbf [svn-r1354]
Changes since 19990615
----------------------

./README
	Version number synchronized with library.

./bin/h5vers
	If the version number of the library is changed then the first
	line of the README file is also changed to something like

	     This is hdf5-1.2.3 currently under development

	The `release' script (which also gets run by `snapshot')
	changes that line to include the release date but keeps the
	version number the same.  The net effect is that the version
	numbers in README and H5public.h should now always stay
	synchronized.

./bin/snapshot
	The CVS checkin comment includes the version number for the
	snapshot that was just made.

./tools/testh5toh4
	Changed `*-SKIP-*' to `-SKIP-' to be consistent with the other
	tests.
1999-06-16 10:09:56 -05:00
Albert Cheng
231e8a2e96 [svn-r1352] Changed the '\n' argument to '\012' since some other machines (solaris,
irix) misinterpreted it to mean deleting the letter 'n'.
Tested in IRIX and solaris and FreeBSD machines.
1999-06-15 21:06:25 -05:00
Albert Cheng
004cf630d5 [svn-r1351] Bug fix:
hdp before HDF 4.1r3 does not handle Vgroups loops correctly.
Solution:
Added codes to detect the library version of hdp command. Skipped
tests for loops.  Tested in an old solaris with HDF 4.1r2, Solaris 2.6
and Hawkwind.
1999-06-15 20:05:03 -05:00
Patrick Lu
dfbdfb60a2 [svn-r1350]
added the #defines for the string macros here
1999-06-15 14:02:11 -05:00
Patrick Lu
a594d02131 [svn-r1349]
moved the #define for the string macros to the h5tools.h from h5dump.h5
1999-06-15 13:46:58 -05:00
Patrick Lu
4fce9ceeb9 [svn-r1348]
got the regions working in the dumper.  all the hard stuff was already done.
it doesn't work perfectly yet but it is getting better
1999-06-15 12:25:30 -05:00
Robb Matzke
1c0597aa74 [svn-r1347]
Changes since 19990614
----------------------

./src/H5D.c
	Changed the way the plist_id argument of H5Dvlen_reclaim() is
	checked so that it's more specific and works when debugging is
	turned off.

./src/H5TB.c
	Removed an unused local variable.

./test/fillval.c
./test/h5test.c
./test/h5test.h
	Changed `basename' variables to `base_name' to prevent a
	warning about a global with the same name.

./tools/h5ls.c
	Changed `indent' variables to `ind' to prevent a warning about
	a global with the same name.

./tools/h5toh4.c
	Commented out declarations for things that normally appear in
	system header files since our definitions might be
	incompatible with the system and prevent h5toh4 from
	compiling.  If all looks good on other systems then we can
	permanently remove these declarations...
1999-06-15 09:58:25 -05:00
Albert Cheng
401b37c1c3 [svn-r1343] Filter out the reference number values during comparison of the hdp
output.
1999-06-14 15:18:16 -05:00
Robb Matzke
1c5f6ffb70 [svn-r1341]
Changes since 19990611
----------------------

./doc/html/H5.format.html
	Added documentation for opaque data types (bitfield types were
	already documented but they were out of order).

./src/H5E.c
	Fixed a bug with glibc2 on linux systems where `stdout' is an
	extern and can't be used to initialize static data.

./src/H5T.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./src/H5detect.c
	Removed the `_T' from the new C9x types I just added so the
	names are consistent with existing types. Besides, the fact
	that something is a datatype is obvious because it starts with
	H5T_NATIVE_.

./tools/h5ls.c
	Added the new C9x data types. H5ls prints one of these types
	only if it doesn't match one of the builtin C types.

	Prints the OID for shared data types.

	Fixed a formatting bug with symbolic links which was
	introduced a few changes ago.

	The commandline has been changed so that objects from multiple
	files can be listed with a single command. Instead of
	specifying a file name and an optional list of objects, each
	thing to print is a file name and object concatenated. H5ls
	figures out how to devide the name into a file name and object
	name even when the file name part doesn't correspond to an
	actual Unix file.

	   Old syntax: h5ls [OPTIONS] FILE [OBJECTS]
	   New syntax: h5ls [OPTIONS] FILE[/OBJECT] [FILE[/OBJECT]]...

	   Example ({X,Y} is expanded by the shell)

	   Old command: h5ls -d ../test/x.data dir1 dir2
	   New command: h5ls -d ../test/x.data/{dir1,dir2}

	The filename is printed as part of the object name when full
	names are requested (--full or --recursive). If people really
	don't like this they can undefine a constant at the top of
	h5ls.

	Errors from the hdf5 library are turned off.

	Commandline switches of the form `--width 80' are accepted in
	addition to `--width=80'. This is more symmetric with
	single-letter switches that take two forms: `-w 80' and
	`-w80'.

./src/H5D.c
	Added tracing instrumentation for H5Dvlen_reclaim().

./src/H5private.h
	Added casts to int for the isalpha() et al macros to shut up
	solaris warnings about char subscripts.
1999-06-14 10:07:58 -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
Albert Cheng
855d10e8ee [svn-r1338] Removed the tools/testfiles/*.dmp which are no longer used. 1999-06-13 20:55:17 -05:00
Albert Cheng
a45d0d96a2 [svn-r1336] h5toh4 test script used to compare the output of hdp applied on
the generanted hdf files against saved output of hdp.  This did not
work well because whenever the hdp changes its output format, the
tests failed unnecessarily.  The tests also failed if the test machine
uses a different version of HDF library from the HDF5 development
machine.

Changed the algorithm to compare the generated HDF files against
saved HDF files (first by a simple cmp; if that fails, compare the
output of the host machine's hdp on both HDF files.)

Saved HDF files are stored in testfiles/Expected.

Tested on Hawkwind (FreeBSD) with srcdir option and Baldric (Solaris)
without srcdir option.
1999-06-13 19:39:25 -05:00
Albert Cheng
6337d6e6a1 [svn-r1335] h5toh4 test script used to compare the output of hdp applied on
the generanted hdf files against saved output of hdp.  This did not
work well because whenever the hdp changes its output format, the
tests failed unnecessarily.  The tests also failed if the test machine
uses a different version of HDF library from the HDF5 development
machine.

Changed the algorithm to compare the generated HDF files against
saved HDF files (first by a simple cmp; if that fails, compare the
output of the host machine's hdp on both HDF files.)

Tested on Hawkwind (FreeBSD) with srcdir option and Baldric (Solaris)
without srcdir option.
1999-06-13 19:38:29 -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
Albert Cheng
d6ba8a5095 [svn-r1327] Got rid of the extra line of setting dim_n_size incorrectly.
Tested in O2K.
1999-06-10 23:22:59 -05:00
Albert Cheng
55b5e0fe94 [svn-r1326] Replaced the non-general if-then-elif-... code with a general
while-loop.  Prepare it for the next revision in which the hdp
will apply to both the converted hdf4 file and a preserved hdf4
file, then compare the hdp output from both for h5toh4 converter
correctness.
1999-06-10 22:22:11 -05:00
Patrick Lu
0780cc508e [svn-r1325] fixed a bug that was due to settign the dim_n_size wrong for the dump_attr function
for scalar data
1999-06-10 14:14:40 -05:00
Patrick Lu
40aa67003b [svn-r1324]
moved the ATTRIBUTE_DATA definition from h5dump.h to h5tools.h
also created a ENUM_DATA in th5tools.h
1999-06-10 12:41:06 -05:00
Patrick Lu
bcc9f5ad96 [svn-r1323]
removed a c++ style comment i put in by accident
1999-06-10 10:21:40 -05:00
Albert Cheng
93a359dd57 [svn-r1322] Removed the reformating part. The output of h5dump should
be identical in all platforms.  Tested in O2K.
1999-06-09 17:26:28 -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
bbe6a75cd0 [svn-r1320]
just made the h5dump_attr function
1999-06-08 12:46:33 -05:00
Patrick Lu
9c71da9893 [svn-r1319]
fixed bug that was printing out the "unable to print data message"
1999-06-08 12:27:13 -05:00
Patrick Lu
e69fe58b23 [svn-r1318]
separated the dumping of the attributes and datasets.  works on nt but
on unix(baldric) adds an extra line that says cannot print data.
this is just a temporary checkin until i can figure out what is wrong
1999-06-08 12:03:36 -05:00
Patrick Lu
ba3276554c [svn-r1317]
rolled back my changes so Robb's last set are still there.
merged my hcanges back in
1999-06-08 11:46:41 -05:00
Patrick Lu
006e67409b [svn-r1312]
fixed the dumb error with the concatenator macro
1999-06-07 18:27:44 -05:00
Robb Matzke
58eb9c4aa0 [svn-r1311] Changes since 19990607
----------------------

./tools/h5ls.c
./tools/h5tools.c
	Added support for printing bitfields and opaque data.

./test/dsets.c
	Added bitfield and opaque datasets to the output file so h5ls
	has something interesting to print.

./test/trefer.c
	Resync'd

./src/H5Tconv.c
	Fixed bitfield conversion which resulted in possible garbage
	in high-order bits of destination when the destination type is
	larger than the source type. Thanks for spotting it, Quincey.
1999-06-07 15:20:32 -05:00
Patrick Lu
8532eb342e [svn-r1310]
removed the '//' from display_string and put a macro for it in h5dump.h
1999-06-07 14:57:10 -05:00
Robb Matzke
6881c423a1 [svn-r1309] Changes since 19990607
----------------------

./tools/h5tools.c
	Finished code which prints references (object and dataset
	region). Patrick, if you tell me how h5dump should (or might
	want to) print references I can make some changes to support
	various formats...

	You can try it out with:

	    cd test
	    env HDF5_NOCLEANUP=yes ./testhdf5
	    ../tools/h5ls -dvr trefer1.h5
	    ../tools/h5ls -dvr trefer2.h5

	(run h5ls with no arguments if you forgot what the switches do)


./test/trefer.c
	Call calloc instead of malloc in one place to prevent
	uninitialized data from being written into the file.
1999-06-07 13:19:30 -05:00
Robb Matzke
ea77993266 [svn-r1308] Changes since 19990607
----------------------

./tools/h5ls.c
./tools/h5tools.c
./tools/h5tools.h
	Finished the `-x' or `--hexdump' switch, which causes all data
	to be printed in hexadecimal format with no translation from
	file to memory data type.
1999-06-07 10:58:05 -05:00
Robb Matzke
b98fcbf592 [svn-r1306] Changes since 19990602
----------------------

./doc/html/Datatypes.html
./test/dtypes.c
	Added documentation and tests for opaque types.

./tools/h5ls.c
	Added a `-x' or `--hexdump' argument which is not fully
	implemented (because I want to synchronize h5tools.c first)
	but which will eventually print raw data in hexadecimal format
	without any translation from disk. This would be useful for
	debugging references and VL types.

./tools/h5tools.c
	Added support for references (not quite finished yet, but
	compiles -- I wanted to sync up this file before Patrick and I
	got too far apart...)


./src/H5R.c
	Checked for error return value from H5R_get_object_type()

./src/H5A.c
./src/H5D.c
	Changed error return values from NULL to FAIL

./test/Makefile.in
./test/trefer.c
	Creates trefer1.h5 and trefer2.h5 so that the second test
	doesn't clobber the first file since the files might be useful
	for debugging.
1999-06-07 10:05:02 -05:00
Patrick Lu
50f41a8185 [svn-r1303]
got rid of 2 memory leaks in display_numer_data and display_string
1999-06-04 14:52:13 -05:00
Patrick Lu
8374f82883 [svn-r1302]
replaced the 0 in the function call to h5dump_simple_dset to DATSET_DATA
1999-06-04 13:29:52 -05:00
Patrick Lu
2ce9e72bfb [svn-r1301]
fixed the number of parameters to h5dump_fixtype.
1999-06-04 12:59:20 -05:00
Patrick Lu
c1bcb2f367 [svn-r1300]
added the programtype variable and modified certain functions so they would use
this variable. started combinin h5dump_simple and h5dump_simple_dset into 1 function.
added an extra parameter to the h5dump_simple_dset function that because the
h5dump_simple function uses a var that isn't present in the dump_simple_dset
1999-06-04 10:49:55 -05:00
Patrick Lu
3a32a5e973 [svn-r1299]
added an enum for programtypes and the program types variable
1999-06-04 10:47:54 -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
58b40b848c [svn-r1297]
removed the c++ style comments and added a new line at the end of the file
1999-06-04 09:40:15 -05:00
Patrick Lu
2d82003556 [svn-r1296]
removed a line from display_numeric_data that was not needed
1999-06-02 20:20:35 -05:00
Albert Cheng
4635285d64 [svn-r1295] Previous version contained incorrect output from previous h5dump.
Updated it to reflect correct output.
1999-06-02 19:52:24 -05:00
Patrick Lu
93a6938cef [svn-r1293]
added a function so that when we dump atomic characters they stay together
1999-06-02 13:11:21 -05:00
Albert Cheng
e1c88c9c18 [svn-r1290] TFLOPS needs a launching problem even for single process execution.
Use RUNSERIAL to launch it.
1999-05-28 17:09:03 -05:00
Patrick Lu
3779274df6 [svn-r1286]
added a line i thought was there but I must have removed it by accident
1999-05-28 13:58:54 -05:00
Patrick Lu
01191731a6 [svn-r1285]
fixed the last bug with the repeating in the tstr.h5 test
added an extra parameter to the h5dump_sprint function.  it was for the repeat_threshold
before it was hardcoded as 8 but now i let it be a parameter so that if it is set to
a negative number then it will not count the repeats and print all the values out.
1999-05-27 10:43:12 -05:00
Albert Cheng
009a989c32 [svn-r1283] Changed the shell to exit with number of errors encountered during
test.  This would signal to make something is incorrect.
1999-05-26 15:14:19 -05:00
Patrick Lu
b583a01f5b [svn-r1282]
fixed the null pad error and the extra quotes that were appearing in the strings.
still need to get rid of the part where it will say something repeats x amount of
times
1999-05-26 11:08:32 -05:00
Albert Cheng
5742d7fa04 [svn-r1271] h5tools.c:
fixed a typo of pointer comparing with char.
h5tools.h:
    Removed ^M from the file.  SGI does not like them.
1999-05-21 15:05:19 -05:00
Patrick Lu
bae358243c [svn-r1269]
i forgot to remove an extra if else that isn't needed anymore
1999-05-20 14:09:04 -05:00
Patrick Lu
19d46ed16f [svn-r1268]
changing the display_numeric_data abd the display_string to use the h5dump_sprint
from the tools lib.

added a section to initialize the h5dump_t variable in both these functions.
in the display_string had to remove the extra quotes that gets displayed when
printing.

in h5dump_sprint i changed the for loop in the case of the string.
I added a check to see if the last character is a \0.  it was being printed
before.
1999-05-20 13:54:08 -05:00
Quincey Koziol
39d4289d7b [svn-r1264] Fixed output of hdp comparison files to align with the output from the v4.1r3
dumper.
1999-05-19 19:46:07 -05:00
Patrick Lu
ba25e1770b [svn-r1262]
fixed another bug that i made when I started to merge the 2 libs together.
1999-05-17 10:36:33 -05:00
Patrick Lu
6476ddbc60 [svn-r1257] fixed a bug I introduced when i removed the h5dump_sprint fromt he dump tool 1999-05-14 14:47:22 -05:00