summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20913] Issue 7579 - The overflowing ENUM values are inconsistent. ↵Raymond Lu2011-05-277-10/+295
| | | | | | | | | | When no conversion is involved in reading or writing the data, overflowing values are retained. When conversion happens, the values become -1. The conversion function puts -1 when overflow happens. I added two new dataset transfer property to control whether to fill 0xff in the destination data or convert to the destination data when overflow happens. The two new functions are H5Pset(get)_enum_conv_overflow. I also added test cases in enum.c and dtypes.c. Tested on jam, koala, and heiwa.
* [svn-r20903] Removed PACKED_BITS check to match removal of option in codeAllen Byrne2011-05-251-3/+80
|
* [svn-r20902] Re-ordered routines to match order of 1.8 for easier ↵Allen Byrne2011-05-251-150/+150
| | | | comparision of code changes
* [svn-r20901] Remove if() that avoided a copy of the last element to itself. ↵Allen Byrne2011-05-251-4/+2
| | | | | | | | This was to solve an issue of a difference between 1.8 and trunk. 1.8 used the wrong variable in the if() and upon reflection the if() was determined to be unnecessary and complicated the logic. 1.8 tests would have treated the if() as always true with the result being the same as though the if() was absent. This change reflects that equivalance and will avoid a potential problem in 1.8. Tested: local linux, reviewed by two developers
* [svn-r20900] Remove duplicated function linesAllen Byrne2011-05-251-30/+0
|
* [svn-r20899] Add soversion handling - use config/lt_vers.am file.Allen Byrne2011-05-252-2/+20
| | | | Bring r20895 from 1.8
* [svn-r20896] I added some comments.Raymond Lu2011-05-241-0/+15
| | | | Tested on jam - very simple change.
* [svn-r20894] Purpose:Dana Robinson2011-05-232-10/+15
| | | | | | | | | | | | | | | | | Updates configure definitions on linux. Description: We only define _POSIX_SOURCE which only allows for the lowest level of POSIX support (IEEE 1003.1), which is unsuitable for clock_gettime() functionality on modern linux systems. This symbol was changed to _POSIX_C_SOURCE=199506L, which gives the 1996 version of POSIX support and allows clock_gettime() and CLOCK_MONOTONIC to be found. We do not link to the BSD compatibility library, even though we define _BSD_SOURCE. -lbsd-compat was added to AM_LDFLAGS in accordance with GNU recommendations. This does not appear to change anything in the current library. Tested on: jam(linux32-LE) This was tested with various configure settings including parallel, threadsafe, C++ and FORTRAN enabled.
* [svn-r20892] Purpose:Dana Robinson2011-05-233-1/+20
| | | | | | | | | | | Adds a check for the mach_time header file. Description: The mach time header file is needed for the monotonic timer / log VFD work. No code in the trunk depends on this file at this time. Tested on: jam(linux32-LE) tejeda(darwin32 LE) local darwin64 (snow leopard)
* [svn-r20891] Purpose:Dana Robinson2011-05-232-5/+8
| | | | | | | | | | Changes configure/configure.in to use the same CFLAGS and CPPFLAGS in the configure tests that are used to build the library. Description: Only AM_CPPFLAGS was propagated to the CPPFLAGS that were used to build the library. Now H5_CPPFLAGS, AM_CFLAGS and H5_CFLAGS are used in the configure tests. Tested on: jam(linux32-LE) freedom(bsd63-LE) linew(solaris-BE) tejeda(darwin32 LE)
* [svn-r20890] Snapshot version 1.9 release 82HDF Tester2011-05-2314-30/+30
|
* [svn-r20885] Description:Quincey Koziol2011-05-2014-41/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity changes back to trunk: r20340: Address coverity issue 248. Set freed pointer to NULL if realloc fails, then check for NULL before attempting to close array of handles stored in memory addressed by pointer. r20341: Added initialization udata.path = NULL; udata.visited = NULL; to prevent unintialized use after done: label. Do C-style initialization AFTER all variable definitions. r20342: Fix valgrind error in H5DUMP-XML-tall.h5 r20343: Addressed Coverity issue 591 - check the return value of H5S_SELECT_ITER_RELEASE. r20344: Added initialization udata.path = NULL; to prevent uninitialized used after done: label r20347: Purpose: Fix memory leak in overhead.c Description: Fixed leak in test() in overhead.c where array "had" was never freed. r20348: Addressed Coverity issue 705 - added prototype for resize_configs_are_equal to cache_common.h. r20392: Purpose: Fix coverity issues 1677 and 1678 Description: Added return value checking for 4 funciton calls in H5tools_get_symlink_info(). r20394: Purpose: Fix coverity issues 1674 and 1675 Description: Modified H5Epush2() and H5E_printf_stack() to keep track of whether va_start() has been called, and to call va_end() at the end if so. r20395: Should be H5MM_calloc(count * sizeof(void*)). Fixed --gh r20396: Should be H5MM_calloc(count * sizeof(void*)). Fixed. --gh Tested on: Mac OSX/32 10.6.7 (amazon) w/debug & production (h5committested on branch)
* [svn-r20875] Refactor h5import to close files and free allocations. Also ↵Allen Byrne2011-05-204-2325/+2222
| | | | | | corrected test dependencies so that memcheck would process tests in correct order. Tested: local linux - confirmed with valgrind
* [svn-r20872] Issue 7564 - Allow H5Tcreat to create string type (fixed-length ↵Raymond Lu2011-05-203-8/+89
| | | | | | and variable-length). I also added a test case in dtypes.c. Tested on jam and linew - relatively simple.
* [svn-r20871] Added function to free iter structure allocations.Allen Byrne2011-05-201-0/+42
| | | | Tested: local linux - Confirmed by Valgrind
* [svn-r20870] Description: Fixed HDFFV-7605: Dim Scales APIs- error when ↵Scot Breitenfeld2011-05-201-1/+1
| | | | | | | | unattaching dim. sacles * Fixed Loop counter when removing object in dimension set with more then one scale. Tested: jam (intel and gnu)
* [svn-r20869] Purpose:Jonathan Kim2011-05-19229-764/+31
| | | | | | | | | | | HDFFV-7514 - GMQS: h5dump - improve effectiveness of testing scripts for handling expected output files Description: Fist phase for h5dump test update. Next phase will be for h5ls. This is prerequisite for 'HDFFV-7602 Tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.' Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE), Windows (32-LE), Cmake (jam)
* [svn-r20862] Adjust CPack configuration location by removing version ↵Allen Byrne2011-05-183-5/+12
| | | | extension in folder name. Add install configuration commands if ext libs are packaged with project.
* [svn-r20858] Correct state of EXTERNALLY_CONFIGURED when using ↵Allen Byrne2011-05-181-6/+6
| | | | EXTERNAL_PROJECT for extlibs.
* [svn-r20856] Remove vms_data.hr reference from CMakeLists.txt and update ↵Allen Byrne2011-05-182-2/+0
| | | | MANIFEST
* [svn-r20855] Issue 2599 - Cross-test BE and LE data. I added the test for ↵Raymond Lu2011-05-175-741/+799
| | | | | | deflate, szip, fletcher32, shuffle and nbit filter in cross_read.c and gen_cross.c. I also took out the data file for OpenVMS because the data isn't native but IEEE for floating-numbers. Tested on koala, heiwa, and jam.
* [svn-r20853] Add CPack commands to properly include extlibs into packageAllen Byrne2011-05-171-79/+16
| | | | Tested: windows
* [svn-r20808] Add Using_CMake.txt file to docs and installAllen Byrne2011-05-133-1/+184
|
* [svn-r20805] references files for jam tests are in sub-folder - testfilesAllen Byrne2011-05-131-2/+2
|
* [svn-r20804] Purpose:Jonathan Kim2011-05-122-1/+4
| | | | | | | | | | | | 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-r20800] Correct install path variableAllen Byrne2011-05-121-16/+19
|
* [svn-r20798] Correct name of testfile for help testsAllen Byrne2011-05-121-4/+4
|
* [svn-r20796] Refactor print_data_region_blocks/ponts to remove context ↵Allen Byrne2011-05-1113-574/+899
| | | | | | | | 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-r20785] Revert region data print changes from yesterdayAllen Byrne2011-05-101-60/+50
|
* [svn-r20783] correct type of variable for blkindxAllen Byrne2011-05-091-4/+4
|
* [svn-r20781] correct typo of variable types for indx and jndxAllen Byrne2011-05-091-2/+2
|
* [svn-r20779] Corrected export test to use parameters passed in from ADD_TEST()Allen Byrne2011-05-091-1/+1
| | | | Tested: local linux
* [svn-r20778] I changed the macro definition of DIR_SEPC and DIR_SEPS to ']' ↵Raymond Lu2011-05-093-8/+7
| | | | | | | | for OpenVMS in H5private.h. Strictly speaking, it isn't the directory seperator. But it can simplify the code and make the H5L_build_name function cleaner. Tested on jam because the change only affects VMS.
* [svn-r20776] Refactor print_data_region_blocks/ponts to remove context ↵Allen Byrne2011-05-091-44/+54
| | | | | | 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. Tested: local linux
* [svn-r20771] Problem:Albert Cheng2011-05-077-98/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | Test scripts sometimes need to filter some system-specific messages from the actual output so that it can match the correct expected output. These filtering functions, ususally called "STDOUT_FILTER()" and "STDERR_FILTER()" were being repeated in individual test scripts. This becomes a maintenance problem and is error prone. Solution: Extract the two filter functions code to bin/output_filter.sh and then each test script sources it in. This allows reuse of coding and is much easier to maintain and to add new filtering. Tested: LLNL Zeus (linux64 cluster) and Dawndev (Blue-Gene cluster), both for serial mode only. --This line, and those below, will be ignored-- M tools/misc/testh5mkgrp.sh M tools/h5dump/testh5dump.sh.in M tools/h5diff/testh5diff.sh M tools/h5copy/testh5copy.sh M tools/h5ls/testh5ls.sh.in M MANIFEST A bin/output_filter.sh
* [svn-r20767] Purpose:Jonathan Kim2011-05-067-47/+116
| | | | | | | | | | | | HDFFV-5928 - GMQS: h5diff problem and improvement on comparsing the same objects Description: Improved performance by eliminating duplicated action for getting object information in half from the previous fixe when comparing group vs group. This is addition to the previous commit r20676. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
* [svn-r20759] I commented out 2 test cases using H5_CANNOT_OPEN_TWICE because ↵Raymond Lu2011-05-051-2/+4
| | | | | | | | they open the same file twice. OpenVMS can't do it. Other systems still run them. Tested on jam. Simple change.
* [svn-r20756] Fixes h5diff test failure on BE systems.Dana Robinson2011-05-053-4/+11
| | | | | | | | | | | | | | | H5Dread() produces different output for invalid enum type values on systems of different endiannes. On BE systems, it always emits -1. On LE systems, the invalid value is emitted. This difference caused the h5diff test to fail since it tests to see if different invalid enum values are reported as different (on BE systems they are not since -1 == -1). This fix removes the "invalid vs. different invalid" test while we fix the library bug. HDFFV-7527 will be reopened in JIRA until the full test passes. Tested on: jam, heiwa, linew
* [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-042-8/+15
| | | | Tested: local linux
* [svn-r20724] Purpose: Fix a bug in h5diff when enum values are compared that doDana Robinson2011-05-046-2/+138
| | | | | | | | | | | | | | | | | not represent a valid enum value. Description: The h5diff code compares enum values by converting them to strings and then comparing them. When the enum value is out of range and can't be converted to an enum string representation, the comparison was skipped. The code now flags differences when one of the two enum values is out of range (two out of range values are compared in memory). A test has been added to the tools test script. This fixes JIRA HDFFV-7527 Tested on: jam, koala, heiwa (h5committest)
* [svn-r20721] Refactor ext lib import and install.Allen Byrne2011-05-043-12/+31
| | | | Add SOVERSION for linux
* [svn-r20720] Merge changes to scripts to run installed examples from hdf5 ↵Larry Knox2011-05-047-14/+14
| | | | | | | 1.8.7 r 20718. The default prefix in the scripts will use the compile scripts in the installed bin directory.
* [svn-r20717] Refactor ext lib import and install.Allen Byrne2011-05-045-50/+118
| | | | | | Change case of tools subtests to not conflict with tools tests. Tested: windows, local linux
* [svn-r20715] Remove Packed Bits if block in testsAllen Byrne2011-05-031-5/+1
|
* [svn-r20713] Packed Bits Merge:Allen Byrne2011-05-0323-2284/+2326
| | | | | | | | | 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-r20711] I added efc.c to the compile list.Raymond Lu2011-05-031-0/+6
| | | | Not tested yet.
* [svn-r20707] Added comments to the H5F_mem_t enumeration in H5Fpublic.h and ↵Dana Robinson2011-05-022-22/+35
| | | | the corresponding flavors[] array in the log VFD code.
* [svn-r20702] I added efc.c to the test list.Raymond Lu2011-05-021-0/+5
| | | | Not tested yet.
* [svn-r20700] I added H5Fefc.c to the compile list.Raymond Lu2011-05-021-2/+2
| | | | Not tested yet.