Commit Graph

17448 Commits

Author SHA1 Message Date
Allen Byrne
6287bac6e5 Rework new tests into one macro 2018-03-13 12:26:24 -05:00
Allen Byrne
cbe8171f67 Fix CMake test names 2018-03-13 10:26:49 -05:00
Dana Robinson
f0238d0346 Merge pull request #945 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdffv_10358 to develop
* commit 'b877534a330a201e3b5c51d97daa8e01a5c1cd3a':
  Added a fix for HDFFV-10358.
2018-03-13 10:13:30 -05:00
Larry Knox
4aa3784f12 Merge pull request #947 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:HDFFV-10397-testphdf5-has-some-memory-leaks to develop
* commit '86890ac84ba74a437f87d98e7d7931dccc0fe856':
  Add release note for HDFFFV-10397.
2018-03-13 09:22:38 -05:00
Binh-Minh Ribler
6c789d2913 Merge pull request #946 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
* commit '19d54162ce7e43f04572b7cea12695df11ba7bea':
  Fixed typo
  Fixed documentation Description:     - Updated the description of copy constructor for clarification.     - Removed unnecessary comments. Platforms tested:     Linux/64 (jelly)
2018-03-12 21:08:12 -05:00
Binh-Minh Ribler
19d54162ce Fixed typo 2018-03-12 21:07:24 -05:00
lrknox
86890ac84b Add release note for HDFFFV-10397. 2018-03-12 20:39: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
Dana Robinson
b877534a33 Added a fix for HDFFV-10358. 2018-03-12 17:56:54 -07: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
Vailin Choi
a8afb3ab3b Merge pull request #931 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit 'f08b8fa10e7bac5ae26e3b06f938d38ebb3f28e1':
  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-12 18:00:05 -05:00
Allen Byrne
612fefc435 Merge pull request #940 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '2adf6c741fcd984a3067373e03023e71a8d721a9':
  Remove obsolete files
  HDFFV-10418 adjust build commands to match main library build
2018-03-12 15:55:13 -05:00
Richard Warren
db5bc1895d Merge pull request #941 in HDFFV/hdf5 from t_bigio_develop to develop
* commit '1a3beaadce81ad257d186c9dca8906577cce58b0':
  Unify the test (t_bigio.c) between hdf5_1_10 and develop
2018-03-12 15:42:37 -05:00
Richard Warren
1a3beaadce Unify the test (t_bigio.c) between hdf5_1_10 and develop 2018-03-12 16:17:10 -04:00
Larry Knox
6492e67cdc Merge pull request #939 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:HDFFV-10397-testphdf5-has-some-memory-leaks to develop
* commit '5d7c18fcfc14a53f4d6321460463357fbda61f4b':
  Remove comparison to NULL for variables to be freed.
  Add HDfree of vector, matrix_out and matrix_out1 previously HDmalloced in coll_write_test().
2018-03-12 14:33:19 -05:00
lrknox
5d7c18fcfc Remove comparison to NULL for variables to be freed. 2018-03-12 14:10:59 -05:00
lrknox
6a53c14240 Add HDfree of vector, matrix_out and matrix_out1 previously HDmalloced
in coll_write_test().
2018-03-12 13:47:27 -05:00
Allen Byrne
2adf6c741f Remove obsolete files 2018-03-12 13:40:38 -05:00
Scot Breitenfeld
1918972960 Merge pull request #938 in HDFFV/hdf5 from avoid_trunc_beta to develop
* commit '4823abf3ee0d9df1c3f23ae7e36ce4d1d146afd6':
  Removed commented out code from H5FDmpio.c, H5FDprivate.h and H5Fint.c
  Optimized version of avoid truncate patch.
2018-03-12 13:03:10 -05:00
Allen Byrne
9ea48ca15a Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '64565f9771a50138e77a806d7ab330e3919c1847':
  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.
  Improve code Description:     Added notes and changed argument to H5Fcreate to clarify the     latest situation Platforms tested:     Linux/64 (jelly)
2018-03-12 12:09:03 -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
Binh-Minh Ribler
0684235b36 Merge pull request #935 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr:develop to develop
Notes for gen_bounds.c

* commit '8155dba8d7cb8dbe2532c17c7ea5a27f52e3095b':
  Improve code Description:     Added notes and changed argument to H5Fcreate to clarify the     latest situation Platforms tested:     Linux/64 (jelly)
2018-03-12 11:25:03 -05:00
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