Commit Graph

3498 Commits

Author SHA1 Message Date
HDF Rational
605f31386a [svn-r4525] Purpose:
Bug Fix
Description:
    Purify detected an uninitialized memory read in H5Pset_chunk and a memory
    leak in H5P_remove.
Solution:
    Patched both up.
Platforms tested:
    Solaris 2.7 (arabica)
2001-10-05 17:26:40 -05:00
MuQun Yang
0ecc4709e9 [svn-r4524]
Purpose:
    refix tconfig.c
Description:
    Follow Robb's reminder, long_long is used to define __int64 in windows and long long for other platforms at H5private.h.
Solution:
     just change vrfy_ctype(long long....) into vrfy(long_long,.....) in the tconfig.c. Delete the previous
macro.
Platforms tested:
    windows 2000, linux
2001-10-05 13:39:36 -05:00
MuQun Yang
d033f23f6b [svn-r4523]
Purpose:
    add new information and delete old windows and h4toh5 information on release.txt.
Description:
    1. add a note to mention release dll will work after installing service pack 5 of VS6.0.
    2. delete the fixed bugs on windows(libc.lib warnings and h4toh5 image handlings)
Solution:
Platforms tested:
2001-10-05 11:59:21 -05:00
MuQun Yang
2f90a7ae41 [svn-r4522]
Purpose:
 bug fixed
Description:
    Windows doesn't recognize long long. Instead it uses __int64. So add a macro
like
#ifdef HAVE____int64 for windows-like platforms.
Solution:
 see above
Platforms tested:
eirene
2001-10-05 11:43:32 -05:00
MuQun Yang
668d00dbe6 [svn-r4521]
Purpose:
   Fixed bugs
Description:
    1. tconfig.c finds size of long double and size of off_t are not correct on windows 2000.
       Size of long double(8) at the manually hacked H5config.h on windows represents windows NT 4.0.
       On windows 2000, it is set to 12. Now H5config.h is fixed to pass windows 2000, but will fail on NT4.0O. This problem needs to be addressed.
    2. modify testhdf5 and testhdf5sll projects to fit in the new test.
    3. find a release dll bug(cause tattr test failed), later the bug is gone after install VS 6.0 service pack 5. Highly suspect it is a compiler bug.
Solution:
   See above.
Platforms tested:
    windows 2000
2001-10-04 17:28:11 -05:00
Quincey Koziol
4b2c69c89f [svn-r4520] Purpose:
Bug fix
Description:
    Remove 'const' modifier in prototype for H5D_new, the dcpl_id parameter
    needs to be non-const.
Platforms tested:
    Eyeballed (reported on gondolin)
2001-10-04 09:38:54 -05:00
Albert Cheng
471d8f8ad3 [svn-r4519] Updated with the change in configure to require compress2 for the
zlib in with-hdf4 option.
2001-10-04 07:52:28 -05:00
Quincey Koziol
f3a42517b9 [svn-r4518] Purpose:
Code cleanup
Description:
    Clean up some small compiler warnings.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-03 16:17:01 -05:00
Raymond Lu
e3a137f39e [svn-r4517]
Purpose:
    Changed to the new generic property list for dataset creation property
    list.
Platforms tested:
    Arabica, modi4 and Hawkwind
2001-10-03 12:57:56 -05:00
Raymond Lu
7666ce56d3 [svn-r4516]
Purpose:
    Changed to the new generic property list
Platforms tested:
    Arabica and Hawkwind
2001-10-03 12:55:22 -05:00
Albert Cheng
3a57757306 [svn-r4514] Purpose:
feature
Description:
    Ignore blank lines in the config file too.
Platforms tested:
    Eirene.
2001-10-03 02:03:12 -05:00
Albert Cheng
2fda38ead0 [svn-r4513] Purpose:
feature
Description:
    Recognize command line argument in the form of '--*' as
    a configure command option by default.  Since all normal
    configure options are in the form of '--*', this will
    simplify the "op-configure <option>" syntax.  The latter
    syntax is still kept in case one would want to pass in
    some configure argument that does not fit this syntax.
Platforms tested:
    Eirene.
2001-10-02 15:47:05 -05:00
Quincey Koziol
bac55034d8 [svn-r4509] Purpose:
Test bug fix.
Description:
    When reading or writing to chunked datasets and the data needed datatype
    conversion, and the amount of data was more than one conversion buffer,
    data in the conversion buffer was getting corrupted.
Solution:
    Corrected error in advancing buffer pointer where it was being advanced
    by the number of elements instead of the number of bytes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-02 11:58:16 -05:00
Quincey Koziol
d808a5b53a [svn-r4508] Purpose:
Document bug fix.
Description:
    When reading or writing to chunked datasets and the data needed datatype
    conversion, and the amount of data was more than one conversion buffer,
    data in the conversion buffer was getting corrupted.
Solution:
    Corrected error in advancing buffer pointer where it was being advanced
    by the number of elements instead of the number of bytes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-10-02 11:57:56 -05:00
Quincey Koziol
3f844d7ba1 [svn-r4507] Purpose:
Document bug fix.
2001-10-02 11:54:54 -05:00
Quincey Koziol
b8b6227850 [svn-r4506] Purpose:
Bug fix/optimization.
Description:
    Single, contiguous (in memory) hyperslabs are able to be transferred in one
    I/O operation, but weren't being detected correctly by the code in
    H5S_all_read()/H5S_all_write() and were getting routed into slower I/O
    routines.  (Or, possibly failing in some circumstances)
Solution:
    Wrote code to correctly detect single contiguous hyperslabs in memory and
    adjust arrays and buffer pointers describing the memory information so that
    the entire hyperslab can be transferred in one operation.
Platforms Tested:
    FreeBSD 4.4 (hawkwind)
2001-10-01 10:42:33 -05:00
Quincey Koziol
79b4c1677d [svn-r4505] Purpose:
Describe feature fix.
2001-10-01 10:41:16 -05:00
Albert Cheng
2be7d7cc0c [svn-r4502] Purpose:
'Bug fix'
Description:
    When testing the validity of zlib, the compress() function is
    used.  HDF5 actually requires a newer version of zlib which
    contains compress2().  Compress2 is tested in later part of
    the configure.  This caused redundent tests and confusion too.
Solution:
    Changed zlib test to look for compress2() instead.
    Older version of HDF4 libraries (e.g. 4.1r2) would fail this
    test correctly.  This eliminated the possibility of using an
    older version of HDF4 without using zlib compression in HDF5.
    But since we need newer version of hdp (with loops detection),
    the older version hdf4 is not old any more.
Remark: the compress2 test is not removed.  After this change
    proven working correctly for all platforms, the extra compress2
    test can be removed and source code must be updated too.
Platforms tested:
    modi4: tested with hdf4.1r2 and failed as expected.  Tested with
    newer hdf4 libraries and succeeded as expected.
2001-10-01 01:00:19 -05:00
HDF Admin
1a8a5d8cfc [svn-r4501] Snapshot version 1.5 release 11 2001-09-30 03:33:28 -05:00
Bill Wendling
2fd282ea1f [svn-r4499]
Purpose:
    Feature Add
Description:
    Add the output of the configure summary to the libhdf5.settings file.
Platforms tested:
    Modi4 Linux
2001-09-28 16:09:01 -05:00
Bill Wendling
cb317bf927 [svn-r4497]
Purpose:
    Final Fantasy...er...fix
Description:
    I fixed the problem with the summary printing newlines when we didn't
    want it to when using "ksh".
Solution:
    There's a flag '\c' which should be used at the end of the line if
    you can't use the '-n' flag.
Platforms tested:
    linux and modi4.
2001-09-28 15:31:17 -05:00
Quincey Koziol
938be57841 [svn-r4494] Purpose:
Bug fix.

Problem:
    When an entire dataset was selected (through whatever means, H5S_ALL, making
    an explicit "all" selection, etc.), the code was not allowing the optimized
    routine to read the entire dataset in at once when the current dimensions
    did not match the maximum dimensions and instead was defaulting to a [much]
    slower method to read in the dataset.

Solution:
    Took out check which was requiring current dimensions to be equal to the
    maximum dimensions.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-28 14:46:04 -05:00
Quincey Koziol
a0d5c60945 [svn-r4493] Purpose:
Document bug fix.
Platforms tested:
    Eyeballed..
2001-09-28 14:42:17 -05:00
Quincey Koziol
5f1b9d1e7d [svn-r4490] Purpose:
Document bug fix
Description:
    Mention the edge detection chunking bug fix.
2001-09-28 14:02:40 -05:00
Quincey Koziol
ebb5d3a90d [svn-r4489] Purpose:
Bug Fix
Description:
    When writing (or reading) the entire dataset to a chunked dataset, there
    was a boundary case where the code to generate the description of the
    piece of the dataset to read into the buffer for data conversion would
    attempt to read off the boundary of the dataset.  This was occuring because
    the code to detect the edge of the dataset was not propagating the change
    up through the remaining dimensions when an edge in a fast changing
    dimension was detected.
Solution:
    Propagate edge detection up through slower changing dimensions properly.
Platforms tested:
    Linux 2.2.18smp (eirene)
2001-09-28 14:00:43 -05:00
Quincey Koziol
efbadc2165 [svn-r4488] Purpose:
Fix on Kludge
Description:
    Forgot another chunk of parallel I/O code that needed to change for the
    generic property list kludge... :-/
Platforms tested:
    Parallel Linux 2.2.18smp (eirene)
2001-09-28 08:56:22 -05:00
Bill Wendling
4b13ea4572 [svn-r4487]
Purpose:
    Bug Fix
Description:
    Some platforms don't handle echo -n correctly.
Solution:
    Copied some code from the configure which determines which flag to
    give echo.
Platforms tested:
    Linux
2001-09-27 18:05:16 -05:00
Quincey Koziol
6f754d0c57 [svn-r4485] Purpose:
Kludge addition
Description:
    Forgot to patch the parallel test files in yesterday's kludge checkin.
Platforms tested:
    Linix 2.2.18smp (eirene)
2001-09-27 11:22:40 -05:00
Quincey Koziol
7a96b1a0d2 [svn-r4482] Purpose:
Kludge
Description:
    Since we're only about halfway through converting the internal use of
    property lists from the "old way" to the generic property lists, we turned
    off snapshots to avoid exposing lots of API changes to users, until the
    APIs settled down.

    Getting the snapshots rolling again seems to have become a priority, so
    some changes are going to have to be made now that were going to be
    postponed until we were completely finished with the conversion.  This
    requires that the old API functions be able to deal with both the old
    and new property lists smoothly.

Solution:
    Kludge together the property list code so that they can transparently handle
    dealing with both the old and new property lists

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-26 15:29:35 -05:00
Albert Cheng
e09ac06d96 [svn-r4476] Updated with changes of H5Pset_split and the new test of configure. 2001-09-26 00:45:18 -05:00
Albert Cheng
1ee381c552 [svn-r4475] Updated with newly added file. 2001-09-26 00:39:48 -05:00
Albert Cheng
2612814874 [svn-r4474] Purpose:
New feature.
Description:
    Added a test to verify the correctness of information provided by
    configure in H5config.h.  Some information, such as SIZEOF some
    types can be hardcoded by config/<machine>.  This test verified
    the information is indeed correct.
    Currenly, only size of C language types are verified.
Platforms tested:
    Eirene, regular, arabica.
2001-09-26 00:37:15 -05:00
Quincey Koziol
ed663577a5 [svn-r4473] Purpose:
Code cleanup for better compatibility with C++ compilers
Description:
    C++ compilers are choking on our C code, for various reasons:
        we used our UNUSED macro incorrectly when referring to pointer types
        we used various C++ keywords as variables, etc.
        we incremented enum's with the ++ operator.
Solution:
    Changed variables, etc.to avoid C++ keywords (new, class, typename, typeid,
        template)

    Fixed usage of UNUSED macro from this:
        char UNUSED *c
    to this:
        char * UNUSED c

    Switched the enums from x++ to x=x+1
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-25 12:46:32 -05:00
Bill Wendling
a6036953db [svn-r4472]
Purpose:
    Refix
Description:
    Changed
       if test -d $1; then
         :
       else

    to

       if test ! -d $1; then

    since "test ! -d" should work on all platforms and is a much cleaner
    solution than the original.
Platforms tested:
    Linux
2001-09-24 15:55:05 -05:00
Bill Wendling
0a8e7a6357 [svn-r4471]
Purpose:
    Feature add
Description:
    Changed the "make install" thingy to "make install-all" in the
    quick-setup guide. Also, changed the version number of HDF5 in the
    examples from 1.4.0 and 1.2.0 to 1.5.x
2001-09-24 15:17:52 -05:00
Bill Wendling
de93207053 [svn-r4469]
Purpose:
    Bug Fix
Description:
    Some systems can't handle a test like:

        if ! test -d "foo"; then

Solution:
    Removed the "!" and made a success a "nop".
2001-09-23 04:01:30 -05:00
Bill Wendling
7059a12450 [svn-r4467]
Purpose:
    Small Bug Fix
Description:
    Made 'install-all' its own Makefile rule.
Platforms tested:
    Linux
2001-09-21 18:52:37 -05:00
Bill Wendling
5e834c4cbc [svn-r4466]
Purpose:
    Feature Add
Description:
    Added "install-example" and "install-all" to the Makefile system.
    The behaviour of the "make install*" options:

        make install          - Installs binaries, libraries, include
                                files, and example programs.
        make install-examples - Installs only the example programs.
                                The directories are:

                            ${prefix}/doc/hdf5/examples/{c,c++,fortran}

        make install-all      - Install the binaries, libraries, include
                                files, example programs, and
                                documentation. The whole kit-n'-caboodle.
        make uninstall-examples - Get rid of those example files (but not
                                  the ${prefix}/doc/hdf5/examples/...
                                  directories)

    There's a new bin/ program which helps create directories which are
    deeply nested called "mkdirs". It's a simple shell script.
Platforms tested:
    Linux
2001-09-21 18:50:15 -05:00
MuQun Yang
813dfea514 [svn-r4465]
Purpose:
    fix a bug
Description:
    In precondition 3, winzip will unzip hdf5xxx.zip into the directory
    hdf5xxx and users should rename hdf5xxx into hdf5 to correctly build
    HDF5 library.
Solution:
    correct the sentence in precondition 3.
Platforms tested:
    windows 2000
2001-09-21 10:12:52 -05:00
Bill Wendling
09f30c6f45 [svn-r4464]
Purpose:
    Bug Fix
Description:
    The error codes checked for were hardcoded into the program.
Solution:
    Used the "enum" names instead.
Platforms tested:
    Linux
2001-09-18 15:12:37 -05:00
MuQun Yang
dab3f0ad01 [svn-r4462]
Purpose:
 1. rearrange project settings to be consistent with UNIX platforms
 2. fix bugs on H5Tinit.c and h5pubconf.h windows version.

Description:
 1. overhead, iopipe and chunk testings are moved to perform directory on UNIX platforms
    rearrange windows project settings to reflect the changes
 2. H5_HAVE_SYS_TIMEB_H is defined in h5pubconf.h, it is only used in the iopipe test.
    In iopipe.c, H5_HAVE_SYS_TIMEB is used to get the current time before opening HDF5 file.
    This constant is never defined at h5pubconf.h. So iopipe test failed on windows.
 3.  intn is still used in windows version H5Tinit.c.
 4.  redefine H5_inline at h5pubconf.h. That will generate warnings like:
    ..\..\src\H5private.h(150) : warning C4005: 'H5_inline' : macro redefinition         ..\..\src\h5pubconf.h(8) : see previous definition of 'H5_inline'

Solution:
 1. Rearrange chunk.c,iopipe.c and overhead.c files in project setting.
 2. In order not to affect other platform(linux also defines H5_HAVE_SYS_TIMEB_H).
    in windows version h5pubconf.h change H5_HAVE_SYS_TIMEB_H into H5_HAVE_SYS_TIMEB.
    Now H5_HAVE_SYS_TIMEB is only used by windows platform, iopipe test runs okay.
 3. change intn into int.
 4. undefine H5_inline on windows version of h5pubconf.h
Platforms tested:
    windows 2000(NT5.0) and windows 98.
2001-09-18 14:58:32 -05:00
Bill Wendling
45519075e4 [svn-r4461]
Purpose:
    Oops
Description:
    Left a debug print in...
Solution:
    Removed
Platforms tested:
    Linux
2001-09-18 14:30:21 -05:00
Bill Wendling
bd52f6e529 [svn-r4460]
Purpose:
    feature update
Description:
    Changed the way the summary was printed (the order, mostly).
Platforms tested:
    Linux
2001-09-18 14:26:46 -05:00
Bill Wendling
be9c42c7b1 [svn-r4456]
Purpose:
    Bug Fix
Description:
    Some so-called "operating systems" (*cough*Windows*cough*) can't
    handle large string sizes.
Solution:
    Replace the Usage string with individual strings which all call
    fprintf() themselves.
Platforms tested:
    Linux
2001-09-18 11:58:27 -05:00
Bill Wendling
d10d58c0c3 [svn-r4455]
Purpose:
    Warning Removal
Description:
    Remove some spurious warnings from the compilation.
Platforms tested:
    Linux
2001-09-18 11:57:16 -05:00
Bill Wendling
defaf9ac4f [svn-r4454]
Purpose:
    Feature Fix
Description:
    Reworked the output summary to be clearer and better organized.
Platforms tested:
    Linux
2001-09-18 10:05:42 -05:00
Albert Cheng
a70c5b5a0e [svn-r4450] Updated. 2001-09-18 00:56:34 -05:00
Albert Cheng
93fd360fb1 [svn-r4449] Purpose:
Feature
Description:
    Added an example program showing how to use different virtual
    file drivers.  First example is to show the Split File driver.
Platforms tested:
    eirene.
2001-09-18 00:55:14 -05:00
Bill Wendling
5921ab6be1 [svn-r4448]
Purpose:
    New Feature
Description:
    Added final output for the configure script which shows a summary of
    options people chose while configuring.
Platforms tested:
    Linux
2001-09-17 17:47:02 -05:00
Albert Cheng
c54fa7409f [svn-r4446] Description:
The caution statement in H5Pset_fapl_split was no longer valid.
    Removed it.
Platforms tested:
    IE 5.
2001-09-17 16:39:49 -05:00