4624 Commits

Author SHA1 Message Date
Allen Byrne
4611f95d4c [svn-r24224] HDFFV-8529: Space separate define strings
Tested: h5committest
2013-09-30 11:52:03 -05:00
HDF Tester
a4ab8b0e1d [svn-r24218] Snapshot version 1.9 release 165 2013-09-29 03:41:59 -05:00
Raymond Lu
421e7549a5 [svn-r24210] Jira issue 8528: H5Fget_obj_ids overfilled the list of object IDs by one. I moved the safeguard in H5F_get_objects_cb
to the beginning of the function to prevent overfill the list.  I added a new test case for this problem and fix in tfile.c.

Tested with h5committest.
2013-09-27 15:15:52 -05:00
Larry Knox
ab239810e1 [svn-r24194] Don't add hdf5 library dependencies to lib files when --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276.
Tested with h5committest and on hdf-duck.
2013-09-23 20:14:24 -05:00
HDF Tester
f9a758f442 [svn-r24186] Snapshot version 1.9 release 164 2013-09-22 04:17:20 -05:00
Neil Fortner
be3a331550 [svn-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-19 13:57:41 -05:00
Allen Byrne
0653325f0d [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.
Add more usage info for UserMacros.
Add new option information about the Plugin default path.

Tested: local linux, jam
2013-09-19 11:38:08 -05:00
Neil Fortner
a80cf34324 [svn-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-13 17:03:22 -05:00
Neil Fortner
309f3e7a23 [svn-r24139] Remove "will never be exectued" warnings in H5detect.c
Tested: jam, koala, ostrich (h5committest)
2013-09-13 16:49:39 -05:00
Allen Byrne
175e82e484 [svn-r24120] HDFFV-8345: plugin test properly checks static-exec result to include test.
Tested: jam
2013-09-10 09:24:34 -05:00
Quincey Koziol
79c8e26fa7 [svn-r24111] Description:
Restrict GCC diagnostic pragmas to only gcc 4.6+

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
2013-09-06 14:03:35 -05:00
Allen Byrne
145f1ce9e3 [svn-r24104] HDFFV-8345: add User Defined filters to h5repack.
Reviewed in H5T-61

Tested: local linux - cmake and autotools
2013-09-06 10:15:50 -05:00
Allen Byrne
ddbc3c841c [svn-r24103] Force NO optimization of H5detect.c 2013-09-06 09:44:55 -05:00
Quincey Koziol
5b876c929f [svn-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


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-05 15:44:14 -05:00
Raymond Lu
a1fe10691c [svn-r24098] Issue 8500 - H5detect.c has trouble to find info for long double with GCC 4.8. A user in the forum found the
problem in H5detect.c (uninitialized buffer) and provided the solution.  I checked it in yesterday.  But it 
turned out to be a false fix.  So I'm back it out.

Tested on jam - reverse of changes.
2013-09-04 17:09:23 -05:00
Raymond Lu
d50c061d38 [svn-r24095] Issue 8500 - H5detect.c has trouble to find info for long double with GCC 4.8. A user in the forum found the
problem in H5detect.c (uninitialized buffer) and provided the solution.  Allen and I verified it.

Tested with h5committest and CMake on jam, koala, ostrich, playtus, and Allen's virtual machine.
2013-09-03 14:39:34 -05:00
HDF Tester
a4294ab3cc [svn-r24092] Snapshot version 1.9 release 163 2013-09-01 03:37:42 -05:00
Mohamad Chaarawi
a3e0aecb22 [svn-r24087] Rename the private H5RC (reference count) module to H5UC (Use Count).
This is needed to avoid a conflict with the Read Context object to be
introduced in another Project.

No impact on users, since this is a private module, and low for
developers as the RC module use is very sparse in the library.

Tested with h5committest.
2013-08-30 12:05:42 -05:00
HDF Tester
ca60bda9fb [svn-r24068] Snapshot version 1.9 release 162 2013-08-25 03:44:51 -05:00
Allen Byrne
6bc36a0c46 [svn-r24046] HDFFV-8500: set h5detect compile optimization to -O0
will generate correct H5Tinit.c file.

Tested: local gcc 4.8.2 linux
2013-08-21 12:12:08 -05:00
Quincey Koziol
482a9c28e7 [svn-r24030] Description:
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 17:13:15 -05:00
Mohamad Chaarawi
fcb21bb3dd [svn-r24027] merge r 23938 from reduce warnings branch into trunk.
This is the fix for "switch missing default case" warnings in src.
Mohamad & Vailin worked on this patch.
2013-08-19 16:36:03 -05:00
Quincey Koziol
308c378ccd [svn-r24020] Description:
Clean up compiler warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-17 15:05:27 -05:00
HDF Tester
407d3db6a4 [svn-r23989] Snapshot version 1.9 release 161 2013-08-11 03:37:02 -05:00
Quincey Koziol
5c3bd21963 [svn-r23988] Description:
Make compiler happier and issue less warnings.

Tested on:
	Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
2013-08-10 13:20:38 -05:00
Neil Fortner
825fe56892 [svn-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-08-09 16:59:14 -05:00
Jerome Soumagne
345e57b0b1 [svn-r23985] Merge commit 23937 from reduce_warning branch
Remove unused param (src) and unused var (hl) warnings

Tested on koala
2013-08-09 16:06:46 -05:00
HDF Tester
f1b5d46cd0 [svn-r23968] Snapshot version 1.9 release 160 2013-08-04 03:35:17 -05:00
Neil Fortner
cd7ba8ad55 [svn-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-07-26 17:14:03 -05:00
Mohamad Chaarawi
69e501fc70 [svn-r23938] remove "switch missing default case" in src. 2013-07-26 12:28:26 -05:00
Jerome Soumagne
cb41664db2 [svn-r23937] Remove unused param / var warnings and fix H5HF_sect_single_dblock_info prototype 2013-07-26 12:05:38 -05:00
HDF Tester
f26b04712e [svn-r23926] Snapshot version 1.9 release 159 2013-07-21 03:38:01 -05:00
HDF Tester
4e12ec74ae [svn-r23895] Snapshot version 1.9 release 158 2013-07-14 03:31:23 -05:00
Quincey Koziol
25fe312b3c [svn-r23889] Description:
Merge changes from Coverity branch to trunk:

r20768:
Switch to snprintf, HDstrncat, HDstrncpy to address coverity issue 832.

r20812:
Use HDstrncpy. --gh

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/debug
    Linux/32 2.4 (jam) w/debug
2013-07-11 17:33:35 -05:00
HDF Tester
3cb8efae13 [svn-r23865] Snapshot version 1.9 release 157 2013-07-07 03:33:31 -05:00
Mohamad Chaarawi
dfcb3cebf1 [svn-r23862] Change printfs in perform output and h5dump to prevent overflow.
This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450

Tested on Jam.
2013-07-03 11:12:32 -05:00
Neil Fortner
259abfa839 [svn-r23859] Add const tag to source buffers for H5Dscatter and H5Dgather.
Tested: ummon
2013-07-02 16:17:16 -05:00
Allen Byrne
53afd20aeb [svn-r23854] HDFFV-8302: Add macros/code function to use coorect Windows (v)snprintf statement. Also fix use other uses of macros for windows.
Tested
2013-07-01 09:23:04 -05:00
HDF Tester
a157eb2f68 [svn-r23849] Snapshot version 1.9 release 156 2013-06-30 03:35:12 -05:00
HDF Tester
6fedfb6124 [svn-r23806] Snapshot version 1.9 release 155 2013-06-23 03:36:24 -05:00
HDF Tester
bdbd06d85d [svn-r23778] Snapshot version 1.9 release 154 2013-06-16 03:34:51 -05:00
Allen Byrne
feb14ea872 [svn-r23745] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed.
2013-06-10 12:46:48 -05:00
HDF Tester
70d440330d [svn-r23741] Snapshot version 1.9 release 153 2013-06-09 03:39:22 -05:00
Allen Byrne
10108d7e30 [svn-r23735] HDFFV-8445: unregonized character warning solved by changing '\/' to '\\'.
Tested: Windows
2013-06-05 12:55:09 -05:00
HDF Tester
177a90f97a [svn-r23718] Snapshot version 1.9 release 152 2013-05-26 03:56:00 -05:00
Quincey Koziol
33bd53a7eb [svn-r23717] Description:
Fix return value from FAIL to NULL, to match the routines type.

Tested on:
    Mac OSX/64 10.8.3 (amazon)
2013-05-23 13:24:57 -05:00
Joel Plutchak
8cc6ceb4e3 [svn-r23715] Bug Fix: HDFFV-8247
Description:
  Failure to write fill values to the user's buffer when reading unallocated
  chunks from datasets that have a fill value set to H5D_FILL_VALUE_DEFAULT.
  A consequence of this was the reporting of spurious data values in h5dump
  and h5diff output.

Solution:
  Added check for fill value of H5D_FILL_VALUE_DEFAULT whenever fill value 
  setting was checked to decide whether or not to fill. This effectively
  treats H5D_FILL_VALUE_DEFAULT the same as H5D_FILL_VALUE_USER rather than
  H5D_FILL_VALUE_UNDEFINED.

Tested:
   h5committest (platypus, ostrich, jam-pp, koala) ran successfully
   (fillval test was modified to reveal and check for this error)

Note: RELEASE.txt was previously changed to reflect this fix. This
checkin was of a cleaner version of the code, but mostly to get this
full log message entered.


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

M    H5Dchunk.c
2013-05-22 15:52:34 -05:00
Quincey Koziol
424a41f878 [svn-r23713] Description:
Clean up warnings, switch library code to use Standard C/POSIX wrapper
macros, remove internal calls to API routines, update checkapi and checkposix
scripts.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    Big-Endian Linux/64 (ostrich)
2013-05-21 12:30:54 -05:00
HDF Tester
c09748b14e [svn-r23708] Snapshot version 1.9 release 151 2013-05-19 03:39:09 -05:00
Quincey Koziol
7922ae388e [svn-r23698] Description:
Revert r23695, which breaks big-endian tests on ostrich, etc.  Will
investigate and submit correction later.

Tested on:
    BE & LE Linux systems (ostrich, koala, jam, emu)
2013-05-13 13:16:01 -05:00