summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* Description:Binh-Minh Ribler2016-10-263-2/+4
| | | | | | | | | | | - In the test for HDFFV-9758, a pragma pack(1) caused failure on Emu because Sparc cannot access misaligned data. Changed it to pack() to do the default alignment. - Added DOXYGEN_SHOULD_SKIP_THIS blocks to private elements to prevent warnings from doxygen. Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam)
* Purpose: Fix HDFFV-9532Binh-Minh Ribler2016-10-2373-377/+14
| | | | | | | | | | | | | Description: Removed obsolete macros from C++ API library and tests: H5_NO_NAMESPACE and __cplusplus Leave OLD_HEADER_FILENAME because iostream.h might still be in use, until further checking is done. Leave H5_NO_STD to consider retiring H5std_string first. Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)
* Add namespace and export utilsAllen Byrne2016-10-141-0/+1
|
* HDFFV-9431: allow test to be run in unique vfd folder.Allen Byrne2016-09-191-1/+2
| | | Pulled from trunk
* [svn-r30280] Purpose: Code improvement (HDFFR-9725)Binh-Minh Ribler2016-08-1222-99/+207
| | | | | | | | | | | | | Description: - Added "const" to arguments that should be const - Added "const" to const functions, i.e., function that don't change the objects they operate on. - Removed deprecated functions in previous releases due to missing const. Merged from trunk: 30272 and 30279 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r30191] Snapshot version 1.8 release 18 (snap1)HDF Tester2016-07-181-1/+1
|
* [svn-r30171] HDFFV-9939: convert cmake copy commands to reduce issue with ↵Allen Byrne2016-07-122-12/+7
| | | | | | | too long command lines on some platforms. Also, refactor hl/tools/gif3h5 cmake files. JAVA-1920: add plugin test with plugin that depends on hdf5
* [svn-r30098] Snapshot version 1.8 release 18 (snap0)HDF Tester2016-06-191-1/+1
|
* [svn-r30057] Fix typo in compile scripts that causes filename in -o outfile ↵Larry Knox2016-06-081-1/+1
| | | | | | to be dropped. Addresses HDFFV-9530 and HDFFV-9938.
* [svn-r29808] Set version to 1.8.18-snap0Larry Knox2016-04-261-1/+1
|
* [svn-r29787] Purpose: Add new wrapperBinh-Minh Ribler2016-04-254-21/+155
| | | | | | | | | | 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-245-111/+181
| | | | | | | | | | | | | | 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-2230-216/+252
| | | | | | | | | | | | | 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-228-83/+53
| | | | | | | | | | | | | | | | 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-2215-63/+171
| | | | | | | | | | | 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-1811-64/+418
| | | | | | | | | | | | | | | | | 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-0727-45/+614
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-063-76/+3
| | | | | | | | | | 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-194-29/+30
| | | | 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-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.