summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r1377] Patrick Lu1999-06-241-1/+0
| | | | removed teh TYPE define since it was already there as DATATYPE
* [svn-r1376] Patrick Lu1999-06-241-2/+8
| | | | changed some of the output format for the dumper(show object ids now)
* [svn-r1370] Patrick Lu1999-06-231-0/+1
| | | | added a new line before a bracket was pritned in the enum stuff
* [svn-r1369] Patrick Lu1999-06-221-3/+5
| | | | added semicolons after the print out of the enum info
* [svn-r1367] Patrick Lu1999-06-211-13/+17
| | | | | made a small change so that windows would stop complaining. the change involved using some type casting. the change was surrounded by a #define WIN32
* [svn-r1361] Patrick Lu1999-06-171-2/+20
| | | | made the output for the dataset regions look like how Albert wanted it to
* [svn-r1360] Patrick Lu1999-06-171-7/+225
| | | | | dumps dataset regions now. uses robb's code to get all the info. modified display_numeric_data to display the info
* [svn-r1355] Bug fix: compiler complained about errno not defined. That wasAlbert Cheng1999-06-161-7/+4
| | | | | | | because it is predefined in <errno.h>, not <sys/errno.h> which contains the system error codes. Fixed and tested in IRIX6.5 (also got rid of the few K&R C-style function declaration statements.)
* [svn-r1354] Robb Matzke1999-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990615 ---------------------- ./README Version number synchronized with library. ./bin/h5vers If the version number of the library is changed then the first line of the README file is also changed to something like This is hdf5-1.2.3 currently under development The `release' script (which also gets run by `snapshot') changes that line to include the release date but keeps the version number the same. The net effect is that the version numbers in README and H5public.h should now always stay synchronized. ./bin/snapshot The CVS checkin comment includes the version number for the snapshot that was just made. ./tools/testh5toh4 Changed `*-SKIP-*' to `-SKIP-' to be consistent with the other tests.
* [svn-r1352] Changed the '\n' argument to '\012' since some other machines ↵Albert Cheng1999-06-162-2/+2
| | | | | | | (solaris, irix) misinterpreted it to mean deleting the letter 'n'. Tested in IRIX and solaris and FreeBSD machines.
* [svn-r1351] Bug fix:Albert Cheng1999-06-161-11/+32
| | | | | | | | hdp before HDF 4.1r3 does not handle Vgroups loops correctly. Solution: Added codes to detect the library version of hdp command. Skipped tests for loops. Tested in an old solaris with HDF 4.1r2, Solaris 2.6 and Hawkwind.
* [svn-r1350] Patrick Lu1999-06-151-0/+31
| | | | added the #defines for the string macros here
* [svn-r1349] Patrick Lu1999-06-151-25/+1
| | | | moved the #define for the string macros to the h5tools.h from h5dump.h5
* [svn-r1348] Patrick Lu1999-06-151-6/+13
| | | | | got the regions working in the dumper. all the hard stuff was already done. it doesn't work perfectly yet but it is getting better
* [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