Commit Graph

1751 Commits

Author SHA1 Message Date
hugovk
b7e5c27696 Remove temporary print 2014-05-24 17:52:48 +03:00
hugovk
ce2955ec71 Throw an exception when an opened image is larger than an arbitrary limit 2014-05-14 18:04:18 +03:00
Alex Clark
fc55580a69 Update 2014-05-14 05:59:48 -04:00
Alex Clark ☺
4adc589191 Merge pull request #652 from CounterPillow/windowshfix
Clean up preprocessor cruft for Windows
2014-05-14 05:58:45 -04:00
Alex Clark
84a701a82b Update 2014-05-10 13:29:36 -04:00
Alex Clark ☺
e85114ae73 Merge pull request #656 from jacknagel/ft
Adjust Homebrew freetype detection logic
2014-05-10 10:28:55 -07:00
Jack Nagel
29ddeaa81a Adjust Homebrew freetype detection logic
XQuartz ships an older freetype that still has a top-level "ft2build.h"
header file. Homebrew's freetype is newer and does not have this file,
it only has "freetype2/ft2build.h".

setup.py finds the header in XQuartz first, but Homebrew's compiler
wrappers intentionally strip out the XQuartz include paths during the
build unless the package depends on it explicitly.

We want to prefer Homebrew's freetype anyway, so if it's installed,
let's not even bother to search the XQuartz paths.
2014-05-10 10:15:39 -05:00
Nicolas F
052ea606bf Clean up defines and includes for Windows
1)  Renamed USE_INLINE to PIL_USE_INLINE to avoid conflicts with
    other headers/libraries.

2)  Replace __WIN32__ and WIN32 with _WIN32

3)  Don't define WIN32 when the compiler is MSVC but not on Windows
    Why would you even...

4)  Don't define strcasecmp if you're not even going to use it.

5)  Don't include Windows.h with undefs for compilers newer than
    1998 everywhere.

6)  Don't surpress warnings for MSVC++ 4.0. People still using
    MSVC++ 4.0 deserve it.

7)  Don't include things that are already included in Windows.h
2014-05-09 21:05:30 +02:00
Nicolas F
37bb8eec24 Don't ignore USE_INLINE on Windows 2014-05-09 20:14:46 +02:00
wiredfool
958397ae02 Merge pull request #650 from hugovk/ignorecoveragewarning
Ignore PendingDeprecationWarning from Coverage for Py 3.4
2014-05-09 08:58:18 -07:00
hugovk
53f17f690d 'Dummy' commit to force rebuild. Extra reporting may be useful too. 2014-05-09 13:21:26 +03:00
hugovk
56fe245dd1 Don't allow 3.4 failures 2014-05-09 11:53:49 +03:00
hugovk
5f195ae1a7 On Py3.4, a PendingDeprecationWarning comes from Coverage.py for using the imp module. This warning causes 3.4 builds to fail so ignore the warning from importing coverage. 2014-05-09 11:41:43 +03:00
Alex Clark ☺
73eafbb55f Merge pull request #641 from hugovk/patch-1
Python 3.4 is live on Travis CI
2014-04-30 04:42:23 -04:00
hugovk
0de2212653 Add 3.4 back 2014-04-30 11:07:43 +03:00
hugovk
d8e4ed1198 system_site_packages was causing build errors. Allow 3.4 as a failure for now, as a PendingDeprecationWarning is causing failures; this is a problem with the test runner not liking any print output. 2014-04-30 11:05:15 +03:00
Hugo
522e0ff31c Python 3.4 is live on Travis CI
http://blog.travis-ci.com/2014-04-28-upcoming-build-environment-updates/
https://twitter.com/travisci/status/461365365587456000
2014-04-30 10:06:35 +03:00
wiredfool
f6262505cd Merge pull request #633 from hugovk/patch-1
Run slow pypy first
2014-04-18 11:59:58 -07:00
Hugo
b917623513 Run slow pypy first
It's always the slowest and we should give it a head start so we're not waiting for it to finish at the end. It means we're making the most use of our parallel job-runners for the quicker jobs.

See also #632.
2014-04-18 15:11:05 +03:00
wiredfool
8c5ed8a873 Update CHANGES.rst [ci skip] 2014-04-17 22:22:16 -07:00
wiredfool
5ca5652d0b Merge pull request #551 from wiredfool/with
Image.close, Context manager support
2014-04-17 22:20:30 -07:00
wiredfool
471cecb523 tests for close and context manager 2014-04-17 22:01:55 -07:00
wiredfool
8c6a4c0299 Docs changes for close/context manager 2014-04-17 21:53:49 -07:00
wiredfool
b182e239bb Updated Changes.rst [ci skip] 2014-04-17 12:23:19 -07:00
wiredfool
ca36b6cd36 Merge pull request #606 from wiredfool/pgm
16 bit Read/Write PGM support.
2014-04-17 12:22:18 -07:00
wiredfool
a54754db1f Update CHANGES.rst 2014-04-17 12:20:20 -07:00
wiredfool
1945fd6cb4 Merge pull request #618 from hugovk/master
Add version 0.30 of OleFileIO (2014-02-04)
2014-04-17 12:19:03 -07:00
wiredfool
6bf95f003b Update CHANGES.rst 2014-04-17 12:12:29 -07:00
wiredfool
c381b6dbfa Merge pull request #628 from wiredfool/Hijackal-patch-1
Tests for #614
2014-04-17 12:11:11 -07:00
wiredfool
0f2e08dfe0 Merge pull request #614 from Hijackal/patch-1
Add specific 32-bit float tiff format
2014-04-17 12:10:39 -07:00
wiredfool
aba195d35e Tests for #614 2014-04-14 06:13:57 -07:00
wiredfool
994c9a7e56 Merge pull request #621 from e98cuenc/fixlcmsdoc
Update installation instructions of little cms2 in Mac
2014-04-14 06:18:34 -04:00
wiredfool
0b402df678 Merge pull request #620 from myint/master
Fix spelling errors in documentation
2014-04-14 06:17:10 -04:00
wiredfool
189c40dc9e Merge branch 'patch-1' of https://github.com/Hijackal/Pillow into Hijackal-patch-1 2014-04-14 03:15:38 -07:00
hugovk
7ba5962512 Fix typo and update test 2014-04-14 00:27:08 +03:00
hugovk
6ff77414b3 Test some debug functions. No asserts, just check they run ok. 2014-04-14 00:05:31 +03:00
hugovk
949e87e55d Remove 'failing' test_debug() 2014-04-13 23:28:41 +03:00
hugovk
f40cf7870f More testing 2014-04-13 23:16:01 +03:00
Joaquín Cuenca Abela
deecfdabcd Update installation instructions of little cms2 in Mac 2014-04-13 00:28:26 +02:00
Steven Myint
d5dee90f41 Fix spelling errors in documentation
https://pillow.readthedocs.org/en/latest/about.html
2014-04-12 07:08:50 -07:00
Hugo
be201bf4f3 Undo cleanup reversal
"Just pointing out that this bit is actually reversing a recent cleanup in Pillow. See commit 923018d and PR #474. I guess that cleanup was merged into Pillow after I did my merge from Pillow to PL’s fork."
https://github.com/python-imaging/Pillow/pull/618#discussion_r11559186
2014-04-12 12:43:24 +03:00
hugovk
bfc05b7a8c Handle bytes in test for Py2 and 3 2014-04-11 15:02:42 +03:00
hugovk
2271ee6f65 Add some simple tests for OleFileIO.py 2014-04-11 14:53:33 +03:00
hugovk
43ec928d33 version 0.30 2014-02-04 2014-04-11 14:03:32 +03:00
hijackal
7f164d641f Test image: TIFF for OPEN_INFO = {(II, 0, 3, 1, (32,), ()): ("F", "F;32F")} 2014-04-11 11:39:05 +02:00
Alex Clark ☺
6cd0e1757b Merge pull request #615 from hugovk/master
Test runner: print out list of failures at end
2014-04-11 04:53:50 -04:00
hugovk
9c6b07d21b Remove temporary forced failure 2014-04-11 10:59:58 +03:00
hugovk
cf6daf03fe Use correct brackets 2014-04-11 10:47:37 +03:00
hugovk
267cdf523e Print out lists of failed tests (and temporarily force a failure for testing) 2014-04-11 10:28:06 +03:00
Hijackal
029a4a5079 Add specific 32-bit float tiff format
We regularly use this format to store 32bit floats and I would like to see it handled by clean Pillow installations without having to add it on every system I use.
2014-04-10 15:52:53 +02:00