summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24726] Description:Quincey Koziol2014-02-203-68/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert some earlier usage of strncpy, which was incorrect. Bring Coverity changes from branch back to trunk: r20821: Use HDstrncpy. --gh (Fixed already, with strdup) r20822: (Not merged, incorrect use of HDstrncpy()) r20823: (Not merged, incorrect use of HDstrncpy()) r20824: Maintenance: Bug fix: addressed CID 666. Value stored at *expression_len should be used in the call to HD5packFstring to avoid overflow (and unnecessary arithmetic calculation and casting) r20825: Issue 642: Added check for error and handler with print to stderr and exit. r20826: Undo revision 20818, as that issue has already been fixed in the 1.8 branch and trunk (but not coverity branch) r20827: (Not merged, incorrect use of HDstrncpy()) r20828: Use HDstrncpy. --gh (Corrected use of strncpy()) r20829: Check return of H5Lget_val(print_udata->fid, path, targbuf, linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0. Check if H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL, &filename, &objname) was successful and allow print. Otherwise filename and objname are not created. (init those to NULL) r20830: resolved coverity issues 939, 940, 941, 944, and 947. all were complaints about use of sprintf, and in all cases, the buffers used were large enough for all eventualities. Resolved issue by replacing calls to sprintf with calls to snprintf. r20831: Maintenance: Addressed CID 852 Replaced sprintf with snprintf r20832: Purpose: Fix valgrind issues with hl/examples/ex_image2 Description: Modified hl/examples/ex_image2 to free global "gbuf" before exit. Tested on: Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety (too minor to require h5committest)
* [svn-r24725] HDFFV-8629: h5repack will not attempt to remove UD filters. ↵Allen Byrne2014-02-202-145/+146
| | | | | | h5repack requires a check for UD filters that also must check if the filter can be dynamically loaded. This require a change in the library that checks for this. Tested: locally and reviewed
* [svn-r24682] Add IF SHARED block around Windows PDB file generation command.Allen Byrne2014-02-041-2/+3
|
* [svn-r24670] HDFFV-8567: Fix cmake tests for changes in reference files due ↵Allen Byrne2014-01-312-23/+23
| | | | | | to test script changes in autotools test scripts. Tested: local linux
* [svn-r24666] Fix test folder deletion issueAllen Byrne2014-01-305-50/+72
| | | | Tested: local linux autotools
* [svn-r24646] HDFFV-8640: Remove xlate_utility by fixing reference files to ↵Allen Byrne2014-01-2733-98/+2
| | | | | | not add extra lines. Tested: cmake and autotools local linux
* [svn-r24504] HDFFV-8629: disable test until review is completeAllen Byrne2013-12-051-1/+1
|
* [svn-r24487] HDFFV-8629: repack plugin_none test files.Allen Byrne2013-12-034-0/+147
| | | | CMake only until library updates approved.
* [svn-r24484] Update version and test name.Allen Byrne2013-12-021-2/+3
|
* [svn-r24482] HDFFV-8635: remove test of whole file and just test dsets that ↵Allen Byrne2013-12-024-420/+54
| | | | | | have szip compression. Tested local linux with cmake and autotools
* [svn-r24481] HDFFV-8635: disable test because of szip causing different read ↵Allen Byrne2013-12-021-4/+5
| | | | call then expected.
* [svn-r24480] Description:Quincey Koziol2013-11-303-148/+153
| | | | | | | | | | | Bring r24479 from 1.8 branch to trunk: Fix ph5diff worker command handling so it can correctly respond to situations where there's no work to perform. Also, a few minor code cleanups. Tested on: Mac OSX/64 10.9.0 (amazon) w/parallel (too minor to require h5committest)
* [svn-r24471] JAVA-1798: Add the testfiles for hdf-java and the h5dump tests ↵Allen Byrne2013-11-2710-21/+2533
| | | | | | including the test to read filter data. Tested: cmake and autotools - local linux
* [svn-r24467] tfilters.h5 was created and checked in on 21 Feb 05, rev 10060, ↵Allen Byrne2013-11-263-3/+3
| | | | | | | | and never regenerated. The code for scaleoffset continued to change and the number of params for scaleoffset changed from 7 to 20 on the checkin of 23 Mar 05, rev 10384. The h5dump tests only looked at headers and never the data. Data reads would fail with invalid number of params (7 expected 20). Regenerated file and replacement ddls updated. New h5dump test will be added to read the data.
* [svn-r24411] Correct file generationAllen Byrne2013-11-073-394/+405
|
* [svn-r24408] Add compound integer tests filesAllen Byrne2013-11-066-0/+2008
| | | | Tested: local linux cmake
* [svn-r24403] Cleanup temp test filesAllen Byrne2013-11-041-2/+2
|
* [svn-r24400] Maintenance: When the libraries are built and tested in place, ↵Elena Pourmal2013-11-034-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several files are left behind by "make distclean" (see below); modified appropriate Makefile.am files and ran bin/reconfigure to create Makefile.in to fix the problem. Here is the list of the files "make disclean" doesn't remove: tools/h5dump/testfiles tools/h5repack/testfiles/h5diff_attr1.h5 tools/h5repack/testfiles/tfamily00000.h5 tools/h5repack/testfiles/tfamily00010.h5 tools/h5repack/testfiles/tfamily00002.h5 tools/h5repack/testfiles/tfamily00004.h5 tools/h5repack/testfiles/tfamily00006.h5 tools/h5repack/testfiles/tfamily00008.h5 tools/h5repack/testfiles/tfamily00001.h5 tools/h5repack/testfiles/tfamily00003.h5 tools/h5repack/testfiles/tfamily00005.h5 tools/h5repack/testfiles/tfamily00007.h5 tools/h5repack/testfiles/tfamily00009.h5 tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.err-sav tools/h5jam/testfiles/h5jam-help.txt.err-sav tools/h5jam/testfiles/h5unjam-help.txt.err-sav tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.out-sav tools/h5jam/testfiles/h5jam-help.txt.out-sav tools/h5jam/testfiles/h5unjam-help.txt.out-sav hl/fortran/test/dsetf5.h5 c++/test/tattr_multi.h5 c++/test/tattr_scalar.h5 c++/test/tfattrs.h5 c++/test/tattr_basic.h5 c++/test/tattr_compound.h5 c++/test/tattr_dtype.h5 Tested on jam and emu in place and using srcdir with the svn stat command. This fix doesn't address two problems: tool/h5dump/testfiles directory is not removed by "make distclean" and it should be tools/misc/testfiles directory is removed by "make distclean" and it shouldn't be
* [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-0115-8/+225
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autools, and h5committest
* [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.Dana Robinson2013-10-318-47/+47
| | | | | | | | | | | | | Prep work for adding a memory free function, part of HDFFV-8551. Tested on: 32-bit LE linux (jam) * with C++, Fortran * with thread safety on These are minor changes (almost entirely renaming foo functions to HDfoo) that don't change functionality. This should not require a full commit test.
* [svn-r24285] Eliminate several "passing argument ... with different width ↵Larry Knox2013-10-102-14/+14
| | | | | | due to prototype" warnings by casting constants to size_t where expected by string functions. Tested on jam, koala,ostrich and platypus with h5committest.
* [svn-r24270] checkin coverity changes from 10/4/2013.Mohamad Chaarawi2013-10-092-2/+3
| | | | tested with h5committest
* [svn-r24224] HDFFV-8529: Space separate define stringsAllen Byrne2013-09-303-8/+8
| | | | Tested: h5committest
* [svn-r24194] Don't add hdf5 library dependencies to lib files when ↵Larry Knox2013-09-2411-0/+11
| | | | | | --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276. Tested with h5committest and on hdf-duck.
* [svn-r24172] Position trunk/1.8 vars in similar location for comparison.Allen Byrne2013-09-191-3/+3
|
* [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.Allen Byrne2013-09-192-13/+27
| | | | | | | Add more usage info for UserMacros. Add new option information about the Plugin default path. Tested: local linux, jam
* [svn-r24138] Cast constants to specified type. Allen Byrne2013-09-136-23/+24
| | | | | | | | Cast smaller vars to larger type. Cast calculation result to correct type. Changed int member to hbool_t Tested: local linux
* [svn-r24137] Cast constants to specified type. Allen Byrne2013-09-131-35/+35
| | | | | | | Cast smaller vars to larger type. Cast calculation result to correct type. Tested: local linux
* [svn-r24124] HDFFV-8345: Changed usage txt to use dsetN instead ofletters ↵Allen Byrne2013-09-112-79/+42
| | | | | | for objects in examples. Tested: local linux
* [svn-r24120] HDFFV-8345: plugin test properly checks static-exec result to ↵Allen Byrne2013-09-103-4/+6
| | | | | | include test. Tested: jam
* [svn-r24118] Comment out test until configure sets conditional correctlyAllen Byrne2013-09-091-1/+1
|
* [svn-r24116] Correct indentation and create single exit point.Allen Byrne2013-09-094-3426/+3270
| | | | Tested : local linux
* [svn-r24115] Reduce warnings for conversions of different widths.Larry Knox2013-09-063-571/+571
| | | | h5committested on jam, ostrich, koala, and platypus.
* [svn-r24104] HDFFV-8345: add User Defined filters to h5repack.Allen Byrne2013-09-0619-540/+2104
| | | | | | Reviewed in H5T-61 Tested: local linux - cmake and autotools
* [svn-r24101] Description:Quincey Koziol2013-09-055-33/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings, enable new compiler warning flag(s) and bring back changes from Coverity branch: r20813: Remove the dead code as listed for coverity bug #1722. h5committested. r20814: Issue 69: Check return value and throw error if negative return. Also free datatype id on error r20815: Use HDstrncpy. --gh r20816: Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832. r20817: Use HDstrncpy and HDstrncat. --gh r20818: Purpose: Fix valgrind issues with h5jam Description: Modified h5jam to free strings strdup'd in parse_command_line before exit. Note that they may still not be freed in case of error, due to the widespread use of exit(). r20819: Issue 80: change loop to use int as loop index. r20820: Maintenance: Fixed the bug found by coverity CID 788 There were two problems with this function: 1) it tried to unnecessary free NULL pointer 2) it tried to allocate c_name buffer that is done by H5Pget_class_name Tested on: Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24077] Updated -help output for compile scripts for changing default ↵Larry Knox2013-08-271-4/+6
| | | | | | from -noshlib to -shlib when hdf5 is built without static libraries (--disable-static). Tested with h5committest on jam, koala, ostrich and platypus.
* [svn-r24066] Eliminate switch default warning by printing err message.Allen Byrne2013-08-232-10/+106
|
* [svn-r24058] Coorect usage text wrt dataset subsettingAllen Byrne2013-08-229-9/+9
|
* [svn-r24057] Add --superblock long name to parser and add tests for both ↵Allen Byrne2013-08-225-0/+53
| | | | | | --boot-block and --superblock. Tested: local linux
* [svn-r24053] HDFFV-8498: --minimum option was disabled by HDFFV-8214. ↵Allen Byrne2013-08-213-7/+56
| | | | | | | | Reverted code change and changed default to 0 from 1024. Changed limit test to use h5dump to compare repacked file instead of h5diff. Corrected test scripts for test folder path Tested: h5committest and local linux with CMake
* [svn-r24050] HDFFV-8498: --minimum option was disabled by HDFFV-8214. ↵Allen Byrne2013-08-215-4/+180
| | | | | | Reverted code change and changed default to 0 from 1024. Changed limit test to use h5dump to compare repacked file instead of h5diff. Tested local linux with CMake
* [svn-r24030] Description:Quincey Koziol2013-08-197-135/+144
| | | | | | | | Clean up more compiler warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24029] Move TESTS to seperate file to allow easier editing by all ↵Allen Byrne2013-08-1920-6664/+6724
| | | | | | developers. Tested: local linux
* [svn-r24023] Added tests to CMakeLists.txt that were only added to the *nix ↵Allen Byrne2013-08-191-0/+91
| | | | | | script. Tested: local linux
* [svn-r24022] any_object option should be any_pathAllen Byrne2013-08-193-5/+5
|
* [svn-r24020] Description:Quincey Koziol2013-08-178-46/+44
| | | | | | | | Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r24015] A bug fix when merging changes from the trunk to 1.8 for h5stat ↵Vailin Choi2013-08-161-15/+24
| | | | | | | bug fix HDFFV-1238: Fix a problem when using opt_arg that is NULL for the new options added: -l N, -m N, -a N. h5committested.
* [svn-r24011] Description:Quincey Koziol2013-08-154-3/+27
| | | | | | | | Clean up a few warnings Tested on: Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r24002] Fix 32-bit and valgrind issues with new handle_paths code - ↵Allen Byrne2013-08-131-1/+1
| | | | | | correct math of adding a NULL to a string. Tested: local linux (valgrind) and h5committest
* [svn-r23999] Move declaration to top of block - fix for windows.Allen Byrne2013-08-131-1/+1
|