Commit Graph

1924 Commits

Author SHA1 Message Date
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
Patrick Lu
4ef90f9c8f [svn-r2225] added __DLL__ in front of the function prototypes. exports the functions in the dll.
the testhdf5dll projects were not compiling because they didn't know about these
functions
2000-05-09 11:32:09 -05:00
Quincey Koziol
5c354908b9 [svn-r2223] Added logging version of sec2 file driver. This is _reallly_ useful for
tracking the actual I/O locations and space used in a file during an
application.
2000-05-08 18:09:59 -05:00
Quincey Koziol
04152995a9 [svn-r2222] Added TBBT testing code. 2000-05-08 18:09:09 -05:00
Quincey Koziol
cf6470e7f0 [svn-r2221] Brought threaded, balanced binary tree code over from the HDF4 library and
updated it for integrating with the H5 library.  I'm thinking about using them
for the data-structures in some caching improvements I'm working on.
2000-05-08 18:08:41 -05:00
Quincey Koziol
bb7e34fad8 [svn-r2220] Added a major error number for TBBT trees 2000-05-08 18:06:54 -05:00
Bill Wendling
96c529af87 [svn-r2219] This simplifies the "check for power of 2" in the hashing function. There
was also a subtle bug in the previous code. A valid size of 16K would
have been rejected since it was checking for an invalid number. The
scheme that replaces it relies on the fact that powers of two and only
powers of two have 1 bit set in binary.
2000-05-08 17:29:07 -05:00
Patrick Lu
dca5c02b31 [svn-r2218] forgot the header to the ddl. just tells what hte command to generate the file was 2000-05-05 11:27:40 -05:00
Patrick Lu
e3fa05cf20 [svn-r2217] added entries for the opaque testfile and the ddl 2000-05-04 12:10:34 -05:00
Patrick Lu
019f267759 [svn-r2216] the ddl file for the topaque.h5 file 2000-05-04 12:09:36 -05:00
Patrick Lu
6473bd2a11 [svn-r2215] the new opaque file. has a 2d array. the first array is from 0-99 and the
is from 99-0.
2000-05-04 12:07:20 -05:00
Patrick Lu
295fbf3b82 [svn-r2214] added support for the opaque type.
prints out the data section in hexidecimal format.
in the h5dumptst.c i added a function to create an opaque test file.
2000-05-04 12:05:09 -05:00
Patrick Lu
23af2ada84 [svn-r2213] added to teh tools section. noted that the release and dev branch is merged. 2000-05-04 09:56:36 -05:00
Patrick Lu
6dfc1e2bd5 [svn-r2212] updated the projects for the tools. needed to update for the mergeing of the dev and release branches for the tools code. 2000-05-03 14:55:23 -05:00
Patrick Lu
ae5c998516 [svn-r2211] took the development branch code and moved it into the release. had to add some
conditional compile statements in the code to compile for the release.
defined a VERSION12 and VERSION13 macro.  all changes were surrounded by these statements
2000-05-03 10:48:20 -05:00
Albert Cheng
043b7c4ec5 [svn-r2198] Figure out the whole path of the $CC command if it is in simple
command form (e.g., cc, gcc) and put that in the libhdf5.settings
file.  This would help show exactly which compiler was used during
the configure stage.  It may not be 100% "correct" in some cases
such as "configure done in one machine but compiling done in another."
2000-04-24 15:34:05 -05:00
Albert Cheng
4a473d24cd [svn-r2196] Updated with function name change happened long ago. Still
need to track down other changes.
2000-04-24 14:50:35 -05:00
Albert Cheng
aa83108e95 [svn-r2195] Updated with the addition of thread-safe and pthread configure options. 2000-04-24 14:31:19 -05:00
Quincey Koziol
b0f996f5fb [svn-r2191] Changed hash function for caching to avoid as many hash clashes. 2000-04-22 16:19:41 -05:00
Quincey Koziol
932d6e3804 [svn-r2190] Turned on address sorting when flushing metadata for entire file, which
improves performance significantly when lots of metadata I/O occurs when the
file closes.
2000-04-22 16:18:57 -05:00
Quincey Koziol
75574e92e1 [svn-r2189] Fixed some compiler warnings 2000-04-22 15:45:29 -05:00
Robb Matzke
7a52d6ce9b [svn-r2180] ./src/tools/h5tools.c
Added hyphen to version printf format.

	./src/tools/h5ls.c
		Calls print_version() instead of doing it by hand.
2000-04-21 14:28:09 -05:00
Robb Matzke
82431da792 [svn-r2179] *** empty log message *** 2000-04-21 14:27:50 -05:00
Robb Matzke
0e1f42cd0a [svn-r2178] ./src/H5public.h
Added some more #undef's

		Removed leading hyphen from H5_VERS_SUBRELEASE
2000-04-21 14:27:42 -05:00