Commit Graph

11066 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
7418c06356 [svn-r16449] bug fix: compare the return value of H5Tequal with TRUE
tested: h5committest
2009-02-06 11:21:30 -05:00
Allen Byrne
b99ed1e18f [svn-r16442] Update windows batch file to match *nix script due to rev 16351
Tested:
 XP 32 VNET, XP64 VS2008
2009-02-05 13:49:24 -05:00
Quincey Koziol
7ba5922dca [svn-r16439] Description:
Bring r16435 from revise_chunks branch back to trunk:

        Expand object copy tests for chunked datasets to include 1-D datasets
with an unlimited dimension.  (Fix typo in comment for test/links.c)

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
	(more thoroughly tested already on revise_chunks branch)
2009-02-05 10:50:25 -05:00
Vailin Choi
f65a6a6473 [svn-r16436] Checkin for moving messages forward into continuation message:
src/H5Oalloc.c, test/ohdr.c, toshm.c
Fixed couple of problems in src/H5Odbg.c.
2009-02-05 10:29:27 -05:00
Pedro Vicente Nunes
3c67d2972c [svn-r16434] bug fix: typo in usage message
tested: linux
2009-02-05 10:24:23 -05:00
Pedro Vicente Nunes
9de3088234 [svn-r16431] Uncomment a h5cleanup() call previously accidently left commented
Tested: linux
2009-02-05 09:52:47 -05:00
Scott Wegner
bf3f68890c [svn-r16428] Purpose: Fix Windows install script to include missing tool binaries
Description:
A user discovered that the HDF5 1.8.2 Windows release binaries were missing a few of the HDF5 tools.  This is due to the Windows install script, which simply didn't include them.  This commit fixes the install script to include h5copy, h5mkgrp, and h5stat

Tested:
VS2005 w/ WinXP, build and install only
2009-02-04 16:51:51 -05:00
Pedro Vicente Nunes
89f033b661 [svn-r16423] bug fix: a open call was not made the expected FAPL
tested: windows, linux (split, sec2)
2009-02-04 14:37:58 -05:00
Pedro Vicente Nunes
50fa98277d [svn-r16419] #1449 Change set_extent test to use standard standalone test framework
Call h5_fixname (with an array of test filenames) for generating the  
filename to create and then call h5_cleanup() when the tests pass, to delete the files  
created and close the FAPL from h5_fileaccess(). 

Defined a macro 
#define TESTING2(WHAT)	{printf(" Testing %-62s",WHAT); fflush(stdout);}
Similar to TESTING, except that it has a initial indentation space.
The effect is for nested loop tests

Testing with old file format:
 Testing with fill value, no compression                                PASSED

tested: windows, linux
2009-02-04 10:29:01 -05:00
Quincey Koziol
4d0c4686ea [svn-r16417] Description:
Bring r16416 from revise_chunks branch to trunk:

	Bring closer to standard standalone test format, add checks for using
the latest file format and close dataset ID leaked.

Tested on:
	FreeBSD/32 6.3 (duty)
	(too minor to require h5committest)
2009-02-03 20:32:49 -05:00
Quincey Koziol
ba149f834f [svn-r16414] Description:
Eliminate some more calls to H5E_clear_stack() from within library code.

    Clean up some warnings & comments also.

Tested on:
    Mac OS X/32 10.5.6 (amazon)
    (Too minor to require h5committest)
2009-02-03 18:42:24 -05:00
Allen Byrne
9ada07ef3a [svn-r16412] testh5ls.bat - added tests to match script file from rev 16310
h5repack.bat - added test to match script file from rev 16402
set_extent.vcproj - added WS2_32.lib for change to set_extent from rev 16406
h5pubconf.h - added C99 undef to sync with *nix configuration

Tested:
 Vista32, XP32, XP64 using VNET, VS2005 VS2008
2009-02-03 16:38:14 -05:00
Frank Baker
285d83cf36 [svn-r16409] Description:
Update source code copyright to include 2009.
2009-02-03 14:36:58 -05:00
Pedro Vicente Nunes
dfaf4dec8e [svn-r16405] #1449 Change set_extent test to use standard standalone test framework
use a fapl obtained by h5_fileaccess to the call of H5Fcreate
and redo the test calls with

h5_reset();
    fapl = h5_fileaccess();

    nerrors += do_ranks( fapl ) < 0 ? 1 : 0;
    nerrors += test_external( fapl ) < 0 ? 1 : 0;
    nerrors += do_layouts( fapl ) < 0 ? 1 : 0;

tested: windows, linux
2009-02-03 10:55:56 -05:00
Quincey Koziol
348c380e3f [svn-r16401] Description:
Correct error introduced in r16353 with layout version, and add test
so it gets caught earlier.

Tested on:
	FreeBSD/32 6.3 (duty)
	Too minor to require h5committest
2009-02-02 20:41:51 -05:00
Quincey Koziol
1528a6ad07 [svn-r16399] Description:
Remove some internal calls to H5E_clear_stack().

Tested on:
	FreeBSD/32 6.3 (duty)
	Too minor to require h5committest
2009-02-02 15:53:25 -05:00
HDF Tester
01d8f959f9 [svn-r16397] Snapshot version 1.9 release 29 2009-02-01 07:32:57 -05:00
Quincey Koziol
3b8b18d16e [svn-r16394] Description:
Rename H5O_msg_read_real -> H5O_msg_read_oh, to be more consistent with
other routines in library.

	Move H5O_msg_read_oh and H5O_msg_exists_oh from package to private
header file, so other routines in library can use them.

Tested on:
	FreeBSD/32 6.3 (duty)
	Too minor to require h5committest
2009-01-31 21:31:34 -05:00
Quincey Koziol
940f64156b [svn-r16391] Description:
Add more metadata statistics to extensible array header.

Tested on:
	FreeBSD 6.3 (duty)
	(too minor to require h5committest)
2009-01-31 13:12:20 -05:00
Raymond Lu
9146841b9e [svn-r16390] Brought check.com and make.com up to date. I'll test them on OpenVMS. 2009-01-31 11:25:22 -05:00
Raymond Lu
6361428300 [svn-r16389] Corrected a typo in the ZLIB path name.
Tested on OpenVMS.
2009-01-31 10:31:17 -05:00
Raymond Lu
63008bb5b3 [svn-r16388] Changed these files up to date. I'll test them after checkin. 2009-01-30 10:57:16 -05:00
Neil Fortner
e3cfd6f0df [svn-r16386] Fix various warnings (errors in pgcc) associated with yesterday's dense
attribute object copy commit.

Tested: jam (gcc and pgcc)
2009-01-30 10:46:43 -05:00
Quincey Koziol
2af7e952ed [svn-r16382] Description:
Re-insert some whitespace formatting that was accidentally removed.

Tested on:
	None - just eyeballed.
2009-01-29 16:08:13 -05:00
Neil Fortner
af7ced00f6 [svn-r16380] Purpose: Enable copying of dense attributes
Description:
Attribute object copy routines have been moved from H5Oattr.c to H5Aint.c.
These routines are now shared between compact and densely stored attributes.
New routines written to support the copying of dense attributes.  This patch wasmostly written by Peter Cao.

Tested: jam, smirom (h5committest)
2009-01-29 16:02:07 -05:00
Allen Byrne
f7464a5129 [svn-r16378] Description:
Changed max macro in earray.c to avoid Windows conflict.
    Changed if(test) to assert(test) in H5FDcore.c - H5FD_core_open()

Tested on:
    Windows: XP32, XP64, Vista32, Vista64 
    H5committest.
2009-01-29 15:52:44 -05:00
Neil Fortner
5a9903cdde [svn-r16377] Revert unintentional change to tfamily00000.h5 2009-01-29 15:51:25 -05:00
Neil Fortner
ec61416324 [svn-r16376] Purpose: Fix a bug encountered when copying shared messages
Description: When attempting to copy an object with a message shared in its own
object header, the library attempts to protect the same object header twice.
Previously, it was possible for the object header to be protected with write
access in one or both of these protects, which would be illegal.  The library
should now always protect with read only access in this case.  The conditions
for fixing incorrect datatype versions have been made weaker to support this
change.  The version will only be corrected if the object header the datatype
is in is modified.

Tested: jam, smirom (h5committest)
2009-01-29 15:43:16 -05:00
Pedro Vicente Nunes
9a298fd1dd [svn-r16373] replaced some printf statements with parallel_print
tested: linux serial and parallel
2009-01-29 13:58:36 -05:00
Quincey Koziol
6416329ef8 [svn-r16372] Description:
Clean up files produced from set_extent testing.

Tested on:
	FreeBSD/32 6.3 (duty)
	(too minor to require h5committest)
2009-01-29 13:18:39 -05:00
Neil Fortner
b698574fce [svn-r16370] Modify test_pack_ooo to always output the state of randomly generated variables
when it fails, even in the sections that do not use the random variables.

Tested: jam
2009-01-28 12:19:09 -05:00
Quincey Koziol
91c1a6df54 [svn-r16367] Description:
Refactor internal address encode/decode routines slightly, to allow for
more flexible use.

Tested on:
    Mac OS X/32 (amazon)
    FreeBSD/32 (duty)
    (too minor to require h5committest)
2009-01-27 18:09:35 -05:00
Quincey Koziol
05f1e4f778 [svn-r16366] Description:
Add context pointer for extensible array client callbacks.

Tested on:
    Mac OS X/32 (amazon)
    FreeBSD/32 (duty)
    (too minor to require full h5committest)
2009-01-27 17:43:58 -05:00
Quincey Koziol
c7407a8ccb [svn-r16364] Description:
Clean up a few compiler warnings

Tested on:
    Mac OS X/32 (amazon)
    (too minor to require h5committest)
2009-01-27 16:16:55 -05:00
Scot Breitenfeld
f640047612 [svn-r16362] Description:
*Fixed cd_nelements in nh5pget_filter_c - cd_nelments not pased in or returned correctly. Since 
        cd_nelmts has IN/OUT attributes, fixed the input and
        returned value of cd_nelmnts to satisfy this specification.

 *Fixed 'name' returned in nH5Pget_external_c - if the size of the fortran buffer is larger then 
        the returned string from the function then we need to give HD5packFstring the 
        fortran buffer size so that it fills the remaining unused characters with blanks. Found
        with the gfortran compiler.

Platforms tested: smirom, liberty
2009-01-27 15:48:01 -05:00
Neil Fortner
bf4789092a [svn-r16360] Purpose: Fix potential error with H5Tset_order
Description: H5Tset_order will now properly reject H5T_ORDER_NONE for most
datatypes.  Previously this could cause major problems as the file could not be
flushed.

Tested: jam, smirom (h5committest)
2009-01-27 10:56:48 -05:00
Pedro Vicente Nunes
a6dcbd6a0f [svn-r16358] bug fix
a new line was not inserted at the end of output, causing diff to complain between linux and frebsd

tested: linux , freebsd
2009-01-27 10:33:17 -05:00
Quincey Koziol
5cd054dd5c [svn-r16354] Description:
Bring r16353 back from revise_chunks branch:

        Refactor internal layout information, making it easier to add another
type of chunk index.

Tested on:
	FreeBSD/32 6.3 (duty)
	(other platforms tested with original patch)
2009-01-27 09:00:07 -05:00
Pedro Vicente Nunes
85a1c5c273 [svn-r16352] bug fix: some printf calls instead of parallel_print made some tests to fail
tested: linux parallel
2009-01-27 08:48:04 -05:00
Pedro Vicente Nunes
249163bee6 [svn-r16349] new h5diff output files 2009-01-26 14:38:43 -05:00
Pedro Vicente Nunes
120350c395 [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable>
added some test cases

tested: windows, linux
2009-01-26 14:29:22 -05:00
Neil Fortner
0682bfceb7 [svn-r16347] Purpose: enhancements the H5Tinsert, H5Tpack
Description: H5Tinsert will now detect when a compound type that was previously
not packed becomes packed due to out of offset order insertion of a member.
H5Tinsert will now attempt to keep members sorted by offset order.  This should
improve performance of H5Tinsert in all cases due to the fact that it no longer
needs to check every other member for overlapping, and should improve
performance of H5Tpack and possibly type conversion when compounds are packed
out of order.

Tested: jam, smirom (h5committest)
2009-01-26 14:18:40 -05:00
HDF Tester
2a1a78a0b4 [svn-r16344] Snapshot version 1.9 release 28 2009-01-25 06:22:44 -05:00
Frank Baker
5393933154 [svn-r16340] Description:
Changed 'THG' to 'The HDF Group' in various HDF5 source files,
        most of which are <subdirectory>/COPYING.
    -- Closes Bugzilla entry 1403.
2009-01-22 15:53:59 -05:00
Mike McGreevy
a665dd22af [svn-r16338] Purpose:
Bug Fix

Description:

    Removing some unnecessary system headers from test/cache.c which snuck
    their way into one of my previous check-ins ... thanks to Allen for 
    catching this while testing on Windows.

Tested:

    Windows, Linux
2009-01-22 14:56:31 -05:00
Raymond Lu
45489e5dae [svn-r16335] Added the definitions for the new macros H5_HAVE_C99_DESIGNATED_INITIALIZER and H5_HAVE_C99_FUNC.
I tested them for v1.8.  I simply added them by hand for v1.9 for now.  I'll test them later.
2009-01-21 11:08:06 -05:00
Albert Cheng
22228e6f65 [svn-r16333] Bug 948 followup.
Moved a comment up to a more appropriate spot.
No execution change.

Tested: jam pp.
2009-01-19 22:41:21 -05:00
HDF Tester
fdc7b17438 [svn-r16329] Snapshot version 1.9 release 27 2009-01-18 05:04:40 -05:00
Albert Cheng
0c4e71d004 [svn-r16328] Bug 948.
The test "h5diff -v h5diff_hyper1.h5 h5diff_hyper2.h5" sometimes hangs in THG
machines. Skip it until its hanging is resolved.
2009-01-18 03:09:03 -05:00
Raymond Lu
b60c8e2062 [svn-r16327] Added some missing file names for OpenVMS. Tested on OpenVMS for 1.8. 2009-01-16 16:40:20 -05:00