Commit Graph

12920 Commits

Author SHA1 Message Date
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
Allen Byrne
4a51e83e60 [svn-r24010] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive). 2013-08-14 13:09:08 -05:00
Allen Byrne
6155473c38 [svn-r24009] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive). 2013-08-14 12:23:17 -05:00
Allen Byrne
82642132ba [svn-r23995] Correct printf % handling 2013-08-12 15:54:14 -05:00
Raymond Lu
aa8d6d403c [svn-r23993] I used the macro H5_HAVE_FILE_VERSIONS to skip three test cases for file creation on OpenVMS.
OpenVMS creates another version of the file when a file is created for the second time, making
the test cases invalide.

Tested on OpenVMS and jam - simple change.
2013-08-12 15:11:51 -05:00
Allen Byrne
a003143ded [svn-r23992] HDFFV-8490 and H5UNJAM file handling. Merge from trunk.
Tested: local linux
2013-08-12 14:54:49 -05:00
HDF Tester
ca0bd915db [svn-r23990] Snapshot version 1.8 release 12 (snap14) 2013-08-11 16:48:09 -05:00
Allen Byrne
51651038cf [svn-r23982] Add "_" to VS define. 2013-08-09 14:00:49 -05:00
Allen Byrne
1aa65f1f02 [svn-r23970] malloc of char array needs array deallocation.
Merged from trunk.
2013-08-05 09:27:01 -05:00
HDF Tester
12f927462f [svn-r23969] Snapshot version 1.8 release 12 (snap13) 2013-08-04 16:43:00 -05:00
Larry Knox
cdef147e6e [svn-r23965] Corrected "continuous" layout to "contiguous" in h5repack -h output and comment.
Jira issue HDFFV-8493.

No test - text only change.
2013-08-02 16:31:01 -05:00
Binh-Minh Ribler
548f859749 [svn-r23956] Description:
Took out a work-around line left by accident.
Platform tested:
    Linux/32 2.6 (jam) with GNU compilers
2013-07-31 15:46:26 -05:00