Commit Graph

11006 Commits

Author SHA1 Message Date
Mike McGreevy
da5058310c [svn-r16554] Purpose:
Bug Fix

Description:

    Removing the code from configure which strips the '-g' flag from CFLAGS
    when in production mode. The current default CFLAGS in production mode
    does not include '-g', as intended, but we should allow users to 
    override this and enable '-g' by setting the CFLAGS environment variable
    if desired. Note that this applies to FCFLAGS and CXXFLAGS as well.

Tested:

    kagiso, linew, liberty
2009-03-09 12:50:53 -05:00
Larry Knox
793503a3cd [svn-r16553] Snapshot version 1.9 release 34 2009-03-08 07:53:10 -05:00
Larry Knox
f015eea83f [svn-r16552] Correct typo. 2009-03-06 10:11:11 -05:00
Allen Byrne
602d5ce44f [svn-r16549] Bug #608: Memory leak in H5DSset_label. Added code to free sub string ptr's belonging to buffer in H5DSset_label and H5DSget_label. Also added free of buffers in error section of both functions. Potential memory leaks may exist elsewhere, and this will not close the bug.
Tested:
   h5committest
   vista 32 VS2008
2009-03-05 13:29:23 -05:00
Larry Knox
5e0f6ea905 [svn-r16548] Updated MANIFEST for new files in vms/tools. 2009-03-05 10:48:07 -05:00
Allen Byrne
570b83595d [svn-r16545] Added text that long_long macro was removed. This should have been added with r16489. 2009-03-05 08:48:54 -05:00
Raymond Lu
977f5dea26 [svn-r16542] Add h5stat and misc to the tools directory.
Not tested yet.
2009-03-04 16:47:02 -05:00
Neil Fortner
221c4c0baa [svn-r16540] Move variable declaration to the top of the block in H5G_dense_iterate
Tested: Fedora 10 (too minor for full committest)
2009-03-04 14:41:41 -05:00
Raymond Lu
3028f1c2b0 [svn-r16539] Added more test case for bypassing the cache. In test_big_chunks_bypass_cache,
test the correctness of the data when the fill value is defined or not.  The
library should let the chunks bypass the cache depending on the size of the 
chunks and whether to write fill value to the chunks.

Tested on jam - simple change.
2009-03-03 15:04:24 -05:00
Quincey Koziol
92b11988c8 [svn-r16532] Description:
Pass the chunk "user data" to H5D_chunk_unlock(), so that chunks with
an address already aren't reallocated.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2009-03-02 15:57:18 -05:00
HDF Tester
11746c4352 [svn-r16525] Snapshot version 1.9 release 33 2009-03-01 09:35:48 -05:00
Neil Fortner
ef425724f7 [svn-r16523] Purpose: Fix bugs related to H5Dset_extent and fill values
Description:
In some situations it was possible for the fill value to not be written to parts
of a chunked dataset, particularly when extending and/or shrinking.  Prior to
the fix for the chunk cache (1015) these bugs would have been exceedingly rare.

Tested: jam, smirom, linew (h5committest)
2009-02-27 12:01:00 -05:00
Allen Byrne
d75cd486e1 [svn-r16521] Changed windows batch file due r16518. As all windows OS are always LE on all platforms, simply added le to the two locations where these files are used.
Tested:
Vista 32 VS2008
2009-02-26 16:33:31 -05:00
Pedro Vicente Nunes
f8c5384aa5 [svn-r16518] have 2 expected outputs for 2 h5ls runs depending if run on a big or little endian machine. Configure.in was modified to export a variable carrying endianess information to testh5ls.sh. This script then compares the current run with 2 expected outputs, one for a big-endian machine (linew was used to generate the output), other for little endian (jam was used to generate the output)
the way h5ls prints types, it starts searching for NATIVE types first. One solution would be h5ls not to detect these native types, using for example the same print datatype function that h5dump does, that would make the output look the same on all platforms  ("32-bit little-endian integer" would be printed instead).  Drawback, this "native" information would not be available. Other solution is to have not one but 2 expected outputs and make the shell script detect the endianess and compare with one output or other
tested: h5committest
2009-02-26 15:21:50 -05:00
Raymond Lu
24341c6eb4 [svn-r16516] To improve the performance of querying the info of a link (bug #1404). When the index was set to
creation order in query function but there's no creation order indexed in the file, the library
tried to build and sort a table of all links.  To optimize it, let the library use the B-tree for
names of the links.

Tested on jam.  I tested the same change for v1.8 with h5committest.
2009-02-24 14:45:17 -05:00
Pedro Vicente Nunes
d77d4b1742 [svn-r16511] bug fix: TESTING2 macro introduced recently for the test suite (it adds an extra space at the beginning of output, for indentation) was already available for HL and caused compilation problems on AIX. Replaced the name with TESTING_2
tested: h5committest
2009-02-23 14:56:24 -05:00
HDF Tester
3485ecf8f4 [svn-r16506] Snapshot version 1.9 release 32 2009-02-22 05:19:33 -05:00
Elena Pourmal
2c86dad5bb [svn-r16504] Maintenance: Fixed a typo discovered while compiling on AIX system
Platforms tested: Mac OSX and AIX (by Ed) (minor fix)
2009-02-20 17:02:08 -05:00
Pedro Vicente Nunes
11e7897d32 [svn-r16502] bug fix: a comma accidently left on a conditional typedef was causing compilition error on AIX
tested: h5commitest
2009-02-20 16:07:34 -05:00
Pedro Vicente Nunes
1357f1a25b [svn-r16501] remove a strange character from a comment
tested: h5committest
2009-02-20 14:40:53 -05:00
Quincey Koziol
771d1c8a36 [svn-r16499] Description:
Cache chunk info for newly created chunk.

Tested on:
	FreeBSD/32 6.3 (duty)
	(Tests included in upcoming revise_chunks branch changes)
2009-02-19 18:51:31 -05:00
Allen Byrne
0e8b751973 [svn-r16492] revert gcc PROD_CFLAGS to "-O", which was incorrectly changed by rev 16489. 2009-02-19 12:42:03 -05:00
Allen Byrne
5d69e87ff0 [svn-r16489] Fixed bug #1459 by eliminating the macro long_long and replacing all instances with long long.
Tested:
   h5comittest
   fedora 10 x64
   Vista 32, VS2005, IVF101
   XP32, Cygwin
2009-02-18 15:02:05 -05:00
Quincey Koziol
85dc39846e [svn-r16488] Description:
Clean up code and eliminate resource leaks.  Also avoid "null" I/O when
chunk doesn't exist and we can skip it.

Tested on:
    Mac OS X/32 10.5.6 (amazon)
    (too minor to require h5committest)
2009-02-17 18:17:07 -05:00
HDF Tester
a717a20e76 [svn-r16484] Snapshot version 1.9 release 31 2009-02-15 10:57:20 -05:00
Quincey Koziol
ca0a3e2853 [svn-r16483] Description:
Clean up (i.e. remove) more internal calls to H5E_clear_stack(), along with
some other minor code cleanups.

Tested on:
    Mac OS X/32 10.5.6 (amazon)
    (too minor to require h5committest)
2009-02-12 17:41:52 -05:00
Neil Fortner
0bdedf0a39 [svn-r16480] Purpose: Improve chunk cache
Description:
The meaning of the "nbytes" field in H5D_rdcc_t was not clear, and some places
assumed it was the maximum size of the chunk cache, while some assumed it was
the current size of the chunk cache.  The end result was that only 1 chunk could
be held in cache at a time.  This field has been replaced by "nbytes_max" and
"nbytes_used".  Performance of cached I/O should improve greatly.

Tested: jam, smirom (h5committest)
2009-02-12 15:46:32 -05:00
Neil Fortner
0eb811d831 [svn-r16479] Fixed date in RELEASE.txt for last commit.
Tested: kate
2009-02-12 14:10:30 -05:00
Neil Fortner
02fd491bf0 [svn-r16477] Purpose: Fix problem with opening an attribute multiple times through multiple
file handles.

Description:
An attribute's "oloc" field which specifies the file it resides in was located
in the attribute's "shared" structure.  So when an attribute was opened multiple
times all of the handles for that attribute pointed to the same file id, even if
different file id's were used to open the different handles for the attribute.
The "oloc" has been moved to the top level H5A_t struct.

Tested: jam, smirom (h5committest)
2009-02-12 14:06:37 -05:00
Neil Fortner
3c483bd078 [svn-r16475] Purpose: Fix rare error when adding a new object header message
Description:
Since the new object header format, it has been possible for a situation to be
created where none of the messages are large enough to hold a continuation
message and there are no null messages to merge with.  This makes it impossible
to add a new object header chunk.  This case will now be handled by moving every
message in the last chunk to the newly allocated one, except for null messages
which are deleted.

Tested: jam, smirom (h5committest)
2009-02-12 13:59:11 -05:00
Neil Fortner
fb81174e76 [svn-r16473] Purpose: fix problems related to 'self-referential' attributes
Description:
When an attribute was created with a datatype or dataspace that was shared in
the same object header that the attribute was in, the attribute could not be
deleted.  Changes made to ensure that the attribute can be deleted both when the
attribute is in the object header and when it is shared in the heap.  Object
header message decode routines now take an "open_oh" parameter to enable them to
avoid opening the same object header twice.

Tested: jam, smirom (h5committest)
2009-02-12 13:47:04 -05:00
Larry Knox
e52b18bf2c [svn-r16472] Change H5Dopen to H5Dopen2 - fixes compile error - too many arguments for H5Dopen1 when using v1.6 compatible flag. Trivial change, tested on smirom and jam. 2009-02-12 11:13:03 -05:00
Allen Byrne
6b0bf98d32 [svn-r16469] Added new cases for compound types to batch file per the updated script file of rev #16461
Tested:
   Vista32, XP64 - VS2005, VS2008
2009-02-11 17:16:22 -05:00
Raymond Lu
7768b49c16 [svn-r16466] Performance Improvement(bug #1450). When a chunk is bigger than the cache size and isn't allocated
on disk, the library still loaded it in the cache, which is redundant.  I changed it to bypass the
cache and added a test in dsets.c.


Tested on jam and smirom.
2009-02-11 13:50:21 -05:00
Raymond Lu
725b4d7ddb [svn-r16465] Performance Improvement(bug #1450). When a chunk is bigger than the cache size and isn't allocated
on disk, the library still loaded it in the cache, which is redundant.  I changed it to bypass the
cache and added a test in dsets.c.

Tested on jam and smirom.
2009-02-11 13:49:17 -05:00
Raymond Lu
77e347b19f [svn-r16464] I brought them up to date. I'm testing them on OpenVMS now. 2009-02-11 13:45:02 -05:00
Pedro Vicente Nunes
96a0892ba8 [svn-r16461] Bug fix: for compound types, the not comparable test for members was not done
Solution: for compound types, recursively apply that check
Two new cases are added
1) the compound type has a different number of members. Message printed is
<obj1> has X members <obj2> has Y members
Where X and Y are the number of members of each compound type being compared
2) the compound type has not comparable types (for example a double and an int at the same index)
In this case the message
Comparison not possible: object1 is of class1 and object2 is of class2
Is replaced with
Comparison not possible: object1 has a  class1 and object2 has a  class2
Modified the test generator program to have these 2  cases
Added a shell run for these 2  cases


Tested: windows, h5committest
2009-02-11 10:57:25 -05:00
Neil Fortner
d4ea5fbfb2 [svn-r16457] Fix a typo in INSTALL_Windows.txt.
Tested: Notepad
2009-02-10 15:01:44 -05:00
HDF Tester
3e8fae1bee [svn-r16453] Snapshot version 1.9 release 30 2009-02-08 05:15:02 -05:00
John Mainzer
2933d2f80b [svn-r16451] Repaired intermittant failure of the t_cache test in testpar.
The failure was caused by some over active sanity checking code in 
unlock_entry().  In essence the code did not consider the possibility
that under certain, very unusual circumstances, an entry could be flushed
to disk during the H5AC_unprotect() call.  Instead, it simply failed
if a dirty entry was marked clean after the call to H5AC_unprotect().

This bug in the test code was exposed by recent changes to the default
cache configuration made as part of the "metadata blizard" bug fix.

Fixed the bug by adding code to detect when an entry is flushed during 
the call to H5AC_unprotect(), and not trigger a failure if a dirty entry
is marked clean after a call to H5AC_unprotect() if the entry has been
flushed.

In passing also found and fixed another test bug in which expunged 
entries were erroneously marked as dirty in the test code's independant
register of entry status.


Tested parallel on Phoenix (AMD64 Linux) and Jam.  Also ran t_cache
manually hundreds of times looking for intermittant failures.

Larry kindly tested (parallel) on Mercury.
2009-02-06 13:20:13 -05:00
Pedro Vicente Nunes
7418c06356 [svn-r16449] bug fix: compare the return value of H5Tequal with TRUE
tested: h5committest
2009-02-06 11:21:30 -05:00
Allen Byrne
b99ed1e18f [svn-r16442] Update windows batch file to match *nix script due to rev 16351
Tested:
 XP 32 VNET, XP64 VS2008
2009-02-05 13:49:24 -05:00
Quincey Koziol
7ba5922dca [svn-r16439] Description:
Bring r16435 from revise_chunks branch back to trunk:

        Expand object copy tests for chunked datasets to include 1-D datasets
with an unlimited dimension.  (Fix typo in comment for test/links.c)

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
	(more thoroughly tested already on revise_chunks branch)
2009-02-05 10:50:25 -05:00
Vailin Choi
f65a6a6473 [svn-r16436] Checkin for moving messages forward into continuation message:
src/H5Oalloc.c, test/ohdr.c, toshm.c
Fixed couple of problems in src/H5Odbg.c.
2009-02-05 10:29:27 -05:00
Pedro Vicente Nunes
3c67d2972c [svn-r16434] bug fix: typo in usage message
tested: linux
2009-02-05 10:24:23 -05:00
Pedro Vicente Nunes
9de3088234 [svn-r16431] Uncomment a h5cleanup() call previously accidently left commented
Tested: linux
2009-02-05 09:52:47 -05:00
Scott Wegner
bf3f68890c [svn-r16428] Purpose: Fix Windows install script to include missing tool binaries
Description:
A user discovered that the HDF5 1.8.2 Windows release binaries were missing a few of the HDF5 tools.  This is due to the Windows install script, which simply didn't include them.  This commit fixes the install script to include h5copy, h5mkgrp, and h5stat

Tested:
VS2005 w/ WinXP, build and install only
2009-02-04 16:51:51 -05:00
Pedro Vicente Nunes
89f033b661 [svn-r16423] bug fix: a open call was not made the expected FAPL
tested: windows, linux (split, sec2)
2009-02-04 14:37:58 -05:00
Pedro Vicente Nunes
50fa98277d [svn-r16419] #1449 Change set_extent test to use standard standalone test framework
Call h5_fixname (with an array of test filenames) for generating the  
filename to create and then call h5_cleanup() when the tests pass, to delete the files  
created and close the FAPL from h5_fileaccess(). 

Defined a macro 
#define TESTING2(WHAT)	{printf(" Testing %-62s",WHAT); fflush(stdout);}
Similar to TESTING, except that it has a initial indentation space.
The effect is for nested loop tests

Testing with old file format:
 Testing with fill value, no compression                                PASSED

tested: windows, linux
2009-02-04 10:29:01 -05:00
Quincey Koziol
4d0c4686ea [svn-r16417] Description:
Bring r16416 from revise_chunks branch to trunk:

	Bring closer to standard standalone test format, add checks for using
the latest file format and close dataset ID leaked.

Tested on:
	FreeBSD/32 6.3 (duty)
	(too minor to require h5committest)
2009-02-03 20:32:49 -05:00