Commit Graph

2690 Commits

Author SHA1 Message Date
Dana Robinson
ed380746fe [svn-r28837] Merged r28836 from revise_chunks (tarray.c fix).
Tested on ostrich w/ gcc
2016-01-07 12:45:11 -05:00
Quincey Koziol
e9a63d30df [svn-r28828] Description:
Switch filter plugin to use H5allocate_memory and H5free_memory instead of
malloc and free.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    Linux/64 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-06 15:45:25 -05:00
Dana Robinson
b834ac3653 [svn-r28821] Merge of r28816 from revise_chunks (tarray.c cleanup).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2016-01-06 13:33:23 -05:00
Dana Robinson
1cbc72e1ef [svn-r28792] Added cleanup for new test files to tfile.c.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2016-01-04 16:12:14 -05:00
Quincey Koziol
42bf0e2136 [svn-r28765] Description:
Bump the nunmber of v2 B-tree records for the random 4-level B-tree update
test by another 25,000 records.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2016-01-01 20:58:18 -05:00
Quincey Koziol
f60170dac7 [svn-r28761] Description:
Clean up many mismatches between malloc/free and H5MM_malloc/H5MM_xfree
in the library and tests (and use of H5free_memory and H5Dvlen_reclaim).  Also
make H5Ocopy use a private version of H5Lexists, which doesn't internally
throw (and suppress) errors when an object (or the path to it) isn't found in
the destination.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-01 01:28:04 -05:00
Quincey Koziol
8d8d56d7d1 [svn-r28759] Description:
Bump number of records for level 4 update test, to cut down on number of
random failures.

Tested on:
    None - trivial
2015-12-31 11:23:05 -05:00
Quincey Koziol
c6949efd4f [svn-r28748] Description:
Bump number of records for level 4 B-tree test, so that it's more likely to
always get to level 4.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-12-29 20:56:45 -05:00
Quincey Koziol
b5504be6cc [svn-r28742] Description:
Add 'update' operation to v2 B-trees, which will insert a new record, or
modify an existing one, depending on if the record exists or not.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-12-29 12:06:36 -05:00
Quincey Koziol
9ceca0f89a [svn-r28710] Description:
Bring r28708 from revise_chunks branch:

    Fix earray, farray and btree2 use of incorrect file pointer when two files
are opened and used to access the data structure.  Misc. minor code cleanups
as well.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    h5committest forthcoming
2015-12-19 09:42:15 -05:00
Dana Robinson
0a00732c4d [svn-r28696] Minor normalization with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-17 01:31:27 -05:00
Dana Robinson
1ab7e61c39 [svn-r28678] Updated the cache_tagging test to correctly output tags in
the debug/verbose function.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-15 21:27:35 -05:00
Quincey Koziol
e78db67c62 [svn-r28606] Description:
Revisions to normalize revise chunks vs. trunk, plus push dataset metadata
changes into the cache immediately (instead of holding them within the dataset
data structures).

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-12-13 00:42:36 -05:00
Dana Robinson
1b62a22e0c [svn-r28577] Normalize test/th5o.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 22:55:01 -05:00
Dana Robinson
1dae74395b [svn-r28575] Normalize test/file_image.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 22:44:50 -05:00
Dana Robinson
7822924da9 [svn-r28573] Merge of r28109 from revise_chunks. Minor change to test/vds.c.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 22:18:03 -05:00
Dana Robinson
84d9914a13 [svn-r28570] Normalization of test/lheap.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 21:17:20 -05:00
Dana Robinson
308426c6e3 [svn-r28568] Normalization of test/big.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 21:05:50 -05:00
Dana Robinson
68e2b78957 [svn-r28467] Removed commented-out tests from the list of simple tests. They are handled in the additional tests section, below the list.
Tested on 64-bit Windows 10 w/ VS2015 and CMake 3.3.1.
2015-11-30 11:42:37 -05:00
Jerome Soumagne
2094d86461 [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if available
Fix tests accordingly and fix misuse of hbool_t in various places

Fix initialization of H5Pgcpl/ocpl structs in property decoding routines

Tested on:
    Linux/32 (jam)
    Linux/64 (platypus)
    Linux/PPC64 (ostrich)
    MacOSX/64 10.11
2015-10-20 01:28:17 -05:00
Dana Robinson
914643490a [svn-r27946] Brought VDS branch in sync with trunk (up to r27945).
Tested on Ubuntu 15.04 (Linux 3.19 x86_64), gcc 4.9.2, MPICH 3.1.4
and CMake 3.3.2.
    - Autotools serial w/ Fortran, C++
    - Autotools parallel w/ Fortran
    - CMake serial w/ Fortran, C++
2015-10-04 02:33:40 -05:00
Allen Byrne
b9d27c0ed3 [svn-r27932] Increase timeout for istore test when running under vfd. 2015-10-02 08:59:03 -05:00
Dana Robinson
5548799289 [svn-r27918] Brought in sync with the trunk:
r27860-27883
r27892-27916

Tested on: - h5committest
           - jam (parallel) fails with an existing, unrelated MPI config error
           - platypus fails with due to an existing, unrelated cmakehdf5 error
             where it does not recognize --enable-fortran2003.
2015-09-30 00:46:19 -05:00
Allen Byrne
ea70d11227 [svn-r27909] Exclude CYGWIN 2015-09-29 09:55:35 -05:00
Allen Byrne
ef2885c5ca [svn-r27908] Give cache tests extra time for VFD tests 2015-09-29 09:53:52 -05:00
Allen Byrne
6272555394 [svn-r27896] Synch VFD types with autotools 2015-09-28 12:47:19 -05:00
Dana Robinson
5422acf9b2 [svn-r27892] Removed redefinition of H5C__HASH_FCN in test/cache_common.h.
This was causing failures on Ada.

Tested on: Ubuntu 15.04 (Linux 3.19.0) w/ gcc 4.9.3
2015-09-26 23:56:13 -05:00
Quincey Koziol
af25c747ad [svn-r27851] Description:
Normalization changes that wouldn't otherwise be necessary if the VDS branch
wasn't coming in shortly.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-21 21:11:54 -05:00
Quincey Koziol
d3c6b4ad72 [svn-r27848] Description:
Clean up warnings and some normalization against trunk.

Tested:
    McaOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-09-21 19:21:18 -05:00
Dana Robinson
209df7c3b0 [svn-r27839] Removed generated autotools stragglers missed in trunk sync. 2015-09-21 03:36:01 -05:00
Quincey Koziol
0695d6366a [svn-r27835] Description:
Sync w/trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-09-20 21:18:45 -05:00
Quincey Koziol
8fc9a9ba25 [svn-r27834] Description:
Close FAPL for external link test, to fix infinite loop closing the library.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial 
    (too minor to require h5committest)
2015-09-20 21:08:56 -05:00
Dana Robinson
944e42d5ea [svn-r27818] Minor warning fixes.
Tested on: h5committest
2015-09-17 12:21:34 -05:00
Quincey Koziol
ee7612be44 [svn-r27811] Description:
Refactor property list code to "deep copy" properties in the correct way,
retraining the rest of the library to copy & release things correctly.  This
cleans up another batch of memory leaks, etc. within the library.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
    (h5committest forthcoming)
2015-09-16 17:27:49 -05:00
Quincey Koziol
222e7186ea [svn-r27810] Description:
Clean up resources on failure

Tested on:
    Linux/32 2.6.x (jam) w/Purify
2015-09-16 16:57:01 -05:00
Allen Byrne
12d5f2bb3c [svn-r27808] Update CMake files to use updated test files. 2015-09-16 16:38:16 -05:00
Quincey Koziol
81b5e1c51f [svn-r27807] Description:
Close memory leak on failure.

Tested on:
    Linux/32 2.6.x (jam) w/purify
2015-09-16 15:30:26 -05:00
Neil Fortner
d23cc2da70 [svn-r27806] Fix property list serialization for values encoded by H5Pset_chunk_cache to be
compatible between 32 and 64 bit systems.
Expand cross platform property list encode/decode testing.
Fix warning in H5P__fill_value_enc.

Tested: jam, koala, ostrich (h5committest), ummon
2015-09-16 14:55:38 -05:00
Dana Robinson
2385b2b0ad [svn-r27800] Minor warning fixes in the library tests.
Tested on: jam (too minor for h5committest)
2015-09-16 08:54:23 -05:00
Dana Robinson
9af344117c [svn-r27794] Reintegration merge of features/autotools_rework branch with trunk
NOTES:

- Developers will have to run autogen.sh before building with the autotools.

- autogen.sh takes the -p option to mimic the old bin/reconfigure behavior.

- The generated error, overflow and version headers have been left in place.

- The generated H5LT parser code has also been left in place.

- There are no changes for CMake users at this time.

Tested on: h5committest
2015-09-15 15:38:57 -05:00
Quincey Koziol
b2f94f9faf [svn-r27774] Description:
Correct test reset code in plugin code and fix typo in testing script.

Tested on:
    Linux 2.6/32 (jam) w/serial
2015-09-14 14:53:47 -05:00
Quincey Koziol
43443b2208 [svn-r27773] Description:
Correct typos in fix.

Tested on:
    Linux 2.6/32 (jam) w/gcc
2015-09-14 14:27:31 -05:00
Quincey Koziol
02ce7e7386 [svn-r27772] Description:
Clean up warnings, address HDFFV-9524

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (Too minor to require h5committest)
2015-09-14 11:39:09 -05:00
Quincey Koziol
050dd02387 [svn-r27771] Description:
Merge in part of Neil's property list fixes:  Fix a minor memory leak,
add some sanity checks, clean up the code a little, and verify that encoding/
decoding default versions of the property lists works correctly.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (Too minor to require h5committest)
2015-09-14 11:21:31 -05:00
Quincey Koziol
1023374492 [svn-r27768] Description:
Complete revamp of package initialization/shutdown mechanism in the library.
Each package now has a single init/term routine.

    This new way should avoid packages being re-initialized during library
shutdown and is also be _much_ more proactive about giving feedback for
resource leaks internal to the library.

    Introduces a new "module" header file for packages in the library
(e.g src/H5Fmodule.h) which sets up some necessary package configuration macros
for the FUNC_ENTER/LEAVE macros.  (The VFL drivers have their own slightly
modified version of this header, src/H5FDdrvr_module.h)

    Also cleaned up a bunch of resources leaks all across the library and tests,
along with addressing many warnings, as I encountered them.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    Linux/64 3.10.x (kituo) w/serial & parallel
    Linux/64 2.6.x (ostrich) w/serial
2015-09-13 22:58:59 -05:00
Dana Robinson
122bf84bb3 [svn-r27760] Brought r27631-27755 over from the trunk.
tested on: jam
2015-09-11 09:08:04 -05:00
Allen Byrne
4b748365df [svn-r27748] Correct name of target 2015-09-10 09:19:43 -05:00
Allen Byrne
8e3464d2d0 [svn-r27747] Correct name of target 2015-09-10 09:18:54 -05:00
Allen Byrne
10da31a926 [svn-r27745] Merge trunk revision 27744 2015-09-10 09:11:17 -05:00
Quincey Koziol
26baf1a805 [svn-r27710] Description:
Bring the "metadata rings" code from its branch (mdc_rings_v2) to the trunk.
(This change will support the page buffering feature)

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-09 01:33:03 -05:00