1091 Commits

Author SHA1 Message Date
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
Quincey Koziol
9461e68750 [svn-r3384] Purpose:
Bug Fix
Description:
    The 'carry' variable in the general floating point-to-floating point
    conversion routine wasn't getting initialized correctly and was causing
    problems while converting certain sequences of floating point numbers
    on the Cray SV1.
Solution:
    Added 'else carry=0;' line to always reset the carry variable to a known
    value.
Platforms tested:
    Cray SV1 (killeen)
2001-02-09 11:00:45 -05:00
Elena Pourmal
8603132b2a [svn-r3371] Snapshot version 1.4 release 0 (beta3-pre4) 2001-02-06 14:20:45 -05:00
Quincey Koziol
3ad685f720 [svn-r3364] Purpose:
Bug fix
Description:
    Fix typo in variable name
Platforms tested:
    Eyeballed...
2001-02-05 16:50:03 -05:00
Robb Matzke
5fa7f93263 [svn-r3346] ./hdf5-1.4/src/H5Tconv.c
2001-02-03 00:19:25 Robb Matzke  <matzke@llnl.gov>
	* H5T_conv_f_f: Fixed a bug where I had forgotten to increment the floating-point
	   exponent if rounding the significand resulted in a
	   carry. Thanks to Guillaume Colin de Verdiere for
	   finding this one!
2001-02-02 23:38:09 -05:00
Albert Cheng
51bd03c8a5 [svn-r3325] Snapshot version 1.4 release 0 (beta3-pre3) 2001-01-25 10:07:40 -05:00
HDF Rational
5eea321433 [svn-r3319] Purpose:
Bug Fix
Description:
    Generic property code was leaking memory when removing a property from a
    property list class in certain situations.
Solution:
    Remove property correctly from class in all situations.
Platforms tested:
    Solaris 2.7 (arabica)
2001-01-22 13:32:01 -05:00
Quincey Koziol
69d8435cd1 [svn-r3317] Purpose:
Bug Fix
Description:
    Fix definition of strdup on Windows machines.
Solution:
    Merged duplicate definitions into one cohesive block of definitions.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-22 11:20:39 -05:00
Albert Cheng
2d6134ecc7 [svn-r3315] Snapshot version 1.4 release 0 (beta3-pre2) 2001-01-19 18:14:51 -05:00
Quincey Koziol
7921315a33 [svn-r3304] Purpose:
Code update
Description:
    Remove ragged array code & tests from library before release.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-18 18:30:23 -05:00
Quincey Koziol
7c8547ed04 [svn-r3302] Purpose:
Bug fix
Description:
    Certain combinations of hyperslabs, especially those that have to be
    strip-mined during I/O were causing data to be incorrectly transferred.
Solution:
    Changed the code in H5S_get_hyper_regions to be more careful about the
    regions of the current dimension that are valid.  Sometimes, regions which
    had already been iterated through were being re-processed.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-18 17:01:17 -05:00
Albert Cheng
90b49bef14 [svn-r3291] Snapshot version 1.4 release 0 (beta3-pre1) 2001-01-12 20:56:28 -05:00
Albert Cheng
5bee87e561 [svn-r3290] Changed H5_VERS_SUBRELEASE to identify this as beta3-pre-release1. 2001-01-12 20:14:24 -05:00
Albert Cheng
ef62ea5855 [svn-r3288] Purpose:
Bug fix (sort of)
    (H5FDgass.c: just deleted an old code. Nothing to do with this fix.)
Description:
    When --enable-debug=all was used, couple routine printf warnings
    to stderr that it is an expensive operation.  This messed up
    the testing of h5ls since it included stderr output in its expected
    output and did not expect the extra messages.
Solution:
    Changed it such that the extra messages are printed only
    if the appropriate h5-debug-class setting is on (via environment
    variables, for example).
Platforms tested:
    eirene (debug=all), modi4(parallel,-64,default configure).
2001-01-12 18:30:45 -05:00
Quincey Koziol
cd8d9e2460 [svn-r3283] Purpose:
Suppress warnings for release.
Description:
    Always declare strdup as extern, figure out way to avoid warnings later.
Platforms tested:
    Linux 2.2.16 (eirene)
2001-01-12 15:00:01 -05:00
Quincey Koziol
093c2fea18 [svn-r3280] Purpose:
Bug fix
Description:
    Datasets were allowed to be created with chunks larger than the maximum
    dimension for each dimension.
Solution:
    Compare chunk sizes against maximum dimensions and reject dataset creations
    which have chunks too large for the dimensions in the dataspace.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-12 14:56:59 -05:00
MuQun Yang
7785cbd55b [svn-r3274]
Purpose:
   Arrange codes for avoiding windows warnings
Description:
Solution:
    put windows including header files into H5private.h
Platforms tested:
    win 2000, confirmed at eirene
2001-01-12 01:43:04 -05:00
MuQun Yang
df0b3ecd5b [svn-r3273]
Purpose:
    Avoid windows warnings
Description:
Solution:
    put some windows specified headers into this file
Platforms tested:
     Win 2000, confirmed by eirene
2001-01-12 01:41:11 -05:00
Quincey Koziol
19d1f30101 [svn-r3268] Purpose:
Code cleanup for C++
Description:
    'xor' is a keyword in C++, causing problems compiling the library with a
    C++ compiler.
Solution:
    Change variables and structure fields from 'xor' to 'xor_val'
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-11 11:52:16 -05:00
HDF Admin
c90117cdf1 [svn-r3258] Snapshot version 1.4 release 0 (beta3-snap0) 2001-01-10 10:31:42 -05:00
Albert Cheng
cd864ac9d3 [svn-r3256] Purpose:
Typo fix and comment
Description:
    The FUNC_ENTER of H5FD_mpio_flush had a wrong function name.  Corrected
    it.  Also filled in the missing original author name.
    Added a 'this is collective.' to all collective functions.
Platforms tested:
    It was just editing.  Can't go wrong. :-)
2001-01-10 02:14:43 -05:00
Bill Wendling
757525241d [svn-r3255] Purpose:
Bug fix
Description:
    Type-o
Solution:
    uint should be uintn
2001-01-09 18:25:49 -05:00
Quincey Koziol
35bc545296 [svn-r3252] Purpose:
Code cleanup.
Description:
    Fixed _lots_ (I mean _tons_) of warnings spit out by the gcc with the
    extra warnings.  Including a few show-stoppers for compression on IRIX
    machines.
Solution:
    Changed lots of variables' types to more sensible and consistent types,
    more range-checking, more variable typecasts, etc.
Platforms tested:
    FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
2001-01-09 16:22:30 -05:00
Albert Cheng
9ef8504014 [svn-r3243] Purpose:
Bug fix
Description:
    H5P_DATASET_XFER was the name from the beginning through 1.2.  It was
    changed to H5P_DATA_XFER on v1.3.0.  Then it was changed back to
    H5P_DATASET_XFER right before the release of v1.4.0-beta2.
    Define an alias here to help applications that had ported to v1.3.
    Should be removed in later version.
    #define H5P_DATA_XFER H5P_DATASET_XFER

    Also removed the v1_2 compat condition since it is a v1.3 compat
    issue now.
Platforms tested:
    modi4 -64 parallel.
2001-01-06 10:45:01 -05:00
MuQun Yang
2291dc4b3f [svn-r3241]
Purpose:
    several warning and bug fix for windows
Description:
    different system calls on windows
Solution:
    for win32, use only those system calls
Platforms tested:
    windows 2000
2001-01-04 18:50:41 -05:00
MuQun Yang
4fea67be25 [svn-r3240]
Purpose:
    a warning fix for windows
Description:
Solution:
Platforms tested:
     windows 2000
2001-01-04 18:48:48 -05:00
Quincey Koziol
2725a29b0e [svn-r3236] Purpose:
Clean up code.
Description:
    Cleaned up various compiler warnings.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-03 20:31:33 -05:00
MuQun Yang
84143803b2 [svn-r3233]
Purpose:
    a bug fix
Description:
    delete the line for unused defined variables on windows.
Solution:
     delete the line.
Platforms tested:
     windows 2000
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2001-01-03 18:38:13 -05:00
MuQun Yang
01840369e2 [svn-r3232]
Purpose:
    a bug fix
Description:
    Get rid of warning information for comments on windows(**/* */)
Solution:
     add a space between ** and /*. Now it is ** /*
Platforms tested:
    windows 2000
2001-01-03 18:36:30 -05:00
Quincey Koziol
af7a2fa629 [svn-r3231] Purpose:
Improved debugging output
Description:
    Added a little more descriptive information to the output for h5debug
    when debugging B-trees in the file.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-03 16:24:32 -05:00
Quincey Koziol
c3be99abb1 [svn-r3228] Purpose:
Bug fixes
Description:
    Fix two bugs:
        - Datasets with vlen datatype which were created but not written to
            were not being read back in correctly from the file.
        - If an existing space conversion path was found for a conversion, it
            was possible that the optimized read/write routines would be used
            inappropriately.
Solution:
    Patched vlen datatype conversion code to correctly handle zero-length
    sequences.

    Added a check to the space conversion code to make certain that the
    optimized conversion routines are still appropriate when an existing
    path is found.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-03 13:32:49 -05:00
Robb Matzke
e6af68a029 [svn-r3226] ./hdf5/src/H5FL.c
2000-12-29 14:13:43 Robb Matzke  <matzke@llnl.gov>
	*: Removed API tracing code from internal functions.
2000-12-29 13:35:30 -05:00
Robb Matzke
0ac6ad10bd [svn-r3225] ./hdf5/src/H5FDstream.c
2000-12-29 08:59:03 Robb Matzke  <matzke@llnl.gov>
	* H5FD_stream_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:28 -05:00
Robb Matzke
12dd74b53f [svn-r3224] ./hdf5/src/H5FDstdio.c
2000-12-29 08:57:58 Robb Matzke  <matzke@llnl.gov>
	* H5FD_stdio_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:27 -05:00
Robb Matzke
250ca943d3 [svn-r3223] ./hdf5/src/H5FDsrb.c
2000-12-29 08:56:44 Robb Matzke  <matzke@llnl.gov>
	* H5FD_srb_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:26 -05:00
Robb Matzke
8418ba1e64 [svn-r3222] ./hdf5/src/H5FDsec2.c
2000-12-29 08:56:22 Robb Matzke  <matzke@llnl.gov>
	* H5FD_sec2_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:25 -05:00
Robb Matzke
0220abb8cd [svn-r3221] ./hdf5/src/H5FDprivate.h
2000-12-29 09:06:25 Robb Matzke  <matzke@llnl.gov>
	* H5FD_query: Marked `flags' argument as /*out*/
2000-12-29 13:35:23 -05:00
Robb Matzke
244b5772b8 [svn-r3220] ./hdf5/src/H5FDmulti.c
2000-12-29 08:55:42 Robb Matzke  <matzke@llnl.gov>
	* H5FD_multi_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:22 -05:00
Robb Matzke
7d28241062 [svn-r3219] ./hdf5/src/H5FDmpio.c
2000-12-29 13:26:28 Robb Matzke  <matzke@llnl.gov>
	* H5FD_mpio_write: Avoid MPI_Get_count() when using the LAM implementation of MPI.
	   This code must have other problems anyway because Kim
	   Yates has a similar kludge in place to avoid negative
	   return values from the same function.

2000-12-29 13:25:30 Robb Matzke  <matzke@llnl.gov>
	* H5FD_mpio_read: Avoid MPI_Get_count() when using the LAM implementation of MPI.
	   This code must have other problems anyway because Kim
	   Yates has a similar kludge in place to avoid negative
	   return values from the same function.

2000-12-29 11:28:13 Robb Matzke  <matzke@llnl.gov>
	* H5FD_mpio_flush: Read and rewrite the last allocated byte of the file to insure
	   that EOF>=EOA.

2000-12-29 09:32:49 Robb Matzke  <matzke@llnl.gov>
	* H5FD_mpio_write: Removed unused variable.

2000-12-29 09:32:15 Robb Matzke  <matzke@llnl.gov>
	* H5FD_mpio_write: Fixed a failure return value that should have been FAIL instead
	   of NULL.

2000-12-29 09:31:47 Robb Matzke  <matzke@llnl.gov>
	* H5FD_mpio_read: Removed unused variable.

2000-12-28 16:09:31 Robb Matzke  <matzke@llnl.gov>
	* H5FD_mpio_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:21 -05:00
Robb Matzke
d46c85a973 [svn-r3218] ./hdf5/src/H5FDlog.c
2000-12-29 08:55:06 Robb Matzke  <matzke@llnl.gov>
	* H5FD_log_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:19 -05:00
Robb Matzke
476e9a05ac [svn-r3217] ./hdf5/src/H5FDgass.c
2000-12-29 08:54:15 Robb Matzke  <matzke@llnl.gov>
	* H5FD_gass_query: The `flags' argument is advertised to be output only. Therefore I
	   added code to zero its value before the feature bits
	   are assigned.
2000-12-29 13:35:18 -05:00