summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20648] Description:Quincey Koziol2011-04-261-1/+1
| | | | | | | | | Correct spelling error in macro. (FUNC_ENTER_NOAPI_NOFUNC_NOINIT -> FUNC_ENTER_NOAPI_NOINIT_NOFUNC) Tested on: Eyeballed only. (h5committest not required for this branch)
* [svn-r20588] Description:Quincey Koziol2011-04-2130-129/+98
| | | | | | | | | Clean up code a bit, move new "terminate" VFD callback to new position in H5FD_class_t struct. Tested on: Mac OS X/32 10.6.7 (amazon) w/debug & production (h5committest not required on this branch)
* [svn-r20587] Description:Quincey Koziol2011-04-2119-50/+48
| | | | | | | | Initial commit of John Biddescomb's VFD & MPI tweaks. Tested on: None (yet) (h5committest not required for this branch)
* [svn-r20584] I updated it for 2 new data files in h5diff/testfiles.Raymond Lu2011-04-201-1/+2
| | | | Tested with h5committest.
* [svn-r20581] Bug 1386 - allowing dimension size to be zero. I forgot to ↵Raymond Lu2011-04-202-0/+0
| | | | | | check in these 2 data files for the test. Now test is needed.
* [svn-r20577] Bug 1386 - allowing dimension size to be zero. I added test ↵Raymond Lu2011-04-2010-3/+164
| | | | | | | | cases in the tests for h5dump and h5diff. I also added the test cases in the CMAKE script. Tested on jam, linew, and amani. Tested CMAKE on jam.
* [svn-r20572] Bug #5929: On windows check for existence of ↵Allen Byrne2011-04-203-23/+93
| | | | | | InitOnceExecuteOnce for use by threads. merge from 1.8 r20568
* [svn-r20561] Description:Quincey Koziol2011-04-201-2/+2
| | | | | | | Remove C++ specific flag from C compilation flags, for gcc 4.5 & 4.6 Tested on: FreebSD/64 8.2 (freedom) w/gcc 4.6
* [svn-r20553] Description:Quincey Koziol2011-04-191-2/+3
| | | | | | | | | | | | | | | | | | Revert part of r20536 that was part of a Coverity merge. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
* [svn-r20551] Description:Quincey Koziol2011-04-191-2/+2
| | | | | | | | | Correct 'FILE **' back to 'FILE *' for H5Fget_vfd_handle call. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc 4.6 & debug FreeBSD/64 8.2 (freedom) w/gcc 4.6 & debug Solaris 2.6 (linew)
* [svn-r20548] Fixed bug in test/vfd.c (HDFFV-5936) that caused STDIO VFD test ↵Dana Robinson2011-04-181-11/+3
| | | | | | to fail on some platforms. The problem was that the test was a clone of the SEC2 test. The SEC2 test accepts a file descriptor (int) via a void pointer from H5Fget_vfd_handle() whereas the STDIO test needs to accept a FILE pointer. Storing the FILE pointer in an integer failed on some systems. The STDIO test now stores the file handle in FILE pointer and checks it for NULL instead of < 0.
* [svn-r20543] revert install command for External library builds - copy of ↵Allen Byrne2011-04-181-6/+6
| | | | lib fails if permission to install location is denied. Does not affect build otherwise.
* [svn-r20539] Description:Quincey Koziol2011-04-186-162/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity changes back to trunk: r20276: Add recursive is vlen string function. Cleanup resource leaks for issues: 200,202,329,688,811,812 r20277: Check types and close by adding error section: issue 687 r20278: Replaced implicit pointer conversion with (ocrt_info.new_obj != NULL). r20280: Addressed coverity issues 927-929 & 583. The real issue is failure to check file name length -- at least at the H5FD interface level. This needs more work, but at least I have dealt with the issue in H5FDfamily.c r20337: H5O_type_t obj_type = H5O_TYPE_UNKNOWN; r20338: Added udata.name = NULL; to prevent potential uninitialized use after done: label. r20339: coverity issues: 686,828,1670-1673,1707-1711 Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode FreeBSD/32 8.2 (loyalty) w/gcc4.6, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
* [svn-r20538] Description:Quincey Koziol2011-04-181-3/+67
| | | | | | | | Update with new warning flags for gcc 4.6.x Tested on: FreeBSD/32 8.2 (loyalty) w/gcc 4.6 FreeBSD/64 8.2 (freedom) w/gcc 4.6
* [svn-r20536] Description:Quincey Koziol2011-04-1720-108/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up various warnings & code formatting issues. Bring changes from Coverity branch to trunk: r20085: Purpose: Fix coverity issue 793 Description: Modified H5S_hyper_project_simple_higher() to free the entire span list in new_space on failure. r20091: This is a fix for coverity bug #1683. Changed the two printfs to use %lu (unsigned long) for printing "dset_size". r20162: Purpose: Fix coverity issue 785 Description: Modified H5T_enum_nameof() to free "name" on failure if it was allocated. Also clarified some code in H5S_hyper_rebuild_helper(). r20189: Addressed coverity defect 783. H5SL_new_node() in H5SL.c was failing to free space allocated in its first alloc if the second alloc failed. Added a call to H5FL_FREE to address this issue. This is purely to keep coverity happy -- if this code is ever triggered, we have much larger problems. Note that this fix will trigger an unused return value complaint from coverity next week. r20190: Fixed Coverity issues 1561 1565 and 1678 (UNUSED_VALUES) by moving checks of return values to after the function call. r20191: Fixed coverity issues 643 644 and 1678 (CHECKED_RETURN). r20232: Addressed coverity issues 923-925. Replaced calls to sprintf with calls to HDsnprintf. r20233: Fix coverity issue 662. Don't try to sort 0 attributes in H5Aint.c. r20234: Fix coverity issue 664. Check for NULL before dereferencing in H5Gdeprec.c. r20271: Purpose: Fix coverity issue 784 Description: Modified H5_debug_mask() to keep a list of files opened for use as a debugging output stream, and modified H5_term_library to close these files on exit. r20272: addressed coverity issues 838 & 955. Issue was use of strcpy() -- existing code was safe, but modified to use strncpy() to keep coverity happy. r20273: Addresed coverity issues 1388 and 1389. Initialized sel_iter->type to NULL in H5S_select_iter_init. r20275: Purpose: Fix valgrind issue in mf.c Description: Fixed bug (incomplete if statement) in test_mf_fs_alloc_free() so the retrieved node gets freed. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
* [svn-r20535] Description:Quincey Koziol2011-04-171-0/+106
| | | | | | | | | | | | | | | | | Add explicit test that checks that the 'fileno' field in H5O_info_t is the same for objects in the same file, whether the file was opened twice or not. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
* [svn-r20529] Purpose: Add testing for bug 1864Neil Fortner2011-04-1531-0/+344
| | | | | | | | | Description: Added internal tesitng routines to traverse a file and verify that symbol table information is *always* cached, whenever possible. Added this check to the end of many tests to check all the test files, right before the call to h5_cleanup. Tested: jam, amani, heiwa (h5committest)
* [svn-r20520] Removed ibm-aix6.x file which just sourced ibm-aix file. ↵Albert Cheng2011-04-155-38/+6
| | | | | | | | | | Removed code in configure.in that tried to distinguish different versions of AIX. This is no longer needed. Tested: NCSA Blue-print. No h5committest since this affected AIX system only.
* [svn-r20519] Description:Quincey Koziol2011-04-151-49/+48
| | | | | | | Correct macro names to be more consistent. Tested on: Eyeballed (very simple)
* [svn-r20515] Description:Quincey Koziol2011-04-152-24/+13
| | | | | | | | | | | | Remove old, uneeded configuration customizations for FreeBSD systems. (config/freebsd) Also, convert a large stack variable into a dynamic memory allocation and clean up a few compiler warnings (tools/h5dump/h5dumpgentest.c) Tested on: FreeBSD/32 8.2 (loyalty) w/debug & production FreeBSD/64 8.2 (freedom) w/debug & production
* [svn-r20513] Description:Quincey Koziol2011-04-156-5/+228
| | | | | | | | | | | | | | | | | | | | | | Correct several problems with compound datatypes that don't have any fields added: - Change assertion to error report when a file is encountered which has this situation. - Added check to attribute creation to avoid creating attributes with a datatype like this (datasets and named datatypes already have the check) Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
* [svn-r20506] Add missing cmake_install_prefix to external projectsAllen Byrne2011-04-141-6/+13
|
* [svn-r20504] Purpose:Mike McGreevy2011-04-1450-86/+2480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General shared library improvements for CYGWIN / AIX Description: Shared libraries are disabled on both CYGWIN and AIX due to inability to build them correctly. Part of the problem in both of these situations is the lack of the libtool flag -no-undefined, which tells libtool that all needed symbols are defined at link time (a requirement on these systems) and that it's okay to build shared libraries. Another problem are lack of dependencies between wrapper libraries and core C HDF5 library. This patch addresses both of these by fixing configure to add in -no-undefined flag for libtool during linking and adds automake dependencies in the Makefile.am files. After testing, both CYGWIN and AIX now generate shared libraries, but there are still some test failures in each. (cache_api, dt_arith, and testerror.sh on CYGWIN, and fortran tests on AIX). Even though the shared libraries are not quite perfect, this is a general improvement to what we had before, so I'm applying the patch anyways. Note that default behavior of shared libraries on these systems being disabled has NOT been changed and requires the use of the --enable-unsupported to attempt to build them. We will need to address the test failures in each architecture prior to formally supporting shared libraries on each. Tested: h5committested & CYGWIN tested (on bangan) (AIX tested by Albert on bp-login2)
* [svn-r20502] Purpose:Mike McGreevy2011-04-1445-531/+1270
| | | | | | | | | | | | | | | | | | | | | | | | Add "silent make" mode configure option. Description: Automake 1.11 has a new option available that allows for a silent make mode. This functionality needs to be explicitly enabled in configure.in via the use of the automake macro AM_SILENT_RULES, which is what this commit is adding. This introduces a new configure option: --{en|dis}able-silent-rules This option is on by default, and simplies compile and link line outputs when building the library. Disabling this option will print full "verbose" output (i.e., full compile and linking lines for each target). Tested: This was tested on jam & h5committested
* [svn-r20501] Added missing '1' to #define H5_HAVE_GETTIMEOFDAYDana Robinson2011-04-141-1/+1
|
* [svn-r20499] Fixes erroneous H5_HAVE_GETTIMEOFDAY behavior on Windows (JIRA ↵Dana Robinson2011-04-145-19/+37
| | | | | | | | HDFFV-5931). Previously, H5_HAVE_GETTIMEOFDAY was never properly defined. The timezone struct and Wgettimeofday() timezone output was also added. This is a merge of several changesets from the log_vfd branch where this work took place: 20355, 20359, 20411, 20413, 20431, 20460 Tested on: Windows
* [svn-r20497] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-141-6/+1
| | | | | | unlimited. I took out some comment. No test needed.
* [svn-r20496] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-142-11/+9
| | | | | | | | | unlimited. I made a change in H5Sset_extent_simple to forbid setting the dimension size bigger than existing maximal size. In this checkin, I restored it to the previous behavior that any change will wipe out previous record of dimensionality. Tested on jam - a simple change.
* [svn-r20491] Rename H5Frelease_file_cache to H5Fclear_elink_file_cache.Neil Fortner2011-04-134-9/+9
| | | | Tested: Fedora (too minor for full committest)
* [svn-r20490] Purpose:Jonathan Kim2011-04-131-1/+19
| | | | | | | | | | | | | | Fixed HDFFV-4342 : GMQS: h5dump test fails when source directory is read-only Description: Updated CMake script to prevent stripping top 3 lines from expected output file for cmake testing. Also added missing test cases for "# Exceed the dimensions for subsetting" from different Bug fix in the past. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20488] Purpose:Jonathan Kim2011-04-123-5/+3
| | | | | | | | | | | Fix HDFFV-4342 : GMQS: h5dump test fails when source directory is read-only Description: Updated h5dump test case script to prevent entire test failure upon source code directory is read-only. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20487] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-125-58/+87
| | | | | | | | | | | | unlimited. This is a follow-up checkin for r20440 and r20469: 1. The dataspace code has another bug - when the maximal dimension isn't passed in for H5Sset_extent_simple, it is supposed to be same as the dimension. The current library sets NULL to it. I corrected it and added a test case to it. 2. I corrected the tests of Fortran and C++ for this problem. Tested on heiwa, jam, and amani.
* [svn-r20486] Fix handling of ext libs Windows naming for External_Project ↵Allen Byrne2011-04-121-13/+13
| | | | builds of "Debug" builds.
* [svn-r20482] Larry Knox2011-04-127-26/+83
| | | | | | | | | | | | | | | | Fixed issue HDFFV-5866 (BZ 2156). Changed scripts to run examples to use specific names for compiled executable files instead of a.out, which did not work on Cywin as it produces a.exe by default. Removed issue from known problems section of RELEASE.txt. Tested with Cygwin 1.7.8 on Windows 7. This line, and those below, will be ignored-- M release_docs/RELEASE.txt M hl/c++/examples/run-hlc++-ex.sh.in M hl/fortran/examples/run-hlfortran-ex.sh.in M hl/examples/run-hlc-ex.sh.in M c++/examples/run-c++-ex.sh.in M fortran/examples/run-fortran-ex.sh.in M examples/run-c-ex.sh.in
* [svn-r20480] Description:Quincey Koziol2011-04-1210-66/+44
| | | | | | | | | | | Remove global variable for the path name in the group traversal code. Also clean up a bunch of compiler warnings. Tested on: Mac OS X/32 10.6.7 (amazon) w/debug & production FreeBSD/32 6.3 (duty) w/debug FreeBSD/64 6.3 (liberty) w/debug Solaris/32 2.7 (linew) w/debug
* [svn-r20477] remove duplicated -f option from a test case script. Jonathan Kim2011-04-111-1/+1
| | | | jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20476] Removed all references to memory.hDana Robinson2011-04-117-20/+3
|
* [svn-r20475] Purpose:Mike McGreevy2011-04-1145-84/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Revise shared Fortran library disabling scenarios in configure - Improve configure output summary Description: Shared Fortran libraries are not supported on Mac, but were being disabled by configure in a way that also forced the C libraries to be static-only. This has been fixed, so now only shared Fortran is disabled while shared C can remain. This prompted two additional changes: 1. While working on the check that addresses whether or not shared Fortran libraries are allowed, removed old and no longer needed check(s) that disable shared Fortran libraries with HP, Intel 8, PGI, and Absoft compilers. (Essentially, Mac is the only situation in which Fortran shared are disabled by configure.) 2. Having two different states of libraries (i.e. shared C library with static-only Fortran library) was not apparent in the configure summary, which labeled all libraries as either shared and/or static. I've added lines to both the C++ and Fortran output sections to list shared/static-ness of these libraries specifically. Additionally, I've made sure that the new --enable-unsupported configure option correctly overrides configure if it tries to disable a shared library. Tested: jam, fred, & h5committest
* [svn-r20472] Add message that H5_HAVE_WIN_THREADS requires WINVER >= 0x600 ↵Allen Byrne2011-04-113-1/+22
| | | | (VISTA or WIN7)
* [svn-r20469] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-115-10/+71
| | | | | | | | | unlimited. This is a follow-up checkin for r20440: 1. I added a test case of extending dataset of zero dimension size and shrinking back to zero dimension size. 2. I updated the Makefile to include the new data file to be cleaned up. Tested on jam - relatively simple.
* [svn-r20467] Change test option to use --enable-error-stack instead of -EAllen Byrne2011-04-111-1/+1
|
* [svn-r20465] Add CDASH_LOCAL option to direct where ctest results are reportedAllen Byrne2011-04-111-5/+11
|
* [svn-r20462] The basic STDIO VFD test in test/vfd.c fails on 64-bit Solaris ↵Dana Robinson2011-04-101-0/+9
| | | | | | 5.10 (SPARC) and 32-bit Darwin 10.7.0 (Intel). This check-in skips the STDIO test on all platforms while we investigate. Bug report HDFFV-5936 filed in JIRA.
* [svn-r20459] Purpose:Dana Robinson2011-04-082-69/+324
| | | | | | | | | | | | | | | Progress on bug 2138 (bugzilla) / HDFFV-4298 (JIRA) Description: - Added basic VFD tests (i.e. cloned the SEC2 test) for the Windows, STDIO and log VFDs. - Added H5Pget_driver() sanity check to all VFD's tests. - Added log output file to list of files to clean up in Makefile.am. Tested on: - h5committest script platforms (jam, amani, heiwa) - Windows 7 (32- and 64-bit)
* [svn-r20458] Change handling of reference files so that the output of import ↵Allen Byrne2011-04-081-11/+3
| | | | | | is restored HDFFV-5930
* [svn-r20453] Reordered two expressions to avoid integer overflow (quiets a ↵Dana Robinson2011-04-081-2/+2
| | | | compiler warning).
* [svn-r20452] Pass value of last test variable into sub-macro of add-test for ↵Allen Byrne2011-04-081-6/+4
| | | | diff tests.
* [svn-r20446] Updated valgrind ignore listAllen Byrne2011-04-081-4/+17
|
* [svn-r20440] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-076-51/+575
| | | | | | unlimited. I added test cases for contiguous, compact, and chunked, and external storage datasets, and also attribute. The test includes dataspace selections. I'll handle the tools in the next step. Tested on jam, amani, and heiwa.
* [svn-r20438] Fix typo in lib name for mingwAllen Byrne2011-04-071-1/+1
|