summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13176] Description:Quincey Koziol2007-01-2323-172/+171
| | | | | | | | Push code further toward shared message method calling refactor. Tested on: FreeBSD/32 6.2 (duty) Too minor to require h5committest
* [svn-r13175] Description:Quincey Koziol2007-01-223-9/+38
| | | | | | | | Checkpoint more progress on refactoring the shared message code. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13174] Description:Quincey Koziol2007-01-221-0/+2
| | | | | | | | | Comment out adding "old" fill values to "new" fill values until we can figure out why the tests fail on 64-bit machines. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13173] Description:Quincey Koziol2007-01-224-47/+370
| | | | | | | | | Checkpoint more progress toward implementing shared message "interface" methods for message classes that can have messages shared. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13172] Description:Quincey Koziol2007-01-221-8/+3
| | | | | | | | | | | Add "old" fill value messages to "new" style fill value messages when "FILL" flag is enabled for shared messages. Minor code cleanups Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13171] Description:Quincey Koziol2007-01-222-2/+2
| | | | | | | | Add "const" to a parameter that can allow it. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13170] Corrected Windows-style newlines. I'd been a bit sloppy on ↵James Laird2007-01-221-31/+31
| | | | | | earlier checkins, although this doesn't confuse SVN as much as it confused CVS.
* [svn-r13167] Description:Quincey Koziol2007-01-2214-1619/+1282
| | | | | | | | | | | 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-222-2/+4
| | | | | | | | | | | 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-r13159] Added h5debug support for shared message structures.James Laird2007-01-197-7/+179
| | | | | Tests run on juniper, kagiso, smirom. h5debug run manually on sample files on Windows, juniper, and kagiso.
* [svn-r13158] Description:Quincey Koziol2007-01-191-0/+18
| | | | | | | | | Checkpoint work on the shared header message refactor while I fix fill value handling. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13157] Description:Quincey Koziol2007-01-191-2/+2
| | | | | | | | Revert change to H5O_fill_new_t, at least until I straight it out more... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13156] Description:Quincey Koziol2007-01-197-20/+382
| | | | | | | | | Begin refactoring code to straighten out the contorted code that handles shared messages. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13155] Description:Quincey Koziol2007-01-1935-381/+507
| | | | | | | | | | | | | | 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-r13153] Added checksum to superblock and driver info block (in latest ↵James Laird2007-01-184-108/+185
| | | | | | | | | | | version of superblock). Tried to standardize sizes and added #defines to H5Fpkg.h so that hopefully the code is a little easier to read. Of course this is a file format change. Tested on Windows, juniper, smirom, kagiso.
* [svn-r13152] Description:Quincey Koziol2007-01-186-19/+30
| | | | | | | | | | | 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-r13147] Changed error return value of H5Sselect_valid() from 0 to FAIL.Christian Chilan2007-01-171-2/+4
|
* [svn-r13146] Verifies that current dataspace dimensions are not equal to ↵Christian Chilan2007-01-171-1/+10
| | | | | | H5S_UNLIMITED. Checks performed in H5Screate_simple() and H5Sset_extent_simple().
* [svn-r13143] Refactoring.James Laird2007-01-1624-96/+226
| | | | | | | | | | | | | | 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-1216-118/+282
| | | | | | | 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-r13138] Description:Quincey Koziol2007-01-121-9/+9
| | | | | | | | | | | | | Auto-detect the support for the posix_memalign routine and disable the direct I/O VFD if posix_memalign is not supported. This should allow direct I/O to be auto-detected and disabled on FreeBSD. (Direct I/O itself works fine, but doesn't have the alignment requirements on FreeBSD that it has on Linux, so the code would have to be re-worked to not use posix_memalign and we don't need to support that right now). Tested on: FreeBSD/32 6.1 (duty) Linux/32 2.4 (kagiso)
* [svn-r13135] Continuing code cleanup.James Laird2007-01-1111-145/+125
| | | | | | | | | 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-107-40/+50
| | | | | | | | | 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-r13129] More refactoring. Moved index versions to the index header, so ↵James Laird2007-01-097-45/+29
| | | | | | | | that an index can be read all at once. This changes the file format! Tested on Windows, kagiso, and smirom.
* [svn-r13128] Description:Quincey Koziol2007-01-098-19/+18
| | | | | | | | | | 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-r13127] Refactoring. Cleaned up some buggy code when searching for ↵James Laird2007-01-093-53/+72
| | | | | | | | messages in B-trees. Tested on Windows, smirom, and kagiso.
* [svn-r13126] More cleanup. Shared messages now use in-heap callbacks when ↵James Laird2007-01-094-55/+90
| | | | | | | | searching for a matching message, which should improve performance. Tested on Windows, kagiso, and smirom.
* [svn-r13125] Description:Quincey Koziol2007-01-091-2/+4
| | | | | | | Add extra protection for sanity checks, when assertions are enabled. Tested on: Linux/32 2.6 (chicago)
* [svn-r13123] Description:Quincey Koziol2007-01-092-12/+16
| | | | | | | | | | | 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-082-5/+8
| | | | | | | | | | 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-0812-184/+247
| | | | | | | | | | 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-085-73/+78
| | | | | | | | | | | | | | | | 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-088-65/+45
| | | | | | one-indexed. Changed the names of some constants to be more consistent. Tested on juniper, smirom, and copper.
* [svn-r13117] Description:Quincey Koziol2007-01-072-6/+6
| | | | | | | Clean up some warnings from Windows. Tested on: FreeBSD/32 6.1 (duty)
* [svn-r13116] Description:Quincey Koziol2007-01-0611-104/+357
| | | | | | | | | | | | 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-064-67/+157
| | | | | | | | 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-057-149/+262
| | | | | | 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-73/+1
| | | | | 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-5/+51
| | | | | | | | | | | 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-r13105] Fixed a bug where buffer size didn't change when #defined ↵James Laird2007-01-031-2/+5
| | | | | | constants changed. Committing from Windows using Tortoise SVN. Cool!
* [svn-r13104] Description:Quincey Koziol2007-01-037-115/+205
| | | | | | | | | 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-r13103] Description:Quincey Koziol2007-01-031-1/+1
| | | | | | | | | Bump table buf size to reflect current reality (and avoid smashing the stack :-) 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-038-34/+36
| | | | | | | | | | | 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-r13101] Description:Quincey Koziol2007-01-031-16/+42
| | | | | | | | | Change to more complicated method of re-adding an attribute whose name changes size, in order to get memory accesses correct. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13100] Description:Quincey Koziol2007-01-033-13/+35
| | | | | | | | 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-3/+16
| | | | | | | Checkpoint changes for bug fix, to shift coding to another machine. Tested on: Linux/64 2.6 (chicago2)
* [svn-r13096] Description:Quincey Koziol2007-01-027-92/+144
| | | | | | | | 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-1/+1
| | | | | | | | | 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-1/+1
| | | | | | 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-225-12/+121
| | | | | | | | | | | 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.