summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r25029] Purpose: Fixed HDFFV-3384Binh-Minh Ribler2014-04-1217-45/+43
| | | | | | | | | | | Description: - Added const to const arguments - Fixed miscellaneous comments (merged from trunk-24991) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25028] Purpose: Fix HDFFV-8367Binh-Minh Ribler2014-04-123-0/+191
| | | | | | | | | | | | | | | 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 (merged from trunk-r24983) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25026] Description:Binh-Minh Ribler2014-04-121-0/+1
| | | | Added tobject.cpp.
* [svn-r25023] Description:Binh-Minh Ribler2014-04-1218-74/+498
| | | | | | | | | | | | | | | - 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 (merge from trunk-24969) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu) with gmake
* [svn-r25022] Purpose: Code improvementBinh-Minh Ribler2014-04-124-51/+222
| | | | | | | | | | | | | | | | | | | | | Description: - 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 (merged from trunk-r24938) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu) with gmake
* [svn-r25021] Description:Binh-Minh Ribler2014-04-122-4/+7
| | | | | | | | | | Added proper deallocation/allocation to test. Revised incorrect comments. (merged from trunk-r24929) Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25017] Merge r24997 changes from trunk.Larry Knox2014-04-112-9/+19
| | | | | | | | | | | | | Added compiler versions for mpich to settings file and configure summary. For make installcheck, compile and run installed examples using the installed scripts. They were being compiled but not run. Add Fortran2003 examples to the run-ex-fortran script when fortran2003 is enabled. Set flag to -O3 in production mode for Intel compilers other than those with specified other settings. Gentoo patches: Remove unnecessary setting of LD_LIBRARY_PATH from configure. Prevent potential array subscript out of bounds error in perform/pio_engine.c and sio_engine.c. Tested with h5committest on jam, koala, ostrich and platypus.
* [svn-r25014] Purpose:Dana Robinson2014-04-113-3/+3
| | | | | | | | | | | | | | | | | Merge of r24937 from the trunk Adds H5free_memory to the API. This function should be used to free memory allocated by the library (e.g., returned values from H5Tget_tag, H5Pget_class_name, etc.). This is mainly to help Windows applications deal with multiple CRT instances, but can also be helpful when a debug memory manager is being used or when the HDF5 API is being wrapped for managed languages like Python and Java. Tested on: 32-bit LE linux (jam) with fortran and C++ 64-bit BE linux (ostrich) 64-bit LE linux (koala)
* [svn-r24980] HDFFV-8290: Merge automake 1.14.1 changes from trunkAllen Byrne2014-04-078-281/+1758
| | | | Tested: h5committest
* [svn-r24928] Purpose: Fix HDFFV-7907Binh-Minh Ribler2014-03-319-8/+296
| | | | | | | | | | | | | | | | | | | | | | 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-r24913] Purpose: Fix HDFFV-8642Binh-Minh Ribler2014-03-274-6/+118
| | | | | | | | | | | Description: Added CompType::setSize(size_t size) to set size for compound data type as H5Tset_size had been changed. Merged from trunk-24912 Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24906] Merge latest CMake changes from trunk.Allen Byrne2014-03-266-104/+107
| | | | Tested: local linux
* [svn-r24902] Description:Binh-Minh Ribler2014-03-261-2/+2
| | | | | | | | | Fixed mismatched function prototype/definition that caused daily test failure on emu/production/HDF5TestExpress=1. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24878] Description:Quincey Koziol2014-03-245-12/+0
| | | | | | | | | | | | | | | | | | | | | Bring r24864 from trunk to 1.8 branch: Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial (daily tested on trunk)
* [svn-r24870] Description:Binh-Minh Ribler2014-03-2313-71/+171
| | | | | | | | | | | | | | | - 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 - Added a null terminator to the comment returned from the C call, in getComment methods - Some minor cleanup Merged from trunk: -r24865 -r24867 Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24868] Purpose: Applied user patch, HDFFV-8623Binh-Minh Ribler2014-03-234-26/+26
| | | | | | | | | | | | | Description: Applied patch from user Jason Newton. JIRA issue HDFFV-8623, patch 0009, improve c++ compatibility with exceptions. All additions of "throw()" are included. Exception::what() is not added because it is not necessary. It was suggested for the name, which follows stdlib. Merged from trunk -r24830 Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
* [svn-r24732] Fix for reconfigure, which fails because ↵Larry Knox2014-02-224-0/+4
| | | | | | LT_ADD_LIBHDF5_DEPENDENCY is used in Makefiles but the declaration in configure.ac is missing. Copied declaration from trunk. Tested with h5committest on jam ostrich koala and platypus(cmake).
* [svn-r24684] Add IF SHARED block around Windows PDB file generation command.Allen Byrne2014-02-041-2/+3
|
* [svn-r24393] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-011-0/+25
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autotools
* [svn-r24290] Description:Binh-Minh Ribler2013-10-1433-127/+192
| | | | | | | | | - Added a lot of documentation to classes for Reference Manual. - Fixed some format inconsistencies Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
* [svn-r24259] Maintenance: Updated version number to 1.8.13-snap0; cleaned up ↵Elena Pourmal2013-10-071-1/+1
| | | | | | RELEASE.txt for new info. The 1.8 branch is open now for code changes.
* [svn-r24257] Snapshot version 1.8 release 12 (snap19)HDF Tester2013-10-061-3/+3
|
* [svn-r24243] Update list of generated files for clear-objectsAllen Byrne2013-10-011-6/+8
|
* [svn-r24236] Description:Binh-Minh Ribler2013-10-0112-16/+22
| | | | | | | | | | | | - Appended h5tutr_ to names of data files to avoid name clashing with existing examples. - Added example dependencies to Makefile.* (pointed out by Allen) Platforms tested: SunOS 5.11 (emu) with gmake Linux/ppc64 (ostrich) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
* [svn-r24233] Description:Binh-Minh Ribler2013-09-301-1/+1
| | | | | | Replaced an uint with unsigned to please Windows. Platforms tested: Linux/32 2.6 (jam) - very minor
* [svn-r24232] Description:Binh-Minh Ribler2013-09-302-0/+50
| | | | | - Merged Allen's CMake updates for the C++ tutorial examples from the trunk - Updated RELEASE.txt
* [svn-r24229] Purpose: Fix bug HDFFV-7520Binh-Minh Ribler2013-09-302-4/+105
| | | | | | | | | | Description: Added wrappers for H5Aexists. (merged from trunk) Platforms Tested: Linux/32 2.6 (jam) Linux/64 2.6 (koala) Linux/ppc64 (ostrich)
* [svn-r24223] Description:Binh-Minh Ribler2013-09-301-0/+2
| | | | | | Added ${HDF5_CPP_SRC_SOURCE_DIR}/H5Location.cpp ${HDF5_CPP_SRC_SOURCE_DIR}/H5Location.h
* [svn-r24216] Purpose: Merged changes from trunkBinh-Minh Ribler2013-09-2951-1610/+2100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description from trunk, r22836 In this bug, H5File doesn't have the ability to create attribute. The following changes will provide that functionality and several others that were also missing: - Added an abstract class H5Location in between IdComponent and H5Object. - New class structure of IdComponent, H5Location, H5Object, H5File IdComponent | H5Location / \ H5Object H5File - Wrappers in H5Object were moved to H5Location because the related C functions take either file, group, dataset, or named datatype ID. - Added wrapper for H5Rget_obj_type2 - Added tests for file attributes and H5Rget_obj_type2 wrapper Description from trunk, r22845 Fixed miscellaneous inconsistencies and typos, which also took care of the failure in Packet Table test on daily test today. Description from trunk, r24143 Fixed comments, documentation, and mis-matched DOXYGEN_SHOULD_SKIP_THIS pairs. Description from trunk, r24188 - The failure in daily test was caused by missing initialization of member "id" in a few constructors. This is now fixed. - Added two overloaded H5Location::setComment - Improved some error reporting in H5Location - Improved error reporting in tests Description from trunk, r24189 Changed header guards from single underscore to double underscore. Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
* [svn-r24212] Purpose: Added tutorial examplesBinh-Minh Ribler2013-09-2812-4/+1148
| | | | | | | | | | | | | | | | Description: Merged changes from the trunk. + Revisions 24174: - Added tutorial examples that Barbara made following the C tutorial examples. They will be configured for daily test. + Revision 24195 - Improved format/comments in tutorial examples - Added them to Makefile.* and run-c++-ex.sh.in Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers Tested the examples by running the script run-c++-ex.sh
* [svn-r24201] Merged changes from trunk revisions 23431, 23527 and 24077.Larry Knox2013-09-251-13/+29
| | | | | | | | | | Switched default to link to shared lib files when HDF5 is configure with --disable-static. This addressed HDFFV-8141, h5cc failed because it defaulted to link to lib*.a files which aren't built with --disable-static. -help message also updated. Tested in trunk. Merged code tested with h5committest.
* [svn-r24072] Merge trunk cmake changes to 1.8 branch. Allen Byrne2013-08-264-62/+77
| | | | | | | Also add default switch blocks to h5import. Merge h5dump any_path option from trunk. Tested: local linux
* [svn-r23993] I used the macro H5_HAVE_FILE_VERSIONS to skip three test cases ↵Raymond Lu2013-08-121-4/+9
| | | | | | | | | for file creation on OpenVMS. OpenVMS creates another version of the file when a file is created for the second time, making the test cases invalide. Tested on OpenVMS and jam - simple change.
* [svn-r23970] malloc of char array needs array deallocation.Allen Byrne2013-08-051-1/+1
| | | | Merged from trunk.
* [svn-r23956] Description:Binh-Minh Ribler2013-07-311-4/+0
| | | | | | Took out a work-around line left by accident. Platform tested: Linux/32 2.6 (jam) with GNU compilers
* [svn-r23955] Description:Binh-Minh Ribler2013-07-311-0/+3
| | | | | | | | | Close a group in test_dset, before the file can be properly closed. This should fix the problem on OpenVMS. Platforms tested: Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23950] Description:Binh-Minh Ribler2013-07-311-0/+4
| | | | | | | | | | | | | There seem to be some objects still left open, so the file was not closed properly and caused failure on OpenVMS, because on that platform, more than one file cannot be opened at the same time (according to Ray.) Added setFcloseDegree(H5F_CLOSE_STRONG) to test_dset() to eliminate the failure temporarily, until the opened objects can be located and closed properly. Platforms tested: Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23943] Description:Binh-Minh Ribler2013-07-301-2/+2
| | | | | | | | Fixed an allocation/deallocation mistake that caused test to fail on Windows. Platforms tested: Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23940] Purpose: Fix bug in testsBinh-Minh Ribler2013-07-272-9/+7
| | | | | | | | | | | | Description: - Passing the c_str() of an std string into a C function caused failure on OpenVMS. Added a work around using temporary string. - Passing incorrect file access property list caused test_datasize() to fail. Fixed. Platforms tested: Linux/32 2.6 (jam) with PGI compilers Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.Allen Byrne2013-06-143-0/+3
| | | | Tested: local linux
* [svn-r23687] Bug fix: HDFFV-8435Albert Cheng2013-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Need to update libtool version number for v1.8.11 since two functions, H5Pget_dxpl_multi and H5Pset_dxpl_multi were removed. Then v1.8 is now v1.8.12-xxx and needed an update to. config/lt_vers.am: libtool information is changed to 8.0.1 because it is a revision different from v1.8.10. configure: src/Makefile.in: hl/src/Makefile.in: hl/c++/src/Makefile.in: hl/fortran/src/Makefile.in: c++/src/Makefile.in: fortran/src/Makefile.in: README.txt: autogenerated by bin/reconfiure. Tested: h5committest, then visual inspect that the libhdf5.so.x.y.z is changed accordingly. Built in duck by hand and see it changes to libhdf5.8.dylib too.
* [svn-r23629] HDFFV-8368: Merge removal of include sub-folders from trunkAllen Byrne2013-04-251-1/+1
|
* [svn-r23567] Post v1.8.11 branch-off, changed version to 1.8.12-snap0.Albert Cheng2013-04-091-1/+1
| | | | | | Reset RELEASE.txt for next release (1.8.12). Tested: h5committest.
* [svn-r23503] Description:Binh-Minh Ribler2013-03-311-6/+0
| | | | | | | | | Removed DSetMemXferPropList::setMulti/getMulti from header file (Dana removed them from cpp file. Added note about removing DSetMemXferPropList::setMulti/getMulti in C++ section. Platforms tested: very minor Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r23500] Merge r23366 from trunk. Fixes HDFFV-8296.Dana Robinson2013-03-301-37/+0
| | | | | | | | | | | Removed the H5Pset_dxpl_multi and H5Pget_dxpl_multi functions from the library. The intended functionality for them was never fully implemented and they are fundamentally broken. The functions were removed from the C and C++ interfaces. They were not exported in the Fortran interface. Tested on jam
* [svn-r23485] Purpose: Fix bug HDFFV-8067Binh-Minh Ribler2013-03-2913-67/+91
| | | | | | | | | | Description: Applied the fix for HDFFV-8067 and the minor cleanups from the trunk. Platforms tested: Linux/32 2.6 (jam) with PGI compilers Linux/32 2.6 (jam) with GNU compilers Linux/64 2.6 (koala) with ICC compilers SunOS 5.10 (emu)
* [svn-r23324] Snapshot version 1.8 release 11 (snap11)HDF Tester2013-03-044-4/+4
|
* [svn-r23220] Description:Quincey Koziol2013-02-021-42/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r23219 from trunk to 1.8 branch: Bring reviewed changes from Coverity branch back to trunk (QK & JK): r20457: Coverity issue 691: return of H5duo could be negative. Fixed by using STDOUT_FILENO and redesign parse_command_line and main to cleanup file allocations. The output_file var is null when using stdout. In cleanup do not close output_file if NULL. r20510: Initialize ufid = -1 and predicate HDclose call on ufid != -1 r20511: Purpose: Fix coverity issue 1715 Description: Free "file" and nested data on failure in H5FD_core_open. r20512: Initialize ifid = -1 and predicate HDclose call on ifid != -1 r20514: Initialize h5fid = -1 and predicate HDclose call on h5fid != -1 r20516: Added else branch to the if (ret_value < 0) check. r20522: Addressed coverity issues 930-933, 850, 836, 835, 1307. All minor potential buffer overwrite bugs, or coverity errors. Fixed by replacing strcpy and sprintf with strncpy and snprintf. r20523: fixed coverity issues 68, 1120, 1116i r20524: Check H5Z_SZIP->encoder_present < 1 assuming 0 represents absence. r20601: Purpose: Fix coverity issues 1703-1705 Description: Modified the cleanup code in test_free in accum.c to reset allocated buffers to NULL after they are freed, and modified the error cleanup code to check if these buffers are NULL before freeing them. Also fixed some unrelated warnings in accum.c. r20602: Use HDsnprintf and HDstrncat r20603: Purpose: Fix coverity issues 808-809 Description: Modified test_core in vfd.c to check the returns from malloc, and keep track of whether points and check are allocated by setting them to NULL when they are not. Added code to free points and check on error if they are not NULL. Also fixed unrelated warnings in vfd.c. r20604: Use HDstrncpy. r20605: Use HDstrncpy and HDstrncat. r20606: Purpose: Fix coverity issue 807 Description: Modified long_compact in stab.c to keep track of whether objname is allocated by setting it to NULL when it is not. Added code to free objname on error if it is not NULL. r20607: Changed string function calls to use versions that specify the string length to fix coverity issues 832 and 839. Tested on: Mac OSX/64 10.8.2 (amazon) (Too minor to require h5committest)
* [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. ↵Allen Byrne2013-01-314-4/+4
| | | | | | This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support. Tested: local linux
* [svn-r22892] Increment release branch for future release (v1.8.11).Albert Cheng2012-10-121-1/+1
| | | | | | Set version number to 1.8.11-snap0. Clear out RELEASE.txt to hold 1.8.11 changes Update version references in RELEASE.txt