Commit Graph

1897 Commits

Author SHA1 Message Date
Quincey Koziol
ecb52e75d3 [svn-r2317] Close a small memory leak in the test program (not library). 2000-06-01 18:42:25 -05:00
Patrick Lu
891b407e7b [svn-r2310] added a line saying that the opaque and bitfields type is supported now 2000-05-31 11:26:07 -05:00
Patrick Lu
4588fbf2ca [svn-r2309] added entries for the bitfield test file and the ddl 2000-05-31 11:23:52 -05:00
Patrick Lu
0264342a3e [svn-r2308] added a funtion to create a bitfields test file. just used the code from the dataset
test file
2000-05-31 11:22:38 -05:00
Patrick Lu
cee9fa8a0e [svn-r2307] test file for the bitfields test. i used the bitfield parts of the dataset test file 2000-05-31 11:21:36 -05:00
Patrick Lu
8750cf4c3a [svn-r2306] ddl for the bitfields test file 2000-05-31 11:20:56 -05:00
Patrick Lu
7f5c264ce4 [svn-r2305] took out the line that said the bitfields are not supported in the dumper.
now it will dump bitfields using the the tools lib like h5ls does.
2000-05-31 11:08:10 -05:00
Patrick Lu
2d7cee1e9f [svn-r2304] *** empty log message *** 2000-05-30 11:54:44 -05:00
Patrick Lu
50cd98ffe1 [svn-r2298] removed mention of the xml option 2000-05-30 11:06:18 -05:00
Albert Cheng
3924c60fc3 [svn-r2297] Updated with VFL and Thread-safe implementation information. 2000-05-29 14:44:25 -05:00
Quincey Koziol
6200554371 [svn-r2296] Patched to detect FreeBSD 4.x correctly. 2000-05-26 14:44:32 -05:00
Patrick Lu
a0e559aee5 [svn-r2294] fixed the output of the options list so that the xml options text is aligned 2000-05-26 13:58:27 -05:00
Patrick Lu
0dca4208e4 [svn-r2293] updated the Tools file. added new entries to the dumper section for the new options
(-v = obj id, -w = # of columns, -xml = XML output)
also added opaque to the types that are output
2000-05-26 13:57:09 -05:00
Albert Cheng
cdbc5e92c2 [svn-r2292] Snapshot version 1.3 release 21 2000-05-25 22:47:26 -05:00
Patrick Lu
e27ec06855 [svn-r2291] update the ddl to match the output the dumper is generating now for the
compound types.  (the indentation for the curly brace at the end of the
compound type is aligned with the top brace)
2000-05-25 12:13:20 -05:00
Patrick Lu
69ca8832e6 [svn-r2290] fixed the indenting error related to compound types. 2000-05-25 12:08:45 -05:00
Patrick Lu
7e2890384e [svn-r2289] changed the macro for the file to be FILENAME. caused compilation errors on windows with the
old name
2000-05-25 10:53:22 -05:00
Albert Cheng
70354f23ba [svn-r2288] Updated. 2000-05-22 17:55:33 -05:00
Bill Wendling
35fe1e2847 [svn-r2287] Changed ttsafe_* test files so that they create their own HDF5 file (they
were only creating one for all of them). Also changed so that, if they
got an error, it actually specifies that the tests failed on the screen
instead of succeeded ;-)
2000-05-19 18:00:03 -05:00
Bill Wendling
b97c63cdbc [svn-r2286] Gave the threading functions return types (herr_t). pthreads' calls
return 0 on success and non-zero on failure. That's what happens with
these calls.

There was a problem compiling threading on Linux. The pthread_t type is
not consistent among different implementations, so it cannot simply be
assigned to NULL or tested against it. I initialize it by calling
HDmemset(foo_thread, 0, sizeof(pthread_t)). To see if it's a "null"
pthread, I created a special pthread_t object (assigned to only in the
init phase and then only read...i.e., thread safe) and assigned it "null"
as above. Then I use pthread_equal() to determine if the thread is null.
2000-05-19 17:02:24 -05:00
Bill Wendling
fb75b8a89c [svn-r2285] A \ was needed at the end of one of the definitions to make gmake work. 2000-05-19 16:35:40 -05:00
Bill Wendling
c4ba19fb75 [svn-r2284] Duplicate initialization of variable removed. 2000-05-19 16:34:23 -05:00
Patrick Lu
f782d80d00 [svn-r2280] more complicated test file for nested compounds. copied from Elena's test file 2000-05-19 10:52:59 -05:00
Patrick Lu
2b4672286c [svn-r2279] copied Elena's code for a more complicated testfile for the nested compound types 2000-05-19 10:52:10 -05:00
Patrick Lu
853923360d [svn-r2278] changed the nested compound test. copied Elena's code from her test file for nested comp types.
more complicated test case
2000-05-19 10:50:46 -05:00
Quincey Koziol
e21eba68c1 [svn-r2277] Added H5TSprivate.h 2000-05-19 09:52:03 -05:00
Quincey Koziol
d894ed6d0d [svn-r2276] Modifed thread-safety code to more closely align with rest of HDF5 coding
standards.
2000-05-19 09:51:50 -05:00
Quincey Koziol
c0d424e947 [svn-r2275] Updated from modified configure.in 2000-05-19 09:51:02 -05:00
Quincey Koziol
f4b618e5e1 [svn-r2274] Hacked to detect pthreads on FreeBSD and add correct compilation options. 2000-05-19 09:50:48 -05:00
Quincey Koziol
670770900a [svn-r2273] Used updated data structure names... 2000-05-19 09:50:01 -05:00
Quincey Koziol
7d6aeee7d9 [svn-r2272] Updated data structure names to be more in line with HDF5 naming scheme. 2000-05-19 09:49:40 -05:00
Albert Cheng
7a3ddc546a [svn-r2271] Document the changes I made of renaming Makefile target as
reconfigure.
2000-05-19 09:34:38 -05:00
Chee-Wai Lee
45ff8f35b8 [svn-r2268] updated comments for the test for attribute creation for threadsafe hdf-5. 2000-05-18 16:44:13 -05:00
Robb Matzke
14fc9bb100 [svn-r2266] Minor change for 64-bit libs 2000-05-18 14:47:04 -05:00
Chee-Wai Lee
e26f4e5eed [svn-r2264] Added Thread-safe feature. This is the phase 1 implementation
that all HDF5 API functions are protected by a mutex lock. Basically,
serialized all API calls.  To use it, use
configure --enable-threadsafe --with-pthread
2000-05-18 14:13:33 -05:00
Robb Matzke
bc520e88b4 [svn-r2262] * 2000-05-18
** src/H5Tconv.c
** src/H5Tpkg.h
** src/H5Tpublic.h
	The H5T_conv_struct_opt() function had a design flaw -- it
	didn't keep information about the stride to use to step
	through the temporary/background-value buffer and thus nested
	invocations would clobber each other's temp buffers.  This was
	fixed by splitting the `stride' argument into `buf_stride' and
	`bkg_stride' arguments for all the conversion functions. THIS
	IS AN API CHANGE, but users will get a compiler warning when
	they pass their conversion function pointer to H5Tregister().

** src/H5T.c
** src/H5Tprivate.h
	Added a bkg_stride argument to the H5T_convert() definition in
	order to fix a bug related to the optimized compound datatype
	conversion function.

** src/H5T.c
** src/H5A.c
** src/H5D.c
** src/H5Ofill.c
** src/H5P.c
	Added bkg_stride=0 argument to the H5T_convert() calls.

** test/dtypes.c
	Added a test for the H5T_conv_struct_opt() bug fixed above.

** src/H5FL.c
	The H5FL_term() function should return non-zero even when it
	couldn't free all the free lists do to their being used by
	some other package.  When that other package terminates it
	will return non-zero, causing H5FL_term() to be called
	again. This fixes some of the `infinite loop closing library'
	messages.

** tools/pdb2hdf
	Uses print_version() instead of doing that itself.

** src/H5Ppublic.h
	Renamed H5Pget_gc_reference() declaration to make it match the
	definition.

** src/H5FDlog.c
	Added API tracing macros.

	Removed `const' qualifier from a `char*' member of a struct
	which was allocated on the heap.

** src/H5TB.c
	Added curly braces to a couple deeply-nested `if' statements
	to make them clearer and to shut up the increadibly stupid and
	just plain incorrect gcc warning about ambiguous `else'.

** test/titerate.c
	Removed incomplete initialization in favor of memset() for one
	auto variable to stop compiler warnings.

** tools/Depencencies
	Regenerated to remove references to h5dumputil.c
2000-05-18 11:40:20 -05:00
Patrick Lu
356495d126 [svn-r2261] fixed an error that occurred last time i checked this file in. 2000-05-18 10:14:53 -05:00
Elena Pourmal
30fe4cfa21 [svn-r2259]
Fixed a typo in the H5Pget_gc_references function name (was H5Pget_gc_reference).
2000-05-17 08:30:21 -05:00
Patrick Lu
1f6bb057e0 [svn-r2256] same changes i did for the release version. (fixed bug in dangermouse... added
an extra conditional)
2000-05-16 11:57:46 -05:00
Albert Cheng
c089af22ee [svn-r2253] Updated. 2000-05-13 11:10:18 -05:00
Quincey Koziol
cd593a1281 [svn-r2245] Added missing files.. 2000-05-12 09:59:07 -05:00
Albert Cheng
0662396e13 [svn-r2243] h5dump.c: Removed some Carriage-return's
h5tools.c h5tools.h:
    Modified print_version() to use const char * argument instead.
2000-05-11 17:18:44 -05:00
Albert Cheng
e02e441734 [svn-r2242] Removed h5dumputil.c. Its functions have been migrated to h5tools.c. 2000-05-11 17:15:12 -05:00
Bill Wendling
330d49b27a [svn-r2235] Changed POWER_OF_TWO macro to allow 1 as a valid power of two. Changed
the has_size check accordingly (1 wasn't allowed in the original code).
2000-05-09 15:40:44 -05:00
Patrick Lu
6f5d6505a1 [svn-r2232] removed the conditional compile statements that we were going to use
for the merged tools lib since these files do not require the tools lib
2000-05-09 13:14:33 -05:00
Patrick Lu
aabe212546 [svn-r2230] removed dependencies on the tools lib from repart, import, and debug 2000-05-09 12:31:44 -05:00
Patrick Lu
23f2575276 [svn-r2229] added semicolons after the opaque info 2000-05-09 12:01:24 -05:00
Patrick Lu
f474a09365 [svn-r2228] added a semicolon after the opaque info is printed 2000-05-09 12:00:38 -05:00
Patrick Lu
c254ae1fe5 [svn-r2227] added an entry in the ddl for the opaque types 2000-05-09 11:59:46 -05:00
Patrick Lu
40dc18f8bf [svn-r2226] added H5TB.c to the hdf5 and hdf5dll projects.
added ttbbt.c to the testhdf5 and testhdf5dll files.
2000-05-09 11:44:42 -05:00