Commit Graph

14494 Commits

Author SHA1 Message Date
Quincey Koziol
371a27f01e [svn-r26843] Description:
Minor code & warning cleanups.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    Linux/32 2.6.18 (jam) w/serial & parallel
2015-04-18 21:48:06 -05:00
Quincey Koziol
1eaaae9821 [svn-r26842] Description:
Cache the dataset's rank & dimension sizes, instead of querying them
frequently, to speed up various checks & algorithms.  Also, a few minor
cleanups.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    Linux/32 2.6.18 (jam) w/serial & parallel
2015-04-18 01:39:34 -05:00
Quincey Koziol
524bfed32e [svn-r26841] Description:
Minor formatting cleanups and remove unused field from callback struct.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-04-18 00:02:24 -05:00
Larry Knox
cf98752566 [svn-r26840] configure
configure.ac
hl/src/H5LTparse.c
hl/src/H5LTparse.h
        Address HDFFV-9010: configure issue with gcc 4.9.2 "-l ".
        Change default to disable_shared on CYGWIN.

release_docs/INSTALL_Cygwin.txt
release_docs/RELEASE.txt
        Update for changed default and no CYGWIN szip binary.

c++/src/cpp_doc_config
bin/h5vers
        AddressHDFFV-9010: Add cpp_doc_config to h5vers

Tested with h5committest, on CYGWIN.
2015-04-17 17:24:47 -05:00
Quincey Koziol
7bf3a426e8 [svn-r26837] Description:
Separate allocating chunk on disk from inserting the chunk record into the
index.  This allows a "SWMR-safe" insert/update of chunks (the chunk is always
allocated -> written -> inserted/updated in the index).

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/parallel & serial
    Linux/32 2.6.18 (jam) w/serial & parallel
2015-04-17 15:49:27 -05:00
Neil Fortner
f53cfbe9d6 [svn-r26828] Implement support for unlimited selections (not supported by VDS code yet).
Add tests for unlimited selections.
Various other minor changes.

Tested: ummon
2015-04-16 15:57:26 -05:00
Albert Cheng
c6717e8134 [svn-r26823] Update instruction that changes in this releaes that " --enable-parallel has
to be used explicitly to build parallel HDF5 regardless of the compiler type
being used.  (MSC - 2015/02/19 HDFFV-9068)"
2015-04-16 08:13:12 -05:00
Allen Byrne
c04b083b60 [svn-r26815] Update cmake configuration checks
Tested: local linux
2015-04-15 11:59:11 -05:00
Scot Breitenfeld
1644eda6de [svn-r26812] Removed printf debugging statements.
Tested: trival.
2015-04-15 08:45:06 -05:00
Dana Robinson
41302a1ea6 [svn-r26803] Fixed a minor typo in H5R code comment. 2015-04-14 07:57:30 -05:00
Allen Byrne
11efaf4ff7 [svn-r26798] Fix other storage layout whitespace 2015-04-13 15:47:03 -05:00
Allen Byrne
26e709edc6 [svn-r26794] Fix formatting for selection. Irregular reuses blocks and points for datasets however indentation after line breaks are an issue. 2015-04-13 15:15:00 -05:00
Dana Robinson
573365e3a0 [svn-r26786] In libhdf5.settings.in, changed the C++ shared library setting variable
from H5_CXX_SHARED (which no longer exists) to enable_static.

Tested on: jam (configure only - minor change)
2015-04-13 03:25:56 -05:00
HDF Tester
27313306f8 [svn-r26785] Snapshot version 1.9 release 216 2015-04-12 06:05:35 -05:00
Larry Knox
6c0fcb84a8 [svn-r26782] Remove md5 from METHODS arguments for calling bin/release script from snapshot script. md5 method was removed and md5 checksums are always produced for all compression methods. 2015-04-11 22:45:56 -05:00
Neil Fortner
6a27582a44 [svn-r26781] Merge revisions 26305 through 26780 from trunk to vds branch.
Tested: ummon
2015-04-10 18:00:48 -05:00
Allen Byrne
3875cc6960 [svn-r26778] fix path to config 2015-04-10 12:51:40 -05:00
Mohamad Chaarawi
3b72762036 [svn-r26777] - Fix usage of the internal AC global dxpls
- allocate sieve buffer with calloc instead of malloc

tested with h5committest
2015-04-10 12:47:16 -05:00
Allen Byrne
b452fc97e6 [svn-r26776] Add missing quote char. 2015-04-10 12:45:13 -05:00
Allen Byrne
7a4b02567e [svn-r26775] Update error file with new item. 2015-04-09 15:52:06 -05:00
Scot Breitenfeld
5619a9a119 [svn-r26772] Fixed wrong fapl for H5Fopen when testing H5Iget_name with anonymously created datatype.
Tested: jam (using split virtual driver)
2015-04-09 10:57:01 -05:00
Mohamad Chaarawi
7f06904d28 [svn-r26771] - remove unused internal dxpl properties and property lists from the AC layer
- fix warnings in H5AC.c

tested with h5committest
2015-04-08 16:24:22 -05:00
Scot Breitenfeld
1215ef0370 [svn-r26767] Added test to address HDFFV-3065:
H5Iget_name on datatype that is not named returns no error

Tested: h5committest
2015-04-08 11:06:48 -05:00
Quincey Koziol
4662835250 [svn-r26757] Description:
Minor typos & code cleanups

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-04-07 14:16:25 -05:00
Albert Cheng
dd32c639c6 [svn-r26751] Updated. 2015-04-07 13:13:57 -05:00
Albert Cheng
5cc53e3ba2 [svn-r26750] HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type.
Added the testing to h5repack where it belongs.
Undo the tests added to h5dump.

Tested: h5committested plus tested in jam by hand.
2015-04-07 13:10:21 -05:00
Mohamad Chaarawi
6fa9f61ae5 [svn-r26746] install_parallel updates. 2015-04-07 10:50:40 -05:00
Binh-Minh Ribler
4275900a7b [svn-r26737] Purpose: Fix daily test failure
Description:
    - In DataType::DataType(const PredType& pred_type), using DataType::copy
    will invoke DataType::close() unnecessarily, which will produce undefined
    behavior.  Changed to call H5Tcopy directly, code reuse is not useful in
    this case.
    - Also, fixed CommonFG::childObjVersion to return expected value outside of
    an if/else block.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
2015-04-06 12:46:54 -05:00
Allen Byrne
b9e5e2af4e [svn-r26721] Disable failing test 2015-04-03 13:57:24 -05:00
Allen Byrne
09784944d2 [svn-r26719] Add HL to default components 2015-04-03 13:34:53 -05:00
Albert Cheng
abad30a44d [svn-r26712] Bug fix: cmakehdf5 broken because zlib is no longer configure in by default.
That broke the testings as some testfiles have zlib compressed datasets.

Added options control to enable the linking of zlib external libarary by
default and turn off the szip library linking as szip library may not be
avaiable. This matches the established settings.

Tested: run cmakehdf5 by hand in jam and platypus.
Also tested in wren but it failed in the testing stage.
Also tried "cmakehdf5 --script" in jam. It failed.
2015-04-02 17:36:46 -05:00
Larry Knox
3032f3adf3 [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure.
Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths.

Tested with h5committest.
2015-04-02 16:07:53 -05:00
Albert Cheng
33c8035f0e [svn-r26702] HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type.
Description:
The test added failed in some machines because the data file contains infinity values that different machines print them differently as "inf", "INF", "Inf", ...

Solution:
Added a "ignorecase" option to TOOLTEST() to do caseless matching between generated output vs expected output. This solved most machines problem for now.

Tested: h5committest, emu by hand for both development and production modes.
But cmake built h5dump failed to read the data file. Using the same source to build h5dump by autotools produced a h5dump that can read the test data file. Don't know why cmake could not produce a correct binary.
2015-04-01 16:18:18 -05:00
Allen Byrne
99baa66184 [svn-r26699] Generators are only built static 2015-04-01 16:02:43 -05:00
Binh-Minh Ribler
f6d9d1fdc8 [svn-r26695] Purpose: Fixed HDFFV-7947 (cont.)
Description:
    - Put back the UNUSED parameters in dsets test because the change to remove
      the warning last time caused failure in setting filter, in turn, caused
      failure in the test with such obscure/unrelated errors!
    - Added incRefCount() to other constructors that missed from last time.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-04-01 13:52:05 -05:00
Allen Byrne
6f03b60c61 [svn-r26693] Remove use of obsolete HDF5_USE_FILTER_{internal} 2015-04-01 13:30:56 -05:00
Allen Byrne
7e183071a5 [svn-r26691] Move attribute define out of dynamic block.
Tested: windows
2015-04-01 09:48:13 -05:00
Neil Fortner
b31a086f3e [svn-r26690] Fix error in H5Sextent_copy
When the selection is set to all, H5Sextent_copy did not update the number of
elements in the selection in the destination space.  Fixed H5Sextent_copy to do
this.  Added tests for this functionality.

Tested: jam, koala, ostrich (h5committest)
2015-04-01 09:22:16 -05:00
Allen Byrne
d28652dacf [svn-r26685] Add new test from test script 2015-03-31 16:42:53 -05:00
Allen Byrne
db2e8ff371 [svn-r26683] Remove internal filter checks 2015-03-31 16:28:44 -05:00
Allen Byrne
e9db2519b5 [svn-r26682] Add new test from test script 2015-03-31 16:16:59 -05:00
Neil Fortner
95983cbdfe [svn-r26680] Implement minor suggestions from 3/26/15 code review.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-31 15:20:10 -05:00
Mohamad Chaarawi
ccdcbec635 [svn-r26678] add ifdef checks and setting for __attribute__ in a public place to allow usage in
public routines.
2015-03-31 14:54:31 -05:00
Albert Cheng
cf11eef385 [svn-r26677] HDFFV-8957: h52gif crashes when run against one of our own examples
The tool claimed it could handle 24bit images but there was no code to handle it.
(or might be there were but was removed by previous revisions.)
Also discovered that it does not accept multiple images nor -p for palette
as its user document and online help message indicated.

Solution: 
Added code to verify dimension sizes are within 8 bit raster images limit and
added tests to verify the tools correctness.
Need to update user document tool.

Tested: h5committested.
2015-03-31 14:13:34 -05:00
Albert Cheng
6c04e6b03c [svn-r26675] HDFFV-9201: Create md5s for bzip, gzip and zip files
An md5 checksum is produced for each archive created and stored in the md5 file

Tested: jam by hand.
2015-03-31 12:40:43 -05:00
Albert Cheng
f207efd6f3 [svn-r26671] Since cmake always redoes everything from start, I change the logfiles to
start fresh everytime.

Tested: platypus
2015-03-30 23:30:58 -05:00
Larry Knox
306775bc98 [svn-r26670] Remove VPATH and LONE_COLON
Tested with h5committest
2015-03-30 19:05:07 -05:00
Larry Knox
11413003c2 [svn-r26669] Remove code to prevent duplicate includes of /usr/include and /usr/lib.
Tested h5committest
2015-03-30 17:12:39 -05:00
Neil Fortner
904c84b2a2 [svn-r26668] Fix error in H5D__virtual_read/write that prevented short circuit.
Fix off by 1 error in H5S__hyper_project_intersection algorithm.
Add many tests for fixed size hyperslab I/O.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-30 17:11:58 -05:00
Binh-Minh Ribler
ea029945f5 [svn-r26667] Purpose: Fixed HDFFV-8766
Description:
    Per user Jason Newton request, the following constructor is added:
        H5File(hid_t existing_id);
    Also, fixed H5File::openFile to close current file first before re-using
    the object.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam gnu and Intel 15.0)
    SunOS 5.11 (emu)
2015-03-30 16:57:37 -05:00