summaryrefslogtreecommitdiffstats
path: root/c++/src
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [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-012-12/+1
|
* [svn-r26600] Fix CMake target calls to add new parameterAllen Byrne2015-03-261-1/+1
|
* [svn-r26582] Merge r26509 from trunkJerome Soumagne2015-03-251-2/+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-091-5/+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-051-1/+1
| | | | Update windows wix cpack process.
* [svn-r26314] Brought autotools related changes from the trunk to the branch, ↵Scot Breitenfeld2015-02-261-1/+2
| | | | r26188 r26280
* [svn-r26304] bring 26303 from trunk:Mohamad Chaarawi2015-02-251-2/+2
| | | | 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-181-1/+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