Commit Graph

4247 Commits

Author SHA1 Message Date
Quincey Koziol
03abf3cafe [svn-r13798] Description:
Clean up compiler warnings

Tested on:
    Mac OS X/32 10.4.9 (amazon)
2007-05-22 21:18:10 -05:00
Quincey Koziol
1e2ff005ab [svn-r13797] Description:
Re-enable fast attribute comparisons "in place" in the fractal heap.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.9 (amazon)
2007-05-22 21:17:42 -05:00
Quincey Koziol
c04a55d65e [svn-r13796] Description:
Clean up ISOHM code further and get rid of several non-optimal ways
of working with object headers.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.9 (amazon)
2007-05-22 21:16:41 -05:00
Quincey Koziol
2232cf942d [svn-r13794] Description:
Add 'const' to some pointers in internal routines.

Tested on:
    Linux/32 2.6 (chicago)
2007-05-22 15:27:33 -05:00
Pedro Vicente Nunes
987146cc8e [svn-r13793]
Clean temporary test files

Tested: linux, SunOS

Note: the files outside tools were generated by bin/reconfigure
2007-05-22 14:35:24 -05:00
Quincey Koziol
668d8d5aa3 [svn-r13784] Description:
Close memory leak in error situation for opening a dataset.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-22 10:09:31 -05:00
Quincey Koziol
71befdadcf [svn-r13774] Description:
Fix memory leak of attribute's group hier. path

	Reduce compiler warnings w/gcc 4.2

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-20 00:49:31 -05:00
Quincey Koziol
0fcfcf0fa4 [svn-r13773] Description:
Reduce compiler warnings w/gcc 4.2

Tested on:
	FreeBSD/32 6.2 (duty) w/gcc 4.2
2007-05-20 00:48:09 -05:00
Quincey Koziol
15bc329ddb [svn-r13772] Description:
Reduce compiler warnings when free list manager is disabled.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-20 00:47:22 -05:00
Quincey Koziol
3c394783e7 [svn-r13771] Description:
Fix some more unitialized variables that were flagged by valgrind.

Tested on:
	FreeBSD/32 6.2 (duty) w/valgrind
2007-05-19 00:37:00 -05:00
Quincey Koziol
52d71bcd6f [svn-r13770] Description:
Clean up various memory leaks, etc.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-18 23:58:59 -05:00
Quincey Koziol
eff3014d97 [svn-r13769] Description:
Clean up minor compiler warnings

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-18 23:58:25 -05:00
Scott Wegner
87a41d4286 [svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform.
Tested:
Visual Studio (32- and 64-bit) on Win XP
2007-05-18 10:14:43 -05:00
Quincey Koziol
1e69c2b1f1 [svn-r13758] Description:
Change "long long" to "long_long", to make VS6 happy.

Tested on:
	None, just eyeballed since it's easy
2007-05-16 13:23:17 -05:00
Elena Pourmal
c0d407a481 [svn-r13754] VMS port:
Updated command files; added "extern "C"" for HDremove_all function.

Platforms tested:

VMS server; kagiso - very minor and affects only VMS
2007-05-15 17:14:10 -05:00
Quincey Koziol
31ff357f31 [svn-r13753] Description:
Check in "unique, but sharable" optimization to ISOHM code, which
allows object header messages that are only used in one object to remain in
the sole user's header, but migrates messages that are used in more than one
header into the ISOHM heap.

Tested on:
	Mac OS X/32 10.4.9 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-05-14 15:24:08 -05:00
Quincey Koziol
f0f73065e3 [svn-r13751] Description:
Reduce the number of warnings when free lists are disabled.

Tested on:
	Mac OS X /32 10.4.9 (amazon)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-05-14 11:10:15 -05:00
Quincey Koziol
d16a803257 [svn-r13750] Description:
Various minor cleanups found while working on the "unique, but sharable"
ISOHM changes.

Tested on:
	Mac OS X/32 10.4.9 (amazon)
	FreeBSD/32 6.2 (duty)
2007-05-13 23:05:28 -05:00
Quincey Koziol
00a50871bb [svn-r13747] Description:
Fix H5O_msg_iterate() and H5O_link() to protect cache entries with
better permissions.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-05-10 18:25:58 -05:00
Quincey Koziol
670d598ff7 [svn-r13745] Description:
Take further advantage of the readers/writer locking in the metadata cache
and push the locking of the local heap up to the routines which call B-tree
routines, which should drastically lower the number of metadata cache protect/
unprotect calls.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 15:35:35 -05:00
Quincey Koziol
c751cdab33 [svn-r13744] Description:
Initial changes to take advantage of readers/writer locking on metadata
cache entries.  Reduce the # of protect/unprotect pairs during B-tree iteration
by holding reader lock on B-tree and symbol table nodes while iteration occurs.

    This also has the benefit of preventing an iteration callback from
modifying the B-tree being iterated over (which would probably confuse the
B-tree iteration code terribly)

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:31:34 -05:00
Quincey Koziol
d214eddeff [svn-r13743] Description:
Don't delete chunks from the dataset's B-tree while we are iterating over
the B-tree, when reducing the size of the dataset's dataspace with
H5Dset_extent().

Tested on:
    Mac OS X/32 2.6 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:26:41 -05:00
Quincey Koziol
8eac66e943 [svn-r13742] Description:
Avoid copying attribute in a few iteration situations.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:15:23 -05:00
Quincey Koziol
10a6685aaa [svn-r13741] Description:
Minor formatting & warning reduction code cleanups

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:06:49 -05:00
MuQun Yang
8762243f56 [svn-r13733] Changed more parallel debugging info. to a more standard way by using H5DEBUG.
Have tested at linux to make sure the change won't cause any compiling errors or testing errors.
2007-05-04 08:53:57 -05:00
MuQun Yang
8292747953 [svn-r13730] Remove debug information inside H5Dmpio.c when enable-debug is turned on.
More code will be cleaned up tomorrow. Since only debugging information is removed, I tested this only at kagiso(linux mpich).

Kent
2007-05-03 18:07:03 -05:00
Peter Cao
edceb4389a [svn-r13726] Add H5P_reset_external_file_test to the header file. 2007-05-02 17:16:32 -05:00
Quincey Koziol
80d7f2a258 [svn-r13722] Description:
Fix typo that causes non-Purified build to fail.

Tested:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
2007-05-01 21:39:43 -05:00
Quincey Koziol
2757f75317 [svn-r13721] Description:
Add "fail if unknown" and "mark if unknown" flags to object header messages.
This gives the library a clean way to tell older libraries that a message should
not be just ignored if it's unknown, but that other actions should occur.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-01 16:00:52 -05:00
Quincey Koziol
093060f6f3 [svn-r13717] Description:
Clean up some formatting, comments and error messages.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Too minor to require h5committest
2007-05-01 09:28:02 -05:00
Peter Cao
37e010fbe0 [svn-r13714] Fix memory leak on objcopy.c test
H5Premove(dcpl, H5D_CRT_EXT_FILE_LIST_NAME) causes memory leak.
Use new function H5P_reset_external_file_test(dcpl) instead.
2007-04-30 17:44:04 -05:00
Quincey Koziol
4e6026d44f [svn-r13711] Description:
Reduce size of fill value message in default setting case (since it can't
be eliminated).

Tested on:
    Mac OS X/32 10.4.9 (amazon)
2007-04-30 14:57:58 -05:00
Christian Chilan
55ba7924e1 [svn-r13704] Change to H5G_get_refobj_name so that H5I_get_name returns the length of the name of a dereferenced object without counting the null terminator. Tested on smirom, copper, and cobalt. 2007-04-27 14:04:32 -05:00
Albert Cheng
0408aec911 [svn-r13700] Updated the copyright generated by the program to the THG notice.
Tested:
kagiso (no committed test since it is trivial.)
2007-04-24 15:06:48 -05:00
Raymond Lu
156f8bc690 [svn-r13694] 1. changed the HDlseek to be lseek64 and HDfseek to be fseeko if available, to support big
files.  2. added a check in test/big.c to make sure the system supports big file.

Tested on smirom because already tested the same changes for v1.6 on liberty, smirom, 
copper, and sol.
2007-04-23 13:57:51 -05:00
HDF Tester
f68c5d9849 [svn-r13692] Snapshot version 1.8 release 0 (beta1post0) 2007-04-23 09:55:02 -05:00
Quincey Koziol
aa96180fa9 [svn-r13690] Description:
Fully enable readers/writer locking in metadata cache and correct errors
in cache clients which were modifying a cache entry while only holding a
read lock on it.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-04-19 13:43:10 -05:00
Quincey Koziol
a16b402a6f [svn-r13685] Description:
Update the version string to "1.8.0-beta1post0"
2007-04-18 15:36:56 -05:00
Quincey Koziol
4fee3d360c [svn-r13683] Description:
Change the release string for the beta1 release, so the tag in subversion
is correct.
2007-04-18 15:30:58 -05:00
Quincey Koziol
51df76bb28 [svn-r13682] Description:
Run bin/reconfigure to update infrastructure files/information.
2007-04-18 15:15:58 -05:00
Elena Pourmal
0332285cff [svn-r13660] Minor cleanups and bug fixes.
H5Zpublic.h file didn't include H5public.h; done
H5Spublic.h had ghost function H5Sset_space; deleted
New source files were added to make.com for VMS.
h5gget_comment_c had a small bug in calculating buffer length; fixed

Platforms tested: pahra and kagiso; too minor for h5committest
2007-04-13 17:04:26 -05:00
Quincey Koziol
6151c1cd90 [svn-r13650] Description:
Clean up problems from error handling API changes in parallel and
threadsafe builds.

Tested on:
	FreeBSD/64 6.2 (liberty) w/parallel & threadsafe
2007-04-12 16:41:23 -05:00
Quincey Koziol
d6bb18abbc [svn-r13648] Description:
Rename new error handling API routines from H5E<foo>_stack() to
H5E<foo>2().

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-04-11 20:59:45 -05:00
Quincey Koziol
9d2070890b [svn-r13636] Description:
Change H5[D|G|T]<foo>_expand() "temporary" API routines to
H5[D|G|T]<foo>2() "versioned" routines.  Also added
H5[D|G|T](create|commit)_anon() routines to continue to allow "anonymous"
objects to be created in a file.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-04-11 11:22:16 -05:00
Quincey Koziol
78158e8dbf [svn-r13635] Description:
Clean up code and reduce compiler warnings...

Tested on:
    Mac OS X/32 10.4.9 (amazon)
2007-04-11 10:36:06 -05:00
John Mainzer
030543bf0d [svn-r13618] Modified metadata cache to support multiple read only protects of
cache entries.  Added test code to test the new feature.  Also some 
minor cleanum

h5committested -- passed on copper and sol.  Failed on osage with 
a configuration error that appears unrelated to my changes.  Serial
test (debug mode) passes on Phoenix (Linux x86 2.6 kernel), so I 
went ahead with the checkin.
2007-04-09 13:58:42 -05:00
Mike McGreevy
a3d8f174dc [svn-r13616] This check-in updates the bin/reconfigure file to point to the most recent versions of the autotools.
Updated autotool versions are: autoconf 2.61, automake 1.10.0, and libtool 1.5.22.

Tested on kagiso.
2007-04-09 13:44:42 -05:00
Raymond Lu
6f7ab83c3c [svn-r13594] Change a comment line. No test needed. 2007-04-05 15:13:11 -05:00
Albert Cheng
df31d147e0 [svn-r13591] Problem:
4294967296LL is not supported by older C like Windows VC6.

Solution:
/* use <= 2**32 -1 to stay within 4 bytes integer range */
            HDassert(chunk0_size <= 4294967295UL);

Platforms tested:
kelgia, copper and osage.
2007-04-05 12:43:15 -05:00
Raymond Lu
81a128e5de [svn-r13590] Take out the unused header file errno.h. 2007-04-04 17:22:44 -05:00