Commit Graph

11494 Commits

Author SHA1 Message Date
Allen Byrne
0fe834c473 [svn-r18855] Added CPack commands for installtion program
Tested: local linux and Windows
2010-05-19 15:03:17 -05:00
Allen Byrne
79a9d1ea51 [svn-r18854] Add CPack variables
Tested: Windows
2010-05-18 16:36:23 -05:00
Quincey Koziol
4e0e18dfa5 [svn-r18851] Description:
Bring r18837 from trunk to 1.8 branch:

	Remove the size parameter from H5[A]C_unprotect() and the
H5[A]C__SIZE_CHANGED_FLAG, switching all clients & tests over to using
H5[A]C_resize_entry appropriately.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
       Mac OS X/32 10.6.3 (amazon) in debug mode
       Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
               in production mode
	(h5committested on trunk)
2010-05-18 14:09:04 -05:00
Allen Byrne
38df150e16 [svn-r18850] Added packed-bits tests to batch file
Tested: windows
2010-05-18 13:38:06 -05:00
Raymond Lu
92a21ab279 [svn-r18848] Corrected the -M and some dataset names with uppercase letters for packed bits tests. On
VMS, the uppercase letters have to be quoted on command line.

Tested on OpenVMS.
2010-05-18 13:30:12 -05:00
Allen Byrne
210f3f9676 [svn-r18847] Removed obsolete packed bits tests 2010-05-18 12:32:02 -05:00
Raymond Lu
afa5376210 [svn-r18845] Albert added more tests for packed bits. I made the change accordingly.
Not tested yet.
2010-05-18 11:13:46 -05:00
Allen Byrne
b6cfff5af7 [svn-r18844] Removed failing tests comment. 2010-05-18 11:03:56 -05:00
Mike McGreevy
973c61fd42 [svn-r18841] Changed version number to 1.8.4-snap0
Updated RELEASE.txt file accordingly.
2010-05-18 10:26:01 -05:00
Larry Knox
a41fb65b7c [svn-r18836] Added code to config files, libhdf5.settings.in and configure.in to add compiler version information for fortran and C++ in the settings file and the configure output for our common compilers on linux, solaris, and mac(gnu only).
Tested:  amani, jam, linew (h5committest) and with configure on these machines and tejeda.
2010-05-17 17:23:23 -05:00
Quincey Koziol
b85900177f [svn-r18835] Description:
Correct function enter macro and add 'done' label, for routine that is
only invoked when configured with --enable-debug=all.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug & production
    (too minor to require h5committest)
2010-05-17 16:18:46 -05:00
Quincey Koziol
ed89c38587 [svn-r18833] Description:
Correct error where variable didn't always get initialized correctly.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug & prod
    Windows w/debug & prod
2010-05-17 16:08:40 -05:00
Allen Byrne
b2b00a7c4d [svn-r18830] Updated CMake file with r18826
Tested: local linux
2010-05-17 14:51:06 -05:00
Albert Cheng
07ed9b81ae [svn-r18829] Updated with the newly added packed bit test files.
Tested: bin/chkmanifest'ed in Jam.
2010-05-17 14:50:30 -05:00
Quincey Koziol
c47a15cb54 [svn-r18828] Description:
Correct error where variable didn't always get initialized correctly.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug & prod
    Windows w/debug & prod
2010-05-17 14:29:21 -05:00
Albert Cheng
7144b18c76 [svn-r18826] Added packed bits tests on Compound and Array data types.
Tested: AlbertPax. Will do h5committest after check in.
2010-05-17 10:44:57 -05:00
HDF Tester
d146500357 [svn-r18825] Snapshot version 1.8 release 4 (snap22) 2010-05-16 20:52:48 -05:00
Albert Cheng
174cc7b19e [svn-r18821] Packed bits codes tidy up. Removed codes that are not needed
any more. Changed algorithm of creating mask which now sits
at the least significant bits. Display data by down shift
first and then mask it for display. Changed the variable
names to reflect the new purpose better.

Tested: AlbertPax (linux)
2010-05-15 00:40:00 -05:00
Elena Pourmal
b8f131dc78 [svn-r18820] Bug fix:
Fixed a bug (1822) in the H5DSdetach_scale function when 0 bytes
    were allocated after the last reference to a dim. scale
    was removed from the list of references in a VL element of the
    DIMENSION_LIST attribute; modified the function to comply
    with the Spec: DIMENSION_LIST attribute is deleted now when no
    dimension scales left attached.

Platforms tested: jam with electric fence, amani amd linew
2010-05-14 23:28:50 -05:00
Larry Knox
96c13847a6 [svn-r18817] Added scripts to compile and run installed examples. The scripts are installed with the examples, and there is one script to run the scripts for all hl examples and another to run the scripts for all the examples.
Tested:  amani, jam, linew (h5committest).
2010-05-14 17:05:48 -05:00
Allen Byrne
5c2734ec51 [svn-r18815] Move progname and d_status functions from h5tools to h5tools_util
Tested:
    linux and windows
2010-05-14 16:53:41 -05:00
Jonathan Kim
fdd92eb3b8 [svn-r18814] Purpose:
Add bug fixes for Tools.

Description:
    Added list from bugzilla:
    1726 - NPOESS: h5repack loses attributes for datasets of type H5T_REFERENCE
    1814 - NPOESS: h5repack doesn't handle references to the groups as an 
                   element of a dataset
    1817 - h5copy fail to copy dangling link by specifying link path directly
    1793 - h5ls on a non-existent file gives 0 return code

Tested:
    not need, just text update.
2010-05-14 16:52:14 -05:00
Allen Byrne
06bbdb5e59 [svn-r18812] moved reference to noname-packedbits file to packed bits section 2010-05-14 16:13:45 -05:00
Albert Cheng
3b9291b0b1 [svn-r18810] Bug fix:
Program failued in FreeBSD and Windows machines because uint is a local
backward compatibility extension of Linux.  Changed them to the proper
"unsigned int".

Tested: FreeBSD (liberty,duty), h5committested.
2010-05-14 16:09:34 -05:00
Mike McGreevy
c4b0bcda12 [svn-r18809] Purpose:
Fixed file cleanup during make distclean / make check.

Description:

    The h5jam Makefile and the h5importtestutil.sh script both included cleanup
    steps that removed "*.txt" from the directory. This resulted in the new
    CMake specific configuration file, CMakeLists.txt, getting blown away by 
    make distclean (for h5jam) and make check (for h5import).

    I've removed the *.txt from the h5jam Makefile as the directory looks to be
    getting cleaned appropriately without it, and I've modified the h5import
    script h5importtestutil.sh to point to the specific .txt files to clean.

Tested:

    jam
2010-05-14 15:30:58 -05:00
Mike McGreevy
9635cdc24f [svn-r18807] Purpose:
RELEASE.txt update

Description:

    Reorganize RELEASE.txt

Tested:

    None needed.
2010-05-14 13:55:34 -05:00
Mike McGreevy
912e7b99ee [svn-r18806] Purpose:
Update RELEASE.txt

Description:

    Remove outdated known issue (should have been removed 
    from 1.8.4, whoops) from RELEASE.txt

Tested:

    doc only, none needed.
2010-05-14 13:47:21 -05:00
Mike McGreevy
453a3910ab [svn-r18805] Purpose:
Fix memory leaks

Description

    Added a routine to free memory which addresses a memory leak
    when variable length strings are used as fill values.

    Also added some minor tweaks to the H5I 'save ID structures' mechanic.

Tested:

    h5committest and valgrind (on jam/amani) to confirm freed memory.
2010-05-14 13:45:07 -05:00
Binh-Minh Ribler
fbb8709e40 [svn-r18802] Description:
Added notes about
	+ CommonFG::getObjnameByIdx char* for name
        + CommonFG::getObjTypeByIdx char* for type
	+ PropList::PropList(id) pclass id/plist id
2010-05-14 10:09:58 -05:00
Quincey Koziol
9c1fa1d37c [svn-r18800] Description:
Added note about use of volatile for variables.

    Added blurb to release notes about fixing strict-aliasing problems.

Tested on:
    None - trivial change to comment.
2010-05-13 18:06:45 -05:00
Allen Byrne
23aa825f5e [svn-r18798] Updated CMakeLists to match changes r18794-18796
Even figured out which are expected to fail!

Tested: Local linux
2010-05-13 17:10:17 -05:00
Albert Cheng
651a34abd5 [svn-r18797] updated with added and deleted files for the h5dump packed-bits feature tests. 2010-05-13 16:47:51 -05:00
Albert Cheng
a44c942518 [svn-r18796] Enhancement 1853:
Install packed-bits feature for h5dump.

tools/h5dump/h5dump.c:
    Added lots of error checking into parse_mask_list() to catch and
    flagged packed-bits argument errors. For now, the packed bits
    are limited to 1 byte (8 bits) range.

tools/h5dump/testh5dump.sh.in
    Added 10 new packed-bits test to verify normal operation and argument
    error detection.

tools/lib/h5tools.h:
tools/lib/h5tools_str.c:
tools/lib/h5tools.c:
    Only name changes of the packed-bit global variables to reflect
    the nature of the variable better, IMO.

Tested: albertPax (linux)
------------------------------------------------------------------------
2010-05-13 16:42:16 -05:00
Albert Cheng
11562046e1 [svn-r18795] Enhancement 1853:
Install packed-bits feature for h5dump.

Added gent_packedbits() to generate the HDF5 test data
file, packedbits.h5, for packed-bit feature test.

Tested: albertPax (linux)
------------------------------------------------------------------------
2010-05-13 16:00:31 -05:00
Albert Cheng
5f2cf7e80c [svn-r18794] Enhancement 1853:
Install packed-bits feature for h5dump.

testfiles/packedbits.h5:
New HDF5 test data file. Generated by h5dump/h5dumpgentest.

testfiles/tpbitsLengthPositive.ddl:
testfiles/tpbitsMaxExceeded.ddl:
testfiles/tpbitsSigned.ddl:
testfiles/tpbitsOffsetNegative.ddl:
testfiles/tpbitsUnsigned.ddl:
testfiles/tpbitsMax.ddl:
testfiles/tpbitsIncomplete.ddl:
testfiles/tpbitsOverlapped.ddl:
testfiles/tpbitsLengthExceeded.ddl:
testfiles/tpbitsOffsetExceeded.ddl:
    Expected output files created to test various
    components of the packed-bits feature.

testfiles/tpackedbits2.ddl:
testfiles/tpackedbits.ddl:
    Previous output files no longer used.

Tested: albertPax (linux)
2010-05-13 15:49:31 -05:00
Quincey Koziol
26205360a4 [svn-r18792] Description:
Correct error in H5C_resize_entry() where protected entry sizes were
not updated if the entry being resized was both pinned and protected.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2010-05-13 10:30:40 -05:00
Allen Byrne
103da21db1 [svn-r18787] Added h5tools.h include to h5diff_common.h to fix warnings about the new progname and status functions
Tested: local linux
2010-05-13 09:21:22 -05:00
Allen Byrne
ba58f2ddb7 [svn-r18786] Corrected typo which prevented non-windows diff tests to work correctly
Tested: local linux
2010-05-13 09:01:11 -05:00
Quincey Koziol
e8b63136be [svn-r18784] Description:
Fix unterminated comment.

Tested on:
    None - just eyeballed.
2010-05-13 08:12:11 -05:00
Allen Byrne
df8026cc51 [svn-r18780] Corrected typo of variable used by H5srcdir_str.h.in.
No test as it is actually not used in branch
2010-05-12 16:22:38 -05:00
Larry Knox
fa416bde84 [svn-r18779] Add ${DESTDIR} to scripts and Makefiles so that make DESTDIR=<install directory> install, installcheck and uninstall is supported for installing examples, since they are now installed as part of make install. This was necessary for rpmbuilds, but should also be supported otherwise.
Tested:  amani, jam, linew with committest, rpmbuild on jam and amani.
2010-05-12 15:55:52 -05:00
Allen Byrne
eeeb393762 [svn-r18777] Moved declaration to top of function, windows compiler issue.
Tested: Windows
2010-05-12 14:53:17 -05:00
Raymond Lu
54276b5732 [svn-r18776] I corrected a typo.
No test.
2010-05-12 14:13:47 -05:00
Raymond Lu
9ba1882211 [svn-r18775] I added 2 tests for packed bits. I didn't use the new macro H5_HAVE_H5DUMP_PACKED_BITS for
these tests.  

Not tested yet.
2010-05-12 14:05:43 -05:00
Raymond Lu
a8a94d5710 [svn-r18774] I added a new macro H5_HAVE_H5DUMP_PACKED_BITS.
Not tested yet.
2010-05-12 13:57:59 -05:00
Allen Byrne
84103cef85 [svn-r18773] Add files to support building library with CMake
Tested: Local linux
2010-05-12 13:51:33 -05:00
Allen Byrne
08ce72aebd [svn-r18772] Remove hard coded path to generated file.
Tested: local linux, windows
2010-05-12 11:56:45 -05:00
Quincey Koziol
9c660949f5 [svn-r18769] Description:
Bring r18768 from trunk to 1.8 branch:

	Correct a mis-merged patch when marking an entry dirty.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
	(h5committested on trunk)
2010-05-11 19:41:09 -05:00
Allen Byrne
809e91b53c [svn-r18764] Corrected typo in Fortran CStub DLL section 2010-05-11 16:20:43 -05:00
Allen Byrne
e6364578ed [svn-r18762] File needed to correctly set new H5TOOLS_* export/import attribute 2010-05-11 16:00:21 -05:00