Commit Graph

5466 Commits

Author SHA1 Message Date
Quincey Koziol
90838ac388 [svn-r7402] Purpose:
Update manifest

Description:
    Add new test files for "complex" compound datatype.
2003-08-25 15:01:53 -05:00
Quincey Koziol
32220914a5 [svn-r7401] Purpose:
Code cleanup

Description:
    Remove various "fixtype" routines which duplicate (and actually pre-date)
    the functionality in H5Tget_native_type in favor of having the tools call
    H5Tget_native_type().  This provides the same functionality (actually better
    functionality, since the old "fixtype" routines didn't handle alignment of
    compound fields correctly) and reduces the amount of code to maintain.

    Add additional tests to dump out a "complex" compound datatype which
    exercises more code in the library for aligning compound fields correctly.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-25 15:00:56 -05:00
Quincey Koziol
f841a94242 [svn-r7398] Purpose:
Code cleanup

Description:
    De-linted more code

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to require h5committest
2003-08-25 14:15:41 -05:00
HDF Admin
a532b1814e [svn-r7397] Snapshot version 1.7 release 1 2003-08-24 03:42:43 -05:00
Albert Cheng
a7d0a58592 [svn-r7396] Purpose:
Bug fix

Description:
Temporary files were not cleaned out because the definiton of
temporary files had not been updated.

Solution:
Updated it.

Platforms tested:
Tested by hand in Copper while i was testing the MPE change.

Misc. update:
2003-08-24 01:00:54 -05:00
Albert Cheng
74e4b2ea49 [svn-r7395] Purpose:
Bug fix

Description:
MPE color definitions were missing for new API.

Solution:
Updated it.

Platforms tested:
Tested by hand in Copper since that is the only place that
MPE option works currently.

Misc. update:
2003-08-24 00:58:58 -05:00
Quincey Koziol
2eee483e9b [svn-r7393] Purpose:
Code cleanup

Description:
    De-linted more code

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    too minor to require h5committest
2003-08-23 10:55:06 -05:00
Quincey Koziol
57993b61d3 [svn-r7391] Purpose:
Bug fix

Description:
    H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx were
only accepting a group ID, instead of a location ID, as our documentation for
them stated.

Solution:
    Allow them to accept a location ID.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-22 08:50:01 -05:00
Quincey Koziol
500b5f904f [svn-r7389] Purpose:
Code cleanup

Description:
    Return -1 for failed group iteration instead of 1

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-22 08:45:40 -05:00
HDF Admin
43ae120471 [svn-r7388] Purpose:
new feature

Description:
Added a new test option of
    op-snapshot <option>       snapshot option

This allows snapshot.cfg to tell runtest to run snapshot with a
special option.

Platforms tested:
Not h5committest because it is outside of its scope.
Tested by hand.

Misc. update:
2003-08-21 18:42:50 -05:00
Quincey Koziol
28f555604c [svn-r7387] Purpose:
Code cleanup

Description:
    More de-linting

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-21 13:24:28 -05:00
Quincey Koziol
942db93227 [svn-r7386] Purpose:
Code cleanup & bug fix

Description:
    More de-linting...

    Also correct a bug that lint exposed which was incrementing the incorrect
driver ID of a file driver and also no saving the correct driver ID for the
newly opened file.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor for h5committest
2003-08-20 12:49:13 -05:00
Quincey Koziol
9c020d5bd3 [svn-r7384] Purpose:
Code cleanup

Description:
    More linting...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to need h5committest
2003-08-19 09:44:45 -05:00
Quincey Koziol
c6ed9cbbae [svn-r7383] Purpose:
Bug fix

Description:
    I/O on chunked datasets with a scalar dataspace for the memory dataspace
was not working correctly.

Solution:
    Translate the scalar dataspace into a n-dimensional (where n is the number
of dimensions of the file's dataspace) dataspace of dimensions 1x1x1...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest (modulo modi4 which is not working correctly)
2003-08-19 07:18:37 -05:00
Quincey Koziol
9881fa7e34 [svn-r7381] Purpose:
Code cleanup

Description:
    Various cleanups resulting from running lint tool over H5F.c source module

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to require h5committest
2003-08-18 11:34:27 -05:00
Quincey Koziol
79a96d6a1e [svn-r7380] Purpose:
New error

Description:
    Added H5E_CANTCLOSEOBJ error

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to need h5committest
2003-08-18 11:32:03 -05:00
Quincey Koziol
4105dfedb9 [svn-r7379] Purpose:
Code cleanup

Description:
    Changed version #'s returned from H5Pget_version from 'int *' to
'unsigned *' since we are never going to be using negative version #'s... :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-18 11:29:33 -05:00
Quincey Koziol
d99164a9ed [svn-r7377] Purpose:
Bug fix

Description:
    Linking and unlinking objects with multiple internal and/or trailing '/'s
was not handled well in the library.

Solution:
    "Normalize" strings by removing trailing '/'s and collapsing multiple
internal '/'s down into just one '/' before operating on the name.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-16 13:54:40 -05:00
Quincey Koziol
f126a1cf6f [svn-r7376] Purpose:
Bug fix/code cleanup

Description:
    Add more stream ID information to Pablo definitions.

Platforms tested:
    None - waiting for daily test tomorrow.
2003-08-16 09:49:58 -05:00
Quincey Koziol
3a9da6ae38 [svn-r7375] Purpose:
Clean up Pablo masks

Description:
    H5E.c - Moved Pablo mask definition above include files, so it affects
        inline functions properly.

    H5FDstream.c - Added Pablo mask definition to address daily build failures.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor for h5committest
2003-08-15 15:18:44 -05:00
Quincey Koziol
f05f3a33a5 [svn-r7374] Purpose:
Added comment.

Description:
    Call to MPI_Barrier should be unneccessary.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor for h5committest

Misc. update:
2003-08-15 15:08:42 -05:00
Quincey Koziol
2e4c7f1107 [svn-r7373] Purpose:
Code cleanup

Description:
    Cleanup H5Pclose code and also switch a few internal users of H5Pclose
to use H5I_dec_ref instead.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small for h5committest
2003-08-15 15:07:18 -05:00
Quincey Koziol
2147a97e4b [svn-r7372] Purpose:
Added some comments, etc.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too trivial for h5committest
2003-08-15 11:58:36 -05:00
Quincey Koziol
d33b9de7a7 [svn-r7371] Purpose:
Revert erroneous comment
2003-08-15 11:55:58 -05:00
Quincey Koziol
a309361388 [svn-r7370] Purpose:
Code cleanup & commentary

Description:
    Add comments to the recent FPHDF5 additions to this file to describe why
the changes shouldn't be in this file and attempt to find the proper home for
them.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    just comments mostly, no need to run h5committest
2003-08-15 09:48:38 -05:00
Quincey Koziol
da1e2ca089 [svn-r7369] Purpose:
Bug fix

Description:
    The metadata cache 'destroy' callback routines need the file handle in
order for certain callback routines (currently just the H5HG one) to perform
extra cleanups.  The recent change to call the 'destroy' callback from the
'clear' callback omitted this parameter.

Solution:
    Add the file handle to the metadata cache 'clear' callbacks.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-15 09:45:02 -05:00
Bill Wendling
7f4843c06b [svn-r7368] Purpose:
Bug Fix

Description:
    With the new datatypes for OIDs, I didn't write the comparison
    function correctly.

Solution:
    Changed it from:

        return oid1 == oid2

    to

        return oid1 - oid2

Platforms tested:
    Linux (FPHDF5 specific)

Misc. update:
2003-08-15 02:42:08 -05:00
Bill Wendling
ad13ea65ab [svn-r7367] Purpose:
Update

Description:
    Added an extra flag to the clear functions that triggers a "destroy"
    of the object being cleared if necessary. This is a fix for the
    FPHDF5 stuff which had an object sticking around after it was
    cleared. (In FPHDF5, some processes are in charge of destroying the
    object, but all processes might actually allocate the object.)

Platforms tested:
    AIX (Copper: Fortran & C++)
    Linux (Verbena: Fortran & C++)
    IRIX (Modi4: Parallel & Fortran)
    (Sol is down)

Misc. update:
2003-08-14 19:30:21 -05:00
Bill Wendling
ef90db21a4 [svn-r7366] Purpose:
Readd

Description:
    Readded the FPHDF5 enabling flags.


Platforms tested:
    AIX (Copper: Fortran & C++)
    Linux (Verbena: Fortran & C++)
    IRIX (Modi4: Parallel & Fortran)
    (Sol is down)

Misc. update:
2003-08-14 19:28:07 -05:00
Quincey Koziol
b27213f08d [svn-r7365] Purpose:
Update doc

Description:
    Update list of files that have been linted.
2003-08-14 09:27:43 -05:00
Quincey Koziol
54949c497a [svn-r7364] Purpose:
Code cleanup

Description:
    Ran lint over code & cleaned up warnings.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small of changes to require h5committest
2003-08-14 08:44:59 -05:00
Quincey Koziol
f29e3e1097 [svn-r7362] Purpose:
Bug fix

Description:
    Allow a user block to be "inserted" in front of a file (probably by
writing a validly-sized userblock to a new file and then appending another
HDF5 file to the new file).

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-14 07:18:34 -05:00
Albert Cheng
374ad0ef30 [svn-r7361] Description:
Updated the copyright notice--mostly by rearranging
some text to make them consistent.

Solution:

Platforms tested:
"h5committested"--sol is down, so, no SUn test.

Misc. update:
2003-08-13 23:58:29 -05:00
Albert Cheng
779af14613 [svn-r7359] Purpose:
New features

Description:
Add options of verbose (-v, -v9) and -fname which limits to
checking file with the file name pattern.

Solution:

Platforms tested:
Did not h5committest which does not cover this command.
Verified it by hand.

Misc. update:
2003-08-13 16:41:34 -05:00
Albert Cheng
c16a0fa8d3 [svn-r7358] Purpose:
added formal copyright notice.

Description:

Solution:

Platforms tested:
h5committested

Misc. update:
2003-08-13 09:32:29 -05:00
Dan Wells
0092d2b6de [svn-r7356]
Purpose: Bug fix.

Description: Parallel make fails because Pablo IDs are not assigned.

Solution: Extracted the Pablo IDs into header files and added them to the
pablo subdirectory instead of creating them on the fly.

Platforms tested: h5committested by Albert

Misc. update: Have updated MANIFEXT
2003-08-13 09:18:13 -05:00
Quincey Koziol
d72cdcad4d [svn-r7355] Purpose:
Code cleanup, etc.

Description:
    Previously (in versions prior to 1.7), there were two locations to
modify when an error was added to the library.  Now, with the new error API,
there were four.

Solution:
    Created a single text file (src/H5err.txt) and a perl script (bin/make_err)
which uses the text file to automatically create header files that are included
in appropriate places in the library.
    This means that there is only one file (src/H5err.txt) which needs to be
modified when a new error code is added to the library.  The automatically
generated headers depend on this file and the makefiles will take care of
running the perl script to regenerate them when the text file changes, so no
user action is required when a new error is added.

Platforms tested:
    h5committested
2003-08-12 20:58:10 -05:00
Quincey Koziol
d88b379479 [svn-r7354] Purpose:
Added new file

Description:
    Added new perl script to generate error headers from one location
(src/H5err.txt)

Platforms tested:
    h5committested
2003-08-12 20:52:39 -05:00
Quincey Koziol
707e0035a9 [svn-r7353] Purpose:
Added new files

Description:
    Added new error headers & perl scripts, etc.

Platforms tested:
    h5committested
2003-08-12 20:51:16 -05:00
Quincey Koziol
7f119036d3 [svn-r7352] Purpose:
Updated dependencies

Platforms tested:
    h5committested
2003-08-12 20:50:11 -05:00
MuQun Yang
a3c2612242 [svn-r7350] Purpose:
Add a macro "elif" for the defination of haddr_t on windows.


Description:
There are no H5_SIZEOF_LONG_LONG for windows; instead H5_SIZEOF____int64 is used.
So for the following macro ifdef-block:

#if H5_SIZEOF_HADDR_T ==H5_SIZEOF_INT                                                                  #   define H5_PRINTF_HADDR_FMT  "%u"                                                                   #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG                                                               #   define H5_PRINTF_HADDR_FMT  "%lu"                                                                  #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG_LONG                                                          #   define H5_PRINTF_HADDR_FMT  "%"H5_PRINTF_LL_WIDTH"u"                                               #else                                                                                                  #   error "nothing appropriate for H5_PRINTF_HADDR_FMT"                                                #endif


The error will be generated.
Solution:
Add another "elif H5_SIZEOF_HADDR_T==H5_SIZEOF___INT64" after the last "elif" above so that it
can generate the correct result on windows.

Platforms tested:
Since the change is so small, only test on windows and linux.

Misc. update:
2003-08-12 11:39:32 -05:00
MuQun Yang
fc5a04a872 [svn-r7349] Purpose:
update project to include the new h5import support.

Description:
project h5import was linking with an old h5import.c file under tools/misc,
it compiled okay, but it was not doing what it is supposed to do.


Solution:
link the project with new h5import.c under tools/h5import.
A suggestion is to remove old files from CVS tree or source distribution if they are no longer useful.

Platforms tested:
windows 2000

Misc. update:
2003-08-12 11:29:03 -05:00
Elena Pourmal
f484aafef4 [svn-r7348]
Purpose: Bug fix

Description: Somehow line DEC$if defined(BUILD_HDF4_DLL) was inserted
             to the file. It should be HDF5!!!!!!!!!!!!!!!

Solution: Fixed the typo.
          Quincey, Thank you for noticing that.

Platforms tested: Will be tested on Windows.

Misc. update:
2003-08-12 09:22:39 -05:00
Quincey Koziol
9a2f9731bd [svn-r7347] Purpose:
Code cleanup & bug fix

Description:
    Clean up code, adding error checking where appropriate

    Fix a number of routines which were clearing the default error stack
before checking some information about that stack.

    Set the version # of the library correctly when it is registered.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-12 08:29:41 -05:00
Albert Cheng
1c03bdd2ff [svn-r7344] Purpose:
feature

Description:
Added the checking for Makefile.
Skip checking CVS files.
Printed filename of unknown file types.

Platforms tested:
No h5committest.
Tested by hand on various files.

Misc. update:
2003-08-11 16:32:17 -05:00
Albert Cheng
641f9f2fea [svn-r7341] Purpose:
Updated, cleanup or added Copyright notice.

Platforms tested:
"h5committested"

Misc. update:
2003-08-11 14:37:59 -05:00
Albert Cheng
ecc84e19df [svn-r7340] Purpose:
updated.

Description:

Solution:

Platforms tested:

Misc. update:
2003-08-11 14:35:44 -05:00
Albert Cheng
2a5b8509c6 [svn-r7337] Purpose:
No longer needed. make check-install or make check does the
checking now.

Platforms tested:
no h5committest since I am removing a script command that is not
needed any more.

Misc. update:
no need to update doucment since it was an internal command
that was never documented.
2003-08-11 14:21:30 -05:00
Quincey Koziol
29156e97ae [svn-r7336] Purpose:
Update readme

Description:
    Noted that hobj_ref_t's and the objno field in the H5G_stat_t structure
can now be directly compared for equality by applications.
2003-08-11 07:45:23 -05:00
Quincey Koziol
6a41c76c04 [svn-r7335] Purpose:
Update docs

Description:
    Updated docs with new H5G_stat_t structure.
2003-08-11 07:44:24 -05:00