Commit Graph

1205 Commits

Author SHA1 Message Date
Robb Matzke
fe3079f7e2 [svn-r1270] Snapshot 1999-05-21 04:21:15 -05:00
Patrick Lu
bae358243c [svn-r1269]
i forgot to remove an extra if else that isn't needed anymore
1999-05-20 14:09:04 -05:00
Patrick Lu
19d46ed16f [svn-r1268]
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.
1999-05-20 13:54:08 -05:00
Patrick Lu
b6ffdf65b9 [svn-r1267]
fixed a typo in the bat file i just put in
1999-05-20 11:31:50 -05:00
Patrick Lu
744b73521a [svn-r1266]
added a the h5dump batch file i created to test the the dumper
1999-05-20 11:24:43 -05:00
Robb Matzke
253cbe6d9c [svn-r1265] Snapshot 1999-05-20 04:21:52 -05:00
Quincey Koziol
39d4289d7b [svn-r1264] Fixed output of hdp comparison files to align with the output from the v4.1r3
dumper.
1999-05-19 19:46:07 -05:00
Robb Matzke
d3968c738f [svn-r1263] Snapshot 1999-05-18 04:21:10 -05:00
Patrick Lu
ba25e1770b [svn-r1262]
fixed another bug that i made when I started to merge the 2 libs together.
1999-05-17 10:36:33 -05:00
Robb Matzke
3245cbdf45 [svn-r1261] Snapshot 1999-05-17 04:21:10 -05:00
Quincey Koziol
72a1a02b83 [svn-r1260] Corrected H5Iget_type so error value isn't always returned. 1999-05-16 16:21:53 -05:00
Robb Matzke
647016dad2 [svn-r1259] Snapshot 1999-05-15 04:21:37 -05:00
Robb Matzke
5d27980756 [svn-r1258] Fixed a bug that caused an ID to be added to the cache twice. Thanks
for noticing it, Nancy.
1999-05-14 16:58:42 -05:00
Patrick Lu
6476ddbc60 [svn-r1257] fixed a bug I introduced when i removed the h5dump_sprint fromt he dump tool 1999-05-14 14:47:22 -05:00
Robb Matzke
0b99b3751f [svn-r1256] Snapshot 1999-05-14 04:21:26 -05:00
Patrick Lu
eca82b725b [svn-r1255] changed a typo in the include file here too 1999-05-13 10:42:24 -05:00
Patrick Lu
1de32d9f71 [svn-r1254] changed a type in the include file name 1999-05-13 10:40:25 -05:00
Patrick Lu
8fc87f2267 [svn-r1253] started to bring the tools lib and the dumputil file together. 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.
1999-05-13 10:18:12 -05:00
Robb Matzke
3967b1f5db [svn-r1252] Snapshot 1999-05-07 04:21:03 -05:00
Quincey Koziol
51aa1eb2b5 [svn-r1251] Snapshot 1999-05-06 18:13:20 -05:00
Quincey Koziol
81b282b663 [svn-r1250] Added DatatypesEnum.html and EnumMap.gif 1999-05-06 18:04:52 -05:00
Quincey Koziol
c13ce10093 [svn-r1249] Snapshot 1999-05-06 18:01:08 -05:00
Robb Matzke
ba73d2e4cb [svn-r1248] Snapshot 1999-05-05 04:21:16 -05:00
Robb Matzke
c529ab9cc4 [svn-r1247] Checked in again 1999-05-04 08:12:42 -05:00
Robb Matzke
ca309999ba [svn-r1246] Removed deprecated constants that were already commented out 1999-05-04 08:12:16 -05:00
Robb Matzke
aaeeddb432 [svn-r1245] Snapshot 1999-05-04 04:21:03 -05:00
Frank Baker
a3d84da7df [svn-r1244] Datatypes.html
DatatypesEnum.html
EnumMap.gif
	Added enumeration datatypes -- First pass, only minimal editing.
	Intro paragraph in Datatypes.html; details in DatatypesEnum.html.
	EnumMap.gif is a figure for DatatypesEnum.html.

Tools.html
	Added new h5toh4 supported object and data type.

H5.intro.html
	Corrected transposed "start coordinates" in Example 1.
1999-05-03 16:54:10 -05:00
Robb Matzke
2ea07058c9 [svn-r1243] Snapshot 1999-05-01 04:21:35 -05:00
Albert Cheng
35747cccd7 [svn-r1242] Updated the syntax of the H5Sselect_hyperslab calls.
(This file may have been replaced by multiple files already.)
1999-04-30 15:46:45 -05:00
Patrick Lu
7d0a135c73 [svn-r1241] fixed some errors in my conditional compile statements from yesterday.
changed ifdef WIN32 && _HDF5USEDLL_ to if defined(WIN32) && defined(_HDF5USEDLL_)
and did something similar for the not cases.
1999-04-30 12:31:43 -05:00
Robb Matzke
cc2184b6ef [svn-r1240] Changes since 19990427
----------------------

./tools/h5ls.c
	Added a `--address' (`-a') switch which causes h5ls to display
	file addresses for raw data. For contiguous datasets it's just
	a nice simple number, but for chunked datasets it's a list of
	logical dataset coordinates, file addresses, filter masks, and
	storage sizes.

	Changed `--dump' switch to `--data'.

./src/H5D.c
./src/H5F.c
./src/H5Fprivate.h
	Enhanced the indexed-storage B-tree iterator so it can dump
	raw data addresses (and other info) to the standard error
	stream.

	Added H5Ddebug() so h5ls has a way to dump addresses for
	datasets. I'm not sure what else this API function should do,
	so I think we should discuss it before we document it. So far,
	h5ls is the only thing that uses it, and we can easily change
	that.

./src/H5Tconv.c
./test/dtypes.c
	Finally had a chance to verify Paul's H5T_conv_s_s (general
	string to string conversions) bug fixes and incorporate them
	into H5T_conv_f_f (general floating-point to floating-point
	conversions) and H5T_conv_i_i (general integer to integer
	conversons). Thanks Paul.

./src/H5D.c
./src/H5S.c
./src/H5Sprivate.h
	Added performance timers around data space read and write
	callbacks. They were already there for the gather/scatter
	callbacks.

	The timings for read/write callbacks are displayed along with
	gather/scatter when data space debugging is turned on.

./bin/iostats
	Updated to print totals. Added a `--fast' option that doesn't
	do any output except the totals and is much faster.

./bin/trace
	Changed __unused__ to UNUSED to match source code.

./config/gnu-flags
	Updated error message for pgcc. I've sent bug reports to the
	pgcc people but the new version still has the same bug.

./configure.in
./config/conclude.in
./config/depend.in
	Fixed dependencies for non-GNU makes when run in a directory
	other than the hdf5 source tree.

	Updated GNU `make dep' rules to copy the distributed
	dependencies for non-GNU makes into the source tree when run
	in some other directory.
1999-04-30 10:54:52 -05:00
Robb Matzke
2be6b9f63c [svn-r1239] Snapshot 1999-04-30 04:21:07 -05:00
Dan Wells
2afd49c4c7 [svn-r1238] prototype change in Pablo trace library 1999-04-29 16:15:12 -05:00
Patrick Lu
18d325e35f [svn-r1237] removed the path member in the search struct. replaced it with a fileindex
hi and lo.  this number and the dev id will allow us to determine if the
file is currently open on NT
1999-04-29 12:44:36 -05:00
Patrick Lu
2443c16bf0 [svn-r1236] i had to change some of the h5mm_xfree calls to just hdfree for the dll version
it was causing some crashes otherwise
1999-04-29 12:41:42 -05:00
Robb Matzke
127b3b1b63 [svn-r1235] Snapshot 1999-04-29 04:21:04 -05:00
Quincey Koziol
4ad5b162e4 [svn-r1234] Snapshot 1999-04-28 18:49:01 -05:00
Quincey Koziol
e19b78295b [svn-r1233] Removed some debugging printfs. 1999-04-28 18:34:54 -05:00
Quincey Koziol
5e37f08253 [svn-r1232] Fixed some boundary conditions on hyperslab I/O that the parallel I/O T3E port
exposed.  These are more changes that everyone should pick up.
1999-04-28 18:09:08 -05:00
Robb Matzke
81dc6e53f8 [svn-r1231] Snapshot 1999-04-28 12:26:06 -05:00
Robb Matzke
da9c719938 [svn-r1230] Forgot to add pablo/READ_ME to the MANIFEST file last time 1999-04-28 12:15:26 -05:00
Robb Matzke
72ec46e181 [svn-r1229] Snapshot 1999-04-28 11:02:27 -05:00
Robb Matzke
2f23391566 [svn-r1228] Added missing pablo files to MANIFEST. Snapshots should start working again... 1999-04-28 10:53:42 -05:00
Robb Matzke
343d0ff396 [svn-r1227] Snapshot 1999-04-28 04:20:45 -05:00
Albert Cheng
07ff900c26 [svn-r1226] Purpose:
Bug fix
Description:
    dumper repeated output after the 1st 4 rows.
    The bug was because the dumper was reading just a small slice a time
    from the file dataset but did not adjust the offset in the file-space.
    So, it just kept reading the same first slice.
Solution:
    Stole the offset-adjustion code from the routine that h5ls uses.
Platform Tested:
    O2K.
1999-04-27 19:06:29 -05:00
Dan Wells
97496e9b60 [svn-r1225] File explaining how to build Pablo instrumented library. 1999-04-27 10:00:24 -05:00
Robb Matzke
2dc738a321 [svn-r1224] Changes since 19990426
----------------------

./tools/h5tools.c
./tools/h5tools.h
	Finally fixed a long-standing bug that caused core dumps if
	a compound datum rendered to more than some number of
	characters (we kept bumping up the limit at the risk of
	violating stack size limits on some machines). The fix works
	only on systems that have the vsnprintf() function (otherwise
	a 4kB limit is imposed, which if violated probably dumps
	core). If vsnprintf() is present then the library dynamically
	allocates space for the output string.

	Also made it possible to control how compound data is rendered
	across multiple lines of output by allowing the caller to
	specify where optional line-breaks get inserted. The output
	functions split up the value at one or more optional
	line-breaks to prevent it from wrapping around the screen.

	If a datum doesn't fit on the current line but would fit on
	the next line then it is printed on the next line regardless
	of whether optional line-breaks would have prevent wrapping
	around the screen. This makes it easier to find the beginnings
	of compound data values.  This feature is disabled by default
	but can be enabled by the application.

	If a datum doesn't fit on the current line and the previous
	datum also occupied more than one line then we move to the
	next line before printing. This makes it easier to find the
	beginnings of compound data values but prevents the output
	from looking fragmented if there are only a few long values
	among mostly short values.  This feature is disabled by
	default but can be enabled by the application.

	The application can control the printf() formats used for all
	the native data types. The defaults are what the library used
	to use: %g, %ld, %lu, %d, and %u

./tools/h5ls.c
	Compound datatype values can now be split across multiple
	lines of output instead of just wrapping. Also, when lots of
	compound values are too long they all start at the beginning
	of a line. This only required about 10 lines of changes in the
	setup for tools library calls (I didn't modify the h5dump
	program because it uses its own version of the tools library
	that forked off long ago).

	Added code for Win32 which is unable to cast `unsigned long
	long' to `double'. If the dataset size exceeds (2^63)-1 then
	the percent utilization is not displayed (this is easily
	possible with chunked datasets). This is untested yet.

./configure.in
./src/H5config.h.in
./src/H5.c
./src/H5private.h
	Check for vsnprintf() and provide a simple, stupid definition
	if it isn't available. The stupid definition just calls
	vsprintf() and ignores the second argument. This can result in
	buffer overflows in h5ls and h5dump since vsprintf() is an
	unsafe function (and anyone can create an hdf5 file that runs
	an arbitrary command from h5ls and h5dump in that case)!

./config/conclude.in
	Remove more *.o files for `make clean'

./src/H5A.c
./src/H5D.c
./src/H5F.c
./src/H5I.c
./src/H5Iprivate.h
./src/H5P.c
./src/H5R.c
./src/H5RA.c
./src/H5S.c
./src/H5T.c
./src/H5TB.c
	Cleaned up a memory leak during H5_term_library() by allowing
	H5I_clear_group() to skip items that couldn't be freed. This
	allows the item to remain in the group until we can free it
	later.

./src/H5F.c
	The H5F_close_all() function fails if a file cannot be closed.
1999-04-27 09:47:54 -05:00
Robb Matzke
a66c628b3c [svn-r1223] Snapshot 1999-04-27 04:20:49 -05:00
Albert Cheng
893504e2a8 [svn-r1222] Cleaned up the code in testphdf5.c, mostly in the -f parsing area.
Eliminated most compiler complains.  Changed Tflops to use
the /pfs_grande file systems.  (Old /pfs is retired.)
1999-04-26 23:12:18 -05:00
Frank Baker
62f0caf0a5 [svn-r1221] Fixed Bug #293
RM_H5Front.html
		"H5A Annotation" Interface corrected to "H5A Attribute" interface.
	RM_H5G.html
		H5Glink loc_id description corrected.
1999-04-26 17:16:42 -05:00