Commit Graph

15356 Commits

Author SHA1 Message Date
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
Dana Robinson
3cdcdbc03e [svn-r28616] Normalization of H5HL package with revise_chunks.
NOTE: Flush dependency code was not moved.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 w/ CMake 3.3.2
    serial only (Autotools and CMake since new files were added)
    (these changes have been in revise_chunks for a long time)
2015-12-14 00:34:41 -05:00
Dana Robinson
91f01bd702 [svn-r28614] Normalization of H5FS package with revise_chunks.
Mostly minor fixes like warnings, etc.

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-13 21:16:54 -05:00
Dana Robinson
abf03a6c65 [svn-r28612] Normalization of H5G package with revise_chunks.
Mostly minor fixes like warnings, etc.

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-13 20:22:33 -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
aa4fc58ac9 [svn-r28599] Normalization of tools with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only, autotools and CMake (3.3.2)
2015-12-11 14:14:43 -05:00
Dana Robinson
f53c939bd0 [svn-r28581] Brought flock changes over from revise_chunks as well as a few
minor tweaks from H5private.h.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only, autotools and CMake (3.3.2)
2015-12-11 03:19:10 -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