Commit Graph

6358 Commits

Author SHA1 Message Date
Binh-Minh Ribler
22959d8f51 [svn-r8821] Purpose: Remove files
Description:
    Removed c++/examples/*.h5

Platforms tested:
    Not necessary

Misc. update:
2004-07-07 14:36:19 -05:00
Raymond Lu
fde087cf57 [svn-r8820] Purpose: Bug fix
Description:  After changing H5Fget_filesize, forgot to update C++.


Platforms tested:  Tested for 1.6
2004-07-07 13:05:37 -05:00
Raymond Lu
c949e7c391 [svn-r8818]
Purpose:  Potential bug fix

Description:  In H5Fget_filesize, file size was returned as haddr_t.  Change it to hsize_t
and return it as parameter to make fortran interface easier.


Platforms tested:  fuss(simple change).
2004-07-07 12:03:02 -05:00
Xuan Bai
faa845f84b [svn-r8817] Purpose:
Bug Fix.

Description:
nh5zget_filter_info_c function was not declcared as H5_FCDLL, which is
required for fortran dll in Windows. _H5ZGET_FILTER_INFO_C is considered
as an unresolved external symbol by Fortran Compiler in Windows without
H5_FCDLL.

Solution:
Added H5_FCDLL for nh5zget_filter_info_c function.

Platforms tested:
DEC Fortran 6.0 in Windows XP.

Misc. update:
2004-07-07 10:26:56 -05:00
Binh-Minh Ribler
edf65a8ae8 [svn-r8816] Purpose: Remove files
Description:
    These data files are generated by the example programs and shouldn't
    need to be in the CVS.  Removed them.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-07-06 21:20:23 -05:00
Pedro Vicente Nunes
343de4f091 [svn-r8813] Purpose:
bug fix

Description:
one run from the tests had a wrong dataset  name

Solution:

Platforms tested:
linux (small )

Misc. update:
2004-07-06 16:07:05 -05:00
Pedro Vicente Nunes
4535e598f7 [svn-r8812] Purpose:
h5dump new tests

Description:
added new tests for the -p option, superblock, file contents, fill values, array indices.



Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-07-06 15:07:03 -05:00
Xuan Bai
e8337826c8 [svn-r8809] Purpose:
Update projects in Windows workspace.

Description:
John added three files under hdf5/src.  Update these files into windows workspace.

Solution:
1. Added H5C.c to the source folders of hdf5 and hdf5dll projects.
2. Added H5Cprivate.h and H5Cpublic.h to the head folders of hdf5 and hdf5dll projects.

Platforms tested:
Microsoft Visual C++ 6.0 and DEC Fortran 6.0 in Windows XP and Windows 2000.

Misc. update:
2004-07-05 18:13:23 -05:00
Quincey Koziol
06d8d7e98a [svn-r8807] Purpose:
Code optimization

Description:
    Don't copy layout information, just point to existing information.


Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-05 14:19:13 -05:00
Quincey Koziol
fc512bc771 [svn-r8805] Purpose:
Code optimization & bug fix

Description:
    Speed up "fast comparison" lookups in trees by a factor of 2-3x

    Correctly handle "fast comparisons" for unsigned values (esp. hsize_t).

Solution:
    Mostly removing if statements and redundant assigns, etc.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-05 12:08:47 -05:00
HDF Admin
3fa118a4b1 [svn-r8803] Snapshot version 1.7 release 29 2004-07-04 03:37:15 -05:00
Quincey Koziol
7cac82cf68 [svn-r8801] Purpose:
Code optimization

Description:
    Set up datatype ID for dataset's datatype on disk.  This allows us to avoid
repeatedly copying the datatype when an ID is needed.

    Also, clean up a few warnings in various other places.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-03 15:03:09 -05:00
Quincey Koziol
153444fed7 [svn-r8800] Purpose:
Code cleanup

Description:
    Fix problems when compiling with C++ compiler.

    Also clean up some warnings with gcc 3.4.x

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-07-03 12:00:01 -05:00
Elena Pourmal
3a6668b2f9 [svn-r8799]
Purpose: Maintenance

Description: H5_SZIP_CHIP_OPTION_MASK was deleted from the list
             of the available parameters for the H5Pset_szip function.

Solution: Updated Fortran source, tests and documentation
          to reflect this change.

Platforms tested: arabica (too small for h5committest)

Misc. update:
2004-07-02 21:39:24 -05:00
Frank Baker
0f7e776650 [svn-r8797]
Purpose:
    To more carefully describe the
        -- behavior of H5Pset_external
        -- appropriate usage of H5Pset_shuffle

Description:
    H5Pset_external
      Add notes that first H5Pset_external call sets the dataset as EXTERNAL
      and identifies the first file in the series of external files that
      will hold the dataset; subsequent calls identify additional files;
      all external files must be declared before the dataset is created;
      and the library will create files that don't yet exist on the system
      at the time that H5Dwrite is called to write data to that file.
    H5Pset_shuffle
      Added notes regarding usage of H5Pset_shuffle in concert with a
      compression filter.
    And, as always, a few copy edits.
2004-07-02 17:27:00 -05:00
Frank Baker
145fc6d7e7 [svn-r8796]
Purpose:
    SZIP and more general filter updates

Description:
    Added SZIP to the introductory paragraphs and as appropriate in
        the Fortran subroutine descriptions.
    Revised the introductory discussion, which had previously focussed
        on one compression filter, to allow for multiple filters of
        different types.
    Added list of filters currently distributed with HDF5 to intro.
    Also some copy edits and minor formatting.

Platforms tested:
    Mozilla, Safari
2004-07-02 17:03:17 -05:00
Frank Baker
f50ea642a7 [svn-r8794]
Purpose:
    Added Fortran90 subroutine h5sget_select_bounds_f.

Platforms tested:
    Mozilla
2004-07-02 16:52:44 -05:00
Pedro Vicente Nunes
d96ba1186f [svn-r8792] Purpose:
change features

Description:
for the file contents dump and for hardlinks, one arrow "->" is printed, followed
by the first  found name for that object
options for not printing specific types of objects were postponed

Solution:

Platforms tested:
linux
solaris
AIX


Misc. update:
2004-07-02 15:28:49 -05:00
John Mainzer
c49dd7fa36 [svn-r8791] Purpose: Rewrote metadata cache (H5AC.c, etc.) to improve performance.
Description:

Replaced the old metadata cache with a cache with a modified LRU
replacement policy.  This should improve the hit rate.

Solution:

Since we want to flush cache entries in increasing address order, I
used the threaded binary B-tree code to store the cache entries.
There is a fair bit of overhead here, so we may want to consider
other options.

While the code is designed to allow the support of other replacement
algorithms, at present, only a modified version of LRU is supported.

The modified LRU algorithm requires that a user selectable portion
of the cache entries be clean.  The clean entries are evicted first
when writes are not permitted.  If the pool of clean entries is used
up, the cache grows beyond its user specified maximum size.  The
cache can also exceed its maximum size if the combined size of the
protected (or locked) entries exceeds the maximum size of the cache.


Platforms tested:

eirene (serial, parallel, fp), h5committested


Misc. update:
2004-07-02 14:35:04 -05:00
Pedro Vicente Nunes
072919b9d7 [svn-r8790] Purpose:
Description:
the original code that showed a name for HARDLINK was reassigning that name to a name
made in the dump traversal (made by concatenation by nested objects)



Solution:
removed this reassigmnet
now the name showed after HARDLINK is always the first name found for that object
(this object is printed once interely; subsequent printings show the word HARDLINK
and the first name )





Platforms tested:
linux
AIX
solaris

Misc. update:
2004-07-02 14:07:17 -05:00
Frank Baker
b02d857a99 [svn-r8786]
Purpose:
    Hide 'changes in this release' section, which is now in the _AD_Guide_
    and is no longer maintained in this document.

Platforms tested:
    Mozilla
2004-07-01 18:18:34 -05:00
Quincey Koziol
e5e786f589 [svn-r8782] Purpose:
Code cleanup

Description:
    Clean up almost all warnings from Windows builds.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-01 15:02:47 -05:00
James Laird
eab58732d8 [svn-r8781]
Purpose:
HDF5 now supports SZIP with no encoder.

Description:
SZIP can be configured to have both encoder and decoder or just to have the decoder.  HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled.

Solution:
Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id.  See SZIP RFC.

Platforms tested:
Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++)

Misc. update:
2004-07-01 12:38:04 -05:00
Nat Furrer
3f500747fa [svn-r8779]
Purpose:
Fixed problem in tid.c that broke daily tests.

Description:

Solution:

Platforms tested:
  Sleipnir

Misc. update:
2004-07-01 09:37:12 -05:00
Quincey Koziol
7afa78d822 [svn-r8778] Purpose:
Bug fix

Description:
    Correct use of H5Eprint() when 1.6 compatibility is turned on.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/compatibility
    h5committest doesn't test this, so it wasn't run.
2004-07-01 08:14:59 -05:00
Pedro Vicente Nunes
b0adb1c3bf [svn-r8777] Purpose:
changed the name of one dataset, it was confusing

Description:

Solution:

Platforms tested:
linux (small)

Misc. update:
2004-06-30 14:47:57 -05:00
Pedro Vicente Nunes
265a1d0209 [svn-r8773] Purpose:
bug fix

Description:
the indentation was not made properly for nested objects when printing array indices

Solution:
added the indentation to h5tools_simple_prefix function

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-06-30 13:45:14 -05:00
Nat Furrer
cedec27552 [svn-r8772]
Purpose:
Needed to change the type of a variable in tid.c from int to hsize_t to
accomodate the change in H5Inmembers.

Description:
I lied... this is the last commit.  Really, it is.

Solution:

Platforms tested:

Misc. update:
2004-06-30 12:29:36 -05:00
Nat Furrer
def8b9c596 [svn-r8768]
Purpose:
Updated H5MPprivate.h for the new API function H5Itype_exists.

Description:
This is the last commit for these changes... I swear...

Solution:

Platforms tested:

Misc. update:
2004-06-30 11:30:27 -05:00
Nat Furrer
5b91547da5 [svn-r8767]
Purpose:
Forgot to change H5Inmembers's return type in last commit...

Description:
Changed the number H5Inmembers returns by reference from int to hsize_t.

Solution:

Platforms tested:

Misc. update:
2004-06-30 10:53:50 -05:00
Nat Furrer
8e468d9dec [svn-r8766]
Purpose:
Small H5I API changes.

Description:
Changed public version of H5Inmembers to return the number of IDs in a
type by reference.  This allows the user to differentiate between the
case when H5Inmembers has an error and when the ID type is just empty.
Added a new API function, H5Itype_exists, which allows the user to
find out whether an ID type exists or not, without throwing an error.

Solution:

Platforms tested:
   Copper

Misc. update:
2004-06-30 10:33:19 -05:00
Raymond Lu
358b8545dd [svn-r8765] Purpose: New feature and its test.
Description:  Added new API H5Fget_name and new test program called filename.c.  This function
returns the name of the file by object ID(file, group, dataset, named datatype, and attribute)
which belongs to the file.


Platforms tested:  h5committest and fuss.

Misc. update:  MANIFEST and RELEASE.txt
2004-06-30 08:45:07 -05:00
Xuan Bai
62f6531f2d [svn-r8762] Purpose:
Temporary bug fix
Description:
h5dump debug and debug dll testings failed for the following 2 tests:
TOOLTEST thlink.h5.xml --xml thlink.h5
TOOLTEST tmany.h5.xml --xml tmany.h5
in Windows.  These are known unsolved failures.  To run the auto-compile,
auto-test for hdf5 in Windows, these 2 tests need to be turned off temporarily.

Solution:
Turn off the above h5dump 2 tests temporarily.

Platforms tested:
Windows XP/Visual C++ 6.0 and .NET.

Misc. update:
2004-06-29 17:49:49 -05:00
Quincey Koziol
b51c4f6d24 [svn-r8760] Purpose:
Code cleanup & small bug fix

Description:
    Regenerate dependency files

    Add htri_t as separate type from hbool_t for code tracing purposes.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    too minor to require h5committest
2004-06-29 16:03:33 -05:00
Pedro Vicente Nunes
d4eec2cb07 [svn-r8758] Purpose:
h5dump new feature, bug fix

Description:
added the dump of unmamed types to the file contents
fixed a bug in the type array, it was printing invalid characters with the array indices option on

Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-06-29 12:42:09 -05:00
Quincey Koziol
3edde57e73 [svn-r8754] Purpose:
Update format info

Description:
    Clarify description of filter mask flags for chunked datasets.
2004-06-28 15:27:47 -05:00
Raymond Lu
163a9f5ee9 [svn-r8752] Purpose: Correct a typo.
Description:  Mistyped color_H5Fget_filesize as color_H5Fget_filespace.

Solution:  Corrected for this commit.

Platforms tested:  No test needed.
2004-06-28 09:55:23 -05:00
Raymond Lu
a331f676fa [svn-r8750] Purpose: Bug fix
Description:  Forgot to add H5Fget_filespace to H5MPprivate.h for MPE.

Solution:  Defined color_H5Fget_filespac as "red".

Platforms tested:  copper
2004-06-28 09:49:58 -05:00
Pedro Vicente Nunes
ba717ead8b [svn-r8749] Purpose:
dumper new features

Description:

1) added options for not printing : datasets, groups, datatypes, links
2) added a section for the user block
3) in the traversal routine, added the printing of an arrow for soft links and t
he word HARDLINK for hardlinks
   the print of the file contents is made during traversal , instead of at the e
   nd of it (this is helpful
       for very large files, where the wait time can be very long)
4) changed the description of the fill value properties
5) added a colon after the printing of the array indices




Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-06-28 09:29:20 -05:00
Binh-Minh Ribler
52d1e37e8f [svn-r8746] Purpose:
Fixing minor bug

Description
    The new function H5File::getFileSize was missing a return statement.
    Added one.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-06-27 23:23:31 -05:00
Raymond Lu
a89057a2cd [svn-r8741] *** empty log message *** 2004-06-24 17:20:08 -05:00
Raymond Lu
705900b05c [svn-r8740] See checkin message for H5File.cpp and H5File.h 2004-06-24 17:19:57 -05:00
Raymond Lu
ac54089f54 [svn-r8739] Purpose: New feature and Bug fix
Description:  1.  Added H5Fget_filesize and test(in file_handle.c) which returns
the actual file size of an opened file.  Also added to C++ API and test.
2.  The error tests were messed up in test/Makefile.in.

Solution:  1.  Call H5FDget_eof to return file size.  2. Corrected.

Platforms tested:  h5committest

Misc. update:  RELEASE.txt
2004-06-24 17:19:05 -05:00
Quincey Koziol
097510137d [svn-r8736] Purpose:
Code cleanup

Description:
    Some code cleanups before starting serious optimization efforts.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-06-24 14:19:56 -05:00
Pedro Vicente Nunes
fe24819a87 [svn-r8735] Purpose:
cleaned SGI compiler warnings

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-24 08:35:14 -05:00
Quincey Koziol
6fc0bffac6 [svn-r8732] Purpose:
Code cleanup

Description:
    Reduce compiler warnings on SGI IRIX

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    SGI IRIX6 (Cheryl's machine)
    Too minor to require full h5committest
2004-06-23 12:56:57 -05:00
Quincey Koziol
7c3df64cc4 [svn-r8731] Purpose:
Code cleanup & minor optimization

Description:
    Re-work the way interface initialization routines are specified in the
library to avoid the overhead of checking for them in routines where there is
no interface initialization routine.  This cleans up warnings with gcc 3.4,
reduces the library binary size a bit (about 2-3%) and should speedup the
library's execution slightly.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/gcc34
    h5committest
2004-06-23 10:36:35 -05:00
Quincey Koziol
19644d7593 [svn-r8730] Purpose:
Code cleanup

Description:
    Add more testfiles to the "clean" targets

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    h5committest
2004-06-23 10:31:06 -05:00
Quincey Koziol
3feea448dc [svn-r8728] Purpose:
Code cleanup & addition

Description:
    Add new warnings for gcc 3.4.x

    Re-work production mode compile flags to work better.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    h5committest
2004-06-23 10:30:26 -05:00
Quincey Koziol
1009b131f6 [svn-r8725] Purpose:
Refactor bug fix

Description:
    Make bug fix for detecting the type of a soft link more general by
registering an "isa" function for soft links.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-06-23 09:03:22 -05:00