Commit Graph

6181 Commits

Author SHA1 Message Date
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
Raymond Lu
8ec60574b1 [svn-r8722] *** empty log message *** 2004-06-22 16:08:56 -05:00
Raymond Lu
b87dc87249 [svn-r8721] Purpose: Bug fix and test.
Description:  Function H5Gget_objtype_by_idx failed to handle soft link
object.  The library returned object type by calling H5G_get_type through
H5B_iterate.  But H5G_get_type only deals with objects with valid header address
which soft link doesn't have.

Solution:  In H5G_node_type, make soft link a special case by checking if
the object type is H5G_CACHED_SLINK.  Also added a test of soft and hard links
to titerate.c

Platforms tested:  h5committest and RH 8(fuss).
2004-06-22 16:08:10 -05:00
Xuan Bai
36f2adda39 [svn-r8720] Purpose:
Update.

Description:
1. James and Nat changed the H5I code recently.  Update Windows projects accordingly.
2. Update h5dumptest batch file.

Solution:
1. Add new sourece code file tid.c into testhdf5 and testhdf5dll projects in Windows workspace.
2. Update testing flags (from -H -d dset1 -d /dset2 --dataset=dset3 to -H -d dset1 -d /dset2
   in tdset-2.dll test) in h5dumptest batch file.

Platforms tested:
Windows XP/Visual C++ 6.0, and DEC Fortran 6.0.

Misc. update:
2004-06-22 15:28:46 -05:00
Frank Baker
eb4159933e [svn-r8719]
Purpose:
    To include new functionality.

Description:
    Added twelve new functions:
        H5Iregister           H5Iclear_type
        H5Iregister_type      H5Iget_type_ref
        H5Idestroy_type       H5Iget_file_id
        H5Iremove_verify      H5Inmembers
        H5Iobject_verify      H5Idec_type_ref
        H5Isearch             H5Iinc_type_ref
    This is a checkin for technical content;
    an editorial checkin will follow, though not immediately.

Platforms tested:
    Mozilla, IE, Safari
2004-06-22 11:56:29 -05:00
Pedro Vicente Nunes
3a1ac3e4f8 [svn-r8718] Purpose:
bug fix

Description:
the name of a dataset in one test had a typo

Solution:

Platforms tested:
linux (small change )

Misc. update:
2004-06-22 10:42:42 -05:00
Pedro Vicente Nunes
a5f1d15035 [svn-r8715] Purpose:
h5dump output change, new tests

Description:
the storage layout output format the storage layout output format  had some changes
same for the user defined filter
add an option (-y) for not printing the array indices (default is print indices )
the option for escaping non printable characters covers all characters (default is not escape)
(this might be not very portable, the test files are  tstring.ddl and tstringe.ddl )
add tests for the new options


Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-22 09:29:21 -05:00
Raymond Lu
18a656663a [svn-r8714] *** empty log message *** 2004-06-21 15:59:07 -05:00
Raymond Lu
e8309603cd [svn-r8713] Purpose: Bug fix.
Description: This is the second effort to correct XML dumper after adding null
dataspace test for attribute and dataset.  Since XML schema hasn't been updated
for null space, took out null space test from tdset.h5 and tattr.h5 and put it
into a seperate file, tnullspace.h5.  Only h5dump tests this null space file;
XML dumper doesn't do it at this moment.  We'll wait until XML schema is updated
first.


Platforms tested:  h5committest and RH 8(fuss)

Misc. update:  MANIFEST(added two new files in tools/testfiles, tnullspace.h5
and tnullspace.ddl)
2004-06-21 15:58:54 -05:00
James Laird
83ab4727e5 [svn-r8712] Fixed bugs in H5I code 2004-06-21 13:25:08 -05:00
James Laird
a4db480904 [svn-r8711] Fixed bugs in H5I code, updated manifest. 2004-06-21 13:21:04 -05:00
Robert E. McGrath
176433836a [svn-r8709] Purpose:
Bug fix for mozilla 145

Description:
h5dump output truncated on SGI

Solution:
See message for 1.6 branch

Platforms tested:
verbena

Misc. update:
2004-06-18 16:52:18 -05:00
James Laird
f249eed71d [svn-r8707] Changed the way HDF5 handles hid_t's and added API functions to allow users to register IDs and ID types at runtime. 2004-06-18 11:56:04 -05:00
Raymond Lu
a83233a2c9 [svn-r8706] *** empty log message *** 2004-06-18 11:18:52 -05:00
Raymond Lu
5fcc0b141b [svn-r8705] Purpose: Bug fix and new test.
Description:  This is an enhancement after a user reported data writing failure
for array datatype of compound type with variable-length type in the v1.6 branch.

Solution:  Added new test and ran with Purify.  Fixed memory errors and leaks in
H5Tconv.c.

Platforms tested:  h5committest
2004-06-18 11:18:42 -05:00
Raymond Lu
e96db28f8b [svn-r8704] *** empty log message *** 2004-06-17 16:49:37 -05:00
Raymond Lu
db3443f310 [svn-r8703] Purpose: bug fix
Description: After I added H5S_NULL dataspace to dumper test, the output violate
XML schema for attribute data.

Solution: changed.

Platforms tested: RH8(fuss), minor change, only dumper is involved.
2004-06-17 16:48:55 -05:00
Raymond Lu
071756aa66 [svn-r8702] Purpose: Bug fix.
Description:  After I added H5S_NULL dataspace dumper test, the output didn't
match XML schema for attribute data.

Solution:  changed.

Platforms tested:  RH 8(fuss),  only dumper is involved, minor change.
2004-06-17 16:46:19 -05:00
Xuan Bai
5fce886f93 [svn-r8698] Purpose:
Update.

Description:
Update toolslib and toolslibD projects in Windows.

Solution:
Add new source file h5tools_ref.c and head file h5tools_ref.h into toolslib and toolslibD projects.

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

Misc. update:
2004-06-16 16:48:44 -05:00
Quincey Koziol
32336040a2 [svn-r8696] Purpose:
Code optimizations

Description:
    Eliminate memset() call in H5S_set_extent_simple().

    Use malloc() instead of calloc in H5B<mumble>.

    Change global heap code to track heap objects that are in use in order to
allocate new objects more quickly and also to avoid memset() and calloc() calls.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-16 13:56:52 -05:00
Quincey Koziol
2b81894af7 [svn-r8694] Purpose:
Code optimization

Description:
    Avoid memcpy() when setting up new chunk coordinates

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-15 11:12:29 -05:00
Quincey Koziol
7c18329abe [svn-r8692] Purpose:
Code optimization

Description:
    Avoid making copy of default vlen allocation info when default DXPL is
used.  Just retarget pointer to point to default info directly.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-15 11:02:44 -05:00
Quincey Koziol
193fc7a70f [svn-r8690] Purpose:
Code optimization

Description:
    Be smarter about copying hyperslab selection data and avoid memcpy() calls.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-15 09:58:39 -05:00
Pedro Vicente Nunes
435c8b2d7d [svn-r8688] Purpose:
h5dump new feature

Description:
add processing of tab characters (in the context of the new option process CR/LF)

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-15 09:26:41 -05:00
Quincey Koziol
fabb5167ba [svn-r8686] Purpose:
Code optimization

Description:
    Eliminate memcpy() when using default DXPL by pointing at existing
default object, instead of copying it.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-14 15:39:08 -05:00
Quincey Koziol
ef01629bb2 [svn-r8683] Purpose:
Code optimization

Description:
    Use 'size_t' instead of 'hsize_t' to track the number of elements in
memory buffers, especially for type conversion.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-14 14:32:02 -05:00
Raymond Lu
f5a192ff0d [svn-r8681] Purpose: Take out an unnecessary step
Description:  I put H5T_lock in H5T_open in last checkin but found it's
unnacessary.

Solution:  Took it out.

Platforms tested:  RH 8(fuss).  Simple change.
2004-06-14 11:21:38 -05:00
Quincey Koziol
c373a3dc7c [svn-r8679] Purpose:
Code optimization

Description:
    Detect when a default property list is being used and just copy over the
default VL allocation properties, instead of querying for them.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-13 20:23:22 -05:00