summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [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)
* [svn-r13073] Description:Quincey Koziol2006-12-181-0/+6
| | | | | | | | Verify H5Aget_num_attrs() works correctly for new object header format. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13072] Description:Quincey Koziol2006-12-181-5/+22
| | | | | | | | | Push support for shared attributes into more dark corners of the "dense" attribute storage support. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13067] Description:Quincey Koziol2006-12-181-0/+229
| | | | | | | | | | | | | | Add [quite] limited ability to update (ie. write) data for objects in fractal heap. Limited to just updating objects in managed heap blocks (i.e. not 'tiny' or 'huge' objects) and must be updated with data of the same length as the object in the heap. Updating objects in compressed heaps does work though [as long as the data isn't 'tiny' or 'huge']. Needed for changing the data value or the name of an attribute that is stored in dense or shared storage. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13065] Added support for copying shared messages (including turning ↵James Laird2006-12-151-183/+222
| | | | | | | | | | | | unshared messages to shared messages and vice versa). Extended objcopy test to test all "permutations" of shared/unshared and new/old group format. If this proves to take a long time to test, I'll go back and have it run fewer tests when HDF5_TEST_EXPRESS is enabled. Tested on smirom, kagiso, copper, and Windows.
* [svn-r13062] Albert Cheng2006-12-141-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: Test failed when core and multi VFD is used. SOlution: Failure was because the test file was created with the specified VFD access property but later reopened by default access. That won't work for VFDs such as multi that produced files that are incompatible with the default sec2 file driver. Fixed it by using the same VFD access property when it reopens the same test file. However, it still fails for the core VFD which does not create any real file. It is meaningless to try to reopen its file. Fixed it by adding core to the incompatible list of VFDs so that it would skip the test. Split is already coded as incompatible VFD but I don't understand why it is incompatible in this case. Removed it from the incompatible list. Tested Platforms: Copper in which the daily test failed.
* [svn-r13048] Description:Quincey Koziol2006-12-121-8/+45
| | | | | | | | | | | | Set up tests for next phase of testing dense attribute operations, with shared attributes. Other minor code cleanups... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13047] Description:Quincey Koziol2006-12-121-1/+5
| | | | | | | | | | | | | | Add "attribute exists" internal routine to make verifying that an attribute with the same name doesn't already exist easier. Tweak "trace" script to produce more whitespace in H5TRACE macros, in order to make them easier to read. Minor other whitespace cleanups Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13045] Description:Quincey Koziol2006-12-122-99/+201
| | | | | | | | | | | | | | Switch from using H5L_index_t/H5L_INDEX_<foo> to H5_index_t/H5_INDEX_<foo> in order to accommodate indices on aspects of attributes as well as links. Add basic support for deleting attributes in dense storage (needs more support/tests for shared attributes in dense storage still). Misc. cleanups, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13041] Description:Quincey Koziol2006-12-111-6/+128
| | | | | | | | | | | Migrate "internalish" attribute operations into new source code file. Add test & basic support for opening attributes in dense storage (shared attributes not tested or supported yet). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13034] Description:Quincey Koziol2006-12-082-4/+3
| | | | | | | | Take out separate memory type in the file for SOHM objects and create aliases for existing memory types for SOHM use. Tested on: FreeBSD/32 4.11 (sleipnir)
* [svn-r13028] Description:Quincey Koziol2006-12-062-5/+135
| | | | | | | | | | | | | | | | | Add first pass of "dense" attribute storage to objects. Lots of parts of this are stubbed out, but all the tests are passing and I'll work on the corner cases soon. Eliminated several unused parameters from object header message callback routines. Other, miscellaneous code cleanups, etc. (and probably some things I've forgotten about... :-) Tested on: FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) AIX/32 5.? (copper)
* [svn-r13016] Description:Quincey Koziol2006-12-041-2/+2
| | | | | | | | | | | Finish moving object header message routines into their own source code module, along with renaming them to have "H5O_msg_" prefix... Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) AIX/32 5.? (copper)
* [svn-r13015] Description:Quincey Koziol2006-12-042-18/+18
| | | | | | | | | | | Migrate more object header routines to use the H5O_msg_ prefix and put them into the src/H5Omessage.c code module. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) AIX/32 5.? (copper)