Commit Graph

9630 Commits

Author SHA1 Message Date
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
Peter Cao
ad11c4f76f [svn-r13467] Move copying ref attribute to post copy because H5O_post_copy_file()
fails at the case that an object may have a reference attribute that 
points to the object itself.
2007-03-06 11:28:03 -05:00
Quincey Koziol
2f98515019 [svn-r13466] Description:
Add some extra sanity checking to object header status flags read from
file.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-03-06 10:50:51 -05:00
Quincey Koziol
509b8f645d [svn-r13465] Description:
Fix bug in external links when "strong" file close degree is used.

	Make external link callbacks use standard error reporting mechanisms.

	Other minor code cleanups...

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-03-06 10:06:05 -05:00
Albert Cheng
a8251f3467 [svn-r13463] Syntax fix.
The copyright notices have errors in the closing comment lines that
C++ compilers complain about. Fixed the comment line.

Tested platform:
In smirom using disable-production, enable-debug, disable-shared option.
(other combinations would ended in build or test failures.  Pretty sure
they were caused by my changes.)
2007-03-05 17:56:44 -05:00
Scott Wegner
1a644892a4 [svn-r13462] Updated Windows project files to include new source files:
H5Obtreek.c and H5Odrvinfo.c in hdf5.dsp and hdf5dll.dsp
h5repack_ref.c in h5repack.dsp, h5repackdll.dsp, and h5repacktst.dsp.

Tested:
Visual Studio 6.0 on Windows XP
Visual Studio 8.0 on Windows XP 64-bit
2007-03-05 17:20:25 -05:00
Pedro Vicente Nunes
c6c3526d3c [svn-r13460] removed a debugging macro 2007-03-05 16:49:06 -05:00
Raymond Lu
1b23b0e8c1 [svn-r13459] Fix for Bug #763 - failure to create dataset of variable-length data with fill value. In function
H5O_fill_convert, the background buffer was allocated without clearing.  Later in H5T_vlen_disk_write
, library thought there's data in this background buffer.  Changed the allocating function to 
CALLOC.
2007-03-05 16:44:55 -05:00
Peter Cao
ade2b24a44 [svn-r13458] Adding copying reg_ref attributes to the test 2007-03-05 16:00:33 -05:00
Peter Cao
9679d64e16 [svn-r13457] Fix problem on copying reg_ref attributes. 2007-03-05 15:37:33 -05:00
Pedro Vicente Nunes
010ce9ac7b [svn-r13456] more new features 2007-03-05 13:52:56 -05:00
Pedro Vicente Nunes
d72820fdac [svn-r13454]
mention more bug fixes
2007-03-05 13:43:46 -05:00
Pedro Vicente Nunes
ffb0f03f46 [svn-r13453]
mention the inclusion of H5Ocopy in h5repack
2007-03-05 13:30:30 -05:00
Pedro Vicente Nunes
550bb1c338 [svn-r13452] one test was commneted by mistake 2007-03-05 11:42:20 -05:00
Pedro Vicente Nunes
bd01f34589 [svn-r13451]
h5diff bug fix, attributes differences were not being count for total
differences

Revision of H5Ocopy call in h5repack
2007-03-05 11:26:50 -05:00
Quincey Koziol
44f312b183 [svn-r13449] Description:
Add object creation property (H5P[s|g]et_obj_track_times) to disable
storing timestamps on objects, which makes the object's header size smaller.

	Also, added object header status flags to H5O_info_t struct (for
H5Oget_info/H5Oget_info_by_idx) and cleaned up other field names in the
struct as well.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-03-03 23:28:09 -05:00
Elena Pourmal
caa6d5dabc [svn-r13448] Cleaned up compilation warnings on VMS 2007-03-03 12:42:44 -05:00
Elena Pourmal
118d0099d0 [svn-r13447] Cleaned up more warnings on VMS 2007-03-03 11:47:18 -05:00
Elena Pourmal
4a9bd487ec [svn-r13446] Eliminated some compilation warnings and errors for VMS
Platforms tested:
	VMS server
2007-03-03 11:37:43 -05:00
Elena Pourmal
3465c529d2 [svn-r13445] Added new files to compilation command file
Platforms tested:
	VMS server
2007-03-03 11:19:26 -05:00