summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [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)
* [svn-r3051] ./hdf5/tools/h5ls.cRobb Matzke2000-12-011-0/+30
| | | | | 2000-12-01 Robb Matzke <matzke@llnl.gov> * display_vlen_type: Added function to display name of variable-length datatypes.
* [svn-r3045] Purpose:Quincey Koziol2000-11-301-15/+597
| | | | | | | | | | Following up on added tests. Description: Added the code to generate the vldata and array test files added into the h5dump test suite recently. This doesn't have any affect on the library or tools, it's just for future reference. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3040] MuQun Yang2000-11-301-1/+1
| | | | | | | | | | | Purpose: bug_fix Description: forget changing offset from file offset into memory offset when inserting array datatype Solution: correct them Platforms tested: J90
* [svn-r3023] MuQun Yang2000-11-291-1/+7
| | | | | | | | | | | Purpose: bug fix (zeroing memory for memory allocating for the name of dimensional list) Description: At modi4, test failed due to garbage read for name of dimensional list. Solution: zeroing out memory before writing the name. Platforms tested: modi4, eirene(Linux)
* [svn-r3022] Purpose:Quincey Koziol2000-11-291-0/+68
| | | | | | | | Bug fix Description: Added DDL for test file. Platforms tested: Linux 2.2.16-3smp (eirene)
* [svn-r3021] Purpose:Quincey Koziol2000-11-291-8/+11
| | | | | | | | Bug fix Description: Moving VL data reclamation to be more local to where the data is read in. Platforms tested: Linux 2.2.16-3smp (eirene)
* [svn-r3017] Purpose:Quincey Koziol2000-11-291-5/+10
| | | | | | | | | | Code cleanup/bug fix Description: Variable length datatypes were leaking memory when being dumped. Solution: Reclaim the VL data after each element has been dumped out. Platforms tested: FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
* [svn-r3016] Purpose:Quincey Koziol2000-11-291-3/+3
| | | | | | | | | Re-enabling features. Description: Re-add the tests which had been core-dumping on a couple of platforms, now that the underlying bug is fixed. Platforms tested: FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
* [svn-r3014] Purpose:Quincey Koziol2000-11-281-9/+16
| | | | | | | | | | | Bug fix. Description: Data dumping routines weren't correctly handling scalar dataspaces when dumping them. Under some circumstances, it would get into infinite loops. Solution: Small patches to avoid problems when the number of dimensions is zero. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r2992] Purpose:Quincey Koziol2000-11-211-3/+5
| | | | | | | | | | | Bug workaround Description: tarray4.h5 and tdvltypes4.h5 are causing core dumps on modi4 Solution: Commented out those tests for now. I'll take a look at them after the code freeze for the beta-release is finished. Platforms tested: O2K (modi4)
* [svn-r2988] Purpose:Quincey Koziol2000-11-2147-504/+1051
| | | | | | | | Updating test files. Description: Updated test files to reflect changes to DDL. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2987] Purpose:Quincey Koziol2000-11-213-690/+573
| | | | | | | | | Bug fixes and misc. code fixing. Description: Updated to reflect current DDL document. Also changed VL data to be able to be able also dump VL data of any other datatype. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2984] Purpose:Bill Wendling2000-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | Bug fix Description: The code for determining what a string should print out if it was declared as H5T_STR_NULLTERM (C strings), H5T_STR_SPACEPAD (Fortran strings), or H5T_STR_NULLPAD (print null characters to the end of the line) was mucked. A user had a problem with it and suggested a change, but the change didn't seem to work properly. Also, if the string was H5T_STR_SPACEPAD, it could have stopped when encountering a NULL even if it hadn't gotten to the end of the string. Solution: Reworked the code to make it more understandable what's happening and to add in support for H5T_STR_SPACEPAD which may have been missing before. Platforms tested: Linux
* [svn-r2981] Purpose:Bill Wendling2000-11-201-2/+1
| | | | | | | | | | | | | Bug fix Description: If TESTH5TOH4 or TESTH4TOH5 wasn't set, then it would mess up the testing process by adding a ``#'' to the for statement (since there was a line-continuation in the definition of the macro). Solution: Placed the macro expansions all on one line so that there's no junk characters picked up by accident. Platforms tested: OSF1 (Gondolin)
* [svn-r2971] Purpose:Bill Wendling2000-11-173-3/+3
| | | | | | | | | | | Bug fix Description: With the changing of the spelling error in the h5ls usage statement, these testfiles puked. Solution: Corrected them in there. Platforms tested: Linux
* [svn-r2967] Purpose:Bill Wendling2000-11-171-1/+1
| | | | | | Spelling Fix Description: Changed ``dispalyed'' to ``displayed'' in usage message.
* [svn-r2966] Purpose:Bill Wendling2000-11-172-0/+23
| | | | | | | | Add Test Description: Added test for variable length data types. Platforms tested: Linux
* [svn-r2965] Purpose:Bill Wendling2000-11-171-1/+1
| | | | | | Usage Statement Reworking Description: Changed usage statement to correspond to the Tools.html page.
* [svn-r2961] Purpose:Albert Cheng2000-11-171-1/+4
| | | | | | | | Code cleaning Description: Use the variable to rid the warnings of "variable set but not used". Platforms tested: Linux and modi4 -64. Just compile only.
* [svn-r2956] Purpose:Bill Wendling2000-11-162-6/+4
| | | | | | | Backing out fix Description: The fix I inserted didn't work on all platforms. I'm backing it out.
* [svn-r2950] Purpose:Bill Wendling2000-11-162-6/+7
| | | | | | | | | | | | Bug fix Description: The output of floating point dumps wasn't necessarily standard. The h5ls utility does it in a better way. Solution: Changed the output parameters from %g to %1.*g and added the appropriate FLT_DIG/DBL_DIG parameter for the `*' in the above. Platforms tested: Linux
* [svn-r2949] Purpose:Bill Wendling2000-11-161-310/+390
| | | | | | Added tvldtypes test to the dumper test generator. Platforms tested: Linux
* [svn-r2948] Purpose:Bill Wendling2000-11-162-32/+0
| | | | | | | | | | | | | | Bug fix Description: I was writing things out to the HDF file in big-endian format without doing any conversions on the data or anything like that. This was causing tests to fail on most machines Solution: Removed the big-endian craziness...But, this kinda resulted in a bug in the HDF dumper which Albert and Robb suggested ways of fixing. Platforms tested: Linux
* [svn-r2941] Purpose:Bill Wendling2000-11-152-4/+36
| | | | | | | | | Better Test Files Description: These test files check more different types of datatypes for the variable length dumping. Platforms tested: Linux
* [svn-r2938] Purpose:Albert Cheng2000-11-151-0/+3
| | | | | | | | | | | | | pathc Description: TFLOPS coredumped on h5ls because when h5ls calls ioctl(TIOCGWINSZ), the ioctl() routine coredumped inside. Solution: It is likely that TFLOPS does not support window-size in the compute nodes. Still, it should not coredump. Bypass it for TFLOPS for now. Platforms tested: TFLOPS & modi4 (-64)
* [svn-r2922] Purpose:Quincey Koziol2000-11-151-2/+6
| | | | | | | | | | | | | | Bug fix Description: [Most] SGIs failed on dumping VL data during the daily tests they seem to be initializing variables differently, exposing a bug in dumping datasets with scalar dataspaces. Also, clean up code to get rid of compiler warnings. Solution: Initilialize variable correctly. Platforms tested: SGI IRIX 6.5 (paz)
* [svn-r2908] Purpose:Quincey Koziol2000-11-142-61/+50
| | | | | | | | | | | | | | | Bug fix. Description: VL datatype dumping was not working correctly on most machines because the "native" version of the variable-length type wasn't being generated for the printing process. Re-enabled VL dumping test Solution: Generate "native" version of the VL datatype to read in for printing, also some code cleanup in the VL dumping algorithm. Platforms tested: FreeBSD 4.1.1 (hawkwind) & Solaris 2.6 (baldric)
* [svn-r2896] Purpose:Bill Wendling2000-11-141-23/+13
| | | | Formatting
* [svn-r2895] Purpose:Bill Wendling2000-11-141-8/+13
| | | | | | | | Small purify warning fixes Description: Removes some purify warning fixes and memory leakage. Platforms tested: Solaris
* [svn-r2888] The VL dumping isn't ready for prime time just yet. Can't get ↵Bill Wendling2000-11-131-1/+1
| | | | | | | the H5 file to be platform independent. Commenting this out so that the nightly tests don't bomb...
* [svn-r2878] Purpose:Bill Wendling2000-11-132-84/+98
| | | | | | | | | | Feature Description: Variable length data dumping for simple (i.e., either SCALAR or 1-Dim array variable length datatypes) should work. Added to the tests... Platforms tested: Linux
* [svn-r2876] Purpose:Bill Wendling2000-11-132-0/+35
| | | | | | | | Test files Description: Test files for the h5dumping of variable length datasets. Platforms tested: Linux
* [svn-r2875] Purpose:Quincey Koziol2000-11-132-6/+6
| | | | | | | | Code cleanup Description: Eliminated some warnings on O2K platform. Platforms tested: SGI O2K (modi4)
* [svn-r2866] Purpose:Quincey Koziol2000-11-113-9/+10
| | | | | | | | Code cleanup Description: Found more "Have_foo" usage and converted them to "H5_HAVE_foo" Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2851] Purpose:Quincey Koziol2000-11-093-25/+157
| | | | | | | | | | | Updated for new array datatypes. Description: I missed these tools earlier when I wasn't compiling with HDF4... Solution: Updated them (correctly, I hope) to use the new array datatype instead of compound datatype array fields. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2846] Purpose:Quincey Koziol2000-11-095-246/+246
| | | | | | | | New Feature Description: Updated DDL files for new array output from h5dump. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2845] Purpose:Quincey Koziol2000-11-095-529/+652
| | | | | | | | New Feature Description: Added dumping array datatypes to h5dump and the tool library. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2842] Purpose:Bill Wendling2000-11-091-154/+119
| | | | | | | | | | Recoding of VL dumping. Description: I'm using hyperslabs to select the variable length data. I don't have any tests which I've checked in just yet. I'll create those later. Platforms tested: Linux