summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [svn-r23996] HDFFV-7989: Add any_path option to search the file for paths. ↵Allen Byrne2013-08-1215-2/+323
| | | | | | New test added, scripts updated, help text updated. Tested: local linux
* [svn-r23994] Correct printf % handlingAllen Byrne2013-08-129-9/+9
|
* [svn-r23991] Reorder groupingAllen Byrne2013-08-129-207/+207
|
* [svn-r23976] The following files were missing from previous checkin rev ↵Vailin Choi2013-08-0817-0/+440
| | | | | | #23975 for bug HDFFV-1238. h5committested.
* [svn-r23975] This checkin contains--Vailin Choi2013-08-0813-124/+535
| | | | | | | | | A) Fix for HDFFV-1238: --Add 3 new options to allow users in setting threshold for small groups/datasets/attributes (tools/h5stat/h5stat.c) --Generate new test file for testing the new options (tools/h5stat/h5stat_gentest.c) --Add tests for the new options (tools/h5stat/testh5stat.sh.in) --Update expected output files (tools/h5stat/testfiles/*.ddl) B) Fix a bug in determining maximum dimension size for 1-D dataset in dataset_stats() (tools/h5stat/h5stat.c)
* [svn-r23964] Corrected "continuous" layout to "contiguous in h5repack -h ↵Larry Knox2013-08-022-2/+2
| | | | | | | | output and comment. Jira issue HDFFV-8493. No test - text only change.
* [svn-r23960] HDFFV-8490: Reorder and group h5dump help text.Allen Byrne2013-08-019-224/+285
| | | | Tested: local linux
* [svn-r23953] Update stream handling to allow binary mode - due to unjam fix.Allen Byrne2013-07-313-18/+61
| | | | Tested: local linux
* [svn-r23952] Update unjam file handling to eliminate infinite loops and use ↵Allen Byrne2013-07-311-29/+35
| | | | | | binary mode. Tested: windows
* [svn-r23945] fixed HDFFV-8306Peter Cao2013-07-301-72/+33
| | | | using file stream for output data
* [svn-r23944] Move stream functions into tools lib.Allen Byrne2013-07-303-178/+230
| | | | Tested: local linux
* [svn-r23917] Bug fix: HDFFV-8392Albert Cheng2013-07-182-2/+2
| | | | | | | | | | | | | | | | | | | tools/h5diff/testh5diff.sh is run in every "make check", even after it has passed in the previous run. The error was in the previous change made to Makefile.am when testh5diff.sh.in was created. The mistake was in the SCRIPT_DEPEND=h5diff$(EXEEXT) $(H5PDIFF) $(srcdir)/testh5diff.sh $(srcdir)/testh5diff.sh no longer existed. It is now generated in the current built directory from $(srcdir)/testh5diff.sh.in (which configure takes care of). I updated the dependance to SCRIPT_DEPEND=h5diff$(EXEEXT) $(H5PDIFF) testh5diff.sh and that fixes the error. Reviewed: HDF5-149 Tested: h5committested.
* [svn-r23862] Change printfs in perform output and h5dump to prevent overflow.Mohamad Chaarawi2013-07-031-2/+2
| | | | | | This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450 Tested on Jam.
* [svn-r23830] HDFFV-8476: Add the optional arg to the help usage text.Allen Byrne2013-06-269-5/+9
| | | | Tested: local linux
* [svn-r23829] HDFFV-8134: allow exclusion of attributes. This implements the ↵Allen Byrne2013-06-268-17/+126
| | | | | | technique and creates a test. Help changes will be added after trunk tests pass the test cycle. Tested: local linux
* [svn-r23825] Bug HDFFV-8469: C++ comments in C code.Albert Cheng2013-06-262-3/+0
| | | | | | | | Found and removed two more "//" comments. Tested: in Koala by $ env CFLAGS="-ansi" ../hdf5/bin/buildhdf5 -fortran -cxx -config # enable fortran and cxx, configure only $ make AM_CFLAGS=-ansi # compile all source file by setting HDF5 build CFLAGS as "-ansi" only
* [svn-r23819] Change name of generated file in test to use the macro based ↵Allen Byrne2013-06-251-8/+2
| | | | | | removal line. Tested: local linux
* [svn-r23811] Remove unused labelAllen Byrne2013-06-241-1/+0
|
* [svn-r23800] Added the HD prefix to the system functions used in the ↵Allen Byrne2013-06-201-9/+9
| | | | h5tools_str_replace function.
* [svn-r23799] HDFFV-8455: moved h5dump in order of subdirs under tools to in ↵Allen Byrne2013-06-202-2/+2
| | | | | | front of h5import. Tested local linux: h5dump executed before h5import
* [svn-r23798] HDFFV-8465: dtd reference incorrect. Fixed loading of xml files ↵Allen Byrne2013-06-2060-61/+61
| | | | | | with respect to XSD file. Tested: local linux
* [svn-r23796] remove commented line with c++ styleAllen Byrne2013-06-201-2/+0
|
* [svn-r23745] HDFFV-8461: Add Windows /MT supportAllen Byrne2013-06-1010-1/+27
| | | | This adds the UserMacros.cmake support needed.
* [svn-r23740] HDFFV-8447: subsetting broke data output file option.Allen Byrne2013-06-075-8/+33
| | | | Reviewed in H5T-59, tested local linux
* [svn-r23733] HDFFV-8366: Patches tested by Larry using h5committest, it ↵Allen Byrne2013-06-053-0/+6
| | | | creates the intermediate testfiles folder first.
* [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