Commit Graph

10457 Commits

Author SHA1 Message Date
Elena Pourmal
a8261deceb [svn-r14288] Maintenance for beta5 release: vesrion number was changed to 1.8.0-beta5 by running
bin/h5vers script

Platforms tested: kagiso (minor change)
2007-11-26 12:09:46 -05:00
Elena Pourmal
e74c5b7466 [svn-r14287] Maintenance before creating beta5 tar ball.
Platforms tested: None (minor edits in the documentation files)
2007-11-26 09:37:47 -05:00
Quincey Koziol
afd94614e0 [svn-r14286] Description:
Add H5Ovisit() and H5Ovisit_by_name() API routines.


Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-25 17:10:35 -05:00
Quincey Koziol
e4f62217b8 [svn-r14285] Description:
Add H5Lvisit() API routine.

	Add explicit regression tests for H5Lvisit_by_name().

	Correct error with visiting links when links contain loop to group
already encountered.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-24 14:28:15 -05:00
Quincey Koziol
2f36ea99d4 [svn-r14284] Description:
Add H5Lvisit_by_name() API routine to library.

	Eliminated all (five!) other group traversal routines and changed them
all to use the new API routine.

	Cleaned up output of h5ls & h5stat:
		- Issue error when requesting recursive traversal of a file
			with the "group info" flag, but no group given
		- Print info about root group in all(?) appropriate situations
		- Don't print "verbose" information about root group until the
			root group is in the list of objects to display
	(mostly because h5ls & h5stat had a different twist on traversing the
groups in a file that the other utilities)

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-24 11:49:36 -05:00
Quincey Koziol
083357dad3 [svn-r14283] Description:
Open external link file with read-only access, to avoid permissions
issue in certain circumstances.

Tested on:
	FreeBSD/32 6.2 (duty) w/read-only testfile
2007-11-24 11:36:01 -05:00
Pedro Vicente Nunes
3c4b177198 [svn-r14279] bug fix: when it's not possible to compare attributes due to different lenght in its type, make the options be flaged with the "not comparable" flag
tested: windows, linux
2007-11-21 11:59:04 -05:00
Quincey Koziol
3aa3af4fb6 [svn-r14278] Description:
- Remember # of elements in file selection, instead of querying more than
        once
    - Handle building chunk map for single element as special case

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-20 17:12:52 -05:00
Elena Pourmal
3d7bb85a3d [svn-r14277] Maintenance: updated VMS command file with new source files
Platforms tested: VMS server
2007-11-20 15:56:17 -05:00
Pedro Vicente Nunes
0cdd1ec176 [svn-r14276] bug fix: avoid an assertion when string type sizes are different
instead print a warning message on verbose mode saying that the comparison is not possible

note: partial fix, the next step is to compare strings that have different type sizes

tested: windows
2007-11-20 15:39:39 -05:00
Albert Cheng
a0c93eb2ed [svn-r14275] Removed all stream-vfd source code, both library and test.
Updated MANIFEST of the removal too.

Tested:
Kagiso and smirom.
2007-11-20 12:22:15 -05:00
Pedro Vicente Nunes
d2a01022be [svn-r14274] new feature: add some new syntax tests for h5repack
tested: linux
2007-11-20 11:39:56 -05:00
Pedro Vicente Nunes
39f23efa17 [svn-r14273] new feature: added some long options to the tests
tested: linux
2007-11-20 11:07:40 -05:00
Quincey Koziol
e8b52952b8 [svn-r14272] Description:
Fix missing parameter from last checkin...

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-20 07:02:55 -05:00
Quincey Koziol
6a5559be99 [svn-r14271] Description:
Avoid copying maximum dimensions for temporary dataspaces used for
describing chunks during raw data I/O.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-20 05:50:18 -05:00
Albert Cheng
b4f4670c81 [svn-r14270] Description:
Removed the stream-vfd from the basic library code.
(The stream-vfd source files are not removed yet but the MANIFEST has been
updated to NOT release those stream-vfd source files.)

Platforms tested:
Kagiso and smirom.
Then test the release tar ball in kagiso.
2007-11-19 22:43:58 -05:00
Pedro Vicente Nunes
f23b5aafc1 [svn-r14269] bug fix: in the usage message example syntax
tested: linux
2007-11-19 16:25:11 -05:00
Pedro Vicente Nunes
46fab69416 [svn-r14268] enhancement: commnents and correct syntax for h5repack options
tested: linux
2007-11-19 15:13:56 -05:00
Pedro Vicente Nunes
78898b38c0 [svn-r14267] enhancement: formatted h5diff usage
tested: linux
2007-11-19 14:38:34 -05:00
Pedro Vicente Nunes
f0e99ad5d0 [svn-r14266] enhancement: format usage message
tested: linux
2007-11-19 13:46:59 -05:00
Scott Wegner
27e823f08b [svn-r14265] Purpose: Bring Windows test scripts up to date for h5diff changes.
Description:
Recently, the format of parameters for h5diff was changed.  This checkin makes the neccessary changes for Windows to also bring it up to date.

Tested:
VS6 on WinXP
2007-11-19 12:59:53 -05:00
Pedro Vicente Nunes
d3507c4a5a [svn-r14264] new features: 1) new usage for h5diff " A la" h5dump format
2) new usage for h5repack and new command line parsing using the tools library parsing code

tested: windows, linux, solaris
2007-11-16 15:15:19 -05:00
Quincey Koziol
be3ccfa47d [svn-r14262] Description:
Correct "off by one" error in computing the size of block to allocate
when the I/O size is less than the memory block size.

Tested on:
      Customer machines, by local developer...
2007-11-15 11:03:37 -05:00
Pedro Vicente Nunes
bff2b14a05 [svn-r14261] bug fix: new syntax for the h5diff call in the h5dopy shell script
tested: linux
2007-11-14 14:14:16 -05:00
Pedro Vicente Nunes
6dca1de06a [svn-r14260] bug fix: modified the h5repack script to call h5diff with its brand new syntax
tested: linux
2007-11-14 09:26:46 -05:00
Pedro Vicente Nunes
5c16c09f91 [svn-r14259] New feature: removed one test and file from the h5diff shell script that prints an error
message that has an absolute path (invalid option), thus not suitable for the multi platform test
2007-11-13 16:49:07 -05:00
Pedro Vicente Nunes
1a3c5f6aeb [svn-r14258] new feature: make h5diff use the same command line parsing code and syntax than h5dump
usage is now 
h5diff  [OPTIONS]  file1 file2  [obj1[obj2]]

tested: windows, linux, solaris
2007-11-13 16:40:23 -05:00
Pedro Vicente Nunes
7bb8728685 [svn-r14256] bug fix: h5diff did not handle NaNs
solution: added a NaN detection function according to RFC
http://www.hdfgroup.uiuc.edu/RFC/HDF5/NaNs_and_HDF5/

tested: windows XP Vs6, linux, freeBsd, solaris 5.10
2007-11-13 13:52:54 -05:00
Scott Wegner
9743541227 [svn-r14255] Purpose: Add h5tinit.c to default Windows build process
Description:
Previously, we provided a static h5tinit.c with our Windows distribution, and provided instructions to optionally generate it.  Now, we will incorporate it as part of the default build process, to emulate other platforms more closely.

Tested:
VS6
VS2005
2007-11-13 10:17:49 -05:00
Scott Wegner
956ae9b581 [svn-r14253] Purpose: Update FTP location for Windows external library binaries
Description:
We recently uploaded new versions of our external library binaries to support more compiler configurations.  This check-in is to point to the new location in our documentation.

Tested:
None
2007-11-13 09:26:18 -05:00
Raymond Lu
58049cceaa [svn-r14252] Minor change: the test for opening external link twice doesn't work with FAMILY driver.
Skip the test if it is.

Tested on kagiso.
2007-11-12 09:48:48 -05:00
Quincey Koziol
5901271ee7 [svn-r14251] Description:
Move setting the "update the dataset's dataspace" flag later in the process
of changing it's extent.  Also add explicit check for having write access to
file, before attempting to perform any actions for changing the extent.

Tested on:
    Linux/64 2.4 (smirom) w/parallel
2007-11-12 08:52:09 -05:00
Quincey Koziol
598a66048a [svn-r14250] Description:
- Changed name of chunk mapping structure from "fm_map" to "H5D_chunk_map_t"
    - Pushed parallel I/O specific fields into ifdef'ed sections, when building
        chunk map
    - Took out most calls to IS_H5FD_MPI macro

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-10 17:36:04 -05:00
Quincey Koziol
54d42e74c4 [svn-r14249] Description:
- Changed H5S_select_shape_same routine to handle scalar dataspace
        comparisons correctly.  (Added regression tests to verify)
    - Simplified chunk map creation, now that scalar dataspaces are handled
        in same way as "simple" dataspaces.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-10 16:07:53 -05:00
Quincey Koziol
9601db2b2b [svn-r14248] synced fast_append branch with trunk (bring over general dataset append record speed improvements) 2007-11-10 09:51:30 -05:00
Raymond Lu
1dc74b6177 [svn-r14245] Minor change: the test for opening external link twice doesn't work with MULTI driver.
Skip the test if it is.
2007-11-09 14:57:00 -05:00
Raymond Lu
360da7eb00 [svn-r14244] Took out test/extlink_file.h5 because it's no longer used by external.c. 2007-11-07 17:06:45 -05:00
Raymond Lu
011b3da813 [svn-r14243] Bug fix: Took out the verification of dimension size being zero in the function
H5O_sdspace_decode because this is an allowed situation.

Tested on kagiso only because it's a simple change.
2007-11-07 16:52:42 -05:00
Raymond Lu
82f785ee0c [svn-r14242] Added some comments. No test is needed. 2007-11-07 10:38:45 -05:00
Raymond Lu
871694b3ac [svn-r14241] A minor change: Let the test of opening external link twice in external.c use
be_extlink2.h5, which is created with gen_udlinks.c.

Tested on kagiso.
2007-11-07 10:17:38 -05:00
Quincey Koziol
71d3a0006a [svn-r14239] Description:
Add new test file to manifest.

	Switch to using latest version of H5Gopen().

Tested on:
	FreeBSD/32 6.2 (duty)
2007-11-06 09:40:31 -05:00
Raymond Lu
f877f94c13 [svn-r14238] Bug fix: It's reported by the CGNS people. When an external link was opened twice, the library
had some trouble to close in the end.  The problem came from the field "holding_file" of 
H5O_loc_t.  It's used to indicate special links like external links.  The fix is to turn it off
whenever H5O_open is called.  Later the caller function should turn it on when it needs to.

Tested on kagiso, linew, and smirom.
2007-11-05 17:13:43 -05:00
Pedro Vicente Nunes
f012482386 [svn-r14237] new feature: add a -V option to h52gif and gif2h5
tested: linux
2007-11-05 15:37:37 -05:00
Pedro Vicente Nunes
c57f03ad75 [svn-r14236] new feature: add a -V option to h5unjam
tested: linux
2007-11-05 14:05:10 -05:00
Scott Wegner
467f103cb1 [svn-r14235] Purpose: Modify Windows project dependencies
Description:
Add toolslib(dll) as a dependency to h5import(dll), to support the new -V flag.  This needed to be done in each of our 3 solution files.

Tested:
Only built, VS2005 and VS6
2007-11-05 09:13:31 -05:00
Quincey Koziol
522e714273 [svn-r14234] Description:
Add H5Aexists and H5Aexists_by_name API routines, to match H5Lexists.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-01 17:19:04 -05:00
Pedro Vicente Nunes
579bb24307 [svn-r14233] new feature: add the -V new option to the usage message
tested: windows, linux
2007-11-01 16:23:28 -05:00
Pedro Vicente Nunes
5a95f84df8 [svn-r14232] new feature: add a -V option to h5jam
tested: windows, linux
2007-11-01 15:58:04 -05:00
Pedro Vicente Nunes
de3bba16d3 [svn-r14231] new feature: add a -V version option to h5jam
tested: windows, linux
2007-11-01 15:43:43 -05:00
Quincey Koziol
1f3aede7c7 [svn-r14230] Description:
Add H5Ecreate_stack() API routine, to fill a minor gap in the error
routines.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-01 14:27:15 -05:00