hdf5/test
Robb Matzke 22538a0c79 [svn-r429] Changes since 19980616
----------------------

./html/tracing.html	NEW
	This entire update is to make it possible for the library to
	print the name, arguments, and return value of every API call
	without requiring any extra work from developers or app
	programmers.  This file describes how this all works.

./configure.in
	Added the `--enable-tracing' switch.  If you use it then the
	library will include code to print API function names,
	argument names and values, and function return values.
	However, you must then turn on the tracing by setting the
	HDF5_TRACE environment variable to a file descriptor number.
	The default is `--disable-tracing' since enabling it causes a
	slight increase in library size and a slowdown resulting from
	an extra function call for each API function call (I couldn't
	even measure the slowdown :-)

./bin/trace		NEW
	A perl script that synchronizes the H5TRACE() macro calls in
	the *.c files with the function return type and formal
	argument names and types.  If you use GNU make and gcc then
	this will be done automatically, otherwise just invoke this
	script with the names of one or more .c files.  You could do
	it by hand to, but encoding argument types is a little tricky
	at first.

./config/commence.in
	Added the $(TRACE) macro, which defaults to the no-op.
	Added -D_POSIX_SOURCE to the compiler command line.

./src/Makefile.in
	Override the default for $(TRACE).

./config/depend.in
	Automatically calls $(TRACE) to synchronize the H5TRACE()
	macros in any source file that changed.  As with makefile
	dependencies, one way to force synchronization of all files is
	to remove the `.depend' file.

./MANIFEST
	Added new files.

./src/H5Eprivate.h
	Modified HRETURN_ERROR() and HRETURN() for tracing.

./src/H5.c
./src/H5private.h
	This is where the real tracing work really happens, in
	H5_trace().

./src/H5A.c
./src/H5D.c
./src/H5G.c
./src/H5P.c
./src/H5S.c
./src/H5Z.c
	Added H5TRACE() calls to all API functions.  You don't really
	need these changes if you don't want to merge your stuff
	because they can be generated automatically by going to the
	hdf5/src directory and saying ../bin/trace *.c

./src/H5T.c
	Added H5TRACE() calls.  Other stuff below.

./src/H5E.c
./src/H5Epublic.h
	Added H5TRACE() calls.  Created a type H5E_auto_t for the
	`func' argument of H5Eset_auto() and H5Eget_auto() to make
	those arguments easier to parse for tracing. It should also
	make it clearer for users that don't know how to read
	complicated ANSI data types.

./src/H5F.c
	Added H5TRACE() calls.  Changed a couple `uintn' argument
	types in API functions to `unsigned int' since `uintn' part of
	the API.  Changed a few "can't" and "cant" error messages to
	"unable to".

./src/H5Ipublic.h
	Removed H5_DIRECTORY from the H5I_group_t enum.  It wasn't
	used anywhere.

./src/H5Tconv.c
	Removed an unused label.

./src/H5Fistore.c
./src/H5Oattr.c
./src/H5Odtype.c
./src/H5T.c
./test/dsets.c
./test/dtypes.c
	Fixed a warning about a variable possibly used before it's
	initialized.  Added __unused__ to turn off some unused
	argument warnings that pop up when debugging is turned off and
	optimizations are turned on.
1998-06-17 15:46:29 -05:00
..
.distdep [svn-r428] Changes since 19980612 1998-06-16 14:38:26 -05:00
big.c [svn-r400] Changes since 19980513 1998-05-22 10:05:53 -05:00
bittests.c [svn-r428] Changes since 19980612 1998-06-16 14:38:26 -05:00
chunk.c [svn-r408] ./test/dtypes.c 1998-06-04 17:28:11 -05:00
cmpd_dset.c [svn-r410] Changes since 19980604 1998-06-05 16:03:49 -05:00
dsets.c [svn-r429] Changes since 19980616 1998-06-17 15:46:29 -05:00
dtypes.c [svn-r429] Changes since 19980616 1998-06-17 15:46:29 -05:00
extend.c [svn-r410] Changes since 19980604 1998-06-05 16:03:49 -05:00
external.c [svn-r410] Changes since 19980604 1998-06-05 16:03:49 -05:00
gheap.c [svn-r410] Changes since 19980604 1998-06-05 16:03:49 -05:00
hyperslab.c [svn-r338] Changes since 19980407 1998-04-08 16:43:02 -05:00
iopipe.c [svn-r382] Added ifdef's around getrusage. 1998-04-29 10:57:59 -05:00
istore.c [svn-r412] Updated with the newly added data transfer mode. 1998-06-06 23:42:19 -05:00
links.c [svn-r410] Changes since 19980604 1998-06-05 16:03:49 -05:00
Makefile.in [svn-r428] Changes since 19980612 1998-06-16 14:38:26 -05:00
shtype.c [svn-r410] Changes since 19980604 1998-06-05 16:03:49 -05:00
tattr.c [svn-r428] Changes since 19980612 1998-06-16 14:38:26 -05:00
testhdf5.c [svn-r380] Finished tests for scalar dataspaces with both datasets and attributes. 1998-04-28 17:33:07 -05:00
testhdf5.h [svn-r380] Finished tests for scalar dataspaces with both datasets and attributes. 1998-04-28 17:33:07 -05:00
tfile.c [svn-r359] Added tests for H5Fcreate with the H5F_ACC_EXCL flag. 1998-04-23 17:08:16 -05:00
th5s.c [svn-r380] Finished tests for scalar dataspaces with both datasets and attributes. 1998-04-28 17:33:07 -05:00
theap.c [svn-r333] Changes since 19980324 1998-03-30 14:24:08 -05:00
tmeta.c [svn-r233] Fixed order of arguments to print_func. 1998-02-10 08:15:46 -05:00
tohdr.c [svn-r324] Change H5A (atoms) to H5I (IDs) 1998-03-17 17:46:27 -05:00
tstab.c [svn-r378] Merged Robb's and my memory leak fixes into one set of common fixes. 1998-04-28 11:37:17 -05:00