summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13240] Description:Quincey Koziol2007-02-051-61/+5
| | | | | | | | | | More cleanups on the object header message handling code, to make it easier to work with and move forward on the creation order coding. Various other minor cleanups & warning fixes. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13238] A trial fix for the comparison of equality between ↵Raymond Lu2007-02-052-1/+20
| | | | | | floating-point values in hyperslab.c. A few macros are defined in h5test.h to check if the difference between two values is smaller than Epsilon.
* [svn-r13224] Fixed a bug where messages would report their "raw size" as the ↵James Laird2007-01-301-4/+25
| | | | | | | | | | | | | | size of a shared message rather than the full size of the unshared message, which confused some shared message code. Added a test that should make sure that some messages are too small to be written to the deletion test in tsohm.c. Also added a small optimization so that hash values don't need to be calculated on deletes in list indexes. Tested on Windows, smirom, and kagiso.
* [svn-r13223] Description:Quincey Koziol2007-01-303-27/+21
| | | | | | | | | | | | Move datatype messages into new shared message method interface Clean up various formatting & compiler warnings Minor optimizations Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13219] Description:Quincey Koziol2007-01-291-4/+4
| | | | | | | | | | | Move dataspace messages into new shared header message method calling scheme. Minor other cleanups, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13218] Description:Quincey Koziol2007-01-291-1/+3
| | | | | | | | | Add "old" fill value messages to "new" fill value message sharing (and keep them both in the same shared message index). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13217] Description:Quincey Koziol2007-01-291-1/+1
| | | | | | | | | | | Move fill value messages into new shared message method calling scheme. Only update an opened dataset's fill value property if it's different from the default fill value settings. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13215] Added a comment.Raymond Lu2007-01-291-0/+3
|
* [svn-r13207] Added a debug function to dump file sizes during one of the ↵James Laird2007-01-261-1/+27
| | | | | | | | tsohm.c tests. Also cleaned up a warning. Tested on kagiso; changes should only affect debugging.
* [svn-r13181] Added a configure check to prevent a failure on Cygwin.James Laird2007-01-231-1/+1
| | | | | | | | | | | | | | It seems that while Cygwin supports the time command, it has trouble with the syntax srcdir="../../hdf5/test" time ./testhdf5 and complains. The solution is to test the above case in configure and not to use the time command if it fails; Cygwin is fine with srcdir="../../hdf5/test" ./testhdf5 Tested on Cygwin and kagiso. This feature shouldn't be a major compatibility problem since every platform but Cygwin is already fine with the current syntax.
* [svn-r13180] Comment out the whole test when MULTI driver is used. It ↵Raymond Lu2007-01-231-1/+1
| | | | caused some problem on copper. Will enter a bug report for it and leave it for future debugging.
* [svn-r13167] Description:Quincey Koziol2007-01-221-1/+1
| | | | | | | | | | | Get rid of two different types of fill value struct (merge H5O_fill_t and H5O_fill_new_t) and clean up & simplify dataset initialization code. (In preparation for shared object header message method call refactoring). Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13166] Fixed bug in H5Ocopy where shared attributes that were deleted ↵James Laird2007-01-221-0/+1
| | | | | | | | | | | during H5Ocopy would become shared NULL messages (oops!). Added a test for this case. Also fixed the #define that caused errors on Windows (and probably other platforms). This may fix the Daily Test error. Tested on Windows, smirom, kagiso, and juniper.
* [svn-r13155] Description:Quincey Koziol2007-01-191-5/+5
| | | | | | | | | | | | | | Add "set_crt_index" and "get_crt_index" methods for the object header message class. Unify fractal heap definitions for shared messages and attributes, under "object header" fractal heap definitions. Initial code for adding creation order index to object header messages. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13152] Description:Quincey Koziol2007-01-181-61/+118
| | | | | | | | | | | Add anotherdense/shared attribute test. Clean up minor attribute/object header codelets, in preparation for adding creation index to attributes. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13151] Description:Quincey Koziol2007-01-174-90/+89
| | | | | | | | Clean up compiler warnings, esp. on Windows Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13149] Added tests to verify that H5Sselect_valid() returns FAIL when ↵Christian Chilan2007-01-171-3/+23
| | | | dataspace is not valid, or when dataspace is valid but closed.
* [svn-r13148] Added a test to verify that current dataspace dimensions cannot ↵Christian Chilan2007-01-171-0/+15
| | | | be H5S_UNLIMITED.
* [svn-r13145] Fixing warning message.Peter Cao2007-01-171-26/+2
|
* [svn-r13144] Added a test case for VL type of compound type with VL string ↵Raymond Lu2007-01-161-0/+287
| | | | in the field.
* [svn-r13143] Refactoring.James Laird2007-01-161-31/+118
| | | | | | | | | | | | | | Added can_share callback for OH messages. This determines whether the message is allowed to be shared in the heap (committed and immutable datatypes can't be). Fixed a bug in the dense attribute storage that tried to open the shared message heap when it hadn't been created yet. Made the test to extend shared dataspace messages a bit more robust. Refactored the code the searches a shared message list index to be a little more efficient. A few other minor changes. Tested on smirom, kagiso, Windows, and juniper.
* [svn-r13139] Fixed the MULTI problem (Bug #731) that corrupted the data. ↵Raymond Lu2007-01-122-7/+56
| | | | | | | The problem came from the EOA for the whole MULTI file. It's taken out because it's meaningless for MULTI file. Instead, each individual file has its EOA.
* [svn-r13135] Continuing code cleanup.James Laird2007-01-111-1/+167
| | | | | | | | | Moved SOHM table version out of table encoding and completely into superblock. This is a file format change. Added test that extends shared dataspaces. Dynamically allocate arrays in shared message cache code. Clean up comments. Tested on windows, kagiso, smirom.
* [svn-r13130] Description:Quincey Koziol2007-01-101-62/+142
| | | | | | | | | Further tests & bugfixes for shared/committed components of shared/un- shared attributes using dense/compact storage. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.1 (duty)
* [svn-r13128] Description:Quincey Koziol2007-01-091-141/+329
| | | | | | | | | | More progress on address bugs in combinations of shared/committed/unshared components of shared/unshared attributes in compact/dense storage. (Yes, there are a lot of combinations. :-) Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13126] More cleanup. Shared messages now use in-heap callbacks when ↵James Laird2007-01-091-2/+1
| | | | | | | | searching for a matching message, which should improve performance. Tested on Windows, kagiso, and smirom.
* [svn-r13123] Description:Quincey Koziol2007-01-091-348/+446
| | | | | | | | | | | Fix object header message code to respect the "do not share" flag, so that committed datatypes used in attributes are handled properly. Add more tests for atttributes, checking that they handle shared attributes in compact & dense storage w/committed datatypes. Tested on: FreeBSD/32 6.1 (duty)
* [svn-r13122] Description:Quincey Koziol2007-01-081-204/+332
| | | | | | | | | | Add more tests for attributes with shared components. Close memory leak in shared message table loading. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13121] Description:Quincey Koziol2007-01-081-3/+4
| | | | | | | | | | Add support & tests for using shared datatypes with shared & un-shared attributes. Involves some fairly icky code to make the "copy on write" paradigm for shared attributes work. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13120] Description:Quincey Koziol2007-01-081-83/+684
| | | | | | | | | | | | | | | | Add support for deleting deleting dense storage when no compact storage will be used. Change shared message's "get heap address" routine to return address in parameter instead of return value, to allow better error detection. Start writing tests for shared attributes which use shared components (datatypes or dataspaces) Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.1 (duty)
* [svn-r13119] More code cleanup. Made shared messages zero-indexed instead ofJames Laird2007-01-083-66/+61
| | | | | | one-indexed. Changed the names of some constants to be more consistent. Tested on juniper, smirom, and copper.
* [svn-r13117] Description:Quincey Koziol2007-01-071-10/+10
| | | | | | | Clean up some warnings from Windows. Tested on: FreeBSD/32 6.1 (duty)
* [svn-r13116] Description:Quincey Koziol2007-01-061-14/+313
| | | | | | | | | | | | Add support for deleting all the attributes on an object, when they are dense and possibly shared. Also, add some testing routines, for better error detection. Should fix daily test failures also... Tested on: FreeBSD/32 6.1 (duty)
* [svn-r13115] Description:Quincey Koziol2007-01-061-0/+156
| | | | | | | | Allow a heap to be marked for deletion while it is still open and being accessed. (Blocks further opens though). Tested on: FreeBSD/32 6.1 (duty)
* [svn-r13113] Refactoring. Cleaned up code, added a few sanity checks.James Laird2007-01-055-15/+3
| | | | | | Extracted duplicated code into functions. Tested on Windows, juniper, and kagiso. Will test on copper next.
* [svn-r13108] Cleaned up some warnings.James Laird2007-01-052-27/+41
| | | | | Tested on kagiso; I have another checkin coming, after which I'll run more extensive tests. Changes are pretty minor.
* [svn-r13107] Fixed shared message indexes to clean themselves up when ↵James Laird2007-01-041-0/+162
| | | | | | | | | | | they're deleted. Creating shared messages and then deleting them should return the file to its original state. Added a test for this. Tested on Windows, smirom, and kagiso.
* [svn-r13104] Description:Quincey Koziol2007-01-031-7/+238
| | | | | | | | | Add support for renaming compact & dense/shared & non-shared attributes in all cases. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13102] Found a bug: shared message list sizes above the maximum were ↵James Laird2007-01-031-12/+32
| | | | | | | | | | | not caught. Fixed bug and a related one where the number of indexes could be set above the maximum. Added tests for both bugs. Tested on kagiso and smirom.
* [svn-r13100] Description:Quincey Koziol2007-01-031-10/+0
| | | | | | | | Fix bug which could possibly corrupt file data if an attribute was renamed to a longer name. Tested on: FreeBSD/32 6.1 (duty)
* [svn-r13098] Description:Quincey Koziol2007-01-021-9/+182
| | | | | | | Checkpoint changes for bug fix, to shift coding to another machine. Tested on: Linux/64 2.6 (chicago2)
* [svn-r13096] Description:Quincey Koziol2007-01-021-68/+16
| | | | | | | | Fix updating values of shared attributes in dense storage & add test. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13095] Description:Quincey Koziol2007-01-021-6/+51
| | | | | | | | | Minor edits on the way to testing writing to shared attributes in dense storage. Tested on: Mac OS X/32 10.4.8 (amazon) Too minor to require h5committest
* [svn-r13087] Added a small test to check that SOHMs work fine when using ↵James Laird2006-12-221-3/+110
| | | | | | external links. They do. Tested on smirom, kagiso, and Windows.
* [svn-r13086] Added deletion test for shared messages. I'm not sure that ↵James Laird2006-12-221-1/+323
| | | | | | | | | | | this test is as complete as it could be, so I may add to it later. Fixed a bug in reference counting messages that are referenced by shared messages (attribute datatypes and dataspaces). Tested on mir, smirom, and Windows.
* [svn-r13085] Yesterday's checkin wasn't a complete fix for copying filters ↵James Laird2006-12-211-7/+53
| | | | | | | | in DCPLs. Extended the test so it broke again and then fixed it again. Tested on kagiso.
* [svn-r13084] Fixed a bug that occurrs when copying DCPLs with filters that ↵James Laird2006-12-201-0/+43
| | | | | | | | | | have filter data. Added a regression test for this bug. Tested on kagiso.
* [svn-r13083] Description:Elena Pourmal2006-12-201-8/+7
| | | | | | | | | | VMS maintenance: updated command file with the new source files; sohm test was failing on VMS due to upper case/lower case letters in constant and variable names (i.e. FILENAME vs. filename); modified the test to avoid confusion. Platforms tested: VMS server, kagiso
* [svn-r13079] Description:Quincey Koziol2006-12-191-18/+183
| | | | | | | | | | | | | | | | | | Add more tests for checking that writing to shared attributes works correctly. (Looks like it still has a bug when dense storage is used, which I'll correct shortly). Add testing routine to shared message code, to retrieve reference count for a shared message. Add fractal heap 'op' callback for efficiently computing the hash value of an existing encoded message in the shared message fractal heap. Various minor cleanups and warning placations. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13074] Description:Quincey Koziol2006-12-192-21/+77
| | | | | | | | | | | | | | | | | Add support for opening attributes in dense and/or shared storage by index. Move routines for building and operating on tables of attributes into separate source module. Fix bug where reverting from "dense" to "compact" storage would 'unshare' attributes. Minor code cleanups, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)