summaryrefslogtreecommitdiffstats
path: root/c++/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29807] Set version to 1.8.17-pre1Larry Knox2016-04-261-1/+1
|
* [svn-r29787] Purpose: Add new wrapperBinh-Minh Ribler2016-04-253-16/+25
| | | | | | | | | | Description: Added wrapper for H5Tset_nbit: void DSetCreatPropList::setNbit() const. Merged from trunk r29786. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29784] Purpose: Code improvementBinh-Minh Ribler2016-04-244-110/+55
| | | | | | | | | | | | | | Description: - Removed ArrayType::rank and ArrayType::dimensions and modified the methods ArrayType::getArrayNDims and ArrayType::getArrayDims to always call the C functions to get the rank and dimensions. - Overloaded ArrayType::getArrayNDims and ArrayType::getArrayDims to provide const version and marked the non-const version deprecated. Merged from trunk r29782. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29769] Purpose: Code improvementsBinh-Minh Ribler2016-04-2215-76/+65
| | | | | | | | | | | | | Description: - Changed object in catch statements to reference - Replaced old-style casts or reinterpret_cast with static_cast - Removed unused name H5Library::need_cleanup - Removed Exception::printError from documentation Merged from trunk r29759 and r29766 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29765] Purpose: Code cleanupBinh-Minh Ribler2016-04-227-81/+51
| | | | | | | | | | | | | | | | Description: - Removed many warnings: warning: use of old-style cast warning: enumeration value ‘H5D_VIRTUAL’ not handled in switch warning: comparison between signed and unsigned There are others of the same warnings and they will be taken care of in the next release. - Made some code reuse between overloads Merged from trunk r29340. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29764] Purpose: Code cleanupBinh-Minh Ribler2016-04-228-144/+14
| | | | | | | | | | Description: Removed obsolete overloaded functions which had parameters that should be const but were not. They have been replaced by the correct version since 2014. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29762] Purpose: Remove obsoletesBinh-Minh Ribler2016-04-228-93/+126
| | | | | | | | | | | Description: Removed obsolete functions from the documentation. They are still in the code, however, until the next two releases, just in case. Merge from trunk r29322. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29761] Purpose: Add functionBinh-Minh Ribler2016-04-2213-31/+57
| | | | | | | | | | | Description: Added member function ArrayType::operator= because ArrayType has pointer data members. Merged from trunk r29306. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29732] Snapshot version 1.8 release 17 (snap14)HDF Tester2016-04-181-1/+1
|
* [svn-r29617] Snapshot version 1.8 release 17 (snap13)HDF Tester2016-04-031-1/+1
|
* [svn-r29174] Snapshot version 1.8 release 17 (snap12)HDF Tester2016-02-211-1/+1
|
* [svn-r29060] Snapshot version 1.8 release 17 (snap11)HDF Tester2016-02-071-1/+1
|
* [svn-r29022] Snapshot version 1.8 release 17 (snap10)HDF Tester2016-01-311-1/+1
|
* [svn-r29005] Description:Binh-Minh Ribler2016-01-281-2/+2
| | | | | | Removed extra ';'. Platform tested jam (very minor)
* [svn-r28970] Snapshot version 1.8 release 17 (snap9)HDF Tester2016-01-251-1/+1
|
* [svn-r28953] Snapshot version 1.8 release 17 (snap8)Larry Knox2016-01-221-1/+1
|
* [svn-r28926] Purpose: Fix user reported problemBinh-Minh Ribler2016-01-184-52/+88
| | | | | | | | | | | | | | | | | Description: User Adam Rosenberger reported a failure when using the member function AbstractDs::getArrayType(). This problem was caused by missing initialization of the ArrayType's members in some cases. Solution: - Added ArrayType::setArrayInfo() to retrieve rank and dimensions of an array and store them in memory for easy access. - Re-factored a few functions to use the new function. - We'll give him 1.8.16 patch Merged from trunk r28905 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r28609] Snapshot version 1.8 release 17 (snap7)HDF Tester2015-12-131-1/+1
|
* [svn-r28438] Snapshot version 1.8 release 17 (snap6)HDF Tester2015-11-222-8/+8
|
* [svn-r28350] Snapshot version 1.8 release 17 (snap5)HDF Tester2015-11-151-1/+1
|
* [svn-r28326] Purpose: Fix documentsBinh-Minh Ribler2015-11-112-2/+2
| | | | | | | | Description: Added "///" to between \brief and \exception to work around a Doxygen bug and added a missing \return. Platforms tested: Linux/32 2.6 (jam) - only in function headers
* [svn-r28306] Snapshot version 1.8 release 17 (snap4)HDF Tester2015-11-081-1/+1
|
* [svn-r28262] Snapshot version 1.8 release 17 (snap3)HDF Tester2015-11-011-1/+1
|
* [svn-r28211] Snapshot version 1.8 release 17 (snap2)HDF Tester2015-10-251-1/+1
|
* [svn-r28125] Add library version changes based on lt_vers.am file.Allen Byrne2015-10-191-1/+1
|
* [svn-r28121] Snapshot version 1.8 release 17 (snap1)HDF Tester2015-10-181-1/+1
|
* [svn-r28096] Updated packaging scripts and moved them from bin to bin/pkgscrpts.Larry Knox2015-10-162-2/+20
| | | | | | Added shared library version numbers for each wrapper library file. Tested with h5committest.new.
* [svn-r28052] Purpose: Fix memory leaksBinh-Minh Ribler2015-10-137-39/+36
| | | | | | | | | | | | | Description: - Implemented the friend function void f_PropList_setId(PropList* plist, hid_t new_id) to work around the same problem described in trunk r26655, for the API DataSet::getCreatePlist() - Cleaned up some comments and obsolete functions Merged from trunk r28047 Platforms tested: Linux/32 2.6 (jam) Darwin (osx1010test)
* [svn-r28033] Snapshot version 1.8 release 17 (snap0)HDF Tester2015-10-111-1/+1
|
* [svn-r28030] Purpose: Fix memory leaksBinh-Minh Ribler2015-10-114-72/+57
| | | | | | | | | | | | | | Description: Merged from trunk r28027. - Removed H5Library::instance because it is unnecessary. All H5Library's methods are static. This, in turn, removed the memory leaks by H5Library::instance not being deleted. - Added ObjCreatPropList::deleteConstants to atexist() list - Cleaned up comments and format inconsistencies with 1.8 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r28012] Reset version after creating hdf5_1_8_16 branch.Larry Knox2015-10-082-4/+4
| | | | Removed "changes from 1.8.15" from RELEASE.txt for HDF5 1.8.17 release.
* [svn-r28008] Description:Binh-Minh Ribler2015-10-082-0/+11
| | | | | | | Put back an unused name (need_cleanup) to avoid breaking compatibility in this release. Will do it when there are others as well. Platforms tested: Linux/32 2.6 (jam) - very minor
* [svn-r27989] Purpose: Partial fix of issues HDFFV-9169 and HDFFV-9167Binh-Minh Ribler2015-10-0726-26/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | Description: Merged from trunk r27961: Added class ObjCreatPropList in "H5OcreatProp.[h/cpp]" Added wrappers for H5P[s/g]et_attr_phase_change and H5P[s/g]et_attr_creation_order // Sets attribute storage phase change thresholds. void setAttrPhaseChange(unsigned max_compact = 8, unsigned min_dense = 6) // Gets attribute storage phase change thresholds. void getAttrPhaseChange(unsigned& max_compact, unsigned& min_dense) // Sets tracking and indexing of attribute creation order. void setAttrCrtOrder(unsigned crt_order_flags) // Gets tracking and indexing settings for attribute creation order. unsigned getAttrCrtOrder() Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r27983] Description:Binh-Minh Ribler2015-10-0729-485/+1952
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged from trunk r27945, which was merged from hdf5_CppAPI_Constants, including the revisions listed below. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test) +++ Log message when merged from hdf5_CppAPI_Constants to trunk, r27945 +++ Purpose: Fix HDFFV-9529 Description: Merged from hdf5_CppAPI_Constants r27942: ------ Description: - Added H5dont_atexit() to getPredType and all the getConstant's to prevent the C library from terminating before the C++ library cleanup. - More cleanup and added more comments k r27923: ------ - Updated more comments and moved some things around for consistency - Removed check for "new" failure, exceptions would be thrown r27922: ------ Description: Added function headers and more comments for clarity. r27917: ------ Description: The C++ library has several types of global constants from different classes, such as PropList, PredType, DataSpace, etc... Previously, these global constants were declared statically and the C++ library used a constant, called PredType::AtExit, to detect when all the global contants are destroyed then close the C library (H5close). This method relied on the order of the constants being created and destroyed and that PredType constants be the last to be destroyed. In September 2015, it was recognized that the order in which the global constants were created and destroyed was actually undefined, thus can be different between different compilers. This resulted in failure when compilers destroy PredType constants before others because when PredType::AtExit was destroyed, the C library was closed, so when the constants of other classes such as PropList or DataSpace were being deleted, the C library would not be available. Solution: The static approach is changed to dynamic. In order to avoid an impact on existing applications, the static global constants are changed to constant references to the dynamically allocated objects. A detailed explanation of the new method and a description of the changes are in a Design Notes at the end of the file H5PredType.cpp. New functions added to support the new methods are listed below. class H5Library: // Returns a singleton H5Library to initialize the global // constants, invoked in IdComponent default constructor static H5Library* getInstance(); // public // Registers cleanup and terminating functions with atexit(), // called in IdComponent default constructor static void initH5cpp(void); // public // Calls H5close to terminate the library, registered with // atexit(), as the last thing to be done. static void termH5cpp(void); // public class PredType: // Creates the constants static void makePredTypes(); // private // Calls makePredTypes to create the constants and returns // the dummy constant PREDTYPE_CONST; static PredType* getPredTypes(); // private class DataSpace: // Creates the constant static DataSpace* getConstant(); // private class PropList: // Creates the constant static PropList* getConstant(); // private class DSetCreatPropList: // Creates the constant static DSetCreatPropList* getConstant(); // private class DSetMemXferPropList: // Creates the constant static DSetMemXferPropList* getConstant(); // private class FileCreatPropList: // Creates the constant static FileCreatPropList* getConstant(); // private class FileAccPropList: // Creates the constant static FileAccPropList* getConstant(); // private This function is added to PredType, DataSpace, PropList, and the four subclasses of PropList: // Deletes the constant static void deleteConstants(); // public
* [svn-r27947] Snapshot version 1.8 release 16 (snap17)HDF Tester2015-10-041-1/+1
|
* [svn-r27833] Snapshot version 1.8 release 16 (snap16)HDF Tester2015-09-201-1/+1
|
* [svn-r27687] Snapshot version 1.8 release 16 (snap15)HDF Tester2015-09-061-1/+1
|
* [svn-r27685] Merge of r27572 from trunkDana Robinson2015-09-061-6/+0
| | | | | | | | | | Remove all VMS-specific code from the library. The exception is the VMS floating-point tests since those are special as VMS floats are odd. Those files will be considered separately. Fixes HDFFV-9495 Tested on: h5committest
* [svn-r27532] Merge of CMake dual-binary changes from CMake branch to 1.8Allen Byrne2015-08-191-14/+24
| | | | Tested: local linux (CMake branch has been tested on Windows)
* [svn-r27512] Purpose: Fix HDFFV-9288Binh-Minh Ribler2015-08-172-4/+28
| | | | | | | | | | | Description: (Merged from trunk r27496 and r27494) - Added footer.html to include copyright and helpdesk info. (trunk r27494) - Used HTML_EXTRA_FILES for image files. (trunk r27496) - Changed 1.8.13 to 1.8.x Platform tested: Re-run Doxygen on cpp_doc_config and verified the html files on a Windows 7 machine.
* [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-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-062-0/+29
| | | | | | | | | | | 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-0619-64/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-056-2/+140
| | | | | | | | | | | | | | | | | | | | | | | | | 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-054-3/+32
| | | | | | | | | | | | | | | | | | | | 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-041-1/+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