summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r2962] Purpose:Quincey Koziol2000-11-171-1/+1
| | | | | | | | Code cleanup Description: Changed another hard-coded '32' into H5S_MAX_RANK Platforms tested: Eyeballed...
* [svn-r2960] Purpose:Albert Cheng2000-11-171-5/+9
| | | | | | | | | Code cleaning Description: Replaced hard coded dimension size with H5S_MAX_RANK. Cleanup couple minor type cast mismatch. Platforms tested: modi4 -64 parallel.
* [svn-r2954] Purpose:Quincey Koziol2000-11-161-55/+159
| | | | | | | | Code checkpoint Description: More generic property coding. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2953] Purpose:Quincey Koziol2000-11-161-9/+12
| | | | | | | | Small code optimization Description: Changed alloc/free's of H5T_path_t to use a free-list. Platforms tested: Solaris 2.6 (baldric)
* [svn-r2952] Purpose:Quincey Koziol2000-11-161-22/+36
| | | | | | | | | | | | | Small code optimization Description: Statistics on the amount of times a datatype conversion required alignment were being kept in all case, even though they are only used when H5T_DEBUG is turned on. Solution: Build some extra macros so that the statistics are only kept when the H5T_DEBUG macro is defined. Platforms tested: Solaris 2.6 (baldric)
* [svn-r2951] Purpose:Quincey Koziol2000-11-161-26/+25
| | | | | | | | | | | | | | | Bug fix Description: Previous re-arrangement of FUNC_ENTER macro was a _little_ too agressive about not re-checking for library or interface re-initialization. Although it happens very rarely that the library is shut down and then re-started the library & interface initialization functions weren't getting run in that case. Solution: Separated out the library, interface & function checks again. This version is still a little faster than the previous way things were being done. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2947] Purpose:Quincey Koziol2000-11-161-24/+32
| | | | | | | | | | | | | | | Code optimization Description: Re-vamped FUNC_ENTER macro to remove as many of the if's as possible and also to only check once if any given function is an API function. This improves the performance of the hyperslab I/O benchmark (h5hypers) that I've been testing with by another 5%. All library functions should be 5-15% faster, depending on how many times they are called and what percentage of the function's time was spent in the FUNC_ENTER macro vs. the percentage of time in the main body of the function. Platforms tested: Solaris 2.6 (baldric)
* [svn-r2946] Purpose:Quincey Koziol2000-11-161-2/+4
| | | | | | | | Small code optimzation Description: Removed some unnecessary calls to H5MM_xfree Platforms tested: Solaris 2.6 (baldric)
* [svn-r2945] Purpose:Quincey Koziol2000-11-164-12/+6
| | | | | | | | Small code optimization Description: Removed some unnecessary buffer assignments. Platforms tested: Solaris 2.6 (baldric)
* [svn-r2942] Purpose:Quincey Koziol2000-11-151-6/+6
| | | | | | | | | | | | | | | Bug fix Description: When performing I/O on the entire dataset for datasets with the maximum number of dimensions, H5S_MAX_RANK, (32 currently), the dimension information was getting corrupted internally and causing no data to be actually written to the file. Solution: Changed the internal array sizes from H5S_MAX_RANK to H5O_LAYOUT_NDIMS, which is one element larger to accomodate the size of the elements themselves. Platforms tested: Solaris 2.7 (arabica)
* [svn-r2935] Purpose:Albert Cheng2000-11-152-3/+3
| | | | | | | | | | | | | | | | | Bug fix Description: The optimized MPIO code was not working with the TFLOPS machine. It kept reporting "can't convert from size to size_i" errors in H5FD_mpio_write() and H5FD_mpio_read(). Solution: The error was actually in H5S_mpio_spaces_xfer() in H5Smpio.c in which the variable mpi_count was declared as size_t (only 4 bytes big in TFLOPS) when it should be hsize_t (8 bytes big in TFLOPS). Corrected and also changed to use the (hsize_t) to case size_i in H5FD_mpio_write() and H5FD_mpio_read() since that is what it should be. Platforms tested: TFLOPS and modi4 (-64, parallel)
* [svn-r2928] Purpose:Bill Wendling2000-11-151-2/+2
| | | | | | | | | | | Buglet fix Description: Get rid of compiler warnings. The HGOTO_RETURN was returning NULL when it should have returned FAIL. Solution: Swapped the two. Platforms tested: Linux
* [svn-r2911] Purpose:Quincey Koziol2000-11-152-6/+291
| | | | | | | | | | | | | Bug fix and code checkpoint Description: HP's compilers didn't seem to like comparing function pointers with '<' & '>', so I've changed how the function pointers are compared to aviod those operations. This should fix last night's daily test failures on opus and sangamon. Also, more code development for generic property lists. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2909] Purpose:Quincey Koziol2000-11-153-21/+221
| | | | | | | | Code checkpoint Description: More generic property functionality added and debugged. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2899] Purpose:Quincey Koziol2000-11-142-1/+401
| | | | | | | | Code development Description: Incrementally adding various generic property features. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2892] Purpose:Quincey Koziol2000-11-143-59/+221
| | | | | | | | | Code development Description: Increment bug fixes and some new API functions to generic property list code. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2891] Purpose:Quincey Koziol2000-11-141-8/+10
| | | | | | | | | | | Bug fix. Description: Generic property list code wasn't getting initialized early enough to get the proper values into the macro/constants. Solution: Call H5P_init() from H5_init_library(). Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2890] Purpose:Bill Wendling2000-11-131-0/+6
| | | | | | | | | | | Redo of a patch Description: As Quincey pointed out, the parameters are only ``UNUSED'' if we can't find libz.a. Solution: I changed it to conditionally put the UNUSED in there... Platforms tested: Linux
* [svn-r2886] Purpose:Quincey Koziol2000-11-133-0/+157
| | | | | | | | | | Backward compatibility additions Description: Created HDF5 v1.2 compatibility API functions (H5Tget_member_dims & H5Tinsert_array) which use the newer array datatypes underneath, but should ease user's transition to the 1.4 version of the library. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2884] Purpose:Bill Wendling2000-11-131-3/+3
| | | | | | | | | | Removed warnings Description: Unused parameters Solution: Put UNUSED macro before unused params. Platforms tested: Linux
* [svn-r2880] Purpose:Quincey Koziol2000-11-131-0/+2
| | | | | | | | | Code cleanup Description: Added a the generic property ID types to the list of things not stored in files. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2879] Snapshot version 1.3 release 33Albert Cheng2000-11-131-1/+1
|
* [svn-r2875] Purpose:Quincey Koziol2000-11-131-1/+0
| | | | | | | | Code cleanup Description: Eliminated some warnings on O2K platform. Platforms tested: SGI O2K (modi4)
* [svn-r2874] Purpose:Quincey Koziol2000-11-133-15/+19
| | | | | | | | API cleanup Description: Tweaked some parts of the generic properties API to reduce warnings. Platforms tested: FreeBSD 4.1.1 (hawkwind) & SGI O2K (modi4)
* [svn-r2871] Purpose:Quincey Koziol2000-11-123-65/+356
| | | | | | | | | Code updates Description: Finished fleshing out code for generic properties, although they are not used anywhere in the library yet. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2869] Purpose:Quincey Koziol2000-11-111-0/+3
| | | | | | | | | | | | Bug fix Description: "old-style" compound datatypes with array fields were leaking memory during the datatype header decoding when creating the array datatype for a field. Solution: Free the base type of the array after creating array datatype for field. Platforms tested: Solaris 2.6 (baldric)
* [svn-r2868] Purpose:Quincey Koziol2000-11-112-25/+48
| | | | | | | | | | Bug Fix Description: Generic property lists were leaking memory. Solution: Tied them into the regular cleanup code called at the library's termination Platforms tested: Solaris 2.6 (baldric) & FreeBSD 4.1.1 (hawkwind)
* [svn-r2867] Purpose:Quincey Koziol2000-11-111-2/+3
| | | | | | | | | | | | | Bug fix. Description: Dimension permutations for array datatypes were being skipped over when datatype information was read from the file (because they aren't used anywhere in the library currently), but this could cause problems in the future when they are used for something. Solution: Read them in anyway, even if we aren't using them yet. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2866] Purpose:Quincey Koziol2000-11-1113-58/+58
| | | | | | | | Code cleanup Description: Found more "Have_foo" usage and converted them to "H5_HAVE_foo" Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2865] Purpose:Quincey Koziol2000-11-111-9/+0
| | | | | | | | Code Cleanup Description: Removed unused variable. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2861] Purpose:Quincey Koziol2000-11-101-0/+36
| | | | | | | | | | | | | | Bug fix. Description: When writing data and the dataset needed to be extended, the write call ended up using the old dataspace extents (prior to the dataspace extend) and bad parameters would get into the I/O channel, eventually causing it to dump core. Solution: Every time a dataset is extended, throw away the previous dataspace information and re-retrieve it. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2860] ./hdf5/src/H5Pprivate.hRobb Matzke2000-11-101-13/+19
| | | | | | | * 2000-11-10 Robb Matzke <matzke@llnl.gov> Changed `class' to `cls' in various places since the former is a C++ reserved word and some C compilers (like the one on blue) complain.
* [svn-r2859] ./hdf5/src/H5P.cRobb Matzke2000-11-101-2/+2
| | | | | | | | * 2000-11-10 Robb Matzke <matzke@llnl.gov> (H5P_copy) Changed `class' to `cls'. * 2000-11-10 Robb Matzke <matzke@llnl.gov> (H5P_close) Changed `class' to `cls'.
* [svn-r2855] ./hdf5/src/H5Tpublic.hRobb Matzke2000-11-101-2/+2
|
* [svn-r2854] ./hdf5/src/H5Tconv.cRobb Matzke2000-11-101-1/+1
|
* [svn-r2853] ./hdf5/src/H5T.cRobb Matzke2000-11-101-1/+4
| | | | | * 2000-11-10 Robb Matzke <matzke@llnl.gov> Updated API tracing calls.
* [svn-r2852] ./hdf5/src/H5FD.cRobb Matzke2000-11-101-5/+7
| | | | | | | * 2000-11-10 Robb Matzke <matzke@llnl.gov> (H5FD_close) Removed code that resets the H5FD_t file structure to zero because that struct has already been freed. This fixes a core dump on some platforms.
* [svn-r2850] Purpose:Quincey Koziol2000-11-092-9/+39
| | | | | | | | | | | | | Added new function. Description: It's often convenient to query the class of a compound datatype's member to determine if it's an array and the previous way required you to open the member type to query it's class. Solution: Added new H5Tget_member_class function to directly ask for the member type's class. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2843] Purpose:Quincey Koziol2000-11-098-964/+1347
| | | | | | | | | | | | | | | New Feature Description: Added array datatype to library. See documentation at: http://hdf.ncsa.uiuc.edu/HDF5/planning/DP/ArrayType.html for complete details on the impact to the library. Solution: Changes to the base library include removing the ability of compound datatype fields to be an array (they can use an array type for the field, to duplicate the functionality) and adding in the new array datatype everywhere appropriate. (I hope :-) Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2840] Purpose:Bill Wendling2000-11-091-4/+4
| | | | | | | Regenerated Description: Just regenerated the H5config.h.in file with the newest changes from Thomas.
* [svn-r2832] Thomas Radke2000-11-081-1/+1
| | | | | | | | Purpose: Bugfix. Description: Renamed the H5_HAVE_STRUCT_SOCKLEN_T into H5_HAVE_SOCKLEN_T because it isn't really a structure.
* [svn-r2830] Thomas Radke2000-11-081-2/+2
| | | | | | | | | | | | Purpose: Bugfix Description: Rename the [H5_]HAVE_STRUCT_SOCKLEN_T into [H5_]HAVE_SOCKLEN_T. Solution: As pointed out by Bill the socklen_t type isn't a structure if is it defined by the system headers. So we should better take out the _STRUCT_ from the defines. Platforms tested:
* [svn-r2817] Thomas Radke2000-11-081-4/+8
| | | | | | | | | | | | | | | | | | | Purpose: Bugfix Description: The socklen_t was hardcoded to be defined as int on architectures other than Linux and SUN (Solaris). Now it turned out that Solaris isn't consistent in this manner. Versions earlier than 2.7 do not define this type. Solution: Check at configure time whether the socklen_t type is defined by the system header includes. If not than this type is defined to be 'int'. Platforms tested: Solaris 2.6 and 2.7 Linux IRIX64 Windows NT (command line configure with both cl abd gcc)
* [svn-r2816] Thomas Radke2000-11-081-1/+10
| | | | | | | | | | | | Purpose: Bugfix Description: Added defines for HAVE_SYS_TYPES_H, HAVE_SYS_SOCKET_H, and HAVE_STRUCT_SOCKLENT_T. Platforms tested: Solaris 2.6 and 2.7 IRIX64 Linux Windows NT (command line configure with gcc and cl)
* [svn-r2811] Dan Wells2000-11-085-5/+5
| | | | | | | | | | | | Purpose: Bug fix. Description: The names of some entries did not correspond with the names in the FUNC_ENTER macro. This would cause inaccuracies during Pablo tracing. Solution: The names were changed in FUNC_ENTER to agree with the entry names. Platforms tested: Solaris, Irix, AIX, HP Vclass
* [svn-r2807] ./hdf5/src/H5Fistore.cRobb Matzke2000-11-072-2/+8
| | | | | | * 2000-11-07 Robb Matzke <matzke@llnl.gov> (H5F_istore_preempt) Returns error if call to H5F_istore_flush() failed.
* [svn-r2806] ./hdf5/src/H5Epublic.hRobb Matzke2000-11-071-2/+2
| | | | | * 2000-11-07 Robb Matzke <matzke@llnl.gov> Reindented a couple of comments.
* [svn-r2805] Raymond Lu2000-11-073-3/+3
| | | | | | | | | | | | | | | | Purpose: Fix typos in these files. Description: In the functions H5Pset_apl_xxx in these files, the parameters of FUNC_ENTER do not match the function names. So changed them back to function names. Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: No test has been done because these are all typos, no effect on program.
* [svn-r2804] Purpose:Quincey Koziol2000-11-071-0/+4
| | | | | | | | | | | | Bug Fix Description: Selections in 1-D dataspaces would get into an infinite loop in H5S_hyper_select_iterate_mem_opt (called by H5Diterate and H5Dget_vlen_buf_size) due to some incorrect logic. Solution: Handled 1-D cases correctly and get out of loop. Platforms tested: Eyeballed...
* [svn-r2803] Thomas Radke2000-11-051-2/+2
| | | | | | | | | | | Purpose: Bugfix Description: Large data files were truncated at the receiver's side. Solution: Check against EWOULDBLOCK when sending the data and retry. Platforms tested: T3E (other platforms had no such problem).