summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29379] Add individual LT_VERS_* variables for wrapper libraries: c++, ↵Larry Knox2016-03-091-1/+1
| | | | | | | | | | | | | | | | fortran, java, hl, hl/c++, hl/fortran to so that the shared object version numbers can be incremented independently. Disabled auto-increment of shared object version numbers by h5vers. Files modified: config/lt_vers.am java/src/jni/Makefile.am hl/src/Makefile.am hl/c++/src/Makefile.am hl/fortran/src/Makefile.am c++/src/Makefile.am bin/h5vers fortran/src/Makefile.am
* [svn-r29362] Description:Binh-Minh Ribler2016-03-091-1/+0
| | | | | | Removed another left-over commented-out line. Platforms tested: Linux/64 (platypus) - very minor
* [svn-r29361] Purpose: CorrectionBinh-Minh Ribler2016-03-093-18/+16
| | | | | | | | | | Description: Replaced static_cast with reinterpret_cast for "void *". Removed some commented-out old code. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29340] Purpose: Code cleanupBinh-Minh Ribler2016-03-0812-83/+84
| | | | | | | | | | | | | | | 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 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29322] Purpose: Remove obsoletesBinh-Minh Ribler2016-03-078-93/+126
| | | | | | | | | | Description: Removed obsolete functions from the documentation. They are still in the code, however, until the next two releases, just in case. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29306] Purpose: Add functionBinh-Minh Ribler2016-03-0713-48/+158
| | | | | | | | | | Description: Added member function ArrayType::operator= because ArrayType has pointer data members. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29226] HDFFV-9552: merge in java code.Allen Byrne2016-02-291-1/+1
|
* [svn-r29004] Description:Binh-Minh Ribler2016-01-281-2/+2
| | | | | | Removed extra ';'. Platform tested jam (very minor)
* [svn-r28906] Description:Binh-Minh Ribler2016-01-151-0/+1
| | | | Added c++/test/tarray.cpp.
* [svn-r28905] Purpose: Fix user reported problemBinh-Minh Ribler2016-01-159-57/+407
| | | | | | | | | | | | | | | | 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 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r28730] Snapshot version 1.9 release 233HDF Tester2015-12-281-1/+1
|
* [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-10-202-2/+2
| | | | | | | | | | | | | | available Fix tests accordingly and fix misuse of hbool_t in various places Fix initialization of H5Pgcpl/ocpl structs in property decoding routines Tested on: Linux/32 (jam) Linux/64 (platypus) Linux/PPC64 (ostrich) MacOSX/64 10.11
* [svn-r28047] 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 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r28027] Purpose: Fix memory leaksBinh-Minh Ribler2015-10-1115-125/+134
| | | | | | | | | | | | | Description: - 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-r27968] Modified version number to 1.9.233 before creating a tar ball ↵Elena Pourmal2015-10-061-1/+1
| | | | for DLS.
* [svn-r27966] DescriptionBinh-Minh Ribler2015-10-061-0/+2
| | | | Added H5OcreatProp.h and H5OcreatProp.cpp.
* [svn-r27961] Purpose: Partial fix of issues HDFFV-9169 and HDFFV-9167Binh-Minh Ribler2015-10-0625-32/+597
| | | | | | | | | | | | | | | | | | | | | | Description: 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-r27945] Purpose: Fix HDFFV-9529Binh-Minh Ribler2015-10-0422-430/+1896
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r27943] Purpose: Fix HDFFV-7947 (cont.)Binh-Minh Ribler2015-10-032-4/+4
| | | | | | | | | | | | | | | Description: In the friend functions that setId, changed the direct assignment of id to using p_setId() so that the previous id can be closed first to avoid memory leaks. This change was tested and confirmed by user Jorj on Forum when his application stopped running out of memory. Currently, the C++ library doesn't have a way to test this. A function such as H5Inmembers for library ids would be helpful. Platforms tested: Linux/32 2.6 (jam) SunOS 5.11 (emu) Darwin (osx1010test)
* [svn-r27795] Removed some autotools generated files that were not caught byDana Robinson2015-09-151-1534/+0
| | | | | | the last checkin. Tested on: bin/chkmanifest
* [svn-r27794] Reintegration merge of features/autotools_rework branch with trunkDana Robinson2015-09-154-4119/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTES: - Developers will have to run autogen.sh before building with the autotools. - autogen.sh takes the -p option to mimic the old bin/reconfigure behavior. - The generated error, overflow and version headers have been left in place. - The generated H5LT parser code has also been left in place. - There are no changes for CMake users at this time. Tested on: h5committest
| * [svn-r27745] Merge trunk revision 27744Allen Byrne2015-09-101-1/+1
| |
| * [svn-r27638] Merged r27500-27631 from trunk.Dana Robinson2015-09-014-77/+4
| |\
| * \ [svn-r27507] Merge of r27237-27500 from the trunk.Dana Robinson2015-08-146-33/+58
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested w/ h5committest NOTES: - The manifest may still be messed up. - Cmake fails since the dual binary work needs to be merged with this repo's CMake externals.
| * \ \ [svn-r27222] Merge of r27035-27221 from the trunk.Dana Robinson2015-06-173-8/+8
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Tested on 64-bit linux VM: Serial: C++ and Fortran 2003 Parallel: Fortran
| * \ \ \ [svn-r27038] Merge of r26393-27031 from the trunk.Dana Robinson2015-05-0745-291/+872
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Tested on 64-bit linux VM w/ C++ and Fortran 2003
| * | | | | [svn-r26435] Remove DEFAULT_LIBS from configure.ac and irix6.x config file whichJerome Soumagne2015-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was using it. Remove references to IRIX/irix* platform.
| * | | | | [svn-r26422] Fixes autogen.sh errors caused by r26410 that produced:Dana Robinson2015-03-112-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CXX_SHARED_CONDITIONAL does not appear in AM_CONDITIONAL This was due to a removed AM_CONDITIONAL macro in configure.ac. The CXX_SHARED_CONDITIONAL code was removed from the Makefile.am files. Additionally, the C++ shared library build settings field in libhdf5.settings file was updated. Tested on: local linux VM w/ C++ --enable-shared --enable-static --enable-shared --disable-static --disable-shared --enable-static
| * | | | | [svn-r26274] Merge of r26096 to r26271 from trunk.Dana Robinson2015-02-224-4/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on: jam - serial: C++/Fortran parallel: Fortran
| * | | | | | [svn-r26097] Removed configure and Makefile.in files from version control.Dana Robinson2015-02-024-5602/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developers will now have to run bin/reconfigure (deprecated, will be removed soon) or autogen.sh after checking out code. Part of: HDFFV-9120 Tested on: jam with Fortran and C++
| * | | | | | [svn-r26096] Merged r26024-26095 from trunk.Dana Robinson2015-02-022-2/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Tested on: jam with Fortran and C++
| * | | | | | | [svn-r26069] Removed the option to selectively disable internal filters like ↵Dana Robinson2015-01-294-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | n-bit at compile time. Fixes HDFFV-9086 Tested on: jam, both serial and parallel w/ fortran & C++
| * | | | | | | [svn-r26051] Fix for HDFFV-9092Scot Breitenfeld2015-01-274-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change AC_TRY_RUN TO AC_TRY_COMPILE Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use AC_COMPILE_IFELSE and moved all the tests to new files in m4 directory: aclocal_cxx.m4 (for C++ tests) aclocal_fc.m4 (for Fortran tests) tested: jam
* | | | | | | | [svn-r27768] Description:Quincey Koziol2015-09-143-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* | | | | | | | [svn-r27767] Snapshot version 1.9 release 231HDF Tester2015-09-142-2/+2
| | | | | | | |
* | | | | | | | [svn-r27690] Snapshot version 1.9 release 230HDF Tester2015-09-072-2/+2
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | [svn-r27625] Added preprocessor commands for PGI compiler.Scot Breitenfeld2015-08-314-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tested: h5committest
* | | | | | | [svn-r27622] Snapshot version 1.9 release 229HDF Tester2015-08-312-2/+2
| | | | | | |
* | | | | | | [svn-r27572] Removed VMS-specific code from the library.Dana Robinson2015-08-243-76/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only remaining code consists of a few floating-point tests that rely on pre-generated and checked-in VMS files. These have been left alone, even though they will not be possible to recreate, since testing VMS float behavior is still important. Tested on: h5committest
* | | | | | | [svn-r27551] Snapshot version 1.9 release 228HDF Tester2015-08-242-2/+2
| | | | | | |
* | | | | | | [svn-r27517] Removed all perl scripts from configure.Scot Breitenfeld2015-08-174-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested: h5committest
* | | | | | | [svn-r27511] Snapshot version 1.9 release 227HDF Tester2015-08-172-2/+2
| |_|_|_|_|/ |/| | | | |
* | | | | | [svn-r27496] Description:Binh-Minh Ribler2015-08-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used HTML_EXTRA_FILES for image files. Platform tested: Re-run Doxygen on cpp_doc_config and verified the html files on a Windows 7 machine.
* | | | | | [svn-r27494] Purpose: Fix HDFFV-9288Binh-Minh Ribler2015-08-112-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Added footer to include copyright and helpdesk info. Platform tested: Re-run Doxygen on cpp_doc_config and verified the html files on a Windows 7 machine.
* | | | | | [svn-r27493] Trying again to merge the F2003_v1.10 branch to the trunk.Scot Breitenfeld2015-08-114-18/+94
| | | | | | | | | | | | | | | | | | | | | | | | Tested: h5committest --PASSED--
* | | | | | [svn-r27489] reverted merge of branchScot Breitenfeld2015-08-114-94/+18
| | | | | |
* | | | | | [svn-r27470] svn merge -r27425:27460 https://svn.hdfgroup.uiuc.edu/hdf5/trunkScot Breitenfeld2015-08-055-18/+6
|\ \ \ \ \ \
| * | | | | | [svn-r27432] Snapshot version 1.9 release 226HDF Tester2015-07-272-2/+2
| | | | | | |
* | | | | | | [svn-r27469] Merge from trunk with dual-binary CMake code.Allen Byrne2015-08-058-31/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested: local linux with CMake
* | | | | | | [svn-r27426] svn merge -r27377:27425 https://svn.hdfgroup.uiuc.edu/hdf5/trunkScot Breitenfeld2015-07-222-2/+2
|\ \ \ \ \ \ \ | |/ / / / / /