Commit Graph

3340 Commits

Author SHA1 Message Date
Raymond Lu
a9dea215ed [svn-r6060]
Purpose:
    Add new functions
Description:
    add H5Tget_native_type and H5Tis_variable_str.
Platforms tested:
    arabica, eirene, modi4
Misc. update:
    MANIFEST and release_docs/RELEASE updated.
2002-11-06 16:08:45 -05:00
Bill Wendling
01b3ee75cf [svn-r6057] Purpose:
New Feature. Support for new FPHDF5 Feature
Description:
    More support for the FPHDF5 feature. This splits the H5D_create
    function into separate parts which update the metadata cache. It was
    necessary to split apart the H5O_create function to do a similar
    thing since it would allocate real space on the hard disk.

    I'm checking this up now so that I don't get too far away from what
    the CVS repository has and so that others may look at the code and
    retch^H^H^H^H^Hmarvel at it. If there are any comments, send them my
    way.

    There is one outstanding issue, though. I need to use non-API
    functions in the FPHDF5 stuff. I'm using some APIs right now and
    should migrate to using others. At the moment, I'm putting that on
    the back burner until I'm more along in the implementation.
Platforms tested:
    Arabica (C++)
    Eirene (Parallel)
    Modi4 (Parallel)
2002-11-05 12:55:27 -05:00
Quincey Koziol
22f38d627e [svn-r6055] Purpose:
New feature

Description:
    Add support for scalar dataspaces in parallel I/O.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    Also, FreeBSD 4.7 (sleipnir) serial & parallel
Misc. update:
    Update release_docs/RELEASE for bug fixes, new features, etc.
2002-11-05 11:31:02 -05:00
HDF Admin
30b45c75e2 [svn-r6050] Snapshot version 1.5 release 40 2002-11-02 03:54:27 -05:00
Quincey Koziol
ba751a6a4c [svn-r6047] Purpose:
Bug fix & code cleanup

Description:
    Hyperslab code for collapsing dimensions was incorrectly collapsing
    selections inappropriately when the fastest changing dimension couldn't
    be collapsed.

    Also add some more assertions which will make similar bugs easier to find.

Solution:
    Break out of loop earlier.

Platforms tested:
    modi4 (parallel), too small to triple check.
2002-11-01 13:39:20 -05:00
Quincey Koziol
820f4b6fc6 [svn-r6043] Purpose:
Bug fix

Description:
    I/O using "none" selections in parallel wasn't working correctly.  Also,
    add serial "none" selection test.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
2002-10-29 14:42:10 -05:00
Raymond Lu
67a679af07 [svn-r6041]
Purpose:
    Bug fix
Description:
    #340 - get comment length for H5G;
    #435 - H5Aget_storage_size;
    #644 - H5Arename
Platforms tested:
    eirene, arabica
2002-10-29 11:37:49 -05:00
Quincey Koziol
0d1aba339e [svn-r6040] Purpose:
Code cleanup

Description:
    Add more comments and clean up small bits of the FPH5 code.

Platforms tested:
    FreeBSD 4.7 (sleipnir), changes too minor to affect other platforms.
2002-10-28 13:45:26 -05:00
HDF Admin
f2b49d18fe [svn-r6033] Snapshot version 1.5 release 39 2002-10-26 03:51:04 -05:00
Bill Wendling
d77d7e04c5 [svn-r6030] Purpose:
Another Oops
Description:
    I accidentally checked in the H5D.c module when I shouldn't have.
Solution:
    Rolled back to 1.281 version
Platforms tested:
    Linux
2002-10-23 17:13:00 -05:00
Bill Wendling
d1f3de3a58 [svn-r6029] Purpose:
Oops
Description:
    The H5FPprivate.h file was being #included even if PARALLEL was
    turned off.
Solution:
    put the #include of the H5FPprivate.h file within the #ifdef block so
    that it doesn't get included if H5_HAVE_FPHDF5 isn't defined.
Platforms tested:
    Linux...
2002-10-23 17:09:33 -05:00
Bill Wendling
f5b0c68a53 [svn-r6028] Purpose:
Bug Fix
Description:
    The NBYTE{ENCODE,DECODE} macros were updating the pointer "p" to a
    new value instead of one of the "real" pointers passed into the
    macro.
Solution:
    Changed it so that it updates the destination pointer which gets
    passed into these macros.

    I'm not sure if this is correct, since neither of these macros are
    actually used in our source code...
Platforms tested:
    They aren't used, so no testing possible.
2002-10-23 14:35:36 -05:00
Bill Wendling
42e07130b8 [svn-r6026] Purpose:
Feature Add
Description:
    New Makefiles and H5config.h.in file for the Flexible Parallel HDF5
    stuff.
Platforms tested:
    Eirene, Arabica, Modi4
2002-10-23 14:31:45 -05:00
Bill Wendling
79f0efa9fd [svn-r6025] Purpose:
Feature Add
Description:
    New files for the Flexible Parallel HDF5 stuff.

    H5FP.c - Module housing the APIs to FPHDF5
    H5FPclient.c - Module housing the internal client APIs
    H5FPserver.c - Module housing the internal server APIs
    H5FPpublic.h - Header for public APIs
    H5FPprivate.h - Header for private APIs
    H5Ofphdf5.c - Way of serializing FPHDF5 information to and from the
                  SAP
    H5Oplist.c - Way of serializing a generic property list.

Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?
    [If no, why not?]
    Other platforms/configurations tested?
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-10-23 14:30:50 -05:00
Bill Wendling
b39dd538ec [svn-r6024] Purpose:
Feature Add
Description:
    Moved some functions from having only module scope to having public
    scope, but only available in the HDF5 internals (not public APIs).
Platforms tested:
    Eirene, Arabica, Modi4
2002-10-23 14:28:05 -05:00
Bill Wendling
8999dd751d [svn-r6023] Purpose:
Feature Add
Description:
    Added some error messages for the Flexible Parallel HDF5 stuff.
Platforms tested:
    Arabica
    Eirene
    Modi4
2002-10-23 14:24:25 -05:00
Albert Cheng
7e105d1066 [svn-r6006] Purpose:
Bug fix (ID 841)
Description:
    h5dumptst (generating h5dump test files) failed with an assertion error
    in H5S_select_iterate.  H5S_select_iterate did not account for scalar
    type that has rank=0, thus no dimension sizes.
Solution:
    Put the assertion of valid sizes only after verify rank is larger than
    0.  (fix is coached by Quincey.)
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? YES.
Misc. update:
    Update release_docs/RELEASE for bug fixes, new features, etc. YES.
2002-10-15 16:12:48 -05:00
Quincey Koziol
e5565c55a3 [svn-r6005] Purpose:
New feature.

Description:
    Added check for "HDF5_DISABLE_VERSION_CHECK" environment variable to
    disable the version checking code between the headers and the library.

Tested:
    FreeBSD 4.7 (sleipnir) - no triple check necessary.
2002-10-15 15:12:11 -05:00
Quincey Koziol
1e231d3283 [svn-r5995] Purpose:
Code cleanup/Bug Fix

Description:
    Re-do the ID->name code again, taking into account many more weird and
    wonderful special cases stumbled across during the last set of test
    writing.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 15:08:23 -05:00
Quincey Koziol
0173a3720d [svn-r5993] Purpose:
New feature.

Description:
    Add H5P_DEFAULT_HASH_SIZE macro for users to use as the default size of
    hash tables for H5Pcreate_class.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 14:57:17 -05:00
Quincey Koziol
754cf917b4 [svn-r5992] Purpose:
Bug fix

Description:
    Generic property classes where incorrectly reference counting their
    users, in certain cases, causing a memory leak.

Solution:
    Cleanup reference counting code & unify in H5P_access_class()

Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 14:56:13 -05:00
Quincey Koziol
c91edf2b3a [svn-r5988] Purpose:
Code cleanup

Description:
    Changed a HRETURN_ERROR to HGOTO_ERROR

Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 14:41:11 -05:00
Quincey Koziol
294647ea97 [svn-r5987] Purpose:
Code cleanup

Description:
    Clean up compile warnings.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 14:23:40 -05:00
Quincey Koziol
a028401448 [svn-r5986] Purpose:
Code cleanup

Description:
    Shift further toward removing the HRETURN* macros, in favor of the HGOTO*
    macros for error reporting.

    This change disables them in the header file and is the last change before
    removing them entirely after the 1.6 release.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 13:37:36 -05:00
Quincey Koziol
ea08053e29 [svn-r5983] Purpose:
More fixups to the Dependencies files...
2002-10-14 13:11:12 -05:00
Quincey Koziol
b9c390c382 [svn-r5982] Purpose:
Update to correctly build H5Tinit.c from H5detect
2002-10-14 10:17:01 -05:00
Quincey Koziol
a83585acca [svn-r5981] Purpose:
Regenerate Dependencies files.
2002-10-14 09:58:25 -05:00
HDF Admin
8e9f6be0f3 [svn-r5979] Snapshot version 1.5 release 38 2002-10-12 03:42:23 -05:00
Quincey Koziol
2f798b85df [svn-r5968] Purpose:
Code cleanup
Description:
    Change new H5P_get_class_path and H5P_open_class_path functions to be non-
    static and put prototypes in H5Pprivate.h
Platforms tested:
    FreeBSD 4.6 (sleipnir) (no triple-check necessary)
2002-10-09 08:13:57 -05:00
Quincey Koziol
ec65ddbef6 [svn-r5964] Purpose:
Internal feature.

Description:
    To complement the "get the class's path" functionality, there needs to be
    a way to open a generic property class with a path.

Solution:
    Implement the "open a class by path" functionality.  Also, add internal
    testing routines.

Platforms tested:
    FreeBSD 4.6 (sleipnir) (too small for triple testing)
2002-10-08 12:16:07 -05:00
Quincey Koziol
7e5d420349 [svn-r5963] Purpose:
New internal feature.
Description:
    Need some way to determine the "full path" for a generic property class,
    i.e. where is this class in the class hierarchy, in relation to its parent
    class, etc.
Solution:
    Added an internal function "H5P_get_class_path" and a testing function
    "H5Pget_class_path_test" that builds the full path of a generic property
    class back to the top of its class hierarchy.

    This implementation uses '/' characters to delimit the components of the
    class path, but no special cases are currently supported for having a '/'
    character as part of the actual class name.  Should this become an issue,
    code to support (and test) it will need to be added.

Platforms tested:
    FreeBSD 4.6 (sleipnir) (not major enough to justify triple-test)
2002-10-08 09:08:10 -05:00
Quincey Koziol
f2d67b4864 [svn-r5962] Purpose:
Bug fix
Description:
    H5Pequal's algorithm for comparing property lists wasn't allowing property
    lists that are equal but had the properties inserted in a different order
    in the list's hash table.
Solution:
    Re-did the algorithm a bit to compare the properties better.
Platforms tested:
    FreeBSD 4.6 (sleipnir) (minor enough to not need triple testing)
2002-10-07 12:55:55 -05:00
Quincey Koziol
0a8533efe1 [svn-r5961] Purpose:
New error code
Description:
    Add a new error code for the generic properties to use.
Platforms tested:
    FreeBSD 4.6 (sleipnir) (too small to need triple testing)
2002-10-07 12:48:27 -05:00
Raymond Lu
bc6f56390a [svn-r5959]
Purpose:
    Performance improvement for compact dataset.
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-10-04 15:51:00 -05:00
Raymond Lu
09325c1da6 [svn-r5955]
Purpose:
    a bug fix
Description:
    modify the condition check for the file close degree.
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-10-01 09:35:01 -05:00
Raymond Lu
8410a85365 [svn-r5954]
Purpose:
     a bug fix
Description:
    When a file is opened for a second time, file close degree is supposed to
    be either the same as the first open, or default as the first open is also
    default.
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-09-30 16:51:05 -05:00
Raymond Lu
d1e26ae328 [svn-r5951]
Purpose:
    New API functions
Description:
    Added API functions to return pointer to low-level file handle
    (H5Fget_vfd_handle and H5FDget_vfd_handle) and related property list
    setting functions(H5Pset_family_offset and H5Pset_multi_type).
Platforms tested:
    Linux 2.2(eirene), Solaris 2.7(arabica), IRIX64 6.5(modi4)
2002-09-30 11:31:55 -05:00
HDF Admin
4cfb158c29 [svn-r5949] Snapshot version 1.5 release 37 2002-09-28 03:38:31 -05:00
Quincey Koziol
12e30dc9b2 [svn-r5947] Purpose:
Code cleanup

Description:
    Clean up ID->name code:
        - Reformat to better match library coding standard
        - Changed several algorithms to be more efficient
        - Integrated into library more smoothly

Platforms tested:
    eirene w/FORTRAN & C++
    arabica w/FORTRAN
    modi4 w/FORTRAN & parallel
    sleipnir
2002-09-25 09:50:49 -05:00
Pedro Vicente Nunes
47fc490832 [svn-r5936]
Purpose:
      bug fix


       [       i  s      this a bug fix? feature? ...]
Description:


  the copy of a symbol table entry was done with a  shallow copy, in H5T_copy
 this was causing an exception on the free call of the ID to name buffer


                                                            replaced a shallow copy of a symbo  l a          edescribe the bug, or describe the new feature, etc]

Solution:
    [details about the changes, algorithm, etc...]

    [Please as detail as you can since your own explanation is
    better than others guessing    it from the code.]
Platforms tested:
windows 2000
solaris with cpp, fortran
irix64, with fortran, parallel              i r



[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.]
2002-09-21 18:20:00 -05:00
MuQun Yang
e5b28ef37b [svn-r5931]
Purpose:
__DLL__ is a keyword in some platforms and __DLL__ is also defined as a macro for windows DLL applications.
That causes problems.
Description:
Solution:
Use H5_DLL*** to replace __DLL***__ at all header files.
Change the macro defination at H5api_adpt.h.
Platforms tested:
linux2.2.18smp, irix64, solaris 2.7 and windows 2000
2002-09-20 15:36:09 -05:00
Pedro Vicente Nunes
2aca3b77d6 [svn-r5929]
Purpose:
    bug fix
Description:
    memory leak regarding the ID to name buffer
Solution:
    added a new function H5G_free_ent_name that is called on several places of the library
Platforms tested:
 windows 2000
 linux, with cpp
 solaris, with fortran, cpp
 irix64, with parallel, fortran
2002-09-18 10:51:29 -05:00
HDF Admin
d32ad09043 [svn-r5927] Snapshot version 1.5 release 36 2002-09-14 03:38:10 -05:00
Quincey Koziol
12f8879c40 [svn-r5926] Purpose:
API name change

Description:
    Change all "space time" references to "alloc time", including API functions
    and macro definitions, etc.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN
2002-09-13 11:57:46 -05:00
Quincey Koziol
18758623d7 [svn-r5925] Purpose:
Code cleanup

Description:
    Eliminate memory leak of compact storage raw data buffer found by purify.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/C++
    Solaris 2.7 (arabica) w/C++
    IRIX64 6.5 (modi4) w/parallel & FORTRAN
2002-09-13 11:29:30 -05:00
Quincey Koziol
f0f56c0c0a [svn-r5924] Purpose:
Code cleanup

Description:
    Switch order of test on array bounds to avoid reading data outside of array
    Located by purify.

Platforms tested:
    FreeBSD 4.6 (sleipnir) w/C++
    Solaris 2.7 (arabica) w/C++
    IRIX64 6.5 (modi4) w/parallel & fortran
2002-09-13 11:27:09 -05:00
Quincey Koziol
208e59bab9 [svn-r5921] Purpose:
Code cleanup

Description:
    Two of the parameters to H5S_select_hyperslab are defined as
    "const hsize_t foo[]", and then "foo" is assigned another value, which is
    technically against the C standard and is now causing problems for a user
    with a more strict compiler.

Solution:
    Changed "const hsize_t foo[]" to "const hsize_t *foo".

Platforms tested:
    FreeBSD 4.6 (sleipnir) - not a significant enough change to worry about
    multi-platform testing.
2002-09-11 16:34:14 -05:00
Quincey Koziol
7122750342 [svn-r5918] Purpose:
Bug fix.

Description/Solution:
    Fix bug in log file driver where the size of the buffer for recording the
    log information was being set incorrectly.

Platforms tested:
    FreeBSD 4.6 (sleipnir) - no additional testing on other machines neceessary,
    due to scope of fix.
2002-09-11 11:59:56 -05:00
HDF Admin
0b99dd414c [svn-r5912] Snapshot version 1.5 release 35 2002-09-07 10:47:53 -05:00
Pedro Vicente Nunes
d3f2e1bdff [svn-r5911]
Purpose:
    bug fix in 'ID to name' function
Description:
    the function replace_name was only checking for immutable datatypes
Solution:
added a new function H5T_is_named, that checks for named datatypes


Platforms tested:
windows 2000, linux, solaris with Fortran
2002-09-04 10:50:12 -05:00