| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
complain and it is more correct this way too.
|
|
|
|
|
|
| |
now the dump structure contains 2 extra members that tell how to format the
data for the dataset regions(blocks and pts).
had to give h5ls values for these
|
|
|
|
|
|
| |
struct to
display the format for the obj refs.
|
|
|
|
| |
removed some commented code.
|
|
|
|
|
|
|
|
|
| |
formatting.
in h5dump.c just initialized the values for the formatting struct.
in h5tools.c made some changes in the printing area to get the dump output to
look closer to what we wanted. the strings are currently not printing correctly.
also removed the program type variable from here.
|
|
|
|
| |
file
|
|
|
|
|
|
|
|
| |
Added -V option for displaying version information.
h5tools.c:
Added print_version routine to display version information.
h5tools.h:
Added print_version prototype.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
types
with out the square braces. also the formatting for the compound types
in the dataset part section has been corrected.
still need to update the expected outputs so there will be some errors until
I get that all checked in...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and the dumper.
so i moved the dumper stuff out to the libary. Had to change some functions
in h5findshd so they would stop using globals that shouldn't be defined in the
lib. I will remove the globals next. also the h5findshd.c has an extra member
to the struct for that objects in the table so i added that into the appropriate place.
the dumper is working ok now but the h5toh4 is still broken.
|
|
|
|
|
|
|
|
| |
stores the info
into the tables into the tools lib.
h5findshd-had some of the same functions so i removed them for now
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
----------------------
./src/H5FDcore.c
Includes private headers instead of public in order to use the
`UNUSED' macro.
./src/H5FDpublic.h
Includes H5public.h just in case.
./src/H5P.c
Removed two unused variables in H5P_copy()
./src/H5FDgass.h
Fixed a C++ comment after a `#endif'
./src/Makefile.in
The H5FDgass.h file is public and must be installed in order for
applications to be able to use HDF5.
./tools/h5tools.c
Removed an unused variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
----------------------
./src/H5public.h
We undefine a bunch of things that could get redefined in the config
file because some customers have applications that include headers
from multiple packages, all of which might be using autoconf.
Include <stdint.h> for the C9x types.
./test/h5test.h
More flushing of stdout for when testing is redirected down a pipe.
./tools/h5ls.c
Added a `-S' or `--simple' switch which causes the output to be
simplified somewhat for easier parsing by other scripts. For instance,
characters are escaped using a very simple mechanism instead of C's
more complicated backslash notation, data doesn't have `{}' or `[]'
characters interspersed for compound and array types, and data is
printed with exactly one element per line. This switch is now used by
an HDF5-to-HTML CGI script being developed for the DMF people.
./tools/h5tools.c
./tools/h5tools.h
The repeat threshold which controls how strings are printed when a
character repeats a bunch of times is now settable at runtime instead
of compile time. The default is to show all characters, like
"abceeeeeeeeeeeeeeeeeeeeeeeeeeeeeefgh"
But if you set it to something like 5 then any sequence of 5 or more
characters is replaced by something shorter, like:
"abc" 'e'x30 "fgh" or
Added an `str_locale' property which describes how to escape special
characters in strings. The default is C-like escapes but an
alternative is ESCAPE_HTML which replaces all non-alphanumeric
characters with a 3-character HTML escape of the form `%XX'
Fixed a bug where empty strings didn't even have the quote characters
printed. Now empty strings show up as `""' instead of absolutely
nothing.
Added a `per_line' property which controls the maximum number of
elements which will appear per line of output. The default is infinity
but in practice the right margin causes line breaks. By setting the
`per_line' value to one and the right margin to a very large value one
can achieve output with exactly one element per line.
|
|
|
|
| |
just casts with the parameters for the isdigit and isprint functions
|
|
|
|
| |
removed some of the warnings.
|
|
|
|
| |
indentation is greater than the number of columns it will generate an error
|
|
|
|
|
|
|
|
|
|
| |
Fixed a bug reported by Albert: the indices for data printed
by h5ls were starting over at zero for each pass through the
strip mining loop.
Fixed indentation in one function.
Replaced commented-out code by #if 0
|
|
|
|
| |
added a break for the H5T_ENUM case in the switch in the dump_simple_dset
|
|
|
|
| |
fixed a bug that was making references get printed twice
|
|
|
|
|
|
|
|
|
| |
oooops i forgot to include a case statement in two switch statements (1 in each file)
that print the actual data of the enum datasets
i had to change a line of h5dump_sprint.
when it checks to see that is an enum val isn't an escape sequence i appended
this result onto the end of the str
|
|
|
|
| |
changed some of the output format for the dumper(show object ids now)
|
|
|
|
| |
made the output for the dataset regions look like how Albert wanted it to
|
|
|
|
|
| |
dumps dataset regions now. uses robb's code to get all the info.
modified display_numeric_data to display the info
|
|
|
|
|
| |
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
|
|
|
|
| |
Tested in O2K.
|
|
|
|
|
|
| |
dump_attr function
for scalar data
|
|
|
|
| |
removed a c++ style comment i put in by accident
|
|
|
|
|
| |
added some support for the object references. uses robb's h5dump_sprint to
print out the info
|
|
|
|
| |
just made the h5dump_attr function
|
|
|
|
| |
fixed bug that was printing out the "unable to print data message"
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
rolled back my changes so Robb's last set are still there.
merged my hcanges back in
|
|
|
|
| |
fixed the dumb error with the concatenator macro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
----------------------
./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.
|
|
|
|
| |
removed the '//' from display_string and put a macro for it in h5dump.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
----------------------
./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.
|
|
|
|
|
|
|
|
|
|
|
| |
----------------------
./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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
----------------------
./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.
|
|
|
|
| |
got rid of 2 memory leaks in display_numer_data and display_string
|
|
|
|
| |
replaced the 0 in the function call to h5dump_simple_dset to DATSET_DATA
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
removed the c++ style comments and added a new line at the end of the file
|
|
|
|
| |
removed a line from display_numeric_data that was not needed
|
|
|
|
| |
added a function so that when we dump atomic characters they stay together
|
|
|
|
| |
added a line i thought was there but I must have removed it by accident
|
|
|
|
|
|
|
| |
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.
|