Commit Graph

9876 Commits

Author SHA1 Message Date
Scott Wegner
493be71eb1 [svn-r13611] Removed old source file h5_trav_table.c from Windows project files toolslib and toolslibD.dsp
Tested:
VS6.0 on Windows XP
2007-04-07 20:33:59 -05:00
Raymond Lu
019ee90da5 [svn-r13605] Add big file test for SEC2. 2007-04-06 15:00:04 -05:00
Raymond Lu
400f674284 [svn-r13596] Update document and comments. No test needed. 2007-04-05 15:34:51 -05:00
Raymond Lu
31ca50ac3a [svn-r13595] Add the macro check of H5_HAVE_FSEEKO for STDIO test. Without it
there'll be no big file support.

Tested on smirom because it's a simple change.
2007-04-05 15:25:50 -05:00
Raymond Lu
6f7ab83c3c [svn-r13594] Change a comment line. No test needed. 2007-04-05 15:13:11 -05:00
Albert Cheng
df31d147e0 [svn-r13591] Problem:
4294967296LL is not supported by older C like Windows VC6.

Solution:
/* use <= 2**32 -1 to stay within 4 bytes integer range */
            HDassert(chunk0_size <= 4294967295UL);

Platforms tested:
kelgia, copper and osage.
2007-04-05 12:43:15 -05:00
Raymond Lu
81a128e5de [svn-r13590] Take out the unused header file errno.h. 2007-04-04 17:22:44 -05:00
Pedro Vicente Nunes
1d312bff80 [svn-r13589]
h5repack code cleaning (required reconfigure)

tested: linux (32, 64, parallel), solaris
2007-04-04 15:25:42 -05:00
Raymond Lu
3431f74c43 [svn-r13588] A support of files bigger than 2GB for STDIO driver. Configure will
check if fseeko is available.  Using it instead of fseek can support
big files because the offset is of type off_t not long int.  Also 
added the test for STDIO in big.c.
2007-04-04 14:59:00 -05:00
Pedro Vicente Nunes
ea63d5fb19 [svn-r13582]
Bug fix

Substitute a malloc call for a calloc call while allocating a reference buffer
Add a test for an empty reference case
Tested linux
2007-04-03 15:44:52 -05:00
Quincey Koziol
0fb88ded47 [svn-r13580] Description:
Add version # and flags to external link format (as fields in a single
byte), in order to accomodate future changes/expansions.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-04-03 14:51:14 -05:00
Pedro Vicente Nunes
d53775c946 [svn-r13578]
Cast a malloc call to the correct type

Tested linux
2007-04-03 13:46:35 -05:00
Pedro Vicente Nunes
2b1ad857ed [svn-r13576]
bug fix

a call was made to printf instead of parallel_print

tested linux parallel
2007-04-03 11:10:05 -05:00
Elena Pourmal
fdbbc9f09c [svn-r13575] Problem:
dsets failed on kelgia with assertion failure in H5Ocache.c. Kelgia
	could not deal with the comparison of uint64_t variable with 4294967296 constant.
	
Solution:
	By John's suggestions used suffix LL for the constant.

Platforms tested:
	kelgia, kagiso, and smirom with icc compiler
2007-04-02 22:39:52 -05:00
Pedro Vicente Nunes
5b02211e76 [svn-r13574]
bug fix
check if a palette is to be linked and correct wrong calls in some functions with missing arguments
2007-04-02 15:47:29 -05:00
Pedro Vicente Nunes
104e1cd848 [svn-r13573]
Bug fixes
Reset external file list slots name_offset to a state when created (0) in H5P_dcrt_copy
so that it conforms to an assertion in H5D_update_entry_info that assumes the name_offset is 0 at this point

this fixes the problem of h5repack and external files, add a new test and files for an external file

h5diff, check for an error return in H5D_get_storage_size

tested linux 32, 64
2007-04-02 15:28:14 -05:00
Quincey Koziol
26fdccf6cd [svn-r13570] Description:
Fix error when eliminating empty chunk from "middle" of list of chunks
for an object header.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
2007-03-29 20:18:27 -05:00
Elena Pourmal
85a7a522a5 [svn-r13561] Daily tests failed on kagiso and smirom when Intel comopiler is used with
"-check all" flag

Solution:
	Initialized variables to prevent run time error
Platforms tested:
	smirom and kagiso with Intel
	kagiso with PGI
2007-03-29 12:15:29 -05:00
Pedro Vicente Nunes
0975f08d7e [svn-r13560]
bug fix
a malloc call with an incorrect length caused several memory problems that ultimately corrupted a name passed in a list of arguments in the h52gif tool
allocated memory was not freed

tested linux
2007-03-28 13:47:15 -05:00
Pedro Vicente Nunes
b9173f64d7 [svn-r13556]
Code cleaning regarding formatting and indentation

Tested linux
2007-03-27 16:40:24 -05:00
Pedro Vicente Nunes
9283f262f6 [svn-r13554]
update new files
2007-03-27 15:19:08 -05:00
Pedro Vicente Nunes
be8b1c0592 [svn-r13553]
New feature 

Add a tests script for h52gif tool. A simple script that just runs the
tool from a pre-saved HDF5 file and produces a gif file. A HDF5 test
generator program  is also added

Note: the .am file needs further development, right now it is not
producing the test
2007-03-27 15:17:03 -05:00
Quincey Koziol
c64ac252cd [svn-r13549] Description:
Check in changes from Elena and I to get pgcc compiler working again.
Primarily (all?) changes to move from using 'hsize_t' as array index to using
something else ('size_t') mostly.

Tested on:
    Linux/32 2.4 kagiso w/pgcc
2007-03-26 22:06:48 -05:00
Christian Chilan
ddf4364691 [svn-r13548] Tests that write/read on randomly selected chunks to check for potential problem in b-tree code. Tests passed on smirom, cobalt, and copper. 2007-03-26 20:01:23 -05:00
Pedro Vicente Nunes
7aaf40e9f9 [svn-r13546]
Bug fix
The H5TB_find_field function was not correctly finding a string field name amongst a string list of parameters of field names in cases where the name is similar up to n characters.
Solution: added an extra verify condition with the string length

Tested: kagiso, simple fix
2007-03-26 16:20:43 -05:00
Raymond Lu
dde381add4 [svn-r13544] Some minor adjustment from last round of checkin. Tested on kagiso
only because the changes are simple.
2007-03-26 16:18:13 -05:00
Raymond Lu
4eed634bcf [svn-r13542] Added a detection for zero-length VL data in H5T_conv_vlen to handle the case properly. This fix
was discovered by the user while Bug #717 was being fixed.  Modefied the test, too.
2007-03-26 13:55:36 -05:00
Scott Wegner
00f32db756 [svn-r13536] Added source files to Windows C++ test project files. Both testhdf5_cpp.dsp and testhdf5_cppdll.dsp received:
./c++/test/tcompound.cpp
./c++/test/ttypes.cpp
./c++/test/tfilter.cpp
./c++/test/tvlstr.cpp

Also, fixed a declaration in ttypes.cpp that was causing a compile error in MSVS6.0.

Tested:
Visual Studio 6.0 on WinXP
kagiso
too minor for h5committest
2007-03-22 14:45:33 -05:00
Christian Chilan
eeaf1d185e [svn-r13535] Included test of reference with value 100 that was skipped previously. 2007-03-21 21:22:51 -05:00
Quincey Koziol
981c1e1b7a [svn-r13534] Description:
Minor code cleanups...

Tested on:
	FreeBSD/32 6.2 (duty)
	Too minor to require h5committest
2007-03-21 11:22:42 -05:00
Raymond Lu
e7f1950239 [svn-r13531] When a dataset is created and no data is written, but fill value is defined,
if there's VL type of data in the dataset, the address of the data is copied
    multiple times into the buffer, causing some trouble when the data is released.
    Instead, this checkin makes multiple copies of fill value first, then 
    does conversion on each element so that each of them has a copy of the 
    VL data.  A test is added, too.

    Tested it on kagiso, sol, and copper.
2007-03-20 15:39:23 -05:00
HDF Tester
5fe2a249cf [svn-r13527] Purpose:
Bug fix.

Description:
When it reads the allhostfile, it does eliminate comments or blank lines
completely, thus it continues to use ssh/rsh even when only the local
host is tested.

Solution:
Changed the sed scripts to eliminate comments and blank lines.

Tested:
Cobalt by running bin/runtest.  Since this is not really library source,
the three platforms test does not apply.
2007-03-19 23:26:19 -05:00
Elena Pourmal
ac293ae20b [svn-r13526] Updated VMS make file.
Platforms tested:
	VMS and kagiso with gcc and newly installed Absoft compiler f95
	This is a minor change that affects VMS only;  h5committest is not needed.
2007-03-19 21:00:51 -05:00
Binh-Minh Ribler
1c4e6d163f [svn-r13524] Purpose: Cleanup tests
Description:
	Added extern "C" to cleanup functions as well, forgot last time.
	Cleaned up/Added comments to some of the newly added tests.

Platforms tested
    AIX 5.1 (copper)
    Linux 2.6 (kagiso)
    SunOS 5.8 64-bit (sol)
2007-03-17 11:26:53 -05:00
Albert Cheng
c4bbce8be1 [svn-r13523] Description
Switch the default setting for configure from --enable-production/--disable-debug
to --disable-production/--enable-debug.

Platform Tested:
In kagiso with fortran and C++.  No commit test because changes
happened in configure and it is straight forward.
2007-03-16 18:26:30 -05:00
Quincey Koziol
de1af0c1c7 [svn-r13520] Description:
Added H5Lexists() API routine, which determines if a link of a particular
name exists in a group.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-03-16 13:41:26 -05:00
Scott Wegner
d3bd0649ed [svn-r13519] Updated h5dump Windows test script to bring it up to date with Linux.
Tested:
Visual Studio 6.0 on Windows XP
2007-03-16 13:11:56 -05:00
Quincey Koziol
05af9a85f8 [svn-r13518] Description:
Add some sanity checking to improve the resilience of the object header
decoding in the face of a bad reference, or a corrupted file.

Tested on:
	Mac OS X/32 10.4.9 (amazon)
2007-03-16 04:59:31 -05:00
Raymond Lu
24fb6ed7c6 [svn-r13517] To deal with the situation that compiler supports direct I/O but file system doesn't, added a
condition check of writing aligned data.  Skip the test for direct VFD if it's this situation.
2007-03-15 16:17:09 -05:00
Albert Cheng
4a6abb3ac5 [svn-r13515] Problem:
reference test object reference failed if faked address is 100.
Skipped this test for now.
Also removed the incorrected added COMPAT_1.4 parts.

Tested in kagiso.
2007-03-15 14:47:48 -05:00
Christian Chilan
16b9ff0a11 [svn-r13514] Tests added to verify that H5Rget_obj_type executes properly when called with non-valid references. 2007-03-14 18:29:25 -05:00
Raymond Lu
19dfff8df2 [svn-r13512] Correct the typos where some "=="s should be "!="s. 2007-03-14 12:13:09 -05:00
Pedro Vicente Nunes
bb18969e79 [svn-r13510] added new features and bugs description 2007-03-13 10:23:16 -05:00
Pedro Vicente Nunes
1cabdbd42f [svn-r13507]
make 1.7 files similar to 1.6
2007-03-12 14:55:50 -05:00
Pedro Vicente Nunes
32934cfa2b [svn-r13506]
make comments equal in 1.6 and 1.7
2007-03-12 14:27:33 -05:00
Pedro Vicente Nunes
da23c98e58 [svn-r13505] make comments similar in 1.7 and 1.6 2007-03-12 14:24:38 -05:00
Scott Wegner
01f50118c0 [svn-r13504] Added new source file H5Orefcount.c to Windows project files hdf5.dsp and hdf5dll.dsp
Tested:
MSVS6.0 on Win XP
2007-03-12 14:17:40 -05:00
Pedro Vicente Nunes
c24cea791f [svn-r13503]
Preparation for making 1.6 and 1.7 h5dump more similar and 1.6 to have 1.7 fixed bugs incorporated
2007-03-12 11:36:34 -05:00
Raymond Lu
3015df0a5b [svn-r13501] Suppress the compiler warning about the equality comparison of floating-point values. 2007-03-12 10:52:52 -05:00
Quincey Koziol
8d91f0643b [svn-r13500] Description:
Roll changes to SOHM v2 B-tree records into format, to get the format
for them stable while I'm working on debugging the actual support for the
"unique, but sharable" feature.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-12 10:28:54 -05:00