Commit Graph

767 Commits

Author SHA1 Message Date
Dana Robinson
7d86677dd6 [svn-r26994] Merge of r26986 from trunk.
Removes H5F_ACC_DEBUG and H5FD_DEBUG functionality.

The H5F_ACC_DEBUG symbol remains but has been defined to zero.

Fixes: HDFFV-1074

Tested on:
    h5committest
    32-bit Linux w/ C++ and Fortran and multi VFD
2015-05-02 01:17:28 -05:00
Albert Cheng
725e20294e [svn-r26964] 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:31:16 -05:00
Elena Pourmal
dbf0eb2c5b [svn-r26758] Maintenance: Updated LT_VERS_INTERFACE to 10 and LT_VERS_REVISION to 1 and ran reconfigure. 2015-04-07 14:16:56 -05:00
Elena Pourmal
984f459ff4 [svn-r26754] Maintenance: Changed version number in 1_8 to 1.8.16-snap0 and Updated RELEASE.txt for the new work to be entered. 2015-04-07 13:56:29 -05:00
Binh-Minh Ribler
343a52747c [svn-r26743] 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.
    Merged from trunk r26737.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
2015-04-06 18:47:09 -05:00
Binh-Minh Ribler
5a810576d5 [svn-r26742] Purpose: Fixed HDFFV-7947 (cont.)
Description:
    - Added incRefCount() to other constructors that missed from last time.
    - Added default value for H5File::getObjCount and removed its extra version
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-04-06 16:53:25 -05:00
Binh-Minh Ribler
a586729afb [svn-r26741] 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)
    SunOS 5.11 (emu)
2015-04-06 16:20:11 -05:00
Binh-Minh Ribler
2a2a79742d [svn-r26731] 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)

    Merged from trunk: r26655
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam Intel 15.0)
    SunOS 5.11 (emu)
2015-04-05 22:52:35 -05:00
Binh-Minh Ribler
150b85cc44 [svn-r26730] 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;

    Merge from trunk r26643

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam Intel 15.0)
    SunOS 5.11 (emu)
2015-04-05 13:30:20 -05:00
Binh-Minh Ribler
743686ebe1 [svn-r26729] 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.
    - Fixed typo that caused failure on Windows.
    Merged from trunk r26640 and r26462

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam/gnu and jam/icc 15)
    SunOS 5.11 (emu)
2015-04-04 23:12:08 -05:00
Larry Knox
083ef61b05 [svn-r26728] Merge trunk reviwions 26669 and 26670.
Removed from configure.ac VPATH section, LONE_COLON check and checks for redundant addition of /usr/include and /usr/lib to compile flags, with reconfigure.

Tested h5committest
2015-04-04 10:27:14 -05:00
Binh-Minh Ribler
2c3ab21057 [svn-r26727] Purpose: Fix warnings HDFFV-8658 cont.
Description:
    Fixed many type conversion warnings and unused variables.

    Merged from trunk r26458, but also combined the fix in r26695 (dsets.cpp)
    to avoid test failure, that was undetected before committing to trunk until
    r26695.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-04-04 02:47:49 -05:00
Binh-Minh Ribler
943993af83 [svn-r26726] Purpose: Fix warnings HDFFV-8658
Description: (r26457)
    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-04-04 01:41:18 -05:00
Binh-Minh Ribler
aa13c0501d [svn-r26723] Purpose: Fixed warnings
Description:
    Fixed base classes that were in wrong order on the prototype lines and
    some misc. warnings.

    Parameter had the same name as the class' member's.  Replaced parameter
    with a different name.

    Missing initializing one of the base classes in multiple inheritance.
    Added CommonFG() to constructors' prototype.

    Merged from trunk r26454, r26455, and r26456.

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-04-03 14:10:39 -05:00
Allen Byrne
025d90f573 [svn-r26697] HDFFV-9131: Remove obsolete/unneeded sections. 2015-04-01 15:27:26 -05:00
Allen Byrne
7ebd4c8311 [svn-r26600] Fix CMake target calls to add new parameter 2015-03-26 08:51:01 -05:00
Jerome Soumagne
2bb934857b [svn-r26582] Merge r26509 from trunk
Run reconfigure after merges from autotools_rework branch
2015-03-25 13:07:02 -05:00
Jerome Soumagne
15efd662a3 [svn-r26578] Merge r26505 from trunk
Remove DEFAULT_LIBS from configure.ac and irix6.x config file which
was using it.

Remove references to IRIX/irix* platform.
2015-03-25 12:56:55 -05:00
Dana Robinson
85beb272c5 [svn-r26395] Merges r26329 from trunk
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.

Fixes: HDFFV-9086

Tested on: h5committest
2015-03-08 23:24:02 -05:00
Allen Byrne
ece0ba0336 [svn-r26371] Update cmake mininum version
Update windows wix cpack process.
2015-03-05 11:48:32 -05:00
Scot Breitenfeld
add51325ef [svn-r26314] Brought autotools related changes from the trunk to the branch, r26188 r26280 2015-02-26 09:21:33 -05:00
Mohamad Chaarawi
90067b76ce [svn-r26304] bring 26303 from trunk:
remove files with .clog2 extension generated by MPE when doing make clean
2015-02-25 13:52:27 -05:00
Mohamad Chaarawi
62ec301df9 [svn-r26224] merge 26180 from trunk:
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.
2015-02-18 17:01:17 -05:00
Allen Byrne
75085cc45e [svn-r26064] HDFFV-9018: Install PDB files to bin folder with dlls.
Tested: windows
2015-01-28 14:16:32 -05:00
Larry Knox
da8344c064 [svn-r25705] Add LD path to HDF5 install directory to address HDFFV-8944.
Tested with h5committest and failed external daily tests.
2014-10-14 16:32:56 -05:00
Albert Cheng
f34c7e4993 [svn-r25673] Change version to 1.8.15-snap0. 2014-10-06 14:19:35 -05:00
HDF Tester
6b2f27965b [svn-r25669] Snapshot version 1.8 release 14 (snap18) 2014-10-05 18:06:15 -05:00
Binh-Minh Ribler
de56222826 [svn-r25656] 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-01 23:56:42 -05:00
Binh-Minh Ribler
eb20ea5379 [svn-r25655] Purpose: Fixed HDFFV-8928
Description:
    Followed hints from user's report on JIRA to remove several potential
    memory leaks.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-10-01 23:32:16 -05:00
Binh-Minh Ribler
9c9326c7de [svn-r25653] 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.
    (merged from trunk-r25640)

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
    (merged from trunk-r25632)

Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-10-01 23:05:38 -05:00
Mark Evans
8ee0ef54a4 [svn-r25461] The contents of this directory is the C++ Reference Manual and
is generated by Doxygen.
2014-07-22 08:16:55 -05:00
Mark Evans
1e371dd9fc [svn-r25458] 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:46:51 -05:00
Mark Evans
d4b53e37e1 [svn-r25445] 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 10:53:38 -05:00
Mark Evans
a9d9fd5b01 [svn-r25442] 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 10:31:26 -05:00
Mohamad Chaarawi
2700d20859 [svn-r25402] Bring 25397/8 from trunk:
- remove configure checks for MPI_File_get_size and Big MPI_File_set_size as they are supported by MPIO implementations today.
- fix bug in t_mpi.c (HDFFV-8856)

tested with h5committest.
2014-07-10 09:36:34 -05:00
Allen Byrne
34e371a4c2 [svn-r25351] Add more vfd tests to smaller timeout limits 2014-06-24 10:14:50 -05:00
Mark Evans
84f9060a9a [svn-r25318] Edited the Introduction section.
Tested: Doxygen and Firefox
2014-06-18 11:11:07 -05:00
Allen Byrne
5278b9737d [svn-r25222] Merge cmake_ext_mod into 1.8 2014-05-27 12:46:30 -05:00
Binh-Minh Ribler
e5844f4f01 [svn-r25204] 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.
    Merged from trunk: r25202

    Also, removed from functions' comments some arguments that are only
    applicable to the trunk.  Doxygen gave warnings.

Platforms tested:
    Linux/32 2.6 (jam) - very minor, only comments
2014-05-19 14:49:38 -05:00
Binh-Minh Ribler
beccc53e95 [svn-r25203] Description:
Made printError() virtual as the original; missed it from the previous fix.
    Merged from trunk: r25123
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-05-19 12:52:56 -05:00
Binh-Minh Ribler
1a5d6e47d2 [svn-r25116] 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 16:54:22 -05:00
Binh-Minh Ribler
67641211a8 [svn-r25115] 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 16:54:00 -05:00
Larry Knox
b018ba48ce [svn-r25106] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll back fix for removing rpaths from lib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath configure 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 on emu and kite.
2014-04-25 14:34:54 -05:00
Larry Knox
10c13288b4 [svn-r25068] Fix for HDFFV-8276, the --disable-sharedlib-rpath configure optino doesn't remove rpaths from th
e library files, was checked into trunk in September 2013, but not into the 1.8 branch.  part of
 the code was merged to v1.8 in the interim for fortran, but not for hl or c++.  The rest is mer
 ged in this revision.
 The --disable-sharedlib-rpath option seems to have no effect on non-Linux platforms.

 Tested with h5committest on jam, koala, ostrich and platypus.
 Tested with --disble-sharedlib-rpath option on jam, platypus, emu and quail.
 Absence of rpaths verified on jam and platypus.
2014-04-18 16:52:44 -05:00
Binh-Minh Ribler
19125219cd [svn-r25062] Description:
Put back overloaded functions for backward compatibility:
    - were replaced by better prototyped versions, such as Attribute::getNam.
    - were modified to add const to constant arguments.
    Added notes for future removal in documentation.
    (Elena approved.) Merged from trunk r25061.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-17 21:39:50 -05:00
Elena Pourmal
2530ede1c6 [svn-r25036] Maintenance before creating 1_8_13 branch: changed version number to 1.8.14-snap0 2014-04-14 07:20:06 -05:00
Binh-Minh Ribler
9b77c50706 [svn-r25032] Description:
Fixed typos in comments.
Platforms tested:
    Linux/32 2.6 (jam) - very minor
2014-04-11 23:45:20 -05:00
Binh-Minh Ribler
6b8d6e870f [svn-r25031] Purpose: Fix HDFFV-8737
Description:
    - Fixed a few comments that Doxygen gave warnings on.
    - Updated configuration file for Doxygen.
    - 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)
    - Added missing images
    (merged from trunk-r24996 and r25019)
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-11 23:33:50 -05:00
Binh-Minh Ribler
a791213860 [svn-r25030] Purpose: Fix HDFFV-8658
Description:
    Turned on warnings and removed some of those.
    (merged from trunk-r24994)
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-11 23:02:26 -05:00
Binh-Minh Ribler
170b9d0eed [svn-r25029] Purpose: Fixed HDFFV-3384
Description:
    - Added const to const arguments
    - Fixed miscellaneous comments
    (merged from trunk-24991)
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-11 22:54:25 -05:00