Commit Graph

10186 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
c15315539b [svn-r14324] bug fix: #786 (E3) h5dump refers to the user block as "boot block"
replaced usage message  with "super block"

tested: linux
2007-12-06 11:25:51 -05:00
Pedro Vicente Nunes
a5ba6ac397 [svn-r14320] Added a function that matches the filters on the dataset's DCPL and in the requested list
Used to verify if the filters requested are present in the output dataset

tested: windows, linux, solaris
2007-12-04 14:59:54 -05:00
Scott Wegner
529d974dff [svn-r14319] Purpose: Update error handling in h5ls, uncomment test
Description:
Larry was able to track down the bug in the h5ls test script and change it around to check for an expected error code for each test.  With this, we are now able to uncomment the broken test on Windows.

Tested:
VS2005 on WinXP
2007-12-04 08:55:40 -05:00
Larry Knox
ff08547a23 [svn-r14318] Check error code of h5ls call as well as expected output. Tested kagiso linew smirom. 2007-12-03 16:56:19 -05:00
Pedro Vicente Nunes
46e3f4ad7e [svn-r14317] code maintenance: code cleaning and reorganizing of the h5repack verify routines
tested: windows, linux
2007-12-03 13:55:32 -05:00
Scott Wegner
06f2e446a6 [svn-r14316] Purpose: Update test directories in MinGW documentation
Description:
There are many tests that are unsupported on MinGW because of the way it handles certain syntax in shell scripts (particularly '/').  As a result, we list a few tests that users must comment out in various Makefile.in's.  This checkin updates the location of h5stat-- it was formerly in ./tools/misc, but has been moved it ./tools/h5stat.

Tested:
MinGW on WinXP
2007-12-03 11:01:27 -05:00
Scott Wegner
967c186011 [svn-r14315] Purpose: Update Windows h5repack test script
Description:
Added new test for long switch names, which was added to the general test script a few days ago.

Tested:
VS2005 on WinXP
2007-12-03 10:46:52 -05:00
Albert Cheng
0afa30910b [svn-r14312] Added support of
-fortran:   add --enable-fortran
   -cxx:       add --enable-cxx
   -pp:        add --enable-parallel

Tested: Kagiso (serial and parallel).
2007-11-29 16:06:00 -05:00
Pedro Vicente Nunes
129ef4da90 [svn-r14311] enhancement: change the usage example for multiple filters
to note that SHUF should be used before GZIP and that the order specified in command line is the order filters are applied

tested: windows, linux
2007-11-29 15:51:32 -05:00
Pedro Vicente Nunes
c4c9f5cf0a [svn-r14310] error check in command line: check for a wrong input of the 2 file names being the same
tested: windows, linux
2007-11-29 15:20:50 -05:00
Pedro Vicente Nunes
6d4fdcb4a7 [svn-r14309] bug fix: add a check for the presence of a filter in the call to test of long swtich names
add a test for multiple global filters

tested: linux, solaris
2007-11-29 14:56:55 -05:00
Pedro Vicente Nunes
ad7f430080 [svn-r14308] new feature test: add a test for the long switch names
tested: linux, solaris
2007-11-29 14:28:25 -05:00
Quincey Koziol
765f0159ff [svn-r14307] Description:
- Extracted common code from H5D_select_read/H5D_select_write into single
        routine (H5D_select_io) and made H5D_select_read/H5D_select_write
        "gateway" routines, passing I/O buffer to operate on in "op" struct.
    - Create optimized pathway in H5D_select_io for I/O operations on single
        elements.
    - Make "get linear offset of first element" callback for each type of
        selection (used in "optimized pathway", above)

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-29 13:44:07 -05:00
Quincey Koziol
44fa94541b [svn-r14306] Description:
Add call to reset cached chunk info after initialization of chunk data
storage.

Tested on:
    Linux/64 2.4(smirom) w/parallel
2007-11-29 12:44:50 -05:00
Pedro Vicente Nunes
25d86f39b6 [svn-r14305] updated comments
tested: windows, linux
2007-11-29 10:59:17 -05:00
Pedro Vicente Nunes
d7d5fce2bc [svn-r14304] change feature: rename compression used as %Savings
now the minus sign shows there was a DECREASE in compression
percentage is calculated from
per = (b-a)/a;

where a= size of dataset before
b = size after

tested: windows, linux
2007-11-29 10:41:33 -05:00
Scott Wegner
bba104b0a0 [svn-r14303] Purpose: Update h5ls test script on Windows.
Description:
The h5ls test script was recently updated on Linux.  This makes the same changes on Windows.  Also, we had to comment out one of our tests, because h5ls returns an error-code that is giving false-positives.

Tested:
VS2005 on WinXP
2007-11-29 09:14:18 -05:00
Scott Wegner
30d4db8912 [svn-r14302] Purpose: Update Windows test scripts for recent changes
Description:
Minor changes were recently made in the linux test scripts for h5diff and h5repack.  This brings Windows up-to-date.

Note: I am still working on updates to testh5ls.bat-- there is one test that is failing, but should be ready soon.

Tested:
VS2005 on WinXP
2007-11-29 08:36:57 -05:00
Scott Wegner
586ac517a1 [svn-r14301] Purpose: Remove references to deleted source file from Windows project files.
Description:
h5repack_list.c was deleted from the repository recently.  This check-in also removes references in the Windows library.

Tested:
Built with VS2005
2007-11-29 08:32:47 -05:00
Pedro Vicente Nunes
eed4c76fec [svn-r14300] new feature: add a mention of multiple filters use in usage
tested: windows, linux
2007-11-28 15:58:51 -05:00
Pedro Vicente Nunes
1b645ffd91 [svn-r14299] new feature: add support for h5repack to handle several global filters
usage is to repeat the -f option

tested: windows, linux, solaris
2007-11-28 15:30:43 -05:00
Scott Wegner
cb2a70feb4 [svn-r14298] Purpose: Remove references of H5FD_stream.c from Windows project files.
Description: The stream file driver was recently removed from the HDF5-1.8 source.  This checkin removes any left-over references in the Windows projects.

Tested:
VS2005
2007-11-28 10:01:48 -05:00
Albert Cheng
c0907e82a0 [svn-r14297] Added the ability to locate szlib libraries in THG hosts.
Tested: kagiso, linew. All worked.
Smirom (configure works, make failed due to szlib itself),
2007-11-28 00:29:20 -05:00
Quincey Koziol
6028cd41b8 [svn-r14295] Description:
- Eliminate some redundant calls to retrieve datatype sizes in chunk read/
        write routines.
    - Change indexed storage "common" B-tree callback user data to avoid
        copying chunk offset and separate "downward" info from "upward" info.
    - Cache chunk info (nbytes/filter_mask/address) for last chunk accessed

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-27 16:19:42 -05:00
Pedro Vicente Nunes
df3aac7f00 [svn-r14294] bug fix: in the filter percentage calculation
tested: windows, linux, solaris
2007-11-27 15:21:40 -05:00
Pedro Vicente Nunes
b0024d3f03 [svn-r14293] bug fix: the printing of object name was not done when H5Ocopy was used
tested: windows, linux
2007-11-27 13:40:05 -05:00
Pedro Vicente Nunes
b22add1585 [svn-r14292] enhancement: clarify usage of the -s option
tested: windows, linux
2007-11-26 16:04:39 -05:00
Pedro Vicente Nunes
f13c6b5ddb [svn-r14291] enhancement: clarify the usage of the -m option
tested: windows, linux, solaris
2007-11-26 13:51:06 -05:00
Elena Pourmal
081a7cccf6 [svn-r14290] Maintenance after beta5 release: changed version number to 1.8.0-rc1 (stands for
1.8.0 release candidate # 1)

Platforms tested: none, minor change with the known script.
2007-11-26 12:31:24 -05:00
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