Commit Graph

760 Commits

Author SHA1 Message Date
Allen Byrne
378f40be26 [svn-r24165] Correct Info.plist settings 2013-09-19 08:32:06 -05:00
Allen Byrne
ba21e5b5e3 [svn-r24164] Add documentation on usage. 2013-09-19 08:22:59 -05:00
Quincey Koziol
38e0563a6e [svn-r24112] Description:
Bring r24101 & 24111 from trunk to 1.8 branch:

r24101:
=======
Description:
    Clean up warnings, enable new compiler warning flag(s) and bring back
changes from Coverity branch:

    r20813:
        Remove the dead code as listed for coverity bug #1722. h5committested.

    r20814:
        Issue 69: Check return value and throw error if negative return. Also free datatype id on error

    r20815:
        Use HDstrncpy. --gh

    r20816:
        Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832.

    r20817:
        Use HDstrncpy and HDstrncat. --gh

    r20818:
        Purpose: Fix valgrind issues with h5jam

        Description:
        Modified h5jam to free strings strdup'd in parse_command_line before exit. Note
        that they may still not be freed in case of error, due to the widespread use of
        exit().

    r20819:
        Issue 80: change loop to use int as loop index.

    r20820:
        Maintenance: Fixed the bug found by coverity CID 788
        There were two problems with this function:
            1) it tried to unnecessary free NULL pointer
        2) it tried to allocate c_name buffer that is done by H5Pget_class_name

r24111:
=======
Description:
   Restrict GCC diagnostic pragmas to only gcc 4.6+


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-06 14:09:07 -05:00
Allen Byrne
5c84b51030 [svn-r24024] JAVA-1714: CMake packaging for macs improved
HDFFV-7989: h5dump any_path and help text grouping
Added cygwin-64 support

Merged from trunk, tested local linux
2013-08-19 11:51:32 -05:00
Albert Cheng
a39c7228fb [svn-r24018] Bug fix: HDFFV-8500
The new gcc v4.8.* compilers does not work well with dt_arith which failed
in production mode.

Solution:
A temporary patch by removing any optimization (-O*) from the PROD_CFLAGS
so that dt_arith will pass for now.  A more through investigation is needed.

Tested: Jam, platypus and Koala where it failed and now passes.
2013-08-17 10:58:20 -05:00
Allen Byrne
6155473c38 [svn-r24009] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive). 2013-08-14 12:23:17 -05:00
Allen Byrne
528e0d1cac [svn-r23869] HDFFV-8302: replace (v)snprintf with _(v)snprintf for windows. Merge from trunk along with other windows functions and HD prefix corrections.
HDFFV-8394: Add cmake code to package examples

Tested: local linux
2013-07-08 10:52:49 -05:00
Allen Byrne
2d604aabdd [svn-r23787] Remove COMPILE_FLAGS value - already set in X_FLAGS
Add /MT support
2013-06-17 11:42:06 -05:00
Allen Byrne
c124635d18 [svn-r23785] Remove ignored FLAGS options for VS platforms. 2013-06-17 09:29:29 -05:00
Allen Byrne
e41f1a44b8 [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.
Tested: local linux
2013-06-14 09:24:27 -05:00
Albert Cheng
59318f2041 [svn-r23687] Bug fix: HDFFV-8435
Need to update libtool version number for v1.8.11 since two functions,
H5Pget_dxpl_multi and H5Pset_dxpl_multi were removed. Then v1.8 is now
v1.8.12-xxx and needed an update to.


config/lt_vers.am:
    libtool information is changed to 8.0.1 because it is a revision
    different from v1.8.10.

configure:
src/Makefile.in:
hl/src/Makefile.in:
hl/c++/src/Makefile.in:
hl/fortran/src/Makefile.in:
c++/src/Makefile.in:
fortran/src/Makefile.in:
README.txt:
    autogenerated by bin/reconfiure.

Tested: h5committest, then visual inspect that the libhdf5.so.x.y.z is
changed accordingly.
Built in duck by hand and see it changes to libhdf5.8.dylib too.
2013-05-09 00:12:31 -05:00
Allen Byrne
fdd81f6b89 [svn-r23654] Add parallel references to cmake config files 2013-04-29 11:10:24 -05:00
Albert Cheng
82869120a9 [svn-r23610] Improvement: DFFV-8245
Use Clang as the compiler for the Mac platform.

Changed all Mac to use clang/clang++ as the default C and CXX compilers if
not provided by the user. Still use gfortran as the default fortran
compiler since Apple does not provide any fortran compiler.

HDFFV-8245: bug fix. Snow Leopard (darwin 10.X) does not have clang++.
Reversed it to use gcc/g++ as the default C and CXX compilers for Darwin 10.X
systems.

Tested: h5committest plus duck (darwin 11), wren (darwin 12) and fred
(darwin 10).
2013-04-22 17:24:37 -05:00
Quincey Koziol
db1abfa91a [svn-r23592] Description:
Bring r23584 from trunk to 1.8 branch:

    Update with new compiler warnings for gcc 4.8.x

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/gcc 4.8.0
2013-04-15 13:24:39 -05:00
Dana Robinson
692af1936f [svn-r23573] Removed inappropriate executable properties from a few files. These are
often added by Windows text editors.

Tested on: jam (just tested to make sure it builds - no code changes)
2013-04-10 11:54:39 -05:00
Albert Cheng
e8a57439fa [svn-r23567] Post v1.8.11 branch-off, changed version to 1.8.12-snap0.
Reset RELEASE.txt for next release (1.8.12).

Tested: h5committest.
2013-04-09 12:48:11 -05:00
Raymond Lu
95332ad177 [svn-r23510] I merged the changes for DESY project from the trunk (r23496) into this 1.8 DESY branch.
Tested with h5committest (duck failed with CMake because I don't know how to change test/CMakeLists.txt.  I'll wait for Allen to do it).
2013-04-01 15:42:58 -05:00
Allen Byrne
62ed247721 [svn-r23318] HDFFV-8311: Improve tools testing and eliminate dependency problems
Tested: local linux
2013-02-25 12:26:14 -05:00
Allen Byrne
1629fd1ee7 [svn-r23301] 2013-02-18 14:03:53 -05:00
Scot Breitenfeld
8dcb0ee3d0 [svn-r23261] Brought r23235 from trunk into branch. 2013-02-12 19:04:15 -05:00
Allen Byrne
13693b307c [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support.
Tested: local linux
2013-01-31 12:30:34 -05:00
Dana Robinson
724a0a93b4 [svn-r23142] Purpose:
Merged 23111 from the trunk.
    (Core VFD and Mac OS X I/O changes)

Tested on:
    64-bit Windows 7, Visual Studio 2010, CMake
    64-bit Mac OS X Snow Leopard (Fred), Fortran, C++
    64-bit BE Linux (Ostrich), Fortran, C++
    32-bit LE LInux (jam), Fortran, C++ (also parallel w/ Fortran)
2013-01-07 20:19:17 -05:00
Allen Byrne
38517de982 [svn-r23141] Only do line by line compare if compare files fail. 2013-01-07 15:41:41 -05:00
Allen Byrne
520403e8e3 [svn-r23129] Update CPack to 2.8.10 2013-01-02 12:21:42 -05:00
Allen Byrne
8a7e609ba4 [svn-r23125] HDFFV-8202: merge cmake compare changes from trunk 2013-01-02 09:47:03 -05:00
Allen Byrne
dac22b3f03 [svn-r23065] HDFFV-8202: Add diff display to cmake output on error. Merged changes from trunk runTest.cmake. 2012-11-28 16:49:03 -05:00
Allen Byrne
765fb28a22 [svn-r23044] Restore build configuration defines for cmake 2012-11-21 10:05:49 -05:00
Albert Cheng
b650bd0bbd [svn-r22892] Increment release branch for future release (v1.8.11).
Set version number to 1.8.11-snap0.
Clear out RELEASE.txt to hold 1.8.11 changes
Update version references in RELEASE.txt
2012-10-12 13:26:55 -05:00
Albert Cheng
9ea64eb0b8 [svn-r22880] Bug Fix: HDFFV 8017
dt_arith would fail in Lion and Mountain Lion system when GCC version 4.2.1
is used with --enable-production. Somehow the -O optimization will fail some of
the hard conversion code.

Solution:
This is just a temporary patch by detecting if this is a Lion or Mountain Lion
system using GCC 4.2.1, then just remove the any -O option from the PROD_CFLAGS.
A better fix should be deviced later.

Tested: Duck(lion) and Owl (mountain lion) tested with --enable-production.
Also tested in Fred and Tejeda, both Snow Leopard systems to verify there is
no undesired side effect.
2012-10-10 00:08:59 -05:00
Albert Cheng
4148444e60 [svn-r22831] Bug fix: HDFFV-8069 AIX config file Fortran flags need fix
Description: The Fortran compiler flags were all set to "-O". They should be
different setting for different situations. E.g, "-g" for debug and
"-pg" for profile, etc.

Fix: set them to appropriate different values.

Tested: in Remote ADA AIX machines using 3 different settings:
    configure --enable-fortran --enable-cxx     # default to --disable-production
    configure --enable-fortran --enable-cxx --enable-production
    configure --enable-fortran --enable-cxx --disable-production
2012-09-27 16:08:30 -05:00
Allen Byrne
3117ffcbb4 [svn-r22788] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders
Tested: local
2012-09-19 09:32:13 -05:00
Allen Byrne
612af6440b [svn-r22724] Convert tests to *.sh.in.
Convert configure.in to configure.ac.
Align TESTS usage with autotools convention.
Update all references from configure.in to configure.ac

Tested: h5committest
2012-08-28 14:11:34 -05:00
Allen Byrne
5336fb2d01 [svn-r22719] Fix RelWithDebInfo packaging
Tested: windows
2012-08-28 12:38:44 -05:00
Allen Byrne
65b620ea49 [svn-r22634] Update CMake configuration files for current packaging layout 2012-08-06 11:40:49 -05:00
Allen Byrne
c2491932d9 [svn-r22632] Merge from trunk revision 22631
tested: local linux
2012-08-06 09:18:55 -05:00
Allen Byrne
d9ba5c234c [svn-r22571] HDFFV-7784,-8095,7936 merge from trunk
Tested: local linux with cmake
2012-07-13 10:18:27 -05:00
Allen Byrne
5096b7d3ec [svn-r22551] Merge changes from Trunk revision 22550 for:
HDFFV-4206, -7953, -5930, -2687, -5942

Tested: local linux with cmake
2012-07-11 10:15:21 -05:00
Allen Byrne
029ac0e3c8 [svn-r22514] Correct failure REGEX test to test value of TEST_EXPECT 2012-07-05 09:36:53 -05:00
Allen Byrne
635916cec0 [svn-r22477] Removed subfolder tools from install command, need to correct install template 2012-06-20 09:38:23 -05:00
Allen Byrne
25a711fdce [svn-r22474] Add check for MINGW - ws2_32 library
Tested: windows - mingw
2012-06-19 08:45:12 -05:00
Allen Byrne
b52c3aea3b [svn-r22470] Allow MinGW checks for fseek and the like
Tested: windows 32 mingw
2012-06-18 13:01:57 -05:00
Allen Byrne
ca76cbbd5b [svn-r22469] MinGW Flags need to use dash
set WINSOCK2_H
      do not test for endianess
      
Tested: windows 32 minGW
2012-06-18 12:29:44 -05:00
Allen Byrne
dd408f47f6 [svn-r22464] Correct name used for POSIX flag 2012-06-15 08:26:33 -05:00
Allen Byrne
b0e5e9208f [svn-r22462] ADD fortran warning to ignore list 2012-06-14 08:31:17 -05:00
Allen Byrne
751f22f99a [svn-r22454] Add NOT WINDOWS blocking around VSNPRINTF works check. 2012-06-12 08:54:27 -05:00
Allen Byrne
d857219181 [svn-r22451] Brought cmake configuration / configure changes from Trunk.
Tested jam, local linux
2012-06-11 11:12:49 -05:00
Allen Byrne
1bdad6835e [svn-r22416] Missing ${TEST_FOLDER} path component in test script 2012-05-29 09:31:09 -05:00
Allen Byrne
2f7d953a9d [svn-r22409] reduce compiler warnings reported by CDash for non-critical issues 2012-05-25 12:35:39 -05:00
Allen Byrne
8dee09d7cf [svn-r22407] do not need warnings from utility program. 2012-05-25 08:36:23 -05:00
Allen Byrne
588c5107ce [svn-r22397] Merge trunk changes for HDFFV-7999 and h5dump test script to branch 2012-05-23 13:31:42 -05:00