summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7747] Purpose:Quincey Koziol2003-10-272-116/+0
| | | | | | | | | | | | Code cleanup Description: Remove collective parallel I/O checking code, now that it's impossible to get into this code with collective access enabled. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7745] Purpose:Quincey Koziol2003-10-271-108/+54
| | | | | | | | | | | | | | Code cleanup Description: More refactoring on setup of MPI-IO parameters: hoisted the code to change the transfer mode from collective to independent up into the H5D_read and H5D_write routines, instead of duplicating it inside each of the chunk/contig read/write routines. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7743] Purpose:Quincey Koziol2003-10-272-87/+61
| | | | | | | | | | | | Code cleanup Description: Clean up setup code for collective I/O transfers to make the logic more obvious. Platforms tested: FreeBSD 4.9 (sleipnir) too minor for h5committest
* [svn-r7735] Purpose:Quincey Koziol2003-10-251-30/+44
| | | | | | | | | | | | | | | | | Bug fix Description: Single hyperslab selections (which were set with only one call to H5Sselect_hyperslab) that had dimensions that could be "flattened" but were interspersed with dimensions that could not be flattened were not correctly handled, causing core dumps. Solution: Re-work "flattening" code to handle this case properly. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7726] Purpose:Quincey Koziol2003-10-245-209/+316
| | | | | | | | | | | | Code cleanup Description: Refactored handlier of VFL drivers in file access and data transfer property lists in order to simplify and unify the code dealing with them. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7723] Purpose:Quincey Koziol2003-10-241-2/+2
| | | | | | | | | | | | Bug fix Description: Change "H5_HAVE_PARALLEL" to "H5_HAVE_FPHDF5" around VFL ID, to prevent daily builds from failing. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel too specialized to require h5committest
* [svn-r7681] Purpose:Quincey Koziol2003-10-211-209/+164
| | | | | | | | | | | | | | | Bug fix Description: Remove the [duplicated] native C9x datatype initializatin code from H5T.c and let the automatically generated code in H5Tinit.c handle initializing them, if they are allowed by the compiler. Platforms tested: FreeBSD 4.9 (sleipnir) Linux 2.4 (verbena, eirene) probably should be h5committested, but it's late and I'm fairly certain this will fix the problem... :-/
* [svn-r7676] Purpose:Quincey Koziol2003-10-201-2/+2
| | | | | | | | | | | | | | | Bug fix Description: Avoid "OPAQUE" symbol in template macro invocation, since it's already defined as a macro on Windows. Solution: OPAQUE -> OPAQ Platforms tested: FreeBSD 4.9 (sleipnir) Windows ? (Pedro's machine :-)
* [svn-r7672] Purpose:Quincey Koziol2003-10-203-1654/+688
| | | | | | | | | | | | | | Code cleanup/refactoring/potential bug fix Description: Migrate "template macro" changes from development branch back into this branch, since they give about a 20% speedup for integer & floating-point type conversions. The also avoid a potential alignment bug on the Crays... Platforms tested: FreeBSD 4.9 (sleipnir) h5committest not necessary, since the changes are already verified in the development branch.
* [svn-r7670] Purpose:Quincey Koziol2003-10-201-12/+8
| | | | | | | | | | | | | | | | | | Bug fix Description: In certain [very rare] circumstances, the object header for a named datatype can preempt the object header for the dataset using the named datatype, causing the library to die an ugly death. Solution: "Protect" the object header for the dataset (taking it out of the cache) before getting the information about it's named datatype, avoiding the cache deadlock. Platforms tested: FreeBSD 4.9 (sleipnir) Windows ? (at Boeing site)
* [svn-r7661] Purpose: Maintenance after 1.6.1 releaseElena Pourmal2003-10-171-2/+2
| | | | | | | | | | | Description: Changes version to 1.6.1-post0 and updated RELEASE.txt and HISTORY.txt filese fro the new version. Solution: N/A Platforms tested: N/A Misc. update:
* [svn-r7659] Purpose: MaintenanceElena Pourmal2003-10-171-2/+2
| | | | | | | | | | | | Description: I run bin/release to create an hdf5-1.6.1 release tar ball. Now I am checking in modified files before tagging the release. Solution: N/A Platforms tested: N/A Misc. update:
* [svn-r7633] Purpose: MaintenanceElena Pourmal2003-10-151-2/+2
| | | | | | | | | | Description: Bumped the version number to 1.6.1-pre2 after creating a tar ball for the third round of testing Platforms tested: bin/h5vers -s 1.6.1-pre2 on eirene Misc. update:
* [svn-r7632] Purpose:Albert Cheng2003-10-141-3/+3
| | | | | | | Changed version to 1.6.1-pre1 to prepare for release. Platforms tested: "h5committested"
* [svn-r7625] Purpose: MaintenanceElena Pourmal2003-10-141-2/+2
| | | | | | | | | | | Description: Bumped up the version number after creating a tar ball for the second round of testing Solution: N/A Platforms tested: done with bin/h5vers on eirene Misc. update:
* [svn-r7624] Purpose:Quincey Koziol2003-10-142-181/+63
| | | | | | | Updated dependencies and tracing information Platforms tested: Not necessary.
* [svn-r7608] Purpose:Quincey Koziol2003-10-131-0/+1
| | | | | | | | | | Bug fix Description: Add MPE "color" for new H5Fget_freespace() API function. Platforms tested: None - just eyeballed - too minor to require testing.
* [svn-r7594] Purpose:Quincey Koziol2003-10-101-9/+11
| | | | | | | | | | | | | | | | | | | | | Bug fix Description: The 'char *' type is one of the "strongly" aligned types on Crays, but a 'void *' is "weakly" aligned. So, assigning a 'void *' (pointing to a location to place a 'char *') to a 'char **' can change the pointer value during the assignment. Solution: Don't alias the 'void *' where the variable-length information ('char *' or 'hvl_t') will go. Use a temporary variable on the stack to build up the information about the VL string or sequence and then memcpy() the temporary variable directly to the location pointed to with the 'void *' Platforms tested: FreeBSD 4.9 (sleipnir) Cray SV1 (wind) specific to Cray problems, h5committest not necessary.
* [svn-r7592] Purpose:Quincey Koziol2003-10-101-3/+1
| | | | | | | | | | | | Bug fix Description: Correct the size of the buffer needed for the destination value to use the actual destination type size. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7579] Purpose:Quincey Koziol2003-10-091-10/+13
| | | | | | | | | | | | | | | | | Bug fix Description: The VL type conversion routine attempt to align it's destination buffer to an offer that will work for both hvl_t and char * types, but the algorithm used fails to work correctly on Cray machines. Solution: Give up on attempting to align the buffer when it's allocated on the stack. Just dynamically allocate it instead. Platforms tested: FreeBSD 4.9 (sleipnir) Cray SV1 (wind)
* [svn-r7573] Purpose:Quincey Koziol2003-10-081-30/+35
| | | | | | | | | | | | | | | | | Bug fix Description: When too many messages were inserted into an object header, the library had an internal pointer to the "new message" that was pointing to the incorrect location when the array of messages was re-allocated. In the worst case, this could cause a file to be corrupted. Solution: Update the internal pointer when the array is re-allocated. Platforms tested: FreeBSD 4.9 (sleipnir) Too small to require h5committest
* [svn-r7563] Purpose: MaintenanceElena Pourmal2003-10-071-2/+2
| | | | | | | | | | Description: Increased version number to 1.6.0-post11 after creating a tar ball for testing Platforms tested: eirene Misc. update:
* [svn-r7562] Purpose:Quincey Koziol2003-10-075-2/+76
| | | | | | | | | | | | Feature add Description: Add a few new fields to the H5G_stat_t structure, to allow more information about the object header to be retrieved. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7560] Purpose:Quincey Koziol2003-10-074-0/+88
| | | | | | | | | | | | | | Add feature Description: Add H5Fget_freespace() routine, to check the amount of free space in a file. This information is only valid until the file is closed currently, however (until we start recording the free space information in the file itself). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7554] Purpose:Quincey Koziol2003-10-061-79/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Improved algorithm (bug fix, sorta) Description: The internal algorithm for adding new IDs in the ID manager code (H5I) was adding new IDs to the front of the linked list and never adjusting the order of the items on the list (unless an ID was deleted). If many new objects were created, they would push earlier ones _way_ down the list (especially if the objects were being leaked in the application, as they appear to be in the current HDF-EOS5 library) and would cause O(n) search time for items on the list. The ID caching code in the ID manager was avoiding this behavior sometimes, but it was adding IDs that were looked up to the very tail of the cache and they would frequently leave the cache before helping. Solution: Implemented a "move to front" scheme for the linked list of IDs, which improves the lookup situation for frequently accessed objects. Removed ID caching code now, as the "move to front" algorithm actually works better. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7552] Purpose:Quincey Koziol2003-10-061-8/+0
| | | | | | | | | | | | | | Bug/feature fix. Description: Relax restriction on parallel writing to compact datasets to allow partial I/O. Updated reference manual mentioning the issues involved. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7543] Purpose:Quincey Koziol2003-10-0524-293/+916
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fixes and code cleanup Description: Lots of changes here: - Fixed bug #691 - when shared datatypes are used in attributes they are incorrectly copied into the attribute instead of referring the the named datatype in the file. This required bumping the version of the attribute message. The new version of the attribute message is only written out when a shared datatype is used in the attribute. [Also, this format change made the size of the attribute smaller.] - Added information to attribute debugging routine so that shared datatypes are displayed correctly with the h5debug tool. - Refactored the H5O* routines to extract code that was common to several routines into subroutines to call. - Added 'link' method for H5O message sub-classes, which increments the link count on shared objects when a message is created which shares them. - Corrected [unreported] bug where the link count was not being decremented on the shared object when a object header message with a reference to that object was deleted from the file. - Reduced size of shared message from 49 bytes (which was incorrect anyway and should have been 48 bytes) to 10 bytes, which required bumping the version of "shared" messages. - Refactored some of the shared datatype routines to allow for easier queries of "committedness" internally to the library and also added routine to easily increment/decrement the reference count of a shared datatype. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7531] Elena Pourmal2003-10-011-2/+2
| | | | | | | | | | Purpose: Maintenance Description: Changed version to 1.6.0-post10 after creating a release tar ball for a Fortran user. Misc. update:
* [svn-r7503] Snapshot version 1.6 release 0 (post8)HDF Admin2003-09-221-2/+2
|
* [svn-r7486] Purpose:Quincey Koziol2003-09-171-2/+2
| | | | | | | Bump version # after creating bugfix snapshot Platforms tested: None necessary.
* [svn-r7481] Purpose:Quincey Koziol2003-09-162-13/+24
| | | | | | | | | | | | | | | | | Bug fix Description: The MPI_File_set_size() routine on ASCI Red is not able to extend files so that they are larger than 2GB. Solution: Add an extra macro which controls whether MPI_File_set_size() can handle >2GB offsets or if our "older" way of reading a byte, then writing a byte at the appropriate offset should be used. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7479] Purpose:Quincey Koziol2003-09-161-1/+4
| | | | | | | | | | | | | | | Bug fix Description: H5Dwrite was only checking the "top level" of the datatype to stop parallel I/O on variable-length datatypes. Solution: Make checks "deeper". Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7470] Purpose:Quincey Koziol2003-09-121-2/+2
| | | | | | | Increment version info after making snapshot for bug #1017 fix. Platforms tested: No testing necessary.
* [svn-r7469] Purpose:Quincey Koziol2003-09-124-26/+139
| | | | | | | | | | | | | | | | | | Code cleanup, etc. Description: Generalize Ray's datatype fixes to handle packing compound datatypes which are the base type of an array or variable-length type, etc. Also track "packedness" of a compound datatype from it's creation, instead of only setting the 'packed' flag after the datatype was explicitly packed. Updated docs to reflect that a compound datatype is allowed to grow (but not shrink). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7459] Purpose:Quincey Koziol2003-09-101-2/+2
| | | | | | | Increment version info after making snapshot for bug #1021 fix. Platforms tested: No testing necessary.
* [svn-r7458] Purpose:Quincey Koziol2003-09-101-22/+25
| | | | | | | | | | | | | | | | | | Bug fix. Description: Correct bug where a file opened twice, once with read-write permission and once with read-only permission would cause closing the file with the read-only file ID to fail because it was trying to flush information out of the file. Solution: Check the permissions on file IDs that are being closed and only flush when the particular file ID was opened with write permission. Platforms tested: FreeBSD 4.9 (sleipnir) too small to need h5committest
* [svn-r7455] Purpose:Quincey Koziol2003-09-103-20/+39
| | | | | | | | | | | Checkpoint file format revisions. Description: Clarifications and cleanups related to file format review. Platforms tested: FreeBSD 4.9 (sleipnir) Too minor to need h5committest
* [svn-r7447] Snapshot version 1.6 release 0 (post4)HDF Admin2003-09-081-2/+2
|
* [svn-r7443] Purpose:Quincey Koziol2003-09-041-2/+2
| | | | Snapshot repo for bug fix testing
* [svn-r7442] Purpose:Quincey Koziol2003-09-042-4/+9
| | | | | | | | | | | | | | | | | Bug fix Description: The VFL driver ID in a file's access proprty list wasn't being reference counted correctly, causing the VFL driver to get prematurely closed after several calls to "H5Pget_access_plist->H5Pclose". Solution: Increment VFL driver ID reference count when copy of file's access property list is made in H5Pget_access_plist() Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7437] Snapshot version 1.6 release 0 (post2)HDF Admin2003-09-012-3/+3
|
* [svn-r7435] Purpose:Quincey Koziol2003-08-3116-148/+167
| | | | | | | | | | | | | | | | | | | | Bug Fix and code cleanup Description: Correct error in H5T_detect_class that was causing nested compound datatypes with to not detect the datatype class of fields correctly, which caused errors with fill-values, variable-length datatypes and chunks later on. Return the rank of the array datatype from H5Tget_array_dims(), like H5Sget_dims(). Lots of cleanups to datatype code, to make the handling of arrays, compound types, variable-length strings and sequences and enumerated types more consistent and robust. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7427] Purpose:Quincey Koziol2003-08-286-10/+55
| | | | | | | | | | | | | | | | | Bug fix Description: When datasets are deleted from a file, they are removed from the sieve buffer, but instead of invalidating only the part of the sieve buffer affected, the sieve buffer code would throw away the entire sieve buffer, potentially including other raw data in the buffer that hadn't been written to disk yet. Solution: Improve the sieve buffer clearing code to handle partial invalidations. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7413] Purpose:Quincey Koziol2003-08-261-5/+6
| | | | | | | | | | | | | | | | | | | Bug fix Description: H5Gget_objname_by_idx should allow NULL for the 'name' parameter, to allow for querying for the name's length. Solution: Allow NULL for the 'name' parameter, the internal functions were already ready to handle that case. Clean up RM information about H5Gget_objname_by_idx and H5Gget_objtype_by_idx also. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7409] Purpose:Albert Cheng2003-08-251-0/+2
| | | | | | | | | | | | Bug fix. Description: Added MPE color definintions for the Stream-vfd API. Platforms tested: Tested in Copper since MPE only works there. Misc. update:
* [svn-r7405] Purpose:Quincey Koziol2003-08-251-37/+12
| | | | | | | | | | | | | | | | Bug fix Description: Correct bug creating native versions of "complex" compound datatypes on certain architectures (Sparc-Solaris) which require stricter alignment. Also, correct bug where metadata (padding type, etc.) for strings was incorrectly dropped. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7403] Purpose:Quincey Koziol2003-08-251-8/+12
| | | | | | | | | | | | | | | | | | | Bug fix Description: Correct problem with mis-aligned string pointers on certain architectures (i.e. on modi4) causing a core dump. The string pointers can be mis-aligned due to being part of a compound datatype and how our compound type conversion routines work. Solution: Allocate string with temporary variable and memcpy() the pointer to the new string into the type conversion buffer, instead of dereferencing the type conversion buffer directly. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7392] Purpose:Quincey Koziol2003-08-224-62/+91
| | | | | | | | | | | | | | | | Bug fix Description: H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx were only accepting a group ID, instead of a location ID, as our documentation for them stated. Solution: Allow them to accept a location ID. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7385] Purpose:Quincey Koziol2003-08-201-2/+4
| | | | | | | | | | | | Bug fix Description: Correct a bug which was incrementing the incorrect driver ID of a file driver and also no saving the correct driver ID for the newly opened file. Platforms tested: FreeBSD 4.8 (sleipnir) too minor for h5committest
* [svn-r7382] Purpose:Quincey Koziol2003-08-191-8/+30
| | | | | | | | | | | | | | | | Bug fix Description: I/O on chunked datasets with a scalar dataspace for the memory dataspace was not working correctly. Solution: Translate the scalar dataspace into a n-dimensional (where n is the number of dimensions of the file's dataspace) dataspace of dimensions 1x1x1... Platforms tested: FreeBSD 4.8 (sleipnir) h5committest (modulo modi4 which is not working correctly)