Commit Graph

806 Commits

Author SHA1 Message Date
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
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
15a78f9786 [svn-r784] Added a readme and H5Tinit.c. Also changed where the files are going to be
exported.  Now they are in a directory called NTPort
1998-10-23 15:03:54 -05:00
Patrick Lu
4ec4c61cfc [svn-r783] The zip file for Windows. Contains all the projects for the NT port.
Use all.dsw and allexamples.dsw.  Will build all the projects.  2 errors
are expected for each at the end of compilation since all and allexamples
are not creating any executables or libraries of their own.
1998-10-23 13:51:46 -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
Patrick Lu
3a7c54b06f [svn-r781] Windows NT port-tested on Unix and NT
changes: defined __unused__ as nothing, other little changes.
	all changes are surrounded by #if defined(WIN32)
1998-10-23 13:16:48 -05:00
Robb Matzke
9bba487ca4 [svn-r780] *** empty log message *** 1998-10-23 10:44:52 -05:00
Robb Matzke
e1d1bf607f [svn-r779] Changes since 19981022
----------------------

./MANIFEST
./doc/html/study.html		[DELETED]
./doc/html/study_1000x1000.gif	[DELETED]
./doc/html/study_250x250.gif	[DELETED]
./doc/html/study_499x499.gif	[DELETED]
./doc/html/study_5000x1000.gif	[DELETED]
./doc/html/study_500x500.gif	[DELETED]
./doc/html/study_p1.gif		[DELETED]
./doc/html/study_p1.obj		[DELETED]
	Removed these old files -- the data was from before the chunk
	cache was implemented and therefore the whole file was pretty
	much garbage.

./MANIFEST
./doc/html/Chunking.html	[NEW]
./doc/html/Chunk_f1.gif		[NEW]
./doc/html/Chunk_f1.obj		[NEW]
./doc/html/Chunk_f2.gif		[NEW]
./doc/html/Chunk_f2.obj		[NEW]
./doc/html/Chunk_f3.gif		[NEW]
./doc/html/Chunk_f4.gif		[NEW]
./doc/html/Chunk_f5.gif		[NEW]
./doc/html/Chunk_f6.gif		[NEW]
./doc/html/Chunk_f6.obj		[NEW]
	New documentation for chunking.  It's not quite complete but
	it gives a pretty good idea of some of the issues affecting
	performance.
1998-10-23 10:44:02 -05:00
Robb Matzke
97621ca893 [svn-r778] Snapshot 1998-10-23 04:20:00 -05:00
Frank Baker
85cf3f4bb8 [svn-r777] RM_H5S.html
Changed H5Sget_space_type to H5Sget_simple_extent_type.
	Changed H5Sget_simple_extent_type FAIL return value to
		H5S_NO_CLASS.

RM_H5F.html
	H5Fflush.  Corrected function name in sytax line, which
		had read H5Fis_hdf.

RM_H5G.html
	Removed discussion of "current working group" and associated
		information from the introductory discussion.
	H5Gset, H5Gpush, H5Gpop
		Removed these functions.
	H5Gunlink, H5Gmove
		Removed the "not yet implemented" notations from
		these functions.
1998-10-22 18:52:02 -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
5ce4069c24 [svn-r771] Changed exit(n) in main() to return(n) to pacify the compiler.
Platform tested:
    O2K
1998-10-21 00:12:58 -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
Frank Baker
ca9639706e [svn-r769] H5.intro.html
Revised and extended hyperslab selection image.
	Added section "Selecting a union of hyperslabs."
IH_map*.gif  (6 new files)
	New images for "Intro to HDF5."
	As a composite, these replace H5.intro.datamap.gif.
H5.intro.datamap.gif
	Removed.  Replaced by the composite IH_map*.gif.

RM_H5RA.html  (new file)
RM_H5Front.html
Tools.html
Ragged.html
H5.user.html
	Changed all H5R functions to H5RA.
	Changed Ragged Array API references from H5R to H5RA.
	Changed links to RM_H5R.html to RM_H5RA.html.
RM_H5R.html
	Removed.  Replaced by RM_H5RA.html.
1998-10-20 22:33:19 -05:00
Albert Cheng
cf65d53dc8 [svn-r768] Changed declaration types of couple variables to remove prototype
warning messages.
1998-10-20 21:37:37 -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