Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Andreas_Schwab:Factory
cfitsio
cfitsio.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cfitsio.changes of Package cfitsio
------------------------------------------------------------------- Sun Jun 16 08:33:04 UTC 2013 - schwab@suse.de - aarch64-support.patch: Add support for aarch64 ------------------------------------------------------------------- Wed Apr 3 18:35:45 UTC 2013 - asterios.dramis@gmail.com - Update to version 3.340: * modified configure and configure.in to support cross-compiled cfitsio as a static library for Windows on a Linux platform using MXE (http://mxe.cc) - a build environment for mingw32. (contributed by Niels Kristian Bech Jensen) * added conditional compilation statementsfor the mingw32 environment in drvrfile.c because mingw32 does not include the ftello and fseeko functions. (contributed by Niels Kristian Bech Jensen) * fixed a potential bug in ffcpcl (routine to copy a column from one table to another table) when dealing with the rare case of a '0X' column (zero length bit column). * fixed an issue in the routines that update or modify string-valued keyword values, as a result of the change to ffc2s in the previous release. These routines would exit with a 204 error status if the current value of the keyword to be updated or modified is null. * fixed typo in the previous modification that was intended to ignore numerical overflows in Hcompress when decompressing an image. * moved the 'startcol' static variable out of the ffgcnn routine and instead added it as a member of the 'FITSfile' structure that is defined in fitsio.h. This removes a possible race condition in ffgcnn in multi-threaded environments. From version 3.330: * modified the imcomp_decompress_tile routine to ignore any numerical overflows that might occur when using Hcompress to decompress the image. If Hcompress is used in its 'lossy' mode, the uncompressed image pixel values may slightly exceed the range of an integer*2 variable. This is generally of no consequence, so we can safely ignore any overflows in this case and just clip the values to the legal range. * the default tiling pattern when writing a tile-compressed image has been changed. The old behaviour was to compress the whole image as one single large tile. This is often not optimal when dealing with large images, so the new default behavior is to treat each row of the image as one tile. This is the same default behavior as in the standalone fpack program. The default tile size can be overridden by calling fits_set_tile_dim. * fixed bug bug that resulted in a corrupted output FITS image when attempting to write a float or double array of values to a tile-compressed integer data type image. CFITSIO does not support implicit data type conversion in this case and now correctly returns an appropriate error status. * modified ricecomp.c to define the nonzero_count lookup table as an external variable, rather then dynamically allocating it within the 3 routines that use it. This simplifies the code and eliminates the need for special thread locking and unlocking statements. (Thanks to Lars Kr. Lundin for this suggestion). * modifed how the uncompressed size of a gzipped file is computed in the mem_compress_open routine in drvrmem.c. Since gzip only uses 4 bytes in the compressed file header to store the original file size, one may need to apply a modulo 2^32 byte correction in some cases. The logic here was modified to allow for corner cases (e.g., very small files, and when running on 32-bit platforms that do not support files larger than 2^31 bytes in size). * added new public routine to construct a 80 keyword record from the 3 input component strings, i.e, the keyword name string, the value string, and the comment string: fits_make_key/ffmkky. (This was already an undocumented internal routine in previous versions of CFITSIO). * modified ffc2s so that if the input keyword value string is a null string, then it will return a VALUE_UNDEFINED (204) status value. This makes it consistent with the behavior when attempting to read a null keyword (which has no value) as a logical or as a number (which also returns the 204 error). This should only affect cases where the header keyword does not have an equal sign followed by a space character in columns 9 and 10 of the header record. * Changed the "char *" parameter declarations to "const char *" in many of the routines (mainly the routines that modify or update keywords) to avoid compiler warnings or errors from C++ programs that tend to be more rigorous about using "const char *" when appropriate. * added support for caching uncompressed image tiles, so that the tile does not need to be uncompressed again if the application program wants to read more data from the same tile. This required changes to the main FITS file structure that is defined in fitsio.h, as well as changes to imcompress.c. * enhanced the previous modification to drvrfile.c to handle additional user cases when running in the HEASARC's Hera environment. From version 3.320: * fixed flaw in the way logical columns (TFORM = 'L') in binary tables were read which caused an illegal value of 1 in the column to be interpreted as a 'T' (TRUE) value. * extended the column filtering syntax in the CFITSIO file name parser to enable users and scripts to append new COMMENT or HISTORY keyword into the header of the filtered file (provided by Craig Markwardt). For example, fcopy "infile.fits[col #HISTORY='Processed on 2012-10-05']" outfile.fits will append this header keyword: "HISTORY Processed on 2012-10-05" * small change to the code that opens and reads an ASCII region file to return an error if the file is empty. * fixed obscure sign propagation error when attempting to read the uncompressed size of a gzipped FITS file. This resulted in a memory allocation error if the gzipped file had an uncompressed file size between 2^31 and 2^32 bytes. Fix supplied by Gudlaugur Johannesson (Stanford). - Rebased cfitsio.patch to apply cleanly. ------------------------------------------------------------------- Tue Jul 31 16:10:47 UTC 2012 - asterios.dramis@gmail.com - Update to version 3.310: * Enhanced the CFITSIO column filtering syntax to allow the comma, in addition to the semi-colon, to be used to separate clauses, for example: [col X,Y;Z = max(X,Y)]. This was done because users are not allowed to enter the semi-colon character in the on-line Hera data processing system due to computer security concerns. * Enhanced the CFITSIO extended filename syntax to allow specifying image compression parameters (e.g. '[compress Rice]') when opening an existing FITS file with write access. The specified compression parameters will be used by default if more images are appended to the existing file. * Modified drvrfile.c to do additional file secrity checks when CFITSIO is running within the HEASARC's Hera software system. In this case CFITSIO will not allow FITS files to be created outside of the user's individual Hera data directory area. * Fixed an issue in fpack and funpack on Windows machines, caused by the fact that the 'rename' function behaves differently on Windows in that it does not clobber an existing file, as it does on Unix platforms. * Fixed bug in the way byte-swapping was being performed when writing integer*8 null values to an image or binary table column. * Added the missing macro definition for fffree to fitsio.h. * Modified the low level table read and write functions in getcol*.c and putcol*.c to remove the 32-bit limitation on the number of elements. These routines now support reading and writing more than 2**31 elements at one time. Thanks to Keh-Cheng Chu (Stanford U.) for the patch. * Modified Makefile.in so that the shared libcfitsio.so is linked against pthreads and libm. - Removed the fix to link the library to libpthread and libm from cfitsio.patch (fixed upstream). - Rebased cfitsio-zlib.patch to apply cleanly. Removed the linking of the programs (fpack and funpack) to libz from the patch (not needed). - Remove some more bundled zlib files from the package. ------------------------------------------------------------------- Wed May 9 19:30:17 UTC 2012 - asterios.dramis@gmail.com - Renamed package from libcfitsio0 to cfitsio. - Renamed subpackage libcfitsio-doc to libcfitsio-devel-doc (added obsoletes entry for libcfitsio-doc of previous openSUSE versions). - Suggest the libcfitsio-devel-doc package in libcfitsio-devel. - Removed the requirement for libcfitsio0 from libcfitsio-(devel)-doc (not needed). ------------------------------------------------------------------- Tue May 8 18:33:41 UTC 2012 - asterios.dramis@gmail.com - Update to version 3.300: Enhancements * Added new routine called fits_is_reentrant which returns 1 or 0 depending on whether or not CFITSIO was compiled with the -D_REENTRANT directive. This can be used to determine if it is safe to use CFITSIO in multi-threaded programs. * Implimented much faster byte-swapping algorithms in swapproc.c based on code provided by Julian Taylor at ESO, Garching. These routines significantly improve the FITS image read and write speed (by more than a factor of 2 in some cases) on little-endian machines (e.g., Linux and Microsoft Windows running on x86 PCs) where byte-swapping is required. This has no effect on big-endian machines (e.g., Macs). Even faster performance can be achieved in some cases by invoking the new "--enable-sse2" or "--enable-ssse3" configure options when building CFITSIO on machines that have CPUs and compilers that support the SSE2 and SSSE3 machine instructions. * added additional support for implicit data type conversion in cases where the floating point image has been losslessly compressed with gzip. The pixels in these compressed images can now be read back as arrays of short, int, and long integers as well as single and double precision floating-point. * modified fitsio2.h and f77_wrap.h to recognize IBM System z mainframes by testing if __s390x__ or __s390__ is defined. * small change to ffgcrd in getkey.c so that it supports reading a blank keyword (e.g., a keyword whose name simply contains 8 space chracters). Bug Fixes * fixed a bug in imcomp_decompress_tile that caused the tile-compressed image to be uncompressed incorrectly (even though the tile-compressed image itself was written correctly) under the following specific conditions: - the original FITS image has a "float" datatype (R*4) - one or more of the image tiles cannot be compressed using the standard quantization method and instead are losslessly compressed with gzip - the pixels in these tiles are not all equal to zero (this bug does affect tiles where all the pixels are equal to zero) - the program that is reading the compressed image uses CFITSIO's "implicit datatype conversion" feature to read the "float" image back into an array of "double" pixel values. If all these conditions are met, then the returned pixel values in the affected image tiles will be garbage, with values often ranging up to 10**34. Note that this bug does not affect the fpack/funpack programs, because funpack does not use CFITSIO's implicit datatype conversion feature when uncompressing the image. - Replaced cfitsio-makefile.patch with cfitsio.patch (taken from Fedora). It's the same patch with the addition of linking libcfitsio with libpthread and libm (fixes possible errors with packages requiring libcfitsio0 and compiled with the "--as-needed" flag). - Added a patch (cfitsio-zlib.patch) to use system zlib (based on patches from Fedora and Debian). Added zlib-devel in build depencdencies. - Added a patch (implicit-pointer-decl.patch) to fix "implicit-pointer-decl" rpm post build check warning. - Moved "-lpthread" and added "-lz" in Libs.private: of cfitsio pkg-config file. - Removed "-fno-strict-aliasing" from CFLAGS. - Don't install static libraries. ------------------------------------------------------------------- Mon Dec 5 15:19:10 UTC 2011 - idoenmez@suse.de - Set license to ISC, bnc#734865 ------------------------------------------------------------------- Sun Dec 4 21:06:24 UTC 2011 - idoenmez@suse.de - Fix SLE_11 build ------------------------------------------------------------------- Sun Dec 4 16:44:07 UTC 2011 - asterios.dramis@gmail.com - Update to version 3.290: Enhancements * modified Makefile.in to allow configure to override the lib and include destination directories. * added (or restored actually) support for tile compression of 1-byte integer images in imcomp_compress_tile. Support for that data type was overlooked during recent updates to this routine. * modified the fits_get_token command-line parsing routine to perform more rigorous checks to determine if the token can be interpreted as a number or not. * made small modification to fpack.c to not allow the -i2f option (convert image from integer to floating point) with the "-g -q 0" option (do lossless gzip compression). It is more efficient to simply use the -g option alone. * made modifications to fitsio.h and drvrfile.c to support reading and writing large FITS files (> 2.1 GB) when building CFITSIO using Microsoft Visual C++ on Windows platforms. * added new WCS routine (ffgicsa) which returns the WCS keyword values for a particular WCS version ('A' - 'Z'). Bug Fixes * fixed a problem with multi-threaded apps that open/close FITS files simultaneously by putting mutex locks around the call to fits_already_open and in fits_clear_Fptr. * fixed a bug when using the 'regfilter' function to select a subset of the rows in a FITS table that have coordinates that lie within a specified spatial region on the sky. This bug only affects the rarely used panda (and epanda and bpanda) region shapes in which the region is defined by the intersection of an annulus and a pie-shaped wedge. The previous code (starting with version 3.181 of CFITSIO where support for the panda region was first introduced) only worked correctly if the 2 angles that define the wedge have values between -180 and +180. If not, then fewer rows than expected may have been selected from the table. * fixed the extended filename parser so that when creating a histogram by binning 2 table columns, if a keyword or column name is given as the weighting factor, then the output histrogram image will have a floating point datatype, not the default integer datatype as is the case when no weigth is specified (e.g. with a filename like "myfile.fits[bin x,y; weight_column]" * added fix to the code in imcompress.c to work around a problem with dereferencing the value of a pointer, in cases where the address of that pointer has not been defined (e.g., the nulval variable). * modified the byte shuffling algorithm in fits_shuffle_8bytes to work around a strange bug in the proprietary SunStudioExpress C compiler under OpenSolaris. * removed spurious messages on the CFITSIO error stack when opening a FITS file with FTP (in drvrnet.c); - Removed the Makefile.in changes from cfitsio-makefile.patch (fixed upstream). - Spec file updates: * Changed License entry to SPDX style. * Enable multithreading support. ------------------------------------------------------------------- Tue Oct 4 17:02:14 UTC 2011 - asterios.dramis@gmail.com - Added correct fix for cfitsio.pc include dirs (Cflags: was wrongly replaced with $Cflags:). Fixes reopened bnc#546004. ------------------------------------------------------------------- Fri Sep 16 20:49:46 UTC 2011 - asterios.dramis@gmail.com - update to version 3.280 * Lots of changes (see changes.txt file). - Spec file updates * Changes based on spec-cleaner run. * Updates in summaries and descriptions. * Updates in Group: entries of the packages. * Added description for the patch based on openSUSE Patches Guidelines. * Added pkg-config in BuildRequires: (fix for "no-pkg-config-provides" rpmlint warning). * Added cfitsio package (containing some utilities). * Fixes for cfitsio.pc. * Minor other updates. ------------------------------------------------------------------- Thu May 20 19:58:39 UTC 2010 - tittiatcoke@gmail.com - update to version 3.23.0, * reduced the default value for the floating point image quantization parameter (q) from 16 to 4. * enhanced the template keyword parsing routine to reject a header template string that only contains a sequence of dashes. * enhanced the ASCII region file reading routine to allow tabs as well as spaces between fields in the file. * got rid of bogus error message when calling fits_update_key_longstr * Made the error message more explicit when CFITSIO tries to write to a GZIP compressed file. * several bugfixes ------------------------------------------------------------------- Wed May 19 15:43:17 UTC 2010 - mseben@novell.com - fix libdir,include dir and version string in pkgconfig (bnc#546004) ------------------------------------------------------------------- Thu Jan 8 15:42:04 CET 2009 - mseben@suse.cz - update to version 3.18.1, see full changelog : http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/changes.txt ------------------------------------------------------------------- Tue Aug 12 17:38:13 CEST 2008 - lmichnovic@suse.cz - update to version 3.09 * added a clarification to the cfortran.doc file that cfortran.h may be used and distributed under the terms of the GNU Library General Public License. * many many bugfixes - obsoletes strncat_overflow.patch ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support ------------------------------------------------------------------- Thu Nov 15 15:22:06 CET 2007 - lmichnovic@suse.cz - switched to gcc-fortran in BuildRequires ------------------------------------------------------------------- Mon Oct 15 15:57:07 CEST 2007 - lmichnovic@suse.cz - fixed buffer overflow using strncat (cfitsio-strncat_overflow.patch) ------------------------------------------------------------------- Mon Oct 15 10:21:31 CEST 2007 - lmichnovic@suse.cz - update to version 3.06 * modified the imcopy.c utility program (to tile-compress images) so that it writes the default EXTNAME = 'COMPRESSED_IMAGE' keyword in the compressed images, to preserve the behavior of earlier versions of imcopy. * modified the angsep function in the FITS calculator (in eval.y) to use haversines, instead of the 'law of cosines', to provide more precision at small angles (< 0.1 arcsec). * extensive changes to imcompress.c to fully support implicit data type conversion when reading and writing arrays of data to FITS images, where the data type of the array is not the same as the data type of the FITS image. This includes support for null pixels, and data scaling via the BSCALE and BZERO keywords. * rewrote the fits_read_tbl_coord routine in wcssub.c, that gets the standard set of WCS keywords appropriate to a pair of columns in a table, to better support the full set of officially approved WCS keywords. * made significant changes to histo.c, which creates an image by binning columns of a table, to better translate the WCS keywords in the table header into the WCS keywords that are appropriate for an image HDU. * modified imcompress.c so that when pixels are written to a tile-compressed image, the appropriate BSCALE and BZERO values of that image are applied. This fixes a bug in which writing to an unsigned integer datatype image (with BZERO = 32768) was not done correctly. ------------------------------------------------------------------- Thu Jul 19 11:25:14 CEST 2007 - lmichnovic@suse.cz - split off doc subpackage ------------------------------------------------------------------- Tue Jul 17 19:16:49 CEST 2007 - lmichnovic@suse.cz - initial version 3.04 library package named libcfitsio0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor