summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r2442] Insert better error checking when memory allocation fails (in ↵Quincey Koziol2000-07-251-2/+4
| | | | | | certain obscure situations).
* [svn-r2441] Snapshot version 1.3 release 25HDF Admin2000-07-221-1/+1
|
* [svn-r2429] Snapshot version 1.3 release 24HDF Admin2000-07-081-1/+1
|
* [svn-r2423] Snapshot version 1.3 release 23HDF Admin2000-07-011-1/+1
|
* [svn-r2422] Snapshot version 1.3 release 22HDF Admin2000-07-011-1/+1
|
* [svn-r2410] Changed H5MM_strdup() to H5MM_xstrdup() so we get a core dump soonerRobb Matzke2000-06-231-1/+1
| | | | if allocation fails.
* [svn-r2348] The way the pthread_t object was being initialized wasn't ↵Bill Wendling2000-06-062-13/+26
| | | | | | | | | | | | correct for all platforms. Also, it's not entirely certain that a value of 0 isn't a valid thread ID. So, I changed the pthread_t object to be a pointer to pthread_t with the appropriate memory management this entails. Part of the validity of this approach rests on the fact that one can assign a variable which is a structure to another variable of the same type and all fields within will be copied appropriately...See! C *does* do some things correctly :-).
* [svn-r2345] Fixed a few more places where free'd memory was being inspected.Quincey Koziol2000-06-061-6/+17
|
* [svn-r2344] Fixed a bug where memory was being inspected after being free'd, ↵Quincey Koziol2000-06-061-1/+3
| | | | | | found only in Windows.
* [svn-r2343] *sigh* Corrected H5AC_compare again. (Trying to fix a bug which ↵Quincey Koziol2000-06-061-5/+10
| | | | | | only is manifesting on Windows, so it's a bit of a remote-control problem...)
* [svn-r2342] Updated H5AC_compare function to detect NULL pointers to cached ↵Quincey Koziol2000-06-061-2/+9
| | | | | | objects correctly and also corrected incorrect test in H5AC_flush
* [svn-r2318] Rearranged metadata caching to put caching information in the ↵Quincey Koziol2000-06-0111-145/+183
| | | | | | | | objects being cached instead of in separate structures. This reduces the amount of memory the hash table uses by about half. This is the initial step along the path of speeding up the metadata caching.
* [svn-r2292] Snapshot version 1.3 release 21Albert Cheng2000-05-261-1/+1
|
* [svn-r2286] Gave the threading functions return types (herr_t). pthreads' callsBill Wendling2000-05-192-94/+163
| | | | | | | | | | | | | return 0 on success and non-zero on failure. That's what happens with these calls. There was a problem compiling threading on Linux. The pthread_t type is not consistent among different implementations, so it cannot simply be assigned to NULL or tested against it. I initialize it by calling HDmemset(foo_thread, 0, sizeof(pthread_t)). To see if it's a "null" pthread, I created a special pthread_t object (assigned to only in the init phase and then only read...i.e., thread safe) and assigned it "null" as above. Then I use pthread_equal() to determine if the thread is null.
* [svn-r2285] A \ was needed at the end of one of the definitions to make ↵Bill Wendling2000-05-191-1/+1
| | | | gmake work.
* [svn-r2284] Duplicate initialization of variable removed.Bill Wendling2000-05-191-1/+0
|
* [svn-r2276] Modifed thread-safety code to more closely align with rest of ↵Quincey Koziol2000-05-196-131/+191
| | | | | | HDF5 coding standards.
* [svn-r2272] Updated data structure names to be more in line with HDF5 naming ↵Quincey Koziol2000-05-192-150/+150
| | | | scheme.
* [svn-r2264] Added Thread-safe feature. This is the phase 1 implementationChee-Wai Lee2000-05-186-23/+459
| | | | | | 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
* [svn-r2262] * 2000-05-18Robb Matzke2000-05-1813-498/+870
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** 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
* [svn-r2259] Elena Pourmal2000-05-171-4/+4
| | | | Fixed a typo in the H5Pget_gc_references function name (was H5Pget_gc_reference).
* [svn-r2235] Changed POWER_OF_TWO macro to allow 1 as a valid power of two. ↵Bill Wendling2000-05-091-2/+6
| | | | | | Changed the has_size check accordingly (1 wasn't allowed in the original code).
* [svn-r2225] added __DLL__ in front of the function prototypes. exports the ↵Patrick Lu2000-05-091-17/+17
| | | | | | | functions in the dll. the testhdf5dll projects were not compiling because they didn't know about these functions
* [svn-r2223] Added logging version of sec2 file driver. This is _reallly_ ↵Quincey Koziol2000-05-085-5/+991
| | | | | | | useful for tracking the actual I/O locations and space used in a file during an application.
* [svn-r2221] Brought threaded, balanced binary tree code over from the HDF4 ↵Quincey Koziol2000-05-082-0/+1544
| | | | | | | 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.
* [svn-r2220] Added a major error number for TBBT treesQuincey Koziol2000-05-082-1/+3
|
* [svn-r2219] This simplifies the "check for power of 2" in the hashing ↵Bill Wendling2000-05-081-16/+7
| | | | | | | | | 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.
* [svn-r2191] Changed hash function for caching to avoid as many hash clashes.Quincey Koziol2000-04-222-30/+16
|
* [svn-r2190] Turned on address sorting when flushing metadata for entire ↵Quincey Koziol2000-04-221-1/+4
| | | | | | | file, which improves performance significantly when lots of metadata I/O occurs when the file closes.
* [svn-r2178] ./src/H5public.hRobb Matzke2000-04-211-1/+1
| | | | | | Added some more #undef's Removed leading hyphen from H5_VERS_SUBRELEASE
* [svn-r2175] Updated API tracing information.Quincey Koziol2000-04-211-1/+1
|
* [svn-r2172] Fixed a few typos in FUNC_ENTER macros and return types that ↵Quincey Koziol2000-04-211-10/+10
| | | | Binh-Minh found.
* [svn-r2165] Fixed last batch of problems when using free-lists on the SGI ↵Quincey Koziol2000-04-208-31/+40
| | | | | | machines. They should (hopefully) work on all platforms again now.
* [svn-r2164] Remove debugging information...Quincey Koziol2000-04-191-2/+2
|
* [svn-r2163] Take out some debugging information which was accidentally ↵Quincey Koziol2000-04-192-4/+0
| | | | checked in.
* [svn-r2162] Various small fixes to address SGI compiler warnings.Quincey Koziol2000-04-196-13/+13
|
* [svn-r2158] Modified B-tree splits so they avoid the redundant metadata I/O ↵Quincey Koziol2000-04-191-34/+112
| | | | | | which was occurring when moving a metadata block in the file.
* [svn-r2157] Changed hashing scheme slightly to better spread out the hash ↵Quincey Koziol2000-04-192-3/+7
| | | | values returned.
* [svn-r2151] Modified H5_term_library to not reported errors when ↵Quincey Koziol2000-04-156-257/+255
| | | | | | | | H5Eset_auto(NULL,NULL) has turned off error reporting in the library. Also, changed the way property lists are managed and closed so that they can be automatically closed when the library terminates.
* [svn-r2147] Corrected a few problems in the free-list code and added more ↵Quincey Koziol2000-04-148-17/+47
| | | | | | | | | assert() macros to double-check things. I've turned them back on again now. I also changed the internal representation of a few struct fields to be float instead of double, since the HP/UX 10.20 compiler was having problems with the alignment of the doubles.
* [svn-r2144] Update.Raymond Lu2000-04-131-3/+3
|
* [svn-r2141] Fixed some mix up from the last cvs commit.Raymond Lu2000-04-131-3/+3
|
* [svn-r2137] Add SRB as a new VFL, add related info into these source codes.Raymond Lu2000-04-137-11/+677
|
* [svn-r2131] Changed H5Screate_simple & H5Sset_extent_simple to disallowQuincey Koziol2000-04-121-7/+16
| | | | size 0 dimensions without corresponding unlimited dimension.
* [svn-r2124] Changed return type of H5Aiterate and the H5A_operator_t to ↵Quincey Koziol2000-04-122-4/+4
| | | | | | herr_t, to align them with the dataset & group iterator functions.
* [svn-r2122] Fixed small problem with va_arg & shorts and floats in ↵Quincey Koziol2000-04-121-3/+3
| | | | | | HDfprintf. This closes bug #401.
* [svn-r2117] Fixed error which manifested in H5Giterate, causing groups with ↵Quincey Koziol2000-04-121-1/+1
| | | | | | | more than one level of B-tree nodes and callback functions which returned non-zero to not work correctly.
* [svn-r2115] Snapshot version 1.3 release 20Albert Cheng2000-04-121-1/+1
|
* [svn-r2110] Re-wrote a good chunk of the hyperslab code to work correctly in ↵Quincey Koziol2000-04-112-412/+301
| | | | | | | several situations which weren't tested before. Things should be both faster and easier to understand in this code now.
* [svn-r2109] Re-wrote a good chunk of the hyperslab code to work correctly in ↵Quincey Koziol2000-04-111-5/+4
| | | | | | | several situations which weren't tested before. Things should be both faster and easier to understand in this code now.