summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7442] Purpose:Quincey Koziol2003-09-041-0/+55
| | | | | | | | | | | | | | | | | Bug fix Description: The VFL driver ID in a file's access proprty list wasn't being reference counted correctly, causing the VFL driver to get prematurely closed after several calls to "H5Pget_access_plist->H5Pclose". Solution: Increment VFL driver ID reference count when copy of file's access property list is made in H5Pget_access_plist() Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7435] Purpose:Quincey Koziol2003-08-311-0/+132
| | | | | | | | | | | | | | | | | | | | Bug Fix and code cleanup Description: Correct error in H5T_detect_class that was causing nested compound datatypes with to not detect the datatype class of fields correctly, which caused errors with fill-values, variable-length datatypes and chunks later on. Return the rank of the array datatype from H5Tget_array_dims(), like H5Sget_dims(). Lots of cleanups to datatype code, to make the handling of arrays, compound types, variable-length strings and sequences and enumerated types more consistent and robust. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7427] Purpose:Quincey Koziol2003-08-282-6/+240
| | | | | | | | | | | | | | | | | Bug fix Description: When datasets are deleted from a file, they are removed from the sieve buffer, but instead of invalidating only the part of the sieve buffer affected, the sieve buffer code would throw away the entire sieve buffer, potentially including other raw data in the buffer that hadn't been written to disk yet. Solution: Improve the sieve buffer clearing code to handle partial invalidations. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7413] Purpose:Quincey Koziol2003-08-261-21/+29
| | | | | | | | | | | | | | | | | | | Bug fix Description: H5Gget_objname_by_idx should allow NULL for the 'name' parameter, to allow for querying for the name's length. Solution: Allow NULL for the 'name' parameter, the internal functions were already ready to handle that case. Clean up RM information about H5Gget_objname_by_idx and H5Gget_objtype_by_idx also. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7392] Purpose:Quincey Koziol2003-08-221-0/+25
| | | | | | | | | | | | | | | | Bug fix Description: H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx were only accepting a group ID, instead of a location ID, as our documentation for them stated. Solution: Allow them to accept a location ID. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7382] Purpose:Quincey Koziol2003-08-191-0/+69
| | | | | | | | | | | | | | | | Bug fix Description: I/O on chunked datasets with a scalar dataspace for the memory dataspace was not working correctly. Solution: Translate the scalar dataspace into a n-dimensional (where n is the number of dimensions of the file's dataspace) dataspace of dimensions 1x1x1... Platforms tested: FreeBSD 4.8 (sleipnir) h5committest (modulo modi4 which is not working correctly)
* [svn-r7378] Purpose:Quincey Koziol2003-08-161-0/+149
| | | | | | | | | | | | | | | | Bug fix Description: Linking and unlinking objects with multiple internal and/or trailing '/'s was not handled well in the library. Solution: "Normalize" strings by removing trailing '/'s and collapsing multiple internal '/'s down into just one '/' before operating on the name. Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r7363] Purpose:Quincey Koziol2003-08-142-0/+383
| | | | | | | | | | | | | Bug fix Description: Allow a user block to be "inserted" in front of a file (probably by writing a validly-sized userblock to a new file and then appending another HDF5 file to the new file). Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r7258] Purpose:Quincey Koziol2003-07-231-0/+201
| | | | | | | | | | | | | | | Bug fix Description: I/O on chunked datasets with point selections was not working correctly. Solution: Re-wrote some parts of raw data I/O routines that build the selections for each chunk to correctly handle point selections. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7242] Purpose:Quincey Koziol2003-07-211-0/+136
| | | | | | | | | | | | Bug fix Description: Fix bug with combination of fill-values, chunked datasets and variable-length strings. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7234] Purpose:Quincey Koziol2003-07-162-14/+187
| | | | | | | | | | | | | | | | | | | | Bug fix Description: When a non-default indexed storage B-tree internal 'K' value is set by the user, the chunked datasets created in that file (until it is closed) use the user's 'K' value and the data can be accessed correctly, but the 'K' value is not stored in the file. However, once the file is closed and re-opened, the non-default 'K' value is lost and the data in the chunked datasets will not be able to be accessed correctly. Solution: Store the indexed storage B-tree internal 'K' value in the superblock. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7233] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2003-07-161-0/+81
|
* [svn-r7126] Purpose:Quincey Koziol2003-06-301-2/+2
| | | | | | | | | | | | | Code cleanup Description: Add in rest of szip "options mask" macros that were missing. Also made "raw" options mask set by the library, instead of requiring users to always set it. Platforms tested: FreeBSD 4.8 (sleipnir) Minor tweaks too small fo h5committest
* [svn-r7109] Purpose:Quincey Koziol2003-06-2611-108/+101
| | | | | | | | | | | Code cleanup Description: Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7098] Purpose:Quincey Koziol2003-06-241-1/+17
| | | | | | | | | | | | | | Improve test a bit Description: Add a small bit of testing for the array field in a compound datatype. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest Cray SV1 (wind) Cray T3E (hubble) Cray T90 (gypsy)
* [svn-r7095] Purpose:Quincey Koziol2003-06-241-6/+100
| | | | | | | | | | | | | | | Code cleanup Description: Include roughed-in, but commented out code for performing I/O on time datatypes. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest Cray SV1 (wind) Cray T3E (hubble) Cray T90 (gypsy)
* [svn-r7081] Purpose:Quincey Koziol2003-06-231-22/+138
| | | | | | | | | | | | | | | | Bug fix (backward compatibility) Description: Changes we've made during development of the 1.5.x branch had broken the feature of allowing user's callbacks to H5Giterate to return a value through the library back to the application which called H5Giterate. Solution: Better testing for this feature. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7073] Purpose:Quincey Koziol2003-06-201-19/+28
| | | | | | | | | | | | Expand test Description: Expanded # of dangling objects from 2 to 1000, to stress ID cleanup code in library more. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7059] Purpose:Quincey Koziol2003-06-181-38/+42
| | | | | | | | | | | Refactoring Description: Track changes to H5Fget_obj_<foo> API functions. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7056] Purpose:Quincey Koziol2003-06-181-46/+171
| | | | | | | | | | | | More tests Description: Added tests to make certain that failed dataset, group, named datatype and attribute creations clean up the file space they allocated before failing. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7055] Purpose:Quincey Koziol2003-06-182-0/+30
| | | | | | | | | | | | Refactored code Description: Moved duplicated "get_file_size()" function from a couple of tests into a central location. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7054] Purpose:Quincey Koziol2003-06-181-47/+223
| | | | | | | | | | | | | | Improved tests Description: Added test for dangling attributes. Also added code to test with weak, semi & strong file close degrees for all tests. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7038] Purpose:Quincey Koziol2003-06-131-1/+87
| | | | | | | | | | | | | | | | | | Test bug fix Description: The fill time in a dataset with no fill value information created with an older version of the library was getting set to H5D_FILL_TIME_ALLOC instead of the new default H5D_FILL_TIME_IFSET and was causing H5Dcreate() calls with that dataset creation property list to fail now. Solution: Set the new default in the fill time initialization for missing fill value information. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7035] Purpose:Quincey Koziol2003-06-132-1/+1
| | | | | | | | | | | | | | | | | | | | | Driver error Description: The tmtimeo.h5 file was supposed to have been generated from gen_old_mtime.c which was compiled with a pre-1.5.x version of the library, however it appears to have been created with a newer version of the library and did not contain the older form of the mtime object header information that was being tested for. Solution: Run a version of gen_old_mtime that was compiled & linked against an older version of the library to generate the tmtimeo.h5 file. Had to update the modification time used for testing in the mtime.c file also. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7029] Purpose:Quincey Koziol2003-06-123-2/+7
| | | | | | | | | | | | | New feature/Bug fix Description: Add new fill time value - H5D_FILL_TIME_IFSET which writes the fill value to a dataset if the user has defined one, otherwise not writing the fill value to the dataset. Platforms tested: FreeBSD 4.8 (sleipnir) serial & parallel h5committest
* [svn-r7021] Purpose: bug fixRaymond Lu2003-06-102-37/+362
| | | | | | | | Description: H5Tget_native_type fails for multiple kinds of datatype on Cray; it fails fix-length string type, too. Platforms tested: Cray, h5committest
* [svn-r7017] Purpose:Quincey Koziol2003-06-101-54/+101
| | | | | | | | | | | | | | | | Test bug fix Description: Chunked datasets with early space allocation and unlimited dimensions were running into problems where the dataset's "layout" message was marked as constant too early, preventing the dataset's dimensions from being extended. Solution: Change logic for marking the layout message constant to wait a bit longer. Platforms tested: FreeBSD 4.8 (sleipnir) w/parallel h5committest
* [svn-r7001] Purpose:Quincey Koziol2003-06-093-8/+38
| | | | | | | | | | | Code cleanup Description: Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r6962] Purpose:Quincey Koziol2003-06-041-131/+207
| | | | | | | | | | Code cleanup Description: Update dependencies and tracing information Platforms tested: h5committested
* [svn-r6961] Purpose:Quincey Koziol2003-06-043-8/+28
| | | | | | | | | | | | | | | | Bug fix Description: An earlier checkin changed some of the assumptions about single block hyperslabs, causing them to fail in odd ways. Solution: Fix errors with single block hyperslabs by keying off of count==1 instead of stride==1. Platforms tested: FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6957] Purpose:Quincey Koziol2003-06-041-4/+866
| | | | | | | | | | | | | | | | Code cleanup & performance improvements Description: Optimize hyperslabs that are built to detect situations where "regular" hyperslabs can be recovered from span tree descriptions. Also, improve "same shape" routine to correctly work with all the different combinations of selections. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6954] Purpose:Quincey Koziol2003-06-041-9/+9
| | | | | | | | | | | | Code cleanup Description: Wrap macro parameters with parantheses to avoid errors in expanding them. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6951] Purpose:Quincey Koziol2003-06-041-1/+1
| | | | | | | | | | | | Code cleanup Description: Clean up various warnings & comment out unused code. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6950] Purpose:Quincey Koziol2003-06-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | API tweak. Description: The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving the 'start' and 'end' coordinates, which is counter to the rest of the dataspace API. Solution: Change the arrays to be hssize_t instead. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested Misc. update: Updated all docs for this change. Added 1.4 compatibility #ifdef's
* [svn-r6941] Purpose:Quincey Koziol2003-05-312-7/+7
| | | | | | | | | | Code cleanup Description: Clean up older settings for strides of hyperslabs Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6940] Purpose:Quincey Koziol2003-05-311-0/+4
| | | | | | | | | | | Code cleanup Description: Call srand(time(NULL)) before performing tests, to better randomize numbers chosen for testing. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6939] Purpose:Quincey Koziol2003-05-311-0/+2
| | | | | | | | | | | Code cleanup Description: Free malloc'ed buffer of 0 bytes when H5_MALLOC_WORKS is defined, to make purify happier. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6938] Purpose:Quincey Koziol2003-05-311-2/+2
| | | | | | | | | | Code cleanup Description: Remove redundant "Testing" from test output. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6937] Purpose:Quincey Koziol2003-05-311-14/+14
| | | | | | | | | | | | | | Bug fix Description: Failed tests were not being reported correctly to main test routine, so they were not stopping a 'make check' Solution: Changed '1' to '-1' for failures. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6921] Purpose: bug fixRaymond Lu2003-05-281-33/+107
| | | | | | | Description: it didn't handle special platforms like cray well Platforms tested: h5committest
* [svn-r6914] Elena Pourmal2003-05-221-1/+1
| | | | | | | | | | | | | | | | Purpose: Maintenance and bug fixes and test of latest szip library.. Description: Recently Quincey enabled MEDIUM test for istore. That caused daily tests to fail on verbena. It looks like that test creates a pretty big file, and afs write fails. Test passes when run in /tmp. Solution: Disable MEDIUM test and filed bug report to investigate the problem little bit more carefully. Platforms tested: verbena, arabica, arabica-64 (since I also tested newest szip) Misc. update:
* [svn-r6901] Purpose:Albert Cheng2003-05-191-2/+8
| | | | | | | | | | | | | | | | Small feature. Description: Change the wording for the use of HDF5_PARAPREFIX from Remark to hint. Also made process 0 be the only one printing the hint rather all processes duplicating the same hints. Platforms tested: Copper, both serial and parallel. Did not do h5commit test since this is very localized and the above tests covered both cases already. Misc. update:
* [svn-r6899] Purpose:Quincey Koziol2003-05-191-16/+2
| | | | | | | | | | | | Code cleanup Description: Remove debugging information and match bug-fix changes to szip filter code. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest not needed.
* [svn-r6892] Purpose:Quincey Koziol2003-05-172-13/+4
| | | | | | | | | | | Code cleanup Description: Uncomment tests that we previously commented out with my "Uncomment tests!" note. Platforms tested: h5committested
* [svn-r6884] Purpose: bug fixRaymond Lu2003-05-161-16/+16
| | | | | | | | Description: H5Tget_native_type didn't handle special platform like Cray properly. Solution: modify algorithm and test Platforms tested: h5committest
* [svn-r6878] Purpose:Quincey Koziol2003-05-151-1/+3
| | | | | | | | | | | Code cleanup Description: Limit the scope on more function prototypes/macros/typedefs. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest not necessary.
* [svn-r6870] Purpose:Quincey Koziol2003-05-132-3/+309
| | | | | | | | | | | | New test Description: Added test to check for dangling objects being handled correctly by the library. Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r6866] Purpose:Quincey Koziol2003-05-131-3/+3
| | | | | | | | Clean up comments. Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r6861] Purpose:Quincey Koziol2003-05-131-12/+50
| | | | | | | | | | | | | | | | Bug fix Description: Iterating over the attributes of an object without any attributes was returning FAIL instead of 0 as the RM states. Solution: Changed return value of H5Aiterate for objects without attributes to be 0 and added regression tests for this. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest not needed.
* [svn-r6857] Purpose: bug fixRaymond Lu2003-05-131-0/+155
| | | | | | | | | Description: when a datatype element size is bigger than I/O datatype conversion buffer(1MB), library reports failure. Solution: adjust conversion buffer to be at least equal to one element size Platforms tested: h5committest