summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23290] Snapshot version 1.9 release 144HDF Tester2013-02-172-3/+3
|
* [svn-r23240] Snapshot version 1.9 release 143HDF Tester2013-02-102-3/+3
|
* [svn-r23238] Description:Quincey Koziol2013-02-083-15/+24
| | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r23237] Purpose: Implement H5Dscatter and H5DgatherNeil Fortner2013-02-081-3/+7
| | | | | | | | | | | 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
* [svn-r23230] Purpose: Implement H5Dscatter and H5DgatherNeil Fortner2013-02-052-1/+212
| | | | | | | | | | | 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
* [svn-r23223] Description:Quincey Koziol2013-02-041-4/+4
| | | | | | | | | 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)
* [svn-r23221] Snapshot version 1.9 release 142HDF Tester2013-02-032-3/+3
|
* [svn-r23219] Description:Quincey Koziol2013-02-026-333/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r23196] I changed the call to H5P_object_verify to H5I_object as the ↵Raymond Lu2013-01-231-3/+3
| | | | | | header file H5Iprivate.h is included but not H5Pprivate.h. Tested on jam.
* [svn-r23180] Snapshot version 1.9 release 141HDF Tester2013-01-202-3/+3
|
* [svn-r23165] HDFF-8203 Break H5FDmpi.h header into public and private componentsMohamad Chaarawi2013-01-157-65/+46
| | | | | | https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8203 tested: h5committest
* [svn-r23162] synchronized DECTRIS branch (r23161) with the trunkRaymond Lu2013-01-145-35/+283
|\
| * [svn-r23161] ported revisions 23146:23160 from the trunkRaymond Lu2013-01-143-4/+4
| |
| * [svn-r23152] I took out the obsolete function H5PSIwrite_chunk and its ↵Raymond Lu2013-01-112-89/+1
| | | | | | | | | | | | related test and performance test. Tested on koala.
| * [svn-r23147] ported revisions 23081:23145 from the trunkRaymond Lu2013-01-098-766/+666
| |
| * [svn-r23081] ported revisions 22987 to 23080 from the trunkRaymond Lu2012-12-0614-292/+92
| |
| * [svn-r23078] I took out O_SYNC flag from the code. I used it to do ↵Raymond Lu2012-12-053-6/+3
| | | | | | | | | | | | | | | | performance test. But we decided not to support it. Tested on koala.
| * [svn-r23075] I revised the code and test according to Quincey's review. I ↵Raymond Lu2012-12-043-18/+19
| | | | | | | | | | | | also added more test cases. Tested on koala.
| * [svn-r23017] I added a prototype function H5DOwrite_chunk in HL library for ↵Raymond Lu2012-11-075-43/+187
| | | | | | | | | | | | | | | | | | Dectris people to test performance. The library's API function H5PSIdirect_write is still in. I reorganized the internal library by adding H5D__pre_write function. Tested on koala.
| * [svn-r22987] ported revisions from 22742 to 22986 from the trunkRaymond Lu2012-10-2941-616/+5005
| |
| * [svn-r22739] ported revisions 22615 to 22737 from the trunkRaymond Lu2012-09-0572-2391/+2895
| |\
| * | [svn-r22728] I forgot to include H5MMprivate.h header file for using ↵Raymond Lu2012-08-301-0/+1
| | | | | | | | | | | | | | | | | | H5MM_free function. Tested on koala.
| * | [svn-r22655] Dectris project - I changed the rank of the offset for ↵Raymond Lu2012-08-091-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | H5PSIdirect_write from RANK+1 to RANK. But internally, it expands to RANK+1 as the library requires it to terminate with a zero. Tested on koala.
| * | [svn-r22653] Dectris project: I revised the code per Quincey's suggestion.Raymond Lu2012-08-091-4/+6
| | | | | | | | | | | | Tested on koala.
| * | [svn-r22641] Dectris project: I revised the code per Quincey's and Neil's ↵Raymond Lu2012-08-0810-54/+56
| | | | | | | | | | | | | | | | | | comments. I added a performance benchmark program dectris_perf.c in the test/ directory. Tested on koala and jam.
| * | [svn-r22616] The code for H5PSIdirect_write and its test dectris_tst.c.Raymond Lu2012-07-306-0/+184
| | | | | | | | | | | | Tested on koala and jam.
* | | [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10Allen Byrne2013-01-141-1/+1
| | |
* | | [svn-r23153] Snapshot version 1.9 release 140HDF Tester2013-01-132-3/+3
| | |
* | | [svn-r23136] Snapshot version 1.9 release 139HDF Tester2013-01-062-3/+3
| | |
* | | [svn-r23121] Snapshot version 1.9 release 138HDF Tester2012-12-302-3/+3
| | |
* | | [svn-r23119] Snapshot version 1.9 release 137HDF Tester2012-12-232-3/+3
| | |
* | | [svn-r23111] Purpose:Dana Robinson2012-12-196-763/+663
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes for HDF5 1.8.10 p1 HDFFV-7975 Changed the max single I/O operation size on Darwin/Mac OS X. HDFFV-8124 and HDFFV-8158 Fixed a core VFD bug when large blocks of data are read. HDFFV-8246 Added more fields to the VFD read/write error messages. Tested on: 64-bit Windows 7, Visual Studio 2010, CMake 64-bit Mac OS X Snow Leopard (Fred), Fortran, C++ 64-bit BE Linux (Ostrich), Fortran, C++ 32-bit LE Linux (jam), Fortran, C++ (also parallel w/ Fortran)
* | | [svn-r23085] Snapshot version 1.9 release 136HDF Tester2012-12-092-3/+3
| | |
* | | [svn-r23071] Snapshot version 1.9 release 135HDF Tester2012-12-022-3/+3
| | |
* | | [svn-r23050] Snapshot version 1.9 release 134HDF Tester2012-11-252-3/+3
| | |
* | | [svn-r23048] Description:Quincey Koziol2012-11-211-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r20456 from Coverity branch to trunk: fixed coverity 678, 679 Tested on: Mac OSX/64 10.8.2 (amazon) w/debug (too minor to require h5committest)
* | | [svn-r23039] Snapshot version 1.9 release 133HDF Tester2012-11-182-3/+3
| | |
* | | [svn-r23021] Snapshot version 1.9 release 132HDF Tester2012-11-112-3/+3
| | |
* | | [svn-r23010] Description:Quincey Koziol2012-11-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Initialize cd_values pointer when cd_elemts is zero. Tested on: Mac OSX/64 (amazon) w/debug Windows (via Allen's builds)
* | | [svn-r22998] Description:Quincey Koziol2012-11-016-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings and bring changes from Coverity branch back to trunk: r20451: Fixed coverity 810 r20454: Purpose: Fix coverity issue 816 Description: Modified various file drivers to always check the return value from H5P_get_driver_info. r20455: Purpose: Cleanup fix for coverity issue 816 Description: Removed redundant check for "fa" in H5FD_core_open. Tested on: Mac OSX/64 10.8.2 (amazon) w/debug (Too minor to require h5committest)
* | | [svn-r22992] Purpose:Jonathan Kim2012-10-304-257/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HDFFV-8146 - Remove "multi-chunk IO without optimization" sub-feature from MPI I/O optimization for chunked dataset feature Description: The “multi-chunk IO without optimization” feature is removed and made the related xfer property (H5FD_MPIO_CHUNK_MULTI_IO) go directly to “multi-chunk-io” feature. Also update/fix/cleanup testings (chunk collective IO and actual chunk opt mode) accordingly. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE), Windows (32-LE cmake), cmake (jam)
* | | [svn-r22943] Changed the spelling of accessability to accessibility.Mark Evans2012-10-225-10/+10
| | |
* | | [svn-r22935] Description:Quincey Koziol2012-10-211-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up a few warnings and minor code issues during review of enum -> int/float conversion changes. Tested on: Mac OSX/64 10.8.2 (amazon) w/debug (too minor to require h5committest)
* | | [svn-r22921] Description:Quincey Koziol2012-10-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Review Coverity changes and bring them back to trunk. (QK & JK) r20402: Added #includes for h5tools.y or h5tools_utils.h as required to remedy implicit function declarations which caused compiler warnings and coverity issues 703-4 and 708-11. r20414: This is related to the previous checkin r20399. There were incorrect updates which caused incorrect behavior when no file was given. Also possible segfault when handling hyperslab options. Simplify the code changes. r20449: Description: Modified H5E_walk2_cb to check return value of H5I_object_verify. r20450: fixed coverity 813 Tested on: Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, debug & threadsafe (too minor to require h5committest)
* | | [svn-r22915] Description:Quincey Koziol2012-10-172-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity changes back to trunk: r20399: Change parse_command_line to free hand structure on error and only "leave()" at end of main. r20400: Purpose: Fix coverity issue 592 Description: Added void cast to call to H5F_sfile_assert_num() in H5F_term)interface(). There is no need to check the return value of this function in general, and there would be nothing to do even if it did fail. r20401: Added free(src_sizes) and free(src_offset). --gh Tested on: Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, threadsafe (too minor for h5committest)
* | | [svn-r22914] I checked in the conversion function H5T__conv_enum_numeric ↵Raymond Lu2012-10-173-0/+89
| | | | | | | | | | | | | | | | | | (numeric type means integer or floating number) and the C test for it. This is the work for Chicago. Tested on jam, koala, and ostrich.
* | | [svn-r22908] Reverted changes in revision 22819Larry Knox2012-10-161-2/+0
| | | | | | | | | | | | Tested with h5committest on jam, koala and ostrich.
* | | [svn-r22866] Description:Quincey Koziol2012-10-0512-122/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | Correct use of 'uint8_t' parameter type in public header file (which was causing Windows builds to fail). Tested on: Mac OSX/64 10.7.5 (amazon) w/debug (too minor to require h5committest)
* | | [svn-r22846] Snapshot version 1.9 release 131HDF Tester2012-09-302-3/+3
| | |
* | | [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that ↵Larry Knox2012-09-271-0/+2
| | | | | | | | | | | | | | | | | | if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries. Tested on jam,koala,ostrich(h5committest) and other THG machines.