summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r10778] Purpose: Bug fixRaymond Lu2005-05-201-3/+5
| | | | | | | | | | | | | | | | | | | | | | Description: Description: See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: This is the second step of fixing this bug. Multi driver is checked against the driver name saved in superblock. Wrong driver will result in a failure with an error message indicating multi driver should be used. This change includes split driver because it's a special case for multi driver. In the first step of checkin. Family member size and name template(unused at this stage) are saved in file superblock. When file is reopened,the size passed in thrin superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. The third step will be changing h5repart to let it change family member size in the superblock if user uses it to change member file size. Platforms tested: h5committest and fuss.
* [svn-r10776] Purpose: Bug fixRaymond Lu2005-05-203-32/+169
| | | | | | | | | | | | | | | | | Description: See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: This is the first step of fixing this bug. Member size and name template(unused at this stage) are saved in file superblock. When file is reopened, the size passed in through H5Pset_fapl_family is checked against the size saved in superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. The second step will change multi driver that wrong driver will cause a failure. Platforms tested: fuss and h5committest
* [svn-r10773] Purpose:James Laird2005-05-201-1/+1
| | | | | | | | | | | | | Output tweak Description: In configure.in, users must link to zlib library, but configure then informs them that "deflate" filter is enabled. Changed output slightly to indicate that these are the same filter. Platforms tested: mir (very minor change)
* [svn-r10750] Purpose:Quincey Koziol2005-05-176-45/+873
| | | | | | | | | | | | | | | | | | | | New feature. Description: Add "memory pool" internal data structure. This set of routines is designed to add a way to allocate small pieces of information for a particular purpose and then free all the pieces at once (i.e. without having to free each piece individually). Memory pools are also good for localizing lots of small allocations that logically belong together. For example, if you were constructing a temporary linked list, you could create a new memory pool, allocate all the nodes for the list from the memory pool and when you were done with the list, just destroy the pool instead of tracking through the list and freeing each block independently. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10749] Purpose:Quincey Koziol2005-05-172-65/+34
| | | | | | | | | | | | | | | Code cleanup Description: Convert H5Eget_num from 'size_t' to 'ssize_t' to allow for correct error reporting (eventually). Also, convert a bunch of static routines from "FUNC_ENTER_NOAPI" to "FUNC_ENTER_NOAPI_NOINIT" or "FUNC_ENTER_NOAPI_NOINIT_NOFUNC" Platforms tested: FreeBSD 4.11 (sleipnir) w/pthreads Too minor to require h5committest
* [svn-r10746] Purpose: Minor correctionRaymond Lu2005-05-162-8/+14
| | | | | | | | | Description: H5Eget_num used to return an INT type. That's not consistent with the parameter of H5Epop. Solution: Changed it to SIZE_T type. Platforms tested: fuss - very simple change.
* [svn-r10744] Snapshot version 1.7 release 47HDF Admin2005-05-152-3/+3
|
* [svn-r10742] Purpose:MuQun Yang2005-05-101-1/+6
| | | | | | | | | | | | | | | | A little enhancement for integer datatype filter Description: Minimum-bit of the scaleoffset filter should not be less than 0, However, if the user accidently input a negative value for integer type, we will reset it to zero. Solution: Platforms tested: too minor to test. Misc. update:
* [svn-r10741] Purpose:MuQun Yang2005-05-091-2/+5
| | | | | | | | | | | | | | | Minor change for rounding of floating-point value for scaleoffset filter. Description: Always round to the bigger absolute integer value if floating-point data is in the middle. 0.5->1, -0.5->-1. Solution: Platforms tested: Too minor to test Misc. update:
* [svn-r10740] Purpose:Quincey Koziol2005-05-091-4/+4
| | | | | | | | | | | Bug fix Description: Add missing #ifdef's to recent code cleanup that fix daily test failures. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10736] Purpose:Quincey Koziol2005-05-0719-53/+59
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10734] Purpose:Quincey Koziol2005-05-072-15/+16
| | | | | | | | | | | | Bug fix Description: Fix several problems with mounting files on an entry in a group when the file the group is in has been closed. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10733] Purpose:MuQun Yang2005-05-061-2/+2
| | | | | | | | | | | | | | Update H5Zscaleoffset.c so that it supports negative precision number. Description: Solution: Platforms tested: Linux 2.4 Misc. update: too minor to check in other platforms
* [svn-r10731] Purpose: Bug fixRaymond Lu2005-05-051-0/+2
| | | | | | | | | Description: A user reported conversion of floating-point numbers returned some wrong value. It turned out a variable in H5T_conv_f_f() wasn't reset after being used for each element. See bug #356 for details. Solution: Simple reset it. Platforms tested: fuss; also tested with the program user provided. Very simple change.
* [svn-r10730] Purpose:James Laird2005-05-052-6/+12
| | | | | | | | | | | | | | | | Portability feature Description: The random() and srandom() functions are not available on all machines. Set up the configure script to automatically detect them, rather than requiring their presence or absence to be hardcoded. Solution: Added AC_CHECK_FUNCS macro to configure.in and replaced #ifdef WIN32 conditionals with #ifdef H5_HAVE_RANDOM conditionals. Platforms tested: sleipnir, Windows
* [svn-r10718] Purpose:Quincey Koziol2005-05-033-67/+68
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings. Platforms tested: FreeBSD 4.11 (sleipnir) w/gcc 4.0 Too minor to require h5committest
* [svn-r10717] Purpose:John Mainzer2005-05-022-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove C99 types from new metadata cache related API calls (take 2 -- missed one in the previous check in) Description: Windows (and perhaps others) don't like int32_t and int64_t. While we have dealt with the issue internally, it is more of a problem in API calls. Solution: Convert int32_t to int and int64_t to long int in the new metadata cache related API calls. Platforms tested: heping Misc. update:
* [svn-r10716] Purpose:Quincey Koziol2005-05-022-430/+57
| | | | | | | | | | | | Code cleanup Description: Migrate MPE macros to H5private.h, in preparation for using the H5MPprivate.h file for "memory pool" API. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r10715] Purpose:John Mainzer2005-05-023-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove C99 types from new metadata cache related API calls Description: Windows (and perhaps others) don't like int32_t and int64_t. While we have dealt with the issue internally, it is more of a problem in API calls. Solution: Convert int32_t to int and int64_t to long int in the H5AC_cache_config_t structure used by the new metadata cache related API calls. Added explicit type casts to convert between internal and external representations. Platforms tested: h5committested Misc. update:
* [svn-r10707] Purpose:MuQun Yang2005-05-021-1/+1
| | | | | | | | | | | | | | | bug fix, the wrong setting at H5public.h causes library failed to be compiled on windows. Description: "long long" needs to be changed to long_long since "long long" can not be recongized on windows. Solution: Platforms tested: MSVS 6.0 on windows XP Linux 2.4 on heping Misc. update:
* [svn-r10705] Purpose:Quincey Koziol2005-04-304-11/+4
| | | | | | | | | | | Code cleanup Description: Clean up a few compiler warnings of various sorts... Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10703] Purpose:Quincey Koziol2005-04-301-6/+6
| | | | | | | | | | | | | | | | Bug fix Description: Correct bug where buffers that have only fractional elements (usually from being compressed before being shuffled) would cause optimized algorithm to dump core. Solution: Don't attempt to shuffle bytes unless we've got more than one element. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10702] Purpose:Xiaowen Wu2005-04-291-3/+3
| | | | | | | | | | | | | | | Bug fix. Description: The previous bug fix of H5Zscaleoffset filter was not secure enough. Solution: Slight modification based on previous version. Platforms tested: heping Misc. update:
* [svn-r10701] James Laird2005-04-292-39/+23
| | | | | | | | | | | | | | | | | Purpose: Bug fix Description: Some platforms (Windows) don't have the long long type, which causes automatic Fortran type matching to fail. A solution is to use HDF5's long_long type. Solution: Changed H5match_types.c to use long_long type. Moved definition of long_long out of H5private.h and into H5public.h. Platforms tested: mir, copper, pommier
* [svn-r10700] Purpose:Quincey Koziol2005-04-292-3/+6
| | | | | | | | | | | | | | | Bug fix Description: Kent reminded me that switching the logic wasn't enough, we really needed to add the definition to the configure script. Solution: Do that. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10699] Purpose:Quincey Koziol2005-04-291-1/+1
| | | | | | | | | | | | Code cleanup Description: Switch name & logic from H5_LLONG_TO_FP_CAST_BROKEN to H5_LLONG_TO_FP_CAST_WORKS, to better match the rest of the library. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10698] Purpose:Xiaowen Wu2005-04-291-3/+3
| | | | | | | | | | | | | | | | | | Bug fix. Description: The scaleoffset filter checks the uppper limmit of span of values before it is assigned. The check for floating-point data, which may not be represented in the machine exactly as the user wanted, did not consider this. Solution: Slight modification of check above. Platforms tested: heping Misc. update:
* [svn-r10690] Purpose:MuQun Yang2005-04-281-12/+17
| | | | | | | | | | | | | | | | | | Bug fix Description: On visual studio 6.0, conversion from unsigned long long to double is not supported. Even during compilation stage, it will fail. Solution: Albert changed the way the macro is handled so that for windowx MSVS 6.0, the code that has conversion from unsigned long long to double will not compile. Platforms tested: windows, linux Misc. update:
* [svn-r10688] Purpose:John Mainzer2005-04-2814-259/+1615
| | | | | | | | | | | | | | | | | | | | | | | | | | Add API calls allowing user control of the metadata cache. Description: Prior to this update, the metadata cache was not configurable from outside the library. Solution: Add API calls allowing the user to configure the metadata cache either at file open time, or for any open file. Also added calls permitting the user to monitor cache size and hit rate. These latter facilities are needed for "manual" cache size control Platforms tested: h5committested Misc. update:
* [svn-r10687] Purpose:Xiaowen Wu2005-04-281-50/+38
| | | | | | | | | | | | | | | Modifications. Description: Scaleoffset filter codes could not pass windows compiler. Solution: Modifications were made to make it pass. Also slight improvements of codes. Platforms tested: heping Misc. update:
* [svn-r10681] Purpose:Xiaowen Wu2005-04-271-15/+16
| | | | | | | | | | | | | | | | | Slight modification. Description: Several constants were added for the scaleoffset filter in file H5Zpublic.h and corresponding changes needs to be made in H5Zscaleoffset.c. Solution: Slight modification of codes. Platforms tested: heping, shanti Misc. update:
* [svn-r10677] Purpose:MuQun Yang2005-04-271-0/+15
| | | | | | | | | | | | | Add some comments for H5Pset_scaleoffset. Description: Solution: Platforms tested: No need to test. Misc. update:
* [svn-r10676] Purpose:MuQun Yang2005-04-271-0/+6
| | | | | | | | | | | | Add a few constants for the scaleoffset filter. Description: Solution: Platforms tested: Misc. update:
* [svn-r10675] Purpose:Xiaowen Wu2005-04-261-159/+508
| | | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter has been implemented for compressing floating-point data (float, double, but not long double) using D-scaling method from GRIB. It also changes to according to the new interface of H5Pset_scaleoffset API. Solution: Platforms tested: heping, copper, shanti Misc. update:
* [svn-r10672] Purpose:Xiaowen Wu2005-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | New feature. Description: The H5Pset_scaleoffset is changed for the scaleoffset filter to handle both integer and floating-point data. Currently, the D-scaling method from GRIB has been implemented for compressing floating-point data. Solution: One more parameter is added to the H5Pset_scaleoffset interface to let user specify what type of data is used and what method to use as well as corresponding parameters. Platforms tested: heping Misc. update: Needs to update libtool's version number
* [svn-r10671] Purpose:Xiaowen Wu2005-04-261-9/+15
| | | | | | | | | | | | | | | | | | | | New feature. Description: The H5Pset_scaleoffset is changed for the scaleoffset filter to handle both integer and floating-point data. Currently, the D-scaling method from GRIB has been implemented for compressing floating-point data. Solution: One more parameter is added to the H5Pset_scaleoffset interface to let user specify what type of data is used and what method to use as well as corresponding parameters. Platforms tested: heping Misc. update:
* [svn-r10660] Purpose:Leon Arber2005-04-251-1/+1
| | | | | | | | | | | | | | | | | bug fix (sorta) Description: Rename H5_LLONG_TO_FP_CAST_WORKS to H5_LLONG_TO_FP_CAST_BROKEN Solution: Since a test for H5_LLONG_TO_FP_CAST_WORKS is not present in the configure script, the dtransform test would assume that this cast doesn't work and skip the test. Change the variable around so that, by default, it is assumed a long long to double cast does work. Platforms tested: minor change: copper, sol Misc. update:
* [svn-r10658] Purpose:Leon Arber2005-04-251-35/+25
| | | | | | | | | | | | | | | | | Bug fix Description: The intel compiler on windows doesn't support long long to double conversion. Solution: Added a flag H5_LLONG_TO_FP_CAST_WORKS. When it is not defined, the data transform will issue an error when someone tries to perform a transform from long long to double and the long long to double dtransform test will be skipped. Platforms tested: heping, sol, copper Misc. update:
* [svn-r10637] Purpose:Quincey Koziol2005-04-211-10/+1
| | | | | | | | | | | | Bug fix/code cleanup Description: Add tests to determine that very long (64K+) object names are working. Fixed a couple of bugs in h5dump where they weren't... Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10636] Purpose:Quincey Koziol2005-04-212-3/+3
| | | | | | | | | | | Code cleanup Description: Rearrange struct members to fit better on 64-bit machines. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10632] Snapshot version 1.7 release 46HDF Admin2005-04-202-3/+3
|
* [svn-r10628] Purpose:Quincey Koziol2005-04-1823-94/+94
| | | | | | | | | | | Code cleanup Description: Clean up various warnings reported by the Windows team. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10627] Purpose:James Laird2005-04-182-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Feature - libtool shared library versioning Description: Libtool provides a mechanism for different versions of the same shared library to be distinguished. Now this is applied to HDF5 when it is built as a shared library. Solution: The version number is stored in config/lt_vers.am, and included in src/Makefile.am. This number will be automatically updated by bin/h5vers; developers only need to update it when they change the API. *** IMPORTANT *** Any time the API changes, the version number in config/lt_vers.am must be updated! Platforms tested: mir, eirene, verbena, modi4 Misc. update:
* [svn-r10620] Purpose:Quincey Koziol2005-04-162-1/+13
| | | | | | | | | | | | | | | | | Bug fix Description: Opening a dataset (or named datatype) with "." for the name and using a group ID for the location ID was not returning an error value. Solution: Check the type of the object before attempting to open it (internally, using a group ID and "." for the name maps to the group object). Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti) Too minor to require h5committest
* [svn-r10618] Purpose:Quincey Koziol2005-04-161-1/+1
| | | | | | | | | | | | | Bug fix Description: Correct typo in "base array" free list macro when free list macros are disabled. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti) Too minor to require h5committest
* [svn-r10613] Purpose:Xiaowen Wu2005-04-151-3/+3
| | | | | | | | | | | | | | | Bug fix. Description: Several call to macro HGOTO_ERROR passes wrong value to ret_value. Solution: Change the value from zero to FAIL. Platforms tested: heping Misc. update:
* [svn-r10612] Purpose:Xiaowen Wu2005-04-151-1/+1
| | | | | | | | | | | | | | | Bug fix. Description: One call to macro HGOTO_ERROR passes wrong value to ret_value. Solution: Change the value from zero to FAIL. Platforms tested: heping Misc. update:
* [svn-r10601] Purpose: Small bug fix (discovered by Kent on Windows)Elena Pourmal2005-04-141-1/+5
| | | | | | | | | | | | | Description: When stream driver was not enabled, H5FD_STREAM variable was not define. Fortran compilation failed since H5FD_STREAM was needed to set up fortran global variables. Solution: Followed MPIO driver model and defined H5FD_STREAM to be -1 when driver is not enabled. Platforms tested: heping with --enable(disable)-stream-vfd Misc. update:
* [svn-r10596] Purpose:Xiaowen Wu2005-04-121-928/+337
| | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter previously does not use macros to handle different integer datatype situations. Solution: Added macros in the filter for better maintenance and clarity of codes. Platforms tested: heping, copper, shanti Misc. update:
* [svn-r10587] Purpose:James Laird2005-04-112-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | Minor feature Description: If a user configures without C++ or Fortran, 'make' will not recurse into c++ or fortran directories. However, if the user cd's into these directories and 'makes,' the Makefiles will attempt to build interfaces that have not been configured, usually failing. In an unrelated but minor change, src/H5detect should be compiled with the -g flag to disable compiler optimizations since it is only executed once. Solution: Make it harder for users to try to compile interfaces that have not been configured by making c++, fortran, and hl directories not recurse into their subdirectories unless they have been configured. Thus, 'make' in /fortran/src will break if Fortran has not been configured, but 'make' in /fortran will not break. Platforms tested: mir, modi4, copper Misc. update: