Commit Graph

360 Commits

Author SHA1 Message Date
James Laird
bcf3f797d4 [svn-r11566] Purpose:
Makefile bug fix

Description:
Previously, automake didn't output rules to build perform/mpi-perf or
the test/gen_* programs.
Now these can be built by typing 'make mpi-perf' (or 'make foo') or by
configuring with --enable-build-all.

Solution:
Automake doesn't like having rules for programs it doesn't build.  Tricked
it by having these programs built "sometimes"--whenever the user enables
--build-all.  This should be used mostly for testing and to ensure that
these helper programs compile.

***IMPORTANT***
These programs do *not* currently compile.  When --enable-build-all is used
(not the default), gen_new_fill fails because it uses an old API.  This is
an existing "bug" that has simply been exposed by this checkin.

Platforms tested:
sleipnir, modi4, sol

Misc. update:
2005-10-14 17:52:13 -05:00
Albert Cheng
5b4b3d574f [svn-r11537] Purpose:
Fixed the copyright notice.

Tested in heping.
2005-10-11 11:55:29 -05:00
Albert Cheng
184167de7d [svn-r11536] Purpose:
Fixed the copyright notice.
2005-10-11 11:54:56 -05:00
Albert Cheng
55c4f63df7 [svn-r11478] Purpose:
bug fix.

Description:
When a parallel test script test fails, make would continue because the
way it was setup inside a for loop.  Fixed it by issuing an exit 1 inside
the loop.

There was also a typo error in the newer command comparision that it
must be $${chkname} in order to be valid.  Also, the test script itself
was not checked in the newer lists.  All fixed.

Platforms tested:
h5committested and also hand tested in heping pp mode.
2005-09-29 00:17:06 -05:00
James Laird
3267458b64 [svn-r11446] Purpose:
Bug fix

Description:
Massaged the newer script and config/conclude.am to make SX6 happy.


Platforms tested:
SX6, sol, mir
2005-09-20 16:46:24 -05:00
Albert Cheng
c0e83899c3 [svn-r11431] Purpose:
New feature.

Description:
Added the time command to the make check target to report time usage
of the execute of each test and test scripts.  This gives us some idea
how long each test takes and some vague idea it is compute bound or
not.

powerpc-ibm-aix5.x:
Change $RUNPARALLEL default setting to allow it being invoked by the
time command.

Platforms tested:
h5committested.
2005-09-17 22:04:28 -05:00
James Laird
ae2a313b5b [svn-r11421] Purpose:
Feature

Description:
Added H5_CFLAGS, etc. to 1.7 branch.
Now compilation flags can be put in H5_*FLAGS and they'll be used when
building hdf5 but not in h5cc.


Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-09-16 16:26:17 -05:00
James Laird
b656c90c8a [svn-r11420] Purpose:
Bug fix

Description:
Disabled C++ shared libraries for Sun Workshop compiler.

Solution:
This bug only seems to happen when using the -xarch=v9 flag to compile in
64-bit mode, but disabling shared libraries entirely for this compiler is
an easier fix (I don't know how to detect 64 bit mode from the command line).
The framework for disabling shared libraries for other C++ compilers is
in place.

Platforms tested:
sol, mir, sleipnir, modi4
2005-09-16 16:16:11 -05:00
James Laird
cc8f7d98bf [svn-r11418] Purpose:
Bug fix/feature

Description:
Disabled shared libraries for a number of Fortran compilers that don't
support them.
This allows other compilers to support shared Fortran libraries.

Solution:
Added a conditional, SHARED_FORTRAN_CONDITIONAL, which is true if
Fortran supports shared libraries.  It is set in configure.in.

Platforms tested:
mir, sleipnir, colonelk, heping
2005-09-15 16:30:06 -05:00
James Laird
33beeb7f55 [svn-r11411] Purpose:
Bug fix

Description:
Building with --disable-static seems to have been broken on several platforms.
Fixed this.
Configure will now disable shared libraries automatically when using pgf90
or when building on Cygwin.

Solution:
To avoid errors when using shared libraries with pgf90 (which I had not
realized were compiler-specific), I had manually set convenience libraries
to use the -static linking flag.  Apparently, this is not necessary, and
caused these libraries to be created as empty archives when --disable-static
was used.
Also, some libraries were including other libraries, which was not
necessary.
I also fixed code in configure.in to correctly detect whether shared
or static libraries are enabled, and moved code that disables shared libraries
to before libtool is created (rather than editing libtool after the fact).
Despite repeated warnings that only one shared library can be linked at a
time, I have yet to have shared libraries break the linking of tests on
any system.  We'll see if the Daily Tests turn up anything.

Platforms tested:
mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel),
sol (fortran, C++), cygwin
2005-09-13 17:30:33 -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
Quincey Koziol
fefbe61aca [svn-r11304] Purpose:
Code cleanup (sorta)

Description:
    Adjust H5G_stat_t to prepare for eventual "external link" information.
This also puts the information for regular objects and soft links into more
obviously separate places.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2005-08-27 08:34:28 -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
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
Albert Cheng
ea15f348a1 [svn-r11208] 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.
2005-08-08 02:32:27 -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
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
Fang Guo
a073dac37b [svn-r11115] Purpose:
Improvement
Description:
Add high level fortran dll export definition for windows
Solution:

Platforms tested:
MSVS 6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:43:19 -05:00
Fang Guo
2d9a894b52 [svn-r11114] Purpose:
Improvement
Description:
Add definition for high level fortran dll export for windows
Solution:

Platforms tested:
MSVS 6.0 on window xp, cygwin, heping and copper
Misc. update:
2005-07-22 16:39:51 -05:00
Fang Guo
1a5c3ceeb8 [svn-r11113] Purpose:
Improvement
Description:
Add high level c++ dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:36:51 -05:00
Fang Guo
200dcdb6d0 [svn-r11112] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on windows xp, cygwin, heping and copper
Misc. update:
2005-07-22 16:34:53 -05:00
Fang Guo
02f74aa59e [svn-r11111] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:31:48 -05:00
Fang Guo
d782f6cf94 [svn-r11110] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:30:04 -05:00
Fang Guo
e4c9e3f233 [svn-r11109] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on Windows XP, cygwin heping copper
Misc. update:
2005-07-22 16:27:56 -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
MuQun Yang
e9d54ca186 [svn-r11092] Purpose:
Correct a typo for function declaration.
It causes problems for windows DLLs.

Description:
In file hdf5\hl\fortran\src\H5LTf90proto.h
Line 183 'n' might be missed in the very beginning

"h5ltget_dataset_ndims_c"
should change to
"nh5ltget_dataset_ndims_c"


Solution:
change it.

Platforms tested:
too minor to test at other platform,
Fang reported this, so I assume it should work on windows.

Misc. update:
2005-07-20 17:38:46 -05:00
Pedro Vicente Nunes
d4bf186a18 [svn-r11091] Purpose:
improve documentation by comments
changed the return value of H5DSget_num_scales for a case when there are no scales attached from FAIL (-1) to 0

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-07-20 14:40:51 -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
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
Elena Pourmal
1e1e2578f6 [svn-r10997] Purpose: Small bug fix
Description: "long long" type caused compilation problems on Windows

Solution: Use long_long definition

Platforms tested: heping, Windows will follow

Misc. update:
2005-06-28 14:42:51 -05:00
Elena Pourmal
63ed37e807 [svn-r10986] Purpose: Maintenance
Description: Finally moved Fortran related function H5IM_get_palette to the
             fortran part of the hl source (to the H5IMcc.c file)

Solution:

Platforms tested: sleipnir, mir with g95

Misc. update:
2005-06-24 14:32:25 -05:00
Elena Pourmal
ace21943c3 [svn-r10984]
Purpose: Bug fix

Description: mismatched "static" declaration for notorious H5IM_find_palette function
             caused compilation to fail on sleipnir.

Solution: Remove it for now. Function should go back to Fortran part of HL library.

Platforms tested: sleipnir

Misc. update:
2005-06-24 10:41:35 -05:00
Elena Pourmal
2ab6b12b55 [svn-r10977] Purpose: Bug fix
Description:
          1.7 daily tests failed in HL library when Fortran was not
          enabled; also long long instead of long_long declarations
          were used and caused failures on Windows

Solution:
          Removed Fortran related functions (except H5IM_find_palette) from
          H5IM.c file and put it into fortran/src/H5IMcc.c
          Modified appropriate Makefile.am files, regenerated Makefile.in files,          updated header files, MANIFEST, etc.

          Note: H5IM_find_palette should be also in H5IMcc.c, but
          for some unknown to me reason, linking fails if the function is
          included in H5IMcc.c. I will really appreciate if some C guru
          will look into the code and figure out what is wrong :-) Thanks!


Platforms tested: mir with g95, heping with and without Fortran enabled

Misc. update:
2005-06-24 00:00:01 -05:00
Elena Pourmal
ea66068977 [svn-r10970] Purpose: New feature/bug #350 fix
Description:
             When compiler flag was used to set the size of Fortran integer
             to 8 bytes, library would fail.

Solution:
             Cleaned up the code; added detection of Fortran INTEGER type size
             and appropriately defined int_f type for C-stubs routines.

Platforms tested:
             Solaris 2.8 32 and 64-bit, AIX 5.1 64-bit parallel
             PGI Fortran with -i8 flag on heping
             Absoft Fortran with -i8 flag on heping
             g95 on mir (Fortran integer is 8 bytes by default that cannot be
                         changed - compiler bug ;-)
             AIX Fortran with -qintsize=8 32 and 64-bit modes on copper

Misc. update:
2005-06-22 13:23: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
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
James Laird
3eff1a1dfb [svn-r10801] Purpose:
Typo correction

Description:
Caught a very minor typo in test output.  Fixed it.

Platforms tested:
None; cosmetic change.
2005-05-25 17:12:09 -05:00
Pedro Vicente Nunes
b3d0eab748 [svn-r10748] Purpose:
removed some outdated comments

Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-05-16 15:02:25 -05:00
Pedro Vicente Nunes
5b6c08e68e [svn-r10747] Purpose:
bug fix

Description:
the fortran type integer*1 has become not portable.
define the image fortran datatype as "integer" and make special save, read, and palette functions
that use native integer for a memory type and UCHAR as disk type for the image data
added some more tests with new palette definitions

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-05-16 14:08:41 -05:00
Quincey Koziol
bbe03d7361 [svn-r10736] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-05-07 14:37:48 -05:00
James Laird
8570c314ef [svn-r10729] Purpose:
Cray X1 Port

Description:
Porting 1.7 branch to Cray X1.  With these changes, HDF5 builds, but
there are some errors in the tests.  Working on the errors.

Solution:
Added nv1-cray file to config directory.
Cleaned up some code in hl/c++ that was causing compiler to complain.

Platforms tested:
Cray X1, mir, sleipnir

Misc. update:
2005-05-05 11:51:46 -05:00
MuQun Yang
117c3740b5 [svn-r10706] Purpose:
bug fix

Description:
When using memcpy on windows, <string.h> needs to be included.

Solution:
include <string.h>

Platforms tested:
MSVS 6.0 on windows XP, too minor to test with three platforms.

Misc. update:
2005-05-02 10:58:17 -05:00
James Laird
9cab0a1273 [svn-r10668] Purpose:
Bug fix

Description:
Removed hdf5/hl/fortran/src/H5f90i.h from CVS.
HL APIs should now include hdf5/fortran/src/H5f90i.h
2005-04-26 13:11:58 -05:00
James Laird
139c899ba1 [svn-r10667] Purpose:
Bug fix

Description:
Made High-Level Fortran code use automatically generated headers
rather than a separate hardcoded header.

Solution:
Set hdf5/hl/fortran/src to include hdf5/fortran/src, so that it
will find the copy of H5f90i.h in that directory.
Took #include "H5private.h" out of H5f90i.h (and moved it to files
that included H5f90i.h.

Platforms tested:
mir, modi4, pommier
2005-04-26 13:10:31 -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
James Laird
151757f989 [svn-r10571] Purpose:
Improvement

Description:
Changed headers in Fortran directories to use H5_FC_FUNC macro
from H5pubconf.h rather than FC_FUNC macro from H5config.h.
This is better practice and works better with the Windows projects.

Platforms tested:
heping, Windows
2005-04-07 14:56:06 -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
Pedro Vicente Nunes
b0f1b2f21c [svn-r10551] Purpose:
fixed some typos and formatting

Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-04-05 15:26:26 -05:00
Quincey Koziol
1104db03b6 [svn-r10542] Purpose:
Code cleanup

Description:
    Clean up more test files

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-05 14:10:53 -05:00
James Laird
f49f2ce0b8 [svn-r10541]
Purpose:
Bug fix

Description:
FAIL was being doubly defined in high-level fortran directory.
Removed inclusion of H5private.h from H5f90i.h in hl/fortran/src.

Platforms tested:
copper
2005-04-05 12:30:50 -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
Pedro Vicente Nunes
7f98ee5db8 [svn-r10507] Purpose:
add a new feature for the test image API, read a palette from an ASCII file and attach several
palettes to an image

Description:

Solution:

Platforms tested:
linux
solaris
AIX
IRIX

Misc. update:
2005-03-29 16:47:53 -05:00
Pedro Vicente Nunes
e39079f058 [svn-r10498] Purpose:
add 1 test that reads realistic dimension scales data from an ASCII file and generates an hdf5 file with DSs

Description:

Solution:

Platforms tested:
linux
solaris
IRIX

Misc. update:
2005-03-29 14:57:23 -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
Pedro Vicente Nunes
0c9906803b [svn-r10468] Purpose:
new tests

Description:
added tests for flot and string datatype scales

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2005-03-28 16:41:12 -05:00
James Laird
73e5d04993 [svn-r10467]
Purpose:
Made the C++ Packet Table tests look like other HDF5 tests (using PASSED(), etc.).

Platforms tested:
sleipnir, mir, modi4, windows
2005-03-28 14:55:02 -05:00
James Laird
0faa9455fc [svn-r10461]
Purpose:
Bug fix -- ensure that C++ packet table test cleans up its output file.

Platforms tested:
sleipnir (minor change)
2005-03-28 12:07:18 -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
Pedro Vicente Nunes
af6d77bfc4 [svn-r10458] Purpose:
added new tests for the image API

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2005-03-28 10:24:10 -05:00
Pedro Vicente Nunes
20f6e6203a [svn-r10446] Purpose:
new test

Description:
added a test for a scalar scale

Solution:

Platforms tested:
linux
solaris
AIX
IRIX

Misc. update:
2005-03-25 13:31:37 -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
Pedro Vicente Nunes
fed2ef094f [svn-r10416] Purpose:
bug fix

Description:
when exiting due to a error condition on the goto out instruction there was an attempt to call
H5Dvlen_reclaim without checking if buf was null

Solution:
checket it

Platforms tested:
linux
solaris
IRIX64
AIX

Misc. update:
2005-03-25 10:07:06 -05:00
Pedro Vicente Nunes
346e37b57b [svn-r10403] Purpose:
new tests
bug fix

Description:
added new tests for iterartors (on many scales, on group, on deleted scales)
fixed a bug on H5DSiterate, an ID of the referenced scale was not being closed on the cycle

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-03-24 11:31:29 -05:00
Pedro Vicente Nunes
b89828d5b9 [svn-r10386] Purpose:
new tests for is scale, detach scales and iterate scales

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-03-23 12:55:27 -05:00
Pedro Vicente Nunes
98b02fbdcb [svn-r10248] Purpose:
new tests for DS

Description:
add a test that ckecks if a scale being attached itself has scales attached (error)
add a test for the dataset being attached to is a reserved High Level class (image, palette, table)

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-03-21 16:28:13 -05:00
James Laird
097a71f0c0 [svn-r10244] Purpose:
Bug fix

Description:
Ensured that size of table was initialized (which was causing test
failures on some platforms).
Cleaned up a few more extraneous pieces of code.

Platforms tested:
modi4, mir, heping, copper
2005-03-20 13:20:56 -05:00
James Laird
bb4d9ebc55 [svn-r10237] Purpose:
Bug fix

Description:
Cleaned up an unused function, cast pointers that were causing g++
to complain on sleipnir.

Platforms tested:
sleipnir
2005-03-19 16:30:00 -05:00
James Laird
821104ae47 [svn-r10235]
Purpose:
Clean up

Description:
Removed declarations of two functions that are no longer used.
Fixed some indentations.

Platforms tested:
sleipnir
2005-03-18 14:14:09 -05:00
James Laird
349ca8daa9 [svn-r10234] Purpose:
Added Packet Table to high-level APIs

Description:
The Packet Table is an API that allows the user to append records
("packets") to a table, and read the back again.  It supports
fixed-length records with a defined datatype and variable-length
records.  It also supports a "current record" index to track the
user's position in the table.

Solution:
The Packet Table code lives in hl/src, and its tests in hl/test.
Some code is shared between the H5TB table and the H5PT Packet Table
in the form of functions in H5HL_private.c.
Some documentation exists for a previous version of the API.  Updated
documentation and C++ wrapper API coming soon.

Platforms tested:
sleipnir, eirene, copper, modi4
2005-03-18 12:19:36 -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
Quincey Koziol
afdf7fcfa6 [svn-r10144] Purpose:
Bug fix

Description:
    The GASS VFL driver header file was bringing in the <string.h> header file,
which several other source code modules needed also, but weren't including
explicitly themselves.

Solution:
    Add includes for <string.h> to files which actually need them.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++ as CC
    Configuration not tested by h5committest...
2005-03-04 12:01:02 -05:00
Quincey Koziol
6e74389773 [svn-r10143] Purpose:
Bug fix

Description:
    Add missing test file to clean target

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-03-04 11:58:40 -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
Robert E. McGrath
206aad5bb2 [svn-r10111] Purpose:
bug fix

Description:
H5DSget_scale_name, H5DSget_lablel return wrong value when truncating to 1
character array.

Solution:
fix it.

Platforms tested:
verbena,shanti,copper

Misc. update:
2005-03-01 13:09:32 -05:00
James Laird
5b4232e9d1 [svn-r10107] Purpose:
Bug fix

Description:
Fortran builds were dying with unknown flags.

Solution:
Fortran builds should be static, not shared.  Static flags had been specified
for libraries, but apparently were also needed for executables.
Solved problem by adding static flag to everything in fortran directories.

Platforms tested:
mir, eirene
2005-02-28 17:54:17 -05:00
James Laird
d7883f21bf [svn-r10098] Purpose:
Bug fix

Description:
Some machines and compilers were having trouble creating fortran libraries
as shared libraries.

Solution:
Added flag in Makefiles.am to create fortran libraries as shared libraries.
(This is how HDF5 was set up before automake changes; I forgot to add
these flags, and it didn't cause a problem until now.)

Platforms tested:
sleipnir, eirene, verbena

Misc. update:
2005-02-26 17:28:23 -05:00
Robert E. McGrath
a5b452c417 [svn-r10090] Purpose:
change

Description:
Minor changes to Dimension Scale API, to bring into alignment
with specification.

Solution:

Platforms tested:
verbena,shanti, copper64

Misc. update:
2005-02-25 16:43:03 -05:00
Robert E. McGrath
cffc51b94c [svn-r10086] Purpose:
bug

Description:
bug in test

Solution:
fix bug

Platforms tested:
arabica,shanti

Misc. update:
2005-02-25 13:48:17 -05:00
Pedro Vicente Nunes
7fb30f4faa [svn-r10068] Purpose:
news tests (test several ranks for the datasets and scales )

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-23 15:28:44 -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
Pedro Vicente Nunes
3a3d518431 [svn-r10065] Purpose:
new definition for H5DSget_label (returns the label size)
more tests

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-22 17:04:46 -05:00
Pedro Vicente Nunes
7ff30cd695 [svn-r10063] Purpose:
changed the function H5DSget_scale_name to return the size of the name buffer
added a test

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-22 12:14:13 -05:00
James Laird
643e9a38bd [svn-r10062] Purpose:
Bug fix

Description:
Discovered two small bugs.
When MAKE is defined as the empty string, a test in configure incorrectly
identifies it as pmake.  Skipped this test if $MAKE is the empty string.
Two .h5 files produced by a test in the hl directory were not cleaned.
Updated the Makefile.am.


Platforms tested:
heping, modi4 (very minor changes)
2005-02-21 16:30:49 -05:00
Pedro Vicente Nunes
f20a793969 [svn-r10059] Purpose:
new features

Description:
added a new function H5DS_is_attached, more tests

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-21 14:08:59 -05:00
Pedro Vicente Nunes
5352cb3f53 [svn-r10043] Purpose:
new features/tests

Description:
add a couple more tests for the attach/detach pair of functions together with a verify function for it (used only for test purposes)
avoided addind the same scale twice to a dimension
all seems to be working very well

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-18 14:40:12 -05:00
Pedro Vicente Nunes
b0b4bc02dd [svn-r10042] Purpose:
bug fix

Description:
a scale was deleted twice in one case

Solution:
check for the dimension , delete only for it

Platforms tested:
linux
solaris

Misc. update:
2005-02-18 10:42:55 -05:00
Pedro Vicente Nunes
0d14baf682 [svn-r10037] Purpose:
more error checking tests

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-17 16:21:14 -05:00
Pedro Vicente Nunes
1a2bdd1cf6 [svn-r10032] Purpose:
new tests

Description:
added a new test for detach_scale, some minor changes in the the detach_scale function

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-17 12:16:00 -05:00
Xiaowen Wu
e358c94649 [svn-r10027] Purpose:
New feature.

Description:
    Add the scaleoffset internal library filter.

Solution:

Platforms tested:
     heping, copper, arabica

Misc. update:
2005-02-16 22:17:48 -05:00
Xiaowen Wu
065fe7bb71 [svn-r10023] Purpose:
New feature.

Description:
    Add the scaleoffset internal library filter.

Solution:

Platforms tested:
    heping, copper, arabica

Misc. update:
2005-02-16 21:52:21 -05:00
Pedro Vicente Nunes
a68c4c7981 [svn-r10019] Purpose:
new test

Description:
added a test for the iterator function that verifies if the scales meet certain criteria (having the same size as
the dimensions sizes of the dataset and they are not empty datasets)

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-16 15:45:38 -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
Pedro Vicente Nunes
b625ca2b74 [svn-r10014] Purpose:
new test

Description:
add a test for the get number of scales function

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-16 10:34:33 -05:00
Pedro Vicente Nunes
ceb75f0efd [svn-r10012] Purpose:
new tests

Description:
added more tests to DS (check if parameters IDs are valid)

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-15 16:45:25 -05:00
Pedro Vicente Nunes
9aed26ea4a [svn-r10006] Purpose:
new features

Description:
added a 1st batch of tests for error conditions

Solution:

Platforms tested:
linux
solaris


Misc. update:
2005-02-14 16:29:59 -05:00
James Laird
b96f342722 [svn-r9993] Purpose:
Bug fix

Description:
Arabica exhibited strange errors when linker found wrong versions of
header files.  This happened because include directories were
given to linker in the wrong order.

Solution:
Move include directories from AM_CFLAGS variable to INCLUDES
variable to put them before CPPFLAGS variable.  Trust me, it works.
This bug may also have contributed to strange errors on other platforms
(kelgia?).

Platforms tested:
copper, sleipnir, arabica.
	(h5dump broke while building on arabica, but this happened in
	a clean checkout, too).
2005-02-11 16:32:22 -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
Quincey Koziol
a6ceeb8055 [svn-r9981] Purpose:
Code cleanup

Description:
    Clean up some test files.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/FORTRAN
    Too minor to require h5committest
2005-02-10 16:24:22 -05:00
Quincey Koziol
674752ab7d [svn-r9977] Purpose:
Update port

Description:
    Allow FreeBSD builds to use Intel C & F90 compilers (C++ is not working
yet on FreeBSD, so that'll come along later)

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/Intel C & F90 compilers
    Does not affect other platforms...

Misc. update:
2005-02-10 08:30:36 -05:00
James Laird
093515817b [svn-r9952] Purpose:
Bug fix

Description:
Typo in /hl/fortran/src Makefile.am caused obtuse compiler complaints from
some compilers (but not others).
Errors were of the form:
gcc: cannot specify -o with -c or -S and multiple compilations

Solution:
In AM_CLFAGS, missed -I before ../../hl/src.  This made gcc think that we
also wanted to compile /hl/src directory.  Fixed error by adding -I.

Platforms tested:
verbena, eirene.
2005-02-07 12:59:42 -05:00
Quincey Koziol
da42955371 [svn-r9941] Purpose:
Code cleanup

Description:
    Clean up some testfiles that were left behind...

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-02-04 22:04:43 -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
Robert E. McGrath
d0ced67f52 [svn-r9924] Purpose:
Bug fix (#56)

Description:
h52gif creash for data > 1 byt

Solution:
check datatype and return with error message if not 1 byte int

Platforms tested:
shanti,verbena

Misc. update:
2005-02-02 16:43:15 -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
Robert E. McGrath
42d126fa4e [svn-r9919] Purpose:
Bug 181

Description:
Attributes written incorrectly.

Solution:
Do them right, as in H5IM.c

Platforms tested:
verbena, output checked on windows.

Misc. update:
2005-02-02 15:52:26 -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
Pedro Vicente Nunes
c6f4cab48c [svn-r9913] Purpose:
DS new function

Description:
added the H5DSiterate_scales function with 2 operator functions and its tests

Solution:

Platforms tested:
linux
solaris
aix
windows

Misc. update:
2005-02-01 17:10:16 -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
Pedro Vicente Nunes
da0e046dce [svn-r9911] Purpose:
bug fix

Description:
added the test_ds to the makefile


Solution:

Platforms tested:
linux

Misc. update:
2005-02-01 15:44:39 -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
7e28ae7b47 [svn-r9904] Purpose:
Configuration update

Description:
HDF5 now uses automake

Solution:
Ditto to previous checkin
2005-01-31 22:20:11 -05:00
James Laird
1157fb4eb3 [svn-r9903] Purpose:
Configuration update

Description:
HDF5 now uses automake

Solution:
Ditto to previous checkin.
2005-01-31 22:19:33 -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
Pedro Vicente Nunes
8adc1e143c [svn-r9884] Purpose:
bug fix
I forgot to add one file to cvs


Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-01-29 01:13:35 -05:00
Pedro Vicente Nunes
f9ad232b42 [svn-r9883] Purpose:
added a first batch of dimension scales
fix some small bubgs in lite (a close function was not being called )

Description:

this batch contains the basic API functions described in the RFC and a minimal test file


Solution:

Platforms tested:
linux
solaris 64
AIX
windows


Misc. update:
2005-01-29 00:41:35 -05:00
Pedro Vicente Nunes
82e29e9369 [svn-r9882] Purpose:
bug fix
I forgot to change the name to "H5TB.h" in this file


Description:

Solution:

Platforms tested:
none

Misc. update:
2005-01-29 00:38:27 -05:00
Pedro Vicente Nunes
1df1c1ba6d [svn-r9881] Purpose:
changed the name of the hl table files back to H5TB.c and H5TB.h

this can be done now because the H5TB.c (threaded binary trees) file was removed from the hdf5 library


Description:

Solution:

Platforms tested:
linux


Misc. update:
2005-01-28 13:55:20 -05:00
Elena Pourmal
c1df1b3ea4 [svn-r9857] Purpose: Maintenance
Description: Removed PABLO from the source

Solution:

Platforms tested: arabica with 64-bit, copper with parallel,
                  heping with GNU C and C++ and PGI fortran (but
                  I disabled hl, there is some weird problem only
                  on heping: F9XMODFLAG is not
                  propagated to the Makefile files

Misc. update:
2005-01-21 20:16:57 -05:00
Elena Pourmal
a067f22345 [svn-r9835] Purpose: Bug fix/enhancement
Description: Fortran module search directories included ../src and
             ../../fortran/src directories; this was defined in
             acsite.m4 file in order for fortran and HL fortran tests
             to compile. Those flags were included in h5fc and h5pfc scripts.

Solution: Removed those directories from acsite.m4 file and updated
          Makefile.in files.

Platforms tested: sequential on arabica and parallel on copper
                  including HL Fortran

Misc. update:
2005-01-18 20:57:44 -05:00
Quincey Koziol
3e582deaae [svn-r9778] Purpose:
Remove feature

Description:
    Retire threaded, balanced binary tree code from HDF5 use.  Requiescat in
    pace...

    Also, regenerate dependencies files.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require full h5committesting  (the code is already
    disconnected from everything except its tests)
2005-01-07 21:06:46 -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
Quincey Koziol
1205c57531 [svn-r9682] Purpose:
Bug fix

Description:
    Add @COMMENCE@ to makefile, so that all our predefined macros are included,
which makes 'make distclean' work

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-12-16 21:22:27 -05:00
Pedro Vicente Nunes
2fb49109c4 [svn-r9645] Purpose:
bug fix

Description:
the makefile was not using the $(srcdir) on some library path

Solution:

Platforms tested:

Misc. update:
2004-12-08 15:50:25 -05:00
Pedro Vicente Nunes
dd7c794469 [svn-r9644] Purpose:
add hl fortran

Description:

Solution:

Platforms tested:
linux (absfot and pgf90)
solaris (32 and 64 bit)
AIX

note : HP gives a compiling error , to be fixed in the future

Misc. update:
2004-12-08 15:31:25 -05:00
Elena Pourmal
699588cf33 [svn-r9609] Purpose: Small bug fix
Description: Build failed in hl/test directory on OSF1 at PSC

Solution: It looks like that two extra blank lines after
          CPPGLAGS definition caused the syntax error
          I deleted the lines, and compilation went through

Platforms tested: lemiuex, heping

Misc. update:
2004-11-30 20:59:42 -05:00
Quincey Koziol
9f4d8be1d1 [svn-r9591] Purpose:
Bug fix

Description:
    Add dependency on the HDF5 library as well as the high-level library for
rebuilding tests.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-11-29 12:36:10 -05:00
Pedro Vicente Nunes
a27b3f81f0 [svn-r9579] Purpose:
bug fix

Description:
one header file that was removed from the repo was not removed from the makefile.in,
causing make install to fail

Solution:
removed the file from the public header file list to be installed

Platforms tested:
linux

Misc. update:
2004-11-26 11:41:58 -05:00
Pedro Vicente Nunes
2c940aa917 [svn-r9571] Purpose:
bug fix

Description:
the string build of some test files using "srcdir" was not done properly

Solution:

Platforms tested:
linux

Misc. update:
2004-11-24 10:44:27 -05:00
Pedro Vicente Nunes
56951d947c [svn-r9562] Purpose:
bug fix

Description:
the Makefile.in of the hl tests was not including a "srcdir"  include path
the test table .c file was missing also the srcdir path


Solution:
add it

Platforms tested:

Misc. update:
2004-11-23 10:50:53 -05:00
Pedro Vicente Nunes
dee149bfc4 [svn-r9561] Purpose:
bug fix

Description:
the Makefile.in had an instruction on the make install part that was not suposed to be there

Solution:
removed it

Platforms tested:
linux
aix

Misc. update:
2004-11-22 16:47:21 -05:00
Pedro Vicente Nunes
293fe87eee [svn-r9558] Purpose:
insert high level library into main library


Description:
configure.in has a new entry (--enable-hl, disable-hl) it is on by default
the configure message prints info regarding if hl is enabled or not

the tree is
/hl
/hl/src
/hl/test



Solution:

Platforms tested:
linux
solaris
AIX


Misc. update:
2004-11-22 14:17:36 -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
Bill Wendling
6c41212cc4 [svn-r7123] Purpose:
Bug Fix

Description:
    The SUBDIRS macro is now defined as "" in the config/commence.in
    file. We shouldn't have definitions of this macro before the
    inclusion of config/commence.in.

Solution:
    Placed all definitions of SUBDIRS after config/commence.in inclusion.

Platforms tested:
    Modi4 (Small fix yet again).

Misc. update:
2003-06-30 11:26:46 -05:00
Bill Wendling
a003adc409 [svn-r6540] Purpose:
Update

Description:
    Updated copyright statement

Platforms tested:
    Linux (Only change in comments...checked if compiles)

Misc. update:
2003-03-31 13:04:52 -05:00
Robert E. McGrath
da647e3537 [svn-r6031] Purpose:
Fixes bug #836.
	Also fixes the 'usage' message.
Description:
Solution:
Platforms tested:
Misc. update:
2002-10-24 09:48:19 -05:00
Quincey Koziol
aefc39ac32 [svn-r5667] Purpose:
Code cleanup

Description:
    Turn on more warnings in the IRIX builds and clean them up.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 07:54:53 -05:00
Pedro Vicente Nunes
49a7f1d032 [svn-r5305]
Purpose:
    user reported a bug on h5 to gif tool
Description:
    h5 to gif did not read an HDF5 image correctly
Solution:
    updated the program so that it reads the updated HDF5 image format to the latest specification
    the debug version of MSVC was giving a failure on the write of the GIF file,
    regarding the GIF file pointer
    this write error is eliminated declaring that pointer a global variable
    there is still an applicattion error on the exit of the program, only on the debug version of MSVC



Platforms tested:
    w2000
2002-05-01 09:37:14 -05:00
Quincey Koziol
b8dbd390db [svn-r4978] Purpose:
Code cleanup
Description:
    Cleanup compiler warnings found by the SGI compiler and gcc 3.0
Platforms tested:
    FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
2002-02-16 21:51:21 -05:00
Quincey Koziol
d456c2bb82 [svn-r4643] Purpose:
Code cleanup
Description:
    Windows is generating hundreds of warnings from some of the practices in
    the library.  Mostly, they are because size_t is 32-bit and hsize_t is
    64-bit on Windows and we were carelessly casting the larger values down to
    the smaller ones without checking for overflow.

    Also, some other small code cleanups,etc.

Solution:
    Re-worked some algorithms to eliminate the casts and also added more
    overflow checking for assignments and function parameters which needed
    casts.

    Kent did most of the work, I just went over his changes and fit them into
    the the library code a bit better.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-27 11:29:13 -05:00
Quincey Koziol
965e3bc3e2 [svn-r4591] Purpose:
Code cleanup
Description:
    Fix a bunch of warnings
Platforms tested:
    Linux 2.2 (eirene)
2001-11-03 22:23:30 -05:00
Quincey Koziol
ed663577a5 [svn-r4473] Purpose:
Code cleanup for better compatibility with C++ compilers
Description:
    C++ compilers are choking on our C code, for various reasons:
        we used our UNUSED macro incorrectly when referring to pointer types
        we used various C++ keywords as variables, etc.
        we incremented enum's with the ++ operator.
Solution:
    Changed variables, etc.to avoid C++ keywords (new, class, typename, typeid,
        template)

    Fixed usage of UNUSED macro from this:
        char UNUSED *c
    to this:
        char * UNUSED c

    Switched the enums from x++ to x=x+1
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-25 12:46:32 -05:00
Quincey Koziol
80c02cc6f1 [svn-r4327] Purpose:
More code cleanups
Description:
    Wrap up the code cleanups for changing the dataset transfer property lists
    over to using the generic property list code.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-08-10 21:47:13 -05:00
Quincey Koziol
d24ae52673 [svn-r4326] Purpose:
Code cleanups, mostly..
Description:
    Work on pacifying the SGI compiler to get the generic properties working
    correctly with --enable-parallel and --enable-fortran.  It's not quite
    fixed yet, but I need to head home and these patches help... :-/
Platforms tested:
    IRIX64 6.5 (modi4)
2001-08-10 17:30:01 -05:00
Bill Wendling
e685336ab1 [svn-r4254]
Purpose:
    Reformatting
Description:
    Reformatted the code so that it's much clearer and conforms to the
    HDF5 coding standards. Changed the function headers to use the ANSI
    style instead of the KnR style. Kept the use of typedef's such as
    "unsigned char" being "BYTE" and so on since of of this code is
    copied from some other place and that's the style they use...I didn't
    want to break things.
Platforms tested:
    It compiles fine on Linux, but there aren't any tests for this
    package, so...
2001-07-24 12:51:22 -05:00
Elena Pourmal
a46f951ea0 [svn-r4171]
Purpose:
    Bug fix (by Bob McGrath)
Description:
    On Solaris platforms palette was not written to the HDF5 file
Solution:
    '\0' character was written outside the GroupName array. Apparently                                           on Solaris it destroyed the condition value that determined if the palette                                   should be written to the file.
Platforms tested:
    Not tested yet.
2001-07-10 13:05:11 -05:00
Elena Pourmal
d9d71b06e4 [svn-r4107]
Purpose:
    Bug fix
Description:
    One of the function calls (H5Sget_simple_extent_dims) used parameter with
    the wrong type. That caused compilation errors on T3E.
Solution:
    Used NULL since that argument is optional and was never used.
Platforms tested:
    T3E(mcurie) and IRIX64 (modi4)
2001-07-04 12:32:48 -05:00
Quincey Koziol
d41b9fffdf [svn-r4012] Purpose:
Clean up compiler warnings.
Description:
    Just code neatening mostly, some casts, etc.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-18 15:22:10 -05:00
Elena Pourmal
7cb85190c8 [svn-r3921]
Purpose:
    Fooling around
Description:
    Added deleted gif.h file
2001-05-12 14:00:43 -05:00
Elena Pourmal
88b6fcfa5d [svn-r3920]
Purpose:
    Bug fix
Description:
    Rushabh added new directory tools/gifconv to CVS. He also modified
    MANIFEST, but  bin/chkmanifest complains this file.
Solution:
    I will try to delete gif.h and then to add it once more.
2001-05-12 13:59:29 -05:00
Rushabh Doshi
2eb5516b09 [svn-r3919]
Purpose:
    Adding new feature
Description:
    Added gif2h5 and h52gif conversion utilities
Solution:
    The utilites follow the framework built for the gif2hdf and hdf2gif
    utilities for hdf4. The main files modified were those that read the
    H5 file and those that write H5 file. In the future, if you wish to
    continue with the framework and extend it to .png or some other fileformat
    the main files to edit will be the gif reader and writer.
    One point to note with h52gif. You have to specify the exact location of
    the image and the palette that it links to. You can choose not to specify
    a palette (uniform grayscale chosen in this case) but you must specify
    image location. In the future, someone could edit the readhdf.c source
    to enable the reader to parse the hdf file and select all images with
    corresponding palettes.
Platforms tested:
    modi4 , eirene , hawkwind , arabica , Ren (NT 4.0) , Personal box (win2k)
2001-05-12 12:55:47 -05:00