Commit Graph

10672 Commits

Author SHA1 Message Date
Binh-Minh Ribler
9474f434a3 [svn-r15457] Description:
Added notes about:
        - bugzilla 1068: revising class hierarchy to move Attribute out.
        - replacing IdComponent::dereference with new H5Object member functions
          and constructors in various other classes.
2008-08-11 00:36:08 -05:00
HDF Tester
44941d6ff6 [svn-r15455] Snapshot version 1.9 release 13 2008-08-10 11:47:38 -05:00
Neil Fortner
e980307ed9 [svn-r15451] Purpose: Fix various problems that were occurring when using mounted files.
Description:
Moved mount table from top file structure to shared file structure.  Moved
parent out of mount table and back into top file structure.  Mounted files can
now be accessed from any handle of the parent file.  Changes to how files are
closed.  Stricter cycle checking on mounted files.  Removed unused function
H5F_has_mount().

Tested:
committest in 1.8 branch.  Committing now due to the urgency of the fix.  No
changes here are specific to the trunk, but I will keep an eye on the daily
tests.
2008-08-07 16:49:05 -05:00
Pedro Vicente Nunes
a5de140500 [svn-r15446] bug fix
http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=788
don't print array indices for regions

tested: windows, linux
2008-08-07 10:15:04 -05:00
Pedro Vicente Nunes
c3bdc28062 [svn-r15445] added some comments
tested: windows, linux
2008-08-07 08:09:35 -05:00
Scott Wegner
35fcfd37d4 [svn-r15440] Purpose: Correct a few typos from my previous edit
Description:
-- Remove a couple lines of debugging output
-- Make sure H5_PACKAGE_NAME outputs 'HDF5' rather than 'hdf5'
-- Take into account version strings with a postfix.  This isn't currently used in HDF5 1.9 branch, but is in HDF5 1.8.

Tested:
kagiso
2008-08-06 14:04:45 -05:00
Peter Cao
2b3a491ee1 [svn-r15439] Add the following patch
===
The following patch to h5copy.c on or near line 173 makes the
tool substantially more useful...
     *flag = (*flag) | fla;
Because the command-line option parsing permits multiple '-f' arguments,
this will have the effect of or'ing the flags together so one can do
someting like....

~/tmp/hdf5-1.8.1/tools/h5copy/h5copy -i multi_ucd3d.h5 -s block5 -o gorfo -d foo -f shallow -f soft

Mark C. Miller, Lawrence Livermore National Laboratory
email: mailto:miller86@llnl.gov
===
2008-08-06 13:16:44 -05:00
Scott Wegner
e47c44c04a [svn-r15438] Purpose: Bring the Windows H5pubconf.h up-to-date
Description:
This commit is a major update to the Windows-maintained H5pubconf.h file.  This file is statically-distributed because Windows cannot generate it dynamically as other platforms do.  Previously, our Windows version contained a minimal subset of the macro definitions required.  To update, I've gone through each macro (based on kagiso's output), and tested for the correct value on Windows.  This allows us to better target code based on feature flags.  It should also be easier to update in the future as changes are made to the configure script.

This commit also contains one small bug fix in h5ls.c.  Some Windows-specific code was missing a local variable definition.  The bug went unnoticed because Windows didn't define the feature flag correctly.

I've also made changes to the h5vers script.  Whenever the version string is incremented (automatically by h5test after a snapshot), the strings in H5pubconf.h will also be updated.

Tested:
VS2005 on WinXP (32- and 64-bit)
VS.NET on WinXP 32-bit
h5vers tested under Cygwin
2008-08-06 12:18:47 -05:00
Pedro Vicente Nunes
8ee8a3fde6 [svn-r15432] bug fix
the compression ratio was being printed for cases where a layout was requested and not a filter

tested: windows, linux
2008-08-05 10:34:12 -05:00
Pedro Vicente Nunes
422ac99509 [svn-r15431] added the h5diff "contents" mode to the h5diff calls in the h5repack test
tested: windows, linux
2008-08-05 10:07:12 -05:00
Scott Wegner
90aa3cb287 [svn-r15430] Purpose: Update Windows test script for new h5diff option: -c
Description:
A new parameter was added to h5diff recently.  We add a new test to the h5diff script, and change the syntax in which h5diff is called from the h5repack test script

Tested:
VS2005 on WinXP
2008-08-04 16:50:37 -05:00
Pedro Vicente Nunes
5eb94a3eb5 [svn-r15429] new test for h5diff 2008-08-04 16:43:43 -05:00
Pedro Vicente Nunes
6787ef71a2 [svn-r15428] http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=1170
Summary: when using h5diff to compare the results of h5repack (or other tools that copy one HDF5 file to another), a new option is needed to allow h5diff to make an "absolute" comparison of the 2 files. This is the "contents" mode explained in the usage below.

If this mode is present, objects in both files must match (must be exactly the same). If this does not happen, the tool returns an error code of 1 (instead of the success code of 0)

Changes to the h5repack test script: the call to h5diff was changed to include -c (maintaining the previous -q). 

tested: windows, linux, solaris
2008-08-04 16:13:16 -05:00
HDF Tester
2fa8102745 [svn-r15425] Snapshot version 1.9 release 12 2008-08-03 07:54:59 -05:00
Scot Breitenfeld
121acf4bb4 [svn-r15423] Description:
Fix the error of passing an array to a scalar.
2008-07-29 09:15:47 -05:00
Pedro Vicente Nunes
5a752d6e90 [svn-r15421] bug fix
the parsing of the command line strings for the shared object header message type was not being done correctly (strcmp)
fix: substituted by strncmp

tested: windows, linux
2008-07-28 16:08:34 -05:00
Scot Breitenfeld
82416cb36d [svn-r15420] Description:
Initialized a string with a space instead of a blank

i.e. var = '' is now var = ' '

This fixes a problem with AIX for bug 1252
2008-07-28 14:44:25 -05:00
Scot Breitenfeld
63c7182225 [svn-r15418] Description:
Added missing comma, i.e.

WRITE(*, "("" subroutine i"" i2.2,""()"")") j

should be

WRITE(*, "("" subroutine i"", i2.2,""()"")") j

etc...

as noted in bug 1251 and NAG compiler.

Checked the write fix using Sun f95, g95, pgf90, gfortran, ifort, absoft and all gave the correct write output.
2008-07-28 14:20:28 -05:00
Scot Breitenfeld
b829da80a6 [svn-r15417] Description:
Changed the INTENT for total_error to be consistantly
INTENT(INOUT)

as noted in bug 1251
2008-07-28 14:19:11 -05:00
HDF Tester
8a770c8c63 [svn-r15410] Snapshot version 1.9 release 11 2008-07-27 06:07:17 -05:00
Binh-Minh Ribler
05a9cc4c14 [svn-r15408] Purpose: Enable test
Description:
    The daily test failure caused by the C++ API was fixed, so put
    the packet table test back.

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
    FreeBSD (duty)
2008-07-25 16:56:34 -05:00
Binh-Minh Ribler
18fb7d1a78 [svn-r15407] Purpose: Fix bug
Description:
    Changed all subclasses' setId to protected p_setId and put back setId
    in IdComponent.  p_setId is used in the library where the id provided
    by a C API passed on to user's application in the form of a C++ API
    object, which will be destroyed properly, and so p_setId does not
    call incRefCount.  On the other hand, the public version setId is
    used by other applications, in which the id passed to setId needs
    to be closed properly by the application, so setId must call incRefCount
    for the new object to prevent prematurely closing of the id.

Platforms tested:
    Linux 2.6 (kagiso)
    SunOS 5.10 (linew)
    FreeBSD (duty)
2008-07-25 16:51:01 -05:00
Pedro Vicente Nunes
bb8bf261ee [svn-r15405] added comments, cleaned code
tested: windows, linux
2008-07-25 10:10:57 -05:00
Christian Chilan
1f817abd7b [svn-r15397] Update to the h5perf files that includes bug fixes and extensions.
Tested on kagiso and abe.
2008-07-23 15:41:02 -05:00
Raymond Lu
8704820d1c [svn-r15395] When an attribute was opened twice and data was written with one of the handles,
the file didn't have the data.  It happened because each handle had its own
object structure, and the empty one overwrote the data with fill value.  This is
fixed by making some attribute information like the data be shared in the
attribute structure.

Tested on smirom, kagiso, and linew.
2008-07-22 15:36:31 -05:00
HDF Tester
717388ea06 [svn-r15389] Snapshot version 1.9 release 10 2008-07-20 06:16:44 -05:00
Pedro Vicente Nunes
d1596b2003 [svn-r15383] bug fix: when a requested palette index did not exist , the verbose printing message was referring to the default palette
tested: windows, linux
2008-07-17 09:47:07 -05:00
Scot Breitenfeld
86dff28679 [svn-r15378] Description:
Added optional parameter "mounted" to H5Gget_info_f, H5Gget_info_by_idx_f, H5Gget_info_by_name_f
2008-07-16 11:17:35 -05:00
Scot Breitenfeld
21401d1891 [svn-r15377] Description:
Added optional "mounted" parameter to H5Gget_info_f, H5Gget_info_by_idx_f, H5Gget_info_by_name_f
2008-07-16 11:12:50 -05:00
Quincey Koziol
27ee3e76fa [svn-r15375] Description:
Bump shared library version # for change to H5G_info_t struct
2008-07-16 10:28:39 -05:00
Quincey Koziol
d7742a9354 [svn-r15374] Description:
Correct wrong error return value to avoid compiler warning

Tested on:
    Just eyeballed, extremely minor
2008-07-16 10:13:16 -05:00
Quincey Koziol
f7547f2db7 [svn-r15370] Description:
Update release notes for file mounting bug fix and adding 'mounted' flag
to H5G_info_t.
2008-07-15 17:43:08 -05:00
Quincey Koziol
516c63299f [svn-r15367] Description:
Add check to avoid mounting the a file on a group twice, then the mounts
are done on the same HDF5 file, but opened with separate H5Fopen calls.

    Also add new 'mounted' flag to the H5G_info_t struct, queried with the
H5Gget_info() API call, to allow applications to detect and avoid this
situation.

    This probably fixes Bz#1070 also, I'll check with Dan Anov (who reported
a different sort of behavior, but seems to have the same underlying problem).

Tested on:
    Mac OS X/32 10.5.4 (amazon)
    Linux/64 2.6 (chicago)
2008-07-15 16:00:15 -05:00
Pedro Vicente Nunes
1572fb46e0 [svn-r15366] cleaned warnings and unused features
tested: linux
2008-07-15 09:51:48 -05:00
Pedro Vicente Nunes
bca3b0e1fc [svn-r15364] Convert the HDF5 8bit images to jpeg 24bit truecolor. Add an option for conversion from HDF5 indexed image to jpeg true color and an option to use a specific palette in the conversion.
tested: windows, linux
2008-07-15 09:45:16 -05:00
HDF Tester
ea27003154 [svn-r15347] Snapshot version 1.9 release 9 2008-07-13 07:00:00 -05:00
Neil Fortner
9139c12ea0 [svn-r15337] Unintended change to h5dump.c. Reverted. 2008-07-08 11:49:17 -05:00
Neil Fortner
78d22e2c44 [svn-r15335] Fixed incorrect error message in H5Pset_fletcher32:
"unable to add deflate filter to pipeline"
->
"unable to add fletcher32 filter to pipeline"

Tested: kagiso
2008-07-08 11:19:52 -05:00
Scott Wegner
40e8b8321e [svn-r15324] Purpose: Update h5jam Windows test for new testfiles directory
Description:
The testfiles directory moved, so we need to update test script on Windows.  This should fix the Windows daily-test errors from the weekend.

Tested:
VS2005 on WinXP
2008-07-07 09:05:56 -05:00
HDF Tester
b663817dcc [svn-r15322] Snapshot version 1.9 release 8 2008-07-06 06:55:21 -05:00
Vailin Choi
1501afca83 [svn-r15320] Update the test files for h5stat.
h5committested.
2008-07-03 16:51:28 -05:00
Pedro Vicente Nunes
44be564ca4 [svn-r15316] added one more palette to the test generator file
tested: windows, linux
2008-07-03 14:10:56 -05:00
Pedro Vicente Nunes
5bf91156a7 [svn-r15315] remove h5jam files 2008-07-03 08:37:46 -05:00
Pedro Vicente Nunes
89bb6df86e [svn-r15314] moved h5jam test files to tools/h5jam/testfiles
tested: linux
2008-07-03 08:32:39 -05:00
Scott Wegner
2b50ce6983 [svn-r15312] Purpose: Support Visual Studio 2008 on Windows
Description:
Write documentation for building HDF5 with the latest version of Visual Studio, 2008.  The process is very similar to building with Visual Studio 2005, but with an automatic project-file conversion beforehand.

Also adapt commandline build scripts for Visual Studio 2008 as well.

Tested:
VS2008 on WinXP
2008-07-02 14:40:00 -05:00
Pedro Vicente Nunes
7722c4c834 [svn-r15311] added removal of more special characters from jpeg file name
added a command line option -c to convert the output image to true or gray color
2008-07-02 10:25:26 -05:00
Scott Wegner
e662641a45 [svn-r15310] Purpose: Update Windows gif2h5 test script for new testfiles directory
Tested:
VS2005 on WinXP
2008-07-02 10:06:09 -05:00
Binh-Minh Ribler
e5df9bb33a [svn-r15309] Purpose: Fixed bugs
Description:
    The class hierarchy was revised to address the problem reported in
    bugzilla #1068.  Classes AbstractDS and Attribute are moved out of
    H5Object.  Class Attribute now multiply inherits from IdComponent and
    AbstractDs and class DataSet from H5Object and AbstractDs.

    In addition, data member IdComponent::id was moved into subclasses:
    Attribute, DataSet, DataSpace, DataType, H5File, Group, and PropList.

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
    FreeBSD (duty)
2008-07-02 09:56:42 -05:00
Binh-Minh Ribler
d9533d055c [svn-r15308] Purpose: Fixed bugs
Description:
    The class hierarchy was revised to address the problem reported in
    bugzilla #1068.  Classes AbstractDS and Attribute are moved out of
    H5Object.  Class Attribute now multiply inherits from IdComponent and
    AbstractDs and class DataSet from H5Object and AbstractDs.

    In addition, data member IdComponent::id was moved into subclasses:
    Attribute, DataSet, DataSpace, DataType, H5File, Group, and PropList.

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
    FreeBSD (duty)
2008-07-02 09:44:57 -05:00
Pedro Vicente Nunes
0e1432a18f [svn-r15307] moved testfiles from hl/tools/testfiles to hl/tools/gif2h5/testfiles
tested: linux
2008-07-02 08:54:35 -05:00