Permalink
Commits on Jun 19, 2014
  1. Fixes #71 on two fronts:

    The first fix, which was enough by itself, was to remove the hack where
    CompImageHDU._prewriteto did not call BinTableHDU._prewriteto.  That
    hack was no longer necessary, and removing it allowed the necesary calls
    to FITS_rec._scale_back to ensure that the VLA pointers are written
    properly.  This also allowed removing some code that was redundant with
    BinTableHDU._prewriteto.
    
    The second fix, which was entirely optional, was the introduction of an
    internal flag _manages_own_heap.  CompImageHDU has _manages_own_heap =
    True.  What this means is basically "I'm going to arrange my heap my
    own way, so when writing out don't reorder how data is arranged in the
    heap according to the defaults."  This is helpful because when calling
    out to CFITSIO it writes the heap data in a particular order, and
    there's no reason to waste time reordering that data ourselves when the
    order it's already in is fine.
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2764 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Jun 19, 2014
Commits on Jun 10, 2014
  1. Followup to 7fe2f20; the header argument to new_table was also not be…

    …ing passed through to from_columns.
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2761 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Jun 10, 2014
Commits on Jun 9, 2014
  1. Ensure that the nrows and fill arguments are passed on to from_column…

    …s from new_table
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2760 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Jun 9, 2014
Commits on Jun 4, 2014
  1. Adds a test and fix for #69.

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2757 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Jun 4, 2014
Commits on Jun 2, 2014
  1. Updated changelog to reflect 3.2.4 release

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2755 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Jun 2, 2014
Commits on May 28, 2014
  1. Updated changelog to exhaustively mention deprecated interfaces that …

    …will be removed after this release.
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2746 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 28, 2014
Commits on May 27, 2014
  1. Fixed the issue reported by James Turner, that consecutive calls to w…

    …riteto on the same HDUList could result in corruption on subsequent calls. This turned out to be the same issue that issue #40 was a symptom of, so this takes care of them both in one swoop.  The way HDU objects manage file offset information still needs to be totally reworked but this is a reasonable fix for now.
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2745 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 27, 2014
  2. Ack! Fix typo left in 13d65a8 / r2742

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2743 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 27, 2014
  3. Slight performance improvement to @lazyproperty

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2742 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 27, 2014
  4. Merge branch 'master' of github.com:spacetelescope/PyFITS

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2741 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 27, 2014
  5. The Trac/SVN sites are no longer on Assembla

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2740 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 27, 2014
  6. Add blank entries for next 3.2.x and 3.1.x releases

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2739 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 27, 2014
Commits on May 16, 2014
  1. Merge pull request #65 from migueldvb/pyfits

    Fix typo in warning message
    committed May 16, 2014
  2. Fix typo in warning message

    migueldvb committed May 16, 2014
Commits on May 14, 2014
  1. Updating v3.2.3 release date

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2732 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 14, 2014
  2. Preparing release 3.1.6

    Conflicts:
    
    	CHANGES.txt
    	docs/source/conf.py
    	setup.cfg
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2731 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 14, 2014
  3. Backport fixes needed for Python 3.4 from Astropy

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2722 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 14, 2014
  4. Add Python 3.4 to tox.ini

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2721 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 14, 2014
Commits on May 12, 2014
  1. Python 3.3 *should* be working now as well

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2714 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 12, 2014
  2. Not sure but it appears Travis has fixed the goofiness with Numpy on …

    …Python 3 such that this symlink is no longer necessary...?
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2713 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 12, 2014
  3. Port the fix from astropy/astropy#2470

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2711 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 12, 2014
Commits on May 7, 2014
  1. Add izip_longest implementation for python 2.5

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2703 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 7, 2014
  2. Fixes #64 by moving the code shared by fromstring and readfrom to an …

    …internal method, allowing the public API for fromstring to be simplified.
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2702 ed100bfc-0583-0410-97f2-c26b58777a21
    committed May 7, 2014
Commits on Apr 30, 2014
  1. Added a mention of scale_back to the FAQ that was missing.

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2697 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 30, 2014
Commits on Apr 24, 2014
  1. itertools.izip_longest is not in Python 3

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2690 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 24, 2014
  2. Fixes #58 with a special case to prevent duplicate insertion of comme…

    …ntary keywords
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2689 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 24, 2014
  3. Fixes #59

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2688 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 24, 2014
Commits on Apr 23, 2014
  1. Fixes #56 (and by extension astropy/astropy#2356). It makes more sens…

    …e, if a file-like object does not have an obvious 'closed' attribute, to just assume it is 'open'
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2682 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 23, 2014
  2. Merge pull request #2351 from mdboom/misc/clang-analyzer

    Miscellaneous things caught by clang-analyzer.
    Conflicts:
    
    	astropy/io/votable/src/tablewriter.c
    	astropy/utils/xml/src/iterparse.c
    	astropy/wcs/src/pyutil.c
    	astropy/wcs/src/wcslib_wrap.c
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2680 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 23, 2014
  3. Merge pull request #2345 from embray/issue-2345

    Remove platform.architecture() in FITS _array_to_file to improve speed on Mac
    Conflicts:
    
    	CHANGES.rst
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2677 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 23, 2014
  4. Merge pull request #2305 from embray/issue-2305

    fits.PrimaryHDU doesn't properly initialize from scaled data
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2675 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 23, 2014
Commits on Apr 17, 2014
  1. Changelog entry for this fix

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2670 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 17, 2014
  2. Cherry-picked some changes from the in-progress fix for

    https://aeon.stsci.edu/ssb/trac/pyfits/ticket/42
    that were necessary to get comparerecords() to work properly in Python 3
    on tables containing zero-width columns.
    
    This slightly modified the original fix for #2193 in that it allows
    phantom columns to be copied as well.
    
    Conflicts:
    
    	lib/pyfits/fitsrec.py
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2669 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 17, 2014
  3. Merge pull request #2193 from bsipocz/fixing_issue_1597

    FITS_rec objects can be pickled with this patch
    Conflicts:
    
    	CHANGES.rst
    	lib/pyfits/column.py
    	lib/pyfits/tests/test_table.py
    
    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2668 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 17, 2014
Commits on Apr 16, 2014
  1. Add a changelog entry for #22

    git-svn-id: http://svn6.assembla.com/svn/pyfits/trunk@2663 ed100bfc-0583-0410-97f2-c26b58777a21
    committed Apr 16, 2014