summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r14180] Description:Quincey Koziol2007-10-0419-1185/+1202
| | | | | | | | | | | | | | | | | | | Make H5Aiterate() versioned and change all internal use to H5Aiterate2() Leave some regression tests that exercise H5Aiterate1() Fix attribute display in h5dump & h5ls to be "by name" by default 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 2.6 (smirom) w/default API=1.6.x, 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
* [svn-r14179] Purpose: Update windows h5dump test scriptScott Wegner2007-10-031-15/+73
| | | | | | | | Description: A few more tests were added to the Linux h5dump test script-- this brings Windows up-to-date. Tested: VS2005 on WinXP
* [svn-r14178] code cleaning:Pedro Vicente Nunes2007-10-021-62/+0
| | | | | removed one unused function tested: linux
* [svn-r14177] bug fix: Pedro Vicente Nunes2007-10-021-6/+6
| | | | | uncomment code that cleans output files, that was accidently left commented tested: linux
* [svn-r14175] Description:Quincey Koziol2007-10-025-13/+31
| | | | | | | | Minor fixes to avoid memory leaks when 'realloc' fails. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r14174] new h5dump usage to include -q and -zPedro Vicente Nunes2007-10-022-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tested: windows, linux, solaris 5.10 usage: h5dump [OPTIONS] file OPTIONS -h, --help Print a usage message and exit -n, --contents Print a list of the file contents and exit -B, --bootblock Print the content of the boot block -H, --header Print the header only; no data is displayed -A, --onlyattr Print the header and value of attributes -i, --object-ids Print the object ids -r, --string Print 1-byte integer datasets as ASCII -e, --escape Escape non printing characters -V, --version Print version number and exit -a P, --attribute=P Print the specified attribute -d P, --dataset=P Print the specified dataset -y, --noindex Do not print array indices with the data -p, --properties Print dataset filters, storage layout and fill value -f D, --filedriver=D Specify which driver to open the file with -g P, --group=P Print the specified group and all members -l P, --soft-link=P Print the value(s) of the specified soft link -o F, --output=F Output raw data into file F -b B, --binary=B Binary file output, of form B -t P, --datatype=P Print the specified named datatype -w N, --width=N Set the number of columns of output -q Q, --sort_by=Q Sort groups and attributes by index Q -z Z, --sort_order=Z Sort groups and attributes by order Z -x, --xml Output in XML using Schema -u, --use-dtd Output in XML using DTD -D U, --xml-dtd=U Use the DTD or schema at U -X S, --xml-ns=S (XML Schema) Use qualified names n the XML ":": no namespace, default: "hdf5:" E.g., to dump a file called `-f', use h5dump -- -f Subsetting is available by using the following options with a dataset attribute. Subsetting is done by selecting a hyperslab from the data. Thus, the options mirror those for performing a hyperslab selection. The START and COUNT parameters are mandatory if you do subsetting. The STRIDE and BLOCK parameters are optional and will default to 1 in each dimension. -s L, --start=L Offset of start of subsetting selection -S L, --stride=L Hyperslab stride -c L, --count=L Number of blocks to include in selection -k L, --block=L Size of block in hyperslab D - is the file driver to use in opening the file. Acceptable values are "sec2", "family", "split", "multi", "direct", and "stream". Without the file driver flag, the file will be opened with each driver in turn and in the order specified above until one driver succeeds in opening the file. F - is a filename. P - is the full path from the root group to the object. N - is an integer greater than 1. L - is a list of integers the number of which are equal to the number of dimensions in the dataspace being queried U - is a URI reference (as defined in [IETF RFC 2396], updated by [IETF RFC 2732]) B - is the form of binary output: MEMORY for a memory type, FILE for the file type, LE or BE for pre-existing little or big endian types. Must be used with -o (output file) and it is recommended that -d (dataset) is used Q - is the sort index type. It can be "creation_order" or "name" (default) Z - is the sort order type. It can be "descending" or "ascending" (default) Examples: 1) Attribute foo of the group /bar_none in file quux.h5 h5dump -a /bar_none/foo quux.h5 2) Selecting a subset from dataset /foo in file quux.h5 h5dump -d /foo -s "0,1" -S "1,1" -c "2,3" -k "2,2" quux.h5 3) Saving dataset 'dset' in file quux.h5 to binary file 'out.bin' using a litt le-endian type h5dump -d /dset -b LE -o out.bin quux.h5
* [svn-r14173] Pedro Vicente Nunes2007-10-025-16/+43
| | | | | | | | | | | | | | | | | | | bug fix the binary option expects a full path in -o TOOLTEST tbin1.ddl -d integer -o $TESTDIR/out1.bin -b LE tbinary.h5 and it prints it in the expected output , making it absolutely not portable Solution: made a special macro function TOOLTEST1 identical to TOOLTEST except that it does not print the Expected output header ############################# Expected output for 'h5dump -d integer -o /home/pvn/kagiso/build_hdf5/tools/h5dump/../testfiles/out1.bin -b LE tbinary.h5' ############################# Tested : linux
* [svn-r14172] Pedro Vicente Nunes2007-10-0219-219/+194
| | | | | | | | | 1) added 5 new tests for the group creation order 2) modified the h5dump test script to automatically generated non existing (new) output files 3) cleaning of unused DDL files 4) new modified DDL files include tcomp-3.ddl ( new form of named datatype) and the binary output files tested : linux
* [svn-r14171] Pedro Vicente Nunes2007-10-021-1/+0
| | | | | | | | bug fix: the new option --sort_by clashes with the existing abreviated form of soft-link "so" solution: eliminate the form "so" tested: windows, linux
* [svn-r14170] Description:Quincey Koziol2007-10-021-4/+7
| | | | | | | | | Avoid memory leak when realloc() fails during attempt to get larger buffer as we are decompressing deflated data. Tested on: FreeBSD/32 6.2 (duty) Linux/32 2.6 (kagiso)
* [svn-r14168] bug fix:Pedro Vicente Nunes2007-10-021-37/+31
| | | | | | | | groups and creation order: if there is a request to do H5_INDEX_CRT_ORDER and this flag is set in the group, then, sort by creation order, otherwise by name tested: windows, linux
* [svn-r14167] Pedro Vicente Nunes2007-10-011-33/+145
| | | | | | | | | | | | Added 2 new switch flags for sort parameters of groups. -q sort_by [creation_order | name] -z sort_order [ascending | descending ] Added extra parameter to dump_group of type H5_iter_order_t to control the iteration order, to be passed to H5Literate. Note : code under development, tests not added yet and flags NOT added to usage Tested : windows, linux
* [svn-r14166] Purpose: Update Windows command-line build scriptsScott Wegner2007-10-013-295/+362
| | | | | | | | | | | | Description: This updates the command-line build process to handle structural changes we've made in the HDF5 project files. Also, we add support for two new options: /fort - to build Fortran libraries /useenv - to allow users to specify include and libpath directories on the command line as well. Also updated documentation to reflect these change. Tested: VS2005 on WinXP
* [svn-r14165] Pedro Vicente Nunes2007-10-011-0/+2
| | | | new file for h5dump
* [svn-r14164] Pedro Vicente Nunes2007-10-013-53/+386
| | | | | | | | | | | | | | | first batch for displaying groups in creation order 1) Added extra parameter to dump_group of type H5_index_t , to be passed to H5Literate. When a group is tried to be displayed, an inquiry of its creation properties is made. If H5P_CRT_ORDER_TRACKED is present on the group property list then the display is made by creation order, otherwise it is made by name 2) Added a new file to h5dumpgentest that generates a file with a hierarchy of groups with creation order on and off in alternately Note : XML code was not modified Tested : windows, linux
* [svn-r14163] Description:Quincey Koziol2007-09-276-27/+49
| | | | | | | | | | | | | | | | | | | Make H5Arename() versioned and switch internal usage to use H5Arename2() Add regression test for H5Arename1() 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14162] Description:Quincey Koziol2007-09-2712-85/+212
| | | | | | | | | | | | | | | | | | Make H5Adelete versioned and switch internal library use to H5Adelete2. Add regression test for H5Adelete1 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14161] Description:Quincey Koziol2007-09-272-1/+3
| | | | | | | | | | | | | | | | Add forgotten ifdef's around deprecated routines. 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14160] Description:Quincey Koziol2007-09-2724-293/+256
| | | | | | | | | | | | | | | | Make H5Topen versioned, and add regression test for H5Topen1. 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14159] Description:Quincey Koziol2007-09-271-1/+1
| | | | Clarify some text in comments.
* [svn-r14158] Description:Quincey Koziol2007-09-273-219/+418
| | | | | | | | | | | | | | | | Add regression test for h5repack with userblock 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14157] Description:Quincey Koziol2007-09-271-49/+137
| | | | | | | | | | | | | | | | Add regression test for deprecated routine: H5Tcommit1(). 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14156] Description:Quincey Koziol2007-09-2631-400/+422
| | | | | | | | | | | | | | | | Add API versioning to H5Tcommit() 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14155] Copy user block when repack a file by defualt.Peter Cao2007-09-251-3/+86
| | | | (need to add more options as stated in bug 173)
* [svn-r14154] Description:Quincey Koziol2007-09-2531-519/+479
| | | | | | | | | | | | | | | | | | | | Finish deprecating last H5G symbol (H5G_obj_t) - yay! Lots of misc. library fixes to remove confusion between links and objects. The tools could still use another pass, to remove h5trav_type_t type and make the correct distinction between links & objects. 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 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14153] Description:Quincey Koziol2007-09-251-0/+258
| | | | | | | | | | | | | Add regression test for H5Rget_obj_type1() Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 2.10 (linew) AIX/32 5.3 (copper) Mac OS X/32 10.4.10 (amazon)
* [svn-r14150] Pedro Vicente Nunes2007-09-181-1/+1
| | | | | | bug fix: a CHECK macro had a wrong function name (H5Pget_link_creation_order) in the description tested: linux
* [svn-r14149] Purpose: Add new source files to Windows projectsScott Wegner2007-09-174-216/+270
| | | | | | | | Description: Two new files, h5rdeprec.c and h5rpkg.h were added to the Windows HDF5 projects. Tested: VS2005, build only.
* [svn-r14148] Description:Quincey Koziol2007-09-1428-361/+651
| | | | | | | | | | | | | | | | Add H5Rget_obj_type() to the API versioning and switch internal routines to use H5Rget_obj_type2() Misc. other code cleanups, etc. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 2.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14147] Description:Quincey Koziol2007-09-132-12/+0
| | | | | | | | Clean up some "WANT_H5_V1_4_COMPAT" #ifdefs that somehow survived this far... Tested on: FreeBSD/32 6.2 (duty)
* [svn-r14146] Description:Quincey Koziol2007-09-1315-448/+446
| | | | | | | | | | | | | | Move H5Gget_objtype_by_idx() to deprecated symbols section, replacing with H5Oget_info_by_idx() Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 2.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14145] Description:Quincey Koziol2007-09-139-130/+134
| | | | | | | | | | | | | | Move H5Gget_objname_by_idx() to deprecated symbols section. Replace internal usage with H5Lget_name_by_idx(). Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 2.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14144] Description:Quincey Koziol2007-09-1365-5822/+5012
| | | | | | | | | | | | | | | | Move H5Gget_objinfo() to deprecated symbols section and retarget internal usage to H5Lget_info()/H5Oget_info(). Misc. other code cleanups... Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 2.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14142] Purpose: Add files forgotten in yesterday's checkinScott Wegner2007-09-118-0/+2230
| | | | | | | | Description: In my large checkin yesterday, I forgot to add a few Windows project files that were renamed. This should bring the MANIFEST up to date. Tested: Will use chkmanifest after commit
* [svn-r14141] Purpose: Update Windows testing documentationScott Wegner2007-09-101-145/+84
| | | | | | | | Description: There are minor changes in the testing process for Windows with the new test scripts. Specifically, the test output is output to the screen, rather than redirected into files, by default. Also, it is much easier to test parts modularly, and installing DLLs is one step, instead of separated batch files. Tested: None, only documentation changed.
* [svn-r14140] Purpose: Fix typo from last checkinScott Wegner2007-09-101-1/+1
| | | | | | | | Description: There was a minor typo in the Windows test script for h5copy. It was actually causing us to do extra work, so this checkin should make the test slightly more efficient, without breaking anything. Tested: VS2005 on WinXP
* [svn-r14139] Description:Quincey Koziol2007-09-102-164/+171
| | | | | | | Minor edits to clean up code. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r14138] Scott Wegner2007-09-1060-6529/+4980
|
* [svn-r14137] Description:Quincey Koziol2007-09-071-1/+1
| | | | | | | | Correct name used for checking objects to operate on for h5repack, exposed by recent traversal routine changes. Tested on: Solaris/32 5.10 (linew) w/szip
* [svn-r14136] Description:Quincey Koziol2007-09-0625-1203/+1174
| | | | | | | | | | | | | | Move H5Gget_num_objs() and several minor macros, etc. to deprecated symbols section, replacing it with H5Gget_info(). Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 5.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14134] Description:Quincey Koziol2007-08-311-4/+4
| | | | | | | Cast usage of hsize_t variable as array index into size_t. Tested on: Linux/32 2.6 (kagiso) w/PGU compilers
* [svn-r14133] Description:Quincey Koziol2007-08-311-1/+1
| | | | | | | Fix naming change for FORTRAN symbol: H5G_LINK_ERROR -> H5L_TYPE_ERROR Tested on: Solaris/32 5.10 (linew)
* [svn-r14132] Description:Quincey Koziol2007-08-303-256/+219
| | | | | | | | | | Regenerate the h5diff_types.h5 file, which had somehow gotten mangled in some earlier checkin (prior to ~2-3 days ago, at least). Clean up formatting a bit also.. Tested on: Mac OS X/32 10.4.10 (amazon)
* [svn-r14131] Description:Quincey Koziol2007-08-3031-340/+365
| | | | | | | | | | | | | | Move H5Giterate() and H5G_iterate_t to deprecated symbols section, replacing them with H5Literate and H5L_iterate_t respectively. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 5.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14130] Description:Quincey Koziol2007-08-301-2/+2
| | | | | | | Correct typo in FORTRAN wrapper for retrieving the comment for an object Tested on: FreeBSD/64 6.2 (liberty)
* [svn-r14129] Description:Quincey Koziol2007-08-3016-307/+502
| | | | | | | | | | | | | | | | Add H5O{set|get}_comment routines, which were overlooked before. Move H5G{set|get}_comment routines to deprecated code section, replacing internal calls with H5O{set|get}_comment. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew) AIX/32 5.3 (copper) Mac OS X/32 10.4.10 (amazon)
* [svn-r14128] Description:Quincey Koziol2007-08-301-1/+1
| | | | | | | Correct typo in error returned from H5G_open_name() routine. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r14127] Description:Quincey Koziol2007-08-298-183/+174
| | | | | | | | | | | | | Move H5Gget_linkval to deprecated symbol section and replace with H5Lget_val for internal calls. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14126] Description:Quincey Koziol2007-08-2921-1085/+1102
| | | | | | | | | | | | | Move H5Gunlink to deprecated symbol section, replacing internal calls with H5Ldelete. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r14125] Description:Quincey Koziol2007-08-291-1/+1
| | | | | | | Correct another typo in return value on error FAIL -> NULL Tested on: FreeBSD/32 6.2 (duty)