Commit Graph

784 Commits

Author SHA1 Message Date
Larry Knox
0b16cecb99 [svn-r23527] Revised usage to reflect change to use -shlib as default when no static libraries were built.
No test - text only revision of compile scripts.
2013-04-02 17:54:20 -05:00
Dana Robinson
47a25f0d0c [svn-r23509] Duplicated Bin-Minh's changes in the 1.8 branch (r23503) that
delete the removed multi dxpl function names from the class.

Tested on: jam w/ fortran & C++

I did not test on other platforms (h5committest) since there is nothing
even remotely platform-specific here.
2013-04-01 14:05:15 -05:00
Raymond Lu
6c974c824d [svn-r23495] ported revisions 23433:23494 from the trunk 2013-03-29 18:13:05 -05:00
Larry Knox
99b1524474 [svn-r23431] Fix for HDFFV-8141.
Changes default value for USE_SHARED_LIB in compile scripts to yes when static is disabled.
Comments in scripts about the order of flag variables containing library paths was also corrected.

Tested with h5committest on duck, jam, koala, and ostrich in addition to specific testing for the 
compile script change.
2013-03-22 16:02:07 -05:00
Binh-Minh Ribler
3f1c23b315 [svn-r23428] Description:
Fixed bug HDFFV-4272.  Just typos in documentation.
Platform tested:
    Jam
2013-03-22 14:16:38 -05:00
Binh-Minh Ribler
c8018386da [svn-r23427] Purpose: Fix bug HDFFV-8067
Description:
  + The C++ test failed with the new PGI compilers versions 12.4 and 12.5
  + An exception thrown by an internal function, which was called by
    a constructor, was not propagating to the test program during the stack
    unwinding, so it couldn't be caught by the test and the program terminated.
  + Various trials and errors indicated that the problem is where an STD string
    converted to a char* being passed to the internal function, but confirmation
    has not been found yet.  It could be a compiler bug.
Solution:
  + Added a try/catch in the constructor around the internal function and
    re-throw the exception when it is caught.  This is a workaround.
  + Unrelated minor fixes: removed unused variables and MESSAGE's; commented
    out tvlstr.cpp/test_read_vl_string_attribute because it may be redundant,
    and commented out H5Tpkg.h inclusion because TEST_ALIGNMENT is not added
    yet and probably not necessary in the C++ API.
Platforms tested:
    Linux/32 2.6 (jam) with PGI compilers
    Linux/32 2.6 (jam) with GNU compilers
    Linux/64 2.6 (koala)
2013-03-22 12:56:05 -05:00
Dana Robinson
76a8599736 [svn-r23366] 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(c++/fortran/hl)

I tested using check-vfd to ensure the multi VFD still works properly.
There is no reason to test this on other machines or on parallel.
2013-03-18 14:50:32 -05:00
HDF Tester
e188e7797b [svn-r23361] Snapshot version 1.9 release 148 2013-03-17 03:28:21 -05:00
HDF Tester
c896a5b7eb [svn-r23341] Snapshot version 1.9 release 147 2013-03-10 04:34:50 -05:00
HDF Tester
1cffcb401a [svn-r23323] Snapshot version 1.9 release 146 2013-03-03 11:20:00 -05:00
HDF Tester
66ba0b4f33 [svn-r23311] Snapshot version 1.9 release 145 2013-02-24 11:26:03 -05:00
Allen Byrne
aff5c20a6a [svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
2013-02-18 15:56:21 -05:00
HDF Tester
32da9c96ae [svn-r23290] Snapshot version 1.9 release 144 2013-02-17 11:30:06 -05:00
HDF Tester
944f0399ac [svn-r23240] Snapshot version 1.9 release 143 2013-02-10 11:25:10 -05:00
HDF Tester
b65a911b8a [svn-r23221] Snapshot version 1.9 release 142 2013-02-03 11:20:03 -05:00
Quincey Koziol
a3e98d0e36 [svn-r23219] Description:
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 20:53:32 -05:00
HDF Tester
37d1a0330a [svn-r23180] Snapshot version 1.9 release 141 2013-01-20 11:23:56 -05:00
Allen Byrne
2fba171a67 [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10 2013-01-14 13:35:30 -05:00
HDF Tester
2381dacdad [svn-r23153] Snapshot version 1.9 release 140 2013-01-13 11:18:18 -05:00
HDF Tester
c1b0e4f686 [svn-r23136] Snapshot version 1.9 release 139 2013-01-06 11:19:19 -05:00
HDF Tester
72e8ef707b [svn-r23121] Snapshot version 1.9 release 138 2012-12-30 11:18:08 -05:00
HDF Tester
d1b7de066e [svn-r23119] Snapshot version 1.9 release 137 2012-12-23 11:31:26 -05:00
HDF Tester
f89d080191 [svn-r23085] Snapshot version 1.9 release 136 2012-12-09 11:14:57 -05:00
HDF Tester
0de4e03305 [svn-r23071] Snapshot version 1.9 release 135 2012-12-02 09:57:47 -05:00
HDF Tester
48b241d52d [svn-r23050] Snapshot version 1.9 release 134 2012-11-25 09:47:11 -05:00
HDF Tester
9ac4fea3b0 [svn-r23039] Snapshot version 1.9 release 133 2012-11-18 09:57:04 -05:00
HDF Tester
82868270dc [svn-r23021] Snapshot version 1.9 release 132 2012-11-11 09:56:57 -05:00
Larry Knox
33504deb83 [svn-r22908] Reverted changes in revision 22819
Tested with h5committest on jam, koala and ostrich.
2012-10-16 16:38:58 -05:00
Binh-Minh Ribler
f7e1da0cfb [svn-r22877] Description:
Changed uint to unsigned so that no hdf5-specific header file is needed.
Platform tested:
    Linux/32 2.6 (jam) - very minor
2012-10-09 22:32:21 -05:00
Allen Byrne
0f76f393ed [svn-r22852] Add new files to library file lists
Tested: local linux
2012-10-02 12:38:24 -05:00
HDF Tester
d4657ce265 [svn-r22846] Snapshot version 1.9 release 131 2012-09-30 09:46:20 -05:00
Binh-Minh Ribler
9c3f82fbd7 [svn-r22845] Purpose: Misc fixes
Description:
    Fixed miscellaneous inconsistencies and typos, which also took
    care of the failure in Packet Table test on daily test today.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    Mac Lion (duck)
2012-09-28 17:18:33 -05:00
Binh-Minh Ribler
5fcec401bd [svn-r22836] Purpose: Fix bug HDFFV-533 and add other missing functions
Description:
    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
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    SunOS 5.10 (linew)
2012-09-27 18:26:16 -05:00
Larry Knox
c5371d7618 [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries.
Tested on jam,koala,ostrich(h5committest) and other THG machines.
2012-09-26 23:49:19 -05:00
HDF Tester
528bd520b8 [svn-r22802] Snapshot version 1.9 release 130 2012-09-23 09:32:56 -05:00
Allen Byrne
eff696a3b0 [svn-r22785] 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: jam with intel compilers
2012-09-18 17:08:07 -05:00
HDF Tester
786b220e46 [svn-r22766] Snapshot version 1.9 release 129 2012-09-16 09:27:43 -05:00
Quincey Koziol
602c716f76 [svn-r22758] Description:
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
    Linux 2.6/32 (jam) w/debug
    Solaris 2.7/64 (linew) w/debug
2012-09-13 12:08:01 -05:00
HDF Tester
0824b43ecd [svn-r22745] Snapshot version 1.9 release 128 2012-09-09 09:43:15 -05:00
HDF Tester
3ab17f5e04 [svn-r22732] Snapshot version 1.9 release 127 2012-09-02 09:34:02 -05:00
Allen Byrne
5d88bae6df [svn-r22714] one more missed VAR change for parallel examples 2012-08-26 14:10:01 -05:00
Allen Byrne
1f8fb63581 [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
2012-08-23 11:07:43 -05:00
Larry Knox
edf83e5d1f [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-22 00:00:32 -05:00
HDF Tester
1560a6ea38 [svn-r22697] Snapshot version 1.9 release 126 2012-08-19 09:35:47 -05:00
HDF Tester
2eb782130a [svn-r22670] Snapshot version 1.9 release 125 2012-08-12 15:28:06 -05:00
Larry Knox
456b97b9fa [svn-r22629] Snapshot version 1.9 release 124 2012-08-05 13:42:13 -05:00
Larry Knox
9e79829ab8 [svn-r22525] Snapshot version 1.9 release 124 2012-07-09 11:54:50 -05:00
Larry Knox
4a7802b82b [svn-r22495] Skip the failing File Creation I/O subtest that causes c++ tests to fail with the new/PGI compiler (see HDFFV-
8067).

Tested jam, koala, ostrich.
2012-06-27 11:12:57 -05:00
HDF Tester
02a0bd53e8 [svn-r22487] Snapshot version 1.9 release 122 2012-06-24 09:29:36 -05:00
HDF Tester
d1b7eede73 [svn-r22448] Snapshot version 1.9 release 121 2012-06-10 08:53:06 -05:00