summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7892] Purpose:Quincey Koziol2003-11-261-1/+1
| | | | | | | | | | | Code cleanup Description: Clean up a compiler warning Platforms tested: Titan (user02) Too minor to require h5committest
* [svn-r7882] Purpose:Quincey Koziol2003-11-251-4/+31
| | | | | | | | | | | | | Bug fix Description: Handle denormalized floating-point values in a more general way that uses a different 'epsilon' for determining if two values are "close enough" Platforms tested: FreeBSD 4.9 (sleipnir) h5committest Pittsburgh Alpha Cluster (lemieux.psc.edu)
* [svn-r7879] Purpose:Quincey Koziol2003-11-251-1/+1
| | | | | | | | | | | | | | | Bug fix Description: C++ compiler was choking on passing a (hsize_t *) to a function which wants a (uint8_t *). Solution: Cast the (hsize_t *) to a (uint8_t *)... :-) Platforms tested: FreeBSD 4.9 (sleipnir) Configuration untested by h5committest
* [svn-r7875] Purpose:Quincey Koziol2003-11-241-84/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Omnibus floating-point bug fix changes Description: There are a number of problems in the floating-point conversion code that were exposed by Ray's recent int<->float checkin: - The 'my_isnan' code in test/dtypes.c was broken and would always return true. The meant that the actual values in the float<->float conversion tests were _never_ checked, hiding the other bugs included in this checkin. - A recent change I made to the type conversion code used "FLT_MIN" instead of "-FLT_MAX" for the most negative 'float' value for the double->float conversion, which meant that any the negative number that was converted from a double to a float would have been mapped to zero, essentially. - A change that Robb appeared to have made ~2.5 years ago to the "generic" float->float conversion routine appears to be incorrect and I've backed it out. - Floating-point conversions on SGI's which converted denormalized values would be mapped to zero instead of being propertly preserved in the new type. This was addressed by an SGI-specific system call to prevent the behavior. Solution: Described above, generally. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest Misc. update: release_docs/RELEASE update forthcoming...
* [svn-r7869] *** empty log message ***Raymond Lu2003-11-212-33/+1145
|
* [svn-r7842] Purpose:Quincey Koziol2003-11-132-11/+293
| | | | | | | | | | | | | | | | | | | Bug fix Description: Variable length strings and sequences with NULL pointers were not handled by library, causing problems access the data. This also affected fill values for variable-length datatypes. Solution: Address the issues in the library by detecting NULL sequences/strings and avoid trying to convert them. Patched up dumper to display NULL sequences/strings. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7829] Purpose:Quincey Koziol2003-11-083-125/+51
| | | | | | | | | | | | | | | | | Bug fix & code cleanup Description: Allowing the library to call malloc with a size of 0 bytes causes problems for some users, so we check for allocations of 0 bytes and disallow them now. Cleaned up some code which could call malloc with 0 size. Changed some code calling HDmalloc directly to call H5MM_malloc(), which allows us to check for 0 sized allocations. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7827] Purpose:Quincey Koziol2003-11-082-0/+12
| | | | | | | | | | | | Bug fix Description: Make --disable-hsizet work properly again by fixing a couple of tests and correcting the definition of SSIZET_MAX. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest not used, as it doesn't test this configuration.
* [svn-r7814] Purpose: bug fixRaymond Lu2003-11-041-1/+1
| | | | | | | | Description: this script file ignored digit numbers higher than single for version number Platforms tested: RH 8(fuss)
* [svn-r7802] *** empty log message ***Raymond Lu2003-10-311-42/+79
|
* [svn-r7786] Purpose:Quincey Koziol2003-10-292-2/+22
| | | | | | | | | | | | Code cleanup & add a feature Description: Added support for querying the file ID of named datatypes to new H5Iget_file_id function. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7784] *** empty log message ***Raymond Lu2003-10-291-0/+105
|
* [svn-r7772] Purpose:Bill Wendling2003-10-281-1/+1
| | | | | | | | | | | | Very trivial fix Description: Removed spaces from file that was causing pmake to issue a warning. Platforms tested: Modi4 Misc. update:
* [svn-r7734] Purpose:Quincey Koziol2003-10-251-2/+143
| | | | | | | | | | | | | | | | | Bug fix Description: Single hyperslab selections (which were set with only one call to H5Sselect_hyperslab) that had dimensions that could be "flattened" but were interspersed with dimensions that could not be flattened were not correctly handled, causing core dumps. Solution: Re-work "flattening" code to handle this case properly. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel h5committest
* [svn-r7700] Purpose:Bill Wendling2003-10-221-27/+38
| | | | | | | | | | | | | | Update Description: Updated to support the FPHDF5 driver. Some formatting changes. Platforms tested: Linux (FPHDF5 specific). Misc. update:
* [svn-r7677] Purpose:Pedro Vicente Nunes2003-10-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | bug fix, update documentation Description: version 8 of Code Warrior has a bug on the open file function that causes one of our tests to fail documented this in the install instructions removed a CW specific header file include , that was left from version 6 from the file testhdf5.c Platforms tested: Code Warrior linux Misc. update:
* [svn-r7626] Purpose:Quincey Koziol2003-10-141-213/+200
| | | | | | | | Update dependencies and tracing information Platforms tested: Linux 2.4 (verbena) w/FORTRAN too minor for h5committest
* [svn-r7616] Purpose:Quincey Koziol2003-10-131-1/+1
| | | | | | | | | | | | | | | Code cleanup Description: Change field member count and indices for compound and enumerated types from 'int' to 'unsigned' to better reflect actual use. Cleaned up a few other minor compiler warnings, etc. Platforms tested: FreeBSD 4.9 (sleipnir) Linux 2.4 (verbena) too minor to require h5committest
* [svn-r7584] Purpose:Quincey Koziol2003-10-091-15/+13
| | | | | | | | | | | | Code cleanup Description: Added line #'s to a bunch of the error printf's, so it's easier to locate where an error occurs. Platforms tested: FreeBSD 4.9 (sleipnir) Cray SV1 (wind)
* [svn-r7582] Purpose:Quincey Koziol2003-10-092-5/+5
| | | | | | | | | | | | | | | | | | Bug fix Description: The tests recently added for checking a file's freespace and verifying the new fields added to the H5G_stat_t structure use H5T_NATIVE_INT as the type for the datasets and attributes they create. Because the tests check explicit file sizes, this causes problems on Crays, where a native int is 64-bit instead of 32-bit. Solution: Change the tests to use H5T_STD_U32LE instead of H5T_NATIVE_INT. Platforms tested: FreeBSD 4.9 (sleipnir) Cray SV1 (wind)
* [svn-r7572] Purpose:Quincey Koziol2003-10-081-9/+32
| | | | | | | | | | | | | | | | | Bug fix Description: When too many messages were inserted into an object header, the library had an internal pointer to the "new message" that was pointing to the incorrect location when the array of messages was re-allocated. In the worst case, this could cause a file to be corrupted. Solution: Update the internal pointer when the array is re-allocated. Platforms tested: FreeBSD 4.9 (sleipnir) Too small to require h5committest
* [svn-r7561] Purpose:Quincey Koziol2003-10-071-0/+113
| | | | | | | | | | | | Feature add Description: Add a few new fields to the H5G_stat_t structure, to allow more information about the object header to be retrieved. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7559] Purpose:Quincey Koziol2003-10-071-0/+85
| | | | | | | | | | | | | | Add feature Description: Add H5Fget_freespace() routine, to check the amount of free space in a file. This information is only valid until the file is closed currently, however (until we start recording the free space information in the file itself). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7539] Purpose:Quincey Koziol2003-10-052-56/+221
| | | | | | | | | | | | | | | | | Bug fixes and code cleanup Description: Re-worked ohdr test to use modification time messages instead of symbol table messages, now that the library correctly tries deleting the local heap and B-trees for the symbol tables (which didn't exist and caused the test to fail). Added tests for using named datatypes in attributes to verify that the reference counts are being tracked correctly, etc. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7527] Purpose:Quincey Koziol2003-09-305-50/+35
| | | | | | | | | | | | Code cleanup Description: Clean up a few loose ends and warnings for the 1.6 compatibility changes to the error API. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7524] *** empty log message ***Raymond Lu2003-09-292-15/+15
|
* [svn-r7523] Purpose: bug fixRaymond Lu2003-09-291-2/+5
| | | | | | | | Description: Standard output of Error API test has some non-standard information Solution: use sed to remove non-standard information Platforms tested: h5committest
* [svn-r7522] *** empty log message ***Raymond Lu2003-09-291-2/+1
|
* [svn-r7520] Purpose: bug fixRaymond Lu2003-09-292-2/+34
| | | | | | | | | Description: add backward compatibility for thread safety Platforms tested: RH 8(fuss) Misc. update:
* [svn-r7513] Purpose: Disable Error API testRaymond Lu2003-09-251-1/+2
| | | | | | | | | | Description: The error test script compares the error messages to the standard output. The file names and line numbers in the messages can be different for users. Solution: Temporarily disable the test until find a good solution. Platforms tested: None. Disabling a test.
* [svn-r7508] Purpose: shell script file to compare error test output with ↵Raymond Lu2003-09-241-0/+100
| | | | standard one.
* [svn-r7507] *** empty log message ***Raymond Lu2003-09-2416-24/+635
|
* [svn-r7490] Purpose:Bill Wendling2003-09-181-1/+17
| | | | | | | | | | | | | | | Update Description: Removed the call to H5HL_peek Platforms tested: Modi4 (paralle, Fortran) Sol (Fortran) Linux (C++, Fortran) Copper (Parallel, Fortran) Misc. update:
* [svn-r7474] Purpose: Add more testRaymond Lu2003-09-151-1/+180
| | | | | | | | Description: test fixed-length strings in two ways: array of strings and array of character. Platforms tested: h5committest
* [svn-r7468] Purpose:Quincey Koziol2003-09-121-17/+72
| | | | | | | | | | | | | | | | | | Code cleanup, etc. Description: Generalize Ray's datatype fixes to handle packing compound datatypes which are the base type of an array or variable-length type, etc. Also track "packedness" of a compound datatype from it's creation, instead of only setting the 'packed' flag after the datatype was explicitly packed. Updated docs to reflect that a compound datatype is allowed to grow (but not shrink). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7462] *** empty log message ***Raymond Lu2003-09-101-10/+136
|
* [svn-r7457] Purpose:Quincey Koziol2003-09-101-0/+60
| | | | | | | | | | | | | | | | | | | | Bug fix. Description: Correct bug where a file opened twice, once with read-write permission and once with read-only permission would cause closing the file with the read-only file ID to fail because it was trying to flush information out of the file. Solution: Check the permissions on file IDs that are being closed and only flush when the particular file ID was opened with write permission. Platforms tested: FreeBSD 4.9 (sleipnir) too small to need h5committest Misc. update:
* [svn-r7441] 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-r7439] Purpose:Quincey Koziol2003-09-031-2/+2
| | | | | | | | | | | | Code cleanup Description: Clear up a couple of minor issues with compiling the library with a C++ compiler. Platforms tested: FreeBSD 4.9 (sleipnir) Too minor to require h5committest
* [svn-r7434] 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-r7426] Purpose:Quincey Koziol2003-08-282-17/+245
| | | | | | | | | | | | | | | | | 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-r7412] Purpose:Quincey Koziol2003-08-261-22/+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-r7391] 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-r7383] 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-r7379] Purpose:Quincey Koziol2003-08-181-0/+7
| | | | | | | | | | | | Code cleanup Description: Changed version #'s returned from H5Pget_version from 'int *' to 'unsigned *' since we are never going to be using negative version #'s... :-) Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
* [svn-r7377] 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-r7362] Purpose:Quincey Koziol2003-08-142-1/+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-r7352] Purpose:Quincey Koziol2003-08-131-1/+61
| | | | | | | Updated dependencies Platforms tested: h5committested
* [svn-r7347] Purpose:Quincey Koziol2003-08-121-2/+0
| | | | | | | | | | | | | | | | Code cleanup & bug fix Description: Clean up code, adding error checking where appropriate Fix a number of routines which were clearing the default error stack before checking some information about that stack. Set the version # of the library correctly when it is registered. Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r7320] Purpose:Quincey Koziol2003-08-085-22/+11
| | | | | | | | | | Refactored code Description: Chase changes for the 'fileno' and 'objno' fields in H5G_stat_t Platforms tested: h5committested