Commit Graph

7470 Commits

Author SHA1 Message Date
Fang Guo
f608a332a7 [svn-r10770] Purpose:
Add new HDF5 C library test project files into windows/test.
Description:
Add pool.dsp and pooldll.dsp
Solution:

Platforms tested:

Misc. update:
2005-05-19 17:23:59 -05:00
Fang Guo
38fc1ae995 [svn-r10769] Purpose:
Three project files and three workspaces added into hdf5/windows/misc
Description:
Add the following files
/windows/misc/H5fortran_detect_gen/H5fortran_detect_gen.dsp
./windows/misc/H5fortran_detect_gen/H5fortran_detect_gen.dsw
./windows/misc/fortrantypegen/H5fortran_detect.dsp
./windows/misc/fortrantypegen/fortrantypegen.dsw
./windows/misc/matchtypegen/H5match_types.dsp
./windows/misc/matchtypegen/matchtypegen.dsw
Solution:

Platforms tested:

Misc. update:
2005-05-19 16:00:36 -05:00
Fang Guo
10778706e3 [svn-r10768] Purpose:
Add project files pool.dsp and pooldll.dsp under hdf5/windows/test
Description:

Solution:

Platforms tested:

Misc. update:
2005-05-19 15:47:20 -05:00
Fang Guo
4b06ce73f6 [svn-r10767] Purpose:
New project files added into all.dsw
Description:
pool.dsp and pooldll.dsp added into all.dsw
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 15:32:17 -05:00
Fang Guo
69e5741a58 [svn-r10766] Purpose:
New source files added to hdf5.dsp.
Description:
Add new source files H5MP.c and H5MPtest.c to hdf5.dsp
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 15:11:15 -05:00
Fang Guo
af8a17971e [svn-r10765] Purpose:
Add new source file into hdfdll project file under hdf5/windows.
Description:
New source files H5MP.c and H5MPtest.c added into hdf5dll.dsp
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 15:09:23 -05:00
Fang Guo
55fbda577b [svn-r10764] Purpose:
Add new project file into hdf5/windows
Description:
New C dll test project file pooldll.dsp added into all.dsw
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 15:06:05 -05:00
Fang Guo
90ecc9c456 [svn-r10763] Purpose:
Add new project file to hdf5/windows/all.dsw
Description:
New C library test project file pool.dsp added into all.dsw
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 15:03:50 -05:00
Fang Guo
afd749b7b9 [svn-r10762] Purpose:
Update hdf5build.bat under hdf5/windows directory
Description:
Add code to generate H5f90i.h and H5fortran_types.f90
Solution:

Platforms tested:

Misc. update:
2005-05-19 12:37:22 -05:00
Fang Guo
c5807e5486 [svn-r10761] Purpose:
Update project setting.
Description:

Solution:

Platforms tested:

Misc. update:
2005-05-19 12:25:27 -05:00
Raymond Lu
0675cc67f9 [svn-r10760] Purpose: Minor Modification
Description: changed return type of H5Eget_num from SIZE_T to SSIZE_T to include
negative return value for failure.


Platforms tested: Not needed
2005-05-19 11:12:39 -05:00
Fang Guo
3a102ab279 [svn-r10759] Purpose:
Use to generate H5f90i_gen.h and H5fortran_types.f90
Description:
Special project file for windows.
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 10:18:08 -05:00
Fang Guo
07a0bbc8ef [svn-r10758] Purpose:
Use to generate H5f90i_gen.h and H5fortran_types.f90 on windows.
Description:
Special workspace for windows.
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 10:16:59 -05:00
Fang Guo
2ba67994f3 [svn-r10757] Purpose:
Use to generate H5fortran_detect.f90 in windows.
Description:
Special workspace for windows.
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 10:14:44 -05:00
Fang Guo
fd1dc4bc9d [svn-r10756] Purpose:
Use to generate H5fortran_detect.f90
Description:
Special project file on windows XP.
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 10:13:30 -05:00
Fang Guo
82146ab06f [svn-r10755] Purpose:
Use to generate H5fort_type_defines.h in windows.
Description:
Special project file for windows.
Solution:

Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
2005-05-19 10:11:12 -05:00
Fang Guo
fcf44daadc [svn-r10754] Purpose:
Special wrokspace for windows.
Description:
Use to generate H5fort_type_defines.h in windows.
Solution:

Platforms tested:
MSVS6.0 on windows XP.
Misc. update:
2005-05-19 10:09:29 -05:00
Fang Guo
8662f8cf96 [svn-r10753] Purpose:
Typo in directory name.
Description:

Solution:

Platforms tested:

Misc. update:
2005-05-19 09:59:40 -05:00
Frank Baker
2399650d64 [svn-r10752] Purpose:
Added new H5Error APIs.
Description:
    Added C entries for
	H5Eregister_class         H5Eunregister_class
	H5Eget_class_name         H5auto_is_stack
	H5Ecreate_msg             H5Eget_msg
	H5Eclose_msg
	H5Eget_num                H5Epop
	H5Eget_current_stack      H5Eclose_stack
    Still missing -- 6 APIs that match existing APIs except that they
    include a 'stack' parameter.  Those APIs will be added shortly.
Platforms tested:
    Firefox
2005-05-18 17:16:08 -05:00
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