Commit Graph

15363 Commits

Author SHA1 Message Date
Allen Byrne
5a344710ba [svn-r29418] Add compare to expected to script to verify correct operation of test 2016-03-15 12:13:41 -05:00
Allen Byrne
f56bf61b8c [svn-r29407] Correct source location 2016-03-14 14:59:06 -05:00
Allen Byrne
708227a1f9 [svn-r29406] Add Java and update options to CMake/Windows docs 2016-03-14 14:10:30 -05:00
Allen Byrne
4ed758aa3d [svn-r29404] correct filename in comment 2016-03-14 13:33:12 -05:00
Allen Byrne
f9dd7f1a80 [svn-r29403] Correct file location and add overview to makefile 2016-03-14 13:32:31 -05:00
Allen Byrne
4c4cc0fa09 [svn-r29402] Add Java option 2016-03-14 13:12:30 -05:00
Allen Byrne
8d9b56a7e8 [svn-r29400] HDFFV-9717: add overview section to javadocs 2016-03-14 12:56:15 -05:00
Allen Byrne
85711b31d8 [svn-r29399] HDFFV-9717: add overview section to javadocs 2016-03-14 12:51:41 -05:00
Dana Robinson
8f874a5010 [svn-r29395] Corrected parentheses in floating-point compare macros.
Corrected H5_EB and H5_PB macros.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-12 04:23:51 -05:00
Larry Knox
5938b81835 [svn-r29382] Change LT_VERS_* to 1000, 0, 0 for HDF5 1.10.0 release. 2016-03-09 15:14:16 -05:00
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
Mohamad Chaarawi
23e97565cf [svn-r29372] minor error reporting fix. 2016-03-09 10:03:16 -05:00
Binh-Minh Ribler
5ced585e05 [svn-r29369] Description:
More updates about the Packet Table improvement.
2016-03-09 08:56:58 -05:00
Binh-Minh Ribler
a3a0526cb8 [svn-r29366] Purpose: Update RELEASE.txt
Description:
    Added note about the changes in the C++ Packet Table library
2016-03-09 07:54:52 -05:00
Binh-Minh Ribler
8222b34406 [svn-r29364] Purpose: Improve C++ Packet Table library
Description:
    Performed similar improvement as the C Packet Table library.
      - Removed the VLPT_REMOVED ifdef around class VL_PacketTable
      - Moved VL_PacketTable::IsVariableLength to PacketTable
      - Moved VL_PacketTable::FreeReadBuff to PacketTable::FreeBuff
      - Added overloaded constructor to FL_PacketTable that takes a
        property list ID and call the new C API H5PTcreate.
      - Added accessor wrappers to class PacketTable, per HDFFV-8623/patch 003.
            /* Returns the ID of the dataset associated with the packet table */
            hid_t GetDataset();

            /* Returns the ID of the datatype the packet table uses */
            hid_t GetDatatype();
      - Replaced appropriate calls in tests
      - Various cleanup
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-09 01:47:27 -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
67432599a3 [svn-r29360] Purpose: Adding test
Description:
    Added several tests for packet table that were missing from the
    previous update.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-08 22:27:46 -05:00
Larry Knox
d380f20a0d [svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers rather than HDF5 library version numbers.
Svn revisions reverted:  29341, 29326
Branch features/h5check_version was created for further development.

Files changed
     test/tcheck_version.c
     test/testcheck_version.sh.in
     src/H5public.h
     src/H5.c
     config/lt_vers.am
     bin/h5vers

Tested with h5committest.new
2016-03-08 12:49:38 -05:00
Allen Byrne
3fabbf45f0 [svn-r29348] Correct script process for options 2016-03-08 12:18:17 -05:00
Larry Knox
273a4a0ba0 [svn-r29341] Correct path to source code in line 227.
Tested change on emu, moohan, platypus, and quail.
2016-03-08 07:39:57 -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
Dana Robinson
1b7b09b081 [svn-r29337] Cleaning warnings in Fortran code.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ Fortran
2016-03-08 02:34:43 -05:00
Dana Robinson
a1035bd806 [svn-r29336] Removed unused variables from Fortran code.
Updated gnu Fortran flags.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ Fortran
2016-03-08 01:38:33 -05:00
Dana Robinson
b18aaf39f0 [svn-r29332] Removed -Wunreachable-code from the gnu C++ flags.
This flag generates a large number of spurious warnings in our code
so we've disabled it for now.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 22:27:46 -05:00
Albert Cheng
2c36685010 [svn-r29326] HDFFV-9536: Changed H5check_version() to use libtool shared library version numbers instead of the library version numbers.
bin/h5vers: 
    Changed to copy the shared lib version from lt_vers.am to H5public.h
    (Thanks to Larry who made the changes.)
config/lt_vers.am:
    cosmetic change, nothing material.

src/H5public.h:
    Changed by bin/h5vers.

src/H5.c:
    Changed H5check_version() to use shared library version for compatibility
    checking.

test/tcheck_version.c:
test/testcheck_version.sh.in:
    Changed to use shared library version numbers instead of the HDF5 library
    version numbers for testing.

Tested: tested in Jam (C only), platypus and osx1010dev (enable fortran and C++).
2016-03-07 17:03:57 -05:00
Dana Robinson
b99b5d494e [svn-r29325] Removed -Wmissing-declarations from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 16:35:51 -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
Frank Baker
767520bfe2 [svn-r29319] Update COPYING for 2016. 2016-03-07 15:57:01 -05:00
Allen Byrne
53a381894e [svn-r29314] Add Java option 2016-03-07 12:25:46 -05:00
Dana Robinson
5fabfb6079 [svn-r29312] Removed -Wnonnull from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 11:58:11 -05:00
Allen Byrne
d447f6a1c5 [svn-r29307] Add Java to new configuration 2016-03-07 11:01:53 -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
3247df1224 [svn-r29301] Update valgrind cacheinit file to match regular. 2016-03-07 08:29:12 -05:00
Larry Knox
f83c88d9ae [svn-r29295] Replaced H5Acreate with H5Acreate2 in hl/test/test_packet_vlen.c line 758 to eliminate error with configure option --wit-default-api-version=v16.
Tested with option and h5committest.new.
2016-03-06 17:01:59 -05:00
Elena Pourmal
a6c9f83aee [svn-r29292] Maintenance: Restored RELEASE.txt from rev 27551 and added entries from Allen and Binh-Minh.
Other main changes that were done to trunk should be documented before the 1.10.0 code freeze.

This file will be added as HISTORY-1_9_0-1_10_0.txt to the 1_10 branch when the branch is created and will be part
of the HDF5 1.10.* source distribution.
2016-03-06 13:15:05 -05:00
Dana Robinson
f5b516d0c9 [svn-r29279] Tidying of H5C_load_entry() before complicated merge.
No significant code changes. Smoke checked on 64-bit Windows 10
with VS 2015 Pro.
2016-03-04 22:36:14 -05:00
Allen Byrne
027c960fd1 [svn-r29275] HDFFV-9698: fix subsetting issues with h5dump 2016-03-04 15:49:15 -05:00
Allen Byrne
40cdbe0b8d [svn-r29274] HDFFV-9698: fix subsetting issues with h5dump 2016-03-04 15:41:12 -05:00
Allen Byrne
1f10dc7f11 [svn-r29272] Add code to deal with two source files for test_packet test. 2016-03-04 15:12:05 -05:00
Binh-Minh Ribler
2a714ac4c0 [svn-r29270] Description:
Updated for "Improve Packet Table library" commit 29269.
2016-03-04 14:50:52 -05:00
Binh-Minh Ribler
9592119ffd [svn-r29269] Purpose: Improve Packet Table library
Description:
    The Packet Table API used to have fixed-length and variable-length functions
    (i.e., H5PTcreate_fl and H5PTcreate_vl), but in 2006, the vlen functions
    were ifdef'ed out with VLPT_REMOVED, see HDFFV-442. The majority of this
    revision includes removing unused vlen stuff, adding various vlen tests,
    initial code cleanup, and first pass of commenting.
    Details:
      - Removed the VLPT_REMOVED ifdef, but keep H5PTis_varlen and the free
        function because they are useful or even needed, but the free
        function's name is changed to be more appropriate for both
        read/write buffers, i.e., H5PTfree_vlen_buff.

      - The new test file, test_packet_vlen.c, contains tests showing packet
        tables, containing various types of vlen data, can be created with
        the fixed-length function

      - Two accessor functions were added per HDFFV-8623/patch 003.
            /* Returns the ID of the dataset associated with the packet table */
            hid_t H5PTget_dataset(hid_t table_id);

            /* Returns the ID of the datatype the packet table uses */
            hid_t H5PTget_type(hid_t table_id);

      - Various cleanup: replacing 0/-1 with SUCCEED/FAIL and H5I_BADID with
        H5I_INVALID_HID, and removing many warnings.

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-04 14:49:14 -05:00
Allen Byrne
6e7e6bb3aa [svn-r29266] Header generation default should be OFF.
For Trunk - cacheinit.cmake should enable it ON
2016-03-04 10:22:29 -05:00
Allen Byrne
49e774296b [svn-r29262] HDFFV-9241: Print fill value as "DEFAULT" instead of value 0 2016-03-03 11:02:55 -05:00
Allen Byrne
d0444d4f2b [svn-r29261] HDFFV-9241: Print fill value as "DEFAULT" instead of value 0 2016-03-03 10:27:48 -05:00
Allen Byrne
28ee82a07b [svn-r29259] HDFFV-9066: Improve h5dump usage statement for -O F, -ddl=F option. 2016-03-03 09:07:49 -05:00
Allen Byrne
f0a7f5978e [svn-r29257] HDFFV-9705: h5dump should not print filters or allocation time info for VDS files 2016-03-03 08:56:44 -05:00
Allen Byrne
16f2388832 [svn-r29248] Fix test results for HDF_JAVA 2016-03-01 12:54:56 -05:00
Allen Byrne
e836bfd010 [svn-r29247] Fix return type 2016-03-01 12:48:41 -05:00
Mohamad Chaarawi
c9c8ec5f7c [svn-r29245] use HDONE_ERROR instead of HGOTO after done. 2016-03-01 11:28:33 -05:00