Commit Graph

13281 Commits

Author SHA1 Message Date
Elena Pourmal
fadc2d8c61 [svn-r24971] Maintenance: Fixed two typos in the comments; see HDFFV-8714 2014-04-06 17:56:08 -05:00
HDF Tester
4770fc0aad [svn-r24968] Snapshot version 1.8 release 13 (snap7) 2014-04-06 17:10:58 -05:00
Scot Breitenfeld
3936548bc5 [svn-r24930] Merged changes in the trunk to the branch,
svn merge -r24650:24929 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran .

tested: jam (intel, pgi, gnu)
2014-03-31 09:25:44 -05:00
Binh-Minh Ribler
963bace0d1 [svn-r24928] 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 19:48:46 -05:00
HDF Tester
63c5964bb4 [svn-r24927] Snapshot version 1.8 release 13 (snap6) 2014-03-30 17:07:13 -05:00
Allen Byrne
9358ecc1a3 [svn-r24921] Add MINGW check 2014-03-27 15:36:03 -05:00
Allen Byrne
441eee4ab1 [svn-r24915] Correct merge mistake 2014-03-27 11:42:10 -05:00
Binh-Minh Ribler
764128aaf2 [svn-r24913] Purpose: Fix HDFFV-8642
Description:
    Added CompType::setSize(size_t size) to set size for compound data type
    as H5Tset_size had been changed.
    Merged from trunk-24912
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-27 00:09:59 -05:00
Allen Byrne
d9020f2e35 [svn-r24906] Merge latest CMake changes from trunk.
Tested: local linux
2014-03-26 10:00:35 -05:00
Binh-Minh Ribler
3944dcb308 [svn-r24902] 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 22:30:07 -05:00
Quincey Koziol
a7d3f5b5b1 [svn-r24894] Description:
Bring r24869 & r24875 from trunk to 1.8 branch:

    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
    (daily tested on trunk)
2014-03-25 10:58:48 -05:00
Quincey Koziol
708e8077c2 [svn-r24879] Description:
Missed a file in the last checkin.
2014-03-24 13:12:43 -05:00
Quincey Koziol
25147d5567 [svn-r24878] Description:
Bring r24864 from trunk to 1.8 branch:

    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
    (daily tested on trunk)
2014-03-24 12:41:18 -05:00
HDF Tester
f5a2f3d611 [svn-r24871] Snapshot version 1.8 release 13 (snap5) 2014-03-23 17:09:33 -05:00
Binh-Minh Ribler
74079aa0de [svn-r24870] 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
    - Added a null terminator to the comment returned from the C call, in
        getComment methods
    - Some minor cleanup
    Merged from trunk: -r24865 -r24867
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-23 16:30:43 -05:00
Binh-Minh Ribler
e18ee63c5a [svn-r24868] Purpose: Applied user patch, HDFFV-8623
Description:
    Applied patch from user Jason Newton.  JIRA issue HDFFV-8623, patch
    0009, improve c++ compatibility with exceptions.  All additions of "throw()"
    are included.  Exception::what() is not added because it is not necessary.
    It was suggested for the name, which follows stdlib.
    Merged from trunk -r24830
Platforms tested:
    SunOS 5.11 (emu)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2014-03-23 01:12:05 -05:00
Quincey Koziol
f2aa62ec76 [svn-r24810] Description:
Bring r24803 & r24804 from trunk to 1.8 branch:

r24804:
   Brought changes from Coverity branch back to trunk, and cleaned up misc.
   other warnings & formatting issues:

   r20833:
   Fixed Coverity 667 and 668 with real integer overflow tests this time.

   r20834:
   Use HDstrncpy and HDstrncat. --gh 

   r20835:
   Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159

   r20836:
   Fixed coverity 585 by casting output of fgetc() to a char.

   r20837:
   Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967.

r24803:
  Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from
  src/H5private.h to src/H5public.h.  Wrap typedef of hsize_t and hssize_t
  in DIAG_OFF(long-long) macros.

  Clean up a bunch of "macro '-' is unused" warnings.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-03-17 09:28:40 -05:00
Albert Cheng
4ffe2f78c5 [svn-r24800] HDFFV-8704: Mac OS X 10.6 (Snow Leopard) is retired from supported platforms. 2014-03-14 13:14:37 -05:00
Neil Fortner
a14244c6a6 [svn-r24794] Port r24757 from trunk to 1.8 branch.
Tested: ostrich, platypus (h5committest, apparent system issue on jam and koala)

Log from r24635:
Change assertion to condition check/error return.  Should fix periodic
assertion failure in fheap test (in test that is expected to fail cleanly).

Fix typo in H5detect.c

Tested: ostrich, platypus (h5committest - jam and koala having issues)
2014-03-13 17:20:47 -05:00
Albert Cheng
41f660dd17 [svn-r24787] Updated information for platform Mac 10.8 and 10.9. Moved Mac OSX 10.6 (fred)
to also tested platforms.
2014-03-12 16:08:21 -05:00
Quincey Koziol
e2c3ecd825 [svn-r24785] Description:
Bring r24769 & r24772 from trunk to 1.8 branch:

   Check in Mohamad's changes to support collective I/O on point selections,
along with some other minor cleanups.

    Correct some dynamically sized arrays that fail on Windows.

Tested on:
     Mac OSX/64 10.9.2 (amazon) w/parallel
     (And has been through the daily test regime on the trunk)
2014-03-12 12:22:29 -05:00
HDF Tester
a8a8652ebd [svn-r24771] Snapshot version 1.8 release 13 (snap4) 2014-03-09 17:09:06 -05:00
Albert Cheng
7f5c65bdc8 [svn-r24760] Mac OS X 10.9 Mavericks is added to the support feature list. 2014-03-04 18:34:00 -05:00
Albert Cheng
a0b291db5b [svn-r24759] Added test support for Mac OS X Mavericks. 2014-03-04 14:44:05 -05:00
HDF Tester
bcc9e4a976 [svn-r24754] Snapshot version 1.8 release 13 (snap3) 2014-03-02 17:08:04 -05:00
Allen Byrne
e5759186e8 [svn-r24746] Merge trunk revision 24744 from cmake branch includes;
HDFFV-8505: UD filter changes to remove filters in h5repack.

Tested: local linux
2014-02-27 14:16:04 -05:00
Albert Cheng
e674aaf859 [svn-r24740] Bug fix: HDFFV-8684
h5committest failed in platypus because cmakehdf5 failed in installation because cmake generates
a install-tarball based on incomplete version number (subrelease string is missing).

Solution:
Fixed $HDF5_PACKAGE_VERSION to contain the subrelease string.
Fixed $HDF5_PACKAGE_VERSION_STRING to be the same as $HDF5_PACKAGE_VERSION.

Tested: jam and platypus in both trunk and v18 branches because the current 
version number is trunk has a null sub-release and v18 has a non-null sub-release.
That covers both grounds.
2014-02-26 16:30:20 -05:00
Albert Cheng
c240dd4687 [svn-r24738] Updated with changes made back on Jan 27. 2014-02-26 15:21:05 -05:00
Neil Fortner
0baea76953 [svn-r24735] Port r24635 from trunk to 1.8 branch.
Note: despite the log from r24635, it was decided that this is the actual fix
for the error described in HDFFV-8647 that is not specific to BSD.  This does
not address the BSD issue, which is apparently unrelated.

Tested: jam, ostrich, platypus (h5committest, apparent system issue on koala)

Log from r24635:
Change some range check assertions to errors in H5HF_man_remove in  an attempt
to aid in diagnosing issue HDFFV-8647.

Tested: ummon
2014-02-24 16:21:00 -05:00
Larry Knox
f4781c29da [svn-r24732] Fix for reconfigure, which fails because LT_ADD_LIBHDF5_DEPENDENCY is used in Makefiles but the declaration in configure.ac is missing.
Copied declaration from trunk.  Tested with h5committest on jam ostrich koala and platypus(cmake).
2014-02-22 13:22:26 -05:00
Quincey Koziol
86d6651b44 [svn-r24728] Description:
Bring r24726 & r24727 from trunk to 1.8 branch:

Description:
   Revert some earlier usage of strncpy, which was incorrect.

   Bring Coverity changes from branch back to trunk:

r20821:
   Use HDstrncpy. --gh
   (Fixed already, with strdup)

r20822:
   (Not merged, incorrect use of HDstrncpy())

r20823:
   (Not merged, incorrect use of HDstrncpy())

r20824:
   Maintenance: Bug fix: addressed CID 666.
   Value stored at *expression_len should be used in the call to
       HD5packFstring to avoid overflow (and unnecessary arithmetic
       calculation and casting) 

r20825:
   Issue 642: Added check for error and handler with print to stderr and exit.

r20826:
   Undo revision 20818, as that issue has already been fixed in the 1.8 branch
       and trunk (but not coverity branch)

r20827:
   (Not merged, incorrect use of HDstrncpy())

r20828:
   Use HDstrncpy. --gh
   (Corrected use of strncpy())

r20829:
   Check return of H5Lget_val(print_udata->fid, path, targbuf,
       linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0.
       Check if  H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL,
       &filename, &objname) was successful and allow print. Otherwise filename
       and objname are not created. (init those to NULL)

r20830:
   resolved coverity issues 939, 940, 941, 944, and 947.

   all were complaints about use of sprintf, and in all cases, the
   buffers used were large enough for all eventualities.

   Resolved issue by replacing calls to sprintf with calls
   to snprintf.

r20831:
   Maintenance: Addressed CID 852
   Replaced sprintf with snprintf

r20832:
   Purpose: Fix valgrind issues with hl/examples/ex_image2

   Description:
   Modified hl/examples/ex_image2 to free global "gbuf" before exit.

Tested on:
   Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety
   (too minor to require h5committest)
2014-02-21 11:59:33 -05:00
Allen Byrne
456507476f [svn-r24721] Set NSIS display name 2014-02-18 10:07:39 -05:00
Mohamad Chaarawi
32baeca60f [svn-r24720] bring r24709 from trunk:
rename H5V to H5VM since H5V is needed in the fastforward project for
view objects.  The addition of view objects in the fastforward project
is expected to be brough into the trunk sometimes in the future, which
is why we need to make this change.
2014-02-17 19:19:34 -05:00
Neil Fortner
1cc2bf00e1 [svn-r24699] Port r24463 from trunk to 1.8 branch.
Tested: jam, ostrich, platypus (h5committest, apparent system issue on koala)

Log from r24463:
Issue 8484 - Segfault during H5Fopen of corrupt file.  I put a condition check to make sure a pointer isn't NULL.

Tested on jam - very simple change.
2014-02-10 12:24:52 -05:00
Allen Byrne
551c147aa9 [svn-r24684] Add IF SHARED block around Windows PDB file generation command. 2014-02-04 10:29:04 -05:00
Allen Byrne
ea30f2156b [svn-r24680] Remove acknowledgment file from install.
Remove obsolete CPack.cmake file.
Merge h5repack and h5mkgrp test folder changes from trunk.

Tested: local linux
2014-02-03 16:59:26 -05:00
Allen Byrne
960dbc9169 [svn-r24672] Update document with ctest script changes. 2014-01-31 13:15:02 -05:00
Allen Byrne
d7e8a93078 [svn-r24654] HDFFV-8640: Remove XLATE_UTILITY
Update tools testfiles
2014-01-28 11:11:22 -05:00
Albert Cheng
554d0eaccd [svn-r24653] HDFFV-8572: test/testhdf5.c main() should not return number of errors
Solution: testhdf5 now exits EXIT_SUCCESS(0) if no errors, else 
EXIT_FAILURE(1).

Tested: Jam only since it is a trivial fix.
2014-01-27 17:34:17 -05:00
Scot Breitenfeld
dcde3e4cdf [svn-r24651] Merged changes in the fortran directory from the trunk into the branch,
svn merge -r23351:24650 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran .

Tested: jam (gcc, intel), koala (gcc)
2014-01-27 17:13:23 -05:00
Allen Byrne
3ffdf81de4 [svn-r24640] Add SUN specific block skipping.
Tested: emu
2014-01-22 10:09:20 -05:00
Allen Byrne
d042dac6ae [svn-r24637] Add SUN if blocks 2014-01-21 14:36:32 -05:00
Allen Byrne
00b3a3332c [svn-r24626] Correct numbering 2014-01-14 13:48:04 -05:00
Mark Evans
56b52ad9b9 [svn-r24625] Edited the Preconditions section. There were two Notes sections at the end of the section. 2014-01-14 13:36:03 -05:00
Albert Cheng
3b2ba22320 [svn-r24618] Changed --old to --script as directed by Allen.
Tested: jam (only verify help message is correct and --script is invoked
correctly.)
2014-01-07 14:31:50 -05:00
Albert Cheng
3eaf85e45a [svn-r24615] Feature: HDFFV-8336
Changed to use the quick steps described in INSTALL_CMake.txt.
Previous version is available by --old.
Added a help page to explain how to use.
Added a fix to figure out the current HDF5 version and use that to find the
correct file for install. (Still need to figure out the platform name.)

Tested: Jam and Platypus. Both failed in the installed steps because
the Cmake produced HDF5-1.8.13-Linux.sh even though the version number is
1.8.13-snap3.  Committed it so that Allen can fix the version number error.
2014-01-06 17:02:40 -05:00
Mohamad Chaarawi
8266f69f5e [svn-r24614] Bring 24612 from trunk:
fix bugs in parallel tests exposed in corner cases when running with 1 or 2 processes.
First bug is in testpar/t_mdset.c, where the test reports an error in addition to skipping the test if there are less than three procs. Fix to just skip the test.
Second bug is in testpar/t_dset.c in actual_io_mode tests, where incorrect expected value for IO mode was set if the number of procs running the test is 1.

tested with h5committest.
2014-01-06 13:31:40 -05:00
Mohamad Chaarawi
b3a2bd81a1 [svn-r24599] Merged /trunk:r24598
allocate and use the H5AC_aux_t struct even if num_procs == 1.  This
was a bug exposed by running a single process with a program that
generates lots of dirty metadata that needs to be flushed.

  --This line, and those below, will be ignored--

_M   .
M    src/H5AC.c
2013-12-30 15:52:17 -05:00
Raymond Lu
582b9a6d3c [svn-r24512] I updated the path of ZLIB.
Tested on VMS.
2013-12-09 15:09:28 -05:00
Raymond Lu
f1b8facee4 [svn-r24511] I updated the path of ZLIB.
Tested on VMS.
2013-12-09 15:08:56 -05:00