Commit Graph

6681 Commits

Author SHA1 Message Date
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
Robb Matzke
64121aacce [svn-r3216] ./hdf5/src/H5FDfamily.c
2000-12-29 08:53:43 Robb Matzke  <matzke@llnl.gov>
	* H5FD_family_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:17 -05:00
Robb Matzke
3c84c589e6 [svn-r3215] ./hdf5/src/H5FDdpss.c
2000-12-29 08:52:45 Robb Matzke  <matzke@llnl.gov>
	* H5FD_dpss_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:16 -05:00
Robb Matzke
d758e7c53e [svn-r3214] ./hdf5/src/H5FDcore.c
2000-12-29 08:51:49 Robb Matzke  <matzke@llnl.gov>
	*: Just lined up a comment.
2000-12-29 13:35:15 -05:00
Robb Matzke
78e5f459ac [svn-r3213] ./hdf5/src/H5FD.c
2000-12-29 09:06:02 Robb Matzke  <matzke@llnl.gov>
	* H5FD_query: Marked `flags' argument as /*out*/

2000-12-29 09:05:49 Robb Matzke  <matzke@llnl.gov>
	* H5FDquery: Marked `flags' argument as /*out*/

2000-12-29 09:03:39 Robb Matzke  <matzke@llnl.gov>
	* H5FD_open: Reindented a line or two.
2000-12-29 13:35:13 -05:00
Robb Matzke
2a69350c85 [svn-r3212] ./hdf5/src/H5F.c 2000-12-29 13:35:11 -05:00
Quincey Koziol
9961fb1277 [svn-r3209] Purpose:
Updating debugging information for new features, etc.
Description:
    Lots of the new features added to the library during the last year or so
    have been added without updating the debugging routines used by h5debug.
Solution:
    Added more of the new features (although not all of them) to the debugging
    routines for h5debug.  Also included some more information to expand on
    the information printed from h5debug.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-12-28 13:54:34 -05:00
Albert Cheng
9d8f04ded1 [svn-r3208] Changed the SUBRELEASE information from just 'beta3' to 'beta3-snap0'
to indicate it is before beta3 release may be attempted.

Platform Tested:
    eirene--compiled without errors.
2000-12-28 12:35:45 -05:00
Bill Wendling
005a722992 [svn-r3204] Purpose:
Bug Fix
Description:
	The #ifdef ... #else statement had no line breaks in it. This
	caused the compiler on Sangamon to freak out saying the #ifdef
	was invalid.
Solution:
	Put line breaks in it.
Platforms tested:
	Sangamon
2000-12-26 16:59:19 -05:00
Bill Wendling
74a0a02c89 [svn-r3203] Purpose:
Removal of spurious warnings
Description:
	On HP-UX systems, the compiler would warn of a redeclaration of
	H5G_entry_t in the H5Sprivate.h header.
Solution:
	Removed the prototype declaration since H5Oprivate.h includes the
	H5Gprivate.h header file already.
2000-12-26 16:45:32 -05:00
MuQun Yang
ebe4c545e1 [svn-r3192]
Purpose:
    a windows bug fix
Description:
    so that sec2 driver can support >2 G file on windows NTFS
Solution:
    using lseek_i64 for windows platform
Platforms tested:
    tested on windows 2000, confirmed on eirene and arabica
2000-12-22 13:56:38 -05:00