Commit Graph

255 Commits

Author SHA1 Message Date
Binh-Minh Ribler
7d3bfaaaa3 [svn-r8554] Purpose:
Add documentation and an overloaded function  - incrementally check-in

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

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

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

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

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

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

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

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

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

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

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

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

Description:
    Added class VarLenType to provide wrapper for:
        H5Tvlen_create

    Added wrapper for H5Tis_variable_str to DataType class

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

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

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

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

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

Description:
    Added wrapper for:
        H5Tdetect_class

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

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

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

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

    Newly added wrappers are for:
	H5Fget_freespace
	H5Fget_obj_count
	H5Fget_obj_ids
	H5Fget_vfd_handle

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

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

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

Platforms tested:
    Linux 2.4 (eirene)
    Windows 2000

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

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


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


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

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

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

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

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

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

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

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

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


Platforms tested: h5committest

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

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

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

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

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

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

Description:

Solution:

Platforms tested:
linux

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

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

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

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

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

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

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

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

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

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

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

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

Platforms tested:
"h5committested"

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

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

Solution:
    Added setting fill value to the dataset first.

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

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

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

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

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

Solution:

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

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

Description:
    Remove some redundant libtool definitions, etc.

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

Description:
    Removed superfluous comment.

Platforms tested:
    h5committested

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

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

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

Platforms tested:
    Arabica (Small changes)

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

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

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

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

Misc. update:
2003-07-28 16:38:04 -05:00
HDF Admin
bfd27ff198 [svn-r7266] Snapshot version 1.7 release 0 2003-07-27 03:24:20 -05:00
Raymond Lu
b4b2b55d33 [svn-r7264] Purpose: Error API gradual checkin
Platforms tested: h5committested
2003-07-25 21:55:17 -05:00
Binh-Minh Ribler
df4d03a81f [svn-r7213] Purpose:
Bug fix

Description:
    Elena and I suspected that the order of *.cpp files in TEST_SRC
    might have caused the failure of a C++ examples in the daily test.

Solution:
    Reordered the files from:
	compound.cpp h5group.cpp create.cpp readdata.cpp chunks.cpp    \
        extend_ds.cpp writedata.cpp
    to:
	create.cpp readdata.cpp writedata.cpp compound.cpp extend_ds.cpp \
        chunks.cpp h5group.cpp

Platforms tested:
    Tested on verbena and the examples still worked (without -tlocal.)
    I'll be testing on other platforms later tonight, I'm trying to
    catch the daily test!

Misc. update:
2003-07-11 17:46:06 -05:00
Quincey Koziol
932101bb80 [svn-r7201] Purpose:
Code cleanup

Description:
    Finish converting the B-tree 'K' values to use unsigned integers, rather
than signed ones, since negative amounts of entries in a B-tree node aren't
meaningful.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-10 14:39:04 -05:00
Quincey Koziol
4e23c80758 [svn-r7181] Purpose:
Version update

Description:
    Removed 1.4 compatibility code in the library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-07 14:02:46 -05:00
Quincey Koziol
76ae1a3f45 [svn-r7166] Purpose:
Update configuration

Description:
    Now that we've split the tree (Yea!), change the main trunk back to debug
    on and production off.

    Also, change the version # to 1.7.0
2003-07-03 16:20:33 -05:00
Albert Cheng
f1816a8c47 [svn-r7147] Purpose:
Changed enable-production as the default for release.

Platforms tested:
Only in eirene using pgcc and pgCC.
Did not use h5committest since the change is trivial
and Elena will test it at once. :-)

Misc. update:
2003-07-03 10:38:02 -05:00
Albert Cheng
0d1aef3852 [svn-r7145] Purpose:
update for release

Description:
Set the version information to 1.6.0-pre1 to get ready for
v1.6 release.

Platforms tested:
h5committested.

Misc. update:
2003-07-02 23:17:02 -05:00
Elena Pourmal
1eb32020ef [svn-r7131] Purpose: Maintenance for the fifth round of testing
Description: Bumped version number for 1.5.63 after creating a tar ball
             for the next round of testing

Solution:

Platforms tested:

Misc. update:
2003-07-01 10:21:13 -05:00
Bill Wendling
007affb6df [svn-r7121]
Purpose:
	Bug Fix

Description:
	Changes needed to make "pmake" work on Modi4.

Solution:
	Needed to add some null macro defines in the commence.in files.
	Needed to remove a dependence on LIBH5TEST in the fortran make
	since LIBH5TEST isn't used in the fortran stuff.

Platforms tested:
	Modi4 (small change)

Misc. update:
2003-06-30 10:19:44 -05:00
Elena Pourmal
0677a1432d [svn-r7118]
Purpose: Maintenance

Description: I added three new configuration files in c++/config
             directory for Cray SV1, T3E and T90IEEE

Solution:

Platforms tested: I used BlankForm in c++/config directory to create
                  new configuration files for Crays. Only test
                  on T3E is finally completed successfully. Two other
                  Crays are still running, and running, and running.
                  I am checking files in since they will not affect
                  any other platforms.

                  Binh-Minh and Bill,
                  could you please take a look since I made minimum changes
                  just to make it to work. I am not sure that everything is correct
                  even if it works.

                  Thanks!


Misc. update:
2003-06-27 20:53:49 -05:00
Binh-Minh Ribler
fa77b6691e [svn-r7104] Purpose:
Bug fix

Description:
    Missing returning error for failures occur in C++ examples.

Solution:
    Added "return -1;" when an exception is caught.
    Also, turned off automatic error printing so that the C++ API
        will catch and handle the failures.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    IRIX 6.5.11 (modi4)
2003-06-25 12:25:11 -05:00
Elena Pourmal
891fc014f7 [svn-r7099]
Purpose: Maintenance

Description: Bumped the version number to 1.5.62 after creating
             a tar ball for the fourth round of testing.

Solution: run bin/h5vers -s scipt on arabica

Platforms tested: N/A

Misc. update:
2003-06-24 15:36:29 -05:00
Bill Wendling
186565693d [svn-r7075] Purpose:
Bug Fix

Description:
    Quincey discovered that the new compiler on SOL needs the
    -features=tmplife flag. However, this flag is only available for
    version 5.3 of the compiler (and up, we're assuming).

Solution:
    Add this flag only if the version of the compiler is 5.3 or greater.

Platforms tested:
    Sol and Arabica (only affects solaris machines)

Misc. update:
2003-06-20 16:02:51 -05:00
Quincey Koziol
e0d8e90d61 [svn-r7074] Purpose:
Bump version # after another private snapshot for SAF team.
2003-06-20 10:42:36 -05:00
Quincey Koziol
7c1054856a [svn-r7061] Purpose:
Bump version # after creating private snapshot.
2003-06-18 15:59:35 -05:00
Albert Cheng
8c701c23c9 [svn-r7047] Purpose:
Improvement

Description:
If $CXX is not defined, configure will try a list of possible
C++ compiler name.  That is not always desireable.

Solution:
Change configure to combine all powerpc-ibm-aix* to one version.
Add xlC as the default $CXX value.

Platforms tested:
Tested in Copper only since the change affect AIX machine only.

Misc. update:
2003-06-18 00:02:23 -05:00
Bill Wendling
9807a15018 [svn-r7039]
Purpose:
	Bug Fix

Description:
	There was another GNU-make-ism in the C++ examples Makefile.in
	that I didn't clean up.

Solution:
	Changed the "$<" to the name of the file to compile.

Platforms tested:
	Copper (Small fix...problem was on Copper).

Misc. update:
2003-06-13 15:40:40 -05:00
Bill Wendling
2f67716abc [svn-r7025] Purpose:
Bug Fix

Description:
    On Kelgia, the h5c++ script file needs to be explicitly chmod'ed to
    executable.

Solution:
    Placed this at the end of the configure script (just like in the
    other configure scripts).

Platforms tested:
    Kelgia (Very small fix...only needed to test it on one platform).

Misc. update:
2003-06-11 15:46:26 -05:00