Commit Graph

746 Commits

Author SHA1 Message Date
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
Binh-Minh Ribler
53a50fa7c8 [svn-r25028] 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
    (merged from trunk-r24983)
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-11 22:34:19 -05:00
Binh-Minh Ribler
33956e594a [svn-r25026] Description:
Added tobject.cpp.
2014-04-11 22:17:11 -05:00
Binh-Minh Ribler
f61bc97180 [svn-r25023] 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
    (merge from trunk-24969)
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu) with gmake
2014-04-11 21:47:07 -05:00
Binh-Minh Ribler
adff7e81bd [svn-r25022] Purpose: Code improvement
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
    (merged from trunk-r24938)
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu) with gmake
2014-04-11 21:10:49 -05:00
Binh-Minh Ribler
d9703d66de [svn-r25021] Description:
Added proper deallocation/allocation to test.
    Revised incorrect comments.
    (merged from trunk-r24929)
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-11 21:00:45 -05:00
Larry Knox
17a1f1a597 [svn-r25017] Merge r24997 changes from trunk.
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.
2014-04-11 13:50:55 -05:00
Dana Robinson
8a52475245 [svn-r25014] Purpose:
Merge of r24937 from the trunk
    Adds H5free_memory to the API. This function should be used to free
    memory allocated by the library (e.g., returned values from
    H5Tget_tag, H5Pget_class_name, etc.).

    This is mainly to help Windows applications deal with multiple CRT 
    instances, but can also be helpful when a debug memory manager is
    being used or when the HDF5 API is being wrapped for managed languages
    like Python and Java.

Tested on:
    32-bit LE linux (jam) with fortran and C++
    64-bit BE linux (ostrich)
    64-bit LE linux (koala)
2014-04-11 09:48:31 -05:00
Allen Byrne
ab2d9f1e9c [svn-r24980] HDFFV-8290: Merge automake 1.14.1 changes from trunk
Tested: h5committest
2014-04-07 12:26:44 -05:00
Binh-Minh Ribler
963bace0d1 [svn-r24928] 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 19:48:46 -05:00
Binh-Minh Ribler
764128aaf2 [svn-r24913] Purpose: Fix HDFFV-8642
Description:
    Added CompType::setSize(size_t size) to set size for compound data type
    as H5Tset_size had been changed.
    Merged from trunk-24912
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-27 00:09:59 -05:00
Allen Byrne
d9020f2e35 [svn-r24906] Merge latest CMake changes from trunk.
Tested: local linux
2014-03-26 10:00:35 -05:00
Binh-Minh Ribler
3944dcb308 [svn-r24902] 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 22:30:07 -05:00
Quincey Koziol
25147d5567 [svn-r24878] Description:
Bring r24864 from trunk to 1.8 branch:

    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
    (daily tested on trunk)
2014-03-24 12:41:18 -05:00
Binh-Minh Ribler
74079aa0de [svn-r24870] 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
    - Added a null terminator to the comment returned from the C call, in
        getComment methods
    - Some minor cleanup
    Merged from trunk: -r24865 -r24867
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-23 16:30:43 -05:00
Binh-Minh Ribler
e18ee63c5a [svn-r24868] Purpose: Applied user patch, HDFFV-8623
Description:
    Applied patch from user Jason Newton.  JIRA issue HDFFV-8623, patch
    0009, 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.
    Merged from trunk -r24830
Platforms tested:
    SunOS 5.11 (emu)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2014-03-23 01:12:05 -05:00
Larry Knox
f4781c29da [svn-r24732] Fix for reconfigure, which fails because LT_ADD_LIBHDF5_DEPENDENCY is used in Makefiles but the declaration in configure.ac is missing.
Copied declaration from trunk.  Tested with h5committest on jam ostrich koala and platypus(cmake).
2014-02-22 13:22:26 -05:00
Allen Byrne
551c147aa9 [svn-r24684] Add IF SHARED block around Windows PDB file generation command. 2014-02-04 10:29:04 -05:00
Allen Byrne
08901f283e [svn-r24393] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autotools
2013-11-01 16:26:11 -05:00
Binh-Minh Ribler
26713999ba [svn-r24290] 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-14 17:05:22 -05:00
Elena Pourmal
307f88870c [svn-r24259] Maintenance: Updated version number to 1.8.13-snap0; cleaned up RELEASE.txt for new info.
The 1.8 branch is open now for code changes.
2013-10-06 20:31:39 -05:00
HDF Tester
f8e5138264 [svn-r24257] Snapshot version 1.8 release 12 (snap19) 2013-10-06 16:57:26 -05:00