Commit Graph

1115 Commits

Author SHA1 Message Date
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