summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r8948] Purpose:Quincey Koziol2004-07-2610-35/+40
| | | | Bump version # after making snapshot
* [svn-r8947] Purpose:Quincey Koziol2004-07-266-16/+54
| | | | | | | | | | | | | | | | | | Code cleanup, sorta Description: Added ifdef sections for "H5_USING_PURIFY" in various places in the code, which are designed to reduce the spurious "uninitialized memory read" warnings from purify which are actually OK. Note that this macro will have to be turned on by adding it to the CFLAGS for the build - I didn't think it was important enough to add a configure flag for. Also, the changes in H5HG.c optimize the walks through the objects in a heap to only look at the 'used' entries instead of all the 'allocated' entries. Platforms tested: Solaris 2.7 (arabica) w/purify Not tested by h5committest
* [svn-r8945] Purpose:Quincey Koziol2004-07-261-2/+4
| | | | | | | | | | | | Code optimization Description: Eliminate duplicated call to H5T_detect_class() Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8942] Purpose:Quincey Koziol2004-07-261-2/+6
| | | | | | | | | | | | | | Code optimization Description: Changed calloc() calls to malloc() calls allocating background buffers during dataset writes, since the background buffer information will be read from disk anyway, overwriting any existing values. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8940] Snapshot version 1.6 release 3 (snap0)HDF Admin2004-07-2610-43/+67
|
* [svn-r8939] Purpose:Albert Cheng2004-07-239-35/+35
| | | | Updated the library version to 1.6.3-snap0.
* [svn-r8937] James Laird2004-07-235-31/+227
| | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: Modification time test (mtime) would die silently on some systems. This is because the code is very system-dependant (it relies on getting the current time and the timezone from the OS). Solution: mtime test now uses TEST_ERROR macro to print "FAILED" and to output where the failure occurred. Configure script is a little smarter about whether gettimeofday() function returns the timezone correctly. Further bugs will need to be addressed on a system-by-system basis. Platforms tested: sleipnir, arabica, verbena, copper, windows (VC7)
* [svn-r8935] Elena Pourmal2004-07-221-6/+6
| | | | | | | | | | | | | | | | Purpose: Bug fix Description: While working on the SZIP documentation with Frank, I realized that when scanline was less than 4k and bigger than pixels_per_block, it was not adjusted if number_of_blocks_per_scanline was bigger than max_number_of_blocks_per_scanline. Solution: Fixed the code. Unfortunately it didn't help with the problem I had using h5repack with DOQGROD.he5 file. Platforms tested: copper Misc. update:
* [svn-r8934] Purpose:Albert Cheng2004-07-221-2/+3
| | | | | | | | | | | | | | | | | | | Improvement Description: Removed "-D__GNUC__" which was a patch for previous version. It is no longer needed. Also moved the debug flags "-w2 and -Wall" to DEBUG_CXXFLAGS so that they are used for debug mode only. Also adjust CXXFLAGS setting so that -std=c99 is added only if user has not preset CXXFLAGS. This allows users the option of not using it. Platforms tested: Tested in tg-NCSA only since that is the only ia64 platform around. Misc. update:
* [svn-r8933] Purpose:Albert Cheng2004-07-224-0/+300
| | | | | | | | | | | | | | Feature Description: Added a configure summary at the end. configure: generated from configure.in. Platforms tested: No h5committest by tested by hand in tg-ncsa. Misc. update:
* [svn-r8931] Purpose:Xuan Bai2004-07-221-0/+0
| | | | | | | | | | | | | | | Update. Description: Update dumptest batch file. Solution: Removed one h5dump testing to match with h5dump testings on Unix. Platforms tested: Microsoft Visual C++ 6.0 on Windows XP and 2000. Misc. update:
* [svn-r8930] Purpose:James Laird2004-07-221-127/+174
| | | | | | | | | | | Code cleanup Description: Fixed reserved.c test to use h5_fileaccess/h5_fixname/h5_cleanup. Updated RELEASE.txt for previous bug fix Platforms tested: sleipnir, verbena
* [svn-r8929] Purpose:James Laird2004-07-221-0/+2
| | | | | | | | | | | | Code cleanup Description: Fixed reserved.c test to use h5_fileaccess/h5_fixname/h5_cleanup. Updated RELEASE.txt for previous bug fix Platforms tested: sleipnir, verbena
* [svn-r8926] Purpose:Xuan Bai2004-07-221-0/+0
| | | | | | | | | | | | | | | | | | | | Update. Description: Update hdf5 testing batch files. Solution: 1. Updated dumptest.bat, difftest.bat, lstest.bat, and repacktest.bat files to match with correspondent testings on Unix. 2. Added one new batch file mask.bat, which will be called by lstest.bat to mask off time information(this time information shows the local timezone and has to be masked off.) Platforms tested: Microsoft Visual C++ 6.0 on Windows XP and 2000. (will test with .NET on XP after this check-in.) Misc. update:
* [svn-r8919] Elena Pourmal2004-07-211-0/+5
| | | | | | | | | | | | Purpose: Maintenance Description: Documented SZIP change. Solution: Platforms tested: Misc. update:
* [svn-r8918] Elena Pourmal2004-07-211-4/+11
| | | | | | | | | | | | | | | | | | | Purpose: Improvement Description: HDF5 Library set pixels_per_scanline parameter to the size of the chunk's fastest changing dimension. As a result, fastest changing dimension of the chunk could not be bigger than 4K and smaller than pixels_per_block value and szip compression couldn't be used for many real datasets. Solution: Reworked algorithm how HDF5 sets pixels_per_scanline value; only chunks with the total number of elements less than pixels_per_block value are rejected. There is no restriction on the size of the chunk's fastest changing dimension anymore. Modified the test according to the new algorithm. Platforms tested: verbena, copper, sol Misc. update:
* [svn-r8917] Elena Pourmal2004-07-211-10/+28
| | | | | | | | | | | | | | | | | | Purpose: Improvement Description: HDF5 Library set pixels_per_scanline parameter to the size of the chunk's fastest changing dimension. As a result, fastest changing dimension of the chunk could not be bigger than 4K and smaller than pixels_per_block value and szip compression couldn't be used for many real datasets. Solution: Reworked algorithm how HDF5 sets pixels_per_scanline value; only chunks with the total number of elements less than pixels_per_block value are rejected. There is no restriction on the size of the chunk's fastest changing dimension anymore. Platforms tested: verbena, copper, sol Misc. update:
* [svn-r8914] Purpose:Albert Cheng2004-07-212-8/+38
| | | | | | | | | | | | | | | | | | | | Bug fix and feature. Description: The setenv was done in runtest but it has the effect will linger onto the next test. So, if the first test sets $CXX to a certain value, it lingers on the all following tests of the same host. This is usually not desired. Solution: Move the actual setenv code to snapshot. Runtest now just parses them and pass along the setenv request to snapshot. Platforms tested: no h5comittest which does not really test the change. Hand tested in eirene with Tg-NCSA. Misc. update:
* [svn-r8911] Purpose:Pedro Vicente Nunes2004-07-2118-116/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bug fixes Description: the return error code for a function was not initialized. in HP-UX it happened that this variable was initialized to -1 causing the function to return with an error condtion solution : initialized the variable to 0 the name of the dataset was printed after the differences in verbose mode and report when differences were found solution : check first if differences were found and then print the name of dataset and differences in verbose mode always print the name first Solution: Platforms tested: linux HP-UX solaris AIX Misc. update:
* [svn-r8908] Purpose:Pedro Vicente Nunes2004-07-202-11/+106
| | | | | | | | | | | | | | | updated documentation and usage message Description: updated the html documentation for the new h5diff modes added a section for h5repack Solution: Platforms tested: linux Misc. update:
* [svn-r8903] Purpose:Pedro Vicente Nunes2004-07-20103-972/+1616
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | h5diff and h5repack changes Description: h5diff introduced the following four modes of output: Normal mode: print the number of differences found and where they occured Report mode: print the above plus the differences Verbose mode: print the above plus a list of objects and warnings Quiet mode: do not print output (h5diff always returns an exit code of 1 when differences are found) h5repack added an extra parameter for SZIP filter (coding method) the new syntax is -f SZIP=<pixels per block,coding> (pixels per block is a even number in 2-32 and coding method is 'EC' or 'NN') Example of use: ./h5repack -i file1 -o file2 -f SZIP=8,NN -v updated usage messages, test scripts and files accordingly Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8902] Purpose:Quincey Koziol2004-07-203-148/+135
| | | | | | | | | | | | Bug fix Description: Allow buffer parameter to H5Dread & H5Dwrite to be NULL if there are no elements to transfer. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8900] James Laird2004-07-202-0/+15
| | | | | | | | | | | | | | Purpose: Bug Fix Description: H5Sset_extent_simple causes errors if used to reduce a space's maxdims to zero. Solution: H5Sset_extent_simple now cleans up the pointer. Added a regression test. Platforms tested: sleipnir (very minor change)
* [svn-r8898] James Laird2004-07-203-8/+31
| | | | | | | | | | | | | | | Purpose: Bug Fix Description: Trying to create the root group or the working group ("/" or ".") fakes out HDF5 so that it neither creates a group nor returns an error. Solution: H5G_namei now throws an error if it was supposed to insert but didn't. Platforms tested: sleipnir, Visual Studio 7 (very minor change)
* [svn-r8895] Purpose: Fixing typosBinh-Minh Ribler2004-07-171-4/+4
| | | | | | | | | Description: Class name was left in function prototypes by mistake. Removed it. Platforms tested: HPUX 11.00 (kelgia) Linux 2.4 (eirene)
* [svn-r8894] Purpose: Fixing platform specific problemBinh-Minh Ribler2004-07-172-19/+5
| | | | | | | | | | | | | Description: Some platforms don't support std, and I missed handling that situation in my last change for these files. Solution: Added 'using' statement where appropriate. Platforms tested: HPUX 11.00 (kelgia) Linux 2.4 (eirene)
* [svn-r8893] Purpose:Quincey Koziol2004-07-1617-659/+1004
| | | | | | | | | | | | | | Code cleanup Description: Clean up a bunch of warnings and bring new code better inline with current library coding practice. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest Misc. update:
* [svn-r8891] Purpose:Xuan Bai2004-07-161-0/+0
| | | | | | | | | | | | | | | | | | | | | | | Update. Description: Due to the source codes change, added 2 new projects to the Windows workspace and updated source codes for several Windows projects. Updated 2 HDF5 tool testing batch files. Solution: 1. Added 2 new projects reserved and reserveddll to the Windows workspace. These two projects include the new source code reserved.c. 2. Added H5RC.c and H5RCPrivate.h to hdf5 and hdf5dll projects. 3. testh5repack_filers.c and testh5repack_layout.c were removed from HDF5 1.6 branch by Prdro. Removed these 2 files from h5repacktst project. 4. Pedro updated h5dump and h5repack testings. Updated dumptest.bat and repacktest.bat batch files to match with current h5dump and h5repack testings in Unix. Platforms tested: Microsoft Visual C++ 6.0/.NET on Windows XP. Microsoft Visual C++ 6.0 on Windows 2000. Misc. update:
* [svn-r8890] Purpose: Code cleanupBinh-Minh Ribler2004-07-1618-235/+249
| | | | | | | | | | | | | | | | | Description: Renamed some private functions appropriately. Moved some functions from Group into the base class CommonFG for H5File to use too. Updated function headers as progressively reviewing the generated RM. Also, fixed a daily test failure on kelgia by adding #ifndef H5_NO_STD to H5IdComponent.h. I tried to test on kelgia before my checkin last time, but something was not right in my environment, and I wasn't able to test. I did test on three platforms though. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows XP
* [svn-r8887] Purpose:Albert Cheng2004-07-151-2/+3
| | | | | | | | | | | | | Improvement. Description: Moved the "-Wall -g -O0" to DEBUG_CFLAGS so that they are used only in development mode. Platforms tested: Tested in TG-NCSA since this change affects ia64 platform only. Misc. update:
* [svn-r8885] Purpose:Albert Cheng2004-07-151-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: It uses the value of $ARCH as a gcc option but the linux clusters at NCSA define $ARCH as environment variable with values that are not a valid compiler option. That caused the configure to fail because it was not able to compile at all. Solution: Change ARCH to lower case $arch (convention dictates environment variables are upper cases.) Also preset $arch to null and do not honor any pass it values. Platforms tested: Attempted to run h5committest but sol was failing due to /tmp filled. Copper failed in parallel test but that could be a system problem since it was totally loaded. Verbena failed in h5diff which has nothing to do with the change. Tested in TG_NCSA (gcc and ecc)--both failed in h5diff. Again, nothing to do with the change. So, it is safe to commit this change. Misc. update:
* [svn-r8883] Purpose:Pedro Vicente Nunes2004-07-159-53/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | bug fix, new feature Description: fixed bug in the parse function: cases where we have an already inserted name but there is a new name also example: -f dset1:GZIP=1 -l dset1,dset2:CHUNK=20x20 dset1 is already inserted, but dset2 must also be (it was not) added a CHECK_SZIP symbol to enable/disable checking of library related szip parameters added the print of the filter name in verbose mode (confirms visually that the filter was applied ) Solution: Platforms tested: linux aix solaris Misc. update:
* [svn-r8880] James Laird2004-07-153-3/+5
| | | | | | | | | | | | Purpose: Bug fix Description: Replaced "unsigned long long" with hsize_t in H5MF Added "return 0" at end of reserved.c test (duh!). Platforms tested: arabica, sleipnir
* [svn-r8876] James Laird2004-07-1416-17/+647
| | | | | | | | | | | | | | | | | | | | | | Purpose: Bug Fix Description: If an HDF5 file grows larger than its address space, it dies and is unable to write any data. This is more likely to happen since users are able to change the number of bytes used to store addresses in the file. Solution: HDF5 now throws an error instead of dying. In addition, it "reserves" address space for the local heap and for object headers (which do not allocate space immediately). This ensures that after the error occurs, there is enough address space left to flush the entire file to disk, so no data is lost. A more complete explanation is at /doc/html/TechNotes/ReservedFileSpace.html Platforms tested: sleipnir, copper (parallel), verbena, arabica, Windows (Visual Studio 7) Misc. update:
* [svn-r8875] Purpose:Quincey Koziol2004-07-147-118/+274
| | | | | | | | | | | | | | | | | | | | Bug fix Description: Correct problems with "resurrecting" a dataset in a file. (This occurs when a dataset which is open gets unlinked from the group hierarchy (making it "dead" and marked for deletion in the file) and then is re-linked to the group hierarchy). Note that the current solution applies only to datasets, further work will fix this for groups and named datatypes also. Also, fix the "debug" routines to be a little more helpful in certain situations. Additionally, fix a locking bug in the symbol table node splitting routine which could be [one of] the cause[s] of the file corruption in flexible parallel operation. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel h5committested
* [svn-r8873] Purpose: Adding test for new wrappersBinh-Minh Ribler2004-07-143-33/+174
| | | | | | | | | | | | | | Description: Added test_file_name for new wrappers H5File::getFileName H5Object::getFileName Also, replaced macro VERIFY with template function verify_val to verify read data/info and did some minor cleanup. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows XP
* [svn-r8872] Purpose: Fixing bugBinh-Minh Ribler2004-07-1414-12/+41
| | | | | | | | | | | | | | | | Description: DataType::commit had incorrect parameter, H5Object. Changed it to CommonFG, for H5File and Group. The change caused additional header files needed for several other cpp files. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows XP Misc. update:
* [svn-r8871] Purpose: Adding wrapper for new C APIBinh-Minh Ribler2004-07-146-0/+74
| | | | | | | | | | | | Description: Added wrappers for H5Fget_name: H5File::getFileName H5Object::getFileName Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows XP
* [svn-r8870] Purpose:Pedro Vicente Nunes2004-07-135-10/+6
| | | | | | | | | | | | | updated some comments Description: Solution: Platforms tested: linux Misc. update:
* [svn-r8868] Purpose:Quincey Koziol2004-07-135-17/+203
| | | | | | | | | | | | | | | | | | | Bug fix Description: Fix error in chunked dataset I/O where data written out wasn't read correctly from a chunked, extendible dataset after the dataset was extended. Also, fix parallel I/O tests to gather error results from all processes, in order to detect errors that only occur on one process. Solution: Bypass chunk cache for reads as well as writes, if parallel I/O driver is used and file is opened for writing. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8866] Purpose:Quincey Koziol2004-07-134-74/+126
| | | | | | | | | | | | | | | | | Code optimization Description: Re-work the insertion of a new child into an existing node, to exploit some speedups for adding the rightmost child, since this is a very common case when appending records to an unlimited size dataset. Also, hoist the checks for the tree's 'K' value into a field in the shared information about the tree, instead of re-calculating them all the time. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8864] Purpose:Pedro Vicente Nunes2004-07-132-0/+1
| | | | | | | | | | | | new file for the h5repack tests Description: Solution: Platforms tested: Misc. update:
* [svn-r8863] Purpose:Pedro Vicente Nunes2004-07-1323-665/+1056
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | h5repack changes Description: there were some requests to change some minor h5repack features h5repack only made a warning about a non available filter in verbose mode ( -v ) without -v it kept silent, and users sometimes missed this warning the request was that it should print this warning always. so, the new format, is e.g ./h5repack -i test_szip.h5 -o out.h5 Warning: dataset </dset_szip> cannot be read, SZIP filter is not available due to this, and to avoid a lot of these messages in the shell test script, I modified the script h5repack.sh so that it detects the presence of all filters in the environment (previously it only detected SZIP) the test files were also divided in more files , to make the script code easier to follow Solution: Platforms tested: linux AIX (without SZIP) solaris (without gzip and SZIP) Misc. update:
* [svn-r8862] Purpose:Quincey Koziol2004-07-121-11/+38
| | | | | | | | | | | | Code optimization Description: Avoid calling vector comparison routine when operating on 1-D chunks. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8861] Purpose:Quincey Koziol2004-07-121-1/+1
| | | | Correct typo in file format for compact layout information
* [svn-r8857] Purpose: Adding more C++ wrappers and documentationBinh-Minh Ribler2004-07-1114-373/+2543
| | | | | | | | | | | | | | | | Description: Added documentation and C++ wrappers for many C APIs to: H5PropList.* H5FaccProp.* H5DcreatProp.* H5DxferProp.* H5DataType.* H5Group.* Tests will follow soon. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r8856] Purpose: Fixing bug# 133Binh-Minh Ribler2004-07-111-11/+49
| | | | | | | | | | | | | Description: Added a check before decrementing reference counter in RefCounter::decrement. Changed the check for counter's value before returning, in RefCounter::noReference. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8854] Purpose:Quincey Koziol2004-07-109-341/+375
| | | | | | | | | | | | | | | | | | | | Code optimization Description: Refactor B-tree code to extract all common information for a B-tree into a shared structure that is pointed to by all the nodes in tree (instead of being included in each node). Also re-order B-tree node comparison checks for chunked datasets to check for >= the upper node first, since the comparison is a bit "heavy" and this check is more likely to succeed when you are adding records to the dataset. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest (also, recent h5dump commits have broken testing...)
* [svn-r8851] Purpose:Pedro Vicente Nunes2004-07-098-134/+436
| | | | | | | | | | | | | h5dump new tests Description: added new tests for the print of array indices (nested objects, several ranks) Solution: Platforms tested: Misc. update:
* [svn-r8848] Purpose:Quincey Koziol2004-07-091-69/+20
| | | | | | | | | | | | Code cleanup & small optimization Description: Eliminate redundant recomputation of native key pointer offsets. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel too minor to require h5committest