Commit Graph

9394 Commits

Author SHA1 Message Date
Raymond Lu
f83826852b [svn-r13180] Comment out the whole test when MULTI driver is used. It caused some problem on copper. Will enter a bug report for it and leave it for future debugging. 2007-01-23 11:19:32 -05:00
Pedro Vicente Nunes
ac110a8603 [svn-r13179]
replaced the path to XML schema from NCSA page to hdfgroup.org
2007-01-23 10:39:24 -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
Albert Cheng
6efb39a88e [svn-r13168] Purpose:
bug fix.

Problem:
1. The last fix using "svn --version" did not work since the source code
is shared between different machines which have different svn versions.
Changed the code to inspect the .svn/entries content to guess what version
of svn uses.  From that to decide which GETSVNENTRIES to use.

2. GETSVNENTRIES_14 had two errors:
2.a., % as 1,$ is actually not recognized by ed.  Changed that to "1,$s/..."
  but that got mixed up with $ being a shell meta-character.  Changed to use
  g command instead. (Could have use \ to escape $ but g is cleaner.)
2.b., Some directories have no files but sub-directories.  The ed script
  might end up with an empty file in some steps and ed does not like to
  run g command with an empty file.  Fixed it by adding a dummy blank line.

Platforms tested:
Osage and copper.
2007-01-22 16:36:33 -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
MuQun Yang
0b49961db7 [svn-r13165] Since not all windows machines have sed, we turn off error API tests by default.
Developers may perform tests periodically.
2007-01-22 15:32:33 -05:00
Peter Cao
0055ec4a71 [svn-r13164] Add nullmsg flag for testing only 2007-01-22 12:04:38 -05:00
Albert Cheng
7d4e3a676b [svn-r13162] Purpose:
Upgrade.

Description:
svn version 1.4.x uses a different format of .svn/entries files as older
versions like 1.3.x.  chkmanifest could not parse the file correctly.

Solution:
Created different versions of entries file parsing according to svn version.
There is also a bug in grep that matches ./configure with ./fortran/configure.
Don't know how to or even possible to nullify the wildcard character effect
of '.'.  Added a ^ to mark beginning of line.  At least it makes it the same
length though it would still match with "X/configure".  Hopefully this sort
of error are easier to detect by human
2007-01-21 01:09:25 -05:00
Peter Cao
416f0145ab [svn-r13160] Fixed help information to use stdout instead of stderr. 2007-01-19 15:24:30 -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
MuQun Yang
b6bd503a59 [svn-r13154] Forgot checking in new error API test project files. 2007-01-18 15:37:49 -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
Quincey Koziol
fa11904aab [svn-r13151] Description:
Clean up compiler warnings, esp. on Windows

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-01-17 18:37:24 -05:00
Christian Chilan
6d50253be1 [svn-r13150] Added a revision log for H5Sselect_valid(). 2007-01-17 15:51:18 -05:00
Christian Chilan
9fbb0d98d9 [svn-r13149] Added tests to verify that H5Sselect_valid() returns FAIL when dataspace is not valid, or when dataspace is valid but closed. 2007-01-17 15:49:34 -05:00
Christian Chilan
73dafaf54c [svn-r13148] Added a test to verify that current dataspace dimensions cannot be H5S_UNLIMITED. 2007-01-17 15:48:58 -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
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