Commit Graph

13234 Commits

Author SHA1 Message Date
Raymond Lu
55822485c6 [svn-r23346] First commit for DESY project. It has the basic functionality of loading dynamically filter libraries and a simple test for it.
Tested on koala.
2013-03-13 14:35:26 -05:00
Raymond Lu
d9baac8b0b [svn-r23245] I added the information about the new function H5DOwrite_chunk.
No test is needed.
2013-02-11 16:20:37 -05:00
Allen Byrne
23d2b5d557 [svn-r23244] Correct test dependency handling.
Tested: local linux
2013-02-11 15:15:17 -05:00
Scot Breitenfeld
b37820aecb [svn-r23242] Added info. about changed behavior of H5DSgetscale_name (HDFFV-7596) 2013-02-10 21:18:24 -05:00
Scot Breitenfeld
871b69723e [svn-r23241] Fix for: HDFFV-7596 H5DSget_scale returns size that includes NULL termination and H5DSget_label returns size
Updated tests.

Tested: jam( gnu, intel)
2013-02-10 21:06:01 -05:00
HDF Tester
944f0399ac [svn-r23240] Snapshot version 1.9 release 143 2013-02-10 11:25:10 -05:00
Quincey Koziol
d91625d139 [svn-r23238] Description:
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-08 15:36:31 -05:00
Neil Fortner
692fa69934 [svn-r23237] 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
2013-02-08 11:49:21 -05:00
Scot Breitenfeld
386f73823a [svn-r23236] Fix for: HDFFV-8223
Write a Fortran test for conversion fron enum to numeric type 

Tested (jam, gnu, intel)
2013-02-07 19:28:55 -05:00
Scot Breitenfeld
69a777556e [svn-r23235] Fix for:
HDFFV-7909
When building with g95 on Mac OS X 64-bit, the wrong options (gfortran) are used 

Tested: duck (gfortran, g95 (which is not supported))
2013-02-07 19:09:24 -05:00
Neil Fortner
400bf73d17 [svn-r23234] Fix out-of-bounds errors on pgcc for H5Dscatter and H5Dgather tests.
Tested: jam (pgcc), ummon (gcc)
2013-02-07 16:57:57 -05:00
Neil Fortner
0e3517d34f [svn-r23230] 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
2013-02-05 12:07:02 -05:00
Jonathan Kim
d7a07d62a4 [svn-r23228] Purpose:
Revert back one of the coverity updates from previous 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:09:45 -05:00
Allen Byrne
b1e0f6c5a5 [svn-r23227] HDFFV-8215 - update help text to be cosistent with the RM entry.
Tested: local linux
2013-02-05 10:11:47 -05:00
Allen Byrne
c3e149d06f [svn-r23226] HDFFV-8285: suppress-ddl option: Changed file options to allow for filename F to be optional.
Tested: local linux
2013-02-04 15:15:59 -05:00
Quincey Koziol
c0b2724d4d [svn-r23223] Description:
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:42:21 -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
Peter Cao
5140343f45 [svn-r23217] add scalr vlen string datasets 2013-01-31 17:15:15 -05:00
Allen Byrne
415aa7e257 [svn-r23216] Add newline for special case of only raw data to stdout 2013-01-31 15:51:23 -05:00
Allen Byrne
b84234d23c [svn-r23209] Change "diff -b" to just "cmp" for tests. diff is for text files and the ddl redirect does not have an ending newline. 2013-01-31 09:28:04 -05:00
Peter Cao
9d23b171a5 [svn-r23208] adding a large compound dataset to the test file 2013-01-30 17:06:40 -05:00
Peter Cao
4cb3d328ca [svn-r23207] add the new test file to the list. 2013-01-30 16:09:56 -05:00
Peter Cao
d42db65e89 [svn-r23206] minor fixes for number of attributes to be created. 2013-01-30 15:53:15 -05:00
Peter Cao
7461ce3958 [svn-r23205] correct a typo in the instruction. 2013-01-30 15:06:46 -05:00
Peter Cao
1b4769d016 [svn-r23204] Update help information. 2013-01-30 15:00:19 -05:00
Peter Cao
ab2f0d00f3 [svn-r23203] Add test program to generate test file for checking performance. 2013-01-30 14:37:33 -05:00
Allen Byrne
3b787c97d3 [svn-r23202] Add another warning to ignore list 2013-01-29 14:33:55 -05:00
Allen Byrne
6fca8e80d0 [svn-r23201] Correct option text 2013-01-29 14:31:27 -05:00
Allen Byrne
82ac7b92e3 [svn-r23198] Remove -q option from diff as some OS do not support it.
Tested: local linux
2013-01-24 09:13:47 -05:00
Albert Cheng
cf1821d116 [svn-r23197] prints out what and where the log files are.
Set it NOT to submit result to the CDASH.
2013-01-23 18:22:39 -05:00
Raymond Lu
2233570f16 [svn-r23196] 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 jam.
2013-01-23 10:37:51 -05:00
Allen Byrne
81a6f5be7c [svn-r23195] Compares without end of file newlines
Tested: duck
2013-01-23 10:16:14 -05:00
Allen Byrne
5650be2d1a [svn-r23193] Rename ddl export file and force file write on copy for windows.
Tested: local linux
2013-01-23 08:48:54 -05:00
Allen Byrne
ff421d9424 [svn-r23190] HDFFV-8285: Add suppress ddl option.
Tested: local linux
2013-01-22 15:43:12 -05:00
Allen Byrne
0b107827ec [svn-r23185] Comment out unimplemented tests 2013-01-22 09:00:05 -05:00
Albert Cheng
488453cdfc [svn-r23184] Addition of cmakehdf5. 2013-01-21 23:06:24 -05:00
HDF Tester
37d1a0330a [svn-r23180] Snapshot version 1.9 release 141 2013-01-20 11:23:56 -05:00
Allen Byrne
3ddf8006a1 [svn-r23178] Comment out unimplemented tests 2013-01-18 14:49:11 -05:00
Allen Byrne
b807327433 [svn-r23177] Adjust mkdir to create all dependent folders 2013-01-18 14:33:00 -05:00
Allen Byrne
c352249db1 [svn-r23176] Separate testfiles into subdirs of TestDir to avoid parallel test errors trying to copy a reference file over when already in use.
Tested: local linux
2013-01-18 10:51:59 -05:00
Allen Byrne
769c50cbdc [svn-r23175] Comment out uncommitted tests. 2013-01-18 08:19:58 -05:00
Allen Byrne
0068ead81c [svn-r23174] Correct list items 2013-01-17 14:57:29 -05:00
Allen Byrne
0aba80fb13 [svn-r23173] export files must be handled differently on windows 2013-01-17 14:55:39 -05:00
Allen Byrne
a02d99ab61 [svn-r23170] Switch script to copy files to TESTDIR and execute
Tested: h5committest
2013-01-16 14:23:25 -05:00
Allen Byrne
ceb07d21b0 [svn-r23169] HDFFV-8169: String binary dump test scripts 2013-01-16 13:38:58 -05:00
Allen Byrne
c80e3a0d13 [svn-r23168] HDFFV-8169: String binary dump testfiles 2013-01-16 13:35:48 -05:00
Albert Cheng
629b737016 [svn-r23167] Removed the working in Jam only statement since it works for all THG unix
platforms except Linew (SunOS).
2013-01-16 11:08:38 -05:00
Allen Byrne
35c2e47c60 [svn-r23166] Comment out redirect-ddl tests - incomplete 2013-01-15 11:36:09 -05:00
Mohamad Chaarawi
cb6d2f2a45 [svn-r23165] HDFF-8203 Break H5FDmpi.h header into public and private components
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8203

tested: h5committest
2013-01-15 10:32:23 -05:00