summaryrefslogtreecommitdiffstats
path: root/tools/h5copy/h5copy.c
Commit message (Collapse)AuthorAgeFilesLines
* clang 13 format #1933 (#1941)Allen Byrne2022-07-281-6/+6
|
* 1.8 Move error-stack text to top of usage display #1564 (#1569)Allen Byrne2022-04-141-6/+11
|
* 1 8 Remove const from the argv tools/tests main sig. #1390 (#1406)Allen Byrne2022-01-291-1/+1
|
* HDF5 1 8 merge of recent changes and tools (#353)Allen Byrne2021-02-221-20/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update supported platforms * Merge PR#3 changes from develop * # WARNING: head commit changed in the meantime Merge gcc 10 diagnostics option from develop Merge CMake changes from develop Merge warnings from develop Merge #318 OSX changes from develop Merge tools changes from develop Merge test macros from develop * Format updates * Fix missing semicolon and format fix * Format update * Correct actions, remove java option * Update autotools build files * Add testfiles * Fix configure issue with make flags * Init fapls to default * Update generated files and fix h5repack id closure * update format
* Update HDF5 1.8 copyright headers with updated copyright URL (#148)Larry Knox2020-12-041-1/+1
| | | | | | | * Update URL for COPYING file in copyright headers. * Make fortran copyright headers uniformly spaced. * Update url for Copyright file in c++/src/footer.html.
* Source formattedAllen Byrne2020-10-011-171/+175
|
* Merge changes from other branchesAllen Byrne2020-02-291-15/+15
|
* HDFFV-10903 merge S3 from devAllen Byrne2019-09-231-4/+4
|
* HDFFV-10384 merge from developAllen Byrne2018-02-191-2/+2
|
* HDFFV-9774 Add enable-error-stack to h5diffAllen Byrne2017-09-061-62/+38
|
* Tools merge from develop-1.10Allen Byrne2017-05-171-6/+4
|
* Merge/port changes from develop back to 1.8 for tools and cmakeAllen Byrne2017-03-291-59/+83
|
* [svn-r24021] Description:Quincey Koziol2013-08-181-8/+8
| | | | | | | | | | Bring r24020 from trunk to 1.8 branch: Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23448] HDFFV-8322: valgrind leaksAllen Byrne2013-03-251-36/+18
|
* [svn-r23396] Description:Quincey Koziol2013-03-201-16/+23
| | | | | | | | | | | | | | Bring r23395 from trunk to 1.8 branch: 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-r22013] HDFFV-7560:Allen Byrne2012-03-021-4/+5
| | | | | | | | | | Merge 1.8 and h5dump/tools and tests based on tools library from trunk. Reduced warnings. HDFFV-7949: Remove duplicated functions in h5ls Tested: local linux,h5committest
* [svn-r20210] Purpose:Jonathan Kim2011-03-091-4/+10
| | | | | | | | | | | | | | Fix Bug 2120 - h5copy: improve to copy an object into same HDF file Description: Merged from HDF5 trunk r20203. Before the fix users can't copy an object (dataset or group) with different name if input file (-i) and output file (-o) is same. This feature would be useful to clone any object with different name and reuse contents. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), Cmake (jam)
* [svn-r19640] Purpose:Jonathan Kim2010-10-191-291/+290
| | | | | | | | | | | | | | Fix nightly build error on non-linux platform related to the Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. (r19634) Description: - Updated to use standard C functions instead of strndup() due to failure on non-linux platforms. - Changed to Use HDxxx macros for future reference. - Correct indentation. Tested: jam, linew(solaris), mac (tejeda)
* [svn-r19634] Purpose:Jonathan Kim2010-10-181-2/+24
| | | | | | | | | | | | Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. Description: Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Merged from hdf5 trunk r19633. Tested: jam, amani
* [svn-r19603] Purpose:Jonathan Kim2010-10-141-23/+0
| | | | | | | | | | | Backout the previous change: (Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.) Description: Some failure occurred on talwit, so backout the changes and will put it back after the fix. (Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Merged from hdf5 trunk r19598.)
* [svn-r19599] Purpose:Jonathan Kim2010-10-141-0/+23
| | | | | | | | | | | Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. Description: Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Merged from hdf5 trunk r19598. Tested: jam, amani
* [svn-r19401] Purpose:Jonathan Kim2010-09-161-1/+1
| | | | | | | | | | | Fix for Bug1975 h5diff - support recursive comparison on group when specified as an object Description: Merged from hdf5 trunk (r19400). Compare member objects and groups recursively when two files or groups are specified to be compared. Support parallel diff and handling symbolic links accordingly. Tested: jam, amani
* [svn-r19291] Description:Quincey Koziol2010-08-241-1/+1
| | | | | | | | | Avoid getting object information for soft/external links if we aren't going to traverse across the link itself. Tested on: Linux/64 2.6 (chicago) w/debug & production (h5committest coming up)
* [svn-r19254] Description:Quincey Koziol2010-08-191-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Bring r19252 & 19253 from trunk to 1.8 branch: Bring Coverity changes from branch to trunk: r19161: Fixed the part for matching the subset info with dataset r19189: BZ1646: h5dump does not check number of dimensions for subsetting parameters against the dataset Changed subset_t structure from holding hsize_t pointers to holding new subset_d pointers, which hold the original hsize_t pointer + len. this len is then checked against dataset ndims in the handle_dataset function of h5dump. Changed all references to use new data structure. Added tests for each subset parameter. r19190: Added new h5dump ddl files Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r18757] Enable tools lib to be built as a dll on windows. Added two ↵Allen Byrne2010-05-111-14/+16
| | | | | | | | | | get/set functions for progname and d_status. Also add windows import/export declarations to functions. Updated windows - H5pubconf.h for packed bits function Tested: Windows, linux
* [svn-r18615] Purpose:Jonathan Kim2010-04-221-1/+28
| | | | | | | | | | | Fix for bug 1817 : h5copy fail to copy dangling link by specifying link path directly Description: Merged from hdf5 trunk r18614. Tested: jam, amani
* [svn-r18450] Purpose:Jonathan Kim2010-03-251-3/+3
| | | | | | | | Resolve build issue on Sloaris due to white space from the previous checkin r18448 Tested: jam
* [svn-r18448] Purpose:Jonathan Kim2010-03-241-5/+15
| | | | | | | | | | | | | Bug1727 - NPOESS: h5copy should copy region references Description: Merged from hdf5 trunk r18447. Tested and added test cases from previous checkin r18321 Reference Manual and tool's usage section for '-f ref' option is updated for more comprehensibility. Tested: jam
* [svn-r18053] Bug fix: 1192Albert Cheng2009-12-261-2/+2
| | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* [svn-r17714] Add the following patch Albert Cheng2009-10-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | === The following patch to h5copy.c on or near line 173 makes the tool substantially more useful... *flag = (*flag) | fla; Because the command-line option parsing permits multiple '-f' arguments, this will have the effect of or'ing the flags together so one can do someting like.... ~/tmp/hdf5-1.8.1/tools/h5copy/h5copy -i multi_ucd3d.h5 -s block5 -o gorfo -d foo -f shallow -f soft Mark C. Miller, Lawrence Livermore National Laboratory email: mailto:miller86@llnl.gov === Also fixed to exit failure if no command option is given. Tested: Jam
* [svn-r15629] Description:Quincey Koziol2008-09-161-21/+21
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r14284] Description:Quincey Koziol2007-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add H5Lvisit_by_name() API routine to library. Eliminated all (five!) other group traversal routines and changed them all to use the new API routine. Cleaned up output of h5ls & h5stat: - Issue error when requesting recursive traversal of a file with the "group info" flag, but no group given - Print info about root group in all(?) appropriate situations - Don't print "verbose" information about root group until the root group is in the list of objects to display (mostly because h5ls & h5stat had a different twist on traversing the groups in a file that the other utilities) Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
* [svn-r13301] Description:Quincey Koziol2007-02-141-69/+95
| | | | | | | | | | | Add '-p' flag to h5copy tool, to create intermediate "parent" groups that don't exist in destination file yet. Add more tests to h5copy script. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13299] Description:Quincey Koziol2007-02-141-0/+6
| | | | | | | | | | | | Put paths to testfile input & output directories in one place, making it easier to modify them if we choose to re-arrange our testfile locations in the future (this should probably be carried over to other test scripts). Make h5copy exit more cleanly if no command line parameters are given. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13297] Description:Quincey Koziol2007-02-141-3/+3
| | | | | | | | | | | | | | | | Add small 'h5mkgrp' tool to create groups in an HDF5 file from the command line, allowing the group structure for a file to be created in a script. This tool closely follows the 'mkdir' command line tool in UNIX/Linux. Allow tool library applications to pass a FAPL to the h5tool_fopen() call, giving some additional flexibility to tools which are adding objects to an existing HDF5 file (like h5copy & h5mkgrp). Fix missing files in MANIFEST from previous checkin(s). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13292] Description:Quincey Koziol2007-02-131-2/+8
| | | | | | | | | | | | | | | Add feature to h5copy to allow it to add an object to an existing file, instead of blowing away existing file. Modify h5tools_fopen() routine to take access flags, so it can be used to open an existing file for writing. Added check to h5copy test script that verifies it has produced a file with the correct structure. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13164] Add nullmsg flag for testing onlyPeter Cao2007-01-221-0/+4
|
* [svn-r13160] Fixed help information to use stdout instead of stderr.Peter Cao2007-01-191-5/+2
|
* [svn-r12869] Description:Quincey Koziol2006-11-061-18/+18
| | | | | | | | Rename new H5Gcopy() routine to H5Ocopy() as discussed in last Friday's design discussion. Tested on: Linux/32 2.6 (chicago)
* [svn-r12680] Description:Quincey Koziol2006-09-251-2/+2
| | | | | | | | | Review, revise & checkin in Peter's latest round of object copy changes, which add basic support for datasets & attributes with reference datatypes. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12634] Purpose:Albert Cheng2006-08-281-1/+1
| | | | | | | | | | | | Code cleanup. Description: Removed argc and argv from the function arguments of h5tools_get_fapl() and h5tools_fopen(). They were used to call MPI_Init() which was no longer needed. Tested: heping (serial and parallel).
* [svn-r12628] Pedro Vicente Nunes2006-08-241-9/+10
| | | | updated the usage message of h5copy
* [svn-r12626] Pedro Vicente Nunes2006-08-241-129/+165
| | | | | h5copy, new behavior according to RFC: introduction of -i, -o, -s , -d switches for file and object names
* [svn-r12520] bug fixPedro Vicente Nunes2006-07-311-1/+15
| | | | | | added a call to h5tools_close tested: linux
* [svn-r12510] add a test for a missing file namePedro Vicente Nunes2006-07-271-0/+10
| | | | test: linux
* [svn-r12487] Pedro Vicente Nunes2006-07-201-3/+1
| | | | updated some comments
* [svn-r12483] Removed some white space from h5copy.cPedro Vicente Nunes2006-07-191-11/+11
| | | | | | his line, and those below, will be ignored-- M h5copy/h5copy.c
* [svn-r12482] new tool h5copyPedro Vicente Nunes2006-07-191-0/+355
it uses the API function H5Gcopy to copy groups and datasets from file to file, read from a command line note: the test script is not finished yet tested on heping, copper, shanti