| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
| |
output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
added a print_enum function to it that is just taken from a similar funtion
in h5ls.c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
removed a // frm the code
|
|
|
|
|
| |
started to add the enum code in.
just wanted to get something checked in before i mess it up
|
|
|
|
| |
Tested in O2K.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
dump_attr function
for scalar data
|
|
|
|
|
| |
moved the ATTRIBUTE_DATA definition from h5dump.h to h5tools.h
also created a ENUM_DATA in th5tools.h
|
|
|
|
| |
removed a c++ style comment i put in by accident
|
|
|
|
| |
be identical in all platforms. Tested in O2K.
|
|
|
|
|
| |
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
|
|
|
|
| |
fixed the number of parameters to h5dump_fixtype.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
added an enum for programtypes and the program types variable
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|
|
|
| |
Updated it to reflect correct output.
|
|
|
|
| |
added a function so that when we dump atomic characters they stay together
|
|
|
|
| |
Use RUNSERIAL to launch it.
|
|
|
|
| |
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.
|
|
|
|
| |
test. This would signal to make something is incorrect.
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
fixed a typo of pointer comparing with char.
h5tools.h:
Removed ^M from the file. SGI does not like them.
|
|
|
|
| |
i forgot to remove an extra if else that isn't needed anymore
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
from the v4.1r3
dumper.
|
|
|
|
| |
fixed another bug that i made when I started to merge the 2 libs together.
|
|
|
|
| |
he dump tool
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|