Commit Graph

3340 Commits

Author SHA1 Message Date
Quincey Koziol
552bb205b9 [svn-r13413] Description:
Further cleanups to superblock code:
		- Move most of the ISOHM-specific code into the H5SM module
		- Make only one checksum, for combined superblock & driver info
			block

	Minor other cleanups, etc.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-02-27 10:57:04 -05:00
Quincey Koziol
e0ae782d27 [svn-r13390] Description:
Make H5O_protect/H5O_unprotect use pinned cache entries instead of
protected entries (allowing the object header routines to be semi-reentrant).

Tested on:
	FreeBSD 6.2 (duty)
2007-02-26 13:18:08 -05:00
James Laird
0d86163705 [svn-r13379] Added 'make help' target. This actually runs a script, bin/makehelp (formatting
the output in the makefile was pretty hard).

Tested that make still works on kagiso; no code changes at all.
2007-02-23 14:14:11 -05:00
Quincey Koziol
182c05cb95 [svn-r13375] Description:
Straighten out some of the code for handling superblocks, in preparation
for revising the format of the latest version of the superblock before the
beta release.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-02-21 21:00:40 -05:00
Quincey Koziol
1e07756ac2 [svn-r13367] Description:
Allow "big" attributes to push attribute storage into "dense" form
immediately, to accomodate storing the attribute.  (This is only allowed
in the "latest" version of the format).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-21 14:58:48 -05:00
Albert Cheng
1b98fd4dbe [svn-r13365] Bug fix.
Description: Multiple copies of Copyright appeared in Makefile.in.  This was
due to automake copying the copyright right in the included files such as
config/commence.am.

Solution: Automake treats double hashes as comments and does not copy them
to Makefile.in.  Changed all the copyright notices in config/*.am to use
double hashes for the Copyright right notice.

Tested: kagiso via bin/reconfigure.
2007-02-21 10:43:35 -05:00
Quincey Koziol
32898a5cd1 [svn-r13362] Description:
Eliminate unneeded new version in attribute encoding.

	Add character set & string padding to string datatype debugging output

	Add character set to attribute name debugging output

Tested on:
	Mac OS X/32 10.4.8 (duty)
2007-02-21 09:44:30 -05:00
Quincey Koziol
dec964c4d5 [svn-r13361] Description:
Add H5Aopen(), H5Aopen_by_idx() and H5Acreate2() routines.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
2007-02-21 08:20:46 -05:00
Quincey Koziol
4d93574a8f [svn-r13360] Description:
Finish H5Aiterate2()

	Add H5Arename2() and mark H5Arename as deprecated.

	Started on H5Oopen_by_idx().

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-02-20 21:24:25 -05:00
James Laird
c64266b78e [svn-r13359] Fixed a bug where the -shlib flag for h5cc would end up on the Dependency line
in the Makefile.

Makefile change only.  Tested on kagiso, to be used to test on cobalt.
2007-02-20 18:39:44 -05:00
Quincey Koziol
d08fabd66d [svn-r13353] Description:
Checkpoint progress on H5Aiterate2().

    Mark H5Aiterate() as deprecated.

    Various code cleanups.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-20 14:58:09 -05:00
Raymond Lu
003a86e772 [svn-r13348] Minor change - a void pointer wasn't cast to a byte pointer. 2007-02-20 11:20:41 -05:00
Quincey Koziol
4486398a98 [svn-r13347] Description:
Deprecate H5Adelete in favor of H5Adelete2, which corresponds to the new
pattern of specifying an object's location.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-20 11:00:24 -05:00
Quincey Koziol
ca9a624416 [svn-r13344] Description:
More progress on attribute deletion by index.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-02-20 10:20:10 -05:00
Raymond Lu
270f7ce123 [svn-r13342] Bug fix (#717): Nested VL data failed to free the space when the data is over-
written with shorter length.
2007-02-20 09:53:19 -05:00
Quincey Koziol
d1a1f2421d [svn-r13341] Description:
Checkpoint "delete by index" code, which is partially finished.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-02-19 21:28:41 -05:00
James Laird
30b8b8c785 [svn-r13340] Fixed a bug where shared messages with the same hash values could be sorted
in the wrong order.

This also makes the "unique but shareable" checkin a little easier.

Tested on smirom, kagiso, and juniper.
2007-02-19 19:23:19 -05:00
John Mainzer
68541fee67 [svn-r13323] Fixed unused parameter warnings in H5C.c 2007-02-16 16:12:42 -05:00
Quincey Koziol
37a57858d5 [svn-r13304] Description:
Fix new API routines to use same pattern of arguments for specifying an
object as the new H5G/L/O API routines.

Tested on:
    Linux/32 2.6 (chicago)
2007-02-14 14:32:01 -05:00
Quincey Koziol
74754706cf [svn-r13295] Description:
Fix bug in "create intermediate groups" code which was carrying too much
information from parent to child group.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-13 22:47:51 -05:00
Quincey Koziol
1603adeaee [svn-r13291] Description:
Clean up comments

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-13 17:19:14 -05:00
Quincey Koziol
4b23b17528 [svn-r13288] Description:
Fix core dump for iterating over attributes and not passing in a "starting
point".

    Update output files missed in previous checkin.  This change essentially
reverses a previous change of attribute ordering, leaving the output of h5dump
& h5ls compatible with 1.6.x

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-13 14:33:33 -05:00
Quincey Koziol
56e63bdeea [svn-r13287] Description:
Add H5Aget_info_by_idx & H5Aget_name_by_idx routines, along with
refactoring underlying indices code to handle those sort of queries.

	Simplify the link callback routines a bit.

	Minor other cleanups.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-02-13 09:50:48 -05:00
HDF Tester
146dc710d8 [svn-r13276] Snapshot version 1.8 release 0 (alpha6snap1) 2007-02-11 00:52:21 -05:00
Quincey Koziol
140c0c9db2 [svn-r13274] Description:
Relax restriction on the "location ID" for attribute operations to allow
file IDs to be used as the location ID.  If a file ID is used, the attribute
operations will occur on the file's root group.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-02-09 10:32:51 -05:00
Quincey Koziol
494f46639d [svn-r13272] Description:
Checkpoint attribute creation order coding on "by index" routines.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-08 13:50:21 -05:00
Quincey Koziol
1e5e6baad1 [svn-r13270] Description:
Clean up some of the file space allocation formatting.

	Beef up the attribute creation order tests to make certain they are
handling shared atributes correctly (which they apparently are :-)

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-02-08 11:07:56 -05:00
Quincey Koziol
e4d94d7943 [svn-r13267] Description:
Add more support for creation order index operations to attributes:
get deletions & compact<->dense storage transitions working.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-02-07 20:12:08 -05:00
Albert Cheng
a7cac4a194 [svn-r13264] Updated Makefile.am with new THG copyright notice.
Ran reconfigure to generate the Makefile.in files.
2007-02-07 17:28:58 -05:00
Albert Cheng
ba4f40d370 [svn-r13263] hand edited the copyright notice. 2007-02-07 16:55:59 -05:00
Albert Cheng
2e63164fb8 [svn-r13260] Added back a closing comment line. 2007-02-07 14:48:35 -05:00
James Laird
5dd40af99f [svn-r13254] Cleaned up superblock extension code and added some more helpful comments.
Tested on Windows, smirom, and kagiso.
2007-02-07 12:04:21 -05:00
Albert Cheng
ed7d456e51 [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice.
Tested platform:
Kagiso only since it is only a comment block change.  If it works in one
machine, it should work in all, I hope.  Still need to check the parallel
build on copper.
2007-02-07 09:56:24 -05:00
James Laird
4c62c0aa8a [svn-r13252] Moved definition of uint32_t from H5private.h to H5public.h, since it's now
used in H5Opublic.h.

This should fix build errors on Windows.

Tested on kagiso; will test on Windows immediately after checkin.
2007-02-07 09:22:34 -05:00
Quincey Koziol
d47a060445 [svn-r13250] Description:
Add support for inserting attributes into creation order index.

	Also, update support for dense link & attribute storage in h5debug.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-02-06 21:18:17 -05:00
Quincey Koziol
7320ccac2d [svn-r13248] Description:
More progress on creation order for attribbutes - they are now basically
working for "compact" attribute storage.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-02-06 15:03:06 -05:00
James Laird
c13841161e [svn-r13246] Forgot to add a file on previous checkin. 2007-02-06 13:23:30 -05:00
James Laird
9e390cc1d9 [svn-r13245] Added "superblock extension" object header to hold shared object header
information, rather than storing it directly in the superblock.
This should make future updates to the superblock much less painful.

Tested on Windows, kagiso, and smirom.
2007-02-06 13:21:39 -05:00
Quincey Koziol
571523db1f [svn-r13243] Description:
Add API routines for tracking & indexing the creation order on
attributes.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-02-06 07:18:05 -05:00
Quincey Koziol
c560e68258 [svn-r13240] Description:
More cleanups on the object header message handling code, to make it
easier to work with and move forward on the creation order coding.

	Various other minor cleanups & warning fixes.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-02-05 17:26:44 -05:00
Quincey Koziol
0a8bba9153 [svn-r13232] Description:
Remove the "scaffolding" for shared message method invocation and
simplify the way shared messages are dealt with in general.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-02-04 02:37:15 -05:00
Quincey Koziol
f555ac654b [svn-r13226] Description:
Add attributes to the message classes that use the shared message
method calling interface, completing the transition.  The other mechanism will
be removed shortly.

Tested on:
	Mac OS X/32 10.4.8 (amazon)
	FreeBSD/32 6.2 (duty)
2007-01-30 20:48:28 -05:00
James Laird
25b96dc712 [svn-r13224] Fixed a bug where messages would report their "raw size" as the size of a
shared message rather than the full size of the unshared message, which
confused some shared message code.
Added a test that should make sure that some messages are too small to be
written to the deletion test in tsohm.c.

Also added a small optimization so that hash values don't need to be
calculated on deletes in list indexes.

Tested on Windows, smirom, and kagiso.
2007-01-30 15:40:44 -05:00
Quincey Koziol
7c733b0afb [svn-r13223] Description:
Move datatype messages into new shared message method interface

    Clean up various formatting & compiler warnings

    Minor optimizations

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-30 13:43:28 -05:00
Quincey Koziol
814c226b9b [svn-r13219] Description:
Move dataspace messages into new shared header message method calling
scheme.

    Minor other cleanups, etc.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-29 17:06:36 -05:00
Quincey Koziol
a4467cd2c2 [svn-r13218] Description:
Add "old" fill value messages to "new" fill value message sharing (and keep
them both in the same shared message index).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-29 13:40:57 -05:00
Quincey Koziol
108114495f [svn-r13217] Description:
Move fill value messages into new shared message method calling scheme.

    Only update an opened dataset's fill value property if it's different from
the default fill value settings.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-29 13:19:05 -05:00
HDF Tester
55d4ec6ebf [svn-r13216] Snapshot version 1.8 release 0 (alpha6snap0) 2007-01-29 10:58:07 -05:00
Albert Cheng
f94e51f7c1 [svn-r13208] Changed the minor release string to alpha6snap0 for pre-alpha6 snapshot releases. 2007-01-27 11:15:58 -05:00
James Laird
2b38065811 [svn-r13206] Fixed a couple of typos in debug output that were causing warnings.
Not tested; trivial change only in debugging code.
2007-01-26 12:02:27 -05:00