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
Bug fix
Description:
The zlib.h header check was skipped if it thought it had
found -lz already. That resulted in H5_HAVE_ZLIB_H not defined
which caused compression feature not compiled even though everything
else said it was in.
The --with-hdf4 was default to yes but configure had no clue where to
find them. A plain waste of time and affected ZLIB's searching later.
Solution:
Basically restored what it was before--checking the optional switch
of with-hdf4 first, then with-zlib. (with-hdf4 now defaults to no.)
Added a big chunk of comments explaining why these two options must
be checked in this order.
Changes applied to configure.in. Then ran autoconf to generate
configure.
Platforms tested:
eirene (default and with-hdf4), modi4-64-parallel (with-hdf4),
arabica (with-hdf4) and, gondoline. That is right, even tested
it out with gondoline (with-hdf4 too.) All except modi4 configured,
compiled and tested correctly. Modi4 died in the compiling of
src/H5Zdeflate.c but that was not due to the configure changes.
Bug fix.
Description:
Properly detect whether the library has compression support and skip
tests (with messages) if there is no compression.
Platforms tested:
FreeBSD 4.2 (hawkwind)
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
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.]
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
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)
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)
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 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 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 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 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 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: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 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 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 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 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.
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)
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
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
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.
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).
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)
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
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)
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