Commit Graph

5630 Commits

Author SHA1 Message Date
Frank Baker
9ef846aef1 [svn-r7589]
Purpose:
    Integrate Fortran90 interfaces into C RM.

Solution:
    Remove "Non-C APIs" sections.
    Add "Fortran90 Interfaces" sections with F90 descriptions.

Platforms tested:
    IE 5, Safari
2003-10-09 14:20:47 -05:00
Quincey Koziol
62311b71ee [svn-r7587] Purpose:
Updated information about FreeBSD versions
2003-10-09 12:15:22 -05:00
Frank Baker
d0f0bc2296 [svn-r7585]
Purpose:
    Alphabetic sort of RM function entries
    Additional and modified HTML coding to accomodate HTMLdoc and
        automated PDF generation
    Function index formatting

Platforms tested:
    IE 5, Safari
2003-10-09 11:56:04 -05:00
Quincey Koziol
a6c7dc1227 [svn-r7584] Purpose:
Code cleanup

Description:
    Added line #'s to a bunch of the error printf's, so it's easier to locate
where an error occurs.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Cray SV1 (wind)
2003-10-09 11:55:59 -05:00
Quincey Koziol
b04c09522b [svn-r7582] Purpose:
Bug fix

Description:
    The tests recently added for checking a file's freespace and verifying the
new fields added to the H5G_stat_t structure use H5T_NATIVE_INT as the type for
the datasets and attributes they create.  Because the tests check explicit file
sizes, this causes problems on Crays, where a native int is 64-bit instead of
32-bit.

Solution:
    Change the tests to use H5T_STD_U32LE instead of H5T_NATIVE_INT.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Cray SV1 (wind)
2003-10-09 11:55:03 -05:00
Quincey Koziol
8da2fafcec [svn-r7580] Purpose:
Bug fix

Description:
    The VL type conversion routine attempt to align it's destination buffer to
an offer that will work for both hvl_t and char * types, but the algorithm used
fails to work correctly on Cray machines.

Solution:
    Give up on attempting to align the buffer when it's allocated on the stack.
Just dynamically allocate it instead.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Cray SV1 (wind)
2003-10-09 11:52:12 -05:00
Frank Baker
dc4212e15c [svn-r7577]
Purpose:
    Alphabetic sort of RM function entries
    Additional and modified HTML coding to accomodate HTMLdoc and
        automated PDF generation
    Minor copy edits

Platforms tested:
    IE 5, Safari
2003-10-08 16:48:44 -05:00
Frank Baker
cccd86aa0e [svn-r7576]
Purpose:
    Alphabetic sort of RM function entries
    Additional and modified HTML coding to accomodate HTMLdoc and
        automated PDF generation
    Corrected link to the F90 subroutine h5rget_object_type_f from the
	H5Rget_obj_type function description

Platforms tested:
    IE 5, Safari
2003-10-08 16:26:05 -05:00
Albert Cheng
c84d9f5eab [svn-r7575] Purpose:
Feature, sort of.

Description:
Reactivated the big dataset test.  Changed it
to default off, can be turned on via -b.

Platforms tested:
Only in Copper which is the only local machine safe to run
mulitple GB size files.

Misc. update:
2003-10-08 15:29:27 -05:00
Bill Wendling
25fe6cbafa [svn-r7574] Purpose:
Code Improvement

Description:
    Changed from passing a structure into a function by value into
    passing it in by pointer. Noticed this while compiling with a highly
    optimizing compiler which took >30 minutes to analyze the program
    (granted, this is the compiler's fault, but in general, it's better
    to pass large structures in by pointer and not by value).

Platforms tested:
    Linux (specific to h5import, so only needed to test on one platform)

Misc. update:
2003-10-08 13:11:50 -05:00
Quincey Koziol
48b4a56d93 [svn-r7572] Purpose:
Bug fix

Description:
    When too many messages were inserted into an object header, the library
had an internal pointer to the "new message" that was pointing to the incorrect
location when the array of messages was re-allocated.
    In the worst case, this could cause a file to be corrupted.

Solution:
    Update the internal pointer when the array is re-allocated.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too small to require h5committest
2003-10-08 12:58:58 -05:00
Frank Baker
c1afffec45 [svn-r7571]
Purpose:
    Alphabetic sort of RM function entries
    Additional and modified HTML coding to accomodate HTMLdoc and
        automated PDF generation
    Minor copy edits

Platforms tested:
    Safari, IE 5
2003-10-07 17:17:58 -05:00
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