Commit Graph

258 Commits

Author SHA1 Message Date
James Laird
911e79b273 [svn-r12887] A fix for linking issues.
Should disable linking against shared libraries in Fortran for compilers that
don't support shared libraries.

Should also fix problem when the wrong Fortran file extension was specified.

If these changes don't solve the Daily Test issues, I'll look at backing out
the autotool version change until I have time to fix them.

Tested on heping, kagiso, juniper.
2006-11-10 14:56:04 -05:00
James Laird
a9350e86f0 [svn-r12882] Changed bin/reconfigure to work on kagiso as well as on AFS Linux machines.
Updated to the latest versions of autotools.

Tested on kagiso, heping, and juniper.  Let me know if you have any problems.
2006-11-08 13:39:15 -05:00
Elena Pourmal
30aad1fd3e [svn-r12863] Description:
Daily tests reported failures in HL when Absoft compiler was used. 
	The failure was due to a typo in the H5LTf90proto.h file; fixed

Platfroms tested:
	heping with gcc and Absoft f95
2006-11-04 13:21:31 -05:00
Elena Pourmal
63eb47adeb [svn-r12857] Description:
Updated code to eliminate compilation warnings and to add support for the latest g95.

Platforms tested:
	g95 on kagiso, heping, and mir
        the first lite (making and reading 1-d datasets) test fails on mir
2006-11-03 18:02:36 -05:00
James Laird
16f8ef7ef0 [svn-r12839] Cleaned up a resource leak when Packet Tables are opened.
Tested on juniper (will test on kagiso after check-in to make sure
that nothing's broken).
2006-11-01 13:42:32 -05:00
James Laird
14c697f7e4 [svn-r12792] Fixed a Makefile.am to clean up a test file generated by the Packet Table
compression test.

Tested that the file is removed on juniper and heping.

Running reconfigure also regenerated the H5E* files (I think this means
somebody updated these files but didn't run reconfigure).
2006-10-20 13:10:53 -05:00
James Laird
4c8e9ca848 [svn-r12787] Fix some references to Variable-length packet table functions.
For some reason, only Visual Studio DLLs complained about these.

Current code compiles for me under Visual Studio and generates no related
warnings on juniper.
2006-10-19 15:10:19 -05:00
James Laird
d4daafbc85 [svn-r12775] Fixed HL C++ errors from removing VL packet table. Silly me for
omitting the C++ test in the first place!

Tested on heping (with --enable-cxx!).
2006-10-18 12:56:33 -05:00
James Laird
ce30ee9b28 [svn-r12773] Removed Variable-length packet tables from the HL libraries.
This is a quick change to make sure nothing breaks; VL functions in
the header files have been #ifdef'd out.

Tested on mir.
2006-10-17 16:19:11 -05:00
Pedro Vicente Nunes
c00121ce00 [svn-r12764]
put the H5LTcreate_compound_type function inside the 
#ifdef NOT_YET
macro

meaning that the function is not used by us
2006-10-16 16:20:05 -05:00
Pedro Vicente Nunes
3300d035b0 [svn-r12763]
removed the function H5LTcreate_compound_type from the source directory.
this function was not being used. when it was written, it was meant to be an auxiliary function to be used on the table api, but it never had an usage

commented the H5LTrepack function with the 
#ifdef NOT_YET
macro

it is also not being used
2006-10-16 12:51:21 -05:00
James Laird
17a40b2b72 [svn-r12753] Added 1.6 compatibility support for packet table test.
Tested on mir.
2006-10-12 13:23:39 -05:00
James Laird
c0712895d2 [svn-r12746] Changed Packet Table compression to what is hopefully a more portable test
(apparently, there are some systems for which compression makes things bigger
:/ ).

Tested on heping.
2006-10-11 16:25:50 -05:00
James Laird
de383a7edf [svn-r12741] Added support for direct I/O to check-vfd. The direct VFD is only tested
if it is enabled.

Added Direct VFD status to the configure summary.

Removed a line left over from pablo support.  Oops!
2006-10-10 15:47:24 -05:00
Quincey Koziol
20720af231 [svn-r12735] Description:
Clean up some compiler warnings and resolve some inconsistenceis between
hsize_t and size_t in the interface.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-1.6-compat
2006-10-08 23:14:29 -05:00
Quincey Koziol
25d1056dbf [svn-r12734] Description:
Clean up some compiler warnings.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-1.6-compat
2006-10-08 22:51:03 -05:00
James Laird
e5f0444b3a [svn-r12715] Incorporated a user-submitted patch to better detect the 'tr' utility
and quote its arguments.  Also checks for the 'socket' library on
Solaris.

If this patch passes the Daily Tests and makes the user happy, I'll
port it back to the 1.6 branch.

Tested on mir and sol.
2006-10-03 17:41:34 -05:00
James Laird
6aeb73dd44 [svn-r12686] Added compression to Packet Tables. Now both C and C++ packet tables
have an extra parameter that sets the deflate filter.

Added tests, made examples use the new APIs.

Cleaned up include files a little and removed some casts that I hope are
superfluous.  If anybody encounters strange errors in the packet table
tests where the chunk size is set to some extremely large value, please
let me know, but I was unable to reproduce this error on any system.

Tested on mir, heping, sol, juniper, VS 6.0.  Looked for the chunk size
error on several other systems a month or two ago.
2006-09-26 13:25:03 -05:00
Quincey Koziol
24725d64aa [svn-r12668] Description:
Re-run 'bin/reconfigure' script after recent checkins

Tested on:
    none - shouldn't have any affect on compilation
2006-09-15 15:06:01 -05:00
Frank Baker
749a0b9c17 [svn-r12640]
Description:
    Add per-directory abbreviated copyright notices 
    (abbreviated COPYING files pointing to full notices).
Tested:
    MANIFEST verified; not otherwise tested.
2006-09-04 13:30:13 -05:00
James Laird
9d4229713e [svn-r12608] Checked in External Link C examples.
Since these examples need to follow filesystem paths, the Makefiles need
to create directories in the examples directory; added this to the
Makefile.am.

Tested on Windows, mir, juniper
2006-08-22 11:22:43 -05:00
James Laird
e5bc52d890 [svn-r12584] Mentioned VFD in test output to make it easier to tell which VFD is being used
when a test is run.

Running reconfigure also regenerated error header files (because someone edited
them manually?).
2006-08-17 09:18:03 -05:00
James Laird
0f61afce1c [svn-r12576] Added funtions to query the "current position" for Packet Tables in C and C++. 2006-08-14 11:18:28 -05:00
James Laird
beb04ae817 [svn-r12519] Fixed "make check-vfd"
"make check-vfd" will now run all tests in the test directory with different
file drivers (at least, all of those tests that use the testing framework's
FAPL).  Tests that fail will be skipped.

This is not a perfect fix, but is better than nothing.

Along with this change, check-vfd should be added to the Daily Tests.
2006-07-31 14:46:16 -05:00
James Laird
801ca2f9cb [svn-r12452] Purpose:
Feature

Description:
Revised Link APIs.

Solution:
New link APIs use H5L*
H5*create_expand do not create links to the objects created; this must
be done manually with H5Llink.
Added APIs to link an object given its ID (H5Llink), to copy links (H5Lcopy),
and changed creation APIs (H5Lcreate_hard and H5Lcreate_soft) and query
API (H5Lget_linkinfo instead of H5Gget_objinfo).
All old APIs are still supported in H5Gdeprec.c .

Platforms tested:
sol, mir, copper

Misc. update:
Forgot to update MANIFEST and release docs.  Will do after checkin.
2006-07-05 14:01:50 -05:00
Pedro Vicente Nunes
b2acb3e736 [svn-r12441] Purpose:
code cleanup

Description:
changed the name of some variables to match the online documentation

Solution:

Platforms tested:
linux

Misc. update:
2006-06-27 16:31:09 -05:00
Quincey Koziol
7be3afb278 [svn-r12440] Purpose:
Code cleanup

Description:
    Trim trailing whitespace in Makefile.am and C/C++ source files to make
diffing changes easier.

Platforms tested:
    None necessary, whitespace only change
2006-06-27 09:45:06 -05:00
James Laird
64b5d95251 [svn-r12431] Purpose:
Configuration feature

Description:
'make install' now tests both static and shared libraries if both are installed.

Solution:
Previously, shared libraries were only tested when static libraries were not installed.
Also cleaned up line in commence.am that was including HL library in all Makefiles.

Platforms tested:
mir (Makefile change only)
2006-06-21 18:15:08 -05:00
James Laird
b634cbbcc4 [svn-r12428] Purpose:
Bug fix

Description:
Added hl fortran example to Makefile


Platforms tested:
mir only
2006-06-20 17:34:45 -05:00
Pedro Vicente Nunes
66ffd7157e [svn-r12426] Purpose:
added an example for HL fortran

Description:

Solution:

Platforms tested:

Misc. update:
2006-06-20 16:45:21 -05:00
James Laird
a31e264f89 [svn-r12411] Purpose:
Bug fix - bugzilla #552

Description:
On Cray X1, trying to use : as an argument confused the system.

Solution:
Added a test in configure to see if : as an argument is bad.
If so, skipped the test.

Platforms tested:
mir, Cray X1 (change to configure only)
2006-06-13 16:21:14 -05:00
Raymond Lu
a4c993cf24 [svn-r12387] Purpose: Bug fix.
Description: Windows doesn't recognize "long long" but "long_long".

Solution:  The library defined a more general type "long_long".  Use
it instead.

Platforms tested: fuss - simple change.
2006-05-31 15:59:48 -05:00
Raymond Lu
5f4234fabf [svn-r12373] Purpose: Add debug information.
Description: dtype_file.txt is a text file for testing complicated compound type
for H5LTtext_to_dtype().  dtype_file_readable.txt is just a human-readable version
of dtype_file.txt for debugging purpose.


Platforms tested: No test.
2006-05-23 17:02:29 -05:00
Raymond Lu
804b85f80e [svn-r12371] Purpose: Recommit
Description: Copyright was missing from last commit.
2006-05-23 15:56:33 -05:00
Raymond Lu
ab9ac4264e [svn-r12370] Purpose: Bug fix.
Description:  The current code in Yacc parser doesn't handle big-endian
machine for enum type correctly.

Solution:  Depending on the super type of enum, use appropriate integer
type to pass in enum value.

Platforms tested:  h5committest and fuss.
2006-05-23 15:51:37 -05:00
Albert Cheng
56c0a0f993 [svn-r12358] Purpose:
Bug fix.

Description:
The ${TR}, though avoid the error, is inconvenient.  It is needed
because configure.in use the char range in the style of 'a-z'.
The other style of '[a-z]' is more commonly accepted by all tr
but autoconf tends to strip away [], making the syntax rather
clumsy.

Solution:
Learned from autoconf that it avoids the use of character range
by just spell all the letters out.  Changed our tr commands to
use those variables defined by autoconf.  Also removed the
definition of ${TR} since it will cause inconsistancy when
autoconf also use plain 'tr' in its generated code.

The Makefile.in are changed because the elimination of ${TR} from
configure triggered its removal from all Makefil.in.  That is okay
because ${TR} is not used at all in Makefile.

Platforms tested:
h5committested. (sol failed to connected). also tested in shanti
using both /usr/ucb/tr and /bin/tr (the bad one before.)

Misc. update:
Updated both INSTALL and RELEASE files.
2006-05-19 07:22:07 -05:00
Pedro Vicente Nunes
f24a3a9a02 [svn-r12353] Purpose:
new function

Description:
added H5LTfind_attribute as a public function, a wrapper for the already existing private function
H5LT_find_attribute

Solution:

Platforms tested:
linux
solaris

Misc. update:
2006-05-17 14:55:12 -05:00
Raymond Lu
0f98d2009b [svn-r12351] Purpose: Follow-up what's committed yesterday.
Description: Yesterday, a definition of the macro YY_BUF_SIZE of 256KB
was committed in, but copper complained it can't be redefined.

Solution: Added #ifdef and #undef to make sure the macro is undefined
first.  Also integrated a complicated compound type test.  It reads
input from a text file.  The datatype is unusually large, of 101 member
fields.

Platforms tested: h5committest and fuss.
2006-05-17 13:09:12 -05:00
Raymond Lu
b562825fc5 [svn-r12350] Purpose: Increase capacity
Description: The default size for input buffer of Lex is only 8K.  Some
application has input string far bigger than it.

Solution:  Increase the size by defining YY_BUFFER_SIZE to be 256K (262144)
in H5LTanalyze.l

Platforms tested: fuss - simple change.
2006-05-16 14:15:58 -05:00
Quincey Koziol
1032b7c9d6 [svn-r12315] Purpose:
Code cleanup, etc.

Description:
    Fix some inconsistent coding in the packet table examples

    Correct header file issues in C++ packet table wrapper

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & FORTRAN
2006-04-29 12:10:29 -05:00
Quincey Koziol
cc5b2ff93b [svn-r12314] Purpose:
Code cleanup

Description:
    Big clean up on high-level library code, including:
        - Removing include of HDF5 private header file(!)
        - Reduce number of compiler warnings
        - Untangle header files, etc.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & FORTRAN
2006-04-29 01:20:50 -05:00
James Laird
91e56dc68d [svn-r12295] Purpose:
Several bug fixes

Description:
Added config file for Cray X1 (previous file was misnamed)
Simplified some code in hyperslab.c test that seemed to have been
confusing compiler on Cray X1.
Fixed typo in config/commence.am
Cleaned up hl/src/Makefile.am

Solution:
All four fixes should be straightforward.  The failure on Cray was
very difficult to debug, but involved arithmetic errors.
This change seems to fix it.

Platforms tested:
heping, copper, sol, some Cray X1 (more testing when system comes back up)
2006-04-21 14:21:24 -05:00
Albert Cheng
57a2e33c57 [svn-r12285] Purpose:
bug fixes.

Description:
Added #include "hdf5_hl.h" to each example programs.

Platforms tested:
Heping.
2006-04-19 23:49:06 -05:00
Albert Cheng
fdbf3b5a4b [svn-r12284] Purpose:
Bug fix.

Description:
H5PTpublic.h was not included in hdf5_hl.h.
Added hdf5_hl.h to the installed header files list.

Platforms tested:
Heping.
2006-04-19 23:47:17 -05:00
Albert Cheng
222e6bd56a [svn-r12283] Purpose:
Rearragement.

Description:
Created general HL library header file and moved HL public headers to it.

Platforms tested:
h5committested.
2006-04-19 22:19:24 -05:00
Albert Cheng
a7479db691 [svn-r12282] Purpose:
bug fix.

Description:
H5LTparse.h should not be installed.  Removed it from the install header
files list.

Platforms tested:
h5committested.
2006-04-19 22:16:38 -05:00
James Laird
220fdf4113 [svn-r12279] Purpose:
Bug fix

Description:
When variables were declared in for loops C++ compiler on Cray X1 scoped
them oddly, leading to compilation errors.

Solution:
Moved variable declarations out of for loops (where they probably shouldn't
have been anyway) to the beginning of the function.

Platforms tested:
mir, Cray X1 (minor change)
2006-04-19 12:14:48 -05:00
Quincey Koziol
2521c4084c [svn-r12254] Purpose:
Anti-feature

Description:
    Revert changes to H5G_stat_t struct, to make it compatible with the 1.6.x
branch again.  The information that was added to the H5G_stat_t struct will
be reported through other API routines.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & Fortran
    Solaris 2.9 (shanti)
2006-04-14 17:21:54 -05:00
Pedro Vicente Nunes
2aab155338 [svn-r12235] Purpose:
bug fixes

Description:
some function calls had integer constants in the argument list;
these caused size mismatches on some platforms (hsize_t expected)

Solution:
declared hsize_t variables or  added casts

Platforms tested:
linux (heping)
solaris

Misc. update:
2006-04-12 22:15:05 -05:00
Pedro Vicente Nunes
ea0c09cf0f [svn-r12234] Purpose:
removed some white space and add formatting

Description:

Solution:

Platforms tested:
linux

Misc. update:
2006-04-12 21:42:04 -05:00