Commit Graph

13702 Commits

Author SHA1 Message Date
Quincey Koziol
1162465570 [svn-r24727] Description:
Revert change of sprintf -> snprintf, due to failures on Windows.  We'll
need to figure out the correct course of action in the future.

Tested on:
    MacOSX/64 10.9.1 (amazon) w/C++, FORTRAN
    (too minor to require h5committest)
2014-02-21 11:53:33 -05:00
Quincey Koziol
1e36b5a348 [svn-r24726] 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-20 16:29:26 -05:00
Allen Byrne
b30e37ea78 [svn-r24725] HDFFV-8629: h5repack will not attempt to remove UD filters. h5repack requires a check for UD filters that also must check if the filter can be dynamically loaded. This require a change in the library that checks for this.
Tested: locally and reviewed
2014-02-20 15:21:08 -05:00
Allen Byrne
d0ae86bc64 [svn-r24724] Fix MPI linker flags with quotes 2014-02-20 15:18:42 -05:00
Allen Byrne
bf908ca553 [svn-r24722] Set NSIS display name 2014-02-18 10:07:53 -05:00
HDF Tester
d7f00b8002 [svn-r24716] Snapshot version 1.9 release 172 2014-02-16 03:32:48 -05:00
Allen Byrne
7c54d413ae [svn-r24715] Add Windows VS version for README.txt 2014-02-14 09:30:30 -05:00
Allen Byrne
9dc573798d [svn-r24713] Update Windows VS version for README.txt 2014-02-14 09:15:28 -05:00
Mohamad Chaarawi
863ff882b6 [svn-r24709] 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.

Tested Manually on Jam and Ostrich.
Tested with h5commitest - Koala with intel compilers failed, but nothing had to do with those changes.
error on Koala: error while loading shared libraries: libirng.so
2014-02-13 17:12:46 -05:00
Allen Byrne
49a9979166 [svn-r24706] Add to instructions for install 2014-02-13 09:10:50 -05:00
Allen Byrne
82f62cd012 [svn-r24703] Add Binary README.txt file generation
Tested: local linux cmake
2014-02-13 09:00:00 -05:00
Allen Byrne
ab045c634c [svn-r24700] Updated packaging process to align with latest hdf cmake standards. 2014-02-11 15:22:16 -05:00
HDF Tester
1b6683e58f [svn-r24698] Snapshot version 1.9 release 171 2014-02-09 03:36:37 -05:00
Scot Breitenfeld
ecc60884a8 [svn-r24697] Fix for:
HDFFV-8651: H5F_Provisional missing from HDF5mpio.f90

Tested: jam (mpi 3.0.4/gnu)
2014-02-07 16:45:23 -05:00
Allen Byrne
6569d7437a [svn-r24682] Add IF SHARED block around Windows PDB file generation command. 2014-02-04 10:11:36 -05:00
Scot Breitenfeld
ee10548723 [svn-r24681] Description:
Fix for HDF5/HDFFV-8620 H5Rget_name with NULL name parameter fails.
The name parameter now excepts NULL, in which case the length of then
name is returned.


Tested: jam (intel and gnu)
2014-02-04 10:11:20 -05:00
HDF Tester
ddf75b10f6 [svn-r24676] Snapshot version 1.9 release 170 2014-02-02 03:34:20 -05:00
Allen Byrne
0a2ed24d0f [svn-r24672] Update document with ctest script changes. 2014-01-31 13:15:02 -05:00
Allen Byrne
a3e2fabb53 [svn-r24670] HDFFV-8567: Fix cmake tests for changes in reference files due to test script changes in autotools test scripts.
Tested: local linux
2014-01-31 09:15:59 -05:00
Allen Byrne
d9423717e4 [svn-r24668] HDFFV-8568: Remove Acknowledgements file from release binaries 2014-01-30 16:32:40 -05:00
Allen Byrne
b7b4e77f12 [svn-r24666] Fix test folder deletion issue
Tested: local linux autotools
2014-01-30 16:27:23 -05:00
Allen Byrne
2f8c7fbd5e [svn-r24659] Restore dsets test to cmake process 2014-01-28 17:20:41 -05:00
Allen Byrne
362ffa9f05 [svn-r24657] Add VS Express check 2014-01-28 16:48:36 -05:00
Allen Byrne
4f2f2cf6a2 [svn-r24656] Correct packaging variables and use standard cpack module. Remove file. 2014-01-28 16:30:10 -05:00
Allen Byrne
256b36e141 [svn-r24655] Correct packaging variables and use standard cpack module. 2014-01-28 16:25:21 -05:00
Albert Cheng
50bd3521af [svn-r24652] 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:33:34 -05:00
Allen Byrne
2f86aa7551 [svn-r24646] HDFFV-8640: Remove xlate_utility by fixing reference files to not add extra lines.
Tested: cmake and autotools local linux
2014-01-27 09:26:21 -05:00
Allen Byrne
8235d9820a [svn-r24644] Correct numbering 2014-01-24 15:06:35 -05:00
Allen Byrne
cf543d258e [svn-r24643] Handle szip lib like zlib lib 2014-01-24 15:05:56 -05:00
Allen Byrne
146a357b90 [svn-r24642] Update other VMs to latest versions 2014-01-24 14:37:21 -05:00
Allen Byrne
63df298fcc [svn-r24641] Handle szip lib like zlib lib 2014-01-24 14:35:58 -05:00
Allen Byrne
25b90a558c [svn-r24639] Add SUN specific block skipping. 2014-01-21 16:37:52 -05:00
Scot Breitenfeld
4a428e25b8 [svn-r24636] typesetting changes for documentation 2014-01-17 16:10:29 -05:00
Neil Fortner
132601ba46 [svn-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-01-16 16:31:26 -05:00
Allen Byrne
0ff7eb5cda [svn-r24632] Correct name of package location variable 2014-01-16 14:12:02 -05:00
Allen Byrne
1596d15623 [svn-r24631] Update change to relative install location for linux 2014-01-16 13:58:49 -05:00
Scot Breitenfeld
d4d0407a87 [svn-r24623] Enabled test for
HDFFV-8268 Fortran wrapper for H5Fget_file_image function

Tested: jam (pgi compilers)
        h5committest
2014-01-08 15:21:32 -05:00
Allen Byrne
d8b13f60ff [svn-r24621] Update files for changes to installation vars on windows. 2014-01-07 15:02:21 -05:00
Albert Cheng
f30276c462 [svn-r24617] 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:02 -05:00
Mohamad Chaarawi
6ceb9711b8 [svn-r24612] 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 12:56:45 -05:00
Scot Breitenfeld
1febc8a453 [svn-r24611] This is a partial fix for HDFFV-8634. It fixes the problem without --enable-fortran2003, where the optional parameter should not be given as an option for an interface to a C function. --enable-fortran2003 does not work due to a compiler bug in intel 14.0
Tested: kite (intel 14.0 with --enable-fortran)
2014-01-06 10:53:56 -05:00
Albert Cheng
0a128b20a6 [svn-r24604] 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 Koala
2014-01-01 13:31:36 -05:00
Mohamad Chaarawi
cdcf54a614 [svn-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.

h5committest done!
2013-12-30 15:22:28 -05:00
Allen Byrne
92d4f32514 [svn-r24588] Add sunos compile option changes 2013-12-19 09:55:17 -05:00
Allen Byrne
6a77f9821b [svn-r24505] Correct MacOSX bundle packaging 2013-12-05 15:46:09 -05:00
Allen Byrne
ebb6e8e3be [svn-r24504] HDFFV-8629: disable test until review is complete 2013-12-05 12:53:00 -05:00
Allen Byrne
0cffc628ba [svn-r24492] Correct autotools path 2013-12-03 16:47:56 -05:00
Allen Byrne
3b23b7eb1a [svn-r24487] HDFFV-8629: repack plugin_none test files.
CMake only until library updates approved.
2013-12-03 08:31:05 -05:00
Allen Byrne
008f2e4017 [svn-r24484] Update version and test name. 2013-12-02 16:00:22 -05:00
Allen Byrne
99a54a3056 [svn-r24483] Commit change from 1.8.12 src patch 2013-12-02 15:46:37 -05:00