Commit Graph

203 Commits

Author SHA1 Message Date
Quincey Koziol
6b6af9d5fc [svn-r12076] Purpose:
Bug fix

Description:
    Add the hl/fortran/examples & hl/tools directories to the list of
directories targeted by mostlyclean/clean/distclean.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-11 08:21:13 -05:00
Pedro Vicente Nunes
9e8c16d83c [svn-r12011] Purpose:
update of makefiles for HL examples

Description:

Solution:

Platforms tested:
linux

Misc. update:
2006-03-06 12:05:31 -05:00
Pedro Vicente Nunes
a83d815631 [svn-r12009] Purpose:
add examples

Description:
add examples for HL (image, table and dimension scales)

Solution:

Platforms tested:
linux

Misc. update:
2006-03-06 11:11:11 -05:00
James Laird
e88e34e5d8 [svn-r12002] Purpose:
Moving gif2h5 from tools/ to hl/tools

Description:
Missed cvs adding hl/tools/Makefiles
2006-03-03 16:52:34 -05:00
James Laird
ea9f792cd7 [svn-r12001] Purpose:
Moved gif2h5 tool to hl directory

Description:
Added a tools directory under the hl directory and moved the gif2h5 tool
to that directory.

Solution:
The gif2h5 tool was originally built in the tools directory, but this
introduced dependency issues that required special checks in the
Makefiles.am and required the top-level build order to be changed
because it depended on the HL library.
For simplicity in the Makefiles now and in the future, the gif2h5 tool
was moved to be underneath the hl library.

Platforms tested:
mir, copper, modi4, shanti
2006-03-03 16:49:10 -05:00
Pedro Vicente Nunes
2d175aeb4f [svn-r11995] Purpose:
code improvement

Description:
add explaining  comments to the functions

Solution:

Platforms tested:
none

Misc. update:
2006-03-01 11:26:28 -05:00
James Laird
b399040acb [svn-r11994] Purpose:
Adding HL examples

Description:
Forgot to 'cvs add' example files.
2006-03-01 10:05:37 -05:00
James Laird
3f2f490a0f [svn-r11993] Purpose:
Added HL examples

Description:
Examples existed for the HL lite, image, and table interfaces, but
were never included in the distro... until now!

Solution:
Added source files to CVS, updated Makefile and MANIFEST.

Platforms tested:
mir, heping, shanti
2006-03-01 10:04:59 -05:00
Pedro Vicente Nunes
6c5ed9f8b8 [svn-r11970] Purpose:
new feature

Description
H5LTget_dataset_info did not allow for passing NULL in the arguments when that argument was not requested.:

Solution:
add conditions that allow to pass NULL in the return arguments, when one of them is not needed

Platforms tested:
linux

Misc. update:
2006-02-28 11:25:14 -05:00
James Laird
52f2c4da50 [svn-r11958] Purpose:
Change to release script

Description:
Silenced doxygen's output when bin/release doc is run.  Now if doxygen
has an error the release script will exit.

Someone forgot to run reconfigure after a Makefile.am, so testing the
release script seems to have had the side effect of regenerating a
Makefile.in.

Platforms tested:
mir
2006-02-20 11:39:04 -05:00
Pedro Vicente Nunes
ed9449e009 [svn-r11932] Purpose:
bug fix

Description:
the --disable-hl switch was causing linking errors on gif2h5 that uses image api (bugzilla #1)

Solution:
used the condional macro for hl to build gif2h5

Platforms tested:
linux

Misc. update:
2006-02-10 11:29:34 -05:00
Pedro Vicente Nunes
f6dd21fb11 [svn-r11931] Purpose:
bug fix

Description:
the linking order in Makefile.am of the gif2h5 tool was causing linking errors on some configurations (pgcc, --disable-shared)

Solution:
changed the order of the linking (hl before hdf5)

Platforms tested:
linux, several configurations
solaris

Misc. update:
2006-02-09 16:06:14 -05:00
Pedro Vicente Nunes
7ffbea9c24 [svn-r11919] Purpose:
some code cleaning

Description:

Solution:

Platforms tested:
none

Misc. update:
2006-02-06 11:33:47 -05:00
Pedro Vicente Nunes
35c1f3682e [svn-r11918] Purpose:
bug fix , bugzilla bug #1

Description:
the gif2h5 was not writing HDF5 images correctly

Solution:
use the Image API to write the image, rewrote the writing functionY

Platforms tested:
linux
solaris

Misc. update:
2006-02-06 11:11:48 -05:00
Quincey Koziol
56e3f667d6 [svn-r11886] Purpose:
Code cleanup

Description:
    Check in some of the code cleanups from working on the external link
support.  (This doesn't include any of the external link features)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX.4 (amazon)
    Linux 2.4
2006-01-23 15:46:34 -05:00
Raymond Lu
da37fca10b [svn-r11882] Purpose: Revision
Description: Revise a few details of H5LTtext_to_dtype() and H5LTdtype_to_text(),
1. changed the DDL definition of string, opaque, and compound types.
2. added a new parameter of H5LT_lang_t type to these two functions.


Platforms tested: h5committest and fuss.
2006-01-16 12:27:07 -05:00
James Laird
ef292e862b [svn-r11873] Purpose:
Copyright fix

Description:
The packet table examples were breaking the copyright checking script.
Fixed them.
Also caught a one-line copyright problem in another file.

Platforms tested:
Only changed comments.
2006-01-09 10:41:38 -05:00
Raymond Lu
617d2704c4 [svn-r11832] Purpose: Rename files and change grammar rule.
Description: Renamed lex.yy.c to H5LTanalyze.c, y.tab.c to H5LTparse.c, and
y.tab.h to H5LTparse.h in hl/src.  Changed definition of opaque type to ommit the tag.
Changed the test for opaque type in hl/test, too.


Platforms tested: h5committest, fuss, and sleipnir.

Misc. update: MANIFEST
2005-12-22 17:27:17 -05:00
Raymond Lu
df509d202f [svn-r11831] Purpose: Bug fix and warning fix.
Description: The g++ compiler on sleipnir doesn't like variable name
"class".  There're also some other warnings.

Solution: Changed "class" to another name and fixed the warnings.

Platforms tested: sleipnir - simple changes.
2005-12-22 11:35:43 -05:00
Raymond Lu
29ed3345e1 [svn-r11830] Purpose: A new function and its test.
Description: This is the second step of conversion between data type and
text, H5LTdtype_to_text().

Solution: Similar to h5dump, this function print the DDL description of
a data type into a string.

Platforms tested: h5committest and fuss.
2005-12-21 16:25:38 -05:00
James Laird
51fdb1ebcf [svn-r11799]
Purpose:
Bug fix

Description:
Libraries were listed in the wrong order in tools/gifconv Makefile.am, confusing
the linker.

Solution:
Put HDF5 library after tools library in Makefile.am and ran reconfigure.

Platforms tested:
mir, sleipnir
2005-12-16 10:58:37 -05:00
Pedro Vicente Nunes
3f1ee5ee1d [svn-r11796] Purpose:
h52gif bug fix (494)

Description:

 the reading routines were using file datatype sizes for memory allocation

 Changed the HDF5 read routines to use memory types and sizes,
 for both the image and pallete datasets


Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-12-15 15:07:11 -05:00
James Laird
b1fd3f5657 [svn-r11780] Purpose:
Added high-level example directories

Description:
Refactored common code out of examples Makefiles.am, added high-level
example directories, added packet table examples.

Solution:
Examples now draw from a common config/examples.am file, which
contains rules for installing, uninstalling, and cleaning examples.
High-level example directories are mostly empty, except for the
C and C++ packet table tests.

Platforms tested:
mir, sleipnir, copper, shanti
2005-12-09 15:59:11 -05:00
Quincey Koziol
88c15b1617 [svn-r11771] Purpose:
Code cleanup

Description:
    Fix a bunch of warnings flagged by Windows compilers.


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-12-08 13:34:51 -05:00
James Laird
c46e4e51d9 [svn-r11751] Purpose:
Cleanup

Description:
Changed comments in C++ packet table code to refer to entries as
"packets" instead of "records."

Solution:
The APIs were changed to correspond to the C API, but the documentation
wasn't.  This is fixed.

Platforms tested:
mir, shanti, sleipnir

Misc. update:
This corresponds to documentation update earlier this week.
2005-12-01 11:18:24 -05:00
James Laird
0f870b0f47 [svn-r11741] Purpose:
Bug fix

Description:
Fortran type generation was broken in two ways.  Fixed both.

Solution:
Firstly, there were a couple of path problems.  Fixed a typo and
specified the full path of a file.
Secondly, the dependencies weren't right when building with HDF5-specific
commands (make lib, make check-s, etc.).  Tweaked dependencies
to fix the problem.

Platforms tested:
mir, modi4, sleipnir
2005-11-18 15:31:53 -05:00
Pedro Vicente Nunes
0426d8d7e1 [svn-r11740] Purpose:
code check

Description:
changed the name of a few variables that were misleading in its name

Solution:

Platforms tested:
linux

Misc. update:
2005-11-18 15:09:28 -05:00
James Laird
4f8ca8e026 [svn-r11738] Purpose:
Configure feature

Description:
Added 'make trace' target.

Solution:
Added tracing to 1.7.  This was done automatically in 1.6, but left out
of 1.7 until now (oops!).
Tracing in 1.7 only happens manually, when the user types 'make trace.'
Tracing automatically requires more framework than it's worth.
I also fixed a couple of tracing bugs and ran trace.

Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-11-18 10:55:22 -05:00
James Laird
75ea10e5f5 [svn-r11737] Purpose:
Bug fix

Description:
Before this checkin, 'gmake check-s' would fail if there was a file in
the current directory named 'check-s'.
This is fixed under gmake (not sure how to fix for other makes).

Solution:
check, progs, install, etc. are what gmake calls "phony" targets,
which means that no file should be created.  These targets can be
specified by a line of the form
.PHONY: check progs install ...
Automake adds this line for targets it knows about, but HDF5 has a
lot of custom rules.  This checkin adds a .PHONY line for those rules.
I believe that only gmake recognizes the .PHONY line (at least, pmake
doesn't seem to), but a partial solution is better than none.
This error should occur very rarely anyway (the user has to manually
create files with names like 'build-check-s' or '_test').

Platforms tested:
mir, sleipnir, modi4
2005-11-17 13:49:28 -05:00
James Laird
0efd9ceadf [svn-r11726] Purpose:
Bug fix

Description:
Fixed bug in hl/src Makefile that was deleting y.tab.c.
Running bin/reconfigure changed a few other files as well (somebody
probably updated Makefiles.am but forgot to bin/reconfigure).

Solution:
Automake in its wisdom adds the line "rm *.tab.c" to every distclean
in every directory.  I assume that it assumes that such files are
generated during the build.  Supplied an empty distclean-compile
target to remove this line from the Makefiles.in.

Platforms tested:
mir, sleipnir, shanti
2005-11-15 14:20:06 -05:00
Fang Guo
b4f75bc7ba [svn-r11722] Purpose:
Maintenance on Windows
Description:
Add macro H5_HLDLL before newly checked in function  hid_t H5LTtext_to_dtype(const char *text);
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:41:53 -05:00
Raymond Lu
2daa718b13 [svn-r11715] Purpose: Bug fix
Description:  The last checkin to add #ifdef H5_HAVE_UNISTD_H before #include<unistd.h>
didn't work because no hdf5 library header file have been included in that stage.

Solution: Changed it to #ifndef WIN32.

Platforms tested: sleipnir g++ where the complaint happened.
2005-11-15 10:08:18 -05:00
Raymond Lu
bea1e576c5 [svn-r11711] Purpose: Bug fix for Windows
Description: Windows doesn't have unistd.h file.

Solution: Put #ifdef H5_HAVE_UNISTD_H for #include<unistd.h>.

Platforms tested: fuss - simple change.
2005-11-14 17:05:22 -05:00
Pedro Vicente Nunes
b96e820618 [svn-r11708] Purpose:
documentation improve

Description:
added a more complete description for each function in the comments
that matches the online documentation

Solution:

Platforms tested:
solaris

Misc. update:
2005-11-11 14:39:40 -05:00
Raymond Lu
73d95bbae9 [svn-r11694] Purpose: Bug fix
Description: lex.yy.c for H5LTtext_to_dtype() has been failing to compile
on 64-bit SunOS.  It has malloc() call but doesn't include stdlib.h.

Solution:  Include stdlib.h in H5LTanalyze.l.

Platforms tested: shanti - simple change.
2005-11-09 15:15:03 -05:00
Raymond Lu
e5e17162c0 [svn-r11693] Purpose: Added copyright
Description: Put copyright in the new files for H5LTtext_to_dtype().


Platforms tested: fuss - simple change.
2005-11-08 16:58:31 -05:00
Raymond Lu
370d940cd0 [svn-r11689] Purpose: Bug fix
Description: The g++ on sleipnir had troubles to compile the H5LTtext_to_dtype()
code.

Solution: Fixed problems at different places.

Platforms tested: h5committest and g++ on sleipnir.
2005-11-07 17:14:02 -05:00
Raymond Lu
23e994958b [svn-r11683]
Purpose: Minor bug fix

Description: Static function test_text_dtype() has static subroutines defined after itself.  The gcc compiler on sleipnir complained.

Solution: put test_text_dtype() after subroutine's definition.

Platforms tested: sleipnir with gcc 4.0 where the complaints happened.  Simple change.
2005-11-04 16:29:23 -05:00
Raymond Lu
47b0c3b356 [svn-r11676] Purpose: New feature
Description: Adding the new function H5LTtext_to_dtype() for converting text description to data type.
The next step will be H5LTdtype_to_text().

Solution: Use Lex and Yacc to do parsing of the text.  H5LTanalyze.l is the lexer for analyzing the
input; H5LTparse.y is the parser.  They are not part of HL library, but are used to generate lex.yy.c
(from H5LTanalyze.l) as well as y.tab.c and y.tab.h (from H5LTparse.y).  The tools used to create
these source files are GNU FLEX and YACC on a Linux machine (fuss).  The commands are "lex H5LTanalyze.l"
and "yacc -d H5LTparse.y".  Detailed document will be added later.

Platforms tested: h5committest and fuss.

Misc. update: MANIFEST
2005-11-03 09:11:09 -05:00
James Laird
617522e467 [svn-r11646] Purpose:
Bug fix/feature

Description:
Added support for -shlib in h5fc and h5c++.
Made check-install use -shlib when only shared libraries have been installed.

Solution:
h5fc and h5c++ didn't recognize -shlib.  Stole code from h5cc to link against
shared libraries.
When static libraries are disabled, the examples Makefiles will automatically
use the -shlib option to link against shared libraries.  Thus,
--disable-static and make check-install should work together.

Platforms tested:
heping(disable-static, enable-static, fortran, c++), modi4 (disable-static, fortran, c++, parallel, enable-static)
2005-10-31 16:35:49 -05:00
James Laird
91cbcdf42f [svn-r11612] Purpose:
Bug fix

Description:
Failed parallel tests now cause make to exit with an error.

Solution:
Edited config/conclude.am to throw an error if parallel test programs fail.

Platforms tested:
heping, modi4
2005-10-27 17:30:46 -05:00
James Laird
69293e09df [svn-r11602] Purpose:
Bug fix

Description:
Removed detection of pdb from configure.in as a corollary to removal
of pdb2hdf5 tool.


Platforms tested:
mir, modi4
2005-10-24 14:31:06 -05:00
James Laird
87a56d9da2 [svn-r11573] Purpose:
Bug fix

Description:
Changed configure.in to use an environment variable TR to set the path
to the tr utility.

Solution:
There are two kind of tr on Solaris with slightly different syntax.
HDF5's configure relies on the "standard" tr.  Traditionally, HDF5ers
have needed to make sure that the "right" tr was found before the
wrong one in their path; now they can use an environment variable.

Platforms tested:
mir, shanti, sol

Misc. update:
Forgot to update release notes.  Off to do that now.
2005-10-17 16:38:38 -05:00
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