Commit Graph

10883 Commits

Author SHA1 Message Date
Allen Byrne
794c05c921 [svn-r16207] Added new file H5Bdbg.c to windows project file. Will test using VS2008 Express. 2008-12-18 09:37:32 -05:00
Quincey Koziol
e77303f483 [svn-r16204] Description:
Moved v1 B-tree debugging routines into separate module and thinned
out header files a bit.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-12-18 08:43:21 -05:00
Raymond Lu
86fb2794d6 [svn-r16202] 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 v1.8 on VMS.
2008-12-15 16:17:38 -05:00
Scot Breitenfeld
67d0c24a41 [svn-r16196] Description:
added:

!DEC$ATTRIBUTES reference :: 

for character strings being passed in to C to fix bug in VMS.
2008-12-15 12:46:54 -05:00
Mike McGreevy
379b5a7b01 [svn-r16194] Purpose:
Bug Fix

Description:

    Resolved issues with broken sanity checks that were failing when the 'b2'
    debugging package was enabled (v2 b-tree debugging):

        - Fixed outdated assertions that would not compile. They now compile
          and function correctly.

        - Removed too far outdated assertions that would require too much 
          unnecessary refactoring of code in order to satisfy their
          initial purpose.

        - Re-enabled b2 debugging package when "--enable-debug=all" is
          specified on the configure line.

Tested:

    jam, smirom, linew
2008-12-15 12:39:20 -05:00
Allen Byrne
8b971620b4 [svn-r16189] Changed references of H5Distore to H5Dbtree in project files. (Related to revision 16180) 2008-12-12 10:52:02 -05:00
Quincey Koziol
58e4b0c979 [svn-r16187] Description:
Change a few more "istore" references in comments to "chunk" or "btree".

Tested on:
	None, just comments
2008-12-11 15:06:17 -05:00
Quincey Koziol
40dac44efe [svn-r16182] Description:
Rename internal routines, variables, macros, typedefs, etc. for chunked
dataset storage from "istore" to some variant of "chunk" or "btree".

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-12-11 14:29:44 -05:00
Quincey Koziol
09ef5a6ef9 [svn-r16180] Description:
Rename the current chunk indexing routines module for B-tree indices
to better reflect their purpose, and to make the upcoming extensible array
index module fit in better.

Tested:
	FreeBSD/32 6.3
	Too minor to require h5committest
2008-12-11 13:12:28 -05:00
Quincey Koziol
f53cd8e75d [svn-r16179] Description:
Use the H5F_KVALUE macro in a couple more places, to make the code
easier to read.

Tested on:
	Mac OS X only (very minor)
2008-12-11 10:39:42 -05:00
Neil Fortner
fcd5fc141f [svn-r16176] Remove terminal whitespace in links.c, H5Lexternal.c, H5Pfapl.c
Tested: jam
2008-12-09 14:53:01 -05:00
Albert Cheng
faea573564 [svn-r16173] Updated fix of the missing argument of open() in zip_perf.c. 2008-12-09 10:55:40 -05:00
Albert Cheng
0ac6d940c3 [svn-r16170] Code clean up.
Function get_unique_name() had potential string overflow problem.
Fixed. Also removed some unused macros.

Tested by h5committest.
2008-12-08 23:08:24 -05:00
Albert Cheng
064fee6e8e [svn-r16167] Bug fix: 1089
Description:
One open() call with O_CREAT flag did not have the third required argument.

Solution:
Added the right third argument. Also changed all open() calls to HDopen
macros for more portable coding.

Tested:
h5committested.
2008-12-08 21:28:05 -05:00
Frank Baker
58090002a8 [svn-r16166] Description:
Change all occurrences of 'THG' to 'The HDF Group'.
2008-12-08 16:43:21 -05:00
Scott Wegner
dbd3143ff5 [svn-r16161] Purpose: Add new source file to Windows
Description:
Recently the new source file H5EAdbkpage.c was added to the main library source code.  This checkin also adds it to the Windows project files.

Note: Windows builds are still failing on the earray test, although for other reasons.  I'm also looking into this.

Tested:
VS2005 on WinXP
2008-12-05 10:25:04 -05:00
Pedro Vicente Nunes
7b5df92ac8 [svn-r16158] Test the non deletion of a chunk for the case chunk_offset == dimension by shrinking first, then expanding to original size and compare buffers of initialized values
Tested: windows, linux
2008-12-03 22:47:40 -05:00
Pedro Vicente Nunes
2ef8c372c5 [svn-r16156] close & re-open the file for the test of non-default B-tree internal 'K' value (There was a bug where a non-default B-tree internal 'K' value was not being stored in the file)
this is a rewrite of the old set_extent.c test program
tested: windows, linux
2008-12-03 21:25:21 -05:00
Pedro Vicente Nunes
0e3797d58a [svn-r16152] added comments and removed unnecessary code
tested: windows, linux
2008-12-02 15:52:58 -05:00
Neil Fortner
0f0464f747 [svn-r16150] Change a call to H5FL_fac_free to H5FL_FAC_FREE so it works correctly when free
lists are disabled.

Tested: jam
2008-12-02 15:47:52 -05:00
Pedro Vicente Nunes
7c4b4e32d0 [svn-r16148] reorganized the set_extent test to be more modular
tested: windows, linux
2008-12-02 14:37:46 -05:00
Pedro Vicente Nunes
629cc339eb [svn-r16144] Removed the check of H5Dset_extent for the space to be chunked, since external datasets can be extended
Tested: windows, linux
2008-12-01 15:38:02 -05:00
Pedro Vicente Nunes
4c221f9e0e [svn-r16143] add a test for recent fixes of H5Dset_extent
tested: windows, linux
2008-12-01 15:20:46 -05:00
Pedro Vicente Nunes
e004bd48f2 [svn-r16142] Added a check to H5Dset_extent for the space to be chunked, exit with error otherwise
A call to H5Dset_extent in the external test was removed

Tested: windows, linux
2008-12-01 13:46:07 -05:00
HDF Tester
150d4cf4bb [svn-r16138] Snapshot version 1.9 release 25 2008-11-30 07:38:02 -05:00
Quincey Koziol
e8e2f47703 [svn-r16137] Description:
Add support for paging large data blocks to extensible arrays

	Clean up allocation/destroy code for extensible array index, super and
data blocks

	Add a couple of routines to set/get bit values in memory buffers

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-11-28 14:16:24 -05:00
Pedro Vicente Nunes
bd3e89868a [svn-r16133] H5TBdelete_record was not handlong correctly records at the end of the table
added a ckeck that avoids to read these records if they are not needed (for pushing down the table)

tested: windows, linux
2008-11-25 14:42:49 -05:00
Pedro Vicente Nunes
7653aa4a6a [svn-r16132] some chunks were not deleted for some cases, the comparison to check for chunk offsets outside of the new dimensions was
chunk_offset[ i ] > dimension [ i ]
and it must be
chunk_offset[ i ] >= dimension [ i ]

tested: windows, linux
2008-11-25 11:31:16 -05:00
Pedro Vicente Nunes
4c1f5f3f15 [svn-r16128] revised test table
tested windows linux
2008-11-24 16:17:07 -05:00
Pedro Vicente Nunes
e69e5ee5a0 [svn-r16125] add mention to Table change 2008-11-24 15:10:58 -05:00
Pedro Vicente Nunes
6ecf8fc2ea [svn-r16124] In version 3.0 of Table, "NROWS" was deprecated
tested: windows, linux
2008-11-24 15:08:10 -05:00
HDF Tester
5f51cab710 [svn-r16121] Snapshot version 1.9 release 24 2008-11-23 07:03:49 -05:00
Pedro Vicente Nunes
9002e5c3b2 [svn-r16119] h5repack: Define a default chunk whose size is manageable. (PVN - 2008/11/21) 2008-11-21 15:20:07 -05:00
Pedro Vicente Nunes
5508fda3b8 [svn-r16114] remove commented code
tested: windows, linux
2008-11-21 14:51:43 -05:00
Pedro Vicente Nunes
b067b416b2 [svn-r16112] #1375. Define a default chunk whose size is manageable. Defined currently as the same size of hyperslab (that compares the dimension sizes against a predefined constant size and chooses the minimum between the two)
Tested : linux, windows
2008-11-21 10:39:06 -05:00
Elena Pourmal
a4487662b0 [svn-r16110] VMS maintenance: Brought command files up-to-date 2008-11-19 15:32:37 -05:00
Elena Pourmal
0dc6e37459 [svn-r16107] Maintenance: Brought up command file up-to-date. 2008-11-19 15:17:47 -05:00
Elena Pourmal
0c72ceea96 [svn-r16105] Bug fix:
h5vers script overwrote the value for windows file; fixed
2008-11-19 14:30:29 -05:00
Elena Pourmal
5d115960b6 [svn-r16100] Maintenance: Library version number in vms/src/h5pubconf.h
was not updated automatically and therefore
             was always outdated. Modified h5vers script to update
             the version for the VMS configuration file as we do for 
             the similar windows file.
Platforms tested: 
             kagiso with bin/h5vers
2008-11-19 11:23:56 -05:00
Mike McGreevy
f804d20446 [svn-r16095] Purpose: Updating bin/reconfigure script
Updating bin/reconfigure script to point to autotools in /mnt/hdf/packages, 
    since /home1/packages no longer exists.

Tested: kagiso
2008-11-18 15:19:10 -05:00
Quincey Koziol
a19434caa0 [svn-r16094] Description:
Add initial support for data block 'page init' bitmasks to super
blocks.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-11-17 22:42:13 -05:00
Quincey Koziol
a28e8407cf [svn-r16093] Description:
Initial changes to allow data blocks to be paged in, instead of loaded
completely.

	Also, refactored test code to be smaller and more maintainable.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-11-17 19:05:45 -05:00
Quincey Koziol
4a219c18b6 [svn-r16091] Description:
Switch H5Gcreate -> H5Gcreate2 and H5Gopen -> H5Gopen2, so that they aren't
switched with the API compability flags are changed

Tested on:
    Mac OS X/32 10.5.5 (amazon)
    Linux/64 2.4 (smirom) w/API compability
2008-11-17 17:23:54 -05:00
Scott Wegner
6b43203d7f [svn-r16085] Purpose: Add new source file to Windows projects
Description:
Recently a new source file, H5Pdapl.c, was introduced.  This checkin adds the file to our Windows projects.

Tested:
VS2005 on WinXP
2008-11-17 14:13:00 -05:00
Scott Wegner
b3b538cf58 [svn-r16084] Purpose: Update Windows tool test scripts
Description: Bring changes from the various tool test scripts to Windows.

testh5copy.bat: add syntax for tests which expect h5diff to fail, and apply them to existing tests
testh5diff.bat: add a new test for "contents mode"
testh5dump.bat: modify some tests to use the new "-b *" and "-b NATIVE" syntax
h5repack.bat: call h5dump without the -c switch

Tested:
VS2005 on WinXP
2008-11-17 14:12:14 -05:00
Neil Fortner
e86e9f49f6 [svn-r16082] Purpose: Fix a problem in the file unmounting code
Description: Fixes a problem in H5F_close_mounts where it wouldn't correctly
reshape the "child" array when unmounting files.  Test added for this case.
Also fixed a potential bug in H5F_unmount where that routine reshapes the child
array.

Tested: kagiso linew smirom (h5committest)
2008-11-17 13:48:37 -05:00
HDF Tester
2d445f880d [svn-r16078] Snapshot version 1.9 release 23 2008-11-16 06:04:24 -05:00
Neil Fortner
fc65a0e676 [svn-r16063] Purpose: Update RELEASE.txt for changes in revision 16062 2008-11-12 13:11:22 -05:00
Neil Fortner
fd2285f7bc [svn-r16062] Purpose: Allow per-dataset rdcc configuration
Description: Adds 3 new public functions: H5Pset_chunk_cache,
H5Pget_chunk_cache, and H5Dget_access_list.  First implementation of dataset
access properties.  See RFC_chunk_cache_functions for details.

Tested: kagiso, linew, smirom (h5committest)
2008-11-12 13:07:51 -05:00
Quincey Koziol
164a8426ea [svn-r16061] Description:
Store extra information about each block in the metadata for the block,
in the hope that a corrupted file will be easier to recover.  (Similar to the
information stored for fractal heaps)

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-11-11 18:30:37 -05:00