Commit Graph

10896 Commits

Author SHA1 Message Date
Albert Cheng
4695c4150d [svn-r16271] Bug fix.
The Tail command in jam (a newer linux) does not accept the +2l option.
It ended up wiping most of the release_doc/RELEASE.txt file contents.
Replaced the "tail +2l" by "sed -e 1d".

Tested:
Tested in Jam to verify it functions properly again.
2009-01-06 17:58:54 -05:00
Neil Fortner
29602ca94b [svn-r16266] Revert RELEASE.txt to the version before it was mostly deleted by hdftest.
Update version number listed at the top.

Tested: vim
2009-01-06 09:58:21 -05:00
Scot Breitenfeld
e99b7dec14 [svn-r16262] Description:
added missing reference in h5lget_name_by_idx_f:

!DEC$ATTRIBUTES reference ::

for character strings being passed in to C to fix bug in VMS.
2009-01-05 11:40:59 -05:00
Scot Breitenfeld
9a38a8965c [svn-r16235] Description:
Cosmetic changes, Also tested -r16231 on:

Jam (intel 10.1)
Smirom (intel 10.1)
2008-12-30 12:30:17 -05:00
Scot Breitenfeld
0e779a215c [svn-r16231] Description:
Added chunk property to the data set because changes in the cC function H5Dset_extent now require/check that the data set is chunked.
2008-12-30 11:27:29 -05:00
Pedro Vicente Nunes
dc869ba584 [svn-r16229] merge 16228
cleaned more linux warnings
tested: linux
2008-12-29 16:56:48 -05:00
Pedro Vicente Nunes
e1590a56b1 [svn-r16227] cleaned some linux warnings
tested: linux
2008-12-29 16:40:37 -05:00
Pedro Vicente Nunes
b962f97e1a [svn-r16225] removed some debug messages
tested: windows, linux
2008-12-29 16:24:09 -05:00
Pedro Vicente Nunes
75951cfcf8 [svn-r16223] Modified H5Dset_extent so that it fails when called for compact datasets and contiguous with no external storage
new test program: It adds tests for several ranks, use of fill value or not, compression, different fill value allocation times, use of different storage layouts, and external files

tested: windows, linux
2008-12-29 15:36:34 -05:00
HDF Tester
f9f462e720 [svn-r16220] Snapshot version 1.9 release 26 2008-12-28 05:28:04 -05:00
Pedro Vicente Nunes
5b7de16d6a [svn-r16217] Bug fix
PG compiler complains about array out of bounds (a rank of zero was not checked)
Adding a scalar dataset to the test generator program. this case is run on a previous existing run, the case was added to 2 existing files

Tested: windows, linux
2008-12-23 09:56:13 -05:00
Raymond Lu
1448a3e8bb [svn-r16214] Added HDlseek to the H5FD_core_truncate function in H5FDcore.c to rewind the file pointer
to the beginning of the file.  Otherwise, the file might be re-extended later on Open VMS.
Also updated the return value for the HDlseek to be more appropriate.

Tested 1.8 on Open VMS.
2008-12-22 14:05:43 -05:00
Choonghwan Lee
c302b9b031 [svn-r16209] Purpose:
Bug fix (#1357)

Description:
	Three filters have not assigned correct value to one value-result argument, "buf_size". N-bit, szip, and scale offset filter have had this problem.

	However, I don't think this problem has been making buffer overrun because those filters were informing the caller that the "buf", another value-result argument, is smaller than it actually is. If there was actual buffer overrun, I believe another problem exists although I don't know.

Tested:
	jam, smirom, linew

	Although all test were passed, I'm concerned about valgrind memcheck error. There can be another miscommunication between filter and the caller.
2008-12-19 11:22:10 -05:00
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