Commit Graph

1897 Commits

Author SHA1 Message Date
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
72cf03cdbd [svn-r1694] Fixed various compiler warnings 1999-09-29 19:01:55 -05:00
Patrick Lu
f1917f0754 [svn-r1693] removed the last warnings from here 1999-09-29 11:54:00 -05:00
Quincey Koziol
21b0e20bf7 [svn-r1691] Portability tweaks and warnings fixed 1999-09-28 19:31:07 -05:00
Quincey Koziol
523f5cebb2 [svn-r1690] Added VL string test code. 1999-09-28 19:30:47 -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
dd26601117 [svn-r1688] Added missing vector Cray (x90 series) configuration file. 1999-09-28 19:28:32 -05:00
Patrick Lu
54a0653341 [svn-r1686] updated the testing section to reflect the changes in the testing with the new
bat files
1999-09-28 15:51:51 -05:00
Patrick Lu
2a3327b24c [svn-r1685] removed the bat files that were used for testing and replaced them with 2 bat
files that take command line arguments to determine which test to run
1999-09-28 15:40:05 -05:00
Albert Cheng
95c384b425 [svn-r1683] Did some cleanup. 1999-09-28 13:20:40 -05:00
Albert Cheng
7a51c5d533 [svn-r1682] Added the ability to accept command line arguements. 1999-09-28 13:20:32 -05:00
Albert Cheng
f6a86261bc [svn-r1672] bin/ltconfig:
ltconfig used just an empty source file to test the share lib
    compiler options.  SUNSpro CC returns succeed though it issues
    a warning too.  ltconfig did not like the warning.
    Changed it to test with a file containing a simple dummy program.
    Platform tested: solaris 2.6 and 2.7

config/solaris2.x:
    Changed default compiler to "cc" now that Sunpro CC can produce
    static and shared codes correctly.
    Also added -s to PROD_CFLAGS to produce leaner binary files.
1999-09-27 19:01:32 -05:00
Patrick Lu
60f3f5e5c0 [svn-r1670] same changes as ont he release side 1999-09-27 11:45:10 -05:00
Patrick Lu
3ddb0009bc [svn-r1668] same fixes that were done on the release branch.
just casted the isdigit and isprintf parameter
1999-09-27 11:11:15 -05:00
Patrick Lu
eaaa292603 [svn-r1667] same fixes from the release branch were done here.
just casts with the parameters for the isdigit and isprint functions
1999-09-27 11:09:41 -05:00
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