Commit Graph

1000 Commits

Author SHA1 Message Date
HDF Tester
cf472f86fc [svn-r21770] Snapshot version 1.9 release 99 2011-11-20 09:32:13 -05:00
HDF Tester
642b828026 [svn-r21748] Snapshot version 1.9 release 98 2011-11-13 09:31:44 -05:00
Raymond Lu
68da0f7736 [svn-r21734] Issue 7582 - The library allowed the conversion of strings between ASCII and UTF8. I corrected it by adding a condition check in H5T_conv_s_s and H5T_conv_vlen to report an error under this situation.
Tested on jam, koala, linew.
2011-11-08 17:34:00 -05:00
HDF Tester
8c59983402 [svn-r21721] Snapshot version 1.9 release 97 2011-11-06 08:02:33 -05:00
HDF Tester
7d42dafd30 [svn-r21692] Snapshot version 1.9 release 96 2011-10-30 09:39:32 -05:00
Raymond Lu
c61a0a3d62 [svn-r21674] Issue 7618 - the library had seg fault when it tried to shrink the size of compound data type through H5Tset_size immedia
tely after the type was created.  I fixed it in this commit.

Tested on jam, linew, and koala.
2011-10-26 09:25:16 -05:00
Raymond Lu
9b7016e1d7 [svn-r21673] I updated it for Issue 7701.
No test needed.
2011-10-25 16:18:41 -05:00
Jonathan Kim
e54d15a26c [svn-r21658] Purpose:
HDFFV-7770 - h5diff segmentation fault on JPSS files

Description:
    Fixed segfault over non-comparable attribute with different dimention or
    rank, along with '-c' option to display details.

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows, Cmake
2011-10-24 16:50:13 -05:00
Neil Fortner
ed645b3857 [svn-r21630] Re-add note to RELEASE_DOCS.txt that was mistakenly removed in r21629. 2011-10-20 17:06:38 -05:00
Neil Fortner
72702153d2 [svn-r21629] Purpose: Update fix committed in r21556
Description:
An old patch was mistakenly committed in r21556.  Replaced this fix with the
latest.

Tested: jam, koala, heiwa (h5committest)
2011-10-20 17:01:21 -05:00
HDF Tester
62aa159e09 [svn-r21587] Snapshot version 1.9 release 95 2011-10-16 09:00:02 -05:00
Elena Pourmal
03f6ea8e54 [svn-r21577] Maintenance: Added F2003 info 2011-10-14 15:09:53 -05:00
Neil Fortner
56960ac85c [svn-r21556] Purpose: Fix bug in H5Ocopy
Description:
H5Ocopy could get confused when copying a named datatype containing an
attribute which used that named datatype as its datatype.  This happened
because H5Ocopy would recurse into the attribute's datatype before the object
the attribute was in was fully copied (i.e. before the "post-copy" pass).
Modified H5Ocopy to avoid recursing before the post-copy step in this case.
Required many changes, including to how non-committed shared messages are
copied.

Tested: jam, koala, heiwa (h5committest); durandal
2011-10-13 18:10:50 -05:00
Elena Pourmal
1406da6362 [svn-r21553] Maintenance: Added an entry for the Fortran DS wrappers. 2011-10-13 16:29:44 -05:00
Elena Pourmal
711f8f7934 [svn-r21552] Maintenance: Addressed HDFFV-915 - investigate if H5open and H5close are needed in the corresponding
Fortran wrappers.

Solutions:   The calls were not needed and were removed from the C stubs h5open_c and h5close_c for the correspnding
             Fortran subroutines h5open_f and h5close_f.

Platforms tested: jam with gcc and gfortran, PGI and Intel
                  koala with PGI and Intel
                  linew with the standard Sun compilers
2011-10-13 15:25:32 -05:00
Dana Robinson
62b1372a03 [svn-r21508] Revoked svn check-ins 20913 and 20921 (fix for HDFFV-7579) pending a careful evaluation of enum conversion behavior. 2011-10-10 16:55:45 -05:00
HDF Tester
892d491c35 [svn-r21499] Snapshot version 1.9 release 94 2011-10-09 09:02:51 -05:00
Albert Cheng
07d7090609 [svn-r21477] Removed the known problem of insufficient memory error in AIX. It was patched
in the config/ibm-aix file.
2011-10-05 13:18:22 -05:00
Albert Cheng
440044ebaf [svn-r21469] updated with the change of Windows platform switched back to use SEC2 as the
default VFD.
2011-10-04 12:50:49 -05:00
HDF Tester
9d793e7e5e [svn-r21443] Snapshot version 1.9 release 93 2011-10-02 09:35:04 -05:00
HDF Tester
c27e3c313e [svn-r21415] Snapshot version 1.9 release 92 2011-09-25 09:27:41 -05:00
Jonathan Kim
86faf0b302 [svn-r21396] Purpose:
HDFFV-7693 - h5diff produces different behavior between versions: 1.8.3 and 1.8.6

Description:
    There were two issues on this. 
    One was not displaying all the comparable objects if non-comparable 
    object/attribute exist and compared before comparables ones. This issue
    occurred after 1.8.4 release. This is the issue from user.
    The other issue was not displaying all the comparable attributes, 
    if non-comparable object/attribute exist and compared ahead. This issue 
    were exist even before 1.8.4 release. So it's possible some attribute 
    comparison may have not displayed correctly in the past, if non-comparable 
    data were exist in common object.
    Fixed h5diff to display all the comparable object and attribute regardless 
    of non-comparables. 

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Windows)
2011-09-16 14:29:03 -05:00
Jonathan Kim
35d9b34621 [svn-r21393] Just moved comment to the top of the Tools' list as the new entry is suppose to add to the top not the bottom.
Relate to fix for HDFFV-5932 - h5repack.
2011-09-14 17:30:58 -05:00
Peter Cao
f054b60885 [svn-r21381] 2011-09-14 10:48:22 -05:00
HDF Tester
645fae330d [svn-r21374] Snapshot version 1.9 release 91 2011-09-11 09:27:36 -05:00
Allen Byrne
2457d8ecaf [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new defines H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines to use. These can be properly set during configurration.
Tested: windows and local linux - reviewed internally
2011-09-06 11:50:32 -05:00
HDF Tester
188c31b1d9 [svn-r21360] Snapshot version 1.9 release 90 2011-09-04 09:32:12 -05:00
Jonathan Kim
cf81925931 [svn-r21358] Purpose:
HDFFV-7712 - h5diff: segfault over combinations of complex container types (compound, array, vlen)


Description:
    - Fixed segfault over dataset with container types (array,lven) with multiple nested compound types. (ex: compound->array->compound, compound->vlen->compound)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-09-02 11:29:45 -05:00
Raymond Lu
cf0db8df74 [svn-r21357] I updated the information about the fixes for Issue 7674 - CLANG compiler's complaints. 2011-09-02 10:54:06 -05:00
HDF Tester
4f3950a882 [svn-r21329] Snapshot version 1.9 release 89 2011-08-28 09:29:14 -05:00
Jonathan Kim
e3400c321f [svn-r21292] Moved Tools recent fixes (HDFFV-7649 and HDFFV-7659) descriptions to correct section. 2011-08-22 17:32:14 -05:00
Peter Cao
23c7adeca8 [svn-r21265] h5repack: added macro to handle failure in H5Dread/write when memory allocation failed inside the library 2011-08-19 12:00:14 -05:00
Jonathan Kim
e703a6a2a4 [svn-r21236] Purpose:
Work for:
   HDFFV-7515 - GMQS: h5unjam - incorrect help page and should display when 
   no file is given.
   and
   HDFFV-5941 - h5jam: specifying a user block file with a proper HDF5 magic
   number will result in a corrupted HDF5 file.


Description:
   - Revised command help pages of h5jam and h5unjam. The descriptions
     were not up to date and some were missing. (HDFFV-7515)
   - Fixed h5jam not to allow specifying an HDF5 formatted file as input 
     file for -u (user block file) option, because the original HDF5 file 
     will not be accessible if allows. (HDFFV-5941)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Wondows)
2011-08-16 15:41:47 -05:00
Allen Byrne
8d80bf4a93 [svn-r21228] Added #ifdefs around #include unistd.h and created windows getlogin() function for building HDF5 parallel on windows.
Reviewed and tested locally and tested by user.
2011-08-15 09:06:53 -05:00
Allen Byrne
03a4dd9fc3 [svn-r21227] Correct location of xml schema files. JIRA HDFFV-7688 2011-08-15 08:30:30 -05:00
HDF Tester
144ed6d49b [svn-r21225] Snapshot version 1.9 release 88 2011-08-14 11:50:04 -05:00
HDF Tester
1144d0521d [svn-r21185] Snapshot version 1.9 release 87 2011-08-07 09:17:33 -05:00
HDF Tester
be78781ac6 [svn-r21158] Snapshot version 1.9 release 86 2011-07-31 09:01:13 -05:00
HDF Tester
b230a5e448 [svn-r21149] Snapshot version 1.9 release 85 2011-07-24 09:40:12 -05:00
Larry Knox
28e75b6470 [svn-r21146] Updated RELEASE.txt
Replaced several old Linux platforms no longer in use with the current Linux test machine information.

No test - doc file only.
M    release_docs/RELEASE.txt
2011-07-23 17:15:13 -05:00
Albert Cheng
3ec4857286 [svn-r21143] No access to any AIX system any more.
Removed entries of AIX as tested platform.
2011-07-23 10:56:39 -05:00
Raymond Lu
304f19d730 [svn-r21117] Issue 2763 - I added a new parameter of object access property list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c.
Tested on jam, heiwa, and koala.
2011-07-18 16:23:02 -05:00
Peter Cao
877b7aed1b [svn-r21105] Fixed two bugs:
- h5repack: h5repack failed to copy dataset if the layout is changed from chunked with
            unlimited dims to contiguous. (PC -- 2011/07/15)
     - h5diff: "--delta" option considers two NaN of the same type are different, which is wrong
            based on http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Diff. (PC -- 2011/07/15)
2011-07-15 18:02:50 -05:00
Mike McGreevy
dc9288a447 [svn-r21101] HDFFV-7639
Purpose:

    Remove H5_MPI_SPECIAL_COLLECTIVE_IO_WORKS and
    H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS #defines from source.

Description:

    Two advanced parallel functionalities, special collective IO and
    complex derived datatypes, are not supported by older
    implementations of mpi, and thus our code limits the use of these
    features with #ifdefs and has checks in configure to set them (or
    not). Unfortunately, configure can't actually run a parallel check
    to see if these features are working (nor not) so it resorts to
    looking in the config files where they are explicity enabled or
    disabled based on versions of mpi, sytems being built on, or for
    no documented reason at all (i.e. just set to on or off as some
    'default'). Overriding these settings is easy if need be, provided
    it is known that it needs to be done to get improved performance,
    and oftentimes it is not.

    Most new MPI implementations successfully handle the functionality
    requested when these #defines are set, and many of the "turn these
    features off" cases in the config files are for old (> 5 years)
    versions of MPI and retired systems (such as NCSA's tungsten).

    Therefore, the decision has been made to remove the support for
    these old versions of MPI and systems that cannot handle these
    behaviors. The #ifdefs and supporting setup in the config/ files
    and configure script has been removed, and the code executed when
    these options were not set removed from the source.

    In passing, this commit also cleans up some whitespace issues in
    both t_mpi.c and H5Dmpio.c. Furthermore, in t_mpi.c, the special
    collective IO test was not getting regularly run due to it being
    written to work only with four processes (we regularly test with
    six, previously with three), and thus it failed when actually run
    due to an out of bounds data buffer assignment. It has been
    modified to run at any number of processes greater than four, and
    the memory problem has been fixed so the test passes.

Tested:

    jam, h5committest, ember
2011-07-14 15:33:21 -05:00
Jonathan Kim
5e69ec06ff [svn-r21072] Purpose:
Work for HDFFV-7600 - GMQS: h5diff - argument options -d, -p and --use-system-epsilon should be mutually exclusive.

Description:
    Fixed h5diff to display instructive error message and exit with 1
    when mutually exclusive options (-d, -p and --use-system-epsilon)
    are used together.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-07-07 18:12:51 -05:00
HDF Tester
4d805e42c4 [svn-r21033] Snapshot version 1.9 release 84 2011-06-26 10:54:32 -05:00
Raymond Lu
f8f8bed0c2 [svn-r21015] Bug fix for Issue 2598 - In v1.6 library, there was EOA for the whole MULTI file saved in the
super block.  We took it out in v1.8 library because it's meaningless 
            for the MULTI file.  v1.8 library saves the EOA for the metadata file, 
            instead. But this caused some backward compatibility problem.
            v1.8 library couldn't open the file created with v1.6 library.  I 
            fixed the problem by checking the EOA value to detect the file
            created with v1.6 library. 

Tested on jam, koala, and heiwa.
2011-06-22 10:47:57 -05:00
Jonathan Kim
83b77cb4eb [svn-r21014] Purpose:
HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index

Description:
    Fixed h5dump to display the first line of each element into correct 
    position for multiple dimention array type.
    Before this fix, the first line of each element in array were displayed 
    after the last line of previous element without moving to the next 
    line (+indentation)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE)
2011-06-21 13:24:35 -05:00
HDF Tester
43fc4e4f7f [svn-r21000] Snapshot version 1.9 release 83 2011-06-19 11:13:58 -05:00
Raymond Lu
4bffd76b3c [svn-r20929] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output.
Tested on jam, koala, and heiwa.
2011-06-03 10:58:49 -05:00
HDF Tester
f4ddc227c2 [svn-r20922] Snapshot version 1.9 release 82 2011-05-29 10:53:27 -05:00
Raymond Lu
157623de6a [svn-r20913] Issue 7579 - The overflowing ENUM values are inconsistent. When no conversion is involved in reading or writing the
data, overflowing values are retained.  When conversion happens, the values become -1. The conversion function puts -1
when overflow happens.  I added two new dataset transfer property to control whether to fill 0xff in the destination 
data or convert to the destination data when overflow happens.  The two new functions are H5Pset(get)_enum_conv_overflow.  I also added test cases in enum.c and dtypes.c.

Tested on jam, koala, and heiwa.
2011-05-27 12:30:24 -05:00
HDF Tester
0db46e50d2 [svn-r20890] Snapshot version 1.9 release 82 2011-05-23 09:19:26 -05:00
Raymond Lu
2de5fa986f [svn-r20872] Issue 7564 - Allow H5Tcreat to create string type (fixed-length and variable-length). I also added a test case in dtypes.c.
Tested on jam and linew - relatively simple.
2011-05-20 11:14:33 -05:00
Jonathan Kim
b9e1b158a5 [svn-r20804] Purpose:
HDFFV-7594 - GMQS: h5dump shows wrong values for H5T_STD_I8LE dataset on Blue-gene (ppc64 linux BE +@)

Description:
    For the STD_I8 type data, updated to use 'signed char' instead of 'char' as
    'char' could be defined as unsigned on a certain system, which cause h5dump
    to display data values incorrectly.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
2011-05-12 18:12:29 -05:00
Jonathan Kim
054ca47350 [svn-r20767] Purpose:
HDFFV-5928 - GMQS: h5diff problem and improvement on comparsing the same objects

Description:
    Improved performance by eliminating duplicated action for getting object 
    information in half from the previous fixe when comparing group vs group. 
    This is addition to the previous commit r20676.

Tested:
  jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
2011-05-06 17:02:24 -05:00
Albert Cheng
4e204929ab [svn-r20689] Changed compiler name from xlf/mpxlf_r to xlf90/mpxlf90_r to avoid
misunderstanding.  xlf/mpxlf_r are actually Fortran 77 compilers. HDF5 requires
Fortran 90 or higher.
2011-04-29 18:43:09 -05:00
Quincey Koziol
14f7bcf8c9 [svn-r20646] Description:
Small improvement to the core VFD's error reporting.

	Update FreeBSD information

Tested on:
	FreeBSD/32 8.2 (loyalty)
	(too minor to require h5committest)
2011-04-26 15:12:58 -05:00
Jonathan Kim
0a71144a4f [svn-r20639] Add missing entry for "Bug HDFFV-4358" 2011-04-26 13:36:03 -05:00
Albert Cheng
e1ed6bb771 [svn-r20520] Removed ibm-aix6.x file which just sourced ibm-aix file. Removed code in
configure.in that tried to distinguish different versions of AIX. This is no 
longer needed.

Tested:
NCSA Blue-print. No h5committest since this affected AIX system only.
2011-04-15 15:10:47 -05:00
Mike McGreevy
a45c7424b2 [svn-r20502] Purpose:
Add "silent make" mode configure option.

Description:

    Automake 1.11 has a new option available that allows for a
    silent make mode. This functionality needs to be explicitly
    enabled in configure.in via the use of the automake macro
    AM_SILENT_RULES, which is what this commit is adding.

    This introduces a new configure option: 

        --{en|dis}able-silent-rules

    This option is on by default, and simplies compile and link
    line outputs when building the library. Disabling this option
    will print full "verbose" output (i.e., full compile and
    linking lines for each target).

Tested:

    This was tested on jam & h5committested
2011-04-14 14:45:57 -05:00
Neil Fortner
ce35ebecfb [svn-r20491] Rename H5Frelease_file_cache to H5Fclear_elink_file_cache.
Tested: Fedora (too minor for full committest)
2011-04-13 16:03:30 -05:00
Jonathan Kim
eb4a8c7e7d [svn-r20488] Purpose:
Fix HDFFV-4342 : GMQS:  h5dump test fails when source directory is read-only

Description:
    Updated h5dump test case script to prevent entire test failure upon 
    source code directory is read-only.

Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-04-12 18:02:33 -05:00
Larry Knox
60abcfd2e8 [svn-r20482]
Fixed issue HDFFV-5866 (BZ 2156).  Changed scripts to run examples to use specific names for compiled executable files instead of a.out, which did not work on Cywin as it produces a.exe by default.  Removed issue from known problems section of RELEASE.txt.

Tested with Cygwin 1.7.8 on Windows 7.

This line, and those below, will be ignored--

M    release_docs/RELEASE.txt
M    hl/c++/examples/run-hlc++-ex.sh.in
M    hl/fortran/examples/run-hlfortran-ex.sh.in
M    hl/examples/run-hlc-ex.sh.in
M    c++/examples/run-c++-ex.sh.in
M    fortran/examples/run-fortran-ex.sh.in
M    examples/run-c-ex.sh.in
2011-04-12 12:58:57 -05:00
Mike McGreevy
e006157deb [svn-r20475] Purpose:
- Revise shared Fortran library disabling scenarios in configure
    - Improve configure output summary

Description:

    Shared Fortran libraries are not supported on Mac, but were being
    disabled by configure in a way that also forced the C libraries
    to be static-only. This has been fixed, so now only shared Fortran
    is disabled while shared C can remain.

    This prompted two additional changes:

        1. While working on the check that addresses whether or not
           shared Fortran libraries are allowed, removed old and no
           longer needed check(s) that disable shared Fortran
           libraries with HP, Intel 8, PGI, and Absoft compilers.
           (Essentially, Mac is the only situation in which Fortran
           shared are disabled by configure.)

        2. Having two different states of libraries (i.e. shared C
           library with static-only Fortran library) was not apparent
           in the configure summary, which labeled all libraries as
           either shared and/or static. I've added lines to both the
           C++ and Fortran output sections to list shared/static-ness
           of these libraries specifically.

    Additionally, I've made sure that the new --enable-unsupported
    configure option correctly overrides configure if it tries to
    disable a shared library.

Tested:

    jam, fred, & h5committest
2011-04-11 16:00:38 -05:00
Quincey Koziol
e9e713869c [svn-r20405] Description:
Bump patch release number, after giving out private snapshots.
2011-04-03 21:28:07 -05:00
Jonathan Kim
553e452ce4 [svn-r20384] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for 
    --use-system-epsilon option

Description:
    Merged from HDF5 1.8 branch r20369.
    Fixed h5diff for --use-system-epsilon option: the calculation changed
    from ( |a - b| / b ) to ( |a - b| ). This was decided for better 
    performance and was corrected only in HDF5 trunk, so 1.8 got updated.
    Also comments for equal_XXX() function were updated correctly. 
    Also help page and RM got updated correctly.
    Also add test cases for testing the differences w/wo the option.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
2011-03-31 16:43:46 -05:00
Jonathan Kim
c1899d567b [svn-r20378] Purpose:
Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions

Description:
    Decided to use --enable-error-stack long option name only to 
    display error stack messages from HDF5 lib among tools.
    Updated to unify option name to '--enable-error-stack' for printing 
    HDF5 error stack messages for HDF5 tools. h5ls and h5dump for now.
    For h5ls, this replaces "-e/--errors" option, which is deprecated.
    For h5dump, remove -E from help page and RM , which was added by mistake
    before release1.8.7.
    Help page and RM got updated.
    Updated test case.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
2011-03-30 11:06:14 -05:00
Allen Byrne
1f2528189a [svn-r20358] added notation for BZ 1725 2011-03-28 11:06:19 -05:00
Jonathan Kim
aa668a4f64 [svn-r20334] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the 
    different set of attributes (different number and names)

Description:
    This is related to previous checkin r20294.
    Add help page update for verbose option level feature, which displays 
    useful information about attribute difference with -v1, --verbose=1 -v2 
    or --verbose=2 option.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-03-25 12:02:03 -05:00
Jonathan Kim
4147de8d02 [svn-r20294] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the 
    different set of attributes (different number and names)

Description:
    Previously h5diff compared attributes correctly only when two objects have 
    the same number of attributes and attribute names are identical.
    This fix covers all other cases.
    Also didn't display useful information about attribute difference.
    This fixes both issues.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-03-22 10:47:07 -05:00
Jonathan Kim
f845e716bc [svn-r20274] Purpose:
Fixed Bug 2214 - GMQS: h5diff - memory leak in diff()

Description:
    Memory leaks occurred when accessing symbolic links with --follow-symlink
    option. 
    Test cases are in testing script. (400 - 456, 501 - 518)
    An example test : valgrind  --leak-check=full  h5diff --follow-symlinks -v h5diff_softlinks.h5 h5diff_softlinks.h5

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
2011-03-18 15:13:16 -05:00
Jonathan Kim
d697acbfb5 [svn-r20270] Purpose:
Improve the previous fix for Bug 2216 - GMQS: h5diff - memory leak when 
    compares vlen string in dataset or attributes

Description:
    Improve the fix along with the previous checkin r20266.
    Add a new function to tool lib, h5tools_detect_vlen_data() which return 
    TRUE if include any kind of vlen data all at once, either VLEN-data or 
    VLEN-string and so on.
    Also updated h5ls and h5dump code accordingly.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
2011-03-18 13:50:19 -05:00
Jonathan Kim
af499b53eb [svn-r20231] Purpose:
Fixed Bug 1904 - h5ls : usage of '-a' option is not clear to display expected output

Description:
    Fixed incorrect content and improved help page for -a option of h5ls.
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Cmake (jam)
2011-03-11 10:48:24 -05:00
Albert Cheng
35e5cce530 [svn-r20226] Entered known problem of --with-mpe does not work with mpich2. 2011-03-10 14:11:02 -05:00
Allen Byrne
3a2d132d79 [svn-r20224] Add enable-error-stack option to new features-tools section.
Enable h5stat tests for valgrind testing.
2011-03-10 08:54:21 -05:00
Peter Cao
d9f4633983 [svn-r20223] Adding notes for fixing h5dump bug on -y -o options. 2011-03-10 08:38:42 -05:00
Jonathan Kim
8245bf1572 [svn-r20203] Purpose:
Fix Bug 2120 - h5copy: improve to copy an object into same HDF file

Description:
    Before the fix users can't copy an object (dataset or group) with 
    different name if input file (-i) and output file (-o) is same.   
    This feature would be useful to clone any object with different name and 
    reuse contents.
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-03-08 15:17:17 -05:00
Jonathan Kim
0619b155aa [svn-r20188] Purpose:
Fixing Bug 2161 - GMQS: h5dump - only on Windows, skip displaying a data value every a certain lines in array type dataset

Description:
    Fixed h5dump for skipping some values for long array type dataset on 
    Windows. This issue only occurred on Windows due to the different 
    return behavior from _vsnprintf() funtion.
     
Tested:
 Windows, jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-03-04 11:21:26 -05:00
Raymond Lu
4f75c8c24b [svn-r20121] Bug 1586 - the datatype handler created with H5Tencode/decode had the reference count 0. I fixed it by changing the APP_REF parameter of H5I_register from FALSE to TRUE and added a test case in dtypes.c.
Tested on jam, heiwa, and amani.
2011-02-18 14:01:34 -05:00
Neil Fortner
45093b00f9 [svn-r20113] Add note to RELEASE.txt about external file cache. 2011-02-17 11:26:29 -05:00
Jonathan Kim
bb294c2b1e [svn-r20108] Purpose:
Fixing Bug 2092 - h5dump does not display index for a dataset

Description:
    h5dump skip displaying array indices every certain number when the 
    array type dataset is relatively big. The certain number varies 
    according to the size of each array. 
    This checkin fix the skipping array indices problem. This fix also
    correct indentation of the dataset data output.
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-02-15 14:28:48 -05:00
Albert Cheng
1c625e6ad9 [svn-r20095] Removed AIX 5.3 and Cray xt3, added AIX 6.1 as supported platforms. 2011-02-13 02:25:35 -05:00
Neil Fortner
2134048e82 [svn-r20089] Add note to known problems section of RELEASE.txt about run-all-ex.sh on Cygwin.
Tested: kwrite
2011-02-11 16:24:10 -05:00
Albert Cheng
6509e1056d [svn-r20076] Updated for the adding of mpicc/mpif90 as default parallel compiler commands
for linux systems.
2011-02-09 16:07:29 -05:00
Neil Fortner
b5ed119e7c [svn-r20032] Add bug number to RELEASE.txt 2011-02-02 10:05:03 -05:00
Neil Fortner
73d58f8b3c [svn-r20029] Purpose: Fix bug 2131
Description:
When using the scale-offset filter with floating point data or fill values, big
endian machines would save some metadata in the wrong byte order.  This caused
such datasets to yield incorrect data when read on little endian machines.
Fixed the scale-offset filter to always save this metadata in the right byte order (i.e. little endian).

Tested: jam, amani, heiwa (h5committedt); fedora, linew
2011-02-02 09:41:49 -05:00
Neil Fortner
c5988b31d3 [svn-r19967] Add note on parallel failures to RELEASE.txt 2011-01-19 10:51:20 -05:00
Jonathan Kim
562ba69f35 [svn-r19892] Purpose:
Bug 2089 - GMQS: h5diff segfault on a compound dataset with fixed length + 
    vlen string type order

Description:
    This is fix for the segfault when h5diff compares a compound dataset with 
    combination of fixed length string types and vlen string types in certain 
    orders. Optimized vlariable length string handling codes. The fix is 
    referred from h5dump handling vlen strings. 
    For testing, several compound datasets were added with various combinations.
    Previous failed cases:
     - Vlen string, Fixed length string, Vlen string, Fixed length string
     - Fixed length string, Fixed length string, Vlen string, Vlen string
     - Fixed length string, Vlen string, Fixed length string, Vlen string
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2010-12-28 13:08:40 -05:00
Albert Cheng
192339db91 [svn-r19816] Bug 2091: updated with the removal of Metraowerks compiler code. 2010-11-17 18:25:56 -05:00
Mike McGreevy
8897a3dcbd [svn-r19808] Purpose:
Add "--enable-unsupported" configure flag.

Description

    The "--enable-unsupported" configure flag allows a user to
    prevent configure from failing due to the use of incompatible
    options, such as c++ with parallel.

    Specifying --enable-unsupported will bypass all of configure's
    checks for incompatible and unsupported combinations of flags. 
    There are no guarantees that the library will be configured
    in any sort of working condition, but that's the risk of
    using the --enable-unsupported flag.

    I've changed all default error messages related to unsupported
    option combinations to indicate that using --enable-unsupported
    will allow configure to complete without error.

Tested:

    by hand on jam, tested all unsupported configure option 
    combinations with and without the new flag, making sure
    the flag allows configure to finish without error. 
    (h5committest wouldn't do any good here; it won't test
    the new option, and since we're enabling unsupported
    combinations, failures are likely to occur in build or
    tests with --enable-unsupported turned on anyways. 
    That's why they're unsupported!)
2010-11-17 13:07:51 -05:00
Mike McGreevy
39e3974628 [svn-r19798] Purpose:
Add additional error checking to catch erroneous user input.

Description:

    Attempting to retrieve a links's name by index in the case
    where the link is external and the file that the object is
    located in doesn't exist was causing a segmentation fault
    (in production) and an assertion failure (in debug).

    The segfault wasn't occuring until the metadata accumulator
    attempted a write, so I've added error checking higher in
    the pipeline in H5O_protect (where there was previously just
    an assert) to catch this. I've also added additional asserts
    in the H5F layer where there were none.

    Additionally, I added another case to the links.c test to
    test that this fails gracefully instead of segfaulting or 
    asserting out.

Tested:

    h5committest and gandalf (mac os x)
2010-11-17 10:08:33 -05:00
Jonathan Kim
40d56dd20c [svn-r19757] Purpose:
Improve h5diff performance.

Description:
    The following changes for improving h5diff performance:
    1) use HDmemcmp() before comparing each elements 
       (memcmp() is very fast at both linew and jam)
    2) replace the expensive H5Tequals() calls
    3) retrieve datatype information at dataset level not each element level 
       for compound datasets


Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2010-11-11 10:23:44 -05:00
Jonathan Kim
40b3a8dee9 [svn-r19751] Purpose:
Fixed Bug# 1979 Output from h5ls -rdlS on nested compound datatypes is 
    difficult to parse.

Description:
    Update to add curly brackets for the nested compound members, when
    S (--simple) option is used with -l (--label), so user can tell 
    which members blong to which compound type.


Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32)
2010-11-09 16:13:53 -05:00
HDF Tester
97a3d197e1 [svn-r19740] Snapshot version 1.9 release 79 2010-11-07 08:31:35 -05:00
Jonathan Kim
e45cfcb9ee [svn-r19712] Purpose:
Fixed h5diff to handle variable-length strings in a compound dataset 
    correctly. Also variable-length string array in a compound dataset.
    Bug #1989.
    

Description:
    Garbage values were displayed when h5diff compared variable-length 
    strings (or string array) in a compound type dataset. 


Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (Mac32)
2010-11-02 11:39:42 -05:00
HDF Tester
398aaea3e6 [svn-r19701] Snapshot version 1.9 release 78 2010-10-31 09:11:50 -05:00
HDF Tester
2efc06789a [svn-r19666] Snapshot version 1.9 release 77 2010-10-24 09:12:06 -05:00
Jonathan Kim
e926608485 [svn-r19633] Purpose:
Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.

Description:
 Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.

Tested:
 jam, amani, heiwa
2010-10-18 18:06:53 -05:00
Jonathan Kim
07a4684190 [svn-r19605] Purpose:
Backout the previous changes (r19598):
 (Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.)

Description:
 Some failure occurred on talwit, so backout the changes and will put it back 
 after the fix.
 (Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19598.)
2010-10-14 19:17:51 -05:00