[svn-r21063] Description: Tweak make_vers script so that it indents preprocessor commands inside #ifdefs, is more forgiving and informative about the input file's prefix, and is better parameterized with the global variables at the beginning of the script. When major versions are branched from the trunk, the $max_idx value should be the only value that needs to be changed in the version of... Changes to H5version.h file are just indention.
Tested on:
Mac OS X/32 10.6.8 (amazon)
(too minor to require h5committest)
[svn-r21057] [hdf5 Trunk ] TODO Purpose: Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Provide framework to share test files among tools for tools test.Tested:
jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE)
[svn-r21031] This is a follow-up checkin for r21015 (bug fix for Issue 2594). According to Quincey's suggestion, I moved the EOAs for individual files from H5FD_multi_fapl_t to H5FD_multi_t struct. It's a more proper place.Tested on jam, koala, and heiwa.
[svn-r21028] Description: Changed the length of the fortran string passed to HD5packFstring in the function nh5pget_external_c. The 3rd
argument should be the fortran length of the string, not the C length of the string (which includes the null).
Tested: jam (intel and gnu), also checked the example h5ex_d_extern.f90 which detected the problem on Amazon c2
machine (reported by Larry).
[svn-r21017] This is a follow-up checkin for r21015 (bug fix for Issue 2598). I added two minor changes: 1. put the output file for vfd.c test in the list for cleanup in Makefile.am; 2. put the data file in the list in CMakeLists.txt.Tested on jam - simple change.
[svn-r21015] Bug fix for Issue 2598 - In v1.6 library, there was EOA for the whole MULTI file saved in the super block. We took it out in v1.8 library because it's meaningless for the MULTI file. v1.8 library saves the EOA for the metadata file, instead. But this caused some backward compatibility problem. v1.8 library couldn't open the file ...Tested on jam, koala, and heiwa.
[svn-r21014] Purpose: HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an indexDescription:
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...
[svn-r21011] Change how test created files are cleared by clearing the files inside the test macro. Allows individual tests to be independently executed.Tested: local linux
[svn-r20991] I skipped the efc.c test for now because it opens the same file many times. VMS can't handle it. We need a solution in the future. Please see Issue 7620 in Jira about it.Not tested yet.
[svn-r20986] Changed the release date format to yyyy-mm-dd from the previous `date` form.Tested: Jam by running bin/release and eyeballed the new date format.
[svn-r20971] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. The previous way to construct the name of the existent data file wasn't very safe. It could be cleaned up if any user builds the library in the source directory.Tested on jam - simple change.
[svn-r20946] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. In my first checkin, I took out the line "H5Z_SZIP->encoder_present = SZ_encoder_enabled()" by mistake. It caused SZIP test to fail. I'm puting it back now.Tested on jam - simple change.
[svn-r20944] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. In my previous commit, I changed HDsnprintf to snprintf, which caused trouble for Windows because the name is _snprintf instead. So I changed it back to HDsnprintf for properly defined macro. I also changed all fprintf to HDprintf to be consistent.Tested on jam - simple change.
[svn-r20934] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit (20929 and 20930). The check-vfd in Makefile has trouble with the file name. Because the test file is pre-generated, I use the default FAPL to create the full file name to avoid some driver test. Tested on jam - simple change.
[svn-r20930] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. When I checked in the fix and test (revision 20929), I forgot to add the data file test/filter_error.h5. I've tested it in my previous checkin.
[svn-r20929] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output.Tested on jam, koala, and heiwa.
[svn-r20927] Purpose: HDFFV-7607: h5ls - improve efficiency of test scripts - removing top 3 extra lines from expected output files Description:
This is a subtask from 'HDFFV-7514 - gmqs: h5dump - improve effectiveness of testing scripts for handling expected output files'.
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), tejeda (mac32-LE)...
[svn-r20921] Issue 7579 - The overflowing ENUM values are inconsistent. I took out the error report for 2 H5Tclose calls in H5T_conv_enum because they would clear the error stack.Tested on jam - simple change.
[svn-r20913] Issue 7579 - The overflowing ENUM values are inconsistent. 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 destin...Tested on jam, koala, and heiwa.
[svn-r20901] Remove if() that avoided a copy of the last element to itself. 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...Tested: local linux, reviewed by two developers
[svn-r20894] Purpose: 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 compatibilit...
[svn-r20892] Purpose: 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: 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-r20885] Description: 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 H5DUM...
[svn-r20875] Refactor h5import to close files and free allocations. Also 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 and variable-length). I also added a test case in dtypes.c.Tested on jam and linew - relatively simple.