summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r4869] Purpose:Quincey Koziol2002-01-272-7/+181
| | | | | | | | Add regression tests Description: Added regression test for using a VL-datatype in two separate files. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r4851] Purpose:Quincey Koziol2002-01-235-9/+160
| | | | | | | | | | | | | | | | | | Bug Fix Description: When file space was returned to the file space free-list for reuse, occasionally raw data allocations which used space from the free-list would overlap with the metadata accumulator and get over-written with the cached information in the accumulator, corrupting the data. Solution: Check if the space about to be recycled on the free-list is going to be used for raw data and also overlaps with the metadata accumulator cache, avoiding using space that fits those criteria. This fixes bug #701 Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r4773] Purpose:Quincey Koziol2002-01-041-0/+124
| | | | | | | | | | Regression test Description: Added regression test which stores variable length strings as an attribute. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r4757] Purpose:Albert Cheng2001-12-304-515/+72
| | | | | | | | | | | | | | | | | | Removing the DPSS (gridstorage) driver source code. Description: The DPSS (using Grid-Storage) driver is retired. Removed the configure option with-gridstorage from configure.in. Cvs remove the following files ./src/H5FDdpss.c ./src/H5FDdpss.h ./test/dpss_read.c ./test/dpss_write.c Regenerated Dependencies files (some had to be hand-edited since 'make depend' did not cover them.) Removed reference to DPSS Virtual file driver from H5F.c. Platforms tested: modi4 (Parallel; -with-gass=...), eirene, arabica (fortran, cxx).
* [svn-r4747] Purpose:Quincey Koziol2001-12-201-3/+30
| | | | | | | | | | | | | | Bug Fix. Description: The H5Rget_object_type function could not get the object type for dataset region references. Solution: Added a new function, H5Rget_obj_type, to replace H5Rget_object_type. The new function requires the reference type as an additional parameter, in order to allow queries on different reference types to be performed correctly. Platforms tested: FreeBSD 4.4. (sleipnir)
* [svn-r4737] Purpose:Quincey Koziol2001-12-181-4/+119
| | | | | | | | | Bug Fix Description: Added regression test for proper library behavior when adding fields past the end of a datatype. Platforms Tested: FreeBSD 4.4 (sleipnir)
* [svn-r4706] Purpose:Quincey Koziol2001-12-122-3/+5
| | | | | | | | | | | | Code cleanup Description: Tweaked internal error handling macros to reduce the size of the library's object code by about 10-20%. Also cleaned up some compiler warnings... Platforms tested: FreeBSD 4.4 (sleipnir)
* [svn-r4696] Raymond Lu2001-12-112-2/+493
| | | | | | | | | | | | | | | | | Purpose: Modify H5Fclose behavior Description: The HDF5 actual file close behaves in several ways in terms of if there are still objects(dataset, group, datatype) opened in file. Solution: Added a new file access property, file close degree. It has four values, H5F_CLOSE_DEFAULT H5F_CLOSE_WEAK H5F_CLOSE_SEMI H5F_CLOSE_STRONG The way a file is closed is decided by these values. Platforms tested: IRIX64 6.5, SunOS 5.6, FreeBSD 4.4
* [svn-r4693] Purpose:Quincey Koziol2001-12-111-0/+97
| | | | | | | | | | | | | | | | | | | | Bug Fix Description: The code in H5Sselect_hyperslab_valid contained an fencepost error and is allowing selections which overlap the extent by exactly one element in any dimension to pass as valid instead of flagging the selection as invalid. This bug only affects hyperslabs which have been OR'ed together, not the selection from a single H5Sselect_hyperslab. This fixes bug #550. Solution: Changed an '>' to an '>=' and added new regression test to check for error. Platforms tested: FreeBSD 4.4 (sleipnir)
* [svn-r4680] Purpose:Quincey Koziol2001-12-061-0/+2
| | | | | | | | | | | | | Code cleanup Description: Property that H5P(g|s)et_hyper_cache uses is no longer in use inside the library. Solution: Removed H5P(g|s)et_hyper_cache API functions, except when backward compatibility is turned on. When backward compatibility is turned on, the property is defined by the library, but unused internally. Platforms tested: FreeBSD 4.4 (sleipnir)
* [svn-r4673] Purpose:Quincey Koziol2001-12-051-0/+13
| | | | | | | | | | | | | | Backward Compatibility Fix Description: H5Pset_fapl_log's parameters have changed from a simple "verbosity" level to bit-masked flags to enable various behaviors. Solution: Added in v1.4 compat stuff, on the unlikely chance that others are actually using this code in some production way. There are no C++ or FORTRAN wrappers for this call. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4670] Purpose:Quincey Koziol2001-12-051-0/+8
| | | | | | | | | | | | | | | | Backward Compatibility Fix Description: One of H5P[gs]et_sym_k's parameters changed between v1.4 and the development branch. Solution: Added v1.4 compat stuff around H5P[gs]et_sym_k implementation and testing to allow v1.4.x users to continue to use their source code without modification. These changes are for everything except the FORTRAN wrappers - I spoke with Elena and she will make the FORTRAN wrapper changes. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4669] Purpose:Quincey Koziol2001-12-051-0/+4
| | | | | | | | | | | | | | | | Backward Compatibility Fix Description: One of H5P[gs]et_cache's parameters changed between v1.4 and the development branch. Solution: Added v1.4 compat stuff around H5P[gs]et_cache implementation and testing to allow v1.4.x users to continue to use their source code without modification. These changes are for everything except the FORTRAN wrappers - I spoke with Elena and she will make the FORTRAN wrapper changes. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4665] Purpose:Quincey Koziol2001-12-031-3/+3
| | | | | | | | | Code cleanup Description: Changed the logging file driver to use bitmasked flags for features to enable, instead of using a verbosity level. Platforms tested: Solaris 2.6 (baldric)
* [svn-r4643] Purpose:Quincey Koziol2001-11-2713-38/+37
| | | | | | | | | | | | | | | | | | | | | | Code cleanup Description: Windows is generating hundreds of warnings from some of the practices in the library. Mostly, they are because size_t is 32-bit and hsize_t is 64-bit on Windows and we were carelessly casting the larger values down to the smaller ones without checking for overflow. Also, some other small code cleanups,etc. Solution: Re-worked some algorithms to eliminate the casts and also added more overflow checking for assignments and function parameters which needed casts. Kent did most of the work, I just went over his changes and fit them into the the library code a bit better. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4614] Purpose:Quincey Koziol2001-11-202-2/+1
| | | | | | | | Code cleanup Description: Corrected header files needed. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4589] Purpose:Quincey Koziol2001-11-031-2/+4
| | | | | | | | Code cleanup Description: Clean up various compiler warnings from generic property updates. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4587] Purpose:Quincey Koziol2001-11-021-17/+573
| | | | | | | | Code speedups, etc. Description: Add tests for new hyperslab API functions (currently ifdef'd out) Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4585] Raymond Lu2001-11-021-47/+47
| | | | | | | | | Purpose: Switch from old property list to new generic property list. Description: Switch API function for the new generic property list. Platforms tested: IRIX64 6.5, FreeBSD, SunOS 5.7.
* [svn-r4569] Raymond Lu2001-10-241-2/+2
| | | | | | | | | Purpose: Generic Property List Change Description: Changed file access list to the new generic list. Platforms tested: IRIX64, SunOS5.7, FreeBSD
* [svn-r4568] Purpose:Quincey Koziol2001-10-231-2/+2
| | | | | | | | | | | | | | | | | Code cleanup Description: I had moved an fclose() in my earlier fix and it could lead to a resource leak in certain error conditions. Also, prepared file for Albert to expand to test with files larger than 2GB... :-) Solution: Moved fclose() call back to original position. Put in type cast for FAMILY_SIZE macro. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4564] Purpose:Quincey Koziol2001-10-231-2/+3
| | | | | | | | | | | | Bug fix Description: 'big' test was not detecting that the AFS quota had been hit when running under FreeBSD. Solution: Amending quota checking code to detect errors on file closes as well as opens, seeks and writes. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4544] Raymond Lu2001-10-151-3/+3
| | | | | | | | Purpose: Changed the file creation property list to the new generic property list. Modified for new file creation property list. Platform tested: IRIX64, SunOS5.7, FreeBSD
* [svn-r4528] Purpose:HDF Rational2001-10-051-2/+2
| | | | | | | | | | | Code cleanup Description: Purify detected an uninitialized memory read in test data. Solution: Corrected parameters for initializing data array so entire array is initialized. Platforms tested: Solaris 2.7 (arabica)
* [svn-r4527] Purpose:HDF Rational2001-10-051-2/+11
| | | | | | | | | | Code cleanup Description: Purify detected some resource leaks in the tests. Solution: Released memory and property lists properly. Platforms tested: Solaris 2.7 (arabica)
* [svn-r4526] Purpose:HDF Rational2001-10-051-0/+5
| | | | | | | | | | Code cleanup Description: Purify detected uninitialized memory being read. Solution: Initialization array before writing to disk. Platforms tested: Solaris 2.7 (arabica)
* [svn-r4524] MuQun Yang2001-10-051-7/+1
| | | | | | | | | | | | Purpose: refix tconfig.c Description: Follow Robb's reminder, long_long is used to define __int64 in windows and long long for other platforms at H5private.h. Solution: just change vrfy_ctype(long long....) into vrfy(long_long,.....) in the tconfig.c. Delete the previous macro. Platforms tested: windows 2000, linux
* [svn-r4522] MuQun Yang2001-10-051-0/+6
| | | | | | | | | | | | | Purpose: bug fixed Description: Windows doesn't recognize long long. Instead it uses __int64. So add a macro like #ifdef HAVE____int64 for windows-like platforms. Solution: see above Platforms tested: eirene
* [svn-r4517] Raymond Lu2001-10-034-13/+26
| | | | | | | | Purpose: Changed to the new generic property list for dataset creation property list. Platforms tested: Arabica, modi4 and Hawkwind
* [svn-r4509] Purpose:Quincey Koziol2001-10-021-0/+91
| | | | | | | | | | | | | Test bug fix. Description: When reading or writing to chunked datasets and the data needed datatype conversion, and the amount of data was more than one conversion buffer, data in the conversion buffer was getting corrupted. Solution: Corrected error in advancing buffer pointer where it was being advanced by the number of elements instead of the number of bytes. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4482] Purpose:Quincey Koziol2001-09-266-25/+25
| | | | | | | | | | | | | | | | | | | | | | Kludge Description: Since we're only about halfway through converting the internal use of property lists from the "old way" to the generic property lists, we turned off snapshots to avoid exposing lots of API changes to users, until the APIs settled down. Getting the snapshots rolling again seems to have become a priority, so some changes are going to have to be made now that were going to be postponed until we were completely finished with the conversion. This requires that the old API functions be able to deal with both the old and new property lists smoothly. Solution: Kludge together the property list code so that they can transparently handle dealing with both the old and new property lists Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4474] Purpose:Albert Cheng2001-09-264-5/+191
| | | | | | | | | | | | New feature. Description: Added a test to verify the correctness of information provided by configure in H5config.h. Some information, such as SIZEOF some types can be hardcoded by config/<machine>. This test verified the information is indeed correct. Currenly, only size of C language types are verified. Platforms tested: Eirene, regular, arabica.
* [svn-r4473] Purpose:Quincey Koziol2001-09-254-22/+28
| | | | | | | | | | | | | | | | | | | | | Code cleanup for better compatibility with C++ compilers Description: C++ compilers are choking on our C code, for various reasons: we used our UNUSED macro incorrectly when referring to pointer types we used various C++ keywords as variables, etc. we incremented enum's with the ++ operator. Solution: Changed variables, etc.to avoid C++ keywords (new, class, typename, typeid, template) Fixed usage of UNUSED macro from this: char UNUSED *c to this: char * UNUSED c Switched the enums from x++ to x=x+1 Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4464] Bill Wendling2001-09-181-3/+3
| | | | | | | | | | | Purpose: Bug Fix Description: The error codes checked for were hardcoded into the program. Solution: Used the "enum" names instead. Platforms tested: Linux
* [svn-r4419] Bill Wendling2001-09-041-13/+19
| | | | | | | | | | | | | | Purpose: Bug Fix Description: The table of error messages was updated in H5E.c. The change wasn't reflected in this test because, sadly, we use hardcoded numerical values for the "error" we want to check for and not the symbols. Solution: Bumped up the error number from 32 to 34 to coincide with the error we expect. Platforms tested: Linux
* [svn-r4364] Purpose:Albert Cheng2001-08-165-1592/+6
| | | | | | | | cleanup Description: chunk, iopipe, overhead have been moved to perform/. Platforms tested: eirene(parallel).
* [svn-r4355] Purpose:Quincey Koziol2001-08-1412-90/+90
| | | | | | | | | | | | | | | | | | | | | | Code cleanup (sorta) Description: When the first versions of the HDF5 library were designed, I remembered vividly the difficulties of porting code from a 32-bit platform to a 16-bit platform and asked that people use intn & uintn instead of int & unsigned int, respectively. However, in hindsight, this was overkill and unnecessary since we weren't going to be porting the HDF5 library to 16-bit architectures. Currently, the extra uintn & intn typedefs are causing problems for users who'd like to include both the HDF5 and HDF4 header files in one source module (like Kent's h4toh5 library). Solution: Changed the uintn & intn's to unsigned and int's respectively. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4326] Purpose:Quincey Koziol2001-08-101-1/+1
| | | | | | | | | | Code cleanups, mostly.. Description: Work on pacifying the SGI compiler to get the generic properties working correctly with --enable-parallel and --enable-fortran. It's not quite fixed yet, but I need to head home and these patches help... :-/ Platforms tested: IRIX64 6.5 (modi4)
* [svn-r4324] Purpose:Quincey Koziol2001-08-108-78/+141
| | | | | | | | | | | | | | | | | | | | | | | | New Features! Description: Start migrating the internal use of property lists in the library from the older implementation to the new generic property lists. Currently, only the dataset transfer property lists are migrated to the new architecture, all the rest of the property list types are still using the older architecture. Also, the backward compatibility features are not implemented yet, so applications which use dataset transfer properties may need to make the following changes: H5Pcreate(H5P_DATASET_XFER) -> H5Pcreate_list(H5P_DATASET_XFER_NEW) and H5Pclose(<a dataset transfer property list>) -> H5Pclose_list(id) This still may have some bugs in it, especially with Fortran, but I should be wrapping up those later today. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4312] Purpose:Quincey Koziol2001-08-064-214/+0
| | | | | | | | | Feature shift Description: Take out the v1.2.x compatibility stubs and put in the hooks for v1.4.x compatibility when needed. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4292] Bill Wendling2001-08-011-0/+35
| | | | | | | | | | | | | | | | Purpose: Bug Fix Description: The way we were generating Dependencies and .depend files was broken. If the $srcdir or other macros began with a ".", then it would match anything and cause problems since it would then overwrite the beginning of the header file's path. Solution: Wrote a Perl script which can handle this type of weirdness better. It's only used when the environment is a GNU one with a GCC compiler... Platforms tested: Linux
* [svn-r4281] Purpose:Quincey Koziol2001-07-302-7/+237
| | | | | | | | Additional test Description: Added metadata cache abuser code to the 'timings' target in the tests. Platforms Tested: FreeBSD 4.3 (hawkwind)
* [svn-r4181] Purpose:Quincey Koziol2001-07-102-6/+12
| | | | | | | | | Bug Fix, Code Cleanup, Code Optimization, etc. Description: Fold in the hyperslab speedups, clean up compile warnings and change a few things from using 'unsigned' or 'hsize_t' to use 'size_t' instead. Platforms tested: FreeBSD 4.3 (hawkwind), Solaris 2.7 (arabica), Irix64 6.5 (modi4)
* [svn-r4180] Purpose:Quincey Koziol2001-07-101-1/+54
| | | | | | | | Documentation Description: Accommodate v1.2.x behavior when --enable-hdf5v1_2 is enabled. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4099] Pedro Vicente Nunes2001-07-031-10/+22
| | | | | | | | | | | Purpose: Code Cleanup Description: Updating CodeWarrior Port Solution: Move around some Windows and Metroworks ifdefs, etc. Platforms tested: Solaris 2.7 (arabica) Linux 2.2 (eirene)
* [svn-r4091] Thomas Radke2001-07-021-29/+116
| | | | | | | | | | | | | | | | | | | | | | | Purpose: Use port hunting to test the Stream VFD Description: The stream driver is tested by streaming data between two different processes on the local machine on a given default port. If this port is already is use, port hunting should find the next available port to use. The hostname/port information which is actually used by the sender is written to a temporary file which is then read by the receiver process to connect to the sender's port. For the purpose of testing I switched back the default port to use from 10007 to 5678 which is at least already used by another service on modi4. Platforms tested: x86 Linux, Irix 32/64 bit (modi4), Dec Alpha, Unicos on T3E, Hitachi SR8000, AIX on SP2
* [svn-r4088] Purpose:Quincey Koziol2001-06-291-10/+2
| | | | | | | | | | | | Code cleanup Description: Recent CodeWarrior patches have broken the Unix builds and moved code around in non-portable ways. Solution: Patched things back up to try to accomodate CodeWarrior and still let the Unix builds work correctly. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4083] Pedro Vicente Nunes2001-06-292-4/+7
| | | | | | | | | | | | | | code warrior support and some clean up the macros file_seek and file_offset_t that were repeated over sevral files were put only in H5private.h H5private .h was updated for win32 vthe Description: Solution: Platforms tested:
* [svn-r4069] Purpose:Quincey Koziol2001-06-221-6/+3
| | | | | | Code cleanup... Description: Took out Windows ifdef and switched back to just using HDmkdir
* [svn-r4047] MuQun Yang2001-06-212-5/+12
| | | | | | | | | | | Purpose: bug fix for windows Description: adding various windows macros Solution: see above Platforms tested: windows 2000, confirmed on linux.