summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r4578] Snapshot version 1.5 release 14HDF Admin2001-10-271-2/+2
|
* [svn-r4573] Raymond Lu2001-10-256-112/+53
| | | | | | | Purpose: Switch mount property list to the new generic property list. Platforms tested: IRIX64 6.5, SunOS 5.7, FreeBSD.
* [svn-r4572] Raymond Lu2001-10-259-23/+85
| | | | | | | Purpose: Followup file access property list changes. Platforms tested: IRIX64, SunOS 5.7, FreeBSD.
* [svn-r4569] Raymond Lu2001-10-2410-343/+743
| | | | | | | | | Purpose: Generic Property List Change Description: Changed file access list to the new generic list. Platforms tested: IRIX64, SunOS5.7, FreeBSD
* [svn-r4563] Purpose:Quincey Koziol2001-10-231-1/+1
| | | | | | | | Code cleanup Description: Update tracing API information Platforms tested: Linux 2.? (dangermouse)
* [svn-r4561] Purpose:Quincey Koziol2001-10-202-8/+11
| | | | | | | | | | | | Bug fix Description: H5S_select_elements is not actually putting the new point on the list of points selected when there are no points currently selected and the 'append' operation is chosen. Solution: Add new point to list correctly. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4560] Purpose:Quincey Koziol2001-10-201-0/+8
| | | | | | | | | | | | | Bug fix. Description: H5S_select_hyperslab fails to correctly define a hyperslab when the space to put the hyperslab into is currently a 'none' selection and the hyperslab operation is the 'or' operation. Solution: Detect the situation and internally modify the hyperslab operation to be a 'set' operation, since that's the next affect desired. Platforms tested: FreeBSD 4.4. (hawkwind)
* [svn-r4554] Purpose:Quincey Koziol2001-10-173-0/+90
| | | | | | | | | | | Bug Fix Description: Section of code which defined file offset and length macros was removed a while ago and found during testing just now. Solution: Replaced section of code to define macros. Platforms tested: IRIX64 6.5 (modi4)
* [svn-r4548] Purpose:Quincey Koziol2001-10-169-42/+96
| | | | | | | | | | | Code cleanup. Description: Fix a few compiler warnings from the file creation property list -> generic property list conversion. Also change a hard-wired value (8) for the number of B-tree key values to a value that uses the enum's generated by the compiler. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4545] Bill Wendling2001-10-151-1/+1
| | | | | | | | | | | Purpose: Bug Fix Description: Function was returning NULL instead of FAIL Solution: Returned FAIL instead. Platforms tested: Linux
* [svn-r4543] Raymond Lu2001-10-1512-310/+573
| | | | | | | Purpose: Changed the file creation property list to the new generic property list. Platform tested: IRIX64, SunOS5.7, FreeBSD
* [svn-r4540] Snapshot version 1.5 release 13HDF Admin2001-10-131-2/+2
|
* [svn-r4529] Snapshot version 1.5 release 12HDF Admin2001-10-061-2/+2
|
* [svn-r4525] Purpose:HDF Rational2001-10-051-2/+11
| | | | | | | | | | | Bug Fix Description: Purify detected an uninitialized memory read in H5Pset_chunk and a memory leak in H5P_remove. Solution: Patched both up. Platforms tested: Solaris 2.7 (arabica)
* [svn-r4520] Purpose:Quincey Koziol2001-10-041-1/+1
| | | | | | | | | Bug fix Description: Remove 'const' modifier in prototype for H5D_new, the dcpl_id parameter needs to be non-const. Platforms tested: Eyeballed (reported on gondolin)
* [svn-r4518] Purpose:Quincey Koziol2001-10-033-14/+24
| | | | | | | | Code cleanup Description: Clean up some small compiler warnings. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4517] Raymond Lu2001-10-036-468/+856
| | | | | | | | Purpose: Changed to the new generic property list for dataset creation property list. Platforms tested: Arabica, modi4 and Hawkwind
* [svn-r4508] Purpose:Quincey Koziol2001-10-023-16/+31
| | | | | | | | | | | | | Document bug fix. Description: When reading or writing to chunked datasets and the data needed datatype conversion, and the amount of data was more than one conversion buffer, data in the conversion buffer was getting corrupted. Solution: Corrected error in advancing buffer pointer where it was being advanced by the number of elements instead of the number of bytes. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4506] Purpose:Quincey Koziol2001-10-011-3/+155
| | | | | | | | | | | | | | | Bug fix/optimization. Description: Single, contiguous (in memory) hyperslabs are able to be transferred in one I/O operation, but weren't being detected correctly by the code in H5S_all_read()/H5S_all_write() and were getting routed into slower I/O routines. (Or, possibly failing in some circumstances) Solution: Wrote code to correctly detect single contiguous hyperslabs in memory and adjust arrays and buffer pointers describing the memory information so that the entire hyperslab can be transferred in one operation. Platforms Tested: FreeBSD 4.4 (hawkwind)
* [svn-r4501] Snapshot version 1.5 release 11HDF Admin2001-09-301-2/+2
|
* [svn-r4494] Purpose:Quincey Koziol2001-09-281-14/+0
| | | | | | | | | | | | | | | | | | Bug fix. Problem: When an entire dataset was selected (through whatever means, H5S_ALL, making an explicit "all" selection, etc.), the code was not allowing the optimized routine to read the entire dataset in at once when the current dimensions did not match the maximum dimensions and instead was defaulting to a [much] slower method to read in the dataset. Solution: Took out check which was requiring current dimensions to be equal to the maximum dimensions. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4489] Purpose:Quincey Koziol2001-09-282-0/+40
| | | | | | | | | | | | | | | | Bug Fix Description: When writing (or reading) the entire dataset to a chunked dataset, there was a boundary case where the code to generate the description of the piece of the dataset to read into the buffer for data conversion would attempt to read off the boundary of the dataset. This was occuring because the code to detect the edge of the dataset was not propagating the change up through the remaining dimensions when an edge in a fast changing dimension was detected. Solution: Propagate edge detection up through slower changing dimensions properly. Platforms tested: Linux 2.2.18smp (eirene)
* [svn-r4488] Purpose:Quincey Koziol2001-09-283-7/+8
| | | | | | | | | Fix on Kludge Description: Forgot another chunk of parallel I/O code that needed to change for the generic property list kludge... :-/ Platforms tested: Parallel Linux 2.2.18smp (eirene)
* [svn-r4482] Purpose:Quincey Koziol2001-09-2611-390/+454
| | | | | | | | | | | | | | | | | | | | | | Kludge Description: Since we're only about halfway through converting the internal use of property lists from the "old way" to the generic property lists, we turned off snapshots to avoid exposing lots of API changes to users, until the APIs settled down. Getting the snapshots rolling again seems to have become a priority, so some changes are going to have to be made now that were going to be postponed until we were completely finished with the conversion. This requires that the old API functions be able to deal with both the old and new property lists smoothly. Solution: Kludge together the property list code so that they can transparently handle dealing with both the old and new property lists Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4473] Purpose:Quincey Koziol2001-09-2523-138/+138
| | | | | | | | | | | | | | | | | | | | | Code cleanup for better compatibility with C++ compilers Description: C++ compilers are choking on our C code, for various reasons: we used our UNUSED macro incorrectly when referring to pointer types we used various C++ keywords as variables, etc. we incremented enum's with the ++ operator. Solution: Changed variables, etc.to avoid C++ keywords (new, class, typename, typeid, template) Fixed usage of UNUSED macro from this: char UNUSED *c to this: char * UNUSED c Switched the enums from x++ to x=x+1 Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4444] Purpose:Albert Cheng2001-09-171-2/+25
| | | | | | | | | | | | | | | | | Feature Description: The H5Pset_fapl_split() used to assume both meta and raw files have the same prefix name. This prohibited the option to specify the two files reside on different file systems. E.g., having meta-file as /user/home/data1.meta and raw-file as /pfs/data1.raw. Solution: Added feature that if the raw or meta extension string contains a "%s", it will be substituted by the filename given for H5Fopen or H5Fcreate. This is same as the multi-file syntax. If no %s is found, one is inserted at the beginning. This is the previous behavior. Platforms tested: Modi4 (parallel, serial) and eirene (parallel).
* [svn-r4437] Purpose:Quincey Koziol2001-09-123-19/+268
| | | | | | | | | Adding Feature Description: Added new H5Pcopy_prop function to copy a property (value) from one property list or class to another. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4423] Purpose:Quincey Koziol2001-09-041-0/+6
| | | | | | | | | | | | | | | | | Thread-safety Bug Fixes Description: FreeBSD must use a different layout or mechanism for allocating objects on the stack when compiling for thread-safe operation. Unused bits in 'long double' variable are never used ('long double's on FreeBSD are stored in 12 bytes, but only use 10 bytes for computations), but set to different values, causing the endianness permutation testing to generate incorrect results and eventually fail an assertion. Solution: Clear the temporary variables used for determining the endianness permutation with memset (affecting all 12 bytes) instead of just assigning a 0.0 to them (affecting only 10 bytes) Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4407] Bill Wendling2001-08-221-8/+8
| | | | | | | | | | | | | Purpose: Bug Fix Description: Was getting warnings about converting pointers to integers without a cast. Solution: Changed some of the RETURN ERRORs from returning NULL to returning FAIL instead. Platforms tested: Linux
* [svn-r4406] Purpose:Quincey Koziol2001-08-221-21/+93
| | | | | | | | Tweaks Description: Improved the readability of the output and added some time information. Platforms tested: Solaris 2.6 (baldric)
* [svn-r4397] Purpose:Albert Cheng2001-08-201-1/+1
| | | | | | | | | | | | | | | | Bug fix Description: SAF test code exposed an error in the HDF5_MPI_OPT_TYPES code. The SAF code was doing collective write to chunked storage dataset. Some processes wanted to flush some chunk while some other processes were doing something else but the HDF5_MPI_OPT_TYPES code thought the chunk flushing were collective calls since it only looked at the condition when H5Dwrite was called. So, it hanged when doing MPI_File_setview. For now, turned off the HDF5_MPI_OPT_TYPES code so that the SAF code would work. More long term fix later. Platforms tested: modi4(pp)
* [svn-r4396] Purpose:Albert Cheng2001-08-201-0/+3
| | | | | | | | | | | bug fix Description: H5FD_mpio_flush() would try to file seek negative if the file->eoa is 0 (e.g., doing mpio on the raw-file of the split file driver). Put in a code to catch this case by returning succeed immediately. Platforms tested: modi4(pp)
* [svn-r4393] Purpose:Quincey Koziol2001-08-201-514/+516
| | | | | | | | | | | | | | | Bug Fix Description: Byte swapping routine was core dumping when attempting to convert 0 elements. Solution: Don't try to byte swap when there is nothing to do... :-) Apologies to Kent for my comments on Friday about testing his checkins, especially when it was I who needed to do moer testing. :-/ Platforms tested: Solaris 2.7 (arabica)
* [svn-r4390] Purpose:Quincey Koziol2001-08-191-4/+6
| | | | | | | | | | Bug fix. Description: Byte swapping algorithm wasn't converting the last 8 elements correctly. Solution: Used correct variable... :-) Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4377] Purpose:Quincey Koziol2001-08-171-7/+534
| | | | | | | | | | | Code improvement Description: The byte swapping routine for data conversion was inefficient. Solution: Applied a number of optimizations which should yield around a 2-3 times faster algorithm. Platforms tested: Solaris 2.6 (baldric)
* [svn-r4355] Purpose:Quincey Koziol2001-08-1489-1089/+1082
| | | | | | | | | | | | | | | | | | | | | | Code cleanup (sorta) Description: When the first versions of the HDF5 library were designed, I remembered vividly the difficulties of porting code from a 32-bit platform to a 16-bit platform and asked that people use intn & uintn instead of int & unsigned int, respectively. However, in hindsight, this was overkill and unnecessary since we weren't going to be porting the HDF5 library to 16-bit architectures. Currently, the extra uintn & intn typedefs are causing problems for users who'd like to include both the HDF5 and HDF4 header files in one source module (like Kent's h4toh5 library). Solution: Changed the uintn & intn's to unsigned and int's respectively. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4351] Purpose:Quincey Koziol2001-08-142-12/+19
| | | | Update dependencies, etc.
* [svn-r4339] Purpose:Quincey Koziol2001-08-131-1/+0
| | | | | | | | Code cleanup Description: Took out a debugging printf Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4329] Purpose:Quincey Koziol2001-08-125-163/+55
| | | | | | | | | | | | | | Bug Fix Description: The datatype conversion buffer size was only halfway converted from hsize_t to size_t and was causing problems. Also, the H5P_peek_<foo> routines have a bunch of identical code. Solution: Finished converting the datatype conversion buffer size to size_t and cleaned up the implementation of the H5P_peek_<foo> routines to call a common routine instead of reimplementing a bunch of code. Platforms tested: Solaris 2.7 (arabica)
* [svn-r4327] Purpose:Quincey Koziol2001-08-111-5/+13
| | | | | | | | | More code cleanups Description: Wrap up the code cleanups for changing the dataset transfer property lists over to using the generic property list code. Platforms tested: IRIX64 6.5 (modi4)
* [svn-r4326] Purpose:Quincey Koziol2001-08-106-20/+21
| | | | | | | | | | Code cleanups, mostly.. Description: Work on pacifying the SGI compiler to get the generic properties working correctly with --enable-parallel and --enable-fortran. It's not quite fixed yet, but I need to head home and these patches help... :-/ Platforms tested: IRIX64 6.5 (modi4)
* [svn-r4324] Purpose:Quincey Koziol2001-08-1027-702/+1680
| | | | | | | | | | | | | | | | | | | | | | | | New Features! Description: Start migrating the internal use of property lists in the library from the older implementation to the new generic property lists. Currently, only the dataset transfer property lists are migrated to the new architecture, all the rest of the property list types are still using the older architecture. Also, the backward compatibility features are not implemented yet, so applications which use dataset transfer properties may need to make the following changes: H5Pcreate(H5P_DATASET_XFER) -> H5Pcreate_list(H5P_DATASET_XFER_NEW) and H5Pclose(<a dataset transfer property list>) -> H5Pclose_list(id) This still may have some bugs in it, especially with Fortran, but I should be wrapping up those later today. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4323] Purpose:Albert Cheng2001-08-071-1/+3
| | | | | | H5Eprint shows library version information too. Platforms tested: eirene.
* [svn-r4312] Purpose:Quincey Koziol2001-08-068-1038/+2
| | | | | | | | | Feature shift Description: Take out the v1.2.x compatibility stubs and put in the hooks for v1.4.x compatibility when needed. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4311] Snapshot version 1.5 release 10HDF Admin2001-08-041-2/+2
|
* [svn-r4310] Purpose:Quincey Koziol2001-08-021-1/+1
| | | | | | | | | | | | | Bug Fix Description: H5FD_fapl_copy is being called in H5Pset_driver when copying a dataset transfer property list instead of H5FD_dxpl_copy and could potentially cause problems if the file driver information was different. Solution: Changed call to H5FD_dxpl_copy() until the generic property code gets merged in. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4292] Bill Wendling2001-08-011-0/+1
| | | | | | | | | | | | | | | | Purpose: Bug Fix Description: The way we were generating Dependencies and .depend files was broken. If the $srcdir or other macros began with a ".", then it would match anything and cause problems since it would then overwrite the beginning of the header file's path. Solution: Wrote a Perl script which can handle this type of weirdness better. It's only used when the environment is a GNU one with a GCC compiler... Platforms tested: Linux
* [svn-r4288] Purpose:Quincey Koziol2001-07-311-2/+3
| | | | | | | | | | | Bug Fix Description: H5Pset_driver had a resource leak which was dropping dataset transfer IDs when switching drivers. Solution: Decrement dataset transfer ID reference count properly Platforms tested: IRIX64 6.5 (modi4)
* [svn-r4286] Purpose:Quincey Koziol2001-07-312-2/+2
| | | | | | | | | | | | Bug Fix Description: Header file is using incorrect macro for detecting parallel I/O when backward compability is turned on. Solution: Fix header files to define prototypes for parallel I/O property list functions when compiled with v1.2 backward compatibility turned on. Platforms tested: Eyeballed... (Elena will be testing shortly)
* [svn-r4276] Purpose:Quincey Koziol2001-07-301-8/+8
| | | | | | | | | | | | | Bug Fix Description: In certain circumstances, raw data was inadvertantly attempted to be read from the metadata cache. This was caught with an assertion failure (i.e. core dump) in the development branch or an eventual sequence of errors in the release branch. Solution: Corrected off-by-one error in metadata caching code. Platforms tested: FreeBSD 4.3 (hawkwind)