summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7472] Snapshot version 1.7 release 3HDF Admin2003-09-141-2/+2
|
* [svn-r7471] Purpose:Bill Wendling2003-09-122-539/+629
| | | | | | | | | | | | | | | | | | | | | Update Description: The F_open and F_flush functions had a lot of cruft in them. The F_flush was being used as a way to allocate the superblock. The F_open had a bunch of code in there to read and serialize the superblock. Solution: Moved these out into their own functions. Platforms tested: Modi4 (parallel, Fortran) Copper (parallel, Fortran) Verbena (Fortran, C++) Sol (Fortran) Misc. update:
* [svn-r7468] Purpose:Quincey Koziol2003-09-124-57/+161
| | | | | | | | | | | | | | | | | | 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-r7467] Purpose:Quincey Koziol2003-09-117-121/+96
| | | | | | | | | | | | | | Code cleanup Description: Patch up a few places where the metadata cache could ask for a read lock instead of a write lock and other minor code cleanups. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to need h5committest Misc. update:
* [svn-r7461] Purpose: bug #1017Raymond Lu2003-09-103-7/+16
| | | | | | | | Description: H5Tpack fails if called twice or datatype is locked. Compound datatype wasn't expandable. Platforms tested: h5committest
* [svn-r7460] Purpose:Bill Wendling2003-09-1011-61/+87
| | | | | | | | | | | | | | | Update Description: Added extra parameter to the H5AC_protect() function that indicates if the cache being asked for is going to be written to or just read from. Those AC_protect calls that were H5AC_find calls are now read-only. The rest are writes. Platforms tested: Linux (h5committest not needed due to size and small impact) Misc. update:
* [svn-r7457] Purpose:Quincey Koziol2003-09-101-25/+28
| | | | | | | | | | | | | | | | | | | | 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 Misc. update:
* [svn-r7456] Purpose:Bill Wendling2003-09-109-59/+201
| | | | | | | | | | | | | | | | | | | | | Removal of H5AC_find() Description: The H5AC_find() function is mostly redundant and with the new Flexible Parallel HDF5 stuff, we need to do locking on metadata returned from the H5AC_find() anyway. So, all of the locking stuff will be placed in the H5AC_{un}protect() functions. The H5AC_find() is no longer needed. Solution: Replaced all H5AC_finds with H5AC_protects and H5AC_unprotects. Platforms tested: Linux (Fortran & C++) Solaris (Fortran) Irix (Parallel & Fortran) Misc. update:
* [svn-r7453] Purpose:Quincey Koziol2003-09-104-41/+60
| | | | | | | Checkpoint file format spec. Description: Clarifications and cleanups related to file format review.
* [svn-r7446] Purpose:Quincey Koziol2003-09-066-34/+58
| | | | | | | | | | | | Code cleanup/bug fix Description: Move metadata cache calls around a bit so they protect the usage of the metadata better. Platforms tested: FreeBSD 4.9 (sleipnir) too small to need h5committest
* [svn-r7445] Purpose:Bill Wendling2003-09-045-26/+78
| | | | | | | | | | | | | | | | | | | | | Fix, of a sort Description: Some of the code would get an object from the cache via the H5AC_find() function and then modify the returned object. This behavior is incorrect as the pointer returned via the H5AC_find() function is supposed to be read only. Solution: Changed the H5AC_finds to H5AC_protect() instead and added the appropriate H5AC_unprotect() function. Platforms tested: (simulated h5committest by hand since it doesn't work for me) Linux (Fortran, C++) Solaris (Fortran) AIX (Fortran, C++) SGI (Parallel, Fortran)
* [svn-r7444] Purpose:Quincey Koziol2003-09-043-109/+117
| | | | | | | | | | | Code cleanup Description: More de-linting Platforms tested: FreeBSD 4.9 (sleipnir) Too small to need h5committest
* [svn-r7441] 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-r7440] Purpose:Quincey Koziol2003-09-034-55/+64
| | | | | | | | | | | Code cleanup Description: More de-linting... Platforms tested: FreeBSD 4.9 (sleipnir) too small to need h5committest
* [svn-r7438] Purpose:Quincey Koziol2003-09-0213-219/+149
| | | | | | | | | | | Code cleanup Description: More de-linting... Platforms tested: FreeBSD 4.9 (sleipnir) too small to need h5committest
* [svn-r7436] Snapshot version 1.7 release 2HDF Admin2003-08-312-3/+3
|
* [svn-r7434] Purpose:Quincey Koziol2003-08-3116-147/+166
| | | | | | | | | | | | | | | | | | | | 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-r7431] Purpose:Quincey Koziol2003-08-295-88/+98
| | | | | | | | | | | Code cleanup Description: De-linted more code. Platforms tested: FreeBSD 4.9 (sleipnir) too small to need h5committest
* [svn-r7428] Purpose:Quincey Koziol2003-08-283-27/+30
| | | | | | | | | | | Code cleanup Description: De-linted more code Platforms tested: FreeBSD 4.8 (sleipnir) too minor to need h5committest
* [svn-r7426] 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-r7417] Purpose:Quincey Koziol2003-08-272-108/+134
| | | | | | | | | | | Code cleanup Description: De-linted more code. Platforms tested: FreeBSD 4.8 (sleipnir) too minor to need h5committest
* [svn-r7415] Purpose:Quincey Koziol2003-08-262-5/+6
| | | | | | | | | | | | Code cleanup Description: Clean up some of the code for writing out dataspace and datatype information. Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
* [svn-r7412] 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-r7411] Purpose:Quincey Koziol2003-08-266-177/+147
| | | | | | | | | | | Code cleanup Description: De-linted more modules Platforms tested: FreeBSD 4.8 (sleipnir) w/ & w/o stream enabled too minor to require h5committest
* [svn-r7410] 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.
* [svn-r7406] Purpose:Quincey Koziol2003-08-251-37/+13
| | | | | | | | | | | | | | | | 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-r7404] 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-r7398] Purpose:Quincey Koziol2003-08-254-137/+160
| | | | | | | | | | | Code cleanup Description: De-linted more code Platforms tested: FreeBSD 4.8 (sleipnir) too minor to require h5committest
* [svn-r7397] Snapshot version 1.7 release 1HDF Admin2003-08-242-3/+3
|
* [svn-r7395] Purpose:Albert Cheng2003-08-241-4/+15
| | | | | | | | | | | | | | | | Bug fix Description: MPE color definitions were missing for new API. Solution: Updated it. Platforms tested: Tested by hand in Copper since that is the only place that MPE option works currently. Misc. update:
* [svn-r7393] Purpose:Quincey Koziol2003-08-237-350/+365
| | | | | | | | | | | Code cleanup Description: De-linted more code Platforms tested: FreeBSD 4.8 (sleipnir) w/parallel too minor to require h5committest
* [svn-r7391] Purpose:Quincey Koziol2003-08-224-55/+82
| | | | | | | | | | | | | | | | 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-r7387] Purpose:Quincey Koziol2003-08-214-298/+309
| | | | | | | | | | | Code cleanup Description: More de-linting Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
* [svn-r7386] Purpose:Quincey Koziol2003-08-204-219/+250
| | | | | | | | | | | | | | | Code cleanup & bug fix Description: More de-linting... Also correct a bug that lint exposed 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-r7384] Purpose:Quincey Koziol2003-08-1911-338/+348
| | | | | | | | | | | Code cleanup Description: More linting... Platforms tested: FreeBSD 4.8 (sleipnir) too minor to need h5committest
* [svn-r7383] Purpose:Quincey Koziol2003-08-191-7/+29
| | | | | | | | | | | | | | | | 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)
* [svn-r7381] Purpose:Quincey Koziol2003-08-186-544/+530
| | | | | | | | | | | Code cleanup Description: Various cleanups resulting from running lint tool over H5F.c source module Platforms tested: FreeBSD 4.8 (sleipnir) too minor to require h5committest
* [svn-r7380] Purpose:Quincey Koziol2003-08-185-0/+10
| | | | | | | | | | | New error Description: Added H5E_CANTCLOSEOBJ error Platforms tested: FreeBSD 4.8 (sleipnir) too minor to need h5committest
* [svn-r7379] Purpose:Quincey Koziol2003-08-182-2/+81
| | | | | | | | | | | | Code cleanup Description: Changed version #'s returned from H5Pget_version from 'int *' to 'unsigned *' since we are never going to be using negative version #'s... :-) Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
* [svn-r7377] Purpose:Quincey Koziol2003-08-161-12/+103
| | | | | | | | | | | | | | | | Bug fix Description: Linking and unlinking objects with multiple internal and/or trailing '/'s was not handled well in the library. Solution: "Normalize" strings by removing trailing '/'s and collapsing multiple internal '/'s down into just one '/' before operating on the name. Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r7375] Purpose:Quincey Koziol2003-08-152-2/+9
| | | | | | | | | | | | | | Clean up Pablo masks Description: H5E.c - Moved Pablo mask definition above include files, so it affects inline functions properly. H5FDstream.c - Added Pablo mask definition to address daily build failures. Platforms tested: FreeBSD 4.8 (sleipnir) too minor for h5committest
* [svn-r7374] Purpose:Quincey Koziol2003-08-151-0/+1
| | | | | | | | | | | | | Added comment. Description: Call to MPI_Barrier should be unneccessary. Platforms tested: FreeBSD 4.8 (sleipnir) too minor for h5committest Misc. update:
* [svn-r7373] Purpose:Quincey Koziol2003-08-154-13/+8
| | | | | | | | | | | | Code cleanup Description: Cleanup H5Pclose code and also switch a few internal users of H5Pclose to use H5I_dec_ref instead. Platforms tested: FreeBSD 4.8 (sleipnir) too small for h5committest
* [svn-r7372] Purpose:Quincey Koziol2003-08-152-2/+10
| | | | | | | | Added some comments, etc. Platforms tested: FreeBSD 4.8 (sleipnir) too trivial for h5committest
* [svn-r7371] Purpose:Quincey Koziol2003-08-151-3/+0
| | | | Revert erroneous comment
* [svn-r7370] Purpose:Quincey Koziol2003-08-151-1/+21
| | | | | | | | | | | | | Code cleanup & commentary Description: Add comments to the recent FPHDF5 additions to this file to describe why the changes shouldn't be in this file and attempt to find the proper home for them. Platforms tested: FreeBSD 4.8 (sleipnir) just comments mostly, no need to run h5committest
* [svn-r7369] Purpose:Quincey Koziol2003-08-157-39/+38
| | | | | | | | | | | | | | | | | Bug fix Description: The metadata cache 'destroy' callback routines need the file handle in order for certain callback routines (currently just the H5HG one) to perform extra cleanups. The recent change to call the 'destroy' callback from the 'clear' callback omitted this parameter. Solution: Add the file handle to the metadata cache 'clear' callbacks. Platforms tested: FreeBSD 4.8 (sleipnir) too small to need h5committest
* [svn-r7368] Purpose:Bill Wendling2003-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: With the new datatypes for OIDs, I didn't write the comparison function correctly. Solution: Changed it from: return oid1 == oid2 to return oid1 - oid2 Platforms tested: Linux (FPHDF5 specific) Misc. update:
* [svn-r7367] Purpose:Bill Wendling2003-08-1518-196/+416
| | | | | | | | | | | | | | | | | | | Update Description: Added an extra flag to the clear functions that triggers a "destroy" of the object being cleared if necessary. This is a fix for the FPHDF5 stuff which had an object sticking around after it was cleared. (In FPHDF5, some processes are in charge of destroying the object, but all processes might actually allocate the object.) Platforms tested: AIX (Copper: Fortran & C++) Linux (Verbena: Fortran & C++) IRIX (Modi4: Parallel & Fortran) (Sol is down) Misc. update:
* [svn-r7365] Purpose:Quincey Koziol2003-08-141-0/+1
| | | | | | | Update doc Description: Update list of files that have been linted.