summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27165] Merge 27133 & 27158 from trunk:Mohamad Chaarawi2015-06-082-7/+7
| | | | | | | | | - Add a new attribute function characterstic for format: * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r26994] Merge of r26986 from trunk.Dana Robinson2015-05-021-4/+1
| | | | | | | | | | | | Removes H5F_ACC_DEBUG and H5FD_DEBUG functionality. The H5F_ACC_DEBUG symbol remains but has been defined to zero. Fixes: HDFFV-1074 Tested on: h5committest 32-bit Linux w/ C++ and Fortran and multi VFD
* [svn-r26964] HDFFV-9298: make uninstall generated "test: argument expected" ↵Albert Cheng2015-04-292-0/+2
| | | | | | | | | lines The error is that $EXAMPLETOPDIR is used without setting a value first. Solution is to set them with the proper values. Tested: jam only to confirm the error no longer exists.
* [svn-r26758] Maintenance: Updated LT_VERS_INTERFACE to 10 and ↵Elena Pourmal2015-04-071-2/+2
| | | | LT_VERS_REVISION to 1 and ran reconfigure.
* [svn-r26754] Maintenance: Changed version number in 1_8 to 1.8.16-snap0 and ↵Elena Pourmal2015-04-071-1/+1
| | | | Updated RELEASE.txt for the new work to be entered.
* [svn-r26743] Purpose: Fix daily test failureBinh-Minh Ribler2015-04-063-13/+18
| | | | | | | | | | | | | | | Description: - In DataType::DataType(const PredType& pred_type), using DataType::copy will invoke DataType::close() unnecessarily, which will produce undefined behavior. Changed to call H5Tcopy directly, code reuse is not useful in this case. - Also, fixed CommonFG::childObjVersion to return expected value outside of an if/else block. Merged from trunk r26737. Platforms tested: Linux/ppc64 (ostrich) Linux/64 (platypus) Linux/32 2.6 (jam)
* [svn-r26742] Purpose: Fixed HDFFV-7947 (cont.)Binh-Minh Ribler2015-04-067-23/+7
| | | | | | | | | | Description: - Added incRefCount() to other constructors that missed from last time. - Added default value for H5File::getObjCount and removed its extra version Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26741] Description:Binh-Minh Ribler2015-04-063-0/+55
| | | | | | | | | | | Per user Jason Newton request, the following constructor is added: H5File(hid_t existing_id); Also, fixed H5File::openFile to close current file first before re-using the object. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26731] Purpose: Fixed HDFFV-7947Binh-Minh Ribler2015-04-0621-76/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: When copy constructor or constructor that takes an existing id is invoked, the C ref counter stays the same but there is an extra C++ object which later is destroyed and may cause the HDF5 id to be closed prematurely. The C++ library needs to increment the ref counter in these situations, so that the C library will not close the id when it is still being referenced. However, the incrementing of ref count left some objects opened at the end of the program, perhaps, due to compiler's optimization on cons/destructors. The constructor, that takes an existing id, needs to increment the counter but it seems that the matching destructor wasn't invoked. The workaround is to have a function for each class that has "id" that only sets the id and not increment the ref count for the library to use in these situations. These functions are "friend" and not public. The friend functions are: void f_Attribute_setId(Attribute *, hid_t) void f_DataSet_setId(DataSet *, hid_t) void f_DataSpace_setId(DataSpace *, hid_t) void f_DataType_setId(DataType *, hid_t) Merged from trunk: r26655 Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam Intel 15.0) SunOS 5.11 (emu)
* [svn-r26730] Purpose: Adding new wrappers (HDFFR-9167 partially)Binh-Minh Ribler2015-04-057-2/+256
| | | | | | | | | | | | | | | | | | | | | | | | | Description: Added wrappers for C functions H5P[s/g]et_libver_bounds and wrappers for getting object header version // Sets bounds on versions of library format to be used when creating // or writing objects. void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high) const; // Gets the current settings for the library version format bounds. void getLibverBounds(H5F_libver_t& libver_low, H5F_libver_t& libver_high) const; // Returns the object header version of an object in a file or group, // given the object's name. unsigned childObjVersion(const char* objname) const; unsigned childObjVersion(const H5std_string& objname) const; Merge from trunk r26643 Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam Intel 15.0) SunOS 5.11 (emu)
* [svn-r26729] Purpose: Fix bugsBinh-Minh Ribler2015-04-056-8/+55
| | | | | | | | | | | | | | | | | | | | Description: - Changed DataType::operator= to simply copy the id of rhs instead of calling H5Tcopy because, when the operator= is invoked, a different datatype id is created and it won't have the same characteristics as rhs', specifically, if the rhs represents a named datatype, "this" would still be a transient datatype. - Added a DataType constructor that takes a PredType object, and this constructor will cause H5Tcopy to generate another datatype id, from a predefined datatype. - Fixed various mistakes in tests. - Fixed typo that caused failure on Windows. Merged from trunk r26640 and r26462 Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam/gnu and jam/icc 15) SunOS 5.11 (emu)
* [svn-r26728] Merge trunk reviwions 26669 and 26670.Larry Knox2015-04-044-4/+0
| | | | | | Removed from configure.ac VPATH section, LONE_COLON check and checks for redundant addition of /usr/include and /usr/lib to compile flags, with reconfigure. Tested h5committest
* [svn-r26727] Purpose: Fix warnings HDFFV-8658 cont.Binh-Minh Ribler2015-04-047-90/+102
| | | | | | | | | | | | | Description: Fixed many type conversion warnings and unused variables. Merged from trunk r26458, but also combined the fix in r26695 (dsets.cpp) to avoid test failure, that was undetected before committing to trunk until r26695. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26726] Purpose: Fix warnings HDFFV-8658Binh-Minh Ribler2015-04-0411-30/+102
| | | | | | | | | | | | | | | | | | | | | | | | | Description: (r26457) The following two constructors of classes: AbstractDs, IdComponent, H5Location, and H5Object are no longer appropriate after the data member "id" had been moved from IdComponent to the sub-classes. The copy constructors are noop and will be generated by the compilers if needed so they can be removed in 1.8.15 without effecting applications. The other constructors will be removed from 1.10 release, and then from 1.8 if their removal does not raise any problems in at least two 1.10 releases. <Classname>(const hid_t h5_id); <Classname>(const <Classname>& original); Deprecation warnings are added to each of these classes. The other classes are changed to call the default constructor instead of one of the constructors above. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26723] Purpose: Fixed warningsBinh-Minh Ribler2015-04-035-38/+40
| | | | | | | | | | | | | | | | | | | Description: Fixed base classes that were in wrong order on the prototype lines and some misc. warnings. Parameter had the same name as the class' member's. Replaced parameter with a different name. Missing initializing one of the base classes in multiple inheritance. Added CommonFG() to constructors' prototype. Merged from trunk r26454, r26455, and r26456. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26697] HDFFV-9131: Remove obsolete/unneeded sections.Allen Byrne2015-04-016-28/+2
|
* [svn-r26600] Fix CMake target calls to add new parameterAllen Byrne2015-03-263-4/+4
|
* [svn-r26582] Merge r26509 from trunkJerome Soumagne2015-03-254-8/+0
| | | | Run reconfigure after merges from autotools_rework branch
* [svn-r26578] Merge r26505 from trunkJerome Soumagne2015-03-251-1/+1
| | | | | | | Remove DEFAULT_LIBS from configure.ac and irix6.x config file which was using it. Remove references to IRIX/irix* platform.
* [svn-r26395] Merges r26329 from trunkDana Robinson2015-03-094-20/+0
| | | | | | | | | | | | | | Removed the configure option that allows selective disabling of individual internal filters (fletcher32, shuffle, etc.). This feature mucked up the code with a lot of #ifdefs, saved very little space and was not scalable to a general scheme for library size reduction. We've decided to remove the feature while we investigate a more general scheme for decreasing the library size. Fixes: HDFFV-9086 Tested on: h5committest
* [svn-r26371] Update cmake mininum versionAllen Byrne2015-03-054-4/+4
| | | | Update windows wix cpack process.
* [svn-r26314] Brought autotools related changes from the trunk to the branch, ↵Scot Breitenfeld2015-02-264-4/+8
| | | | r26188 r26280
* [svn-r26304] bring 26303 from trunk:Mohamad Chaarawi2015-02-254-9/+9
| | | | remove files with .clog2 extension generated by MPE when doing make clean
* [svn-r26224] merge 26180 from trunk:vms_last_support_1_8Mohamad Chaarawi2015-02-184-4/+0
| | | | | | | | | | configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch: - Remove Infering parallel compilers (C and Fortran) from configure.ac - Remove restriction to build shared with parallel - Cleanup parallel sections in configure.ac - remove large file support checks - MPE fixes.
* [svn-r26064] HDFFV-9018: Install PDB files to bin folder with dlls.Allen Byrne2015-01-281-1/+1
| | | | Tested: windows
* [svn-r25705] Add LD path to HDF5 install directory to address HDFFV-8944.Larry Knox2014-10-141-0/+2
| | | | Tested with h5committest and failed external daily tests.
* [svn-r25673] Change version to 1.8.15-snap0.Albert Cheng2014-10-061-1/+1
|
* [svn-r25669] Snapshot version 1.8 release 14 (snap18)HDF Tester2014-10-051-2/+2
|
* [svn-r25656] Purpose: Fixed HDFFV-8922Binh-Minh Ribler2014-10-021-0/+14
| | | | | | | | | Description: Added notes regarding UTF-8 and extended ASCII, provided in HDFFV-8899, to C++ API. Platforms tested: Linux/32 2.6 (jam) - only in comments
* [svn-r25655] Purpose: Fixed HDFFV-8928Binh-Minh Ribler2014-10-027-1/+25
| | | | | | | | | | Description: Followed hints from user's report on JIRA to remove several potential memory leaks. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25653] Purpose: Fixed HDFFV-4259Binh-Minh Ribler2014-10-0216-61/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: - Used H5I_INVALID_HID instead of 0 to initialized member "id" in classes that represent HDF5 objects. For PropList, H5P_DEFAULT has to be used instead of H5I_INVALID_HID. - Added try/catch block to some dynamically allocating memory code and re-throw the bad_alloc exception with a message informing the location of the failure. (merged from trunk-r25640) Purpose: Fixed HDFFV-8852 Description: H5F_ACC_CREAT was included in the C++ API while the C library doesn't allow it yet. Possibly, in the future, but not now. In addition, the two flags H5F_ACC_RDONLY and H5F_ACC_RDWR were missing from the documentation, causing confusion that appending is not supported. Solution: - Removed H5F_ACC_CREAT from the function until the C library support it - Added H5F_ACC_RDONLY and H5F_ACC_RDWR to the comments to update the documentation (merged from trunk-r25632) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25461] The contents of this directory is the C++ Reference Manual and Mark Evans2014-07-22385-62445/+0
| | | | is generated by Doxygen.
* [svn-r25458] Merged revision(s) 25457 from ↵Mark Evans2014-07-211-4/+10
| | | | | | | | branches/hdf5_1_8_13/c++/src/H5CppDoc.h: Added a sentence suggested by Barbara to the Installation section. Part of HDFFV-8868 work. Tested: Doxygen and Firefox
* [svn-r25445] Changed file in Installation section where users should look ↵Mark Evans2014-07-21385-0/+62445
| | | | | | for instructions from release_docs\INSTALL_Windows.txt to release_docs\INSTALL. Fixes HDFFV-8868. Tested: Doxygen
* [svn-r25442] Changed file in Installation section where users should look ↵Mark Evans2014-07-211-1/+1
| | | | | | for instructions from release_docs\INSTALL_Windows.txt to release_docs\INSTALL. Fixes HDFFV-8868. Tested: Doxygen
* [svn-r25402] Bring 25397/8 from trunk:Mohamad Chaarawi2014-07-104-4/+0
| | | | | | | - remove configure checks for MPI_File_get_size and Big MPI_File_set_size as they are supported by MPIO implementations today. - fix bug in t_mpi.c (HDFFV-8856) tested with h5committest.
* [svn-r25351] Add more vfd tests to smaller timeout limitsAllen Byrne2014-06-241-0/+1
|
* [svn-r25318] Edited the Introduction section.Mark Evans2014-06-181-18/+21
| | | | Tested: Doxygen and Firefox
* [svn-r25222] Merge cmake_ext_mod into 1.8Allen Byrne2014-05-273-4/+4
|
* [svn-r25204] Description:Binh-Minh Ribler2014-05-194-8/+2
| | | | | | | | | | | | | | Set OUTPUT_DIRECTORY to cpplus_RM and HTML_OUTPUT to '.' because they were reset by accident causing "bin/release doc" to fail. Ran bin/release to verify the failure was gone. Merged from trunk: r25202 Also, removed from functions' comments some arguments that are only applicable to the trunk. Doxygen gave warnings. Platforms tested: Linux/32 2.6 (jam) - very minor, only comments
* [svn-r25203] Description:Binh-Minh Ribler2014-05-191-1/+1
| | | | | | | | | Made printError() virtual as the original; missed it from the previous fix. Merged from trunk: r25123 Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25116] Description:Binh-Minh Ribler2014-04-252-5/+26
| | | | | | | | | | - Put back Exception::printError for backward compatibility - Added static member function Exception::printErrorStack to print error stack without an instance of Exception. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25115] Description:Binh-Minh Ribler2014-04-251-1/+3
| | | | | | | | | | - Put back Exception::printError for backward compatibility - Added static member function Exception::printErrorStack to print error stack without an instance of Exception. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25106] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll ↵Larry Knox2014-04-255-13/+4
| | | | | | | | back fix for removing rpaths from lib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath configure option was invoked. Added instead configure variable hardcode_into_lib=no. This removes rpath from lib files on Linux and solaris machines. Tested with h5committest on jam, koala, ostrich and platypus (cmake), and on emu and kite.
* [svn-r25068] Fix for HDFFV-8276, the --disable-sharedlib-rpath configure ↵Larry Knox2014-04-182-4/+9
| | | | | | | | | | | | | optino doesn't remove rpaths from th e library files, was checked into trunk in September 2013, but not into the 1.8 branch. part of the code was merged to v1.8 in the interim for fortran, but not for hl or c++. The rest is mer ged in this revision. The --disable-sharedlib-rpath option seems to have no effect on non-Linux platforms. Tested with h5committest on jam, koala, ostrich and platypus. Tested with --disble-sharedlib-rpath option on jam, platypus, emu and quail. Absence of rpaths verified on jam and platypus.
* [svn-r25062] Description:Binh-Minh Ribler2014-04-1822-54/+325
| | | | | | | | | | | | Put back overloaded functions for backward compatibility: - were replaced by better prototyped versions, such as Attribute::getNam. - were modified to add const to constant arguments. Added notes for future removal in documentation. (Elena approved.) Merged from trunk r25061. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25036] Maintenance before creating 1_8_13 branch: changed version ↵Elena Pourmal2014-04-141-1/+1
| | | | number to 1.8.14-snap0
* [svn-r25032] Description:Binh-Minh Ribler2014-04-122-2/+2
| | | | | | Fixed typos in comments. Platforms tested: Linux/32 2.6 (jam) - very minor
* [svn-r25031] Purpose: Fix HDFFV-8737Binh-Minh Ribler2014-04-126-68/+2191
| | | | | | | | | | | | | | | | Description: - Fixed a few comments that Doxygen gave warnings on. - Updated configuration file for Doxygen. - Removed stylesheet from configuration so Doxygen will use the default stylesheet and removed the CLANG-related lines to eliminate another error since we're not using that feature, so the lines should not present. (from cpp_doc_config) - Added missing images (merged from trunk-r24996 and r25019) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25030] Purpose: Fix HDFFV-8658Binh-Minh Ribler2014-04-126-15/+42
| | | | | | | | | | Description: Turned on warnings and removed some of those. (merged from trunk-r24994) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)