Commit Graph

12417 Commits

Author SHA1 Message Date
Raymond Lu
20ae9239c8 [svn-r22083] I updated the item for Issue 7756.
No test is needed.
2012-03-16 11:09:58 -05:00
Neil Fortner
4afb95df4f [svn-r22073] Port r22072 to 1.8 branch
Purpose: Fix rare corruption bug (HDFFV-7879)

Description:
When using the new object header format, it was possible for corruption to occur
if the first object header chunk changed size such that the lenght of the "chunk
0 size" field changed.  This only occurred if there were messages that had not
been decoded.  The original algorithm that changed the object header chunk size
marked all messages as dirty, causing those that had not been decoded to have
both the raw and native form invalidated.  Changed the algorithm to avoid
marking messages dirty and added assertions to catch the case where messages
are dirtied without being decoded (or recently created) first.

Tested: jam, koala, ostrich (h5committest), durandal
2012-03-15 14:23:55 -05:00
Neil Fortner
bd54b26466 [svn-r22071] Port r22070 to 1.8 branch
Purpose: Fix rare corruption bug

Description:
When using the new object header format and adding an attribute with a size near
64K, it was possible for file corruption to occur.  This happened only if the
first object header chunk was smaller than 256 bytes and then grew to larger
than 64K after the attribute was added.

Tested: ostrich, jam, koala (h5committest), durandal
2012-03-15 14:13:04 -05:00
Quincey Koziol
ade12e13f3 [svn-r22060] Description:
Change to use versioned API call, to avoid problems when defaulting to
older AI versions.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug
2012-03-13 09:37:55 -05:00
Quincey Koziol
864e6b0e70 [svn-r22059] Description:
Bring r22058 from trunk to 1.8 branch:

    Better fix for zero-sized dataset error (r22053).

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug & parallel
2012-03-12 23:21:02 -05:00
Jonathan Kim
493e1e8f80 [svn-r22057] Purpose:
Fix for HDFFV-7835 h5diff: incorrect result for comparing the two same type symlinks as dangling links.

Description:
  When two symbolic dangling links are compared with --follow-symlinks option,
  the result should be same. It works for comparing two files, but didn't work
  for comparing two objects. 
  Test cases were added and tagged with jira#.
  Merged from HDF5 trunk r22038.

Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-03-12 17:49:17 -05:00
Quincey Koziol
37156e3914 [svn-r22055] Description:
Bring r22053 from trunk to 1.8 branch:

    Correct corner case for creating a contiguous dataset with a zero-sized
dataspace, when the allocation time is set to early.

    Also clean up a few compiler warnings in the dataspace code.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug & parallel
2012-03-12 16:54:00 -05:00
Allen Byrne
cad1e02a77 [svn-r22050] 2012-03-12 16:21:19 -05:00
Allen Byrne
1adc7aef23 [svn-r22048] Add h5dump issues fixed 2012-03-12 15:36:25 -05:00
Allen Byrne
10179b33ee [svn-r22045] HDFFV-7957-7958:
Add tools error stack and check return from H5Dreference call.
Tested: trunk
2012-03-12 12:47:27 -05:00
Allen Byrne
e95d26cc66 [svn-r22044] HDFFV-7957-7958:
Add tools error stack and check return from H5Dreference call.
Add missing file update
2012-03-12 12:34:06 -05:00
Allen Byrne
5ffbfdee1e [svn-r22043] HDFFV-7839: Dangling link should not display error
If a link is specified on the command with the -d option, call the handle_links function on error from the H5Dopen command. 
Updated test file results with error stack when link not found.

Tested: trunk
2012-03-12 12:23:29 -05:00
HDF Tester
e6efdf9620 [svn-r22041] Snapshot version 1.8 release 9 (snap12) 2012-03-11 20:22:12 -05:00
Larry Knox
e4850a716f [svn-r22039] Fix for HDFFV-7878.
gnu-flags
        Don't add gcc flags for intel compiler even though its version display includes "gcc
".
intel-flags
        Extend intel version to include icc-12*.

Tested on jam, koal, ostrich with h5committest.
Chedcked in to trnk last week.
2012-03-09 16:50:36 -05:00
Jonathan Kim
bffb2fc65f [svn-r22037] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5ls tool.

Description:
  Update cmake script to fetch test files from any tools to a test directory
  and run test in organized manner. 
  Also keep the apperance similiar to shell script for better maintainance.
  
Tested:
  CMake (Windows and jam)
2012-03-09 10:13:54 -05:00
Jonathan Kim
185cc9746b [svn-r22031] Purpose:
Task for HDFFV-7862 - Select data by chunk direction to improve performance in h5repack

Description:
  h5repack sometimes became very slow when handling big chunked datasets in
  certain cases. (when chunk boundary doesn't match with a hyperslab boundary.)
  The main issue was from figuring out a hypeslab without considering chunk
  boundary to read from and write to such datasets.
  The update was made to figure out a better hyperslab unit with considering
  chunk boundary to improve performance for such cases prior to the update.


Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows
2012-03-06 10:41:55 -05:00
Allen Byrne
6a2c50b10a [svn-r22025] Cleanup compiler warnings.
Add HD prefix to tools library based tests. Cleaned allocation/free in tests.

Tested: local linux/ h5committetest
2012-03-05 09:19:02 -05:00
HDF Tester
7619eb4b18 [svn-r22023] Snapshot version 1.8 release 9 (snap11) 2012-03-04 19:27:29 -05:00
Allen Byrne
b16a1bf71c [svn-r22014] Add USER_BLOCK change and highlight whitespace changes for h5dump refactoring 2012-03-02 09:39:58 -05:00
Allen Byrne
68d93b7f4e [svn-r22013] HDFFV-7560:
Merge 1.8 and h5dump/tools and tests based on tools library from trunk.
Reduced warnings.

HDFFV-7949:
Remove duplicated functions in h5ls

Tested: local linux,h5committest
2012-03-02 09:21:13 -05:00
Albert Cheng
c714d9ef43 [svn-r22000] Updated for the changes made to IBM configure.
Also update the IBM tested platform information.
2012-02-28 07:46:19 -05:00
Albert Cheng
e46c4aeee5 [svn-r21998] Feature: HDFFV-7793: AIX Fortran and C++ Compiler version information
Added code to display the version information of XL fortran and C++ compiler
version information. (This is just a quick fix for the AIX XL compilers.
The overall algorithm of compilers version information needs an overhaul.)

Tested: ADA machine. (No committest because the changes applied to AIX XL
compilers only.)
2012-02-28 07:34:11 -05:00
HDF Tester
a263f6cfdb [svn-r21961] Snapshot version 1.8 release 9 (snap10) 2012-02-19 19:22:11 -05:00
Quincey Koziol
470bc6a33b [svn-r21948] Description:
Bring r21947 from trunk to 1.8 branch:

    Catch a missing FUNC_ENTER that escaped the recent pass through the source
code.

Tested on:
    None, too minor, just eyeballed.
2012-02-16 11:03:35 -05:00
Quincey Koziol
34e40a1294 [svn-r21935] Description:
Bring r21932 & r21934 from trunk to 1.8 branch:

r21932:
    Correct misnamed FUNC_ENTER macro.

r21934:
    Remove some leftover uses of the __FUNCTION__ macro, replacing them with
FUNC macro, as used everywhere else.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug & production
2012-02-13 10:35:21 -05:00
Dana Robinson
7d8acc2824 [svn-r21927] Updated RELEASE.txt with HDFFV-7780 information. 2012-02-10 16:51:40 -05:00
Dana Robinson
944da8a83b [svn-r21926] Merged fix for HDFFV-7780 (incorrect Windows thread creation function) from trunk (changeset 21816).
Tested on 64-bit Windows 7.  This has baked in the trunk since Dec 5 with no issues.
2012-02-10 16:42:37 -05:00
Quincey Koziol
5f94d17285 [svn-r21925] Description:
Bring r21919-21924 from trunk to 1.8 branch: cleanup FUNC_ENTER macros,
etc.

    Also removed Subversion mergeinfo tags from a few directories and files.
These are artifacts from non-root merges using pre-1.6 Subversion clients. (This
should fix the problem of unchanged directories looking "changed" during
checkins.)

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug & production
    (daily tested on trunk)
2012-02-10 14:48:08 -05:00
Quincey Koziol
f16098f402 [svn-r21918] Description:
Bring r21917 from trunk to 1.8 branch:

    Bring [spirit of] r20393 from coverity branch back to trunk:

Move initialization ocrt_info.new_obj = NULL; before FUNC_ENTER_NOAPI -- gh

Tested on:
    Mac OS X/64 10.7.3 (amazon) w/debug, production & parallel
    (too minor to require h5committest)
2012-02-08 08:41:23 -05:00
Raymond Lu
dda14b5a1c [svn-r21914] Issue 7829 - data conversion from "long double" to integers failed on Ubuntu with optimization. I documented it as
a known solution and provided users a way to lower down the optimization.

No test.
2012-02-07 16:43:38 -05:00
Raymond Lu
a7c969372e [svn-r21912] Issue 7756 - Creating a dataset in a read-only file caused seg fault when the file is closed. I fixed the problem by putting a condition check early in H5O_create of H5O.c. The old code checked it too late, not until a file space is created. I added a test case in tfile.c to check the creation of group, dataset, attribute, and datatype.
Tested on jam - I've tested the same changes in the trunk with h5committest.
2012-02-07 10:49:44 -05:00
HDF Tester
4596ad79a9 [svn-r21911] Snapshot version 1.8 release 9 (snap9) 2012-02-05 19:54:51 -05:00
Jonathan Kim
66be4be4e5 [svn-r21901] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5repack cmake test.

Description:
  Update cmake script to clean up correctly.
  Revisit h5repack cmake test script updated from r21870.
  Also sync with HDF5 trunk. (Jira 2605)
  
Tested:
 cmake test for Windows (32-LE) and jam (linux32-LE)
2012-01-30 13:31:12 -05:00
HDF Tester
f59e450d9c [svn-r21899] Snapshot version 1.8 release 9 (snap8) 2012-01-29 19:26:11 -05:00
Jonathan Kim
2558bfc562 [svn-r21892] Purpose:
Fix for HDFFV-7836 h5diff: displays error stack message for comparing the two dangling symlink with follow-symlinks option

Description:
  While ago, to improve performance, skipping same object checking 
  (h5tools_is_obj_same()) was added. 
  However the checking function doesn't understand about the dangling link and
  caused the issue. 
  Since handling dangling link code section already implemented, move the 
  checking function after handling dangling-links to address the problem.
  Test was added and tagged with jira#.

Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-01-25 16:12:15 -05:00
Allen Byrne
012c46e3d0 [svn-r21887] Correct name of Test Timeout 2012-01-23 09:18:22 -05:00
HDF Tester
8f2a6ff7f7 [svn-r21885] Snapshot version 1.8 release 9 (snap7) 2012-01-22 19:27:06 -05:00
Neil Fortner
58672215f4 [svn-r21883] Remove spurious (orphaned?) function declaration in H5Zpkg.h
Tested: durandal (too minor for full h5committest)
2012-01-20 15:47:29 -05:00
Allen Byrne
d47dbd72d3 [svn-r21881] Add cygwin changes for ext libs 2012-01-18 10:34:05 -05:00
HDF Tester
3457f23dde [svn-r21877] Snapshot version 1.8 release 9 (snap6) 2012-01-15 19:26:17 -05:00
Jonathan Kim
888a5cb1f8 [svn-r21875] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5copy tool.

Description:
  Update cmake script to fetch test files from anywhere.
  Also keep the apperance similiar to shell script for better maintainance.
  some updated shell script.
  Merged from HDF5 trunk r21874

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-01-12 17:22:54 -05:00
Jonathan Kim
14068b3ba7 [svn-r21873] Update a comment to make clear from the previous commit (r21870) for HDFFV-7840. 2012-01-11 09:45:29 -05:00
Jonathan Kim
5540ecb72d [svn-r21870] Purpose:
Fix for HDFFV-7840 h5repack: memory leak over one of the h5diff test file

Description:
  Turned out that there were two causes of memory leaks.
  1. for handling variable length string in attribute. 
  2. for handling compound type with non-reference members.  
  The first issue is fixed in copy_attr() which is updated to use h5tools_detect_vlen to take care of vlen string as well as vlen data. 
  The second is fixed in copy_refs_attr() of compound handling code.
  Merged from HDF5 trunk r21869.
  
Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-01-10 11:23:38 -05:00
HDF Tester
da199c11f4 [svn-r21868] Snapshot version 1.8 release 9 (snap5) 2012-01-08 19:26:38 -05:00
Jonathan Kim
26c62123eb [svn-r21866] Purpose:
Fix for HDFFV-7838 h5ls: segfault for handling region reference in attribute with -v option

Description:
  Segfault occurred when h5ls access region reference data in an attribute. 
  This didn't occurred when -v option was used. 
  The cause was "h5tool_format_t info;" struct variable members were accessed
  without proper values were assigned (was NULL), so printf failed later in the code.
  Merged from HDF5 trunk r21865.
  
Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), , cmake-Windows (32-LE)
2012-01-06 11:17:22 -05:00
Frank Baker
677ad4d18f [svn-r21862] Description:
Update copyright to include the year 2012.
2012-01-03 14:46:06 -05:00
Allen Byrne
78a3c278b6 [svn-r21860] Force the setting of test timeout for CTestScript use 2012-01-03 12:09:53 -05:00
HDF Tester
2f06600bbb [svn-r21858] Snapshot version 1.8 release 9 (snap4) 2012-01-01 19:25:16 -05:00
Allen Byrne
58fdcc01a4 [svn-r21855] Remove cdash variables for use with CTestScript.cmake processing.
Tested: windows
2011-12-30 13:30:13 -05:00
Allen Byrne
d30a1274b2 [svn-r21853] Updated cdash variables for use with CTestScript.cmake processing.
Tested: windows
2011-12-30 10:33:28 -05:00