Commit Graph

4247 Commits

Author SHA1 Message Date
Albert Cheng
5dbf1ef375 [svn-r1844] Changed to use the H5_HAVE_PARALLEL macro names. 1999-11-22 13:08:32 -05:00
Albert Cheng
66e8514270 [svn-r1838] Snapshot version 1.3 release 6 1999-11-17 17:38:47 -05:00
Quincey Koziol
9e014467b6 [svn-r1836] Mainly fixed a bug in VL datatype comparisons which was causing non-equal
VL types to compare as equal.  Added some asserts to make certain nothing
slips through again.  Also cleaned up a few warnings from the SGI compiler.
1999-11-17 16:59:53 -05:00
Robb Matzke
4b2dbd5651 [svn-r1832] * 1999-11-16
** configure.in
** configure				[REGENERATED]
** src/H5private.h
** src/H5public.h
** src/Makefile.in
	Generates an H5pubconf.h file which is just like H5config.h except all
	the preprocessor symbols have `H5_' prepended. This was done so that
	the configuration results can be used in public header files without
	polluting the namespace.

** src/H5.c
	Added H5I_REFERENCE and H5I_VFL to the API tracing code so their names
	are printed instead of just numbers.

** src/H5FDstdio.c
** tools/h5import.c
** tools/h5repart.c
** tools/pdb2hdf.c
	Changed to use the `H5_' versions of configure results since these
	files include only the public API.

** test/big.c
	Removed a compiler warning.

** test/h5test.c
	Removed unused code.
1999-11-16 14:08:14 -05:00
Albert Cheng
99eed4141a [svn-r1830] Snapshot version 1.3 release 5 1999-11-04 20:42:06 -05:00
Albert Cheng
2370f434a7 [svn-r1816] Snapshot version 1.3 release 4 1999-11-03 19:03:58 -05:00
Robb Matzke
4051fa3187 [svn-r1814] * 1999-11-03
** config/depend1.in
	We don't regenerate the Dependencies files if we're compiling in the
	source tree because `gcc -MM' doesn't output enough information to
	make the result usable when compiling outside the source tree.

** src/H5config.h.in
	Regenerated to include HAVE_LIBMPI and HAVE_LIBMPIO because of recent
	changes to configure.in
1999-11-03 13:05:58 -05:00
Robb Matzke
ae62eb223c [svn-r1806] * 1999-11-02
** bin/rpmsync
** config/depend1.in
	Tweaks for versions of `make' that can't search directories.

** examples/Dependencies
** src/Dependencies
** test/Dependencies
** testpar/Dependencies
** tools/Dependencies
	Regenerated all these with more complete path names.
1999-11-02 12:29:33 -05:00
Robb Matzke
eb8747499d [svn-r1802] Changes since 19991019
----------------------

./MANIFEST
./configure.in
./configure			[REGENERATED]
	Added more checking for `make' features.

./Makefile.in
./doc/Makefile.in
./doc/html/Makefile.in
./doc/html/Tutor/Makefile.in
./examples/Makefile.in
./pablo/Makefile.in
./src/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
./config/commence.in
./config/conclude.in
./config/depend.in		[REMOVED]
./config/depend1.in		[NEW]
./config/depend2.in		[NEW]
./config/depend3.in		[NEW]
./config/depend4.in		[NEW]
./config/dependN.in		[NEW]
	The directory search stuff was moved into commence.in, thereby
	shortening the Makefile.in prologues.

./doc/html/Dependencies		[NEW]
./doc/html/Tutor/Dependencies	[NEW]
./examples/Dependencies		[NEW]
./src/Dependencies		[NEW]
./test/Dependencies		[NEW]
./testpar/Dependencies		[NEW]
./tools/Dependencies		[NEW]
	The `.distdep' files were all renamed to `Dependencies' to make them
	more obvious. They are required (but may be empty) in every directory
	that has a Makefile.in that ends with @CONCLUDE@ (you'll get an
	obvious error from make if you forgot to create one).

./bin/trace
./src/H5.c
	Added H5E_major_t and H5E_minor_t although tracing only prints the
	integer value.

./src/H5E.c
./src/H5Epublic.h
	Added tracing information.

./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDgass.c
./src/H5FDmpio.c
./src/H5FDsec2.c
./src/H5FDstdio.c
	Fixed places where FUNC_LEAVE() evaluated it's argument more than
	once.

	Added tracing information.

	Wrapped long lines.

./config/gnu-flags
	Fixed a syntax error when we don't have a gnu compiler.
1999-11-01 10:21:16 -05:00
Patrick Lu
ea1264842e [svn-r1799] got rid of the include of the private header file 1999-10-29 10:57:26 -05:00
Patrick Lu
b37a0cba06 [svn-r1797] included the h5private.h file to get a definition of F_OK and
got rid of the #error for WIN32
1999-10-27 14:04:23 -05:00
Albert Cheng
81c6472bcc [svn-r1795] Removed an extra return statement resulted from the previous changes. 1999-10-26 15:21:35 -05:00
Albert Cheng
2de64cfcb1 [svn-r1794] Snapshot version 1.3 release 3 1999-10-26 15:02:05 -05:00
Albert Cheng
2768e04e4c [svn-r1793] Corrected a typo. 1999-10-26 14:35:28 -05:00
Quincey Koziol
1953487e12 [svn-r1788] Converted all the VFL drivers except for the stdio and multi drivers back into
the "internal" HDF5 coding standard.
1999-10-22 19:36:04 -05:00
Albert Cheng
69fc209302 [svn-r1787] Removed CVS merged warnings stuff that got check in by mistake. 1999-10-22 19:10:02 -05:00
Quincey Koziol
e0cbe0c5c8 [svn-r1785] Added stdio VFL driver, which uses the new public H5E calls. 1999-10-20 12:51:03 -05:00
Quincey Koziol
f1f675be43 [svn-r1783] Added public H5Epush... routines and macros. 1999-10-20 12:46:55 -05:00
Albert Cheng
d71eb1b8bb [svn-r1769] Snapshot version 1.3 release 2 1999-10-15 19:01:41 -05:00
Albert Cheng
58fe6f5c2f [svn-r1768] Deriverd from configure.in. 1999-10-15 18:22:38 -05:00
Quincey Koziol
85f55c4c95 [svn-r1759] Corrected a few more compiler warnings. 1999-10-15 14:04:01 -05:00
Robb Matzke
34e44e399e [svn-r1753] Changes since 19991007
----------------------

./configure.in
./src/H5config.h.in	[REGENERATED]
	The /usr/ncsa/{include,lib} directories are only added if they
	actually exist. This fixes a warning on some systems.

	Checks for the <pdb.h> header file and also for either the PDB or Silo
	library, and if found prepares to compile the pdb2hdf program.

./config/distdep
	Relative path names for include files are changed to base names since
	the makefile contains the logic for searching and since it's likely
	that building the .distdep files happed from a location other than
	where they would be used in the file system.

./config/conclude.in
	Fixed shell errors when `for' loops iterate over nothing for the
	`uninstall' target.

./src/H5D.c
./src/H5Oefl.c
	File names for the external files are added to the heap when the
	dataset is created instead of when the object header is written. This
	fixes a rare infinite recursion bug.

./src/H5FD.c
./src/H5FDpublic.h
	Optimization to the free list causes H5FD_alloc() usage to go from >10
	seconds to <0.4 second for one example (converting a 30MB equation of
	state file from PDB to HDF5 format). The optimization is to simply
	keep track of the largest item in the free list and not search the
	free list when the largest item is not big enough to satisfy the
	request.

./src/H5FDcore.c
./src/H5FDcore.h
./test/h5test.c
	If the `backing_store' property is true then a flush causes the entire
	contents of memory to be written to the specified file. This is  in
	preparation for the ASCI/red optimizations and is currently tested by
	the pdb2hdf `--cached' switch.

./src/H5Odtypes.c
	Wrapped three long lines.

./tools/Makefile.in
./tools/pdb2hdf.c		[NEW]
	A PDB-to-HDF5 translator. It only translates meta data -- the
	resulting HDF5 points into the PDB file for the raw data.
1999-10-15 09:53:57 -05:00
Quincey Koziol
d5db5d6991 [svn-r1739] Cleaned up some warnings from the HP compiler. 1999-10-08 19:34:31 -05:00
Robb Matzke
20e748496e [svn-r1732] Changes since 19991007
----------------------

./src/H5FDcore.c
	Includes private headers instead of public in order to use the
	`UNUSED' macro.

./src/H5FDpublic.h
	Includes H5public.h just in case.

./src/H5P.c
	Removed two unused variables in H5P_copy()

./src/H5FDgass.h
	Fixed a C++ comment after a `#endif'

./src/Makefile.in
	The H5FDgass.h file is public and must be installed in order for
	applications to be able to use HDF5.

./tools/h5tools.c
	Removed an unused variable.
1999-10-07 11:51:49 -05:00
Albert Cheng
766d480daf [svn-r1731] Snapshot version 1.3 release 1 1999-10-06 15:58:07 -05:00
Quincey Koziol
02d8d63ad5 [svn-r1729] Put in "alias" for old H5P_DATASET_XFER to map it to the new H5P_DATA_XFER.
This should eventually be deprecated and the alias removed.
1999-10-06 13:11:46 -05:00
Quincey Koziol
ead8e57ed2 [svn-r1728] Corrected two bugs in VL types, one in which the wrong length of the buffer
needed for the object header was being computed and another in incorrectly
decoding the "base" type of the VL type.
1999-10-06 13:10:47 -05:00
Albert Cheng
9eb5c310a0 [svn-r1708] Turned off compression feature if zlib.h is off. 1999-10-01 15:53:54 -05:00
Quincey Koziol
53b90c7069 [svn-r1702] Closed some more memory leaks on failure conditions... 1999-09-30 21:02:59 -05:00
Quincey Koziol
ce08905a57 [svn-r1701] Closed a couple more resouce leaks.. 1999-09-30 17:13:08 -05:00
Robb Matzke
bdf0dbf7ed [svn-r1697] Changes since 19990915
----------------------

./src/H5public.h
	We undefine a bunch of things that could get redefined in the config
	file because some customers have applications that include headers
	from multiple packages, all of which might be using autoconf.

	Include <stdint.h> for the C9x types.

./test/h5test.h
	More flushing of stdout for when testing is redirected down a pipe.

./tools/h5ls.c
	Added a `-S' or `--simple' switch which causes the output to be
	simplified somewhat for easier parsing by other scripts. For instance,
	characters are escaped using a very simple mechanism instead of C's
	more complicated backslash notation, data doesn't have `{}' or `[]'
	characters interspersed for compound and array types, and data is
	printed with exactly one element per line.  This switch is now used by
	an HDF5-to-HTML CGI script being developed for the DMF people.

./tools/h5tools.c
./tools/h5tools.h
	The repeat threshold which controls how strings are printed when a
	character repeats a bunch of times is now settable at runtime instead
	of compile time. The default is to show all characters, like

	   "abceeeeeeeeeeeeeeeeeeeeeeeeeeeeeefgh"

	But if you set it to something like 5 then any sequence of 5 or more
	characters is replaced by something shorter, like:

	   "abc" 'e'x30 "fgh"	  or

	Added an `str_locale' property which describes how to escape special
	characters in strings. The default is C-like escapes but an
	alternative is ESCAPE_HTML which replaces all non-alphanumeric
	characters with a 3-character HTML escape of the form `%XX'

	Fixed a bug where empty strings didn't even have the quote characters
	printed. Now empty strings show up as `""' instead of absolutely
	nothing.

	Added a `per_line' property which controls the maximum number of
	elements which will appear per line of output. The default is infinity
	but in practice the right margin causes line breaks. By setting the
	`per_line' value to one and the right margin to a very large value one
	can achieve output with exactly one element per line.
1999-09-30 11:14:14 -05:00
Quincey Koziol
03d438979b [svn-r1696] Closed file handle leak for some failure cases. 1999-09-29 21:49:44 -05:00
Quincey Koziol
7c7bedb1ad [svn-r1695] Fixed various compiler warnings.. 1999-09-29 19:02:13 -05:00
Quincey Koziol
4d5186a245 [svn-r1689] Mainly adding support for "native" variable-length strings (C only currently),
but I fixed lots of misc. compiler warnings in other code and also tracked down
the memory overwrite bug that was causing the development branch to core dump
on most machines.
1999-09-28 19:30:21 -05:00
Quincey Koziol
eea89e1e6c [svn-r1651] Fold in J90 changes 1999-09-24 17:35:30 -05:00
Quincey Koziol
1c273a615d [svn-r1642] Snapshot version 1.3 release 0 1999-09-21 18:42:21 -05:00
Quincey Koziol
d7c00263f9 [svn-r1629] Fixed error in point selections which was incorrectly computing the offsets of
array elements for most datatypes.
1999-09-06 11:04:12 -05:00
Albert Cheng
cb0a0eb41e [svn-r1627] Cleanup some minor bugs in the MPIO file-driver ported by Robb.
It is working now.  Still need to tie up some loose ends.
1999-09-02 19:15:57 -05:00
Patrick Lu
a9f39ff1e4 [svn-r1624] forgot to actually chance the open to HDopen last time! 1999-09-01 10:55:10 -05:00
Patrick Lu
49a5b338dd [svn-r1623] included the H5private.h file and replace calls to open() with HDopen(). 1999-08-31 15:24:11 -05:00
Albert Cheng
06c8da20b1 [svn-r1621] Added GASS driver. Coded by Saurabh Bagchi, bagchi@uiuc.edu.
Minor changes done to test/gass_xxx.c so that they print the
test skip message when GASS driver is not available.

This change is the implementation of GASS within HDF5-1.3 (HDF5 with Virtual
File Layer). The GASS driver gives the facility of accessing HDF files on
remote ftp servers. To use the GASS driver, the option --with-gass=<GASS path>
shoud be specified with configure. An example of the command line used to
test the distribution was:
./configure --disable-shared --without-hdf4
--with-gass=/afs/ncsa/projects/hdf/v5/bagchi/globus/GLB/development/sparc-sun-solaris2.6_nothreads_standard_debug/include,/afs/ncsa/projects/hdf/v5/bagchi/globus/GLB/development/sparc-sun-solaris2.6_nothreads_standard_debug/lib
--disable-parallel

The user should change the path to point to his local GASS installation.

Documentation about the features of GASS and the HDF-GASS design is available
separately and till it is put up on the official web site, anyone interested
may contact me.

Test programs to read, write or append remote files have been provided in the
test directory as "gass_read.c", "gass_write.c", "gass_append.c". The test
programs have the ftp site to access #define-d at the top of the file which
the user can change accordingly.

./src/H5Epublic.
	Added new error type for file close.
./src/H5F.c
	Added hooks for the GASS driver.
./src/H5public.h
	Added header files for GASS & Globus.
./src/Makefile.in
	Added dependancy on GASS driver in LIB_SRC.
./src/hdf5.h
	Included header file for GASS driver.
./src/H5FDgass.c	[NEW]
	Routines for the GASS driver.
./src/H5FDgass.h	[NEW]
	Header file for the GASS driver.

./test/Makefile.in
	Added dependancy on the gass test routines.
./test/gass_read.c
	File to test remote file reading using GASS.
./test/gass_write.c
	File to test remote file writing using GASS.
./test/gass_append.c
	File to test remote file appending using GASS.
1999-08-30 23:55:00 -05:00
Robb Matzke
99d84a8f4c [svn-r1619] ./src/H5O.c [1.2, 1.3]
Fixed a read-uninitialized-memory error that resulted in the
	file containing small amounts (<8 bytes each) of uninitialized
	data. These padding areas (which are never read by hdf5) are
	initialized to zero now.

./MANIFEST
./src/H5Z.c
./src/H5Zdeflate.c			[NEW]
./src/H5Zprivate.h
./src/H5Zpublic.h
./src/Makefile.in
	The zlib filter was moved to a separate file but is still
	automatically defined.
1999-08-30 14:59:37 -05:00
Patrick Lu
27e31d9c26 [svn-r1616] added __DLL__ in front of all the function prototypes so the dll can see it: 1999-08-30 11:08:21 -05:00
Patrick Lu
d9f28b544d [svn-r1615] put the __DLL__ in front of the function prototypes so the dll could see them 1999-08-30 11:04:35 -05:00
Patrick Lu
c18c569198 [svn-r1614] put a #ifdef HAVE_UNISTD_H around the #include for the it.
since on NT I took out the device and inode members in the H5FD_sec2_t
and replaced them with 2 fields more appropriate for NT I had to replace
all occurences of the device and inode with the correct member
1999-08-30 09:33:17 -05:00
Quincey Koziol
ee1e2b8522 [svn-r1612] Fixed bug in attribute writing which was causing core dump if an attribute was
read back in immediately after being written out (without closing the attribute
in between).
1999-08-27 17:05:14 -05:00
Robb Matzke
56ee1a2ea4 [svn-r1608] ./src/libhdf5.settings.in [1.2, 1.3]
Added C proprocessor flags and non-library linker flags to the
	description.

./src/H5T.c				[1.2, 1.3]
	Changed return type in tracing macros to H5Tenum_nameof() and
	H5Tenum_valueof().
1999-08-27 13:24:56 -05:00
Robb Matzke
833839621a [svn-r1602] Changes since 19990825
----------------------

./src/H5O.c				[1.2, 1.3]
	Initialzed the padding area between the end of a message and
	the end of the space allocated for that message. This
	hopefully fixes an UMR error found by Quincey and prevents the
	file from containing unwanted data.

./tools/h5ls.c				[1.2, 1.3]
	Fixed a bug where the `Data:' tag didn't get printed for
	attributes that have more than five values.
1999-08-26 09:21:45 -05:00
Quincey Koziol
9b934aa767 [svn-r1599] Changed return type of H5Tenum_nameof and H5Tenum_valueof from hid_t to herr_t 1999-08-25 17:01:41 -05:00
Patrick Lu
bf54eff7ff [svn-r1595]
not sure if this is what was wanted but in the code where the file drivers are registered
the end_registration: label was giving me some trouble with compilation on NT.
I think the end_registration label was supposed to be empty and but on NT it didn't
like that so i had to put a semi colon after the label.
if this is wrong let me know and i'll fix it someother way
1999-08-25 10:36:23 -05:00