Commit Graph

15467 Commits

Author SHA1 Message Date
Allen Byrne
24443da316 [svn-r28865] HDFFV-9639: Fix double-free error by setting freed var to NULL.
Verified issue with "h5dump tgroup.h5 non_existing.h5"
Applied patch and retested.
2016-01-12 15:31:59 -05:00
Dana Robinson
2396a172ad [svn-r28861] Minor warning format string fix (HDFFV-9640).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools parallel only (MPICH 3.1.4)
2016-01-12 07:28:39 -05:00
Albert Cheng
67570ce476 [svn-r28853] HDFFV-9649: cmakehdf5 needs a proper implementation to verify the installation images created for Mac OSX.
The current implementation for Mac OSX platform is a kludge that sometimes left behind mounted volumes.
Temporary screen out the checking of installtion_check step (so that daily test may pass).

Tested: by hand running cmakehdf5 in platypus and osx1010test.
2016-01-11 11:16:38 -05:00
Mohamad Chaarawi
5dbc03ac86 [svn-r28851] merge from trunk. 2016-01-11 10:55:55 -05:00
Quincey Koziol
887cf130ff [svn-r28843] Description:
Bump number of records for random update test again.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-08 09:08:00 -05:00
Albert Cheng
74fbe507ae [svn-r28841] indentations were messed up by some previous commit.
Restored them to more readable spacing. No code change.

Test: visual inspection.
2016-01-07 15:27:37 -05:00
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
dc63336a4a [svn-r28832] Description:
Reset driver info message when superblock load fails.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial
    Linux/64 2.6.x (mayll) w/serial
2016-01-06 17:05:32 -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
Quincey Koziol
971af2d733 [svn-r28824] Description:
Reduce asserts on buffer alignment.

Tested on:
    Linux/32 & Linux/64 2.6.x (jam & myall) w/serial
2016-01-06 14:10:21 -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
Quincey Koziol
06da6031a5 [svn-r28819] Description:
Align internal memory sanity checking buffer, to avoid problems when 
optimization is enabled.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial
2016-01-06 12:50:08 -05:00
Quincey Koziol
4bf63f78e7 [svn-r28815] Description:
Add internal routine to sanity check all blocks allocated through H5MM
interface.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    Linux/64 2.6.x (mayll) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-06 12:04:15 -05:00
Quincey Koziol
48f7ad2df1 [svn-r28811] Description:
Switch v2 B-tree min & max records to be void*'s to be cleaner and generate
less warnings.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-06 10:46:02 -05:00
Quincey Koziol
fb1525c2b2 [svn-r28802] Description:
Correct another H5MM_free => H5MM_xfree

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:47:55 -05:00
Quincey Koziol
6310259957 [svn-r28800] Description:
Correct H5MM_free => H5MM_xfree

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:46:10 -05:00
Quincey Koziol
4b90bb3317 [svn-r28798] Description:
Add missing H5MMprivate.h header file

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:37:06 -05:00
Quincey Koziol
4c5bb2b8db [svn-r28797] Description:
Clean up another round of memory allocation mis-matches.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:28:43 -05:00
Quincey Koziol
3e0e79aa6e [svn-r28795] Description:
Clean up more memory allocation mis-matches.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 21:46:26 -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
cdc21e0cb2 [svn-r28790] Description:
Correct non-portable 'SIZE_T_MAX' to 'SIZET_MAX'.

Tested on:
    Linux/32 2.6.x (jam) w/default compilers
    (h5committest forthcoming)
2016-01-04 15:56:08 -05:00
Dana Robinson
064b2f6dd8 [svn-r28788] Added extern C block to H5Epubgen.h (via bin/make_err).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2016-01-04 12:21:05 -05:00
Quincey Koziol
f017eb6fc0 [svn-r28777] Description:
Add --enable-memory-alloc-sanity-check option to configure, to track and
sanity check memory allocations within the library.  This is orthogonal to the
--enable-using-memchecker option and can be used with/without it.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-03 17:06:52 -05:00
Quincey Koziol
f8465bd124 [svn-r28773] Description:
Clear memory for shared message info when "deferring" and using memory
checker, so valgrind doesn't whine.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-03 09:22:49 -05:00
Quincey Koziol
d4f3d93b8d [svn-r28769] Description:
More memory cleanups and leak elimination.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-02 20:03:08 -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
528ab9b810 [svn-r28756] Description:
Minor code neatening and cleanups (same as r28755) on revise_chunks branch.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (Too minor for h5committest)
2015-12-30 13:50:01 -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
HDF Tester
6d8b831b31 [svn-r28730] Snapshot version 1.9 release 233 2015-12-27 23:20:23 -05:00
Quincey Koziol
6f83966fb9 [svn-r28723] Description:
Bring over rest of performance improvements for extending chunked datasets
and normalize against revise_chunks branch.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel)
    (h5committest forthcoming)
2015-12-22 15:12:08 -05:00
Quincey Koziol
4a25e5b788 [svn-r28717] Description:
Minor change to align w/revise_chunks branch

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (too minor for h5committest)
2015-12-21 17:22:55 -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
Quincey Koziol
2c55e17cfb [svn-r28702] Description:
Fix typo in comment.

Tested on:
    (Unneeded)
2015-12-17 10:10:06 -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
Larry Knox
b3426914a8 [svn-r28669] Changes to correct errors found with -ansi flag.
h5tools_dump.c
    Removed 3 lines commented out with //.
h5_vds-percival-unlim.c
    Changed C++-style comment to C-style comment.

Tested with h5committest.new.
2015-12-15 15:52:12 -05:00
Dana Robinson
410d8365d0 [svn-r28663] Merge of r28662 from revise_chunks.
Whitespace only.
2015-12-15 11:15:55 -05:00
Dana Robinson
ae8e3348cf [svn-r28655] Updated MANIFEST :/ 2015-12-15 00:38:03 -05:00
Mohamad Chaarawi
2824e6bef0 [svn-r28649] - add new API to toggle collective metadata write.
- set default to FALSE
- fix some bugs.
2015-12-14 14:53:31 -05:00
Dana Robinson
61cee5f91a [svn-r28646] Minor normalization with revise_chunks.
Also purged obsolete /*ARGSUSED*/ from the library.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 14:19:19 -05:00
Dana Robinson
ddd91a7b19 [svn-r28643] Add H5D_t pointer to chunk callback.
Normalization for future single chunk indexing.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 13:31:53 -05:00
Albert Cheng
322816c966 [svn-r28638] HDFFV-9273: cmakehdf5 --script failed in linux platypus
Solution: remove --script option from cmakehdf5.

Tested: platypus
2015-12-14 12:42:26 -05:00
Mohamad Chaarawi
7a0cdfbbac [svn-r28636] merge from trunk. 2015-12-14 10:22:29 -05:00
Dana Robinson
2cb441c507 [svn-r28629] Minor normalization with revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 05:50:43 -05:00
Dana Robinson
7e4fb72913 [svn-r28626] Brought VFD-level file locking code over from revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 05:03:54 -05:00
Dana Robinson
f6c7631b3c [svn-r28624] Minor normalization of H5FA package with revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 02:42:13 -05:00
Dana Robinson
59c2f32bc7 [svn-r28620] Minor normalization of H5HL package with revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 01:47:35 -05:00