Commit Graph

14313 Commits

Author SHA1 Message Date
Dana Robinson
7659506fa8 [svn-r26438] Fixed some double promotion warnings from gcc 4.9.2. Most were in
format strings.

Tested on: h5committest
2015-03-11 17:51:14 -05:00
Dana Robinson
88ac8e8929 [svn-r26428] Merge of r26424 from the autotools_rework branch.
Made the chkmanifest script a little more sh-friendly.

Tested: Manually on jam by modifying svn-controlled files
2015-03-11 01:40:54 -05:00
Dana Robinson
52607ae900 [svn-r26427] Revert of r26426
The repository wasn't clean when I made some changes so untested
code was committed.
2015-03-11 01:39:48 -05:00
Dana Robinson
3ed20376e0 [svn-r26426] Merge of r26424 from the autotools_rework branch.
Made the chkmanifest script a little more sh-friendly.

Tested: Manually on jam by modifying svn-controlled files
2015-03-11 01:35:51 -05:00
Scot Breitenfeld
04a3b2a458 [svn-r26417] Removed compiler warnings from HL. HDF5-237
Tested: h5committest
2015-03-10 14:02:41 -05:00
Allen Byrne
89da5458b6 [svn-r26415] Fix script mode 2015-03-10 11:43:37 -05:00
Dana Robinson
47bb12bc82 [svn-r26412] Merge of r26081-2, 26226, and 26399 from the autotools rework branch.
Various tweaks for autotools thread-safety and Pthreads support.

- Moved the check for pthread_attr_setscope() into the thread-safe
  checks section. Documented its necessity and added a cross-compiling
  option and helpful comment.

- Moved the high-level library checks up to the same place where
  Fortran and C++ are checked. This will make it easier to handle
  threadsafe/high-level combinations later.

- Also changed the default of --enable-pthread to 'check', which is
  the same as the old 'yes' behavior where we just check the standard
  locations. 'yes' and 'no' are still accepted, though 'no' will
  currently produce an error since the autotools only support Pthreads.

Fixes: HDFFV-9087

Tested on: h5committest
           jam (w/ threadsafe)
2015-03-09 22:35:13 -05:00
Dana Robinson
5aa5ed84da [svn-r26408] Missed an H5_HAVE_FILTER_SHUFFLE line.
Part of: HDFFV-9086

Tested on: jam (minor change)
2015-03-09 15:12:18 -05:00
Scot Breitenfeld
31ffa03914 [svn-r26405] Removed compiler warnings, hl/examples:
HDF5-237

tested: h5committest
2015-03-09 13:45:44 -05:00
Allen Byrne
64f65d96d9 [svn-r26403] changes to comments and test should use unsigned var. 2015-03-09 11:21:56 -05:00
Elena Pourmal
1f4f709e8c [svn-r26401] Fixed warnings in the C stubs for Fortran wrappers. See Crucible review HDF5-238.
Tested on platypus with gcc/gfortran 4.9.2, jam and emu with the default compilers.
2015-03-09 10:51:09 -05:00
Dana Robinson
2a4ea9b24e [svn-r26392] Reinstates r26327-8, which had been reverted due to failures on
Solaris and OS X.

Added public API functions that expose the C library's memory allocator
for use in filter functions that need to allocate or resize buffers.

Intended for use with filter plugins, particularly on Windows, where C
runtime (CRT) issues can cause problems.

Fixes: HDFFV-9100

Tested on: h5committest + OS X (quail) + Solaris (emu)
2015-03-08 19:41:54 -05:00
Larry Knox
63bd09ec8b [svn-r26389] Revision 26387 failed with configure option --with-default-api-version=v16.
Changed H5Dcreate() to H5Dcreate2 in test/trefer.c line 633.

Tested with h5committest and with --with-default-api-version=v16 on platypus.
2015-03-08 12:06:02 -05:00
Mohamad Chaarawi
89ffc9f2d7 [svn-r26387] warning fixes from Feb27. 2015-03-06 14:53:23 -05:00
Mike McGreevy
84f0d4735a [svn-r26382] Merge r26289 from autotools_rework branch to trunk:
Purpose:

    Fix HDFFV-9124 - Remove old libtool post-processing
    
Description:
 
    This revision removes some post-processing of the generated libtool
    script, which was added back in 2003 (see svn revisions 6285 and 6293)
    to address a deficiency in which the script failed to set the '$wl'
    variable for icc and pgcc compilers. Libtool has since fixed the issue,
    and the post-processing we've been running has essentially been a no-op
    for years, so it's safe for us to remove the post-processing snippet.
    
Tested:

    Jam using pgcc and icc compilers.
2015-03-06 11:16:04 -05:00
Allen Byrne
ec2e071c00 [svn-r26380] Recapture updated error files for h5dump tests 2015-03-06 08:53:42 -05:00
Jerome Soumagne
19fa03d5a8 [svn-r26375] Print number of times sigill_handler is called in H5detect.
Part of: HDFFV-8857
2015-03-05 17:46:07 -05:00
Jerome Soumagne
967c265541 [svn-r26374] Add CMake conversion test for H5_LONG_TO_LDOUBLE_SPECIAL and
H5_LDOUBLE_TO_LONG_SPECIAL (imported from configure.ac).

Fixes: HDFFV-8936

Tested on: ostrich
2015-03-05 17:26:08 -05:00
Scot Breitenfeld
ca0a4d24b6 [svn-r26373] Fix for HDFFV-7959:
H5Rdereference should check for default (HADDR_UNDEF) value and not continue processing and return so that ret value can be checked and handled properly 

Tested: jam (gnu)
2015-03-05 16:42:42 -05:00
Allen Byrne
61dcc807af [svn-r26367] HDFFV-8520: Add plugin control APIs. 2015-03-05 11:38:14 -05:00
Allen Byrne
63e3db6497 [svn-r26366] Update windows wix cpack process. 2015-03-05 11:36:39 -05:00
Allen Byrne
5be5a4d832 [svn-r26365] HDFFV-8520: Add plugin control APIs.
Update windows WiX packaging.

h5committested
2015-03-05 11:09:22 -05:00
Dana Robinson
da1bfda645 [svn-r26363] Partial revert of r26347.
Since off_t is exposed by the C API, the large file definitions MUST
be exposed so that client code matches the library.

These definitions have been switched back to AM_CPPFLAGS, which is
exported to h5cc, etc. The POSIX and GNU definitions changes from
r26347 have been left as using H5_CPPFLAGS, which is not sent to
h5cc as we don't want to inflict our needs on external users.

Fixes: HDFFV-9152

Tested on: h5committest
2015-03-04 17:01:37 -05:00
Dana Robinson
86d1ef2096 [svn-r26351] Adds warning prevention pragmas, etc. to flex- and bison-generated code.
Fixes: HDFFV-9149

Tested on: jam w/ gcc 4.1 and koala w/ gcc 4.9
2015-03-03 22:23:04 -05:00
Dana Robinson
6ee9ea656f [svn-r26348] Updates bin/chkmanifest to correctly handle the seven Subversion status
columns that are output by svn stat.

Previously, the script assumed that they would all be blank for newly-
added files. This is not always true when merging.

Part of: HDFFV-8895

Tested on: jam (bin/chkmanifest only)
2015-03-03 18:31:31 -05:00
Dana Robinson
f56cb6a8f0 [svn-r26347] Moves large file and POSIX/GNU defines from AM_CPPFLAGS to H5_CPPFLAGS,
which is where the rest of the #defines reside.

The key difference is that AM_CPPFLAGS is exported to h5cc. These #defines
are not necessary to consume the HDF5 API and it's bad form to inflict
our build configuration on users. In particular, the GNU/POSIX defines
could easily conflict with a user's.

Fixes: HDFFV-9152

Tested on: h5committest
2015-03-03 17:27:21 -05:00
Larry Knox
6c7aa17753 [svn-r26338] Remove references to vms and vms files to be updated by this script. VMS has been removed from HDF5 code.
Tested on jam.
2015-03-02 12:11:59 -05:00
Dana Robinson
d8e3d8e908 [svn-r26333] Eliminates gcc warnings due to -Wunsuffixed-float-constants.
- Adds 'F' suffixes for most float constants.

- A few constants MUST be of type double. These now receive the long
  double L suffix and are then cast to double. I do this via a new
  H5_DOUBLE() macro which was added to H5private.h.

Fixes: HDFFV-9148

Tested on: h5committest
2015-03-01 13:48:54 -05:00
Larry Knox
ac290b5e45 [svn-r26331] Revert checking r 26327&8, which added new code and test that fails on solaris and macs.
Tested h5committest + emu and quail.
2015-02-28 12:00:03 -05:00
Dana Robinson
7462a7ef1c [svn-r26329] Merge of r26069, r26070, and r26072 from the features/autotools_rework
branch.

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.

Part of: HDFFV-9086

Tested on: h5committest
2015-02-27 07:50:38 -05:00
Dana Robinson
7b7f0eafc5 [svn-r26328] Fixed a typo in tmisc.c. 2015-02-27 06:05:02 -05:00
Dana Robinson
c16d230101 [svn-r26327] Added public API functions that expose the C library's memory allocator
for use in filter functions that need to allocate or resize buffers.
Intended for use with filter plugins, particularly on Windows, where
C runtime (CRT) issues can cause problems.

Fixes: HDFFV-9100

tested on: jam (minor, localized change)
2015-02-26 22:33:25 -05:00
Dana Robinson
4c2749fb1d [svn-r26324] Fixes another bug in bin/trace that prevents adding TRACE macros to API
calls that use a FUNC_ENTER macro that does not include parentheses.

This does not affect any source code at this time.

Part of: HDFFV-9141

Tested on: jam (bin/trace behavior only)
2015-02-26 19:49:32 -05:00
Scot Breitenfeld
2048e0bff9 [svn-r26321] Fix for HDFFV-9042.
tested: h5commit
2015-02-26 15:39:51 -05:00
Allen Byrne
61f0497572 [svn-r26320] Trigger component install options 2015-02-26 13:19:41 -05:00
Dana Robinson
a83b6d6651 [svn-r26311] Merged r26266-7 from features/autotools_rework
Updates the bin/chkmanifest script so that it parses the output
of svn commands instead of hacking at the .svn/entries file. This
will make the script more future-proof and allows it to work with
current Subversion repositories.

Tested on: jam (bin/chkmanifest only)
2015-02-26 09:02:48 -05:00
Allen Byrne
aad4250bd6 [svn-r26305] convert dump_dcpl to use switch statement
Add default case
refactor out start ctx and end ctx
Tested: local linux
2015-02-25 15:20:31 -05:00
Mohamad Chaarawi
c4044e0c85 [svn-r26303] remove files with .clog2 extension generated by MPE when doing make clean. 2015-02-25 13:48:31 -05:00
Quincey Koziol
3550004b20 [svn-r26302] Description:
Revise dataspace encode/decode routines to make them work better with
future virtual dataset feature.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 13:03:52 -05:00
Quincey Koziol
0ce8fddc73 [svn-r26301] Description:
Bring Neil's fix for error in H5S_extent_copy() back to the trunk.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 12:29:30 -05:00
Quincey Koziol
2dae075569 [svn-r26300] Description:
Add H5Sis_regular_hyperslab() and H5Sget_regular_hyperslab() API routines,
along with tests.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 12:05:16 -05:00
Scot Breitenfeld
48d9c30923 [svn-r26294] Fix for HDFFV-9132.
tested: h5committest
2015-02-24 15:30:07 -05:00
Scot Breitenfeld
e171ee01f1 [svn-r26280] Removed tab indenting for Fortran source, tab indenting is not F2003 standard compliant. 2015-02-23 10:58:12 -05:00
Mohamad Chaarawi
0c29ac42cd [svn-r26279] re-commit 26260 that Dana moved out fixing the versioning of functions to work with v16 default API. 2015-02-23 10:14:43 -05:00
Allen Byrne
f175fd25c8 [svn-r26277] remove filename extension 2015-02-23 08:54:40 -05:00
Dana Robinson
7e220930da [svn-r26276] Merged r26075-80, 86 from features/autotools_rework branch.
Cleans up time functions in the autotools input files. Removed deprecated
gettimeofday() time zone code and configure processing. Also removed
some unused time function configure checks and defines.

Fixes: HDFFV-9083 and HDFFV-9085

Tested on: 32-bit linux, serial and parallel (jam)
           OS X (kite)
           Solaris (emu)
2015-02-23 01:56:16 -05:00
Dana Robinson
7c13406814 [svn-r26275] Merge of r26042, 26083, 26084, 26085 from features/autotools_rework
- Updated configure.ac so that the direct VFD can now be built
  without specifying _GNU_SOURCE, etc. on the command line.

- The direct VFD is now disabled by default. It was previously
  enabled, but the configuration script couldn't configure it
  properly, making it a moot point.

Fixes: HDFFV-9057, HDFFV-7567, HDFFV-9088, HDFFV-7566

Tested on: h5committest
           jam w/ direct VFD (*very* slow!)

NOTE: platypus cmake fails, but this is not a new error.
2015-02-22 10:09:26 -05:00
Dana Robinson
bfc0395507 [svn-r26272] Merge of r26071 from features/autotools_rework
Removes the --with-default-vfd option from configure. This was basically
useless and only allowed selecting the stdio VFD. Since this is a demo
VFD and not really a production VFD, we decided to retire this option.

Fixes: HDFFV-9081

Tested on: h5committest

NOTE: platypus cmake fails, but this is not a new error.
2015-02-22 05:44:41 -05:00
Dana Robinson
f634105bdb [svn-r26271] Reverse merge of r26260 which was causing daily test failures.
Tested on: jam w/ parallel and fortran
2015-02-22 03:38:18 -05:00
Mohamad Chaarawi
fcd77ffe7e [svn-r26260] - add an attribute callback to call H5_term_library when MPI_COMM_SELF is destroyed.
- add tests for above.
- this is a fix for HDFFV-883.

tested h5committest
2015-02-20 16:33:48 -05:00