Commit Graph

13975 Commits

Author SHA1 Message Date
HDF Tester
a9724dfd6c [svn-r24966] Snapshot version 1.9 release 176 2014-04-06 04:20:59 -05:00
Dana Robinson
5d7af691c3 [svn-r24965] Fixed a typo in the thread-safe code.
Tested on:
    32-bit LE linux w/ thread-safe (jam)
2014-04-04 22:35:32 -05:00
Albert Cheng
785d65181d [svn-r24964] HDFFV-8704: Mac OS X 10.6 (Snow Leopard) is retired from supported platforms. 2014-04-04 17:35:51 -05:00
Dana Robinson
b17ef126a7 [svn-r24961] Updates to Win32 thread-local storage cleanup when the thread-safe library is built on Windows. Previously, thread-local storage was not cleaned up, causing resource leaks.
Fixes HDFFV-8518, HDFFV-8699

As a part of these changes, the thread-safe + static library options are declared unsupported since the solution relies on DllMain. A solution for the static library is probably doable, but requires much more complicated surgery and has been deferred to HDF5 1.8.14.

Tested on:
    64-bit Windows 7 using VS 2012 (changes only affect Windows)
2014-04-04 15:51:30 -05:00
Scot Breitenfeld
79a891c241 [svn-r24959] Updated the development procedures. 2014-04-03 15:51:16 -05:00
Allen Byrne
5f4562b2ea [svn-r24954] HDFFV-8700: lowercase CMake commands 2014-04-03 10:34:08 -05:00
Scot Breitenfeld
e26b78a04b [svn-r24953] Fixed --enable-production compilation error using Sun compilers.
Tested (emu)
2014-04-03 10:18:42 -05:00
Scot Breitenfeld
b0bdd25417 [svn-r24952] Fixed -i8 -r8 error with optimization on jam using intel compiler.
Tested: jam (intel)
2014-04-03 10:01:21 -05:00
Scot Breitenfeld
b87b1c965d [svn-r24951] Changed ordering of initiation of variable to remove warnings using sun compilers.
Tested: emu
2014-04-03 09:35:54 -05:00
Allen Byrne
6739a7f7ac [svn-r24950] Add missing prefix 2014-04-03 08:56:51 -05:00
Allen Byrne
98bbf4a36a [svn-r24948] Group tests by Common name
Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32

Tested: local linux CMake
2014-04-02 13:35:01 -05:00
Scot Breitenfeld
5555f057ae [svn-r24945] Fixed failed test on jam with intel compilers and -i8 -r8
Tested: jam (intel)
2014-04-02 09:17:14 -05:00
Scot Breitenfeld
c86aedeba1 [svn-r24939] Fix for HDFFV-8309 Fortran wrappers for H5Pget/set_file_image functions
Tested: jam (gnu, intel, pgi)
2014-04-01 10:15:26 -05:00
Binh-Minh Ribler
0fcac56705 [svn-r24938] Description:
- Overloaded Atribute::getName to take a char* for the attribute name:
        ssize_t Attribute::getName(char* attr_name, size_t buf_size)
    - Switched the arguments in this function:
        ssize_t getName(size_t buf_size, H5std_string& attr_name)
        so it became:
        ssize_t getName(H5std_string& attr_name, size_t buf_size)
        The second argument is default to 0, and can be skipped.
    - Removed this function:
        H5std_string getName(size_t buf_size); it'll collide with the
        first function when that function takes a NULL for the first
        argument, and uses default value for the second argument.
    - Added more tests
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-01 00:59:37 -05:00
Dana Robinson
d01ee66666 [svn-r24937] Adds an H5free_memory() function to the library for use with
functions that return library-allocated memory. The test and tool
code were modified to use this new function where it's appropriate.

Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551

Tested on:
    64-bit Windows 7 w/ VS2012
    32-bit LE linux w/ parallel and fortran (jam)
    32-bit LE linux w/ fortran and C++ (jam)
2014-03-31 18:35:09 -05:00
Allen Byrne
ef9db69bf3 [svn-r24936] Correct declaration name 2014-03-31 14:54:03 -05:00
Allen Byrne
f5f913436f [svn-r24935] Correct line numbers 2014-03-31 14:52:22 -05:00
Allen Byrne
163f4036ec [svn-r24934] Update file as referenced in configure 2014-03-31 13:37:22 -05:00
Allen Byrne
8faebe2aa8 [svn-r24933] Add file required by automake 2014-03-31 12:55:47 -05:00
Allen Byrne
c6fe8c70b2 [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS instead of INCLUDES. Update automake to 1.14.1
h5committest
2014-03-31 12:07:05 -05:00
Allen Byrne
cf482acf55 [svn-r24931] Add interface property to target 2014-03-31 10:45:07 -05:00
Binh-Minh Ribler
5f17eea9cd [svn-r24929] Description:
Added proper deallocation/allocation to test.
    Revised incorrect comments.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-31 00:27:17 -05:00
Binh-Minh Ribler
82df757e96 [svn-r24926] Description:
Added c++/test/tdspl.cpp
2014-03-30 11:16:04 -05:00
Binh-Minh Ribler
be38074a2f [svn-r24925] Purpose: Fix HDFFV-7907
Description:
    Added transform property list functions
        // Constructor creates a dataset transform property list.
        DSetMemXferPropList(const char* expression);

        // Sets data transform expression.
        void setDataTransform(const char* expression) const;
        void setDataTransform(const H5std_string& expression) const;

        // Gets data transform expression.
        ssize_t getDataTransform(char* exp, size_t buf_size=0) const;
        H5std_string getDataTransform() const;

    Added test file tdspl.cpp.

Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-30 11:15:11 -05:00
HDF Tester
d6cd6cabc2 [svn-r24924] Snapshot version 1.9 release 175 2014-03-30 04:18:22 -05:00
Allen Byrne
5ccbc671e4 [svn-r24919] Add MINGW check
Tested: MinGW on Windows 7
2014-03-27 15:34:35 -05:00
Allen Byrne
65ebbe2753 [svn-r24918] Fix command case 2014-03-27 15:32:47 -05:00
Binh-Minh Ribler
e79b0dece5 [svn-r24912] Purpose: Fix HDFFV-8642
Description:
    Added CompType::setSize(size_t size) to set size for compound data type
    as H5Tset_size had been changed.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-26 23:36:53 -05:00
Allen Byrne
448e1e05f1 [svn-r24904] Revert includes move 2014-03-26 09:38:18 -05:00
Allen Byrne
1e1f754fb0 [svn-r24903] Correct mod install lists
Tested: local linux
2014-03-26 09:36:08 -05:00
Binh-Minh Ribler
7ed2b997ba [svn-r24901] Description:
Fixed mismatched function prototype/definition that caused daily
    test failure on emu/production/HDF5TestExpress=1.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-25 19:47:07 -05:00
Allen Byrne
9db0c02b96 [svn-r24899] Add msmpi fortran libs to FindMPI 2014-03-25 16:57:30 -05:00
Allen Byrne
425408b5a1 [svn-r24895] Add INTERFACE properties to libs 2014-03-25 13:25:53 -05:00
Dana Robinson
84e27c4af1 [svn-r24893] CMake now prohibits configuring thread-safety w/ Fortran and C++.
These changes only apply to non-Cygwin Windows since CMake does not allow configuring thread-safety on any other platform.

Tested on 64-bit Windows 7.
2014-03-25 10:44:51 -05:00
Allen Byrne
403506efd4 [svn-r24889] Fix fortran mod file handling and packing 2014-03-24 16:58:59 -05:00
Scot Breitenfeld
8b27024edd [svn-r24888] Cleaned-up warning errors using --enable-fortran only and gcc 4.8.2
tested: gcc (4.8.2, jam)
2014-03-24 16:20:14 -05:00
Allen Byrne
075a5a9a3a [svn-r24887] Fix fortran mod file handling and packing 2014-03-24 16:03:32 -05:00
Allen Byrne
63e1b32068 [svn-r24886] Fix fortran mod file handling and packing 2014-03-24 16:00:34 -05:00
Allen Byrne
810285be8e [svn-r24876] Move includes command up before all programs 2014-03-24 11:29:13 -05:00
Quincey Koziol
f251a0219c [svn-r24875] Description:
Update with corresponding information that was changed in
hl/src/H5Tanalyze.l in r24869.

Tested on:
    Linux 2.6.32-431.5.1.el6.ppc64/64 (ostrich)
2014-03-24 10:48:36 -05:00
Quincey Koziol
f97d63cb95 [svn-r24869] Description:
Clean up more compiler warnings, plus merge a few Coverity bug fixes from
the hdf5_1_8_coverity branch back to the trunk:

r20877:
Purpose: Fix coverity issue 1723

Description:
Modified test_generate in hl/test_image to close file "f" before exit, even if
an error occurs.

r20879:
Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go
futher if call fails as well as empty.

r20881:
Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether
FLAG_PRINTED is TRUE.  But it had just been set to FALSE.  I took out the
condition check in the print statement.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel
    (too minor to require h5committest)
2014-03-23 01:27:57 -05:00
Binh-Minh Ribler
67be45610f [svn-r24867] Description:
- Added a null terminator to the comment returned from the C call, in
        getComment methods
    - Some minor cleanup
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (platypus)/PGI compilers
2014-03-22 15:39:44 -05:00
Scot Breitenfeld
958a762dd1 [svn-r24866] Fixed compiler warnings using gnu 4.8.1
Tested: jam( intel, gnu, pgi)
2014-03-22 15:01:58 -05:00
Binh-Minh Ribler
60df159d33 [svn-r24865] Description:
- Added another overload for char* argument:
        ssize_t getComment(const char* name, const size_t buf_size, char* comment)
    - Changed default value to 0 for the other two getComment methods
    - Added HDmemset to after every char string allocation to clear the buffer
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (platypus)/PGI compilers
2014-03-21 18:23:05 -05:00
Quincey Koziol
2e4302818a [svn-r24864] Description:
Remove all traces of MPI-POSIX VFD and GPFS detection/code.

    Remove remaining traces of stream VFD.

    Remove testpar/t_posix_compliant test (it's not actually verifying anything).

    Clean up H5D__mpio_opt_possible() further.

    Moved environment variable that disables MPI collective operations into
MPI-IO VFD (instead of it being in src/H5S.c).

    A few other small code cleanups.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel & serial
2014-03-21 18:02:24 -05:00
Allen Byrne
c4f982abf1 [svn-r24859] Remove unnecessary use of $(srcdir).
Tested: local linux, h5committest
2014-03-21 13:50:30 -05:00
Dana Robinson
7a4727d80c [svn-r24857] --enable-threadsafe no longer requires --with-pthreads if Pthreads can
be found in the standard include and library paths.

Tested on:
    32-bit LE linux (jam)
    SunOS 5.11 (emu)
    64-bit Darwin 12.5 (kite)
    64-bit FreeBSD 8.2 (freedom)

Testing focused on making sure that Pthreads could be found on different
platforms and investigating the interaction of Fortran/C++/thread-safe
options.
2014-03-21 10:19:07 -05:00
Scot Breitenfeld
6515a1f8ac [svn-r24856] added missing common statement 2014-03-21 09:34:05 -05:00
Scot Breitenfeld
6c13c99ce9 [svn-r24855] added missing dllexport 2014-03-21 09:28:03 -05:00
Allen Byrne
da23edd24e [svn-r24851] example causes modal permission dialog to popup on windows. build but do not execute. 2014-03-20 16:18:30 -05:00