Commit Graph

1480 Commits

Author SHA1 Message Date
Patrick Lu
b4dbf55fbe [svn-r1665] same changes i just made to the release version
changed sdims to int
1999-09-25 14:32:42 -05:00
Patrick Lu
72661ffc07 [svn-r1664] still getting some warnings. changed the sdims variable to int 1999-09-25 14:30:07 -05:00
Patrick Lu
3662fe727e [svn-r1663] added the include for fcntl.h here too 1999-09-25 13:59:55 -05:00
Patrick Lu
291c1af9c3 [svn-r1661] removed some of the warnings 1999-09-25 11:00:29 -05:00
Patrick Lu
46ed41925d [svn-r1659] brought changes from the release branch over to the developement
removed some of the warnings.
1999-09-25 10:32:04 -05:00
Patrick Lu
e347054ff8 [svn-r1657] added the 4 new batch files and removed the install instructions from the
zip file
1999-09-24 18:58:20 -05:00
Patrick Lu
22da5f858c [svn-r1655] added some lines in the test section about the dumptest batch files 1999-09-24 18:51:22 -05:00
Quincey Koziol
90fde6d638 [svn-r1653] Removed unneeded sys/fcntl.h include line, which was causing J90 problems. 1999-09-24 18:07:17 -05:00
Quincey Koziol
eea89e1e6c [svn-r1651] Fold in J90 changes 1999-09-24 17:35:30 -05:00
Albert Cheng
aeb5116600 [svn-r1645] conclude.in:
Problems:
    libtool generated compiler linking commands with dependency_libs
    appended to any dynamic library used but only "-lz -lmfhdf ..." were
    appended but "-L...", if used, are not appended.  So, the "-lz ..."
    information is incomplete and solaris cc does not allow even if the
    "-L..." information is provide in later part of the command.
    Solution:
    Included $LDFLAGS in the building of $(LIB).

irix5.x:
irix6.x:
    Added "-s" to PROD_CFLAGS so that production code are striped for
    smaller sizes.

Platform Tested:
    Solaris 2.6
1999-09-22 13:02:27 -05:00
Quincey Koziol
0d5399fc98 [svn-r1643] Tweaks to run on baldric better. 1999-09-22 00:47:46 -05:00
Quincey Koziol
1c273a615d [svn-r1642] Snapshot version 1.3 release 0 1999-09-21 18:42:21 -05:00
Patrick Lu
e2233b3c84 [svn-r1638] forgot to print the oid for the groups. 1999-09-17 12:20:13 -05:00
Patrick Lu
b6903e910b [svn-r1636]
h5tools.h- added a define for OBJECTID-->"OBJECTID"
h5dump.c - added an option in there to print object id's

still needs some testing but I just wanted the changes to be put up there before i
forget
1999-09-15 15:12:50 -05:00
Patrick Lu
d6d756ef96 [svn-r1634] fixed the compilation error where the H5P_DATASET_CREATE and H5P_DATA_XFER
were using the old names.
1999-09-08 15:07:40 -05:00
Patrick Lu
c034e0b43c [svn-r1633] added instructions for removing or replacing the zlibs 1999-09-08 15:03:49 -05:00
Patrick Lu
9566a071e5 [svn-r1632] updated the proj files so it uses the zlib and zlib.dll.
updated the zlib.h and zconf.h
added the zlib dir to the src dir for nt
update install instructions
1999-09-08 15:02:53 -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
d0c5506d95 [svn-r1625] update the H5Tinit.c 1999-09-01 11:06:08 -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
d54afb5670 [svn-r1622] Updated with new GASS driver files. 1999-08-31 00:06:01 -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
Albert Cheng
17c0a1546c [svn-r1620] Fixed a typo in the configure.in. configure is derived from it. 1999-08-30 23:33:10 -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
399bab4bf9 [svn-r1613] Added check for reading an attribute immediately after writing it. 1999-08-27 17:07:00 -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
Patrick Lu
258ee71a4f [svn-r1607] corrected an error in the hdf5dll project file 1999-08-27 11:05:55 -05:00
Patrick Lu
6507f4f6cc [svn-r1606]
update the H5Tinit.c file in there and the proj file for the lib and the dll
1999-08-27 10:53:30 -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
Quincey Koziol
a92c1a7f2c [svn-r1597] Extended space for string read in. 1999-08-25 15:31:12 -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
Patrick Lu
581fe7cf75 [svn-r1594]
added a conditional for __INT64 in the part of the code where the file
addresses are given types.  so now if the sizeof__int64 is >=8 then haddr_t
is typedefed to an unsigned __int64 and the HADDR_UNDEF = ((haddr_t)(__int64)(-1)).
I used the unsigned long long as my example.
1999-08-25 10:33:16 -05:00
Robb Matzke
cd917cd14b [svn-r1593] *** empty log message *** 1999-08-25 09:04:33 -05:00
Robb Matzke
1c97fa748a [svn-r1592] ./src/H5private.h
Re-committed recent changes that got clobbered in the pablo update.
	Albert, the source tree should be compilable again now...
1999-08-25 09:04:19 -05:00
Robb Matzke
36efbe3309 [svn-r1591] ./configure.in [1.2, 1.3]
./configure				[REGENERATED]
./Makefile.in
	Fixed a couple spelling errors.
1999-08-25 09:04:02 -05:00
Dan Wells
16739ea9ad [svn-r1586] There is a problem compiling when the H5TRACE_DECL is void and the -DHAVE_PABLO
flag is used on some machines if the H5TRACE_DECL; precedes PABLO_SAVE(xxx);.
There will be a empty statment followed by a variable declaration.  The same
is true if they are the other way around.  I added the semicolon to the
PABLO_SAVE macro definition and put H5TRACE_DECL; after PABLO_SAVE(xxx)
1999-08-24 14:17:38 -05:00
Robb Matzke
296d9cf766 [svn-r1585] Changes since 19990820
----------------------

./src/H5D.c
	Added additional elements to a variable initializer in
	H5Dvlen_get_buf_size() to shut up a warning message. Also
	added the API tracing call.

./src/H5F.c
	Added file opening optimizations. If the driver doesn't
	support the ability to determine when two file handles refer
	to the same file (like MPIO and GASS) then H5F_open() makes
	fewer calls to the driver's open callback.  Also, if the
	tentative file access flags are the same as the original flags
	then H5F_open() makes fewer calls to the file device.

./src/H5FD.c
./src/H5FDprivate.h
./src/H5FDpublic.h
	Added H5FD_get_class() so the library can get information
	about what file driver callbacks are defined. This will be
	useful when more optimization functions are added to the VFL,
	such as for MPIO derived datatype I/O.

./src/H5FDcore.c
./src/H5FDfamily.c
./src/H5FDmpio.c
./src/H5FDmulti.c
./src/H5FDsec2.c
	The driver symbols (like H5FD_CORE, etc) are actually function
	calls. The functions were fixed to return correct values even
	after calling H5close().

./src/H5FDmulti.c
./src/H5FDmulti.h
	Added support for opening a file when parts are missing (only
	if the caller explicitly allows that in the file access
	property list).

	Moved some common code sequences into macros or functions.

	Added better support for reopening files.  All the application
	has to know is that the file is a multi file and the base name
	from which all the member names are created.

	More debugging output when the file is opened with the
	H5F_ACC_DEBUG flag.

	Fixed various bugs.

./src/H5Fistore.c
	Chunked raw data was accidently allocated as meta data instead
	of raw data.

./src/H5I.c
	The H5Iget_type() function fails when invoked with an old
	object ID (an ID which has been closed down).

./test/h5test.c
	Added an extra argument when setting the multi file access
	property lists so the test fails if it can't open one of the
	sub-files.

./tools/h5ls.c
	Improved the algorithm for deciding what file driver to
	use. It basically tries all of the predefined drivers and is
	now able to open family, split, and multi files without
	looking for special characters in the file name.

	Added `-e' and `--errors' switches which cause errors from
	libhdf5 to be reported on stderr in addition to the simple
	error message displayed by h5ls.
1999-08-24 07:52:10 -05:00
Robb Matzke
8e338a5029 [svn-r1583] ./src/H5private.h [1.2, 1.3]
The prototype for strdup() is protected in case strdup is also
	a macro. This should fix a bug on Linux RedHat 6.0 (untested).
1999-08-20 12:05:24 -05:00
Robb Matzke
daf589e9ea [svn-r1582] ./configure.in [1.2, 1.3]
./configure			[REGENERATED]
	The checking for C9x types includes <stdint.h> if it
	exists. This should fix a bug on Linux RedHat 6.0 (untested).
1999-08-20 12:05:14 -05:00
Quincey Koziol
ae45f73e6a [svn-r1577] Added test for H5Dvlen_get_buf_size function. 1999-08-19 13:50:30 -05:00
Quincey Koziol
2468fb8baf [svn-r1576] Added H5Dvlen_get_buf_size function. 1999-08-19 13:50:22 -05:00
Quincey Koziol
fc9d502859 [svn-r1575] I don't remember modifying this.... 1999-08-19 13:49:44 -05:00
Robb Matzke
42d5453fe1 [svn-r1574] Changes since 19990817
----------------------

./src/H5D.c
./src/H5F.c
./src/H5FDmpio.c
./src/H5Fistore.c
./src/H5Fprivate.h
./src/H5Smpio.c
	The `driver_id' for a file was accidently put in two
	structs. I removed it from the H5F_file_t struct since it's
	really an attribute of the VFL stuff.

	More careful incrementing/decrementing the driver ID to fix a
	memory leak.

./src/H5P.c
	Rewrote H5Pcreate() in terms of H5P_copy() of a default
	property list. This fixes some referencing counting bugs.
1999-08-18 13:28:06 -05:00