summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r3484] Robert E. McGrath2001-02-221-6/+21
| | | | | | | | | | | Purpose: fix bug in XML output Description: OBJ-XID, Parents, etc. were messed up in several cases. Solution: Fixed. Updated tests to have correct results in them Platforms tested: Solaris 2.7
* [svn-r3475] Purpose:Albert Cheng2001-02-201-2/+2
| | | | | | | | | | | Bug fix Description: h4toh5test was being installed because it was put in the PUB_PROGS which is specifically for public programs to be installed. Solution: Moved it away from the PUB_PROGS list to the PROGS list. Platforms tested: eirene.
* [svn-r3453] MuQun Yang2001-02-191-1/+1
| | | | | | | | | | | Purpose: Fixing Makefile.in for compiling h4toh5test.c at the right option Without including hdf4 lib, h4toh5test will not be generated. Description: Solution: Platforms tested: arabica
* [svn-r3451] Purpose:Bill Wendling2001-02-191-1/+1
| | | | | | | | | Feature Add Description: Added support for the h4toh5test program which needs to be conditionally compiled in only if HDF4 is specified. Platforms tested: Linux
* [svn-r3446] MuQun Yang2001-02-1919-0/+0
| | | | | | | | Purpose: remove old h4-h5 test files Description: Solution: Platforms tested:
* [svn-r3445] MuQun Yang2001-02-1921-0/+0
| | | | | | | | Purpose: remove h4-h5 converter test files Description: Solution: Platforms tested:
* [svn-r3444] MuQun Yang2001-02-1919-0/+0
| | | | | | | | Purpose: remove old h4-h5 testfiles Description: Solution: Platforms tested:
* [svn-r3443] MuQun Yang2001-02-1920-0/+0
| | | | | | | | Purpose: remove old h4-h5 converter test files Description: Solution: Platforms tested:
* [svn-r3442] MuQun Yang2001-02-191-0/+0
| | | | | | | | Purpose: remove old h4-h5 converter test files Description: Solution: Platforms tested:
* [svn-r3437] Purpose:Bill Wendling2001-02-161-126/+383
| | | | | | | | | | | | | Feature Add Description: This is the first phase of adding subsetting to the dumper. The command-line parsing should be pretty much set right now. NOTE: The revision before this one can be used to back port to the 1.4 branch when the XML stuff is folded into that branch for release. Platforms tested: Linux
* [svn-r3426] Description:Albert Cheng2001-02-161-3/+3
| | | | | Some fixes were wiped out by Bob's commit. Recovered the changes.
* [svn-r3420] MuQun Yang2001-02-1617-0/+0
| | | | | | | | | | Purpose: add new expected converted hdf5 files from converter Description: Solution: Platforms tested: eirene, arabica CVOS: ----------------------------------------------------------------------
* [svn-r3419] MuQun Yang2001-02-1616-0/+0
| | | | | | | | | | | | | Purpose: adding new test hdf4files to be tested by h4toh5 converter Description: Solution: more typical test files are used Platforms tested: [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
* [svn-r3418] MuQun Yang2001-02-162-46/+22
| | | | | | | | | | | Purpose: add contents to compile h4toh5test.c Description: solution: handled similar as h5dumptst.c Platforms tested: Linux(eirene), sun 5.7(arabica)
* [svn-r3417] MuQun Yang2001-02-161-0/+3944
| | | | | | | | | | Purpose: source code to generate hdf files for h4toh5 converter Description: Solution: see the comments of the code. this file is handled similar with h5dumptst.c Platforms tested: eirene, arabica
* [svn-r3416] MuQun Yang2001-02-161-5/+11
| | | | | | | | | | Purpose: bug fix Description: update a few constant Solution: Platforms tested: eirene and arabica
* [svn-r3415] MuQun Yang2001-02-163-14/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: bug fix Description: two bugs: 1. different order of conventions of sds and image in hdf4 is considered at h4toh5image.c file. add palette colormodel attribute and correct names of a few attributes. see detail at: http://hdf.ncsa.uiuc.edu/HDF5/H5Image/ImageDetails.htm 2. convert hdf internal vdata structure(chunking table) into a new hdf5 dataset. Solution: 1. change h5 data space order for image. h5dims[0] = edge[1]-edge[0]; h5dims[1] = start[1]-start[0]; 2. at h4toh5main.c, check the vdata class name and if the first few characters match with HDF_CHK_TBL; ignore converting this vdata. 3. add a few attributes at h4toh5pal.c platforms: linux and sun 5.7(arabica) such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
* [svn-r3414] Purpose:Bill Wendling2001-02-151-44/+48
| | | | | | | | | | | | | | Update Description: Updated the code so that error messages are sent to stdout instead of to /dev/null. Albert says that it was supposed to be doing this anyway, so... Also did some formatting changes. Solution: Changed the "2>/dev/null" to "2>&1" Platforms tested: Linux
* [svn-r3413] Purpose:Bill Wendling2001-02-155-12/+12
| | | | | | | | | Update Description: Updated the result files to be consistent with the new error messaging schema that h5dump uses. Platforms tested: Linux
* [svn-r3412] Purpose:Bill Wendling2001-02-152-275/+325
| | | | | | | | | | | | | | | | | | | | | | | Code cleanup Description: Cleaned the code up a bit getting rid of some warnings about "const" being lost from passing a const char * to a function, etc. Also force the error messages to stderr instead of simply printing them to stdout. The same behaviour can be achieved by running h5dump like: h5dump ... 2>&1 however, the error reporting before this change wasn't consistent in its use. I also made some of the error messages clearer (giving names of the failed types and, when there's an "internal error", reporting the line number the error occurred on so that we can debug). Solution: Converted to "fflush(stdout); fprintf(stderr,...);" for all error reportings. Platforms tested: Linux
* [svn-r3408] Purpose:Robert E. McGrath2001-02-1457-898/+9654
| | | | | | | | Adding new feature. Description: XML output option to h5dump Platforms tested: SPARC Solaris 2.7, Irix6.5 (32bit), Linux, Win98
* [svn-r3304] Purpose:Quincey Koziol2001-01-182-38/+0
| | | | | | | | Code update Description: Remove ragged array code & tests from library before release. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3287] Purpose:Albert Cheng2001-01-122-4/+8
| | | | | | | | | | Improvement Description: The mkdir testfiles and the testing of h5dump have their stderr redirected to /dev/null. Thus no way to see error messages when happen. Removed the redirection Platforms tested: Eirene (linux).
* [svn-r3284] Purpose:Albert Cheng2001-01-121-0/+6
| | | | | | | | | | document Description: Added comments in how to use the program and instructions that the corresponding may need updates if new batch of binary files are created. Platforms tested: Eye-balled only. (Just a few lines of comments.)
* [svn-r3276] MuQun Yang2001-01-122-0/+7
| | | | | | | | | | | Purpose: windows bug fix Description: need extra header files for windows Solution: add #ifdef win32 #endif loops Platforms tested: windows 2000, confirmed at eirene
* [svn-r3266] Purpose:Bill Wendling2001-01-102-1/+1
| | | | | | | | | Name change Description: Changed the names of the testh5toh4 and testh4toh5 scripts to the "canonical" form -- testh4toh5.sh and testh5toh4.sh. Platforms tested: Linux
* [svn-r3265] Purpose:Quincey Koziol2001-01-102-6/+6
| | | | | | | | Clean up warnings. Description: Cleaned up a few compiler warnings. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3264] Purpose:Bill Wendling2001-01-103-32/+15
| | | | | | | | | | | Bug fix Description: I dropped the boat on this one. I assigned prefix to NULL after it'd been allocated...My bad. Solution: Stopped doing that. Platforms tested: Linux
* [svn-r3263] Purpose:Bill Wendling2001-01-101-10/+9
| | | | | | | | | Code cleanup Description: Changed so that the streaming stuff is inserted if > 1.2 version. Also modified init_prefix function so that it's sane. Platforms tested: Linux
* [svn-r3262] Purpose:Bill Wendling2001-01-101-3/+1
| | | | | | | | | | Annoying code cleanup Description: This code could all be on one line, but wasn't for some reason. Solution: Made it into one printf() call. Platforms tested: Linux
* [svn-r3261] Purpose:Bill Wendling2001-01-101-87/+165
| | | | | | | | | | Code Cleanup Description: Cleaned up where structures were. Added comments to new functions. Removed strcpy(prefix, "") and made it prefix = NULL; since that's what it's doing anyway. Platforms tested: Linux
* [svn-r3257] Purpose:Quincey Koziol2001-01-101-1/+1
| | | | | | | | | | | Bug fix Description: Compiler on sangamon (HP/UX 10.20) is having problems with the statement "#ifdef 0". Solution: Changed statement to "#if 0" instead. Platforms tested: Eyeballed...
* [svn-r3252] Purpose:Quincey Koziol2001-01-0913-99/+111
| | | | | | | | | | | | | Code cleanup. Description: Fixed _lots_ (I mean _tons_) of warnings spit out by the gcc with the extra warnings. Including a few show-stoppers for compression on IRIX machines. Solution: Changed lots of variables' types to more sensible and consistent types, more range-checking, more variable typecasts, etc. Platforms tested: FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
* [svn-r3249] Purpose:Bill Wendling2001-01-098-8/+8
| | | | | | | | | | | | | | New Feature Description: Changed the command line flags in the h5dumper so that they accept both short and long flags. The flag syntax for some have changed (I.e., object ids are no longer -v but -i and -header is now -H or --header, etc.) A new function is added called get_options which can be used for all other tools as well. Had to change these output files to accept the correct flags. Platforms tested: Linux
* [svn-r3248] Purpose:Bill Wendling2001-01-094-409/+701
| | | | | | | | | | | | New Feature Description: Changed the command line flags in the h5dumper so that they accept both short and long flags. The flag syntax for some have changed (I.e., object ids are no longer -v but -i and -header is now -H or --header, etc.) A new function is added called get_options which can be used for all other tools as well. Platforms tested: Linux
* [svn-r3230] Purpose:Quincey Koziol2001-01-036-3/+147
| | | | | | | | Extra testing Description: Added tests to dump empty datasets to the h5dump and h5ls testing. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3229] Purpose:Quincey Koziol2001-01-031-3/+9
| | | | | | | | Bug fix Description: Close several potential resource leaks in failure conditions. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3227] ./hdf5/tools/h5ls.cRobb Matzke2000-12-291-0/+1
| | | | | | | 2000-12-28 12:03:41 Robb Matzke <matzke@llnl.gov> * main: If the file cannot be opened then immediately try the next argument. This prevents multiple error messages from the same file.
* [svn-r3194] MuQun Yang2000-12-221-10/+15
| | | | | | | | | | | | | | | | | | Purpose: bug fix Description: 1. zeroing out memory before using the memory buffer 2. before wrongly using Vquerysize API of HDF4 to obtain the real file size of record type in HDF4. Actually Vquerysize will return the real data type size in Memory. That will cause the object reference difference on Cray which file size is not equal memory size. Solution: 1. using h4toh5ZeroingMemory function to zero out memory. 2. calcuating the real file size of vdata record in the converter instead of using Vquerysize HDF4 API. Platforms tested: Cray J90, arabica, eirene
* [svn-r3193] MuQun Yang2000-12-225-9/+25
| | | | | | | | | | | | Purpose: bug fix Description: Zeroing out all memory buffer before it is being used. Solution: using h4toh5ZeroMemory function Platforms tested: linux(eirene), arabica(sun 2.7)
* [svn-r3139] Purpose:Quincey Koziol2000-12-143-13/+6
| | | | | | | | Bug Fix Description: Re-generated h5ls output which contained floating point numbers. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3137] MuQun Yang2000-12-141-1/+1
| | | | | | | | | | Purpose: kind of bug fix for windows Description: Use HDfree() instead of free() so that it will not cause exceptions on windows dll Solution: Platforms tested: windows NT 4.0 and 5.0, confirmed at Linux box.
* [svn-r3136] Purpose:Quincey Koziol2000-12-141-3/+3
| | | | | | | | | Bug Fix Description: Moved check for float type ahead of double type, since they are the same size on Crays.. Platforms tested: Cray J90 (killeen)
* [svn-r3135] Purpose:Quincey Koziol2000-12-141-0/+3
| | | | | | | | Bug Fix Description: Dataspace wasn't being freed... Platforms tested: Cray J90 (killeen)
* [svn-r3134] Purpose:Quincey Koziol2000-12-141-1/+1
| | | | | | | | | | Bug Fix Description: Floating point format string is incorrect. Solution: Changed "g" -> "%g" Platforms tested: Cray J90 (killeen)
* [svn-r3113] Purpose:Quincey Koziol2000-12-113-22/+19
| | | | | | | | | | | | Bug Fix Description: Stumbled across a problem when working on the J90 h5dump problem where I noticed that some of the output for named compound datatypes wasn't being displayed. Solution: Generated correct DDL files. Platforms tested: FreeBSD 4.2 (hawkwind) & Cray J90 (killeen)
* [svn-r3112] Purpose:Quincey Koziol2000-12-111-18/+5
| | | | | | | | | | | | Bug Fix Description: Stumbled across a problem when working on the J90 h5dump problem where I noticed that some of the output for named compound datatypes wasn't being displayed. Solution: Corrected output to display missing information. Platforms tested: FreeBSD 4.2 (hawkwind) & Cray J90 (killeen)
* [svn-r3077] MuQun Yang2000-12-051-4/+8
| | | | | | | | | | | | Purpose: a bug fix for windows Description: ignore checking the permission of file and directory on windows Solution: using ifndef WIN32 endif to ignore checking this feature. Will find how windows deal with file checking stuff later. Platforms tested: WIN 2000, and confirmed at eirene(Linux)
* [svn-r3072] MuQun Yang2000-12-041-7/+10
| | | | | | | | | | | Purpose: turn off "checking file and directory permission right" on windows platform Description: Adding #ifndef WIN32 #endif block at the corresponding test-file and test-dir functions. Solution: See above. Platforms tested: Win NT 4.0,5.0; and confirm the result the same on eirene and arabica
* [svn-r3066] Purpose:Quincey Koziol2000-12-024-10/+8
| | | | | | | | | | | | Bug Fix. Description: Attributes whose datatype was an object or dataset region reference weren't dumping correctly. Solution: Pass along attribute ID to the code which prints the attributes, so the reference types can be dereferenced and printed. Platforms tested: FreeBSD 4.2 (hawkwind) & IRIX64 6.5 (modi4)