Commit Graph

15322 Commits

Author SHA1 Message Date
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
Allen Byrne
281a4901f6 [svn-r29242] Set default or override val 2016-03-01 11:00:56 -05:00
Allen Byrne
7705a4d914 [svn-r29239] Add HDF_JAVA AC_SUST line for settings file 2016-03-01 10:25:56 -05:00
Allen Byrne
16e529f5a9 [svn-r29237] Missed a "then" 2016-03-01 10:04:39 -05:00
Allen Byrne
6152dd6532 [svn-r29236] Check for shared libs only within enable-java block 2016-03-01 09:50:49 -05:00
Allen Byrne
8538eedde3 [svn-r29234] Fix H5 LIB OPTIONS macro for correct ARGN support 2016-02-29 16:24:31 -05:00
Allen Byrne
c9ea243157 [svn-r29233] Add ARGN option for soversion arguments 2016-02-29 16:07:27 -05:00
Allen Byrne
a0485058d6 [svn-r29232] add debug symbols library to install 2016-02-29 15:56:08 -05:00
Allen Byrne
83b5bed5d4 [svn-r29231] Check if szip is enabled before attempting to run example with szip. 2016-02-29 15:47:35 -05:00
Allen Byrne
6e9e1d67f5 [svn-r29229] Turn java OFF by default. 2016-02-29 12:25:27 -05:00
Allen Byrne
198ceb5fcc [svn-r29227] HDFFV-9552: merge in java code.
new files added.
2016-02-28 21:45:23 -05:00
Allen Byrne
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Allen Byrne
a1617b7cdb [svn-r29222] HDFFV-9570: Fix segfault when optional args are last option on command line.
Tested: java_merge DT
2016-02-28 12:58:37 -05:00
Vailin Choi
337e62226c [svn-r29202] Fix for unknown message HDFFV-9697.
Tested on jam, ostrich, platypus, kite, quail, osx1010test, emu, mayll, moohan.
2016-02-24 16:30:35 -05:00
Allen Byrne
016ebfcdf2 [svn-r29198] Remove if condition for test mask situation 2016-02-24 09:55:14 -05:00
Allen Byrne
f74042d4e8 [svn-r29190] Add checking for *.err file before trying to read 2016-02-23 15:50:02 -05:00
Allen Byrne
f7689087de [svn-r29186] HDFFV-9654: add VDS options to h5dump
includes new data files
2016-02-23 15:23:46 -05:00
Dana Robinson
807187e2f2 [svn-r29183] Fixed missing reopen test call in tfile from HDFFV-8740 fix.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
2016-02-22 16:45:28 -05:00
Dana Robinson
19a8216bd5 [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configure
external dataset storage path behavior.

This check-in fixes a bug in the original check-in where the
external path stored in the file struct was not copied on reopen
causing subsequent dataset operations to fail.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
           autotools parallel (MPICH 3.1.4) w/ fortran
2016-02-22 16:40:03 -05:00
Dana Robinson
7511d8b469 [svn-r29179] Revert of 29177 which breaks the autotools build.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
2016-02-22 15:32:01 -05:00
Allen Byrne
910d420409 [svn-r29177] HDFFV-9654: add VDS options to h5dump 2016-02-22 11:57:07 -05:00
Scot Breitenfeld
fe2b65f3e4 [svn-r29172] Fixed double word typo in #ifdef H5_FORTRAN_HAVE_C_SIZEOF 2016-02-19 16:12:32 -05:00
Scot Breitenfeld
553374e665 [svn-r29169] Changed #ifdef to use H5_FORTRAN_C_LONG_DOUBLE_IS_UNIQUE instead of H5_FORTRAN_HAVE_C_LONG_DOUBLE
Tested: jam (gnu)
2016-02-19 15:39:11 -05:00
Scot Breitenfeld
5126111606 [svn-r29165] Various rododoc fixes. Effects comments only. 2016-02-19 14:09:34 -05:00
Scot Breitenfeld
0859dd40bb [svn-r29163] changed robodoc specs to look for .F90 files 2016-02-19 13:11:26 -05:00
Scot Breitenfeld
f4430184ab [svn-r29162] added robodoc header information 2016-02-19 13:10:27 -05:00
Mike McGreevy
70c24f201c [svn-r29158] HDFFV-9190: Changed configure.ac to define H5_USE_18_API_DEFAULT when
'v18' is provided to --with-default-api-version.

Tested: h5committest.new
        and kituo with --with-default-api-version=v18
2016-02-19 11:21:00 -05:00
Scot Breitenfeld
1b2c30753d [svn-r29155] HDFFV-9652: Add fortran wrappers/test for collective metadata functions
Tested: h5committest.new
2016-02-19 09:24:11 -05:00
Mohamad Chaarawi
70ad55b105 [svn-r29150] fix for Jira issue 9670 - HDF5 segfaults on corrupted file.
Change compare callback in Btree2 class to correctly account for errors.

tested on bb-8.
2016-02-18 15:50:37 -05:00
Dana Robinson
b3df4e9c8d [svn-r29142] Updated the Intel files in config to use the new NO_SYMBOLS flags
and modified the failsafe configure flags in ibm-aix to use the
new scheme.
2016-02-17 13:15:58 -05:00
Dana Robinson
52705fa6f0 [svn-r29139] Updated PGI compiler files to set NO_SYMBOLS_CFLAGS/FCFLAGS and
moved the -s (strip symbols) option from the production flags to the
no symbols flags.

Tested on: platypus w/ PGI 15.7 (C, C++, Fortran)
2016-02-17 10:08:33 -05:00
Dana Robinson
d334af98c1 [svn-r29134] Updated config/solaris to use the latest configure option
and compiler flag scheme.

Tested on: Solaris 11.1 (emu) w/ SunPro 5.12 CC/FC/CXX
           autotools serial
2016-02-17 04:54:07 -05:00
Dana Robinson
e43c97fdb2 [svn-r29132] Added new single-responsibility functions to h5test.c/h that can
replace functions like h5_clean_files() that also do things like
reset the error handler and close fapls.

Existing tests have not yet been updated to use these new
functions.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
2016-02-16 23:30:49 -05:00
Dana Robinson
77f2f1c132 [svn-r29131] Updated the GNU g++ compiler config file to use the new debug/
production, etc. system.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial - prod/debug w/ C++
2016-02-16 21:16:27 -05:00
Dana Robinson
ad0925c214 [svn-r29129] Added NO_SYMBOLS_CFLAGS, etc. to allow stripping symbols when
--disable-symbols is specified and to ensure that production
mode (where symbol stripping is usually a part of the FLAGS)
doesn't conflict with --enable-symbols. This will allow better
(though still limited) debugging of production/optimized code.

The PGI, XLC, Intel, and Solaris files were not modified and
do not generate the symbol removal flag at this time. They'll
be updated in future check-ins. In the meantime, production
mode on those platforms still usually strips symbols.

This check-in also updates the Cygwin-specific files to use
the new autotools FLAGS and option scheme when uncommon
(non-gnu, etc.) Fortran compilers are used.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (prod/debug w/ and w/o symbols)
           symbol presence/absence checked with objdump
2016-02-16 20:09:04 -05:00
Dana Robinson
6731dca11f [svn-r29127] Moved the --enable-build-mode check in configure.ac to after the
platform-specific build information so the debug and production
flags are not clobbered.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (production & debug)
2016-02-16 17:42:40 -05:00
Dana Robinson
944e932662 [svn-r29119] Converted HDoff_t to off_t in test/external.c.
Fixes Windows errors.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           64-bit Windows 10 w/ VS2015
2016-02-15 14:22:03 -05:00
Mohamad Chaarawi
8025f6b712 [svn-r29096] fix bug in internal dxpls generated exposed by production and parallel. 2016-02-12 11:54:39 -05:00
Dana Robinson
2018728897 [svn-r29094] Removed the v-1 B-tree package from the list of packages that
can be configured to generate extra debugging output in both
the autotools and CMake.

This can still be set by defining H5B_DEBUG manually or by
using a custom string in configure.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
           CMake serial
2016-02-12 09:42:15 -05:00
Scot Breitenfeld
39fa385594 [svn-r29092] Fixed uninitialized return value from fortran API. 2016-02-11 16:50:22 -05:00
Dana Robinson
e7c1236543 [svn-r29090] Changed "smart quotes" to ASCII ' and " in r28960 code.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools parallel (MPICH 3.1.4)
           CMake serial (CMake 3.3.2)
2016-02-11 14:37:14 -05:00
Mohamad Chaarawi
d12a994986 [svn-r29088] - Add a test for retrieving the property values for the new coll md functions.
- ifdef some code that don't need to be built in parallel
- more minor enhancements

tested on bb-8 with parallel and serial
2016-02-11 11:03:44 -05:00