Commit Graph

5718 Commits

Author SHA1 Message Date
Bill Wendling
0eaf192df8 [svn-r7569] Purpose:
Bug Fix/Update

Description:
    Updated "trace" to include "void**" as a datatype (it sets it to
    "x"). Format changes as well.

    Added "close(DEPEND); close(NEW);" to the dependencies script. This
    was reported by a user that it wasn't doing this.

Platforms tested:
    Linux (small changes)

Misc. update:
2003-10-07 16:10:53 -05:00
Frank Baker
cf629d9e6c [svn-r7567]
Purpose:
    Alphabetic sort of RM function entries
    Additional and modified HTML coding to accomodate HTMLdoc and
        automated PDF generation

Description:

Solution:

Platforms tested:

Misc. update:
2003-10-07 14:56:17 -05:00
Frank Baker
038c920c9f [svn-r7566]
Purpose:
    Aphabetic sort of RM function entries
    Integrated Fortran90 APIs -- h5acreate_f and h5aclose_f

Platforms tested:
    IE 5, Safari
2003-10-07 14:50:38 -05:00
Frank Baker
5956fb6381 [svn-r7565]
Purpose:
    Aphabetic sort of RM function entries
    Minor formatting

Platforms tested:
    IE 5, Safari
2003-10-07 14:18:32 -05:00
Frank Baker
03dd1f7e2f [svn-r7564]
Purpose:
    Aphabetic sort of RM function entries

Platforms tested:
    IE 5, Safari
2003-10-07 12:31:35 -05:00
Quincey Koziol
58c03f79fd [svn-r7561] Purpose:
Feature add

Description:
    Add a few new fields to the H5G_stat_t structure, to allow more information
about the object header to be retrieved.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-07 10:27:19 -05:00
Quincey Koziol
f766b32d07 [svn-r7559] Purpose:
Add feature

Description:
    Add H5Fget_freespace() routine, to check the amount of free space in a
    file.  This information is only valid until the file is closed currently,
    however (until we start recording the free space information in the file
    itself).

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-07 08:32:32 -05:00
HDF Admin
259247fc32 [svn-r7558] Snapshot version 1.7 release 5 2003-10-07 06:15:05 -05:00
Quincey Koziol
c708028588 [svn-r7553] Purpose:
Improved algorithm (bug fix, sorta)

Description:
    The internal algorithm for adding new IDs in the ID manager code (H5I) was
adding new IDs to the front of the linked list and never adjusting the order
of the items on the list (unless an ID was deleted).  If many new objects were
created, they would push earlier ones _way_ down the list (especially if the
objects were being leaked in the application, as they appear to be in the
current HDF-EOS5 library) and would cause O(n) search time for items on the
list.
    The ID caching code in the ID manager was avoiding this behavior sometimes,
but it was adding IDs that were looked up to the very tail of the cache and
they would frequently leave the cache before helping.

Solution:
    Implemented a "move to front" scheme for the linked list of IDs, which
improves the lookup situation for frequently accessed objects.

    Removed ID caching code now, as the "move to front" algorithm actually
works better.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-10-06 14:14:15 -05:00
Quincey Koziol
98dfa67e89 [svn-r7551] Purpose:
Bug/feature fix.

Description:
    Relax restriction on parallel writing to compact datasets to allow partial
I/O.

    Updates to reference manual mentioning the issues involved are delayed until
reference manual 'lock' is removed later this week.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-10-06 10:17:09 -05:00
Quincey Koziol
43c69e978b [svn-r7549] Purpose:
Add new name datatype in attributes files
2003-10-06 08:55:23 -05:00
Quincey Koziol
651bd4e252 [svn-r7542] Purpose:
Bug fixes and code cleanup

Description:
    Whitespace removal.

    Added testfiles for named datatypes in attributes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:23:57 -05:00
Quincey Koziol
f768247888 [svn-r7541] Purpose:
Bug fixes and code cleanup

Description:
    Corrected output of array separator when vlen separator was needed.
        datatypes.

    Parts of formatting cleanup to greatly reduce the amount of trailing
        whitespace emitted in output.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:20:33 -05:00
Quincey Koziol
71f0aeff2a [svn-r7540] Purpose:
Bug fixes and code cleanup

Description:
    Changes to h5dump code:
        - Dump shared datatypes for any class of datatype, not just compound
            datatypes.
        - Cleaned up formatting to greatly reduce the amount of trailing
            whitespace emitted in output.  Also removed some spurious blank
            lines from named datatype output.

    Added code to generate named datatype attribute test file.

    Added tests for dumping named datatypes in attributes for both DDL and
        XML output.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:19:38 -05:00
Quincey Koziol
3bc05bfd24 [svn-r7539] Purpose:
Bug fixes and code cleanup

Description:
    Re-worked ohdr test to use modification time messages instead of symbol
        table messages, now that the library correctly tries deleting the
        local heap and B-trees for the symbol tables (which didn't exist and
        caused the test to fail).

    Added tests for using named datatypes in attributes to verify that the
        reference counts are being tracked correctly, etc.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:14:40 -05:00
Quincey Koziol
b8201120fc [svn-r7538] Purpose:
Bug fixes and code cleanup

Description:
    Lots of changes here:
        - Fixed bug #691 - when shared datatypes are used in attributes they
            are incorrectly copied into the attribute instead of referring
            the the named datatype in the file.  This required bumping the
            version of the attribute message.  The new version of the attribute
            message is only written out when a shared datatype is used in
            the attribute.  [Also, this format change made the size of the
            attribute smaller.]
        - Added information to attribute debugging routine so that shared
            datatypes are displayed correctly with the h5debug tool.
        - Refactored the H5O* routines to extract code that was common to
            several routines into subroutines to call.
        - Added 'link' method for H5O message sub-classes, which increments
            the link count on shared objects when a message is created which
            shares them.
        - Corrected [unreported] bug where the link count was not being
            decremented on the shared object when a object header message
            with a reference to that object was deleted from the file.
        - Reduced size of shared message from 49 bytes (which was incorrect
            anyway and should have been 48 bytes) to 10 bytes, which required
            bumping the version of "shared" messages.
        - Refactored some of the shared datatype routines to allow for easier
            queries of "committedness" internally to the library and also
            added routine to easily increment/decrement the reference count of
            a shared datatype.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:12:26 -05:00
Elena Pourmal
b6be270f1f [svn-r7529] Purpose: Code cleanup
Description: On Linux systems valdrind tool complained about memroy leaks in the
             following statements like
               if(!a) free(a);

Solution: replaced the statements with
          if ( a != NULL) free(a);

Platforms tested: eirene (too small for committest)

Misc. update:
2003-10-01 11:10:53 -05:00
Bill Wendling
94681179cc [svn-r7528] Purpose:
Bug Fix

Description:
    The FPHDF5 code couldn't create a dataset then access it. Turns out
    that the "O_find_in_ohdr" code was protecting the object header which
    pulls it into the cache then unprotecting it. However, this caused
    the cache entry to be blown away and THEN we'd try to reread the
    entry (via AC_protect) but it didn't have all of the data that the
    find_in_ohdr function decodes for us decoded. It was also kind of
    unnecessary since we can just protect then call O_find_in_ohdr.

Solution:
    Removed the AC_protect and AC_unprotect from O_find_in_ohdr. Called
    AC_protect before calling the O_find_in_ohdr function.

Platforms tested:
    Linux (Fortran, C++)
    IRIX (parallel, Fortran)
    Sun (Fortran)

Misc. update:
2003-09-30 13:55:08 -05:00
Quincey Koziol
c58d85f10e [svn-r7527] Purpose:
Code cleanup

Description:
    Clean up a few loose ends and warnings for the 1.6 compatibility changes
to the error API.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-09-30 11:20:46 -05:00
Quincey Koziol
c48165cb11 [svn-r7526] Purpose:
Fix typo in comment.

Description:
    Looks like a cut & paste error.

Platforms tested:
    None - just comment fixup
2003-09-30 10:27:35 -05:00
Raymond Lu
d4a47acf93 [svn-r7525] Purpose: Update MANIFEST
Misc. update: clean it up for error test
2003-09-30 09:05:57 -05:00
Raymond Lu
52f44b8877 [svn-r7524] *** empty log message *** 2003-09-29 15:35:07 -05:00
Raymond Lu
72aed6fded [svn-r7523] Purpose: bug fix
Description:  Standard output of Error API test has some non-standard information

Solution:  use sed to remove non-standard information

Platforms tested: h5committest
2003-09-29 15:35:00 -05:00
Raymond Lu
9db7c79487 [svn-r7522] *** empty log message *** 2003-09-29 15:19:02 -05:00
Raymond Lu
1bae94c5e8 [svn-r7521] Purpose: bug fix
Description: The standard output from Error API test has some non-standard
message like path name or line number.

Solution:  use sed to remove any non-standard information in testerror.sh

Platforms tested: h5committest
2003-09-29 15:18:47 -05:00
Raymond Lu
cb99b28251 [svn-r7520] Purpose: bug fix
Description: add backward compatibility for thread safety


Platforms tested: RH 8(fuss)

Misc. update:
2003-09-29 11:24:56 -05:00
Raymond Lu
b997db6cdd [svn-r7519] Purpose:
Description:  add backward compatibility for thread safety.


Platforms tested: RH 8(fuss)
2003-09-29 11:23:15 -05:00
Albert Cheng
53b34b2e96 [svn-r7518] Purpose:
Corrected an error entry.

Platforms tested:
bin/chkmanifest
2003-09-27 10:25:57 -05:00
HDF Admin
0ebcd58d18 [svn-r7517] Purpose:
bug fix

Description:
Removed an extra export command in the parse of setenvN

Platforms tested:
Tested by hand.

Misc. update:
2003-09-25 22:29:41 -05:00
Raymond Lu
21ffbeda9e [svn-r7513] Purpose: Disable Error API test
Description: The error test script compares the error messages to the standard
    output.  The file names and line numbers in the messages can be different
    for users.

Solution: Temporarily disable the test until find a good solution.

Platforms tested: None.  Disabling a test.
2003-09-25 10:16:03 -05:00
Albert Cheng
ecec113d10 [svn-r7510] Purpose:
Updated.
2003-09-25 10:07:17 -05:00
Albert Cheng
0f70e6ea7e [svn-r7509] Purpose:
Added the entry of document of the three basic performance tools.
The information was provided by Robb long time ago.

Platforms tested:
Viewed by IE.

Misc. update:
2003-09-25 10:04:18 -05:00
Raymond Lu
5fd4e706cc [svn-r7508] Purpose: shell script file to compare error test output with standard one. 2003-09-24 14:35:48 -05:00
Raymond Lu
7e79a8d71e [svn-r7507] *** empty log message *** 2003-09-24 14:26:50 -05:00
Raymond Lu
52f3545bde [svn-r7506] Purpose: Add backward compatbility with v1.6 for Error API; change error tests
to avoid printing error messages.

Description:  If enable-hdf5v1_6 is configured in, make some functions
    compatible with v1.6.  Error test program print out some error messages as
    it succeeds.

Solution:  Use #ifdef H5_WANT_H5_V1_6_COMPAT statements.  Use shell script
    to compare error test output with the standard one.

Platforms tested: h5committest
2003-09-24 14:25:16 -05:00
Albert Cheng
c6c38fb1bd [svn-r7504] Purpose:
Bug fix

Description:
The op-snapshot checkout "ate" the next option by mistake.

Solution:
Remove the extra shift.

Platforms tested:
Can't really test it without doing a real snapshot test.
Pretty sure it is correct and will watch the result tomorrow.

Misc. update:
2003-09-22 23:45:05 -05:00
HDF Admin
be77a044fe [svn-r7502] Snapshot version 1.7 release 4 2003-09-21 06:12:33 -05:00
Pedro Vicente Nunes
1a6d53549f [svn-r7501] Purpose:
added the Dependencies file of h5repack Makefile  to the list




Misc. update:
2003-09-19 16:59:58 -05:00
Pedro Vicente Nunes
e61aa077c4 [svn-r7500]
Purpose:

added the Dependencies file to the folder

tested on IRIX     b

Description:

Solution:

platforms tested:

Misc. update:
2003-09-19 16:57:36 -05:00
Pedro Vicente Nunes
675dde0699 [svn-r7499] Purpose:
added h5repack to the list of tools to make check




Platforms tested:
linux (small change)

Misc. update:
2003-09-19 15:21:05 -05:00
Quincey Koziol
3752177106 [svn-r7498] Purpose:
Code cleanup

Description:
    Clean up various warnings and parameter mis-matches, etc.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to need h5committest
2003-09-19 15:13:47 -05:00
Pedro Vicente Nunes
14b9ac8763 [svn-r7497] Purpose:
added  the new tool h5repack
right now it just contains source files with an empty main


Platforms tested:
linux (small change)

Misc. update:
2003-09-19 14:33:41 -05:00
Pedro Vicente Nunes
5c1cc7c804 [svn-r7496] Purpose:
included the new tool h5repack in the configure files




Platforms tested:
linux (small change)

Misc. update:
2003-09-19 14:32:25 -05:00
Bill Wendling
ce5a4cf6f3 [svn-r7495] Purpose:
Removed Dead Code

Description:
    Some of the FPHDF5 code was dead (I thought it'd be useful at one
    point, but was wrong).

Solution:
    Removed

Platforms tested:
    Linux (FPHDF5 specific. No need for h5committest)

Misc. update:
2003-09-19 14:27:17 -05:00
Quincey Koziol
e38803837f [svn-r7494] Purpose:
Bug fix

Description:
    Buffer for decoding superblock's driver information was too small when
using some VFDs (like the multi-file VFD).

    Also made FPH5 code more portable and obvious when it's broadcasting the
superblock from the captain process to the other clients.

Solution:
    Allocate the buffer for the driver information dynamicly

Platforms tested:
    Copper
    No h5committest because it's already working on other platforms.
2003-09-19 12:20:01 -05:00
Quincey Koziol
43f06303db [svn-r7492] Description:
Disable "big" parallel tests until I get a chance to look into the
problems (probably during/after the workshop).

Platforms tested:
    Eyeballed
    Too minor to require h5committest
2003-09-18 17:52:14 -05:00
Bill Wendling
f86cc0f1f4 [svn-r7491] Purpose:
FPHDF5 Update

Description:
    Added locking/unlocking to the AC_protect/AC_unprotect calls. The SAP
    does all of the caching so nothing should be saved on the client
    side. So, when the client unlocks the metadata, it can destroy it.
    The metadata is always read from the SAP during a lock.

Platforms tested:
    Linux (FPHDF5 specific change. No need for h5committest)
2003-09-18 16:54:13 -05:00
Bill Wendling
1440f2c2db [svn-r7490] Purpose:
Update

Description:
    Removed the call to H5HL_peek

Platforms tested:
    Modi4 (paralle, Fortran)
    Sol (Fortran)
    Linux (C++, Fortran)
    Copper (Parallel, Fortran)

Misc. update:
2003-09-18 14:27:45 -05:00
Bill Wendling
fec0297f86 [svn-r7489] Purpose:
Update

Description:
    A lot of modifications for the FPHDF5 stuff:

        H5AC.c
        H5ACprivate.h - Removed AC_find (it's replaced with AC_protect
        and AC_unprotect). Added flushing if it's an FPHDF5 driver and
        we're doing an AC_set or AC_unprotect with the dirty flag set.

        H5B.c - Split up the B_flush function into different functions
        since the one function was doing serialization which is better
        left as a separate entity.

        H5D.c - Removed some FPHDF5 code that was incorrect

        H5F.c - Split up the F_flush function so that it no longer
        allocates file space. Created new functions (F_init_superblock,
        F_read_superblock, and F_write_superblock) for greater modularity
        and so that the FPHDF5 non-captain processes can read the
        superblock after the captain process writes it.

        H5FD.c - Error message correction.

        H5FDfphdf5.c - Removed MPI barrier call that wasn't needed.

        H5FPclient.c
     	H5FPserver.c - Modified so that if a process requests data that
        isn't exactly aligned, we can return it if we have the block that
        contains the requested address.

        H5G.c
        H5Gent.c
        H5Gnode.c
        H5HL.c
     	H5HLpkg.h
        H5HLprivate.h
        H5Oefl.c - Removed the H5HL_peek function since it was doing a
        (now unsafe) holding of the information in the cache. Replaced
        with protect and unprotect calls.

        H5TB.c - Error fix. The TB_dless function wasn't working
        properly.

        H5Gstab.c - Format change.

        H5err.txt
        H5Edefin.h
        H5Einit.h
     	H5Epubgen.h
        H5Eterm.h - Added new error code.


Platforms tested:
    Modi4 (paralle, Fortran)
    Sol (Fortran)
    Linux (C++, Fortran)
    Copper (Parallel, Fortran)

Misc. update:
2003-09-18 14:27:27 -05:00
Albert Cheng
2e3693aa8b [svn-r7488] Purpose:
Improvement

Description:
The -w timeout option is not supported by all hosts.
Added the "ping -c 3" possible PING command.

Platforms tested:
Tested in eirene by hand only.

Misc. update:
2003-09-18 12:22:54 -05:00