summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20720] Merge changes to scripts to run installed examples from hdf5 ↵Larry Knox2011-05-041-2/+2
| | | | | | | 1.8.7 r 20718. The default prefix in the scripts will use the compile scripts in the installed bin directory.
* [svn-r20504] Purpose:Mike McGreevy2011-04-145-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-144-29/+84
| | | | | | | | | | | | | | | | | | | | | | | | 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-r20487] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-121-22/+3
| | | | | | | | | | | | 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-r20482] Larry Knox2011-04-121-4/+11
| | | | | | | | | | | | | | | | 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-r20475] Purpose:Mike McGreevy2011-04-114-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-r20405] Description:Quincey Koziol2011-04-041-1/+1
| | | | Bump patch release number, after giving out private snapshots.
* [svn-r20322] Correct depends of test for CPP examples and add clear testAllen Byrne2011-03-241-4/+25
| | | | Tested:local linux
* [svn-r20171] Add HDF5_USING_MEMCHECKER guards around script mode ADD_TEST. ↵Allen Byrne2011-03-011-11/+13
| | | | | | This will replace the list of ignore tests in CTestCustom.cmake file. Tested: local linux
* [svn-r20153] Move ext lib handling for ext project building to a common ↵Allen Byrne2011-02-242-2/+2
| | | | | | macro. Update HDF5 project to use HDFMacros.cmake file. Add test properties for test ordering. Tested: local linux, windows
* [svn-r20052] Description:Quincey Koziol2011-02-066-59/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up Coverity warnings, and fix some style issues: r19735: Fix for memory leak in test/mf found by valgrind. r19736: Fix memory leak in h5repack. The buffer in copy_objects, when copying the entire dataset at once, was not checked for the presence of a vlen, and vlen storage was never reclaimed. Added check and call to H5D_vlen_reclaim(). r19772: Change H5assert() to if (H5T_VLEN != src->shared->type || H5T_VLEN != dst->shared->type) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a H5T_VLEN datatype") r19774: removed unused priv. r19775: removed unused variables r19778: Fix memory leak comparing for variable length data types. r19834: Fixed memory leaks found by valgrind. Memory errors remain for another day. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on branch)
* [svn-r19927] Remove pragma statement.Allen Byrne2011-01-071-1/+0
|
* [svn-r19924] Windows VS10 complains about private STL members needing to be ↵Allen Byrne2011-01-071-0/+1
| | | | | | exported, because it is of type std::string this warning can be suppressed. Tested: windows XP with VS10
* [svn-r19923] BZ 1165: Implemented declaration change;Allen Byrne2011-01-062-4/+4
| | | | | | | | | | | | A static std::basic_string constructed in the Exception class. This static isn't one that can be be destructed by H5Library::close(), but rather gets cleaned up as part of the STL std::basic_string static destructor when the HDF5 DLL is detached (WINDOWS). Looking at the rest of the Exception code, the DEFAULT_MSG doesn't really need to be a std::basic_string. Remove the static constructor and no destructor required. Tested: local linux - will wait for Nightly Dailies before bringing to 1.8
* [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct ↵Allen Byrne2011-01-043-2/+4
| | | | | | macro use for checking libtype. bring r19906 from 1.8 branch
* [svn-r19895] Remove use of /MT compile flag for building static libs and ↵Allen Byrne2010-12-292-2/+0
| | | | programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
* [svn-r19870] Add tests for examples.Allen Byrne2010-12-031-1/+3
| | | | Tested: local linux
* [svn-r19839] Updated to libtool v 2.4, autoconf 2.68 and m4-1.4.15.Larry Knox2010-11-234-0/+12
| | | | Tested with h5committest on amani, heiwa, and jam.
* [svn-r19740] Snapshot version 1.9 release 79HDF Tester2010-11-071-1/+1
|
* [svn-r19706] Added VFD test options.Allen Byrne2010-11-011-0/+36
| | | | Bring r19705 from branch
* [svn-r19701] Snapshot version 1.9 release 78HDF Tester2010-10-311-1/+1
|
* [svn-r19666] Snapshot version 1.9 release 77HDF Tester2010-10-241-1/+1
|
* [svn-r19569] Snapshot version 1.9 release 76HDF Tester2010-10-101-1/+1
|
* [svn-r19532] Added line to config/examples.am to remove execute permission ↵Larry Knox2010-10-071-1/+2
| | | | | | | | from example source files tha t are installed in .../share/hdf5_examples/. This will address bugzilla #2025. Tested with h5committest on amani, heiwa, and jam.
* [svn-r19512] Snapshot version 1.9 release 75HDF Tester2010-10-051-1/+1
|
* [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from ↵Larry Knox2010-10-047-30/+123
| | | | | | branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs. Tested on amani, heiwa and jam by h5committest and with CYGWIN.
* [svn-r19434] Correct use of lib, include, bin in INSTALL commands to use ↵Allen Byrne2010-09-201-4/+4
| | | | | | proper variables. Tested: local linux
* [svn-r19395] Purpose: Fixed bug 1903Binh-Minh Ribler2010-09-167-28/+14
| | | | | | | | | | | Description: After a C++ API object is closed, its id should be reset regardless of the reference count of the underlying HDF5 object. User reported the bug for Group, but it's applicable to all other objects. Fixed. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
* [svn-r19366] Updated autoconf to version 2.6.7, libtool to version 2.2.10, ↵Larry Knox2010-09-104-4/+4
| | | | | | and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion. Tested with h5committest on amani, jam, and heiwa, and on linew.
* [svn-r19361] Move Windows specific compile and link flags to macrosAllen Byrne2010-09-092-20/+2
|
* [svn-r19342] Added cmake tests for c++ examplesAllen Byrne2010-09-021-0/+3
| | | | Tetsed: local linux
* [svn-r19325] Added parallel build commands.Allen Byrne2010-08-312-60/+59
| | | | | | | Corrected use/name of source folder aliases. Duplicated FindMPI.cmake so that non-c++ compiler is found first (recommemded commands did not work). Tested: local linux with mpich
* [svn-r19107] Move Resources folder to config/cmakeAllen Byrne2010-07-202-2/+2
| | | | Tested: Local Linux
* [svn-r19086] Snapshot version 1.9 release 74HDF Tester2010-07-181-1/+1
|
* [svn-r19064] Snapshot version 1.9 release 73HDF Tester2010-07-111-1/+1
|
* [svn-r19059] Brought changes from hdf5_1_8 to add version information for ↵Larry Knox2010-07-096-8/+124
| | | | | | fortran and c++ compilers in libhdf5.settings file and configure output (r18836), to install examples as part of make install (r18680), and to provide scripts to compile and run the examples after they are installed (r18817). Tested with new/h5committest on amani, heiwa, and jam.
* [svn-r19047] Snapshot version 1.9 release 72HDF Tester2010-07-041-1/+1
|
* [svn-r19037] Added executable Linker Flag for MSVC static builds: ↵Allen Byrne2010-06-292-0/+20
| | | | | | | | /NODEFAULTLIB:MSVCRT Added VERSION vars for inclusion into auto snapshot version update script Tested windows
* [svn-r19031] Snapshot version 1.9 release 71HDF Tester2010-06-281-1/+1
|
* [svn-r19022] Snapshot version 1.9 release 70HDF Tester2010-06-201-1/+1
|
* [svn-r18856] Added CPack commands for installtion programAllen Byrne2010-05-191-3/+5
| | | | Tested: local linux and Windows
* [svn-r18823] Snapshot version 1.9 release 69HDF Tester2010-05-161-1/+1
|
* [svn-r18793] Add files to support building library with CMakeAllen Byrne2010-05-134-0/+233
| | | | Tested: Local linux
* [svn-r18747] Purpose: Fixed bug 1599Binh-Minh Ribler2010-05-091-9/+9
| | | | | | | | | Description: Fixed operator= to use setId() properly. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
* [svn-r18745] Purpose: Fixed bug 1852Binh-Minh Ribler2010-05-091-19/+25
| | | | | | | | | | Description: When a property class id is given to PropList(id), create new prop list, but when a property list id is given, make a copy of it. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
* [svn-r18727] Purpose: Fixed bug 1719Binh-Minh Ribler2010-05-061-3/+14
| | | | | | | | | Description: Closed a temporarily opened datatype to clean up memory leak, in getTypeClass. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
* [svn-r18709] Purpose:Mike McGreevy2010-05-054-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Improve configure's large-file support control. Description: Modified configure to now attempt to add defines necessary for supporting largefiles on all systems, instead of solely on linux. This is in response to user requests to enable largefile support on Solaris by default, as well as to give extra control on AIX (instead of just jamming the necessary flag into the config files). The old --enable-linux-lfs flag has been removed in favor of the --enable-largefile flag (enabled by default), which can be used on all platforms. On systems where large files cannot be supported in this manner, configure will report as such. Tested: h5committest AIX (NCSA's blue_print machine) duty, liberty, and linew.
* [svn-r18692] Description:Binh-Minh Ribler2010-05-031-4/+5
| | | | | | | Using header file H5private.h for HDstrcpy in H5CommonFG.cpp. Platforms tested: Linux/32 2.6 (jam) FreeBSD/32 6.3 (duty)
* [svn-r18690] Description:Binh-Minh Ribler2010-05-031-0/+3
| | | | | | Added #ifndef H5_NO_DEPRECATED_SYMBOLS to getObjTypeByIdx tests. Platforms tested: amani - with --disable-deprecated-symbols
* [svn-r18685] Description:Binh-Minh Ribler2010-05-025-1/+90
| | | | | | | | | Added missing overloaded function getObjTypeByIdx to return type name as a char*. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)