Commit Graph

919 Commits

Author SHA1 Message Date
lrknox
f1a33b351c Merge branch 'hdf5_1_8' into hdf5_1_8_21
Somehow Binh-Minh's latest commits to the hdf5_1_8 branch were missed
when the hdf5_1_8_21 branch was created.
2018-05-14 17:13:50 -05:00
Binh-Minh Ribler
cc4bf0fd45 Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_8_bmr into hdf5_1_8 2018-05-14 14:21:27 -05:00
Binh-Minh Ribler
9b127e38fb Fixed typos
Description:
    Fixed miscellaneous typos that caused warnings when generating the
    documents with doxygen.
Platforms tested:
    Linux/64 (jelly)
    Darwin (osx1010test)
2018-05-14 14:19:23 -05:00
lrknox
1bfaecf413 Update .so numbers in config/lt_verse.am. 2018-05-13 19:10:34 -05:00
lrknox
4d4cb63fbd Update version to 1.8.21-pre1 2018-05-13 08:01:40 -05:00
lrknox
1b5aaa6a7c Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_8 2018-05-12 20:39:35 -05:00
lrknox
a5bab8081e Updated support branch version number to 1.8.22 2018-05-12 20:39:08 -05:00
Binh-Minh Ribler
e5b337dd88 Code cleanup
Description:
    The function getNumAttrs should be in H5Location so that when an
    attribute is the location, the function will get the number of attributes
    belong to the object, which the invoking attribute is attached to.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2018-05-12 18:36:37 -05:00
Binh-Minh Ribler
572bc474a6 Added C++ wrappers
Description:
    - Added the following wrappers to class H5::H5Location:
      + 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)

      + 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,...)

    - Added using statements to H5::Group for functions that need to be
      be in both classes, H5Location and CommonFG, until they can be removed.
    - Removed H5A wrappers from H5Location as they've been in H5Object.
    - Clean up deprecated items and updated comments.

Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2018-05-12 12:39:42 -05:00
Binh-Minh Ribler
c32b738708 C++ API improvement
Description:
    - Reorganized some exception classes to reflect the HDF5 object
      hierarchy and provide extendibility.
        DataSetIException -> LocationException -> Exception
        DataTypeIException -> LocationException -> Exception
        GroupIException -> LocationException -> Exception
        AttributeIException -> LocationException -> Exception
        FileIException -> GroupIException -> LocationException -> Exception
    - Added throwException() to these subclasses and use it in H5Location
        and H5Object member functions to throw an exception that is specific
        to the object that invokes the member function.  Applications that
        catch the base exception can continue to do the same.
    - Many cleanup for inconsistencies in comments/headers.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2018-05-10 13:04:28 -05:00
Binh-Minh Ribler
ffd98d490f Fixed typo 2018-05-08 13:08:38 -05:00
Binh-Minh Ribler
a6ab2fc566 Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_8_bmr into hdf5_1_8 2018-05-07 00:02:20 -05:00
Binh-Minh Ribler
01b3b7bf47 C++ API improvement
Description:
    - Added another argument, LinkCreatPropList& lcpl, to the CommonFG::createGroup()
      functions for the use of link creation property list.  The new argument has
      a default value.
        Group createGroup(const char* name, size_t size_hint = 0,
                    const LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT)
        Group createGroup(const H5std_string& name, size_t size_hint = 0,
                    const LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT)
    - Removed memory leaks caused by accidentally invoking p_get_member_type
    (in H5CompType.cpp, user reported via email, maybe no jira issue)
    - Made H5Location::closeObjId static, so no object is needed to close an hdf5 id.
    - Added classes StrCreatPropList, LinkCreatPropList, AttrCreatPropList
      for the C property list classes H5P_STRING_CREATE, H5P_LINK_CREATE,
      and H5P_ATTRIBUTE_CREATE.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2018-05-06 23:58:06 -05:00
hdftest
ff30acd3c8 Snapshot version 1.8 release 21 (snap12) 2018-04-15 21:24:32 -05:00
Allen Byrne
d87a94a00d HDFFV-10444 fix so numbers 2018-04-10 11:48:59 -05:00
Binh-Minh Ribler
519e475851 Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_8_bmr into hdf5_1_8 2018-04-09 10:50:43 -05:00
Binh-Minh Ribler
af64ad195c Removed external links from C++ doc. 2018-04-09 10:49:30 -05:00
hdftest
727ef7c334 Snapshot version 1.8 release 21 (snap11) 2018-04-01 20:43:28 -05:00
hdftest
b372465824 Snapshot version 1.8 release 21 (snap10) 2018-03-25 21:34:31 -05:00
Allen Byrne
542ef40456 Merge from develop HDFFV-8359 and remove FindMPI copies 2018-03-09 12:50:34 -06:00
Allen Byrne
e835063ebf Change CMake min to 3.10 2018-03-09 12:38:48 -06:00
hdftest
c1cc4a123f Snapshot version 1.8 release 21 (snap9) 2018-03-04 21:23:03 -06:00
hdftest
4ceeadc767 Snapshot version 1.8 release 21 (snap8) 2018-02-25 21:31:12 -06:00
hdftest
f7d2fbe58d Snapshot version 1.8 release 21 (snap7) 2018-02-19 06:49:27 -06:00
hdftest
9b693a7b99 Snapshot version 1.8 release 21 (snap6) 2018-02-11 22:25:00 -06:00
hdftest
957d1b85d8 Snapshot version 1.8 release 21 (snap5) 2018-02-04 21:40:52 -06:00
Allen Byrne
74cef485ae HDFFV-10398 Merge from develop 2018-02-01 11:05:59 -06:00
hdftest
b0cb6af193 Snapshot version 1.8 release 21 (snap4) 2018-01-28 21:39:57 -06:00
Allen Byrne
ef4aa562dd HDFFV-10392,10393,01385 merge from develop 2018-01-22 11:56:54 -06:00
hdftest
c9e0dc9533 Snapshot version 1.8 release 21 (snap3) 2018-01-07 21:39:19 -06:00
hdftest
d3acc019dc Snapshot version 1.8 release 21 (snap2) 2017-12-31 21:02:49 -06:00
Allen Byrne
ef2ac07845 Update link target commands 2017-12-21 14:41:48 -06:00
hdftest
fd4de809a7 Snapshot version 1.8 release 21 (snap1) 2017-12-17 21:29:50 -06:00
hdftest
4d336d26b1 Snapshot version 1.8 release 21 (snap0) 2017-12-10 21:36:02 -06:00
Binh-Minh Ribler
d18280078e Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_8_bmr into hdf5_1_8 2017-12-07 09:53:45 -06:00
Binh-Minh Ribler
8f181ff0c1 Miscellaneous cleanup
Description:
    Moved items around to remove Doxygen warnings.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-12-07 09:51:03 -06:00
lrknox
2c3bde7f74 Add assignment to get value from environment variable realtimeOutput.
Propagate changes to Makefile.ins with bin/reconfigure.
2017-12-04 16:54:09 -06:00
lrknox
d113b89232 Update .so numbers in hdf5_1_8 to match updates for hdf5_1_8_20 branch. 2017-11-17 16:15:34 -06:00
Binh-Minh Ribler
c47ece75b8 Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_8_bmr into hdf5_1_8 2017-11-13 14:44:36 -06:00
Binh-Minh Ribler
caac3b1d10 Changed file path to relative. 2017-11-13 14:42:44 -06:00
lrknox
e57c83fce0 Update version string on hdf5_1_8 development branch following creation of new
hdf5_1_8_20 branch.
2017-10-30 14:57:03 -05:00
Binh-Minh Ribler
812b2a3f85 Merge branch 'hdf5_1_8' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_8_bmr into hdf5_1_8 2017-10-17 23:58:43 -05:00
Binh-Minh Ribler
78ab45cb72 Adding new C++ wrappers
Description:
    - Added overloaded wrappers for H5Oget_info and H5Oget_info_by_name
        // Retrieves information about an object
        void getObjectInfo(H5O_info_t *oinfo) const;
        void getObjectInfo(const char *name, H5O_info_t *oinfo,
                const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
        void getObjectInfo(const H5std_string& name, H5O_info_t *oinfo,
                const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
    - Many miscellaneous cleanup for consistent appearance
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-10-17 23:56:16 -05:00
HDF Tester
24c6653cbd Snapshot version 1.8 release 20 (snap7) 2017-10-15 20:35:29 -05:00
Binh-Minh Ribler
0054442083 Merge pull request #699 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_8_bmr:hdf5_1_8 to hdf5_1_8
* commit 'e9f1081a40611105bf6f610bb22dc8092896ba83':
  Addition to PR# 697     This test file was missing from the previous commit.
2017-10-11 10:23:10 -05:00
HDF Tester
a757999b6a Snapshot version 1.8 release 20 (snap6) 2017-10-08 21:40:52 -05:00
Binh-Minh Ribler
d9e1393600 Addition to PR# 697
This test file was missing from the previous commit.
2017-10-06 14:10:20 -05:00
Binh-Minh Ribler
b1819710bc 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;

    - Replaced existing functions CommonFG::openXxxType with individual
      data type constructors, XxxType, to improve usability.

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-10-05 16:24:25 -05:00
Binh-Minh Ribler
e0140506ab Miscellaneous code cleanup
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.
    - Updated doxygen config file: C2Cppfunction_map.mht to HTML_EXTRA_FILES.
    - Miscellaneous improvements in comments, including updating URLs.
    - Removed deprecated H5Location and H5Object constructors that take an
          existing ID.
2017-10-04 14:09:10 -05:00
HDF Tester
f97cd03106 Snapshot version 1.8 release 20 (snap5) 2017-09-17 20:52:28 -05:00