Commit Graph

10931 Commits

Author SHA1 Message Date
Neil Fortner
bf4789092a [svn-r16360] Purpose: Fix potential error with H5Tset_order
Description: H5Tset_order will now properly reject H5T_ORDER_NONE for most
datatypes.  Previously this could cause major problems as the file could not be
flushed.

Tested: jam, smirom (h5committest)
2009-01-27 10:56:48 -05:00
Pedro Vicente Nunes
a6dcbd6a0f [svn-r16358] bug fix
a new line was not inserted at the end of output, causing diff to complain between linux and frebsd

tested: linux , freebsd
2009-01-27 10:33:17 -05:00
Quincey Koziol
5cd054dd5c [svn-r16354] Description:
Bring r16353 back from revise_chunks branch:

        Refactor internal layout information, making it easier to add another
type of chunk index.

Tested on:
	FreeBSD/32 6.3 (duty)
	(other platforms tested with original patch)
2009-01-27 09:00:07 -05:00
Pedro Vicente Nunes
85a1c5c273 [svn-r16352] bug fix: some printf calls instead of parallel_print made some tests to fail
tested: linux parallel
2009-01-27 08:48:04 -05:00
Pedro Vicente Nunes
249163bee6 [svn-r16349] new h5diff output files 2009-01-26 14:38:43 -05:00
Pedro Vicente Nunes
120350c395 [svn-r16348] #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable>
added some test cases

tested: windows, linux
2009-01-26 14:29:22 -05:00
Neil Fortner
0682bfceb7 [svn-r16347] Purpose: enhancements the H5Tinsert, H5Tpack
Description: H5Tinsert will now detect when a compound type that was previously
not packed becomes packed due to out of offset order insertion of a member.
H5Tinsert will now attempt to keep members sorted by offset order.  This should
improve performance of H5Tinsert in all cases due to the fact that it no longer
needs to check every other member for overlapping, and should improve
performance of H5Tpack and possibly type conversion when compounds are packed
out of order.

Tested: jam, smirom (h5committest)
2009-01-26 14:18:40 -05:00
HDF Tester
2a1a78a0b4 [svn-r16344] Snapshot version 1.9 release 28 2009-01-25 06:22:44 -05:00
Frank Baker
5393933154 [svn-r16340] Description:
Changed 'THG' to 'The HDF Group' in various HDF5 source files,
        most of which are <subdirectory>/COPYING.
    -- Closes Bugzilla entry 1403.
2009-01-22 15:53:59 -05:00
Mike McGreevy
a665dd22af [svn-r16338] Purpose:
Bug Fix

Description:

    Removing some unnecessary system headers from test/cache.c which snuck
    their way into one of my previous check-ins ... thanks to Allen for 
    catching this while testing on Windows.

Tested:

    Windows, Linux
2009-01-22 14:56:31 -05:00
Raymond Lu
45489e5dae [svn-r16335] Added the definitions for the new macros H5_HAVE_C99_DESIGNATED_INITIALIZER and H5_HAVE_C99_FUNC.
I tested them for v1.8.  I simply added them by hand for v1.9 for now.  I'll test them later.
2009-01-21 11:08:06 -05:00
Albert Cheng
22228e6f65 [svn-r16333] Bug 948 followup.
Moved a comment up to a more appropriate spot.
No execution change.

Tested: jam pp.
2009-01-19 22:41:21 -05:00
HDF Tester
fdc7b17438 [svn-r16329] Snapshot version 1.9 release 27 2009-01-18 05:04:40 -05:00
Albert Cheng
0c4e71d004 [svn-r16328] Bug 948.
The test "h5diff -v h5diff_hyper1.h5 h5diff_hyper2.h5" sometimes hangs in THG
machines. Skip it until its hanging is resolved.
2009-01-18 03:09:03 -05:00
Raymond Lu
b60c8e2062 [svn-r16327] Added some missing file names for OpenVMS. Tested on OpenVMS for 1.8. 2009-01-16 16:40:20 -05:00
Mike McGreevy
ce7219fc8c [svn-r16324] Purpose:
Code Cleanup

Description:

    - Pulled out repetitive cache stats code into its own new macro.

    - Converted HDasserts in cache stats macros to if / HGOTO_ERROR statments
      in order to keep code consistent.

Tested:

    jam, smirom, liberty
2009-01-15 14:16:40 -05:00
Albert Cheng
50ccdbcc7d [svn-r16321] Purpose:
Improvement

Description:
Modified the warning messages from the Version mismatch checking to suggest
the users to try recompiling or checking the shared lib setting.

Platforms tested:
Tested in Jam only since it was just a simple text string changes.
2009-01-14 18:50:17 -05:00
Pedro Vicente Nunes
60ab04d383 [svn-r16319] add conditinal nan detection to some missing places
tested: windows, linux
2009-01-14 16:37:25 -05:00
Raymond Lu
ea92781324 [svn-r16316] Added support for OpenVMS pathname for external links.
Tested on jam.  Tested v1.8 on OpenVMS.
2009-01-14 15:41:17 -05:00
Neil Fortner
6564dbcfaa [svn-r16308] Purpose: Fix problem with H5Tpack
Description:
If a compound type was packed except for some extra space at the end, H5Tpack
would not modify the type and the extra space would remain.  Changed
H5T_is_packed to fix this behaviour.

Tested: jam, smirom (h5committest - linew down)
2009-01-14 10:30:51 -05:00
Quincey Koziol
a365f0e6aa [svn-r16306] Description:
Bring r16305 back from revise_chunks branch:

	Add detection of C99 "designated initializers" to configure script and
use new H5_HAVE_C99_DESIGNATED_INITIALIZER macro to conditionally compile
default layout variables in src/H5Pdcpl.c

	Also, minor code cleanups, etc.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(Other platforms tested on branch)
2009-01-14 08:09:42 -05:00
Scot Breitenfeld
84a14c0f25 [svn-r16303] Description:
added:

!DEC$ATTRIBUTES reference ::

for character strings being passed in to C to fix bug in VMS for functions
h5sdecode_f and h5sencode_f.
2009-01-13 16:14:40 -05:00
Pedro Vicente Nunes
164ecb187f [svn-r16301] Add a mention to the usage that the default minimum size for compression is 1024 bytes
M - is an integer greater than 1, size of dataset in bytes (default is 1024)

#bgz 1426

tested: windows, linux
2009-01-13 16:03:45 -05:00
Pedro Vicente Nunes
108699a7a8 [svn-r16300] Added an option to avoid dealing with NaNs
-N, --nan               Avoid NaNs detection
Note: there is no shell script run for datasets with NaN because the output is non portable (different results and NaN strings for different systems)

Tested: windows, linux
2009-01-13 11:33:31 -05:00
Pedro Vicente Nunes
050ded21d3 [svn-r16299] Print a message of
Storage:   information not available
When displaying storage information for VL and dataset region types
Added 2 shell runs that display this information
#818

Tested: windows, linux
2009-01-13 10:37:37 -05:00
Neil Fortner
e5630f3351 [svn-r16296]
Disable more file drivers incompatible with family file driver in external_set_elink_cb in links.c.

Tested: jam check-vfd
2009-01-11 12:23:21 -05:00
Neil Fortner
b5008f9e3f [svn-r16294] Changes to links.c to prevent the core file driver from being used as the member
file driver for a family file.  This was causing problems with check-vfd.

Tested: jam
2009-01-10 16:13:48 -05:00
Mike McGreevy
9dc5ebd07b [svn-r16292] Purpose:
Bug Fix

Descriotion: 

    Removing problematic debugging code, and switching a leftover TRUE verbose
    statement to FALSE in cache_common.c

Tested:

    jam, liberty
2009-01-10 09:57:31 -05:00
Mike McGreevy
041e7dbfed [svn-r16290] Purpose:
Adding code to maintain a min_clean_fraction in the cache in serial mode.

Description:

    The metadata cache now has the ability to maintain a min_clean_fraction
    when in serial mode. The default initial cache size has been changed
    from 1MB to 2MB, and the default min_clean_fraction has been set at 30%.

    This check-in includes modifications to H5C.c to support maintaining a
    min_clean_size, including the addition of clean_index_size and 
    dirty_index_size trackers, modifications to the H5C_make_space_in_cache 
    algorithm, as well as associated test code and additional statistics 
    tracking variables.

    Maintaining the min_clean_fraction addresses the possibility of
    experiencing a "metadata blizzard" when the cache gets completely
    full with dirty entries. Upon having to make space, the cache would
    previously need to flush every single entry in the cache before coming
    across a clean entry which could be evicted. This resulted in unnecessary
    flushing of oftentimes hot entries in the cache. Maintaining the
    min_clean_fraction ensures that, when space is needed, clean entries
    are more readily available to evict.

Tested:

    jam, smirom, linew (h5committest)
2009-01-09 14:53:30 -05:00
Neil Fortner
307f67d525 [svn-r16289] Minor change to links.c to clear a warning.
Tested: jam
2009-01-09 11:01:38 -05:00
Neil Fortner
e3f39ba6de [svn-r16287] Fix one of the new tests in links.c. external_set_elink_cb no longer copies the
driver information from property list to property list.

Tested: jam
2009-01-09 10:49:10 -05:00
Pedro Vicente Nunes
3568733b13 [svn-r16284]
- h5repack: When user doesn't specify a chunk size, h5repack now defines a default 
            chunk size as the same size of the size of the hyperslab used to read the chunks. 
            The size of the hyperslabs are defined as the size of each dimension or a 
            predefined constant, whatever is smaller. This assures that the chunk 
            read fits in the chunk cache. (PVN - 2008/11/21)

  - H5Dset_extent: when shrinking dimensions, some chunks were not deleted.  
            (PVN - 2009/01/8)
2009-01-08 14:06:37 -05:00
Neil Fortner
d6da56adb7 [svn-r16281] Purpose: Add functions to allow more flexible traversal of external links.
Description: Added H5Pset/get_elink_cb to allow the user to specify a callback
function to be called whenever an external link is traversed.  Added
H5Pset/get_elink_acc_flags to allow the user to specify the file access flags
to use to open the target file of an external link.  All these properties are set on a LAPL.

Tested: jam, linew, smirom (h5committest)
2009-01-08 13:16:31 -05:00
Quincey Koziol
634c7c5a93 [svn-r16279] Description:
Bring revision 16278 back from revise_chunks branch:

	Update layout information in DCPL to unify all information in one
underlying property and switch to using H5O_layout_t for storing it, which
simplifies things considerably.

	Also, fix many compiler warnings.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(Original patch tested on many machines)
2009-01-08 12:27:15 -05:00
Pedro Vicente Nunes
9b1f93283c [svn-r16273] Added a test for shrinking to 0 dimemsions
Tested: windows, linux
2009-01-08 09:50:01 -05:00
Albert Cheng
4695c4150d [svn-r16271] Bug fix.
The Tail command in jam (a newer linux) does not accept the +2l option.
It ended up wiping most of the release_doc/RELEASE.txt file contents.
Replaced the "tail +2l" by "sed -e 1d".

Tested:
Tested in Jam to verify it functions properly again.
2009-01-06 17:58:54 -05:00
Neil Fortner
29602ca94b [svn-r16266] Revert RELEASE.txt to the version before it was mostly deleted by hdftest.
Update version number listed at the top.

Tested: vim
2009-01-06 09:58:21 -05:00
Scot Breitenfeld
e99b7dec14 [svn-r16262] Description:
added missing reference in h5lget_name_by_idx_f:

!DEC$ATTRIBUTES reference ::

for character strings being passed in to C to fix bug in VMS.
2009-01-05 11:40:59 -05:00
Scot Breitenfeld
9a38a8965c [svn-r16235] Description:
Cosmetic changes, Also tested -r16231 on:

Jam (intel 10.1)
Smirom (intel 10.1)
2008-12-30 12:30:17 -05:00
Scot Breitenfeld
0e779a215c [svn-r16231] Description:
Added chunk property to the data set because changes in the cC function H5Dset_extent now require/check that the data set is chunked.
2008-12-30 11:27:29 -05:00
Pedro Vicente Nunes
dc869ba584 [svn-r16229] merge 16228
cleaned more linux warnings
tested: linux
2008-12-29 16:56:48 -05:00
Pedro Vicente Nunes
e1590a56b1 [svn-r16227] cleaned some linux warnings
tested: linux
2008-12-29 16:40:37 -05:00
Pedro Vicente Nunes
b962f97e1a [svn-r16225] removed some debug messages
tested: windows, linux
2008-12-29 16:24:09 -05:00
Pedro Vicente Nunes
75951cfcf8 [svn-r16223] Modified H5Dset_extent so that it fails when called for compact datasets and contiguous with no external storage
new test program: It adds tests for several ranks, use of fill value or not, compression, different fill value allocation times, use of different storage layouts, and external files

tested: windows, linux
2008-12-29 15:36:34 -05:00
HDF Tester
f9f462e720 [svn-r16220] Snapshot version 1.9 release 26 2008-12-28 05:28:04 -05:00
Pedro Vicente Nunes
5b7de16d6a [svn-r16217] Bug fix
PG compiler complains about array out of bounds (a rank of zero was not checked)
Adding a scalar dataset to the test generator program. this case is run on a previous existing run, the case was added to 2 existing files

Tested: windows, linux
2008-12-23 09:56:13 -05:00
Raymond Lu
1448a3e8bb [svn-r16214] Added HDlseek to the H5FD_core_truncate function in H5FDcore.c to rewind the file pointer
to the beginning of the file.  Otherwise, the file might be re-extended later on Open VMS.
Also updated the return value for the HDlseek to be more appropriate.

Tested 1.8 on Open VMS.
2008-12-22 14:05:43 -05:00
Choonghwan Lee
c302b9b031 [svn-r16209] Purpose:
Bug fix (#1357)

Description:
	Three filters have not assigned correct value to one value-result argument, "buf_size". N-bit, szip, and scale offset filter have had this problem.

	However, I don't think this problem has been making buffer overrun because those filters were informing the caller that the "buf", another value-result argument, is smaller than it actually is. If there was actual buffer overrun, I believe another problem exists although I don't know.

Tested:
	jam, smirom, linew

	Although all test were passed, I'm concerned about valgrind memcheck error. There can be another miscommunication between filter and the caller.
2008-12-19 11:22:10 -05:00
Allen Byrne
794c05c921 [svn-r16207] Added new file H5Bdbg.c to windows project file. Will test using VS2008 Express. 2008-12-18 09:37:32 -05:00
Quincey Koziol
e77303f483 [svn-r16204] Description:
Moved v1 B-tree debugging routines into separate module and thinned
out header files a bit.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-12-18 08:43:21 -05:00