Commit Graph

1227 Commits

Author SHA1 Message Date
Larry Knox
f5234cd194 [svn-r29379] Add individual LT_VERS_* variables for wrapper libraries: c++, fortran, java, hl, hl/c++, hl/fortran to so that the shared object version numbers can be incremented independently.
Disabled auto-increment of shared object version numbers by h5vers.

Files modified:
    config/lt_vers.am
    java/src/jni/Makefile.am
    hl/src/Makefile.am
    hl/c++/src/Makefile.am
    hl/fortran/src/Makefile.am
    c++/src/Makefile.am
    bin/h5vers
    fortran/src/Makefile.am
2016-03-09 13:55:31 -05:00
Binh-Minh Ribler
ab4c2402f1 [svn-r29362] Description:
Removed another left-over commented-out line.
Platforms tested:
    Linux/64 (platypus) - very minor
2016-03-08 22:46:24 -05:00
Binh-Minh Ribler
20bfdeb2c1 [svn-r29361] Purpose: Correction
Description:
    Replaced static_cast with reinterpret_cast for "void *".
    Removed some commented-out old code.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-08 22:30:02 -05:00
Binh-Minh Ribler
116eed3ebd [svn-r29340] Purpose: Code cleanup
Description:
    - Removed many warnings:
        warning: use of old-style cast
        warning: enumeration value ‘H5D_VIRTUAL’ not handled in switch
        warning: comparison between signed and unsigned
      There are others of the same warnings and they will be taken care of
      in the next release.
    - Made some code reuse between overloads
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-08 07:23:54 -05:00
Binh-Minh Ribler
36c4634606 [svn-r29322] Purpose: Remove obsoletes
Description:
    Removed obsolete functions from the documentation.  They are still
    in the code, however, until the next two releases, just in case.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-07 16:02:17 -05:00
Binh-Minh Ribler
b346cb0599 [svn-r29306] Purpose: Add function
Description:
    Added member function ArrayType::operator= because ArrayType has
    pointer data members.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-07 10:42:30 -05:00
Allen Byrne
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Binh-Minh Ribler
72bc67f464 [svn-r29004] Description:
Removed extra ';'.
Platform tested
    jam (very minor)
2016-01-28 11:26:08 -05:00
Binh-Minh Ribler
a7ef06d593 [svn-r28906] Description:
Added c++/test/tarray.cpp.
2016-01-15 10:57:00 -05:00
Binh-Minh Ribler
0d68aa89ce [svn-r28905] Purpose: Fix user reported problem
Description:
    User Adam Rosenberger reported a failure when using the member function
    AbstractDs::getArrayType().  This problem was caused by missing
    initialization of the ArrayType's members in some cases.
Solution:
    - Added ArrayType::setArrayInfo() to retrieve rank and dimensions of
      an array and store them in memory for easy access.
    - Re-factored a few functions to use the new function.
    - We'll give him 1.8.16 patch
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-01-15 10:53:33 -05:00
HDF Tester
6d8b831b31 [svn-r28730] Snapshot version 1.9 release 233 2015-12-27 23:20:23 -05:00
Jerome Soumagne
2094d86461 [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if available
Fix tests accordingly and fix misuse of hbool_t in various places

Fix initialization of H5Pgcpl/ocpl structs in property decoding routines

Tested on:
    Linux/32 (jam)
    Linux/64 (platypus)
    Linux/PPC64 (ostrich)
    MacOSX/64 10.11
2015-10-20 01:28:17 -05:00
Binh-Minh Ribler
bd995868ee [svn-r28047] Purpose: Fix memory leaks
Description:
    - Implemented the friend function
        void f_PropList_setId(PropList* plist, hid_t new_id)
      to work around the same problem described in trunk r26655, for the
      API DataSet::getCreatePlist()
    - Cleaned up some comments and obsolete functions
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-12 23:57:28 -05:00
Binh-Minh Ribler
fc84edb7e3 [svn-r28027] Purpose: Fix memory leaks
Description:
    - Removed H5Library::instance because it is unnecessary.  All H5Library's
      methods are static.  This, in turn, removed the memory leaks by
      H5Library::instance not being deleted.
    - Added ObjCreatPropList::deleteConstants to atexist() list
    - Cleaned up comments and format inconsistencies with 1.8
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-10 23:05:21 -05:00
Elena Pourmal
d0babe88da [svn-r27968] Modified version number to 1.9.233 before creating a tar ball for DLS. 2015-10-06 12:03:41 -05:00
Binh-Minh Ribler
db00c23829 [svn-r27966] Description
Added H5OcreatProp.h and H5OcreatProp.cpp.
2015-10-06 09:48:32 -05:00
Binh-Minh Ribler
f17eb1e610 [svn-r27961] Purpose: Partial fix of issues HDFFV-9169 and HDFFV-9167
Description:
    Added wrappers for H5P[s/g]et_attr_phase_change and H5P[s/g]et_attr_creation_order

    // Sets attribute storage phase change thresholds.
    void setAttrPhaseChange(unsigned max_compact = 8, unsigned min_dense = 6)

    // Gets attribute storage phase change thresholds.
    void getAttrPhaseChange(unsigned& max_compact, unsigned& min_dense)

    // Sets tracking and indexing of attribute creation order.
    void setAttrCrtOrder(unsigned crt_order_flags)

    // Gets tracking and indexing settings for attribute creation order.
    unsigned getAttrCrtOrder()

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-05 23:31:58 -05:00
Binh-Minh Ribler
888a002cdd [svn-r27945] Purpose: Fix HDFFV-9529
Description:
    Merged from hdf5_CppAPI_Constants

    r27942:
    ------
    Description:
    - Added H5dont_atexit() to getPredType and all the getConstant's to prevent
    the C library from terminating before the C++ library cleanup.
    - More cleanup and added more comments

    r27923:
    ------
    - Updated more comments and moved some things around for consistency
    - Removed check for "new" failure, exceptions would be thrown

    r27922:
    ------
    Description:
        Added function headers and more comments for clarity.

    r27917:
    ------
    Description:
        The C++ library has several types of global constants from different
        classes, such as PropList, PredType, DataSpace, etc...  Previously,
        these global constants were declared statically and the C++ library used
        a constant, called PredType::AtExit, to detect when all the global
        contants are destroyed then close the C library (H5close).  This method
        relied on the order of the constants being created and destroyed and
        that PredType constants be the last to be destroyed.  In September 2015,
        it was recognized that the order in which the global constants were
        created and destroyed was actually undefined, thus can be different
        between different compilers.  This resulted in failure when compilers
        destroy PredType constants before others because when PredType::AtExit
        was destroyed, the C library was closed, so when the constants of other
        classes such as PropList or DataSpace were being deleted, the C library
        would not be available.

    Solution:
        The static approach is changed to dynamic.  In order to avoid an impact
        on existing applications, the static global constants are changed to
        constant references to the dynamically allocated objects.
        A detailed explanation of the new method and a description of the
        changes are in a Design Notes at the end of the file H5PredType.cpp.

        New functions added to support the new methods are listed below.

        class H5Library:
                // Returns a singleton H5Library to initialize the global
                // constants, invoked in IdComponent default constructor
                static H5Library* getInstance(); // public

                // Registers cleanup and terminating functions with atexit(),
                // called in IdComponent default constructor
                static void initH5cpp(void); // public

                // Calls H5close to terminate the library, registered with
                // atexit(), as the last thing to be done.
                static void termH5cpp(void); // public

        class PredType:
                // Creates the constants
                static void makePredTypes(); // private

                // Calls makePredTypes to create the constants and returns
                // the dummy constant PREDTYPE_CONST;
                static PredType* getPredTypes(); // private

        class DataSpace:
                // Creates the constant
                static DataSpace* getConstant(); // private

        class PropList:
                // Creates the constant
                static PropList* getConstant(); // private

        class DSetCreatPropList:
                // Creates the constant
                static DSetCreatPropList* getConstant(); // private

        class DSetMemXferPropList:
                // Creates the constant
                static DSetMemXferPropList* getConstant(); // private

        class FileCreatPropList:
                // Creates the constant
                static FileCreatPropList* getConstant(); // private

        class FileAccPropList:
                // Creates the constant
                static FileAccPropList* getConstant(); // private

        This function is added to PredType, DataSpace, PropList, and the four
        subclasses of PropList:
                // Deletes the constant
                static void deleteConstants(); // public

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-04 00:05:51 -05:00
Binh-Minh Ribler
0ef29b550b [svn-r27943] Purpose: Fix HDFFV-7947 (cont.)
Description:
    In the friend functions that setId, changed the direct assignment of
    id to using p_setId() so that the previous id can be closed first to
    avoid memory leaks.
    This change was tested and confirmed by user Jorj on Forum when his
    application stopped running out of memory.  Currently, the C++ library
    doesn't have a way to test this.  A function such as H5Inmembers for
    library ids would be helpful.
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Darwin (osx1010test)
2015-10-03 13:56:21 -05:00
Dana Robinson
058ec37559 [svn-r27795] Removed some autotools generated files that were not caught by
the last checkin.

Tested on: bin/chkmanifest
2015-09-15 15:52:14 -05:00
Dana Robinson
9af344117c [svn-r27794] Reintegration merge of features/autotools_rework branch with trunk
NOTES:

- Developers will have to run autogen.sh before building with the autotools.

- autogen.sh takes the -p option to mimic the old bin/reconfigure behavior.

- The generated error, overflow and version headers have been left in place.

- The generated H5LT parser code has also been left in place.

- There are no changes for CMake users at this time.

Tested on: h5committest
2015-09-15 15:38:57 -05:00
Quincey Koziol
1023374492 [svn-r27768] Description:
Complete revamp of package initialization/shutdown mechanism in the library.
Each package now has a single init/term routine.

    This new way should avoid packages being re-initialized during library
shutdown and is also be _much_ more proactive about giving feedback for
resource leaks internal to the library.

    Introduces a new "module" header file for packages in the library
(e.g src/H5Fmodule.h) which sets up some necessary package configuration macros
for the FUNC_ENTER/LEAVE macros.  (The VFL drivers have their own slightly
modified version of this header, src/H5FDdrvr_module.h)

    Also cleaned up a bunch of resources leaks all across the library and tests,
along with addressing many warnings, as I encountered them.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    Linux/64 3.10.x (kituo) w/serial & parallel
    Linux/64 2.6.x (ostrich) w/serial
2015-09-13 22:58:59 -05:00
HDF Tester
f16361d5f1 [svn-r27767] Snapshot version 1.9 release 231 2015-09-13 19:43:47 -05:00
Allen Byrne
10da31a926 [svn-r27745] Merge trunk revision 27744 2015-09-10 09:11:17 -05:00
HDF Tester
34be1d1aed [svn-r27690] Snapshot version 1.9 release 230 2015-09-06 19:31:40 -05:00
Dana Robinson
59aa015d9f [svn-r27638] Merged r27500-27631 from trunk. 2015-08-31 23:36:17 -05:00
Scot Breitenfeld
e6f9fc5f7f [svn-r27625] Added preprocessor commands for PGI compiler.
tested: h5committest
2015-08-31 13:49:17 -05:00
HDF Tester
74792949c9 [svn-r27622] Snapshot version 1.9 release 229 2015-08-30 19:55:54 -05:00
Dana Robinson
2e6100fb23 [svn-r27572] Removed VMS-specific code from the library.
The only remaining code consists of a few floating-point tests
that rely on pre-generated and checked-in VMS files. These have
been left alone, even though they will not be possible to
recreate, since testing VMS float behavior is still important.

Tested on: h5committest
2015-08-24 15:19:39 -05:00
HDF Tester
abdb2a6456 [svn-r27551] Snapshot version 1.9 release 228 2015-08-23 19:21:39 -05:00
Scot Breitenfeld
d06fee7bd2 [svn-r27517] Removed all perl scripts from configure.
Tested: h5committest
2015-08-17 16:12:03 -05:00
HDF Tester
68347a67ef [svn-r27511] Snapshot version 1.9 release 227 2015-08-16 21:58:42 -05:00
Dana Robinson
c27d180848 [svn-r27507] Merge of r27237-27500 from the trunk.
Tested w/ h5committest

NOTES: - The manifest may still be messed up.
       - Cmake fails since the dual binary work needs to be merged with
         this repo's CMake externals.
2015-08-14 14:58:54 -05:00
Binh-Minh Ribler
c98d072e69 [svn-r27496] Description:
Used HTML_EXTRA_FILES for image files.
Platform tested:
    Re-run Doxygen on cpp_doc_config and verified the html files on a
    Windows 7 machine.
2015-08-11 13:36:39 -05:00
Binh-Minh Ribler
555a29e896 [svn-r27494] Purpose: Fix HDFFV-9288
Description:
    Added footer to include copyright and helpdesk info.
Platform tested:
    Re-run Doxygen on cpp_doc_config and verified the html files on a
    Windows 7 machine.
2015-08-11 11:44:07 -05:00
Scot Breitenfeld
caf0e7692a [svn-r27493] Trying again to merge the F2003_v1.10 branch to the trunk.
Tested: h5committest --PASSED--
2015-08-11 09:35:30 -05:00
Scot Breitenfeld
3b4696ccd1 [svn-r27489] reverted merge of branch 2015-08-10 20:22:33 -05:00
Scot Breitenfeld
a9bef45c75 [svn-r27470] svn merge -r27425:27460 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-08-05 16:35:30 -05:00
Allen Byrne
9e2434625d [svn-r27469] Merge from trunk with dual-binary CMake code.
Tested: local linux with CMake
2015-08-05 16:01:07 -05:00
HDF Tester
f56de26444 [svn-r27432] Snapshot version 1.9 release 226 2015-07-26 19:13:36 -05:00
Scot Breitenfeld
ed0bae78a0 [svn-r27426] svn merge -r27377:27425 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-22 17:09:05 -05:00
HDF Tester
74e4cd4d21 [svn-r27412] Snapshot version 1.9 release 225 2015-07-19 19:11:50 -05:00
Scot Breitenfeld
2c897f41c0 [svn-r27378] svn merge -r27326:27377 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-14 10:34:45 -05:00
HDF Tester
12b86abf18 [svn-r27372] Snapshot version 1.9 release 224 2015-07-12 19:12:22 -05:00
Allen Byrne
8bbe712961 [svn-r27364] Add Mac Framework support 2015-07-09 11:56:16 -05:00
Scot Breitenfeld
2b7f0d4780 [svn-r27357] svn merge -r27208:27356 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-09 08:47:35 -05:00
HDF Tester
f37ae9d9f9 [svn-r27339] Snapshot version 1.9 release 223 2015-07-05 19:12:35 -05:00
Scot Breitenfeld
985e8d02a4 [svn-r27327] svn merge -r27208:27326 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-02 14:12:03 -05:00
HDF Tester
53930f6671 [svn-r27262] Snapshot version 1.9 release 222 2015-06-21 19:16:13 -05:00
Dana Robinson
fb27787c2a [svn-r27222] Merge of r27035-27221 from the trunk.
Tested on 64-bit linux VM:
    Serial: C++ and Fortran 2003
    Parallel: Fortran
2015-06-17 06:48:34 -05:00
Scot Breitenfeld
85bcb77904 [svn-r27221] Reworked Fortran autools REAL KIND detection. 2015-06-16 16:47:00 -05:00
Scot Breitenfeld
6c4e3759f5 [svn-r27187] svn merge -r27135:27186 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-10 14:23:09 -05:00
Scot Breitenfeld
f2d14c76b8 [svn-r27186] added fix for jam with promoted reals and integers 2015-06-10 14:15:08 -05:00
Scot Breitenfeld
62401ac7c6 [svn-r27167] more DT fixes 2015-06-09 12:05:09 -05:00
Scot Breitenfeld
32703c9fc5 [svn-r27164] various bug fixes for DT 2015-06-08 16:13:15 -05:00
HDF Tester
02e9a43900 [svn-r27159] Snapshot version 1.9 release 221 2015-06-07 19:01:32 -05:00
Scot Breitenfeld
8641814c4e [svn-r27154] fixed issue with mis-matching long double between Fortran and C 2015-06-05 17:17:13 -05:00
Scot Breitenfeld
043173a689 [svn-r27151] fixed __float128 errors 2015-06-04 15:26:02 -05:00
Scot Breitenfeld
4d500d4902 [svn-r27140] fixed interger*16 support 2015-06-03 09:13:58 -05:00
Scot Breitenfeld
f486fe1a49 [svn-r27137] svn merge -r27115:27135 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-02 09:46:51 -05:00
Mohamad Chaarawi
fc45d5fcb0 [svn-r27133] - Add a new attribute function characterstic for format:
* H5_ATTR_FORMAT(X,Y,Z)  __attribute__((format(X, Y, Z)))
- Rename UNUSED attribute characterstic to H5_ATTR_UNUSED.
- Rename NORETURN attribute characterstic to H5_ATTR_NORETURN

tested with h5committest.
2015-06-01 14:38:09 -05:00
HDF Tester
78c4a8f4c6 [svn-r27127] Snapshot version 1.9 release 220 2015-05-31 19:02:10 -05:00
Scot Breitenfeld
52e5579fba [svn-r27122] removed dependency on generatored fortran source code 2015-05-28 11:53:15 -05:00
Scot Breitenfeld
b1cf507c6d [svn-r27116] svn merge -r26937:27115 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-05-27 17:12:43 -05:00
Scot Breitenfeld
244784ab2c [svn-r27115] Moved testing KINDs and SIZEOFs to configure. 2015-05-27 17:07:18 -05:00
HDF Tester
965e459a98 [svn-r27110] Snapshot version 1.9 release 219 2015-05-24 18:59:54 -05:00
HDF Tester
ab80cbadfd [svn-r27092] Snapshot version 1.9 release 218 2015-05-17 18:59:27 -05:00
Dana Robinson
984ecb72c2 [svn-r27038] Merge of r26393-27031 from the trunk.
Tested on 64-bit linux VM w/ C++ and Fortran 2003
2015-05-07 16:05:14 -05:00
HDF Tester
39e0b31a24 [svn-r26997] Snapshot version 1.9 release 217 2015-05-03 06:06:41 -05:00
Dana Robinson
bfa5786184 [svn-r26986] Removed H5F_ACC_DEBUG and H5FD_DEBUG functionality.
The H5F_ACC_DEBUG symbol remains but has been defined to zero and
has been listed as deprecated.

Fixes: HDFFV-1074

Tested on:
    h5committest
    32-bit Linux w/ C++ and Fortran and multi VFD
    32-bit Linux w/ C++ and Fortran and multi VFD (no deprec symbols)
2015-04-30 14:32:25 -05:00
Albert Cheng
056ffa6341 [svn-r26963] HDFFV-9298: make uninstall generated "test: argument expected" lines
The error is that $EXAMPLETOPDIR is used without setting a value first.
Solution is to set them with the proper values.

Tested: jam only to confirm the error no longer exists.
2015-04-29 02:22:43 -05:00
Scot Breitenfeld
5e6d18e5be [svn-r26869] removed the --enable-fortran2003 option, it is now just --enable-fortran 2015-04-21 13:33:25 -05:00
Scot Breitenfeld
11b19627b9 [svn-r26867] svn merge -r26837:26866 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-04-21 11:57:33 -05:00
Larry Knox
cf98752566 [svn-r26840] configure
configure.ac
hl/src/H5LTparse.c
hl/src/H5LTparse.h
        Address HDFFV-9010: configure issue with gcc 4.9.2 "-l ".
        Change default to disable_shared on CYGWIN.

release_docs/INSTALL_Cygwin.txt
release_docs/RELEASE.txt
        Update for changed default and no CYGWIN szip binary.

c++/src/cpp_doc_config
bin/h5vers
        AddressHDFFV-9010: Add cpp_doc_config to h5vers

Tested with h5committest, on CYGWIN.
2015-04-17 17:24:47 -05:00
Scot Breitenfeld
0cc9b0c79f [svn-r26825] Added include for preprocessing fortran files with configure definitions 2015-04-16 13:36:34 -05:00
HDF Tester
27313306f8 [svn-r26785] Snapshot version 1.9 release 216 2015-04-12 06:05:35 -05:00
Binh-Minh Ribler
4275900a7b [svn-r26737] Purpose: Fix daily test failure
Description:
    - In DataType::DataType(const PredType& pred_type), using DataType::copy
    will invoke DataType::close() unnecessarily, which will produce undefined
    behavior.  Changed to call H5Tcopy directly, code reuse is not useful in
    this case.
    - Also, fixed CommonFG::childObjVersion to return expected value outside of
    an if/else block.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
2015-04-06 12:46:54 -05:00
Larry Knox
3032f3adf3 [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure.
Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths.

Tested with h5committest.
2015-04-02 16:07:53 -05:00
Binh-Minh Ribler
f6d9d1fdc8 [svn-r26695] Purpose: Fixed HDFFV-7947 (cont.)
Description:
    - Put back the UNUSED parameters in dsets test because the change to remove
      the warning last time caused failure in setting filter, in turn, caused
      failure in the test with such obscure/unrelated errors!
    - Added incRefCount() to other constructors that missed from last time.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-04-01 13:52:05 -05:00
Binh-Minh Ribler
ea029945f5 [svn-r26667] Purpose: Fixed HDFFV-8766
Description:
    Per user Jason Newton request, the following constructor is added:
        H5File(hid_t existing_id);
    Also, fixed H5File::openFile to close current file first before re-using
    the object.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam gnu and Intel 15.0)
    SunOS 5.11 (emu)
2015-03-30 16:57:37 -05:00
Allen Byrne
45577d5693 [svn-r26660] HDFFV-9131: autotols rework
Remove CXX_CONDITIONAL
remove unneeded/obsolete sections.

h5commtitest
2015-03-30 13:55:21 -05:00
Binh-Minh Ribler
98d1c2d9a9 [svn-r26655] Purpose: Fixed HDFFV-7947
Description:
    When copy constructor or constructor that takes an existing id is invoked,
    the C ref counter stays the same but there is an extra C++ object which
    later is destroyed and may cause the HDF5 id to be closed prematurely. The
    C++ library needs to increment the ref counter in these situations, so that
    the C library will not close the id when it is still being referenced.

    However, the incrementing of ref count left some objects opened at the end
    of the program, perhaps, due to compiler's optimization on cons/destructors.    The constructor, that takes an existing id, needs to increment the counter
    but it seems that the matching destructor wasn't invoked.  The workaround
    is to have a function for each class that has "id" that only sets the id
    and not increment the ref count for the library to use in these situations.
    These functions are "friend" and not public.

    The friend functions are:
        void f_Attribute_setId(Attribute *, hid_t)
        void f_DataSet_setId(DataSet *, hid_t)
        void f_DataSpace_setId(DataSpace *, hid_t)
        void f_DataType_setId(DataType *, hid_t)
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam gnu and Intel 15.0)
    SunOS 5.11 (emu)
2015-03-30 12:58:44 -05:00
Binh-Minh Ribler
39fb0401a0 [svn-r26643] Purpose: Adding new wrappers (HDFFR-9167 partially)
Description:
    Added wrappers for C functions H5P[s/g]et_libver_bounds and wrappers
    for getting object header version

      // Sets bounds on versions of library format to be used when creating
      // or writing objects.
      void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high) const;

      // Gets the current settings for the library version format bounds.
      void getLibverBounds(H5F_libver_t& libver_low, H5F_libver_t& libver_high) const;

      // Returns the object header version of an object in a file or group,
      // given the object's name.
      unsigned childObjVersion(const char* objname) const;
      unsigned childObjVersion(const H5std_string& objname) const;

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6
    SunOS 5.11
2015-03-28 23:37:28 -05:00
Binh-Minh Ribler
72d896f709 [svn-r26640] Purpose: Fix bugs
Description:
    - Changed DataType::operator= to simply copy the id of rhs instead of
      calling H5Tcopy because, when the operator= is invoked, a different
      datatype id is created and it won't have the same characteristics as
      rhs', specifically, if the rhs represents a named datatype, "this"
      would still be a transient datatype.
    - Added a DataType constructor that takes a PredType object, and this
      constructor will cause H5Tcopy to generate another datatype id, from a
      predefined datatype.
    - Fixed various mistakes in tests.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam/gnu and jam/icc 15)
    SunOS 5.11 (emu development/production)
2015-03-27 23:15:43 -05:00
Allen Byrne
451a91e53b [svn-r26594] Merge macros and fortran changes from dual_binary feature.
Tested: local linux
2015-03-25 17:08:46 -05:00
Jerome Soumagne
1cd7c16a9d [svn-r26509] Run reconfigure after merges from autotools_rework branch. 2015-03-20 14:15:51 -05:00
Jerome Soumagne
8a1d1b24cf [svn-r26505] Merge r26435 from autotools_rework branch.
Remove DEFAULT_LIBS from configure.ac and irix6.x config file which
was using it.

Remove references to IRIX/irix* platform.
2015-03-20 14:04:30 -05:00
Binh-Minh Ribler
96c424d8bc [svn-r26462] Description:
Fixed typo that caused failure on Windows.
Platforms tested:
    Linux/32 2.6 (jam)
2015-03-16 18:23:16 -05:00
HDF Tester
ead7273c2c [svn-r26459] Snapshot version 1.9 release 215 2015-03-15 06:08:23 -05:00
Binh-Minh Ribler
3b90bca561 [svn-r26458] Purpose: Fix warnings HDFFV-8658
Description:
    Fixed many type conversion warnings and unused variables.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:49:20 -05:00
Binh-Minh Ribler
a382658282 [svn-r26457] Purpose: Fix warnings HDFFV-8658
Description:
    The following two constructors of classes: AbstractDs, IdComponent,
    H5Location, and H5Object are no longer appropriate after the data member
    "id" had been moved from IdComponent to the sub-classes.

    The copy constructors are noop and will be generated by the compilers if
    needed so they can be removed in 1.8.15 without effecting applications. The
    other constructors will be removed from 1.10 release, and then from 1.8 if
    their removal does not raise any problems in at least two 1.10 releases.

    <Classname>(const hid_t h5_id);
    <Classname>(const <Classname>& original);

    Deprecation warnings are added to each of these classes.

    The other classes are changed to call the default constructor instead of
    one of the constructors above.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:47:56 -05:00
Binh-Minh Ribler
66a7cc1289 [svn-r26456] Purpose: Fix warnings HDFFV-8658
Description:
    Fixed base classes that were in wrong order on the prototype lines and
    some misc. warnings.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:45:24 -05:00
Binh-Minh Ribler
f9fe5b4c32 [svn-r26455] Purpose: Fix warnings HDFFV-8658
Description:
    Parameter had the same name as the class' member's.  Replaced parameter
    with a different name.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:43:56 -05:00
Binh-Minh Ribler
447d7ebae9 [svn-r26454] Purpose: Fix warnings HDFFV-8658
Description:
    Missing initializing one of the base classes in multiple inheritance.
    Added CommonFG() to constructors' prototype.

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:42:32 -05:00
Jerome Soumagne
9379314551 [svn-r26435] Remove DEFAULT_LIBS from configure.ac and irix6.x config file which
was using it.

Remove references to IRIX/irix* platform.
2015-03-11 15:15:25 -05:00
Dana Robinson
bdb7ec3497 [svn-r26422] Fixes autogen.sh errors caused by r26410 that produced:
CXX_SHARED_CONDITIONAL does not appear in AM_CONDITIONAL

This was due to a removed AM_CONDITIONAL macro in configure.ac.

The CXX_SHARED_CONDITIONAL code was removed from the Makefile.am
files. Additionally, the C++ shared library build settings field in 
libhdf5.settings file was updated.

Tested on: local linux VM w/ C++
           --enable-shared      --enable-static
           --enable-shared      --disable-static
           --disable-shared     --enable-static
2015-03-10 22:49:12 -05:00
Dana Robinson
7462a7ef1c [svn-r26329] Merge of r26069, r26070, and r26072 from the features/autotools_rework
branch.

Removed the configure option that allows selective disabling of individual
internal filters (fletcher32, shuffle, etc.).

This feature mucked up the code with a lot of #ifdefs, saved very little space,
and was not scalable to a general scheme for library size reduction. We've
decided to remove the feature while we investigate a more general scheme for
decreasing the library size.

Part of: HDFFV-9086

Tested on: h5committest
2015-02-27 07:50:38 -05:00
Mohamad Chaarawi
c4044e0c85 [svn-r26303] remove files with .clog2 extension generated by MPE when doing make clean. 2015-02-25 13:48:31 -05:00
Dana Robinson
c07d803659 [svn-r26274] Merge of r26096 to r26271 from trunk.
Tested on: jam - serial: C++/Fortran
                 parallel: Fortran
2015-02-22 07:16:30 -05:00
Allen Byrne
73bb11dda3 [svn-r26208] Update cmake minimums 2015-02-18 11:56:22 -05:00
Scot Breitenfeld
b28b5fade9 [svn-r26188] Merged autotools fixes into the trunk:
HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
2015-02-16 12:17:49 -05:00
Mohamad Chaarawi
74fbb9e327 [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch:
- Remove Infering parallel compilers (C and Fortran) from configure.ac
- Remove restriction to build shared with parallel
- Cleanup parallel sections in configure.ac
- remove large file support checks
- MPE fixes.

tested with h5committest.
2015-02-16 11:17:03 -05:00
HDF Tester
9a376e4ee9 [svn-r26177] Snapshot version 1.9 release 214 2015-02-15 06:13:34 -05:00
HDF Tester
f4a60fc34c [svn-r26146] Snapshot version 1.9 release 213 2015-02-08 06:05:07 -05:00
Dana Robinson
e2240d544e [svn-r26097] Removed configure and Makefile.in files from version control.
Developers will now have to run bin/reconfigure (deprecated, will be removed
soon) or autogen.sh after checking out code.

Part of: HDFFV-9120

Tested on: jam with Fortran and C++
2015-02-02 02:50:25 -05:00
Dana Robinson
cd1d1d41df [svn-r26096] Merged r26024-26095 from trunk.
Tested on: jam with Fortran and C++
2015-02-02 01:46:40 -05:00
HDF Tester
67f41bf9f8 [svn-r26092] Snapshot version 1.9 release 212 2015-02-01 06:03:18 -05:00
Dana Robinson
45aece2434 [svn-r26069] Removed the option to selectively disable internal filters like n-bit
at compile time.

Fixes HDFFV-9086

Tested on: jam, both serial and parallel w/ fortran & C++
2015-01-29 08:19:22 -05:00
Scot Breitenfeld
4d34a0c6ad [svn-r26051] Fix for HDFFV-9092
Change AC_TRY_RUN TO AC_TRY_COMPILE

Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use
AC_COMPILE_IFELSE and moved all the tests to new files in m4 directory:

aclocal_cxx.m4 (for C++ tests)
aclocal_fc.m4 (for Fortran tests)

tested: jam
2015-01-27 12:17:09 -05:00
Allen Byrne
055348122d [svn-r26040] HDFFV-9018: Install pdb files to bin folder with dlls. 2015-01-26 15:23:19 -05:00
HDF Tester
234e77b3f9 [svn-r25981] Snapshot version 1.9 release 211 2015-01-18 06:01:21 -05:00
HDF Tester
d3ddfe842d [svn-r25975] Snapshot version 1.9 release 210 2015-01-11 06:05:36 -05:00
HDF Tester
509cd32da2 [svn-r25949] Snapshot version 1.9 release 209 2015-01-04 06:04:11 -05:00
HDF Tester
b7047b6425 [svn-r25924] Snapshot version 1.9 release 208 2014-12-28 06:03:37 -05:00
HDF Tester
c8fea60113 [svn-r25915] Snapshot version 1.9 release 207 2014-12-21 05:45:34 -05:00
HDF Tester
118710f360 [svn-r25886] Snapshot version 1.9 release 206 2014-12-14 05:46:08 -05:00
HDF Tester
c1763bef53 [svn-r25864] Snapshot version 1.9 release 205 2014-12-07 05:51:49 -05:00
HDF Tester
ccbd46e914 [svn-r25855] Snapshot version 1.9 release 204 2014-11-30 05:49:53 -05:00
HDF Tester
b59663156d [svn-r25834] Snapshot version 1.9 release 203 2014-11-23 05:47:28 -05:00
HDF Tester
2fcec016a8 [svn-r25762] Snapshot version 1.9 release 202 2014-11-02 04:51:44 -05:00
HDF Tester
290dfb8799 [svn-r25736] Snapshot version 1.9 release 201 2014-10-26 06:00:38 -05:00
HDF Tester
2a668bd0fc [svn-r25720] Snapshot version 1.9 release 200 2014-10-19 05:31:05 -05:00
HDF Tester
e8ffff6853 [svn-r25693] Snapshot version 1.9 release 199 2014-10-12 05:28:29 -05:00
HDF Tester
e6702f2cae [svn-r25668] Snapshot version 1.9 release 198 2014-10-05 05:27:58 -05:00
Binh-Minh Ribler
bd9c6d829a [svn-r25658] Purpose: Fixed HDFFV-8922
Description:
    Added notes regarding UTF-8 and extended ASCII, provided in HDFFV-8899,
    to C++ API.
Platforms tested:
    Linux/32 2.6 (jam) - only in comments
2014-10-02 09:59:01 -05:00
Binh-Minh Ribler
1df7b415ab [svn-r25645] Description:
Removed the try/block with new/bad_alloc that were unintentionally
    committed previously.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-30 23:31:37 -05:00
Binh-Minh Ribler
22d0d32716 [svn-r25644] Purpose: Fixed HDFFV-8928
Description:
    Followed hints on the JIRA issue to remove several potential memory
    leaks.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-30 23:05:57 -05:00
Binh-Minh Ribler
10f1e6acf8 [svn-r25640] Purpose: Fixed HDFFV-4259
Description:
    - Used H5I_INVALID_HID instead of 0 to initialized member "id" in classes
      that represent HDF5 objects.  For PropList, H5P_DEFAULT has to be used
      instead of H5I_INVALID_HID.
    - Added try/catch block to some dynamically allocating memory code and
      re-throw the bad_alloc exception with a message informing the location of
      the failure.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-30 13:20:36 -05:00
Binh-Minh Ribler
0befe65753 [svn-r25632] Purpose: Fixed HDFFV-8852
Description:
    H5F_ACC_CREAT was included in the C++ API while the C library doesn't
    allow it yet.  Possibly, in the future, but not now.  In addition, the
    two flags H5F_ACC_RDONLY and H5F_ACC_RDWR were missing from the
    documentation, causing confusion that appending is not supported.
Solution:
    - Removed H5F_ACC_CREAT from the function until the C library support it
    - Added H5F_ACC_RDONLY and H5F_ACC_RDWR to the comments to update the
      documentation
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-29 15:52:08 -05:00
HDF Tester
c617cbdfb0 [svn-r25627] Snapshot version 1.9 release 197 2014-09-28 05:34:35 -05:00
HDF Tester
ae00b7b591 [svn-r25604] Snapshot version 1.9 release 196 2014-09-21 05:29:14 -05:00
HDF Tester
7f2fa8340b [svn-r25591] Snapshot version 1.9 release 195 2014-09-14 05:30:20 -05:00
HDF Tester
2154d1c6f1 [svn-r25563] Snapshot version 1.9 release 194 2014-08-31 05:31:14 -05:00
HDF Tester
77e7e788c8 [svn-r25546] Snapshot version 1.9 release 193 2014-08-24 05:32:01 -05:00
HDF Tester
3f11676e9d [svn-r25534] Snapshot version 1.9 release 192 2014-08-17 04:54:45 -05:00
HDF Tester
1bd45cb96f [svn-r25506] Snapshot version 1.9 release 191 2014-08-03 05:01:09 -05:00
HDF Tester
2173d36d66 [svn-r25484] Snapshot version 1.9 release 190 2014-07-27 05:38:25 -05:00
Mark Evans
d4d24390a2 [svn-r25460] The contents of this directory is the C++ Reference Manual and
is generated by Doxygen.
2014-07-22 08:12:36 -05:00
Mark Evans
ee28a1ad8b [svn-r25459] Merged revision(s) 25457 from branches/hdf5_1_8_13/c++/src/H5CppDoc.h:
Added a sentence suggested by Barbara to the Installation section. Part of HDFFV-8868 work. 

Tested: Doxygen and Firefox
2014-07-21 13:51:56 -05:00
Mark Evans
4344c1d70b [svn-r25446] Changed file in Installation section where users should look for instructions from release_docs\INSTALL_Windows.txt to release_docs\INSTALL. Fixes HDFFV-8868.
Tested: Doxygen
2014-07-21 11:00:55 -05:00
Mark Evans
ae25c80cc0 [svn-r25441] Changed file in Installation section where users should look for instructions from release_docs\INSTALL_Windows.txt to release_docs\INSTALL.
Tested: Doxygen
2014-07-21 10:30:23 -05:00
HDF Tester
84d0a9f7cb [svn-r25434] Snapshot version 1.9 release 189 2014-07-20 05:09:27 -05:00
HDF Tester
06e4e32ba0 [svn-r25407] Snapshot version 1.9 release 188 2014-07-13 07:32:17 -05:00
Mohamad Chaarawi
06ef71a37f [svn-r25397] - remove configure checks for MPI_File_get_size and Big
MPI_File_set_size as they are supported by most MPI implementations.
- fix bug in t_mpi.c (HDFFV-8856)
2014-07-07 13:22:48 -05:00
HDF Tester
5ad9bfb322 [svn-r25395] Snapshot version 1.9 release 187 2014-07-06 07:31:55 -05:00
HDF Tester
8925b39181 [svn-r25378] Snapshot version 1.9 release 186 2014-06-29 05:24:43 -05:00
Allen Byrne
d9c1c23c38 [svn-r25350] Add more vfd tests to smaller timeout limits 2014-06-24 10:14:32 -05:00
HDF Tester
fbaf82bc3c [svn-r25339] Snapshot version 1.9 release 185 2014-06-22 05:26:37 -05:00
Mark Evans
471aedb1e8 [svn-r25317] Edited the Introduction section.
Tested: Doxygen and Firefox
2014-06-18 11:10:27 -05:00
HDF Tester
588a733b18 [svn-r25285] Snapshot version 1.9 release 184 2014-06-15 04:58:19 -05:00
HDF Tester
99800edafb [svn-r25241] Snapshot version 1.9 release 183 2014-06-08 06:30:43 -05:00
HDF Tester
4a8b02f838 [svn-r25216] Snapshot version 1.9 release 182 2014-05-25 06:51:16 -05:00
Binh-Minh Ribler
5444efe2b1 [svn-r25202] Description:
Set OUTPUT_DIRECTORY to cpplus_RM and HTML_OUTPUT to '.' because
    they were reset by accident causing "bin/release doc" to fail.

    Ran bin/release to verify the failure was gone.
2014-05-19 12:48:55 -05:00
HDF Tester
2c12b5d42d [svn-r25199] Snapshot version 1.9 release 181 2014-05-18 04:53:32 -05:00
Allen Byrne
21474f8eee [svn-r25188] Implement change to cmake_ext_mod config folder
Tested: local linux
2014-05-14 14:50:28 -05:00
HDF Tester
0774c92383 [svn-r25181] Snapshot version 1.9 release 180 2014-05-11 07:01:22 -05:00
HDF Tester
3f5886da9f [svn-r25158] Snapshot version 1.9 release 179 2014-05-04 07:15:58 -05:00
HDF Tester
9711359755 [svn-r25126] Snapshot version 1.9 release 178 2014-04-27 07:14:13 -05:00
Binh-Minh Ribler
6f46f25486 [svn-r25125] Description:
Made printError() virtual as the original; missed it from the previous fix.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-26 10:12:48 -05:00
Larry Knox
c6e3e68297 [svn-r25117] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll back fix for removing rpaths from l
ib files.  The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath co
nfigure option was invoked.
Added instead configure variable hardcode_into_lib=no.  This removes rpath from lib files on Linux
and solaris machines.

Tested with h5committest on jam, koala, ostrich and platypus (cmake), and with configure option --disable-sharedlib-rpath on emu, platypus and quail.
2014-04-25 16:59:53 -05:00
Binh-Minh Ribler
97525f97f2 [svn-r25108] Description:
- Put back Exception::printError for backward compatibility
    - Added static member function Exception::printErrorStack to print
      error stack without an instance of Exception.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-25 14:47:57 -05:00
Binh-Minh Ribler
a75e8dd654 [svn-r25061] Description:
Put back overloaded functions for backward compatibility:
    - were replaced by better prototyped versions, such as Attribute::getName.
    - were modified to add const to constant arguments.
    Added notes for future removal in documentation.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-17 18:25:01 -05:00
HDF Tester
6233002749 [svn-r25034] Snapshot version 1.9 release 177 2014-04-13 04:56:37 -05:00
Binh-Minh Ribler
d259d6e0ab [svn-r25020] Description:
- Fixed a few comments that Doxygen gave warnings on.
    - Removed stylesheet from configuration so Doxygen will use the default
        stylesheet and removed the CLANG-related lines to eliminate another
        error since we're not using that feature, so the lines should not
        present. (from cpp_doc_config)
Platforms tested:
    Linux/32 2.6 (jam) - only changing comments
2014-04-11 20:04:47 -05:00
Binh-Minh Ribler
1ae7c67a71 [svn-r25019] Description:
Updated configuration file to use Doxygen 1.8.5 properly.
    Verified with Doxygen 1.8.5 on Jam, using bin/release.
    After committing, this will be checked out and verified
    again to make sure.
2014-04-11 15:51:12 -05:00
Larry Knox
f32690b53c [svn-r24997] Added compiler versions for mpich to settings file and configure summary.
For make installcheck, compile and run installed examples using the installed scripts.  They were being compiled but not run.
Add Fortran2003 examples to the run-ex-fortran script when fortran2003 is enabled.
Set flag to -O3 in production mode for Intel compilers other than those with specified other settings.
Gentoo patches:
    Remove unnecessary setting of LD_LIBRARY_PATH from configure.
    Prevent potential array subscript out of bounds error in perform/pio_engine.c and sio_engine.c.

Tested with h5committest on jam, koala, ostrich and platypus, on emu and kite, and parallel tests on jam, koala and platypus with mpich built with gnu 4.8.2 and with intel compilers.
2014-04-08 23:55:49 -05:00
Binh-Minh Ribler
a2c8dc8972 [svn-r24996] Description:
Fixed some minor documentation mistakes.
    Updated configuration file for Doxygen.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
2014-04-08 23:40:46 -05:00
Binh-Minh Ribler
0dc4ce3704 [svn-r24994] Purpose: Removed some warnings
Description:
    Turned on warnings and removed some of those.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-08 23:03:03 -05:00
Binh-Minh Ribler
385b4b40ae [svn-r24991] Purpose: Fixed HDFFV-3384
Description:
    - Added const to const arguments
    - Fixed miscellaneous comments
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-08 21:36:48 -05:00
Binh-Minh Ribler
67a61ed22f [svn-r24983] Purpose: Fix HDFFV-8367
Description:
    - Added wrappers to CommomFG for H5Oget_info_by_name() to get a child
      object's type (requested by user)
        H5O_type_t childObjType(const H5std_string& objname) const;
        H5O_type_t childObjType(const char* objname) const;
        H5O_type_t childObjType(hsize_t index, H5_index_t index_type=H5_INDEX_NAME, H5_iter_order_t order=H5_ITER_INC, const char* objname=".") const;
    - Added tests to tobject.cpp
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-07 15:08:59 -05:00
Binh-Minh Ribler
25b1330915 [svn-r24975] Description:
Added c++/test/tobject.cpp
2014-04-07 09:11:13 -05:00
Binh-Minh Ribler
a08f75b073 [svn-r24969] Description:
- Added wrappers to H5Object for H5Iget_name() to get object's name
        ssize_t getObjName(char *obj_name, size_t buf_size = 0) const;
        ssize_t getObjName(H5std_string& obj_name, size_t len = 0) const;
        H5std_string getObjName() const;
    - Added tests tobject.cpp
    - Added to various cleanup_* functions in tests to remove generated files
    - Added an overload H5I_type_t getHDFObjType() to get object's type
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu) with gmake
2014-04-06 17:36:15 -05:00
HDF Tester
a9724dfd6c [svn-r24966] Snapshot version 1.9 release 176 2014-04-06 04:20:59 -05:00
Allen Byrne
98bbf4a36a [svn-r24948] Group tests by Common name
Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32

Tested: local linux CMake
2014-04-02 13:35:01 -05:00
Binh-Minh Ribler
0fcac56705 [svn-r24938] Description:
- Overloaded Atribute::getName to take a char* for the attribute name:
        ssize_t Attribute::getName(char* attr_name, size_t buf_size)
    - Switched the arguments in this function:
        ssize_t getName(size_t buf_size, H5std_string& attr_name)
        so it became:
        ssize_t getName(H5std_string& attr_name, size_t buf_size)
        The second argument is default to 0, and can be skipped.
    - Removed this function:
        H5std_string getName(size_t buf_size); it'll collide with the
        first function when that function takes a NULL for the first
        argument, and uses default value for the second argument.
    - Added more tests
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-01 00:59:37 -05:00
Dana Robinson
d01ee66666 [svn-r24937] Adds an H5free_memory() function to the library for use with
functions that return library-allocated memory. The test and tool
code were modified to use this new function where it's appropriate.

Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551

Tested on:
    64-bit Windows 7 w/ VS2012
    32-bit LE linux w/ parallel and fortran (jam)
    32-bit LE linux w/ fortran and C++ (jam)
2014-03-31 18:35:09 -05:00
Allen Byrne
c6fe8c70b2 [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS instead of INCLUDES. Update automake to 1.14.1
h5committest
2014-03-31 12:07:05 -05:00
Binh-Minh Ribler
5f17eea9cd [svn-r24929] Description:
Added proper deallocation/allocation to test.
    Revised incorrect comments.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-31 00:27:17 -05:00
Binh-Minh Ribler
be38074a2f [svn-r24925] Purpose: Fix HDFFV-7907
Description:
    Added transform property list functions
        // Constructor creates a dataset transform property list.
        DSetMemXferPropList(const char* expression);

        // Sets data transform expression.
        void setDataTransform(const char* expression) const;
        void setDataTransform(const H5std_string& expression) const;

        // Gets data transform expression.
        ssize_t getDataTransform(char* exp, size_t buf_size=0) const;
        H5std_string getDataTransform() const;

    Added test file tdspl.cpp.

Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-30 11:15:11 -05:00
HDF Tester
d6cd6cabc2 [svn-r24924] Snapshot version 1.9 release 175 2014-03-30 04:18:22 -05:00
Binh-Minh Ribler
e79b0dece5 [svn-r24912] Purpose: Fix HDFFV-8642
Description:
    Added CompType::setSize(size_t size) to set size for compound data type
    as H5Tset_size had been changed.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-26 23:36:53 -05:00
Binh-Minh Ribler
7ed2b997ba [svn-r24901] Description:
Fixed mismatched function prototype/definition that caused daily
    test failure on emu/production/HDF5TestExpress=1.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-25 19:47:07 -05:00
Allen Byrne
425408b5a1 [svn-r24895] Add INTERFACE properties to libs 2014-03-25 13:25:53 -05:00
Binh-Minh Ribler
67be45610f [svn-r24867] Description:
- Added a null terminator to the comment returned from the C call, in
        getComment methods
    - Some minor cleanup
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (platypus)/PGI compilers
2014-03-22 15:39:44 -05:00
Binh-Minh Ribler
60df159d33 [svn-r24865] Description:
- Added another overload for char* argument:
        ssize_t getComment(const char* name, const size_t buf_size, char* comment)
    - Changed default value to 0 for the other two getComment methods
    - Added HDmemset to after every char string allocation to clear the buffer
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (platypus)/PGI compilers
2014-03-21 18:23:05 -05:00
Quincey Koziol
2e4302818a [svn-r24864] Description:
Remove all traces of MPI-POSIX VFD and GPFS detection/code.

    Remove remaining traces of stream VFD.

    Remove testpar/t_posix_compliant test (it's not actually verifying anything).

    Clean up H5D__mpio_opt_possible() further.

    Moved environment variable that disables MPI collective operations into
MPI-IO VFD (instead of it being in src/H5S.c).

    A few other small code cleanups.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel & serial
2014-03-21 18:02:24 -05:00
Binh-Minh Ribler
ff565cd175 [svn-r24830] Purpose: HDFFV-8623
Description:
    Applied patch from user Jason Newton.  JIRA issue HDFFV-8623, patch
    9, improve c++ compatibility with exceptions.  All additions of "throw()"
    are included.  Exception::what() is not added because it is not necessary.
    It was suggested for the name, which follows stdlib.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2014-03-18 14:31:18 -05:00
Allen Byrne
03d10edd23 [svn-r24824] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Bump up CMake minimum versions.
Split test file into separate file for h5repack test.

Tested: local linux
2014-03-18 11:21:46 -05:00
Allen Byrne
f5689224b5 [svn-r24789] Bump up the minimum cmake version 2014-03-13 10:05:09 -05:00
Allen Byrne
6c5e74942d [svn-r24782] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
2014-03-11 17:07:13 -05:00
Allen Byrne
a3292a77ce [svn-r24781] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Remove INCLUDE_DIRECTORIES in src for target level includes.
Change ADD_DEFINITIONS package debug defines into CMake option.
Remove -DNDEBUG
2014-03-11 16:14:57 -05:00
HDF Tester
4a9ea60adc [svn-r24770] Snapshot version 1.9 release 174 2014-03-09 05:17:47 -05:00
HDF Tester
f683d9a035 [svn-r24753] Snapshot version 1.9 release 173 2014-03-02 04:16:37 -05:00
HDF Tester
d7f00b8002 [svn-r24716] Snapshot version 1.9 release 172 2014-02-16 03:32:48 -05:00
HDF Tester
1b6683e58f [svn-r24698] Snapshot version 1.9 release 171 2014-02-09 03:36:37 -05:00
Allen Byrne
6569d7437a [svn-r24682] Add IF SHARED block around Windows PDB file generation command. 2014-02-04 10:11:36 -05:00
HDF Tester
ddf75b10f6 [svn-r24676] Snapshot version 1.9 release 170 2014-02-02 03:34:20 -05:00
HDF Tester
bc09cdc302 [svn-r24465] Snapshot version 1.9 release 169 2013-11-24 22:31:26 -05:00
Elena Pourmal
7aa4a180e4 [svn-r24400] Maintenance: When the libraries are built and tested in place, several files are left
behind by "make distclean" (see below); modified appropriate Makefile.am files and ran
             bin/reconfigure to create Makefile.in to fix the problem.

Here is the list of the files "make disclean" doesn't remove:

       tools/h5dump/testfiles
       tools/h5repack/testfiles/h5diff_attr1.h5
       tools/h5repack/testfiles/tfamily00000.h5
       tools/h5repack/testfiles/tfamily00010.h5
       tools/h5repack/testfiles/tfamily00002.h5
       tools/h5repack/testfiles/tfamily00004.h5
       tools/h5repack/testfiles/tfamily00006.h5
       tools/h5repack/testfiles/tfamily00008.h5
       tools/h5repack/testfiles/tfamily00001.h5
       tools/h5repack/testfiles/tfamily00003.h5
       tools/h5repack/testfiles/tfamily00005.h5
       tools/h5repack/testfiles/tfamily00007.h5
       tools/h5repack/testfiles/tfamily00009.h5
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.err-sav
       tools/h5jam/testfiles/h5jam-help.txt.err-sav
       tools/h5jam/testfiles/h5unjam-help.txt.err-sav
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.out-sav
       tools/h5jam/testfiles/h5jam-help.txt.out-sav
       tools/h5jam/testfiles/h5unjam-help.txt.out-sav
       hl/fortran/test/dsetf5.h5
       c++/test/tattr_multi.h5
       c++/test/tattr_scalar.h5
       c++/test/tfattrs.h5
       c++/test/tattr_basic.h5
       c++/test/tattr_compound.h5
       c++/test/tattr_dtype.h5

Tested on jam and emu in place and using srcdir with the svn stat command.

This fix doesn't address two problems:

tool/h5dump/testfiles directory is not removed by "make distclean" and it should be
tools/misc/testfiles directory is removed by "make distclean" and it shouldn't be
2013-11-02 20:21:23 -05:00
Allen Byrne
819b8099e2 [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autools, and h5committest
2013-11-01 16:15:37 -05:00
Dana Robinson
e6cace9ee4 [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.
Prep work for adding a memory free function, part of HDFFV-8551.

Tested on:
    32-bit LE linux (jam) 
        * with C++, Fortran
        * with thread safety on

    These are minor changes (almost entirely renaming foo functions
    to HDfoo) that don't change functionality.  This should not
    require a full commit test.
2013-10-30 23:20:36 -05:00
HDF Tester
56803a1970 [svn-r24362] Snapshot version 1.9 release 168 2013-10-27 04:33:34 -05:00
HDF Tester
8538cf61f9 [svn-r24334] Snapshot version 1.9 release 167 2013-10-20 04:21:31 -05:00
Binh-Minh Ribler
370e6f3f56 [svn-r24291] Description:
- Added a lot of documentation to classes for Reference Manual.
    - Fixed some format inconsistencies
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-10-15 00:31:20 -05:00
HDF Tester
5092f5a30e [svn-r24287] Snapshot version 1.9 release 166 2013-10-13 03:43:04 -05:00
Allen Byrne
91b41bad3a [svn-r24238] Update list of generated files for clear-objects 2013-10-01 09:02:16 -05:00
Binh-Minh Ribler
8597110837 [svn-r24235] Description:
- Appended h5tutr_ to names of data files to avoid name clashing with
      existing examples.
    - Added example dependencies to Makefile.*
    (pointed out by Allen)

Platforms tested:
    SunOS 5.11 (emu) with gmake
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-30 21:40:32 -05:00
Allen Byrne
7171c08a88 [svn-r24227] Add new examples to cmake lists
Tested: local linux
2013-09-30 12:49:05 -05:00
HDF Tester
a4ab8b0e1d [svn-r24218] Snapshot version 1.9 release 165 2013-09-29 03:41:59 -05:00
Binh-Minh Ribler
b3f9cb8786 [svn-r24197] revert a changed committed by mistake, printf statement 2013-09-24 20:27:32 -05:00
Binh-Minh Ribler
91df66782e [svn-r24195] Description:
- Improved format/comments in tutorial examples
    - Added them to Makefile.* and run-c++-ex.sh.in
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-23 21:12:40 -05:00
Larry Knox
ab239810e1 [svn-r24194] Don't add hdf5 library dependencies to lib files when --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276.
Tested with h5committest and on hdf-duck.
2013-09-23 20:14:24 -05:00
Binh-Minh Ribler
94b55940ea [svn-r24189] Purpose: Fixed bug HDFFV-1060
Description:
    Changed header guards from single underscore to double underscore.
Platforms tested:
    Linux/32 2.6 (jam) - very minor
    Linux/64 2.6 (koala)/PGI compilers
2013-09-22 23:04:26 -05:00
Binh-Minh Ribler
f8fb310610 [svn-r24188] Purpose: Fixed bug introduced in r24163
Description:
    - The failure in daily test was caused by missing initialization of member
    "id" in a few constructors.  This is now fixed.
    - Added two overloaded H5Location::setComment
    - Improved some error reporting in H5Location
    - Improved error reporting in tests
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-22 19:39:44 -05:00
HDF Tester
f9a758f442 [svn-r24186] Snapshot version 1.9 release 164 2013-09-22 04:17:20 -05:00
Binh-Minh Ribler
1b22cc435e [svn-r24178] Back out the changes that cause daily test to fail r24163 2013-09-20 13:53:21 -05:00
Binh-Minh Ribler
10a843ff7f [svn-r24174] Purpose: Add examples
Description:
    Added tutorial examples that Barbara made following the C tutorial examples.
    They will be configured for daily test.
Platforms tested:
    Linux/32 2.6 (jam) - tested by running a script that compiled them with
                h5c++ and executing the examples; output are checked manually
2013-09-20 07:16:23 -05:00
Binh-Minh Ribler
4182c81add [svn-r24163] Purpose: More on HDFFV-7520 and HDFFV-533
Description:
    - Improved the changes in revisions r22836 and r23438, mainly on the
      wrappers of reference, dereference, get region, and set/getcomment.
    - Added more tests.

Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/ppc64 (ostrich)
2013-09-18 22:08:28 -05:00
Binh-Minh Ribler
d95f5e293a [svn-r24162] backing out a commit that includes wrong files 2013-09-18 21:41:00 -05:00
Binh-Minh Ribler
18b896112c [svn-r24161] Purpose: More on HDFFV-7520 and HDFFV-533
Description:
    - Completed the changes in revisions r22836 and r23438 with improvement
    on wrappers such as reference, dereference, get region, and set/getcomment.
    - Added more tests.
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/ppc64 (ostrich)
2013-09-18 20:54:54 -05:00
Binh-Minh Ribler
afb5fc5c35 [svn-r24143] Description:
Fixed comments, documentation, and mis-matched DOXYGEN_SHOULD_SKIP_THIS pairs.
Platforms tested:
    Linux/32 2.6 (jam)
    Regenerated and verified generated documentation.
2013-09-16 09:39:52 -05:00
Binh-Minh Ribler
27ed849cad [svn-r24142] Purpose: Fix bug in tests
Description:
    - Passing the c_str() of an std string into a C function caused failure
      on OpenVMS.  Added a work around using temporary string. (th5s.cpp)
    - Passing incorrect file access property list caused test_datasize() to
      fail.  Fixed.
    - Close a group in test_dset, before the file can be properly closed.
      This should fix the problem on OpenVMS.
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/ppc64 (ostrich)
2013-09-14 22:53:59 -05:00
HDF Tester
a4294ab3cc [svn-r24092] Snapshot version 1.9 release 163 2013-09-01 03:37:42 -05:00
Larry Knox
d24404ae83 [svn-r24077] Updated -help output for compile scripts for changing default from -noshlib to -shlib when hdf5 is built without static libraries (--disable-static).
Tested with h5committest on jam, koala, ostrich and platypus.
2013-08-27 08:26:37 -05:00
HDF Tester
ca60bda9fb [svn-r24068] Snapshot version 1.9 release 162 2013-08-25 03:44:51 -05:00
Allen Byrne
c502d81a8c [svn-r24029] Move TESTS to seperate file to allow easier editing by all developers.
Tested: local linux
2013-08-19 16:49:44 -05:00
HDF Tester
407d3db6a4 [svn-r23989] Snapshot version 1.9 release 161 2013-08-11 03:37:02 -05:00
HDF Tester
f1b5d46cd0 [svn-r23968] Snapshot version 1.9 release 160 2013-08-04 03:35:17 -05:00
HDF Tester
f26b04712e [svn-r23926] Snapshot version 1.9 release 159 2013-07-21 03:38:01 -05:00
HDF Tester
4e12ec74ae [svn-r23895] Snapshot version 1.9 release 158 2013-07-14 03:31:23 -05:00
Allen Byrne
2efbc227cd [svn-r23875] HDFFV-8322: free allocation before throwing exception.
Tested: local linux
2013-07-09 08:36:26 -05:00
HDF Tester
3cb8efae13 [svn-r23865] Snapshot version 1.9 release 157 2013-07-07 03:33:31 -05:00
Allen Byrne
6da129cef0 [svn-r23861] HDFFV-8322: Mismatched free() / delete / delete [] for cpp_testhdf5
Tested:" local linux
2013-07-03 09:58:09 -05:00
HDF Tester
a157eb2f68 [svn-r23849] Snapshot version 1.9 release 156 2013-06-30 03:35:12 -05:00
HDF Tester
6fedfb6124 [svn-r23806] Snapshot version 1.9 release 155 2013-06-23 03:36:24 -05:00
HDF Tester
bdbd06d85d [svn-r23778] Snapshot version 1.9 release 154 2013-06-16 03:34:51 -05:00
Allen Byrne
feb14ea872 [svn-r23745] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed.
2013-06-10 12:46:48 -05:00
HDF Tester
70d440330d [svn-r23741] Snapshot version 1.9 release 153 2013-06-09 03:39:22 -05:00
HDF Tester
177a90f97a [svn-r23718] Snapshot version 1.9 release 152 2013-05-26 03:56:00 -05:00
HDF Tester
c09748b14e [svn-r23708] Snapshot version 1.9 release 151 2013-05-19 03:39:09 -05:00
HDF Tester
8f3aee85de [svn-r23669] Snapshot version 1.9 release 150 2013-05-05 03:32:05 -05:00
HDF Tester
1f09e9d19e [svn-r23642] Snapshot version 1.9 release 149 2013-04-28 03:37:26 -05:00
Allen Byrne
ed5a2bc1c1 [svn-r23614] Remove subfolders for includes 2013-04-23 12:50:15 -05:00
Larry Knox
0b16cecb99 [svn-r23527] Revised usage to reflect change to use -shlib as default when no static libraries were built.
No test - text only revision of compile scripts.
2013-04-02 17:54:20 -05:00
Dana Robinson
47a25f0d0c [svn-r23509] Duplicated Bin-Minh's changes in the 1.8 branch (r23503) that
delete the removed multi dxpl function names from the class.

Tested on: jam w/ fortran & C++

I did not test on other platforms (h5committest) since there is nothing
even remotely platform-specific here.
2013-04-01 14:05:15 -05:00
Raymond Lu
6c974c824d [svn-r23495] ported revisions 23433:23494 from the trunk 2013-03-29 18:13:05 -05:00
Larry Knox
99b1524474 [svn-r23431] Fix for HDFFV-8141.
Changes default value for USE_SHARED_LIB in compile scripts to yes when static is disabled.
Comments in scripts about the order of flag variables containing library paths was also corrected.

Tested with h5committest on duck, jam, koala, and ostrich in addition to specific testing for the 
compile script change.
2013-03-22 16:02:07 -05:00
Binh-Minh Ribler
3f1c23b315 [svn-r23428] Description:
Fixed bug HDFFV-4272.  Just typos in documentation.
Platform tested:
    Jam
2013-03-22 14:16:38 -05:00
Binh-Minh Ribler
c8018386da [svn-r23427] Purpose: Fix bug HDFFV-8067
Description:
  + The C++ test failed with the new PGI compilers versions 12.4 and 12.5
  + An exception thrown by an internal function, which was called by
    a constructor, was not propagating to the test program during the stack
    unwinding, so it couldn't be caught by the test and the program terminated.
  + Various trials and errors indicated that the problem is where an STD string
    converted to a char* being passed to the internal function, but confirmation
    has not been found yet.  It could be a compiler bug.
Solution:
  + Added a try/catch in the constructor around the internal function and
    re-throw the exception when it is caught.  This is a workaround.
  + Unrelated minor fixes: removed unused variables and MESSAGE's; commented
    out tvlstr.cpp/test_read_vl_string_attribute because it may be redundant,
    and commented out H5Tpkg.h inclusion because TEST_ALIGNMENT is not added
    yet and probably not necessary in the C++ API.
Platforms tested:
    Linux/32 2.6 (jam) with PGI compilers
    Linux/32 2.6 (jam) with GNU compilers
    Linux/64 2.6 (koala)
2013-03-22 12:56:05 -05:00
Dana Robinson
76a8599736 [svn-r23366] Removed the H5Pset_dxpl_multi and H5Pget_dxpl_multi functions from the
library.  The intended functionality for them was never fully implemented
and they are fundamentally broken.

The functions were removed from the C and C++ interfaces.  They were not
exported in the Fortran interface.

Tested on: jam(c++/fortran/hl)

I tested using check-vfd to ensure the multi VFD still works properly.
There is no reason to test this on other machines or on parallel.
2013-03-18 14:50:32 -05:00