summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r136] ./MANIFESTRobb Matzke1997-11-1437-1363/+2823
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./src/Makefile.in Added H5Ffamily.c and H5Fsplit.c ./src/H5B.c ./src/H5Bprivate.h ./src/H5Gnode.c Added `const' to sublass arguments. ./src/H5F.c ./src/H5Flow.c ./src/H5Fsec2.c Make sure file buffers get flushed during a call to H5Fflush(). Check for overflow in address encoding and decoding. ./src/H5Ffam.c ./src/H5Fprivate.c ./test/istore.c Implementation of file families so 32-bit machines can access 64-bit files. ./src/H5Oprivate.h Removed H5O_NO_ADDR constant. ./config/freebsd2.2.1 ./config/linux Added -DH5G_DEBUG and -DH5F_DEBUG to the list of debugging flags. ./html/H5.format.html Changed some <offset>-sized things to <length>-sized things. ./src/H5AC.c ./src/H5ACprivate.h ./src/H5B.c ./src/H5Bprivate.h ./src/H5C.c ./src/H5D.c ./src/H5F.c ./src/H5Fcore.c ./src/H5Fistore.c ./src/H5Flow.c ./src/H5Fprivate.h ./src/H5Fsec2.c ./src/H5Fstdio.c ./src/H5G.c ./src/H5Gent.c ./src/H5Gnode.c ./src/H5Gpkg.h ./src/H5Gprivate.h ./src/H5Gshad.c ./src/H5Gstab.c ./src/H5H.c ./src/H5Hprivate.h ./src/H5MF.c ./src/H5MFprivate.h ./src/H5O.c ./src/H5Ocont.c ./src/H5Oistore.c ./src/H5Oprivate.h ./src/H5Ostab.c ./src/H5Ostdst.c ./src/H5pivate.h ./src/debug.c ./test/istore.c ./test/theap.c ./test/tohdr.c ./test/tstab.c Lots of changes caused by generalizing addresses. The haddr_t is now a struct, so you can no longer perform arithmetic on it. But since it's small, simple, and often used, storage is allocated like with an integer. But we always pass them around by reference. That is, when using an address in another struct, allocate space: struct my_struct { char *name; haddr_t address; } x; But when passing it to a function, pass by reference: H5F_addr_print (stderr, &(x.address)); Addresses should be initialized with H5F_addr_undef (&(x.address)); Functions for operating on addresses are in H5Flow.c and begin with H5F_addr_... Functions never return haddr_t or haddr_t*; they always pass them through arguments instead. A function that returns an address through an argument does so with its last argument and it is marked with `/*out*/'. Calls to such functions also mark output-only arguments with `/*out*/' ./src/H5Fsplit.c (new) A two-member family where all meta data goes in the first member and all raw data goes in the second member. ./src/H5B.c ./src/H5D.c ./src/H5F.c ./src/H5Ffamily.c ./src/H5Fistore.c ./src/H5Flow.c ./src/H5Fprivate.h ./src/H5Fsec2.c ./src/H5Fstdio.c ./src/H5Gnode.c ./src/H5H.c ./src/H5MF.c ./src/H5MFprivate.h ./src/H5O.c Differentiate between meta data storage and raw data storage. Provide a mechanism so that the file driver can extend the file to allocate more memory. ./src/H5E.c ./src/H5Epublic.c Added the error H5E_TRUNCATED to be reported when the file is shorter than the length recorded in the boot block. ./src/H5F.c Added H5F_locate_signature() so we only do it in one place now. ./INSTALL ./INSTALL_MAINT Just a couple clarifications. ./html/ExternalFiles.html ./html/storage.html Documents how external files work. ./test/hyperslab.c ./test/istore.c Fixed printf's on 64-bit machines. ./test/istore.c Added ifdef's to test the split file driver.
* [svn-r135] ./config/linuxRobb Matzke1997-11-0717-258/+673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./config/freebsd2.2.1 Rewritten to be more flexible. ./src/H5AC.c ./src/H5ACprivate.h ./src/H5F.c ./src/H5H.c ./src/H5Gpkg.h ./src/H5Gshad.c ./src/H5O.c ./test/istore.c ./test/tstab.c Accumulates cache statistics and displays the results on stderr when the file is closed if it was opened with H5F_ACC_DEBUG passed into H5F_open() ./src/H5B.c ./src/H5Bprivate.h ./src/H5Fistore.c ./src/H5Gnode.c Added more debugging which is turned on if H5B_DEBUG is defined on the compile command (see config/linux). Fixed a couple of bugs with left insertions which are used by the indexed storage stuff. ./src/H5Flow.c Fixed a memory leak. ./src/H5Fprivate.h Fixed warnings about shifting more than size of object. ./src/H5Fstdio.c Fixed seek optimizations back to the way Quincey originally had them. ./src/H5V.c Removed unused variables.
* [svn-r134] Changes since 19971023Robb Matzke1997-10-247-32/+414
| | | | | | | | | | | | | | | | | | | | | | ---------------------- ./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.
* [svn-r133] ./MANIFESTRobb Matzke1997-10-2214-384/+1228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./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.
* [svn-r130] Functions for vectors, arrays, hyperslabs, strides, ...Robb Matzke1997-10-202-0/+759
|
* [svn-r129] Changes since 19970916Robb Matzke1997-10-2033-514/+2943
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./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.
* [svn-r125] Changed name of dataspace for "entire dataset" read/write from ↵Quincey Koziol1997-10-171-4/+4
| | | | | | H5P_SCALAR to H5P_ALL
* [svn-r122] Added user-level routines H5Pget_lrank and H5Pget_ldimsQuincey Koziol1997-10-153-10/+143
|
* [svn-r121] Simplified fix for seek optimizing.Quincey Koziol1997-10-151-13/+1
|
* [svn-r120] Removed debugging printf'sQuincey Koziol1997-10-151-7/+0
|
* [svn-r119] Fixed seek optimization problems.Robb Matzke1997-10-151-6/+33
|
* [svn-r118] Added H5P_init & H5T_init function calls which can be called to ↵Quincey Koziol1997-10-155-0/+59
| | | | | | guarantee that the H5T & H5P interfaces are initialized (from H5D_init_interface)
* [svn-r117] Added "seek position caching" code to shared file-records, which ↵Quincey Koziol1997-10-082-8/+36
| | | | | | trimmed 20% off the run-time for the current tests. (4.77s down to 3.89s)
* [svn-r116] Fixed typo which was preventing memory from being free'dQuincey Koziol1997-10-081-2/+2
|
* [svn-r114] Mostly changes to add new parameter to the H5Ainit_group call. ↵Quincey Koziol1997-10-089-80/+306
| | | | | | The H5D, H5P & H5T interfaces now share datatypes & dataspaces properly also.
* [svn-r113] Added mechanism for reference counting IDs. This is to ↵Quincey Koziol1997-10-083-5/+136
| | | | | | | | | | | 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...
* [svn-r112] Added some symbolic names for '0'. Makes user's code easier to read.Quincey Koziol1997-09-264-1/+6
|
* [svn-r111] Changed hdf5_file_t to H5F_t, split data struct ito two halves, fixedRobb Matzke1997-09-2427-904/+1201
| | | | problems when opening the same file more than once.
* [svn-r108] Changed all hatom_t types to hid_t. (Isn't 'sed' nifty.. :-)Quincey Koziol1997-09-2421-231/+231
|
* [svn-r106] Fixed some symbol table bugs. Fixed a free memory read in H5Osdim.c.Robb Matzke1997-09-2217-1185/+1778
|
* [svn-r103] Added pointer cast to shut compiler up.Quincey Koziol1997-09-191-1/+1
|
* [svn-r102] Removed ifdef now that code is working.Quincey Koziol1997-09-191-2/+0
|
* [svn-r101] Fixed uninitialized memory read.Robb Matzke1997-09-194-17/+11
|
* [svn-r100] Interim checkin for purify. Also contains H5G shadow stuff, changesRobb Matzke1997-09-1928-628/+1418
| | | | | | 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...
* [svn-r96] Added "atexit" routines to each interface to free buffers ↵Quincey Koziol1997-09-1817-37/+300
| | | | | | allocated during runtime. Isolated but can't figure out how to fix bug reported with purify.
* [svn-r95] Tracked down memory bug.Quincey Koziol1997-09-183-3/+6
|
* [svn-r94] Removed encode/decode from fast/cache message functions.Robb Matzke1997-09-174-102/+86
| | | | Fixed uninitialized bytes appearing in the data file object header.
* [svn-r92] It was quite simple, actually. The H5O_sim_dim_fast() should allocateRobb Matzke1997-09-161-11/+7
| | | | | | | 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...
* [svn-r91] Bug fixes for multiple datasets in the file. Interim checkin, ↵Quincey Koziol1997-09-165-5/+7
| | | | | | theres still a problem with the simple dimensionality caching.
* [svn-r89] ./src/H5Apublic.hRobb Matzke1997-09-164-287/+208
| | | | | | | | | | | | | | 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.
* [svn-r87] Moved an auto init after the FUNC_ENTER()Robb Matzke1997-09-151-1/+4
|
* [svn-r83] Bug fixed in H5G_namei().Robb Matzke1997-09-155-18/+36
| | | | | Arg type changes in H5Bprivate.h Sorted Makefile.in
* [svn-r81] Finished basic data-type conversions, files are now portably ↵Quincey Koziol1997-09-154-7/+55
| | | | | | written on most "normal" architectures.
* [svn-r80] Byte-swapping datatype conversion routine added for basic ↵Quincey Koziol1997-09-151-0/+131
| | | | | | | portability of data files. Further enhancements will need to be made to support "weird" architectures.
* [svn-r78] Checkpointing dataset code. Everything is currently working, ↵Quincey Koziol1997-09-158-16/+206
| | | | | | except writing a second dataset out to the file seems to loose the first one.
* [svn-r75] Added message to write out the location of the dataset data in the ↵Quincey Koziol1997-09-121-0/+259
| | | | | | | 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)
* [svn-r73] Lots of added code for dataset I/O. Its now writing out datasets ↵Quincey Koziol1997-09-1214-137/+365
| | | | | | | to the disk correctly, but only in "native" format. I'm adding the data-type conversions and checking the reading later today.
* [svn-r71] Lost my changelog, but basically some new caching functions.Robb Matzke1997-09-1015-521/+1723
|
* [svn-r70] Added clarifying comments from code review meeting to H5Mflush and ↵Quincey Koziol1997-09-052-4/+7
| | | | H5D_flush.
* [svn-r68] Added H5Pset_space routine to set the dimensions of a simple ↵Quincey Koziol1997-09-043-12/+163
| | | | | | dataspace. Also tweaked the data structures, and fixed a few bugs.
* [svn-r67] Added DATASET, DATATYPE & DATASPACE major error categoriesQuincey Koziol1997-09-041-1/+4
|
* [svn-r66] Removed H5ECLEAR call from H5Epush routine.Quincey Koziol1997-09-041-1/+3
|
* [svn-r64] Removed from distribution.Quincey Koziol1997-09-021-227/+0
|
* [svn-r62] Fixed a stupidity bug.Robb Matzke1997-09-021-1/+1
|
* [svn-r61] ./src/H5.cRobb Matzke1997-09-0213-135/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r58] Added H5Tget_type and a few minor bug-fixes.Quincey Koziol1997-08-292-7/+102
|
* [svn-r57] Fixed bug in "reserved" atoms code which was not actually ↵Quincey Koziol1997-08-291-1/+1
| | | | | | reserving the atoms. :-)
* [svn-r55] ./src/H5F.cRobb Matzke1997-08-297-123/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()
* [svn-r53] Added datatype and dimensionality messages to dataset header, ↵Quincey Koziol1997-08-299-54/+286
| | | | | | cleaned up more code, etc.
* [svn-r52] ./src/H5O.cRobb Matzke1997-08-292-24/+46
| | | | | | | | | | | | 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.