Commit Graph

7451 Commits

Author SHA1 Message Date
Frank Baker
ec6e34dc30 [svn-r10751] Purpose:
Minor reformatting adn edits.
    Added links to C++ RM and Parallel HDF5 sites.
    Restructured document lists with the intent of easing discovery.
Description:
Platforms tested:
    Firefox
2005-05-17 17:26:27 -05:00
Quincey Koziol
9b4c1ce9f6 [svn-r10750] Purpose:
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
2005-05-17 14:01:07 -05:00
Quincey Koziol
2afe0fcda1 [svn-r10749] Purpose:
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
2005-05-17 11:10:53 -05:00
Pedro Vicente Nunes
b3d0eab748 [svn-r10748] Purpose:
removed some outdated comments

Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-05-16 15:02:25 -05:00
Pedro Vicente Nunes
5b6c08e68e [svn-r10747] Purpose:
bug fix

Description:
the fortran type integer*1 has become not portable.
define the image fortran datatype as "integer" and make special save, read, and palette functions
that use native integer for a memory type and UCHAR as disk type for the image data
added some more tests with new palette definitions

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-05-16 14:08:41 -05:00
Raymond Lu
4977e0ac51 [svn-r10746] Purpose: Minor correction
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.
2005-05-16 10:54:10 -05:00
HDF Admin
a4345b9917 [svn-r10744] Snapshot version 1.7 release 47 2005-05-15 04:34:14 -05:00
James Laird
8bf9952205 [svn-r10743] Purpose:
Code cleanup

Description:
fortran/src/H5f90i.h used to define different fortran types for every
compiler.  Now it only defines three things, and they are the
same for every platform but one.

Solution:
Eliminate duplicate definitions; now there are only two cases
("UNICOS" and "everything else").
This should also let the HDF5 Fortran compile anywhere, even on
unknown platforms.

Platforms tested:
mir, pommier, modi4, copper, Cray X1 (in progress)
2005-05-12 15:00:56 -05:00
MuQun Yang
fec2c355da [svn-r10742] Purpose:
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:
2005-05-10 11:12:15 -05:00
MuQun Yang
b6f01bff10 [svn-r10741] Purpose:
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:
2005-05-09 18:30:56 -05:00
Quincey Koziol
3d4049134e [svn-r10740] Purpose:
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
2005-05-09 15:24:36 -05:00
Pedro Vicente Nunes
0f002845f3 [svn-r10739] Purpose:
new test

Description:
adds a new test for a case when there is more than 1 stripmine read

Solution:

Platforms tested:
Linux

Misc. update:
2005-05-09 11:28:47 -05:00
Pedro Vicente Nunes
1b313aa2f6 [svn-r10738] Purpose:
bug fix 366

Description:
the printing of the array indices was done relatively to the stripmine data (data read
by hyperslabs when its memory requiremnts are too large)
this was causing an incorrect numbering of the array indices (the next read would initialize
the indices to zero)

Solution:
added a field to the print context that keeps track of the stripmine position
and pass to the rendering function the total element position

Platforms tested:
Linux

Misc. update:
2005-05-09 09:53:22 -05:00
Quincey Koziol
bbe03d7361 [svn-r10736] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-05-07 14:37:48 -05:00
Quincey Koziol
c952661afb [svn-r10734] Purpose:
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
2005-05-07 14:34:25 -05:00
MuQun Yang
314bfe6f3c [svn-r10733] Purpose:
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
2005-05-06 14:19:34 -05:00
Raymond Lu
a867893cdc [svn-r10731] Purpose: Bug fix
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.
2005-05-05 14:31:54 -05:00
James Laird
b0e5134171 [svn-r10730] Purpose:
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
2005-05-05 12:38:59 -05:00
James Laird
8570c314ef [svn-r10729] Purpose:
Cray X1 Port

Description:
Porting 1.7 branch to Cray X1.  With these changes, HDF5 builds, but
there are some errors in the tests.  Working on the errors.

Solution:
Added nv1-cray file to config directory.
Cleaned up some code in hl/c++ that was causing compiler to complain.

Platforms tested:
Cray X1, mir, sleipnir

Misc. update:
2005-05-05 11:51:46 -05:00
Pedro Vicente Nunes
a78417597b [svn-r10728] Purpose:
bug fix

Description:
some lines were longer that 132 characters (the "official" max lenght of a line in F95)
the g95 compiler complained about it

Solution:
reduce the line lenght

Platforms tested:
linux (g95, intel)

Misc. update:
2005-05-04 13:24:15 -05:00
James Laird
17b3d2b13e [svn-r10727] Purpose:
Bug fix

Description:
Removed Makefile.am for installing .mod files from fortran/testpar.
Removed warnings in H5match_types.c

Platforms tested:
heping

Misc. update:
2005-05-04 12:00:25 -05:00
James Laird
3572babfc8 [svn-r10726] Purpose:
Bug fix

Description:
Removed Makefile.am code to install .mod files in fortran/testpar.
Fixed warnings in H5match_types.c

Platforms tested:
heping
2005-05-04 11:59:19 -05:00
Pedro Vicente Nunes
9d1064071b [svn-r10725] Purpose:
bug fix

Description:
the  hdf5 file of the test was being generated on the NFS filesystem

Solution:
use the libtest function h5_fixname

Platforms tested:
Linux

Misc. update:
2005-05-04 11:54:32 -05:00
Quincey Koziol
6f06567887 [svn-r10723] Purpose:
Bug fix (sorta)

Description:
    Turn down the optimization level for gcc 4.1 also.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Not tested w/h5committest
2005-05-04 11:13:07 -05:00
James Laird
b0f2e2a64f [svn-r10722] Purpose:
Bug fix

Description:
Forgot to check in new version of H5match_types.c that uses long_long
instead of long long.

Platforms tested:
mir, modi4, pommier
2005-05-03 17:05:56 -05:00
Pedro Vicente Nunes
9d3222d00f [svn-r10721] Purpose:
added more checks to failure conditions

Description:

Solution:

Platforms tested:
linux (PGI, intel)
AIX

Misc. update:
2005-05-03 14:27:05 -05:00
Pedro Vicente Nunes
de185388e9 [svn-r10720] Purpose:
new files for the fortran parallel test

Description:

Solution:

Platforms tested:

Misc. update:
2005-05-03 11:13:11 -05:00
Pedro Vicente Nunes
9639b3df77 [svn-r10719] Purpose:
added new fortran parallel tests that replace the old ones

Description:
this first set of tests do a write/read by hyperslabs


Solution:

Platforms tested:
Linux (heping)  PGI compiler
Linux (heping) Intel compiler
AIX (copper) IBM compiler
SGI Altix (cobalt) Intel compiler
Xeon Linux cluster (tungsten) Intel compiler



Misc. update:
2005-05-03 11:12:39 -05:00
Quincey Koziol
149e6b77b8 [svn-r10718] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/gcc 4.0
    Too minor to require h5committest
2005-05-03 10:39:33 -05:00
John Mainzer
724cbc5615 [svn-r10717] Purpose:
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:
2005-05-02 16:36:43 -05:00
Quincey Koziol
f6fd474fe4 [svn-r10716] Purpose:
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
2005-05-02 14:54:19 -05:00
John Mainzer
cc44e6af63 [svn-r10715] Purpose:
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:
2005-05-02 13:58:28 -05:00
MuQun Yang
6b5d74f777 [svn-r10714] Purpose:
Update because of addition of windows projects.

Description:

Solution:

Platforms tested:

Misc. update:
2005-05-02 12:49:36 -05:00
MuQun Yang
09cf37e31a [svn-r10713] Purpose:
Adding windows project files to simulate the fortran auto-type conversion procedures on linux.

Description:

Solution:

Platforms tested:

Misc. update:
2005-05-02 12:24:57 -05:00
MuQun Yang
0a09adbc0c [svn-r10712] Purpose:
Adding windows workspace to simulate the fortran auto-type conversion procedures on linux.

Description:

Solution:

Platforms tested:
windows xp

Misc. update:
2005-05-02 12:23:03 -05:00
MuQun Yang
e944d6041c [svn-r10711] Purpose:
Update path of High-level fortran library because of internal updates of the library on Linux.

Description:

Solution:

Platforms tested:
MSVS 6.0 on windows

Misc. update:
2005-05-02 12:07:12 -05:00
MuQun Yang
dab6848163 [svn-r10710] Purpose:
Update cachedll tests  to include the tokens HDF5_DLL and HDF5_USE_DLL.

Description:

Solution:

Platforms tested:
MSVS 6.0 on windows XP

Misc. update:
2005-05-02 12:04:34 -05:00
MuQun Yang
7713afd950 [svn-r10709] Purpose:
Update dependency for cache project

Description:

Solution:

Platforms tested:
MSVS 6.0 on windows XP

Misc. update:
2005-05-02 12:02:41 -05:00
MuQun Yang
8457776f67 [svn-r10708] Purpose:
remove srb and gass tests from windows batch file.

Description:

Solution:

Platforms tested:
No need to test.

Misc. update:
2005-05-02 12:01:43 -05:00
MuQun Yang
aab3884c94 [svn-r10707] Purpose:
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:
2005-05-02 11:01:15 -05:00
MuQun Yang
117c3740b5 [svn-r10706] Purpose:
bug fix

Description:
When using memcpy on windows, <string.h> needs to be included.

Solution:
include <string.h>

Platforms tested:
MSVS 6.0 on windows XP, too minor to test with three platforms.

Misc. update:
2005-05-02 10:58:17 -05:00
Quincey Koziol
98244eb5dd [svn-r10705] Purpose:
Code cleanup

Description:
    Clean up a few compiler warnings of various sorts...

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-30 16:05:34 -05:00
Quincey Koziol
0fc9d137d3 [svn-r10703] Purpose:
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
2005-04-30 15:04:44 -05:00
Xiaowen Wu
78e4e6f008 [svn-r10702] Purpose:
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:
2005-04-29 17:52:51 -05:00
James Laird
1b7ae2a5b7 [svn-r10701]
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
2005-04-29 17:00:32 -05:00
Quincey Koziol
8f4b37accf [svn-r10700] Purpose:
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
2005-04-29 16:39:05 -05:00
Quincey Koziol
55f8e19fc7 [svn-r10699] Purpose:
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
2005-04-29 15:31:29 -05:00
Xiaowen Wu
abe7368338 [svn-r10698] Purpose:
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:
2005-04-29 15:19:49 -05:00
Fang Guo
bceba07ad2 [svn-r10697] Purpose:
Update fortran source code for windows.
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-29 12:23:47 -05:00
Fang Guo
6415a6daf6 [svn-r10696] Purpose:
Update header files for windows
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-29 12:22:42 -05:00