Commit Graph

9462 Commits

Author SHA1 Message Date
Peter Cao
c97fae2f00 [svn-r13145] Fixing warning message. 2007-01-17 12:01:52 -05:00
Raymond Lu
b5047cafdc [svn-r13144] Added a test case for VL type of compound type with VL string in the field. 2007-01-16 13:52:51 -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
MuQun Yang
8e88c834ff [svn-r13141] Added a new batch file for windows tests. 2007-01-12 16:16:44 -05:00
MuQun Yang
b801393937 [svn-r13140] Added a new batch file to test error APIs
Tested 1.6 compatibility feature: work for vs studio 6.0
Corrected several small bugs inside tool batch files
Add a few project files to test error APIs
2007-01-12 16:13:48 -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
MuQun Yang
66cd68e65b [svn-r13137] Updating windows installation file includes:
limitation of support 64-bit with visual studio 2005
How to test with 1.6 compatible
2007-01-12 13:15:32 -05:00
Pedro Vicente Nunes
4bf379277b [svn-r13136]
added a new output file to h5dump tests
2007-01-12 09:20:08 -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
Pedro Vicente Nunes
ba14f83846 [svn-r13134]
New version of the function h5tools_dump_simple_subset, to display subsetting. The new algorithm is: 
Introduced an outer loop for cases where dimensionality is greater 
 than 2D. In each iteration a 2D block is displayed by rows in a inner
 loop. The remainning slower dimensions above the first 2 are incremented 
 one at a time in the outer loop

Note: when blocks are introduced, the display is not correct. This is a bug that requires an improvement of the algorithm.
2007-01-10 14:15:16 -05:00
Pedro Vicente Nunes
56407cde0e [svn-r13133]
modified the format for the printing of reference information for a string, related to the same change in h5dump to display the name of the referenced dataset
2007-01-10 13:44:30 -05:00
Pedro Vicente Nunes
2a30e511b9 [svn-r13132]
Fixed #720 h5dump: improve how region references are displayed. h5dump now uses the new API function H5Rget_name to display the name of the dataset referenced instead of its ID. Added a case to the script test file
2007-01-10 11:24:27 -05:00
MuQun Yang
50926c2ae9 [svn-r13131] UPdated windows project files because of the new files checked in. 2007-01-10 08:32:52 -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
Pedro Vicente Nunes
5b16810ac2 [svn-r13106] clean code, removed some debugging code 2007-01-04 10:28:36 -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
Quincey Koziol
a15089ee73 [svn-r13104] Description:
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)
2007-01-03 14:34:15 -05:00
Quincey Koziol
91fe791239 [svn-r13103] Description:
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)
2007-01-03 14:22:48 -05:00
James Laird
11af96e867 [svn-r13102] Found a bug: shared message list sizes above the maximum were 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.
2007-01-03 12:48:51 -05:00
Quincey Koziol
b5a2e7c634 [svn-r13101] Description:
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)
2007-01-03 10:04:55 -05:00
Quincey Koziol
9aa47d6ad5 [svn-r13100] Description:
Fix bug which could possibly corrupt file data if an attribute was
renamed to a longer name.

Tested on:
	FreeBSD/32 6.1 (duty)
2007-01-02 23:42:13 -05:00
Quincey Koziol
c1d6230290 [svn-r13098] Description:
Checkpoint changes for bug fix, to shift coding to another machine.

Tested on:
    Linux/64 2.6 (chicago2)
2007-01-02 18:24:44 -05:00
Quincey Koziol
76ee1b2bda [svn-r13096] Description:
Fix updating values of shared attributes in dense storage & add test.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-02 15:21:44 -05:00
Quincey Koziol
8081ee4221 [svn-r13095] Description:
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
2007-01-02 09:20:35 -05:00
Binh-Minh Ribler
d37ce8c440 [svn-r13094] Purpose: Adding new test file
Description:
    Added ./c++/test/tvlstr.cpp

Tested:
    Checked with bin/chkmanifest
2007-01-01 21:23:19 -05:00
Binh-Minh Ribler
8e27c89888 [svn-r13093] Purpose: Adding test
Description:
    Added variable-length string tests.

Platforms tested
    AIX 5.1 (copper)
    SunOS 5.8 64-bit (sol)
    Linux 2.6 (kagiso)
2007-01-01 21:17:36 -05:00
Binh-Minh Ribler
e5fff45c09 [svn-r13092] Purpose: Maintenance
Description:
    Added overloaded method DataSet::vlenReclaim, that has better prototype.
    Fixed some typos.

Platforms tested
    AIX 5.1 (copper)
    SunOS 5.8 64-bit (sol)
    Linux 2.6 (kagiso)
2007-01-01 21:11:25 -05:00
James Laird
2d42a6277c [svn-r13087] Added a small test to check that SOHMs work fine when using external links. They do.
Tested on smirom, kagiso, and Windows.
2006-12-22 15:56:36 -05:00
James Laird
b1c318eebe [svn-r13086] Added deletion test for shared messages. I'm not sure that 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.
2006-12-22 13:23:08 -05:00
James Laird
e3fe4f7790 [svn-r13085] Yesterday's checkin wasn't a complete fix for copying filters in DCPLs.
Extended the test so it broke again and then fixed it again.

Tested on kagiso.
2006-12-21 11:05:00 -05:00
James Laird
56dae018e2 [svn-r13084] Fixed a bug that occurrs when copying DCPLs with filters that have filter
data.

Added a regression test for this bug.

Tested on kagiso.
2006-12-20 16:33:51 -05:00
Elena Pourmal
79c17d54cc [svn-r13083] Description:
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
2006-12-20 16:10:06 -05:00
Binh-Minh Ribler
36e1d514c4 [svn-r13082] Purpose: Code cleanup
Description:
    Changed from hsize_t to int for rank constants to fix errors on Windows.

Platform tested:
    Linux 2.6 (kagiso)
    Visual 6.0 on Windows XP
2006-12-20 14:15:02 -05:00