Commit Graph

4197 Commits

Author SHA1 Message Date
Bill Wendling
2cf0e9f882 [svn-r5348] Purpose:
Bug Fix
Description:
    There was a duplicate declaration of print_indent() in the header and
    in the source files.
Solution:
    Removed the public declaration and made the function static again.
Platforms tested:
    Arabica
2002-05-03 16:09:52 -05:00
Frank Baker
2997ad4c45 [svn-r5343]
Purpose:
    Bugfixes -- Fixes #657.
                Addresses #720 (but does not complete it).
Description:
    H5Pset_fapl_split:  Added note re checking on use of this driver,
        i.e., that H5Pget_driver returns H5FD_MULTI.
        Fixes Bug #657.
    Minor copy edits, including some addressed in Bug #720.
Platforms tested:
    IE 5
2002-05-02 16:46:52 -05:00
Albert Cheng
3b36f55715 [svn-r5342] Description:
Removed unused code that is related to inline issue.
    hdf5 C source now uses H5_inline for the non-standard
    inline feature.  No need to undefine/redefine the symbol
    inline itself.
Platforms tested:
    eirene.
2002-05-02 16:44:46 -05:00
Frank Baker
09855e5628 [svn-r5338]
Purpose:
    Elaboration on a struct field
Description:
    H5Gget_objinfo: Added caveats regarding 'fileno' field in
        H5G_stat_t struct.
Platforms tested:
    IE 5
2002-05-02 16:39:19 -05:00
Frank Baker
ce9b565b18 [svn-r5337]
Purpose:
    New function
Description:
    Added new H5Dfill function (development branch only)
Platforms tested:
    IE 5
2002-05-02 16:28:30 -05:00
Frank Baker
c1e8f35776 [svn-r5336]
Purpose:
    Bugfix -- Fixes #756.
Description:
    Section IV.A.3 -- Corrected datatype description.
Platforms tested:
    IE 5
2002-05-02 16:25:52 -05:00
Bill Wendling
0a648bddc7 [svn-r5334] Purpose:
Port
Description:
    Brought forward the changes (timing debug prints) from the 1.4
    branch.
Platforms tested:
    Linux
2002-05-02 16:19:19 -05:00
Frank Baker
e8f1f956a2 [svn-r5329]
Purpose:
    Bugfix -- Fixes #757.
Description:
    h5t{get/set}_size_f
        Corrected SIZE parameter datatype to INTEGER(SIZE_T).
Platforms tested:
    IE 5
2002-05-02 15:23:09 -05:00
Quincey Koziol
eec781a081 [svn-r5328] Purpose:
Code cleanup

Description:
    Remove an extraneous data structure for tracking the location of a
    hyperslab iterator when walking through regular hyperslab selections.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-05-02 14:20:17 -05:00
MuQun Yang
7971d2873b [svn-r5325]
Purpose:
   minor bugs fixed
Description:
    Typos in H5Fpkg.h and H5TB.c
Solution:
Platforms tested:
linux 2.2.18
2002-05-02 13:05:11 -05:00
Pedro Vicente Nunes
bcc1b57287 [svn-r5324]
Purpose:
    updated some comments regarding Code Warrior , removed other debugging comments
Platforms tested:
    w2000
2002-05-02 09:50:50 -05:00
Elena Pourmal
6e2be40f8d [svn-r5321]
Purpose:
    Bug#670 fix
Description:
    Added tests to use overloaded subroutines.
Platforms tested:
    Windows, Solaris 2.7, IRIX64-6.5
2002-05-01 19:25:38 -05:00
Elena Pourmal
9cd1488287 [svn-r5320]
Purpose:
    Bug#670 fix
Description:
    dims parameter to the h5dwrite_f, h5dread_f, h5awrite_f and h5aread_f
    subroutines was declared as INTEGER array of size 7 (max number of dimensions
    in Fortran). Users could not use the same buffer dims as an argument to
    the h5screate_simple_f subroutine since it should be an array of size = RANK
    and type INTEGER(HSIZE_T).
Solution:
    Overload subroutines with dims parameter to be assumed size array of
    INTEGER(HSIZE_T) type for backward compatibility.
    Subroutine with the INTEGER dims argument should be depricated in 1.6 release
Platforms tested:
    Windows, Solaris2.7, IRIX64-6.5
2002-05-01 19:24:19 -05:00
Frank Baker
add8f78ad5 [svn-r5319]
Purpose:
    1 new function; 3 revised functions; 2 bugfixes; copy edits
Solution:
    H5Tget_member_index: Added this new function.
    H5Tget_member_name: Revised, based on lessons learned with
        H5Tget_member_index.
    H5Tget_nmembers: Revised to indicate that function works for both
        compound and enumeration datatypes.
        --> Fixes Bug# 747.
    Cross-listed H5Tget_nmembers, H5Tget_member_index, and
        H5Tget_member_name under both compound and enum datatypes,
        as they work for both.
    H5Tset_tag: Corrected tag description (it is descriptive, uniqueness
        is not required).
    Corrected several spelling errors.
        --> Partially fixes Bug# 760 (though just for this file *sigh*).
Platforms tested:
    IE 5
2002-05-01 17:44:03 -05:00
Frank Baker
452d4c5719 [svn-r5317]
Description:
    Minor copy edits.
Platforms tested:
    IE 5
2002-05-01 17:33:50 -05:00
Frank Baker
6f3370b7b5 [svn-r5315]
Purpose:
    Bugfix -- fixes #751
Description:
    Elaborated on 'ref' parameter type.
Platforms tested:
    IE 5
2002-05-01 17:30:57 -05:00
Pedro Vicente Nunes
ce18afe663 [svn-r5313]
Purpose:
    added more tests to the H5set_extent function
Description:

 there was a bug in the H5S_select_fill call when the fill value was not defined
 added 2 more set of tests that call H5set_extent without the fill value being defined
 there are now 4 sets of tests:
 Test H5Dset_extent with chunks on the raw data cache, with and without fill value
 Test H5Dset_extent with chunks written to file (b-tree routines),  with and without fill value

Platforms tested:
    w2000
    linux
2002-05-01 10:54:56 -05:00
Quincey Koziol
92527f751f [svn-r5312] Purpose:
Bug Fix

Description:
    Add TRACE8 and TRACE9 macros

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-05-01 10:35:06 -05:00
Quincey Koziol
6a5008e313 [svn-r5310] Purpose:
Code cleanup

Description:
    Update the API tracing information

Platforms tested:
    Linux 2.2 (eirene) with gcc 2.95.2 and Solaris 2.6 (baldric) with gcc 2.8.1
2002-05-01 10:15:30 -05:00
Quincey Koziol
f3671809b5 [svn-r5309] Purpose:
Configure cleanup

Description:
    Neaten up file a bit more...

Platforms tested:
    Linux 2.2 (eirene) with gcc 2.95.2 and Solaris 2.6 (baldric) with gcc 2.8.1
2002-05-01 10:14:52 -05:00
Quincey Koziol
214aa4a367 [svn-r5308] Purpose:
Update API tracing information
Platforms tested:
    Linux 2.2 (eirene)
2002-05-01 10:03:12 -05:00
Pedro Vicente Nunes
49a7f1d032 [svn-r5305]
Purpose:
    user reported a bug on h5 to gif tool
Description:
    h5 to gif did not read an HDF5 image correctly
Solution:
    updated the program so that it reads the updated HDF5 image format to the latest specification
    the debug version of MSVC was giving a failure on the write of the GIF file,
    regarding the GIF file pointer
    this write error is eliminated declaring that pointer a global variable
    there is still an applicattion error on the exit of the program, only on the debug version of MSVC



Platforms tested:
    w2000
2002-05-01 09:37:14 -05:00
Quincey Koziol
80de8bccb9 [svn-r5304] Purpose:
Configure cleanup

Description:
    Fine-tune the gcc version checks a bit more...

Platforms tested:
    FreeBSD 4.5 (sleipnir) with gcc 2.95.3 and gcc 3.1 (prerelease) and
    Solaris 2.6 (baldric) with gcc 2.8.1
2002-05-01 09:15:35 -05:00
Quincey Koziol
2491fa05d4 [svn-r5302] Purpose:
Configuration improvements

Description:
    Added more warning flags to gcc builds, especially with gcc 3+.  Also, added
    the -Wno-long-long flag to gcc builds to turn off the annoying "long long"
    warnings.

Platforms tested:
    FreeBSD 4.5 (sleipnir) with gcc 2.95.3 and gcc 3.1 (prerelease)
2002-05-01 08:30:54 -05:00
MuQun Yang
891ba681ee [svn-r5301]
Purpose:
   remove all_withhdf4.zip from the file list
Description:
Solution:
Platforms tested:
2002-05-01 08:30:18 -05:00
MuQun Yang
adb78607cf [svn-r5298]
Purpose:
HDF4 related tools were moved out of HDF5 CVS tree, so we retire all_withhdf4.zip
Description:
Solution:
Platforms tested:
2002-04-30 15:50:30 -05:00
MuQun Yang
9417a6f7dd [svn-r5296]
Purpose:
    1. update the transition from "MACRO_NAME" to "H5_MACRO_NAME" on windows platforms.
    2. make gethostname work on windows
Description:
   1. All constant defined at H5config.h will be renamed and moved to H5pubconf.h.
      SInce no autoconf on windows, H5pubconf.h has to be manually tuned to build HDF5 library.
   2. Have to use WS2_startup and WS2_end to make gethostname work. Also change project files to
      erase warnings.
Solution:
Platforms tested:
windows 2000
2002-04-30 13:33:16 -05:00
MuQun Yang
d9f4d7378c [svn-r5295]
Purpose:
    turn on daylight feature on windows
Description:
    currently we have to hard code daylight feature of windows to make it pass mtime test.
Solution:
Platforms tested:
linux 2.2.18
2002-04-30 13:25:44 -05:00
Raymond Lu
2d2e785e2d [svn-r5293]
Purpose:
    Bug Fix
Description:
    Using "grp1", "grp2" variable names conflicts Windows' internal variable
    definition.
Solution:
    Rename them.
Platforms tested:
    Linux 2.2
2002-04-30 12:09:35 -05:00
Dan Wells
e91c406e06 [svn-r5291]
Purpose:
    bug fix
Description:
    Had an #ifdef HAVE_XXX in the header file HDFIOTrace.h
Solution:
    Changed the condition to H5_HAVE_XXX
Platforms tested:
    Origin 2000 64 bit
2002-04-30 10:23:11 -05:00
Quincey Koziol
05e8b74a20 [svn-r5290] Purpose:
Bug Fix

Description:
    Corrected int vs. unsigned short error that only showed up on big-endian
    machines.

    Also, add more testing to verify that the coordinates reported for each
    element iterated through with H5Diterate are correct.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-30 09:46:18 -05:00
Quincey Koziol
fb6a11c014 [svn-r5289] Purpose:
Bug Fix

Description:
    Correct coordinates were not computed for iteration through irregular
    hyperslab selection (although the points in the buffer that were selected
    were correct).

Solution:
    Add another array to track selection offset adjusted coordinates in the
    selection.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-30 09:44:46 -05:00
Quincey Koziol
a88d81f4ba [svn-r5286] Purpose:
Bug Fix

Description:
    Selection offsets were not being used correctly when iterating through
    all hyperslabs selections and point selections.

Solution:
    Use the selection offset appropriately.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-29 15:27:31 -05:00
Bill Wendling
03a08823e7 [svn-r5281] Purpose:
Update
Description:
    Changed the description of the help message so that the --hdf5,
    --mpio, --raw flags better say what they do.
Platforms tested:
    Linux
2002-04-29 12:25:32 -05:00
Bill Wendling
7065ac7982 [svn-r5280] Purpose:
Update
Description:
    Changed so that the Fortran and C++ configures are named "HDF5
    Fortran" and "HDF5 C++" resp. instead of just "HDF5.
Solution:
    Add an extra parameter to the subroutine which generates the new
    configure.in files.
Platforms tested:
    Linux
2002-04-29 12:24:50 -05:00
Albert Cheng
73683e4380 [svn-r5278] Purpose:
Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC
Description:
    configure generates many macros definitions on the fly and
    were stored in src/H5config.h which is included by H5public.h.
    But other software that uses hdf5 may also run their own configure.
    There can be a clash in macro name space.  We decided awhile ago
    to prepend all generated macros with "H5_" to avoid conflicts.
    The process has started and this commit completes it (at least attempt
    to).
Solution:
    Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to
    H5_SIZEOF_xxx and H5_HAVE_xxx).  Then H5private.h no longer includes
    H5config.h.  This cuts H5config.h away from HDF5 source code.
Pending issues:
    The module of fortran and pablo are to be resolved in a different
    commit.
Platforms tested:
    eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
2002-04-28 03:34:17 -05:00
HDF Admin
eb09629a45 [svn-r5275] Snapshot version 1.5 release 27 2002-04-27 04:30:52 -05:00
Raymond Lu
94f11385a6 [svn-r5273]
Purpose:
    New feature
Description:
    Allow H5Glink and H5Gmove to handle links across different locations.
Solution:
    Added H5Glink2 and H5Gmove2 functions with new parameter of destination
    location.
Platforms tested:
    Linux 2.2(eirene)
2002-04-26 15:34:46 -05:00
Quincey Koziol
124979bfc2 [svn-r5272] Purpose:
Bug fix

Description:
    Move iterator initialization in H5D_read & H5D_write before any errors can
    occur.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-26 10:44:08 -05:00
Quincey Koziol
80043b04c0 [svn-r5271] Purpose:
Bug Fix.

Description:
    When the fill value for a dataset is not set, the size is set to zero,
    causing problems with filling unused areas in previously defined chunks
    (i.e. when the dataset shrinks in size)

Solution:
    Use the size of the elements in the dataset directly, instead of relying on
    the size of the fill value (which must be the same size).

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-26 07:38:50 -05:00
Binh-Minh Ribler
bb07809e41 [svn-r5270] Purpose: bug fix
Description:
    The default constructor of H5File was missing.  It's now added.

Platforms:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    IRIX 6.5.11 (modi4)
2002-04-26 07:09:17 -05:00
Elena Pourmal
7ab650be9f [svn-r5269]
Purpose:
    Maintenance
Description:
    Changed code to use H5_HAVE_MPI_MULTI_LANG_* definitions and
    H5pubconf_fortran.h include file.
Solution:
Platforms tested:
    Let's daily tests do this work. I have to leave now.
2002-04-25 18:06:16 -05:00
Bill Wendling
68537be4ff [svn-r5268] Purpose:
Update
Description:
    Added h5pubconf_fortran.h as a public  header file for the Fortran
    wrappers...
Platforms tested:
    Linux
2002-04-25 17:51:50 -05:00
Bill Wendling
8146d97138 [svn-r5267] Purpose:
Update
Description:
    Added a conversion of the H5config_fortran.h file to
    H5pubconf_fortran.h so as to keep with the HDF5 format of using H5_
    as a prefix for HAVE_* macros.
Platforms tested:
    Linux
2002-04-25 17:44:07 -05:00
Bill Wendling
43d1e71c2b [svn-r5266] Purpose:
Update
Description:
    Updated the h5vers script to automatically update the configure.in
    files so that they reflect the correct version in the AC_INIT line.
Platforms tested:
    Linux
2002-04-25 17:37:24 -05:00
Elena Pourmal
c543c53a0d [svn-r5263]
Purpose:
    Bug fix
Description:
    For some unknown to myself reason I used 32-bit integer for INTEGER(HSIZE_T)
    on Solaris platforms when 64-bit integers are available for both C and Fortran.
Solution:
    Use long long type to describe h(s)size_t_f types
Platforms tested:
    Solaris 2.7 ans 2.6
2002-04-25 14:49:51 -05:00
Elena Pourmal
8ae9564dcc [svn-r5262]
Purpose:
    Bug fix
Description:
    For some unknown to myself reason I used 32-bit integer for INTEGER(HSIZE_T)
    on Solaris platforms when 64-bit integers are available for both C and Fortran.
Solution:
    Use the proper KIND argument to define INTEGER(HSIZE_T)
Platforms tested:
    Solaris 2.7 ans 2.6
2002-04-25 14:48:53 -05:00
Quincey Koziol
53d0c6b050 [svn-r5261] Purpose:
Code cleanup

Description:
    Remove more debugging printf's that were ifdef'd out.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 13:29:27 -05:00
Quincey Koziol
fd6731e7cd [svn-r5260] Purpose:
Code cleanup

Description:
    Previously, the I/O pipeline (pline), external file list (efl) and fill-
    value (fill) structs were passed down the raw data function call chain,
    even into and/or through functions which didn't use them.  Since all three
    of these pieces of information are available from the dataset creation
    property list, just pass the dataset creation property list down the
    function call chain and query for the information needed in a particular
    function.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 13:02:17 -05:00
Quincey Koziol
d33f7d93a3 [svn-r5259] Purpose:
Code cleanup

Description:
    Previously, the I/O pipeline (pline), external file list (efl) and fill-
    value (fill) structs were passed down the raw data function call chain,
    even into and/or through functions which didn't use them.  Since all three
    of these pieces of information are available from the dataset creation
    property list, just pass the dataset creation property list down the
    function call chain and query for the information needed in a particular
    function.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-25 12:56:56 -05:00