Commit Graph

6681 Commits

Author SHA1 Message Date
Quincey Koziol
7a50d82277 [svn-r4010] Purpose:
Bug Fix
Description:
    uint64_t type was accidentally taken out and was causing tests on DEC
    UNIX to fail.
Solution:
    Brought back uint64_t type.
    Also cleaned up some comments and moved the sec2 specific macros back
    into the sec2 (and log) driver.
Platforms tested:
    DEC UNIX (gondolin)
2001-06-15 23:27:11 -05:00
Pedro Vicente Nunes
4f40cff729 [svn-r4008] remove image and lite 2001-06-15 13:53:49 -05:00
Quincey Koziol
4d9cce57b4 [svn-r4002] Purpose:
Bug fix/code improvement.
Description:
    'all' selections were (ab)using the array reading code and required that
    the internal data transfer buffer size be big enough to hold the an entire
    slab of the data, which was confusing and limiting for users.
Solution:
    Changed 'all' selections to use sequence reading code instead of array
    reading code.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-14 15:11:19 -05:00
Quincey Koziol
3627838234 [svn-r3998] Purpose:
Code cleanup
Description:
    float32 & float64 typedefs are not used in HDF5 library and are causing
    conflicts with Kent's h4toh5 library code.
Solution:
    Take the float32 & float64 typedefs out
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-12 13:54:04 -05:00
Pedro Vicente Nunes
f5a747cc9f [svn-r3995] no message 2001-06-11 22:30:02 -05:00
Quincey Koziol
4d245ec856 [svn-r3993] Purpose:
Bug fix for Pablo integration
Description:
    Several API functions were using FUNC_ENTER, without using FUNC_LEAVE,
    HRETURN or HRETURN_ERROR to leave the function.  (Using "plain" 'return'
    statements instead).
Solution:
    Changed return statements to FUNC_LEAVE, HRETURN or HRETURN_ERROR, as
    appropriate.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-11 17:35:08 -05:00
Quincey Koziol
bea931d73c [svn-r3983] Purpose:
Code cleanups
Description:
    Fixed a small number of warnings and also took out the H5private.h
    header from H5Ppublic.h
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-11 14:53:30 -05:00
Pedro Vicente Nunes
d9348f3763 [svn-r3981] no message 2001-06-11 10:22:28 -05:00
Pedro Vicente Nunes
0aa301010a [svn-r3980] property list modification for image and palette 2001-06-09 00:05:30 -05:00
Pedro Vicente Nunes
30772152e2 [svn-r3977] image 2001-06-08 22:54:37 -05:00
Pedro Vicente Nunes
73b637bcf3 [svn-r3976] modified lite files 2001-06-08 22:49:38 -05:00
Pedro Vicente Nunes
504bc34f60 [svn-r3974] code warrior port 2001-06-07 11:03:02 -05:00
Pedro Vicente Nunes
c8acfbbc75 [svn-r3972] my first HDF5 library commit 2001-06-06 17:40:32 -05:00
Pedro Vicente Nunes
0cab1628f5 [svn-r3971] my first hdf5 library contribution 2001-06-06 17:19:52 -05:00
Pedro Vicente Nunes
bdac44941a [svn-r3970] my first hdf5 library contribution 2001-06-06 16:14:06 -05:00
Quincey Koziol
df707fb967 [svn-r3963] Purpose:
Small code addition
Description:
    Addition logging of seeks during read operations (writes were already
    logging seeks).  Also added a few asserts to check memory allocations...
Platforms tested:
    Solaris 2.6 (baldric)
2001-06-05 18:02:03 -05:00
Albert Cheng
88b91373d6 [svn-r3955] Purpose:
Bug fix
Description:
    This file is not C++ friendly/compliant because the protocols
    are not bracketed by the #ifdef __cplusplus macro.  This was
    discovered by a user attempting to use C++ with enable-parallel.
Solution:
    Though we are not supporting C++ in parallel mode yet, it is
    simple to add the macro bracket.  It would help if C++ is supported
    in the future.
Platforms tested:
    modi4 (64,n32) and eirene (mpich).
2001-06-01 11:18:01 -05:00
Bill Wendling
1c61d72cf1 [svn-r3946] Purpose:
Code Simplification
Description:
    H5Pget_class() was being called from the H5.c module. Changed it so
    that it calls H5P_get_class() instead. Also, the H5Pget_class() and
    H5P_get_class() functions were identical. Changed so that
    H5Pget_class() calls H5P_get_class().
Platforms tested:
    Linux
2001-05-29 10:53:25 -05:00
Albert Cheng
5d1278c077 [svn-r3939] Snapshot version 1.5 release 6
(Somehow snapshot did not commit these files in the last release.)
2001-05-24 22:15:03 -05:00
HDF Admin
408161748f [svn-r3925] Snapshot version 1.5 release 5 2001-05-12 22:34:19 -05:00
Albert Cheng
d3764cd73d [svn-r3916] Purpose:
New feature
Description:
    Added verification of H5_VERS_INFO in H5check_version().
Platforms tested:
    Eirene (linux).
2001-05-12 12:33:27 -05:00
Bill Wendling
09d2a0e719 [svn-r3914] Purpose:
Replace Kludge with Another Kludge
Description:
    The MPI_Get_count function isn't found on most systems. We need to
    replace this with a configure call which checks and defines the macro
    H5_HAVE_MPI_GET_COUNT or something.
Solution:
    If-def'ed out the code for everyone (since H5_HAVE_MPI_GET_COUNT is
    never defined anywhere).
Platforms tested:
    SDSC HP N9000
2001-05-11 17:23:58 -05:00
Albert Cheng
aca9a213a9 [svn-r3911] Purpose:
Cosmetic adjustment
Description:
    Changed Version information from just "HDF5 version ..."
    to "HDF5 library version" since this is really about a
    library implementation.
Platforms tested:
    eirene (used "h5vers -s ..." to see the effect.)
2001-05-11 09:08:27 -05:00
Robb Matzke
67cad00a75 [svn-r3897] ./hdf5/src/H5public.h
Implemented the string version number stuff for Albert.
2001-05-09 16:24:18 Robb Matzke  <matzke@llnl.gov>
	*: Added definition for H5_VERS_INFO, which is a string
	   representation of the hdf5 version number.
2001-05-09 15:34:38 -05:00
Bill Wendling
93129f271e [svn-r3892] Purpose:
Better Mouse Trap^W^WBug Fix
Description:
    Instead of having the large file support stuff be in the
    config/gnu-flags directory, I added it to the configure.in file so
    that it first checks for the syscall ``getdents64()''. If it finds
    it, then it removes the ``-malign-double'' flag if the GCC compiler
    is 2.95.x since this flag doesn't play well with the LFS stuff.
Solution:
    Added test for getdents64(), if found it removes the -malign-double
    flag if the compiler is 2.95.x. This is done in the configure.in
    file. The gnu-flags file is returned to normal. A new field is added
    to the H5config.h.in file because of the getdents64 check.
Platforms tested:
    Linux
2001-05-08 13:42:42 -05:00
HDF Admin
ee5b6b12af [svn-r3889] Snapshot version 1.5 release 4 2001-05-05 22:33:45 -05:00
Quincey Koziol
076efa3382 [svn-r3885] Purpose:
Document bug fix
Description:
    IMPORTANT! IMPORTANT! IMPORTANT!
    A case where metadata in a file could get corrupted in certain unusual
    sitations was detected and fixed.

    In certain circumstances, metadata could get cached in the raw data cache,
    and if that particular piece of metadata was updated on disk while
    incorrectly cached, the new metadata would get overwritten with the stale
    metadata from the raw data cache when it was flushed out.

    Additionally, I've patched up the raw data cache to be smarter about how
    much it caches and how much I/O it triggers, leading to some speedups.

Solution:
    Changed the raw data I/O routines which perform caching to require a
    parameter with the size of the dataset being accessed and limited the
    cache to no more than that many bytes.

Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-05-02 10:04:55 -05:00
Albert Cheng
570a182e6d [svn-r3881] Purpose:
Feature
Description:
    The allocation by alignment (H5Pset_alignment) feature code somehow
    got dropped in some 1.3.x version.
Solution:
    Re-implemented it with "new and improved" algorithm.  It keeps track
    of "wasted" file-fragment in the free-list too.
Platforms tested:
    modi4(parallel).
2001-05-01 14:07:47 -05:00
Bill Wendling
119f3f86f9 [svn-r3877] Purpose:
Update
Description:
    On further discussion with Albert and Quncey, it was decided to keep
    the original "unsignedness" of the nkeys variable.
Solution:
    Changed the type from intn to uintn.
Platforms tested:
    Linux
2001-04-30 17:27:44 -05:00
Bill Wendling
9e9c406eff [svn-r3875] Purpose:
Bug Fix
Description:
    The --enable-static-exec flag was failing on Linux systems. The
    reason: a "long long" type was growing by some obscene amount if you
    just add 1 to it (tis truth!). In one statement, it prints out the
    correct value. Add one to it and print it out in the next statement
    and it gives you a very large number. This would, in turn, cause the
    resulting memcpy to fail...
Solution:
    Changed the variable from "hsize_t" to "intn" which is what the field
    it's getting is typed anyway.
Platforms tested:
    Linux
2001-04-30 14:57:18 -05:00
Quincey Koziol
298276970f [svn-r3832] Purpose:
Bug Fix.
Description:
    Setting a non-zero userblock size was causing raw data caching code to
    break.
Solution:
    Changed from using absolute end-of-address-space offsets in cache size
    calculations to relative offsets.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-04-23 15:04:30 -05:00
Quincey Koziol
e0c96798a5 [svn-r3828] Purpose:
Code cleanup
Description:
    "buf" parameter to H5Awrite was missing 'const' declaration.
Solution:
    Changed from "void *buf" to "const void *buf"
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-04-19 16:48:04 -05:00
MuQun Yang
209dfbd01c [svn-r3799]
Purpose:
     a bug fix
Description:
     forget considering daylight factor for mtime test on windows platform
Solution:
    adding daylight factor in this file
Platforms tested:
    windows 2000, confirmed at eirene
2001-04-11 17:12:22 -05:00
HDF Admin
b32b617837 [svn-r3791] Snapshot version 1.5 release 3 2001-04-07 22:29:24 -05:00
Bill Wendling
5e483d0184 [svn-r3781] Purpose:
Update
Description:
    Changed

        #include <hdf_file.h>

    construct to

        #include "hdf_file.h"

    so that the GNU compiler can more easily pick up the dependencies
    which it places in the .depend and Dependencies files. Also
    regenerated the Dependencies to go along with this.
Platforms tested:
    Linux
2001-04-05 12:29:14 -05:00
HDF Admin
627c7866a1 [svn-r3776] Snapshot version 1.5 release 2 2001-04-04 22:31:40 -05:00
Quincey Koziol
9d597efc99 [svn-r3743] Purpose:
Code cleanup
Description:
    Defined snprintf macro for non-UNIX platform which needed tweak.
Solution:
    Added extra ifdef around snprintf macro to accomodate platform.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-03-31 22:22:48 -05:00
Quincey Koziol
1e38134185 [svn-r3742] Purpose:
Code cleanup
Description:
    ssize_t is not defined on certain (non-UNIX) platforms.
Solution:
    Added steps to configure to generate SIZEOF_SSIZE_T macro and then used
    the new macro to define ssize_t for platforms which don't have it.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-03-31 22:18:01 -05:00
Albert Cheng
6801f8f4c6 [svn-r3741] Purpose:
Improvment
Description:
    H5config.h and H5pubconf.h are generated by configure.  It does
    not have the #ifndef _H5config_H ... #endif guard to prevent
    duplicated definitions if it is included more than once.
    It is messy to try make configure to put in those guards.
Solution:
    HDF5 has set an internal rule that H5public.h includes H5pubconf.h
    and H5private.h includes H5config.h.  Source files should NOT include
    H5config.h or H5pubconf.h directly but include it via H5public.h or
    H5private.h respectively.   The #ifndef ... #endif in the H5public.h
    and H5private.h would prevent repeated definitions from repeated
    include.

    Adjusted H5FDstream.c and H5FDstream.h to follow this rule.
Platforms tested:
    modi4, eirene.
2001-03-31 16:57:04 -05:00
Quincey Koziol
2c97458017 [svn-r3678] Testing commit from Windows CVS client - cleaned up some tabs in this
file.
2001-03-21 09:54:14 -05:00
Albert Cheng
cb876a28a1 [svn-r3677] Purpose:
Bug fix (sort of)
Description:
    The RCSID string in H5public.h was causing the C++ code problem as it
    was included multiple times and C++ did not like multiple definitions
    of the same static variable.
Solution:
    Since we don't really make use of the RCSID strings as we have not
    installed it in all source files, we decided to remove it.
Platforms tested:
    eirene (linux), modi4 (IRIX64-64) both serial and parallel modes.
2001-03-20 16:32:24 -05:00
Quincey Koziol
542362385c [svn-r3653] Purpose:
Bug Fix
Description:
    Partial hyperslabs which exactly fit the size of the lowest dimension of
    a chunked dataset weren't being output correctly.
Solution:
    Forgot to divide the offset (seq_len) by the size of the lower dimension
    hyperslabs - fixed now.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-03-17 07:35:46 -05:00
Bill Wendling
aa99c5d5a5 [svn-r3640] Purpose:
Bug Fix
Description:
    For some reason, the H5FDstream.h file was defined not once, not
    twice, but three whole times in the install part...
Solution:
    Removed all but one of those.
2001-03-15 12:17:30 -05:00
HDF Admin
2c4afcd66d [svn-r3603] Snapshot version 1.5 release 1 2001-03-10 02:02:38 -05:00
Quincey Koziol
ca757b033f [svn-r3559] Purpose:
C++ compatibility fix
Description:
    'delete' is a reserved word in C++
Solution:
    Change structure member named 'delete' into 'del'
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-03-08 11:29:22 -05:00
HDF Admin
e18749d7ac [svn-r3530] Snapshot version 1.5 release 0 2001-03-01 07:00:30 -05:00
Quincey Koziol
a4270d9aba [svn-r3528] Purpose:
Bug fix.
Description:
    Fencepost error in determining number of elements to include in a
    partial hyperslab for a chunk.
Solution:
    Changed "<down_size[i]"s into "<=down_size[i]"s in a few places, to allow
    for exactly one slab being left to output/input.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-02-28 15:54:57 -05:00
Quincey Koziol
3095b7b7ed [svn-r3520] Purpose:
Code checkpoint
Description:
    Checkpointing generic property code before removing the older [non-generic]
    property list implementation and switching all the property lists to use
    the generic code.

    Generic properties are feature complete and as fully tested as I can
    determine.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-02-27 17:26:23 -05:00
Quincey Koziol
4f098115dc [svn-r3479] Purpose:
Bug Fixes
Description:
    Fixed a bug in H5Shyper.c where 'contiguous' hyperslabs (i.e. ones which
    took up an entire dataset) were not being detected correctly and would
    instead be read a part at a time instead of all at once.

    Also fixed a bug in the handling of hyperslabs for chunked datasets where
    hyperslabs from chunks which weren't aligned on exact dimension bounaries
    were not reading/writing data correctly.
Solution:
    H5Shyper.c was a single line change from a 'block' size to a 'count' size.

    H5Fseq.c changes we much more significant and involved detecting when
    non-chunk aligned sequences of data were being written and constructing
    hyperslab blocks to pass down to the chunking I/O routine (which only
    understand hyperslab I/O requests, not element sequence requests).
    This was complicated by the need to align the hyperslabs requested on
    dimension boundaries...

Platforms tested:
    FreeBSD 4.2. (hawkwind)
2001-02-21 16:25:27 -05:00
Quincey Koziol
71abf6c00e [svn-r3398] Purpose:
Update the version number after the tree split.
2001-02-09 20:25:52 -05:00