summaryrefslogtreecommitdiffstats
path: root/tools/lib
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27253] Move packed bits files to subfolderAllen Byrne2015-06-191-14/+15
|
* [svn-r27190] merge 27185 from trunk:Mohamad Chaarawi2015-06-111-7/+7
| | | | | | - fix more instances where both mpi is_initialized and is_finalized need to be checked before making any MPI calls. tested with h5committest.
* [svn-r27165] Merge 27133 & 27158 from trunk:Mohamad Chaarawi2015-06-082-6/+6
| | | | | | | | | - Add a new attribute function characterstic for format: * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r27112] merge 27111 from trunk:Mohamad Chaarawi2015-05-261-3/+3
| | | | move undef of __attribute__ back to private and remove its usage from public routines.
* [svn-r26728] Merge trunk reviwions 26669 and 26670.Larry Knox2015-04-041-1/+0
| | | | | | Removed from configure.ac VPATH section, LONE_COLON check and checks for redundant addition of /usr/include and /usr/lib to compile flags, with reconfigure. Tested h5committest
* [svn-r26717] Merge revisions 26387, 26649, 26650, 26678, and 26691 from ↵Mohamad Chaarawi2015-04-032-7/+15
| | | | trunk to squish warnings.
* [svn-r26697] HDFFV-9131: Remove obsolete/unneeded sections.Allen Byrne2015-04-011-2/+0
|
* [svn-r26654] Bring trunk CMake changes to branch.Allen Byrne2015-03-301-1/+1
| | | | Tested: local linux
* [svn-r26648] Description:Quincey Koziol2015-03-302-23/+2
| | | | | | | | | | | | | Bring r26635 from trunk to 1.8 branch: Bring r26651 from autotools_rework branch to trunk: Remove the VSNPRINTF_WORKS macro, it's working around bugs in old SGI & HP compilers. Tested on: Linux/32 2.6.18 (jam) w/serial & parallel (Daily tested on trunk for 2+ days)
* [svn-r26600] Fix CMake target calls to add new parameterAllen Byrne2015-03-261-1/+1
|
* [svn-r26582] Merge r26509 from trunkJerome Soumagne2015-03-251-2/+0
| | | | Run reconfigure after merges from autotools_rework branch
* [svn-r26398] Merges r26333 from trunkDana Robinson2015-03-091-1/+1
| | | | | | | | | | | | | | | | Eliminates gcc warnings due to -Wunsuffixed-float-constants. - Adds 'F' suffixes for most float constants. - A few constants MUST be of type double. These now receive the long double L suffix and are then cast to double. I do this via a new H5_DOUBLE() macro which was added to H5private.h. - Additionally, some 1.8-specific float suffixes were added. Fixes: HDFFV-9148 Tested on: h5committest
* [svn-r26395] Merges r26329 from trunkDana Robinson2015-03-092-37/+0
| | | | | | | | | | | | | | Removed the configure option that allows selective disabling of individual internal filters (fletcher32, shuffle, etc.). This feature mucked up the code with a lot of #ifdefs, saved very little space and was not scalable to a general scheme for library size reduction. We've decided to remove the feature while we investigate a more general scheme for decreasing the library size. Fixes: HDFFV-9086 Tested on: h5committest
* [svn-r26371] Update cmake mininum versionAllen Byrne2015-03-051-1/+1
| | | | Update windows wix cpack process.
* [svn-r26314] Brought autotools related changes from the trunk to the branch, ↵Scot Breitenfeld2015-02-261-1/+2
| | | | r26188 r26280
* [svn-r26304] bring 26303 from trunk:Mohamad Chaarawi2015-02-251-2/+2
| | | | remove files with .clog2 extension generated by MPE when doing make clean
* [svn-r26224] merge 26180 from trunk:vms_last_support_1_8Mohamad Chaarawi2015-02-181-1/+0
| | | | | | | | | | configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch: - Remove Infering parallel compilers (C and Fortran) from configure.ac - Remove restriction to build shared with parallel - Cleanup parallel sections in configure.ac - remove large file support checks - MPE fixes.
* [svn-r26064] HDFFV-9018: Install PDB files to bin folder with dlls.Allen Byrne2015-01-281-1/+1
| | | | Tested: windows
* [svn-r25957] Added Perform and io_timer back into build.Allen Byrne2015-01-051-1/+1
| | | | Tested: local linux cmake
* [svn-r25956] [Merge r25954 from trunk]Albert Cheng2015-01-052-7/+13
| | | | | | | | | | | | | | | HDFFV-9046: reorganize hdf5/perform, step 2 Last changes had caused problems with Windows platform: 1. H5private.h in io_timer.h is not accessible in the distributed shared library of tools. Need to move it to io_timer.c. 2. debug_start_stop_time() would not be available outside of h5perf. Some favor of compiler does not like it. Screened it out for now. 3. mere "extern" is not good enough for Windows shared library. Must mark them as DLL. Need to mark them as "H5TOOLS_DLL". 4. STANDALONE mode is broken. Screened out the code for now. Tested: h5committest.
* [svn-r25952] HDFFV-9054: disable io_timer in tools lib and perform ↵Allen Byrne2015-01-051-1/+1
| | | | sub-folder due to SHARED compile issues and other issues.
* [svn-r25948] [Merged r25946 from trunk]Albert Cheng2015-01-041-10/+0
| | | | | | Removed debug statments that use //. Tested: env CFLAGS=-ansi buildhdf5 in jam and parallel platypus.
* [svn-r25947] [merged changes from trunk r25940]Albert Cheng2015-01-045-3/+324
| | | | | | | | | | | | | | | | | | | | | | | HDFFV-9046: reorganize hdf5/perform, step 2 Move timing measurement routines used by h5perf and h5perf_serial to tools/lib so that they can be used by other tools too. tools/lib/io_timer.c tools/lib/io_timer.h tools/perform/io_timer.c tools/perform/io_timer.h renamed perform/io_timer.[ch] to lib/io_timer.[ch] tools/lib/Makefile.am tools/lib/Makefile.in tools/lib/CMakeLists.txt tools/perform/Makefile.in tools/perform/Makefile.am tools/perform/CMakeLists.txt MANIFEST updated due to the move. Tested; h5committest and jam (serial)
* [svn-r25497] Description:Quincey Koziol2014-07-304-39/+40
| | | | | | | | | | Merge changes that correspond to the 64-bit ID changes (without the actual switch to 64-bit IDs) to the 1.8 release branch. (Plus a few minor cleanups and alignments with the trunk that aren't on the branch) Tested on: Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN (h5committested on branch already for a week)
* [svn-r25402] Bring 25397/8 from trunk:Mohamad Chaarawi2014-07-101-1/+0
| | | | | | | - remove configure checks for MPI_File_get_size and Big MPI_File_set_size as they are supported by MPIO implementations today. - fix bug in t_mpi.c (HDFFV-8856) tested with h5committest.
* [svn-r25225] Description:Quincey Koziol2014-05-291-130/+163
| | | | | | | | | | | | | | | | Bring r25215 from trunk to 1.8 branch: Bring changes from Coverity branch back to trunk: r20914: Use HDstrncpy and HDstrncat! --gh r20915: Use HDstrncpy and HDstrncat! --gh Tested on: MacOSX/64 10.9.3 (amazon) w/gcc 4.9, FORTRAN, C++, multi-threads & parallel (h5committested on the trunk)
* [svn-r25222] Merge cmake_ext_mod into 1.8Allen Byrne2014-05-271-16/+1
|
* [svn-r25198] Description:Quincey Koziol2014-05-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r25197 from trunk to 1.8 branch: Bring changes from hdf5_1_8_coverity branch back to trunk: r20878: Issue 76: Check if H5Tget_nmembers(type) fails and simply return(FALSE). Also move printf to after check. r20880: Issue 192: Create ret_val var set to -1. Add out label for failures to jump to, return ret_val at bottom. r20882: Fixes for coverity: 1) bug #1679: remove dead code in test/mf.c 2) bug #1680: remove dead code in tools/lib/h5diff_dset.c r20883: Fix coverity issue 585 Description: Changed variable "c" in processStrData in h5import.c to an int, to match fgetc return value, and removed call to feof, instead checking if c == EOF. Tested on: MacOSX/64 10.9.3 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r25106] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll ↵Larry Knox2014-04-251-1/+0
| | | | | | | | back fix for removing rpaths from lib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath configure option was invoked. Added instead configure variable hardcode_into_lib=no. This removes rpath from lib files on Linux and solaris machines. Tested with h5committest on jam, koala, ostrich and platypus (cmake), and on emu and kite.
* [svn-r25082] Bug HDFFV-8625, HDFFV-8639, HDFFV-8745:Albert Cheng2014-04-221-7/+24
| | | | | | | | | | | | | | | | | | | h5diff issues "unable to read attribute" error message when comparing two files Description: h5diff did not handle attributes of variable length strings correctly. It created the wrong memory type if one but not both compared attributes are of the variable strings type. It ended in H5Aread() failure. Solution: We decided to treat the case when one type is variable length string and the other is not as incomparable. That bypassed the above error. We still need to figure out the proper way, if possible, to compare variable string with non-variable string types. Tested: h5committested plus tested in Swallow (OS X 10.8).
* [svn-r25014] Purpose:Dana Robinson2014-04-112-4/+4
| | | | | | | | | | | | | | | | | Merge of r24937 from the trunk Adds H5free_memory to the API. This function should be used to free memory allocated by the library (e.g., returned values from H5Tget_tag, H5Pget_class_name, etc.). This is mainly to help Windows applications deal with multiple CRT instances, but can also be helpful when a debug memory manager is being used or when the HDF5 API is being wrapped for managed languages like Python and Java. Tested on: 32-bit LE linux (jam) with fortran and C++ 64-bit BE linux (ostrich) 64-bit LE linux (koala)
* [svn-r25000] Bugfix: HDFFV-8639 Albert Cheng2014-04-091-3/+7
| | | | | | | | | | | h5diff segfaults with user's files Solution: Added a variable to indicate if real data are in the buffer and will call H5Dvlen_reclaim() only when real data are in the buffer. Tested: with the user provided data files and no more segmentaion fault. Also h5committ tested.
* [svn-r24980] HDFFV-8290: Merge automake 1.14.1 changes from trunkAllen Byrne2014-04-072-63/+438
| | | | Tested: h5committest
* [svn-r24906] Merge latest CMake changes from trunk.Allen Byrne2014-03-261-19/+23
| | | | Tested: local linux
* [svn-r24878] Description:Quincey Koziol2014-03-242-53/+12
| | | | | | | | | | | | | | | | | | | | | 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-173-69/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r24746] Merge trunk revision 24744 from cmake branch includes;Allen Byrne2014-02-271-142/+144
| | | | | | HDFFV-8505: UD filter changes to remove filters in h5repack. Tested: local linux
* [svn-r24732] Fix for reconfigure, which fails because ↵Larry Knox2014-02-221-0/+1
| | | | | | 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-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-041-2/+3
|
* [svn-r24479] Description:Quincey Koziol2013-11-302-49/+8
| | | | | | | | Fix ph5diff worker command handling so it can correctly respond to situations where there's no work to perform. Also, a few minor code cleanups. Tested on: Mac OSX/64 10.9.0 (amazon) w/parallel
* [svn-r24228] HDFFV-8529: Space separate define stringsAllen Byrne2013-09-303-8/+8
| | | | Tested: local linux
* [svn-r24205] Merge HDFFV-8513/8522 from trunk (via cmake branch), h5repack ↵Allen Byrne2013-09-266-120/+119
| | | | | | | | UD plugins. Also warning session fixes. Tested: CMake local linux
* [svn-r24112] Description:Quincey Koziol2013-09-062-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r24032] Description:Quincey Koziol2013-08-203-24/+28
| | | | | | | | | | 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-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-r23992] HDFFV-8490 and H5UNJAM file handling. Merge from trunk.Allen Byrne2013-08-122-7/+268
| | | | Tested: local linux
* [svn-r23898] HDFFV-8476: Add optional arg to -A for excluding attributes.Allen Byrne2013-07-151-9/+9
| | | | | | Merged from trunk. Tested: local linux
* [svn-r23855] I added macro condition for OpenVMS in the hard-coded ↵Raymond Lu2013-07-011-0/+4
| | | | | | initialization of h5tools_dataformat. Tested on jam and OpenVMS - simple change.
* [svn-r23826] Bug HDFFV-8469: C++ comments in C code.Albert Cheng2013-06-261-1/+0
| | | | | | | | Found and removed two more "//" comments. Tested: in Koala by $ env CFLAGS="-ansi" ../hdf5/bin/buildhdf5 -fortran -cxx -config # enable fortran and cxx, configure only $ make AM_CFLAGS=-ansi # compile all source file by setting HDF5 build CFLAGS as "-ansi" only