summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r1347] Robb Matzke1999-06-152-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990614 ---------------------- ./src/H5D.c Changed the way the plist_id argument of H5Dvlen_reclaim() is checked so that it's more specific and works when debugging is turned off. ./src/H5TB.c Removed an unused local variable. ./test/fillval.c ./test/h5test.c ./test/h5test.h Changed `basename' variables to `base_name' to prevent a warning about a global with the same name. ./tools/h5ls.c Changed `indent' variables to `ind' to prevent a warning about a global with the same name. ./tools/h5toh4.c Commented out declarations for things that normally appear in system header files since our definitions might be incompatible with the system and prevent h5toh4 from compiling. If all looks good on other systems then we can permanently remove these declarations...
* [svn-r1343] Filter out the reference number values during comparison of the hdpAlbert Cheng1999-06-141-2/+7
| | | | output.
* [svn-r1341] Robb Matzke1999-06-141-68/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990611 ---------------------- ./doc/html/H5.format.html Added documentation for opaque data types (bitfield types were already documented but they were out of order). ./src/H5E.c Fixed a bug with glibc2 on linux systems where `stdout' is an extern and can't be used to initialize static data. ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5detect.c Removed the `_T' from the new C9x types I just added so the names are consistent with existing types. Besides, the fact that something is a datatype is obvious because it starts with H5T_NATIVE_. ./tools/h5ls.c Added the new C9x data types. H5ls prints one of these types only if it doesn't match one of the builtin C types. Prints the OID for shared data types. Fixed a formatting bug with symbolic links which was introduced a few changes ago. The commandline has been changed so that objects from multiple files can be listed with a single command. Instead of specifying a file name and an optional list of objects, each thing to print is a file name and object concatenated. H5ls figures out how to devide the name into a file name and object name even when the file name part doesn't correspond to an actual Unix file. Old syntax: h5ls [OPTIONS] FILE [OBJECTS] New syntax: h5ls [OPTIONS] FILE[/OBJECT] [FILE[/OBJECT]]... Example ({X,Y} is expanded by the shell) Old command: h5ls -d ../test/x.data dir1 dir2 New command: h5ls -d ../test/x.data/{dir1,dir2} The filename is printed as part of the object name when full names are requested (--full or --recursive). If people really don't like this they can undefine a constant at the top of h5ls. Errors from the hdf5 library are turned off. Commandline switches of the form `--width 80' are accepted in addition to `--width=80'. This is more symmetric with single-letter switches that take two forms: `-w 80' and `-w80'. ./src/H5D.c Added tracing instrumentation for H5Dvlen_reclaim(). ./src/H5private.h Added casts to int for the isalpha() et al macros to shut up solaris warnings about char subscripts.
* [svn-r1339] Patrick Lu1999-06-141-2/+99
| | | | | added a print_enum function to it that is just taken from a similar funtion in h5ls.c
* [svn-r1338] Removed the tools/testfiles/*.dmp which are no longer used.Albert Cheng1999-06-1413-3256/+0
|
* [svn-r1336] h5toh4 test script used to compare the output of hdp applied onAlbert Cheng1999-06-1413-0/+0
| | | | | | | | | | | | | | | | | the generanted hdf files against saved output of hdp. This did not work well because whenever the hdp changes its output format, the tests failed unnecessarily. The tests also failed if the test machine uses a different version of HDF library from the HDF5 development machine. Changed the algorithm to compare the generated HDF files against saved HDF files (first by a simple cmp; if that fails, compare the output of the host machine's hdp on both HDF files.) Saved HDF files are stored in testfiles/Expected. Tested on Hawkwind (FreeBSD) with srcdir option and Baldric (Solaris) without srcdir option.
* [svn-r1335] h5toh4 test script used to compare the output of hdp applied onAlbert Cheng1999-06-141-152/+84
| | | | | | | | | | | | | | | the generanted hdf files against saved output of hdp. This did not work well because whenever the hdp changes its output format, the tests failed unnecessarily. The tests also failed if the test machine uses a different version of HDF library from the HDF5 development machine. Changed the algorithm to compare the generated HDF files against saved HDF files (first by a simple cmp; if that fails, compare the output of the host machine's hdp on both HDF files.) Tested on Hawkwind (FreeBSD) with srcdir option and Baldric (Solaris) without srcdir option.
* [svn-r1330] Patrick Lu1999-06-111-1/+1
| | | | removed a // frm the code
* [svn-r1329] Patrick Lu1999-06-111-3/+21
| | | | | started to add the enum code in. just wanted to get something checked in before i mess it up
* [svn-r1327] Got rid of the extra line of setting dim_n_size incorrectly.Albert Cheng1999-06-111-1/+0
| | | | Tested in O2K.
* [svn-r1326] Replaced the non-general if-then-elif-... code with a generalAlbert Cheng1999-06-111-107/+75
| | | | | | | while-loop. Prepare it for the next revision in which the hdp will apply to both the converted hdf4 file and a preserved hdf4 file, then compare the hdp output from both for h5toh4 converter correctness.
* [svn-r1325] fixed a bug that was due to settign the dim_n_size wrong for the ↵Patrick Lu1999-06-101-2/+6
| | | | | | dump_attr function for scalar data
* [svn-r1324] Patrick Lu1999-06-102-1/+4
| | | | | moved the ATTRIBUTE_DATA definition from h5dump.h to h5tools.h also created a ENUM_DATA in th5tools.h
* [svn-r1323] Patrick Lu1999-06-101-2/+1
| | | | removed a c++ style comment i put in by accident
* [svn-r1322] Removed the reformating part. The output of h5dump shouldAlbert Cheng1999-06-091-10/+2
| | | | be identical in all platforms. Tested in O2K.
* [svn-r1321] Patrick Lu1999-06-092-18/+36
| | | | | added some support for the object references. uses robb's h5dump_sprint to print out the info
* [svn-r1320] Patrick Lu1999-06-081-65/+85
| | | | just made the h5dump_attr function
* [svn-r1319] Patrick Lu1999-06-081-0/+2
| | | | fixed bug that was printing out the "unable to print data message"
* [svn-r1318] Patrick Lu1999-06-081-32/+76
| | | | | | separated the dumping of the attributes and datasets. works on nt but on unix(baldric) adds an extra line that says cannot print data. this is just a temporary checkin until i can figure out what is wrong
* [svn-r1317] Patrick Lu1999-06-081-29/+164
| | | | | rolled back my changes so Robb's last set are still there. merged my hcanges back in
* [svn-r1312] Patrick Lu1999-06-071-168/+34
| | | | fixed the dumb error with the concatenator macro
* [svn-r1311] Changes since 19990607Robb Matzke1999-06-072-3/+51
| | | | | | | | | | | | | | | | | | | | ---------------------- ./tools/h5ls.c ./tools/h5tools.c Added support for printing bitfields and opaque data. ./test/dsets.c Added bitfield and opaque datasets to the output file so h5ls has something interesting to print. ./test/trefer.c Resync'd ./src/H5Tconv.c Fixed bitfield conversion which resulted in possible garbage in high-order bits of destination when the destination type is larger than the source type. Thanks for spotting it, Quincey.
* [svn-r1310] Patrick Lu1999-06-072-8/+8
| | | | removed the '//' from display_string and put a macro for it in h5dump.h
* [svn-r1309] Changes since 19990607Robb Matzke1999-06-072-35/+168
| | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./tools/h5tools.c Finished code which prints references (object and dataset region). Patrick, if you tell me how h5dump should (or might want to) print references I can make some changes to support various formats... You can try it out with: cd test env HDF5_NOCLEANUP=yes ./testhdf5 ../tools/h5ls -dvr trefer1.h5 ../tools/h5ls -dvr trefer2.h5 (run h5ls with no arguments if you forgot what the switches do) ./test/trefer.c Call calloc instead of malloc in one place to prevent uninitialized data from being written into the file.
* [svn-r1308] Changes since 19990607Robb Matzke1999-06-073-363/+410
| | | | | | | | | | | ---------------------- ./tools/h5ls.c ./tools/h5tools.c ./tools/h5tools.h Finished the `-x' or `--hexdump' switch, which causes all data to be printed in hexadecimal format with no translation from file to memory data type.
* [svn-r1306] Changes since 19990602Robb Matzke1999-06-072-12/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./doc/html/Datatypes.html ./test/dtypes.c Added documentation and tests for opaque types. ./tools/h5ls.c Added a `-x' or `--hexdump' argument which is not fully implemented (because I want to synchronize h5tools.c first) but which will eventually print raw data in hexadecimal format without any translation from disk. This would be useful for debugging references and VL types. ./tools/h5tools.c Added support for references (not quite finished yet, but compiles -- I wanted to sync up this file before Patrick and I got too far apart...) ./src/H5R.c Checked for error return value from H5R_get_object_type() ./src/H5A.c ./src/H5D.c Changed error return values from NULL to FAIL ./test/Makefile.in ./test/trefer.c Creates trefer1.h5 and trefer2.h5 so that the second test doesn't clobber the first file since the files might be useful for debugging.
* [svn-r1303] Patrick Lu1999-06-041-0/+2
| | | | got rid of 2 memory leaks in display_numer_data and display_string
* [svn-r1302] Patrick Lu1999-06-041-1/+1
| | | | replaced the 0 in the function call to h5dump_simple_dset to DATSET_DATA
* [svn-r1301] Patrick Lu1999-06-041-1/+1
| | | | fixed the number of parameters to h5dump_fixtype.
* [svn-r1300] Patrick Lu1999-06-041-50/+131
| | | | | | | added the programtype variable and modified certain functions so they would use this variable. started combinin h5dump_simple and h5dump_simple_dset into 1 function. added an extra parameter to the h5dump_simple_dset function that because the h5dump_simple function uses a var that isn't present in the dump_simple_dset
* [svn-r1299] Patrick Lu1999-06-041-3/+19
| | | | added an enum for programtypes and the program types variable
* [svn-r1298] Patrick Lu1999-06-042-0/+6
| | | | | | | added a new variable to the tools lib that keeps track of what program is using the library. h5ls.c and h5dump.c needed to init the variable to the correct value for the programtype variable. this variable will hopefully only be temporary until the lib gets combined farther
* [svn-r1297] Patrick Lu1999-06-041-5/+2
| | | | removed the c++ style comments and added a new line at the end of the file
* [svn-r1296] Patrick Lu1999-06-031-1/+0
| | | | removed a line from display_numeric_data that was not needed
* [svn-r1295] Previous version contained incorrect output from previous h5dump.Albert Cheng1999-06-031-8/+8
| | | | Updated it to reflect correct output.
* [svn-r1293] Patrick Lu1999-06-021-13/+77
| | | | added a function so that when we dump atomic characters they stay together
* [svn-r1290] TFLOPS needs a launching problem even for single process execution.Albert Cheng1999-05-281-1/+1
| | | | Use RUNSERIAL to launch it.
* [svn-r1286] Patrick Lu1999-05-281-3/+4
| | | | added a line i thought was there but I must have removed it by accident
* [svn-r1285] Patrick Lu1999-05-271-52/+44
| | | | | | | fixed the last bug with the repeating in the tstr.h5 test added an extra parameter to the h5dump_sprint function. it was for the repeat_threshold before it was hardcoded as 8 but now i let it be a parameter so that if it is set to a negative number then it will not count the repeats and print all the values out.
* [svn-r1283] Changed the shell to exit with number of errors encountered duringAlbert Cheng1999-05-262-2/+4
| | | | test. This would signal to make something is incorrect.
* [svn-r1282] Patrick Lu1999-05-261-31/+53
| | | | | | fixed the null pad error and the extra quotes that were appearing in the strings. still need to get rid of the part where it will say something repeats x amount of times
* [svn-r1271] h5tools.c:Albert Cheng1999-05-211-2/+2
| | | | | | fixed a typo of pointer comparing with char. h5tools.h: Removed ^M from the file. SGI does not like them.
* [svn-r1269] Patrick Lu1999-05-201-187/+187
| | | | i forgot to remove an extra if else that isn't needed anymore
* [svn-r1268] Patrick Lu1999-05-201-95/+63
| | | | | | | | | | | | | changing the display_numeric_data abd the display_string to use the h5dump_sprint from the tools lib. added a section to initialize the h5dump_t variable in both these functions. in the display_string had to remove the extra quotes that gets displayed when printing. in h5dump_sprint i changed the for loop in the case of the string. I added a check to see if the last character is a \0. it was being printed before.
* [svn-r1264] Fixed output of hdp comparison files to align with the output ↵Quincey Koziol1999-05-2010-90/+72
| | | | | | from the v4.1r3 dumper.
* [svn-r1262] Patrick Lu1999-05-171-34/+40
| | | | fixed another bug that i made when I started to merge the 2 libs together.
* [svn-r1257] fixed a bug I introduced when i removed the h5dump_sprint fromt ↵Patrick Lu1999-05-141-31/+33
| | | | he dump tool
* [svn-r1255] changed a typo in the include file here tooPatrick Lu1999-05-131-1/+1
|
* [svn-r1254] changed a type in the include file namePatrick Lu1999-05-131-1/+1
|
* [svn-r1253] started to bring the tools lib and the dumputil file together. ↵Patrick Lu1999-05-136-1053/+1036
| | | | | | | | | | | | | | | | | | incorportated all the constants and from dumputil to to the tools lib and merged h5dump_fixtype together. I had to add an extra parameter to the function to specify what action should be taken when it hits H5T_STRING in the case statement. if the parameter (strDUAction) is true then it does what it use to do in dumputil but if it is false then it will do what it originally did in this file. I also put the h5dump_sprint functions into the same file. it isn't really merged yet. i just wanted to get everything into a file and then worry about the merging of this function. The toolslib way of h5dump_sprint takes an extra parameter. If this parameter is set to NULL then it will do the dumputil's version of this function. like i said this is just the first step i am taking. it will be merged better later. the rest of the changes to the other files were related to the above changes.