Commit Graph

1049 Commits

Author SHA1 Message Date
Patrick Lu
3dc23cdaa4 [svn-r889] added a typedef for the ssize_t to be signed int 1998-11-10 13:01:22 -05:00
Patrick Lu
55346e8376 [svn-r888] i added a #ifdef HAVE_GETTIMEOFDAY around the gettimeofday function call 1998-11-10 12:58:28 -05:00
Robb Matzke
a4ef96bca5 [svn-r887] Snapshot 1998-11-10 04:25:52 -05:00
Quincey Koziol
7088f7715f [svn-r886] Fixed H5dont_atexit in development branch also. 1998-11-09 14:04:46 -05:00
Robb Matzke
6caf5fac81 [svn-r884] Snapshot 1998-11-07 04:21:29 -05:00
Dan Wells
0159fc9a6b [svn-r883] Modified to cause creation of pablo/Makefile 1998-11-06 16:05:53 -05:00
Dan Wells
a23ec265e3 [svn-r882] Made modifications to support MPIO Pablo real-time tracing. 1998-11-06 16:01:15 -05:00
Dan Wells
5897fa35a3 [svn-r881] Updates to support MPIO real-time tracing 1998-11-06 15:48:34 -05:00
Dan Wells
a193cb7a1d [svn-r880] Made some changes for 64 bit file IDs 1998-11-06 15:47:29 -05:00
Robb Matzke
ccf09fae58 [svn-r879] Changes since 19981105
----------------------

./configure.in
./acconfig.h
./configure		[REGENERATED]
./src/H5config.h.in	[REGENERATED]
	Added checks for functions, structs, constants, and header
	files used in h5ls.c to determine the output width with
	various Windows compilers and Unix variants.

	Added check for <sys/stat.h> and defined
	HAVE_SYS_STAT_H. Included <sys/stat.h> in H5private.h outside
	the Posix.1 #include's section.

./src/H5RA.c
	Less aggressive about failing -- rather returns false, which
	allows type detection to continue.

./src/h5ls.c
	Data types are displayed for datasets and named data types when
	`-v' or `--verbose' is specified on the command-line.  The
	algorithm is a little different than the dumper because we're
	trying to be human-friendly, not necessarily machine-friendly.

	   * Any data type which matches a native C type gets printed
	     something like `native double'.

	   * A floating point type that matches one of the IEEE standard
	     types but not one of the native types gets printed like `IEEE
	     64-bit big-endian float'.

	   * Other floating point values have information about sign bit
	     location; exponent size, location, and bias; and significand
	     size, location, and normalization.

	   * Padding and offsets are displayed for types that have
	     padding (precision != size), including internal padding for
	     some floating point data types.

	   * Non-native integer types are displayed like `32-bit
	     little-endian unsigned integer'.

	   * Compound data types have each member displayed including the
	     member name, byte offset within the struct, dimensions, index
	     permutation, and data type.

	   * String types are displayed like `256-byte null-terminated
	     ASCII string'.

	   * References are displayed like `8-byte unknown reference'
	     until the reference interface stabilizes a little.

	   * All other types including types not yet defined will be
	     printed like `4-byte class-9 unknown'.

	The dimensionality of scalar datasets is printed like `{SCALAR}'
	instead of just `{}'.

	If external raw files are used to store a dataset then the offsets,
	sizes, and file names of each are printed if `-v' or `--verbose'
	was given on the command-line.

	If an object is found and h5ls can't determine the object type then
	it still tries to print the number of hard links, the OID, and any
	comment that might be present if `-v' or `--verbose' was specified.

	If the `-d' or `--dump' switch is turned on then ragged arrays will
	report that the data can only be dumped by dumping the component
	datasets explicitly.  I'm not planning to implement this since
	we're going to eventually change the whole way ragged arrays are
	stored.

	Compound data values do not have the component names displayed by
	default when `-v' or `--verbose' is turned on.  Instead, the names
	can be displayed with `-l' or `--label'.

	The output width is determined by the first rule that applies:

	   * If the `-wN', `-w N' or `--width=N' switch appeared on
	     the command line then use N for the output width.

	   * Query the OS for the tty width in a highly unportable way
	     borrowed from GNU `less' depending on what functions and
	     data structures were found during configuration (if any):
	     _getvideoconfig(), gettextinfo(), _srcsize(), ioctl(),
	     GetConsoleScreenBufferInfo(), struct videoconfig, struct
	     text_info, the TIOCGWINSZ ioctl, the TIOCGETD ioctl.

	   * If the `COLUMNS' environment variable is set then use
	     its value.

	   * Use the value 80.

	Just for kicks, run Mark and Jim's test_vbt and then say `h5ls -dlsv
	test.vbt'.  You can also try it on the various *.h5 files in the
	test/example directories.

./config/linux
	Removed turning on parallel by default on Robb's macine.
1998-11-06 13:00:22 -05:00
Robb Matzke
46f683cf14 [svn-r876] Changes since 19981102
----------------------

./bin/snapshot
	Made same fix as for the release script yesterday.

./src/H5D.c
./src/H5Dprivate.h
./src/H5G.c
./src/H5Gprivate.h
./src/H5Gpublic.h
./src/H5O.c
./src/H5Oprivate.h
./src/H5RA.c
./src/H5RAprivate.h
./src/H5T.c
./src/H5Tprivate.h
	Improved object type checking.  Instead of determining the
	object type by trying to open each of the possible types, we
	keep a table of associations between object type number (like
	H5G_GROUP, H5G_DATASET, H5D_TYPE, and H5D_RAGGED) and an `isa'
	function that returns true if the object header has the right
	messages to make the object a particular type.  This mechanism
	also allows specialization of object types by permitting an
	object to satisfy more than one `isa' function.

	Added `isa' functions for groups, datasets, ragged arrays, and
	committed data types.

./src/H5config.h.in
	Added HAVE_STAT_ST_BLOCKS.  I thought this had already been
	added, but apparently not.

./tools/h5ls.c
	Removed system include files since they're already included by
	H5private.h and since I wasn't including them portably anyway.

	By default, 1-byte integer types are printed as integer values
	instead of ASCII characters. However, the `-s' or `--string'
	command-line switch causes the data to be interpretted as
	ASCII.  String data types are always printed as character
	data.

	Ragged arrays are now identified as ragged arrays and h5ls
	doesn't descend into the group automatically.  This uses the
	new object type specialization stuff.

./tools/h5tools.c
./tools/h5tools.h
	Added the ability to print 1-byte integer types as either
	ASCII or numeric data instead of always ASCII.  The default is
	to print as numeric data.
1998-11-05 15:28:34 -05:00
Robb Matzke
b7d05e45c8 [svn-r875] Snapshot 1998-11-05 04:20:30 -05:00
Robb Matzke
75551aae9d [svn-r874] merged bug fix from hdf5-1_0 branch 1998-11-04 21:09:57 -05:00
Robb Matzke
3c6de53a5b [svn-r867] Snapshot 1998-11-04 04:20:59 -05:00
Dan Wells
ccff15af14 [svn-r866] Modified for parallel configuration. 1998-11-03 14:49:28 -05:00
Dan Wells
09a871339d [svn-r865] Modifications required for 64 bit longs. 1998-11-03 14:48:54 -05:00
Robb Matzke
3039dac9dc [svn-r864] Snapshot 1998-11-03 04:20:56 -05:00
Albert Cheng
7fd471c43c [svn-r861] Set RUNTEST to /bin/sh because the test is actually a shell script file.
Updated development version too.
1998-11-02 15:20:06 -05:00
Robb Matzke
254ae8d43d [svn-r859] Changes since 19981030
----------------------

./MANIFEST
	Added new Pablo files HDF5record_RT.h and ProcIDs.h

./acconfig.h
./configure		[REGENERATED]
./configure.in
./src/H5.c
./src/H5Vprivate.h
./src/H5config.h.in	[REGENERATED]
./src/H5private.h
./src/H5public.h
./test/big.c
	Added more configuration stuff for the Win32 environment. Removed all
	the #ifdef WIN32 from the source and replaced them with OS-independent
	stuff.  Specifics follow:

	Check for non-Posix.1 `st_blocks' field in `struct stat' which is used
	by the big file test to decide if the file system supports holes.  If
	the st_blocks field isn't present then we just skip the test.

	Configure checks for <io.h> <sys/resource.h> <sys/time.h> and
	<winsock.h> and defines HAVE_IO_H, HAVE_SYS_RESOURCE_H,
	HAVE_SYS_TIME_H and HAVE_WINSOCK_H when they're found.

	Configure checks whether both <sys/time.h> and <time.h> can be
	included and defines SYS_TIME_WITH_TIME if so.  Otherwise include only
	<sys/time.h> or <time.h> even if both exist.

	Configure checks sizeof(__int64) and defines SIZEOF___INT64 to the
	result or to zero if __int64 isn't defined.  The source uses `long
	long' in preference to `__int64'.

	Removed null WIN32 definition for `inline' since such a definition
	already exists in H5config.h

	Protected gettimeofday() calls in debugging code with
	HAVE_GETTIMEOFDAY instead of WIN32.

./src/H5F.c
./src/H5Flow.c
./src/H5Fmpio.c
./src/H5Fsec2.c
./src/H5Fstdio.h
./src/H5P.c
./src/H5Tconv.c
./src/H5private.h
	Removed #include of system files from library source files and
	consolodated them into H5private.h where they're protected by various
	configuration macros (most of them were duplicated there already
	anyway).

./test/big.c
./test/chunk.c
./test/cmpd_dset.c
./test/dsets.c
./test/dtypes.c
./test/extend.c
./test/external.c
./test/fillval.c
./test/flush1.c
./test/flush2.c
./test/iopipe.c
./test/links.c
./test/mount.c
./test/mtime.c
./test/overhead.c
./test/ragged.c
./test/shtype.c
./test/unlink.c
	Protected system #include's with #ifdef's from H5config.h.

	Undefined NDEBUG since some of the tests rely on assert() to check
	return values.

	Removed WIN32 definitions for __unused__ since this can be controlled
	by the definition of HAVE_ATTRIBUTE in H5config.h

./test/testhdf5.h
	Removed the CLEAN_CMD definition because we no longer use it.
	Albert's cleanup() functions replaced it.

./test/fillval.c
	Initialized auto hid_t variables to fix warnings in error recovery
	code when data flow analysis is turned on in compilers.

./test/h5tools.c
	Initialized an auto variable to fix a compiler warning.

./test/chunk.c
./test/ragged.c
	The WIN32 had some unsigned variables changed to signed because the
	compiler generates warnings when coercing unsigned to double(?).  I
	changed them back to unsigned because they really are unsigned
	quantities. If this the change was just to shut up extraneous warnings
	then perhaps a compiler flag can do the same; otherwise if the
	compiler generates bad code then we should supply a patch file instead
	messing up source code with bug work-arounds.

./src/H5detect.c
	Protected system #include's with #ifdef's from H5config.h thereby
	removing a WIN32.

	If getpwuid() doesn't exist (HAVE_GETPWUID) then we assume that
	`struct passwd' doesn't exist either (we don't really need it in that
	case).

	The H5T_NATIVE_LLONG and H5T_NATIVE_ULLONG are defined in terms of
	`long long' or else `__int64' or else `long' depending on what's
	available.

./src/H5Flow.c
./src/H5Ofill.c
	Added __unused__ to some function arguments that aren't used when
	assertions are turned off.

./src/H5V.c
	Changed an auto variable name in some hand-inlined code to get rid of
	a warning about the variable shadowing a previous auto.
1998-11-02 12:58:28 -05:00
Robb Matzke
a125ee351b [svn-r858] Snapshot 1998-11-02 04:21:03 -05:00
Robb Matzke
3cf97133b0 [svn-r857] Snapshot 1998-11-01 04:21:07 -05:00
Robb Matzke
d7c2a05970 [svn-r856] Snapshot 1998-10-31 04:21:20 -05:00
Dan Wells
98f5e5bc85 [svn-r855] Added some include files to the list of things to be made. 1998-10-30 15:13:58 -05:00
Dan Wells
9fa15860d0 [svn-r854] Latest list of HDF 5 entry points. 1998-10-30 14:46:40 -05:00
Dan Wells
75b0660dbc [svn-r853] Updated code to better handle new HDF entry points. 1998-10-30 14:46:05 -05:00
Dan Wells
6089dc9098 [svn-r852] Include files used for building trace routines. 1998-10-30 14:45:00 -05:00
Robb Matzke
95ca8d543f [svn-r849] ./doc/html/Version.html
Added comment about rewinding the version number to 1.0 for
	the initial release.
1998-10-30 09:40:46 -05:00
Robb Matzke
c9102de1c5 [svn-r848] ./RELEASE
Updated version number. Added a `Changes since the Beta
	Release' section.  Please fill in with anything appropriate.
1998-10-30 09:40:37 -05:00
Albert Cheng
ec2a200ee0 [svn-r845] Set it to use vendor provided cc compiler.
Updated developer version too.
1998-10-30 09:08:17 -05:00
Robb Matzke
707f99cd0c [svn-r843] Snapshot 1998-10-30 04:20:08 -05:00
Frank Baker
04001aa89b [svn-r837] Changed links to DDL.html to read ddl.html. 1998-10-29 20:30:57 -05:00
Frank Baker
340c89a358 [svn-r836] Added files:
hdf5/doc/html/RM_H5I.html
	hdf5/doc/html/RM_H5R.html
	hdf5/doc/html/References.html

Labelled all files in hdf5/doc/src/ as "do not distribute."

Added hdf5/doc/html/DDL.html, but labelled as "do not distribute."
1998-10-29 20:26:52 -05:00
Frank Baker
0cf4d3a79c [svn-r835] New DDL for Release 1.0. 1998-10-29 20:09:28 -05:00
Frank Baker
ed5859ad80 [svn-r831] DDL.html
References.html
	New User Guide documents.

RM_H5I.html  Identifier Interface
RM_H5R.html  Reference Interface
	Created these two sections of Reference Manual.
1998-10-29 17:35:48 -05:00
Frank Baker
cd3b105997 [svn-r830] ======
Intro
======
H5.intro.html
	Major rewrite to Groups section.  New Example 7 (groups).
	Added TOC and requisite links.
	Numbered sections.
	Labelled figures and centered those that were not.
	Fixed table formatting.

===========
User Guide
===========
H5.user.html
	Linked in Chunking.html.
	Linked in References.html.
	Linked in DDL.html.

Chunking.html
        Minor edits.

DDL.html
References.html
	New documents.

Datatypes.html
	Added "R Reference" to base name description and
	   "H5T_STD_ROBJ -- Reference to an entire object
	   in a file" to list of datatype names.

Files.html
	H5Fflush
	   Added scope parameter.

Groups.html
	Removed references to "current working group."
	Removed H5Gpush, H5Gpop, and H5Gset functions.
        Removed note that H5Glink and H5Gunlink were not implemented.

=================
Reference Manual
=================
RM_*.html and Tools.html
	Updated Reference Manual internal cross-linking (the link
	   banner at the top and bottom of each page).
	Changed
		Returns SUCCEED (0) if successful;
		otherwise FAIL (-1).
	   to read
		Returns a non-negative value if successful;
		otherwise returns a negative value.
	   and several derived changes where circumstances differred
	   only slightly.
	Minor copy edits throughout.

RM_H5.html
	Corrected H5open "Purpose" statement.

RM_H5A.html
	Changed H5Aget_name return type to hssize_t.

RM_H5F.html
	H5Fflush
	   Added scope parameter.
        Added H5Freopen.

RM_H5Front.html
	Reordered listing of interfaces to alphabetical order (H5,
	   H5A, H5D, ...)
 	Added H5I, H5R, and H5RA.

RM_H5G.html
	H5Gopen
	   Edited "Description."
	H5Gget_objinfo
	   Added named datatype to list of valid values for loc_id.

RM_H5I.html  Identifier Interface
	New section.

RM_H5P.html
	Added H5Pset_fill_value and H5Pget_fill_value.
        Several minor copy edits.

RM_H5R.html  Reference Interface
	New section.

H5RA.html
	Essentially a new section.  It was in the tree previously,
	but it did not actually have content.

RM_H5S.html
	Changed H5Sget_select_npoints return type to hssize_t.

Tools.html
	Updated h5dump documentation.
1998-10-29 17:13:17 -05:00
Robb Matzke
f9fd7a35c2 [svn-r829] Snapshot 1998-10-29 04:20:55 -05:00
Ruey-Hsia Li
8d2cb24e51 [svn-r827] Updated expected output for dumper tests. 1998-10-29 01:40:30 -05:00
Ruey-Hsia Li
049e666104 [svn-r826] Added files ./tools/testfiles/*. 1998-10-29 01:39:43 -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
Albert Cheng
54240b9657 [svn-r821] Set the metadata writing by 1 process to be TRUE by default
except when it is in the Intel Red in which it is not working
yet.
Update the development version too.
1998-10-28 18:07:19 -05:00
Quincey Koziol
9a4d614a0b [svn-r817] Fixed return value check. 1998-10-28 13:51:56 -05:00
Quincey Koziol
5834d25997 [svn-r816] Fixed bug with references on certain platforms. 1998-10-28 13:51:20 -05:00
Quincey Koziol
b506e17d08 [svn-r815] Changed default compilation options for HPUX 9.x 1998-10-28 13:50:46 -05:00
Robb Matzke
8f5444033e [svn-r814] Snapshot 1998-10-28 04:20:34 -05:00
Albert Cheng
52305e0fe6 [svn-r812] Moved -fullwarn flag to be used for debug mode only. 1998-10-27 18:54:01 -05:00
Quincey Koziol
6317a4684f [svn-r810] Reset version number on development branch back to 1.1.0 1998-10-27 15:30:57 -05:00
Robb Matzke
5013e0d2b5 [svn-r807] Added pablo file names 1998-10-27 12:29:12 -05:00
Albert Cheng
93493d2a97 [svn-r806] Set it to exit with non-zero code when errors encountered or when
test table overflows.

Tested Platform: Irix 6.2
1998-10-27 12:05:37 -05:00
Quincey Koziol
2a5409cf5c [svn-r805] Fixed H5Fis_hdf5 from reporting "true" for non-HDF5 files. 1998-10-27 10:32:23 -05:00
Robb Matzke
1e88d9ac67 [svn-r804] Snapshot 1998-10-27 04:19:56 -05:00