summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13580] Description:Quincey Koziol2007-04-033-107/+154
| | | | | | | | | | | | Add version # and flags to external link format (as fields in a single byte), in order to accomodate future changes/expansions. Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty)
* [svn-r13575] Problem:Elena Pourmal2007-04-031-1/+1
| | | | | | | | | | | dsets failed on kelgia with assertion failure in H5Ocache.c. Kelgia could not deal with the comparison of uint64_t variable with 4294967296 constant. Solution: By John's suggestions used suffix LL for the constant. Platforms tested: kelgia, kagiso, and smirom with icc compiler
* [svn-r13573] Pedro Vicente Nunes2007-04-021-0/+18
| | | | | | | | | | | | Bug fixes Reset external file list slots name_offset to a state when created (0) in H5P_dcrt_copy so that it conforms to an assertion in H5D_update_entry_info that assumes the name_offset is 0 at this point this fixes the problem of h5repack and external files, add a new test and files for an external file h5diff, check for an error return in H5D_get_storage_size tested linux 32, 64
* [svn-r13570] Description:Quincey Koziol2007-03-302-1/+38
| | | | | | | | Fix error when eliminating empty chunk from "middle" of list of chunks for an object header. Tested on: Mac OS X/32 10.4.9 (amazon)
* [svn-r13549] Description:Quincey Koziol2007-03-271-1/+2
| | | | | | | | | Check in changes from Elena and I to get pgcc compiler working again. Primarily (all?) changes to move from using 'hsize_t' as array index to using something else ('size_t') mostly. Tested on: Linux/32 2.4 kagiso w/pgcc
* [svn-r13544] Some minor adjustment from last round of checkin. Tested on kagisoRaymond Lu2007-03-261-4/+3
| | | | only because the changes are simple.
* [svn-r13542] Added a detection for zero-length VL data in H5T_conv_vlen to ↵Raymond Lu2007-03-261-1/+7
| | | | | | handle the case properly. This fix was discovered by the user while Bug #717 was being fixed. Modefied the test, too.
* [svn-r13534] Description:Quincey Koziol2007-03-211-101/+66
| | | | | | | | Minor code cleanups... Tested on: FreeBSD/32 6.2 (duty) Too minor to require h5committest
* [svn-r13531] When a dataset is created and no data is written, but fill ↵Raymond Lu2007-03-201-21/+77
| | | | | | | | | | | | value is defined, if there's VL type of data in the dataset, the address of the data is copied multiple times into the buffer, causing some trouble when the data is released. Instead, this checkin makes multiple copies of fill value first, then does conversion on each element so that each of them has a copy of the VL data. A test is added, too. Tested it on kagiso, sol, and copper.
* [svn-r13523] DescriptionAlbert Cheng2007-03-161-7/+8
| | | | | | | | | Switch the default setting for configure from --enable-production/--disable-debug to --disable-production/--enable-debug. Platform Tested: In kagiso with fortran and C++. No commit test because changes happened in configure and it is straight forward.
* [svn-r13520] Description:Quincey Koziol2007-03-162-2/+113
| | | | | | | | | Added H5Lexists() API routine, which determines if a link of a particular name exists in a group. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13518] Description:Quincey Koziol2007-03-161-1/+8
| | | | | | | | Add some sanity checking to improve the resilience of the object header decoding in the face of a bad reference, or a corrupted file. Tested on: Mac OS X/32 10.4.9 (amazon)
* [svn-r13517] To deal with the situation that compiler supports direct I/O ↵Raymond Lu2007-03-151-10/+22
| | | | | | but file system doesn't, added a condition check of writing aligned data. Skip the test for direct VFD if it's this situation.
* [svn-r13500] Description:Quincey Koziol2007-03-122-1/+4
| | | | | | | | | Roll changes to SOHM v2 B-tree records into format, to get the format for them stable while I'm working on debugging the actual support for the "unique, but sharable" feature. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13499] Description:Quincey Koziol2007-03-128-19/+74
| | | | | | | | Avoid storing the # of attributes in the "attribute info" message and regenerate it when the object is opened. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13498] Description:Quincey Koziol2007-03-1216-67/+164
| | | | | | | | | Eliminate storing # of links in "link info" message, regenerate it when the object is opened instead. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13497] Description:Quincey Koziol2007-03-119-107/+614
| | | | | | | | | | | | | | | | | | Move ref. count of # of links to an object out of the object header's prefix and make it a header message instead (since it's a "rare" occurence), eliminating some more space for each object in the file. Inserting this "ref. count" message exposed a flaw in the library's mechanism for locating a message to promote to another chunk and replace with a continuation message, which required some additional work to fix. It's still not completely robust, but it's working for more cases now and detects failures robustly. Reduced the minimum size of an object header chunk to just enough to contain a header message prefix and continuation message. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13496] Description:Quincey Koziol2007-03-114-37/+129
| | | | | | | Reduce size of "default" link message storage. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13495] Description:Quincey Koziol2007-03-113-19/+23
| | | | | | | Cleanup handling of file consistency/status flags a bit. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13494] Description:Quincey Koziol2007-03-112-18/+18
| | | | | | | Whitespace/formatting cleanup. Tested on: None, just eyeballed.
* [svn-r13493] Description:Quincey Koziol2007-03-114-20/+60
| | | | | | | Eliminate storing default values for "group info" fields. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13492] Description:Quincey Koziol2007-03-115-33/+88
| | | | | | | | | Fix mis-calculation of chunk #0 size encoding and also catch a few more places which adjust the size of chunk and have them adjust the encode flags also. Add some assertions to object header sanity checking routine. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13491] Description:Quincey Koziol2007-03-104-16/+89
| | | | | | | | Reduce the size of the value used to store the # of bytes in the "payload" for chunk 0 of an object header. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13490] Description:Quincey Koziol2007-03-108-93/+45
| | | | | | | | | | | | Move "creation order tracked" flag from "group info" to "link info" object header message and make the "max. creation order value" optional in the "link info", if the creation order for links is not tracked. Also, get rid of unused "index names" flag - names are always indexed currently. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13489] Description:Quincey Koziol2007-03-101-14/+14
| | | | | | | | Make certain to use the later version of the object header format if creation order is tracked on attributes. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13488] Description:Quincey Koziol2007-03-105-13/+5
| | | | | | | | | Remove unused "min. creation order" field from link info object header message. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13487] Description:Quincey Koziol2007-03-103-15/+18
| | | | | | | | | Eliminate message count from new version of object header prefix - it can be computed when the header is loaded and the table of messages is built. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13486] Description:Quincey Koziol2007-03-1015-512/+687
| | | | | | | | | Move attribute tracking information out of object header prefix and make it into a message that is inserted only when attributes are present on the object. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13485] Description:Quincey Koziol2007-03-101-11/+11
| | | | | | | | Fix reference to uninitialized memory, which could trigger a memory corruption, once in a purple moon. Tested on: FreeBSD/32 6.2 (duty) w/valgrind
* [svn-r13477] Description:Quincey Koziol2007-03-0817-61/+338
| | | | | | | | | | | | | | | | | | | | The main purpose of this checkin was to eliminate the space used for tracking creation time indices when there is no way they can be used (i.e. attributes can't be shared in the file and the user hasn't turned on attribute creation tracking), however there were some other minor changes which crept in: - Fix a cache locking deadlock when a shared attribute and one of its components end up in the same fractal heap direct block. (This is fixed the "slow" way for right now, until John has time to add support for readers/writer locking to the cache. - Optimize attribute copying when a copy will be kept during a v2 B-tree search. - When freeing a block on disk, attempt to merge it with the metadata and "small data" aggregators. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13476] Snapshot version 1.8 release 0 (alpha6snap2)HDF Tester2007-03-081-2/+2
|
* [svn-r13475] There's a configure issue linking szip's shared libraries when ↵Mike McGreevy2007-03-0832-148/+170
| | | | | | | | | | | | running on kagiso. The static szip libraries are working as intended, but when shared szip libraries are present and intended for use they cannot be opened. A check has been implemented to test if shared szip libraries are functional on current platform. If they are not, and the user is trying to use them, szip is now disbaled and the user is informed. This issue occurs on kagiso, and the resolution was tested on kagiso.
* [svn-r13472] Description:Quincey Koziol2007-03-067-24/+439
| | | | | | | | Add new object header message to track attribute information (unused currently). Tested on: Mac OS X/32 10.4.8 (amazon)
* [svn-r13470] Description:Quincey Koziol2007-03-065-11/+30
| | | | | | | | Avoid storing the phase change values for attribute storage, unless they are non-default values. Tested on: Mac OS X/32 10.4.8 (amazon)
* [svn-r13469] Description:Quincey Koziol2007-03-062-15/+17
| | | | | | | | | Minor code rearrangements and comment cleanups, in preparation for moving attribute tracking information out of object header prefix. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13468] Description:Quincey Koziol2007-03-061-9/+10
| | | | | | | | | | Correct total chunk size computation in debugging routine, which was causing incorrect warning messages to be printed for some object's with more than one header chunk. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13467] Move copying ref attribute to post copy because ↵Peter Cao2007-03-061-24/+70
| | | | | | | H5O_post_copy_file() fails at the case that an object may have a reference attribute that points to the object itself.
* [svn-r13466] Description:Quincey Koziol2007-03-062-1/+6
| | | | | | | | | Add some extra sanity checking to object header status flags read from file. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13465] Description:Quincey Koziol2007-03-0610-183/+311
| | | | | | | | | | | | Fix bug in external links when "strong" file close degree is used. Make external link callbacks use standard error reporting mechanisms. Other minor code cleanups... Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13459] Fix for Bug #763 - failure to create dataset of variable-length ↵Raymond Lu2007-03-051-1/+4
| | | | | | | | data with fill value. In function H5O_fill_convert, the background buffer was allocated without clearing. Later in H5T_vlen_disk_write , library thought there's data in this background buffer. Changed the allocating function to CALLOC.
* [svn-r13457] Fix problem on copying reg_ref attributes.Peter Cao2007-03-051-1/+2
|
* [svn-r13449] Description:Quincey Koziol2007-03-049-106/+269
| | | | | | | | | | | | | Add object creation property (H5P[s|g]et_obj_track_times) to disable storing timestamps on objects, which makes the object's header size smaller. Also, added object header status flags to H5O_info_t struct (for H5Oget_info/H5Oget_info_by_idx) and cleaned up other field names in the struct as well. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13442] H5system.c file didn't include H5MMprivate.h; that caused ↵Elena Pourmal2007-03-021-1/+2
| | | | | | | | | warnings on VMS; fixed tfilter.cpp compilation failed on VMS; fixed by casting filter_bogus to (H5Z_func_t) Platforms tested: kagiso, VMS server
* [svn-r13440] Description:Quincey Koziol2007-03-0115-368/+1093
| | | | | | | | | | | | | | | | | | | Revise latest form of superblock format pretty drastically, to eliminate unused fields and move rarely used fields into superblock extension. Finished removing last vestiges of references to (never used) i"shared" object header message ID. Added object header messages for non-default v1 B-tree 'K' values and for driver info. Updated testfiles to reflect size changes, etc. Various minor cleanups, etc. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13437] Description:Leon Arber2007-03-011-0/+49
| | | | Added code to properly format the "H5FD_mpio_collective_opt_t" and "H5FD_mpio_chunk_opt_t" types for output during tracing.
* [svn-r13436] Description:Quincey Koziol2007-02-281-3/+3
| | | | Correct some errors in comments.
* [svn-r13435] Changed prototype of HDremove_all function to use const char * ↵Elena Pourmal2007-02-281-1/+1
| | | | | | | | | instead of char * This function is only used on VMS Platforms tested: kagiso, VMS is still going.
* [svn-r13434] Used const char * instead of char pointer for HDremove_all ↵Elena Pourmal2007-02-281-1/+1
| | | | | | | | | function that is used on VMS. This should fix C++ compilation failures on VMS. Platforms tested: kagiso, VMS is stilll going on.
* [svn-r13432] Changed the detection of alignment requirement for Direct I/O ↵Raymond Lu2007-02-282-16/+33
| | | | | | from configuration to run-time detection in H5FD_direct_open in H5FDdirect.c.
* [svn-r13428] Purpose:Leon Arber2007-02-281-2/+2
| | | | | | | | Change formatting of file_handle parameter in funtion declaration to make bin/trace happy. Tested: smirom (minor, purely cosmetic change)