summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r8892] Purpose:Quincey Koziol2004-07-169-153/+186
| | | | | | | | | | | | | | Code cleanup Description: Clean up a bunch of warnings and bring new code better inline with current library coding practice. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest Misc. update:
* [svn-r8881] James Laird2004-07-151-0/+2
| | | | | | | | | | | | Purpose: Bug fix Description: Replaced "unsigned long long" with hsize_t in H5MF Added "return 0" at end of reserved.c test Platforms tested: arabica, sleipnir
* [svn-r8879] Raymond Lu2004-07-141-17/+166
| | | | | | | | | | | | | | Purpose: New feature Description: New API H5Tencode and H5Tdecode. Given object ID, H5Tencode encodes object information into a binary form. H5Tdecode decode an object information in a binary form, reconstructs the object and return a new object ID. Solution: Use object header functions H5O_dtype_decode and H5O_dtype_encode to facilitate them. The encoded binary is exactly like object header information. This is the first step checkin. Will check in H5Sencode and H5Sdecode later. Platforms tested: h5committed and fuss. Misc. update: will update release.txt after 2nd step checkin.
* [svn-r8878] James Laird2004-07-141-0/+399
| | | | | | | | | | | | | Purpose: Description: Missed adding a test file in previous commit. Solution: Platforms tested: Misc. update:
* [svn-r8877] James Laird2004-07-143-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Bug Fix Description: If an HDF5 file grows larger than its address space, it dies and is unable to write any data. This is more likely to happen since users are able to change the number of bytes used to store addresses in the file. Solution: HDF5 now throws an error instead of dying. In addition, it "reserves" address space for the local heap and for object headers (which do not allocate space immediately). This ensures that after the error occurs, there is enough address space left to flush the entire file to disk, so no data is lost. A more complete explanation is at /doc/html/TechNotes/ReservedFileSpace.html Platforms tested: sleipnir, copper (parallel), verbena, arabica, Windows (Visual Studio 7) Solution: Platforms tested: Misc. update:
* [svn-r8874] Purpose:Quincey Koziol2004-07-141-7/+79
| | | | | | | | | | | | | | | | | | | | Bug fix Description: Correct problems with "resurrecting" a dataset in a file. (This occurs when a dataset which is open gets unlinked from the group hierarchy (making it "dead" and marked for deletion in the file) and then is re-linked to the group hierarchy). Note that the current solution applies only to datasets, further work will fix this for groups and named datatypes also. Also, fix the "debug" routines to be a little more helpful in certain situations. Additionally, fix a locking bug in the symbol table node splitting routine which could be [one of] the cause[s] of the file corruption in flexible parallel operation. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel h5committested
* [svn-r8844] Purpose:Quincey Koziol2004-07-091-0/+1
| | | | | | | | | | | | | | | | | | Bug fix Description: The "shared" raw B-tree node can get freed before all the B-tree nodes had been flushed out to disk and released by the cache. Solution: Implement a simple reference counting wrapper for objects in the library and use it to hold the shared raw B-tree nodes so they aren't freed before all references to them in memory are released. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) IRIX64 6.5 (modei4)
* [svn-r8832] Purpose:Quincey Koziol2004-07-081-0/+0
| | | | | Remove testing file after verifying that binary adds of *.h5 files are working correctly.
* [svn-r8831] Purpose:Quincey Koziol2004-07-081-0/+0
| | | | | Testing "binary" addition of new *.h5 files. (This file will be removed immediately)
* [svn-r8818] Raymond Lu2004-07-071-10/+10
| | | | | | | | | | Purpose: Potential bug fix Description: In H5Fget_filesize, file size was returned as haddr_t. Change it to hsize_t and return it as parameter to make fortran interface easier. Platforms tested: fuss(simple change).
* [svn-r8801] Purpose:Quincey Koziol2004-07-031-10/+15
| | | | | | | | | | | | | | | Code optimization Description: Set up datatype ID for dataset's datatype on disk. This allows us to avoid repeatedly copying the datatype when an ID is needed. Also, clean up a few warnings in various other places. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8800] Purpose:Quincey Koziol2004-07-031-41/+41
| | | | | | | | | | | | | Code cleanup Description: Fix problems when compiling with C++ compiler. Also clean up some warnings with gcc 3.4.x Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r8791] Purpose: Rewrote metadata cache (H5AC.c, etc.) to improve ↵John Mainzer2004-07-022-6/+4077
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | performance. Description: Replaced the old metadata cache with a cache with a modified LRU replacement policy. This should improve the hit rate. Solution: Since we want to flush cache entries in increasing address order, I used the threaded binary B-tree code to store the cache entries. There is a fair bit of overhead here, so we may want to consider other options. While the code is designed to allow the support of other replacement algorithms, at present, only a modified version of LRU is supported. The modified LRU algorithm requires that a user selectable portion of the cache entries be clean. The clean entries are evicted first when writes are not permitted. If the pool of clean entries is used up, the cache grows beyond its user specified maximum size. The cache can also exceed its maximum size if the combined size of the protected (or locked) entries exceeds the maximum size of the cache. Platforms tested: eirene (serial, parallel, fp), h5committested Misc. update:
* [svn-r8782] Purpose:Quincey Koziol2004-07-017-46/+57
| | | | | | | | | | | Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8781] James Laird2004-07-013-27/+299
| | | | | | | | | | | | | | | | Purpose: HDF5 now supports SZIP with no encoder. Description: SZIP can be configured to have both encoder and decoder or just to have the decoder. HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled. Solution: Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id. See SZIP RFC. Platforms tested: Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++) Misc. update:
* [svn-r8779] Nat Furrer2004-07-011-1/+1
| | | | | | | | | | | | | | Purpose: Fixed problem in tid.c that broke daily tests. Description: Solution: Platforms tested: Sleipnir Misc. update:
* [svn-r8778] Purpose:Quincey Koziol2004-07-011-1/+16
| | | | | | | | | | | Bug fix Description: Correct use of H5Eprint() when 1.6 compatibility is turned on. Platforms tested: FreeBSD 4.10 (sleipnir) w/compatibility h5committest doesn't test this, so it wasn't run.
* [svn-r8772] Nat Furrer2004-06-301-1/+2
| | | | | | | | | | | | | | | Purpose: Needed to change the type of a variable in tid.c from int to hsize_t to accomodate the change in H5Inmembers. Description: I lied... this is the last commit. Really, it is. Solution: Platforms tested: Misc. update:
* [svn-r8766] Nat Furrer2004-06-301-13/+33
| | | | | | | | | | | | | | | | | | | Purpose: Small H5I API changes. Description: Changed public version of H5Inmembers to return the number of IDs in a type by reference. This allows the user to differentiate between the case when H5Inmembers has an error and when the ID type is just empty. Added a new API function, H5Itype_exists, which allows the user to find out whether an ID type exists or not, without throwing an error. Solution: Platforms tested: Copper Misc. update:
* [svn-r8765] Purpose: New feature and its test.Raymond Lu2004-06-302-3/+163
| | | | | | | | | | | Description: Added new API H5Fget_name and new test program called filename.c. This function returns the name of the file by object ID(file, group, dataset, named datatype, and attribute) which belongs to the file. Platforms tested: h5committest and fuss. Misc. update: MANIFEST and RELEASE.txt
* [svn-r8760] Purpose:Quincey Koziol2004-06-291-0/+47
| | | | | | | | | | | | | Code cleanup & small bug fix Description: Regenerate dependency files Add htri_t as separate type from hbool_t for code tracing purposes. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel too minor to require h5committest
* [svn-r8741] *** empty log message ***Raymond Lu2004-06-242-5/+91
|
* [svn-r8732] Purpose:Quincey Koziol2004-06-231-2/+1
| | | | | | | | | | | | Code cleanup Description: Reduce compiler warnings on SGI IRIX Platforms tested: FreeBSD 4.10 (sleipnir) SGI IRIX6 (Cheryl's machine) Too minor to require full h5committest
* [svn-r8730] Purpose:Quincey Koziol2004-06-231-10/+6
| | | | | | | | | | | Code cleanup Description: Add more testfiles to the "clean" targets Platforms tested: FreeBSD 4.10 (sleipnir) h5committest
* [svn-r8722] *** empty log message ***Raymond Lu2004-06-221-2/+73
|
* [svn-r8707] Changed the way HDF5 handles hid_t's and added API functions to ↵James Laird2004-06-184-2/+349
| | | | allow users to register IDs and ID types at runtime.
* [svn-r8706] *** empty log message ***Raymond Lu2004-06-181-0/+196
|
* [svn-r8683] Purpose:Quincey Koziol2004-06-141-63/+64
| | | | | | | | | | | | | Code optimization Description: Use 'size_t' instead of 'hsize_t' to track the number of elements in memory buffers, especially for type conversion. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8655] Purpose:Quincey Koziol2004-06-111-3/+4
| | | | | | | | | | | Code cleanup Description: Add more files that should be removed to the clean & distclean targets. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r8646] *** empty log message ***Raymond Lu2004-06-101-0/+203
|
* [svn-r8618] Purpose:Quincey Koziol2004-06-051-1/+16
| | | | Fix makefiles, dependencies & manifest after source file rename.
* [svn-r8614] Purpose:Quincey Koziol2004-06-051-2/+5
| | | | | | | | | | | | | | | Refactor code Description: Move chunk and contiguous cached raw data from file information to dataset information. This simplifies a number of internal interfaces, aligns the code with it's purpose better and should allow more optimizations to the chunked data I/O performance. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) h5committest
* [svn-r8609] Purpose: bug fixRaymond Lu2004-06-031-0/+1
| | | | | | | Description: internal function opaque_check didn't have prototype. Platforms tested: no test needed for such a simple change.
* [svn-r8605] *** empty log message ***Raymond Lu2004-06-021-5/+51
|
* [svn-r8600] Purpose:Quincey Koziol2004-05-313-141/+161
| | | | | | | | | | | | | Code optimization Description: Don't recompute the internal index value for looking up the chunk in the hash table, just use the value already computed from iterating through the chunks. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel
* [svn-r8590] Purpose:Quincey Koziol2004-05-274-0/+286
| | | | | | | | | | | | | | | | | | | | | Code optimization & bug fix Description: When dimension information is being stored in the storage layout message on disk, it is stored as 32-bit quantities, possibly truncating the dimension information, if a dimension is greater than 32-bits in size. Solution: Fix the storage layout message problem by revising file format to not store dimension information, since it is already available in the dataspace. Also revise the storage layout data structures to be more compartmentalized for the information for contiguous, chunked and compact storage. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel Solaris 2.7 (arabica) h5committest
* [svn-r8518] Purpose: uncomment part of code.Raymond Lu2004-05-131-2/+1
| | | | Description: supposed to be there.
* [svn-r8517] *** empty log message ***Raymond Lu2004-05-131-5/+4
|
* [svn-r8509] *** empty log message ***Raymond Lu2004-05-121-0/+14
|
* [svn-r8505] *** empty log message ***Raymond Lu2004-05-111-18/+6
|
* [svn-r8495] Purpose:Quincey Koziol2004-05-081-2852/+2906
| | | | | | | | | | | | | | Bug fixes Description: Updated dependencies Fixed error with C++ compiler builds of main library Added H5Pset_data_transform to MPE info Platforms tested: FreeBSD 4.9 (sleipnir)
* [svn-r8492] *** empty log message ***Raymond Lu2004-05-071-5/+17
|
* [svn-r8488] Purpose:Leon Arber2004-05-061-41/+125
| | | | | | | | | | | | | | | | | | | Bug fix. Description: Fixed handling of trivial data transform expressions (like 5/3 + 3) and some data coversion fixes. Also added more tests to dtransform.c Solution: Added some more checks in the H5Z_xform_reduce_tree function to see if perhaps the transform expression is complicated and is a non-trivial reduction. Added tests for data conversion to dtransform as well as tests for a trivial data transform expression. Platforms tested: h5committest'ed, except used arabica instead of sol and didn't do on copper b/c no logon there. Problem noted with mtime test...doesn't appear to be related to anything having to do with data transforms.
* [svn-r8484] Purpose: bug fixRaymond Lu2004-05-051-0/+6
| | | | | | | | | | Description: The error stack was accidentally cleared during the program. Solution: Change it to the correct output. Platforms tested: RH 8(fuss). Simple change. Misc. update:
* [svn-r8483] Purpose:Quincey Koziol2004-05-051-2/+2
| | | | | | | | | | Bug fix Description: Fix problems compiling with g++. Platforms tested: FreeBSD 4.9 (sleipnir) w/CC=g++
* [svn-r8481] *** empty log message ***Raymond Lu2004-05-041-2/+2
|
* [svn-r8479] Purpose:Albert Cheng2004-05-032-2/+115
| | | | | | | | | | | | | New Feature Description: Add the data transform function, H5Pset_transform(). Platforms tested: "h5committested". Copper was down. Ran parallel tests in sol instead. Misc. update:
* [svn-r8469] Purpose:MuQun Yang2004-05-032-4/+5
| | | | | | | | | | | | | | | | | | bug fix Description: 1. windows cannot recongize long long. We agree to use long_long to represent all "long long" compatible data types. 2. windows test can not check error code, it depends on error messages to be returned. This will be fixed in the future. In odhr.c, somehow only error value1 is generated, there are no error message even if some tests are missing. So just add an error message when error code is 1. Solution: change long long to long_long in dtypes.c; Add an error message when error code is not 0 in ohdr.c Platforms tested: eirene(fortran), arabica(fortran) Misc. update:
* [svn-r8444] Purpose:Quincey Koziol2004-05-011-1/+0
| | | | | | | | | | | | | Code cleanup Description: Remove bogus "#undef NDEBUG" at top of file, which was blocking compiler flags from setting NDEBUG properly. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r8435] Purpose:Quincey Koziol2004-04-291-0/+19
| | | | | | | | | Temporarily disable float/double->unsigned long long conversion while I work on fix. Platforms tested: Linux 2.4 (verbena) too minor to require h5committest