Commit Graph

13795 Commits

Author SHA1 Message Date
Quincey Koziol
c1163e0399 [svn-r24995] Description:
Improve checks for NULL buffer from user during H5Dread/H5Dwrite calls.

Tested on:
    Linux/32 2.4.x (jam) w/gcc
2014-04-08 23:16:53 -05:00
Binh-Minh Ribler
0dc4ce3704 [svn-r24994] Purpose: Removed some warnings
Description:
    Turned on warnings and removed some of those.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-08 23:03:03 -05:00
Dana Robinson
5ae7ad342d [svn-r24993] Purpose:
Adds write tracking to the core VFD, which can be configured
via the H5Pset/get_core_write_tracking() API call. When enabled
and writing to the backing store is enabled, this feature will
track writes and only write out the changed bytes on flush/close.

Tested on:
    32-bit LE linux (jam) w/ Fortran and C++
    64-bit BE linux (ostrich)
    64-bit Darwin 12.5.0 (kite)

All were tested using the core VFD w/ paging on (core_paged
in the VFD list). Make check-vfd was also tested on jam.
2014-04-08 22:35:16 -05:00
Binh-Minh Ribler
385b4b40ae [svn-r24991] Purpose: Fixed HDFFV-3384
Description:
    - Added const to const arguments
    - Fixed miscellaneous comments
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-08 21:36:48 -05:00
Albert Cheng
aaf5c1d400 [svn-r24989] Problem:
AIX compiler complains that:
ex_ds1.f90, line 89.16: 1512-050 (W) Field separator is missing, in literal FMT specifier, after edit descriptor X.  A comma is assumed.
Line 89:
  WRITE(*,'(/,5X 3(A,1X),I0,A,L1)') 'Is',TRIM(DS_1_NAME),&

Solution:
Added the missing comma after "5X".

Tested:
AIX system.
2014-04-08 20:08:08 -05:00
Allen Byrne
ae84631570 [svn-r24987] HDFFV-8709, HDFFV-8776, HDFFV-8777, HDFFV-8778
Apply user patches, regenerate and patch results for windows.

Miminum changes tested locally
2014-04-08 14:35:34 -05:00
Scot Breitenfeld
9cd1a1bb60 [svn-r24986] Comparing REALs now converts all REALs to double precision and then compares if the two numbers are equivalent.
Tested: jam (gnu, intel)
2014-04-08 14:34:42 -05:00
Scot Breitenfeld
d1f2b1a682 [svn-r24985] reverted the r24984 update. 2014-04-07 20:00:24 -05:00
Scot Breitenfeld
ff9a10cfda [svn-r24984] Added overload operatorZ to compare REALs for tests.
Tested on jam (gfortran, (-r8))
2014-04-07 19:18:20 -05:00
Binh-Minh Ribler
67a61ed22f [svn-r24983] Purpose: Fix HDFFV-8367
Description:
    - Added wrappers to CommomFG for H5Oget_info_by_name() to get a child
      object's type (requested by user)
        H5O_type_t childObjType(const H5std_string& objname) const;
        H5O_type_t childObjType(const char* objname) const;
        H5O_type_t childObjType(hsize_t index, H5_index_t index_type=H5_INDEX_NAME, H5_iter_order_t order=H5_ITER_INC, const char* objname=".") const;
    - Added tests to tobject.cpp
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-07 15:08:59 -05:00
Elena Pourmal
849177c7b6 [svn-r24979] Maintenance: Addressed DT failures on emu in 64-bit mode and on macs, linux, powerpc
for non-standard sizes of reals.

Platforms tested: jam, ostrich, platypus, kite, quail, emu
2014-04-07 12:05:22 -05:00
Scot Breitenfeld
f6a04cded9 [svn-r24978] Removed the .mod (and .raw) files when make clean is issued.
tested (emu).
2014-04-07 11:29:23 -05:00
Allen Byrne
c520294d67 [svn-r24977] Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32
Tested: local linux CMake
2014-04-07 10:39:13 -05:00
Binh-Minh Ribler
25b1330915 [svn-r24975] Description:
Added c++/test/tobject.cpp
2014-04-07 09:11:13 -05:00
Elena Pourmal
c455fdc4f1 [svn-r24974] Maintenance: Fixed daily tests parallel tests compilation failures
Platforms tested: jam
2014-04-07 08:49:00 -05:00
Binh-Minh Ribler
607634a69b [svn-r24973] Description:
Added c++/test/tobject.cpp
2014-04-06 22:27:14 -05:00
Elena Pourmal
805b1ec23c [svn-r24972] Maintenance: Fixed another typo; see HDFFV-8714 2014-04-06 17:57:04 -05:00
Elena Pourmal
dde80eef11 [svn-r24970] Maintenance: Fixed a typo in a comment line (see HDFFV-8714) 2014-04-06 17:52:44 -05:00
Binh-Minh Ribler
a08f75b073 [svn-r24969] Description:
- Added wrappers to H5Object for H5Iget_name() to get object's name
        ssize_t getObjName(char *obj_name, size_t buf_size = 0) const;
        ssize_t getObjName(H5std_string& obj_name, size_t len = 0) const;
        H5std_string getObjName() const;
    - Added tests tobject.cpp
    - Added to various cleanup_* functions in tests to remove generated files
    - Added an overload H5I_type_t getHDFObjType() to get object's type
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu) with gmake
2014-04-06 17:36:15 -05:00
Elena Pourmal
70daa61a87 [svn-r24967] Maintenance: Reorganized and cleaned the code to remove compiler warnings in the Fortran test code
and examples. 

Platforms tested: Manual testing in place and using srcdir on jam, platypus, and emu with default and 
                  PGI, Intel and new GNU compilers. ifort compiler was also tested with -i8 and -r8 flags
                  on jam.  CMake tested on jam.
2014-04-06 10:56:21 -05:00
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