Commit Graph

2355 Commits

Author SHA1 Message Date
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
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
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
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
Raymond Lu
a89057a2cd [svn-r8741] *** empty log message *** 2004-06-24 17:20:08 -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
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
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
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
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
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
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
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
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
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
Quincey Koziol
0e94f35c1a [svn-r8677] Purpose:
Code cleanup & optimization

Description:
    Remove old structures that used a union to store information about the
dataspace extent and just store the information directly in the dataspace
extent itself.

    Remove ifdef'd references to permutation ordering in dataspaces.  We'll
definitely need more than this code if/when we implement this feature.

    Change allocation of dataspace information from calloc() to malloc().

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-13 19:33:03 -05:00
Quincey Koziol
986f335251 [svn-r8675] Purpose:
Code optimization

Description:
    Using existing dataspace extent copying routine instead of duplicating the
code (more slowly).

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-13 15:11:38 -05:00
Quincey Koziol
925f2ba710 [svn-r8673] Purpose:
Code optimization

Description:
    Revised dataspace selections to use a more "object oriented" mechanism
to set the function pointers for each selection and selection iterator.  This
reduces the amount and number of times that dataspace selection info has to
be copied.

    Additionally, change hyperslab selection information to be dynamically
allocated instead of an inline struct.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-13 14:08:17 -05:00
HDF Admin
b33344a7be [svn-r8672] Snapshot version 1.7 release 28 2004-06-13 03:30:32 -05:00
Quincey Koziol
ab989cd1a8 [svn-r8670] Purpose:
Code optimization

Description:
    Avoid a memory copy by directly reading from the variable-length sequence
buffer when there is no type conversion on the way to disk.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-12 22:11:27 -05:00
Quincey Koziol
46e9134612 [svn-r8668] Purpose:
Code optimization

Description:
    Avoid running conversion routine when it's a noop.

    Also, pick a minimum size for the variable-sized sequence conversion
buffer, instead of allocating lots of small buffers.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
2004-06-12 21:23:13 -05:00
Quincey Koziol
53a9be3748 [svn-r8666] Purpose:
Code optimization

Description:
    Restructure conversion loop of variable-length objects to avoid walking
through memory backwards and allocating as many temporary buffers.  (This uses
the optimized method used in the atomic type conversions)

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-12 20:00:24 -05:00
Quincey Koziol
8b247f8aa3 [svn-r8664] Purpose:
Code optimization

Description:
    Allow global heap collections to grow in size (up to a 64K limit) if they
are able to.  This allows them to grow to a more reasonable size than the 4K
minimum size.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-12 17:32:19 -05:00
Raymond Lu
ea3103c15e [svn-r8661] Purpose: Add comments.
Description:  More comments to clarify action.


Platforms tested:  No code change, no test.
2004-06-11 15:18:43 -05:00
Quincey Koziol
ae69372425 [svn-r8656] Purpose:
Code optimization

Description:
    Eliminate redundant memory allocation for type conversion of variable-length
sequences.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-06-11 09:08:02 -05:00
Quincey Koziol
ae64ed8364 [svn-r8651] Purpose:
Code optimization

Description:
    Eliminate redundant memset() when creating chunk map structure.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
2004-06-10 16:34:57 -05:00
Quincey Koziol
8b82f6d9f0 [svn-r8648] Purpose:
Code optimization

Description:
    Eliminate some operations through temporary variables in H5F_addr_encode.
Eliminate some redundant memset()'s of structures that will be completely
overwritten in the variable-length datatype code.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
2004-06-10 16:02:43 -05:00
Raymond Lu
7ce626721c [svn-r8646] *** empty log message *** 2004-06-10 13:48:09 -05:00
Quincey Koziol
29f91cd95d [svn-r8639] Purpose:
Code optimization

Description:
    Call malloc() instead of calloc() for data structure that we completely
initialize.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
2004-06-09 14:55:47 -05:00
Quincey Koziol
70044f9c88 [svn-r8636] Purpose:
Code optimization

Description:
    Don't allocate conversion buffer larger than the user's buffer.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    too minor to require h5committest
2004-06-09 13:07:36 -05:00
Quincey Koziol
1a9312bb6a [svn-r8630] Purpose:
Bug fix

Description:
    Correct potential file corruption from mis-setting the metadata accumulator
address. (Bugfix contributed by Sean Monner <seanm@quadrus.com>)

Solution:
    When the new metadata overlaps with the end of the metadata accumulator and
the accumulator grows in size, don't reset the address of the accumulator, since
it hasn't moved.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-06-09 08:57:43 -05:00
Quincey Koziol
67a1ff05db [svn-r8625] Purpose:
Code optimization

Description:
    Avoid pushing errors on error stack when an object is not found in a B-tree.
Sometimes we are just checking if the object exists before we insert it into
the B-tree and the higher levels in the library should be responsible for
determining if not finding the object in B-tree is really an error.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    too minor to require h5committest
2004-06-08 10:25:58 -05:00
Quincey Koziol
8957d31809 [svn-r8623] Purpose:
Code optimization

Description:
    Use default dataset transfer property list for internal metadata I/O
operations when parallel I/O is disabled.  This avoids multiple copies of
the properties being made when the information is not needed.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel)
2004-06-08 09:33:25 -05:00
HDF Admin
95da7ce5c4 [svn-r8620] Snapshot version 1.7 release 27 2004-06-06 03:27:17 -05:00
Quincey Koziol
4d3188e588 [svn-r8618] Purpose:
Fix makefiles, dependencies & manifest after source file rename.
2004-06-05 14:32:31 -05:00
Quincey Koziol
1437b0bde7 [svn-r8616] Purpose:
Rename these files

Description:
    Since these files contain functions that are part of the dataset information
now, rename them to H5D<foo>.c
2004-06-05 14:10:41 -05:00
Quincey Koziol
339a81a766 [svn-r8613] Purpose:
Refactor code

Description:
    Move chunk and contiguous cached raw data from file information to dataset
information.  This simplifies a number of internal interfaces, aligns the
code with it's purpose better and should allow more optimizations to the
chunked data I/O performance.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir)
    h5committest

Misc. update:
2004-06-05 14:04:49 -05:00
Raymond Lu
825a435d36 [svn-r8604] Purpose: bug fix
Description:  For opaque datatype, if tag isn't defined, some operations will
have trouble because the tag string is null.

Solution:  Initialize the tag string to empty string after the opaque type is created.

Platforms tested:  h5committest
2004-06-02 11:35:43 -05:00
Quincey Koziol
1ec351813b [svn-r8600] Purpose:
Code optimization

Description:
    Don't recompute the internal index value for looking up the chunk in the
hash table, just use the value already computed from iterating through the
chunks.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-31 14:59:59 -05:00
Quincey Koziol
2ce06c3912 [svn-r8590] Purpose:
Code optimization & bug fix

Description:
    When dimension information is being stored in the storage layout message
on disk, it is stored as 32-bit quantities, possibly truncating the dimension
information, if a dimension is greater than 32-bits in size.

Solution:
    Fix the storage layout message problem by revising file format to not store
dimension information, since it is already available in the dataspace.

    Also revise the storage layout data structures to be more compartmentalized
for the information for contiguous, chunked and compact storage.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    h5committest
2004-05-27 15:24:08 -05:00
Albert Cheng
3e56e3d7f9 [svn-r8565] Purpose:
Improvement

Description:
Break up the C99 integer types detection into even smaller
sub-module routines.  This has dropped the compile time (with
optimization) from 94 seconds to 6 seconds.

Platforms tested:
h5committested.

Misc. update:
2004-05-21 13:50:10 -05:00
Quincey Koziol
b03c529cdc [svn-r8560] Purpose:
Bug fix

Description:
    Add prototypes for H5S_select_serial_size() and H5S_select_serialize()
that were causing the library to fail when built with C++ compiler.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/CC=g++
    Only affects C++ builds, so no h5committest
2004-05-21 09:51:47 -05:00
Albert Cheng
bccad78144 [svn-r8558] Purpose:
Code cleanup

Description:
Changed local variables declaration to static to please compilers.

Platforms tested:
Tested by generating H5Tinit.c and verified it was same as before.
Tested in TG_NCSA.
2004-05-20 18:04:55 -05:00
Albert Cheng
54811a4dab [svn-r8548] Purpose:
Improvement.

Description:
Some compilers, e.g., Intel C v7.0, took a long time to compile
with optimization when a module routine contains many code lines.
Divide up all those types detections macros into subroutines, both
to avoid the compiler optimization error and cleaner codes.

Platforms tested:
h5committested.

Misc. update:
2004-05-20 13:24:43 -05:00
Quincey Koziol
910e19c646 [svn-r8544] Purpose:
Code optimization

Description:
    Expand the use of macros to inline trivial function pointer lookup and
calls to reduce the overall number of functions invoked during normal operation
of the library.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    Too minor to require h5committest
2004-05-20 10:32:09 -05:00
HDF Admin
229cc3b8c0 [svn-r8531] Snapshot version 1.7 release 26 2004-05-16 09:02:36 -05:00
Quincey Koziol
6a806870e9 [svn-r8520] Purpose:
Code optimization

Description:
    Don't make a separate allocation for the selection offset - incorporate
it into the selection structure as a fixed size array.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-13 18:26:10 -05:00
Quincey Koziol
a4c58cf641 [svn-r8515] Purpose:
Code optimization

Description:
    Eliminate some trivial functions with macros that perform the same
operation.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-13 16:02:37 -05:00
Quincey Koziol
a3fd0e95a7 [svn-r8513] Purpose:
Code optimization

Description:
    Defer creating the span trees for hyperslab selections until they are
actually needed (which may be never, in certain circumstances).

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-13 15:33:27 -05:00
Raymond Lu
831c8d9dfd [svn-r8508] Purpose: Bug fix
Description:  Somehow part of dtypes.c were wiped out by the change yesterday,
causing failure on verbena's PGI compiler.  Another issue is to run autoheader
to generate H5config.h.in.


Platforms tested:  verbena(changes only matter to it)
2004-05-12 16:43:12 -05:00
Quincey Koziol
13678f745b [svn-r8507] Purpose:
Code optimization

Description:
    Eliminate many redundant lookups to check for no-op type conversion by
remembering that a type conversion path is the no-op path.

    Also, don't allow non-no-op conversions which happen to be no-ops on a
particular machine (such as int<->long conversions on machines where int and
long are the same size and format, etc.) to replace the default no-op
conversion.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-12 13:44:26 -05:00
Raymond Lu
980683f1e1 [svn-r8505] *** empty log message *** 2004-05-11 15:26:35 -05:00
HDF Admin
e7bfa8ebf7 [svn-r8498] Snapshot version 1.7 release 25 2004-05-09 04:12:21 -05:00
Quincey Koziol
0f805b3aa5 [svn-r8496] Purpose:
Code optimization

Description:
    Further reduce the number of copies we make of a hyperslab selection for
chunked I/O, especially when we are only going to throw the old selection away
for a new one.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-08 14:09:50 -05:00
Quincey Koziol
583bdf994c [svn-r8495] Purpose:
Bug fixes

Description:
    Updated dependencies

    Fixed error with C++ compiler builds of main library

    Added H5Pset_data_transform to MPE info

Platforms tested:
    FreeBSD 4.9 (sleipnir)
2004-05-08 09:48:42 -05:00
Raymond Lu
e6fcf3db0f [svn-r8492] *** empty log message *** 2004-05-07 16:59:24 -05:00
Quincey Koziol
e88f391fe1 [svn-r8490] Purpose:
Code cleanup

Description:
    Reset pointers to heap info and actual heap after we have unlocked them,
to avoid accidentally referencing them after that point.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-05-07 15:41:31 -05:00
Leon Arber
6c01245357 [svn-r8489] Purpose:
Bug fix.

Description:
Fixed token_type enum struct in H5Ztrans.c to compile under windows.

Solution:
Prefixed all values in the struct with H5Z_XFORM_ to prevent name collisions
with pre-defined values.

Platforms tested:
h5committest'ed, but on arabica + no sol.
2004-05-07 12:17:50 -05:00
Leon Arber
1867c05efb [svn-r8488] Purpose:
Bug fix.

Description:
Fixed handling of trivial data transform expressions (like 5/3 + 3) and some
data coversion fixes.  Also added more tests to dtransform.c

Solution:
Added some more checks in the H5Z_xform_reduce_tree function to see if perhaps
the transform expression is complicated and is a non-trivial reduction.
Added tests for data conversion to dtransform as well as tests for a trivial
data transform expression.

Platforms tested:
h5committest'ed, except used arabica instead of sol and didn't do on copper
b/c no logon there. Problem noted with mtime test...doesn't appear to be
related to anything having to do with data transforms.
2004-05-06 17:44:38 -05:00
Raymond Lu
28eb73c972 [svn-r8487] Purpose: Internal function change
Description:  H5T_reverse_order was declared as private function.

Solution:  Change it to static local function in H5Tconv.c since it's not
used by any function in other file.

Platforms tested: RH 8(fuss)
2004-05-06 14:34:03 -05:00
HDF Admin
2c16f0510b [svn-r8486] Purpose:
Reset release number back to 1.7.x by removing the fphdf5-alpha1 sub-
release string.
2004-05-06 09:39:23 -05:00
HDF Admin
5be0fa4ef3 [svn-r8485] Snapshot version 1.7 release 24 (fph5_alpha1) 2004-05-06 09:32:52 -05:00
Quincey Koziol
4996258268 [svn-r8483] Purpose:
Bug fix

Description:
    Fix problems compiling with g++.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/CC=g++
2004-05-05 15:25:26 -05:00
Quincey Koziol
7f99a80b0a [svn-r8482] Purpose:
Code cleanup

Description:
    Refactored data transform code to reduce amount of symbols in the global
scope and also cleaned up & simplified the code a bit.

Platforms tested:
    h5committest (minus copper, plus serial modi4)
    FreeBSD 4.9 (sleipnir) w & w/o parallel
2004-05-05 14:29:09 -05:00
Albert Cheng
0c6229a68d [svn-r8479] Purpose:
New Feature

Description:
Add the data transform function, H5Pset_transform().

Platforms tested:
"h5committested".
Copper was down.  Ran parallel tests in sol instead.

Misc. update:
2004-05-03 18:34:42 -05:00
Albert Cheng
ecd3870fa2 [svn-r8477] Purpose:
Cleanup source.

Description:
H5DZtrans.c is renamed as H5Ztrans.c.
H5DZ.c is not used any more.

Platforms tested:
No need since removing files only.

Misc. update:
2004-05-03 16:47:22 -05:00
Quincey Koziol
5f736b4bed [svn-r8476] Purpose:
Code optimization

Description:
    Improved LRU algorithm for locating blocks of the correct size in the
block free-list

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor for h5committest
2004-05-03 15:42:35 -05:00
Quincey Koziol
8aef71afb7 [svn-r8474] Purpose:
Code optimization

Description:
    Reduce amount of information allocated/freed for chunk cache.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/paralell)
    too minor to require h5committest
2004-05-03 14:53:13 -05:00
Quincey Koziol
08b5597205 [svn-r8472] Purpose:
Code optimization

Description:
    Eliminate the B-tree "split_ratios" as a parameter and pull it from the
DXPL instead.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-05-03 13:53:50 -05:00
MuQun Yang
2a1e065579 [svn-r8467] Purpose:
Fixing building Fortran DLL on windows
Description:
Fortran DLL needs to separate C stub DLL from Fortran DLL.
So we need to use another keyword H5_FCDLL to replace the old H5_DLL for
C stub library.

Solution:
 Add another section at H5api_adpt.h to define a macro block for Fortran
C stub library.

Platforms tested:
Manual tests.
Copper is not accessible. Only test on arabica and eirene with fortran enabled.

Misc. update:
2004-05-03 10:30:10 -05:00
Quincey Koziol
51455f4282 [svn-r8464] Purpose:
Code optimization

Description:
    Eliminate redundant B-tree lookups for chunk information.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-05-01 23:26:10 -05:00
Quincey Koziol
b0a3d7c970 [svn-r8462] Purpose:
Code optimization

Description:
    Reduce the number of times the number of elements in a selection is
computed.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-05-01 14:19:52 -05:00
Quincey Koziol
4b0ff36410 [svn-r8460] Purpose:
Code optimization

Description:
    Move the element size for the selection into the selection iterator instead
    of always passing it as a parameter.

    Also, eleminate another 64-bit multiply for "all" selections.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-05-01 13:16:54 -05:00
Quincey Koziol
ecea60e95c [svn-r8457] Purpose:
Code optimization

Description:
    Stop straddling the line and always use elements instead of bytes to
determine how how I/O to perform on a selection.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-05-01 11:10:17 -05:00
Quincey Koziol
4f0b880861 [svn-r8456] Purpose:
Code optimization

Description:
    Eliminate more 64-bit multiplies by remebering the size of contiguous
datasets as well as chunked datasets.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 22:29:00 -05:00
Quincey Koziol
a4281bd2f2 [svn-r8454] Purpose:
Code optimization

Description:
    Eliminate more redundant 64-bit multiplies

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 22:02:52 -05:00
Quincey Koziol
1bc43aeb51 [svn-r8452] Purpose:
Code optimization

Description:
    Eliminate frivolous 64-bit multiply.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 21:23:13 -05:00
Quincey Koziol
a13d291aff [svn-r8450] Purpose:
Code optimization

Description:
    Remove extraneous memcpy()

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 20:09:36 -05:00
Quincey Koziol
b9cf2953a3 [svn-r8448] Purpose:
Code optimization

Description:
    Remove redundant error checking.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:50:24 -05:00
Quincey Koziol
4ec99fe2b4 [svn-r8446] Purpose:
Code optimization

Description:
    Avoid dividing the chunk coordinates at the top levels of the chunk I/O
routines, only to multiply them at the bottom of the routines.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:13:07 -05:00
Quincey Koziol
5cd5b713b3 [svn-r8441] Purpose:
Code cleanup/optimization

Description:
    Don't clear the error stack when calling H5open(), it's unnecessary.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:10:06 -05:00
Quincey Koziol
9713919eb7 [svn-r8439] Purpose:
Code cleanup

Description:
    Refactor code to eliminate duplication of setup & calls to H5B_find to
locate information about a chunk on disk.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 10:40:16 -05:00
Quincey Koziol
243e20669c [svn-r8437] Purpose:
Code optimization

Description:
    Hoist some if statements out of a loop in vector comparision routines that
are called very frequently by chunking code.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 09:13:05 -05:00
Quincey Koziol
15af61fcc7 [svn-r8434] Purpose:
Code optimization.

Description:
    Use free-list pool of blocks for allocating chunk buffers, when there are
no filters in the pipeline.  The avoids calling malloc/free so much.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-29 09:44:00 -05:00
Albert Cheng
c66d2cb606 [svn-r8428] Purpose:
Updated for newly added function.

Platforms tested:
Tested in Copper with MPE option.

Misc. update:
2004-04-28 16:48:29 -05:00
Quincey Koziol
d992a4a387 [svn-r8427] Purpose:
Bug fix (sorta)

Description:
    Add hack to allow the MS Visual Studio 6 compiler to build the library.
It cannot cast unsigned long long values to float or double values.  So, add
another configuration macro to disable this conversion in the library.  Just
the "hardware" conversion is disabled, so the library will still correctly
convert unsigned long long to float and double values, it will just happen
more slowly with the "software" conversion routine.

Platforms tested:
    FreeBSD 4.9 (sleipnir) with "Windows" setting faked
    inappropriate for h5committest
2004-04-28 13:42:25 -05:00
Raymond Lu
480e8d4c9c [svn-r8426] Purpose: Bug fix
Description:  H5Pset_type_conv_cb and H5Pget_type_conv_cb weren't put into
H5MPprivate.h.  Another thing is the func type doesn't match the func field
in the struct in these functions.


Platforms tested: RH 8(fuss) and sleipnir
2004-04-28 12:40:45 -05:00
Quincey Koziol
12ba2eed6a [svn-r8425] Purpose:
Bug fix (sorta)

Description:
    The SGI machines have problems accurately (and consistently) converting
unsigned long values to float and double values, so put in a bit of a hack in
the datatype conversion test code to allow them to get "close enough".  This
hack is enabled at configure time by a flag which should only be set on machines
with this problem.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-28 12:02:12 -05:00
Raymond Lu
b3d2f04490 [svn-r8424] *** empty log message *** 2004-04-27 14:16:54 -05:00
Albert Cheng
4fa0c3f5bc [svn-r8422] Purpose:
Undo the mysterous changes.

Description:
Somehow something changed this file during snapshot release.
Undo the change.

Platforms tested:
No test since it is a simple editing.

Misc. update:
2004-04-26 08:54:16 -05:00
HDF Admin
9af04cd41d [svn-r8418] Snapshot version 1.7 release 23 2004-04-25 04:10:35 -05:00
Quincey Koziol
77706cc276 [svn-r8416] Purpose:
Code cleanup

Description:
    Reduce warnings w/PC-Lint in various ways

Platforms tested:
    PC-Lint
    too minor to require h5committest

Misc. update:
2004-04-23 22:47:06 -05:00
Quincey Koziol
b57f3b955f [svn-r8415] Purpose:
Code cleanup

Description:
    Reduce # of warnings with PC-Lint

Platforms tested:
    PC-LINT
    Too minor to require h5committest
2004-04-23 22:24:54 -05:00
Quincey Koziol
fad6801569 [svn-r8412] Purpose:
Code cleanup

Description:
    Run lint on module

Platforms tested:
    PC-Lint
    Too minor to require h5committest
2004-04-23 00:06:20 -05:00
Quincey Koziol
d9ccc0e0f5 [svn-r8408] Purpose:
Code optimization

Description:
    Instead of dynamicly allocating various arrays for various pieces of
information about a selection or selection iterator, just use fixed size
array of size H5S_MAX_RANK (as the rest of the library does).

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-22 15:21:44 -05:00
Quincey Koziol
e8e696542f [svn-r8406] Purpose:
Code optimization

Description:
    Make calculation of "all" selection sequence length information more
efficient.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    h5comittest
2004-04-22 15:18:49 -05:00
Quincey Koziol
92413789bf [svn-r8393] Purpose:
Code optimization

Description:
    Avoid clearing the error stack unless necessary.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-19 15:23:04 -05:00
John Mainzer
4a85877fdc [svn-r8391] Purpose:
Checkpoint checkin of FP bug fixes.  FP is still quite
buggy, but I must go deal with other matters.


Description:

Fixed two major bugs:

1) H5FPserver.c was clobbering meta data in its care.

2) H5FPserver.c was allocating the same space multiple
   times, causing both data and meta data corruption.

Also made minor fixes, added debugging code, and familiarized
myself with the FP code.

All development work with FP enabled was done on Eirene.
On this platform, FP now passes its test reliably with
up to 9 processes.  At 10 processes it seg faults every
time.  I haven't looked into this issue.

There are also several known locking bugs which have to
be fixed.  However, they are of sufficiently low probability
that I didn't bother with them on this pass.

FP has not been tested with deletions -- this should be
done.

Also, need to test FP chunked I/O.


Solution:

1) Modified cache in H5FPserver.c to merge changes correctly.
   Found and fixed a bug in H5TB.c in passing.

2) Multiple space allocation was caused by a race condition
   with set eoa requests.

   Most of these eoa requests appeared to be superfluous, so
   I deleted them.

   Those issued during the superblock read seemed necessary,
   so I inserted a barrier at the end of the superblock read,
   to prevent races with allocations.

Platforms tested:
h5committested
2004-04-19 12:42:34 -05:00
John Mainzer
9937495a33 [svn-r8389] Purpose: Bug fix and warning
Description:
Fixed bug in H5TB_less().  It was returning the next largest node,
instead of the next smallest as advertised.

Added comments warning that H5TB_rem()s will occasionally delete a
node other than the one provided in its argument list.

Solution:
It was sufficient t invert two comparisons in H5TB_less().

Platforms tested:
h5committested
2004-04-19 11:24:48 -05:00
HDF Admin
4e65894845 [svn-r8385] Snapshot version 1.7 release 22 2004-04-18 04:10:08 -05:00
Quincey Koziol
0a29514b9d [svn-r8383] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:09 -05:00
Quincey Koziol
880d8357bf [svn-r8376] Purpose:
Code cleanup

Description:
    Update null dataspace changes to try to write older version of dataspace
information whenever possible.

    Refactor common code to only one location.

    Allow I/O operations to succeed on null dataspaces.


Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:31:50 -05:00
Quincey Koziol
d08090ff29 [svn-r8374] Purpose:
Code optimization

Description:
    Instead of re-initializing the default stride & block arrays to have values
of '1' in each position each time we perform a hyperslab selection, create
static constant arrays with '1's in them.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 14:22:15 -05:00
Quincey Koziol
dd0480cd30 [svn-r8372] Purpose:
Code optimization

Description:
    Don't copy hyperslab span information as much.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 13:25:56 -05:00
Albert Cheng
e4d5623692 [svn-r8370] Purpose:
Bug fix.

Description:
Not all machines (like Sun and AIX) support fabsl() and fabsf() used
in test/dtypes.c.  Changed the coding to use macro names HDfabsl and
HDfabsf.  Also set the two macros to use ABS for now so that they will
work for all machines. (need more portable fixes which would involve
configure.)

Platforms tested:
h5committested. (also tested in LANL QSC and Theta).
2004-04-17 12:17:32 -05:00
Quincey Koziol
9e859565e4 [svn-r8368] Purpose:
Code optimization

Description:
    Compute value for array instead of using memset(), since we are looping
through the array indices anyway.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 11:06:34 -05:00
Quincey Koziol
3f7b3c752d [svn-r8366] Purpose:
Code optimization

Description:
    Eliminate memset() calls to clear structures that we completely initialize

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 11:05:20 -05:00
Quincey Koziol
fd03553851 [svn-r8364] Purpose:
Code optimization

Description:
    Remove redundant function call by re-using value we already know.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 11:04:11 -05:00
Albert Cheng
599adeb080 [svn-r8353] Purpose:
feature

Description:
H5check_version will print warning messages if the version does not
match or if the lib version string is not consistent, even when
$HDF5_DISABLE_VERSION_CHECK is set to 1.  This will mess up
tests that try to match output.

Changed it so that if $HDF5_DISABLE_VERSION_CHECK is set to 2, no
warning about version mismatch is printed.
The lib version string warning is suppressed if $HDF5_DISABLE_VERSION_CHECK
is set to any non-zero value.

Platforms tested:
Tested in sol only but pretty comprehensive to make the warnings do get
suppressed.

Misc. update:
2004-04-14 13:14:40 -05:00
HDF Admin
cf49b96827 [svn-r8350] Snapshot version 1.7 release 21 2004-04-14 04:48:18 -05:00
Raymond Lu
6e9faf2337 [svn-r8348] Purpose: More test
Description:  Add more tests for bittests.c to check bit operations like H5S_bit_shift,
H5S_bit_inc, H5S_bit_dec, H5S_bit_neg.


Platforms tested: h5committest
2004-04-13 13:37:06 -05:00
Quincey Koziol
e3e3e9ccf0 [svn-r8347] Purpose:
Code optimization

Description:
    Eliminate memory allocations for I/O vectors when using the default
vector size.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-13 13:30:33 -05:00
Raymond Lu
dfe9639c9b [svn-r8344] Purpose: Internal function change
Description:  H5T_bit_shift wasn't general enough to handle arbitory start, length.

Solution:  Make it be so.

Platforms tested:  h5committest
2004-04-12 15:49:36 -05:00
Quincey Koziol
a7c2871572 [svn-r8342] Purpose:
Code optimization

Description:
    Remove another dataspace copy, in certain circumstances.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-10 13:02:27 -05:00
Quincey Koziol
793f8cadd3 [svn-r8339] Purpose:
Code optimization

Description:
    Remove a memcpy() from a commonly called routine and replace a multiplication
with a series of additions.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-10 12:12:42 -05:00
Quincey Koziol
4f7308af91 [svn-r8337] Purpose:
Code optimization

Description:
    Avoid another extraneous dataspace copy.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-10 11:04:53 -05:00
Quincey Koziol
eb7a675f0a [svn-r8335] Purpose:
Code optimization

Description:
    Change algorithm to directly use coordinates describing a chunk's position
in a dataspace instead of creating a dataspace with the chunk's position
selected.  This reduces the number of copies of dataspaces we need to keep
around.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-10 09:44:58 -05:00
Raymond Lu
270d097bd1 [svn-r8330] Purpose: Last step of check-in for Null dataspace
Description:  Mainly are header message changes for dataspace.  In last round
of check-in, a new header message for dataspace to created, which is not a good
way.  Now, there will be no new message for dataspace, but just add the type of
dataspace in the message while increment its version number.  Backward compatibility
is addressed.  The attribute design is modified accordingly.


Platforms tested: h5committest
2004-04-08 16:22:21 -05:00
Quincey Koziol
aa5e1dc4d2 [svn-r8328] Purpose:
Code optimization

Description:
    Check for only performing I/O on a single chunk and re-use memory dataspace,
instead of re-creating the same dataspace & selection the hard way.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-08 13:19:02 -05:00
Quincey Koziol
b356572029 [svn-r8326] Purpose:
Code optimization

Description:
    Eliminate more dataspace copying, etc.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-08 11:59:34 -05:00
Quincey Koziol
ddf73f26c3 [svn-r8324] Purpose:
Correct typo in comment
2004-04-08 11:58:32 -05:00
Quincey Koziol
dffe5b9a2b [svn-r8321] Purpose:
Code optimization

Description:
    Reduce the number of dataspace copies made when performing I/O on chunked
datasets.

Platforms tested:
    Solaris 2.7 (arabica)
    too minor to require h5committest
2004-04-08 09:10:34 -05:00
Quincey Koziol
42e2d9dd37 [svn-r8316] Purpose:
Code optimization

Description:
    Query the dataset creation and transfer properties less often.

Platforms tested:
    Solaris 2.7 (arabica)
    h5committested
2004-04-07 13:16:22 -05:00
Raymond Lu
be7efff2b7 [svn-r8314] Purpose: Progressive check-in
Description:  NULL dataspace.  This step is mainly for dataspace header
message and a test.

Solution:  The test mainly checks NULL dataspace features.  Backward compatibility
is tested in the fill value test.

Platforms tested: h5committest
2004-04-06 15:08:20 -05:00
Quincey Koziol
b230f3eb22 [svn-r8312] Purpose:
Code optimization

Description:
    Eliminate unnecessary allocation and point at existing data structure
instead.

Platforms tested:
    Solaris 2.7 (arabica)
    too minor to require h5committest
2004-04-06 13:51:26 -05:00
Quincey Koziol
fde9bbabc4 [svn-r8309] Purpose:
Code optimization

Description:
    Fix H5S_select_hyperslab to use arrays on the stack instead of dynamically
allocating them each time.

Platforms tested:
    Solaris 2.7 (arabica)
    too small to require h5committest
2004-04-06 11:57:30 -05:00
Quincey Koziol
5bace59b99 [svn-r8307] Purpose:
Code optimization

Description:
    Fix H5S_select_copy so it doesn't call calloc() for allocating memory that
will be immediately overwritten.

Platforms tested:
    Solaris 2.7 (arabica)
    too small to require h5committest
2004-04-06 11:38:00 -05:00
Quincey Koziol
1a867ef2db [svn-r8305] Purpose:
Code optimization

Description:
    Minor tweaks on the optimized offset/length sequence generator to improve
performance by reducing the number of 64-bit multiplies and calls to memcpy().

Platforms tested:
    Solaris 2.7 (arabica)
    too minor to require h5committest
2004-04-06 11:14:12 -05:00
Quincey Koziol
394dace97b [svn-r8303] Purpose:
Code optimization

Description:
    Compute the size of a chunk once, when the layout information is set,
instead of each time I/O is performed on the chunk.

Platforms tested:
    h5committest
    Solaris 2.7 (arabica)
2004-04-06 08:37:18 -05:00
Quincey Koziol
43d3a9bfe8 [svn-r8301] Purpose:
Code optimization

Description:
    Move handling for free list arrays that have no maximum size to separate
set of routines and optimize computations for free list arrays with maximum
size to avoid re-computing sizes all the time.

Platforms tested:
    h5committest
    Solaris 2.7 (arabica)
2004-04-06 08:11:45 -05:00
Quincey Koziol
c3d9b510b4 [svn-r8287] Purpose:
Bug fix/code cleanup

Description:
    Copy Robb's feature in SSlib that checks that the name of the function
used in the FUNC_ENTER macro is actually the name of function.

    Fixed a bunch of typos & copy-n-pasto's for functions with incorrect names.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-03-30 15:41:45 -05:00
Raymond Lu
370a4f930f [svn-r8276] *** empty log message *** 2004-03-24 16:03:52 -05:00
Albert Cheng
5f7cc58755 [svn-r8272] Purpose:
bug fix.

Description:
H5FD_mpio_init was calling the public API version of H5Iget_type()
which would clear the error stack, thus cleared away error messages
prematurely.

Solution:
Changed it to call the private version of H5I_get_type() which
does not clear the error stack.

Platforms tested:
o2 (SGI) parallel.
2004-03-22 23:39:37 -05:00
Raymond Lu
3c9420c967 [svn-r8270] Purpose: code cleanup
Description:  took out function of older algorithm(H5T_bit_neg2).


Platforms tested: fuss
2004-03-22 09:20:38 -05:00
Raymond Lu
7fb0362eed [svn-r8266] Purpose: Internal function change
Description: The algorithm of H5T_bit_neg wasn't general enough.

Solution:  Changed it to handle arbitory starting position and size
in a bit sequence.

Platforms tested: h5committest.
2004-03-19 14:55:42 -05:00
Raymond Lu
e45e85190b [svn-r8265] Purpose: Code cleanup
Description:  Some printing commands left there for debugging.

Solution:  Took them out.

Platforms tested:  fuss(RH8).  Simple change
2004-03-18 13:48:02 -05:00
Raymond Lu
a8ec063090 [svn-r8264] Purpose: Internal algorithm change
Description:  The H5T_bit_dec algorithm wasn't general enough.

Solution:  Changed it to handle bit sequence starting at any position
and of any length.

Platforms tested: h5committest
2004-03-17 12:36:34 -05:00