Commit Graph

474 Commits

Author SHA1 Message Date
James Laird
2733f697b6 [svn-r11330] Purpose:
Bug fix

Description:
Errors on sol may have been due to "make clean" being run both
manually and by automake.  Removed the manual run.
Also cleaned c++/examples/ii_files directory created by some compilers
(e.g., on modi4).

Solution:
This does mean that examples directories will not be cleaned by
'make clean'.

Platforms tested:
sol, mir, heping, modi4
2005-08-31 18:12:15 -05:00
Albert Cheng
6d3715e537 [svn-r11323] Purpose:
tidy up.

Description:
MPE option created *.clog file whenever it is executed in MPI.
The cleanup of *.clog files were done in individual Makefile.in.
Often, it is forgotten.

Solution:
Moved the cleaning of *.clog files to CHECK_CLEANFILES in commence.am
so that it is applied whenever check-clean is called.

Platforms tested:
heping pp using MPE.
2005-08-31 15:03:52 -05:00
James Laird
66af6dce17 [svn-r11319] Purpose:
Bug fixes

Description:
This checkin fixes an occasional error on kelgia on sol during distclean.
It also causes test scripts to depend properly on the programs they're
supposed to be testing.

Solution:
The kelgia bug was due to some files being cleaned by automake and manually.
Removed the manual cleaning in src/Makefile.am.
Test script dependencies now need to be specified manually, since the
makefile can't guess what they test from their name.  Currently all test
scripts in a given directory have a single list of dependencies--this was
easy and seems to be sufficient.
These dependencies are listed in the SCRIPT_DEPEND variable in the Makefile.am.

Platforms tested:
heping, mir, modi4, sol

Misc. update:
2005-08-30 18:42:39 -05:00
Albert Cheng
538d37a1bc [svn-r11303] Purpose:
minor tidy up.

Description:
Changed both test programs and test scripts to use the same suffixes
(.chkexe and .chklog).  Changed from .log to .chklog to avoid running
into potential conflicts by other "things" (e.g., config.log).

Tested:
Heping.
2005-08-26 17:24:27 -05:00
Binh-Minh Ribler
96e92e0a4c [svn-r11274] Purpose: Additional code improvement
Description:
    Forgot to modify the examples for the "using" declaration changes
    in the library.  Added "using" declaration appropriately.

Platforms tested:
    Linux 2.4 (heping) - very minor
2005-08-19 17:12:22 -05:00
Binh-Minh Ribler
6496413284 [svn-r11264] Purpose: Additional code improvement
Description:
    Used "using" declaration and directive better to reduce namespace
    pollution.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
2005-08-18 17:16:56 -05:00
Quincey Koziol
6b45f5172c [svn-r11245] Purpose:
Code cleanup

Description:
    Trim trailing whitespace, which is making 'diff'ing the two branches
difficult.

Solution:
    Ran this script in each directory:

foreach f (*.[ch] *.cpp)
    sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
end


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-13 15:53:35 -05:00
Albert Cheng
fbb2dd8545 [svn-r11213] Purpose:
Bug fix and improvement.


Description:
The test output were not displayed for parallel tests.
The serial tests output were always displayed whether the test was
actually ran this time or not.


Solution:
Moved the display of test output inside the target where the actual
tests are run.


Platforms tested:
Tested in heping using pp and fortran.
2005-08-08 12:30:23 -05:00
Binh-Minh Ribler
f74bef15ce [svn-r11210] Purpose: Code improvement
Description:
    Made use of IdComponent::inMemFunc in more classes.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
2005-08-08 10:42:39 -05:00
Albert Cheng
a0f06d0961 [svn-r11207] Purpose:
Bug fix and code minor cleanup.

Description:
The attempt to redirect stderr together to the log files were
done in the wrong order such that stderr output goes to where
stdout WAS.  Fixed that.

Code minor cleanup--use shell variables to hold the name of the
log file and the test instead of generating them repeatedly.  This
makes easier code reading, less crowded and avoid typos.

Only conclude.in is changed.  The Makefile.in changes are all
derived from automake.

Platforms tested:
h5committested.

Misc. update:
2005-08-08 02:30:46 -05:00
Binh-Minh Ribler
07592ad7c3 [svn-r11206] Purpose: Additional wrapper/Code improvement
Description:
    Added wrapper for H5Iget_type.
    Added try/catch to many APIs that call private functions so that more
        specific information can be provided at failure.
    Added IdComponent::inMemFunc to help providing specific info.
    Added const to parameters of several functions that missed that.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    AIX 5.1 (copper)
    IRIX64 with -n32 (modi4)
    HPUX 11.00 (kelgia)
2005-08-07 22:53:58 -05:00
Binh-Minh Ribler
914f990f22 [svn-r11200] Purpose: Code improvement
Description:
    Changed CompType::getMemberClass to use H5Tget_member_class
    instead of going around unneccesarily.

    Changed "int member_num" to "unsigned member_num" of several
    member functions of CompType, per the C library change.

Platforms tested:
    Linux 2.4 (heping)
    Linux 2.4 w/PGI (colonelk)
    AIX 5.1 (copper)
2005-08-04 15:18:02 -05:00
James Laird
e75a185eca [svn-r11185] Purpose:
Makefile feature

Description:
'make check-clean' now cleans *.h5 files created by tests as well as
.log and .chkexe files.

Solution:
check-clean is now a separate target in its own right, which cleans less
than mostlyclean (check-clean < mostlyclean < clean < distclean).

Platforms tested:
mir, heping, modi4 (serial and parallel)
2005-08-02 12:59:03 -05:00
James Laird
c63ef2cba2 [svn-r11179] Purpose:
Feature: check-clean target

Description:
'make check-clean' cleans up output files from tests.

Solution:
Tests create foo.chkexe and foo.log files.  Scripts create foo.chksh and
foo.logsh files.  'make check-clean' will clean these files up so that
the tests can be re-run.
Also suppressed some not-very-useful output of Makefiles when it would
echo commands.

Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-08-01 17:22:55 -05:00
Binh-Minh Ribler
52f78a12d5 [svn-r11152] Purpose: Removed some compiler warnings
Description:
    Removed defined but unused variables.

Platforms tested:
    Linux 2.4 (heping)
    IRIX64 with -n32 (modi4)
    Linux 2.4 w/PGI (colonelk)
2005-07-24 22:40:21 -05:00
Binh-Minh Ribler
fab172d704 [svn-r11151] Purpose: Fix bugzilla #407 and #408
Description:
    PropList::copyProp has incorrect prototype; although it works,
    it does cause users inconvenience.

Solution:
    Added another overloaded function with correct prototype.  The
    old version will be removed in a future release.  In the meantime,
    "Obsolete" will be displayed in its RM page.

    Also, changed several checks on the returned value of a C API from
    non-positive to negative because id = 0 is no longer significant,
    now that the C++ reference counting had been removed.

Platforms tested:
    Linux 2.4 (heping)
    IRIX64 with -n32 (modi4)
    Linux 2.4 w/PGI (colonelk)
2005-07-24 22:37:21 -05:00
Binh-Minh Ribler
f208550696 [svn-r11149] Purpose: Fix bugzilla #406
Description:
    Added these missing member functions:
        AbstractDs::getArrayType
        AbstractDs::getVarLenType
        CommonFG::openArrayType
        CommonFG::openVarLenType
        CompType::getMemberArrayType
        CompType::getMemberVarLenType

Platforms tested:
    Linux 2.4 (heping)
    IRIX64 with -n32 (modi4)
    Linux 2.4 w/PGI (colonelk)
2005-07-24 12:52:43 -05:00
Quincey Koziol
34bd25f361 [svn-r11144] Purpose:
New port

Description:
    Elena asked me to check in her NEC SX-6 work, so here it is! :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    NEC SX-6 (by Elena)
2005-07-22 20:55:12 -05:00
James Laird
7236935a9d [svn-r11095] Purpose:
Configuration feature

Description:
Serial test output is now stored in log files and printed when all tests
in a directory complete, or when a test fails.  This should make test output
more readable and useful.
Also made changes to clean up ii_files directories that are created by some
C++ compilers/linkers.
Also fixed a few minor Makefile bugs.

Solution:
When serial tests run, their output is saved in *.log or *.logsh.  While
running, tests only print when they begin and when they complete; their
more specific output (from the log file) is printed if the test fails or
when all tests have completed.
Comments welcome.

Platforms tested:
mir, modi4 (parallel and serial), copper, shanti
2005-07-21 14:28:11 -05:00
James Laird
d2e92fd236 [svn-r11083] Purpose:
Bug fixes

Description:
A number of minor changes to Makefiles.  Some files will now be cleaned
properly, some comments are more informative, etc.


Platforms tested:
heping, mir, modi4
2005-07-18 18:30:38 -05:00
Binh-Minh Ribler
b14a4fd95f [svn-r11060] Purpose: Fix bug (reported by user)
Description:
    The use of FileCreatPropList::DEFAULT sometimes caused failure
    in the reference counting area.  This occurs to all the default
    property lists, which also include FileAccPropList::DEFAULT,
    DSetCreatPropList::DEFAULT, and DSetMemXferPropList::DEFAULT.
    H5P_DEFAULT was used to create these default prop lists and
    because its value is 0, the id of these prop lists are 0, which
    is rejected by the H5I functions during the reference counting.

Solution:
    The main action to fix the above problem was to use
        H5P_FILE_CREATE
        H5P_FILE_ACCESS
        H5P_DATASET_CREATE
        H5P_DATASET_XFER
    to define the default property lists accordingly.  Yet, when this
    fix was applied, some bug in reference counting was revealed.
    It appeared that some ids were not incremented but were passed in
    for decrementing.  The following actions were then taken to fix and
    improve the current use of reference counting H5I functions.

        * added private func IdComponent::p_valid_id to verify that the
          id is a valid id and can be passed into an H5I function
        * used p_valid_id to validate an id before calling an H5I functions
          in the reference-counting member functions incRefCount,
          decRefCount, and getCounter
        * changed to use member function incRefCount, decRefCount, and
          getCounter instead of the C APIs H5Iinc_ref, H5Idec_ref, and
          H5Iget_ref throughout IdComponent.

    In addition, overloadings were added for incRefCount, decRefCount,
    and getCounter to take an id different than the id of the current
    instance; they can be convenient during debugging.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    AIX 5.1 (copper)
2005-07-10 06:26:56 -05:00
Quincey Koziol
9b597516c0 [svn-r11042] Purpose:
Bug fix

Description:
    The ".chksh" file for a test script was being created in the "source"
location rather than the build location.  This can cause problems when
multiple builds are running because "slower" machines will see the ".cshsh"
file from faster machines and will not run the test script as they should.

Solution:
    Use 'basename' command to strip off the path of the script and create
the ".chksh" file in the build location.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-07-07 15:46:49 -05:00
Albert Cheng
f68a2e6db7 [svn-r11034] Purpose:
bug fix.

Description:
-nt is not a universal option for the test command in all platforms.
The use of it in conclude.am cause some platforms to bark at the
Makefile generated.

Solution:
Created a command script bin/newer which tests if file1 is newer
than file2.  Replace the "test file1 -nt file2" by
"newer file1 file2".

Platforms tested:
Tested in sol.
2005-07-06 23:52:45 -05:00
James Laird
c80b03cf33 [svn-r11016] Purpose:
Bug fix

Description:
Added dependencies to examples Makefiles so that examples can be run in
parallel.

Solution:
The examples directories (for C, C++, and Fortran) all have some dependencies
explicitly spelled out in their Makefiles.am.  This is a good short-term
solution, and should prevent errors in the Daily Tests.

Platforms tested:
mir, modi4 (parallel and sequential)
2005-07-04 16:25:07 -05:00
James Laird
4cf99e9f28 [svn-r11013] Purpose:
Bug fix

Description:
Fixed bugs that caused tests to be unable to find testhdf5.sh during
daily tests, and another that broke sol and shanti.

Solution:
When tests are run, their path is ./$testname .
When scripts are run, their path has no leading "./".  Fixed.
Sol and shanti don't recognize the -e option for test, but they do know
-f.  Fixed.
Also modified release notes.

Platforms tested:
mir, shanti, heping
2005-07-01 16:22:05 -05:00
James Laird
43f091f462 [svn-r11008] Purpose:
Feature: tests now use parallel make and only run once

Description:
When make is invoked in parallel (using the -j option), several tests will
now be run simultaneously.  This should speed up testing on a number of
systems.
When a test passes, it creates a foo.chkexe or foo.chksh file, which prevents
the test from running again unless the test or library changes.

Solution:
Most of the changes live in config/conclude.am.  Added *.chkexe and *.chksh
files to the list of files to be cleaned at "make mostlyclean" time.
Parallel tests still run one at a time, but use the same make instructions
as serial tests.

Platforms tested:
mir, eirene, sleipnir, pommier, copper, modi4 (some errors occurred, probably
due to the test being run before updating hdf5.  Will re-run tests after
checkin.)
2005-06-30 18:35:32 -05:00
Binh-Minh Ribler
f649d42b46 [svn-r10955] Purpose: Added more APIs
Description:
    - Added another overloaded CommonFG::getComment so the user will not
      have to provide the comment's length.
    - Added wrappers for H5Gget_comment when the comment is to be removed,
      CommonFG::removeComment.
    - Corrected several 'delete' statements

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
2005-06-19 16:57:34 -05:00
Binh-Minh Ribler
828c6646a1 [svn-r10953] Purpose: Updating C++ tests
Description:
    Updated various comments/headers.

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
2005-06-19 16:02:21 -05:00
Albert Cheng
65107926e1 [svn-r10858] Purpose:
bug fix.

Description:
The check-s and check-p targets are not recursively passes down.
Make them so.

Platforms tested:
heping (serial and pp).
2005-06-04 00:01:12 -05:00
Albert Cheng
a2217d58c8 [svn-r10849] Purpose:
bug fix

Description:
check-s and check-p were set as pre-requistics of test.  They
would get executed in parallel if parallel make is used.  This
could cause problems since serial tests are used to be executed
before parallel tests. It is not known if it is always okay to
run serial and parallel tests in simultantously.

Solution:
Change check-s and check-p as actions of the target test so
that they get executed sequnentially.

Platforms tested:
heping PP.
2005-06-02 18:42:48 -05:00
Albert Cheng
10247df1bc [svn-r10848] Purpose:
bug fix

Description:
check-s and check-p were set as pre-requistics of test.  They
would get executed in parallel if parallel make is used.  This
could cause problems since serial tests are used to be executed
before parallel tests. It is not known if it is always okay to
run serial and parallel tests in simultantously.

Solution:
Change check-s and check-p as actions of the target test so
that they get executed sequnentially.

Platforms tested:
heping PP.

Misc. update:
2005-06-02 18:40:47 -05:00
James Laird
2423bd6cab [svn-r10840] Purpose:
Added check-s and check-p targets.

Description:
Added check-s and check-p targets to 1.7 branch to match changes to 1.6
branch.  Now parallel and serial tests can be run separately.

Platforms tested:
mir, modi4, copper
2005-06-01 20:51:52 -05:00
Binh-Minh Ribler
3c48d3637b [svn-r10825] Purpose: Fix RM bug
Description:
    Doxygen 1.4.2 has a bug that when an \exception immediately
    follows a \brief, the exception will be displayed prominently
    in the brief section.

Solution:
    Temporarily added /// to after \brief to work around this
    problem and notified the Doxygen's author.

Platforms tested:
    Linux 2.4 (heping) - only in documentation sections
2005-05-29 17:26:56 -05:00
Binh-Minh Ribler
7e0a02c604 [svn-r10823] Purpose: Adding files for C++ API RM
Description:
    cpp_doc_config is the configuration file, used by Doxygen to
        generate the RM.
    RM_stylesheet.css is the style sheet used by the RM html pages; this
        style sheet is a modified version from the default doxygen.css.
    header.html and header_files are input to produce different page
        header than the default.

Platforms tested:
    Verified on Windows XP.
2005-05-28 22:51:47 -05:00
Binh-Minh Ribler
0d580697f6 [svn-r10816] Purpose: Fix bug (reported by user, not filed)
Description:
    Passing 0 where it should be "".  Fixed!

Platforms tested:
    Linux 2.4 (heping) - very minor, and has been in 1.6 for a while
2005-05-28 12:26:00 -05:00
James Laird
1cc3666a27 [svn-r10656] Purpose:
Output tweak

Description:
Test output in C++ and Fortran directories now puts "C++ API:" or
"Fortran API:" in front of the name of the test being run.
I had overlooked the line of code that caused this to happen.

Solution:
Added HDF_CXX and HDF_FORTRAN variables to C++ and Fortran Makefiles.am.

Platforms tested:
heping (minor change)
2005-04-25 12:43:58 -05:00
James Laird
8079dd8820 [svn-r10631] Purpose:
Cleanup

Description:
C++ src and test directories weren't being distcleaned when C++ wasn't
configured.

Platforms tested:
mir
2005-04-19 10:13:40 -05:00
Quincey Koziol
af6276f654 [svn-r10628] Purpose:
Code cleanup

Description:
    Clean up various warnings reported by the Windows team.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-18 16:21:35 -05:00
James Laird
afef3c0358 [svn-r10587] Purpose:
Minor feature

Description:
If a user configures without C++ or Fortran, 'make' will not recurse into
c++ or fortran directories.  However, if the user cd's into these
directories and 'makes,' the Makefiles will attempt to build interfaces
that have not been configured, usually failing.
In an unrelated but minor change, src/H5detect should be compiled with
the -g flag to disable compiler optimizations since it is only
executed once.

Solution:
Make it harder for users to try to compile interfaces that have not been
configured by making c++, fortran, and hl directories not recurse into
their subdirectories unless they have been configured.
Thus, 'make' in /fortran/src will break if Fortran has not been configured,
but 'make' in /fortran will not break.

Platforms tested:
mir, modi4, copper

Misc. update:
2005-04-11 16:47:05 -05:00
Elena Pourmal
5279827823 [svn-r10570] Purpose: Maintenance
Description: Removed support for SRB driver

Solution: Removed or modified appropriate files; ran reconfigure
          to regenerate Makefile.in and configure files.

Platforms tested: heping and shanti

Misc. update: ran bin/chkmanifest on heping
2005-04-07 14:41:25 -05:00
James Laird
b296a419c4 [svn-r10534] Purpose:
Configuration feature

Description:
Different Fortran compilers mangle function names in different ways
(upper case, lower case, adding underscores).  To link between
Fortran and C functions, we need to know what a given function's
name is under a given compiler.

Solution:
Use autoconf's FC_WRAPPERS check to determine the Fortran
naming scheme and define the FC_FUNC_ macro to name our
functions (in H5f90proto.h).  Removed references to
our old FNAME macro, as well as flags that indicated whether
function names were upper or lower case.

Platforms tested:
mir, pommier, modi4, copper, more
2005-04-04 16:17:51 -05:00
James Laird
59ec5b3d66 [svn-r10517] Purpose:
Bug fix

Description:
On some machines, $RUNSERIAL variable needs to be used to run
tests.  Set $RUNTESTS (which is used for non-parallel tests) to
be $RUNSERIAL in configure.am.

Also, since I was updating all Makefiles.in anyway, I updated
commence.am to point to autotools installs in AFS instead of
those on heping.

Platforms tested:
mir, sleipnir, modi4, copper
2005-03-31 13:26:17 -05:00
James Laird
14e06e81cb [svn-r10511]
Purpose:
"Bug fix"

Description:
Hardcoded Makefiles to use /bin/sh instead of letting configure
detect shell automatically.  This is what v1.6 does, and avoids
problems on janus.

Platforms tested:
sleipnir, copper, modi4, mir
2005-03-30 16:14:48 -05:00
James Laird
7acf3f1b12 [svn-r10475] Purpose:
Feature - conditional compilation

Description:
SRB file driver and tests are now compiled only when SRB is enabled
(using --with-srb during configure).

Solution:
Added an automake conditional in configure.in, altered Makefiles.am in
src and test directories to depend on that conditional.
This should make a nice example for posterity to add conditionally
compiled sources.

Platforms tested:
heping (only configure change)
2005-03-29 12:38:17 -05:00
James Laird
9452992c09 [svn-r10459]
Purpose:
Added C++ wrapper for Packet Table API.

Description:
Added macro for high-level C++ library (LIBH5CPP_HL), which changes every
Makefile.in.
Added directories for high-level C++ library (though currently only Packet
Table API is supported).
Added both C++ source and tests.

Platforms tested:
sleipnir, mir, modi4

Misc. update:
2005-03-28 11:32:20 -05:00
Quincey Koziol
b8b574f58e [svn-r10441] Purpose:
Code cleanup

Description:
    Add a few test files to the 'distclean' target.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-03-25 11:27:34 -05:00
Binh-Minh Ribler
68b5b9a11b [svn-r10245] Purpose: Cleanup test
Description:
    Used C++ PredType instead of the C types to avoid unresolved symbol
    errors on Windows.

Platforms tested:
    Windows XP
    Linux 2.4 (heping)
2005-03-20 23:49:19 -05:00
Binh-Minh Ribler
8d3da64e23 [svn-r10243] Purpose: Minor bug fix
Description:
    Removed a redefinition of a variable.

Platforms:
    Linux 2.4 (heping) - very minor
2005-03-20 09:15:39 -05:00
Binh-Minh Ribler
99d26d20f8 [svn-r10242] Purpose: Updating C++ tests
Description:
    Added an overloaded function for the template function verify_val.
    Updated various comments/headers.

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
2005-03-19 23:01:25 -05:00
Binh-Minh Ribler
2ea54ef9a4 [svn-r10240] Purpose: Adding more tests to C++ API
Description:
    Added C++ tests for attribute functionality, tattr.cpp.

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
2005-03-19 22:47:55 -05:00
Binh-Minh Ribler
49fa4563ef [svn-r10212] Purpose: Added more wrappers
Description:
    Added the following to the C++ library
        + overloaded functions:
                string CommonFG::getObjnameByIdx(hsize_t idx)
                H5T_order_t AtomType::getOrder()
        + wrappers for H5*close
        + wrappers for H5Arename, H5Aget_storage_size, and H5Dget_storage_size

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper)
    SunOS 5.8 64-bit (sol)
2005-03-14 14:32:26 -05:00
James Laird
25df1908bc [svn-r10158] Purpose:
Automake version upgrade

Description:
Upgraded automake version from 1.6.2 to 1.9.5.
Changed bin/reconfigure script to use automake 1.9.5.
Changed configure.in and Makefiles to use new FCFLAGS and FC variables
instead of FFLAGS and F9X.
Automake and configure should now do the lion's share of the work
supporting Fortran 9X; macros in acsite.m4 are now mostly unused (will
be cleaned later).
Altered how configure handles pmake; now root-level Makefile.in is
processed by bin/reconfigure to have a .MAKEFLAGS target, since
automake no longer allows us to define unused variables.
Configure now always checks for C++ compiler even if it is not
used, since automake thinks this is the Right Thing To Do and
will break otherwise.

Platforms tested:
Sol, copper, heping, mir, sleipnir, eirene, pommier, kelgia, modi4.
2005-03-07 12:57:27 -05:00
Albert Cheng
0d514907a9 [svn-r10123] Purpose:
Removed GASS configuration and software packages associated with
it.  The following software are no longer configurable.

checking for main in -lcrypto... yes
checking for SSL_get_version in -lssl... yes
checking globus_common.h usability... yes
checking globus_common.h presence... yes
checking for globus_common.h... yes
checking for globus_module_activate in -lglobus_common... yes
checking for main in -lglobus_gass_cache... yes
checking for main in -lglobus_gaa... yes
checking for main in -lglobus_gss... yes
checking for main in -lglobus_gss_assist... yes
checking for main in -lglobus_io... yes
checking for main in -lglobus_gass_transfer_assist... yes
checking for main in -lglobus_gass_transfer... yes
checking for globus_gass_open in -lglobus_gass_file... yes

Platforms tested:
h5committested (but copper was down.) tested in modi4 too.
2005-03-02 15:02:55 -05:00
James Laird
11fabfd693 [svn-r10108] Purpose:
Bug fix

Description:
C++ tests would die with strange linking-type errors.

Solution:
C++ build needs to be static, too.  Applied -static flags liberally in
c++/src and c++/test directories.

Platforms tested:
sleipnir, heping
2005-02-28 18:23:46 -05:00
Binh-Minh Ribler
10df21a401 [svn-r10093] Purpose: Fix bug
Description:
    Fixed typo in using namespace; it was mistakenly opening the namespace.

Platforms tested:
    Linux 2.4 (heping)
    Very minor, and tested 3 platforms for 1.6 branch
2005-02-25 22:43:26 -05:00
James Laird
13bb955536 [svn-r10076] Purpose:
Bug fix

Description:
c++/src directory was having trouble finding main HDF5 library.

Solution:
Replaced AM_CPPFLAGS with INCLUDES to include files in main src directory.

Platforms tested:
mir, modi4, verbena
2005-02-24 09:36:58 -05:00
James Laird
0b83fea125 [svn-r10066] Purpose:
Libtool upgrade

Description:
HDF5 was using libtool 1.4.2.  Upgraded to libtool 1.5.14.

Platforms tested:
verbena, heping, pommier, copper, modi4, arabica
2005-02-23 11:47:00 -05:00
Binh-Minh Ribler
6f2de2c62c [svn-r10050] Purpose: Fix bugzilla #241
Description:
    Checked return value from C API for failure condition.
    Added/Modified some comments appropriately.

Platforms tested:
    Linux 2.4 (heping)
    AIX 5.1 (copper) - tests passed but there were some old warnings about
			duplicate symbols on std::string; I'll check on that.
2005-02-20 15:45:44 -05:00
Xiaowen Wu
0ecf4d24e4 [svn-r10022] Purpose:
New feature.

Description:
    Add the scaleoffset internal library filter.

Solution:

Platforms tested:
    heping, copper, arabica

Misc. update:
2005-02-16 21:33:46 -05:00
James Laird
8ed95c0011 [svn-r10016]
Purpose:
Bug fix

Description:
modi4 dies during build with strange errors.
The root cause of these is a two-year-old hack in HDF5's libtool
script that only takes effect on IRIX.

Solution:
Edited the libtool hack (by editing ltmain.sh) to correct a bug in
the hack.
Also made sure that compiler-specific DEFAULT_LIBS are used
when linking.

Platforms tested:
sleipnir, copper, modi4, sol
2005-02-16 14:27:27 -05:00
James Laird
3f0a35a4ea [svn-r9988] Purpose:
Bug fix

Description:
pmake (on modi4, for instance) complains about undefined variables
if it is run without the -V flag, which turns those errors to warnings.

Solution:
Added test to configure.in to see if $MAKE will allow Makefiles
with undefined variables.  If not, sets -V flag in AM_MAKEFLAGS.
Ensured that all custom make targets use AM_MAKEFLAGS.
Also defined all variables that caused errors in top-level Makefile.am.
This means that pmake can be used to build hdf5 *from the top level
only*.  To run make from a subdirectory, still need to use -V flag
(or use make or gmake).

Platforms tested:
modi4, heping, copper, sleipnir
2005-02-11 12:40:52 -05:00
James Laird
db2575baa9 [svn-r9930]
Purpose:
Bug fix

Description:
Parallel builds were breaking in tools/lib

Solution:
talign didn't realize it depended on libh5tools.la because its
dependencies listed the full path (../../tools/lib/libh5tools.la).
Changed this, and made similar changes in a couple of other
directories.
This checkin should also add the --foreign flag to every Makefile.in

Platforms tested:
sleipnir (minor change)
2005-02-03 16:59:40 -05:00
Quincey Koziol
0b332ace5e [svn-r9928] Purpose:
New feature

Description:
    Add basic code for new B-tree implementation.  They don't do much yet,
aren't hooked up to anything yet and the format may change, but I'd like to
start getting them into the daily tests.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-02-03 14:59:05 -05:00
James Laird
ab243bf369 [svn-r9920] Purpose:
Bug fix

Description:
Found the permanant fix to automake/CVS dependency problem

Solution:
Added AM_MAINTAINER_MODE macro to configure.in.
Now automake will never try to regenerate Makefiles, Makefiles.in,
configure, H5config.h, etc. when they are out of date, nor will it
print any warnings.
Developers should  be very very careful to use reconfigure script,
and can add --enable-maintainer-mode flag to configure on heping
to regenerate these files correctly.

Platforms tested:
heping sleipnir copper
2005-02-02 15:59:46 -05:00
James Laird
ed8685acd2 [svn-r9915] Purpose:
Bug fix

Description:
Configuration files' timestamps were incorrect.

Solution:
Update Makefiles.in.  Also added correct paths to autotools on heping,
so heping build should be able to re-generate configuration files even
if they are still broken.

Platforms tested:
sleipnir
2005-02-02 11:00:36 -05:00
James Laird
e3dacb31be [svn-r9912] Purpose:
Bug fix

Description:
Dependencies between configure files (aclocal, configure.in, configure,
Makefiles.am and .in) are still causing Makefiles to try to run autotools
during build.

Solution:
Committed all Makefiles.in to update their timestamps.
As a temporary measure, forcibly prevented automake from running
autotools during build by redefining the variables it uses.

Platforms tested:
sleipnir (No changes to Makefile content)
2005-02-01 16:05:33 -05:00
James Laird
30bfb1e0ea [svn-r9907] Purpose:
Bug fix

Description:
Different compilers use different flags to include Fortran module files

Solution:
Changed boilerplate to use configure variable rather than hardcoded -M flag.

Platforms tested:
sleipnir, sol, copper
2005-02-01 10:27:37 -05:00
James Laird
26303241fe [svn-r9902] Purpose:
Configuration feature

Description:
HDF5 now uses automake to generate Makefiles

Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh

Platforms tested:
Many
2005-01-31 22:17:02 -05:00
Binh-Minh Ribler
31a5ef7b22 [svn-r9890] Purpose: Clean up tests
Description:
    + C tests' macro VERIFY casts values to 'long' for all cases.  Since
      there are no operator<< for 'long long' or int64 in VS C++ ostream,
      I casted the hsize_t/hssize_t values passed to verify_val to 'long'
      as well.  If problems arise later, this may have to be specificly
      handled with an overload - th5s.cpp
    + Added the use of InvalidActionException for when an action
      should cause an exception but didn't - th5s.cpp and tfile.cpp
    + Small changes to improve failure reports

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2005-01-30 23:03:36 -05:00
Binh-Minh Ribler
d388057d0d [svn-r9888] Purpose: Fixed bug
Description:
    H5PredType copy constructor was made "protected" accidentally.

Solution:
    Moved it back into "public" section.

Platforms tested:
    Linux 2.4 (eirene)
    Very minor and already tested on two platforms in 1.6 branch.
2005-01-29 23:11:28 -05:00
Quincey Koziol
fabb06712b [svn-r9838] Purpose:
Bug fix

Description:
    Correctly retire the H5E_LEN setting, now that the FORTRAN and C++ APIs
have been corrected to not use it either.

Solution:
    Pass in the string buffer length for FORTRAN

    In the C++ API, call H5Eget_msg() in a manner similar to the way
H5Fget_name() is called.

Platforms tested:
    Linux 2.4 (heping) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN & C++
2005-01-18 21:51:12 -05:00
Elena Pourmal
d6c70331d7 [svn-r9834] Purpose: Bug fix
Description: h5c++ couldn't create object files

Solution: Brought changes from 1.6 to 1.7

Platforms tested: arabica

Misc. update:
2005-01-18 18:53:34 -05:00
Binh-Minh Ribler
dfd0b59ae6 [svn-r9829] Purpose: Clean up tests
Description:
    + replaced "goto error" with throw exceptions
    + properly cleanup dynamically allocated memory in failure cases,
        for in some cases, the execution continues on after the failures
        were reported.
    + added test utility class InvalidActionException for when an action
        should cause an exception but doesn't.

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

    Note that there was an error due to the missing symbol H5E_LEN.  To
    be able to test my changes, I temporarily replaced H5E_LEN in c++/src
    with a constant as in the C tests, before the problem can be fixed.
    This value doesn't effect the C++ tests at all, at this time.
2005-01-16 10:23:34 -05:00
Binh-Minh Ribler
e5797d173b [svn-r9789] Purpose: Tests cleanup
Description:
    C tests' macro VERIFY casts values to 'long' for all cases.  Since
    there are no operator<< for 'long long' or int64 in VS C++ ostream,
    I casted the hsize_t/hssize_t values passed to verify_val to 'long'
    as well.  If problems arise later, this may have to be specificly
    handled with an overload.

Platforms tested:
    Linux 2.4 (eirene)
    Windows 2000
2005-01-09 23:40:51 -05:00
Binh-Minh Ribler
b36c5db865 [svn-r9737] Purpose: Clean up tests
Description:
    Corrected a misuse of a variable causing access violation.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2005-01-03 11:04:23 -05:00
Quincey Koziol
427ff7da28 [svn-r9727] Purpose:
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)

Description:
    Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation.  So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.

    I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    FreeBSD 4.10 (sleipnir) w/threadsafe
    FreeBSD 4.10 (sleipnir) w/backward compatibility
    Solaris 2.7 (arabica) w/"purify options"
    Solaris 2.8 (sol) w/FORTRAN & C++
    AIX 5.x (copper) w/parallel & FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN
    Linux 2.4 (heping) w/FORTRAN & C++


Misc. update:
2004-12-29 09:26:20 -05:00
Binh-Minh Ribler
d091bda690 [svn-r9698] Purpose: Correct typo
Description:
    Accidentally edited this file and removed a couple characters from a
    defined name, thus caused undefined error in daily test.  Fixed!

Platforms tested:
    SunOS 5.7 (arabica)
2004-12-21 09:28:59 -05:00
Binh-Minh Ribler
625e6ad9aa [svn-r9696] Purpose: Clean up tests
Description:
    Replaced cout's with cerr's.
    Replaced macro VERIFY with template function verify_val to
        verify read data/info.
    Cleanup various places in the tests to make them more consistent.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-12-20 15:01:46 -05:00
Pedro Vicente Nunes
b1df0a57aa [svn-r9650] Purpose:
added support for the hl library int the c++ examples

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-12-10 16:20:00 -05:00
Binh-Minh Ribler
d58b9bf5b2 [svn-r9555] Purpose: Fixing minor bug
Description:
    Xuan reported that "uint" used in this example caused error when
    built with MS Visual Studio compiler.

Solution:
    Changed to "int."

Platforms tested:
    Very minor, so I only tested on eirene.  I'll let Xuan know
    to check on Windows.

Misc. update:
2004-11-21 14:24:08 -05:00
Quincey Koziol
eb3e9ccd8a [svn-r9234] Purpose:
Code cleanup

Description:
    Tweak recent "forward compatibility" changes to the H5E* API (which allowed
for the old H5E API functions to remain unchanged) by allowing for the error
stack callback function (H5E_auto_t) to also remain unchanged from the 1.6
branch.  This required changing the H5E{get|set}_auto routines to have the
old style H5E_auto_t type (which didn't have a stack ID parameter) and the new
H5E{get|set}_auto_stack routines to have a newer "H5E_auto_stack_t" type (which
has a stack ID parameter).  This should make the H5E API changes as forwardly
compatible as possible.
    One side-affect of this change was that it was impossible to determine if
the current auto error callback was the old style (H5E_auto_t) or the new style
(H5E_auto_stack_t) of callback, so a new API function (H5Eauto_is_stack) was
adde to query this.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    IRIX64 6.5 (modi4)
    h5committest
2004-09-08 21:37:02 -05:00
Raymond Lu
cb7f03a26f [svn-r9183] Purpose: New feature
Description:  Restore 6 old error API functions back to the library to be backward
compatible with v1.6.  They are H5Epush, H5Eprint, H5Ewalk, H5Eclear, H5Eset_auto,
H5Eget_auto.  These functions do not have error stack  as parameter.

Solution:  Internally, these functions use default error stack.

Platforms tested:  h5committest and fuss.

Misc. update: RELEASE.txt
2004-09-01 12:43:30 -05:00
Binh-Minh Ribler
1bc611b623 [svn-r9133] Purpose: Clean up code
Description:
    The private function p_close was removed previously, but I
    inadvertently put it back in a few places, while transferring
    the changes from 1.6 branch.  These are removed now.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-08-21 10:58:11 -05:00
Binh-Minh Ribler
824ba5e2fd [svn-r9129] Purpose: Updating documentation
Description:
    Updated various function headers for the RM as reviewing progresses.
    Rearranged functions in header files for more sensible look of the RM.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-08-19 23:35:18 -05:00
Binh-Minh Ribler
b142a41448 [svn-r9128] Purpose: Code updating
Description:
    Renamed some private members and member functions appropriately.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-08-19 23:30:45 -05:00
Binh-Minh Ribler
4a04b0c05c [svn-r9127] Purpose: Adding wrapper for new C API and other updates
Description:
    Added wrappers for H5Fget_name:
        H5File::getFileName
        H5Object::getFileName
    Moved some functions from Group into the base class CommonFG for
        H5File too.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-08-19 23:29:58 -05:00
Binh-Minh Ribler
226df40694 [svn-r9126] Purpose: Updating RM
Description
    Added the rest of the C++ examples to the RM.

Platforms tested:
    Verified on Windows

Misc. update:
2004-08-19 23:28:56 -05:00
Albert Cheng
3c59678775 [svn-r9115] Purpose:
feature

Description:
Another revamp of the test interface.
TestInit: is used to register Test Program name, test program specific
   Usage and option parsing routines.
TestUsage: will invoke extra usage routine if provided.
TestParseCmdLine: will invoke extra option parsing routine if provided.
GetTestSummary() and GetTestCleanup() replaces the previous Summary and
CleanUp arguments of TestParseCmdLine.

test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c:
   All have been updated to use the new Test Routines.

testpar/t_mpi.c:
   Also a fix of a compiler optimization bug when pgcc in Linux is
   used to compile it.  Changed buf[] and expected to unsigned char
   type to avoid a bug that failed to do sign-extension.

Platforms tested:
"h5committested"
Also tested thread-safe option in eirene.
2004-08-19 01:32:47 -05:00
Binh-Minh Ribler
c517d82c97 [svn-r9083] Purpose: Fix minor problem
Description:
    Added an argument to the call to TestParseCmdLine because its
    prototype has just been changed.

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


Misc. update:
2004-08-14 00:08:10 -05:00
Binh-Minh Ribler
e6266dd7a1 [svn-r9049] Purpose: Clean up code
Description:
    Removed private functions p_close, that were left over from the
    removal of the reference counting mechanism.

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

Misc. update:
    release_docs/RELEASE will be updated soon.
2004-08-07 01:30:15 -05:00
Binh-Minh Ribler
3ff3720c02 [svn-r9048] Purpose:
Add new files

Description:
    Added H5VarLenType.cpp and H5ArrayType.cpp to LIB_SRC
    Added H5CppDoc.h, H5VarLenType.h, and H5ArrayType.h to PUB_HDR

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-08-07 00:55:46 -05:00
Binh-Minh Ribler
47dd278b15 [svn-r9046] Purpose:
Code cleanup

Description:
    DataType::commit had incorrect parameter, H5Object.  Changed
    it to CommonFG, for H5File and Group.
    The change caused additional header files needed for several
    other cpp files.

    Moved some functions from Group into the base class CommonFG for
        H5File too.

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

Misc. update:
2004-08-07 00:46:10 -05:00
Binh-Minh Ribler
4b3ebf1646 [svn-r9045] Purpose: Updated documentation
Description:
    Added mainpage to the RM via the new file H5CppDoc.h.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (verbena)
    This new file will be added to windows project soon.

Misc. update:
2004-08-07 00:41:24 -05:00
Quincey Koziol
25e887fb7a [svn-r8997] Purpose:
Code cleanup

Description:
    Clean up some temporary files.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/C++
    Not tested by h5committest
2004-08-02 22:24:35 -05:00
Binh-Minh Ribler
fc30490143 [svn-r8850] Purpose: Fixing minor bug
Description:
    Changed call to H5File::getFileSize according to C library and
    removed CHECK for this call because failure will be handled by
    exception.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Linux 2.4 (eirene)
2004-07-08 21:46:44 -05:00
Binh-Minh Ribler
9f4a92e28f [svn-r8849] Purpose: Adding documentation with doxygen and fixing minor bug
Description:
    Added function headers with doxygen.
    Changed H5File::getFileSize according to C library.

Platforms tested:
    Linux 2.4 (eirene)
    FreeBSD 4.10 (sleipnir)

Misc. update:
2004-07-08 21:45:28 -05:00
Binh-Minh Ribler
c3bfac0639 [svn-r8837] Purpose: Update doc and fix minor bug
Description:
    H5IdComponent.cpp: initialized a pointer to NULL
    H5Object.cpp: removed functions being added by mistake
    Update function headers for the rest.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-07-08 14:48:45 -05:00
Binh-Minh Ribler
f73369b20c [svn-r8822] Purpose: Update Makefile.in
Description:
    Removed macro H5_FILES from Makefile.in so that output files from the
    example programs will not be installed.

Platforms tested:
    Linux 2.4 (eirene)
    SunOS 5.7 (arabica)
2004-07-07 16:00:49 -05:00
Raymond Lu
fde087cf57 [svn-r8820] Purpose: Bug fix
Description:  After changing H5Fget_filesize, forgot to update C++.


Platforms tested:  Tested for 1.6
2004-07-07 13:05:37 -05:00
Binh-Minh Ribler
edf65a8ae8 [svn-r8816] Purpose: Remove files
Description:
    These data files are generated by the example programs and shouldn't
    need to be in the CVS.  Removed them.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-07-06 21:20:23 -05:00
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
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
Binh-Minh Ribler
52d1e37e8f [svn-r8746] Purpose:
Fixing minor bug

Description
    The new function H5File::getFileSize was missing a return statement.
    Added one.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-06-27 23:23:31 -05:00
Raymond Lu
705900b05c [svn-r8740] See checkin message for H5File.cpp and H5File.h 2004-06-24 17:19:57 -05:00
Raymond Lu
ac54089f54 [svn-r8739] Purpose: New feature and Bug fix
Description:  1.  Added H5Fget_filesize and test(in file_handle.c) which returns
the actual file size of an opened file.  Also added to C++ API and test.
2.  The error tests were messed up in test/Makefile.in.

Solution:  1.  Call H5FDget_eof to return file size.  2. Corrected.

Platforms tested:  h5committest

Misc. update:  RELEASE.txt
2004-06-24 17:19:05 -05:00
Quincey Koziol
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
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
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
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
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
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
Binh-Minh Ribler
53114fe055 [svn-r8568] Purpose:
Add documentation and a missing function - incrementally check-in
    (Note: these files supposed to be checked in with my checkin on
     May 19, but were accidentally left out. -> same log message)

Description:
    Added wrapper for H5Tget_nmembers to H5EnumType.*; it was
    accidentally left out.  Also, added doxygen documentation and
    removed outdated comments.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    Windows 2000
2004-05-22 14:14:40 -05:00
Binh-Minh Ribler
85ff720d0c [svn-r8555] Purpose:
Add documentation

Description:
    Added doxygen documentation and removed incorrect comments.

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

Misc. update:
2004-05-20 15:54:30 -05:00
Binh-Minh Ribler
7d3bfaaaa3 [svn-r8554] Purpose:
Add documentation and an overloaded function  - incrementally check-in

Description:
    Added Attribute::getName that takes no argument for user's convenience.
    Also added Doxygen documentation to existing functions in H5Attribute.cpp.

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

Misc. update:
2004-05-20 15:52:36 -05:00
Binh-Minh Ribler
acb2b222a8 [svn-r8542] Purpose:
Add documentation and a missing function - incrementally check-in

Description:
    Added wrapper for H5Tget_nmembers to H5EnumType.*; it was
    accidentally left out.  Also, added doxygen documentation and
    removed outdated comments.

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

Misc. update:
2004-05-19 09:06:58 -05:00
Binh-Minh Ribler
7e5eee8e90 [svn-r8541] Purpose:
Add more C++ wrappers and documentation - incrementally check-in

Description:
    Added wrappers for:
        H5garbage_collect
        H5set_free_list_limits
    to H5Library.*

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

Misc. update:
2004-05-19 06:22:58 -05:00
Raymond Lu
3e829d1e83 [svn-r8539] Purpose: Test Null dataspace for C++
Platforms tested: verbena(only c++ is concerned)
2004-05-18 12:55:31 -05:00
Binh-Minh Ribler
d15b6b8d63 [svn-r8537] Purpose:
Add more C++ wrapper - incrementally check-in

Description:
    Added wrapper for H5Tis_variable_str to DataType class.
    Tests for the new wrappers will follow in a few weeks.

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

Misc. update:
2004-05-17 23:46:27 -05:00
Binh-Minh Ribler
1b28d0a5e3 [svn-r8535] Purpose:
Add more C++ wrappers and documentation - incrementally check-in

Description:
    Added class VarLenType to provide wrapper for:
        H5Tvlen_create

    Added wrapper for H5Tis_variable_str to DataType class

    Tests for the new wrappers will follow in a few weeks.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    Windows 2000
2004-05-17 23:38:23 -05:00
Binh-Minh Ribler
7f7a952e12 [svn-r8534] Purpose:
Add more C++ wrappers and documentation - incrementally check-in

Description:
    Added class ArrayType to provide wrapper for:
        H5Tarray_create
        H5Tget_array_ndims
        H5Tget_array_dims

    Test for the new wrapper will follow in a few weeks.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    Windows 2000
2004-05-17 23:34:13 -05:00
Binh-Minh Ribler
c56eb7f4a4 [svn-r8532] Purpose:
Add more C++ wrappers and documentation - incrementally check-in

Description:
    Added wrapper for:
        H5Tdetect_class

    Also, added Doxygen documentation to existing member functions of
    AtomType and DataType.  Test for the new wrapper will follow in a
    few weeks.

    Some typos and small format changes are done in H5File.cpp.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    Windows 2000
2004-05-16 15:05:03 -05:00
Binh-Minh Ribler
4e7a6b7b1d [svn-r8526] Purpose:
Add more C++ wrappers - incrementally check-in

Description:
    Added more wrappers for C H5F functions and added Doxygen documentation
    to existing member functions of H5File.  This is an incremental check-in
    to preserve the code, corresponding tests will follow in a few weeks.

    Newly added wrappers are for:
	H5Fget_freespace
	H5Fget_obj_count
	H5Fget_obj_ids
	H5Fget_vfd_handle

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    Windows 2000
2004-05-14 12:53:33 -05:00
Binh-Minh Ribler
102e4deecf [svn-r8502] Purpose:
Fix bug #124 (Bugzilla)

Description:
    Build failed on Windows because the C++ API provides support for
    Stream VFD, yet this feature is disabled on Windows, making its
    support from the C library unavailable.

Solution:
    Added #ifdef H5_HAVE_STREAM to properly support Stream VFD.

Platforms tested:
    Linux 2.4 (eirene)
    Windows 2000

Misc. update:
2004-05-10 22:45:53 -05:00
Binh-Minh Ribler
3b490063e3 [svn-r8466]
Purpose: Correct my mistake

Description:
    I inadvertently deleted the changes that Ray and Quincey put in
    these two files.  Added them back.


Platforms tested:
    SunOS 5.8-64 (sol)
    Linux 2.4 (eirene)


Misc. update:
2004-05-02 23:52:45 -05:00
Binh-Minh Ribler
db8f63f552 [svn-r8465] Purpose:
Add more C++ wrappers - incrementally check-in

Description:
    Added wrapper for many C property list functions and added Doxygen
    documentation to existing C++ functions in these files.  This is
    an incremental check-in to preserve the code, corresponding tests
    will follow in a few weeks.

    For H5PropList.h and H5PropList.cpp, added C++ wrappers for:
	H5Pexist
	H5Pclose_class
	H5Pget
	H5Pget_size
	H5Pget_class_name
	H5Pget_nprops
	H5Pset
	H5Pisa_class
	H5Premove
	H5Pequal
	H5Pget_class_parent

   For H5FaccProp.h and H5FaccProp.cpp, added C++ wrappers for:
	H5Ps[g]et_driver
	H5Ps[g]et_family_offset
	H5Ps[g]et_fapl_core
	H5Ps[g]et_fapl_family
	H5Ps[g]et_fapl_stream
	H5Ps[g]et_sieve_buf_size
	H5Ps[g]et_meta_block_size
	H5Ps[g]et_alignment
	H5Ps[g]et_multi_type
	H5Ps[g]et_fclose_degree
	H5Pset_fapl_stdio
	H5Pset_fapl_split
	H5Pset_fapl_log
	H5Pset_fapl_sec2

   For H5FcreatProp.h and H5FcreatProp.cpp, added C++ wrappers for:
	H5Pfill_value_defined
	H5Premove_filter
	H5Pget_filter_by_id
	H5Pmodify_filter
	H5Pall_filters_avail
	H5Pset_shuffle
	H5Ps[g]et_alloc_time
	H5Ps[g]et_fill_time
	H5Pset_fletcher32

   For H5DxferProp.h and H5DxferProp.cpp, added C++ wrappers for:
	H5Ps[g]et_dxpl_multi
	H5Ps[g]et_small_data_block_size
	H5Ps[g]et_hyper_vector_size
	H5Ps[g]et_edc_check

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    SunOS 5.8-64 (sol)
2004-05-02 17:05:25 -05:00
Quincey Koziol
2da3744374 [svn-r8432] Purpose:
Bug fix

Description:
    Change C++ methods to match C prototypes for datatype overflow callback
routines.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/C++
    too minor to require h5committest
2004-04-29 09:16:45 -05:00
Raymond Lu
85b599e933 [svn-r8423] Purpose: New feature
Description:  A new exception handler for datatype conversion(set through
H5Pset_type_conv_cb) to replace the old overflow callback function(set
through H5Tset_overflow).  This new handler can deal with overflow, precision
loss and fraction truncate during datatype conversion.


Platforms tested: h5committest

Misc. update:  release_docs
2004-04-27 14:16:35 -05:00
Albert Cheng
d7a5f94d66 [svn-r8289] Purpose:
Feature

Description:
Added to AddTest() a generic parameters pointer argument to
allow some extra parameters for some tests.  E.g., test file
names can be customized during runtime and passed into the
test routines.

Platforms tested:
"h5committested".
Also run compat test in eirene.
2004-03-30 18:35:16 -05:00
Binh-Minh Ribler
9e3178fedf [svn-r8269] Purpose:
Cleaning up warnings

Description:
    Many exception constructors have warnings about reference to temporary
    location because of the parameter initialization, for example,
    "const string& var = 0."

Solution:
    Changed "string&" parameters to pass by value for these constructors.
    Consequently, passing string by value also takes care of char pointers
    so the overloaded constructors for char pointers are then removed.
    Also, instead of setting Exception::detailMessage to null string, I
    set it to DEFAULT_MSG ("No detailed information provided") by default.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    IA-64 (titan)
2004-03-21 21:56:59 -05:00
Pedro Vicente Nunes
78fb916259 [svn-r8149]
Purpose:
replaced name of delete filter with remove filter for the new function H5Premove_filter

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-02-04 14:36:12 -05:00
Quincey Koziol
61a451f89e [svn-r8117] Purpose:
Code cleanup

Description:
    Add C++ and FORTRAN wrappers for new H5Pdelete_filter routine, along with
documentation and a note in the release notes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/ C++ and FORTRAN
    Too minor for full h5committest
2004-01-27 15:39:20 -05:00
Quincey Koziol
25f92bf355 [svn-r8050] Purpose:
Code cleanup

Description:
    Remove duplicate output code accidentally left in after testing changes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too minor to require h5committest
2004-01-10 09:37:02 -05:00
Quincey Koziol
987f5d5e4d [svn-r8048] Purpose:
Code cleanup & reorganization

Description:
    Move further in the testing framework cleanup, eliminating all the
global variables (moving them into testframe.c as static variables) from the
testing framework code and moving it into the libh5test.a.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o thread-safety, c++ & parallel
    h5committested
2004-01-09 20:41:13 -05:00
Albert Cheng
c08c387235 [svn-r8043] Purpose:
Feature

Description:
Added option -showconfig which Shows the HDF5 library configuration summary

Platforms tested:
No h5committest test which does not test these tools.
Tested in eirene by hand.

Misc. update:
2004-01-08 15:08:36 -05:00
Quincey Koziol
ce2b03097b [svn-r8022] Purpose:
Code cleanup

Description:
    Refactor library testing framework (used for the testhdf5 & ttsafe tests)
to remove almost all of the duplicated code, moving the common code into a
new 'testframe.c' source file.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o thread-safety
    h5committest
2004-01-06 12:53:13 -05:00
Albert Cheng
f1e00b2afe [svn-r7980] Purpose:
Regenerate the Dependncies files.

Platforms tested:
"h5committested"

Misc. update:
2003-12-25 19:08:54 -05:00
Binh-Minh Ribler
d8b497ecef [svn-r7741] Purpose:
Fix example

Description:
    On Solaris 64 (Sol), the output has garbage for a dataset when
    fill value is not set.

Solution:
    Added setting fill value to the dataset first.

Platforms:
    Only effected C++ API
    Linux 2.4 (eirene)
    SunOS sol 5.8 (sol)
2003-10-26 13:54:07 -05:00
Binh-Minh Ribler
35fe60a237 [svn-r7740] Purpose:
Minor bug fix

Description:
    Added missing "const" to the first parameter in two functions:
    DSetCreatPropList::set/getFillValue

Platforms:
    Only effected C++ API
    SunOS 5.8 (sol)
    Linux 2.4 (eirene)
2003-10-26 13:52:08 -05:00
Quincey Koziol
4105dfedb9 [svn-r7379] Purpose:
Code cleanup

Description:
    Changed version #'s returned from H5Pget_version from 'int *' to
'unsigned *' since we are never going to be using negative version #'s... :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-18 11:29:33 -05:00
Albert Cheng
374ad0ef30 [svn-r7361] Description:
Updated the copyright notice--mostly by rearranging
some text to make them consistent.

Solution:

Platforms tested:
"h5committested"--sol is down, so, no SUn test.

Misc. update:
2003-08-13 23:58:29 -05:00
Quincey Koziol
26e94d4eef [svn-r7293] Purpose:
Code cleanup

Description:
    Remove some redundant libtool definitions, etc.

Platforms tested:
    h5committested
2003-08-08 13:33:45 -05:00
Quincey Koziol
c1f6f9defd [svn-r7292] Purpose:
Code cleanup

Description:
    Removed superfluous comment.

Platforms tested:
    h5committested

Misc. update:
2003-08-08 13:29:36 -05:00
Bill Wendling
1eb74205d4 [svn-r7273] Purpose:
Update/Fix

Description:
    The Dependencies files weren't begin generated properly for C++.

Solution:
    Modified the "dependencies" script to use "top_srcdir" only instead
    of "srcdir", which tended to confuse matters. Regenerated the
    Dependencies files.

Platforms tested:
    Arabica (Small changes)

Misc. update:
2003-07-29 14:23:54 -05:00
Bill Wendling
0603e2db00 [svn-r7269] Purpose:
Update

Description:
    Revamped the configuration system. The configurations for the Fortran
    and C++ libraries are no longer separate from the "main"
    configuration system. This involved removing the "configure*" and
    "aclocal.m4" files from the fortran/ and c++/ subdirectories. Also
    merging settings in the config/ subdirectories into the main config/
    subdirectory.

    Fortran header files had to be modified a little for Linux. It was
    checking if it was a Linux machine by some #defines, however with the
    -std=c99 switch, these defines weren't there. I added a check for
    some other ones which should be there whether the -std=c99 switch is
    used or not.

Platforms tested:
    Verbena (Fortran & C++)
    Sol (Fortran & C++)
    Copper (Fortran & C++)
    Modi4 (Parallel, Fortran, & C++)

Misc. update:
2003-07-28 16:38:04 -05:00