summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r26660] HDFFV-9131: autotols reworkAllen Byrne2015-03-306-28/+2
| | | | | | | Remove CXX_CONDITIONAL remove unneeded/obsolete sections. h5commtitest
* [svn-r26655] Purpose: Fixed HDFFV-7947Binh-Minh Ribler2015-03-3021-71/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | 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) Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam gnu and Intel 15.0) SunOS 5.11 (emu)
* [svn-r26643] Purpose: Adding new wrappers (HDFFR-9167 partially)Binh-Minh Ribler2015-03-297-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; Platforms tested: Linux/64 (platypus) Linux/32 2.6 SunOS 5.11
* [svn-r26640] Purpose: Fix bugsBinh-Minh Ribler2015-03-285-7/+54
| | | | | | | | | | | | | | | | | 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. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam/gnu and jam/icc 15) SunOS 5.11 (emu development/production)
* [svn-r26594] Merge macros and fortran changes from dual_binary feature.Allen Byrne2015-03-253-4/+4
| | | | Tested: local linux
* [svn-r26509] Run reconfigure after merges from autotools_rework branch.Jerome Soumagne2015-03-204-8/+0
|
* [svn-r26505] Merge r26435 from autotools_rework branch.Jerome Soumagne2015-03-201-1/+1
| | | | | | | Remove DEFAULT_LIBS from configure.ac and irix6.x config file which was using it. Remove references to IRIX/irix* platform.
* [svn-r26462] Description:Binh-Minh Ribler2015-03-161-1/+1
| | | | | | Fixed typo that caused failure on Windows. Platforms tested: Linux/32 2.6 (jam)
* [svn-r26459] Snapshot version 1.9 release 215HDF Tester2015-03-151-1/+1
|
* [svn-r26458] Purpose: Fix warnings HDFFV-8658Binh-Minh Ribler2015-03-157-90/+106
| | | | | | | | | Description: Fixed many type conversion warnings and unused variables. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26457] Purpose: Fix warnings HDFFV-8658Binh-Minh Ribler2015-03-1511-31/+104
| | | | | | | | | | | | | | | | | | | | | | | | Description: 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-r26456] Purpose: Fix warnings HDFFV-8658Binh-Minh Ribler2015-03-152-9/+11
| | | | | | | | | | Description: Fixed base classes that were in wrong order on the prototype lines and some misc. warnings. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26455] Purpose: Fix warnings HDFFV-8658Binh-Minh Ribler2015-03-151-24/+24
| | | | | | | | | | Description: Parameter had the same name as the class' member's. Replaced parameter with a different name. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26454] Purpose: Fix warnings HDFFV-8658Binh-Minh Ribler2015-03-152-9/+9
| | | | | | | | | | | Description: Missing initializing one of the base classes in multiple inheritance. Added CommonFG() to constructors' prototype. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26329] Merge of r26069, r26070, and r26072 from the ↵Dana Robinson2015-02-274-20/+0
| | | | | | | | | | | | | | | | | | features/autotools_rework branch. 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. Part of: HDFFV-9086 Tested on: h5committest
* [svn-r26303] remove files with .clog2 extension generated by MPE when doing ↵Mohamad Chaarawi2015-02-254-9/+9
| | | | make clean.
* [svn-r26208] Update cmake minimumsAllen Byrne2015-02-184-4/+4
|
* [svn-r26188] Merged autotools fixes into the trunk:Scot Breitenfeld2015-02-164-4/+8
| | | | HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
* [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from ↵Mohamad Chaarawi2015-02-164-4/+0
| | | | | | | | | | | | 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. tested with h5committest.
* [svn-r26177] Snapshot version 1.9 release 214HDF Tester2015-02-151-1/+1
|
* [svn-r26146] Snapshot version 1.9 release 213HDF Tester2015-02-081-1/+1
|
* [svn-r26092] Snapshot version 1.9 release 212HDF Tester2015-02-011-1/+1
|
* [svn-r26040] HDFFV-9018: Install pdb files to bin folder with dlls.Allen Byrne2015-01-261-1/+1
|
* [svn-r25981] Snapshot version 1.9 release 211HDF Tester2015-01-181-1/+1
|
* [svn-r25975] Snapshot version 1.9 release 210HDF Tester2015-01-111-1/+1
|
* [svn-r25949] Snapshot version 1.9 release 209HDF Tester2015-01-041-1/+1
|
* [svn-r25924] Snapshot version 1.9 release 208HDF Tester2014-12-281-1/+1
|
* [svn-r25915] Snapshot version 1.9 release 207HDF Tester2014-12-211-1/+1
|
* [svn-r25886] Snapshot version 1.9 release 206HDF Tester2014-12-141-1/+1
|
* [svn-r25864] Snapshot version 1.9 release 205HDF Tester2014-12-071-1/+1
|
* [svn-r25855] Snapshot version 1.9 release 204HDF Tester2014-11-301-1/+1
|
* [svn-r25834] Snapshot version 1.9 release 203HDF Tester2014-11-231-1/+1
|
* [svn-r25762] Snapshot version 1.9 release 202HDF Tester2014-11-021-1/+1
|
* [svn-r25736] Snapshot version 1.9 release 201HDF Tester2014-10-261-1/+1
|
* [svn-r25720] Snapshot version 1.9 release 200HDF Tester2014-10-191-1/+1
|
* [svn-r25693] Snapshot version 1.9 release 199HDF Tester2014-10-121-1/+3
|
* [svn-r25668] Snapshot version 1.9 release 198HDF Tester2014-10-051-1/+1
|
* [svn-r25658] 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-r25645] Description:Binh-Minh Ribler2014-10-011-23/+17
| | | | | | | | | Removed the try/block with new/bad_alloc that were unintentionally committed previously. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25644] Purpose: Fixed HDFFV-8928Binh-Minh Ribler2014-10-017-1/+25
| | | | | | | | | | Description: Followed hints on the JIRA issue to remove several potential memory leaks. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25640] Purpose: Fixed HDFFV-4259Binh-Minh Ribler2014-09-3012-54/+75
| | | | | | | | | | | | | | 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. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25632] Purpose: Fixed HDFFV-8852Binh-Minh Ribler2014-09-295-5/+14
| | | | | | | | | | | | | | | | 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 Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25627] Snapshot version 1.9 release 197HDF Tester2014-09-281-1/+1
|
* [svn-r25604] Snapshot version 1.9 release 196HDF Tester2014-09-211-1/+1
|
* [svn-r25591] Snapshot version 1.9 release 195HDF Tester2014-09-141-1/+1
|
* [svn-r25563] Snapshot version 1.9 release 194HDF Tester2014-08-311-1/+1
|
* [svn-r25546] Snapshot version 1.9 release 193HDF Tester2014-08-241-1/+1
|
* [svn-r25534] Snapshot version 1.9 release 192HDF Tester2014-08-171-1/+1
|
* [svn-r25506] Snapshot version 1.9 release 191HDF Tester2014-08-031-1/+1
|
* [svn-r25484] Snapshot version 1.9 release 190HDF Tester2014-07-271-1/+1
|