Commit Graph

6120 Commits

Author SHA1 Message Date
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
Raymond Lu
dd59aa926c [svn-r8605] *** empty log message *** 2004-06-02 11:35:56 -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
c287f1ae79 [svn-r8603] Purpose:
Remove the C++ files that were removed from the repo.
2004-06-02 07:43:45 -05:00
Quincey Koziol
2ca10d0ace [svn-r8602] Purpose:
Code update

Description:
    Update C++ wrappers to use new ID reference counting mechanisms.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/C++
    Too focused to require h5committest
2004-06-01 09:47:19 -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
MuQun Yang
f0efc265de [svn-r8596] Purpose:
bug fix

Description:
Currently h5dump test on windows won't separate error form standard output; which shows at function error_message.
A #ifdef WIN32 macro at this file make stderr to be the same as stdout on windows.
Solution:
Separate standard error from standard output.

Platforms tested:
windows xp VS 6.0(by xuan bai), no needs to test on other platforms

Misc. update:
2004-05-28 11:06:09 -05:00
Binh-Minh Ribler
dee9ad2b7e [svn-r8595] Purpose:
Add/Improve documentation

Description
    Added doxygen documentation to H5PredType.cpp and made minor changes
    to the others for either correction or clarification.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

Misc. update:
2004-05-28 01:25:56 -05:00
Raymond Lu
2f4d0aad24 [svn-r8594] Purpose: new test
Description:  Add null dataset and attribute tests for Fortran.


Platforms tested:  verbena pgf90(only Fortran test is involved).
2004-05-27 17:13:03 -05:00
Binh-Minh Ribler
f5492ae03b [svn-r8593] Purpose:
Add more C++ wrapper and documentation - incrementally check-in

Description
    Added another overloaded constructor to StrType.
    Added doxygen documentation to H5IdComponent.cpp.
    Corrected some comments.

    This is an incremental check-in to preserve the code, corresponding
    tests will follow in a few weeks.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

Misc. update:
2004-05-27 15:55:53 -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
Raymond Lu
71fba25e6e [svn-r8589] Purpose: bug fix
Misc. update:  update MANIFEST for adding h5diff_81.txt
2004-05-27 09:07:49 -05:00
Binh-Minh Ribler
315ca49e4a [svn-r8588] Purpose:
Add C++ wrappers - incrementally check-in

Description
    Added wrapper for these C APIs:
        H5Rcreate
        H5Rget_obj_type
        H5Rget_region

    This is an incremental check-in to preserve the code, corresponding
    tests will follow in a few weeks.

Platforms:
    Linux 2.4 (eirene)
    I'm checking the code out and test on arabica too.

Misc. update:
2004-05-27 02:54:58 -05:00
Binh-Minh Ribler
23de8877a3 [svn-r8587] Purpose:
Add C++ wrappers - incrementally check-in

Description
    Added wrapper for these C APIs:
        H5Dget_offset
        H5Dget_space_status

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

Misc. update:
2004-05-26 18:33:55 -05:00
Binh-Minh Ribler
76336666db [svn-r8586] Purpose:
Add documentation

Description
    Finished adding documentation to this file.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)


Misc. update:
2004-05-26 16:11:09 -05:00
Binh-Minh Ribler
b4cab24117 [svn-r8584] Purpose:
Add another wrapper - incrementally check-in

Description:
    Added an overloaded wrapper for H5Rcreate to H5Object.* and tests
    will be added later.  Also, corrected some comments.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)


Misc. update:
2004-05-26 15:19:40 -05:00
Raymond Lu
6223a679ce [svn-r8582] *** empty log message *** 2004-05-26 14:43:56 -05:00
Raymond Lu
dd03ef3f27 [svn-r8581] Purpose: new test
Description:  Add test of null dataspace for dataset and attribute in h5repack.


Platforms tested:  RH8(fuss).  Simple change, only h5repack is involved.
2004-05-26 14:43:42 -05:00
Raymond Lu
5e892a9d64 [svn-r8579] *** empty log message *** 2004-05-26 10:46:26 -05:00
Raymond Lu
8ea1793569 [svn-r8578] Purpose: new test
Description:  Add null dataspace test for dataset and attribute to h5diff


Platforms tested:  RH 8(fuss).  Simple change, only h5diff is involved.
2004-05-26 10:46:19 -05:00
Binh-Minh Ribler
80816a3dde [svn-r8576] Purpose:
Add more C++ wrapper and documentation - incrementally check-in

Description:
    Added doxygen documentation to:
        H5DataSet.cpp
        H5DataSpace.cpp
        H5CommonFG.cpp

    and a wrapper for H5Rcreate to H5Object.* with tests will be added
    later.

    There are more documentation need to be added to these files but
    to preserve the changes, I check them in now.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)


Misc. update:
2004-05-26 02:02:51 -05:00
Frank Baker
2e588eef3f [svn-r8573]
Purpose:
    Bugfixes in H5Gset_comment, h5gget_comment_f, and h5gset_comment_f.
    (Follow-on to the H5Gget_comment bugfix of last week.)

Description:
    Changed C parameter descriptions to indicate the following:
        'loc_id' can be file, group, dataset, or named datatype.
        'name' can be '.' if 'loc_id' fully describes the object.
        'name' is ignored if 'loc_id' is a dataset or named datatype.
    Modified h5gget_comment_f and h5gset_comment_f notes accordingly.
    Copy edits in H5Gget/set_comment and h5gget/set_comment_f.

Platforms tested:
    Safari
2004-05-25 12:36:59 -05:00
Binh-Minh Ribler
e0e2a3d54a [svn-r8571] Purpose:
Add documentation

Description:
    Added doxygen documentation for RM.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

Misc. update:
2004-05-24 23:25:29 -05:00
Binh-Minh Ribler
2105f023a5 [svn-r8570] Purpose:
Add/Correct documentation - this file was left out by mistake from
    this checkin.

Description:
    Added doxygen documentation to:
        Exception.cpp
        H5CompType.cpp
        H5FcreatProp.cpp

    and corrected some typos in comments for:
        H5AbstractDs.cpp
        H5EnumType.cpp
        H5File.cpp

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

Misc. update:
2004-05-24 22:57:08 -05:00
Binh-Minh Ribler
02a1c32b1f [svn-r8569] Purpose:
Add/Correct documentation

Description:
    Added doxygen documentation to:
        Exception.cpp
        H5CompType.cpp
        H5FcreatProp.cpp

    and corrected some typos in comments for:
        H5AbstractDs.cpp
        H5EnumType.cpp
        H5File.cpp

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-05-23 23:02:58 -05:00