Commit Graph

12243 Commits

Author SHA1 Message Date
Raymond Lu
5c7353d2cd [svn-r21439] Issue 7701 - H5LTdtype_to_text had memory corruption while being querried about the size of the buffer needed. The problem happened when the internal buffer is reallocated, the new address got lost. I revised the code to pass the new address as the return value of functions. I also added two new test cases.
This commit only includes hl/test/test_lite.c, hl/src/H5LT.c, hl/src/H5LTprivate.h.  All others are property changes of the merge from the trunk.  

Tested on jam, linew, and koala.
2011-09-30 15:24:50 -05:00
Allen Byrne
f74a23c836 [svn-r21438] Added listing of all cmake options available 2011-09-30 13:21:50 -05:00
Allen Byrne
90429e924d [svn-r21430] Add F2003 IF-ENDIF protection blocks around _F03 file processing 2011-09-28 08:35:11 -05:00
Allen Byrne
0ae77e5f0c [svn-r21426] Add 2003 fortran to settings text 2011-09-27 10:53:19 -05:00
Allen Byrne
c6af94c8ed [svn-r21423] Add 2003 fortran to cmake build/configure
Tested: local linux
2011-09-27 09:18:46 -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
Allen Byrne
a07004c825 [svn-r21418] Change windows default driver to SEC2
Add option to allow -fPIC
2011-09-26 09:04:15 -05:00
HDF Tester
3c51dc92f4 [svn-r21416] Snapshot version 1.8 release 8 (snap15) 2011-09-25 19:25:48 -05:00
Jonathan Kim
f7ba14fa29 [svn-r21414] Description:
Skip parallel diff test "-c non_comparables1.h5 non_comparables2.h5" due
    to hanging issue occurring on koala (linux64-LE) intermittently.
    Plan to put back when resolved.
    The test was related to J7693.
    Merged from HDF5 trunk r21413.

Tested:
 jam (linux32-LE), koala (linux64-LE)
2011-09-23 16:47:32 -05:00
Jonathan Kim
8f8fb620d8 [svn-r21404] Purpose:
HDFFV-7693 - h5diff produces different behavior between versions: 1.8.3 and 1.8.6

Description: 
    There were two issues on this. 
    One was not displaying all the comparable objects if non-comparable 
    object/attribute exist and compared before comparables ones. This issue
    occurred after 1.8.4 release. This is the issue from user.
    The other issue was not displaying all the comparable attributes, 
    if non-comparable object/attribute exist and compared ahead. This issue 
    were exist even before 1.8.4 release. So it's possible some attribute 
    comparison may have not displayed correctly in the past, if non-comparable 
    data were exist in common object.
    Fixed h5diff to display all the comparable object and attribute regardless 
    of non-comparables. 

    Merged from HDF5 trunk r21396 and r21397.

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Windows)
2011-09-21 10:20:20 -05:00
Jonathan Kim
e50e2a5974 [svn-r21402] Update MANIFEST for a new file from previous checkin (HDFFV-5932) 2011-09-20 12:09:53 -05:00
Jonathan Kim
3f1489ee7b [svn-r21400] Purpose:
HDFFV-5932 - h5repack breaks files with dimension scales

Description:
    - Fixed h5repack to update values of references(object and region) of 
      attributes in h5repack for 1) references, 2) ARRAY of references, 
      3) VLEN of references, and 4) COMPOUND of references.
    - Merged from HDF5 trunk 21393, 21382, 21386, 21389. (support Peter)

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
2011-09-20 11:34:01 -05:00
HDF Tester
563722468c [svn-r21399] Snapshot version 1.8 release 8 (snap14) 2011-09-18 19:49:38 -05:00
John Mainzer
38aa51077a [svn-r21394] Updated tuning of fraction of tests skipped in t_shapesame.c as a function of
express test level to reflect results of testing with Ray.

Tested parallel on jam -- no further testing as the change was very minor.
2011-09-14 17:43:06 -05:00
John Mainzer
98e7f67b00 [svn-r21380]
Ported shape same test express test mods from trunk to 1.8 branch.

This was mostly a matter of copying testpar/t_shapesame.c from trunk
to the 1.8 branch, as the root versions of the files were almost 
identical.

Tested parallel on Jam only, as changes have been well tested on the 
trunk.
2011-09-13 13:29:58 -05:00
Raymond Lu
9e56bed5e0 [svn-r21379] The tools used "%hhd" to print signed char. But VMS doesn't know it. So I used H5_VMS to have a different way ("%hd") to print it.
Tested on jam and VMS.
2011-09-13 10:55:19 -05:00
Allen Byrne
9115bab9e3 [svn-r21376] JIRA-HDFFV-2748: Relplace WIN32 macros in source. New H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines only need to be set on windows. Autotools configure is not affected.
Trunk passed for a week and cmake branch has been in place > 3 weeks.

Tested: local linux
2011-09-12 09:02:44 -05:00
HDF Tester
ee039a03b9 [svn-r21375] Snapshot version 1.8 release 8 (snap13) 2011-09-11 19:25:25 -05:00
Jonathan Kim
36ea4e8553 [svn-r21368] Purpose:
HDFFV-7712 - h5diff: segfault over combinations of complex container types (compound, array, vlen)

Description:
    - Fixed segfault over dataset with container types (array,lven) with multiple nested compound types. (ex: compound->array->compound, compound->vlen->compound)
    - Merged from HDF5 trunk r21358.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-09-06 15:26:08 -05:00
Allen Byrne
144b129492 [svn-r21365] Related files to files from HDF5-33 review - all changes ran correctly in trunk. Changes have been tested in cmake branch.
#ifdef around include <unistd.h> and <time.h>

Tested: local linux
2011-09-06 09:25:19 -05:00
Allen Byrne
a14f6882d4 [svn-r21364] Related files to files from HDF5-33 review - all changes ran correctly in trunk. Changes have been tested in cmake branch.
t_cache.c - define needed for windows
t_posix_compliant.c - #ifdef around include <unistd.h>
t_shapesame.c - HD prefix needed for stat function

Tested: local linux
2011-09-06 09:20:58 -05:00
Allen Byrne
b3bc8132c5 [svn-r21363] files from HDF5-33 review - all changes ran correctly in trunk. Changes have been tested in cmake branch.
Tested: local linux
2011-09-06 09:16:50 -05:00
HDF Tester
12e6abe9f4 [svn-r21361] Snapshot version 1.8 release 8 (snap12) 2011-09-04 19:26:20 -05:00
Raymond Lu
3cf78c8f18 [svn-r21356] Issue 7674 - CLANG compiler complained about the line (about 800):
tempint = (tempint >> packed_data_offset) & packed_data_mask;
The right shift may cause undefined behavior if PACKED_DATA_OFFSET is 
32-bit or more. For every kind of native integers, I changed the code 
to make it zero if PACKED_DATA_OFFSET is greater than or equal to the
size of integer.

Tested on jam and on MacOS with CLANG compiler.
2011-09-02 10:50:01 -05:00
Jonathan Kim
d47f033ad7 [svn-r21355] Purpose:
HDFFV-2511 - GMQS: h5repack: some tests failed in -q32 AIX

Description:
    - Need to be Merged from HDF5 trunk r21283 also, which was missed from previous checkin.
    - Previously Merged from HDF5 trunk r21265
    - Added macro to handle failure in H5Dread/write when memory allocation 
      failed inside the library. Add graceful error message when lack of
      memory error occurs from HDF5 lib. (XCAO)

Tested:
      jam (linux32-LE), koala (linux64-LE)
2011-09-02 10:06:01 -05:00
Allen Byrne
f805181423 [svn-r21349] Need PATH active by default during install for daily binary testing needs 2011-09-01 09:59:02 -05:00
Allen Byrne
7caccf6cd4 [svn-r21346] Need PATH active by default during install for daily binary testing needs 2011-09-01 09:54:52 -05:00
Jonathan Kim
b8b0b70945 [svn-r21344] Purpose:
HDFFV-2511 - GMQS: h5repack: some tests failed in -q32 AIX

Description:
    - Merged from HDF5 trunk r21265
    - Added macro to handle failure in H5Dread/write when memory allocation 
      failed inside the library (XCAO)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE)
2011-08-31 15:56:05 -05:00
Raymond Lu
e3b66f853a [svn-r21343] Issue 7674 - clang compiler with -fcatch-undefined-behavior -ftrapv discovered several problems in the test suite. One of
them is in the INIT_INTEGER macro definition in dt_arith.c.  It complained about line 150 where it tried to subtract 1 from
the negative minimal value of "int", causing it to overflow (or underflow).  So I revised the code to avoid it.

Tested on jam and Mac OS Lion with CLANG compiler.  But I tested the same change for the trunk with h5committest.
2011-08-31 15:28:03 -05:00
Allen Byrne
3852fe2e10 [svn-r21341] Add check for target already exists 2011-08-31 11:04:48 -05:00
Allen Byrne
26f47610b1 [svn-r21337] Synchronize cmake files with tested commits from trunk, windows parallel diff 2011-08-30 11:51:32 -05:00
Allen Byrne
40480c8a72 [svn-r21336] Synchronize cmake files with tested commits from trunk 2011-08-30 11:39:25 -05:00
HDF Tester
014bea1c07 [svn-r21330] Snapshot version 1.8 release 8 (snap11) 2011-08-28 20:35:15 -05:00
Allen Byrne
d4ace0018b [svn-r21318] Correct zlib references, zlib svn no longer has src folder 2011-08-26 10:39:05 -05:00
Dana Robinson
a9039e329f [svn-r21314] Merge of 21302 (bin/trace bugfix) from trunk. Tested on jam (minor change). 2011-08-25 16:11:08 -05:00
Allen Byrne
a4c02d6350 [svn-r21311] add variables and commands to create libhdf5.settings. Add option to enable embedded strings. Add test to grep for string.
Trunk cycle passed and verified on windows.
2011-08-25 10:35:40 -05:00
Allen Byrne
8f0169c6e9 [svn-r21309] Add NSIS silent install option 2011-08-25 10:08:49 -05:00
Allen Byrne
f59d217a61 [svn-r21299] Add fortran library depends to test fortran library build 2011-08-23 09:27:52 -05:00
Allen Byrne
77baa075f4 [svn-r21297] Move all tests into DEPENDS structure so that clear-all-objects is first.
Also preface all tests with H5REPACK.
2011-08-23 08:50:31 -05:00
Jonathan Kim
3dc5350967 [svn-r21293] Moved Tools recent fixes (HDFFV-7649 and HDFFV-7659) descriptions to correct section. 2011-08-22 17:36:21 -05:00
Raymond Lu
667fb60c8f [svn-r21291] I moved 2 items from the new feature of parallel library category to the new feature of library category, which is an appropriate place.
No test is needed.
2011-08-22 17:13:32 -05:00
Raymond Lu
0e413d3264 [svn-r21287] I added a new file H5HGquery.c.
Not tested yet.
2011-08-22 16:07:13 -05:00
Raymond Lu
49c7637766 [svn-r21284] I added a new file H5Fcwfs.c.
Not tested yet.
2011-08-22 15:30:50 -05:00
Allen Byrne
7cd54f59fe [svn-r21281] Correct IF/ENDIF arguments 2011-08-22 10:43:02 -05:00
Albert Cheng
cd4b879202 [svn-r21278] Document fix for bug HDFFV-7641. 2011-08-22 09:50:20 -05:00
Albert Cheng
21610522dd [svn-r21277] Bug fix: HDFFV-7641
Corrected mismatched function name typo of h5pget_dxpl_mpio_c and h5pfill_value_defined_c.

Tested: Jam.
(Note: Allen has fixed trunk version of these already.)
2011-08-22 09:30:24 -05:00
HDF Tester
fb2f635696 [svn-r21276] Snapshot version 1.8 release 8 (snap10) 2011-08-21 20:37:29 -05:00
Jonathan Kim
00cdf98d00 [svn-r21264] Purpose:
Work for:
    HDFFV-7515 - GMQS: h5unjam - incorrect help page and should display when 
    no file is given.
    and
    HDFFV-5941 - h5jam: specifying a user block file with a proper HDF5 magic
    number will result in a corrupted HDF5 file.


Description:
    - Merged from HDF5 trunk r21236,
    - Revised command help pages of h5jam and h5unjam. The descriptions
      were not up to date and some were missing. (HDFFV-7515)
    - Fixed h5jam not to allow specifying an HDF5 formatted file as input 
      file for -u (user block file) option, because the original HDF5 file 
      will not be accessible if allows. (HDFFV-5941)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake (jam, win)
2011-08-19 11:02:57 -05:00
Raymond Lu
85eabb54fe [svn-r21255] Issue 7674 - clang compiler reported an error with line 334:
temp_point->l = (unsigned long long)((i * 100 + j * 1000) * n);
The value can overflow the signed int before being converted to unsigned long long.  So I changed it to 
    temp_point->l = (unsigned long long)((i * 40 + j * 400) * n);
to keep it under the maximal value.

Tested on jam.  Simple change.
2011-08-18 15:52:42 -05:00
Raymond Lu
30bf1869ff [svn-r21250] I skipped two test cases (in two functions test_delete_obj_named and test_delete_obj_named_fileid) for VMS using the macro H5_CANNOT_OPEN_TWICE because they open the same file twice.
Tested on jam.
2011-08-18 10:58:40 -05:00