| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The H5D, H5P
& H5T interfaces now share datatypes & dataspaces properly also.
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
| |
|
|
|
|
| |
problems when opening the same file more than once.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
| |
allocated during
runtime. Isolated but can't figure out how to fix bug reported with purify.
|
| |
|
|
|
|
| |
Fixed uninitialized bytes appearing in the data file object header.
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
| |
theres still
a problem with the simple dimensionality caching.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Arg type changes in H5Bprivate.h
Sorted Makefile.in
|
|
|
|
|
|
| |
written on most
"normal" architectures.
|
|
|
|
|
|
|
| |
portability of
data files. Further enhancements will need to be made to support "weird"
architectures.
|
|
|
|
|
|
| |
except writing
a second dataset out to the file seems to loose the first one.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
to the disk
correctly, but only in "native" format. I'm adding the data-type conversions
and checking the reading later today.
|
| |
|
|
|
|
| |
H5D_flush.
|
|
|
|
|
|
| |
dataspace.
Also tweaked the data structures, and fixed a few bugs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
reserving the
atoms. :-)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()
|
|
|
|
|
|
| |
cleaned up more
code, etc.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Commented out H5G_basename(). Fixed a bug in H5G_namei() and
H5G_insert().
./src/H5O.c
Fixed a bug in H5O_modify()
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
non-compiling
source. Finished adding in remainder of H5Osdtyp.c functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I commented out a bunch of code in H5D_flush() so I could
compile and link the test cases. If you commit your changes
to that file, whatever they may be, I'll change H5D_flush() to
use the new directory functions described below...
./src/H5G.c
H5G_namei()
-----------
Understands files without directories. The root object
(directory or not) can be found by asking for `/' (or any
equivalent absolute or relative name like `/.//.///' or
`.//.///' (if the cwd is the root)) or by name like `/foo' (or
any other equivalent absolute or relative name) if the object
has a name message with the value `foo'. This function is
used by most of the other H5G functions so they now understand
directory-less files too.
H5G_new()
---------
Creates the root directory implicitly if it doesn't already
exist, moving any previous non-directory root object into the
new root directory before creating the requested directory
within the root. The creation of the root directory happens
first, regardless of whether the requested directory creation
succeeds. Once the root directory is created it never
disappears even if the file later has only one object. This
"feature" can be used to force a file to have a root directory
by saying something like:
H5G_new (..., "/", ...);
H5ECLEAR; /*we don't care about the H5E_EXISTS failure*/
The H5G_new() in the previous example fails because the root
directory is created implicitly before we attempt to create
the requested "/" directory.
H5G_find()
----------
Understands files without directories. If there is no root
object then this function is guaranteed to fail even if the
request is for `/'. As mentioned for H5G_namei(), the root
object can be retrieved with `/' or `/foo' (or equivalent
absolute or relative names).
H5G_insert()
------------
Understands files without directories and attempts to create
such files when there is only one object. The root symbol
table is created implicitly when necessary.
A root object can be given a name message by the caller and
then inserted with the name `/' or it can be inserted with
the name `/foo' in which case H5G_insert() will set the name
message to `foo'.
H5G_modify()
------------
Understands files without directories.
./src/H5Fprivate.h
Removed the root_type field from hdf5_file_t.
./src/H5Fprivate.h
./src/H5F.c
Removed H5F_root_type()
./src/H5Fpublic.h
Removed H5F_root_symtype_t.
./src/H5Oprivate.h
./src/H5O.c
Added H5O_remove() which is currently a no-op.
|
| |
|
| |
|
|
|
|
| |
uint8
|
| |
|
|
|
|
|
| |
error checking on atom group of template in both funcs
range checking of parameters in H5Csetparm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
./src/H5Aproto.h
./src/H5Bproto.h
./src/H5Cproto.h
./src/H5Dproto.h
./src/H5Eproto.h
./src/H5Fproto.h
./src/H5Gproto.h
./src/H5Hproto.h
./src/H5MFproto.h
./src/H5MMproto.h
./src/H5Mproto.h
./src/H5Oproto.h
./src/H5Pproto.h
./src/H5Tproto.h
./src/H5proto.h
These files were removed from the library and renamed by
changing `proto' to `public'.
./src/H5ACpublic.h NEW
./src/H5Apublic.h NEW
./src/H5Bpublic.h NEW
./src/H5Cpublic.h NEW
./src/H5Dpublic.h NEW
./src/H5Epublic.h NEW
./src/H5Fpublic.h NEW
./src/H5Gpublic.h NEW
./src/H5Hpublic.h NEW
./src/H5MFpublic.h NEW
./src/H5MMpublic.h NEW
./src/H5Mpublic.h NEW
./src/H5Opublic.h NEW
./src/H5Ppublic.h NEW
./src/H5Tpublic.h NEW
./src/H5public.h NEW
These files came from the old H5*proto.h files.
./src/Makefile
./src/Makefile.in NEW
Removed. Now generated automatically from Makefile.in by
running configure.
./src/h5oplat.h
./src/hdf5fort.h
./src/hdf5gen.h
./src/hdf5glob.h
./src/hdf5lims.h
./src/hdf5meta.h
./src/hdf5pabl.h
./src/hdf5plat.h
./src/hdf5port.h
./src/hdf5type.h
Removed. The contents of these files has moved to other
header files or source files depending on it's nature.
./src/H5.c
./src/H5A.c
./src/H5B.c
./src/H5C.c
./src/H5D.c
./src/H5E.c
./src/H5F.c
./src/H5G.c
./src/H5H.c
./src/H5M.c
./src/H5MF.c
./src/H5MM.c
./src/H5O.c
./src/H5Ocont.c
./src/H5Oname.c
./src/H5Onull.c
./src/H5Ostab.c
./src/H5P.c
./src/H5T.c
Fixed include files. Moved some things from old headers into
these files.
./src/H5ACprivate.h
./src/H5Aprivate.h
./src/H5Bprivate.h
./src/H5Cprivate.h
./src/H5Dprivate.h
./src/H5Eprivate.h
./src/H5Fprivate.h
./src/H5Gprivate.h
./src/H5Hprivate.h
./src/H5MFprivate.h
./src/H5MMprivate.h
./src/H5Mprivate.h
./src/H5Oprivate.h
./src/H5Pprivate.h
./src/H5Tprivate.h
./src/H5private.h
./src/debug.c
Fixed include files.
./src/hdf5.h
This is now the top-level *PUBLIC* include file. It should
never appear in the library *.c files.
|
|
|
|
|
|
| |
H5D calls
to use them.
|
|
|
|
|
|
| |
source code
rearrangement.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
./src/H5Bprivate.h
The B-tree K value comes from a combination of the B-tree
subclass and the file.
./src/H5C.c
./src/H5F.c
./src/hdf5lims.h
./src/hdf5type.h
Removed the B-tree size parameter and added an array of B-tree
K values. Also added symbol table node K value.
./src/H5Eprivate.h
./src/H5Eproto.h
Added H5E_LINK for errors involving link counts.
./src/H5G.c
Inserting something into a directory with H5G_insert()
increments the link count in the object header. The root
object should always have a link count of at least 1.
./src/H5Gnode.c
./src/H5Gprivate.h
The symbol table node K value comes from the file instead of
being a constant.
./src/H5Olink.c
Added an assert(), fixed a hard-link bug.
|