Commit Graph

6144 Commits

Author SHA1 Message Date
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
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
Pedro Vicente Nunes
2194263d1b [svn-r8659] Purpose:
bug fix

Description:
a prototype for a new function used by h5tools_str.c was accidently left in that file
the c++ treats this as an error

Solution:
removed the prototype, and pointed to the correct one (in h5tools_ref.h )

Platforms tested:
Free BSD (c++)
linux

Misc. update:
2004-06-11 10:04:48 -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
958d370d13 [svn-r8655] Purpose:
Code cleanup

Description:
    Add more files that should be removed to the clean & distclean targets.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-06-11 09:02:48 -05:00
Pedro Vicente Nunes
429abe8b16 [svn-r8653] Purpose:
bug fix

Description:
the file tfilters.h5 was missing the szip dataset, due to a absent szip configuration when
it was generated

Solution:
generated it it again with szip on

Platforms tested:
linux (smalll change )

Misc. update:
2004-06-10 16:48:12 -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
Pedro Vicente Nunes
9d0ee09708 [svn-r8647] Purpose:
h5dump update

Description:
updated the h5dump test files  generator , so that it coincides with the 1.6 branch

Solution:

Platforms tested:
linux (small)

Misc. update:
2004-06-10 15:55:34 -05:00
Raymond Lu
7ce626721c [svn-r8646] *** empty log message *** 2004-06-10 13:48:09 -05:00
Raymond Lu
52fa2f94ca [svn-r8645] Purpose: bug fix
Description:  If compound datatype has variable-length string as field, after it's committed to
the file, when it's reopened, the size of the datatype is miscalculated.  It makes the data
unreadable.  Dumper also fails to read data because of this problem.

Solution:  Change the size of datatype when it's committed to file.  Then modify the size again
for memory type when it's reopened.

Platforms tested: h5committest and RH 8.

Misc. update:  RELEASE.txt
2004-06-10 13:47:59 -05:00
Pedro Vicente Nunes
78ca05e040 [svn-r8644] Purpose: h5dump new features
Description:

added the code for print strings with new line and display the path of references (new source files h5tools_ref.c and .h )
added a test suite in testh5dump.sh.in for
( note : to create testh5dump.sh , one must redo ./configure; this detects the availability of filters
and generates  testh5dump.sh accordingly)
1) storage layout
2) fill value
3) print reference with path
4) print strings with new lines
5) filters

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-10 12:35:48 -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
Xuan Bai
751964fbe1 [svn-r8638] Purpose:
Update

Description:
1. Update Windows project files as Quincey Koziol renamed several files in CVS.
2. Update the hdf5 test batch files.

Solution:
1. Quincey renamed the following files in CVS:
     H5Fcompact.c -> H5Dcompact.c                                                                                        H5Fcontig.c  -> H5Dcontig.c                                                                                         H5Fistore.c  -> H5Distore.c                                                                                         H5Fseq.c     -> H5Dseq.c
hdf5, hdf5dll, and hdf5_cf90stub project files were updated to reflect the change.

2. H5dump, h5diff, h5ls, h5import, and h5repack test batch files were updated.
Now the output from these batch files will show whether each test passes or fails.

Platforms tested:
Windows XP/Visual C++ 6.0

Misc. update:
2004-06-09 13:59:06 -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
a8e09cbc3e [svn-r8635] Purpose:
Bug fix

Description:
    Correct path to new testh5dump.sh, now that it's generated.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w & w/o srcdir
    Too minor to require h5committest
2004-06-09 13:06:23 -05:00
Quincey Koziol
4b23dc8335 [svn-r8632] Purpose:
Update release notes
2004-06-09 09:01:46 -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
e81fa063c3 [svn-r8627] Purpose:
Update shell scripts

Description:
    Switch to generating the testh5dump.sh script at configure time, so we can
determine which filters are available to test.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to require h5committest
2004-06-09 08:47:20 -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
Pedro Vicente Nunes
bad5b7ec31 [svn-r8622] Purpose:
h5dump new version

Description:
added the changes already made for 1.6
support for dumping of
1) filters
2) storage layout
3) fill value
4) comments
5) superblock
6) file contents
7) array indices


Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-07 11:40: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
28404e2813 [svn-r8614] 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
2004-06-05 14:06:24 -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
353c881274 [svn-r8611] Purpose: Update document.
Misc. update:  Update information about opaque datatype bug fix.
2004-06-03 17:02:44 -05:00
Raymond Lu
5f11bb7260 [svn-r8609] Purpose: bug fix
Description:  internal function opaque_check didn't have prototype.


Platforms tested:  no test needed for such a simple change.
2004-06-03 13:37:04 -05:00
Xuan Bai
9edaa969a3 [svn-r8606] Purpose:
Update and Optimization.

Description:
Update source codes into Windows workspace.  Optimized the dumptest and deleteline batch files.

Solution:
1. Added H5DTest.c and H5Dpkg.h to the sourde and header files of hdf5 and hdf5dll projects.
2. Removed H5RefCounter.cpp and H5RefCounter.h from hdf5_cpp and hdf5_cppdll projects.
3. Updated deleteline batch file.  Compared with the former version, the current batch file running time
is reduced greatly and the output from the deleteline batch file looks much better.
4. Updated dumptest batch file to match with the new dump tests added by Prdro Vicente under Unix.  The
output from dumptest will show whether the tests passed or failed, while the former version can only
show whether there are any difference between the expected and actual output files with fc command.

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

Misc. update:
2004-06-02 17:07:20 -05:00