Commit Graph

9938 Commits

Author SHA1 Message Date
MuQun Yang
897bdeaef7 [svn-r14007]
Remove "fortran test" part since we can no longer support 6.0 with compaq visual fortran.
2007-07-24 15:31:12 -05:00
MuQun Yang
36cdf96f30 [svn-r14006] Corrected a few typos in the installation document for windows. 2007-07-24 15:14:05 -05:00
Quincey Koziol
98d698cd26 [svn-r14005] Description:
Rename H5Titerate.c source file to H5Tvisit.c, which is more
descriptive of routine(s) in file.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:14:11 -05:00
Quincey Koziol
492e5ca2b4 [svn-r14004] Description:
Fix problem with datatype messages where the version of the format
for a datatype message could depend on the "use the latest format" flag from
the file after it was initially created.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:10:00 -05:00
Quincey Koziol
05973a4e86 [svn-r14003] Description:
Code cleanup & whitespace fixups

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:07:43 -05:00
Quincey Koziol
b8ef032be6 [svn-r14002] Description:
Fix bug where pointer to variable was used instead of variable itself.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:05:01 -05:00
Pedro Vicente Nunes
bec21e59ef [svn-r14001]
fixed comments

tested: linux
2007-07-23 14:34:00 -05:00
Pedro Vicente Nunes
d8d6f2c139 [svn-r14000]
bug fixes:
help message had incorrections, typos

tested: linux
2007-07-23 13:46:37 -05:00
Pedro Vicente Nunes
6197d58c49 [svn-r13999]
purpose: bug 791
redirect help output to stdout rather to stderr

tested: windows, linux
2007-07-23 11:54:45 -05:00
Pedro Vicente Nunes
cacc659216 [svn-r13998]
typo fixes in error messages

tested: linux
2007-07-23 11:38:46 -05:00
Raymond Lu
7f2a3a97c3 [svn-r13997] Moved H5D_istore_lock and H5D_istore_unlock from H5D_istore_writevv and H5D_istore_readvv to
H5D_chunk_write and H5D_chunk_read to avoid frequent lock and unlock and to improve some
performance.

Tested with h5committest on THG machines.
2007-07-21 14:50:43 -05:00
Quincey Koziol
774ee2fbf0 [svn-r13996] Description:
Add missing "PASSED" message for successful test.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-07-21 11:43:52 -05:00
Quincey Koziol
725d33c5ff [svn-r13995] Description:
Reduce the dataset dimensions for the "check extend" test, so it
doesn't take so long...

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-21 01:00:44 -05:00
Quincey Koziol
0061212eca [svn-r13994] Description:
Add a bit more information to the log VFD settings.

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-21 00:59:55 -05:00
Quincey Koziol
d9cbd866d9 [svn-r13993] Description:
Correct error for checking whether an object in a file can be
extended when there are no free lists maintained by the VFD.

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-21 00:59:03 -05:00
Quincey Koziol
8aa6ca14bb [svn-r13992] Description:
Add some extra logging information to read & write reports.

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-21 00:57:49 -05:00
Quincey Koziol
63f00c5686 [svn-r13991] Description:
Correct error in H5Gcreate() where using a non-zero local heap size
hint would overwrite the default group creation property list with the non-zero
size hint given, affecting all future groups created.

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-20 17:24:13 -05:00
Quincey Koziol
69c572e26a [svn-r13990] Description:
Allow a ".h5" suffix to be added to core files also, which prevents
overwriting the test binary (and confusing the tests on copper, etc.)

Tested on:
	AIX 5.3 (copper) w/check-vfd
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
2007-07-20 12:05:00 -05:00
Quincey Koziol
0bbdb70ed7 [svn-r13989] Description:
Rename H5A_get_version() to H5A_set_version() and actually set the
attributes version in the routine.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-07-19 09:47:13 -05:00
Quincey Koziol
c55d0f4e1e [svn-r13988] Description:
Fix bug where the version of an attribute would change after it was
created, causing the amount of space used to encode it to change.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
2007-07-17 21:08:37 -05:00
Quincey Koziol
2ed54543c8 [svn-r13987] Description:
Fix ohdr test for changes to internal 5O_get_info() routine.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
2007-07-17 16:17:12 -05:00
Quincey Koziol
814ad1cb42 [svn-r13986] Description:
Add flag to bypass (expensive) B-tree & heap size retrieval for
internal calls to H5O_get_info().

Teted on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
2007-07-17 16:04:44 -05:00
Quincey Koziol
4be636f4f0 [svn-r13984] Description:
Various code cleanups and refactor recent changes for h5stat to fit
into the existing library data structures better.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-07-17 14:35:09 -05:00
Scott Wegner
a926dc97d5 [svn-r13983] Purpose: Fix typo
Description:
There was a small typo when I added the new h5stat tests this morning.  This corrects it.

Tested:
VS2005 on WinXP x64
2007-07-16 16:15:03 -05:00
Scott Wegner
e110fbdddc [svn-r13982] Purpose: Update Windows documentation
Description:
The Windows documentation on generating H5tinit.c was lacking special instructions for Visual Studio 2005.  Specifically, Windows does not support the function "siglongjmp".  Previous versions of Visual Studio will ignore this function, but VS2005 produces an error.

Tested:
VS6
VNET
VS2005
2007-07-16 12:49:39 -05:00
Scott Wegner
00b5ba099e [svn-r13981] Purpose: Windows catchup
Description:
- Add new source file H5version.h to Windows projects
- Add new h5stat tests, and uncomment one that no longer fails
- Clean up autotests a little bit.

Tested:
VS.NET on WinXP
2007-07-16 11:50:07 -05:00
Vailin Choi
035152a585 [svn-r13980] Cast num_objs, num_attrs and dims to "size_t" due to the -Mbounds problem
of the pgi-32 bit on indexing.
2007-07-14 15:37:49 -05:00
Vailin Choi
7ff9aa3538 [svn-r13979] purpose:
New feature.

Description:
Added routines to report on the amount of storage for:
1) 1.6 btree and heap storage info for groups
2) 1.8 btree, fractal heap storage info for groups, attributes and SOHM table
3) btree storage for chunked datasets
4) 1.8 superblock extension size.

Platform tested:
h5committested.
2007-07-13 16:17:44 -05:00
Vailin Choi
d44b27ddcc [svn-r13978] purpose:
New feature.

Description:
Added routines to report on the amount of storage for:
1) 1.6 btree and heap storage info for groups
2) 1.8 btree, fractal heap storage info for groups, attributes and SOHM table
3) btree storage for chunked datasets
4) 1.8 superblock extension size.

Platform tested:
h5committested.
2007-07-13 16:12:25 -05:00
Scott Wegner
31a2af29ca [svn-r13977] Purpose: Misc. Windows autotest code-cleanup
Description:
This cleans up a lot of different things we were doing in the Windows batch scripts.  For one, we now use "exit /b" to better emulate functions in batch scripts.  Also changed error-checking to look for negative return values as well.

This also adds initial support for Visual Studio 2005 command-line builds in hdf5build.BAT

Tested:
WinXP
2007-07-13 15:54:54 -05:00
Peter Cao
2b89d6d73c [svn-r13975] Add --latest, -compact=<size>, ... options to use the lastest file format.
Add test for the options to the daily test.
2007-07-13 13:18:48 -05:00
Quincey Koziol
b566d21649 [svn-r13972] Description:
Add --with-default-api-version configure flag.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 21:42:17 -05:00
Quincey Koziol
b4e029c70b [svn-r13971] Description:
Add --enable-deprecated-symbols configure option, to allow users to
remove deprecated public API symbols at configure time.

	Add bin/make_vers script to bin/reconfigure actions.

	Run bin/reconfigure to regenerate autotool components.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 17:01:35 -05:00
Quincey Koziol
a73ea1b4f0 [svn-r13969] Description:
Initial checkin of API version macro generation script (bin/make_vers),
along with configuration file (src/H5vers.txt) and generated header
(src/H5version.h).  Right now, no version macros are defined, since the main
source code and tests need to be adjusted to pay attention to the macros
defined.

    Also, fixed makefile for generating error header files when used with
GNU make.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-12 15:21:57 -05:00
Albert Cheng
1e91849e85 [svn-r13964] Purpose:
Bug fix.

Description:
It used to clean out all *.h5 when done but this could cause a racing
condition error if parallel make (e.g., gmake -j ...) is used because
the "rm ... *.h5 ..." would remove *.h5 generaged and are still used
by other test programs (e.g. xx_write/xx_read).

Solution:
Removed "*.h5" from the cleanup list since the test program has already
taken care of removing temporary *.h5 generated.

Tested platform:
smirom.  Not triple platforms tested since this is just a simple shell
script change.
2007-07-11 16:01:34 -05:00
Albert Cheng
859da34e93 [svn-r13962] Purpose:
Bug fix.

Description:
It used to clean out all *.h5 when done but this could cause a racing
condition error if parallel make (e.g., gmake -j ...) is used because
the "rm ... *.h5 ..." would remove *.h5 generaged and are still used
by other test programs (e.g. h5_write/h5_read).

Solution:
Removed "*.h5" from the cleanup list since the test program has already
taken care of removing temporary *.h5 generated.

Tested platform:
Kagiso, both serial and parallel.  Not triple platforms tested since 
this is just a simple shell script change.
2007-07-10 15:26:42 -05:00
Quincey Koziol
6d2a144852 [svn-r13961] Description:
Remove some unnecessary code that checks for fill value buffer being
NULL.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-07-10 15:07:58 -05:00
Scott Wegner
fe6c92ebd3 [svn-r13960] Purpose: Remove obsolete Windows files
Description:
Previously, there was a very intricate process for converting VS6 project files to VS.NET format for testing on the command-line.  Now that we maintain VS.NET project files, this system is no longer neccessary.  The same builds are now carried out in hdf5build.BAT, so the previous files are obsolete.

Removing them, and updating the MANIFEST

Tested:
WinXP
2007-07-10 13:32:20 -05:00
Scott Wegner
caa24a2a05 [svn-r13958] Purpose: Fix subtle bug in Windows test script
Description:
Our Windows test script was using "ERRORLEVEL" to check the diff output for our tooltests.  However, FC does not actually set ERRORLEVEL with valid input.  As a work around, we pipe the output into FIND, which sets the ERRORLEVEL if it doesn't find a valid string.  We probably never saw this bug before because h5dump sets the ERRORLEVEL.

Tested:
WinXP.
2007-07-09 14:27:03 -05:00
Scott Wegner
ec7cf4de81 [svn-r13957] Purpose: Windows autotest bugfix
Description:
In the new Windows autotests, hdf5build.BAT was resetting a variable used by hdf5bt.BAT.  Changed so hdf5build.BAT looks to see if hdf5bt.BAT is running before it removes this variable.

Tested:
WinXP
2007-07-09 13:09:28 -05:00
Scott Wegner
e3df1f4a57 [svn-r13956] Purpose: Fix typo
Description:
There was a typo in the new command-line build script that was making it fail early.  This should fix it.

Tested:
WinXP
2007-07-09 08:37:24 -05:00
Binh-Minh Ribler
f6ebd743d8 [svn-r13954] Purpose: Fix test
Description:
    Compilers don't destroy temporary objects at the same time, some do
    immediately after use, some delay until the end of the scope.  The
    delay makes it difficult to test the reference count functionality.

Solution:
    Enclosed the operations on objects and check reference count after
    getting out of the enclosed block.  This only works for the test!
    I'm assuming that checking reference count is just for the library
    to test that functionality; the user will not need to do that. :-/

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
2007-07-08 15:28:59 -05:00
Scott Wegner
9db2bf9835 [svn-r13952] Purpose: Update Windows build scripts
Description:
I'm in the process of re-writing the Windows build scripts for Visual Studio .NET (and eventually VS2005).  These will be used with an autotest script, which is in the works.

Tested:
VS.NET on WinXP, although probably still needs some work.
2007-07-06 17:09:33 -05:00
Scott Wegner
625e2f5047 [svn-r13951] Purpose: Update Windows documentation
Description:
Explain why Fortran isn't supported on MinGW and give users an "unsupported" alternative.  Also re-worked the main documentation to clarify using the HDF5 DLL libraries.

Tested:
None needed.
2007-07-06 09:12:35 -05:00
Quincey Koziol
e3966680ef [svn-r13948] Description:
Make h5dump more gracious and informative about objects it doesn't
understand.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    No need for h5committest - very minor
2007-07-05 16:33:26 -05:00
Quincey Koziol
6930f2e32d [svn-r13945] Description:
Modify semantics for constant messages slightly, to allow them to be
deleted, but not modified.  This works around the issue where "old" style
groups are being created with the symbol table message marked constant in
the 1.6 (and prior) branch, but the 1.8 branch needs to remove the symbol table
message when the group has been changed to the "new" style (upon insertion
of a link that the "old" style can't handle).

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 15:01:42 -05:00
Quincey Koziol
b37dc18282 [svn-r13944] Description:
Fix problem with VL-datatype fill values when shrinking dataset's dimensions

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 10:45:45 -05:00
Quincey Koziol
5c420a9180 [svn-r13943] Description:
Allow H5Dset_extent() to reduce the size of dimensions that aren't unlimited

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 10:44:30 -05:00
Quincey Koziol
18d75c9985 [svn-r13942] Description:
Minor code & comment cleanups

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 10:43:22 -05:00
Albert Cheng
4040ae4232 [svn-r13941] Added feature to test the latest format by adding "latest" as the
HDF5_DRIVER value to activate the use of latest_format for file access
property list.

Platform tested: h5committested.
2007-07-05 02:38:38 -05:00