summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r2637] Purpose:Bill Wendling2000-10-061-803/+756
| | | | Format changes
* [svn-r2636] Purpose:Quincey Koziol2000-10-051-1/+1
| | | | | | | | | | Bug Fix Description: Test was not detecting hdp tool from HDF 4.1r4 correctly. Solution: Modified test to detect HDF4.1r[3-9] correctly. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2634] Purpose:Bill Wendling2000-10-051-22/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: In the h5dump_fixtype function, when users created a COMPOUND datatype, the alignment would be off somewhat. Solution: The alignment was being set after insertion. I changed this code: for (i = 0, offset = 0; i < nmembs; i++) { H5Tinsert_array(m_type, name[i], offset, ndims[i], dims + i * 4, NULL, memb[i]); for (j = 0, nelmts = 1; j < ndims[i]; j++) nelmts *= dims[i * 4 + j]; offset = ALIGN(offset, H5Tget_size(memb[i])) + nelmts * H5Tget_size(memb[i]); } to: for (i = 0, offset = 0; i < nmembs; i++) { if (offset) offset = ALIGN(offset, H5Tget_size(memb[i])); H5Tinsert_array(m_type, name[i], offset, ndims[i], dims + i * 4, NULL, memb[i]); for (j = 0, nelmts = 1; j < ndims[i]; j++) nelmts *= dims[i * 4 + j]; offset += nelmts * H5Tget_size(memb[i]); } The alignment is now calculated before the insertion. Platforms tested: Solaris, Linux
* [svn-r2632] Purpose:Bill Wendling2000-10-042-37/+48
| | | | | | | | | | | | | | Bug Description: The testh5toh4 was removing all .h5 files from the testfiles directory, however, with the addition of testh4toh5, we need some .h5 files in there. Solution: Changed the scripts so that an output directory is created for all of the processed files. This is removed after the test is finished. Platforms tested: Linux
* [svn-r2627] Purpose:Albert Cheng2000-10-021-1/+1
| | | | | | | | | | | | Bug fix Description: Attempted to close rawdatastream even if it has not been used to open a new file. Many systems tolerated the NULL value but not FreeBSD. Solution: Check for the NULL value too. Platforms tested: hawkwind (freeBSD) and modi4 parallel.
* [svn-r2626] Purpose:Albert Cheng2000-09-303-2/+57
| | | | | | | | | | | | | | | | | | | | New Feature Description: Add -o option to h5dumper. It displays the raw data of datasets to a separate output file. Add a feature to h5tools library that it uses the FILE *rawdatastream as the stream for the display of datasets raw data. Solution: Define an "extern FILE *rawdatastream" in h5tools.h and declare it in h5tools.c. This way, it would work even if an application does not explicitely declare it. Tried to initialized it to stdout as FILE *rawdatastream = stdout; but Linux gcc rejected it though all other platforms+compilers accepted it fine. For now, put in a kludge to set it right before it is used. Need a safer way to initialize it. Platforms tested: arabica, eirene, modi4 -64.
* [svn-r2625] Purpose:Albert Cheng2000-09-301-1/+14
| | | | | | | | | | | | | | | | | | | | Bug fix and feature Description: It could not find a working h5dump to process the hdf5 files. This could be because h5dump is not installed in $PATH or a disfunctional one is found. (E.g. arabica:/usr/sdt/bin/h5dump does not work.) Setting it to ./h5dump or $PWD/h5dump does not work because when h5dump is used, it has "cd testfiles", a different place. Solution: Set H5DUMP with the current absolute path (used `pwd` instead of $PWD which is sometimes not set for whatever reason.) Also add a feature to allow H5DUMP to be set to a different value by hand. For example, if the h5dump just built is not working correctly, one can do "H5DUMP=/usr/local/bin/h5dump make check" to bypass the broken h5dump. Platforms tested: arabica
* [svn-r2623] Purpose:Albert Cheng2000-09-302-726/+730
| | | | | | | | | | Reformat the source Description: The tabstop seems to defined different from 8-stops. The source files looked very confusing. Just reformate the files. Not change to source code at all. Platforms tested: modi4 -64.
* [svn-r2619] MuQun Yang2000-09-291-1/+1
| | | | | | | | | | Purpose: update testh4toh5 Description: change h5dump path at testh4toh5 Solution: Platforms tested: arabica, baldric, eirene
* [svn-r2616] MuQun Yang2000-09-281-0/+0
| | | | | | | | | | | | | | | | Purpose: add h4toh5 converter source codes under tools directory. Description: this is the expected hdf5 result for h4toh5 converter. Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] 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-r2615] MuQun Yang2000-09-281-0/+0
| | | | | | | | | | | | | | | | Purpose: add h4toh5 converter source codes under tools directory. Description: this is the test file for h4toh5 converter. Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] 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-r2614] MuQun Yang2000-09-2811-0/+7575
| | | | | | | | | | | | | | | | Purpose: add h4toh5 converter source codes under tools directory. Description: [describe the bug, or describe the new feature, etc] Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] 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-r2613] MuQun Yang2000-09-281-5/+15
| | | | | | | | | | | | | | | | | Purpose: add h4toh5 converter tool Description: add flag h4toh5 and testh4toh5 in the Makefile. Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: test on eirene and arabica. [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-r2579] Purpose:Quincey Koziol2000-09-192-13/+0
| | | | | | Clean up small compiler warnings and add missing function prototypes. Platforms tested: FreeBSD 4.1
* [svn-r2573] Purpose:Robb Matzke2000-09-191-47/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Irix pmake bugs Description: Build fails on Irix when builddir != srcdir Solution: * acconfig.h * src/H5config.h.in [REGENERATED] Added definition for HAVE_STREAM * config/conclude.in * config/depend1.in * config/depend2.in * config/depend3.in * config/depend4.in The `Dependencies' file is located in the source tree. This fixes bugs for Irix pmake when compiling outside the source tree. Hopefully it still preserves Albert's changes which allow concurrent compilations to not stomp on each other's Dependencies files. * examples/Dependencies [REGENERATED] * src/Dependencies [REGENERATED] * test/Dependencies [REGENERATED] * tools/Dependencies [REGENERATED] Regenerated for testing purposes. Platforms: i686-pc-linux mips-sgi-irix6.5 sparc-sun-solaris2.6
* [svn-r2563] Purpose:Thomas Radke2000-09-151-0/+10
| | | | | | | | | | | | | | | | | Added the Stream Virtual File Driver to the list of drivers used for trying to open a file via h5dump_fopen(). Description: The Stream VFD was added at bottom of the driver list for h5dump_fopen(). If no driver succeeded to open a file given by its filename the Stream VFD would try to do so by parsing the filename as an 'hostname:port' argument, open a socket to that address and read read the file. This feature can be used to h5ls/h5dump streamed files. Platforms: All platforms (also between heterogenous).
* [svn-r2549] Added usage message if the user doesn't specify a filename (i.e., noBill Wendling2000-09-141-1/+6
| | | | command line arguments are given).
* [svn-r2467] Changed type so that compiler warnings about implicit conversion ↵Bill Wendling2000-08-041-11/+3
| | | | | | were removed.
* [svn-r2462] Fixed some small compiler warnings.Bill Wendling2000-08-042-846/+890
|
* [svn-r2461] Made some of the functions prototypes so that the compiler wouldn'tBill Wendling2000-08-041-4/+4
| | | | complain.
* [svn-r2460] Fixed some comparisons between signed and unsigned values. Made ↵Bill Wendling2000-08-042-3/+3
| | | | | | | some of the functions prototypes so that the compiler wouldn't complain about them.
* [svn-r2419] Setup PUB_PROGS so that all tools but h5dumptst will be installed.Albert Cheng2000-06-271-1/+2
| | | | h5dumptst generates the test suits files. It is not a user tool.
* [svn-r2417] Include sys/stat.h in case it is not included in some platformsAlbert Cheng2000-06-271-0/+4
| | | | like Cray T90. Tested on linux.
* [svn-r2412] Fixed a variety of problems with the new H5ToolsFopen() function.Robb Matzke2000-06-234-184/+190
| | | | | | | | | | | | | | | | | | | | 1. The `driver' table is initialized only once, making it faster and leaking less memory. 2. The returned driver name is set to the empty string on failure. 3. Added an argument so the function cannot overwrite the end of the drivername return value. 4. Avoids core dump when assigning driver name to return value if the file could not be opened by any driver. 5. Changed name of function to h5dump_fopen() to follow the naming scheme for this source file. 6. Reindented according to hdf5 code standard. 7. Added `const' qualifiers to read-only formals. 8. Removed duplicate forward declaration. Reindented some parts of these source files that had very odd indentation (some lines had no indentation while others had 3x what they should). Fixed calls to H5ToolsFopen() function.
* [svn-r2359] added the comments back to the part of the code that is setting ↵Patrick Lu2000-06-071-0/+5
| | | | | | up the file drivers array.
* [svn-r2341] took the code out of h5ls to open files using different drivers ↵Patrick Lu2000-06-064-51/+74
| | | | | | | | | and created a function in the tools library for it(H5ToolsFopen-takes a filename and a char ptr if you want the name of the driver) added the function to h5tools.c, a header to h5tools.h and changed h5ls.c and h5dump.c to use the new functions
* [svn-r2308] added a funtion to create a bitfields test file. just used the ↵Patrick Lu2000-05-311-0/+48
| | | | | | code from the dataset test file
* [svn-r2307] test file for the bitfields test. i used the bitfield parts of ↵Patrick Lu2000-05-311-0/+0
| | | | the dataset test file
* [svn-r2306] ddl for the bitfields test filePatrick Lu2000-05-311-0/+26
|
* [svn-r2305] took out the line that said the bitfields are not supported in ↵Patrick Lu2000-05-311-4/+1
| | | | | | the dumper. now it will dump bitfields using the the tools lib like h5ls does.
* [svn-r2304] *** empty log message ***Patrick Lu2000-05-301-2/+1
|
* [svn-r2294] fixed the output of the options list so that the xml options ↵Patrick Lu2000-05-261-1/+1
| | | | text is aligned
* [svn-r2291] update the ddl to match the output the dumper is generating now ↵Patrick Lu2000-05-251-30/+30
| | | | | | | for the compound types. (the indentation for the curly brace at the end of the compound type is aligned with the top brace)
* [svn-r2290] fixed the indenting error related to compound types.Patrick Lu2000-05-251-3/+5
|
* [svn-r2280] more complicated test file for nested compounds. copied from ↵Patrick Lu2000-05-191-38/+74
| | | | Elena's test file
* [svn-r2279] copied Elena's code for a more complicated testfile for the ↵Patrick Lu2000-05-191-0/+0
| | | | nested compound types
* [svn-r2278] changed the nested compound test. copied Elena's code from her ↵Patrick Lu2000-05-191-29/+72
| | | | | | test file for nested comp types. more complicated test case
* [svn-r2262] * 2000-05-18Robb Matzke2000-05-182-37/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** src/H5Tconv.c ** src/H5Tpkg.h ** src/H5Tpublic.h The H5T_conv_struct_opt() function had a design flaw -- it didn't keep information about the stride to use to step through the temporary/background-value buffer and thus nested invocations would clobber each other's temp buffers. This was fixed by splitting the `stride' argument into `buf_stride' and `bkg_stride' arguments for all the conversion functions. THIS IS AN API CHANGE, but users will get a compiler warning when they pass their conversion function pointer to H5Tregister(). ** src/H5T.c ** src/H5Tprivate.h Added a bkg_stride argument to the H5T_convert() definition in order to fix a bug related to the optimized compound datatype conversion function. ** src/H5T.c ** src/H5A.c ** src/H5D.c ** src/H5Ofill.c ** src/H5P.c Added bkg_stride=0 argument to the H5T_convert() calls. ** test/dtypes.c Added a test for the H5T_conv_struct_opt() bug fixed above. ** src/H5FL.c The H5FL_term() function should return non-zero even when it couldn't free all the free lists do to their being used by some other package. When that other package terminates it will return non-zero, causing H5FL_term() to be called again. This fixes some of the `infinite loop closing library' messages. ** tools/pdb2hdf Uses print_version() instead of doing that itself. ** src/H5Ppublic.h Renamed H5Pget_gc_reference() declaration to make it match the definition. ** src/H5FDlog.c Added API tracing macros. Removed `const' qualifier from a `char*' member of a struct which was allocated on the heap. ** src/H5TB.c Added curly braces to a couple deeply-nested `if' statements to make them clearer and to shut up the increadibly stupid and just plain incorrect gcc warning about ambiguous `else'. ** test/titerate.c Removed incomplete initialization in favor of memset() for one auto variable to stop compiler warnings. ** tools/Depencencies Regenerated to remove references to h5dumputil.c
* [svn-r2256] same changes i did for the release version. (fixed bug in ↵Patrick Lu2000-05-161-1/+1
| | | | | | dangermouse... added an extra conditional)
* [svn-r2243] h5dump.c: Removed some Carriage-return'sAlbert Cheng2000-05-113-4/+4
| | | | | h5tools.c h5tools.h: Modified print_version() to use const char * argument instead.
* [svn-r2242] Removed h5dumputil.c. Its functions have been migrated to ↵Albert Cheng2000-05-113-150/+3
| | | | h5tools.c.
* [svn-r2232] removed the conditional compile statements that we were going to usePatrick Lu2000-05-093-58/+2
| | | | for the merged tools lib since these files do not require the tools lib
* [svn-r2229] added semicolons after the opaque infoPatrick Lu2000-05-091-2/+2
|
* [svn-r2228] added a semicolon after the opaque info is printedPatrick Lu2000-05-091-2/+2
|
* [svn-r2218] forgot the header to the ddl. just tells what hte command to ↵Patrick Lu2000-05-051-0/+3
| | | | generate the file was
* [svn-r2216] the ddl file for the topaque.h5 filePatrick Lu2000-05-041-0/+15
|
* [svn-r2215] the new opaque file. has a 2d array. the first array is from ↵Patrick Lu2000-05-041-0/+0
| | | | | | 0-99 and the is from 99-0.
* [svn-r2214] added support for the opaque type.Patrick Lu2000-05-042-4/+54
| | | | | prints out the data section in hexidecimal format. in the h5dumptst.c i added a function to create an opaque test file.
* [svn-r2211] took the development branch code and moved it into the release. ↵Patrick Lu2000-05-035-7/+74
| | | | | | | had to add some conditional compile statements in the code to compile for the release. defined a VERSION12 and VERSION13 macro. all changes were surrounded by these statements
* [svn-r2189] Fixed some compiler warningsQuincey Koziol2000-04-221-6/+6
|