Commit Graph

12758 Commits

Author SHA1 Message Date
Raymond Lu
394caf9adf [svn-r21891] 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 koala, jam, and linew.
2012-01-25 15:06:09 -05:00
Jonathan Kim
13ef2d1fbb [svn-r21890] 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-24 15:39:59 -05:00
Allen Byrne
06f7971a13 [svn-r21886] Correct name of Test Timeout 2012-01-23 09:17:39 -05:00
HDF Tester
0fd077c4c4 [svn-r21884] Snapshot version 1.9 release 106 2012-01-22 09:49:58 -05:00
Neil Fortner
ddc4f9eefb [svn-r21882] Remove spurious (orphaned?) function declaration in H5Zpkg.h
Tested: durandal (too minor for full h5committest)
2012-01-20 15:38:01 -05:00
Allen Byrne
5d65ab5dd2 [svn-r21880] Add cygwin changes for ext libs 2012-01-18 10:33:50 -05:00
Jonathan Kim
8055124566 [svn-r21874] 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.
  
Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE), Cmake (jam)
2012-01-11 17:46:31 -05:00
Jonathan Kim
429a51a6c3 [svn-r21872] Update a comment to make clear from the previous commit (r21869) for HDFFV-7840. 2012-01-11 09:39:49 -05:00
Jonathan Kim
00b9f24d9b [svn-r21869] 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.
  
Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE), Cmake (jam)
2012-01-09 16:24:50 -05:00
HDF Tester
e0db7c8922 [svn-r21867] Snapshot version 1.9 release 105 2012-01-08 10:39:01 -05:00
Jonathan Kim
d174933e19 [svn-r21865] 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.
  
Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  cmake-Windows (32-LE)
2012-01-05 10:16:03 -05:00
Frank Baker
7d0c15b794 [svn-r21861] Description:
Update copyright to include the year 2012.
2012-01-03 14:45:56 -05:00
Allen Byrne
b38fdf4c57 [svn-r21859] Force the setting of test timeout for CTestScript use 2012-01-03 12:09:34 -05:00
HDF Tester
871e139ba8 [svn-r21857] Snapshot version 1.9 release 104 2012-01-01 09:46:54 -05:00
Allen Byrne
de5c708448 [svn-r21856] Remove cdash variables for use with CTestScript.cmake processing.
Tested: windows
2011-12-30 13:30:47 -05:00
Allen Byrne
b39c7da7b7 [svn-r21854] Remove cdash variables for use with CTestScript.cmake processing.
Tested: windows
2011-12-30 13:27:14 -05:00
Allen Byrne
aa38c92449 [svn-r21852] Updated cdash variables for use with CTestScript.cmake processing.
Tested: windows
2011-12-30 10:33:06 -05:00
HDF Tester
c5140decc3 [svn-r21850] Snapshot version 1.9 release 103 2011-12-25 09:56:40 -05:00
Allen Byrne
63f8f1ec66 [svn-r21847] CTestScript generalized and not needed inside project. 2011-12-22 14:09:12 -05:00
Allen Byrne
c797a82898 [svn-r21845] Added quotes around initcache option to allow use on windows 2011-12-22 11:47:17 -05:00
Allen Byrne
e441a676eb [svn-r21841] Added option to skip testing
Tested: local linux
2011-12-21 15:30:13 -05:00
Allen Byrne
79c347c1ee [svn-r21840] Created CTestScript.cmake to better control the cmake processing of configuration, compile, test, and packing.
Tested: local linux
2011-12-21 14:46:47 -05:00
Allen Byrne
eebe37ee4a [svn-r21836] Updated ext lib so version and lib packaging macros
Synch across projects
2011-12-20 11:38:34 -05:00
Allen Byrne
a6d5efaf89 [svn-r21834] Updated jpeg so version and lib packaging macros
Synch with all projects
2011-12-20 11:11:07 -05:00
HDF Tester
e24dc16d0b [svn-r21831] Snapshot version 1.9 release 102 2011-12-18 09:32:12 -05:00
Allen Byrne
5568b320b9 [svn-r21829] synch common macros files with new hdf4 option to build shared jpeg libray - JIRA 1276. 2011-12-14 16:26:17 -05:00
HDF Tester
993c56b859 [svn-r21824] Snapshot version 1.9 release 101 2011-12-11 09:34:52 -05:00
Dana Robinson
354adf632e [svn-r21816] Fix for JIRA HDFFV-7780
Updates Windows thread-safe code in H5TS.c to use _beginthread instead of CreateThread.

Tested on 64-bit Windows 7 with Visual Studio 2010 using CMake.  Both 32- and 64-bit builds were tested.
2011-12-05 21:52:15 -05:00
Jonathan Kim
8478d45016 [svn-r21815] Description:
Add test case to unix test-script for "HDFFV-2567 - added test for be generated files with at least 9 attributes at root". It's committed previously as r21812 along with Cmake test.

Tested:
  jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
2011-12-05 17:27:21 -05:00
Allen Byrne
8b2bbfc853 [svn-r21814] HDFFV-2567 - added test for be generated files with at least 9 attributes at root
Tested: local linux
2011-12-05 15:34:29 -05:00
Allen Byrne
b6c3da9733 [svn-r21813] CMAKE_BUILD_TYPE compares to "Debug" not "DEBUG" 2011-12-05 15:25:18 -05:00
Allen Byrne
478b173358 [svn-r21808] Update CMake Required version to match current standard 2.8.6 2011-12-05 11:47:03 -05:00
Allen Byrne
cc3eb8da73 [svn-r21804] Update CMake Required version in all folders to match current standard 2.8.6 2011-12-05 11:19:09 -05:00
Neil Fortner
414e34edb9 [svn-r21801] Remove unintentional change to dsets.c from r21793.
Tested: durandal
2011-12-05 10:44:04 -05:00
Quincey Koziol
51d81cb5ef [svn-r21796] Description:
Back out r21782 while I figure out what the problem is with the change.

Tested on:
    Daily tests... :-/
2011-12-02 08:40:37 -05:00
Neil Fortner
d34c5fdb79 [svn-r21793] Add RELEASE.txt note for r21789 2011-12-01 13:35:54 -05:00
Neil Fortner
738a33556c [svn-r21792] Add ^L marker to test introduced in r21789 2011-12-01 10:48:32 -05:00
Neil Fortner
19f75c804a [svn-r21789] Purpose: Fix HDFFV-7833
Description:
When shrinking a chunked dataset, the library fills in the unused parts of
chunks that have been shrunk.  The fill value buffer allocated for this purpose
had a maximum size of 1 MB, but the fill was performed in a single operation.
Therefore, if the amount of unused space in a chunk after being shrunk was
greater than 1 MB, the library would read off the end of the fill value buffer.
Changed the maximum fill buffer size to be equal to the chunk size.

Tested: durandal; jam, koala, heiwa (h5committest)
2011-12-01 10:00:27 -05:00
Allen Byrne
a529e1ae55 [svn-r21787] Unify CMake config macros, split base macros from ext lib macros
Tested: local linux
2011-12-01 09:13:44 -05:00
Allen Byrne
0d561e64fe [svn-r21786] remove HDF_LEGACY option for lib naming on windows 2011-11-30 23:12:16 -05:00
Allen Byrne
6357e17185 [svn-r21785] Correct static lib naming when on windows 2011-11-30 23:10:34 -05:00
Allen Byrne
32f91a685b [svn-r21783] Correct macros for building static libs on linux when CMAKE_BUILD_TYPE is defined.
Also correct use of CMAKE_ANSI_FLAGS for passing into sub-projects.
2011-11-30 15:28:47 -05:00
Quincey Koziol
49652319c9 [svn-r21782] Description:
Rearrange checks for reasons why we break collective I/O back to independent
I/O into "global" and "local" sections.  We should try to minimize the checks
in the "local" section...

Tested on:
    Mac OS X/32 10.7.2 (amazon) w/parallel
    (too minor to require h5committest)
2011-11-30 15:26:18 -05:00
Scot Breitenfeld
d66172b99f [svn-r21778] Description:
Added test for h5dget_space_status_f.

Tested: jam (gnu, intel, pgi)
2011-11-28 23:21:56 -05:00
Scot Breitenfeld
f210c86df3 [svn-r21777] Description:
Changed, INTENT of flag to be OUT instead of IN for h5dget_space_status_f, the value gets changed so it should have intent(OUT), it
is correct in the documentation.

Tested: jam (gnu, intel, pgi)
2011-11-28 23:15:42 -05:00
HDF Tester
eada074cc8 [svn-r21775] Snapshot version 1.9 release 100 2011-11-27 09:32:15 -05:00
Allen Byrne
88dc9b36d8 [svn-r21772] Correctly use CMAKE_BUILD_TYPE in functions for building extrnal libraries.
Tested: local linux
2011-11-22 13:15:34 -05:00
HDF Tester
cf472f86fc [svn-r21770] Snapshot version 1.9 release 99 2011-11-20 09:32:13 -05:00
Allen Byrne
d3225c4f39 [svn-r21764] HDFFV-7798: CMake on linux. Corrected path component in fortran/src and hl/fortran/src and the install command. 2011-11-15 12:54:18 -05:00
Allen Byrne
ab7b2c0fc0 [svn-r21761] HDFFV-7798: CMake on linux, building Static with zlib built internally. Corrected path component in EXTERNAL_ZLIB_LIBRARY macro.
Tested: linux
2011-11-15 11:58:10 -05:00