summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23219] Description:Quincey Koziol2013-02-021-42/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r23180] Snapshot version 1.9 release 141HDF Tester2013-01-201-1/+1
|
* [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10Allen Byrne2013-01-144-4/+4
|
* [svn-r23153] Snapshot version 1.9 release 140HDF Tester2013-01-131-1/+1
|
* [svn-r23136] Snapshot version 1.9 release 139HDF Tester2013-01-061-1/+1
|
* [svn-r23121] Snapshot version 1.9 release 138HDF Tester2012-12-301-1/+1
|
* [svn-r23119] Snapshot version 1.9 release 137HDF Tester2012-12-231-1/+1
|
* [svn-r23085] Snapshot version 1.9 release 136HDF Tester2012-12-091-1/+1
|
* [svn-r23071] Snapshot version 1.9 release 135HDF Tester2012-12-021-1/+1
|
* [svn-r23050] Snapshot version 1.9 release 134HDF Tester2012-11-251-1/+1
|
* [svn-r23039] Snapshot version 1.9 release 133HDF Tester2012-11-181-1/+1
|
* [svn-r23021] Snapshot version 1.9 release 132HDF Tester2012-11-111-1/+1
|
* [svn-r22908] Reverted changes in revision 22819Larry Knox2012-10-165-12/+0
| | | | Tested with h5committest on jam, koala and ostrich.
* [svn-r22877] Description:Binh-Minh Ribler2012-10-101-1/+1
| | | | | | Changed uint to unsigned so that no hdf5-specific header file is needed. Platform tested: Linux/32 2.6 (jam) - very minor
* [svn-r22852] Add new files to library file listsAllen Byrne2012-10-021-0/+2
| | | | Tested: local linux
* [svn-r22846] Snapshot version 1.9 release 131HDF Tester2012-09-301-1/+3
|
* [svn-r22845] Purpose: Misc fixesBinh-Minh Ribler2012-09-2831-224/+50
| | | | | | | | | | Description: Fixed miscellaneous inconsistencies and typos, which also took care of the failure in Packet Table test on daily test today. Platforms tested: Linux/32 2.6 (jam) Linux/64 2.6 (koala) Mac Lion (duck)
* [svn-r22836] Purpose: Fix bug HDFFV-533 and add other missing functionsBinh-Minh Ribler2012-09-2723-924/+1148
| | | | | | | | | | | | | | | | | | | | | | Description: In this bug, H5File doesn't have the ability to create attribute. The following changes will provide that functionality and several others that were also missing: - Added an abstract class H5Location in between IdComponent and H5Object. - New class structure of IdComponent, H5Location, H5Object, H5File IdComponent | H5Location / \ H5Object H5File - Wrappers in H5Object were moved to H5Location because the related C functions take either file, group, dataset, or named datatype ID. - Added wrapper for H5Rget_obj_type2 - Added tests for file attributes and H5Rget_obj_type2 wrapper Platforms tested: Linux/32 2.6 (jam) Linux/64 2.6 (koala) SunOS 5.10 (linew)
* [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that ↵Larry Knox2012-09-275-0/+12
| | | | | | if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries. Tested on jam,koala,ostrich(h5committest) and other THG machines.
* [svn-r22802] Snapshot version 1.9 release 130HDF Tester2012-09-231-1/+1
|
* [svn-r22785] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate ↵Allen Byrne2012-09-181-0/+5
| | | | | | variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders Tested: jam with intel compilers
* [svn-r22766] Snapshot version 1.9 release 129HDF Tester2012-09-161-1/+1
|
* [svn-r22758] Description:Quincey Koziol2012-09-131-12/+16
| | | | | | | | | | | | | 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 Linux 2.6/32 (jam) w/debug Solaris 2.7/64 (linew) w/debug
* [svn-r22745] Snapshot version 1.9 release 128HDF Tester2012-09-091-1/+1
|
* [svn-r22732] Snapshot version 1.9 release 127HDF Tester2012-09-021-1/+1
|
* [svn-r22714] one more missed VAR change for parallel examplesAllen Byrne2012-08-261-1/+1
|
* [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of ↵Allen Byrne2012-08-237-67/+74
| | | | | | autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files. Tested: h5committest
* [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, ↵Larry Knox2012-08-224-176/+351
| | | | | | libtool 2.4.2 Tested THG machines.
* [svn-r22697] Snapshot version 1.9 release 126HDF Tester2012-08-191-1/+1
|
* [svn-r22670] Snapshot version 1.9 release 125HDF Tester2012-08-121-1/+1
|
* [svn-r22629] Snapshot version 1.9 release 124Larry Knox2012-08-051-1/+1
|
* [svn-r22525] Snapshot version 1.9 release 124Larry Knox2012-07-091-1/+1
|
* [svn-r22495] Skip the failing File Creation I/O subtest that causes c++ ↵Larry Knox2012-06-271-2/+11
| | | | | | | | tests to fail with the new/PGI compiler (see HDFFV- 8067). Tested jam, koala, ostrich.
* [svn-r22487] Snapshot version 1.9 release 122HDF Tester2012-06-241-1/+1
|
* [svn-r22448] Snapshot version 1.9 release 121HDF Tester2012-06-101-1/+1
|
* [svn-r22427] Snapshot version 1.9 release 120HDF Tester2012-06-031-1/+1
|
* [svn-r22426] Add examples/README file to be installed with examples.Larry Knox2012-06-021-1/+10
| | | | Text file only, but tested with h5committest.
* [svn-r22413] Snapshot version 1.9 release 119HDF Tester2012-05-271-1/+1
|
* [svn-r22405] HDFFV-8018: add INSTALL commands for packaging the pdb files ↵Allen Byrne2012-05-241-0/+3
| | | | | | for windows when configured with RelWithDebInfo Tested: local linux and Windows
* [svn-r22382] Snapshot version 1.9 release 118HDF Tester2012-05-201-1/+1
|
* [svn-r22356] Snapshot version 1.9 release 117HDF Tester2012-05-131-1/+1
|
* [svn-r22326] Snapshot version 1.9 release 116HDF Tester2012-04-291-1/+1
|
* [svn-r22311] Snapshot version 1.9 release 115HDF Tester2012-04-221-1/+1
|
* [svn-r22286] Snapshot version 1.9 release 114HDF Tester2012-04-151-1/+1
|
* [svn-r22257] Snapshot version 1.9 release 113HDF Tester2012-04-081-1/+1
|
* [svn-r22235] Purpose: Fixed bugs HDFFV-2761 & HDFFV-7852Binh-Minh Ribler2012-04-0219-185/+177
| | | | | | | | | | | | | | | | | | | | 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. - Added H5CPP_EXITED for PredType::AtExit to use as a flag - Updated some inaccurate comments - Removed stream functions from FileAccPropList - Replaced H5_VMS with appropriate macro in H5IdComponent.cpp - Corrected many URLs (hdfgroup vs. ncsa) in comments - Replaced std::string with H5std_string in comments Platforms tested: Linux/32 2.6 (jam) Linux/64 2.6 (amani) SunOS 5.10 (linew)
* [svn-r22170] Removed extraneous svn executable properties from ↵Dana Robinson2012-03-284-0/+0
| | | | non-executable files.
* [svn-r22146] Purpose: ↵Mike McGreevy2012-03-261-1/+1
| | | | | | | | | | | | | | | | | | HDFFV-398: h5cc doesn't work with automake Description: Fixed compiler wrapper scripts to correctly detect compilation when -MT preprocessor flag is provided, fixing a bug in which its *.o argument was added to link_objs but not compile_args. This previously broke usage of h5cc as the provided compiler in configure scripts (like with h5edit) as automake may supply the -MT option to the compiler via the makefiles. Tested: Tested using h5edit and h5committested.
* [svn-r22140] Snapshot version 1.9 release 112HDF Tester2012-03-251-1/+1
|
* [svn-r22128] Purpose: Fixed bug 4279Binh-Minh Ribler2012-03-233-6/+117
| | | | | | | | | | 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)