Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I wirte some simple demos, please merge it #40

Closed
wants to merge 105 commits into from
Closed

I wirte some simple demos, please merge it #40

wants to merge 105 commits into from

Commits on May 12, 2012

  1. Added pythonic demos

    Shuge Lee committed May 12, 2012
    Configuration menu
    Copy the full SHA
    43b9e48 View commit details
    Browse the repository at this point in the history
  2. small changed, updated file readme

    Shuge Lee committed May 12, 2012
    Configuration menu
    Copy the full SHA
    8b76c69 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2012

  1. fixed drawing demos

    Shuge Lee committed May 22, 2012
    Configuration menu
    Copy the full SHA
    6ac2be4 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2012

  1. rm lena images

    Shuge Lee committed Jun 18, 2012
    Configuration menu
    Copy the full SHA
    e6838b6 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2012

  1. added drawing polygon example

    Shuge Lee committed Jun 23, 2012
    Configuration menu
    Copy the full SHA
    0ee26c7 View commit details
    Browse the repository at this point in the history
  2. fixed fg_color/bg_color in hex

    Shuge Lee committed Jun 23, 2012
    Configuration menu
    Copy the full SHA
    108228d View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2013

  1. Small chagned, clean up code

    Shuge Lee committed Jan 15, 2013
    Configuration menu
    Copy the full SHA
    cb74369 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2013

  1. Configuration menu
    Copy the full SHA
    d22ae7a View commit details
    Browse the repository at this point in the history
  2. Small changed, fixed spell pixsel -> pixel

    Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    03c5242 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    acdda34 View commit details
    Browse the repository at this point in the history
  4. Fixed draw_text/draw_text.py on Ubuntu

    Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    065f59f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b54c99 View commit details
    Browse the repository at this point in the history
  6. fixed reading of EPS pictures

    Tom Gross authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    1e120cb View commit details
    Browse the repository at this point in the history
  7. Add .gitignore

    Conflicts:
    
    	.gitignore
    Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    3e709fa View commit details
    Browse the repository at this point in the history
  8. Add support for tox (http://tox.testrun.org/)

    msabramo authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    353543d View commit details
    Browse the repository at this point in the history
  9. Add .travis.yml for Travis CI (http://travis-ci.org/)

    msabramo authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    dae289d View commit details
    Browse the repository at this point in the history
  10. Make things more Python 3 friendly. Python 3 still doesn't work because

    of C code that doesn't compile with Python 3.
    msabramo authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    b07b19c View commit details
    Browse the repository at this point in the history
  11. Better import of _imaging

    emberian authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    3bd4f26 View commit details
    Browse the repository at this point in the history
  12. Test travis

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    b8cabe1 View commit details
    Browse the repository at this point in the history
  13. Test travis

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    8182f04 View commit details
    Browse the repository at this point in the history
  14. Change URL

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    63a4cb7 View commit details
    Browse the repository at this point in the history
  15. Save watchers

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    cac1398 View commit details
    Browse the repository at this point in the history
  16. Save issues and comments

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    61e266a View commit details
    Browse the repository at this point in the history
  17. Fix URL

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    323824f View commit details
    Browse the repository at this point in the history
  18. Fix a bug in quantize() causing PIL crashes.

    larsyencken authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    997de56 View commit details
    Browse the repository at this point in the history
  19. Fix opening psd files with RGBA layers when A mode is not of type 65535

    but 3.
    Fixes issue #3
    tdesvenain authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    1a8f45b View commit details
    Browse the repository at this point in the history
  20. Added a psd mode (mode 4, 16 bits).

    tdesvenain authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    f242f72 View commit details
    Browse the repository at this point in the history
  21. revert last commit, images rendered didn't match very well

    tdesvenain authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    f4d9eac View commit details
    Browse the repository at this point in the history
  22. Removed doctests.py that made tests of other packages fail.

    tdesvenain authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    4d4e2de View commit details
    Browse the repository at this point in the history
  23. Fix formatting of installation summary

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    8e0c274 View commit details
    Browse the repository at this point in the history
  24. Release 1.7.8

    aclark4life authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    833b2b5 View commit details
    Browse the repository at this point in the history
  25. Add Image.alpha_composite

    twpayne authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    3a21c88 View commit details
    Browse the repository at this point in the history
  26. Add files to the MANIFEST which were missing from the source distribu…

    …tion
    Brian J. Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    d03b1fb View commit details
    Browse the repository at this point in the history
  27. Radius was hardcoded to 2.

    This will probably, some time in the future get fixed upstream in PIL. Maybe.
    Manuel Ebert authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    ab94dde View commit details
    Browse the repository at this point in the history
  28. Make FLI image detection more stringent

    cgohlke authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    4204c24 View commit details
    Browse the repository at this point in the history
  29. Avoid rounding error in Image.alpha_composite

    twpayne authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    23ebec0 View commit details
    Browse the repository at this point in the history
  30. Move custom path of JPEG_ROOT, TIFF_ROOT, etc. before system.

    Alex Po authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    5e7920d View commit details
    Browse the repository at this point in the history
  31. fixed crash loading broken color profile from file-like object

    d-schmidt authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    a9d42ae View commit details
    Browse the repository at this point in the history
  32. py3k: Use string methods instead of string module

    First, we go for the obvious stuff. The string module methods are gone in
    3.0, so we translate them to the appropriate methods on the string class.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    3ab0a29 View commit details
    Browse the repository at this point in the history
  33. py3k: Update exception usage to modern syntax

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    ab29a5a View commit details
    Browse the repository at this point in the history
  34. py3k: Get setup.py to run under python3

    First real fix: open the temp file in text mode.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    edfe106 View commit details
    Browse the repository at this point in the history
  35. py3k: Modernize type declarations

    This updates several Python type definitions and uses to bring us closer
    to Python 3 compatibility. This includes:
    
    * Replacing staticforward and statichere with static. These were a hack for
      old compilers and are not supported/needed anymore.
    * Using Py_TYPE() instead of ob_type; ob_type is hidden in Py3.
    * Replacing getattr with getters/setters. getattr is sort-of supported in
      Py3, but Py_FindMethod is not. So we just use the newer
      methods/getsetters mechanisms and start using PyType_Ready everywhere.
    * Use PyVarObject_HEAD_INIT for types, since types are PyVarObject.
    * Use PyMODINIT_FUNC for module initialization functions.
    
    There are some tab/space issues in this commit. I'm set for spaces; the
    source is a little schizo.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    4a4d7dc View commit details
    Browse the repository at this point in the history
  36. py3k: Use new buffer protocol

    Other ports have taken advantage of the fact that Python 3 has wrappers for
    the old buffer protocol, but there's a significant disadvantage: you can't
    let the buffered object know when you're done with it.
    
    Since Python 2.6 supports the new protocol, we just go ahead and move to
    it.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    71c817c View commit details
    Browse the repository at this point in the history
  37. py3k: Remove HAVE_UNICODE from _imagingft

    I'm pretty sure this preserves the intent of the code. HAVE_UNICODE is now
    assumed, and PyString is only used if we're not in Py3k.
    
    Since this is the only file that uses PyUnicode, I'm going to go ahead and
    #define PyUnicode and PyBytes back to PyString for 2.6, and explicitly
    change out every call so I have to check them all.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    77256df View commit details
    Browse the repository at this point in the history
  38. py3k: Fix strict aliasing slip-up in _imaging

    Python 3 enables C's strict aliasing rules for the first time, which means
    you need to be careful about the ways you reference pointers. Here, we're
    using a char[4] as an INT32, so we cast between them using a union.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    30333de View commit details
    Browse the repository at this point in the history
  39. py3k: Add module initialization and unicode/bytes int/long thunks

    This commit:
    
    * Adds Python 3 module initialization functions. I split out the main init
      of each module into a static setup_module function.
    * Adds a py3.h which unifies int/long in Python 3 and unicode/bytes in
      Python 2. _imagingft.c unfortunately looks a little kludgy after this
      because it was already using PyUnicode functions, and I had to mix and
      match there manually.
    
    With this commit, the modules all build successfully under Python 3.
    
    What this commit does NOT do is patch all of the uses of PyArg_ParseTuple
    and Py_BuildValue, which all need to be checked for proper use of bytes
    and unicode codes. It also does not let selftest.py run yet, because there
    are probably hundreds of issues to fix in the Python code itself.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    39484c3 View commit details
    Browse the repository at this point in the history
  40. py3k: Fix strict aliasing warnings under Python 3

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    a948d0a View commit details
    Browse the repository at this point in the history
  41. py3k: Use "y#" code in PyArg_ParseTuple where we expect byte data

    This commit also renames some functions from "fromstring" and the like to
    "frombytes". I'll probably need to come back later and update any
    references to "string," here or in the docs.
    
    I also noticed that encode allocates some data for certain codecs, but
    never frees them. That would be a good bug to fix. I fixed the one where it
    outright stole a pointer from Python.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    7de6ab5 View commit details
    Browse the repository at this point in the history
  42. py3k: Import Christoph Gohlke's test suite

    This is Christoph Gohlke's test suite from his personal PIL package found
    at http://www.lfd.uci.edu/~gohlke/pythonlibs/.
    
    This is just to bring it in as a separate commit. Future commits will align
    it with Pillow.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    e1009da View commit details
    Browse the repository at this point in the history
  43. py3k: Backport Gohlke's tests to run on 2.6/2.7

    Most of the differences are in tobytes/tostring naming and expected
    behavior of the bytes() constructor. The latter was usually easy to fix
    with the right bytes literal.
    
    This is a good preview of what will have to happen in the Python 3 code.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    c35207c View commit details
    Browse the repository at this point in the history
  44. FIX: Handle long values in _imaging getink

    This gets the putdata test case to run correctly under 2.6/2.7. It fixes an
    issue where the value 0xFFFFFFFF (which is long in old Python) isn't
    recognized and putdata tries to parse it as a tuple.
    
    The original fix comes from Christoph Gohlke. It was adapted to work in
    both 2.* and 3.*.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    3400e6b View commit details
    Browse the repository at this point in the history
  45. py3k: Provide the missing pngtest_bad.png.base64

    This is from http://scary.beasts.org/security/CESA-2004-001.txt. This was
    missing from Gohlke's tests. With this file, I see 79 tests and no failures
    on my setup from 2.6/2.7.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    f760f9f View commit details
    Browse the repository at this point in the history
  46. py3k: Remove callable() function

    callable(c) is isinstance(x, collections.Callable) in py3k.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    4f120b9 View commit details
    Browse the repository at this point in the history
  47. py3k: Fix up uses of dictionary views, ranges, and has_key()

    y.has_key(x) is gone (use x in y), and keys(), values(), items(), and
    range() all return views.
    
    Some iterables needed to be packed into lists, either because the code
    expected a list (such as "range(256) * 3") or because the original
    collection was being modified (automatic global declarations).
    
    The Tiff ImageFileDictionary is a special case and will be dealt with in
    another commit.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    bb1f0b8 View commit details
    Browse the repository at this point in the history
  48. py3k: Rewrite dictionary support for Tiff ImageFileDictionary

    This commit brings in the collections.MutableMapping mixin to provide full
    dictionary support for ImageFileDictionary.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    48b0e0c View commit details
    Browse the repository at this point in the history
  49. py3k: map and filter to list comprehensions

    What's really going on is that map() and filter() return iterators in py3k.
    I've just gone ahead and turned them all into list comprehensions, because
    I find them much easier to read.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    f1666cb View commit details
    Browse the repository at this point in the history
  50. py3k: Add true Unicode support to OleFileIO

    The day has arrived when Python provides an official way to handle Unicode
    strings.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    a5e800b View commit details
    Browse the repository at this point in the history
  51. py3k: __nonzero__ is now __bool__

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    3189876 View commit details
    Browse the repository at this point in the history
  52. py3k: Use isinstance for numbers and sequences

    operator.isNumberType() and .isSequenceType() go away in py3k.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    659f1ba View commit details
    Browse the repository at this point in the history
  53. py3k: Import reduce function

    reduce() is no longer a built-in function in py3k.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    61038ad View commit details
    Browse the repository at this point in the history
  54. py3k: print is a function

    Seriously, if you didn't know that, you've been in a freaking cave, man.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    2b31043 View commit details
    Browse the repository at this point in the history
  55. py3k: Remove tuples in parameter lists

    Py3k no longer supports unpacking tuples in the parameters.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    7a3feb2 View commit details
    Browse the repository at this point in the history
  56. py3k: Use relative imports

    In py3k, imports are absolute unless using the "from . import" syntax.
    
    This commit also solves a recursive import between Image, ImageColor, and
    ImagePalette by delay-importing ImagePalette in Image.
    
    I'm not too keen on this commit because the syntax is ugly. I might go back
    and prefer the prettier "from PIL import".
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    6a68d03 View commit details
    Browse the repository at this point in the history
  57. py3k: sys.maxint renamed to sys.maxsize

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    2a81f62 View commit details
    Browse the repository at this point in the history
  58. py3k: Convert backticks to repr()

    Backticks are no longer valid syntax for repr().
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    9cdb285 View commit details
    Browse the repository at this point in the history
  59. py3k: Remove Image types import

    For awhile now, str == type("") and so on. So we use the appropriate int,
    str, basestring, or tuple type where applicable.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    2868e0c View commit details
    Browse the repository at this point in the history
  60. py3k: __builtin__ module is now builtins

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    59d1372 View commit details
    Browse the repository at this point in the history
  61. py3k: Tkinter module is now tkinter

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    b0f6f95 View commit details
    Browse the repository at this point in the history
  62. py3k: Convert StringIO.StringIO to io.BytesIO

    io.BytesIO is already in 2.6. Some of the more obvious bytes literals are
    marked in this commit.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    d37a2e1 View commit details
    Browse the repository at this point in the history
  63. py3k: Integer long literals are no longer valid syntax

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    1a82abc View commit details
    Browse the repository at this point in the history
  64. py3k: Change apply() to unpacking syntax

    apply() is no longer available in py3k.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    da5ca4c View commit details
    Browse the repository at this point in the history
  65. py3k: 2to3's "idiom" filter

    This is, I guess, a few things the Python devs were just fed up with.
    
    * "while 1" is now "while True"
    * Types are compared with isinstance instead of ==
    * Sort a list in one go with sorted()
    
    My own twist is to also replace type('') with str, type(()) with tuple,
    type([]) with list, type(1) with int, and type(5000.0) with float.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    73f7c7a View commit details
    Browse the repository at this point in the history
  66. py3k: Map long type to int

    int() is really now long() in py3k, but to avoid breaking 2.6/2.7, we leave
    the integer types where they are and just map long to int in py3k.
    
    Also, pretty proud of myself for finding an easy way of detecting py3k.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    67316d7 View commit details
    Browse the repository at this point in the history
  67. py3k: Sort by key, not cmp

    Py3k only supports key because it's more efficient. Not even sure 2to3
    checks for this.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    12d8977 View commit details
    Browse the repository at this point in the history
  68. py3k: Type coercion is gone

    Types aren't automatically converted for operations for you.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    952685f View commit details
    Browse the repository at this point in the history
  69. py3k: Publish both frombytes and fromstring in C modules for old Python

    To ease the transition, frombytes and tobytes need to be declared in both
    versions.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    3c448d8 View commit details
    Browse the repository at this point in the history
  70. py3k: The big push

    There are two main issues fixed with this commit:
    
    * bytes vs. str: All file, image, and palette data are now handled as
      bytes. A new _binary module consolidates the hacks needed to do this
      across Python versions. tostring/fromstring methods have been renamed to
      tobytes/frombytes, but the Python 2.6/2.7 versions alias them to the old
      names for compatibility. Users should move to tobytes/frombytes.
    
      One other potentially-breaking change is that text data in image files
      (such as tags, comments) are now explicitly handled with a specific
      character encoding in mind. This works well with the Unicode str in
      Python 3, but may trip up old code expecting a straight byte-for-byte
      translation to a Python string. This also required a change to Gohlke's
      tags tests (in Tests/test_file_png.py) to expect Unicode strings from
      the code.
    
    * True div vs. floor div: Many division operations used the "/" operator
      to do floor division, which is now the "//" operator in Python 3. These
      were fixed.
    
    As of this commit, on the first pass, I have one failing test (improper
    handling of a slice object in a C module, test_imagepath.py) in Python 3,
    and three that that I haven't tried running yet (test_imagegl,
    test_imagegrab, and test_imageqt). I also haven't tested anything on
    Windows. All but the three skipped tests run flawlessly against Pythons
    2.6 and 2.7.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    6f797c5 View commit details
    Browse the repository at this point in the history
  71. py3k: Allow slicing for paths

    This is Gohlke's fix for two issues: negative indexes on paths were not
    resolved to the correct index, and path slicing didn't work.
    
    His fix for slicing is related to the one found at:
    
      http://renesd.blogspot.com/2009/07/python3-c-api-simple-slicing-sqslice.html
    
    With this commit, all 79 tests (82 minus the three skipped ones) run
    successfully on Python 2.6.8, Python 2.7.3rc2, and Python 3.2.3.
    cgohlke authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    cb979c4 View commit details
    Browse the repository at this point in the history
  72. py3k: Remove ancient Python hacks

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    ebc23bf View commit details
    Browse the repository at this point in the history
  73. py3k: FIX: Bad upside-down check in BmpImagePlugin

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    d6c6dd4 View commit details
    Browse the repository at this point in the history
  74. py3k: FIX: TGA missing o8 declaration

    Plus, TGA was eligible for a round-trip test in test_imagefile. It has one
    now.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    825718a View commit details
    Browse the repository at this point in the history
  75. py3k: Get rid of _ParserFile; io.BytesIO does its job

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    5addfab View commit details
    Browse the repository at this point in the history
  76. py3k: Actually fix the EPS encoder

    The EPS encoder wasn't part of Gohlke's test suite, so the previous "fixes"
    there were only expected syntactic ones. This gives a cleaner fix to the
    encoder.
    
    The decoder doesn't work in round-trip due to a missing eps_decoder method
    on the core module, but it's clear it worked at some point.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    727c068 View commit details
    Browse the repository at this point in the history
  77. py3k: Add PCX to roundtrip test

    For some reason, the PCX codec round-trips now.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    0bc8cfc View commit details
    Browse the repository at this point in the history
  78. py3k: Add Photoshop sanity check

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    5bc836b View commit details
    Browse the repository at this point in the history
  79. py3k: Add .FLI sanity check, and fix palette bytes bug

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    348e970 View commit details
    Browse the repository at this point in the history
  80. py3k: Rewrite PdfImagePlugin into something more legible

    After adding all the encode() calls, the PDF plugin (and a few others)
    became much harder to read. This should be much easier on the eyes.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    152da84 View commit details
    Browse the repository at this point in the history
  81. py3k: Add TarIO test

    Not too convinced of the size fix. While it works against my file, I'm not
    sure someone would have accidentally been an index off and not noticed.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    bd957a9 View commit details
    Browse the repository at this point in the history
  82. py3k: Add XPM read test

    This test includes an XPM file with transparency.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    730c6dd View commit details
    Browse the repository at this point in the history
  83. py3k: Add Windows icon sanity test

    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    965928c View commit details
    Browse the repository at this point in the history
  84. py3k: Remove use_2to3 from setup.py

    This is unnecessary now.
    Brian Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    2891d5a View commit details
    Browse the repository at this point in the history
  85. py3k: inquiry is now lenfunc

    This fixes a build warning on 64-bit machines.
    Brian J. Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    9ab3ed3 View commit details
    Browse the repository at this point in the history
  86. py3k: Issue warnings when using the old fromstring/tostring

    ...although, you have to turn on deprecation warnings specifically in order
    to get them.
    Brian J. Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    34ad0b7 View commit details
    Browse the repository at this point in the history
  87. Fix tox test running: port selftest.py to Python 3; make it clear Pyt…

    …hon 2.5 is no longer supported (its support is broken in many ways in this branch); remove bundled doctest.py module (it is in stdlib since forever); remove extra stuff from tox.ini
    kmike authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    72c43ef View commit details
    Browse the repository at this point in the history
  88. Update the manifest to include a lot of missing files

    Brian J. Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    330b26a View commit details
    Browse the repository at this point in the history
  89. Make pysane Python3-compatible

    manisandro authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    a15e762 View commit details
    Browse the repository at this point in the history
  90. Set up Sane error object as exception instead of string

    String exceptions don't work anymore.
    Brian J. Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    0a8d35f View commit details
    Browse the repository at this point in the history
  91. Handle Sane option strings as Unicode strings

    The Sane documentation seems to imply that these option strings contain
    Latin-1 text, not byte data, so we decode it and present it to the user
    that way.
    Brian J. Crowell authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    1a1e19d View commit details
    Browse the repository at this point in the history
  92. Modified map.c to fix some MSVC10 compilation errors.

    Bryant Mairs authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    97bf36d View commit details
    Browse the repository at this point in the history
  93. fixed an error with utf-8 chars in color profile names

    d-schmidt authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    14162dc View commit details
    Browse the repository at this point in the history
  94. Added possibility to save gifs with a custom palette when using color…

    … mode P
    d-schmidt authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    e87ad2a View commit details
    Browse the repository at this point in the history
  95. added option to load truncated image-files

    d-schmidt authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    8fd4868 View commit details
    Browse the repository at this point in the history
  96. Added possibility to save exif information in jpeg-files

    d-schmidt authored and Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    78a0ab5 View commit details
    Browse the repository at this point in the history
  97. Merge remote-tracking branch 'upstream/master'

    Conflicts:
    	.gitignore
    Shuge Lee committed Jan 16, 2013
    Configuration menu
    Copy the full SHA
    8db7169 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2013

  1. py3k: Use python3 version print

    Shuge Lee committed Jan 17, 2013
    Configuration menu
    Copy the full SHA
    1746903 View commit details
    Browse the repository at this point in the history