Commit Graph

2677 Commits

Author SHA1 Message Date
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
Quincey Koziol
85c19fc0ba [svn-r3235] Purpose:
Improve compiler warnings
Description:
    Added several more warning flags to the gcc compiler flags..
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-03 20:30:43 -05:00
MuQun Yang
d3301180f5 [svn-r3234]
Purpose:
    a bug fix
Description:
    without explicitly including stdio.h in this file, it will fail in compiling
    at the first time of building up the library. It needs to be recompiled separetely. Now it can work. The real reason is to be investigated.
Solution:
     adding include <stdio.h> for win32.
Platforms tested:
    win 2000
2001-01-03 18:41:45 -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
b5809e0780 [svn-r3230] Purpose:
Extra testing
Description:
    Added tests to dump empty datasets to the h5dump and h5ls testing.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-03 14:20:18 -05:00
Quincey Koziol
cf4ff99bdf [svn-r3229] Purpose:
Bug fix
Description:
    Close several potential resource leaks in failure conditions.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2001-01-03 13:33:56 -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
a53fbbc045 [svn-r3227] ./hdf5/tools/h5ls.c
2000-12-28 12:03:41 Robb Matzke  <matzke@llnl.gov>
	* main: If the file cannot be opened then immediately try the next
	   argument. This prevents multiple error messages from
	   the same file.
2000-12-29 13:35:32 -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
Robb Matzke
eb8a2948b3 [svn-r3211] ./hdf5/configure.in
2000-12-29 11:54:38 Robb Matzke  <matzke@llnl.gov>
	*: Added recognition of LAM's hcc, which is almost identical to
	   MPICH's mpicc.
2000-12-29 13:35:10 -05:00
Robb Matzke
b686e3a74f [svn-r3210] ./hdf5/configure 2000-12-29 13:35:02 -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
Albert Cheng
4cb87c9d21 [svn-r3207] Changed the SUBRELEASE information from just 'beta3' to 'beta3-snap0'
to indicate it is before beta3 release may be attempted.
2000-12-28 12:35:15 -05:00
Frank Baker
8eb6ddaf00 [svn-r3206]
Purpose:
    Return value error in H5Tarray_create
Solution:
    H5Tarray_create
        Fixed return value to read 'int' (was 'int *')
Platforms tested:
    IE 5
2000-12-27 13:33:18 -05:00
Frank Baker
b32d95d37a [svn-r3205]
Purpose:
    Error in H5Tget_array_dims and H5Tget_array_ndims return types
Solution:
    H5Tget_array_dims and H5Tget_array_ndims
	    Fixed return value to read  'int' (was 'int *')
Platforms tested:
    IE 5
2000-12-27 12:57:05 -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
Bill Wendling
f8fe0c19d7 [svn-r3202] Purpose:
Update
Description:
	Added ./doc/html/cpplus files.
2000-12-26 16:34:59 -05:00
Bill Wendling
388c172cf4 [svn-r3201] Purpose:
Update
Description:
	Updated to reflect document additions and subtractions.
Platforms tested:
	Linux
2000-12-25 03:21:16 -05:00
Albert Cheng
27240a9031 [svn-r3200] Purpose:
Bug fix
Description:
    install method was cached as 'cp -r'.  It did not work
    in --srcdir option as the configure set the method to ../cp -r.
Solution:
    Removed the cached entry.  Let it look for install or use install-sh.
Platforms tested:
    LLNL Blue (found and used /usr/local/gnu/bin/install).
2000-12-23 15:43:10 -05:00
Binh-Minh Ribler
d24bacb8a4 [svn-r3199]
Purpose: bug fix

Description:
	I found a couple of places where virtual destructors were missing
	and could cause small memory leaks.  Also, some destructors were
	not virtual when they should be.

Solution:
	- added virtual destructors, which also free dynamically allocated
	  memory
	- added virtual to several destructors
	- also, fixed several typos

Platforms tested:
	Solaris 2.7 (arabica)
2000-12-23 08:17:32 -05:00
Frank Baker
45c5dd949f [svn-r3198]
Purpose:
    Changing notation to indicate post-Beta
Platforms tested:
    IE 5
2000-12-22 16:29:43 -05:00
Frank Baker
703f75bd4b [svn-r3197]
Purpose:
    Adding HDF5 Tutorial files (./doc/html/Tutor/*)
2000-12-22 16:03:51 -05:00
Frank Baker
c1d537db2b [svn-r3196]
Purpose:
    Adding Tutorial to development branch (R 1.4)
Platforms tested:
    IE 5
2000-12-22 15:47:59 -05:00
Frank Baker
d4c3773742 [svn-r3195]
Purpose:
    Adding tutorial to development branch (R 1.4)
Platforms tested:
    IE 5
2000-12-22 15:46:10 -05:00
MuQun Yang
5c28e0edb9 [svn-r3194]
Purpose:
     bug fix
Description:
    1. zeroing out memory before using the memory buffer
    2. before wrongly using Vquerysize API of HDF4 to obtain
       the real file size of record type in HDF4. Actually Vquerysize will
       return the real data type size in Memory. That will cause the object
       reference difference on Cray which file size is not equal memory size.

Solution:
    1. using h4toh5ZeroingMemory function to zero out memory.
    2. calcuating the real file size of vdata record in the converter instead of
       using Vquerysize HDF4 API.
Platforms tested:
    Cray J90, arabica, eirene
2000-12-22 14:07:45 -05:00
MuQun Yang
7332a1934e [svn-r3193]
Purpose:
     bug fix
Description:
    Zeroing out all memory buffer before it is being used.

Solution:
    using h4toh5ZeroMemory function
Platforms tested:
    linux(eirene), arabica(sun 2.7)
2000-12-22 14:03:00 -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
MuQun Yang
00d05eb3df [svn-r3191]
Purpose:
     a windows bug fix
Description:
    support > 2G file on windows NTFS
Solution:
    using fsetpos to seek the address

Platforms tested:
    windows 2000, confirmed on arabica and eirene.
2000-12-22 13:54:16 -05:00
Bill Wendling
6ff667c0da [svn-r3190] Purpose:
Bug fix
Description:
	This should fix the problem with installing the Fortran module
	files.
Solution:
	This script determines if the HDF5 module is created. If it is,
	then we assume that we need to install all of the modules. I
	check for both upper and lowercase in the name cause I'm not sure
	what weird fortran compilers will do.
Platforms tested:
	Linux
2000-12-22 13:00:32 -05:00
Quincey Koziol
b191b2bb9d [svn-r3189] Purpose:
Changed version number to beta3, now that beta2 is out.
2000-12-22 09:48:36 -05:00
Frank Baker
fe3c7484d7 [svn-r3188]
Purpose:
    Checking in MountingFiles.html and Performance.html.
    These documents were originally created in 1.2 branch and never
    checked in to the development branch.
Platforms tested:
    IE 5
2000-12-22 08:32:40 -05:00
Frank Baker
31f539a564 [svn-r3187]
Purpose:
    Removed index links to Palettes.html (removed from doc set) in
    all User Guide files.
Platforms tested:
    IE 5
2000-12-22 08:25:43 -05:00