Commit Graph

15622 Commits

Author SHA1 Message Date
Allen Byrne
5e94747c52 [svn-r29881] Add include guards.
Remove unnecessary includes.
2016-05-04 11:18:11 -05:00
Allen Byrne
1bd3635781 [svn-r29880] Add HD to sleep function calls 2016-05-04 11:16:45 -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
f1633a5fe2 [svn-r29873] Java add missing APIs.
Adjust whitespace in H5.java for exception indentation.
Adjust whitespace in JNI for function signature formatting.
2016-05-04 10:52:40 -05:00
Allen Byrne
54316ab542 [svn-r29871] HDFFV-9743: Fix java examples Debug build commands.
rename examples clear-objects test names.
2016-05-04 10:38:52 -05:00
Allen Byrne
792f902854 [svn-r29868] Add/convert most tools to use new HDF5_TOOLS_DIR instead of HDF5_TOOLS_SRC_DIR CMake VAR. 2016-05-04 10:30:30 -05:00
Allen Byrne
8bd70914fc [svn-r29867] CMake whitespace cleanup 2016-05-04 10:29:16 -05:00
Allen Byrne
7b291f3531 [svn-r29866] Add files to clear test generated files tests. 2016-05-04 10:24:16 -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
Quincey Koziol
ac72823bc2 [svn-r29844] Description:
Minor rearrangements, to align with revise_chunks branch

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-30 22:18:00 -05:00
Quincey Koziol
bd33a9d6da [svn-r29842] Description:
Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from
revise_chunks branch to the trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-30 01:10:38 -05:00
Quincey Koziol
f63b2c50ac [svn-r29815] Description:
Change 'value' pointer to H5Pset() from 'void *' to 'const void *'.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial
    (h5committest forthcoming)
2016-04-26 14:33:45 -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
Dana Robinson
f50629ed52 [svn-r29793] Removed -Waggregate-return from gnu C++ flags.
This flag generates a large number of warnings and is considered obsolete
since its primary purpose seems to have been to support ancient compilers
that could not return an aggregate.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial w/ C++
2016-04-25 11:35:40 -05:00
Binh-Minh Ribler
0d5910683d [svn-r29786] Purpose: Add new wrapper
Description:
    Added wrapper for H5Tset_nbit: void DSetCreatPropList::setNbit() const.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 01:09:46 -05:00
Binh-Minh Ribler
32bdd82cc8 [svn-r29782] Purpose: Code improvement
Description:
    - Removed ArrayType::rank and ArrayType::dimensions and modified the methods
      ArrayType::getArrayNDims and ArrayType::getArrayDims to always call the
      C functions to get the rank and dimensions.
    - Overloaded ArrayType::getArrayNDims and ArrayType::getArrayDims to provide
      const version and marked the non-const version deprecated.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-24 10:52:09 -05:00
Quincey Koziol
4f831405cb [svn-r29779] Description:
Bring over some of the tool testing for the new chunk indices.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 03:21:09 -05:00
Quincey Koziol
b0980a5f54 [svn-r29776] Description:
Bring "file pointer patching" code & test from revise_chunks to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 00:50:00 -05:00
Quincey Koziol
3ac0a74bf3 [svn-r29775] Description:
Another change for 'none' file pointers.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 00:37:18 -05:00
Quincey Koziol
b2d6d68d5d [svn-r29770] Description:
Bring 'none' chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-23 00:03:00 -05:00
Binh-Minh Ribler
997392079b [svn-r29766] Description:
- Changed object in catch statements to reference (left over from previous)

Platforms tested:
    Linux/32 2.6 (jam) (very minor)
2016-04-22 15:32:18 -05:00
Binh-Minh Ribler
c37607eb58 [svn-r29759] Purpose: Code improvements
Description:
    - Changed object in catch statements to reference
    - Replaced old-style casts or reinterpret_cast with static_cast
    - Removed unused name H5Library::need_cleanup
    - Removed Exception::printError from documentation
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-22 06:22:34 -05:00
Larry Knox
c63f96d6e7 [svn-r29755] test/ohdr.c apply fix for HDFFV-9713 to not open test file in source with write permission.
config/linux-gnulibc1   reapply filx for HDFFV-9439 which was partially removed, probably by merge from revise_chunks branch.

Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.
2016-04-20 15:53:47 -05:00
Scot Breitenfeld
988c33527f [svn-r29745] HDFFV-9767
h5perf output; should be MB not MBs

FIX: changed output text from MBs to MB and KBs to KB
2016-04-19 10:00:53 -05:00
Quincey Koziol
5108468482 [svn-r29743] Description:
Close another FAPL in the test_missing_chunk() routine.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-19 09:25:49 -05:00
Quincey Koziol
c02c88f874 [svn-r29742] Description:
Add missing source file for single chunk index.

Tested on:
    Windows (via daily testing
2016-04-19 09:18:30 -05:00
Quincey Koziol
f7aff7d5cf [svn-r29738] Description:
Bring "single" chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-18 23:21:12 -05:00
Quincey Koziol
6ce67650fb [svn-r29736] Description:
Close FAPL that was leaked in zero_dims test.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production, including check-vfd
    (h5committest forthcoming)
2016-04-18 21:42:30 -05:00
Quincey Koziol
062055fe60 [svn-r29730] Description:
Add missing pre-generated files to list of test files to copy.

Tested on:
    Windows (Reported by Allen)
2016-04-18 09:56:48 -05:00
Quincey Koziol
36062736a5 [svn-r29722] Description:
Bring over more dataset tests from the revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-17 02:26:51 -05:00
Quincey Koziol
ce8905cc90 [svn-r29718] Description:
Bring changes from revise_chunks branch to trunk

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel, and production
    (h5committest forthcoming)
2016-04-16 03:50:45 -05:00
Quincey Koziol
81ef260f6b [svn-r29717] Description:
Correct chunk index computation for earrays and farrays, particularly when
copying datasets with H5Ocopy() and other operations (like H5Dget_storage_size)
that require iterating over all chunks.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:42:48 -05:00
Quincey Koziol
a916ea97b8 [svn-r29716] Description:
Add missing testfiles from dsets.c to the 'clean' target.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:40:06 -05:00
Quincey Koziol
d3574d0570 [svn-r29715] Description:
Clean up coding to increment/decrement underlying FAPL for multi/split
VFDs, to avoid copying property lists as much.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:39:01 -05:00
Quincey Koziol
be24e91aec [svn-r29714] Description:
Switch to use internal DXPL ID, to align with recent changes within the
library.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2016-04-16 03:36:47 -05:00
Quincey Koziol
ccdf15d88a [svn-r29712] Description:
Minor code cleanups to address typos & warnings.

Tested on:
    MaOSX/64 10.11.4 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2016-04-16 03:34:27 -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
Dana Robinson
57b7130acf [svn-r29698] Switched true and false to TRUE and FALSE in a function in
test/external.c.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial (external test only)
2016-04-14 16:26:41 -05:00
Larry Knox
e2c8d94ac1 [svn-r29696] Applied fix for HDFFV-9439 to mpicc config as well as mpif90 in config/linux-gnulibc1.
Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.
2016-04-14 15:18:02 -05:00
Allen Byrne
18e360b9fa [svn-r29683] HDFFV-1956: h5diff will warn if a dataset is virtual instead of failing. h5diff does not consider the layout type when comparing datasets.
SKIP h5repack VDS tests until h5repack is fixed.
remove h5repack fix ddl files needed when h5repack VDS fix is implemented.
2016-04-11 09:21:37 -05:00
Allen Byrne
0ff3a85a48 [svn-r29681] HDFFV-1956: h5diff will warn if a dataset is virtual instead of failing. h5diff does not consider the layout type when comparing datasets.
SKIP h5repack VDS tests until h5repack is fixed.
Additional tests to be skipped
2016-04-11 08:53:55 -05:00
Allen Byrne
7fe0324fc4 [svn-r29680] HDFFV-1956: h5diff will warn if a dataset is virtual instead of failing. h5diff does not consider the layout type when comparing datasets.
SKIP h5repack VDS tests until h5repack is fixed.
2016-04-11 08:45:33 -05:00
Larry Knox
921b68afa7 [svn-r29678] Revert r29672 changes to h5diff.
Tested h5committest.new
2016-04-09 13:48:43 -05:00
Allen Byrne
1335631f3d [svn-r29673] Fix typo of var name 2016-04-08 12:44:36 -05:00