Commit Graph

96 Commits

Author SHA1 Message Date
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
c7ee2a5708 [svn-r93] *** empty log message *** 1997-09-17 10:02:43 -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
932ec25e54 [svn-r90] ./test/th5d.c
Changed the H5Mfind_name() return value and removed the call
	to H5Maccess().

./test/th5p.c
	Removed unused variables.
1997-09-16 13:00:22 -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
a072c7ee66 [svn-r88] Fixed an error check. 1997-09-15 17:21:15 -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
14af56fff4 [svn-r86] install fails with a better error message 1997-09-15 17:20:04 -05:00
Robb Matzke
6d698b63c2 [svn-r85] Cleared up some things. 1997-09-15 17:19:40 -05:00
Robb Matzke
85449cbd18 [svn-r84] Arg sizes fixes in tfile.c
Name change in th5d.c
1997-09-15 14:28:06 -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
Robb Matzke
0cd492bb8e [svn-r82] *** empty log message *** 1997-09-15 14:26:24 -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
fa71cbdf8e [svn-r79] Finishing adding dataset reading code, which is working nicely. Test for
second dataset I/O is currently commented out, pending a fix.
1997-09-15 12:54:53 -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
9e1e3eadbe [svn-r77] Fixed mis-sized parameter passed to H5Cgetparm for offsets and lengths. This
affected primarily big-endian architecture.
1997-09-15 10:14:28 -05:00
Quincey Koziol
da974328a7 [svn-r76] Added dataset testing code to CVS repository. (Forgotten in the hubbub earlier
today)
1997-09-12 17:23:17 -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
6f6d45e894 [svn-r74] Added rudimentary dataset testing code. More coming later today... 1997-09-12 10:33:07 -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
2a7ec85d6b [svn-r72] *** empty log message *** 1997-09-10 14:58:12 -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
e58abf2a42 [svn-r69] Added basic H5P test code, which seems to be working correctly. 1997-09-04 08:03:31 -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
7ad71c04d4 [svn-r65] Removed Makefile from distribution, started added dataspace test routines. 1997-09-02 14:55:24 -05:00
Quincey Koziol
a079f8246e [svn-r64] Removed from distribution. 1997-09-02 14:55:00 -05:00
Robb Matzke
81f93ab2d7 [svn-r63] *** empty log message *** 1997-09-02 12:56:30 -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
Robb Matzke
07dacb9486 [svn-r60] ./bin/checkposix NEW
Perl script that looks for Posix functions that haven't been
        protected by adding `HD' to the beginning of the name.  It
        takes a list of .c file names as arguments.

./bin/errors                    NEW
        A filter that takes a function prologue and function body as
        standard input and updates the error list in the prologue
        based on the function body.  You must add the `ERRORS' or
        `Errors:' field to the prologue before you pass it through
        this filter or else the errors come out as a separate
        comment.  The errors field must be terminated with a blank
        line in the prologue so we know where the end is.

        I may enhance this in the future to take an entire file as
        standard input instead of individual functions.
1997-09-02 10:37:49 -05:00
Quincey Koziol
064648a1f6 [svn-r59] Added [basic] testing for H5T interface, which appears to be working well. 1997-08-29 18:19:22 -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
ec80e5939f [svn-r56] ./test/tohdr.c
Testing H5O_remove() and H5O_load().

./test/tstab.c
	Uncommented call to H5O_read() since H5O_remove() is
	implemented now.
1997-08-29 17:23:22 -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
3ea316ff54 [svn-r54] *** empty log message *** 1997-08-29 14:26:45 -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
3d526ab6cb [svn-r51] ./test/tstab.c
./test/tohdr.c
./test/tmeta.c
./test/theap.c
./test/tfile.c
./test/testhdf5.h
./test/testhdf5.c
	Changed the MESSAGE macro so it doesn't have a semicolon
	inside the argument list and automatic indentation tools work
	better.

	Old call:  MESSAGE (5, printfunc("foo%s %d", s, i););
        New call:  MESSAGE (5, ("foo%s %d", s, i));

	The parentheses are required.

./test/tstab.c
	Added more tests.
1997-08-29 11:59:28 -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
Quincey Koziol
1fa56d8b29 [svn-r48] Fixed H5Cgetparm tests to use uint8 for the offset and length parameters. 1997-08-28 12:15:18 -05:00
Quincey Koziol
a39e0ef324 [svn-r47] Finished flashing out the H5M* functions calls. Cleaned up non-compiling
source.  Finished adding in remainder of H5Osdtyp.c functions.
1997-08-28 12:14:35 -05:00