summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.Allen Byrne2013-06-143-0/+3
| | | | Tested: local linux
* [svn-r23687] Bug fix: HDFFV-8435Albert Cheng2013-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Need to update libtool version number for v1.8.11 since two functions, H5Pget_dxpl_multi and H5Pset_dxpl_multi were removed. Then v1.8 is now v1.8.12-xxx and needed an update to. config/lt_vers.am: libtool information is changed to 8.0.1 because it is a revision different from v1.8.10. configure: src/Makefile.in: hl/src/Makefile.in: hl/c++/src/Makefile.in: hl/fortran/src/Makefile.in: c++/src/Makefile.in: fortran/src/Makefile.in: README.txt: autogenerated by bin/reconfiure. Tested: h5committest, then visual inspect that the libhdf5.so.x.y.z is changed accordingly. Built in duck by hand and see it changes to libhdf5.8.dylib too.
* [svn-r23629] HDFFV-8368: Merge removal of include sub-folders from trunkAllen Byrne2013-04-251-1/+1
|
* [svn-r23567] Post v1.8.11 branch-off, changed version to 1.8.12-snap0.Albert Cheng2013-04-091-1/+1
| | | | | | Reset RELEASE.txt for next release (1.8.12). Tested: h5committest.
* [svn-r23503] Description:Binh-Minh Ribler2013-03-311-6/+0
| | | | | | | | | Removed DSetMemXferPropList::setMulti/getMulti from header file (Dana removed them from cpp file. Added note about removing DSetMemXferPropList::setMulti/getMulti in C++ section. Platforms tested: very minor Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r23500] Merge r23366 from trunk. Fixes HDFFV-8296.Dana Robinson2013-03-301-37/+0
| | | | | | | | | | | Removed the H5Pset_dxpl_multi and H5Pget_dxpl_multi functions from the library. The intended functionality for them was never fully implemented and they are fundamentally broken. The functions were removed from the C and C++ interfaces. They were not exported in the Fortran interface. Tested on jam
* [svn-r23485] Purpose: Fix bug HDFFV-8067Binh-Minh Ribler2013-03-2913-67/+91
| | | | | | | | | | Description: Applied the fix for HDFFV-8067 and the minor cleanups from the trunk. Platforms tested: Linux/32 2.6 (jam) with PGI compilers Linux/32 2.6 (jam) with GNU compilers Linux/64 2.6 (koala) with ICC compilers SunOS 5.10 (emu)
* [svn-r23324] Snapshot version 1.8 release 11 (snap11)HDF Tester2013-03-044-4/+4
|
* [svn-r23220] Description:Quincey Koziol2013-02-021-42/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r23219 from trunk to 1.8 branch: Bring reviewed changes from Coverity branch back to trunk (QK & JK): r20457: Coverity issue 691: return of H5duo could be negative. Fixed by using STDOUT_FILENO and redesign parse_command_line and main to cleanup file allocations. The output_file var is null when using stdout. In cleanup do not close output_file if NULL. r20510: Initialize ufid = -1 and predicate HDclose call on ufid != -1 r20511: Purpose: Fix coverity issue 1715 Description: Free "file" and nested data on failure in H5FD_core_open. r20512: Initialize ifid = -1 and predicate HDclose call on ifid != -1 r20514: Initialize h5fid = -1 and predicate HDclose call on h5fid != -1 r20516: Added else branch to the if (ret_value < 0) check. r20522: Addressed coverity issues 930-933, 850, 836, 835, 1307. All minor potential buffer overwrite bugs, or coverity errors. Fixed by replacing strcpy and sprintf with strncpy and snprintf. r20523: fixed coverity issues 68, 1120, 1116i r20524: Check H5Z_SZIP->encoder_present < 1 assuming 0 represents absence. r20601: Purpose: Fix coverity issues 1703-1705 Description: Modified the cleanup code in test_free in accum.c to reset allocated buffers to NULL after they are freed, and modified the error cleanup code to check if these buffers are NULL before freeing them. Also fixed some unrelated warnings in accum.c. r20602: Use HDsnprintf and HDstrncat r20603: Purpose: Fix coverity issues 808-809 Description: Modified test_core in vfd.c to check the returns from malloc, and keep track of whether points and check are allocated by setting them to NULL when they are not. Added code to free points and check on error if they are not NULL. Also fixed unrelated warnings in vfd.c. r20604: Use HDstrncpy. r20605: Use HDstrncpy and HDstrncat. r20606: Purpose: Fix coverity issue 807 Description: Modified long_compact in stab.c to keep track of whether objname is allocated by setting it to NULL when it is not. Added code to free objname on error if it is not NULL. r20607: Changed string function calls to use versions that specify the string length to fix coverity issues 832 and 839. Tested on: Mac OSX/64 10.8.2 (amazon) (Too minor to require h5committest)
* [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. ↵Allen Byrne2013-01-314-4/+4
| | | | | | This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support. Tested: local linux
* [svn-r22892] Increment release branch for future release (v1.8.11).Albert Cheng2012-10-121-1/+1
| | | | | | Set version number to 1.8.11-snap0. Clear out RELEASE.txt to hold 1.8.11 changes Update version references in RELEASE.txt
* [svn-r22788] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate ↵Allen Byrne2012-09-191-0/+5
| | | | | | variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders Tested: local
* [svn-r22759] Description:Quincey Koziol2012-09-131-12/+16
| | | | | | | | | | | | | | Bring r22758 from trunk to 1.8 branch: Bring generic improvements from encode/decode property list branch to the trunk. This includes a better version of the property list comparison routine, cleaned up compiler warnings, and some cleaned up property list callbacks. Also, started on changes to clean up parallel test output, so that it doesn't report successful tests from each process. Tested on: Mac OSX/64 10.7.4 (amazon) w/debug, GCC 4.7.x, FORTRAN, C++, threadsafe and parallel (h5committested on trunk)
* [svn-r22724] Convert tests to *.sh.in.Allen Byrne2012-08-286-70/+70
| | | | | | | | Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
* [svn-r22711] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, ↵Larry Knox2012-08-234-176/+351
| | | | | | libtool 2.4.2 Tested THG machines.
* [svn-r22492] Needed std:: for cout or cerr for other compilers.Larry Knox2012-06-261-1/+1
|
* [svn-r22491] Skip the failing File Creation I/O subtest that causes c++ ↵Larry Knox2012-06-261-2/+11
| | | | | | tests to fail with the new/PGI compiler (see HDFFV-8067). Tested on jam.
* [svn-r22451] Brought cmake configuration / configure changes from Trunk.Allen Byrne2012-06-111-0/+3
| | | | Tested jam, local linux
* [svn-r22339] config/examples.amLarry Knox2012-05-021-0/+9
| | | | | | | Added code to install README in share/hdf5_examples Set permissions on README file to rw-r--r--. Tested with h5committest, make install and make uninstall.
* [svn-r22268] Update 1.8 branch version to 1.8.10-snap0Mike McGreevy2012-04-091-1/+1
|
* [svn-r22209] Purpose: Fixed bugs HDFFV-2761 & HDFFV-7852Binh-Minh Ribler2012-03-309-82/+72
| | | | | | | | | | | | | | | | | | | Description: - Replaced PredType::NotAtexit() with PredType::AtExit(H5CPP_EXITED) and used PredType::AtExit as a flag to detect when all predefined types have been destroyed. Then, H5close will be called to terminate the library after its being re-initiated when the PredType destructors were activated. This change removed the memory leaks shown by the user's sample program in HDFFV-2761. - Added H5CPP_EXITED for PredType::AtExit to use as a flag - Rearranged constructors in CompType to fix bug HDFFV-7852 - Updated some inaccurate comments - Removed stream functions from FileAccPropList - Replaced H5_VMS with appropriate macro in H5IdComponent.cpp Platforms tested: Linux/32 2.6 (jam) Linux/64 2.6 (amani) SunOS 5.10 (linew)
* [svn-r22208] Purpose:Mike McGreevy2012-03-301-1/+1
| | | | | | Merge fix for HDFFV-398 (r22146 and r22147) from trunk to hdf5_1_8. Tested: h5committest
* [svn-r22148] Removed incorrect executable svn properties from text, source, ↵Dana Robinson2012-03-264-0/+0
| | | | in, and HDF5 files.
* [svn-r22131] Purpose: Fixed bug 4279Binh-Minh Ribler2012-03-233-14/+126
| | | | | | | | | | Description: Closed various HDF5 objects in DataSet::getInMemDataSize and Attribute::getInMemDataSize to remove some memory leaks. Platforms tested: Linux/32 2.6 (jam) Linux/64 2.6 (amani) SunOS 5.10 (linew)
* [svn-r21805] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-054-4/+4
| | | | standard 2.8.6
* [svn-r21717] Update cmake configurationAllen Byrne2011-11-043-1/+3
| | | | | | | Update cmake to generate source folders in VS Brought parallel changes from trunk Tested: local linux
* [svn-r21638] Update 1.8 branch version to 1.8.9-snap0Mike McGreevy2011-10-211-1/+1
|
* [svn-r21608] 1.8 needs file copied because it does not use srcdir functionAllen Byrne2011-10-191-0/+7
|
* [svn-r21421] Merged the Fortran 2003 changes from the trunk into the 1.8 ↵Scot Breitenfeld2011-09-274-0/+12
| | | | | | | | | | | branch, used: svn merge -r 20506:21414 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran Tested: jam (gnu, intel, pgi compilers) Also merged effected non-Fortran files: svn merge -r21247:r21248 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/src/libhdf5.settings.in
* [svn-r21044] Purpose:Mike McGreevy2011-06-284-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix HDFFV-7592 "Remove PACKEDBITS option from autotools files" Description: The code for h5dump's packed bits feature was conditionally compiled in via this option during its 'beta' release in 1.8.5. Now that the feature is fully supported, h5dump has since been changed to always compile the packed bits code (having removed the #ifdef H5_HAVE_H5DUMP_PACKED_BITS checks), so this option in configure is no longer needed. This commit removes the --enable-h5dump-packed-bits configure option, including the help summary from './configure --help' and the libhdf5.settings output summary, the PACKED_BITS Makefile variable, and the definition of H5_HAVE_H5DUMP_PACKED_BITS define in appropriate pubconf header files (which has already been removed from use in source code as of r20722). Note that this option was never added to the trunk, thus this commit only need occur on the 1.8 branch. Tested: - Configure output, help, & summary verified on jam - h5committested
* [svn-r20719] 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-r20574] Bump soname interface number. This should have been bumpedMike McGreevy2011-04-201-2/+2
| | | | | | in 1.8.6 when its API was changed, but since it wasn't I'm manually fixing up these numbers in 1.8 and 1.8.7 branches for the time being.
* [svn-r20565] Update 1.8 branch version to 1.8.8-snap0Mike McGreevy2011-04-201-1/+1
|
* [svn-r20525] Description:Mike McGreevy2011-04-155-34/+115
| | | | | | | | Merge revisions 20475, 20502, and 20504 from trunk to 1.8 branch. Tested: Tested on jam, fred, bangan (CYGWIN), and h5committested.
* [svn-r20489] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-131-22/+3
| | | | | | | | | | | | | | | | unlimited. I brought the changes from the trunk as below: 1. I added test cases for contiguous, compact, and chunked, and external storage datasets, and also attribute. The test includes dataspace selections. 2. I added a test case of extending dataset of zero dimension size and shrinking back to zero dimension size. 3. I updated the Makefile to include the new data file to be cleaned up. 4. 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. 5. I corrected the tests of Fortran and C++ for the problem in point 3. Tested on jam, heiwa, and amani.
* [svn-r20479] Fixed issue HDFFV-5866 (BZ 2156). Changed scripts to run ↵Larry Knox2011-04-121-4/+11
| | | | | | 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 h5committest and Cygwin 1.7.8 on Windows 7.
* [svn-r20323] Correct depends of test for CPP examples and add clear testAllen Byrne2011-03-241-4/+25
| | | | bring r20322 from trunk
* [svn-r20183] Add HDF5_USING_MEMCHECKER guards around script mode ADD_TEST. ↵Allen Byrne2011-03-041-11/+13
| | | | | | | | This will replace the list of ignore tests in CTestCustom.cmake file. Bring back from trunk Tested: local linux
* [svn-r20157] Bring CMake changes to branch up to r20156 from trunkAllen Byrne2011-02-252-2/+2
|
* [svn-r20053] Description:Quincey Koziol2011-02-066-60/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r20052 from trunk to 1.8 branch: 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-r19928] Remove pragma statement.Allen Byrne2011-01-071-1/+0
|
* [svn-r19925] bring BZ1165 solution from trunk.Allen Byrne2011-01-072-2/+3
|
* [svn-r19906] Windows: Correct how fortran links in CRT library. Also correct ↵Allen Byrne2011-01-042-2/+2
| | | | | | macro use for checking libtype. Tested: Windows
* [svn-r19898] Remove use of /MT compile flag for building static libs and ↵Allen Byrne2010-12-303-2/+2
| | | | programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
* [svn-r19871] Add tests for examples.Allen Byrne2010-12-031-1/+3
| | | | | | Bring r19870 from trunk Tested: local linux
* [svn-r19862] Updated libtool to version 2.4, autoconf to version 2.68, and ↵Larry Knox2010-12-014-0/+12
| | | | | | m4 to version 1.4.15. Tested with h5committest on amani, jam and heiwa.
* [svn-r19705] Added VFD test options.Allen Byrne2010-11-011-0/+36
| | | | Tested: local linux
* [svn-r19529] Added line to config/examples.am to remove execute permission ↵Larry Knox2010-10-061-0/+1
| | | | | | from example source files that are installed in .../share/hdf5_examples/. This will address bugzilla #2025. Tested with h5committest on amani, heiwa, and jam.
* [svn-r19451] Update version of 1.8 branch to HDF5 1.8.7-snap0Mike McGreevy2010-09-211-1/+1
|
* [svn-r19442] Move $LIBS to just after $lib_objs in the link command line. ↵Larry Knox2010-09-201-7/+10
| | | | | | Otherwise the linker doesn't find the functions called by the program being compiled. $LIBS is ofr libraries specified by the compile script user. We don't currently have any tests checked in to do this. Tested with netCDF-4 and hdf5 on jam.