summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r18515] Bug:Albert Cheng2010-04-051-1/+1
| | | | | | | | | | | | | | | | PGI v10.2 in Red Storm Qual complained about the H5_IS_API macro with the following message when -Mbounds is used: PGC-S-0053-Illegal use of void type The compiler did not like to treat the literal strings as arrays. The -Mbounds option is used when --disable-production is used. Solution: Casted all the literal to (char *). Tested: h5committest passed. Red Storm Qual passed with the fixed H5_IS_API macro though it has other failures later. Will be fixed in another batch.
* [svn-r18509] Updated project files to generate and link H5lib_settings.cAllen Byrne2010-04-053-8/+16
|
* [svn-r18507] Purpose:Mike McGreevy2010-04-022-10/+72
| | | | | | | | | | | | | | | | | | | | Fix Bug 1730 (in 1.8) Description: This is a fix for Bug 1730. Note that this fix is only going into 1.8, as there is a more desired fix prepared for the trunk, but we don't want that one in 1.8 for compatibility reasons. This change adds a mechanism to the H5I interface to save returned ID structures for immediate re-use if needed. This addresses a potential performance issue by delaying the case when the next ID to be registered has grown so large that it wraps around and needs to be checked to see if it is available for distribution again. Tested: h5committest, and manually on jam, amani, liberty, others.
* [svn-r18506] Description:Quincey Koziol2010-04-023-8/+42
| | | | | | | | | | | Bring r18505 from trunk to 1.8 branch: Move code to free superblock data structure into separate routine, in preparation for upcoming metadata journaling -> trunk merging. Tested on: FreeBD/32 6.3 (duty) w/debug (h5committested on trunk)
* [svn-r18503] Description:Quincey Koziol2010-04-025-55/+88
| | | | | | | | | | | | | Bring r18502 from trunk to 1.8 branch: Bring r18501 from metadata journaling "merging" branch to trunk: Extract data structure 'destroy' routines from metadata cache client 'destroy' callbacks. Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committested on trunk)
* [svn-r18499] Description:Quincey Koziol2010-04-028-58/+167
| | | | | | | | | | | | | Bring r18498 from trunk to 1.8 branch: Bring r18497 from metadata journaling "merging" branch to trunk: Extract data structure 'destroy' routines from metadata cache client 'destroy' callbacks. Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committested on trunk)
* [svn-r18495] Description:Quincey Koziol2010-04-0212-218/+372
| | | | | | | | | | | | | Bring r18494 from trunk to 1.8 branch: Bring r18491 from metadata journaling "merging" branch to trunk: Extract data structure 'destroy' routines from metadata cache client 'destroy' callbacks. Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committested on trunk)
* [svn-r18493] Bug fix:Albert Cheng2010-04-015-89/+102
| | | | | | | | | | | | | | | | | Testlibinfo.sh failed again. Solution: Removed the const from H5libhdf5_settings definition, again. Revamp the whole setting so that H5lib_settings.c is compiled individually, just like H5Tinit.c. Hope this will take care of the problem once for all. Tested: Amani using --disable-shared with --enable and --disable-embedded-libinfo. Will test this on the AIX platform after commit (cannot run bin/reconfigure in the AIX platform and it is too clumsy to try to ssh files back and forth and incurred "svn merge inconsistency" later too. Pretty confident this fix should work in all other platforms.
* [svn-r18485] Description:Quincey Koziol2010-04-015-24/+1
| | | | | | | | | | | | Bring r18484 from trunk to 1.8 branch: Bring r18483 from metadata journaling 'merging' branch to trunk: Remove unused symbol table entry dirty flag Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committested on trunk)
* [svn-r18470] bug fix:Albert Cheng2010-03-306-12/+16
| | | | | | | | | | | | | recent changes to the embedded library generation code does not quite work for the AIX system. The strings command of AIX does not display the embedded library information be default. Solution: Changed the H5libhhdf5_setting[] to be an extern variable. Also removed the const qualifier so that strings can see the variable data. Tested: Blue-print (with embedded-libinfo enabled and disabled).
* [svn-r18467] Snapshot version 1.8 release 4 (snap17)HDF Tester2010-03-297-22/+22
|
* [svn-r18461] Description:Quincey Koziol2010-03-2622-628/+548
| | | | | | | | | | | | | | | | | | | | | Bring r18460 from trunk to 1.8 branch: Fold metadata journaling changes into the trunk: mostly tweaky small stuff, also removed the H5F_t* field from the H5G_entry_t struct. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18455] Purpose:Jonathan Kim2010-03-257-403/+701
| | | | | | | | | | | Fix for the bug1726 - NPOESS: h5repack loses attributes for datasets of type H5T_REFERENCE. Description: Merged from hdf5 trunk rXXX Tested: jam
* [svn-r18450] Purpose:Jonathan Kim2010-03-251-3/+3
| | | | | | | | Resolve build issue on Sloaris due to white space from the previous checkin r18448 Tested: jam
* [svn-r18448] Purpose:Jonathan Kim2010-03-241-5/+15
| | | | | | | | | | | | | Bug1727 - NPOESS: h5copy should copy region references Description: Merged from hdf5 trunk r18447. Tested and added test cases from previous checkin r18321 Reference Manual and tool's usage section for '-f ref' option is updated for more comprehensibility. Tested: jam
* [svn-r18446] Purpose: Fix bug 1637Neil Fortner2010-03-2410-133/+247
| | | | | | | | | | Description: Modified algorithm for extending a dataset with early allocation so it only deals with the new chunks. Formerly, it would loop over all chunks, checking to see if each existed in cache and on disk, causing major performance issues with large numbers of chunks. Tested: jam, linew, amani (h5committest)
* [svn-r18443] Purpose:Jonathan Kim2010-03-231-1/+2
| | | | | | | | | | | Resolve windows build issue from previous checkin r18427 Description: The previous checkin was for bug1814 - NPOESS: h5repack doesn't handle references to the groups as an element of a dataset Tested: jam
* [svn-r18440] Corrected windows script fileAllen Byrne2010-03-231-1/+1
|
* [svn-r18439] Changed copy script to copy all *.h filesAllen Byrne2010-03-221-7/+1
|
* [svn-r18434] Snapshot version 1.8 release 4 (snap16)HDF Tester2010-03-227-22/+22
|
* [svn-r18429] Added missing copy H5srcdir_str.h commands to script.Allen Byrne2010-03-191-0/+5
|
* [svn-r18428] Binh-Minh integrated dsets.cpp into testhdf5.cpp. I changed ↵Raymond Lu2010-03-191-9/+2
| | | | | | the make file accordingly. Not tested yet.
* [svn-r18427] Purpose:Jonathan Kim2010-03-186-6/+342
| | | | | | | | | | | | | Fix for bug1814 - NPOESS: h5repack doesn't handle references to the groups as an element of a dataset Description: Merged from hdf5 trunk r18425 handles object reference to named-datatype as well. Add test cases. Tested: jam
* [svn-r18424] Upgraded all project files to VS2008. Allen Byrne2010-03-18257-4710/+4114
| | | | | | Changed batch files by removing VS2005 and IVF91 options. Added libsettings project to behave like h5tinit.vcproj. Updated Manifest
* [svn-r18423] Add windows define BIND_TO_CURRENT_VCLIBS_VERSION=1 to project ↵Allen Byrne2010-03-18240-3020/+3020
| | | | files
* [svn-r18422] Description:Quincey Koziol2010-03-1837-118/+582
| | | | | | | | | | | | | | | | | | | | | | | Bring r18413:18420 from trunk to 1.8 branch: - unify srcdir query, etc. - Move libhdf5.settings string out of H5Tinit.c Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.2 (amazon) in debug mode Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18421] dsets c++ tests moved into testhdf5 c++ test.Allen Byrne2010-03-187-2071/+8
|
* [svn-r18412] Fixed a typo in a message.Albert Cheng2010-03-171-1/+1
| | | | No test needed since it is in a message string.
* [svn-r18409] Description:Binh-Minh Ribler2010-03-1714-101/+95
| | | | | | | | | | | | | | Removed header file testhdf5.h from C++ tests to eliminate a non-standard problem on OpenVMS. It wasn't essential. Also, moved dsets.cpp from a standalone program into testhdf5.cpp to be consistent with the rest of the tests. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew) Will ask Ray to test on OpenVMS.
* [svn-r18408] Snapshot version 1.8 release 4 (snap15)HDF Tester2010-03-157-22/+22
|
* [svn-r18402] Description:Frank Baker2010-03-121-1/+1
| | | | Update copyright date to 2010.
* [svn-r18400] Purpose:Jonathan Kim2010-03-096-1/+284
| | | | | | | | | | | add test cases for h5copy - copy external links with/without ‘–f ext’ option (relate to bug 1733) Description: merged from hdf5 trunk (r18398 and r18399) Tested: jam
* [svn-r18396] Purpose: Fix links.c failureNeil Fortner2010-03-093-347/+413
| | | | | | | | | | | | | | | | Description: The core file driver previously matched files only based on the name used to open them, even when a backing store is used. This caused problems in the failing test when it traversed an external link to itself, and did not recognize that it was the same file. Similar tests in links.c were skipped when the core file driver was used. The failure was previously masked by inappropriate file flushes caused by external link traversal. Added code to the core file driver to keep track of low level file information of the backings store to allow for accurate recognition of duplicate files. Also re-enabled all links.c tests for the core file driver. Tested: Fedora (core and sec2 drivers; no time for full commit test, will monitor daily tests)
* [svn-r18392] Description:Quincey Koziol2010-03-071-194/+271
| | | | | | | | | | Bring r18391 from trunk to 1.8 branch: Clean up compiler warnings, check error values and fix whitespace. Tested on: FreeBSD/64 6.3 (duty) w/debug (too minor to require h5committest)
* [svn-r18389] Description:Quincey Koziol2010-03-068-946/+1027
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18388 from trunk back to 1.8 branch: Bring changes from Coverity session from branch into trunk: r18378: Fixed coverity issues 207 and 322. Pointer hdr was checked for NULL after being asserted and dereferenced. Check was removed. r18379: Fix coverity issues # 88 and # 435. r18380: Fixed Coverity issue # 85. Added check of returned pointer for NULL before use. r18381: Resolve coverity issues # 214 and # 215 r18382: Issue 131: Add null checks to allocations and check for free in error handling r18383: Issue 421: Reorganized code to make intention clearer. Also, set local variable fl to NULL after transfer to tail. Heap->freelist will take care of all allocations r18384: Coverity #249 and #250 - STRING_ATT_CHECK wasn't allocated before being used and freed in function test_write_vl_string_attribute and test_read_vl_string_attribute. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & prod (h5committested in daily tests)
* [svn-r18386] Description:Quincey Koziol2010-03-061-11/+17
| | | | | | | | | | Bring r18385 from trunk to 1.8 branch: Tweak fix in r18372 to reset other messages read in also. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & production (too minor to require h5committest)
* [svn-r18377] Purpose: Fix bug 1733Neil Fortner2010-03-056-82/+294
| | | | | | | | | Description: Support for expanding external links was not implemented in H5Ocopy, even though a flag existed for H5Pset_copy_object to enable this. This patch implements this feature. Tested: jam, amani, linew (h5committest); Fedora
* [svn-r18375] Purpose: Fix bugs involving external linksNeil Fortner2010-03-055-28/+191
| | | | | | | | | | | | Description: Previously, the library would reopen the source file when traversing an external link if unable to find the target file otherwise. This has been corrected. Also moved the call to H5F_flush from H5F_try_close to H5F_dest, so the file is only flushed when the last identifier for the file is closed. This prevernts situations where the library could attempt to flush a file with protected metadata. Tested: jam, amani, linew (h5committest); Fedora
* [svn-r18370] Fix for bug #1773 - I added the call to H5O_msg_reset after ↵Raymond Lu2010-03-051-1/+11
| | | | | | | | H5D_chunk_bh_info to free the PLINE structure in the function H5O_dset_bh_info. This is to prevent memory leak. Tested on jam with valgrind - simple fix.
* [svn-r18368] The OpenVMS link probably doesn't like too many object files. ↵Raymond Lu2010-03-041-1/+3
| | | | | | | | I just broke the link command into 3 commands to make it happy. Tested on OpenVMS.
* [svn-r18358] Description:Quincey Koziol2010-03-0227-170/+127
| | | | | | | | | | | | | | | | | Bring r18357 from trunk to 1.8 branch: Bring r18356 from metadata journaling merge branch to trunk: Converge metadata journaling branch with trunk with a bunch of v1 B-tree changes: - Remove H5ACprivate.h header from H5Bprivate.h header - Revise v1 B-tree client callbacks - Get rid of H5B_serialize() by bringing it into H5B_flush() Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18353] Description:Quincey Koziol2010-03-011-40/+45
| | | | | | | | | | | | | | | | | | | | | Bring r18352 from trunk to 1.8 branch: Make parallel I/O metadata cache operations obey the "evictions enabled" flag in the cache. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18351] Snapshot version 1.8 release 4 (snap14)HDF Tester2010-02-287-22/+22
|
* [svn-r18348] Description:Quincey Koziol2010-02-2730-934/+1303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18346 from trunk to 1.8 branch: Bring Coverity fixes back from branch to trunk: r18336: Fix coverity issues 275, 276, 277, 323, 432, 433, and 434 r18337: Fix Coverity issue #106: release free space section node on error r18338: Fixed Coverity #94 - In H5P_register, new_class wasn't closed when there's an error after it's created. r18339: Fix Coverity #185 - In test_conv_str_1, BUF wasn't freed when there's an error in this function. r18340: Correct error in r18337 that wasn't releasing indirect fractal heap block early enough. r18341: Close nodes if any failed in the middle of allocating new nodes. Coverity 140 and 141 r18342: Correct [another] problem w/r18337. r18343: Fix coverity items 185, 20, and 21. r18344: Fix Coverity 213 - In H5FD_family_close, the double pointer file->memb was dereferenced without NULL checking (We believe). r18345: Fix Coverity issue # 210; removed NULL check after pointer dereferenced in H5HFdblock.c. Also assigned NULL to pointer in H5Pint.c to fix segmentation fault. Tested on: FreeBSD/32 6.3 (duty) w/debug) (h5committested on trunk)
* [svn-r18332] Description:Jonathan Kim2010-02-241-16/+5
| | | | | | | | Update to use H5Gcreate2 instead of H5Gcreate. Remove mis-used type related code. Tested: jam, amani and linew
* [svn-r18330] Description:Jonathan Kim2010-02-241-1/+1
| | | | | | | | Fix to handle $srcdir for nightly test as well as local testing Merged from hdf5 18329. Tested: jam, amani and linew
* [svn-r18327] I commented out the macro H5_HAVE_SYMLINK because I ran the ↵Raymond Lu2010-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | following C test under hdf5/test directory. OpenVMS couldn't open a file through symbolic link. This macro is mainly used in test/links.c for the function call external_symlink and in src/H5F.c. Tested on OpenVMS. ------------------------------------------------------------------------ #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> int main(void) { int file1, file2; /* Create a symbolic link to the file 21b.c */ if(symlink("[LU.hdf5_1_8_2_5.test.tmp2]21b.c", "[LU.hdf5_1_8_2_5.test.tmp]sym1") < 0) printf("symlink failed\n"); /* Create the file 21b.c */ if((file1 = open("[LU.hdf5_1_8_2_5.test.tmp2]21b.c", O_CREAT | O_TRUNC | O_RDWR)) < 0) printf("1st open failed\n"); if(close(file1) < 0) printf("close failed\n"); /* Open the 21b.c through the symbolic link */ if((file2 = open("[LU.hdf5_1_8_2_5.test.tmp]sym1", O_RDWR)) < 0) { int errsv = errno; printf("2nd open failed, errno=%d\n", errsv); } if(close(file2) < 0) printf("close failed\n"); return 0; }
* [svn-r18324] Updated test script to match *nix shell script. Allen Byrne2010-02-231-0/+7
| | | | Tested: windows
* [svn-r18323] Updated test script to match *nix shell script. Allen Byrne2010-02-231-3/+36
| | | | Tested: windows
* [svn-r18321] Purpose:Jonathan Kim2010-02-236-21/+409
| | | | | | | | | | | | | | Bug1727 - h5copy: add test cases for object and region references Note: merged from hdf5 trunk 18319 and 18320 File added: tools/h5copy/testfiles/h5copy_ref.out.ls tools/h5copy/testfiles/h5copy_ref.h5 Tested: jam