changes:
-API additions
-hdp and hrepack utilities can now display more compression information
-build system updates
-bugfixes
pkgsrc notes:
-we build shared libraries now although it is officially unsupported
if Fortran is enabled (works for me)
-The 24-bit-jpeg selftest fails. It also failed with the previous
version. (perhaps jpeg-7 related?) The test contains too much magic
to tell what happens.
Configuration
* By default HDF4 libraries and utilities are installed under
<source_dir>/NewHDF
* Windows configuration, build and testing procedures have been changed.
Please see INSTALL_WINDOWS.txt file for more information
Library
* New API SDidtype was added to the library (bug #766)
* HCgetcompress renamed to HCPgetcompress
* New API HCget_config_info added
* The default chunk cache size was changed for 2D and higher
chunks
* Pablo instumentation was removed
Utilities
* hdiff and hrepack are supported on Windows.
* Substantial performance improvements in hdiff and hrepack
Support for new platforms and compilers
* Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers
are supported on Mac OSX.
* Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4
* PGI C and Fortran compilers are supported on Linux 2.4
* Intel C and Fortran compilers are supported on Linux 2.4
* Cray TS IEEE is supported.
Bugs fixed since HDF4.2r0
* VERY IMPORTANT:
Data compressed with SZIP may be corrupted; fixed. For more
information see "HDF4.2r1 SZIP Release Notes" available at
http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf
* Fortran couldn't read names with spaces when NetCDF interfaces
were used; fixed
* Library failed to compile in presence of the NetCDF library; fixed
* h4fc couldn't create object files; fixed
* When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045);
fixed
* Some GR images with special elements are read in as duplicate
(bug 814); fixed
* Many bugs fixed in hdiff and hrepack utilities
New Features and Changes:
========================
o The following Vdata routines were added:
VSsetblocksize/vsfsetblsz -- sets the block size of the
linked-block element.
VSsetnumblocks/vsfsetnmbl -- sets the number of blocks for
a linked-block element.
VSgetblockinfo/vsfgetblinfo -- retrieves the block size and the number
of blocks of a linked-block element.
o Two routines were added to get compression information for the SD and
GR interfaces, including chunked elements: SDgetcompress/sfgcompress
and GRgetcompress/mggcompress.
Note:
- For a JPEG image, GRgetcompress only returns the compression type, not
the compression information (i.e, quantity and force_baseline). This
information is not currently retrievable.
- Getting compression type for JPEG chunked images is not working yet.
o "hdp dumpgr" has a new option, -pd, to print palette data only. Also,
whenever option -p or -pd is given, only palettes are printed, and no
images or file attributes.
o A new FORTRAN function, heprntf (HEprint), was added. It takes two
arguments: file name and level. If the file name string has 0 length,
then error messages will be printed to standard output.
o A memory leak in the netCDF portion of the HDF/mfhdf distribution
was fixed.
o The "#define NULL" was removed since ANSI C compilers are required to
define NULL.
o When using "hdp dumpgr", data was being printed in the range of 0-250
when it should have been between 0-168. This problem is now fixed.