Commit Graph

3607 Commits

Author SHA1 Message Date
Frank Baker
019ab20275 [svn-r4678]
Purpose:
    Expanded descriptions and minor copy edits.

Description:
    H5Fcreate, H5Fopen, H5Fclose
       Changes stemming from Albert's H5Fxxx proposal
    Added IN/OUT designations to parameters.
    Minor formatting and copy edits

    [Sorry, but "no space left on device" error prevents deletion
    of extra blank lines!]


Platforms tested:
    IE 5
2001-12-05 17:08:37 -05:00
Quincey Koziol
6ecbcc1717 [svn-r4676] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_buffer's parameters changed between v1.4 and the
    development branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_buffer implementation and testing
    to allow v1.4.x users to continue to use their source code without
    modification.

    These changes are for everything except the FORTRAN wrappers - I spoke with
    Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 15:26:39 -05:00
Quincey Koziol
253123994a [svn-r4675] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_sieve_buf_size's parameters changed between v1.4 and the
    development branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_sieve_buf_size implementation and
    testing to allow v1.4.x users to continue to use their source code without
    modification.

    There are no C++ or FORTRAN wrappers for these functions.

    There are also no regression tests for these functions... :-(

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 14:04:58 -05:00
Quincey Koziol
bfbac647b0 [svn-r4674] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_meta_block_size's parameters changed between v1.4 and the
    development branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_meta_block_size implementation and
    testing to allow v1.4.x users to continue to use their source code without
    modification.

    There are no C++ or FORTRAN wrappers for these functions.

    There are also no tests for these API functions currently... :-(

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 13:45:31 -05:00
Quincey Koziol
b46e905594 [svn-r4673] Purpose:
Backward Compatibility Fix
Description:
    H5Pset_fapl_log's parameters have changed from a simple "verbosity" level
    to bit-masked flags to enable various behaviors.
Solution:
    Added in v1.4 compat stuff, on the unlikely chance that others are actually
    using this code in some production way.

    There are no C++ or FORTRAN wrappers for this call.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 12:33:31 -05:00
Albert Cheng
e3c98c2899 [svn-r4672] Purpose:
Bug fix
Description:
    Snapshot does "make check" directly, instead of building all
    binary first.  This means it does not cover code that are not
    tested (e.g., example, perform).  (That explained why the errors
    in the PIO performance code were not reported in daily test but
    blew up when people built the library the "normal" way.)
    It is done this way so that the snaptest aborts as soon as
    the first test failed rather than after all code are compiled.
Solution:
    Add "make" (to build all binary) before "make check".
    The allows snaptest to fail as soon as the first compiling failure.
    If we wish the snaptest to abort on the first test failure, the two
    can be swapped as "make check && make ...".  (It would appear strange
    to run tests then make binary.)
Platforms tested:
    Would be tested in the daily test tonight.  (I should have tested
    it first but I started this commit process already.  Sorry.)
2001-12-05 12:18:34 -05:00
Quincey Koziol
4886a6c447 [svn-r4670] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_sym_k's parameters changed between v1.4 and the development
    branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_sym_k implementation and testing
    to allow v1.4.x users to continue to use their source code without
    modification.

    These changes are for everything except the FORTRAN wrappers - I spoke with
    Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 11:42:40 -05:00
Quincey Koziol
a9c747deba [svn-r4669] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_cache's parameters changed between v1.4 and the development
    branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_cache implementation and testing
    to allow v1.4.x users to continue to use their source code without
    modification.

    These changes are for everything except the FORTRAN wrappers - I spoke with
    Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 11:12:32 -05:00
Binh-Minh Ribler
2167e3c495 [svn-r4668]
Purpose:
    Eliminated warnings
Description:
    On IRIX and Windows 98, if a function, that returns a value, throws
    an exception in "else" statement, the compiler still complains that
    the function doesn't return a value.
Solution:
    Replaced:
	if (something valid)
	    return a value
	else
	    throw an exception

    with:
	if (something invalid)
	    throw an exception
	return a value
Platforms tested:
    Windows 98
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    IRIX64 (modi4) - only tested that the warnings went away, still working
			on other configuration problems.
2001-12-05 11:03:14 -05:00
Bill Wendling
4a124d00cc [svn-r4667]
Purpose:
	Code Cleanup and Feature Add
Description:
	Finally checking in the changes I made to the performance code. It
	just modularizes it a bit more and performs some more checks, etc. I
	also renamed the timer functions to be more inline with how other
	things are named here...
Platforms tested:
	Linux
2001-12-04 17:23:54 -05:00
Quincey Koziol
a330835a5b [svn-r4666] Purpose:
Bug fix
Description:
    Missing a statement for an else branch when HAVE_GETTIMEOFDAY was defined,
    which caused most machines to fail compiling.
Solution:
    Re-arranged if/else statement to eliminate problem.
Platforms tested:
    FreeBSD 4.4 (sleipnir)
2001-12-04 08:19:42 -05:00
Quincey Koziol
e30b98d7fb [svn-r4665] Purpose:
Code cleanup
Description:
    Changed the logging file driver to use bitmasked flags for features to
    enable, instead of using a verbosity level.
Platforms tested:
    Solaris 2.6 (baldric)
2001-12-03 16:04:07 -05:00
Quincey Koziol
6e1ab59a75 [svn-r4664] Purpose:
Code cleanup
Description:
    Check in some small speedups for chunked storage I/O.
Platforms tested:
    Solaris 2.6 (baldric)
2001-12-03 16:00:46 -05:00
Bill Wendling
0c4dec2ba1 [svn-r4661]
Purpose:
	Bug Fix
Description:
	We needed to support C++ on SP3. Libtool was putting a "-bnso" flag
	on the compile line. This was causing the C++ compiler to barf..
Solution:
	Removed the line.
Platforms tested:
	OSF5.1
2001-11-30 13:04:36 -05:00
Elena Pourmal
76e9fe7298 [svn-r4658]
Purpose:
    Maintenance
Description:
    Added configuration file for SP3 to support C++
Platforms tested:
    NERSC SP3
2001-11-28 15:55:43 -05:00
MuQun Yang
65f26fb168 [svn-r4657]
Purpose:
    a minor bug on H5T.c
Description:
     should be HEREUTRN_ERROR(...,...,int,...)
     instead of HERUTRN_ERROR(...,...,int*,...)

Solution:
    change HERETURN_ERROR(...,...,NULL,...) into HERETURN_ERROR(...,...,FAIL,...)
Platforms tested:
    windows 2000
2001-11-28 11:00:48 -05:00
Quincey Koziol
2dad38a26c [svn-r4656] Purpose:
Bug fix
Description:
    Moved some executable code out of an assert() and check the results of the
    code with an assert().
Platforms tested:
    Solaris 2.6 (baldric)
2001-11-27 14:44:12 -05:00
Elena Pourmal
77e6a52f9a [svn-r4652]
Purpose:
    Bug fix
Description:
    Somehow I forgot to add DEC compiler directives to the H5Eff.f90
    file. Linking failed on OSF 5.1
Solution:
    Added necessary compiler directives for name translations.
Platforms tested:
    Not tested yet but without this change it would fail.
2001-11-27 13:40:35 -05:00
Quincey Koziol
fad0ffac14 [svn-r4650] Purpose:
Bug fix
Description:
    Fix another typo from today's big "overflow" commit.
Platforms tested:
    Solaris 2.6 (baldric)
2001-11-27 13:35:01 -05:00
Quincey Koziol
25aa2b6938 [svn-r4647] Purpose:
Bug fix
Description:
    Changed return value from "FAIL" to "NULL" for error condition, which was
    caused the SGI machines testing the GASS drivers to fail over the weekend.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-27 13:05:32 -05:00
Quincey Koziol
7c0c461e41 [svn-r4646] Purpose:
Bug fix
Description:
    Fix typo which caused thread-safe tests to fail over the weekend.
Platforms tested:
    IRIX64 6.5 (modi4) with thread-safe code enabled.
2001-11-27 13:02:55 -05:00
Quincey Koziol
233ef182ac [svn-r4645] Purpose:
Bug Fix
Description:
    Replace an 'if' statement taken out in commit earlier today which was
    necessary for routing around endian conversions when zero elements were
    converted.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-27 13:02:00 -05:00
Quincey Koziol
226ae23b7b [svn-r4644] Purpose:
Code cleanup
Description:
    Fix small warning on SGI compilers
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-27 13:00:39 -05:00
Quincey Koziol
d456c2bb82 [svn-r4643] Purpose:
Code cleanup
Description:
    Windows is generating hundreds of warnings from some of the practices in
    the library.  Mostly, they are because size_t is 32-bit and hsize_t is
    64-bit on Windows and we were carelessly casting the larger values down to
    the smaller ones without checking for overflow.

    Also, some other small code cleanups,etc.

Solution:
    Re-worked some algorithms to eliminate the casts and also added more
    overflow checking for assignments and function parameters which needed
    casts.

    Kent did most of the work, I just went over his changes and fit them into
    the the library code a bit better.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-27 11:29:13 -05:00
Quincey Koziol
05264c8878 [svn-r4642] Purpose:
Code cleanup
Description:
    Added macro to check for overflows when assigning a value to a variable
    which requires a cast down in size or precision.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-27 11:18:43 -05:00
Elena Pourmal
6336d12b03 [svn-r4638]
Purpose:
    Maintenance
Description:
    Added tests for the H5E Fortran interface
Platforms tested:
    arabica and eirene
2001-11-27 10:11:56 -05:00
Elena Pourmal
3adfa54afc [svn-r4637]
Purpose:
    Bug fix
Description:
    Error messages were printed to the file and standard output regardless
    of the parameters passed to the h5eprint_f function. h5eprintc function
    did not close the file with the error output. Fixed.
Platforms tested:
    arabica and eirene
2001-11-27 10:10:55 -05:00
Elena Pourmal
2e910e48b9 [svn-r4636]
Purpose:
    Bug fix and maintenance
Description:
    I added new file tH5E.f90 to the fortran/test directory
Platforms tested:
    arabica and eirene
2001-11-27 10:07:15 -05:00
Quincey Koziol
35a04d41ff [svn-r4635] Purpose:
Code cleanup (sorta)
Description:
    H5_SIZEOF_HSIZE_T was missing from among the definitions we provide for
    the variables we declare.
Solution:
    Added it.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-21 15:08:58 -05:00
Quincey Koziol
db8fa602a6 [svn-r4634] Purpose:
Bug fix
Description:
    A couple more compile problems from the recent elimination of IDs from
    internal function calls.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-21 12:01:10 -05:00
Quincey Koziol
2edb830946 [svn-r4633] Purpose:
Bug fix.
Description:
    Builds for parallel testing exposed some places that I forgot to get rid of
    using IDs in internal APIs.
Solution:
    Switch sections of code to use proper data structures instead of IDs.
Platforms tested:
    Parallel compiles from daily tests.
2001-11-21 10:09:47 -05:00
Quincey Koziol
cdffac61e5 [svn-r4632] Purpose:
Bug fix
Description:
    Fix deep copies of property lists with H5P_DEFAULT values.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-21 10:07:32 -05:00
Quincey Koziol
2a2d3b21aa [svn-r4631] Purpose:
Bug fix
Description:
    Fixed return type from FAIL to NULL.
Platforms tested:
    Daily tests on SGI machines.
2001-11-21 10:06:25 -05:00
Quincey Koziol
a496459acc [svn-r4630] Purpose:
Add missing file.
2001-11-21 10:05:12 -05:00
Quincey Koziol
ff0f769b87 [svn-r4629] Purpose:
Bug fix for code cleanup... :-)
Description:
    Fix a few problems introduced in my previous code cleanup.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 17:29:15 -05:00
Quincey Koziol
6248a58046 [svn-r4628] Purpose:
Fix typo...
Description:
    Copy & paste error... :-)
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 16:08:58 -05:00
Quincey Koziol
cfcfc906b6 [svn-r4627] Purpose:
Code cleanup
Description:
    Got rid of IDs from internal API functions and also got rid of API calls
    from internal functions.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:18:23 -05:00
Quincey Koziol
dabfd39dc8 [svn-r4626] Purpose:
Code cleanup
Description:
    Moved parts of the H5P stuff into the new H5Ppkg.h header file from here.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:17:25 -05:00
Quincey Koziol
977504e69f [svn-r4625] Purpose:
Code cleanup
Description:
    Add new header file to separate the H5P functionality better.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:16:38 -05:00
Quincey Koziol
7a8a23b9ca [svn-r4624] Purpose:
Code cleanup & bug fixes
Description:
    Clean up memory leaks when shutting down H5P API.

    Remove all IDs from internal API calls, except for H5P_isa_class, which
    should be the only internal API call which accepts an ID besides the H5I*
    functions.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:15:49 -05:00
Quincey Koziol
394aac2768 [svn-r4623] Purpose:
Bug fix & code cleanup
Description:
    Be much more careful when closing all the IDs in an ID group, re-flush
    the ID cache after each ID closed, since the close callback for an ID could
    get back into the ID API code and create havoc.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:14:01 -05:00
Quincey Koziol
fa4e258236 [svn-r4622] Purpose:
Code cleanup
Description:
    Be more careful when starting up and shutting down APIs, only initialize
    variables which are actually shut down already.

    Get rid of IDs from internal function calls
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:11:49 -05:00
Quincey Koziol
300fcb978b [svn-r4621] Purpose:
Code cleanup
Description:
    Get rid of IDs from internal function calls.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:10:12 -05:00
Quincey Koziol
6ab0e9f092 [svn-r4620] Purpose:
Code cleanup
Description:
    Get rid of IDs from internal function calls and some small cleanups from
    the old-stype => generic property list conversion.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 14:07:22 -05:00
Quincey Koziol
2e53165b47 [svn-r4619] Purpose:
Code cleanup
Description:
    Clean up thread-safety macros and neaten up code.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 13:56:24 -05:00
Quincey Koziol
137d18ffe8 [svn-r4618] Purpose:
Code cleanup
Description:
    Clean up threading macros and remove vestiges of old-style property lists.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 13:55:33 -05:00
Quincey Koziol
eca257df62 [svn-r4617] Purpose:
Update document
Description:
    Note a big fix that didn't make it into the document when the bug fix code
    was checked in.
2001-11-20 13:50:16 -05:00
Quincey Koziol
1e0003652b [svn-r4616] Purpose:
Code cleanup
Description:
    Put quotes around compiler flags when debugging is on, so they get
    carried down into the Makefiles properly.
Platforms tested:
    Solaris 2.6 (baldric)
2001-11-20 13:48:40 -05:00
Quincey Koziol
5c373b3136 [svn-r4615] Purpose:
Code cleanup
Description:
    Add new header file
2001-11-20 13:47:42 -05:00
Quincey Koziol
69575231ef [svn-r4614] Purpose:
Code cleanup
Description:
    Corrected header files needed.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-20 13:47:15 -05:00