summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27848] Description:Quincey Koziol2015-09-221-15/+14
| | | | | | | | Clean up warnings and some normalization against trunk. Tested: McaOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
* [svn-r27630] Description:Quincey Koziol2015-08-311-2/+12
|\ | | | | | | | | | | | | | | Bring in changes from the trunk, through r27628. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
| * [svn-r27626] Various minor warning fixes before major SWMR and VDS merges.Dana Robinson2015-08-311-2/+12
| | | | | | | | | | | | | | | | | | | | | | gcc 4.9.2 was used to create the warning list - implicit casts - shadowed variables - various enum issues - other minor fixes (comments, unused macros, etc.) Tested on: h5committest
* | [svn-r27593] Merge revisions 27453 through 27592 from trunk to vds branch.Neil Fortner2015-08-271-4/+0
|\ \ | |/ | | | | Tested: ummon
| * [svn-r27572] Removed VMS-specific code from the library.Dana Robinson2015-08-241-4/+0
| | | | | | | | | | | | | | | | | | The only remaining code consists of a few floating-point tests that rely on pre-generated and checked-in VMS files. These have been left alone, even though they will not be possible to recreate, since testing VMS float behavior is still important. Tested on: h5committest
| * [svn-r27252] Fix whitespaceAllen Byrne2015-06-191-15/+15
| |
| * [svn-r27238] Add function prototype for local functionAllen Byrne2015-06-181-29/+30
| |
* | [svn-r27239] Add function prototype for local functionAllen Byrne2015-06-181-29/+30
| |
* | [svn-r26794] Fix formatting for selection. Irregular reuses blocks and ↵Allen Byrne2015-04-131-7/+2
| | | | | | | | points for datasets however indentation after line breaks are an issue.
* | [svn-r26781] Merge revisions 26305 through 26780 from trunk to vds branch.Neil Fortner2015-04-101-6/+2
|\ \ | |/ | | | | Tested: ummon
| * [svn-r26635] Description:Quincey Koziol2015-03-281-5/+1
| | | | | | | | | | | | | | | | | | | | | | 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 branch for 2+ days)
| * [svn-r26438] Fixed some double promotion warnings from gcc 4.9.2. Most were inDana Robinson2015-03-111-1/+1
| | | | | | | | | | | | format strings. Tested on: h5committest
* | [svn-r26440] Added new structure, removed ";", used static hyperslab arrays.Allen Byrne2015-03-121-20/+10
| |
* | [svn-r26361] Added check for unlimited to count/block print selectionAllen Byrne2015-03-041-4/+12
| |
* | [svn-r26352] Update h5dump to latest BNF - reg vs irreg hyperslabs.Allen Byrne2015-03-041-2/+73
| |
* | [svn-r26318] Update virtual layout to latest changesAllen Byrne2015-02-261-1/+1
| |
* | [svn-r26297] Changed example and h5dump according to suggestions at today's ↵Elena Pourmal2015-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code review VDS-176. BNF has been updated too. Now h5dump displays VDS like this: HDF5 "vds.h5" { GROUP "/" { DATASET "VDS" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 6 ) / ( 4, 6 ) } STORAGE_LAYOUT { VIRTUAL { HYPERSLAB { (0,0)-(0,5) }; a.h5; A; ALL; HYPERSLAB { (1,0)-(1,5) }; b.h5; B; ALL; HYPERSLAB { (2,0)-(2,5) }; c.h5; C; ALL; } } } FILTERS { ....... I just commented the code with "EIP" and didn't delete to simplify the review with Allen tomorrow. Tested on jam
* | [svn-r26287] Rename point and block str functions generically.Allen Byrne2015-02-231-16/+16
|/ | | | Add info arg to print virtual selection function.
* [svn-r24937] Adds an H5free_memory() function to the library for use withDana Robinson2014-03-311-1/+1
| | | | | | | | | | | | functions that return library-allocated memory. The test and tool code were modified to use this new function where it's appropriate. Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551 Tested on: 64-bit Windows 7 w/ VS2012 32-bit LE linux w/ parallel and fortran (jam) 32-bit LE linux w/ fortran and C++ (jam)
* [svn-r24285] Eliminate several "passing argument ... with different width ↵Larry Knox2013-10-101-2/+2
| | | | | | due to prototype" warnings by casting constants to size_t where expected by string functions. Tested on jam, koala,ostrich and platypus with h5committest.
* [svn-r23800] Added the HD prefix to the system functions used in the ↵Allen Byrne2013-06-201-9/+9
| | | | h5tools_str_replace function.
* [svn-r23796] remove commented line with c++ styleAllen Byrne2013-06-201-2/+0
|
* [svn-r23305] HDFFV-8257: szip still used even if headers are not found. ↵Allen Byrne2013-02-181-193/+186
| | | | | | Change configure to test the result of the CHECK HEADERS call before checking for the library. Tested: local linux, h5committest
* [svn-r22602] Allen Byrne2012-07-251-429/+444
|
* [svn-r22054] Use HDmalloc/free.Peter Cao2012-03-121-3/+3
|
* [svn-r22052] - h5dump: Added capability for "-a" option to show ↵Peter Cao2012-03-121-0/+49
| | | | | | | | attributes containing "/" by using an escape character. For example, for a dataset "/dset" containing attribute "speed(m/h)", use "h5dump -a "/dset/speed(\/h)" to show the content of the attribute. See details at HDFFV-7523
* [svn-r22019] Cleanup warnings from compilesAllen Byrne2012-03-021-6/+3
| | | | Tested: local linux
* [svn-r21979] Correct HD prefix in tools for strlen and memcpyAllen Byrne2012-02-241-1/+1
| | | | Checked for HD support.
* [svn-r21974] Update HSIZE_T print statements to use correct macro.Allen Byrne2012-02-231-7/+7
| | | | | | Fix some more HD prefix issues in tools. Tested: local linux
* [svn-r21973] Correct limited reallocation on windows.Allen Byrne2012-02-231-9/+7
| | | | Tested: local linux, windows, h5committest
* [svn-r21970] Added missing HD prefixAllen Byrne2012-02-221-12/+12
|
* [svn-r21968] Added missing HD prefixAllen Byrne2012-02-221-26/+26
|
* [svn-r21953] HDDFV-7560: h5dump refactoringAllen Byrne2012-02-171-51/+46
| | | | Tested: local linux
* [svn-r21378] The tools used "%hhd" to print signed char. But VMS doesn't ↵Raymond Lu2011-09-131-0/+4
| | | | | | know it. So I used H5_VMS to have a different way ("%hd") to print it. Tested on jam. Not tested on VMS yet. Simple change.
* [svn-r21354] Issue 7674 - CLANG compiler complained about the line (about 800):Raymond Lu2011-09-011-10/+48
| | | | | | | | | | tempint = (tempint >> packed_data_offset) & packed_data_mask; The right shift may cause undefined behavior if PACKED_DATA_OFFSET is 32-bit or more. For every kind of native integers, I changed the code to make it zero if PACKED_DATA_OFFSET is greater than or equal to the size of integer. Tested on Mac OS Lion with CLANG compiler and jam, koala, and linew.
* [svn-r21121] Description:Quincey Koziol2011-07-181-2/+2
| | | | | | | | | Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to H5Rdereference2(). Tested on: Mac OS X/32 10.6.8 (amazon) w/debug (too minor to require h5committest)
* [svn-r21117] Issue 2763 - I added a new parameter of object access property ↵Raymond Lu2011-07-181-2/+2
| | | | | | list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c. Tested on jam, heiwa, and koala.
* [svn-r21014] Purpose:Jonathan Kim2011-06-211-3/+24
| | | | | | | | | | | | | | HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index Description: Fixed h5dump to display the first line of each element into correct position for multiple dimention array type. Before this fix, the first line of each element in array were displayed after the last line of previous element without moving to the next line (+indentation) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
* [svn-r20804] Purpose:Jonathan Kim2011-05-121-1/+1
| | | | | | | | | | | | HDFFV-7594 - GMQS: h5dump shows wrong values for H5T_STD_I8LE dataset on Blue-gene (ppc64 linux BE +@) Description: For the STD_I8 type data, updated to use 'signed char' instead of 'char' as 'char' could be defined as unsigned on a certain system, which cause h5dump to display data values incorrectly. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
* [svn-r20796] Refactor print_data_region_blocks/ponts to remove context ↵Allen Byrne2011-05-111-2/+6
| | | | | | | | passed in by value. The print functions needed an independent context with only the current indent level passed in by argument. Also synched the two routines logical flows and corrected a mem_space error. h5dump (and h5stat, h5jam/h5unjam) help option not tested. Added h5dump parse_command_line technique for h5stat and h5jam/unjam and created testfiles. Tested: local linux
* [svn-r20752] Windows does not have snprintf, need to use HDsnprintf.Allen Byrne2011-05-051-3/+3
|
* [svn-r20725] Add overlooked changes from part of coverity fixAllen Byrne2011-05-041-6/+8
| | | | Tested: local linux
* [svn-r20713] Packed Bits Merge:Allen Byrne2011-05-031-20/+0
| | | | | | | | | removed option defines and #ifdef/#endif refactored all printf to HDfprintf in h5dump.c formatted and indention improvements synched with 1.8 branch Tested: local linux
* [svn-r20677] Merge packed bits option from 1.8 branch to trunk. CMake only. ↵Allen Byrne2011-04-291-2/+56
| | | | | | Autotools merge to come. Tested: local Linux
* [svn-r20188] Purpose:Jonathan Kim2011-03-041-2/+15
| | | | | | | | | | | | Fixing Bug 2161 - GMQS: h5dump - only on Windows, skip displaying a data value every a certain lines in array type dataset Description: Fixed h5dump for skipping some values for long array type dataset on Windows. This issue only occurred on Windows due to the different return behavior from _vsnprintf() funtion. Tested: Windows, jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r19918] Add hh modifier to signed char printf format string. Added ↵Allen Byrne2011-01-051-1/+1
| | | | | | | h5dump test to verify that signed/unsigned datasets print correctly. Bring solution from 1.8 packed bits fix which solved problem on heiwa with Signed char of 8 bits Tested: local linux
* [svn-r19237] Description:Quincey Koziol2010-08-121-12/+11
| | | | | | | | | | Clean up misc. compiler warnings. Tested on: FreeBSD/32 6.3 (duty) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r18197] Description:Quincey Koziol2010-01-301-18/+18
| | | | | | | | | Trim trailing whitespace from source code files with this command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r17492] Moved printing of brackets before printing contents of region ↵Allen Byrne2009-09-171-8/+5
| | | | | | | | references. Changed default Error handling init to successful as all error macros set the return to failure Tested: local linux
* [svn-r17456] Added dataspace type check for region, changed dimension_break ↵Allen Byrne2009-09-081-2/+6
| | | | | | | processing to use boolean. Tested: local linux