Commit Graph

11547 Commits

Author SHA1 Message Date
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
Terseus
92dd58c014 Added descriptive errors to imagedraw tests 2014-04-06 14:03:03 +02:00
wiredfool
71ebbe492d another pass on the docs 2014-04-04 17:05:42 -07:00
wiredfool
3a484bab09 basic readme + pointer 2014-04-04 16:44:56 -07:00
wiredfool
251749b110 python/multiprocessing build process + clean/dist options 2014-04-04 16:29:58 -07:00
Alex Clark ☺
665a6360f7 Merge pull request #601 from wiredfool/gs-test
Fix failing test when ghostscript is not installed.
2014-04-04 18:30:19 -04:00
hugovk
5e0d2a3004 Add pep8 and pyflakes reports to Travis CI 2014-04-05 01:25:55 +03:00
wiredfool
2f7bbffb5b waiting to read stdout was blocking when the buffer filled 2014-04-04 15:18:14 -07:00
wiredfool
4e6ea0fc42 test runner 2014-04-04 14:57:18 -07:00
wiredfool
942a30daf9 Merge branch 'gs-test' into winbuild 2014-04-04 13:41:01 -07:00
wiredfool
9c29819941 Merge branch 'master' into winbuild 2014-04-04 13:40:32 -07:00
wiredfool
82d7524add made has_ghostscript a method, using it from test_imagefile 2014-04-04 13:33:54 -07:00
wiredfool
1ad678a5ea build pillow for all the pythons 2014-04-04 13:01:07 -07:00
wiredfool
95b79926de factored out config 2014-04-04 13:00:52 -07:00
Terseus
8eae39e98f Oops, added missing ';'
Now writing in the wall "don't push before compile" 100 times.
2014-04-04 19:20:29 +02:00
Terseus
2f6a4d5f1a Added missing free when xx fail 2014-04-04 18:57:08 +02:00
Terseus
696924f5ac Added missing xx pointer check 2014-04-04 14:02:36 +02:00
Terseus
1c02d467ef Added test for vertical lines.
The behavior is consistent with horizontal lines, see previous commit
for details.
2014-04-04 12:45:47 +02:00
Terseus
fee2faa8dc Added test for horizontal lines
Notice that the expansion of the line width depends on the order of the
points:
  * If the bigger axis value is provided as the *second* point the line
    expand first to the *positive* side of the axis.
  * If the bigger axis value is provided as the *first* point the line
    expand first to the *negative* side of the axis.
  * If the line's width is odd this doesn't matter, as the line will
    expand the same amount to both sides.

This behavior should be consistent in both horizontal and vertical lines.
2014-04-04 12:35:26 +02:00
Terseus
e2cb2195eb Added test for a simple right triangle
The diagonals of the right angled edges must be perfect and the bottom
vertice should be drawn.
2014-04-04 11:46:58 +02:00
Terseus
ec74779b19 Added test for a simple square 2014-04-04 11:28:41 +02:00
Alex Clark ☺
52189030b8 Merge pull request #600 from wiredfool/readthedocs
Readthedocs
2014-04-04 04:51:41 -04:00
Terseus
7de14a51dd Added base method and constants to test_imagedraw
The method `create_base_image_draw` will be used in all the new draw
tests.
2014-04-04 10:47:22 +02:00
wiredfool
8ca2cfe75c Use an import error instead of a plain exception 2014-04-03 16:05:02 -07:00
wiredfool
ab3687e10f Tests correctly check for the core object 2014-04-03 16:04:29 -07:00
wiredfool
688c8dd538 comment ->autodoc transform 2014-04-03 15:47:57 -07:00
Terseus
dbe3db6fc5 Oops, fixed typo in comments 2014-04-03 11:15:21 +02:00
wiredfool
90bbd9ff3e Delayed import error for doc use 2014-04-02 20:09:04 -07:00
Alex Clark
72758c54c4 Fix manifest 2014-04-02 18:41:03 -04:00
Alex Clark ☺
c7fae0b040 Merge pull request #599 from wiredfool/version
Bump all the version numbers
2014-04-02 18:29:53 -04:00