summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23695] Description:Quincey Koziol2013-05-115-208/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!) Merge changes from Coverity branch back to trunk: r20684: Fix for coverity bug #1721 which was due to the fix for coverity bug #943. r20685: Use HDstrncpy. --gh r20761: Purpose: Fix valgrind issues Description: Free image_data and data as appropriate in test_image. r20762: Purpose: Fix coverity issue 600 Description: Add check for return value of H5O_close in H5Ocopy. Also cleaned up various warnings. r20763: Purpose: Fix valgrind issues with h5stat Description: Modified h5stat to free "iter" before exit, and free "hand" before exit if parse_command_line exits directly. r20764: fixed coverity issues: 69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80 r20765: Fixed coverity bug 668 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1. I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program. r20766: Fixed coverity bug 667 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN (h5committest upcoming)
* [svn-r23572] Removed inappropriate executable properties from a few files. ↵Dana Robinson2013-04-101-0/+0
| | | | | | | | These are often added by Windows text editors. Tested on: jam (just tested to make sure it builds - no code changes)
* [svn-r23555] Bug fix: HDFFV-8358Albert Cheng2013-04-051-54/+35
| | | | | | | | | | | | | | | | | | | | | | The previous change set exec_prefix, libdir and includedir to actual values. That removed the option for user to hand edit just the first prefix=... to make "everything" to work. Changed h5redeploy to do this by default: ## Installation directories: ## ## prefix architecture-independent files. ## ## exec_prefix architecture-dependent files, default is <prefix>. ## ## libdir libraries, default is <exec_prefix>/lib. ## ## includedir header files, default is <prefix/include>. ## ############################################################################ This allows users to just change the first line of prefix=<...> and the effect will change libdir and includedir too. This was also try to accommodate the -prefix option of h5XX. Unfortunately, after changing h5redeploy, I found out the h5XX code to support -prefix actually does not provide the stated efffect. This will be fixed in the release. Tested: h5committested plus hand test.
* [svn-r23548] Fix typo in macro end macroAllen Byrne2013-04-041-1/+1
| | | | Warning only.
* [svn-r23530] Moved test property into test macro.Allen Byrne2013-04-031-2/+28
| | | | Tested: local linux
* [svn-r23527] Revised usage to reflect change to use -shlib as default when ↵Larry Knox2013-04-021-2/+3
| | | | | | no static libraries were built. No test - text only revision of compile scripts.
* [svn-r23497] Bug fix: HDFFV-8358Albert Cheng2013-03-301-7/+64
| | | | | | | | Change h5redeploy to change all 4 lines, prefix=..., exec_prefix=..., libdir=..., and includedir=... This way, it reset all 4 lines. Should work for both version of h5cc created by configure or by rpm. Tested: hand tested in jam.
* [svn-r23495] ported revisions 23433:23494 from the trunkRaymond Lu2013-03-297-16/+45
|
* [svn-r23447] Add new env var to prevent filter plugin loadingAllen Byrne2013-03-252-1/+66
| | | | Tested: jam
* [svn-r23435] ported revisions 23346:23432 from the trunkRaymond Lu2013-03-2213-665/+690
|\
| * [svn-r23431] Fix for HDFFV-8141.Larry Knox2013-03-221-11/+23
| | | | | | | | | | | | | | | | Changes default value for USE_SHARED_LIB in compile scripts to yes when static is disabled. Comments in scripts about the order of flag variables containing library paths was also corrected. Tested with h5committest on duck, jam, koala, and ostrich in addition to specific testing for the compile script change.
| * [svn-r23415] Description:Quincey Koziol2013-03-211-2/+2
| | | | | | | | | | | | | | Avoid using fpclassify() for detecting zero/non-zero values. Tested on: Mac OSX/64 10.8.3 (amazon) w/debug
| * [svn-r23411] HDDFV-8322: Free allocations in command line parsing.Allen Byrne2013-03-211-36/+18
| | | | | | | | Tested: local linux
| * [svn-r23407] Purpose: Jonathan Kim2013-03-203-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | HDFFV-8214 - h5repack failed converting small chunked dataset (size < 1K) to contiguous layout. Description: h5repack failed converting small chunked dataset (size < 1K) to contiguous layout. The first case was when chunk dim is bigger than the dataset dim (at leat one), h5repack failed with displaying error stacks. The other case is when chunk dim is smaller than the dataset dim, h5repack failed to change layout. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), emu (solaris-BE),fred (mac64-LE), Windows (32-LE cmake), cmake (jam)
| * [svn-r23395] Description:Quincey Koziol2013-03-207-611/+619
| | | | | | | | | | | | | | | | | | | | | | | | 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)
| * [svn-r23388] HDDFV-8322: Free allocations in parse_command_line function.Allen Byrne2013-03-191-2/+11
| | | | | | | | Tested: local linux
| * [svn-r23353] Correct target nameAllen Byrne2013-03-151-3/+3
| |
| * [svn-r23314] Correct typo in DEPENDSAllen Byrne2013-02-251-1/+1
| |
| * [svn-r23310] Correct duplicate test commandAllen Byrne2013-02-211-1/+0
| |
| * [svn-r23308] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-212-303/+261
| | | | | | | | Tested: local linux
| * [svn-r23307] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-202-219/+199
| | | | | | | | | | | | Remove h5ls references Tested: local linux
| * [svn-r23306] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-201-153/+204
| | | | | | | | Tested: local linux
| * [svn-r23305] HDFFV-8257: szip still used even if headers are not found. ↵Allen Byrne2013-02-1813-205/+198
| | | | | | | | | | | | Change configure to test the result of the CHECK HEADERS call before checking for the library. Tested: local linux, h5committest
| * [svn-r23304] Purpose:Jonathan Kim2013-02-184-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE), emu (solaris-BE), Windows (32-LE cmake), cmake (jam)
| * [svn-r23289] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-151-170/+227
| | | | | | | | Tested: local linux
| * [svn-r23286] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-1516-200/+289
| | | | | | | | Tested: local linux
| * [svn-r23282] Add folder to outfile nameAllen Byrne2013-02-141-1/+1
| |
| * [svn-r23278] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-141-3/+2
| | | | | | | | Tested: local linux
| * [svn-r23277] Change name of output file.Allen Byrne2013-02-141-2/+2
| |
| * [svn-r23276] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-141-3/+2
| | | | | | | | Tested: local linux
| * [svn-r23273] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-142-19/+19
| | | | | | | | Tested: local linux
| * [svn-r23272] Correct typosAllen Byrne2013-02-141-2/+2
| |
| * [svn-r23271] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-142-230/+237
| | | | | | | | Tested: local linux
| * [svn-r23270] Cleanup old test commentsAllen Byrne2013-02-141-5/+0
| |
| * [svn-r23269] HDFFV-8311: Correct test dependencyAllen Byrne2013-02-141-50/+185
| | | | | | | | Tested: local linux
| * [svn-r23264] Remove tests from valgrind processingAllen Byrne2013-02-131-13/+15
| |
| * [svn-r23263] Test dependencies were incorrect and test outside macros did ↵Allen Byrne2013-02-131-161/+142
| | | | | | | | | | | | | | | | not always execute in the correct order. Created new macro for h5import test verification. Corrected intra-macro test dependencies. Fixed clear tests. Tested: local linux
| * [svn-r23254] Make tests independent of each otherAllen Byrne2013-02-121-26/+113
| | | | | | | | Tested: local linux
| * [svn-r23252] Fix test dependency flowAllen Byrne2013-02-121-8/+7
| |
| * [svn-r23251] Fix test dependency flowAllen Byrne2013-02-121-1/+5
| |
| * [svn-r23249] Correct typo in normal depends statement.Allen Byrne2013-02-121-1/+1
| | | | | | | | Add MEMORY_CHECK settings to match existing VALGRIND statements
* | [svn-r23432] I added a new macro HDF5_PLUGIN_PRELOAD to skip plugin loading ↵Raymond Lu2013-03-221-1/+4
| | | | | | | | | | | | during data reading. Tested on koala and jam.
* | [svn-r23356] Correct target nameAllen Byrne2013-03-151-1/+1
| |
* | [svn-r23347] ported revision 23248:23346 from the trunkRaymond Lu2013-03-1344-1634/+1976
|/
* [svn-r23244] Correct test dependency handling.Allen Byrne2013-02-111-86/+78
| | | | Tested: local linux
* [svn-r23228] Purpose: Jonathan Kim2013-02-051-1/+1
| | | | | | | | | | | 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)
* [svn-r23227] HDFFV-8215 - update help text to be cosistent with the RM entry.Allen Byrne2013-02-056-12/+12
| | | | Tested: local linux
* [svn-r23226] HDFFV-8285: suppress-ddl option: Changed file options to allow ↵Allen Byrne2013-02-0413-41/+48
| | | | | | for filename F to be optional. Tested: local linux
* [svn-r23219] Description:Quincey Koziol2013-02-022-118/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r23217] add scalr vlen string datasetsPeter Cao2013-01-311-48/+63
|