Commit Graph

1269 Commits

Author SHA1 Message Date
Quincey Koziol
b487ccb9ee [svn-r1334] VL datatype testing file. Currently, only atomic datatype sequences are tested,
but I expect the others to work correctly also.  More tests on VL compound
and VL VL (atomic) types forthcoming.
1999-06-11 17:06:26 -05:00
Quincey Koziol
50133e2ff4 [svn-r1333] Added the test_vltypes() to the other tests. 1999-06-11 17:05:04 -05:00
Quincey Koziol
a556665ad1 [svn-r1332] Fixes to get the VL datatypes working. The only function currently working
is H5Tvlen_create().
1999-06-11 17:04:42 -05:00
Quincey Koziol
725578538a [svn-r1331] Added VL datatype test file 1999-06-11 17:03:53 -05:00
Patrick Lu
6c9b3a99d4 [svn-r1330]
removed a // frm the code
1999-06-11 12:04:16 -05:00
Patrick Lu
531fda4d78 [svn-r1329]
started to add the enum code in.
just wanted to get something checked in before i mess it up
1999-06-11 12:01:51 -05:00
Robb Matzke
263bfa76ef [svn-r1328] Changes since 19990608
----------------------

./configure.in
./configure			[REGENERATED]
./src/H5T.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./src/H5config.h.in		[REGENERATED]
./src/H5detect.c
./src/H5private.h
	Added checks for the C9x integer types like int32_t,
	int_least32_t, and int_fast32_t and the unsigned
	versions. HDF5 defines H5T_NATIVE_* versions (all caps) to be
	the same as the type provided by the C library, otherwise it
	defines them as integers exactly the specified size. Hardware
	type conversion functions are used when the types
	match some C-language type (like `int').
1999-06-11 10:53:15 -05:00
Albert Cheng
d6ba8a5095 [svn-r1327] Got rid of the extra line of setting dim_n_size incorrectly.
Tested in O2K.
1999-06-10 23:22:59 -05:00
Albert Cheng
55b5e0fe94 [svn-r1326] Replaced the non-general if-then-elif-... code with a general
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.
1999-06-10 22:22:11 -05:00
Patrick Lu
0780cc508e [svn-r1325] fixed a bug that was due to settign the dim_n_size wrong for the dump_attr function
for scalar data
1999-06-10 14:14:40 -05:00
Patrick Lu
40aa67003b [svn-r1324]
moved the ATTRIBUTE_DATA definition from h5dump.h to h5tools.h
also created a ENUM_DATA in th5tools.h
1999-06-10 12:41:06 -05:00
Patrick Lu
bcc9f5ad96 [svn-r1323]
removed a c++ style comment i put in by accident
1999-06-10 10:21:40 -05:00
Albert Cheng
93a359dd57 [svn-r1322] Removed the reformating part. The output of h5dump should
be identical in all platforms.  Tested in O2K.
1999-06-09 17:26:28 -05:00
Patrick Lu
fd02ea947d [svn-r1321]
added some support for the object references.  uses robb's h5dump_sprint to
print out the info
1999-06-09 13:43:07 -05:00
Patrick Lu
bbe6a75cd0 [svn-r1320]
just made the h5dump_attr function
1999-06-08 12:46:33 -05:00
Patrick Lu
9c71da9893 [svn-r1319]
fixed bug that was printing out the "unable to print data message"
1999-06-08 12:27:13 -05:00
Patrick Lu
e69fe58b23 [svn-r1318]
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
1999-06-08 12:03:36 -05:00
Patrick Lu
ba3276554c [svn-r1317]
rolled back my changes so Robb's last set are still there.
merged my hcanges back in
1999-06-08 11:46:41 -05:00
Albert Cheng
7b77b1e571 [svn-r1316] The last commit via snapshot script clobbered this file.
Restoring its rightful content.
1999-06-08 11:30:57 -05:00
Robb Matzke
f1a1ae37ff [svn-r1315] Changes since 19990607
----------------------

./configure.in
./configure			[REGENERATED]
./src/libhdf5.settings.in	[NEW]
./config/conclude.in
./INSTALL
./MANIFEST
	A file called `libhdf5.settings' is installed along with the
	libraries and it contains a list of various things that might
	be of interest to someone using the library (such as what
	compiler/options were used and what other libraries might need
	to be linked to satisfy external references).  We can add more
	things as it becomes necessary. Here's a sample...

	SUMMARY OF THE HDF5 CONFIGURATION
	=================================

	HDF5 Version:		hdf5-1.1.106
	Configured on:		Tue Jun  8 11:38:52 EDT 1999
	Configured by:		matzke@llnl.gov at Spizella Software
	Configure mode:		development
	Host system:		i686-pc-linux-gnulibc1
	Byte sex:		little-endian
	Libraries:		static, shared
	Parallel support:	mpicc
	Installation point:	/usr/local
	Compiler:		mpicc (egcs-2.91.66)
	Compiler switches:	-Wall -g
	Extra libraries:	-lmfhdf -ldf -lz -ljpeg -lm
	Archiver:		ar
	Ranlib:			ranlib
	Debugged Packages:	d,e,f,g,hg,i,mm,o,p,s,v,z
	API Tracing:		yes
	File addresses:		large
1999-06-08 11:14:10 -05:00
Albert Cheng
675c9b0fad [svn-r1314] Snapshot 1999-06-07 20:13:15 -05:00
Albert Cheng
c752adc4ac [svn-r1313] Neither SGI nor Solaris allows an empty 'then' body.
Changed it to conditional statements.  Tested fine in
SGI and Solaris.
1999-06-07 19:42:10 -05:00
Patrick Lu
006e67409b [svn-r1312]
fixed the dumb error with the concatenator macro
1999-06-07 18:27:44 -05:00
Robb Matzke
58eb9c4aa0 [svn-r1311] Changes since 19990607
----------------------

./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.
1999-06-07 15:20:32 -05:00
Patrick Lu
8532eb342e [svn-r1310]
removed the '//' from display_string and put a macro for it in h5dump.h
1999-06-07 14:57:10 -05:00
Robb Matzke
6881c423a1 [svn-r1309] Changes since 19990607
----------------------

./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.
1999-06-07 13:19:30 -05:00
Robb Matzke
ea77993266 [svn-r1308] Changes since 19990607
----------------------

./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.
1999-06-07 10:58:05 -05:00
Patrick Lu
5bfee94f46 [svn-r1307]
updated the project files for the library and the dll
1999-06-07 10:37:19 -05:00
Robb Matzke
b98fcbf592 [svn-r1306] Changes since 19990602
----------------------

./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.
1999-06-07 10:05:02 -05:00
Quincey Koziol
2a10e682a1 [svn-r1305] Checkpointing the VL datatype code. I believe the core functionality is here,
accessed with H5Tvlen_create, but I need to start writing tests now.  Also the
more esoteric API calls (such as H5Tget_vlen_buf_size and the memory management
calls) aren't implemented yet.
1999-06-04 17:27:28 -05:00
Quincey Koziol
df96f4362a [svn-r1304] Added new H5Tvlen.c file to manifest. I don't recall changing the configure
script though... :-?
1999-06-04 17:23:42 -05:00
Patrick Lu
50f41a8185 [svn-r1303]
got rid of 2 memory leaks in display_numer_data and display_string
1999-06-04 14:52:13 -05:00
Patrick Lu
8374f82883 [svn-r1302]
replaced the 0 in the function call to h5dump_simple_dset to DATSET_DATA
1999-06-04 13:29:52 -05:00
Patrick Lu
2ce9e72bfb [svn-r1301]
fixed the number of parameters to h5dump_fixtype.
1999-06-04 12:59:20 -05:00
Patrick Lu
c1bcb2f367 [svn-r1300]
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
1999-06-04 10:49:55 -05:00
Patrick Lu
3a32a5e973 [svn-r1299]
added an enum for programtypes and the program types variable
1999-06-04 10:47:54 -05:00
Patrick Lu
a7c167e389 [svn-r1298]
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
1999-06-04 10:47:23 -05:00
Patrick Lu
58b40b848c [svn-r1297]
removed the c++ style comments and added a new line at the end of the file
1999-06-04 09:40:15 -05:00
Patrick Lu
2d82003556 [svn-r1296]
removed a line from display_numeric_data that was not needed
1999-06-02 20:20:35 -05:00
Albert Cheng
4635285d64 [svn-r1295] Previous version contained incorrect output from previous h5dump.
Updated it to reflect correct output.
1999-06-02 19:52:24 -05:00
Albert Cheng
14364b9257 [svn-r1294] Removed the pre-defined macro DOS386. It was used to identify
being in the TFLOPS machine but it is not recognized by the system.
TFLOPS uses __PUMAGON__ to identify itself.
1999-06-02 19:41:37 -05:00
Patrick Lu
93a6938cef [svn-r1293]
added a function so that when we dump atomic characters they stay together
1999-06-02 13:11:21 -05:00
Robb Matzke
e352d29757 [svn-r1292] Changes since 19990430
----------------------

Remove changes from CVS

./bin/release
	Added a `--nocheck' switch which causes the script to not
	check the contents of the MANIFEST file against CVS. This is
	sometimes useful when you need to make a quick snapshot but
	the MANIFEST file is not quite up to date.

./src/H5D.c
	Removed warnings for unused variables

./src/H5Fprivate.h
	Removed the WIN32 definition for `uint' and changed the data
	type for `eof_written' from `uint' to `uintn'. Shouldn't this
	really be `hbool_t'?

./src/H5Odtype.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./test/dtypes.c
./doc/html/H5.format.html
	Added support for bitfields and opaque data types.
1999-06-02 08:59:35 -05:00
Patrick Lu
5992a71fe0 [svn-r1291]
added a typedef for windows.  uint is UINT on windows.
1999-06-01 11:33:59 -05:00
Albert Cheng
e1c88c9c18 [svn-r1290] TFLOPS needs a launching problem even for single process execution.
Use RUNSERIAL to launch it.
1999-05-28 17:09:03 -05:00
Albert Cheng
b48d0a56ee [svn-r1289] Removed RUNTEST before the /bin/sh because all the systems that is
known so far do not need a "launching command" to run shell script.
(If a future system needs it, maybe we should use a new VARIABLE
called RUNSHELL, default to /bin/sh, to do the launching.)

Then inside the test shell script, it needs to know how to launch
serial or parallel executions.  So, pass the RUNSERIAL and RUNPARALLEL
variables to the /bin/sh command.
1999-05-28 17:07:42 -05:00
Albert Cheng
bad98b7028 [svn-r1288] Updated TFLOPS location for the newer MPIO library. 1999-05-28 17:02:41 -05:00
Frank Baker
de0d96dd53 [svn-r1287]
Attributes.html
RM_H5A.html
	Fix bug #326, which pointed out that the H5Aget_name parameters were
	listed in the wrong order.
1999-05-28 15:09:10 -05:00
Patrick Lu
3779274df6 [svn-r1286]
added a line i thought was there but I must have removed it by accident
1999-05-28 13:58:54 -05:00
Patrick Lu
01191731a6 [svn-r1285]
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.
1999-05-27 10:43:12 -05:00