Commit Graph

17580 Commits

Author SHA1 Message Date
Allen Byrne
1651db0608 HDFFV-10418 adjust build commands to match main library build 2018-03-12 10:59:07 -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
Vailin Choi
f08b8fa10e Enhancement to the tool h5clear (HDFFV-10360) 2018-03-12 09:02:15 -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
7841653359 Updated MANIFEST for H5LcreatProp.[h,cpp] 2018-03-11 23:39:46 -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
mainzer
4823abf3ee Removed commented out code from H5FDmpio.c, H5FDprivate.h and H5Fint.c
Tested parallel (debug and production) and serial (production)
2018-03-11 22:32:09 -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
Binh-Minh Ribler
8155dba8d7 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr into develop 2018-03-09 20:46:41 -06:00
Binh-Minh Ribler
4731819b0e Improve code
Description:
    Added notes and changed argument to H5Fcreate to clarify the
    latest situation
Platforms tested:
    Linux/64 (jelly)
2018-03-09 20:44:37 -06:00
Allen Byrne
75db73efc5 Add release note 2018-03-09 12:49:26 -06:00
Allen Byrne
2d0a0859b2 Remove obsolete comments 2018-03-09 12:45:22 -06:00
Allen Byrne
24c62ba7fe Change CMake min to 3.10 2018-03-09 12:32:06 -06:00
Allen Byrne
2a5d608f7b Merge pull request #929 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '13f5388149a0dd39a6f67d30d63c6d622e249fd9':
  HDFFV-4359 Add HL C++ and fix install parameters
  HDFFV-4359 Add C,HL,CXX files
2018-03-09 12:20:04 -06:00
Binh-Minh Ribler
53235aa24c Merge pull request #930 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr:develop to develop
* commit '7c293908a772dd19d69872b4dbf1fdcbbbf5f94f':
  Improving tests Description:     Fixed typos that caused daily test failure on Ostrich Platforms tested:     Linux/64 (jelly)     Linux/ppc64 (ostrich)
2018-03-09 09:18:06 -06:00
Vailin Choi
8ba788ca89 Fix for HDFFV-10209 VDS SWMR test failure
Free the object header when there are chksum retries.
2018-03-09 01:25:40 -06:00
Binh-Minh Ribler
7c293908a7 Improving tests
Description:
    Fixed typos that caused daily test failure on Ostrich
Platforms tested:
    Linux/64 (jelly)
    Linux/ppc64 (ostrich)
2018-03-09 00:35:42 -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
00d29181b5 Merge pull request #928 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '6d75a3ffb4b1451ff80b7fdddafa5859376bee77':
  Fix misaligned macro
  Fix CMake missing parens
2018-03-08 08:48:33 -06:00
Allen Byrne
6d75a3ffb4 Fix misaligned macro 2018-03-07 15:55:33 -06:00
Allen Byrne
8347a31871 Fix CMake missing parens 2018-03-07 15:46:58 -06:00
Binh-Minh Ribler
e1721103c5 Merge pull request #901 in HDFFV/hdf5 from ~BMRIBLER/version_bounds_bmr:develop to develop
tests for version bounds.

* commit 'f05f9d4cffab5e008c67e19034c1b248e1b01b3c':
  Miscellaneous test fixes Description:     - dtypes.c: added the use of highest version of nested datatypes to       verify the datatype's version.     - miscellaneous typos Platforms tested:     Linux/64 (jelly)     Darwin (osx1010test)
  Added h5repack tests Description:     Added tests SUPERBLOCK and INVALIDBOUNDS, composed by ADB. Platforms tested:     Linux/64 (jelly) - cmake
  Added bounds_latest_latest.h5
  Misc improvement Description:     - Added test file for h5repack test VERIFY_INVALIDBOUNDS     - Updated MANIFEST     - Removed unnecessary header file in test     - Update h5repack script to copy the new file to the test location Platforms tested:     Linux/64 (jelly)     Darwin (osx1010test)
  Improving tests Description:     - Added test for version bounds with nested datatypes     - Added script for additional version bound test in h5repack     - Cleaned up tests for consistency     - Removed extra included header files Platforms tested:     Linux/64 (jelly)     Linux/64 (moohan)     Darwin (osx1010test)
2018-03-07 15:09:15 -06:00
Allen Byrne
3593694811 Merge pull request #926 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '08fc36b0ca10abb9960c6543b4bc854d8d8aaf31':
  Correct cutnpaste
  Add missing note
2018-03-07 12:24:17 -06:00
Allen Byrne
08fc36b0ca Correct cutnpaste 2018-03-07 12:23:04 -06:00
Allen Byrne
36bf5edfc9 Add missing note 2018-03-07 11:41:55 -06:00
Allen Byrne
6fb3962d9a Merge pull request #925 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1428e57fbf03d5ee58e6e4bbc2cdf71c2200607d':
  HDFFV-10414 fix note
  HDDFV-10414 correct location of error change
2018-03-07 11:16:31 -06:00
Allen Byrne
1428e57fbf HDFFV-10414 fix note 2018-03-07 10:53:07 -06:00
Allen Byrne
d981692e63 HDDFV-10414 correct location of error change 2018-03-07 10:52:34 -06:00
Allen Byrne
08d007a307 Merge pull request #924 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '2db84441d742433c0aee26624a7b3fd05c2dbbf2':
  ifdef around another function
2018-03-07 10:29:32 -06:00
Allen Byrne
2db84441d7 ifdef around another function 2018-03-06 16:51:31 -06:00
Allen Byrne
cad9a33760 Merge pull request #923 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'b8b0afc4c3e532c07c1284eddb0c5cb7834ea86a':
  Add #ifdef H5_HAVE_FORK eliminates special handling
  Add #ifdef H5_HAVE_FORK
2018-03-06 15:57:16 -06:00
Allen Byrne
b8b0afc4c3 Add #ifdef H5_HAVE_FORK eliminates special handling 2018-03-06 15:41:51 -06:00
Allen Byrne
e5b602fafe Add #ifdef H5_HAVE_FORK 2018-03-06 15:40:15 -06:00
Binh-Minh Ribler
f05f9d4cff Miscellaneous test fixes
Description:
    - dtypes.c: added the use of highest version of nested datatypes to
      verify the datatype's version.
    - miscellaneous typos
Platforms tested:
    Linux/64 (jelly)
    Darwin (osx1010test)
2018-03-06 11:41:33 -06:00
Allen Byrne
d8f88eb7b8 Merge pull request #922 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '960a1d55eed8b30350d7a87e1a9a7da72e86d270':
  plist testfiles need to be copied into VFD test folders as well
2018-03-06 09:57:50 -06:00
Allen Byrne
960a1d55ee plist testfiles need to be copied into VFD test folders as well 2018-03-06 09:45:26 -06:00
Larry Knox
56afea019b Merge pull request #920 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'b3142a85fda8670a5780e6d3d080d54a71e0fc1d':
  Update install file for configure revisions.
2018-03-06 09:10:19 -06:00
Binh-Minh Ribler
2b50dc9855 Added h5repack tests
Description:
    Added tests SUPERBLOCK and INVALIDBOUNDS, composed by ADB.
Platforms tested:
    Linux/64 (jelly) - cmake
2018-03-06 09:02:32 -06:00
Allen Byrne
76f58c375f Merge pull request #921 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1c3ba3721718c8089da65fae02f65068d8530fa7':
  HDFFV-10292 Windows drive letters cause issues in paths
  HDFFV-10414 restore Ctl char - do we really need these anymore
  HDFFV-10414 change minor error_number
2018-03-06 08:57:15 -06:00
Allen Byrne
1c3ba37217 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'd8723ac1178a69c4dff7164203d999d61c2159bb':
  Fix for HDFFV-10357 (CVE-2017-17508).
  Fix for HDFFV-10355 (CVE-2017-17506).
  Fix for HDFFV-10354 (CVE-2017-17505).
2018-03-06 08:29:55 -06:00
Dana Robinson
d8723ac117 Merge pull request #910 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdffv_10355 to develop
* commit 'b61c93acb3c5d50d379950f6e3de5040c71dd041':
  Fix for HDFFV-10355 (CVE-2017-17506).
2018-03-05 18:43:38 -06:00
Dana Robinson
b61c93acb3 Merge branch 'develop' into hdffv_10355 2018-03-05 16:08:28 -08:00
Dana Robinson
bbadec5680 Merge pull request #908 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdffv_10354 to develop
* commit '4faf4d335b638215c2220564b894e909ff322ca8':
  Fix for HDFFV-10354 (CVE-2017-17505).
2018-03-05 17:28:09 -06:00
Dana Robinson
4faf4d335b Merge branch 'develop' into hdffv_10354 2018-03-05 15:27:03 -08:00
M. Scot Breitenfeld
a8bea5fd26 Merge branch 'develop' into avoid_trunc_beta 2018-03-05 15:36:27 -06:00