Commit Graph

746 Commits

Author SHA1 Message Date
Allen Byrne
7399587148 [svn-r24243] Update list of generated files for clear-objects 2013-10-01 13:25:13 -05:00
Binh-Minh Ribler
d5e8cfbe74 [svn-r24236] Description:
- Appended h5tutr_ to names of data files to avoid name clashing with
      existing examples.
    - Added example dependencies to Makefile.*
    (pointed out by Allen)
Platforms tested:
    SunOS 5.11 (emu) with gmake
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-30 21:58:27 -05:00
Binh-Minh Ribler
cf8469d949 [svn-r24233] Description:
Replaced an uint with unsigned to please Windows.
Platforms tested:
    Linux/32 2.6 (jam) - very minor
2013-09-30 17:15:38 -05:00
Binh-Minh Ribler
bb084334b8 [svn-r24232] Description:
- Merged Allen's CMake updates for the C++ tutorial examples from the trunk
    - Updated RELEASE.txt
2013-09-30 17:00:59 -05:00
Binh-Minh Ribler
467050b23d [svn-r24229] Purpose: Fix bug HDFFV-7520
Description:
    Added wrappers for H5Aexists.
    (merged from trunk)
Platforms Tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    Linux/ppc64 (ostrich)
2013-09-30 14:44:52 -05:00
Binh-Minh Ribler
a94097d5dc [svn-r24223] Description:
Added
	${HDF5_CPP_SRC_SOURCE_DIR}/H5Location.cpp
	${HDF5_CPP_SRC_SOURCE_DIR}/H5Location.h
2013-09-30 09:46:57 -05:00
Binh-Minh Ribler
5478de7645 [svn-r24216] Purpose: Merged changes from trunk
Description from trunk, r22836
    In this bug, H5File doesn't have the ability to create attribute.  The
    following changes will provide that functionality and several others that
    were also missing:
    - Added an abstract class H5Location in between IdComponent and H5Object.
    - New class structure of IdComponent, H5Location, H5Object, H5File
                                IdComponent
                                     |
                                H5Location
                                /        \
                        H5Object        H5File
    - Wrappers in H5Object were moved to H5Location because the related C
      functions take either file, group, dataset, or named datatype ID.
    - Added wrapper for H5Rget_obj_type2
    - Added tests for file attributes and H5Rget_obj_type2 wrapper

Description from trunk, r22845
    Fixed miscellaneous inconsistencies and typos, which also took
    care of the failure in Packet Table test on daily test today.

Description from trunk, r24143
    Fixed comments, documentation, and mis-matched DOXYGEN_SHOULD_SKIP_THIS pairs.

Description from trunk, r24188
    - The failure in daily test was caused by missing initialization of member
    "id" in a few constructors.  This is now fixed.
    - Added two overloaded H5Location::setComment
    - Improved some error reporting in H5Location
    - Improved error reporting in tests

Description from trunk, r24189
    Changed header guards from single underscore to double underscore.

Platforms tested:
    SunOS 5.11 (emu)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-28 23:34:31 -05:00
Binh-Minh Ribler
72fcefd24f [svn-r24212] Purpose: Added tutorial examples
Description:
    Merged changes from the trunk.
    + Revisions 24174:
        - Added tutorial examples that Barbara made following the C tutorial examples.
          They will be configured for daily test.
    + Revision 24195
        - Improved format/comments in tutorial examples
        - Added them to Makefile.* and run-c++-ex.sh.in
Platforms tested:
    SunOS 5.11 (emu)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
    Tested the examples by running the script run-c++-ex.sh
2013-09-27 21:36:32 -05:00
Larry Knox
497234f8e3 [svn-r24201] Merged changes from trunk revisions 23431, 23527 and 24077.
Switched default to link to shared lib files when HDF5 is configure with --disable-static.
This addressed HDFFV-8141, h5cc failed because it defaulted to link to lib*.a files which
aren't built with --disable-static.
-help message also updated.

Tested in trunk.
Merged code tested with h5committest.
2013-09-25 17:04:18 -05:00
Allen Byrne
8194f34ef7 [svn-r24072] Merge trunk cmake changes to 1.8 branch.
Also add default switch blocks to h5import.
Merge h5dump any_path option from trunk.

Tested: local linux
2013-08-26 10:35:15 -05:00
Raymond Lu
aa8d6d403c [svn-r23993] I used the macro H5_HAVE_FILE_VERSIONS to skip three test cases for file creation on OpenVMS.
OpenVMS creates another version of the file when a file is created for the second time, making
the test cases invalide.

Tested on OpenVMS and jam - simple change.
2013-08-12 15:11:51 -05:00
Allen Byrne
1aa65f1f02 [svn-r23970] malloc of char array needs array deallocation.
Merged from trunk.
2013-08-05 09:27:01 -05:00
Binh-Minh Ribler
548f859749 [svn-r23956] Description:
Took out a work-around line left by accident.
Platform tested:
    Linux/32 2.6 (jam) with GNU compilers
2013-07-31 15:46:26 -05:00
Binh-Minh Ribler
3e071dc051 [svn-r23955] Description:
Close a group in test_dset, before the file can be properly closed.
    This should fix the problem on OpenVMS.

Platforms tested:
    Linux/32 2.6 (jam) with GNU compilers
    SunOS 5.11 (emu)
2013-07-31 14:49:32 -05:00
Binh-Minh Ribler
769649c100 [svn-r23950] Description:
There seem to be some objects still left open, so the file was not closed
    properly and caused failure on OpenVMS, because on that platform, more than
    one file cannot be opened at the same time (according to Ray.)

    Added setFcloseDegree(H5F_CLOSE_STRONG) to test_dset() to eliminate the
    failure temporarily, until the opened objects can be located and closed properly.

Platforms tested:
    Linux/32 2.6 (jam) with GNU compilers
    SunOS 5.11 (emu)
2013-07-31 01:59:39 -05:00
Binh-Minh Ribler
21130b20b8 [svn-r23943] Description:
Fixed an allocation/deallocation mistake that caused test to fail on
    Windows.
Platforms tested:
    Linux/32 2.6 (jam) with GNU compilers
    SunOS 5.11 (emu)
2013-07-29 23:31:05 -05:00
Binh-Minh Ribler
268f4fd05c [svn-r23940] Purpose: Fix bug in tests
Description:
    - Passing the c_str() of an std string into a C function caused failure
      on OpenVMS.  Added a work around using temporary string.
    - Passing incorrect file access property list caused test_datasize() to
      fail.  Fixed.
Platforms tested:
    Linux/32 2.6 (jam) with PGI compilers
    Linux/32 2.6 (jam) with GNU compilers
    SunOS 5.11 (emu)
2013-07-27 02:07:38 -05:00
Allen Byrne
e41f1a44b8 [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.
Tested: local linux
2013-06-14 09:24:27 -05:00
Albert Cheng
59318f2041 [svn-r23687] Bug fix: HDFFV-8435
Need to update libtool version number for v1.8.11 since two functions,
H5Pget_dxpl_multi and H5Pset_dxpl_multi were removed. Then v1.8 is now
v1.8.12-xxx and needed an update to.


config/lt_vers.am:
    libtool information is changed to 8.0.1 because it is a revision
    different from v1.8.10.

configure:
src/Makefile.in:
hl/src/Makefile.in:
hl/c++/src/Makefile.in:
hl/fortran/src/Makefile.in:
c++/src/Makefile.in:
fortran/src/Makefile.in:
README.txt:
    autogenerated by bin/reconfiure.

Tested: h5committest, then visual inspect that the libhdf5.so.x.y.z is
changed accordingly.
Built in duck by hand and see it changes to libhdf5.8.dylib too.
2013-05-09 00:12:31 -05:00
Allen Byrne
926942e881 [svn-r23629] HDFFV-8368: Merge removal of include sub-folders from trunk 2013-04-25 15:54:56 -05:00
Albert Cheng
e8a57439fa [svn-r23567] Post v1.8.11 branch-off, changed version to 1.8.12-snap0.
Reset RELEASE.txt for next release (1.8.12).

Tested: h5committest.
2013-04-09 12:48:11 -05:00
Binh-Minh Ribler
1a367cc384 [svn-r23503] Description:
Removed DSetMemXferPropList::setMulti/getMulti from header file (Dana removed
	them from cpp file.
    Added note about removing DSetMemXferPropList::setMulti/getMulti in C++ section.
Platforms tested: very minor
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2013-03-31 05:42:34 -05:00
Dana Robinson
fe6b68e6b8 [svn-r23500] Merge r23366 from trunk. Fixes HDFFV-8296.
Removed the H5Pset_dxpl_multi and H5Pget_dxpl_multi functions from
the library.  The intended functionality for them was never fully
implemented and they are fundamentally broken.

The functions were removed from the C and C++ interfaces.  They were
not exported in the Fortran interface.

Tested on jam
2013-03-30 18:27:18 -05:00
Binh-Minh Ribler
8461df0911 [svn-r23485] Purpose: Fix bug HDFFV-8067
Description:
    Applied the fix for HDFFV-8067 and the minor cleanups from the trunk.
Platforms tested:
    Linux/32 2.6 (jam) with PGI compilers
    Linux/32 2.6 (jam) with GNU compilers
    Linux/64 2.6 (koala) with ICC compilers
    SunOS 5.10 (emu)
2013-03-28 23:03:20 -05:00
HDF Tester
ab5a49b8bd [svn-r23324] Snapshot version 1.8 release 11 (snap11) 2013-03-03 21:47:16 -05:00
Quincey Koziol
9474760400 [svn-r23220] Description:
Bring r23219 from trunk to 1.8 branch:

   Bring reviewed changes from Coverity branch back to trunk (QK & JK):

r20457:
Coverity issue 691: return of H5duo could be negative. Fixed by using
STDOUT_FILENO and redesign parse_command_line and main to cleanup file
allocations. The output_file var is null when using stdout. In cleanup do not
close output_file if NULL.

r20510:
Initialize ufid = -1 and predicate HDclose call on ufid != -1

r20511:
Purpose: Fix coverity issue 1715

Description: Free "file" and nested data on failure in H5FD_core_open.

r20512:
Initialize ifid = -1 and predicate HDclose call on ifid != -1

r20514:
Initialize h5fid = -1 and predicate HDclose call on h5fid != -1

r20516:
Added else branch to the if (ret_value < 0) check.

r20522:
Addressed coverity issues 930-933, 850, 836, 835, 1307.  All minor 
potential buffer overwrite bugs, or coverity errors.  Fixed by replacing
strcpy and sprintf with strncpy and snprintf.

r20523:
fixed coverity issues 68, 1120, 1116i

r20524:
Check  H5Z_SZIP->encoder_present < 1 assuming 0 represents absence.

r20601:
Purpose: Fix coverity issues 1703-1705

Description: Modified the cleanup code in test_free in accum.c to reset
allocated buffers to NULL after they are freed, and modified the error cleanup
code to check if these buffers are NULL before freeing them.  Also fixed some
unrelated warnings in accum.c.

r20602:
Use HDsnprintf and HDstrncat

r20603:
Purpose: Fix coverity issues 808-809

Description: Modified test_core in vfd.c to check the returns from malloc, and
keep track of whether points and check are allocated by setting them to NULL
when they are not.  Added code to free points and check on error if they are
not NULL.  Also fixed unrelated warnings in vfd.c.

r20604:
Use HDstrncpy.

r20605:
Use HDstrncpy and HDstrncat.

r20606:
Purpose: Fix coverity issue 807

Description: Modified long_compact in stab.c to keep track of whether objname is
allocated by setting it to NULL when it is not.  Added code to free objname on
error if it is not NULL.

r20607:
Changed string function calls to use versions that specify the string length
to fix coverity issues 832 and 839.


Tested on:
    Mac OSX/64 10.8.2 (amazon)
    (Too minor to require h5committest)
2013-02-01 21:42:36 -05:00
Allen Byrne
13693b307c [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support.
Tested: local linux
2013-01-31 12:30:34 -05:00
Albert Cheng
b650bd0bbd [svn-r22892] Increment release branch for future release (v1.8.11).
Set version number to 1.8.11-snap0.
Clear out RELEASE.txt to hold 1.8.11 changes
Update version references in RELEASE.txt
2012-10-12 13:26:55 -05:00
Allen Byrne
3117ffcbb4 [svn-r22788] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders
Tested: local
2012-09-19 09:32:13 -05:00
Quincey Koziol
fc65a4e66e [svn-r22759] Description:
Bring r22758 from trunk to 1.8 branch:

    Bring generic improvements from encode/decode property list branch to
the trunk.  This includes a better version of the property list comparison
routine, cleaned up compiler warnings, and some cleaned up property list
callbacks.  Also, started on changes to clean up parallel test output, so that
it doesn't report successful tests from each process.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, GCC 4.7.x, FORTRAN, C++, threadsafe and parallel
    (h5committested on trunk)
2012-09-13 12:44:44 -05:00
Allen Byrne
612af6440b [svn-r22724] Convert tests to *.sh.in.
Convert configure.in to configure.ac.
Align TESTS usage with autotools convention.
Update all references from configure.in to configure.ac

Tested: h5committest
2012-08-28 14:11:34 -05:00
Larry Knox
073ba00980 [svn-r22711] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-23 12:05:07 -05:00
Larry Knox
97da6adcd0 [svn-r22492] Needed std:: for cout or cerr for other compilers. 2012-06-26 15:56:59 -05:00
Larry Knox
35936e66b7 [svn-r22491] Skip the failing File Creation I/O subtest that causes c++ tests to fail with the new/PGI compiler (see HDFFV-8067).
Tested on jam.
2012-06-26 13:28:45 -05:00
Allen Byrne
d857219181 [svn-r22451] Brought cmake configuration / configure changes from Trunk.
Tested jam, local linux
2012-06-11 11:12:49 -05:00
Larry Knox
4a5efa8d60 [svn-r22339] config/examples.am
Added code to install README in share/hdf5_examples
    Set permissions on README file to rw-r--r--.

Tested with h5committest, make install and make uninstall.
2012-05-02 12:03:35 -05:00
Mike McGreevy
dd47da23a7 [svn-r22268] Update 1.8 branch version to 1.8.10-snap0 2012-04-09 14:39:33 -05:00
Binh-Minh Ribler
56d950d326 [svn-r22209] Purpose: Fixed bugs HDFFV-2761 & HDFFV-7852
Description:
    - Replaced PredType::NotAtexit() with PredType::AtExit(H5CPP_EXITED)
      and used PredType::AtExit as a flag to detect when all predefined
      types have been destroyed.  Then, H5close will be called to terminate
      the library after its being re-initiated when the PredType destructors
      were activated.  This change removed the memory leaks shown by the
      user's sample program in HDFFV-2761.
    - Added H5CPP_EXITED for PredType::AtExit to use as a flag
    - Rearranged constructors in CompType to fix bug HDFFV-7852
    - Updated some inaccurate comments
    - Removed stream functions from FileAccPropList
    - Replaced H5_VMS with appropriate macro in H5IdComponent.cpp
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (amani)
    SunOS 5.10 (linew)
2012-03-30 14:34:20 -05:00
Mike McGreevy
7f7b8bd972 [svn-r22208] Purpose:
Merge fix for HDFFV-398 (r22146 and r22147) from trunk to hdf5_1_8.
Tested:
    h5committest
2012-03-30 12:02:03 -05:00
Dana Robinson
35a903680e [svn-r22148] Removed incorrect executable svn properties from text, source, in, and HDF5 files. 2012-03-26 15:12:51 -05:00
Binh-Minh Ribler
2ae01a1bf4 [svn-r22131] Purpose: Fixed bug 4279
Description:
    Closed various HDF5 objects in DataSet::getInMemDataSize and
    Attribute::getInMemDataSize to remove some memory leaks.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (amani)
    SunOS 5.10 (linew)
2012-03-23 00:43:59 -05:00
Allen Byrne
6158a3128c [svn-r21805] Update CMake Required version in all folders to match current standard 2.8.6 2011-12-05 11:32:07 -05:00
Allen Byrne
141383fb26 [svn-r21717] Update cmake configuration
Update cmake to generate source folders in VS
Brought parallel changes from trunk

Tested: local linux
2011-11-04 13:45:41 -05:00
Mike McGreevy
e52623c9fe [svn-r21638] Update 1.8 branch version to 1.8.9-snap0 2011-10-21 10:55:40 -05:00
Allen Byrne
d9ce505d54 [svn-r21608] 1.8 needs file copied because it does not use srcdir function 2011-10-19 13:03:26 -05:00
Scot Breitenfeld
4af3cd2b7a [svn-r21421] Merged the Fortran 2003 changes from the trunk into the 1.8 branch, used:
svn merge -r 20506:21414 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran

Tested: jam (gnu, intel, pgi compilers)

Also merged effected non-Fortran files: 
svn merge -r21247:r21248 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/src/libhdf5.settings.in
2011-09-27 00:02:38 -05:00
Mike McGreevy
d93ae26226 [svn-r21044] Purpose:
Fix HDFFV-7592

    "Remove PACKEDBITS option from autotools files"

Description:
    The code for h5dump's packed bits feature was
    conditionally compiled in via this option during its
    'beta' release in 1.8.5. Now that the feature is fully
    supported, h5dump has since been changed to always
    compile the packed bits code (having removed the #ifdef
    H5_HAVE_H5DUMP_PACKED_BITS checks), so this option in
    configure is no longer needed.

    This commit removes the --enable-h5dump-packed-bits
    configure option, including the help summary from
    './configure --help' and the libhdf5.settings output
    summary, the PACKED_BITS Makefile variable, and the
    definition of H5_HAVE_H5DUMP_PACKED_BITS define in
    appropriate pubconf header files (which has already
    been removed from use in source code as of r20722).

    Note that this option was never added to the trunk,
    thus this commit only need occur on the 1.8 branch.

Tested:
    - Configure output, help, & summary verified on jam
    - h5committested
2011-06-28 16:25:10 -05:00
Larry Knox
be60cc1759 [svn-r20719] Merge changes to scripts to run installed examples from hdf5 1.8.7 r 20718. The default prefix in the scripts will use the compile scripts in the installed bin directory. 2011-05-04 11:41:19 -05:00
Mike McGreevy
73fde75a6c [svn-r20574] Bump soname interface number. This should have been bumped
in 1.8.6 when its API was changed, but since it wasn't I'm
manually fixing up these numbers in 1.8 and 1.8.7 branches
for the time being.
2011-04-20 13:28:46 -05:00
Mike McGreevy
2065dc05cc [svn-r20565] Update 1.8 branch version to 1.8.8-snap0 2011-04-20 11:41:42 -05:00