summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r24194] Don't add hdf5 library dependencies to lib files when ↵Larry Knox2013-09-241-0/+1
| | | | | | --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276. Tested with h5committest and on hdf-duck.
* [svn-r24186] Snapshot version 1.9 release 164HDF Tester2013-09-222-3/+3
|
* [svn-r24171] Purpose: Fix problem with gcc 4.8Neil Fortner2013-09-194-122/+125
| | | | | | | | | | | | | | 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)
* [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.Allen Byrne2013-09-193-6/+6
| | | | | | | Add more usage info for UserMacros. Add new option information about the Plugin default path. Tested: local linux, jam
* [svn-r24140] Purpose: Remove problematic abandonment of error stackNeil Fortner2013-09-133-36/+41
| | | | | | | | | | | | | | | 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)
* [svn-r24139] Remove "will never be exectued" warnings in H5detect.cNeil Fortner2013-09-131-42/+74
| | | | Tested: jam, koala, ostrich (h5committest)
* [svn-r24120] HDFFV-8345: plugin test properly checks static-exec result to ↵Allen Byrne2013-09-101-1/+1
| | | | | | include test. Tested: jam
* [svn-r24111] Description:Quincey Koziol2013-09-061-10/+5
| | | | | | | Restrict GCC diagnostic pragmas to only gcc 4.6+ Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
* [svn-r24104] HDFFV-8345: add User Defined filters to h5repack.Allen Byrne2013-09-062-2/+5
| | | | | | Reviewed in H5T-61 Tested: local linux - cmake and autotools
* [svn-r24103] Force NO optimization of H5detect.cAllen Byrne2013-09-062-2/+2
|
* [svn-r24101] Description:Quincey Koziol2013-09-055-48/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r24098] Issue 8500 - H5detect.c has trouble to find info for long ↵Raymond Lu2013-09-041-2/+0
| | | | | | | | | 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.
* [svn-r24095] Issue 8500 - H5detect.c has trouble to find info for long ↵Raymond Lu2013-09-031-0/+2
| | | | | | | | 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.
* [svn-r24092] Snapshot version 1.9 release 163HDF Tester2013-09-012-3/+3
|
* [svn-r24087] Rename the private H5RC (reference count) module to H5UC (Use ↵Mohamad Chaarawi2013-08-3018-100/+106
| | | | | | | | | | | | 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.
* [svn-r24068] Snapshot version 1.9 release 162HDF Tester2013-08-252-3/+3
|
* [svn-r24046] HDFFV-8500: set h5detect compile optimization to -O0Allen Byrne2013-08-211-1/+6
| | | | | | will generate correct H5Tinit.c file. Tested: local gcc 4.8.2 linux
* [svn-r24030] Description:Quincey Koziol2013-08-191-120/+0
| | | | | | | | Clean up more compiler warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24027] merge r 23938 from reduce warnings branch into trunk.Mohamad Chaarawi2013-08-197-0/+39
|\ | | | | | | | | This is the fix for "switch missing default case" warnings in src. Mohamad & Vailin worked on this patch.
| * [svn-r23939] Fix unused variables warnings in trunkNeil Fortner2013-07-2611-188/+177
| | | | | | | | | | | | | | Rename static functions in H5Adense.c, H5B2cache.c, H5Bcache.c Switch these functions to use FUNC_ENTER_STATIC* macros Tested: koala
| * [svn-r23938] remove "switch missing default case" in src.Mohamad Chaarawi2013-07-268-0/+41
| |
| * [svn-r23937] Remove unused param / var warnings and fix ↵Jerome Soumagne2013-07-265-7/+9
| | | | | | | | H5HF_sect_single_dblock_info prototype
* | [svn-r24020] Description:Quincey Koziol2013-08-172-1/+5
| | | | | | | | | | | | | | | | Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* | [svn-r23989] Snapshot version 1.9 release 161HDF Tester2013-08-112-3/+3
| |
* | [svn-r23988] Description:Quincey Koziol2013-08-101-2/+3
| | | | | | | | | | | | | | Make compiler happier and issue less warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
* | [svn-r23987] Merge r23939 from reduce_warning branch to trunkNeil Fortner2013-08-0911-188/+177
| | | | | | | | | | | | | | | | | | | | | | 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
* | [svn-r23985] Merge commit 23937 from reduce_warning branchJerome Soumagne2013-08-095-7/+9
| | | | | | | | | | | | Remove unused param (src) and unused var (hl) warnings Tested on koala
* | [svn-r23968] Snapshot version 1.9 release 160HDF Tester2013-08-042-3/+3
| |
* | [svn-r23926] Snapshot version 1.9 release 159HDF Tester2013-07-212-3/+3
| |
* | [svn-r23895] Snapshot version 1.9 release 158HDF Tester2013-07-142-3/+3
| |
* | [svn-r23889] Description:Quincey Koziol2013-07-112-68/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | [svn-r23865] Snapshot version 1.9 release 157HDF Tester2013-07-072-3/+3
| |
* | [svn-r23862] Change printfs in perform output and h5dump to prevent overflow.Mohamad Chaarawi2013-07-031-1/+2
| | | | | | | | | | | | This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450 Tested on Jam.
* | [svn-r23859] Add const tag to source buffers for H5Dscatter and H5Dgather.Neil Fortner2013-07-022-5/+5
| | | | | | | | Tested: ummon
* | [svn-r23854] HDFFV-8302: Add macros/code function to use coorect Windows ↵Allen Byrne2013-07-013-3/+35
| | | | | | | | | | | | (v)snprintf statement. Also fix use other uses of macros for windows. Tested
* | [svn-r23849] Snapshot version 1.9 release 156HDF Tester2013-06-302-3/+3
|/
* [svn-r23806] Snapshot version 1.9 release 155HDF Tester2013-06-232-3/+3
|
* [svn-r23778] Snapshot version 1.9 release 154HDF Tester2013-06-162-3/+3
|
* [svn-r23745] HDFFV-8461: Add Windows /MT supportAllen Byrne2013-06-101-0/+3
| | | | This adds the UserMacros.cmake support needed.
* [svn-r23741] Snapshot version 1.9 release 153HDF Tester2013-06-092-3/+3
|
* [svn-r23735] HDFFV-8445: unregonized character warning solved by changing ↵Allen Byrne2013-06-051-1/+1
| | | | | | '\/' to '\\'. Tested: Windows
* [svn-r23718] Snapshot version 1.9 release 152HDF Tester2013-05-262-3/+3
|
* [svn-r23717] Description:Quincey Koziol2013-05-231-1/+1
| | | | | | | Fix return value from FAIL to NULL, to match the routines type. Tested on: Mac OSX/64 10.8.3 (amazon)
* [svn-r23715] Bug Fix: HDFFV-8247Joel Plutchak2013-05-221-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [svn-r23713] Description:Quincey Koziol2013-05-2162-1033/+1198
| | | | | | | | | | 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)
* [svn-r23708] Snapshot version 1.9 release 151HDF Tester2013-05-192-3/+3
|
* [svn-r23698] Description:inactive/trunk_merge_coverityQuincey Koziol2013-05-131-330/+254
| | | | | | | | 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)
* [svn-r23695] Description:Quincey Koziol2013-05-115-278/+359
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!) Merge changes from Coverity branch back to trunk: r20684: Fix for coverity bug #1721 which was due to the fix for coverity bug #943. r20685: Use HDstrncpy. --gh r20761: Purpose: Fix valgrind issues Description: Free image_data and data as appropriate in test_image. r20762: Purpose: Fix coverity issue 600 Description: Add check for return value of H5O_close in H5Ocopy. Also cleaned up various warnings. r20763: Purpose: Fix valgrind issues with h5stat Description: Modified h5stat to free "iter" before exit, and free "hand" before exit if parse_command_line exits directly. r20764: fixed coverity issues: 69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80 r20765: Fixed coverity bug 668 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1. I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program. r20766: Fixed coverity bug 667 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN (h5committest upcoming)
* [svn-r23685] Issue 8380 H5Zunregister caused seg fault. I simplied the ↵Raymond Lu2013-05-083-88/+56
| | | | | | iteration process over datasets, groups, and files as Quincey suggested. I also removed H5I_search that I introduced in last commit but didn't actually used it. Tested on jam and koala - simple change.
* [svn-r23675] Issue 8380 - H5Zunregister caused seg fault. This is the ↵Raymond Lu2013-05-061-84/+116
| | | | | | | | | followup commit. Quincey reviewed my previous commit and suggested me to use H5I_iterate to iterate through all opened objects in H5Z_unregister. I changed it in this commit. Tested with h5committest.