Commit Graph

4247 Commits

Author SHA1 Message Date
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
Robb Matzke
707f99cd0c [svn-r843] Snapshot 1998-10-30 04:20:08 -05:00
Robb Matzke
f9fd7a35c2 [svn-r829] Snapshot 1998-10-29 04:20:55 -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
5834d25997 [svn-r816] Fixed bug with references on certain platforms. 1998-10-28 13:51:20 -05:00
Robb Matzke
8f5444033e [svn-r814] Snapshot 1998-10-28 04:20:34 -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
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
1203b16528 [svn-r802] Misc. white space adjustments here and there, mostly in comments. 1998-10-26 22:56:31 -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
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
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
Quincey Koziol
91fa389935 [svn-r793] Changed return value for H5Sget_select_npoints to hssize_t to enable negative
return values.
1998-10-26 12:42:48 -05:00
Quincey Koziol
bda4c6c94e [svn-r792] Changed return type for H5Aget_name from size_t to hssize_t to allow negative
error values to be returned correctly.
1998-10-26 12:25:35 -05:00
Quincey Koziol
808847e0a1 [svn-r791] Internal API tweaks to H5D_open_oid 1998-10-26 12:23:29 -05:00
Quincey Koziol
5ff842ebef [svn-r790] Updated parameters for H5R API and changed constants from pointers to references 1998-10-26 12:14:00 -05:00
Robb Matzke
db9525c2a3 [svn-r789] Changes since 19981023
----------------------

./MANIFEST
./test/Makefile.in
./test/flush1.c			[NEW]
./test/flush2.c			[NEW]
	Test to see if calling H5Fflush() results in a consistent
	file.

./src/H5.c
./src/H5A.c
./src/H5D.c
./src/H5Fistore.c
./src/H5I.c
./src/H5S.c
./src/H5Shyper.c
./src/H5Sselect.c
./src/H5TB.c
	Changed comparisons against SUCCEED and FAIL to >=0 and <0 in
	about 15 places.

./src/H5.c
./src/H5V.c
./src/H5detect.c
./src/H5private.h
./src/H5public.h
./test/big.c
./test/chunk.c
./test/cmpd_dset.c
./test/dsets.c
./test/dtypes.c
./test/external.c
./test/fillval.c
./test/iopipe.c
./test/links.c
./test/mount.c
./test/mtime.c
./test/ragged.c
./test/shtype.c
./test/unlink.c
	Removed ^M from the end of lines inserted on broken OS's ;-)

./src/H5private.h
	Changed c++ comments to c comments.

./src/H5R.c
	Added tracing macros.
1998-10-26 09:49:52 -05:00
Robb Matzke
7f020a4f3c [svn-r788] Snapshot 1998-10-26 04:20:01 -05:00
Robb Matzke
39ae8f3879 [svn-r787] Snapshot 1998-10-24 04:19:59 -05:00
Quincey Koziol
db59b0650e [svn-r786] Added H5S_MAX_RANK as publicly visible constant for the maximum number of
dimensions a dataset can have, currently set to 31.
1998-10-23 15:12:37 -05:00
Quincey Koziol
6b449ba34a [svn-r785] Moved SUCCEED & FAIL back into H5private.h 1998-10-23 15:10:29 -05:00
Patrick Lu
ca5f819b46 [svn-r782] Win NT port- tested on Unix and NT
changes - all changes surrounded by a #if defined(WIN32)
	  defined __undef__ to be equal to nothing, changed long long to __int64
	  removed body of H5TimerBegin, defined F_OK,R_OK,W_OK, some other
	  changes involving header files.
1998-10-23 13:23:29 -05:00
Robb Matzke
97621ca893 [svn-r778] Snapshot 1998-10-23 04:20:00 -05:00
Quincey Koziol
671ed57123 [svn-r776] Fixed references, object references should be working now. 1998-10-22 17:49:16 -05:00
Robb Matzke
f571a762fd [svn-r775] Changes since 19981021
----------------------

./src/H5I.c
	If we ran out of object ID's (which happens after about 67
	million requests) then we'd wrap back to the first possible ID
	but if we ran out a second time (after ~134 million requests)
	then H5I_register() failed.  Now it continues to wrap as often
	as needed.

	If we wrapped to the beginning of the possible ID's and then
	requested ID's till we got toward the end of the list then
	H5I_register() failed if the last possible ID's were in use.
	The new behavior is to try all possible ID's (not just higher
	ID's) before giving up.
1998-10-22 12:30:24 -05:00
Robb Matzke
5ba39f7ca2 [svn-r774] Snapshot 1998-10-22 04:20:10 -05:00
Robb Matzke
2bfbf4f707 [svn-r773] Changes since 19981019
----------------------

./src/H5Fistore.c
	Improved the hash function so it mixes bits better.  This
	results in a few percent improvement in raw data chunk cache
	efficiency because there are fewer collisions.

./test/chunk.c
	Added #define's for chunk preemption `w0' value and number of
	slots in cache.

./src/H5B.c
	Added some more comments to H5B_insert_helper() and
	H5B_remove_helper()  and also point to some additional
	documentation.
1998-10-21 10:14:15 -05:00
Robb Matzke
bf5d98d7b9 [svn-r772] Snapshot 1998-10-21 04:20:06 -05:00
Albert Cheng
d774cf9daf [svn-r770] H5B.c:
Replaced FAIL with H5B_INS_ERROR in routine H5B_remove_helper.
    Updated code that calls H5B_remove_helper with the proper code.
H5Fmpio.c:
    Removed a typo.
H5Gnode.c:
    Replaced FAIL with H5B_INS_ERROR in routine H5G_node_remove.
H5Odtype.c:
    Put in proper casting to remove compiler warnings.
H5S.c:
    Replaced FAIL with H5S_NO_CLASS in routine H5Sget_simple_extent_type.
H5Sselect.c:
    Fixed couple typos to remove compiler warnings.

Platform tested:
    O2K.
1998-10-21 00:09:58 -05:00
Quincey Koziol
ef231947b3 [svn-r767] Commented out printfs. 1998-10-20 16:38:54 -05:00
Quincey Koziol
cd4af9da24 [svn-r766] Checkpointing the reference code. 1998-10-19 17:25:03 -05:00
Robb Matzke
c1d2006c0f [svn-r765] Changes since 19981016
----------------------

./src/H5F.c
./src/H5Fpublic.h
	Added H5Freopen() as documented in earlier e-mails.  This is
	really just a wrapper around H5F_new().
1998-10-19 12:46:40 -05:00
Robb Matzke
80f2033326 [svn-r764] Changes since 19981014
----------------------

./bin/trace
./src/H5.c
./src/H5F.c
./src/H5Fprivate.h
./src/H5Fpublic.h
	Added a `scope' argument to H5Fflush() which should be either
	H5F_SCOPE_LOCAL or H5F_SCOPE_GLOBAL and determines which files
	are flushed (just the specified file or the entire virtual
	file).

./src/H5F.c
	Added reference counts to the H5F_t struct so we get the
	correct behavior between H5Funmount() and H5Fclose().

./src/H5O.c
	Fixed a memory leak that happens during error handling.

./test/cmpd_dset.c
./test/unlink.c
	Fixed a memory leak.

./test/mount.c
	Enabled the H5Fclose() test.
1998-10-16 10:40:37 -05:00
Robb Matzke
194c45d07d [svn-r763] Snapshot 1998-10-16 04:21:02 -05:00
Robb Matzke
c82c719c21 [svn-r762] Snapshot 1998-10-15 04:21:00 -05:00
Robb Matzke
cfb2a264f1 [svn-r761] Changes since 19981013
----------------------

./src/H5.c
	Fixed a signed vs. unsigned comparison.

./src/H5D.c
	Setting a fill value of all zeros will cause the fill value to
	be written to the dataset instead of relying on the low-level
	file driver initializing unwritten areas with zero.

./src/H5D.c
./src/H5F.c
./src/H5Fprivate.h
./src/H5G.c
./src/H5Gpkg.h
./src/H5Gprivate.h
./src/H5O.c
./src/H5T.c
	More file mounting stuff.

./src/H5I.c
	Fixed a bug where trying to close an invalid object id caused
	a core dump.  For instance, H5Gclose(-1).

./MANIFEST
./test/Makefile.in
./test/mount.c		[NEW]
	Mounting tests.

./src/H5R.c
	Fixed a couple (herr_t)NULL casts.
1998-10-14 14:35:08 -05:00
Robb Matzke
6f9a11d046 [svn-r760] Snapshot 1998-10-14 04:20:49 -05:00
Quincey Koziol
5389806ce8 [svn-r757] Added code for object references. 1998-10-13 16:28:53 -05:00
Robb Matzke
88bb52df72 [svn-r754] Snapshot 1998-10-13 13:34:50 -05:00
Robb Matzke
0e9e49d635 [svn-r753] Changes since 19981008
----------------------

./src/H5F.c
./src/H5Fprivate.h
./src/H5G.c
./src/H5Gpkg.h
./src/H5Gprivate.h
./src/H5Gpublic.h
./test/istore.c
./test/tstab.c
	Removed CWG functionality.

./tools/Makefile.in
	Added `_test' where I added `test' last week.  Maybe now the
	snapshots will start up again...
1998-10-13 12:17:50 -05:00
Dan Wells
60b0109164 [svn-r752] added code to define Pablo_Mask 1998-10-08 16:31:05 -05:00
Dan Wells
b8800bf41f [svn-r751] Added Pablo Mask 1998-10-08 16:30:07 -05:00
Dan Wells
9865007240 [svn-r750] Put the MPIO header file inside the ifdef HAVE_PABLO 1998-10-08 16:28:06 -05:00
Dan Wells
82f645371d [svn-r749] Changes for Pablo Tracing. 1998-10-08 16:24:14 -05:00
Dan Wells
04ca978cba [svn-r748] added include file for Pablo Tracing inside the conditional expansion for
HAVE_PABLO.
1998-10-08 16:04:50 -05:00
Dan Wells
32684b8801 [svn-r747] Changed the macro expansion for Pablo. 1998-10-08 16:03:11 -05:00
Robb Matzke
19ec99786a [svn-r745] Changes since 19981002
----------------------

./doc/html/H5.format.html
./src/H5HG.c
	Fixed a bug in the global heap that caused H5HG_read() to
	write past the end of the buffer in certain cases.

./test/big.c
	The test is skipped if hdf5 was configured with
	`--disable-hsizet'.

./src/H5Ofill.c
	Data type conversions are implemented for the fill value.

./src/H5.c
	Tracing prints one of H5P_FILE_CREATE, H5P_FILE_ACCESS,
	H5P_DATASET_CREATE, H5P_DATASET_XFER, or H5P_MOUNT instead of
	the more cryptic H5I_TEMPLATE_* constants.

./src/H5D.c
	Removed prototype for H5D_find_name().

./src/H5I.c
	The GROUP_MASK and ID_MASK are both calculated from GROUP_BITS
	instead of being set by hand.

	We don't use the sign bit of hid_t; all valid hid_t values are
	positive so we can say things like `if ((file=H5Fopen(...))<0)'.

	Changed `(int)pow(2.0,x)' to `1<<x' so we don't have to worry
	about rounding.

	Fixed H5I_get_type() so it doesn't always fail an assertion.

./src/H5E.c
./src/H5Epublic.h
	Added minor error H5E_MOUNT

./src/H5F.c
./src/H5Fprivate.h
	Added H5Fmount() and H5Funmount().  Mounting and unmounting
	works as documented but some of the other things aren't
	implemented yet, the biggest being current working groups
	always acting on the root of the mount tree, and H5Fclose()
	closing the entire tree.  The rest of the stuff will be added
	shortly...

./src/H5P.c
./src/H5Ppublic.h
	Added the H5P_MOUNT property list but haven't implemented any
	particular properties for it yet.

./src/H5Gstab.c
	Hard links across files return an error instead of failing an
	assertion.
1998-10-08 12:13:14 -05:00