Commit Graph

10783 Commits

Author SHA1 Message Date
Frank Baker
6bd7826ce8 [svn-r16341] 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 16:03:58 -05:00
Mike McGreevy
976eb1cb49 [svn-r16339] Purpose:
Bug Fix

Description:

    Removing some unnecessary 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:59:09 -05:00
Raymond Lu
8a3162e118 [svn-r16334] Added definition for two new macros H5_HAVE_C99_DESIGNATED_INITIALIZER and H5_HAVE_C99_FUNC.
Tested on OpenVMS.
2009-01-21 11:05:36 -05:00
Albert Cheng
4c6f09d4de [svn-r16332] Bug 948.
The test "h5diff -v h5diff_hyper1.h5 h5diff_hyper2.h5" sometimes hangs in THG
machines. Skip it until its hanging is resolved.

Tested: Jam pp only since it is a simple script change.
2009-01-19 22:39:42 -05:00
HDF Tester
cd5619a2c2 [svn-r16331] Snapshot version 1.8 release 2 (post3) 2009-01-18 16:49:07 -05:00
Raymond Lu
228a3ac054 [svn-r16326] Fixed a small problem in file names. Some new file names were left out for OpenVMS.
To be tested on OpenVMS.
2009-01-16 16:11:19 -05:00
Mike McGreevy
c2bb26a754 [svn-r16325] Purpose:
Code Cleanup

Description:

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

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

Tested:

    jam (also tested smirom/liberty in trunk)
2009-01-15 14:57:02 -05:00
Albert Cheng
7341054c69 [svn-r16322] 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:38 -05:00
Pedro Vicente Nunes
2ad37c5958 [svn-r16320] merge 16319
add conditinal nan detection to some missing places

tested: windows, linux
2009-01-14 16:43:26 -05:00
Raymond Lu
f677f9fbcf [svn-r16314] Added support for OpenVMS pathname for external link.
Tested on OpenVMS and jam.
2009-01-14 14:48:39 -05:00
Pedro Vicente Nunes
127792fc31 [svn-r16313] merge 16301
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-14 11:36:10 -05:00
Pedro Vicente Nunes
d496a1c715 [svn-r16312] merge 16300
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-14 11:31:52 -05:00
Pedro Vicente Nunes
98d4ba5d8a [svn-r16310] merge 16299
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-14 10:58:16 -05:00
Neil Fortner
b7a12779d5 [svn-r16309] 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:45:25 -05:00
Quincey Koziol
60915ff8aa [svn-r16307] Description:
Bring r16306 back from trunk:

	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 revise_chunks branch)
2009-01-14 09:01:12 -05:00
Scot Breitenfeld
bbd83d97e0 [svn-r16304] 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:16:18 -05:00
Elena Pourmal
9c53e8281a [svn-r16302] Maintenance: Removed a debug qualifier that caused batch job to skip basic
Fortran test.
2009-01-13 16:14:03 -05:00
Neil Fortner
2a23b4b176 [svn-r16297]
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:24:48 -05:00
Neil Fortner
5c204221e1 [svn-r16295] 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:16:12 -05:00
Mike McGreevy
7b9871bfa2 [svn-r16293] Purpose:
Bug Fix

Description:

    Removed problematic debugging statement and switched one remaining TRUE
    verbose statement to FALSE in cache_common.c

Tested:

    jam, liberty
2009-01-10 09:59:49 -05:00
Mike McGreevy
52d3f187a5 [svn-r16291] Purpose:
svn merge

Description:

    merging revision 16290 from trunk to 1.8

   (revision 16290 contains the code that maintains a min_clean_fraction
   of the metadata cache in serial).

Tested:

    smirom, jam
2009-01-09 16:10:29 -05:00
Neil Fortner
aa12e27206 [svn-r16288] 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 11:00:37 -05:00
Pedro Vicente Nunes
17a2d21791 [svn-r16285] - 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:15:13 -05:00
Neil Fortner
50d88ec142 [svn-r16282] 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 (trunk version tested with h5committest)
2009-01-08 13:24:09 -05:00
Quincey Koziol
ab2ff6eda4 [svn-r16280] 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:56:57 -05:00
Raymond Lu
416af90179 [svn-r16276] Update. Commented out H5_HAVE_RAND_R because OpenVMS doesn't have rand_r function.
Tested on OpenVMS.
2009-01-08 11:07:02 -05:00
Pedro Vicente Nunes
56f666d330 [svn-r16275] Added a test for shrinking to 0 dimemsions
Tested: windows, linux
2009-01-08 10:26:17 -05:00
Albert Cheng
d318a3b7ce [svn-r16270] 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:47 -05:00
Raymond Lu
4c032ef58e [svn-r16268] Temparorily comment out some failing tests for Open VMS. After fixing the problem, I will
uncomment them.

Tested on Open VMS and jam.
2009-01-06 17:14:24 -05:00
Neil Fortner
e87964eadf [svn-r16267] 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 10:10:51 -05:00
Scot Breitenfeld
fe1223d360 [svn-r16263] 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:42:17 -05:00
Scot Breitenfeld
fbf861cbde [svn-r16234] Description:
Cosmetic changes, Also tested -r16232 on:

Jam (intel 10.1)
Smirom (intel 10.1)
2008-12-30 12:25:11 -05:00
Scot Breitenfeld
79e4e95e82 [svn-r16232] Description:
Added chunk property to the data set because changes H5Dset_extent now require/check the the data set is chunked.
2008-12-30 11:43:17 -05:00
Pedro Vicente Nunes
f4df369454 [svn-r16228] cleaned more linux warnings
tested: linux
2008-12-29 16:52:56 -05:00
Pedro Vicente Nunes
ca0c4ce8fd [svn-r16226] merge 16225
remove debug messages
tested: windows, linux
2008-12-29 16:32:19 -05:00
Pedro Vicente Nunes
eb3eb77e57 [svn-r16224] merge from 16223
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:54:58 -05:00
HDF Tester
972a1f1003 [svn-r16221] Snapshot version 1.8 release 2 (post2) 2008-12-28 16:57:28 -05:00
Pedro Vicente Nunes
2a6e4d4e43 [svn-r16218] Merging trunk 16217
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 10:52:22 -05:00
Albert Cheng
fdcd0fb59f [svn-r16216] Updated for removed file.
Tested by bin/chkmanifest.
2008-12-22 23:53:13 -05:00
Elena Pourmal
5b57b18ae8 [svn-r16215] Maintenance:
Updated command files in order to build in a batch queue;
	added lines that define compiler qualifiers and location
	of the zlib library in case one has to build manually in 
	a current directory.
	Deleted command file in the vms/tools/h5ls directory that 
	is no longer needed.
Platforms tested:
	VMS server (build passed; tests are running now)
2008-12-22 18:22:19 -05:00
Raymond Lu
18197d3471 [svn-r16213] 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 on Open VMS.
2008-12-22 14:01:29 -05:00
Raymond Lu
ec9ff804e2 [svn-r16212] Update: H5Distore.c was taken out. H5Bdbg.c and H5Dbtree.c were added.
Tested on Open VMS.
2008-12-22 13:42:06 -05:00
HDF Tester
1b42d70294 [svn-r16211] Snapshot version 1.8 release 2 (post1) 2008-12-21 19:28:58 -05:00
Allen Byrne
52b7b7d462 [svn-r16208] Added new file H5Bdbg.c to windows project file. Tested using VS2008 Express. 2008-12-18 10:05:54 -05:00
Quincey Koziol
58a925fe4c [svn-r16205] Description:
Bring r16204 back from trunk:

	Moved v1 B-tree debugging routines into separate module and thinned
out header files a bit.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	Too minor to require h5committest
2008-12-18 08:52:50 -05:00
Elena Pourmal
3fbec7d04f [svn-r16203] Maintenance: Added new VMS command file to the MANIFEST file.
Platforms tested: My MAC with the chkmanifest script.
2008-12-16 10:05:52 -05:00
Raymond Lu
778d231626 [svn-r16201] Comment out a debug info.
Not test is needed.
2008-12-15 16:12:12 -05:00
Raymond Lu
28366536ba [svn-r16200] Add makefile for tools/misc directory, compiling h5debug.c and h5mkgrp.c. 2008-12-15 16:02:48 -05:00
Raymond Lu
9c5100ced3 [svn-r16199] Added HDlseek in front of the truncate function in H5FD_sec2_truncate for VMS only.
On Open VMS, if the last read or write put the file pointer beyond the current file size 
(it happens when an object is deleted), the file can be extended when it's truncated.

Tested on VMS.
2008-12-15 15:40:24 -05:00
Scot Breitenfeld
ef857fa7d7 [svn-r16198] Description:
Removed the fortran file: ./fortran/src/H5fortran_flags.f90
which is no longer needed.
2008-12-15 15:11:32 -05:00