Commit Graph

3340 Commits

Author SHA1 Message Date
James Laird
8cf22df741 [svn-r13197] Fix another bug in H5Ocopy where messages that were deleted and converted
to NULL messages weren't marked as dirty so the destination OH wasn't
updated to reflect the change.

Tested on Windows, smirom, and kagiso.
2007-01-25 09:19:17 -05:00
HDF Tester
dcd346df62 [svn-r13195] Snapshot version 1.8 release 0 (alpha5snap0) 2007-01-25 02:35:44 -05:00
James Laird
cdcd2cecf2 [svn-r13187] Fixed another issue with H5Ocopy when attributes had shared datatypes/
dataspaces that became un-shared in the destination.

Tested on Windows, smirom, and kagiso.  Need to extend objcopy test so that
it checks that attributes are actually copied successfully.
2007-01-24 14:01:48 -05:00
James Laird
0ab3725051 [svn-r13186] Cleaned up a few warnings by initializing variables and doing a few casts.
Tested on kagiso, smirom, copper.
2007-01-24 11:15:27 -05:00
Albert Cheng
b6461fc56e [svn-r13184] Changed release version to alpha5snap0 to restart snapshot release.
Platforms tested:
Eyeballed the svn diff output.  Looked good.
2007-01-23 17:57:33 -05:00
Quincey Koziol
d89c2c43f3 [svn-r13183] Description:
Checkpoint work toward getting the fill value message into the shared
message interface regime.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-23 15:30:33 -05:00
Quincey Koziol
dc02b5bd22 [svn-r13182] Description:
Move filter pipeline message class to new "shared message interface"
regime, along with minor fixups to implementation of calling that interface.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-23 14:08:31 -05:00
James Laird
59eccdaf69 [svn-r13181] Added a configure check to prevent a failure on Cygwin.
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.
2007-01-23 12:29:45 -05:00
Quincey Koziol
4bc8c3f924 [svn-r13178] Description:
Figured out a way to phase in individual message class support for
the new shared message "interface", so check that in before working on the
message classes themselves.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-01-23 10:27:28 -05:00
Quincey Koziol
599d4141fa [svn-r13177] Description:
Final tweaks before the big twist to fix shared message method calling.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-01-23 09:09:31 -05:00
Quincey Koziol
0c9bd3d4e2 [svn-r13176] Description:
Push code further toward shared message method calling refactor.

Tested on:
	FreeBSD/32 6.2 (duty)
	Too minor to require h5committest
2007-01-22 22:46:31 -05:00
Quincey Koziol
58db19e6c5 [svn-r13175] Description:
Checkpoint more progress on refactoring the shared message code.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-22 18:27:17 -05:00
Quincey Koziol
ae4d8d9319 [svn-r13174] Description:
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)
2007-01-22 18:08:19 -05:00
Quincey Koziol
af394eaa76 [svn-r13173] Description:
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)
2007-01-22 17:44:55 -05:00
Quincey Koziol
3ededdb9e2 [svn-r13172] Description:
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)
2007-01-22 17:43:09 -05:00
Quincey Koziol
be5c024fac [svn-r13171] Description:
Add "const" to a parameter that can allow it.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-22 17:41:34 -05:00
James Laird
422f61b604 [svn-r13170] Corrected Windows-style newlines. I'd been a bit sloppy on earlier checkins,
although this doesn't confuse SVN as much as it confused CVS.
2007-01-22 16:44:22 -05:00
Quincey Koziol
dc41c73711 [svn-r13167] Description:
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)
2007-01-22 16:07:54 -05:00
James Laird
681d9231cf [svn-r13166] Fixed bug in H5Ocopy where shared attributes that were deleted 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.
2007-01-22 16:03:24 -05:00
James Laird
632773727c [svn-r13159] Added h5debug support for shared message structures.
Tests run on juniper, kagiso, smirom.  h5debug run manually on sample files on
Windows, juniper, and kagiso.
2007-01-19 13:51:03 -05:00
Quincey Koziol
ff572efab7 [svn-r13158] Description:
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)
2007-01-19 13:33:12 -05:00
Quincey Koziol
ad8afcade3 [svn-r13157] Description:
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)
2007-01-19 13:15:51 -05:00
Quincey Koziol
d4909147e1 [svn-r13156] Description:
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)
2007-01-19 12:31:41 -05:00
Quincey Koziol
46598f35ca [svn-r13155] Description:
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)
2007-01-19 09:54:46 -05:00
James Laird
26fc682d8d [svn-r13153] Added checksum to superblock and driver info block (in latest 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.
2007-01-18 10:27:14 -05:00
Quincey Koziol
9155785889 [svn-r13152] Description:
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)
2007-01-18 09:32:27 -05:00
Christian Chilan
6328f51d48 [svn-r13147] Changed error return value of H5Sselect_valid() from 0 to FAIL. 2007-01-17 15:48:04 -05:00
Christian Chilan
36d59974a6 [svn-r13146] Verifies that current dataspace dimensions are not equal to H5S_UNLIMITED.
Checks performed in H5Screate_simple() and H5Sset_extent_simple().
2007-01-17 15:47:44 -05:00
James Laird
8fa9daa174 [svn-r13143] Refactoring.
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.
2007-01-16 12:19:11 -05:00
Raymond Lu
77ce08c356 [svn-r13139] Fixed the MULTI problem (Bug #731) that corrupted the data. 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.
2007-01-12 15:29:43 -05:00
Quincey Koziol
7072d7103d [svn-r13138] Description:
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)
2007-01-12 14:32:34 -05:00
James Laird
d8e4fcc410 [svn-r13135] Continuing code cleanup.
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.
2007-01-11 14:19:40 -05:00
Quincey Koziol
1f3ffdab86 [svn-r13130] Description:
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)
2007-01-09 23:01:31 -05:00
James Laird
a2a3e47d06 [svn-r13129] More refactoring. Moved index versions to the index header, so that an
index can be read all at once.  This changes the file format!

Tested on Windows, kagiso, and smirom.
2007-01-09 17:08:54 -05:00
Quincey Koziol
26d2abe9e8 [svn-r13128] Description:
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)
2007-01-09 15:07:04 -05:00
James Laird
03fc4bb6f3 [svn-r13127] Refactoring. Cleaned up some buggy code when searching for messages in
B-trees.

Tested on Windows, smirom, and kagiso.
2007-01-09 14:18:14 -05:00
James Laird
6e40802f06 [svn-r13126] More cleanup. Shared messages now use in-heap callbacks when searching
for a matching message, which should improve performance.

Tested on Windows, kagiso, and smirom.
2007-01-09 10:11:16 -05:00
Quincey Koziol
15b28ad04a [svn-r13125] Description:
Add extra protection for sanity checks, when assertions are enabled.

Tested on:
    Linux/32 2.6 (chicago)
2007-01-09 09:34:57 -05:00
Quincey Koziol
ee6036e032 [svn-r13123] Description:
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)
2007-01-08 23:24:00 -05:00
Quincey Koziol
2104bd1e0a [svn-r13122] Description:
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)
2007-01-08 18:29:49 -05:00
Quincey Koziol
d978a22b36 [svn-r13121] Description:
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)
2007-01-08 17:25:26 -05:00
Quincey Koziol
a4527a631c [svn-r13120] Description:
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)
2007-01-08 10:47:56 -05:00
James Laird
77a2e54459 [svn-r13119] More code cleanup. Made shared messages zero-indexed instead of
one-indexed.  Changed the names of some constants to be more consistent.

Tested on juniper, smirom, and copper.
2007-01-08 09:54:12 -05:00
Quincey Koziol
7fc6a486b9 [svn-r13117] Description:
Clean up some warnings from Windows.

Tested on:
	FreeBSD/32 6.1 (duty)
2007-01-06 22:51:07 -05:00
Quincey Koziol
327ea3a766 [svn-r13116] Description:
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)
2007-01-06 15:54:19 -05:00
Quincey Koziol
d6c27d4b4d [svn-r13115] Description:
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)
2007-01-06 15:50:45 -05:00
James Laird
869ed6e043 [svn-r13113] Refactoring. Cleaned up code, added a few sanity checks.
Extracted duplicated code into functions.

Tested on Windows, juniper, and kagiso.  Will test on copper next.
2007-01-05 13:30:59 -05:00
James Laird
ec1b0dfda6 [svn-r13108] Cleaned up some warnings.
Tested on kagiso; I have another checkin coming, after which I'll run more
extensive tests.  Changes are pretty minor.
2007-01-05 12:59:04 -05:00
James Laird
75121771bb [svn-r13107] Fixed shared message indexes to clean themselves up when 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.
2007-01-04 11:39:39 -05:00
James Laird
1bef5c88ad [svn-r13105] Fixed a bug where buffer size didn't change when #defined constants changed.
Committing from Windows using Tortoise SVN.  Cool!
2007-01-03 17:08:25 -05:00