Commit Graph

790 Commits

Author SHA1 Message Date
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
Robb Matzke
6f9a11d046 [svn-r760] Snapshot 1998-10-14 04:20:49 -05:00
Quincey Koziol
41241d47e5 [svn-r759] Added missing test file. 1998-10-13 17:42:24 -05:00
Quincey Koziol
bfedcf281c [svn-r758] Added test code for object references. 1998-10-13 16:30:49 -05:00
Quincey Koziol
5389806ce8 [svn-r757] Added code for object references. 1998-10-13 16:28:53 -05:00
Quincey Koziol
6fd7f81615 [svn-r756] Detect reference parameters properly. 1998-10-13 16:28:13 -05:00
Quincey Koziol
85b6253118 [svn-r755] Added reference test to manifest. 1998-10-13 16:27: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
Elena Pourmal
6016a7a47a [svn-r746] ../examples/h5_select.c
Selection of the hyperslab union was added to the example.

Tested on Sun Sparc ( baldric ).
1998-10-08 12:47:07 -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