Commit Graph

5875 Commits

Author SHA1 Message Date
Binh-Minh Ribler
9e3178fedf [svn-r8269] Purpose:
Cleaning up warnings

Description:
    Many exception constructors have warnings about reference to temporary
    location because of the parameter initialization, for example,
    "const string& var = 0."

Solution:
    Changed "string&" parameters to pass by value for these constructors.
    Consequently, passing string by value also takes care of char pointers
    so the overloaded constructors for char pointers are then removed.
    Also, instead of setting Exception::detailMessage to null string, I
    set it to DEFAULT_MSG ("No detailed information provided") by default.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    IA-64 (titan)
2004-03-21 21:56:59 -05:00
Raymond Lu
7fb0362eed [svn-r8266] Purpose: Internal function change
Description: The algorithm of H5T_bit_neg wasn't general enough.

Solution:  Changed it to handle arbitory starting position and size
in a bit sequence.

Platforms tested: h5committest.
2004-03-19 14:55:42 -05:00
Raymond Lu
e45e85190b [svn-r8265] Purpose: Code cleanup
Description:  Some printing commands left there for debugging.

Solution:  Took them out.

Platforms tested:  fuss(RH8).  Simple change
2004-03-18 13:48:02 -05:00
Raymond Lu
a8ec063090 [svn-r8264] Purpose: Internal algorithm change
Description:  The H5T_bit_dec algorithm wasn't general enough.

Solution:  Changed it to handle bit sequence starting at any position
and of any length.

Platforms tested: h5committest
2004-03-17 12:36:34 -05:00
HDF Admin
19d0f85444 [svn-r8263] Snapshot version 1.7 release 20 2004-03-17 08:16:26 -05:00
Raymond Lu
d9d34b46e3 [svn-r8262] Purpose: Avoid bug in some systems.
Description:  unsigned long or unsigned long long failed to be converted to
float or double during software conversion on some systems.  It's believed
there are bugs on those systems(modi4, premium, o2, arabica).

Solution:  temporarily disable these tests.

Platforms tested:  Simply comment out.  No need to do test.
2004-03-16 14:55:18 -05:00
Pedro Vicente Nunes
f217777cdb [svn-r8261] Purpose:
bug fix

Description:
the test that reads a pre-saved file with filters must only be run
when that filter is available on the current configuration,
otherwise the library trigers a read error

Solution:
added a #ifdef for the filter, that prints -SKIP- in case we do not have the filter

Platforms tested:
linux

Misc. update:
2004-03-15 13:33:51 -05:00
Quincey Koziol
18ea372959 [svn-r8260] Purpose:
Code cleanup

Description:
    Remove small debugging block

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-03-13 15:04:24 -05:00
Raymond Lu
95dc09ab4b [svn-r8259] *** empty log message *** 2004-03-13 12:39:41 -05:00
Raymond Lu
f0ac5a6420 [svn-r8258] Purpose: new feature
Description: integer-float software conversion.  There are some
print commands left in the source code.  Will clean them up once
no problem is found in test.


Platforms tested: h5committest.

Misc. update: RELEASE.txt
2004-03-13 12:39:24 -05:00
Frank Baker
5224b9e21a [svn-r8257]
Purpose:
    Add one tag for HTMLdoc that affects the first page of the
    next file's output (Tools).

Platforms tested:
    IE 5, HTMLdoc
2004-03-12 15:36:43 -05:00
Pedro Vicente Nunes
7de24aa706 [svn-r8255] Purpose:
bug fix

Description:
the added binary files to read did not have the construction of the "srcdir" path

Solution:
add it

Platforms tested:
linux

Misc. update:
2004-03-11 22:43:23 -05:00
Frank Baker
4c0ffcb814 [svn-r8254]
Purpose:
    Clean up RM formatting.
    Modify RM HTML code to facilitate automated generation of PDF version.
    Minor edits.

Description:
    Reworked format of "Options" and "Parameters" sections.
    Added HTML tags (and pseudo-HTML tags) used by HTMLdoc to
        generate PDF files.
    Other minor copy edits.

Platforms tested:
    IE 5
2004-03-11 15:18:23 -05:00
Pedro Vicente Nunes
472394a0e9 [svn-r8252] Purpose:
bug fix
new test

Description:
the fletcher filter used a temporary  2 byte word buffer to compute the checksum.
this is non portable between big-endian/little endian.

added a test that reads 2  pre-saved files (one LE, other BE) with that filter enabled

Solution:
replaced with a buffer of 1 byte type

Platforms tested:
linux
solaris
solaris 64 bit
AIX
windows

Misc. update:
2004-03-10 19:25:31 -05:00
Pedro Vicente Nunes
5ca8720063 [svn-r8251] Purpose:
bug fix

Description:
the fletcher filter used a temporary  2 byte word buffer to compute the checksum.
this is non portable between big-endian/little endian.

Solution:
replaced with a buffer of 1 byte type

Platforms tested:
linux
solaris
solaris 64 bit
AIX
windows

Misc. update:
2004-03-10 19:23:55 -05:00
Pedro Vicente Nunes
c131cf3125 [svn-r8247] Purpose:
added the 2 binary files to list

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-10 16:48:29 -05:00
Pedro Vicente Nunes
27aeb2fff4 [svn-r8246] Purpose:
added 2 binary files to be used in a new test (dsets test)

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-10 16:45:30 -05:00
Frank Baker
77068a23d3 [svn-r8245]
Purpose:
    Bugfix: Bugzilla #66

Solution:
    H5Pset_szip -- Corrected the plist parameter description.
        Since this property can be set only in the dataset
        creation property list, changed the parameter description
        from
            Dataset creation or dataset transfer property list identifier.
        to
            Dataset creation property list identifier.
        Fixes Bugzilla bug #66.

Platforms tested:
    IE 5
2004-03-10 14:27:21 -05:00
Frank Baker
3b3598e446 [svn-r8242]
Purpose:
    Bugfix -- Bugzilla #67

Solution:
    Removed the numeric notations from the datatype listing
        in h5iget_type_f.
    Fixes Bugzilla #67.

Platforms tested:
    IE 5
2004-03-10 13:31:55 -05:00
Elena Pourmal
66c858c269 [svn-r8241] Purpose: Bug fix (#71 in Bugzilla DB)
Description: C++ comment was used. That caused a problem for a user (see
             bug description)

Solution: Changed comment to C type

Platforms tested: eirene

Misc. update:
2004-03-09 16:15:24 -05:00
Elena Pourmal
6f0be2df0d [svn-r8239] Purpose: Brought back changes from 1.6 branch (small bug fix)
Description: Wrong datatype was used to calculate the size of data buffer


Solution: Used correct the datatype

Platforms tested: partially h5comittested (sol and verbena);
                  tested manually for sequential version on copper

Misc. update:
2004-03-08 15:09:52 -05:00
Quincey Koziol
73b756fe33 [svn-r8235] Purpose:
Bug fix

Description:
    Fix build on sparc64 platform for FreeBSD by modifying the config/gnu-flags
to not insert '-march=i686' on non-Intel platforms.  (This change allows HDF5
to run correctly on all five of the main FreeBSD platforms... :-)

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest not run since it's a FreeBSD-specific fix.
2004-03-06 21:26:31 -05:00
Quincey Koziol
51ecb0ecea [svn-r8233] Purpose:
Bug fix/code update

Description:
    Upgrade to latest version of config.guess & config.sub, which work
    correctly on Cray X1 (and may help on NEC SX-6).

    NOTE: This upgrade has _nothing_ to do with autoconf or libtool, these
    shell scripts are _not_ tied to any particular version of those tools.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
    Cray X1
2004-03-05 16:32:59 -05:00
Pedro Vicente Nunes
2a93f99317 [svn-r8232] Purpose:
new feature

Description:
added a check for the return value of the tools h5repack and h5diff
in the run script.
the return value is used to print PASSED (tool returns 0) or FAILED

Solution:

Platforms tested:
linux

Misc. update:
2004-03-04 11:55:07 -05:00
Pedro Vicente Nunes
931efcb5eb [svn-r8229] Purpose:
1) new function  for tools library
2) new test script for h5repack


Description:
1) currently all the tools (h5dump, h5diff, etc)  do not check if a filter is available
for reading some dataset that might have a filter not available on the current configuration (the behaviour
of the tools until now was to trigger a library error, saying that the dataset cannot be read
due to the lack of the filter)


Solution:
1) added a new function h5tools_canreadf that checks if a dataset can be read
depending on the availability of filters.
this function was added in calls for h5diff and h5repack.
instead of triggering the library error, a message is printed, saying that the dataset
cannot be read (the print is optional, it is on on verbose mode)

2) added a shell script that tests the commannd line tool behaviour of h5repack
the script does a series of runs of h5repack  with several options on the same file (this file test4.h5
was added to the testfiles dir).
then, it runs the h5diff tool, with the input and output files , in each run.
the goal of the test is also to check item 1) . the binary file was saved with filters
that might not be available on other configurations


Platforms tested:
linux (all filters enabled)
linux (some filters disabled)
solaris (some filters disabled)
AIX (some filters disabled)
windows (all filters on and off )


Misc. update:
2004-03-02 13:12:25 -05:00
Albert Cheng
77d3875c5b [svn-r8228] Purpose:
Incremented the release number.  The previous one is used
by the fphdf5 alpha0 release.

Platforms tested:
Tested in Eirene with fortran and cxx.
2004-03-01 18:14:30 -05:00
Pedro Vicente Nunes
8e0adc3208 [svn-r8227] Purpose:
these output files have the output without a removed printed new line

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-01 16:01:58 -05:00
Pedro Vicente Nunes
a9c0f6f616 [svn-r8226] Purpose:
removed a print of a new line

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-03-01 16:00:40 -05:00
HDF Admin
ddd683737b [svn-r8225] FPHDF5 alpha0 release 2004-02-27 05:37:49 -05:00
Pedro Vicente Nunes
b20cf81c5c [svn-r8224] Purpose:
bug fix

Description:
I introduced some #ifdef <have_filter> on the check in yesterday on the places
that generated datasets, that had no corresponding on the read part.
this caused failures in the configurations  where a filter was not defined

Solution:
just removed the #ifdefs

Platforms tested:
linux

Misc. update:
2004-02-26 09:32:21 -05:00
Pedro Vicente Nunes
40357176e3 [svn-r8223] Purpose:
bug fix

Description:
generating a dataset in linux 2.4 (verbena) with the pgcc compiler gave an error with the following
sequence

1) make a space id1 and a dcpl
2) make a space id2, create and write a dataset with space id2, close
3) attempt to create a dataset with space id1 fails and calling a set_filter function with the dcpl in 1) fails


Solution:
just changed the order 2) to 1)


Platforms tested:
linux 2.4 (verbena) with pgcc compiler

Misc. update:
2004-02-25 14:37:45 -05:00
Frank Baker
2f8fc11a3f [svn-r8222]
Purpose:
    Update page footer.

Platforms tested:
    IE 5
2004-02-24 17:13:37 -05:00
Frank Baker
9fb77d56b8 [svn-r8221]
Purpose:
    Clean up RM formatting.
    Modify RM HTML code to facilitate automated generation of PDF version.
    Minor edits.

Description:
    Reworked format of "Parameters" sections.
    Added HTML tags (and pseudo-HTML tags) used by HTMLdoc to
        generate PDF files.
    Fixed the "Copyright" link on RM_H5Front.html.
    Other minor copy edits.

Platforms tested:
    IE 5
2004-02-24 17:10:12 -05:00
Pedro Vicente Nunes
f29e2a01e3 [svn-r8218] Purpose:
bug fix in H5Zshuffle.c
add more tests to h5repack that exposed the bug

Description:
when creating a dataset with the shuffle filter and duplicating it in a new dataset (file)
the call to H5Z_set_local_shuffle failed. this is because the value of cd_nelmts of the filter
structure is set to 1 (H5Z_SHUFFLE_TOTAL_NPARMS) when the original dataset is created, but when
the new dataset is created there is a checking instruction that fails if the value of
cd_nelmts is not 0 (its original value, H5Z_SHUFFLE_USER_NPARMS)

Solution:
just remove that check condition, since the value of cd_nelmts is not used anyway.
if we decide that the value of cd_nelmts is necessary, then the H5O_pline_copy function
must be changed to update this value (a different update for each filter)

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-02-23 11:52:45 -05:00
HDF Admin
fe388e2c13 [svn-r8216] Snapshot version 1.7 release 18 2004-02-22 04:16:37 -05:00
Quincey Koziol
78c6d91664 [svn-r8214] Purpose:
Bug fix

Description:
    Update threadsafe flags for FreeBSD and allow C++ to be built with
    threadsafe enabled.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/C++ & thread-safe
2004-02-21 12:44:44 -05:00
Albert Cheng
691fae29d4 [svn-r8212] Purpose:
Bug fix.

Description:
The -g in H5detect somehow does not work with 64bit mpicc in arabica.
Remove it for now for better solution.

Platforms tested:
no test as the change is trivia.

Misc. update:
2004-02-18 17:31:05 -05:00
Frank Baker
6f3c3be256 [svn-r8210]
Purpose:
    Corrected reference to PDF version.

Platforms tested:
    IE 5
2004-02-18 16:11:49 -05:00
Albert Cheng
5937bcd021 [svn-r8207] Purpose:
Bug fix, sort of.


Description:
Some compilers, e.g., intel compiler, would take a long time
to compiler H5detect.c if optimization is on.


Solution:
Setup special make rules for H5detect to be compiled always with
optimization off by using -g.  Since H5detect is run once to generate H5Tinit.c,
it does not matter that much if it is optimized or not.


Platforms tested:
"h5committested".
Tested in Titan too.
2004-02-16 23:25:40 -05:00
Quincey Koziol
715460cf62 [svn-r8203] Purpose:
Doc cleanup

Description:
    Correct several grammar problems, as well as clarify a few more things,
based on John's feedback.
2004-02-14 09:39:18 -05:00
Quincey Koziol
31596fc1bd [svn-r8201] Purpose:
Code cleanup/bug fix

Description:
    Fix configuration files to allow 64-bit compilation of the library with
a 64-bit version of zlib.

Solution:
    Moved important compiler flags settings from CC macro to CFLAGS macro.
Instead of setting CC (F9X, CXX) environment variable for compiling for 64-bit
code, users should just set the CFLAGS (FFLAGS, CXXFLAGS) to -q64.
    Updated INSTALL file to reflect this change.

Platforms tested:
    IBM p690 (copper) w/parallel, FORTRAN, C++, srcdir.
    Platforms specific - h5committest does not apply.
2004-02-13 15:08:18 -05:00
Quincey Koziol
b8edc9384d [svn-r8199] Purpose:
Bug fix typo

Description:
    Correct typo in last fix... *sigh*

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest - Really! :-)
2004-02-13 08:47:15 -05:00
Pedro Vicente Nunes
747dd91641 [svn-r8198] Purpose:
small bug fix

Description:
a dataset creation property list was not closed

Solution:
closed it, calling H5Pclose(dcpl);

Platforms tested:
linux (small fix)

Misc. update:
2004-02-12 16:28:12 -05:00
Quincey Koziol
7efcee5e4f [svn-r8197] Purpose:
Bug fix

Description:
    Hack on include paths some more to make srcdir builds work correctly with
the [broken] dependency generation from the Intel 7.1 C compiler.

Platforms tested:
    Linux 2.4 (titan) w/srcdir build
    Too minor to require h5committest
2004-02-12 15:01:32 -05:00
Quincey Koziol
53904c8737 [svn-r8187] Purpose:
Bug fix

Description:
    Added directory where actual source code is located to allow broken Intel
C 7.1 compiler to generate dependencies correctly.

Platforms tested:
    Linux 2.4 (titan)
    too minor to need h5committest
2004-02-11 20:12:22 -05:00
Pedro Vicente Nunes
864b2dfab1 [svn-r8183] Purpose:
removed some harcoded zlib and szip library paths from the h5repack project
settings that were accidently left there

Description:

Solution:

Platforms tested:

Misc. update:
2004-02-11 14:12:12 -05:00
Albert Cheng
f55948e4ba [svn-r8181] Purpose:
Bug fix.

Description:
"make check" failed because the macro "$<" is not known to those
makes.

Solution:
Replace that macro with a string name in the form of a more basic
macro of "$@".

Platforms tested:
h5committested (copper used make.)

Misc. update:
2004-02-10 22:17:36 -05:00
Frank Baker
316a2ab99a [svn-r8178]
Purpose:
    Add 2004 to the copyright dates line.

Platforms tested:
    Viewed in vi.
2004-02-10 18:01:33 -05:00
Pedro Vicente Nunes
192c316dd5 [svn-r8176] Purpose:
new feature, bug fix, changed function

Description:
1) implemented the option that says if the dataset is too small , do not compress it
2) bug fix in the SZIP checking . only apply szip to atomic datatypes
3) made the apply_filters function more compact


Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-02-10 13:33:20 -05:00
Pedro Vicente Nunes
f1031738ef [svn-r8175] Purpose:
same changes that were done for 1.6 regarding CW install

Description:

Solution:

Platforms tested:

Misc. update:
2004-02-10 13:18:10 -05:00