-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Commits on May 12, 2012
-
Shuge Lee committed
May 12, 2012 Configuration menu - View commit details
-
Copy full SHA for 43b9e48 - Browse repository at this point
Copy the full SHA 43b9e48View commit details -
small changed, updated file readme
Shuge Lee committedMay 12, 2012 Configuration menu - View commit details
-
Copy full SHA for 8b76c69 - Browse repository at this point
Copy the full SHA 8b76c69View commit details
Commits on May 22, 2012
-
Shuge Lee committed
May 22, 2012 Configuration menu - View commit details
-
Copy full SHA for 6ac2be4 - Browse repository at this point
Copy the full SHA 6ac2be4View commit details
Commits on Jun 18, 2012
-
Shuge Lee committed
Jun 18, 2012 Configuration menu - View commit details
-
Copy full SHA for e6838b6 - Browse repository at this point
Copy the full SHA e6838b6View commit details
Commits on Jun 23, 2012
-
Shuge Lee committed
Jun 23, 2012 Configuration menu - View commit details
-
Copy full SHA for 0ee26c7 - Browse repository at this point
Copy the full SHA 0ee26c7View commit details -
fixed fg_color/bg_color in hex
Shuge Lee committedJun 23, 2012 Configuration menu - View commit details
-
Copy full SHA for 108228d - Browse repository at this point
Copy the full SHA 108228dView commit details
Commits on Jan 15, 2013
-
Shuge Lee committed
Jan 15, 2013 Configuration menu - View commit details
-
Copy full SHA for cb74369 - Browse repository at this point
Copy the full SHA cb74369View commit details
Commits on Jan 16, 2013
-
Using relation path in demo; using captcha image instead of lena
Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for d22ae7a - Browse repository at this point
Copy the full SHA d22ae7aView commit details -
Small changed, fixed spell pixsel -> pixel
Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 03c5242 - Browse repository at this point
Copy the full SHA 03c5242View commit details -
Small changed, using range() instead of deprecated xrange()
Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for acdda34 - Browse repository at this point
Copy the full SHA acdda34View commit details -
Fixed draw_text/draw_text.py on Ubuntu
Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 065f59f - Browse repository at this point
Copy the full SHA 065f59fView commit details -
Use "from PIL import Imagexx" instead of "import Imagexx"
Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 2b54c99 - Browse repository at this point
Copy the full SHA 2b54c99View commit details -
Tom Gross authored and Shuge Lee committed
Jan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 1e120cb - Browse repository at this point
Copy the full SHA 1e120cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e709fa - Browse repository at this point
Copy the full SHA 3e709faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 353543d - Browse repository at this point
Copy the full SHA 353543dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dae289d - Browse repository at this point
Copy the full SHA dae289dView commit details -
Make things more Python 3 friendly. Python 3 still doesn't work because
of C code that doesn't compile with Python 3.
Configuration menu - View commit details
-
Copy full SHA for b07b19c - Browse repository at this point
Copy the full SHA b07b19cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bd4f26 - Browse repository at this point
Copy the full SHA 3bd4f26View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8cabe1 - Browse repository at this point
Copy the full SHA b8cabe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8182f04 - Browse repository at this point
Copy the full SHA 8182f04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63a4cb7 - Browse repository at this point
Copy the full SHA 63a4cb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cac1398 - Browse repository at this point
Copy the full SHA cac1398View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e266a - Browse repository at this point
Copy the full SHA 61e266aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 323824f - Browse repository at this point
Copy the full SHA 323824fView commit details -
Fix a bug in quantize() causing PIL crashes.
From German Bravo's Image-SIG post: http://mail.python.org/pipermail/image-sig/2012-June/007047.html
Configuration menu - View commit details
-
Copy full SHA for 997de56 - Browse repository at this point
Copy the full SHA 997de56View commit details -
Fix opening psd files with RGBA layers when A mode is not of type 65535
but 3. Fixes issue #3
Configuration menu - View commit details
-
Copy full SHA for 1a8f45b - Browse repository at this point
Copy the full SHA 1a8f45bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f242f72 - Browse repository at this point
Copy the full SHA f242f72View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d9eac - Browse repository at this point
Copy the full SHA f4d9eacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d4e2de - Browse repository at this point
Copy the full SHA 4d4e2deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0c274 - Browse repository at this point
Copy the full SHA 8e0c274View commit details -
Configuration menu - View commit details
-
Copy full SHA for 833b2b5 - Browse repository at this point
Copy the full SHA 833b2b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a21c88 - Browse repository at this point
Copy the full SHA 3a21c88View commit details -
Add files to the MANIFEST which were missing from the source distribu…
…tion
Brian J. Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for d03b1fb - Browse repository at this point
Copy the full SHA d03b1fbView commit details -
This will probably, some time in the future get fixed upstream in PIL. Maybe.
Manuel Ebert authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for ab94dde - Browse repository at this point
Copy the full SHA ab94ddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4204c24 - Browse repository at this point
Copy the full SHA 4204c24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23ebec0 - Browse repository at this point
Copy the full SHA 23ebec0View commit details -
Move custom path of JPEG_ROOT, TIFF_ROOT, etc. before system.
Alex Po authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 5e7920d - Browse repository at this point
Copy the full SHA 5e7920dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9d42ae - Browse repository at this point
Copy the full SHA a9d42aeView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 3ab0a29 - Browse repository at this point
Copy the full SHA 3ab0a29View commit details -
py3k: Update exception usage to modern syntax
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for ab29a5a - Browse repository at this point
Copy the full SHA ab29a5aView commit details -
py3k: Get setup.py to run under python3
First real fix: open the temp file in text mode.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for edfe106 - Browse repository at this point
Copy the full SHA edfe106View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 4a4d7dc - Browse repository at this point
Copy the full SHA 4a4d7dcView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 71c817c - Browse repository at this point
Copy the full SHA 71c817cView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 77256df - Browse repository at this point
Copy the full SHA 77256dfView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 30333de - Browse repository at this point
Copy the full SHA 30333deView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 39484c3 - Browse repository at this point
Copy the full SHA 39484c3View commit details -
py3k: Fix strict aliasing warnings under Python 3
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for a948d0a - Browse repository at this point
Copy the full SHA a948d0aView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 7de6ab5 - Browse repository at this point
Copy the full SHA 7de6ab5View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for e1009da - Browse repository at this point
Copy the full SHA e1009daView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for c35207c - Browse repository at this point
Copy the full SHA c35207cView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 3400e6b - Browse repository at this point
Copy the full SHA 3400e6bView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for f760f9f - Browse repository at this point
Copy the full SHA f760f9fView commit details -
py3k: Remove callable() function
callable(c) is isinstance(x, collections.Callable) in py3k.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 4f120b9 - Browse repository at this point
Copy the full SHA 4f120b9View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for bb1f0b8 - Browse repository at this point
Copy the full SHA bb1f0b8View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 48b0e0c - Browse repository at this point
Copy the full SHA 48b0e0cView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for f1666cb - Browse repository at this point
Copy the full SHA f1666cbView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for a5e800b - Browse repository at this point
Copy the full SHA a5e800bView commit details -
py3k: __nonzero__ is now __bool__
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 3189876 - Browse repository at this point
Copy the full SHA 3189876View commit details -
py3k: Use isinstance for numbers and sequences
operator.isNumberType() and .isSequenceType() go away in py3k.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 659f1ba - Browse repository at this point
Copy the full SHA 659f1baView commit details -
reduce() is no longer a built-in function in py3k.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 61038ad - Browse repository at this point
Copy the full SHA 61038adView commit details -
Seriously, if you didn't know that, you've been in a freaking cave, man.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 2b31043 - Browse repository at this point
Copy the full SHA 2b31043View commit details -
py3k: Remove tuples in parameter lists
Py3k no longer supports unpacking tuples in the parameters.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 7a3feb2 - Browse repository at this point
Copy the full SHA 7a3feb2View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 6a68d03 - Browse repository at this point
Copy the full SHA 6a68d03View commit details -
py3k: sys.maxint renamed to sys.maxsize
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 2a81f62 - Browse repository at this point
Copy the full SHA 2a81f62View commit details -
py3k: Convert backticks to repr()
Backticks are no longer valid syntax for repr().
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 9cdb285 - Browse repository at this point
Copy the full SHA 9cdb285View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 2868e0c - Browse repository at this point
Copy the full SHA 2868e0cView commit details -
py3k: __builtin__ module is now builtins
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 59d1372 - Browse repository at this point
Copy the full SHA 59d1372View commit details -
py3k: Tkinter module is now tkinter
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for b0f6f95 - Browse repository at this point
Copy the full SHA b0f6f95View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for d37a2e1 - Browse repository at this point
Copy the full SHA d37a2e1View commit details -
py3k: Integer long literals are no longer valid syntax
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 1a82abc - Browse repository at this point
Copy the full SHA 1a82abcView commit details -
py3k: Change apply() to unpacking syntax
apply() is no longer available in py3k.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for da5ca4c - Browse repository at this point
Copy the full SHA da5ca4cView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 73f7c7a - Browse repository at this point
Copy the full SHA 73f7c7aView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 67316d7 - Browse repository at this point
Copy the full SHA 67316d7View commit details -
Py3k only supports key because it's more efficient. Not even sure 2to3 checks for this.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 12d8977 - Browse repository at this point
Copy the full SHA 12d8977View commit details -
Types aren't automatically converted for operations for you.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 952685f - Browse repository at this point
Copy the full SHA 952685fView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 3c448d8 - Browse repository at this point
Copy the full SHA 3c448d8View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 6f797c5 - Browse repository at this point
Copy the full SHA 6f797c5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for cb979c4 - Browse repository at this point
Copy the full SHA cb979c4View commit details -
py3k: Remove ancient Python hacks
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for ebc23bf - Browse repository at this point
Copy the full SHA ebc23bfView commit details -
py3k: FIX: Bad upside-down check in BmpImagePlugin
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for d6c6dd4 - Browse repository at this point
Copy the full SHA d6c6dd4View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 825718a - Browse repository at this point
Copy the full SHA 825718aView commit details -
py3k: Get rid of _ParserFile; io.BytesIO does its job
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 5addfab - Browse repository at this point
Copy the full SHA 5addfabView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 727c068 - Browse repository at this point
Copy the full SHA 727c068View commit details -
py3k: Add PCX to roundtrip test
For some reason, the PCX codec round-trips now.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 0bc8cfc - Browse repository at this point
Copy the full SHA 0bc8cfcView commit details -
py3k: Add Photoshop sanity check
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 5bc836b - Browse repository at this point
Copy the full SHA 5bc836bView commit details -
py3k: Add .FLI sanity check, and fix palette bytes bug
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 348e970 - Browse repository at this point
Copy the full SHA 348e970View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 152da84 - Browse repository at this point
Copy the full SHA 152da84View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for bd957a9 - Browse repository at this point
Copy the full SHA bd957a9View commit details -
This test includes an XPM file with transparency.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 730c6dd - Browse repository at this point
Copy the full SHA 730c6ddView commit details -
py3k: Add Windows icon sanity test
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 965928c - Browse repository at this point
Copy the full SHA 965928cView commit details -
py3k: Remove use_2to3 from setup.py
This is unnecessary now.
Brian Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 2891d5a - Browse repository at this point
Copy the full SHA 2891d5aView commit details -
This fixes a build warning on 64-bit machines.
Brian J. Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 9ab3ed3 - Browse repository at this point
Copy the full SHA 9ab3ed3View commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 34ad0b7 - Browse repository at this point
Copy the full SHA 34ad0b7View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 72c43ef - Browse repository at this point
Copy the full SHA 72c43efView commit details -
Update the manifest to include a lot of missing files
Brian J. Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 330b26a - Browse repository at this point
Copy the full SHA 330b26aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a15e762 - Browse repository at this point
Copy the full SHA a15e762View commit details -
Set up Sane error object as exception instead of string
String exceptions don't work anymore.
Brian J. Crowell authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 0a8d35f - Browse repository at this point
Copy the full SHA 0a8d35fView commit details -
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 committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 1a1e19d - Browse repository at this point
Copy the full SHA 1a1e19dView commit details -
Modified map.c to fix some MSVC10 compilation errors.
Bryant Mairs authored and Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 97bf36d - Browse repository at this point
Copy the full SHA 97bf36dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14162dc - Browse repository at this point
Copy the full SHA 14162dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e87ad2a - Browse repository at this point
Copy the full SHA e87ad2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fd4868 - Browse repository at this point
Copy the full SHA 8fd4868View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78a0ab5 - Browse repository at this point
Copy the full SHA 78a0ab5View commit details -
Merge remote-tracking branch 'upstream/master'
Conflicts: .gitignore
Shuge Lee committedJan 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 8db7169 - Browse repository at this point
Copy the full SHA 8db7169View commit details
Commits on Jan 17, 2013
-
py3k: Use python3 version print
Shuge Lee committedJan 17, 2013 Configuration menu - View commit details
-
Copy full SHA for 1746903 - Browse repository at this point
Copy the full SHA 1746903View commit details