Commit Graph

2435 Commits

Author SHA1 Message Date
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
eliempje
2cd6d416b2 Bugfix: EPS thumbnail failed
EPS thumbnail failed to resize correctly due to incorrect resolution argument (should be a function of the image size and bounding box). This is fixed in this commit.
2014-04-12 13:38:39 +02: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
Terseus
113b8c2a76 Removed non-ASCII character from messages 2014-04-09 20:06:58 +02:00
Terseus
b987d90568 Added tests for lines with 1px slope
This tests are designed to guarantee that the wide lines behave exactly
like normal lines drawn with the Bresenham's algorithm.
This tests are somewhat subjective since this is non-defined behavior,
but I think that mimic the Bresenham's algorithm is reliable enough.

Currently the horizontal version of this test **fail**.
2014-04-09 19:34:50 +02:00
Terseus
4b7236f460 Added tests of hor/ver lines 101px wide
These tests should guarantee that the proportion of the width is
maintained with a margin of error < 1%.
2014-04-09 19:34:50 +02:00
Terseus
8228caf14d Added some oblique 45º lines tests
Only the oblique 3 pixels wide lines are defined:
* The oblique 2 pixels wide lines are somewhat hard to define.
* To define the oblique lines wider than 3 pixels we neet to define
  first how the oblique lines should expand their width (realistic or
  exact).
2014-04-09 19:33:46 +02:00
Alex Clark ☺
e70b5ff9b2 Merge pull request #613 from hugovk/patch-2
Badges: SVG Travis, and Coverage in docs [ci skip]
2014-04-09 04:01:35 -04:00
Alex Clark ☺
dc85bb5cf3 Merge pull request #612 from hugovk/patch-1
Badges: SVG Travis, and coverage in README [ci skip]
2014-04-09 04:01:09 -04:00
hugovk
5a63e77097 Fix alt text [ci skip] 2014-04-09 10:40:16 +03:00
hugovk
0378a89c64 Use SVG Travis CI badge [ci skip] 2014-04-09 10:37:03 +03:00
Hugo
1cb4bf7c15 SVG Travis, and Coverage badge in docs [ci skip]
The SVG badge uses the Shields project for consistency with other projects' badges.
More info:
http://blog.travis-ci.com/2014-03-20-build-status-badges-support-svg/
2014-04-09 10:33:13 +03:00
Hugo
dd6067dbf4 Coverage badge in README [ci skip] 2014-04-09 10:17:20 +03:00
wiredfool
3d352329f4 Use the deferred error to provide a logical exception on access to a closed image 2014-04-08 23:43:13 -07:00
wiredfool
b27ef76468 Rename import_err to something more general 2014-04-08 23:42:34 -07:00
wiredfool
1256fb496e Merge from master 2014-04-08 23:22:40 -07:00
wiredfool
398450a5e4 Fix failing tests, turns out I is different than L 2014-04-08 22:44:24 -07:00
wiredfool
88e235f3f5 sanity check on ascii integers 2014-04-08 22:43:57 -07:00
wiredfool
b5d0cf5e88 Merge pull request #607 from hugovk/master
Fix test coverage
2014-04-08 09:53:04 -07:00
hugovk
9210f88102 Start coverage measurement earlier so tests are properly covered 2014-04-08 17:20:52 +03:00
hugovk
5afdd6cb54 pep8 Tests/tester.py 2014-04-08 17:17:10 +03:00
hugovk
ed00b2e6d2 Read existing data coverage on measurement start, save on stop. Only measure PIL code. 2014-04-08 12:38:30 +03:00
hugovk
3e9cde4412 Use tester.py's built-in coverage and coverage.py's built-in cleanup 2014-04-08 12:28:00 +03:00
hugovk
e4b8cdac4c Update .gitignore from https://github.com/github/gitignore keeping Vim and emacs cruft 2014-04-08 12:22:39 +03:00
wiredfool
213cec00cb consistency 2014-04-07 22:24:48 -07:00
wiredfool
327ea209b8 Write support, fixes #602 2014-04-07 22:23:04 -07:00
wiredfool
2daac27713 Tests for writing hi bit pgm 2014-04-07 22:22:42 -07:00
wiredfool
f5ba642b5e Read support for 16 bit pgm file 2014-04-07 22:12:33 -07:00
wiredfool
864fb95cb1 Read test for 16 bit binary pgm file, #602 2014-04-07 22:10:45 -07:00
Alex Clark
57d4efbeb8 Add history 2014-04-07 19:18:32 -04:00
Alex Clark ☺
e9fe13da15 Merge pull request #605 from wiredfool/dump
Dump
2014-04-07 19:07:40 -04:00
wiredfool
86d5c5c389 Have the tempfile use a suffix with a dot 2014-04-07 16:01:49 -07:00
wiredfool
844ed441de Add the suffix if it's not there, not if it is 2014-04-07 15:59:33 -07:00
Alex Clark
e0b7f86cf6 Add history 2014-04-07 18:37:40 -04:00
Alex Clark ☺
8dc7583773 Merge pull request #604 from nijel/patch-1
Fix variable name
2014-04-07 18:36:26 -04:00
Alex Clark ☺
5dc5d2db66 Merge pull request #594 from hugovk/master
Add coverage reports for Python code on Travis CI
2014-04-07 18:35:22 -04:00
Michal Čihař
07650be832 Fix variable name
Wrong variable name was used for transparency manipulations.
2014-04-07 17:36:36 +02:00