summaryrefslogtreecommitdiffstats
path: root/hl
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24980] HDFFV-8290: Merge automake 1.14.1 changes from trunkAllen Byrne2014-04-0726-952/+6188
| | | | Tested: h5committest
* [svn-r24906] Merge latest CMake changes from trunk.Allen Byrne2014-03-2620-249/+265
| | | | Tested: local linux
* [svn-r24894] Description:Quincey Koziol2014-03-255-18/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24869 & r24875 from trunk to 1.8 branch: Clean up more compiler warnings, plus merge a few Coverity bug fixes from the hdf5_1_8_coverity branch back to the trunk: r20877: Purpose: Fix coverity issue 1723 Description: Modified test_generate in hl/test_image to close file "f" before exit, even if an error occurs. r20879: Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go futher if call fails as well as empty. r20881: Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether FLAG_PRINTED is TRUE. But it had just been set to FALSE. I took out the condition check in the print statement. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel (daily tested on trunk)
* [svn-r24878] Description:Quincey Koziol2014-03-2414-14/+0
| | | | | | | | | | | | | | | | | | | | | Bring r24864 from trunk to 1.8 branch: Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial (daily tested on trunk)
* [svn-r24810] Description:Quincey Koziol2014-03-174-83/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24803 & r24804 from trunk to 1.8 branch: r24804: Brought changes from Coverity branch back to trunk, and cleaned up misc. other warnings & formatting issues: r20833: Fixed Coverity 667 and 668 with real integer overflow tests this time. r20834: Use HDstrncpy and HDstrncat. --gh r20835: Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159 r20836: Fixed coverity 585 by casting output of fgetc() to a char. r20837: Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967. r24803: Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from src/H5private.h to src/H5public.h. Wrap typedef of hsize_t and hssize_t in DIAG_OFF(long-long) macros. Clean up a bunch of "macro '-' is unused" warnings. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r24785] Description:Quincey Koziol2014-03-122-117/+42
| | | | | | | | | | | | | Bring r24769 & r24772 from trunk to 1.8 branch: Check in Mohamad's changes to support collective I/O on point selections, along with some other minor cleanups. Correct some dynamically sized arrays that fail on Windows. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel (And has been through the daily test regime on the trunk)
* [svn-r24732] Fix for reconfigure, which fails because ↵Larry Knox2014-02-2214-0/+14
| | | | | | LT_ADD_LIBHDF5_DEPENDENCY is used in Makefiles but the declaration in configure.ac is missing. Copied declaration from trunk. Tested with h5committest on jam ostrich koala and platypus(cmake).
* [svn-r24728] Description:Quincey Koziol2014-02-211-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24726 & r24727 from trunk to 1.8 branch: Description: Revert some earlier usage of strncpy, which was incorrect. Bring Coverity changes from branch back to trunk: r20821: Use HDstrncpy. --gh (Fixed already, with strdup) r20822: (Not merged, incorrect use of HDstrncpy()) r20823: (Not merged, incorrect use of HDstrncpy()) r20824: Maintenance: Bug fix: addressed CID 666. Value stored at *expression_len should be used in the call to HD5packFstring to avoid overflow (and unnecessary arithmetic calculation and casting) r20825: Issue 642: Added check for error and handler with print to stderr and exit. r20826: Undo revision 20818, as that issue has already been fixed in the 1.8 branch and trunk (but not coverity branch) r20827: (Not merged, incorrect use of HDstrncpy()) r20828: Use HDstrncpy. --gh (Corrected use of strncpy()) r20829: Check return of H5Lget_val(print_udata->fid, path, targbuf, linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0. Check if H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL, &filename, &objname) was successful and allow print. Otherwise filename and objname are not created. (init those to NULL) r20830: resolved coverity issues 939, 940, 941, 944, and 947. all were complaints about use of sprintf, and in all cases, the buffers used were large enough for all eventualities. Resolved issue by replacing calls to sprintf with calls to snprintf. r20831: Maintenance: Addressed CID 852 Replaced sprintf with snprintf r20832: Purpose: Fix valgrind issues with hl/examples/ex_image2 Description: Modified hl/examples/ex_image2 to free global "gbuf" before exit. Tested on: Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety (too minor to require h5committest)
* [svn-r24684] Add IF SHARED block around Windows PDB file generation command.Allen Byrne2014-02-043-7/+10
|
* [svn-r24393] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-015-4/+48
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autotools
* [svn-r24259] Maintenance: Updated version number to 1.8.13-snap0; cleaned up ↵Elena Pourmal2013-10-073-3/+3
| | | | | | RELEASE.txt for new info. The 1.8 branch is open now for code changes.
* [svn-r24072] Merge trunk cmake changes to 1.8 branch. Allen Byrne2013-08-2614-153/+245
| | | | | | | Also add default switch blocks to h5import. Merge h5dump any_path option from trunk. Tested: local linux
* [svn-r24032] Description:Quincey Koziol2013-08-201-1/+1
| | | | | | | | | | 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)
* [svn-r24021] Description:Quincey Koziol2013-08-185-18/+7
| | | | | | | | | | 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)
* [svn-r24012] Description:Quincey Koziol2013-08-151-1/+1
| | | | | | | | | | 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)
* [svn-r23869] HDFFV-8302: replace (v)snprintf with _(v)snprintf for windows. ↵Allen Byrne2013-07-088-53/+112
| | | | | | | | Merge from trunk along with other windows functions and HD prefix corrections. HDFFV-8394: Add cmake code to package examples Tested: local linux
* [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.Allen Byrne2013-06-1410-7/+18
| | | | Tested: local linux
* [svn-r23696] Description:Quincey Koziol2013-05-111-68/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r23695 from trunk to 1.8 branch: 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-r23687] Bug fix: HDFFV-8435Albert Cheng2013-05-093-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Need to update libtool version number for v1.8.11 since two functions, H5Pget_dxpl_multi and H5Pset_dxpl_multi were removed. Then v1.8 is now v1.8.12-xxx and needed an update to. config/lt_vers.am: libtool information is changed to 8.0.1 because it is a revision different from v1.8.10. configure: src/Makefile.in: hl/src/Makefile.in: hl/c++/src/Makefile.in: hl/fortran/src/Makefile.in: c++/src/Makefile.in: fortran/src/Makefile.in: README.txt: autogenerated by bin/reconfiure. Tested: h5committest, then visual inspect that the libhdf5.so.x.y.z is changed accordingly. Built in duck by hand and see it changes to libhdf5.8.dylib too.
* [svn-r23629] HDFFV-8368: Merge removal of include sub-folders from trunkAllen Byrne2013-04-252-3/+3
|
* [svn-r23598] Description:Quincey Koziol2013-04-171-404/+290
| | | | | | | | | | | Bring r23597 from trunk back to 1.8 branch: Bring r20683 from Coverity branch back to trunk: Isues 1309-1333: Changed strcpy/strcat to strncpy/strncat with maximum size expe Tested on: Max OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
* [svn-r23567] Post v1.8.11 branch-off, changed version to 1.8.12-snap0.Albert Cheng2013-04-093-3/+3
| | | | | | Reset RELEASE.txt for next release (1.8.12). Tested: h5committest.
* [svn-r23413] Add test depends on clear test. Occasional failures.Allen Byrne2013-03-211-0/+7
|
* [svn-r23324] Snapshot version 1.8 release 11 (snap11)HDF Tester2013-03-0414-14/+14
|
* [svn-r23291] brought r23241 into the branch.Scot Breitenfeld2013-02-183-11/+9
| | | | | Fix for: HDFFV-7596 H5DSget_scale returns size that includes NULL termination and H5DSget_label returns size NOT including NULL termination
* [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. ↵Allen Byrne2013-01-3113-13/+13
| | | | | | This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support. Tested: local linux
* [svn-r23182] I'm merging the changes for DECTRIS project from the trunk ↵Raymond Lu2013-01-2113-19/+2029
| | | | | | (r23162). Tested on koala, jam, ostrich.
* [svn-r23122] Brought revisions from the trunk into the branch:Scot Breitenfeld2012-12-3115-271/+13
| | | | | | | r23116-23118 : HDFFV-2686: Remove the ptExampleVL.c example from the source code HDFFV-422: Change extention of the binary files from hdf5 to h5 Tested: jam (gnu)
* [svn-r23112] Brought revision 22610 from the trunk to the branch:Scot Breitenfeld2012-12-202-2/+125
| | | | | | svn merge -r 22609:22610 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/hl . Fixes bug HDFFV-8055 (and HDFFV-8278)
* [svn-r22916] Description:Quincey Koziol2012-10-171-47/+53
| | | | | | | | | | | | | | | | | | | | | | | | | Bring r22915 from trunk to 1.8 branch: Bring Coverity changes back to trunk: r20399: Change parse_command_line to free hand structure on error and only "leave()" at end of main. r20400: Purpose: Fix coverity issue 592 Description: Added void cast to call to H5F_sfile_assert_num() in H5F_term)interface(). There is no need to check the return value of this function in general, and there would be nothing to do even if it did fail. r20401: Added free(src_sizes) and free(src_offset). --gh Tested on: Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, threadsafe (too minor for h5committest)
* [svn-r22892] Increment release branch for future release (v1.8.11).Albert Cheng2012-10-123-3/+3
| | | | | | Set version number to 1.8.11-snap0. Clear out RELEASE.txt to hold 1.8.11 changes Update version references in RELEASE.txt
* [svn-r22821] Issue 8164 - test_image.c printed an extra "FAILED" after it ↵Raymond Lu2012-09-271-1/+1
| | | | | | | | succeeded. A test function doesn't return 0 after it succeeds. It goes down to the error handling branch and prints "FAILED". The fix is adding "return 0;" in the end of the function. Tested on jam - simple change.
* [svn-r22788] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate ↵Allen Byrne2012-09-191-0/+5
| | | | | | variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders Tested: local
* [svn-r22776] HDFFV-8129: upgrade autotoolsAllen Byrne2012-09-172-2/+2
| | | | | Merge Trunk changes to 1.8 Tested: h5committest
* [svn-r22768] Description:Quincey Koziol2012-09-172-154/+198
| | | | | | | | | | | | | | | | | | | | Bring r22765 from trunk to 1.8 branch: Propogate Coverity changes to trunk, also fix compiler warnings and other minor code cleanups. (QK & JK) r20393: (Not directly propogated, since trunk also had a similar fix) Move initialization ocrt_info.new_obj = NULL; before FUNC_ENTER_NOAPI -- gh r20397: Added free(src_sizes) --gh r20398: Added free(src_offset). --gh Tested on: Mac OSX/64 10.7.4 (amazon) w/debug, parallel, FORTRAN & C++ (h5committest forthcoming)
* [svn-r22757] Issue 8140 - return value is missing for H5LTyyerror in ↵Raymond Lu2012-09-132-15/+26
| | | | | | | | H5LTanalyze.l. I merged the fix from the trunk. I put "return 0" in because the program should continue even though there is an error. Tested on jam - simple change.
* [svn-r22756] When Scot Breitenfeld committed his test function ↵Raymond Lu2012-09-121-1/+4
| | | | | | | | test_valid_path in r22206 6 months ago, he replaced test_text_type function with his function, thus skipped test_text_type test. I'm restoring it back in this checkin. Tested on jam - simple change.
* [svn-r22724] Convert tests to *.sh.in.Allen Byrne2012-08-2819-229/+243
| | | | | | | | Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
* [svn-r22719] Fix RelWithDebInfo packagingAllen Byrne2012-08-281-1/+1
| | | | Tested: windows
* [svn-r22711] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, ↵Larry Knox2012-08-2314-661/+1262
| | | | | | libtool 2.4.2 Tested THG machines.
* [svn-r22647] Description:Quincey Koziol2012-08-091-2/+5
| | | | | | | | | | | Bring r22646 from trunk to 1.8 branch: Changes resulting from Klocwork static analysis tool, from Mark Miller @ LLNL (miller86@llnl.gov). Tested on: Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x (too minor to require h5committest)
* [svn-r22488] Snapshot version 1.8 release 10 (snap4)HDF Tester2012-06-251-3/+3
|
* [svn-r22485] Description:Quincey Koziol2012-06-231-3/+3
| | | | | | | | | | | | | | Merge r22484 from trunk to 1.8 branch: Copy the file image test file from the source directory to the build directory, instead of trying to open the [in-memory] file R/W. Also, clean up a few other test files that were left lying around from other tests. Tested on: MacOSX/64 10.7.4 (amazon) w/debug Too minor to require h5committest
* [svn-r22475] Remove subfolder tools from install commandAllen Byrne2012-06-191-1/+1
|
* [svn-r22451] Brought cmake configuration / configure changes from Trunk.Allen Byrne2012-06-113-0/+10
| | | | Tested jam, local linux
* [svn-r22412] reduce compiler warnings by removing unreferenced variables and ↵Allen Byrne2012-05-251-1/+0
| | | | | | adding cast Tested: local linux
* [svn-r22359] Change library source properties: remove "LANGUAGE C" property ↵Allen Byrne2012-05-141-1/+1
| | | | | | from headers. Add "LINKER C" property to link. Tested: local linux
* [svn-r22339] config/examples.amLarry Knox2012-05-023-0/+27
| | | | | | | Added code to install README in share/hdf5_examples Set permissions on README file to rw-r--r--. Tested with h5committest, make install and make uninstall.
* [svn-r22268] Update 1.8 branch version to 1.8.10-snap0Mike McGreevy2012-04-093-3/+3
|
* [svn-r22237] Description:Quincey Koziol2012-04-021-1/+1
| | | | | | | Switch 'snprintf' -> 'HDsnprintf' Tested on: (eyeballed only, very simple)