Commit Graph

6681 Commits

Author SHA1 Message Date
Robb Matzke
833e82fec5 [svn-r134] Changes since 19971023
----------------------

./config/conclude.in
        Test work when `.' isn't in $PATH.

./src/H5F.c
./src/H5Fcore.c         NEW
./src/H5Flow.c
./src/H5Fprivate.h
./src/H5Fsec2.c
./src/H5Fstdio.c
./src/Makefile.in
./MANIFEST
        Added the in-core temporary file driver as an exercise to
        clean up some of the H5F package.  It speeds up `testhdf5 -o
        stab' by 25 percent!  If you want to try it you'll need to
        recompile everything with `-DH5F_LOW_DFLT=H5F_LOW_CORE'.
        Don't expect testhdf5 to ever work since creating a file,
        closing it, and then opening it for read-only will fail.
1997-10-24 16:03:10 -05:00
Robb Matzke
e1e488bd47 [svn-r133] ./MANIFEST
./src/Makefile.in
	Added new files.

./html/H5.apiv2.html
	Added documentation for group stuff.

./src/H5private.h
./src/H5E.c
./src/H5Epublic.h
./src/H5F.c
./src/H5Flow.c			NEW
./src/H5Fprivate.h
./src/H5Fsec2.c			NEW
./src/H5Fstdio.c		NEW
	Low-level file driver is selected at runtime.

./src/H5Fprivate.h
	Got rid of `shift >= sizeof operand' warnings on big endian
	machines.

./src/H5Fistore.c
./test/istore.c
	Still working on indexed storage...

./src/H5H.c
./src/H5Hprivate.h
	Removed alignment constraints.
1997-10-22 17:08:14 -05:00
Robb Matzke
b1ba4bff39 [svn-r130] Functions for vectors, arrays, hyperslabs, strides, ... 1997-10-20 18:20:56 -05:00
Robb Matzke
56ad55117a [svn-r129] Changes since 19970916
----------------------

./config/depend.in
	Fixed backslashes in sed script because the H5Gnode.c
	dependency info was disappearing.  You'll have to rerun
	config.status to rebuild the Makefiles unless you use gnu
	make.

./config/conclude.in
	Also removes emacs backup files, TAGS, and svf backup files.

./config/linux
	Grouped gcc flags and added provisions for debugging vs. production.

./html/H5.format.html
	Updated messages 0x0008, 0x0009, and 0x000A.

./html/storage.html
	Documentation describing storage schemes.

./src/Makefile.in
./test/Makefile.in
	New source files.

./src/H5A.c
./src/H5Apublic.h
./src/H5C.c
	Changed VOIDP to void* in a couple places.

./src/H5AC.c
./src/H5ACprivate.h
./src/H5B.c
./src/H5Bprivate.h
./src/H5G.c
./src/H5Gnode.c
./src/H5Gprivate.h
./src/H5H.c
./src/H5O.c
	Removed `const' from some variables because H5G_node_found() wanted
	to modify it's udata argument. Removing const there caused it
	to cascade to these other locations.

./src/H5AC.c
./src/H5ACprivate.h
./src/H5B.c
./src/H5Gnode.c
./src/H5Gstab.c
./src/H5H.c
./src/H5O.c
	Added an extra argument to H5AC_find_f() and H5AC_protect(). This
	arg gets passed to the load() method.  Also added an extra
	argument to the H5AC_find() macro.

./src/H5B.c
./src/H5Bprivate.h
./src/H5Gnode.c
	Extra argument passed to the sizeof_rkey() method.

./src/H5Fprivate.c
./src/H5Fistore.c (new)
	Added indexed I/O operations.

./src/H5G.c
./src/H5Gnode.c
./src/H5Gprivate.h
	Beginning to add H5G_open/close and related bug fixes.

./src/H5Oprivate.h
./src/H5Oistore.c (new)
	Added the H5O_ISTORE messsage (0x0008) for indexed storage of
	objects.

./src/H5private.h
	Added extra braces around both sides of the FUNC_ENTER() and
	FUNC_LEAVE() macros so FUNC_ENTER() can appear before
	declarations or after executable statements the second case is
	used by H5G_namei() to initialize output arguments to sane
	values before FUNC_ENTER() might return failure.

		int f ()
		{
		   int decl1;
		   printf ("This happens before FUNC_ENTER()\n");
		   FUNC_ENTER (...);
		   int another_declaration;

./src/H5B.c
./src/H5Bprivate.h
./src/H5Gnode.c
	Extra arguments for key encoding and decoding.

./src/H5E.c
./src/H5Epublic.h
./src/H5Fistore.c
./src/H5Oistore.c
./src/H5Oprivate.h
	Indexed, chunked, sparse storage (not ready for general consumption
	yet).

./src/H5V.c		(new)
./src/H5Vprivate.h	(new)
./test/hyperslab.c	(new)
	Vector, array, and hyperslab functions.

./src/H5B.c
./src/H5Bprivate.h
./src/H5Fistore.c
./src/H5Gnode.c
./src/H5V.c
./src/H5Vprivate.h
./test/hyperslab.c
	Added functionality for indexed storage.

./src/H5F.c
	Fixed problems with seek optimizing.  Recommend we disable it
	until we can implement it in the file/address class since all
	of HDF5 must be aware of it.

./src/H5O.c
	Fixed comeent speling erorr :-)

./MANIFEST
	Added new files.

./config/conclude.in
	Added the word `Testing' to the test cases.  So if a test
	program is called hyperslab then the make output will contain
	the line `Testing hyperslab'.

./config/linux
	The default file I/O library is Posix section 2 on my linux
	machine so I can do some I/O performance testing.

./src/H5C.c
./src/H5Cprivate.h
./src/H5Cpublic.h
	Added ability to set size of indexed-storage B-tree.

./src/H5D.c
./src/H5E.c
./src/H5Epublic.h
./src/H5F.c
./src/H5Fprivate.h
./src/H5G.c
./src/H5Gnode.c
./src/H5Gpkg.h
./src/H5Gprivate.h
./src/H5Gpublic.h
./src/H5Gshad.c
./src/H5Gstab.c
./test/stab.c
	Changed `directory' to `group' in numerous places.

./src/H5private.h
	The FILELIB constant can be set on the compile command-line.

./src/istore.c		     NEW
	Tests for indexed storage.
1997-10-20 18:14:35 -05:00
Quincey Koziol
390f07f7bb [svn-r125] Changed name of dataspace for "entire dataset" read/write from H5P_SCALAR to
H5P_ALL
1997-10-17 18:51:16 -05:00
Quincey Koziol
be8f8b1606 [svn-r122] Added user-level routines H5Pget_lrank and H5Pget_ldims 1997-10-15 13:39:52 -05:00
Quincey Koziol
d861cec6f1 [svn-r121] Simplified fix for seek optimizing. 1997-10-15 13:38:56 -05:00
Quincey Koziol
67e4d2b5f7 [svn-r120] Removed debugging printf's 1997-10-15 13:38:24 -05:00
Robb Matzke
20554bcc96 [svn-r119] Fixed seek optimization problems. 1997-10-15 13:13:53 -05:00
Quincey Koziol
f2257d5c81 [svn-r118] Added H5P_init & H5T_init function calls which can be called to guarantee that
the H5T & H5P interfaces are initialized (from H5D_init_interface)
1997-10-15 11:33:27 -05:00
Quincey Koziol
cdb316b7e0 [svn-r117] Added "seek position caching" code to shared file-records, which trimmed 20%
off the run-time for the current tests.  (4.77s down to 3.89s)
1997-10-08 17:11:46 -05:00
Quincey Koziol
2721bb4758 [svn-r116] Fixed typo which was preventing memory from being free'd 1997-10-08 16:16:27 -05:00
Quincey Koziol
8b66e90352 [svn-r114] Mostly changes to add new parameter to the H5Ainit_group call. The H5D, H5P
& H5T interfaces now share datatypes & dataspaces properly also.
1997-10-08 15:38:12 -05:00
Quincey Koziol
25b702e2be [svn-r113] Added mechanism for reference counting IDs. This is to facilitate sharing
an ID between multiple interfaces in memory.  Changes included adding a
parameter to the H5Ainit_group call for the function to call to free the
structure associated with an ID when its reference count drops to zero and
two new function calls: H5Ainc_ref & H5Adec_ref which increment and decrement
the reference count of IDs.  Its still possible to call H5Aremove_atom on
a ID with multiple references, leaving dangling IDs in memory...
1997-10-08 15:37:02 -05:00
Quincey Koziol
5f027262a5 [svn-r112] Added some symbolic names for '0'. Makes user's code easier to read. 1997-09-26 18:17:38 -05:00
Robb Matzke
0f7fcaad25 [svn-r111] Changed hdf5_file_t to H5F_t, split data struct ito two halves, fixed
problems when opening the same file more than once.
1997-09-24 11:30:22 -05:00
Quincey Koziol
de68722fb9 [svn-r108] Changed all hatom_t types to hid_t. (Isn't 'sed' nifty.. :-) 1997-09-24 10:32:46 -05:00
Robb Matzke
8c8ae76bf5 [svn-r106] Fixed some symbol table bugs. Fixed a free memory read in H5Osdim.c. 1997-09-21 21:08:54 -05:00
Quincey Koziol
0a2c6270ee [svn-r103] Added pointer cast to shut compiler up. 1997-09-19 13:57:12 -05:00
Quincey Koziol
78aac33eb3 [svn-r102] Removed ifdef now that code is working. 1997-09-19 13:48:48 -05:00
Robb Matzke
c956e7e73a [svn-r101] Fixed uninitialized memory read. 1997-09-19 13:11:56 -05:00
Robb Matzke
25d866e9b4 [svn-r100] Interim checkin for purify. Also contains H5G shadow stuff, changes
to int64 encode/decode to fix purify on 32-bit systems, changes to
H5O_modify, changes to H5D.c to use H5F_open/close(), etc.
Documentation will be mailed shortly...
1997-09-19 11:36:59 -05:00
Quincey Koziol
ef8604f348 [svn-r96] Added "atexit" routines to each interface to free buffers allocated during
runtime.  Isolated but can't figure out how to fix bug reported with purify.
1997-09-18 16:06:11 -05:00
Quincey Koziol
ac0b974630 [svn-r95] Tracked down memory bug. 1997-09-18 09:54:22 -05:00
Robb Matzke
0b52a1324e [svn-r94] Removed encode/decode from fast/cache message functions.
Fixed uninitialized bytes appearing in the data file object header.
1997-09-17 10:03:52 -05:00
Robb Matzke
ed49824fe4 [svn-r92] It was quite simple, actually. The H5O_sim_dim_fast() should allocate
space for the result if it gets the null pointer.  See H5O_stab_fast()
for an example.

I notice that some where is something beging freed twice...
1997-09-16 16:37:44 -05:00
Quincey Koziol
85af38c6a1 [svn-r91] Bug fixes for multiple datasets in the file. Interim checkin, theres still
a problem with the simple dimensionality caching.
1997-09-16 15:07:12 -05:00
Robb Matzke
c2212e4c4e [svn-r89] ./src/H5Apublic.h
Removed H5_OID.

./src/H5D.c
	Fixed a few things to work better with symbol tables. Combined
	the H5D_oid_t and H5D_dataset_t structs.

./src/H5Dprivate.c
	Combined the H5D_oid_t and H5D_dataset_t types.

./src/H5M.c
	Removed the callback list for H5_OID.
1997-09-16 13:00:02 -05:00
Robb Matzke
ca22dcc103 [svn-r87] Moved an auto init after the FUNC_ENTER() 1997-09-15 17:20:26 -05:00
Robb Matzke
8656a64d00 [svn-r83] Bug fixed in H5G_namei().
Arg type changes in H5Bprivate.h
Sorted Makefile.in
1997-09-15 14:27:23 -05:00
Quincey Koziol
fec4cf8989 [svn-r81] Finished basic data-type conversions, files are now portably written on most
"normal" architectures.
1997-09-15 14:07:03 -05:00
Quincey Koziol
dcdc0d7dff [svn-r80] Byte-swapping datatype conversion routine added for basic portability of
data files.  Further enhancements will need to be made to support "weird"
architectures.
1997-09-15 14:05:44 -05:00
Quincey Koziol
4dd2b367d5 [svn-r78] Checkpointing dataset code. Everything is currently working, except writing
a second dataset out to the file seems to loose the first one.
1997-09-15 12:54:15 -05:00
Quincey Koziol
cb49ffc7c2 [svn-r75] Added message to write out the location of the dataset data in the file, when
its stored with the "standard" data storage method.  (Missing from checkin
earlier today because I forgot to add it to the CVS repository)
1997-09-12 17:22:13 -05:00
Quincey Koziol
08b00d7bfe [svn-r73] Lots of added code for dataset I/O. Its now writing out datasets to the disk
correctly, but only in "native" format.  I'm adding the data-type conversions
and checking the reading later today.
1997-09-12 10:32:33 -05:00
Robb Matzke
7ead4a900b [svn-r71] Lost my changelog, but basically some new caching functions. 1997-09-10 14:57:56 -05:00
Quincey Koziol
0a379e1cc1 [svn-r70] Added clarifying comments from code review meeting to H5Mflush and H5D_flush. 1997-09-05 14:33:15 -05:00
Quincey Koziol
39fc82dfb4 [svn-r68] Added H5Pset_space routine to set the dimensions of a simple dataspace.
Also tweaked the data structures, and fixed a few bugs.
1997-09-04 08:01:59 -05:00
Quincey Koziol
5ada62f51b [svn-r67] Added DATASET, DATATYPE & DATASPACE major error categories 1997-09-04 08:00:59 -05:00
Quincey Koziol
ad2642eee2 [svn-r66] Removed H5ECLEAR call from H5Epush routine. 1997-09-04 08:00:23 -05:00
Quincey Koziol
a079f8246e [svn-r64] Removed from distribution. 1997-09-02 14:55:00 -05:00
Robb Matzke
ede8b12085 [svn-r62] Fixed a stupidity bug. 1997-09-02 12:56:18 -05:00
Robb Matzke
9d41d3679e [svn-r61] ./src/H5.c
Changed atexit() to HDatexit().

./src/H5AC.c
        Changed qsort() to HDqsort().

./src/H5B.c
        Changed memcmp() to HDmemcmp().

./src/H5E.c
./src/H5M.c
        Added parentheses around indirect function calls so that
        checkposix doesn't complain and to advertise that it's an
        indirect function call.

./src/H5F.c
./src/H5G.c
        Added errors field to each function prologue to test the
        script mentioned above.

./src/H5H.c
        Changed fputc() to HDfputc().

./src/H5MM.c
./src/H5MMprivate.h
        The argument for H5MM_xfree() is a pointer to a constant even
        though the argument to free() isn't.  This reduces the number
        of warnings in other parts of the code but creates a new
        warning in this file.

./src/H5O.c
        Plugged a few memory leaks that happen during error handling.

./src/H5Oname.c
./src/debug.c
        Added `HD' to the beginning of some posix functions.
1997-09-02 10:38:26 -05:00
Quincey Koziol
38a4745563 [svn-r58] Added H5Tget_type and a few minor bug-fixes. 1997-08-29 18:18:35 -05:00
Quincey Koziol
ee40da82df [svn-r57] Fixed bug in "reserved" atoms code which was not actually reserving the
atoms. :-)
1997-08-29 17:38:35 -05:00
Robb Matzke
cbf1f8dbb5 [svn-r55] ./src/H5F.c
Added H5Fflush() and H5F_flush() which flush (and optionally
	invalidate the cache) and flush the file boot block.

	H5Fcreate() calls H5F_flush() to output the boot block.

	H5Fclose() calls H5F_flush() to update the boot block.

	H5F_debug() prints the root symbol table entry.

./src/H5Fpublic.h
	Added H5Fflush() prototype.

./src/H5G.c
	The name message is removed when an object moves from the root
	object position into a directory.

	Added H5G_debug() to print a symbol table entry.  Most of the
	code was just moved from H5G_node_debug().

./src/H5Gnode.c
	Moved some debugging code into H5G_debug().

./src/H5Gprivate.c
	Added H5G_debug() prototype.

./src/H5O.c
	Implemented H5O_remove().

	Added identifiers for H5O_SIM_DIM and H5O_SIM_DTYPE so they
	can be read from files.

	H5O_load() combines adjacent null messages for better memory
	management.

./src/H5Oprivate.h
	Changed minimum header data block size from 16 to 32 bytes.

	Changed prototype for H5O_remove()
1997-08-29 17:23:04 -05:00
Quincey Koziol
39a94b2f53 [svn-r53] Added datatype and dimensionality messages to dataset header, cleaned up more
code, etc.
1997-08-29 14:26:32 -05:00
Robb Matzke
c48f8b7590 [svn-r52] ./src/H5O.c
If the symbol table entry doesn't change then the ent_modified
        argument to H5O_modify() doesn't change.  This allows us to
        set ent_modified to false and then call H5O_modify() a whole
        bunch of times and easily determine if any of the calls
        modified the symbol table entry.

./src/H5D.c
        Fixed caching of things in the symbol table entry using the
        scheme we came up with a couple months ago.
1997-08-29 14:05:50 -05:00
Robb Matzke
9ada2de83a [svn-r50] ./src/H5G.c
Commented out H5G_basename(). Fixed a bug in H5G_namei() and
	H5G_insert().

./src/H5O.c
	Fixed a bug in H5O_modify()
1997-08-29 11:58:58 -05:00
Robb Matzke
969654ce45 [svn-r49] ./src/H5D.c
Changed H5D_flush() to work with the new symbol table
        functions.  I just remembered that caching data in the symbol
        table entries still needs some work, so there's a line in
        there that invalidates the symbol table entry cache.

        Also, there are some comments in there with the word `Quincey'
        for you to read about inserting the messages in the dataset
        object header.
1997-08-28 14:25:10 -05:00