Commit Graph

839 Commits

Author SHA1 Message Date
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
Robb Matzke
27cf1577ba [svn-r803] Something I forgot to add earlier... 1998-10-27 00:08:09 -05:00
Robb Matzke
1203b16528 [svn-r802] Misc. white space adjustments here and there, mostly in comments. 1998-10-26 22:56:31 -05:00
Albert Cheng
cd6234d0a0 [svn-r801] Added compiler options to suppress some warning messages from
the compiler and loader.
1998-10-26 17:55:45 -05:00
Quincey Koziol
7dcbae97f2 [svn-r800] Made a "htri_t" as a return value from "boolean" functions returning
TRUE/FALSE/FAIL, hbool_t is now strictly for true boolean values.
1998-10-26 17:44:13 -05:00
Quincey Koziol
a7b166727d [svn-r799] Included htri_t as a hbool_t for now. 1998-10-26 17:42:26 -05:00
Albert Cheng
bedcfc85bd [svn-r798] Suppress the warning that a certain library is not used during
the loading.  It would be hard to customerize library list for
individual loading.
1998-10-26 17:28:48 -05:00
Quincey Koziol
69d3cf72b3 [svn-r797] Changed comments from returning "SUCCEED/FAIL" to "non-negative/negative"
and also fixed a few more explicit checks against FAIL.
1998-10-26 16:18:54 -05:00
Dan Wells
4d5f1b72de [svn-r796] Pablo instrumentation support files. 1998-10-26 15:07:31 -05:00
Robb Matzke
f7545efc76 [svn-r795] Changes since 19981026
----------------------

./MANIFEST
./test/th5s.h5			[NEW]
./test/th5s.c
	Added a test to make sure that creating a data space with too
	large a rank fails.

	Added a test to make sure that reading a file that has a
	dataset with a space with too large a rank fails.  Actually,
	this one is a little weird: the code that reads the data space
	message assumes the space is scalar if the message cannot be
	read. Fortunately the layout message fails also, preventing
	the dataset from being opened.  However, since the data type
	message is still visible h5ls will report that the object is a
	named data type.

./test/space_overflow.c		[NEW]
	This is the little program that makes the th5s.h5 file.

./src/H5A.c
./src/H5R.c
./src/H5Sselect.c
	Updated trace info.

./src/H5Olayout.c
./src/H5Osdspace.c
	Added code to fail if the dimensionality is too large when
	decoding a layout or simple data space message.

./src/H5Oprivate.h
	Redefined H5O_LAYOUT_NDIMS in terms of H5S_MAX_RANK.

./src/H5P.c
./src/H5S.c
	Check for ndims>H5S_MAX_RANK in API function calls, added
	assert to internal functions.

./src/H5V.c
	Changed a `<' to an `<=' in an assert.

./test/flush2.c
	Includes stdlib.h for getenv().

./tools/h5tools.c
	Able to handle up to H5S_MAX_RANK dimensions during output.
1998-10-26 14:55:54 -05:00
Elena Pourmal
ac90ad84f6 [svn-r794] Group example was modified to use the H5Glink/unlink and
H5Dopen(grp, dataset) functions.

Tested on SUN Sparc (baldric)
1998-10-26 13:02:52 -05:00