summaryrefslogtreecommitdiffstats
path: root/c++/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27470] svn merge -r27425:27460 https://svn.hdfgroup.uiuc.edu/hdf5/trunkScot Breitenfeld2015-08-051-4/+1
|\
* | [svn-r27469] Merge from trunk with dual-binary CMake code.Allen Byrne2015-08-052-3/+6
| | | | | | | | Tested: local linux with CMake
* | [svn-r27221] Reworked Fortran autools REAL KIND detection.Scot Breitenfeld2015-06-161-0/+5
| |
* | [svn-r27186] added fix for jam with promoted reals and integersScot Breitenfeld2015-06-101-0/+1
| |
* | [svn-r27167] more DT fixesScot Breitenfeld2015-06-091-0/+1
| |
* | [svn-r27164] various bug fixes for DTScot Breitenfeld2015-06-081-0/+1
| |
* | [svn-r27154] fixed issue with mis-matching long double between Fortran and CScot Breitenfeld2015-06-051-0/+1
| |
* | [svn-r27151] fixed __float128 errorsScot Breitenfeld2015-06-041-0/+1
| |
* | [svn-r27140] fixed interger*16 supportScot Breitenfeld2015-06-031-0/+1
| |
* | [svn-r27137] svn merge -r27115:27135 https://svn.hdfgroup.uiuc.edu/hdf5/trunkScot Breitenfeld2015-06-022-7/+7
|\ \ | |/
| * [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-012-7/+7
| | | | | | | | | | | | | | | | * 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.
* | [svn-r27122] removed dependency on generatored fortran source codeScot Breitenfeld2015-05-281-1/+0
| |
* | [svn-r27115] Moved testing KINDs and SIZEOFs to configure.Scot Breitenfeld2015-05-271-0/+11
| |
* | [svn-r26869] removed the --enable-fortran2003 option, it is now just ↵Scot Breitenfeld2015-04-211-3/+0
| | | | | | | | --enable-fortran
* | [svn-r26825] Added include for preprocessing fortran files with configure ↵Scot Breitenfeld2015-04-161-2/+3
|/ | | | definitions
* [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and ↵Larry Knox2015-04-021-1/+0
| | | | | | | | redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure. Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths. Tested with h5committest.
* [svn-r26695] Purpose: Fixed HDFFV-7947 (cont.)Binh-Minh Ribler2015-04-011-6/+2
| | | | | | | | | | | | Description: - Put back the UNUSED parameters in dsets test because the change to remove the warning last time caused failure in setting filter, in turn, caused failure in the test with such obscure/unrelated errors! - Added incRefCount() to other constructors that missed from last time. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r26667] Purpose: Fixed HDFFV-8766Binh-Minh Ribler2015-03-301-0/+26
| | | | | | | | | | | | Description: 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 gnu and Intel 15.0) SunOS 5.11 (emu)
* [svn-r26660] HDFFV-9131: autotols reworkAllen Byrne2015-03-302-12/+1
| | | | | | | Remove CXX_CONDITIONAL remove unneeded/obsolete sections. h5commtitest
* [svn-r26655] Purpose: Fixed HDFFV-7947Binh-Minh Ribler2015-03-302-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-291-0/+116
| | | | | | | | | | | | | | | | | | | | | | | 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-282-5/+23
| | | | | | | | | | | | | | | | | 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-251-1/+1
| | | | Tested: local linux
* [svn-r26509] Run reconfigure after merges from autotools_rework branch.Jerome Soumagne2015-03-201-2/+0
|
* [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-r26329] Merge of r26069, r26070, and r26072 from the ↵Dana Robinson2015-02-271-5/+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-251-3/+3
| | | | make clean.
* [svn-r26208] Update cmake minimumsAllen Byrne2015-02-181-1/+1
|
* [svn-r26188] Merged autotools fixes into the trunk:Scot Breitenfeld2015-02-161-1/+2
| | | | 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-161-1/+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-r25644] Purpose: Fixed HDFFV-8928Binh-Minh Ribler2014-10-011-1/+1
| | | | | | | | | | 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-r25632] Purpose: Fixed HDFFV-8852Binh-Minh Ribler2014-09-294-4/+5
| | | | | | | | | | | | | | | | 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-r25397] - remove configure checks for MPI_File_get_size and BigMohamad Chaarawi2014-07-071-1/+0
| | | | | MPI_File_set_size as they are supported by most MPI implementations. - fix bug in t_mpi.c (HDFFV-8856)
* [svn-r25350] Add more vfd tests to smaller timeout limitsAllen Byrne2014-06-241-0/+1
|
* [svn-r25188] Implement change to cmake_ext_mod config folderAllen Byrne2014-05-141-1/+1
| | | | Tested: local linux
* [svn-r25117] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll ↵Larry Knox2014-04-251-1/+0
| | | | | | | | | | | back fix for removing rpaths from l ib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath co nfigure option was invoked. Added instead configure variable hardcode_into_lib=no. This removes rpath from lib files on Linux and solaris machines. Tested with h5committest on jam, koala, ostrich and platypus (cmake), and with configure option --disable-sharedlib-rpath on emu, platypus and quail.
* [svn-r25108] Description:Binh-Minh Ribler2014-04-251-0/+4
| | | | | | | | | | - Put back Exception::printError for backward compatibility - Added static member function Exception::printErrorStack to print error stack without an instance of Exception. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25061] Description:Binh-Minh Ribler2014-04-172-12/+41
| | | | | | | | | | | Put back overloaded functions for backward compatibility: - were replaced by better prototyped versions, such as Attribute::getName. - were modified to add const to constant arguments. Added notes for future removal in documentation. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24994] Purpose: Removed some warningsBinh-Minh Ribler2014-04-094-6/+26
| | | | | | | | | Description: Turned on warnings and removed some of those. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24983] Purpose: Fix HDFFV-8367Binh-Minh Ribler2014-04-071-0/+66
| | | | | | | | | | | | | | Description: - Added wrappers to CommomFG for H5Oget_info_by_name() to get a child object's type (requested by user) H5O_type_t childObjType(const H5std_string& objname) const; H5O_type_t childObjType(const char* objname) const; H5O_type_t childObjType(hsize_t index, H5_index_t index_type=H5_INDEX_NAME, H5_iter_order_t order=H5_ITER_INC, const char* objname=".") const; - Added tests to tobject.cpp Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24975] Description:Binh-Minh Ribler2014-04-071-0/+1
| | | | Added c++/test/tobject.cpp
* [svn-r24969] Description:Binh-Minh Ribler2014-04-0612-68/+351
| | | | | | | | | | | | | | - Added wrappers to H5Object for H5Iget_name() to get object's name ssize_t getObjName(char *obj_name, size_t buf_size = 0) const; ssize_t getObjName(H5std_string& obj_name, size_t len = 0) const; H5std_string getObjName() const; - Added tests tobject.cpp - Added to various cleanup_* functions in tests to remove generated files - Added an overload H5I_type_t getHDFObjType() to get object's type Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu) with gmake
* [svn-r24948] Group tests by Common nameAllen Byrne2014-04-021-6/+6
| | | | | | Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32 Tested: local linux CMake
* [svn-r24938] Description:Binh-Minh Ribler2014-04-011-0/+118
| | | | | | | | | | | | | | | | | | | - Overloaded Atribute::getName to take a char* for the attribute name: ssize_t Attribute::getName(char* attr_name, size_t buf_size) - Switched the arguments in this function: ssize_t getName(size_t buf_size, H5std_string& attr_name) so it became: ssize_t getName(H5std_string& attr_name, size_t buf_size) The second argument is default to 0, and can be skipped. - Removed this function: H5std_string getName(size_t buf_size); it'll collide with the first function when that function takes a NULL for the first argument, and uses default value for the second argument. - Added more tests Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS ↵Allen Byrne2014-03-312-68/+453
| | | | | | instead of INCLUDES. Update automake to 1.14.1 h5committest
* [svn-r24929] Description:Binh-Minh Ribler2014-03-311-0/+4
| | | | | | | | | Added proper deallocation/allocation to test. Revised incorrect comments. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24925] Purpose: Fix HDFFV-7907Binh-Minh Ribler2014-03-306-6/+155
| | | | | | | | | | | | | | | | | | | | | | Description: Added transform property list functions // Constructor creates a dataset transform property list. DSetMemXferPropList(const char* expression); // Sets data transform expression. void setDataTransform(const char* expression) const; void setDataTransform(const H5std_string& expression) const; // Gets data transform expression. ssize_t getDataTransform(char* exp, size_t buf_size=0) const; H5std_string getDataTransform() const; Added test file tdspl.cpp. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24912] Purpose: Fix HDFFV-8642Binh-Minh Ribler2014-03-272-6/+96
| | | | | | | | | | Description: Added CompType::setSize(size_t size) to set size for compound data type as H5Tset_size had been changed. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24867] Description:Binh-Minh Ribler2014-03-221-1/+1
| | | | | | | | | | - Added a null terminator to the comment returned from the C call, in getComment methods - Some minor cleanup Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) Linux/64 2.6 (platypus)/PGI compilers
* [svn-r24865] Description:Binh-Minh Ribler2014-03-212-2/+15
| | | | | | | | | | | - Added another overload for char* argument: ssize_t getComment(const char* name, const size_t buf_size, char* comment) - Changed default value to 0 for the other two getComment methods - Added HDmemset to after every char string allocation to clear the buffer Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) Linux/64 2.6 (platypus)/PGI compilers