Commit Graph

9949 Commits

Author SHA1 Message Date
Scott Wegner
00f32db756 [svn-r13536] Added source files to Windows C++ test project files. Both testhdf5_cpp.dsp and testhdf5_cppdll.dsp received:
./c++/test/tcompound.cpp
./c++/test/ttypes.cpp
./c++/test/tfilter.cpp
./c++/test/tvlstr.cpp

Also, fixed a declaration in ttypes.cpp that was causing a compile error in MSVS6.0.

Tested:
Visual Studio 6.0 on WinXP
kagiso
too minor for h5committest
2007-03-22 14:45:33 -05:00
Christian Chilan
eeaf1d185e [svn-r13535] Included test of reference with value 100 that was skipped previously. 2007-03-21 21:22:51 -05:00
Quincey Koziol
981c1e1b7a [svn-r13534] Description:
Minor code cleanups...

Tested on:
	FreeBSD/32 6.2 (duty)
	Too minor to require h5committest
2007-03-21 11:22:42 -05:00
Raymond Lu
e7f1950239 [svn-r13531] When a dataset is created and no data is written, but fill value is defined,
if there's VL type of data in the dataset, the address of the data is copied
    multiple times into the buffer, causing some trouble when the data is released.
    Instead, this checkin makes multiple copies of fill value first, then 
    does conversion on each element so that each of them has a copy of the 
    VL data.  A test is added, too.

    Tested it on kagiso, sol, and copper.
2007-03-20 15:39:23 -05:00
HDF Tester
5fe2a249cf [svn-r13527] Purpose:
Bug fix.

Description:
When it reads the allhostfile, it does eliminate comments or blank lines
completely, thus it continues to use ssh/rsh even when only the local
host is tested.

Solution:
Changed the sed scripts to eliminate comments and blank lines.

Tested:
Cobalt by running bin/runtest.  Since this is not really library source,
the three platforms test does not apply.
2007-03-19 23:26:19 -05:00
Elena Pourmal
ac293ae20b [svn-r13526] Updated VMS make file.
Platforms tested:
	VMS and kagiso with gcc and newly installed Absoft compiler f95
	This is a minor change that affects VMS only;  h5committest is not needed.
2007-03-19 21:00:51 -05:00
Binh-Minh Ribler
1c4e6d163f [svn-r13524] Purpose: Cleanup tests
Description:
	Added extern "C" to cleanup functions as well, forgot last time.
	Cleaned up/Added comments to some of the newly added tests.

Platforms tested
    AIX 5.1 (copper)
    Linux 2.6 (kagiso)
    SunOS 5.8 64-bit (sol)
2007-03-17 11:26:53 -05:00
Albert Cheng
c4bbce8be1 [svn-r13523] Description
Switch the default setting for configure from --enable-production/--disable-debug
to --disable-production/--enable-debug.

Platform Tested:
In kagiso with fortran and C++.  No commit test because changes
happened in configure and it is straight forward.
2007-03-16 18:26:30 -05:00
Quincey Koziol
de1af0c1c7 [svn-r13520] Description:
Added H5Lexists() API routine, which determines if a link of a particular
name exists in a group.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-03-16 13:41:26 -05:00
Scott Wegner
d3bd0649ed [svn-r13519] Updated h5dump Windows test script to bring it up to date with Linux.
Tested:
Visual Studio 6.0 on Windows XP
2007-03-16 13:11:56 -05:00
Quincey Koziol
05af9a85f8 [svn-r13518] Description:
Add some sanity checking to improve the resilience of the object header
decoding in the face of a bad reference, or a corrupted file.

Tested on:
	Mac OS X/32 10.4.9 (amazon)
2007-03-16 04:59:31 -05:00
Raymond Lu
24fb6ed7c6 [svn-r13517] To deal with the situation that compiler supports direct I/O but file system doesn't, added a
condition check of writing aligned data.  Skip the test for direct VFD if it's this situation.
2007-03-15 16:17:09 -05:00
Albert Cheng
4a6abb3ac5 [svn-r13515] Problem:
reference test object reference failed if faked address is 100.
Skipped this test for now.
Also removed the incorrected added COMPAT_1.4 parts.

Tested in kagiso.
2007-03-15 14:47:48 -05:00
Christian Chilan
16b9ff0a11 [svn-r13514] Tests added to verify that H5Rget_obj_type executes properly when called with non-valid references. 2007-03-14 18:29:25 -05:00
Raymond Lu
19dfff8df2 [svn-r13512] Correct the typos where some "=="s should be "!="s. 2007-03-14 12:13:09 -05:00
Pedro Vicente Nunes
bb18969e79 [svn-r13510] added new features and bugs description 2007-03-13 10:23:16 -05:00
Pedro Vicente Nunes
1cabdbd42f [svn-r13507]
make 1.7 files similar to 1.6
2007-03-12 14:55:50 -05:00
Pedro Vicente Nunes
32934cfa2b [svn-r13506]
make comments equal in 1.6 and 1.7
2007-03-12 14:27:33 -05:00
Pedro Vicente Nunes
da23c98e58 [svn-r13505] make comments similar in 1.7 and 1.6 2007-03-12 14:24:38 -05:00
Scott Wegner
01f50118c0 [svn-r13504] Added new source file H5Orefcount.c to Windows project files hdf5.dsp and hdf5dll.dsp
Tested:
MSVS6.0 on Win XP
2007-03-12 14:17:40 -05:00
Pedro Vicente Nunes
c24cea791f [svn-r13503]
Preparation for making 1.6 and 1.7 h5dump more similar and 1.6 to have 1.7 fixed bugs incorporated
2007-03-12 11:36:34 -05:00
Raymond Lu
3015df0a5b [svn-r13501] Suppress the compiler warning about the equality comparison of floating-point values. 2007-03-12 10:52:52 -05:00
Quincey Koziol
8d91f0643b [svn-r13500] Description:
Roll changes to SOHM v2 B-tree records into format, to get the format
for them stable while I'm working on debugging the actual support for the
"unique, but sharable" feature.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-12 10:28:54 -05:00
Quincey Koziol
c227f4ffa5 [svn-r13499] Description:
Avoid storing the # of attributes in the "attribute info" message
and regenerate it when the object is opened.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-11 22:00:31 -05:00
Quincey Koziol
a64589450e [svn-r13498] Description:
Eliminate storing # of links in "link info" message, regenerate it
when the object is opened instead.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-03-11 21:38:08 -05:00
Quincey Koziol
e6b818134e [svn-r13497] Description:
Move ref. count of # of links to an object out of the object header's
prefix and make it a header message instead (since it's a "rare" occurence),
eliminating some more space for each object in the file.

        Inserting this "ref. count" message exposed a flaw in the library's
mechanism for locating a message to promote to another chunk and replace
with a continuation message, which required some additional work to fix.
It's still not completely robust, but it's working for more cases now and
detects failures robustly.

        Reduced the minimum size of an object header chunk to just enough to
contain a header message prefix and continuation message.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-11 18:15:03 -05:00
Quincey Koziol
0b3cccd0cb [svn-r13496] Description:
Reduce size of "default" link message storage.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 22:06:05 -05:00
Quincey Koziol
48f022a701 [svn-r13495] Description:
Cleanup handling of file consistency/status flags a bit.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 21:00:48 -05:00
Quincey Koziol
429cecd282 [svn-r13494] Description:
Whitespace/formatting cleanup.

Tested on:
	None, just eyeballed.
2007-03-10 20:23:32 -05:00
Quincey Koziol
9129a8452a [svn-r13493] Description:
Eliminate storing default values for "group info" fields.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 20:09:00 -05:00
Quincey Koziol
051ffe9d61 [svn-r13492] Description:
Fix mis-calculation of chunk #0 size encoding and also catch a few more
places which adjust the size of chunk and have them adjust the encode flags
also.  Add some assertions to object header sanity checking routine.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 19:34:24 -05:00
Quincey Koziol
1eb19fc895 [svn-r13491] Description:
Reduce the size of the value used to store the # of bytes in the
"payload" for chunk 0 of an object header.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 15:02:55 -05:00
Quincey Koziol
753a42edf6 [svn-r13490] Description:
Move "creation order tracked" flag from "group info" to "link info"
object header message and make the "max. creation order value" optional in the 
"link info", if the creation order for links is not tracked.

	Also, get rid of unused "index names" flag - names are always indexed
currently.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 14:08:42 -05:00
Quincey Koziol
bb356fd6d1 [svn-r13489] Description:
Make certain to use the later version of the object header format if
creation order is tracked on attributes.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 13:35:25 -05:00
Quincey Koziol
a42a1b15ef [svn-r13488] Description:
Remove unused "min. creation order" field from link info object
header message.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-03-10 11:37:53 -05:00
Quincey Koziol
6cfd5c1462 [svn-r13487] Description:
Eliminate message count from new version of object header prefix -
it can be computed when the header is loaded and the table of messages is
built.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-10 10:47:59 -05:00
Quincey Koziol
a127510b7b [svn-r13486] Description:
Move attribute tracking information out of object header prefix and
make it into a message that is inserted only when attributes are present on
the object.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-09 23:56:53 -05:00
Quincey Koziol
1bca28acc3 [svn-r13485] Description:
Fix reference to uninitialized memory, which could trigger a memory
corruption, once in a purple moon.

Tested on:
	FreeBSD/32 6.2 (duty) 	w/valgrind
2007-03-09 23:50:28 -05:00
Pedro Vicente Nunes
56b7fd71a3 [svn-r13483]
Bug fix

Some data was declared as char and saved with H5T_NATIVE_CHAR type. But the data  have negative values

Solution : declared data as signed char and used H5T_NATIVE_SCHAR
2007-03-09 13:16:19 -05:00
HDF Tester
d7c3cc4139 [svn-r13480] feature
Show disk usage at different stage of the snapshot processes
so that we know how much disk are needed in different stage.
(This still does not know how big disk usage during make check
process since many temporary files are deleted right after the tests
finish.)

Tested platform:
Kagiso.
2007-03-08 15:50:11 -05:00
Scott Wegner
7b065df159 [svn-r13478] Added new source file H5Oainfo.c to Windows project files hdf5.dsp and hdf5dll.dsp.
Tested:
Visual Studio 6.0 on Windows XP
2007-03-08 15:39:27 -05:00
Quincey Koziol
74a30fff3e [svn-r13477] Description:
The main purpose of this checkin was to eliminate the
space used for tracking creation time indices when there is no way they
can be used (i.e. attributes can't be shared in the file and the user hasn't
turned on attribute creation tracking), however there were some other minor
changes which crept in:
	- Fix a cache locking deadlock when a shared attribute and one of its
		components end up in the same fractal heap direct block.  
		(This is fixed the "slow" way for right now, until John has time
		to add support for readers/writer locking to the cache.
	- Optimize attribute copying when a copy will be kept during a v2 B-tree
		search.
	- When freeing a block on disk, attempt to merge it with the metadata
		and "small data" aggregators.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-03-08 15:10:12 -05:00
HDF Tester
25bb6f5dd8 [svn-r13476] Snapshot version 1.8 release 0 (alpha6snap2) 2007-03-08 14:09:19 -05:00
Mike McGreevy
2996c917af [svn-r13475] There's a configure issue linking szip's shared libraries when running on kagiso.
The static szip libraries are working as intended, but when shared szip 
libraries are present and intended for use they cannot be opened. A check 
has been implemented to test if shared szip libraries are functional on 
current platform. If they are not, and the user is trying to use them, 
szip is now disbaled and the user is informed.

This issue occurs on kagiso, and the resolution was tested on kagiso.
2007-03-08 11:57:36 -05:00
Binh-Minh Ribler
5a4bf8171d [svn-r13474] Purpose: Fixed bugs
Description:
    VMS revealed a problem in calling C++ test functions from C AddTest.

Solution:
    Per Quincey's suggestion, added
        #ifdef __cplusplus
        extern "C"
        #endif
    to the called C++ functions.

Platforms tested
    AIX 5.1 (copper)
    Linux 2.6 (kagiso)
    On pending: waiting for Elena to test on VMS when she comes back.
2007-03-08 04:50:55 -05:00
Quincey Koziol
25bcff7681 [svn-r13472] Description:
Add new object header message to track attribute information (unused
currently).

Tested on:
	Mac OS X/32 10.4.8 (amazon)
2007-03-06 15:38:01 -05:00
Quincey Koziol
5c4bffc0d1 [svn-r13471] Description:
Fix a couple of expected size values that were missed earlier.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-03-06 14:04:36 -05:00
Quincey Koziol
492df7a33c [svn-r13470] Description:
Avoid storing the phase change values for attribute storage, unless
they are non-default values.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
2007-03-06 13:54:24 -05:00
Quincey Koziol
f25328a15a [svn-r13469] Description:
Minor code rearrangements and comment cleanups, in preparation for moving
attribute tracking information out of object header prefix.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-03-06 12:37:28 -05:00
Quincey Koziol
2b14b28144 [svn-r13468] Description:
Correct total chunk size computation in debugging routine, which was
causing incorrect warning messages to be printed for some object's with
more than one header chunk.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-03-06 11:50:30 -05:00