Commit Graph

942 Commits

Author SHA1 Message Date
Scot Breitenfeld
8ca7944380 [svn-r30120] Fixed compilation failure on emu due to moving testing subroutines into a module.
Tested: emu and jelly (gnu)
2016-06-29 14:21:19 -05:00
Quincey Koziol
83724bd787 [svn-r30113] Description:
Clean up warnings (from 2774 -> 1560, with my standard debug build)

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-28 16:53:48 -05:00
Quincey Koziol
d3396a7953 [svn-r30075] Description:
Bring object/dataset/group/named datatype features from revise_chunks
branch to trunk.  Also CMake support for h5format_convert and a bunch of
misc. cleanups.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-14 18:07:03 -05:00
Quincey Koziol
03dafc5ebe [svn-r30020] Description:
Bring r29992 from revise_chunks branch to trunk:

Turn off error reporting for h5debug and hdf2gif.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & produciton
    (h5committest forthcoming)
2016-06-05 21:30:16 -05:00
Allen Byrne
0c0d6bd4df [svn-r29878] Add LD tests to CMake.
Add include guards and Windows guards to dectris_hl_perf.c file.
2016-05-04 11:14:45 -05:00
Allen Byrne
2d36359035 [svn-r29874] Move hl/tools/gif2h5 CMake code to subfolder. 2016-05-04 10:54:31 -05:00
Allen Byrne
949853b047 [svn-r29864] Add ignore test names for Valgrind process.
Add files to clear test generated files tests.
2016-05-04 10:19:34 -05:00
Allen Byrne
74f3326a67 [svn-r29862] Convert source list names from *_SRCS to *_SOURCES.
Add/convert most tools to use new HDF5_TOOLS_DIR instead of HDF5_TOOLS_SRC_DIR CMake VAR.
2016-05-04 10:06:05 -05:00
Quincey Koziol
2e3e3f9cd3 [svn-r29857] Description:
Bring H5LD* routines from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-03 01:27:55 -05:00
Quincey Koziol
a6ce3d4e45 [svn-r29850] Description:
Bring H5DOappend(), H5P[s|g]et_object_flush_cb, and H5P[s|g]et_append_flush
from revise_chunks branch to trunk.  Brings along updated metadata cache
entry tagging, and the internal object flush routine.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-01 05:24:56 -05:00
Binh-Minh Ribler
75b926c96a [svn-r29803] Purpose: Code improvement
Description:
    The constructor FL_PacketTable added in 1.10.0 did not have good
    prototype; it didn't allow the property list to be default.  Marked
    it deprecated and added this one:

        FL_PacketTable(hid_t fileID, const char* name, hid_t dtypeID,
                       hsize_t chunkSize = 0, hid_t plistID = H5P_DEFAULT)
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 23:15:52 -05:00
Binh-Minh Ribler
cedc64c695 [svn-r29800] Purpose: Fix memory leak - HDFFV-9700
Description:
    Applied user's patch to fix memory leak.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 16:05:37 -05:00
Binh-Minh Ribler
853b4f417b [svn-r29796] Purpose: Fix warnings HDFFV-8615
Description:
    The "warning: deprecated conversion from string constant to âchar*â
    [-Wwrite-strings]" was already removed by adding const to char*
    parameter in the FL_PacketTable.  This change is to remove the use
    of literal strings in code for maintainability.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 14:14:51 -05:00
Binh-Minh Ribler
bd4d0d62bd [svn-r29710] Purpose: Code improvements
Description:
    - Replaced "goto out" and "out:" with "goto error" and "error:" to indicate
      the failure situations.
    - Replaced old-style casts with static_cast to remove warnings.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-15 14:08:28 -05:00
Scot Breitenfeld
77a806591d [svn-r29653] fixed A variable that is specified as an argument to the intrinsic procedure C_LOC must either have type and type parameters that are interoperable with a C type, or be a nonpolymorphic, scalar variable with no length type parameters. 2016-04-07 08:54:48 -05:00
Scot Breitenfeld
02a07cb0cf [svn-r29649] changed indentation format, updated comments 2016-04-06 13:30:16 -05:00
Scot Breitenfeld
01f479abb4 [svn-r29648] FIX: HDFFV-8486
h5tbmake_table_f is missing the fill_data parameter (which is in the C counterpart)

ADDED NEW API: h5tbread_table_f

Tested: platypus, ostrich
2016-04-06 13:07:17 -05:00
Scot Breitenfeld
54d598aa44 [svn-r29646] FIX: HDFFV-9522
Add support for variable length datatypes in the High Level H5LT Fortran APIs

Tested: platypus (gnu)
2016-04-06 10:17:02 -05:00
Scot Breitenfeld
e45885dea9 [svn-r29603] HDFFV-9746 Add test for "/" for H5LTpath_valid
Tested: jam (gnu)
2016-04-01 16:30:24 -05:00
Scot Breitenfeld
018f92063e [svn-r29599] added comments to source 2016-03-30 14:11:41 -05:00
Binh-Minh Ribler
eb66e7537c [svn-r29554] Description:
Removed an extra line in the Copyright block.  No need to test.
2016-03-24 10:01:41 -05:00
Dana Robinson
710d1caf54 [svn-r29531] Normalization w/ revise_chunks in preparation for big merge.
hl and bin directories

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-23 11:50:42 -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
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
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
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
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
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
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
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Dana Robinson
a6da81e49b [svn-r29007] Fixed typos in h52gif test.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-01-28 13:24:01 -05:00
Dana Robinson
5855f5d431 [svn-r28553] Merge of r28436 from revise_chunks. Cleans up warnings exposed
by gcc 5.2 in the flex/bison code.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-09 21:36:22 -05:00
Quincey Koziol
5f6e580533 [svn-r28346] Description:
Bring in cleanups from revise_chunks branch.

Tested on:
    MacOSX/64 10.11.1 (amazon) w/serial & parallel
    (too minor to require full h5committest)
2015-11-14 22:32:00 -05:00
Allen Byrne
b7240446da [svn-r28340] Remove dependencies due to flex/bison 2015-11-13 12:03:15 -05:00
Allen Byrne
59ba9f2bc5 [svn-r28336] Remove flex/bison generation 2015-11-13 11:42:57 -05:00
Dana Robinson
f7b73969f3 [svn-r28332] Updated autogen.sh to not run flex/bison.
This was giving a lot of users headaches and the parser code rarely
changes. There is now a new script (bin/genparser) which can be
run as needed.

Tested on: Ubuntu 15.10 (x86_64 Linux 4.2.0)
    gcc 5.2.1, flex 2.5.39, bison 3.0.2
2015-11-13 06:24:43 -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
Allen Byrne
4dc2218ab5 [svn-r27927] Fix dependencies of flex/bison files. 2015-10-01 09:48:03 -05:00
Allen Byrne
32ee0d816f [svn-r27913] Need to create the directory for the gen files 2015-09-29 13:59:55 -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
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
Allen Byrne
ccd6248532 [svn-r27895] Rework the generated file dependencies and commands. 2015-09-28 12:30:48 -05:00
Scot Breitenfeld
1cd606b5e0 [svn-r27854] fixed typo in name of file 2015-09-22 10:26:25 -05:00
Allen Byrne
9edd184ae9 [svn-r27846] Fix generated files process.
Add script for post processing of flex/bison files.
2015-09-21 15:05:23 -05:00
Dana Robinson
132ab9c2f3 [svn-r27828] Removed Perl-generated header files and H5LT parse code created by flex/bison.
Tested on: jam
2015-09-18 15:46:04 -05:00