summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r892] had to change teh name of the hyper union member to be hslabPatrick Lu1998-11-103-92/+92
|
* [svn-r891] commented out the include for winsock.h. only need the winsock2.hPatrick Lu1998-11-101-1/+1
|
* [svn-r890] changed the name of the union member hyper to be hslab.Patrick Lu1998-11-101-1/+1
| | | | caused a conflict on winNT because hyper is a keyword
* [svn-r889] added a typedef for the ssize_t to be signed intPatrick Lu1998-11-101-0/+1
|
* [svn-r888] i added a #ifdef HAVE_GETTIMEOFDAY around the gettimeofday ↵Patrick Lu1998-11-101-1/+2
| | | | function call
* [svn-r887] SnapshotRobb Matzke1998-11-101-1/+1
|
* [svn-r886] Fixed H5dont_atexit in development branch also.Quincey Koziol1998-11-091-0/+6
|
* [svn-r884] SnapshotRobb Matzke1998-11-071-1/+1
|
* [svn-r882] Made modifications to support MPIO Pablo real-time tracing.Dan Wells1998-11-062-6/+3
|
* [svn-r879] Changes since 19981105Robb Matzke1998-11-063-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./configure.in ./acconfig.h ./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] Added checks for functions, structs, constants, and header files used in h5ls.c to determine the output width with various Windows compilers and Unix variants. Added check for <sys/stat.h> and defined HAVE_SYS_STAT_H. Included <sys/stat.h> in H5private.h outside the Posix.1 #include's section. ./src/H5RA.c Less aggressive about failing -- rather returns false, which allows type detection to continue. ./src/h5ls.c Data types are displayed for datasets and named data types when `-v' or `--verbose' is specified on the command-line. The algorithm is a little different than the dumper because we're trying to be human-friendly, not necessarily machine-friendly. * Any data type which matches a native C type gets printed something like `native double'. * A floating point type that matches one of the IEEE standard types but not one of the native types gets printed like `IEEE 64-bit big-endian float'. * Other floating point values have information about sign bit location; exponent size, location, and bias; and significand size, location, and normalization. * Padding and offsets are displayed for types that have padding (precision != size), including internal padding for some floating point data types. * Non-native integer types are displayed like `32-bit little-endian unsigned integer'. * Compound data types have each member displayed including the member name, byte offset within the struct, dimensions, index permutation, and data type. * String types are displayed like `256-byte null-terminated ASCII string'. * References are displayed like `8-byte unknown reference' until the reference interface stabilizes a little. * All other types including types not yet defined will be printed like `4-byte class-9 unknown'. The dimensionality of scalar datasets is printed like `{SCALAR}' instead of just `{}'. If external raw files are used to store a dataset then the offsets, sizes, and file names of each are printed if `-v' or `--verbose' was given on the command-line. If an object is found and h5ls can't determine the object type then it still tries to print the number of hard links, the OID, and any comment that might be present if `-v' or `--verbose' was specified. If the `-d' or `--dump' switch is turned on then ragged arrays will report that the data can only be dumped by dumping the component datasets explicitly. I'm not planning to implement this since we're going to eventually change the whole way ragged arrays are stored. Compound data values do not have the component names displayed by default when `-v' or `--verbose' is turned on. Instead, the names can be displayed with `-l' or `--label'. The output width is determined by the first rule that applies: * If the `-wN', `-w N' or `--width=N' switch appeared on the command line then use N for the output width. * Query the OS for the tty width in a highly unportable way borrowed from GNU `less' depending on what functions and data structures were found during configuration (if any): _getvideoconfig(), gettextinfo(), _srcsize(), ioctl(), GetConsoleScreenBufferInfo(), struct videoconfig, struct text_info, the TIOCGWINSZ ioctl, the TIOCGETD ioctl. * If the `COLUMNS' environment variable is set then use its value. * Use the value 80. Just for kicks, run Mark and Jim's test_vbt and then say `h5ls -dlsv test.vbt'. You can also try it on the various *.h5 files in the test/example directories. ./config/linux Removed turning on parallel by default on Robb's macine.
* [svn-r876] Changes since 19981102Robb Matzke1998-11-0512-43/+425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./bin/snapshot Made same fix as for the release script yesterday. ./src/H5D.c ./src/H5Dprivate.h ./src/H5G.c ./src/H5Gprivate.h ./src/H5Gpublic.h ./src/H5O.c ./src/H5Oprivate.h ./src/H5RA.c ./src/H5RAprivate.h ./src/H5T.c ./src/H5Tprivate.h Improved object type checking. Instead of determining the object type by trying to open each of the possible types, we keep a table of associations between object type number (like H5G_GROUP, H5G_DATASET, H5D_TYPE, and H5D_RAGGED) and an `isa' function that returns true if the object header has the right messages to make the object a particular type. This mechanism also allows specialization of object types by permitting an object to satisfy more than one `isa' function. Added `isa' functions for groups, datasets, ragged arrays, and committed data types. ./src/H5config.h.in Added HAVE_STAT_ST_BLOCKS. I thought this had already been added, but apparently not. ./tools/h5ls.c Removed system include files since they're already included by H5private.h and since I wasn't including them portably anyway. By default, 1-byte integer types are printed as integer values instead of ASCII characters. However, the `-s' or `--string' command-line switch causes the data to be interpretted as ASCII. String data types are always printed as character data. Ragged arrays are now identified as ragged arrays and h5ls doesn't descend into the group automatically. This uses the new object type specialization stuff. ./tools/h5tools.c ./tools/h5tools.h Added the ability to print 1-byte integer types as either ASCII or numeric data instead of always ASCII. The default is to print as numeric data.
* [svn-r875] SnapshotRobb Matzke1998-11-051-1/+1
|
* [svn-r867] SnapshotRobb Matzke1998-11-041-1/+1
|
* [svn-r864] SnapshotRobb Matzke1998-11-031-1/+1
|
* [svn-r859] Changes since 19981030Robb Matzke1998-11-0218-334/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST Added new Pablo files HDF5record_RT.h and ProcIDs.h ./acconfig.h ./configure [REGENERATED] ./configure.in ./src/H5.c ./src/H5Vprivate.h ./src/H5config.h.in [REGENERATED] ./src/H5private.h ./src/H5public.h ./test/big.c Added more configuration stuff for the Win32 environment. Removed all the #ifdef WIN32 from the source and replaced them with OS-independent stuff. Specifics follow: Check for non-Posix.1 `st_blocks' field in `struct stat' which is used by the big file test to decide if the file system supports holes. If the st_blocks field isn't present then we just skip the test. Configure checks for <io.h> <sys/resource.h> <sys/time.h> and <winsock.h> and defines HAVE_IO_H, HAVE_SYS_RESOURCE_H, HAVE_SYS_TIME_H and HAVE_WINSOCK_H when they're found. Configure checks whether both <sys/time.h> and <time.h> can be included and defines SYS_TIME_WITH_TIME if so. Otherwise include only <sys/time.h> or <time.h> even if both exist. Configure checks sizeof(__int64) and defines SIZEOF___INT64 to the result or to zero if __int64 isn't defined. The source uses `long long' in preference to `__int64'. Removed null WIN32 definition for `inline' since such a definition already exists in H5config.h Protected gettimeofday() calls in debugging code with HAVE_GETTIMEOFDAY instead of WIN32. ./src/H5F.c ./src/H5Flow.c ./src/H5Fmpio.c ./src/H5Fsec2.c ./src/H5Fstdio.h ./src/H5P.c ./src/H5Tconv.c ./src/H5private.h Removed #include of system files from library source files and consolodated them into H5private.h where they're protected by various configuration macros (most of them were duplicated there already anyway). ./test/big.c ./test/chunk.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/extend.c ./test/external.c ./test/fillval.c ./test/flush1.c ./test/flush2.c ./test/iopipe.c ./test/links.c ./test/mount.c ./test/mtime.c ./test/overhead.c ./test/ragged.c ./test/shtype.c ./test/unlink.c Protected system #include's with #ifdef's from H5config.h. Undefined NDEBUG since some of the tests rely on assert() to check return values. Removed WIN32 definitions for __unused__ since this can be controlled by the definition of HAVE_ATTRIBUTE in H5config.h ./test/testhdf5.h Removed the CLEAN_CMD definition because we no longer use it. Albert's cleanup() functions replaced it. ./test/fillval.c Initialized auto hid_t variables to fix warnings in error recovery code when data flow analysis is turned on in compilers. ./test/h5tools.c Initialized an auto variable to fix a compiler warning. ./test/chunk.c ./test/ragged.c The WIN32 had some unsigned variables changed to signed because the compiler generates warnings when coercing unsigned to double(?). I changed them back to unsigned because they really are unsigned quantities. If this the change was just to shut up extraneous warnings then perhaps a compiler flag can do the same; otherwise if the compiler generates bad code then we should supply a patch file instead messing up source code with bug work-arounds. ./src/H5detect.c Protected system #include's with #ifdef's from H5config.h thereby removing a WIN32. If getpwuid() doesn't exist (HAVE_GETPWUID) then we assume that `struct passwd' doesn't exist either (we don't really need it in that case). The H5T_NATIVE_LLONG and H5T_NATIVE_ULLONG are defined in terms of `long long' or else `__int64' or else `long' depending on what's available. ./src/H5Flow.c ./src/H5Ofill.c Added __unused__ to some function arguments that aren't used when assertions are turned off. ./src/H5V.c Changed an auto variable name in some hand-inlined code to get rid of a warning about the variable shadowing a previous auto.
* [svn-r858] SnapshotRobb Matzke1998-11-021-1/+1
|
* [svn-r857] SnapshotRobb Matzke1998-11-011-1/+1
|
* [svn-r856] SnapshotRobb Matzke1998-10-311-1/+1
|
* [svn-r843] SnapshotRobb Matzke1998-10-301-1/+1
|
* [svn-r829] SnapshotRobb Matzke1998-10-291-1/+1
|
* [svn-r821] Set the metadata writing by 1 process to be TRUE by defaultAlbert Cheng1998-10-281-0/+5
| | | | | | except when it is in the Intel Red in which it is not working yet. Update the development version too.
* [svn-r816] Fixed bug with references on certain platforms.Quincey Koziol1998-10-284-363/+400
|
* [svn-r814] SnapshotRobb Matzke1998-10-281-1/+1
|
* [svn-r810] Reset version number on development branch back to 1.1.0Quincey Koziol1998-10-271-1/+1
|
* [svn-r805] Fixed H5Fis_hdf5 from reporting "true" for non-HDF5 files.Quincey Koziol1998-10-271-8/+11
|
* [svn-r804] SnapshotRobb Matzke1998-10-271-1/+1
|
* [svn-r802] Misc. white space adjustments here and there, mostly in comments.Robb Matzke1998-10-2714-53/+61
|
* [svn-r800] Made a "htri_t" as a return value from "boolean" functions returningQuincey Koziol1998-10-2622-72/+73
| | | | TRUE/FALSE/FAIL, hbool_t is now strictly for true boolean values.
* [svn-r797] Changed comments from returning "SUCCEED/FAIL" to ↵Quincey Koziol1998-10-2652-1169/+536
| | | | | | "non-negative/negative" and also fixed a few more explicit checks against FAIL.
* [svn-r795] Changes since 19981026Robb Matzke1998-10-2610-42/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST ./test/th5s.h5 [NEW] ./test/th5s.c Added a test to make sure that creating a data space with too large a rank fails. Added a test to make sure that reading a file that has a dataset with a space with too large a rank fails. Actually, this one is a little weird: the code that reads the data space message assumes the space is scalar if the message cannot be read. Fortunately the layout message fails also, preventing the dataset from being opened. However, since the data type message is still visible h5ls will report that the object is a named data type. ./test/space_overflow.c [NEW] This is the little program that makes the th5s.h5 file. ./src/H5A.c ./src/H5R.c ./src/H5Sselect.c Updated trace info. ./src/H5Olayout.c ./src/H5Osdspace.c Added code to fail if the dimensionality is too large when decoding a layout or simple data space message. ./src/H5Oprivate.h Redefined H5O_LAYOUT_NDIMS in terms of H5S_MAX_RANK. ./src/H5P.c ./src/H5S.c Check for ndims>H5S_MAX_RANK in API function calls, added assert to internal functions. ./src/H5V.c Changed a `<' to an `<=' in an assert. ./test/flush2.c Includes stdlib.h for getenv(). ./tools/h5tools.c Able to handle up to H5S_MAX_RANK dimensions during output.
* [svn-r793] Changed return value for H5Sget_select_npoints to hssize_t to ↵Quincey Koziol1998-10-265-11/+11
| | | | | | enable negative return values.
* [svn-r792] Changed return type for H5Aget_name from size_t to hssize_t to ↵Quincey Koziol1998-10-262-3/+3
| | | | | | allow negative error values to be returned correctly.
* [svn-r791] Internal API tweaks to H5D_open_oidQuincey Koziol1998-10-263-33/+29
|
* [svn-r790] Updated parameters for H5R API and changed constants from ↵Quincey Koziol1998-10-265-23/+22
| | | | pointers to references
* [svn-r789] Changes since 19981023Robb Matzke1998-10-2612-55/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST ./test/Makefile.in ./test/flush1.c [NEW] ./test/flush2.c [NEW] Test to see if calling H5Fflush() results in a consistent file. ./src/H5.c ./src/H5A.c ./src/H5D.c ./src/H5Fistore.c ./src/H5I.c ./src/H5S.c ./src/H5Shyper.c ./src/H5Sselect.c ./src/H5TB.c Changed comparisons against SUCCEED and FAIL to >=0 and <0 in about 15 places. ./src/H5.c ./src/H5V.c ./src/H5detect.c ./src/H5private.h ./src/H5public.h ./test/big.c ./test/chunk.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/external.c ./test/fillval.c ./test/iopipe.c ./test/links.c ./test/mount.c ./test/mtime.c ./test/ragged.c ./test/shtype.c ./test/unlink.c Removed ^M from the end of lines inserted on broken OS's ;-) ./src/H5private.h Changed c++ comments to c comments. ./src/H5R.c Added tracing macros.
* [svn-r788] SnapshotRobb Matzke1998-10-261-1/+1
|
* [svn-r787] SnapshotRobb Matzke1998-10-241-1/+1
|
* [svn-r786] Added H5S_MAX_RANK as publicly visible constant for the maximum ↵Quincey Koziol1998-10-231-0/+4
| | | | | | number of dimensions a dataset can have, currently set to 31.
* [svn-r785] Moved SUCCEED & FAIL back into H5private.hQuincey Koziol1998-10-232-14/+14
|
* [svn-r782] Win NT port- tested on Unix and NTPatrick Lu1998-10-235-6/+65
| | | | | | | changes - all changes surrounded by a #if defined(WIN32) defined __undef__ to be equal to nothing, changed long long to __int64 removed body of H5TimerBegin, defined F_OK,R_OK,W_OK, some other changes involving header files.
* [svn-r778] SnapshotRobb Matzke1998-10-231-1/+1
|
* [svn-r776] Fixed references, object references should be working now.Quincey Koziol1998-10-2210-87/+143
|
* [svn-r775] Changes since 19981021Robb Matzke1998-10-221-42/+62
| | | | | | | | | | | | | | | | | ---------------------- ./src/H5I.c If we ran out of object ID's (which happens after about 67 million requests) then we'd wrap back to the first possible ID but if we ran out a second time (after ~134 million requests) then H5I_register() failed. Now it continues to wrap as often as needed. If we wrapped to the beginning of the possible ID's and then requested ID's till we got toward the end of the list then H5I_register() failed if the last possible ID's were in use. The new behavior is to try all possible ID's (not just higher ID's) before giving up.
* [svn-r774] SnapshotRobb Matzke1998-10-221-1/+1
|
* [svn-r773] Changes since 19981019Robb Matzke1998-10-218-390/+444
| | | | | | | | | | | | | | | | | | ---------------------- ./src/H5Fistore.c Improved the hash function so it mixes bits better. This results in a few percent improvement in raw data chunk cache efficiency because there are fewer collisions. ./test/chunk.c Added #define's for chunk preemption `w0' value and number of slots in cache. ./src/H5B.c Added some more comments to H5B_insert_helper() and H5B_remove_helper() and also point to some additional documentation.
* [svn-r772] SnapshotRobb Matzke1998-10-211-1/+1
|
* [svn-r770] H5B.c:Albert Cheng1998-10-216-24/+24
| | | | | | | | | | | | | | | | | | Replaced FAIL with H5B_INS_ERROR in routine H5B_remove_helper. Updated code that calls H5B_remove_helper with the proper code. H5Fmpio.c: Removed a typo. H5Gnode.c: Replaced FAIL with H5B_INS_ERROR in routine H5G_node_remove. H5Odtype.c: Put in proper casting to remove compiler warnings. H5S.c: Replaced FAIL with H5S_NO_CLASS in routine H5Sget_simple_extent_type. H5Sselect.c: Fixed couple typos to remove compiler warnings. Platform tested: O2K.
* [svn-r767] Commented out printfs.Quincey Koziol1998-10-203-0/+20
|
* [svn-r766] Checkpointing the reference code.Quincey Koziol1998-10-198-233/+168
|
* [svn-r765] Changes since 19981016Robb Matzke1998-10-192-2/+54
| | | | | | | | | ---------------------- ./src/H5F.c ./src/H5Fpublic.h Added H5Freopen() as documented in earlier e-mails. This is really just a wrapper around H5F_new().