Commit Graph

11437 Commits

Author SHA1 Message Date
Binh-Minh Ribler
e87f3dd558 [svn-r18728] Purpose: Fixed bug# 1719
Description:
    Closed a temporarily opened datatype to clean up memory leak,
    in getTypeClass.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2010-05-06 12:00:29 -05:00
Quincey Koziol
abd749619d [svn-r18726] Description:
Bring r18725 from trunk to 1.8 branch:

	Bring r18724 from metadata journaling 'merging' branch to trunk:

	Rename H5[A]C_rename to H5[A]C_move_entry.

Tested on:
	FreeBSD/32 6.3 (duty) w/debug
	(h5committested on trunk)
2010-05-06 10:39:23 -05:00
Quincey Koziol
b95c7d1879 [svn-r18722] Description:
Bring r18721 from trunk to 1.8 branch:

	Bring r18720 from metadata journaling merging branch to trunk:

	Bring changes from metadata journaling branch to 'merging' branch:

	Rename H5[A]C_mark_pinned_or_protected_entry_dirty() to
H5[A]C_mark_entry_dirty() and get rid of H5[A]C_mark_pinned_entry_dirty().

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2010-05-06 09:19:28 -05:00
Quincey Koziol
2c38d7ea30 [svn-r18717] Description:
Bring r18716 from trunk to 1.8 branch:

	Bring r18715 from metadata journaling merging branch to trunk:

	Changes to further align trunk with state of metadata journaling branch.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
       Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
               w/C++ & FORTRAN, w/threadsafe, in debug mode
       Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
               w/C++ & FORTRAN, in production mode
       Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
               w/szip filter, in production mode
       Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
               in production mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2010-05-05 19:44:01 -05:00
Mike McGreevy
e984ec4948 [svn-r18710] Purpose:
Improve configure's large-file support control.

Description:

    Modified configure to now attempt to add defines necessary for
    supporting largefiles on all systems, instead of solely on linux. This 
    is in response to user requests to enable largefile support on Solaris 
    by default, as well as to give extra control on AIX (instead of just 
    jamming the necessary flag into the config files).

    The old --enable-linux-lfs flag is being deprecated in favor of the
    --enable-largefile flag (enabled by default), which can be used on all
    platforms. --disable-linux-lfs can still be used to disable largefile
    support (on linux) when the --enable-largefile flag is not specified.

    On systems where large files cannot be supported in this manner,
    configure will report as such.

Tested:

    h5committest
    AIX (NCSA's blue_print machine)
    duty, liberty, and linew.
2010-05-05 12:35:04 -05:00
Raymond Lu
c8ec7a14bc [svn-r18707] I added an item in the Known Problems for the compiler's rounding problem on Cygwin running on
Windows XP.  It happens in dt_arith.c when converting from unsigned long long to long double (see
bug #1813).
2010-05-05 11:26:17 -05:00
Raymond Lu
b93621ecf5 [svn-r18706] I changed the macro H5_CYGWIN (checked in with round 18696) to H5_CYGWIN_ULLONG_TO_LDOUBLE_ROUND_PROBLEM to make it more descriptive.
I tested on jam and Cygwin.
2010-05-05 10:47:44 -05:00
Quincey Koziol
3f3a900177 [svn-r18704] Description:
Bring r18702 from trunk to 1.8 branch:

	Bring r18672 from metadata journaling "merging" branch to trunk:

	Mostly changes to move to only using one 'user data' parameter for
calls to H5AC_protect(), along with some minor reformatting code cleanups.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
       Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
               w/C++ & FORTRAN, w/threadsafe, in debug mode
       Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
               w/C++ & FORTRAN, in production mode
       Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
               w/szip filter, in production mode
       Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
               in production mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
       Mac OS X/32 10.6.3 (amazon) in debug mode
       Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
               in production mode
2010-05-05 09:45:57 -05:00
Binh-Minh Ribler
f2190dd264 [svn-r18703] Purpose: Fixed bug# 1783
Description:
    Corrected typo in documentation.
Platforms tested:
    Linux/32 2.6 (jam) - very minor
2010-05-05 08:42:12 -05:00
Albert Cheng
f20bd5f624 [svn-r18701] ID 1853:
Added the configure option --enable-h5dump-packed-bits for the h5dump
optional feature.

Tested:
Jam (default and --disable-h5dump-packed-bits).
2010-05-04 18:57:47 -05:00
Raymond Lu
7cb55dd052 [svn-r18696] I added a macro definition if the system is Cygwin in configure.in. This macro is used to skip
the data conversion test from unsigned long long to long double.  The GCC on Cygwin seems to 
have rounding problem when doing conversion from unsigned long long to long double (Please bug
#1813).

Tested on jam.  I'll test it on Cygwin after this checkin.
2010-05-04 11:35:11 -05:00
Larry Knox
f80d971c3b [svn-r18694] Correct missing line (fi) in revision 18680 and remove incorrect code to install scripts to run examples. Correct code to install the scripts will be checked in later.
Tested on amani and talwit using daily test shell.
2010-05-03 14:40:36 -05:00
Binh-Minh Ribler
4f171f2b21 [svn-r18693] Description:
Using header file H5private.h for HDstrcpy in H5CommonFG.cpp.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/32 6.3 (duty)
2010-05-03 13:25:18 -05:00
Binh-Minh Ribler
7cdb95c5c2 [svn-r18691] Description:
Added #ifndef H5_NO_DEPRECATED_SYMBOLS to getObjTypeByIdx tests.
Platforms tested:
    amani - with --disable-deprecated-symbols
2010-05-03 11:37:25 -05:00
Binh-Minh Ribler
365e16c480 [svn-r18689] Description:
Added missing overloaded function getObjTypeByIdx to return type name
    as a char*.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2010-05-03 08:12:12 -05:00
HDF Tester
47fef210e8 [svn-r18688] Snapshot version 1.8 release 4 (snap20) 2010-05-02 20:39:59 -05:00
Binh-Minh Ribler
be0a7c4a64 [svn-r18683] Purpose: Fix bugzilla 1857
Description:
    Added missing overloaded function getObjnameByIdx to take char* for name.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2010-05-02 10:10:11 -05:00
Larry Knox
6d912b6394 [svn-r18680] Added running make install-examples to make install. Make install-examples will still install example files and make install will also install them. 2010-04-30 15:28:45 -05:00
Raymond Lu
d44e26b78a [svn-r18679] Albert fixed the bug (#1764) in H5detect.c and added a few new macros in H5config.h.in.
I added them - H5_HAVE_SETJMP, H5_HAVE_SIGPROCMASK, and H5_HAVE_SIGSETJMP.  

Tested on OpenVMS and everything passed.
2010-04-30 10:58:23 -05:00
Albert Cheng
ff0135b9b8 [svn-r18678] Just mopped up some looseends by using the macro HDxyz instead the xyz function
names.

Tested: Jam only since this is trivial.
2010-04-29 17:40:34 -05:00
Allen Byrne
09a958e1e1 [svn-r18676] Updated scripts for H5copy r18400 and H5ls r18643
Tested:   windows
2010-04-29 17:06:43 -05:00
Quincey Koziol
ff5c4800e8 [svn-r18667] Description:
Bring r18666 from trunk to 1.8 branch:

    Switch H5Rget_obj_type to H5Rget_obj_type2.

Tested on:
    Linux/64 2.4 (amani) w/PGI compiler
2010-04-29 08:11:22 -05:00
Quincey Koziol
ca02b2da58 [svn-r18665] Description:
Bring r18664 from trunk to 1.8 branch:

    Add a few H5Tequal() calls to make certain that the native datatype
constructed with H5Tget_native_type() is identical to the memory datatype
created from the struct in memory.

Tested on:
    Mac OS X/32 10.6.3 (amazon) in debug mode
    Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
    (h5committested on trunk)
2010-04-29 08:04:33 -05:00
Quincey Koziol
d0a1730ad8 [svn-r18661] Description:
Tweak H5detect to be even more careful about its actions, to allow 
gcc 4.5 to use '-O3'.  Also, minor code cleanups in H5Tfloat.c

Tested on:
        FreeBSD/64 6.3 (liberty) w/gcc 4.5 & production mode
        (h5committest not necessary/appropriate)
2010-04-28 15:57:44 -05:00
Albert Cheng
1c2f19b16e [svn-r18658] Bug: 1764
Description:
longjmp do not necessary restore signal that is blocked during the signal
handling. This caused the Alignment test to fail quietly, resulting in wrong
alignment information which will cause failures later.

Solution:
One can use sigsetjmp/siglongjmp to restore signal handling but not all systems
such as Cray XT or VMS supports sigsetjmp.  Backup solution is to use
sigprocmask to reset the signal. Again, some systems may not support it either.
Added code to try the first and then the second solution. Also added tests
to verify if the signal_handler routines are working properly.  Finally, added
code to print results of the verification (in form of comments) to H5Tinit.c
for inspection in case of failure.
(Note that many platforms do not have alignment limits at all and ALIGNMNET
code never raise the SIGBUS or SIGSEGV errors.  In those cases, it does not
matter whether the signal handlers work or not. Again, this can be deduced
from the results comments near the end of the H5Tinit.c. If the sum of signal
handlers called equals the total of verify, it means ALIGNMENT does not raise
any signals.)

Tested: htcommittested (linew is not accessible), jam(serial), Redstorm.
2010-04-28 12:11:11 -05:00
Raymond Lu
5a26307f86 [svn-r18656] I added some more comments. No test is needed. 2010-04-28 11:28:04 -05:00
Allen Byrne
ca4f05380b [svn-r18653] Bug 1741:
Added check in H5Rcreate for space_id = -1 and is region reference type.
    Added test of H5R package API parameters to testhdf5 test, these test only the public API parameter checks.
    
    
Tested: local linux
2010-04-28 10:08:54 -05:00
Quincey Koziol
2ad138dbb9 [svn-r18652] Description:
Bring r18650 from trunk to 1.8 branch:

	Bring back various minor tweaks & cleanups from the revise_chunks
branch.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
	(h5committested on trunk)
2010-04-27 17:40:05 -05:00
Raymond Lu
53f5793d38 [svn-r18646] In H5T_get_native_type of H5Tnative.c, I changed the way that the offset, alignment, and
size of nested compound type are calculated by using H5T_cmp_offset.  The old way had a bug 
in it (see bug #1850).

Tested on amani, linew, and jam.
2010-04-27 15:55:33 -05:00
Neil Fortner
8b93f9640e [svn-r18645] Add testing of H5Lcopy() and H5Lmove() between files for soft and external
links.

Tested: Fedora (too minor for commit test)
2010-04-27 15:34:44 -05:00
Jonathan Kim
36823c3ca1 [svn-r18643] Purpose:
Fix for Bug 1793 - h5ls on a non-existent file gives 0 return code

Description:
    Merged from hdf5 trunk r18642.
    After the fix, h5ls returns 1 (EXIT_FAILURE) if non-existent file is given.

Tested:
    jam
2010-04-27 15:28:45 -05:00
Binh-Minh Ribler
e331b97162 [svn-r18641] Description:
Added a null character to terminate a fixed-length string returned
    by H5Aread.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
2010-04-27 15:20:01 -05:00
Quincey Koziol
4966f07945 [svn-r18636] Description:
More tweaks to PGI compile flags, to avoid too many warnings in system
header files.

Tested on:
    Linux/64 2.4 (amani) w/PGI 9.x & 10.x
2010-04-27 14:17:54 -05:00
Quincey Koziol
e4ee157c86 [svn-r18635] Description:
Bring r18634 from trunk to 1.8 branch:

	Clean up compiler warnings.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
	(h5committested on trunk)
2010-04-27 13:33:36 -05:00
Quincey Koziol
53d5ccb17e [svn-r18633] Description:
Bring r18632 from trunk to 1.8 branch:

    Clean up memory leak in test code.

Tested on:
   Linux/64 2.4 (amani) w/debug & valgrind
2010-04-27 13:20:16 -05:00
Quincey Koziol
bb8251f926 [svn-r18631] Description:
Bring r18630 from trunk to 1.8 branch:

    Fix remaining aliasing problems and enable optimizations w/gcc now.  This
addresses the remaining issues for Bug#1398.

Tested on:
    Mac OS X/32 10.6.3 (amazon) in debug mode
    Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
    (h5committested on trunk)
2010-04-26 21:47:02 -05:00
Quincey Koziol
b23da3a7f5 [svn-r18628] Description:
Bring r18627 from trunk to 1.8 branch:

    More progress toward addressing Bz#1398: add 'volatile' keyword to floating-
point types when detecting their properties.  Also, minor code formatting
cleanups.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug)
    (h5committested on trunk)
2010-04-24 20:02:17 -05:00
Quincey Koziol
46809b86cf [svn-r18626] Description:
Bring r18625 from trunk to 1.8 branch:

    Checkpoint progress on Bz#1398 - strict aliasing issues.  (Lots of compiler
warnings & code cleanups also)

Tested on:
    Mac OS X/32 10.6.3 (amazon) in debug mode
    (h5committested on trunk)
2010-04-23 15:20:57 -05:00
Quincey Koziol
55f2a52191 [svn-r18622] Description:
Bring r18621 from trunk to 1.8 branch:

    Clean up compiler warnings.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor to require h5committest)
2010-04-23 13:11:37 -05:00
Quincey Koziol
40c757d48b [svn-r18619] Description:
Bring r18618 from trunk to 1.8 branch:

	Add new internal object header routines to query the header chunk that
a message is in, and to lock/unlock a message into a chunk (so it doesn't get
moved into another chunk during allocation/free events).

       Also, move dataspace message to beginning of object header messages
added to a dataset's object header, so it can be locked into chunk #0 (when
performing SWMR operations).

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
	(h5committested on trunk)
2010-04-22 17:07:35 -05:00
Quincey Koziol
683d60460a [svn-r18617] Description:
Bring r18616 from trunk to 1.8 branch:

    Clean up compiler warnings.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor to require h5committest)
2010-04-22 15:04:44 -05:00
Jonathan Kim
cacfe71beb [svn-r18615] Purpose:
Fix for bug 1817 : h5copy fail to copy dangling link by specifying 
    link path directly

Description:
    Merged from hdf5 trunk r18614.

Tested:
    jam, amani
2010-04-22 13:43:19 -05:00
Quincey Koziol
8881ff748c [svn-r18613] Description:
Bring r18612 from trunk to 1.8 branch:

    Clean up compiler warnings & code formatting

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor to require h5committest)
2010-04-22 10:14:07 -05:00
Quincey Koziol
030c18281c [svn-r18611] Description:
Bring r18610 from trunk to 1.8 branch:

    Clean up compiler warnings & code formatting issues.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug)
    (too minor to require h5committest)
2010-04-22 09:03:43 -05:00
Quincey Koziol
7f08e6b1d9 [svn-r18609] Description:
Bring r18608 from trunk to 1.8 branch:

	Simplify object header allocation routines, and clean up some compiler
warnings.

Tested on:
	FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
	(h5committested on trunk)
2010-04-22 08:20:21 -05:00
Quincey Koziol
fd9ed5d743 [svn-r18606] Description:
Bring r18605 from trunk to 1.8 branch:

    Add new warning flags for gcc 4.5.x

Tested on:
    FreeBSD/32 6.3 (duty) w/gcc 4.5
    FreeBSD/64 6.3 (liberty) w/gcc 4.5
2010-04-22 06:00:14 -05:00
Quincey Koziol
ef3d6fc8dd [svn-r18602] Description:
Bring r18600 from trunk to 1.8 branch:

    Increment reference count on object header when "fake" object header
chunk proxy is returned from H5O_chunk_protect().  Also, clean up the
interface to H5O_chunk_unprotect by removing the unnecessary 'oh' parameter.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (h5committested on trunk)
2010-04-20 15:21:24 -05:00
Quincey Koziol
64af76ef7d [svn-r18598] Description:
Fix missing NULL initialization of pointers.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (h5committested on trunk)
2010-04-20 14:14:05 -05:00
Quincey Koziol
c403f235f9 [svn-r18596] Description:
Bring r18595 from trunk to 1.8 branch:

    Clean up compiler warnings

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor to require h5committest)
2010-04-20 14:05:15 -05:00
HDF Tester
37ef89af1d [svn-r18591] Snapshot version 1.8 release 4 (snap19) 2010-04-18 19:22:22 -05:00