Commit Graph

13281 Commits

Author SHA1 Message Date
Albert Cheng
9d1730c534 [svn-r24222] Updated with HDFFV-8271 fix. 2013-09-30 06:54:33 -05:00
Albert Cheng
c52f4442b7 [svn-r24220] Bug ID: HDFFV-8512
Mailing lists instructions are incorrect.

Fix by removing hdf5dev which has long retired (2009). Subscription requests
should be sent to new address due to server change.

Tested: tried to subscribe myself and it worked.
2013-09-30 06:51:38 -05:00
HDF Tester
3c4145a82c [svn-r24219] Snapshot version 1.8 release 12 (snap18) 2013-09-29 17:03:42 -05:00
Binh-Minh Ribler
558c30c879 [svn-r24217] Description:
Added
	./c++/src/H5Location.cpp
	./c++/src/H5Location.h
    Verified with bin/chkmanifest.
2013-09-29 01:13:58 -05:00
Binh-Minh Ribler
5478de7645 [svn-r24216] Purpose: Merged changes from trunk
Description from trunk, r22836
    In this bug, H5File doesn't have the ability to create attribute.  The
    following changes will provide that functionality and several others that
    were also missing:
    - Added an abstract class H5Location in between IdComponent and H5Object.
    - New class structure of IdComponent, H5Location, H5Object, H5File
                                IdComponent
                                     |
                                H5Location
                                /        \
                        H5Object        H5File
    - Wrappers in H5Object were moved to H5Location because the related C
      functions take either file, group, dataset, or named datatype ID.
    - Added wrapper for H5Rget_obj_type2
    - Added tests for file attributes and H5Rget_obj_type2 wrapper

Description from trunk, r22845
    Fixed miscellaneous inconsistencies and typos, which also took
    care of the failure in Packet Table test on daily test today.

Description from trunk, r24143
    Fixed comments, documentation, and mis-matched DOXYGEN_SHOULD_SKIP_THIS pairs.

Description from trunk, r24188
    - The failure in daily test was caused by missing initialization of member
    "id" in a few constructors.  This is now fixed.
    - Added two overloaded H5Location::setComment
    - Improved some error reporting in H5Location
    - Improved error reporting in tests

Description from trunk, r24189
    Changed header guards from single underscore to double underscore.

Platforms tested:
    SunOS 5.11 (emu)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-28 23:34:31 -05:00
Albert Cheng
252ed47f9b [svn-r24215] Bug fix: HDFFV-8271 Big.c error in address generated by random number.
Description:
There is a bug in the current big.c tests. In a nut-shell,
the writing part randomly picks 50 locations and write 4KB
from that location. Random location range is from byte 0
to end of dataset. There is the problem--if the random location
is greater than (end of dataset - 4KB), then error.

Solution:
Adjust the random number to be at least 4KB less than the end of the
dataset. That allows it write 4KB more from the generated starting
position.

Also put in a proper error message if unexpected switch values happened.

Tested: h5comittest plus jam serial build and test.
2013-09-28 15:41:41 -05:00
Binh-Minh Ribler
985d16da9f [svn-r24213] Description:
Added
	./c++/examples/h5tutr_cmprss.cpp
	./c++/examples/h5tutr_crtatt.cpp
	./c++/examples/h5tutr_crtdat.cpp
	./c++/examples/h5tutr_crtgrpar.cpp
	./c++/examples/h5tutr_crtgrp.cpp
	./c++/examples/h5tutr_crtgrpd.cpp
	./c++/examples/h5tutr_extend.cpp
	./c++/examples/h5tutr_rdwt.cpp
	./c++/examples/h5tutr_subset.cpp
    Verified with bin/chkmanifest
2013-09-28 09:36:23 -05:00
Binh-Minh Ribler
72fcefd24f [svn-r24212] Purpose: Added tutorial examples
Description:
    Merged changes from the trunk.
    + Revisions 24174:
        - Added tutorial examples that Barbara made following the C tutorial examples.
          They will be configured for daily test.
    + Revision 24195
        - Improved format/comments in tutorial examples
        - Added them to Makefile.* and run-c++-ex.sh.in
Platforms tested:
    SunOS 5.11 (emu)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
    Tested the examples by running the script run-c++-ex.sh
2013-09-27 21:36:32 -05:00
Neil Fortner
cd90900d88 [svn-r24209] Port r24171 from trunk to 1.8 branch.
Tested: jam, koala, ostrich, platypus (h5committest)

Log from r24171:
Purpose: Fix problem with gcc 4.8

Description:
With optimization enabled, gcc 4.8 inserts garbage into the padding bytes of
floating point types when assigning from a literal constant.  This caused
problems when H5detect.c scanned the bits in floating point types to determine
their properties.

Modified H5detect.c to scan for padding before further analyzing the type, and
to ignore all information in the padding areas.  Also removed code that
temporarily disabled optimization.

Tested: jam, koala, ostrich, platypus (h5committest)
2013-09-27 10:35:44 -05:00
Allen Byrne
b3b29e4485 [svn-r24206] Fix warning message from missing if in configure 2013-09-27 09:01:48 -05:00
Allen Byrne
deddc7f955 [svn-r24205] Merge HDFFV-8513/8522 from trunk (via cmake branch), h5repack UD plugins.
Also warning session fixes.

Tested: CMake local linux
2013-09-26 17:10:54 -05:00
Neil Fortner
e2dfb53df7 [svn-r24204] Port r24140 from trunk to 1.8 branch.
Tested: jam, koala, ostrich, platypus (h5committest)

Log from r24140:
Purpose: Remove problematic abandonment of error stack

Description:
H5Fis_hdf5 uses H5F_locate_signature to check if the file is hdf5.  If it does
not locate the signature, H5F_locate_signature would issue an error and return
HADDR_UNDEF.  H5Fis_hdf5 does not consider it an error if the signature is not
found, so it does not issue an error or clear the stack.  The filled stack could
then cause issues later on.

Changed H5F_locate_signature to return herr_t, not issue an error if the
signature is not found, and added a parameter for a pointer to the signature
address that the function fills in.

Tested: jam, koala, ostrich (h5committest)
2013-09-26 16:51:35 -05:00
Neil Fortner
dd1f4e14c9 [svn-r24203] Port r24139 from trunk to 1.8 branch.
Tested: jam, koala, ostrich, platypus (h5committest)

Log from r24139:
Remove "will never be exectued" warnings in H5detect.c

Tested: jam, koala, ostrich (h5committest)
2013-09-26 16:14:14 -05:00
Larry Knox
497234f8e3 [svn-r24201] Merged changes from trunk revisions 23431, 23527 and 24077.
Switched default to link to shared lib files when HDF5 is configure with --disable-static.
This addressed HDFFV-8141, h5cc failed because it defaulted to link to lib*.a files which
aren't built with --disable-static.
-help message also updated.

Tested in trunk.
Merged code tested with h5committest.
2013-09-25 17:04:18 -05:00
Allen Byrne
26039efe65 [svn-r24198] Change Internal CDash site. 2013-09-25 15:03:59 -05:00
HDF Tester
67a867235c [svn-r24187] Snapshot version 1.8 release 12 (snap17) 2013-09-22 17:25:30 -05:00
Allen Byrne
c06b0170f7 [svn-r24180] HDFFV-8321:Add note about changing FFLAGS to FCFLAGS in configure.
Merged INSTALL and h5fc.in from trunk.
2013-09-20 15:36:57 -05:00
Raymond Lu
da55074394 [svn-r24169] I updated these files for the support information of OpenVMS.
No test is needed.
2013-09-19 11:58:06 -05:00
Allen Byrne
378f40be26 [svn-r24165] Correct Info.plist settings 2013-09-19 08:32:06 -05:00
Allen Byrne
ba21e5b5e3 [svn-r24164] Add documentation on usage. 2013-09-19 08:22:59 -05:00
Allen Byrne
cbe069269b [svn-r24158] Add back STGZ packaging - .sh compressed package
Correct MAC Info.plist vars
2013-09-18 16:59:34 -05:00
Neil Fortner
b809481c42 [svn-r24156] Port r23987 from trunk to 1.8 branch.
Tested: jam, koala, ostrich, platypus (h5committest)

Log from r23987:
Merge r23939 from reduce_warning branch to trunk

Tested: jam, koala, ostrich (h5committest)

Log from r23939:
Fix unused variables warnings in trunk
Rename static functions in H5Adense.c, H5B2cache.c, H5Bcache.c
Switch these functions to use FUNC_ENTER_STATIC* macros

Tested: koala
2013-09-18 16:53:21 -05:00
Raymond Lu
dd955dcfe2 [svn-r24155] There are 4 cases need new function to handle them. I change the script to run them temporarily
with TOOLTEST to check the metadata part and left out the data part.

Tested on VMS.
2013-09-18 16:06:54 -05:00
Raymond Lu
020340b041 [svn-r24150] Somehow, the C++ compiler doesn't like the list of source files. I seperated them.
Tested on OpenVMS.
2013-09-17 16:58:28 -05:00
Raymond Lu
5338b7e2dc [svn-r24149] I updated these files and tested them on OpenVMS. 2013-09-17 16:33:47 -05:00
Allen Byrne
8db0b1ddd0 [svn-r24130] Change option name for WDTP 2013-09-12 14:14:49 -05:00
Raymond Lu
2c513511b3 [svn-r24121] OpenVMS converted the value of zero in char or short to negative zero in long double. I made it warning instead of
failure.  

Tested on jam and Boeing OpenVMS - simple change.
2013-09-10 14:12:40 -05:00
Quincey Koziol
afd08f7523 [svn-r24117] Description:
Revert accidental checkin of a patch that disables file truncation for
parallel I/O.

Tested on:
    MacOSX/64 10.8.4 (amazon)
2013-09-09 15:03:36 -05:00
Quincey Koziol
38e0563a6e [svn-r24112] Description:
Bring r24101 & 24111 from trunk to 1.8 branch:

r24101:
=======
Description:
    Clean up warnings, enable new compiler warning flag(s) and bring back
changes from Coverity branch:

    r20813:
        Remove the dead code as listed for coverity bug #1722. h5committested.

    r20814:
        Issue 69: Check return value and throw error if negative return. Also free datatype id on error

    r20815:
        Use HDstrncpy. --gh

    r20816:
        Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832.

    r20817:
        Use HDstrncpy and HDstrncat. --gh

    r20818:
        Purpose: Fix valgrind issues with h5jam

        Description:
        Modified h5jam to free strings strdup'd in parse_command_line before exit. Note
        that they may still not be freed in case of error, due to the widespread use of
        exit().

    r20819:
        Issue 80: change loop to use int as loop index.

    r20820:
        Maintenance: Fixed the bug found by coverity CID 788
        There were two problems with this function:
            1) it tried to unnecessary free NULL pointer
        2) it tried to allocate c_name buffer that is done by H5Pget_class_name

r24111:
=======
Description:
   Restrict GCC diagnostic pragmas to only gcc 4.6+


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-06 14:09:07 -05:00
Allen Byrne
ad7d03103d [svn-r24108] Remove file from the future. 2013-09-06 12:57:57 -05:00
Allen Byrne
35b22a13a8 [svn-r24106] Add help text tests for h5dump and h5repack to the linux scripts. HDFFV-8498 merge from trunk.
Tested: local linux - cmake and autotools
2013-09-06 12:28:26 -05:00
HDF Tester
3d7776ffee [svn-r24093] Snapshot version 1.8 release 12 (snap16) 2013-09-01 16:48:36 -05:00
Allen Byrne
4667b6ee4f [svn-r24084] Correct merge mistake 2013-08-29 08:48:24 -05:00
Raymond Lu
e97a9fcd8e [svn-r24082] I added a new file hdf5/vms/tools/h5diff/remove_exit.sh but forgot to update MANIFEST. 2013-08-28 16:04:14 -05:00
Raymond Lu
b49b9e0273 [svn-r24081] This script removes the "EXIT CODE" line in the end of all standard output files. OpenVMS doesn't output the
same value as Unix.  So we remove the line first on Unix before running the tests.  See Jira issue VMS-4.

Tested on jam.
2013-08-28 15:07:50 -05:00
Raymond Lu
9e0fcdc397 [svn-r24080] Since dtransform.c uses H5T_conv_i_f and H5T_conv_f_i, I added them back for OpenVMS. But I took out the test case in dtransform.c which has problem. See Jira issue VMS-8.
Tested on jam.
2013-08-28 14:35:34 -05:00
Raymond Lu
55c2af580c [svn-r24079] I skipped the links_env.c test in C test suite due to the time concern. Please see Jira issue VMS-2.
Not tested yet.
2013-08-27 14:03:20 -05:00
Allen Byrne
d1a5033dd4 [svn-r24078] Correct name of windows shared libraries 2013-08-27 09:19:11 -05:00
Raymond Lu
0e548fb251 [svn-r24074] I took out the soft conversion functions H5T__conv_i_f and H5T__conv_f_i for OpenVMS because
they have problem to convert between integers and floating numbers.  I also commented out the test
case in dt_arith.c for OpenVMS.  

Tested on jam - simple change.
2013-08-26 12:11:26 -05:00
Allen Byrne
8194f34ef7 [svn-r24072] Merge trunk cmake changes to 1.8 branch.
Also add default switch blocks to h5import.
Merge h5dump any_path option from trunk.

Tested: local linux
2013-08-26 10:35:15 -05:00
HDF Tester
a17e786cd7 [svn-r24069] Snapshot version 1.8 release 12 (snap15) 2013-08-25 16:48:11 -05:00
Mohamad Chaarawi
b8745fce87 [svn-r24054] merge r 24027 from trunk.
This is the fix for "switch missing default case" warnings in src.
Mohamad & Vailin worked on this patch.
2013-08-22 08:50:21 -05:00
Jonathan Kim
d283a83a49 [svn-r24039] Purpose:
Warning fixes (Jonathan and Peter) from coverity fix.
  merge from r23986 trunk.

Tested: 
    jam-pp (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE)
2013-08-20 16:52:41 -05:00
Quincey Koziol
a33303139e [svn-r24032] Description:
Bring r24030 from trunk to 1.8 branch:

    Clean up more compiler warnings.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN
    (too minor to require h5committest)
2013-08-19 19:55:47 -05:00
Allen Byrne
5c84b51030 [svn-r24024] JAVA-1714: CMake packaging for macs improved
HDFFV-7989: h5dump any_path and help text grouping
Added cygwin-64 support

Merged from trunk, tested local linux
2013-08-19 11:51:32 -05:00
Quincey Koziol
6e58f671ec [svn-r24021] Description:
Bring r24020 from trunk to 1.8 branch:

    Clean up compiler warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-17 19:31:01 -05:00
Quincey Koziol
b5a5441e7c [svn-r24019] Description:
Bring r23988 from trunk to 1.8 branch:

    Make compiler happier and issue less warnings.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
    (daily tested on trunk)
2013-08-17 15:03:41 -05:00
Albert Cheng
a39c7228fb [svn-r24018] Bug fix: HDFFV-8500
The new gcc v4.8.* compilers does not work well with dt_arith which failed
in production mode.

Solution:
A temporary patch by removing any optimization (-O*) from the PROD_CFLAGS
so that dt_arith will pass for now.  A more through investigation is needed.

Tested: Jam, platypus and Koala where it failed and now passes.
2013-08-17 10:58:20 -05:00
Vailin Choi
dd327986b9 [svn-r24014] This checkin is a merge of the checkin for h5stat to the trunk (rev #23975-23977) + an additional bug fix--
A) Fix for HDFFV-1238:
   --Add 3 new options to allow users in setting threshold for small groups/datasets/attributes (tools/h5stat/h5stat.c)
   --Generate new test file for testing the new options (tools/h5stat/h5stat_gentest.c)
   --Add tests for the new options (tools/h5stat/testh5stat.sh.in)
   --Update expected output files (tools/h5stat/testfiles/*.ddl)
B) Fix a bug in determining maximum dimension size for 1-D dataset in dataset_stats() (tools/h5stat/h5stat.c)
C) Fix a bug when using opt_arg that is NULL for the new options.
2013-08-16 14:20:34 -05:00
Quincey Koziol
efb39881a0 [svn-r24012] Description:
Bring r24011 from trunk to 1.8 branch:

    Clean up a few warnings

Tested on:
    Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-15 08:27:24 -05:00