Commit Graph

13281 Commits

Author SHA1 Message Date
Quincey Koziol
1218a11370 [svn-r23416] Description:
Bring r23415 from trunk to 1.8 branch:

Avoid using fpclassify() for detecting zero/non-zero values.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/debug
2013-03-21 13:21:19 -05:00
Allen Byrne
fa964fa019 [svn-r23413] Add test depends on clear test. Occasional failures. 2013-03-21 09:25:18 -05:00
Quincey Koziol
1d95950134 [svn-r23396] Description:
Bring r23395 from trunk to 1.8 branch:

    Bring Coverity changes from branch to trunk:

r20682:
fixed coverity:
76, 77, 635, 636, 1164, 1165, 1166, 1121, 1122, 1117, 1343

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-03-19 23:41:16 -05:00
Peter Cao
1e56e8ce4f [svn-r23391] Adding notes for fixing HDFFV-8346 and HDFFV-8344 2013-03-19 16:36:53 -05:00
Peter Cao
a8b0ddf52b [svn-r23383] fixed HDFFV-8344 and HDFFV-8346: add info for user registered filter in h5dump 2013-03-19 13:48:23 -05:00
HDF Tester
e96b3e8cb2 [svn-r23364] Snapshot version 1.8 release 11 (snap13) 2013-03-17 16:42:11 -05:00
Scot Breitenfeld
c296178bb8 [svn-r23362] -r23091 and 23093 from trunk.
Tested: jam (intel)
2013-03-17 09:58:48 -05:00
Allen Byrne
fc41dda51f [svn-r23355] Correct target name 2013-03-15 10:28:01 -05:00
Scot Breitenfeld
c129390dfe [svn-r23352] merged -r22826:23050 and -r23060:23351 from trunk into branch.
Tested: jam (gnu, intel)
2013-03-15 00:08:29 -05:00
Scot Breitenfeld
f0769763b5 [svn-r23351] brought r23066 from trunk into branch:
r23066 | byrn | 2012-11-29 09:50:21 -0600 (Thu, 29 Nov 2012) | 2 lines

HDFFV-8265: create .def file during configure, added F2003 optional functions and refactor ISO_C_BINDING usage in cmake files
Tested: local cmake
2013-03-14 19:58:05 -05:00
Frank Baker
985087a259 [svn-r23349] Description:
Move introduction of new function, H5DOwrite_chunk, from "Bug fixes" 
        to "New Features" section.
    Consistency cleanup.
Tested:  Firefox
2013-03-14 13:41:37 -05:00
Allen Byrne
9978c91712 [svn-r23343] HDFFV-8322: for valgrind testing, split-up testhdf5 tests by excluding and running long running tests separately.
Merged from trunk.

Tested: local linux
2013-03-12 13:53:15 -05:00
HDF Tester
6fb96043f3 [svn-r23342] Snapshot version 1.8 release 11 (snap12) 2013-03-10 16:50:07 -05:00
Albert Cheng
355a469192 [svn-r23339] Updated with HDFFV-8305 fix. 2013-03-07 15:58:54 -05:00
Albert Cheng
ebc8fa918d [svn-r23337] Bug fix: HDFFV-8305
Some systems, like Mac, strings inspect library files and older versions
of strings maybe know newer library format, resulting in errors.
Make it read the file as stdin, avoiding this problem. 

Tested: h5committest. all passed.
2013-03-07 15:54:22 -05:00
Allen Byrne
e4f8f911f6 [svn-r23334] Update CMake documentation, remove obsolete info for windows. 2013-03-06 14:31:52 -05:00
Scot Breitenfeld
5b25a40fa4 [svn-r23330] Merged r23325 from the trunk into the branch.
Tested: jam (intel)
2013-03-06 09:24:44 -05:00
Albert Cheng
4b086bdcaa [svn-r23328] Added the reference of the requirement of POSIX Compliance. 2013-03-05 17:35:53 -05:00
HDF Tester
ab5a49b8bd [svn-r23324] Snapshot version 1.8 release 11 (snap11) 2013-03-03 21:47:16 -05:00
Quincey Koziol
b2f2370b1f [svn-r23321] Description:
Merge r23313 from trunk to 1.8 branch:

    Bring changes from Coverity branch to the trunk:

    r20612:
    Changed string functions to versions with string length to fix coverity issues
    922, 942 and 943.

    r20614:
    Use HDsnprintf. --gh

    r20675:
    Fix for coverity #1714 due to the fix for #810.
    Use HDfree() instead of H5MM_xfree().

    r20678:
    Repaired coverity issue #598 -- failure to check return value from a
    call to fstat(), or to tidy up in the event of failure.

    r20679:
    Use HDstrncpy. --gh

    r20681:
    Use HDstrncat and HDstrncpy. --gh

Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug, C++ & FORTRAN
    (too minor to require h5committest)
2013-02-27 14:22:27 -05:00
Allen Byrne
e8fa6193f5 [svn-r23319] 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-25 13:29:52 -05:00
Allen Byrne
62ed247721 [svn-r23318] HDFFV-8311: Improve tools testing and eliminate dependency problems
Tested: local linux
2013-02-25 12:26:14 -05:00
Allen Byrne
0272351e49 [svn-r23315] Correct typo in DEPENDS 2013-02-25 11:41:24 -05:00
HDF Tester
cb50a4e8d8 [svn-r23312] Snapshot version 1.8 release 11 (snap10) 2013-02-24 21:55:48 -05:00
Jonathan Kim
6bf2f2482e [svn-r23309] Purpose:
HDFFV-7643 - h5diff - incorrect exit-code returns for extra attribute exist

Description:
   h5diff: Fixed to return correct exit code 1 when detect unique
   attribute. Prior to this fix, h5diff returned exit code 0 indicating 
   two files are identical.
   Merged from HDF5 trunk r23304.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE), emu (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2013-02-21 14:23:53 -05:00
Allen Byrne
53bec20a49 [svn-r23303] incorrectly added 2013-02-18 14:13:07 -05:00
Allen Byrne
bc617d2b63 [svn-r23302] Remove old file names 2013-02-18 14:10:11 -05:00
Allen Byrne
1629fd1ee7 [svn-r23301] 2013-02-18 14:03:53 -05:00
Albert Cheng
79bc86c220 [svn-r23299] Updated with bug fix entry of HDFFV-8267.
Since this is a testing code error that does not affect the function of the
library or tools, I started a new "Testing" section for this sort of changes.
2013-02-18 11:28:57 -05:00
Albert Cheng
52281ac2cb [svn-r23298] Bug fix: HDFFV-8267
The ERROR macro had a typo of missing a separator comma. When used, it seg.
fault. Added the comma back in.
Fix is reviewed in Crucible HDF5-107.

Tested: h5committest passed. Also tested using the ERROR macro in the
Mac (Owl) platform. Before fix, it seg. fault. After fix, it prints the
message as intended.
2013-02-18 11:11:35 -05:00
Scot Breitenfeld
a66624ed68 [svn-r23292] H5DSget_scale_name changed behavior and fix noted. 2013-02-17 19:55:01 -05:00
Scot Breitenfeld
c3fe966251 [svn-r23291] brought r23241 into the branch.
Fix for: HDFFV-7596
H5DSget_scale returns size that includes NULL termination and H5DSget_label returns size NOT including NULL termination
2013-02-17 19:46:21 -05:00
Frank Baker
dd422291e0 [svn-r23268] Description:
Update copyright to 2013.
Tested:  Firefox
2013-02-13 17:13:30 -05:00
Neil Fortner
749522bbd6 [svn-r23265] Merge revisions 23230, 23234, and 23237 to 1.8 branch
Purpose: Implement H5Dscatter and H5Dgather

Description:
Adds 2 new API functions, H5Dscatter and H5Dgather.  H5Dscatter retrieves data
from a specified callback function and scatters it into a selection, defined by
a supplied dataspace, within a supplied memory buffer.  H5Dgather gathers data
from a selection within a supplied memory buffer and passes it in a contiguous
form to a supplied callback function.  Added tests for these functions

Tested: jam, ostrich, koala (h5committest); ummon; ummon (1.8)
2013-02-13 16:55:48 -05:00
Scot Breitenfeld
8dcb0ee3d0 [svn-r23261] Brought r23235 from trunk into branch. 2013-02-12 19:04:15 -05:00
Raymond Lu
dc1c567135 [svn-r23246] I added the information about the new function H5DOwrite_chunk.
No test is needed.
2013-02-11 16:21:10 -05:00
HDF Tester
5a4e808656 [svn-r23243] Snapshot version 1.8 release 11 (snap9) 2013-02-10 21:49:05 -05:00
Quincey Koziol
99c03f4fb6 [svn-r23239] Description:
Bring r23238 from trunk to 1.8 branch:

    Bring changes from Coverity branch to trunk:

r20528:
Purpose: Fix coverity issue 1372

Description: Rewrite file open secition of H5FD_stdio_open to avoid TOCTUO
condition.  No longer calls access, and uses a tentative open in "rb" or "rb+"
mode to check for existence of the file.

r20609:
Use HDstrncpy and HDstrncat. --gh

r20611:
Use HDstrncpy. --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug, C++ & FORTRAN
    (h5committest not required, already tested on branch)
2013-02-09 12:21:24 -05:00
Jonathan Kim
bf59bd4d09 [svn-r23229]
Purpose: 
    Revert back one of the coverity updates from previous (r23220) checkin. "r20457: Coverity issue 691" in previous svn log.  Only revert the change about using "STDOUT_FILENO".

Description:
    Using "STDOUT_FILENO" caused error on Windows. On unix it's defined in <unistd.h>, but not in Windows.  After a little discussion with Allen, he remembered how the similar case were handled for h5dump redirecting those streams. (in h5dump.c) However it would requires more attention to apply, so this issue is entered as a separate task in jira HDDFV-8306.

    
Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE)
2013-02-05 11:13:49 -05:00
Quincey Koziol
ccdd2b66f1 [svn-r23224] Description:
Bring r23223 from trunk to 1.8 branch:

    Revert use of snprintf() for sprintf(), as it is not supported on Windows.
(And file a bug, http://jira.hdfgroup.uiuc.edu/browse/HDFFV-8302, for the
general problem)

Tested:
    Mac OSX/64 10.8.2 (amazon)
2013-02-04 09:46:14 -05:00
HDF Tester
87cd27e6d8 [svn-r23222] Snapshot version 1.8 release 11 (snap8) 2013-02-03 21:38:36 -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
6774149c17 [svn-r23218] Comment out new fortran functions not yet merged from trunk
Tested: windows
2013-02-01 09:32:16 -05:00
Allen Byrne
d4f752c335 [svn-r23214] Remove obsolete file 2013-01-31 13:41:54 -05:00
Allen Byrne
af73176e79 [svn-r23213] HDDFV-8292 added not about change in HDF_LEGACY_NAMING option default. 2013-01-31 12:57:16 -05:00
Allen Byrne
ac80893727 [svn-r23212] HDFFV-8292: Disable HDF_LEGACY_NAMING by default 2013-01-31 12:43:39 -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
Mohamad Chaarawi
bf473b40f5 [svn-r23199] merge 23165 from trunk
HDFF-8203 Break H5FDmpi.h header into public and private components
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8203
2013-01-24 15:07:24 -05:00
Raymond Lu
a1bd48eb2b [svn-r23194] I changed the call to H5P_object_verify to H5I_object as the header file H5Iprivate.h is included but not H5Pprivate.h.
Tested on koala, jam, ostrich.
2013-01-23 10:10:46 -05:00
Albert Cheng
090ec43d23 [svn-r23188] Addition of cmakehdf5. 2013-01-22 10:51:32 -05:00