Commit Graph

1213 Commits

Author SHA1 Message Date
Vailin Choi
ea66ac1e67 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'dcc66a4f157ace0858b788228550f3e104df3242': (35 commits)
  GGC requires attribute before function
  Correct COMPILE defs usage
  Add missing module_dir property
  Text cleanup
  Correct sentence punctuation.
  Add release note.
  Use set_property for MT flag
  Correct command usage
  Remove APPEND
  Fix typo
  Add missing test lib
  add missing folder to path
  Fix another command revert
  Missed a command revert
  Revert to old style for LINK_FLAGS gen expr not working
  LINK_FLAGS must be separate property sets
  Fix link flags syntax
  Revert refactor link flags
  refactor link flags to interface
  Refactor link flags
  ...
2018-05-14 11:20:03 -05:00
M. Scot Breitenfeld
88e0c3e748 Merge branch 'develop' into hdf5_1_10.sync 2018-05-10 09:06:35 -05:00
Allen Byrne
37c27afde0 Fix MPI on Windows by adding MPI include folder 2018-05-09 14:29:44 -05:00
Allen Byrne
f1a668a3b5 Correct COMPILE defs usage 2018-05-09 08:53:25 -05:00
M. Scot Breitenfeld
b69bd0771e Merge branch 'develop' into hdf5_1_10.sync 2018-05-08 17:17:45 -05:00
hdftest
0c91e6b922 Updated version to 1.10.3-snap1 2018-04-30 08:16:49 -05:00
Allen Byrne
2347bffaa2 TRILABS-19 remove add_defintions and use generator expressions 2018-04-26 16:41:04 -05:00
Vailin Choi
e6bc326ec0 Fix for HDFFV-10180 Performance issues with H5Oget_info. 2018-04-24 15:10:13 -05:00
Allen Byrne
6c82c49dd5 TRILABS-20 set a compiler name on all project commands 2018-04-20 10:11:55 -05:00
Allen Byrne
46f2a2a432 TRILABS-19 Initial conversion of include_directories to targets 2018-04-17 15:57:58 -05:00
Allen Byrne
df83d78134 HDFFV-10444 fix so numbers and merge java test changes 2018-04-10 10:52:18 -05:00
Allen Byrne
db3d744f25 HDFFV-10444 fix soversion numbers for libraries 2018-04-10 08:55:17 -05:00
Larry Knox
f398e77707 Merge pull request #965 in HDFFV/hdf5 from develop to hdf5_1_10
* commit '02a9433fa0aac34ae81ab5f0d5b97a7934881215':
  Add 2 parallel test files to CHECK-CLEANFILES so that if their tests fail before removing them, make check-clean will remove them.
  Fixed memory leak Description:     Added LinkCreatPropList to initH5cpp to cleaning up resource at exit. Platforms tested:     Linux/64 (jelly)     Linux/ppc64 (ostrich)
  HDFFV-10412 add note for new H5error_on Java API
2018-03-15 13:08:00 -05:00
Binh-Minh Ribler
8f5be458f4 Fixed memory leak
Description:
    Added LinkCreatPropList to initH5cpp to cleaning up resource at exit.
Platforms tested:
    Linux/64 (jelly)
    Linux/ppc64 (ostrich)
2018-03-15 09:06:16 -05:00
lrknox
aa199c893f Updated version to 1.10.3-snap0 2018-03-14 16:19:26 -05:00
Larry Knox
f30873136b Merge pull request #943 in HDFFV/hdf5 from develop to hdf5_1_10
* commit '9247388c3d14510341ea3f07847ce2cbb6e44a8e':
  Rework new tests into one macro
  Added a "won't fix" RELEASE.txt entry for HDFFV-10356.
  Fix CMake test names
  Fixed typo
  Add release note for HDFFFV-10397.
  Added a fix for HDFFV-10358.
  Fixed documentation Description:     - Updated the description of copy constructor for clarification.     - Removed unnecessary comments. Platforms tested:     Linux/64 (jelly)
  Enhancement to the tool h5clear (HDFFV-10360)
  Fix for HDFFV-10209 VDS SWMR test failure Free the object header when there are chksum retries.
2018-03-13 13:04:03 -05:00
Binh-Minh Ribler
c76411768f Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2018-03-12 20:06:20 -05:00
Binh-Minh Ribler
2d4d39d157 Fixed documentation
Description:
    - Updated the description of copy constructor for clarification.
    - Removed unnecessary comments.
Platforms tested:
    Linux/64 (jelly)
2018-03-12 19:39:20 -05:00
M. Scot Breitenfeld
48eaac2029 Merge branch 'develop' into hdf5_1_10_merge 2018-03-12 12:07:51 -05:00
Binh-Minh Ribler
64565f9771 Merge pull request #936 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Modified 43158f3bb3 and additional wrappers.

* commit 'b638bbd74b79f935a43aa6a804492e035ec315f6':
  Code improvement Description:     - Removed memory leaks caused by accidentally invoking p_get_member_type     - Added the call to test_lcpl, missed previously Platforms tested:     Linux/64 (jelly)     Linux/ppc64 (ostrich)     Darwin (osx1010test)
  Updated RELEASE.txt Description:     - Wrappers for H5Lcreate_soft, H5Lcreate_hard, H5Lcopy, H5Lmove,       H5Ldelete, and H5Lget_info     - Class LinkCreatPropList     - Fixed typo in source file Platforms tested:     Linux/64 (jelly)
  Updated for H5LcreatProp.[h,cpp]
  Updated MANIFEST for H5LcreatProp.[h,cpp]
  HDFFV-10149 continued Description:     - Moved the new wrappers committed on Mar 9:         43158f3bb3       to H5Location and renamed some of them for overloading.       This is because the loc_id in the C APIs can be file, group, dataset,       named datatype, and attribute.  Previous implementation was wrong       following some inaccurate C API reference manual.
2018-03-12 11:45:23 -05:00
Allen Byrne
26109aad51 Merge pull request #932 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '75db73efc514aff2af63618cc7be357fc4e77cb6':
  Add release note
  Remove obsolete comments
  Change CMake min to 3.10
2018-03-12 09:04:30 -05:00
Binh-Minh Ribler
b638bbd74b Code improvement
Description:
    - Removed memory leaks caused by accidentally invoking p_get_member_type
    - Added the call to test_lcpl, missed previously
Platforms tested:
    Linux/64 (jelly)
    Linux/ppc64 (ostrich)
    Darwin (osx1010test)
2018-03-12 00:53:16 -05:00
Binh-Minh Ribler
5a0d8d0d16 Updated RELEASE.txt
Description:
    - Wrappers for H5Lcreate_soft, H5Lcreate_hard, H5Lcopy, H5Lmove,
      H5Ldelete, and H5Lget_info
    - Class LinkCreatPropList
    - Fixed typo in source file
Platforms tested:
    Linux/64 (jelly)
2018-03-12 00:03:46 -05:00
Binh-Minh Ribler
17af6bcb79 Updated for H5LcreatProp.[h,cpp] 2018-03-11 23:43:52 -05:00
Binh-Minh Ribler
3494282d42 HDFFV-10149 continued
Description:
    - Moved the new wrappers committed on Mar 9:
        43158f3bb3
      to H5Location and renamed some of them for overloading.
      This is because the loc_id in the C APIs can be file, group, dataset,
      named datatype, and attribute.  Previous implementation was wrong
      following some inaccurate C API reference manual.

    - Only the following wrappers are modified or added:
      + H5Lcreate_soft: changed name from newLink to link
        // Creates a soft link from link_name to target_name.
        void link(const char *target_name, const char *link_name,...)
        void link(const H5std_string& target_name,...)

      + H5Lcreate_hard: changed name from newLink to link
        // Creates a hard link from new_name to curr_name.
        void link(const char *curr_name, const Group& new_loc,...)
        void link(const H5std_string& curr_name, const Group& new_loc,...)

        // Creates a hard link from new_name to curr_name in same location.
        void link(const char *curr_name, const hid_t same_loc,...)
        void link(const H5std_string& curr_name, const hid_t same_loc,...)

      + H5Ldelete: modified existing functions to add 2nd argument
        // Removes the specified link from this location.
        void unlink(const char *link_name,
            const LinkAccPropList& lapl = LinkAccPropList::DEFAULT)
        void unlink(const H5std_string& link_name,
            const LinkAccPropList& lapl = LinkAccPropList::DEFAULT)

    - copyLink and moveLink were only moved from Group to H5Location, no change

    - Added class LinkCreatPropList

    - Added overloaded functions H5Location::createGroup to take a link creation
      property list
        Group createGroup(const char* name, const LinkCreatPropList& lcpl)
        Group createGroup(const H5std_string& name, const LinkCreatPropList& lcpl)
    - Added wrapper for H5Lget_info() to H5Location
        H5L_info_t getLinkInfo(const H5std_string& link_name,...)

Platforms tested:
    Linux/64 (jelly)
    Linux/ppc64 (ostrich)
    Darwin (osx1010test)
2018-03-11 23:36:48 -05:00
Binh-Minh Ribler
43158f3bb3 Merge pull request #833 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Update for new support website.

* commit '801191b4c374adc462345f2c068f1cfc6f4adf97':
  Upated cpp doc.
  Added C++ wrappers - HDFFV-10149 Description:     Added the following wrappers to class H5::Group:     + H5Lcreate_soft:         // Creates a soft link from link_name to target_name.         void newLink(const char *target_name, const char *link_name,...)         void newLink(const H5std_string& target_name,...)
  Update for new support website Description:     - Replaced external links with text including the C API name     - Removed links of copyright at the bottom of each page     - Removed logo at top     - Removed document name and version number Platforms tested:     Linux/32 2.6 (jam) - only documentation
2018-03-09 21:40:26 -06:00
Binh-Minh Ribler
801191b4c3 Upated cpp doc. 2018-03-09 21:38:59 -06:00
Binh-Minh Ribler
539f4691fa Added C++ wrappers - HDFFV-10149
Description:
    Added the following wrappers to class H5::Group:
    + H5Lcreate_soft:
        // Creates a soft link from link_name to target_name.
        void newLink(const char *target_name, const char *link_name,...)
        void newLink(const H5std_string& target_name,...)

    + H5Lcreate_hard:
        // Creates a hard link from new_name to curr_name.
        void newLink(const char *curr_name, const Group& new_loc,...)
        void newLink(const H5std_string& curr_name, const Group& new_loc,...)

        // Creates a hard link from new_name to curr_name in same location.
        void newLink(const char *curr_name, const hid_t same_loc,...)
        void newLink(const H5std_string& curr_name, const hid_t same_loc,...)

    + H5Lcopy:
        // Copy an object from a group of file to another.
        void copyLink(const char *src_name, const Group& dst,...)
        void copyLink(const H5std_string& src_name, const Group& dst,...)

        // Copy an object from a group of file to the same location.
        void copyLink(const char *src_name, const char *dst_name,...)
        void copyLink(const H5std_string& src_name,...)

    + H5Lmove:
        // Rename an object in a group or file to a new location.
        void moveLink(const char* src_name, const Group& dst,...)
        void moveLink(const H5std_string& src_name, const Group& dst,...)

        // Rename an object in a group or file to the same location.
        void moveLink(const char* src_name, const char* dst_name,...)
        void moveLink(const H5std_string& src_name,...)
Platforms tested:
    Linux/64 (jelly)
    Linux/ppc64 (ostrich)
    Darwin (osx1010test)
2018-03-09 21:29:28 -06:00
M. Scot Breitenfeld
a5d95ec083 Merge branch 'develop' into hdf5_1_10_merge 2018-03-09 16:57:54 -06:00
Allen Byrne
24c62ba7fe Change CMake min to 3.10 2018-03-09 12:32:06 -06:00
Allen Byrne
13f5388149 HDFFV-4359 Add HL C++ and fix install parameters 2018-03-08 16:39:35 -06:00
Allen Byrne
3712738877 HDFFV-4359 Add C,HL,CXX files 2018-03-08 15:54:40 -06:00
Allen Byrne
d4e7beb9ee Incr CMake min, add missing test, rework test CMake script 2018-02-27 16:39:10 -06:00
Allen Byrne
b36bad53d9 Inc CMake min, Add new tests, rework test CMake files 2018-02-27 12:57:07 -06:00
hdftest
fa3a845d49 Snapshot version 1.10 release 2 (snap9) 2018-02-11 15:54:22 -06:00
Allen Byrne
16e649fa0d HDFFV-10398 merge from develop improve CMake code 2018-01-30 16:30:17 -06:00
Allen Byrne
2f18da435e HDFFV-10398 use the simpler add_subdirectory signature 2018-01-30 12:21:01 -06:00
Allen Byrne
233afe3b6f HDFFV-10385,10392,10393 merge from develop 2018-01-22 11:22:27 -06:00
Allen Byrne
6ca95c512a HDFFV-10385 rework java names 2018-01-17 10:27:00 -06:00
hdftest
9b059d7b28 Snapshot version 1.10 release 2 (snap8) 2018-01-07 22:34:20 -06:00
hdftest
7efa31d45e Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'efa2a470c9d8cf2d584f6b22f5b80cd6687887d0': (36 commits)
  Merge fix
  HDFFV-9724 1_10 branch has a different number
  HDFFV-9724 Merge vds prefix from develop
  reverted changes from sync
  Snapshot version 1.11 release 1
  Fix valgrind issues
  HDFFV-9724 init var to null
  HDFFV-9724 add valgrind ENV
  Fix memory leak due to addition of FORMAT check loop
  HDFFV-9724 prefix of 0 length should be null value
  HDFFV-9724 Corrected files and verified tests
  Add library INTERFACE and MPI to tools
  Increase maximum number of retries for h5watch tests.
  Revert "Merge pull request #826 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop"
  Fix library interface commands, add missing JNI
  Add HD prefix
  HDFFV-9724 Remove VDS file cache functionality
  Removed incorrect MPI text
  Par example needs to link with mpi libs
  Because of MPI requirements in library ALWAYS add include path
  ...
2018-01-06 16:56:57 -06:00
hdftest
bee148a995 Snapshot version 1.11 release 2 2018-01-05 10:09:10 -06:00
hdftest
d01ad2a94a Snapshot version 1.11 release 1 2018-01-05 08:50:10 -06:00
hdftest
2f7e94c9c0 Snapshot version 1.10 release 2 (snap7) 2017-12-31 10:42:57 -06:00
Allen Byrne
732074d47e Add library INTERFACE and MPI to tools 2017-12-28 16:30:51 -06:00
hdftest
98bf60f722 Snapshot version 1.10 release 2 (snap6) 2017-12-24 15:28:56 -06:00
Allen Byrne
1efe978ae0 Fix library interface commands, add missing JNI 2017-12-21 13:48:49 -06:00
Binh-Minh Ribler
82d092a499 Update for new support website
Description:
    - Replaced external links with text including the C API name
    - Removed links of copyright at the bottom of each page
    - Removed logo at top
    - Removed document name and version number
Platforms tested:
    Linux/32 2.6 (jam) - only documentation
2017-12-20 23:11:58 -06:00
hdftest
36b9818ecc Snapshot version 1.10 release 2 (snap5) 2017-12-17 15:33:36 -06:00
M. Scot Breitenfeld
4f37d8e538 Merge branch 'develop' into hdf5_1_10 2017-12-12 16:09:19 -06:00
hdftest
ad85e417cf Snapshot version 1.10 release 2 (snap4) 2017-12-11 08:58:41 -06:00
Binh-Minh Ribler
17d148434f Fixed typo. 2017-12-04 16:57:37 -06:00
Binh-Minh Ribler
e33d677636 Various code cleanup
Description:
    - Replaced H5Location::exists with H5Location::nameExists and marked
      H5Location::exists as deprecated.
    - Miscellaneous test cleanup for consistency.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-12-04 12:21:12 -06:00
hdftest
9dd1abc0d8 Snapshot version 1.10 release 2 (snap3) 2017-11-20 10:40:33 -06:00
M. Scot Breitenfeld
59e7c7703e Merge branch 'develop' into hdf5_1_10 2017-10-26 10:13:33 -05:00
HDF Tester
b80fe75b7f Snapshot version 1.10 release 2 (snap2) 2017-10-16 16:50:31 -05:00
Binh-Minh Ribler
27a0c46ec6 Updated doxygen config file
Description:
    Added C2Cppfunction_map.mht to HTML_EXTRA_FILES.
    Verified that the file is copied to cpplus_RM after running doxygen
        on cpp_doc_config.
2017-10-03 08:53:04 -05:00
Binh-Minh Ribler
31ec370f4d Fixed typos for document file. 2017-09-25 13:20:41 -05:00
Binh-Minh Ribler
924421f298 Added documentation file
Description:
    Added a single page html file, C2Cppfunction_map.mht, that shows
    the current mapping of C APIs to C++ member functions.  This page
    can be reached from the main page of the C++ reference manual.
2017-09-17 13:28:42 -05:00
Binh-Minh Ribler
92193e35bb Miscellaneous code cleanup
Description:
    - Removed two inadvertently-added Group constructors in the header file.
      There was no implementation.
    - Removed deprecated H5Location and H5Object constructors that take an
      existing ID.
    - Miscellaneous improvements in comments, including updating URLs.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-09-15 11:46:22 -05:00
Binh-Minh Ribler
5cf381597d Fixed incorrect calls
Description:
    Replaced the calls to the deprecated function printError with
    printErrorStack in examples.
Platforms tested:
    Linux/32 2.6 (jam)
2017-09-14 14:33:40 -05:00
Binh-Minh Ribler
c7b27a7674 New overloaded functions and tests
Description:
    - Added VarLenType::VarLenType(const DataType& base_type)
    - Marked VarLenType::VarLenType(const DataType* base_type) deprecated
    - Added a static wrapper for H5Tdetect_class for PredType
        static bool DataType::detectClass(const PredType& pred_type, ...)
    - Removed the deprecated function Exception::printError() from code
    - Miscellaneous improvements in comments
    - Added test functions test_detect_type_class() and test_vltype()
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-09-12 14:46:06 -05:00
Binh-Minh Ribler
47a2d5e48f Adding variable initialization
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-09-07 10:12:43 -05:00
Binh-Minh Ribler
9b6f4d4937 Adding new C++ wrappers
Description:
    Added wrappers for H5Tencode to class DataType and H5Tdecode to
    classes DataType and its subclasses.

        // Creates a binary object description of this datatype.
        void DataType::encode()

        // Returns the decoded type from the binary object description.
        virtual DataType* DataType::decode() const;
        virtual DataType* ArrayType::decode() const;
        virtual DataType* CompType::decode() const;
        virtual DataType* DataType::decode() const;
        virtual DataType* EnumType::decode() const;
        virtual DataType* FloatType::decode() const;
        virtual DataType* IntType::decode() const;
        virtual DataType* StrType::decode() const;
        virtual DataType* VarLenType::decode() const;

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-09-04 00:41:47 -05:00
Binh-Minh Ribler
883a235d5c Miscellaneous improvements (cont.)
Description:
    Put back H5Location::getNumObjs and marked as deprecated in favor of
    Group::getNumObjs.
Platforms tested:
    Linux/32 2.6 (jam)
    Darwin (osx1010test)
2017-08-25 12:07:04 -05:00
Binh-Minh Ribler
0e44181bbb Miscellaneous improvements
Description:
    Moved H5Location::getNumObjs to Group::getNumObjs (i.e., H5Gget_info)
    Switched reinterpret_cast to static_cast in H5Object::iterateAttrs
    Miscellaneous cleanup
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-08-24 13:46:39 -05:00
hdftest
1015828c1f Snapshot version 1.10 release 2 (snap1) 2017-08-08 23:31:21 -05:00
hdftest
d3b8037137 Snapshot 1.10.2-snap1
(Committed 8/1/2017 but not pushed from fork)
2017-08-04 15:49:04 -05:00
Dana Robinson
76b9a0e7ef * Reverted removal of H5I_REFERENCE to avoid breaking binary
compatibility.
* Added a quick H5I_REFERENCE smoke check to test_misc19()
  in tmisc.c.
2017-07-03 12:54:14 -07:00
Dana Robinson
0d6930d3c2 Purged the unused H5I_REFERENCE from the library. 2017-06-30 20:53:56 -07:00
Larry Knox
89fbe00dec Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '54957d37f5aa73912763dbb6e308555e863c43f4':
  Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
  Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
  Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
  Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-25 16:05:36 -05:00
lrknox
49cded79ce Add new files in release_docs to MANIFEST.
Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running
autogen.sh.

Conflicts:
	README.txt
	c++/src/Makefile.in
	fortran/src/Makefile.in
	hl/c++/src/Makefile.in
	hl/fortran/src/Makefile.in
	hl/src/Makefile.in
	java/src/jni/Makefile.in
	release_docs/RELEASE.txt
	src/Makefile.in
2017-04-15 08:17:10 -05:00
lrknox
b9a27fddaa Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '0d05cb607e5951f3a28a101be56ca194022a7fa1':
  Reverted addition of The HDF Group copyright headers to 3rd party CMake files for Java.
  Add Copyright headers to 90 files (mostly .cmake files) without Copyright headers.
  Add "Copyright by The HDF Group."" to copyright header.
2017-04-14 16:40:52 -05:00
lrknox
25ec07450a Change copyright headers to replace url referring to file to be removed
and replace it with new url for COPYING file.

Fix 2 lines in java error test expected output file where messages
include line numbers changed by reducing the copyright header by 2
lines.
2017-04-14 11:54:16 -05:00
lrknox
972344e231 Merge bin/h5vers changes from develop.
Pull version from configure for version test in h5repack_plugin.sh.in
Update version to 1.10.2-snap0 for hdf5_1_10 branch.
2017-03-23 20:03:27 -05:00
Binh-Minh Ribler
7a799387e1 Description:
Fixed typos and missing items in function headers, that were revealed
    by Doxygen, and revised various comments.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-21 14:36:28 -05:00
Binh-Minh Ribler
44626957a6 Description:
Fixed typos and missing items in function headers, that were revealed
    by Doxygen, and revised various comments.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-20 21:56:50 -05:00
lrknox
cd8ec2cc44 Extend h5vers to update version strings in java files and h5repack
version test expected output file.

Update version on develop branch to 1.11.0.

 Please enter the commit message for your changes. Lines starting
2017-03-20 17:14:16 -05:00
lrknox
41a54b4fab Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_10 2017-03-20 16:45:10 -05:00
Binh-Minh Ribler
b6cb20d608 Description:
Removed "#ifndef H5_NO_DEPRECATED_SYMBOLS" in file space tests,
    because the wrappers only use the latest functions now.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-19 22:57:47 -05:00
Binh-Minh Ribler
34731511da Purpose: Add new C++ wrappers
Description:
    Because H5Pset_file_space and H5Pget_file_space are deprecated, changed
    to make wrappers for the new functions instead:
        H5Ps/get_file_space_strategy
        H5Ps/get_file_space_page_size

    New wrappers in FileCreatPropList:

        // Sets the strategy and the threshold value that the library will
        // will employ in managing file space.
        void setFileSpaceStrategy(H5F_fspace_strategy_t strategy, hbool_t persist, hsize_t threshold) const;

        // Returns the strategy that the library uses in managing file space.
        void getFileSpaceStrategy(H5F_fspace_strategy_t& strategy, hbool_t& persist, hsize_t& threshold) const;

        // Sets the file space page size for paged aggregation.
        void setFileSpacePagesize(hsize_t fsp_psize) const;

        // Returns the threshold value that the library uses in tracking free
        // space sections.
        hsize_t getFileSpacePagesize() const;

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-18 23:40:37 -05:00
Binh-Minh Ribler
5acc8b9e16 Description:
Fixed typos.
Platforms tested:
    Linux/64 (jelly)
2017-03-17 16:51:52 -05:00
Binh-Minh Ribler
c2f3ce287f Description:
Deprecating versions of PropList::setProperty that have arguments that
    miss "const"
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-17 16:20:24 -05:00
lrknox
12425a62a6 set initial version for HDF5 1.10.1. 2017-03-17 12:43:50 -05:00
Binh-Minh Ribler
50ac3cd6ec Description:
Miscellaneous clean-up: format and comments
Platforms tested:
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-03-17 11:03:18 -05:00
Binh-Minh Ribler
f7711df680 Merge pull request #334 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp2:develop to develop
* commit '98090fe3b08a0ff85ae9bc93218a14017a6f37fe':
  Purpose: Add new C++ wrappers Description:     Added wrappers for H5Iis_valid, H5Ps/get_nlinks, H5Tget_create_plist,     H5Oopen, H5Oclose and H5Pset_virtual
2017-03-16 18:19:32 -05:00
Quincey Koziol
0313cbb91d Final merge of page buffering branch to develop 2017-03-13 21:30:37 -07:00
Binh-Minh Ribler
a48c9c4024 Purpose: Add new C++ wrappers
Description:
    Added wrappers for H5Iis_valid, H5Ps/get_nlinks, H5Tget_create_plist,
    H5Oopen, H5Oclose and H5Pset_virtual

        // Checks if the given ID is valid.
        static bool isValid(hid_t an_id);

        // Sets the number of soft or user-defined links that can be
        // traversed before a failure occurs.
        void setNumLinks(size_t nlinks) const;

        // Gets the number of soft or user-defined link traversals allowed
        size_t getNumLinks() const;

        // Returns a copy of the creation property list of a datatype.
        PropList getCreatePlist() const;

        // Opens an object within a group or a file, i.e., root group.
        hid_t getObjId(const char* name,...);
        hid_t getObjId(const H5std_string& name,...);

        // Closes an object opened by getObjId().
        void closeObjId(hid_t obj_id) const;

        // Maps elements of a virtual dataset to elements of the source dataset.
        void setVirtual(const DataSpace& vspace, const char *src_fname,...);
        void setVirtual(const DataSpace& vspace, const H5std_string src_fname,...);

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-13 22:53:43 -05:00
Binh-Minh Ribler
8f5a1f43d0 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp into develop 2017-03-03 08:50:04 -06:00
Binh-Minh Ribler
861a849530 Description:
Only format changes: mostly tabs vs. spaces
Platforms tested:
    Linux/64 (jelly) - very minor
2017-03-03 08:45:57 -06:00
Allen Byrne
2562ec3a4b Update CMake files and formatting 2017-03-01 14:47:53 -06:00
Binh-Minh Ribler
4fc97f2853 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp into develop 2017-02-23 16:54:38 -06:00
Binh-Minh Ribler
d7c6fa00da Purpose: Add new C++ wrappers
Description:
    Added wrappers for H5Fget_info2, H5Inmembers, and H5Itype_exists

        // Gets general information about this file.
        void getFileInfo(H5F_info2_t& file_info) const;

        // Returns the number of members in a type.
        static hsize_t getNumMembers(H5I_type_t type);

        // Determines if an element type exists.
        static bool typeExists(H5I_type_t type);

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-02-23 16:53:16 -06:00
Dana Robinson
dca632bd96 Minor fix for duplicated H5Pclose() call in C++ tests. 2017-02-23 12:07:44 -05:00
Binh-Minh Ribler
5f759d6d9f Description:
Fixed and added function comments.
Platform tested:
    Jam (very minor)
2017-02-16 00:35:44 -06:00
Binh-Minh Ribler
f51f05ec20 Description:
Fixed small typos
Platform tested:
    Jam (very minor)
2017-02-15 09:15:06 -06:00
Binh-Minh Ribler
40b13c7445 Purpose: Add new C++ wrappers
Description:
    Added wrappers for H5Pset_file_space and H5Pget_file_space

        // Sets the strategy and the threshold value that the library will
        // will employ in managing file space.
        void setFileSpace(H5F_file_space_type_t strategy, hsize_t threshold) const;

        // Returns the strategy that the library uses in managing file space.
        H5F_file_space_type_t getFileSpaceStrategy() const;

        // Returns the threshold value that the library uses in tracking free
        // space sections.
        hsize_t getFileSpaceThreshold() const;

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-02-15 09:01:05 -06:00
Allen Byrne
d1292691c4 HDFFV-9875 enable static pdb and cleanup exports 2017-02-03 12:41:30 -06:00
Allen Byrne
177c050891 HDFFV-9875 Fix target exports and add static tools pdb files 2017-02-02 12:09:10 -06:00
Allen Byrne
556ff06975 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'bd85e57904f1f943774bb99ea5e8b0d074db0edb':
  tools/test/h5diff/testh5diff.sh.in:          Add code to delete copies of test .h5 files copied from          tools/testfiles/vds to tools/test/h5diff/testfiles when running          "make check" for an in-source build.
2017-01-13 10:57:26 -06:00