Commit Graph

15234 Commits

Author SHA1 Message Date
Allen Byrne
2abe5da201 [svn-r28059] Make UNSUPPORTED option combinations fail configure - matches autotools behaviour. 2015-10-13 16:15:31 -05:00
Allen Byrne
2c9b575d38 [svn-r28056] Add HL and Threadsafe notice 2015-10-13 15:57:47 -05:00
Allen Byrne
7c4e5533fb [svn-r28053] Change file generation from build time to cmake time. 2015-10-13 10:16:22 -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
Mohamad Chaarawi
3aee46a956 [svn-r28040] avoid use of MPI deprecated routines. 2015-10-12 11:53:51 -05:00
Scot Breitenfeld
8c789704da [svn-r28039] Fixed valgrind mem leak.
Tested: h5committest (partial).
2015-10-12 11:28:18 -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
Quincey Koziol
cd49e8a2ab [svn-r28025] Description:
Switch 'int' flag variables to booleans.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & paralel
    (too minor for h5committest)
2015-10-10 21:42:20 -05:00
Quincey Koziol
877dfaaad7 [svn-r28024] Description:
Clear buffer for driver info block before writing it to the file.  (Avoids
'uninitialized memory read' warning from valgrind)

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & valgrind
    (too minor for h5committest)
2015-10-09 23:55:35 -05:00
Scot Breitenfeld
59c79aec2c [svn-r28020] Freed allocated memory in h5tenum_insert_ptr_c, valgrind fix. 2015-10-09 16:45:46 -05:00
Mohamad Chaarawi
cfe6d9a8da [svn-r28019] fix mem leaks. 2015-10-09 16:35:30 -05:00
Mohamad Chaarawi
3444e46ea0 [svn-r28017] mem leak fix. 2015-10-09 15:25:50 -05:00
Quincey Koziol
0facbc77c3 [svn-r28015] Decription:
Clean up memory leak when generating group creation property list for user.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & valgrind
    Linux/64 4.1.8 (Jerome's laptop) w/serial & valgrind
2015-10-09 14:38:13 -05:00
Larry Knox
8edfabd297 [svn-r27997] Autogen.sh is no longer marked _DO_NOT_DISTRIBUTE_ in the MANIFEST file. Therefore bbrelease does not need to expressly add it to the source tar file. 2015-10-07 14:18:43 -05:00
Allen Byrne
ad29dac64a [svn-r27986] OPTION should default to FALSE 2015-10-07 10:22:57 -05:00
Allen Byrne
22f78e766c [svn-r27974] Change distribution of scripts 2015-10-06 13:52:48 -05:00
Allen Byrne
58db7babe4 [svn-r27973] Update to new style usage 2015-10-06 13:48:50 -05:00
Allen Byrne
16e7b241d0 [svn-r27971] eliminate duplicate option 2015-10-06 12:38:04 -05:00
Allen Byrne
6f04c0f89d [svn-r27970] eliminate duplicate option 2015-10-06 12:36:38 -05:00
Elena Pourmal
086904a50d [svn-r27969] Added autogen.sh to the list of the distributed files. 2015-10-06 12:15:59 -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
f416522d56 [svn-r27962] Description:
Added c++/src/H5OcreatProp.[h/cpp]
    Checked with bin/chkmanifest
2015-10-05 23:35:15 -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
Quincey Koziol
0fb60ee7ae [svn-r27958] Description:
Reintegration merge of the VDS branch.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (daily tested for h5committest)
2015-10-05 12:52:31 -05:00
Quincey Koziol
81c4e2133a [svn-r27957] Description:
Minor whitespace cleanups.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-10-05 08:59:16 -05:00
Quincey Koziol
c7c6623f28 [svn-r27956] Description:
Minor code cleanups, preparing to merge to trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-10-05 08:46:42 -05:00
Dana Robinson
914643490a [svn-r27946] Brought VDS branch in sync with trunk (up to r27945).
Tested on Ubuntu 15.04 (Linux 3.19 x86_64), gcc 4.9.2, MPICH 3.1.4
and CMake 3.3.2.
    - Autotools serial w/ Fortran, C++
    - Autotools parallel w/ Fortran
    - CMake serial w/ Fortran, C++
2015-10-04 02:33:40 -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
Quincey Koziol
0ee053bb95 [svn-r27944] Description:
Avoid duplicating source FAPL & DAPL if they are already available.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-10-03 22:58:55 -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
Jerome Soumagne
87cc068ccb [svn-r27939] Remove H5D__iterate and use H5S_select_iterate directly
Add internal library callback to H5S_select_iterate to avoid having
to pass hid_t objects internally
2015-10-02 15:24:29 -05:00
Jerome Soumagne
b991b71176 [svn-r27938] Fix private/public H5A_get_type and H5A_get_space 2015-10-02 15:17:00 -05:00
Allen Byrne
f0adeb1cdd [svn-r27937] fix case 2015-10-02 15:08:54 -05:00
Allen Byrne
47c5bc7d61 [svn-r27935] Cmake 3.3 allowed execute_process to merge output and error files if the filename or the variable were the same.
Changed instances to make the outpu_variable different.
2015-10-02 14:19:09 -05:00
Allen Byrne
af5c2697a1 [svn-r27933] Cmake 3.3 allowed execute_process to merge output and error files if the filename or the variable were the same.
Changed instances to make the outpu_variable different.
2015-10-02 12:55:08 -05:00
Allen Byrne
b9d27c0ed3 [svn-r27932] Increase timeout for istore test when running under vfd. 2015-10-02 08:59:03 -05:00
Allen Byrne
4dc2218ab5 [svn-r27927] Fix dependencies of flex/bison files. 2015-10-01 09:48:03 -05:00
Allen Byrne
152cc9e143 [svn-r27926] Fix dependencies of generated headers. 2015-10-01 09:24:11 -05:00
Dana Robinson
5548799289 [svn-r27918] Brought in sync with the trunk:
r27860-27883
r27892-27916

Tested on: - h5committest
           - jam (parallel) fails with an existing, unrelated MPI config error
           - platypus fails with due to an existing, unrelated cmakehdf5 error
             where it does not recognize --enable-fortran2003.
2015-09-30 00:46:19 -05:00
Dana Robinson
a89b064e2b [svn-r27916] Re-merge of r27884-27891 from the trunk + bugfix for a few
H5S recursive functions where an aliased pointer was
incorrectly set too early.

Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2
           serial and parallel (w/ MPICH 3.1.4)
2015-09-29 21:36:46 -05:00
Allen Byrne
32ee0d816f [svn-r27913] Need to create the directory for the gen files 2015-09-29 13:59:55 -05:00
Dana Robinson
5c0a8cc86e [svn-r27912] Revert of r27887, which caused failures in the vds test. These
changes will be merged more carefully so we can more easily
identify any errors that arise.

Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2
           serial and parallel (w/ MPICH 3.1.4)
2015-09-29 13:56:27 -05:00
Allen Byrne
cc8ed681b0 [svn-r27911] Add back in the build dir 2015-09-29 12:44:56 -05:00
Allen Byrne
e8073c0d80 [svn-r27910] Rework flex-bison generated files to eliminate dual depends when building both shared and static 2015-09-29 12:23:55 -05:00
Allen Byrne
ea70d11227 [svn-r27909] Exclude CYGWIN 2015-09-29 09:55:35 -05:00
Allen Byrne
ef2885c5ca [svn-r27908] Give cache tests extra time for VFD tests 2015-09-29 09:53:52 -05:00
Allen Byrne
2557782f24 [svn-r27906] Remove header file name as it is not a direct target (derived during BISON process). 2015-09-29 08:32:43 -05:00
Allen Byrne
7b7649aa81 [svn-r27905] Add depends to be sure file exists 2015-09-28 16:31:00 -05:00
Allen Byrne
179d122d59 [svn-r27904] Correct missing target name chars 2015-09-28 15:43:25 -05:00