summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r16477] Purpose: Fix problem with opening an attribute multiple times ↵Neil Fortner2009-02-126-20/+20
| | | | | | | | | | | | | | | through multiple file handles. Description: An attribute's "oloc" field which specifies the file it resides in was located in the attribute's "shared" structure. So when an attribute was opened multiple times all of the handles for that attribute pointed to the same file id, even if different file id's were used to open the different handles for the attribute. The "oloc" has been moved to the top level H5A_t struct. Tested: jam, smirom (h5committest)
* [svn-r16475] Purpose: Fix rare error when adding a new object header messageNeil Fortner2009-02-121-57/+126
| | | | | | | | | | | | Description: Since the new object header format, it has been possible for a situation to be created where none of the messages are large enough to hold a continuation message and there are no null messages to merge with. This makes it impossible to add a new object header chunk. This case will now be handled by moving every message in the last chunk to the newly allocated one, except for null messages which are deleted. Tested: jam, smirom (h5committest)
* [svn-r16473] Purpose: fix problems related to 'self-referential' attributesNeil Fortner2009-02-1235-152/+217
| | | | | | | | | | | | Description: When an attribute was created with a datatype or dataspace that was shared in the same object header that the attribute was in, the attribute could not be deleted. Changes made to ensure that the attribute can be deleted both when the attribute is in the object header and when it is shared in the heap. Object header message decode routines now take an "open_oh" parameter to enable them to avoid opening the same object header twice. Tested: jam, smirom (h5committest)
* [svn-r16465] Performance Improvement(bug #1450). When a chunk is bigger ↵Raymond Lu2009-02-113-18/+174
| | | | | | | | | than the cache size and isn't allocated on disk, the library still loaded it in the cache, which is redundant. I changed it to bypass the cache and added a test in dsets.c. Tested on jam and smirom.
* [svn-r16453] Snapshot version 1.9 release 30HDF Tester2009-02-082-3/+3
|
* [svn-r16436] Checkin for moving messages forward into continuation message:Vailin Choi2009-02-052-8/+148
| | | | | src/H5Oalloc.c, test/ohdr.c, toshm.c Fixed couple of problems in src/H5Odbg.c.
* [svn-r16414] Description:Quincey Koziol2009-02-032-15/+29
| | | | | | | | | | Eliminate some more calls to H5E_clear_stack() from within library code. Clean up some warnings & comments also. Tested on: Mac OS X/32 10.5.6 (amazon) (Too minor to require h5committest)
* [svn-r16401] Description:Quincey Koziol2009-02-031-1/+1
| | | | | | | | | Correct error introduced in r16353 with layout version, and add test so it gets caught earlier. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
* [svn-r16399] Description:Quincey Koziol2009-02-023-24/+21
| | | | | | | | Remove some internal calls to H5E_clear_stack(). Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
* [svn-r16397] Snapshot version 1.9 release 29HDF Tester2009-02-012-3/+3
|
* [svn-r16394] Description:Quincey Koziol2009-02-017-14/+14
| | | | | | | | | | | | Rename H5O_msg_read_real -> H5O_msg_read_oh, to be more consistent with other routines in library. Move H5O_msg_read_oh and H5O_msg_exists_oh from package to private header file, so other routines in library can use them. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
* [svn-r16391] Description:Quincey Koziol2009-01-318-50/+109
| | | | | | | | Add more metadata statistics to extensible array header. Tested on: FreeBSD 6.3 (duty) (too minor to require h5committest)
* [svn-r16386] Fix various warnings (errors in pgcc) associated with ↵Neil Fortner2009-01-303-15/+13
| | | | | | | | yesterday's dense attribute object copy commit. Tested: jam (gcc and pgcc)
* [svn-r16382] Description:Quincey Koziol2009-01-291-18/+18
| | | | | | | Re-insert some whitespace formatting that was accidentally removed. Tested on: None - just eyeballed.
* [svn-r16380] Purpose: Enable copying of dense attributesNeil Fortner2009-01-294-287/+607
| | | | | | | | | Description: Attribute object copy routines have been moved from H5Oattr.c to H5Aint.c. These routines are now shared between compact and densely stored attributes. New routines written to support the copying of dense attributes. This patch wasmostly written by Peter Cao. Tested: jam, smirom (h5committest)
* [svn-r16378] Description:Allen Byrne2009-01-291-23/+25
| | | | | | | | | Changed max macro in earray.c to avoid Windows conflict. Changed if(test) to assert(test) in H5FDcore.c - H5FD_core_open() Tested on: Windows: XP32, XP64, Vista32, Vista64 H5committest.
* [svn-r16376] Purpose: Fix a bug encountered when copying shared messagesNeil Fortner2009-01-296-14/+41
| | | | | | | | | | | | | Description: When attempting to copy an object with a message shared in its own object header, the library attempts to protect the same object header twice. Previously, it was possible for the object header to be protected with write access in one or both of these protects, which would be illegal. The library should now always protect with read only access in this case. The conditions for fixing incorrect datatype versions have been made weaker to support this change. The version will only be corrected if the object header the datatype is in is modified. Tested: jam, smirom (h5committest)
* [svn-r16367] Description:Quincey Koziol2009-01-272-40/+121
| | | | | | | | | | Refactor internal address encode/decode routines slightly, to allow for more flexible use. Tested on: Mac OS X/32 (amazon) FreeBSD/32 (duty) (too minor to require h5committest)
* [svn-r16366] Description:Quincey Koziol2009-01-276-15/+116
| | | | | | | | | Add context pointer for extensible array client callbacks. Tested on: Mac OS X/32 (amazon) FreeBSD/32 (duty) (too minor to require full h5committest)
* [svn-r16364] Description:Quincey Koziol2009-01-271-3/+3
| | | | | | | | Clean up a few compiler warnings Tested on: Mac OS X/32 (amazon) (too minor to require h5committest)
* [svn-r16360] Purpose: Fix potential error with H5Tset_orderNeil Fortner2009-01-271-0/+2
| | | | | | | | Description: H5Tset_order will now properly reject H5T_ORDER_NONE for most datatypes. Previously this could cause major problems as the file could not be flushed. Tested: jam, smirom (h5committest)
* [svn-r16354] Description:Quincey Koziol2009-01-2714-245/+520
| | | | | | | | | | | Bring r16353 back from revise_chunks branch: Refactor internal layout information, making it easier to add another type of chunk index. Tested on: FreeBSD/32 6.3 (duty) (other platforms tested with original patch)
* [svn-r16347] Purpose: enhancements the H5Tinsert, H5TpackNeil Fortner2009-01-262-32/+135
| | | | | | | | | | | | Description: H5Tinsert will now detect when a compound type that was previously not packed becomes packed due to out of offset order insertion of a member. H5Tinsert will now attempt to keep members sorted by offset order. This should improve performance of H5Tinsert in all cases due to the fact that it no longer needs to check every other member for overlapping, and should improve performance of H5Tpack and possibly type conversion when compounds are packed out of order. Tested: jam, smirom (h5committest)
* [svn-r16344] Snapshot version 1.9 release 28HDF Tester2009-01-252-3/+3
|
* [svn-r16340] Description:Frank Baker2009-01-221-1/+1
| | | | | | Changed 'THG' to 'The HDF Group' in various HDF5 source files, most of which are <subdirectory>/COPYING. -- Closes Bugzilla entry 1403.
* [svn-r16329] Snapshot version 1.9 release 27HDF Tester2009-01-182-3/+3
|
* [svn-r16324] Purpose:Mike McGreevy2009-01-151-102/+77
| | | | | | | | | | | | | | | Code Cleanup Description: - Pulled out repetitive cache stats code into its own new macro. - Converted HDasserts in cache stats macros to if / HGOTO_ERROR statments in order to keep code consistent. Tested: jam, smirom, liberty
* [svn-r16321] Purpose:Albert Cheng2009-01-141-0/+2
| | | | | | | | | | | Improvement Description: Modified the warning messages from the Version mismatch checking to suggest the users to try recompiling or checking the shared lib setting. Platforms tested: Tested in Jam only since it was just a simple text string changes.
* [svn-r16316] Added support for OpenVMS pathname for external links.Raymond Lu2009-01-143-5/+42
| | | | Tested on jam. Tested v1.8 on OpenVMS.
* [svn-r16308] Purpose: Fix problem with H5TpackNeil Fortner2009-01-141-2/+7
| | | | | | | | | Description: If a compound type was packed except for some extra space at the end, H5Tpack would not modify the type and the extra space would remain. Changed H5T_is_packed to fix this behaviour. Tested: jam, smirom (h5committest - linew down)
* [svn-r16306] Description:Quincey Koziol2009-01-149-16/+109
| | | | | | | | | | | | | | Bring r16305 back from revise_chunks branch: Add detection of C99 "designated initializers" to configure script and use new H5_HAVE_C99_DESIGNATED_INITIALIZER macro to conditionally compile default layout variables in src/H5Pdcpl.c Also, minor code cleanups, etc. Tested on: FreeBSD/32 6.3 (duty) in debug mode (Other platforms tested on branch)
* [svn-r16290] Purpose: Mike McGreevy2009-01-093-187/+702
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding code to maintain a min_clean_fraction in the cache in serial mode. Description: The metadata cache now has the ability to maintain a min_clean_fraction when in serial mode. The default initial cache size has been changed from 1MB to 2MB, and the default min_clean_fraction has been set at 30%. This check-in includes modifications to H5C.c to support maintaining a min_clean_size, including the addition of clean_index_size and dirty_index_size trackers, modifications to the H5C_make_space_in_cache algorithm, as well as associated test code and additional statistics tracking variables. Maintaining the min_clean_fraction addresses the possibility of experiencing a "metadata blizzard" when the cache gets completely full with dirty entries. Upon having to make space, the cache would previously need to flush every single entry in the cache before coming across a clean entry which could be evicted. This resulted in unnecessary flushing of oftentimes hot entries in the cache. Maintaining the min_clean_fraction ensures that, when space is needed, clean entries are more readily available to evict. Tested: jam, smirom, linew (h5committest)
* [svn-r16281] Purpose: Add functions to allow more flexible traversal of ↵Neil Fortner2009-01-0813-22/+318
| | | | | | | | | | | external links. Description: Added H5Pset/get_elink_cb to allow the user to specify a callback function to be called whenever an external link is traversed. Added H5Pset/get_elink_acc_flags to allow the user to specify the file access flags to use to open the target file of an external link. All these properties are set on a LAPL. Tested: jam, linew, smirom (h5committest)
* [svn-r16279] Description:Quincey Koziol2009-01-0831-494/+582
| | | | | | | | | | | | | | Bring revision 16278 back from revise_chunks branch: Update layout information in DCPL to unify all information in one underlying property and switch to using H5O_layout_t for storing it, which simplifies things considerably. Also, fix many compiler warnings. Tested on: FreeBSD/32 6.3 (duty) in debug mode (Original patch tested on many machines)
* [svn-r16223] Modified H5Dset_extent so that it fails when called for compact ↵Pedro Vicente Nunes2008-12-291-0/+14
| | | | | | | | datasets and contiguous with no external storage new test program: It adds tests for several ranks, use of fill value or not, compression, different fill value allocation times, use of different storage layouts, and external files tested: windows, linux
* [svn-r16220] Snapshot version 1.9 release 26HDF Tester2008-12-282-11/+11
|
* [svn-r16214] Added HDlseek to the H5FD_core_truncate function in H5FDcore.c ↵Raymond Lu2008-12-222-1/+8
| | | | | | | | | to rewind the file pointer to the beginning of the file. Otherwise, the file might be re-extended later on Open VMS. Also updated the return value for the HDlseek to be more appropriate. Tested 1.8 on Open VMS.
* [svn-r16209] Purpose:Choonghwan Lee2008-12-193-6/+10
| | | | | | | | | | | | | | Bug fix (#1357) Description: Three filters have not assigned correct value to one value-result argument, "buf_size". N-bit, szip, and scale offset filter have had this problem. However, I don't think this problem has been making buffer overrun because those filters were informing the caller that the "buf", another value-result argument, is smaller than it actually is. If there was actual buffer overrun, I believe another problem exists although I don't know. Tested: jam, smirom, linew Although all test were passed, I'm concerned about valgrind memcheck error. There can be another miscommunication between filter and the caller.
* [svn-r16204] Description:Quincey Koziol2008-12-185-258/+301
| | | | | | | | | | | | | | | | | | | | | Moved v1 B-tree debugging routines into separate module and thinned out header files a bit. Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode 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/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) 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 production mode
* [svn-r16202] Added HDlseek in front of the truncate function in ↵Raymond Lu2008-12-151-1/+7
| | | | | | | | | H5FD_sec2_truncate for VMS only. On Open VMS, if the last read or write put the file pointer beyond the current file size (it happens when an object is deleted), the file can be extended when it's truncated. Tested v1.8 on VMS.
* [svn-r16194] Purpose:Mike McGreevy2008-12-151-26/+4
| | | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: Resolved issues with broken sanity checks that were failing when the 'b2' debugging package was enabled (v2 b-tree debugging): - Fixed outdated assertions that would not compile. They now compile and function correctly. - Removed too far outdated assertions that would require too much unnecessary refactoring of code in order to satisfy their initial purpose. - Re-enabled b2 debugging package when "--enable-debug=all" is specified on the configure line. Tested: jam, smirom, linew
* [svn-r16187] Description:Quincey Koziol2008-12-113-4/+4
| | | | | | | Change a few more "istore" references in comments to "chunk" or "btree". Tested on: None, just comments
* [svn-r16182] Description:Quincey Koziol2008-12-1114-399/+394
| | | | | | | | | | | | | | | | | | | | | | Rename internal routines, variables, macros, typedefs, etc. for chunked dataset storage from "istore" to some variant of "chunk" or "btree". Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode 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/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) 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 production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16180] Description:Quincey Koziol2008-12-113-5/+5
| | | | | | | | | | Rename the current chunk indexing routines module for B-tree indices to better reflect their purpose, and to make the upcoming extensible array index module fit in better. Tested: FreeBSD/32 6.3 Too minor to require h5committest
* [svn-r16179] Description:Quincey Koziol2008-12-111-2/+2
| | | | | | | | Use the H5F_KVALUE macro in a couple more places, to make the code easier to read. Tested on: Mac OS X only (very minor)
* [svn-r16176] Remove terminal whitespace in links.c, H5Lexternal.c, H5Pfapl.cNeil Fortner2008-12-092-7/+7
| | | | Tested: jam
* [svn-r16150] Change a call to H5FL_fac_free to H5FL_FAC_FREE so it works ↵Neil Fortner2008-12-021-1/+1
| | | | | | | | correctly when free lists are disabled. Tested: jam
* [svn-r16144] Removed the check of H5Dset_extent for the space to be ↵Pedro Vicente Nunes2008-12-011-4/+1
| | | | | | chunked, since external datasets can be extended Tested: windows, linux
* [svn-r16142] Added a check to H5Dset_extent for the space to be chunked, ↵Pedro Vicente Nunes2008-12-011-8/+11
| | | | | | | | exit with error otherwise A call to H5Dset_extent in the external test was removed Tested: windows, linux
* [svn-r16138] Snapshot version 1.9 release 25HDF Tester2008-11-302-3/+3
|