Commit Graph

14249 Commits

Author SHA1 Message Date
Allen Byrne
db2e8ff371 [svn-r26683] Remove internal filter checks 2015-03-31 16:28:44 -05:00
Allen Byrne
e9db2519b5 [svn-r26682] Add new test from test script 2015-03-31 16:16:59 -05:00
Mohamad Chaarawi
ccdcbec635 [svn-r26678] add ifdef checks and setting for __attribute__ in a public place to allow usage in
public routines.
2015-03-31 14:54:31 -05:00
Albert Cheng
cf11eef385 [svn-r26677] HDFFV-8957: h52gif crashes when run against one of our own examples
The tool claimed it could handle 24bit images but there was no code to handle it.
(or might be there were but was removed by previous revisions.)
Also discovered that it does not accept multiple images nor -p for palette
as its user document and online help message indicated.

Solution: 
Added code to verify dimension sizes are within 8 bit raster images limit and
added tests to verify the tools correctness.
Need to update user document tool.

Tested: h5committested.
2015-03-31 14:13:34 -05:00
Albert Cheng
6c04e6b03c [svn-r26675] HDFFV-9201: Create md5s for bzip, gzip and zip files
An md5 checksum is produced for each archive created and stored in the md5 file

Tested: jam by hand.
2015-03-31 12:40:43 -05:00
Albert Cheng
f207efd6f3 [svn-r26671] Since cmake always redoes everything from start, I change the logfiles to
start fresh everytime.

Tested: platypus
2015-03-30 23:30:58 -05:00
Larry Knox
306775bc98 [svn-r26670] Remove VPATH and LONE_COLON
Tested with h5committest
2015-03-30 19:05:07 -05:00
Larry Knox
11413003c2 [svn-r26669] Remove code to prevent duplicate includes of /usr/include and /usr/lib.
Tested h5committest
2015-03-30 17:12:39 -05:00
Binh-Minh Ribler
ea029945f5 [svn-r26667] Purpose: Fixed HDFFV-8766
Description:
    Per user Jason Newton request, the following constructor is added:
        H5File(hid_t existing_id);
    Also, fixed H5File::openFile to close current file first before re-using
    the object.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam gnu and Intel 15.0)
    SunOS 5.11 (emu)
2015-03-30 16:57:37 -05:00
Frank Baker
d2c5e2bf57 [svn-r26665] Description:
Update HDF Group copyright dates to include 2015.
2015-03-30 16:29:58 -05:00
Albert Cheng
88f8a3c11f [svn-r26662] added option to configure support for fortran2003 API.
--enable-fortran2003 | --disable-fortran2003:
  enable or disable fortran2003 API. Default is off.

Tested: by hand in platypus.
2015-03-30 14:32:31 -05:00
Allen Byrne
45577d5693 [svn-r26660] HDFFV-9131: autotols rework
Remove CXX_CONDITIONAL
remove unneeded/obsolete sections.

h5commtitest
2015-03-30 13:55:21 -05:00
Scot Breitenfeld
13980cd69a [svn-r26657] Fix for HDFFV09202.
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests

Tested: jam( --enable-fortran2003, gnu)
        koala (--enable-fortran2003, intel)
2015-03-30 13:17:45 -05:00
Binh-Minh Ribler
98d1c2d9a9 [svn-r26655] Purpose: Fixed HDFFV-7947
Description:
    When copy constructor or constructor that takes an existing id is invoked,
    the C ref counter stays the same but there is an extra C++ object which
    later is destroyed and may cause the HDF5 id to be closed prematurely. The
    C++ library needs to increment the ref counter in these situations, so that
    the C library will not close the id when it is still being referenced.

    However, the incrementing of ref count left some objects opened at the end
    of the program, perhaps, due to compiler's optimization on cons/destructors.    The constructor, that takes an existing id, needs to increment the counter
    but it seems that the matching destructor wasn't invoked.  The workaround
    is to have a function for each class that has "id" that only sets the id
    and not increment the ref count for the library to use in these situations.
    These functions are "friend" and not public.

    The friend functions are:
        void f_Attribute_setId(Attribute *, hid_t)
        void f_DataSet_setId(DataSet *, hid_t)
        void f_DataSpace_setId(DataSpace *, hid_t)
        void f_DataType_setId(DataType *, hid_t)
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam gnu and Intel 15.0)
    SunOS 5.11 (emu)
2015-03-30 12:58:44 -05:00
Allen Byrne
d0cea60466 [svn-r26653] Update default settings 2015-03-30 12:03:57 -05:00
Allen Byrne
3d1f7a21b3 [svn-r26652] Update default settings 2015-03-30 11:54:46 -05:00
Mohamad Chaarawi
3dd38a29b1 [svn-r26650] move size_t cast from define of HG_ALIGN to usage of HG_ALIGN. 2015-03-30 10:24:44 -05:00
Mohamad Chaarawi
01093ad350 [svn-r26649] squish warnings. 2015-03-30 10:12:49 -05:00
Quincey Koziol
bf7c3fb670 [svn-r26647] Description:
Bring r26639 from autotools_rework branch to trunk:

    Switch AC_TRY_RUN macros to AC_RUN_IFELSE macros.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-30 09:45:22 -05:00
Albert Cheng
56fe37c8e6 [svn-r26646] Bug fix: HDFFV-8957 h52gif crashes when run against one of our own examples.
Description: h52gif crashed when it was asked to convert a 24bitimage.
Upon viewing the code, it did not prepare to handle images other than 2 dimensions.
It has no concept of multiple planes images.  Further examinations showed past attempts
to fix it ended up removed some abilities (-p or multiple planes, animation, ...) have
been removed but documentation was not updated. Even its online help message still
shows -p is an option.

Solution: added protection code to flag errors if input request is not an
8bit image within size limits.  (I don't have enough knowledge of the GIF
format to fix this tool. All I did was plugging known bug from crashing the
program.)

Tested: h5committest.
2015-03-30 00:28:13 -05:00
Larry Knox
f617eeb78f [svn-r26645] Revert the part of revision 26642 that is in fortran/test and causes the error "undefined reference to `verify_fortran_integer_4_".
files:
    tH5P_F03.f90
    tf.f90

Tested:  h5committest and several failed daily tests.
2015-03-29 21:32:09 -05:00
Binh-Minh Ribler
39fb0401a0 [svn-r26643] Purpose: Adding new wrappers (HDFFR-9167 partially)
Description:
    Added wrappers for C functions H5P[s/g]et_libver_bounds and wrappers
    for getting object header version

      // Sets bounds on versions of library format to be used when creating
      // or writing objects.
      void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high) const;

      // Gets the current settings for the library version format bounds.
      void getLibverBounds(H5F_libver_t& libver_low, H5F_libver_t& libver_high) const;

      // Returns the object header version of an object in a file or group,
      // given the object's name.
      unsigned childObjVersion(const char* objname) const;
      unsigned childObjVersion(const H5std_string& objname) const;

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6
    SunOS 5.11
2015-03-28 23:37:28 -05:00
Scot Breitenfeld
8e5a71c716 [svn-r26642] Fix for HDFFV09202 and HDFFV-9171.
HDFFV-9171 Configure mistakes Cray Compilers for Intel Compilers,
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests 

Tested: h5committest
2015-03-28 15:24:36 -05:00
Binh-Minh Ribler
72d896f709 [svn-r26640] Purpose: Fix bugs
Description:
    - Changed DataType::operator= to simply copy the id of rhs instead of
      calling H5Tcopy because, when the operator= is invoked, a different
      datatype id is created and it won't have the same characteristics as
      rhs', specifically, if the rhs represents a named datatype, "this"
      would still be a transient datatype.
    - Added a DataType constructor that takes a PredType object, and this
      constructor will cause H5Tcopy to generate another datatype id, from a
      predefined datatype.
    - Fixed various mistakes in tests.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam/gnu and jam/icc 15)
    SunOS 5.11 (emu development/production)
2015-03-27 23:15:43 -05:00
Quincey Koziol
6f75afd15e [svn-r26635] Description:
Bring r26651 from autotools_rework branch to trunk:

    Remove the VSNPRINTF_WORKS macro, it's working around bugs in old SGI
& HP compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 19:37:08 -05:00
Quincey Koziol
68decbbc42 [svn-r26634] Description:
Bring r26550 from autotools_rework branch to trunk:

    Remove orphaned macro definitions (not attached to anything in the library)

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 17:22:49 -05:00
Neil Fortner
1756ca5c13 [svn-r26633] Add -D_DEFAULT_SOURCE to CPPFLAGS on Linux systems. -D_BSD_SOURCE is deprecated
in recent versions of glibc, and -D_DEFAULT_SOURCE is the replacement.  Keep
-D_BSD_SOURCE for now to support older systems.  gcc will not issue a warning
about -D_BSD_SOURCE being deprecated when -D_DEFAULT_SOURCE is supplied as well.

Tested: jam, koala, ostrich (h5committest)
2015-03-27 17:17:31 -05:00
Quincey Koziol
50d7a32330 [svn-r26632] Description:
Bring r26549 from autotools_rework branch to trunk:

    Remove the BAD_LOG2_CODE_GENERATED macro/define, it's working around bugs
in old SGI compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 17:17:24 -05:00
Scot Breitenfeld
ff1c86df14 [svn-r26631] reverted change r26629 2015-03-27 17:16:49 -05:00
Scot Breitenfeld
d494d7b3b9 [svn-r26629] Fix for HDFFV09202 and HDFFV-9171.
HDFFV-9171 Configure mistakes Cray Compilers for Intel Compilers,
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests 

Tested: h5committest
2015-03-27 17:10:24 -05:00
Quincey Koziol
b96e13a7e3 [svn-r26627] Description:
Bring r26545 from autotools_rework branch to trunk:

    Remove the WANT_DATA_ACCURACY macro/define/configure option, since it's no
longer attached to any library behavior.

Tested on:
    Linux/32 2.6.8 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 16:30:14 -05:00
Quincey Koziol
c2472b4d00 [svn-r26625] Description:
Bring r26543 from autotools_rework branch to trunk:

    Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around
bugs in very old SGI/FreeBSD/Windows compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:50:44 -05:00
Quincey Koziol
79f59eaf4d [svn-r26623] Description:
Bring r26513 from autotools_rework branch to trunk:

    Remove the LDOUBLE_TO_LLONG_ACCURATE macro/define, it's working around
bugs in older SGI, HP/UX, MacOSX and Windows .NET 2003 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:11:12 -05:00
Quincey Koziol
f7386e173c [svn-r26622] Description:
Bring r26546 from autotools_rework branch to trunk:

    Convert AC_TRY_RUN to AC_RUN_IFELSE, for the LDOUBLE_TO_LONG_SPECIAL and
LONG_TO_LDOUBLE_SPECIAL checks.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 14:33:41 -05:00
Quincey Koziol
e30b4b17cf [svn-r26618] Description:
Bring r26511 from autotools_rework branch to trunk:

    Remove the FP_TO_INTEGER_OVERFLOW_WORKS macro/define, which is for working
around bugs in the Cray X1 compiler and is no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 11:34:08 -05:00
Scot Breitenfeld
037f8104e8 [svn-r26616] Removed reference to grpit.f90 since it was removed. 2015-03-27 10:40:55 -05:00
Allen Byrne
538be8f847 [svn-r26612] Fix missing endif 2015-03-27 09:38:13 -05:00
Allen Byrne
eafd204b2d [svn-r26607] Correct test of plugin read when disabled to not print FAILURE when successful 2015-03-26 14:24:25 -05:00
Quincey Koziol
c4ec20a6de [svn-r26606] Description:
Bring r26508 from autotools_rework branch to trunk:

    Remove HW_FP_TO_LLONG_NOT_WORKS macro/define, it was only addressing
Windows .NET 2003 compiler issues.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 14:13:13 -05:00
Quincey Koziol
39373fbabb [svn-r26605] Description:
Bring r26503 & r26528 from autotools_rework branch back to the trunk:

    Remove old platform configure files: craynv, dec-flags, hpux11.23,
ia64-linux-gnu, nec-superux14.1, sv1-cray, x86_64-redstorm-linux-gnu

   Also remove CONVERT_DENORMAL_FLOAT, since this was only set in the
configure files being removed.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 13:34:11 -05:00
Allen Byrne
f3dd294ff2 [svn-r26604] Add component aware configuration 2015-03-26 12:26:03 -05:00
Quincey Koziol
c8a5172968 [svn-r26602] Description:
Bring r26502 from autotools_rework branch to trunk:

    Remove the H5_SW_ULONG_TO_FP_BOTTOM_BIT_WORKS and
H5_FP_TO_ULLONG_BOTTOM_BIT_WORKS macros/defines, as they are no longer used by
supported platforms.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 12:02:13 -05:00
Quincey Koziol
90cc5df290 [svn-r26598] Description:
Bring r26501 from the autotools_rework branch to the trunk:

    Remove ULLONG_TO_LDOUBLE_PRECISION macro/define, as it's targeting bugs
in the FreeBSD and Cygwin compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 22:05:30 -05:00
Quincey Koziol
27dd4e0f05 [svn-r26597] Description:
Bring r26500 from autotools_rework branch to trunk:

    Remove the LLONG_TO_FP_CAST_WORKS macro/define, as it targets problems with
the Visual Studio 6 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 21:25:32 -05:00
Quincey Koziol
b03d04742d [svn-r26596] Description:
Bring r26499 from autotools_rework branch to trunk:

    Remove ULLONG_TO_FP_CAST_WORKS macro/define, as it only applies to older
platforms we aren't supporting any longer.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 20:47:41 -05:00
Quincey Koziol
c622cc7b38 [svn-r26595] Description:
Bring r26494 from autotools_rework branch back to trunk:

    Remove the LDOUBLE_TO_UINT_ACCURATE macro/define, it was addressing
problems with older Intel compilers on Linux that are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for several days)
2015-03-25 17:11:19 -05:00
Allen Byrne
451a91e53b [svn-r26594] Merge macros and fortran changes from dual_binary feature.
Tested: local linux
2015-03-25 17:08:46 -05:00
Quincey Koziol
d3114a96da [svn-r26591] Description:
Bring r26492 from autotools_rework branch back to trunk:

    Remove the FP_TO_ULLONG_ACCURATE and FP_TO_ULLONG_RIGHT_MAXIMUM
macros/defines, which were added to address problems with older PGI
compilers and HP-UX systems and are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested on branch for >1 week)
2015-03-25 16:33:48 -05:00
Quincey Koziol
597c3c089b [svn-r26587] Description:
Bring r26489 from autotools_rework branch to trunk:

    Remove the ULONG_TO_FP_BOTTOM_BIT_ACCURATE macro/define, as it was added
for SGI systems and old Solaris systems, which are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested for >1 week)
2015-03-25 14:54:36 -05:00
Quincey Koziol
e89290b777 [svn-r26584] Description:
Bring r26485 from the autotools_rework branch to the trunk:

    Remove the ULONG_TO_FLOAT_ACCURATE macro/define, we no longer support the
Sandia system where it was necessary.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested for >1 week)
2015-03-25 14:12:00 -05:00